Sunday, September 13, 2026

Attackers Abuse AWS IAM’s Eventual Consistency to Maintain Stealthy Persistence

A critical exploitation technique that allows attackers to maintain access to AWS environments even after credentials are revoked.

The vulnerability stems from AWS Identity and Access Management’s eventual consistency model, which creates a three to four-second window where deleted access keys remain functional.

The Core Problem

When AWS IAM updates propagate across the distributed infrastructure, changes do not take effect immediately.

This architectural design choice creates a predictable security gap that sophisticated attackers can exploit.

Access keys can be used after deletion
Access keys can be used after deletion

During this propagation period, revoked credentials remain valid, allowing adversaries to establish new persistence mechanisms before losing access.

The attack scenario unfolds when security teams discover compromised AWS access keys and attempt to delete them.

Persistence when the keys are improperly deleted.
Persistence when the keys are improperly deleted.

Because of eventual consistency, the compromised credentials remain valid for approximately four seconds after deletion.

Attackers monitoring their access can detect the revocation attempt through the IAM ListAccessKeys API, which returns an empty array when keys are deleted.

Within the remaining time window, attackers can create new access keys or establish alternative persistence mechanisms before the system reaches complete consistency.

The persistence window extends beyond access key management to affect multiple IAM operations, including policy attachment and detachment, role assumption permissions, role creation and deletion, and login profile modifications.

This broader impact means that traditional incident response playbooks that rely on policy-based restrictions fail to contain compromised accounts properly.

OFFENSAI researchers found that attempting to restrict compromised users through IAM policies proves ineffective.

Detecting and detaching a deny all policy before it comes into effect

Attackers can detect newly attached deny policies within the consistency window and remove them before they take effect, rendering standard remediation procedures useless.

The most reliable defense involves AWS Organizations Service Control Policies, which operate at the account level and are beyond an attacker’s control.

undisclosed vulnerabilities
undisclosed vulnerabilities

Security teams should apply an SCP denying all actions for the compromised principal, wait the whole 4-second propagation period, then proceed with traditional cleanup procedures.

Alternatively, organizations can contact AWS directly to have compromised credentials quarantined.

AWS acknowledged the security implications after responsible disclosure and implemented partial fixes.

However, researchers confirmed that attackers can still detect IAM changes and create roles assumable by external accounts during the consistency window, indicating the issue remains partially unresolved despite AWS publishing official remediation guidance.

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Threat Actors Use Claude AI Agents to Automate Cyberattacks and Steal Sensitive Data

Threat actors are increasingly using Claude-based AI workflows to...

China-Linked Hackers Chain Chrome Zero-Day With Windows Kernel Flaw in Attacks

China-linked threat actors UTA0560 and JungleBamboo chained a Google...

New Phishing Campaign Abuses Windows Mshta.exe to Steal Credentials and Secrets

A newly identified phishing campaign is abusing the legitimate...

CISA Warns of Critical GitLab Vulnerability Exploited in Attacks

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

Researchers Uncover 10,000+ Malware Loaders Behind YouTube and SEO Poisoning Campaign

A long-running pay-per-install (PPI) operation that used YouTube gaming...

VLC Media Player Flaws Let Attackers Corrupt Memory and Leak Sensitive Data

Two security vulnerabilities in VLC media player versions 3.0.0...

CISA Adds Exploited MikroTik RouterOS Flaws to Security Alert

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

Related Articles

Recent News