Join our Newsletter — 33% off our NHI Course
Home FAQ Threats, Abuse & Incident Response What should teams do when they find ADFS…
Threats, Abuse & Incident Response

What should teams do when they find ADFS users assuming AWS SSO roles they cannot fully explain?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 10, 2026 Domain: Threats, Abuse & Incident Response

Treat the unexplained role assumptions as a potential compromise signal and review both the identity source configuration and the resulting activity sequence. Check for suspicious use of AssumeRoleWithSAML, look for deleted roles or users in historical data, and assess whether activity affected AWS services or the IAM Identity Center itself. The goal is to isolate malicious use before it persists further.

Why Unexplained AWS SSO Role Assumptions Matter

When ADFS users start assuming AWS SSO roles that teams cannot explain, the issue is usually not just an odd audit trail. It can indicate broken trust between the identity source and AWS, stale federation objects, overbroad role trust, or a compromise path that is using legitimate SAML assertions to blend in. Because the action is authenticating through expected systems, it often looks normal until the downstream activity is reviewed.

That is why this signal deserves fast triage rather than informal reassurance. If the role assumption cannot be tied to a known business process, the safest assumption is that something in the federation chain, account lifecycle, or session behaviour is outside expected control. In practice, many teams only discover the real cause after unusual API activity, privilege spread, or deleted historical objects have already made reconstruction harder.

How Teams Should Investigate the Federation Path

Start by treating the event as a sequence problem, not a single login event. Trace the ADFS assertion, the AWS role trust policy, and the resulting session activity together so you can see whether the role was expected, whether the user truly existed at the time, and whether the assumption matched any documented path. The question is not only “who signed in,” but “what trust relationship made that access possible.”

Investigators should review OWASP Non-Human Identity Top 10 because federation and role trust failures often behave like identity lifecycle problems: the credential or assertion may be valid while the governance around it is not. The same logic applies when looking at the AWS side. Check for suspicious use of AssumeRoleWithSAML, compare the role against current and historical IAM Identity Center configuration, and confirm whether the assumed role still exists in present-day inventory or only in retained logs.

A useful way to narrow the problem is to separate configuration drift from active misuse. If the role mapping is inconsistent with current policy, you may be seeing stale trust, orphaned access, or an unreviewed entitlement. If the mapping is valid but the session activity is unusual, the focus shifts to compromise, token abuse, or a trusted user being used for actions they did not intend. The best supporting evidence usually comes from CloudTrail, federation logs, role trust settings, and account lifecycle records viewed as one chain rather than isolated artifacts.

  • Verify whether the ADFS claim rules still align with the intended AWS role mapping.
  • Check whether the target role was recently deleted, renamed, or replaced in a way that obscures history.
  • Review whether the session touched IAM Identity Center, AWS service APIs, or privilege-altering actions.
  • Compare the user and role pair against approved business access patterns and time windows.

These controls tend to break down when identity records are pruned too aggressively or role history is not retained long enough to explain how the assumption was authorised.

Common Cases Where the Explanation Breaks Down

Tighter federation governance often increases operational overhead, so teams have to balance access convenience against the need for traceable trust paths. That tradeoff becomes more visible in environments with multiple forests, legacy ADFS rules, or rapidly changing AWS role inventories.

One common edge case is a legitimate role assumption that looks suspicious because the role was renamed, recreated, or moved between accounts. Another is a former user or stale group membership still being accepted by an outdated claim rule. Best practice is evolving here, but the practical rule is simple: if the access path cannot be reconstructed from current and historical records, treat that as a control failure even before you prove malicious intent.

Another case involves broad roles that are technically allowed but operationally hard to justify. Those are dangerous because they make every investigation slower and every anomaly harder to classify. The unexplained role may be the symptom, while the real weakness is that the trust policy and entitlement model are too permissive to support clean attribution.

Risk and Threat Considerations

Unexplained AWS SSO role assumptions create a material identity and privilege risk because they can represent either stale federation trust or attacker use of a legitimate assertion path. The concern is not limited to initial access. Once a session is established through a trusted identity source, it can be used to enumerate services, modify permissions, or conceal persistence behind normal federation behaviour.

Failure mechanism: The weakness usually appears when ADFS claim rules, AWS role trust, or account lifecycle handling allow an assertion to succeed without a current business justification. If an attacker gains access to the identity source, they can abuse the same federation path to assume roles that look legitimate in logs, especially when historical role and user records are incomplete or deleted.

Impact: The practical impact is loss of attribution, delayed containment, and possible privilege expansion across AWS services or IAM Identity Center. In the worst case, teams lose the ability to tell whether the session was an authorised business action or a compromise that has already moved into privileged cloud activity.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01 — Identity Inventory and OwnershipExplains unexplained role use as a machine-identity lifecycle and ownership gap.
NHI-03 — Secrets and Credential ManagementSAML federation and role assumption depend on credentials and assertion trust handling.
Recommendation — Inventory federated roles and owners, then remove or rotate any orphaned trust paths. Review and rotate federation credentials or signing material when assertion use is unexplained.
NIST CSF 2.0PR.AA — Identity Management, Authentication, and Access ControlThe issue centers on whether identity assertions and role access are authorised.
Recommendation — Validate the identity-to-role mapping and revoke access that cannot be justified.
CIS Controls v86 — Access Control ManagementUnexplained role assumptions indicate entitlement review and access governance failure.
Recommendation — Remove unnecessary role grants and enforce periodic review of federated access paths.
MITRE ATT&CKT1550.001 — Use Alternate Authentication Material: Application Access TokenAttackers often abuse trusted auth material to impersonate legitimate sessions.
Recommendation — Hunt for misuse of trusted federation material and correlate it with suspicious session activity.

Practitioner Guidance

What to prioritise: Establish whether the access path is explainable before debating intent. If you cannot reconstruct the trust chain from ADFS to the AWS role, treat the event as an active security issue, not a documentation gap.

What to verify: Confirm the user, claim rule, role trust policy, and session activity all line up in time. The key check is whether the same identity could still be expected to assume that role today, given current membership and current policy.

Decision rule: If the role assumption is technically valid but operationally unaccountable, escalate it as a containment candidate anyway. Legitimate authentication is not the same thing as legitimate authorisation when the surrounding trust path cannot be defended.

What practitioners underestimate: Deleted or renamed roles often matter more than the live configuration because they explain why the event appears untraceable. Preserve enough historical identity and role data to answer the next investigation without relying on memory.

Practitioner takeaway: The real objective is to prove whether federation trust still matches business reality; if it does not, unexplained role assumptions should be treated as a control failure that may already have enabled compromise.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 10, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org