Look for a sequence that starts with sts:GetCallerIdentity or sts:GetSessionToken, moves into repeated read-only discovery and AccessDenied bursts, and then includes key-creation or user-policy changes. That pattern shows an attacker moving from proof of access to control expansion.
How AWS Key Abuse Moves from Proof of Access to Persistence
The useful signal is the transition, not any single API call. Early abuse often looks like validation, using a credential just enough to confirm it works. Once the same principal starts probing for permissions, retrying denied actions, and then changing keys or policies, the activity has shifted into control expansion and should be treated as a persistence attempt.
At that point, you are no longer looking at a thief merely checking whether a key is alive. You are looking at an actor trying to preserve access after the original secret is rotated, detected, or burned.
What the Validation Stage Usually Looks Like
Validation is typically low-noise and focused on trust establishment. The clearest example is TruffleNet stolen AWS keys campaign 2025, where attackers used sts:GetCallerIdentity to test stolen keys before moving on to other actions. In practice, this stage often includes session-token retrieval, basic identity checks, and a small number of read-only calls that tell the attacker whether the key is valid and what the account can see.
The most important pattern is restraint. Validation traffic usually seeks confirmation, not impact. You may see a short burst of cloud inventory reads, account introspection, and a few API calls that are safe from the attacker’s point of view because they are unlikely to trigger immediate alarms or change the environment.
That is why this stage is easy to miss if teams only watch for destructive actions. The attacker is often still mapping the account, testing the key, and deciding whether it is worth investing in deeper access.
What Changes When Abuse Turns Toward Persistence
Persistence becomes more likely when discovery expands and denial patterns start to appear. Repeated read-only calls across services, followed by bursts of AccessDenied responses, usually indicate that the actor is learning the boundary of the compromised principal and searching for something with more leverage. A next step such as iam:CreateAccessKey, policy attachment, inline policy edits, or privilege-granting changes is a strong sign that the actor wants durable access rather than one-time use.
That shift matters because the attacker is no longer dependent on the original secret alone. Once they can mint another key, widen permissions, or alter the account’s access model, they can survive credential rotation and continue operating after the first abuse vector is closed.
This is also where attackers often chain in cloud-control actions that create fallback access paths. If a principal that was only reading metadata begins changing IAM state, modifying trust relationships, or adding credentials for another identity, you should assume persistence work is underway even if no data has yet been exfiltrated.
Risk and Threat Considerations
The main risk is treating validation noise as harmless reconnaissance when it is actually the opening phase of account takeover. Cloud abuse often starts with low-friction checks and only later becomes durable access, so defenders need to interpret permission failures and key-management changes as part of one attack sequence.
Failure mechanism: The attacker confirms the key, enumerates what the identity can reach, then uses IAM or key-management changes to preserve access after the original credential is detected or revoked.
Impact: Once persistence exists, rotation alone is no longer enough to end the incident, because the adversary may already control an alternate credential or a new path back into the account.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1078 — Valid Accounts | Covers compromised AWS keys used as valid accounts for access and persistence. |
| Recommendation — Map the observed sequence to valid-account abuse and hunt for follow-on privilege or persistence actions. | ||
| NIST SP 800-53 Rev 5 | AU-6 — Audit Review, Analysis, and Reporting | Supports reviewing auth and IAM events for validation-to-persistence progression. |
| IA-5 — Authenticator Management | Applies to key rotation, revocation, and lifecycle control after suspected AWS key abuse. | |
| AC-6 — Least Privilege | Limits the attacker’s ability to expand from simple validation into policy or key creation. | |
| Recommendation — Correlate identity checks, denied calls, and IAM changes in audit logs to confirm escalation. Rotate and revoke exposed AWS keys promptly, then verify no alternate credentials were created. Remove unnecessary permissions that would let a compromised key create or modify credentials. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | AWS access keys are non-human credentials that become dangerous when they can alter IAM or create keys. |
| Recommendation — Scope AWS keys to the minimum permissions needed and block key or policy administration by default. | ||
Practitioner Guidance
What to verify: Correlate the first successful identity check with the next 10 to 30 minutes of activity. A clean validation-only pattern usually ends with a short burst of reads; a persistence path usually adds permission probing, repeated denials, or access-key and policy changes.
Decision rule: If the principal begins altering IAM state, treat the event as active compromise, not suspicious login activity. Rotate the exposed credential, review every new key or policy change made after initial validation, and check whether the attacker created an alternate path before containment.
What practitioners underestimate: AccessDenied bursts are often a sign of attacker learning, not failure. They tell you the actor is testing boundaries and may be close to a viable escalation path.
Practitioner takeaway: The key question is whether the actor is still proving access or has started building a second way back in; once IAM changes appear, assume persistence until the account is proven clean.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 11, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org