Suspicious AWS EC2 Windows Password Retrieval via GetPasswordData

PremiumReviewedSigma · Medium · v1
Product
aws
Service
cloudtrail
Author
HuntRule
Published
2026-05-27
Updated
2026-08-28

ATT&CK techniques

Initial Access → Cred Access
  1. Recon

  2. Resource Dev

  3. Execution

  4. Discovery

  5. Lateral Movement

  6. Collection

  7. C2

  8. Exfiltration

  9. Impact

What it detects

This rule detects use of the EC2 GetPasswordData API which returns the encrypted local administrator password for a Windows instance. In the Wiz hybrid cloud response case an attacker with stolen AWS credentials called GetPasswordData to recover local admin passwords and pivot onto EC2 hosts. This is important because password retrieval across instances is a strong precursor to interactive host access and lateral movement into the compute layer.

Related detections9 linkedT1552.005 — drag to rearrange
Suspicious IMDS IAM Credential Retrieval From Container Workload
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 Access to Cloud and Database Credential Files via Process
Possible Super SSRF via Jira Server nativemobile batch CVE-2022-26135
Suspicious AWS EC2 Windows Password Retrieval via GetPasswordData
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.