SecureAEye LAB ONLINE · SIG 657 · DET ~41s

← All attacks / Cloud, container and supply chain attacks

Metadata credential theft

Compromised instance queries IMDS directly for role credentials

categoryCloud, container and supply chain attacksseverityHighdetectabilityHighlabnot yet measured

Example: TeamTNT

Detection opportunity what to watch for

A benign emulation of this technique’s linchpin behaviour — the command an attacker runs, and where we’ve detonated it in the lab, exactly what the SIEM saw, what caught it, and what it missed.

What the attacker runs

ATT&CK T1552.005 · AWS - Retrieve EC2 IAM Role Credentials via IMDSv2 · Atomic Red Team
sudo /opt/lab/detonate.sh --technique T1552.005 --tool atomic --run-id <run-id> -- pwsh -c 'Import-Module invoke-atomicredteam; Invoke-AtomicTest T1552.005 -TestGuids c9aa1ca4-04df-4623-adac-1f199ca5ce42 -GetPrereqs -PathToAtomicsFolder /opt/AtomicRedTeam/atomics; Invoke-AtomicTest T1552.005 -TestGuids c9aa1ca4-04df-4623-adac-1f199ca5ce42 -PathToAtomicsFolder /opt/AtomicRedTeam/atomics -TimeoutSeconds 120'

Queued for lab measurement — not yet detonated.

Classification

20 values: 11 reviewed, 7 imported, 2 derived. What do these mean?

Exploitability

Attack vectorCredential attacks
Reach (CVSS)Local
Attack complexityLow
Privileges requiredLow
User interactionNone
Attacker skill requiredLow
Resources requiredLow
Likelihood / prevalenceHigh
MaturityCommoditized

Impact & scope

SeverityHigh
ImpactConfidentiality
PlatformIaaS
EnvironmentCloud
Target asset classIdentity
Kill-chain phase (tactic)Credential Access

Detection & telemetry

DetectabilityHigh
TestabilityAtomic Red Team test
Data sources (ATT&CK data components)Network Connection CreationNetwork Traffic Content

Detection & response

Mitigated by 14

  • M1035 attack-mitigation
  • M1037 attack-mitigation
  • M1042 attack-mitigation
  • D3-ANCI d3fend
  • D3-CCSA d3fend
  • D3-CH d3fend
  • D3-CI d3fend
  • D3-CR d3fend
  • D3-CRO d3fend
  • D3-CTS d3fend
  • D3-DUC d3fend
  • D3-MFA d3fend
  • D3-RC d3fend
  • D3-RIC d3fend

Detected by 1

Tested by 3

  • ae9b2e3e-efa1-4483-86e2-fae529ab9fb6 atomic
  • c9aa1ca4-04df-4623-adac-1f199ca5ce42 atomic
  • cc99e772-4e18-4f1f-b422-c5cdd1bfd7b7 atomic

Attack relationships

Framework references

Evidence & sources

  • ev-0001 (Cyber Attack Taxonomy) — Name, definition and Example/ID taken verbatim from the 'Cloud, container and supply chain attacks' table, line 391 of Cyber-Attack-Taxonomy.md
  • ev-0002 (MITRE Enterprise ATT&CK v19.2 (STIX 2.1)) — ATT&CK usage prevalence: 6 groups/software/campaigns reference this technique (ATT&CK enterprise v19.2)