Suspicious GCP Metadata Service Token Access via Command Line (via process_creation)

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-10-13
Updated
2026-10-13

ATT&CK techniques

Cred Access
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects a command line that queries the GCP metadata service compute endpoint for a service account access token, the action used to steal cloud credentials after achieving code execution in an exposed Cloud Function. Adversaries harvest the default service account token to pivot into the wider cloud project, so metadata token retrieval from a runtime process is a high-value credential access indicator.

Related detections9 linkedT1552.005 — drag to rearrange
Suspicious Bulk Kubernetes Secret Dump via Kubectl
Suspicious Cloud Instance Metadata Access via Command Line Tool
Suspicious Cloud Instance Metadata Credential Access via curl to IMDS (via process_creation)
Possible Jamf Pro SSRF Exploitation via eduFeatureSettingsTest imageUrl (via webserver)
Possible WebSphere Portal SSRF via Proxy Servlet targeting Cloud Metadata (CVE-2021-27748) (via webserver)
Possible SSRF to AWS Metadata via Workspace One UEM BlobHandler CVE-2021-22054
Possible SSRF via Gatsby _gatsby File Proxy Endpoint
Possible SSRF to Cloud Metadata via Nuxt _ipx Image Proxy
Suspicious Cloud Instance Metadata Access from Command Line (via process_creation)
Suspicious GCP Metadata Service Token Access via Command Line (via process_creation)
Pivot detection · T1552.005 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.