TA0006Tactic 9 of 15

Credential Accessin cloud and AI environments

How do attackers steal credentials in AWS?

ATT&CK v20.1Updated Official tactic page
Credential Access technique map18 techniques in Credential Access, 12 of them apply to cloud platforms. Highlighted: T1552.005, T1555.006, T1528, T1552.001, T1606.T1528T1552T1555T1606TA000618 TECHNIQUES
Key for cloud (this guide)Applies to cloud platformsOther platforms
18
Techniques
50
Sub-techniques
12
Apply to cloud platforms
4
Defensive controls
2
Detection signals

What the tactic means

Credential Access covers techniques for stealing account names, passwords, keys and tokens. Stolen credentials let the adversary act as a legitimate identity, which makes later steps harder to distinguish from normal work and often survives the remediation of the original foothold.

The adversary is trying to steal account names and passwords.

Credential Access consists of techniques for stealing credentials like account names and passwords. Techniques used to get credentials include keylogging or credential dumping. Using legitimate credentials can give adversaries access to systems, make them harder to detect, and provide the opportunity to create more accounts to help achieve their goals.

MITRE ATT&CK TA0006 description

Why it matters: cloud, AWS and AI

Cloud environments

Cloud workloads constantly handle credentials: role sessions from metadata services, secrets for databases, tokens for SaaS. Every workload is therefore a potential credential source.

AWS specifics

Typical sources: EC2 instance metadata (IMDS), ECS/EKS credential endpoints, Secrets Manager and Parameter Store, credentials in code or environment variables, CI/CD variables, and Kubernetes service account tokens.

AI & workloads

Agents often hold API keys for tools; credentials in agent configuration, prompts or logs are new harvesting targets (ATLAS tracks AI agent tool credential harvesting).

AWS API calls to know
  • secretsmanager:GetSecretValueRead a secret value.
  • ssm:GetParameter (WithDecryption)Read SecureString parameters.

What the attacker is trying to achieve

  1. 01Obtain workload role credentials
  2. 02Harvest secrets for other systems
  3. 03Steal tokens that bypass MFA

Techniques that matter most in cloud

What it needs, and what breaks it

Attacker needs

  • Code execution, SSRF, or read access to secret stores

Defenders control

  • IMDSv2 with appropriate hop limits
  • Scoped GetSecretValue permissions
  • Secrets in managed stores, never in code/images
  • Per-workload identities

Detection signals and telemetry

Signal
  • GetSecretValue by new principals or in bulk

    CloudTrail
  • Instance credentials used outside AWS

    GuardDuty

For leadership

What this means for the business

Assume any compromised workload yields its credentials. The investment that matters is limiting what those credentials can do.

Common misconceptions

Myth

“IMDSv2 stops credential theft.”

Reality

IMDSv2 defeats many SSRF patterns, but code executing on the instance can still obtain role credentials.

Practical security checklist

0 of 3 done

Saved only in this browser. Nothing is sent to Securitain.

Related attack scenarios

Where Securitain fits

  • Securitain can assess todayDetection of identities with sensitive permissions such as broad S3 access, KMS decrypt or Secrets Manager reads. Learn more
  • Securitain can assess todayCredential prioritization — surfacing access keys and identities whose permissions make a leak more damaging. Learn more

Official sources and references

MITRE ATT&CK® and ATT&CK® are registered trademarks of The MITRE Corporation. ATT&CK data © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (ATT&CK v20.1). Securitain is not affiliated with or endorsed by MITRE. Explanations, scenarios and control mappings on this page are Securitain’s own analysis. Sources and licensing

Stay in the loop

Cloud security insights, early access & compliance updates

Weekly InsightsEarly AccessExpert Content
No spam, everUnsubscribe anytimeWeekly updates
Chat with Securitain