Which MITRE ATT&CK techniques are open in our AWS account today?
Would rather we looked for you? We run a free one-time audit scan of one cloud account and go through the results with you. No charge, no commitment.
Free audit scanWhich MITRE ATT&CK techniques are open in our AWS account today? Look at preconditions, not at the matrix. Most cloud techniques need a misconfiguration to work: a credential that can be stolen from instance metadata, a trail that does not cover every Region, a bucket a policy makes public, a role nobody has trimmed. Check those preconditions and you know which techniques an attacker with basic access could use against you this week. Below: four techniques, the precondition each needs, and a read-only AWS CLI command that tells you whether it is met.
Rewritten 27 November 2026. The earlier version described ATT&CK in general and claimed every Onam posture rule carries ATT&CK tags, which our product facts do not yet support, so that claim is gone. AWS commands are from the AWS CLI reference, read on 27 November 2026. Technique names are from MITRE ATT&CK at attack.mitre.org.
Four techniques, four checks
| Technique | Precondition that makes it easy | Read-only check | Open if |
|---|---|---|---|
| T1552.005 Unsecured Credentials: Cloud Instance Metadata API | EC2 instances still accept IMDSv1, so an SSRF bug can fetch role credentials | aws ec2 describe-instances --filters Name=metadata-options.http-tokens,Values=optional --query "Reservations[].Instances[].InstanceId" --output text | Any instance ID is printed |
| T1562.008 Impair Defenses: Disable or Modify Cloud Logs | No multi-Region trail, or no log file validation | aws cloudtrail describe-trails --query "trailList[].[Name,IsMultiRegionTrail,LogFileValidationEnabled]" --output table | No trail shows True for both |
| T1530 Data from Cloud Storage | A bucket policy makes a bucket public | aws s3api get-bucket-policy-status --bucket <bucket-name> | "IsPublic": true |
| T1078.004 Valid Accounts: Cloud Accounts | Identities hold far more than they use, so a stolen key buys a lot | aws iam generate-service-last-accessed-details --arn <role-arn>, then aws iam get-service-last-accessed-details --job-id <job-id> | Services granted but never used |
Sources: describe-instances, describe-trails, get-bucket-policy-status, generate-service-last-accessed-details. EC2 and CloudTrail checks are per Region; add --region and repeat.
Why preconditions, not the matrix
The ATT&CK cloud matrices (IaaS, SaaS, Office Suite and Identity Provider) list what attackers do, organised by tactic: initial access, privilege escalation, defense evasion, collection and so on. Read as a list, it is overwhelming. Read as "what does each technique need from my environment?", it becomes a short to-do list, because a handful of settings are the precondition for many techniques at once.
Two more mappings worth knowing for privilege escalation:
- T1548.005 Temporary Elevated Cloud Access. MITRE notes that in AWS, users with the
PassRolepermission can let a service they create assume a given role. Preconditions: identities withiam:PassRoleon roles more privileged than themselves, and trust policies any principal in the account can satisfy. - Cross-account trust without an external ID, which lets a third party's compromise become yours.
Which to close first
Close the preconditions that need the least prior access:
- Credential theft and valid accounts (T1552.005, T1078.004): an outsider can use these from the internet.
- Log tampering (T1562.008): close it before an incident, because afterwards the evidence is gone.
- Privilege escalation (T1548.005): these need a foothold, but turn a small one into admin.
- Collection (T1530): the last step, often blocked by fixing the first three.
A finding that is a precondition for an early technique, on a resource reachable from the internet, outranks a higher-severity finding that needs an attacker who is already admin.
Where Onam fits
Onam's posture scanning checks these preconditions, with the rest of its AWS rule definitions, on every scan across accounts and Regions, through read-only cloud roles. Findings that chain from an internet-facing resource to data or keys sit on attack paths and are ranked above ones that do not. On the threat-detection side, Onam's CDR correlates the events these techniques leave in CloudTrail; see what GuardDuty would miss.
Frequently asked questions
What is MITRE ATT&CK for cloud?
The part of MITRE's ATT&CK knowledge base that covers cloud platforms, organised as tactics (the attacker's goal) and techniques (how they reach it), built from publicly reported adversary behaviour.
How do I map ATT&CK techniques to my cloud configuration?
For each technique, ask what it needs from your environment, such as IMDSv1 for T1552.005 or a public bucket policy for T1530, and check that precondition directly with a read-only command.
Which ATT&CK techniques should a cloud team close first?
Those an outsider can use without prior access: stealing credentials from instance metadata and using valid cloud accounts. Then log tampering, privilege escalation and collection.
Try it on your own cloud
Start free. The free plan covers up to 25 units of cloud security, with API-based scanning only: posture (CSPM), identity and permissions (CIEM), data stores found through cloud APIs (DSPM checks, no content classification) and AI-SPM. Posture scanning connects through read-only cloud roles, the free plan deploys no agent or scanner, and no card is needed. Register, and the team emails you the login.