Malicious EC2 Instance Metadata Credential Theft via curl (via process_creation)

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-05-29
Updated
2026-08-28

ATT&CK techniques

Initial Access → Cred Access
  1. Recon

  2. Resource Dev

  3. Execution

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects a command line that curls the EC2 Instance Metadata Service security-credentials path at 169.254.169.254 to steal the temporary IAM role credentials of a compromised instance. Attackers harvest these credentials for reconnaissance, lateral movement, and privilege escalation in the cloud account. Detecting IMDS credential retrieval on a host flags active cloud credential access.

Related detections9 linkedT1190 — drag to rearrange
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
Possible Super SSRF via Jira Server nativemobile batch CVE-2022-26135
Suspicious SSRF Probe for Cloud Instance Metadata Service
Malicious Cloud Metadata Credential SSRF via HTTP (via proxy)
Possible Pre-Auth SSRF via VMware Workspace One UEM BlobHandler CVE-2021-22054
Malicious EC2 Instance Metadata Credential Theft via curl (via process_creation)
Pivot detection · T1190 · 9 related

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