How Did Attackers Exploit Qubole Cross-Account Access?

How Did Attackers Exploit Qubole Cross-Account Access?

The transition toward a decentralized cloud ecosystem has inadvertently created a new frontier for sophisticated cyber espionage, where the traditional perimeter is replaced by complex webs of identity-based trust. A joint investigation recently conducted by Wiz, Sentra, and Mandiant has exposed how these “trusted” relationships can be weaponized with surgical precision, specifically during a campaign that occurred between October 14 and October 26, 2026. This period saw a sophisticated threat actor successfully manipulate Identity and Access Management credentials associated with Qubole, a major data lake and analytics platform, to gain unauthorized entry into multiple victim AWS environments. By leveraging the legitimate infrastructure of a service provider, the adversary bypassed traditional security scrutiny, highlighting a systemic vulnerability in the modern Software-as-a-Service integration model. This incident serves as a critical case study in the risks of cross-account access, revealing that even robustly designed cloud architectures are susceptible to lateral movement if the vendor’s side of the equation is compromised. The campaign targeted both active and dormant accounts, emphasizing that forgotten cloud configurations remain one of the most significant liabilities for modern digital enterprises in an increasingly interconnected world.

The Mechanics: Architecture of Cross-Account Trust

To facilitate the deep data processing required for modern analytics, Qubole relies on a standard operational procedure within Amazon Web Services known as cross-account IAM roles. During the onboarding process, a customer creates a specific IAM role within their own AWS account that includes a trust policy explicitly permitting Qubole’s primary AWS account, identified as 805246085872, to assume that role. This mechanism allows the service provider to perform necessary data tasks without the dangerous exchange of long-term security keys, which could be leaked or stolen. However, this inherent trust creates a bridge between the vendor’s infrastructure and the customer’s most sensitive data stores. When an attacker gains control over a component within the vendor’s environment, that bridge becomes an open highway into any customer environment that has not strictly limited the scope of the integration. This architectural dependency is a cornerstone of the SaaS industry, yet it relies on the assumption that the vendor’s principal identities are perfectly secure and monitored.

A critical security feature designed to mitigate the “confused deputy” problem is the implementation of a unique string known as an External ID. In a secure implementation, the vendor must provide this specific ID during the sts:AssumeRole call to prove they are acting on behalf of a specific authorized customer rather than another entity. During the reported intrusions of late 2026, the threat actor managed to utilize credentials from the vendor side that allowed them to provide the correct External IDs, effectively turning a protective validation step into a verified gateway for unauthorized access. This breakdown suggests that the IDs were either harvested from the vendor’s database or that the attacker gained enough control over the vendor’s automated systems to trigger legitimate-looking requests with the correct parameters. By successfully authenticating with these identifiers, the attacker operated under the guise of an authorized service provider, making their initial entry virtually indistinguishable from routine maintenance or data processing activities.

Chronological Evolution: Phases of the 2026 Exploitation

The campaign unfolded in distinct phases, beginning on October 14, 2026, when the attacker utilized Mullvad VPN IP addresses to initiate the first wave of unauthorized role assumptions. To maintain anonymity while interacting with AWS APIs, the actor masked their true geographic location, making the traffic appear to originate from various global nodes. The initial activity was linked to a specific IAM user principal, AIDA3W7DIFLYOLTK63SFS, which investigators later determined was almost exclusively associated with the threat actor’s malicious actions rather than legitimate Qubole operations. This phase was characterized by a broad “probing” of potential targets, where the actor attempted to see which customer roles were still active and accessible from the vendor’s AWS account. By focusing on the vendor’s account as the origin, the attacker ensured that the requests were compliant with the trust policies established by the victim organizations, successfully bypassing basic network-level blocks that might target unknown external entities.

By the middle of the campaign, the threat actor shifted their primary command infrastructure to a Virtual Private Server hosted by OVH and introduced a second, more dangerous IAM user principal. This new identity, AIDAJYRRH5Y3A7AAJM2HW, was particularly difficult to isolate because it was observed carrying legitimate Qubole platform traffic alongside the malicious requests. This “piggybacking” technique allowed the attacker to hide their reconnaissance and exfiltration efforts within a high-volume stream of valid API calls, effectively blending into the background noise of standard cloud operations. As the campaign reached its peak between October 18 and October 26, 2026, the actor increased the velocity of their role assumptions, systematically moving through victim environments to identify high-value targets. This tactical evolution from a dedicated malicious identity to a shared, high-traffic identity demonstrates a sophisticated understanding of cloud monitoring systems and the limitations of traditional anomaly detection when faced with mixed-use credentials.

Strategic Discovery: Reconnaissance and Data Harvesting

Once the attacker successfully assumed a role within a victim’s environment, they began a methodical discovery process that prioritized visibility over speed. They utilized highly descriptive role session names, such as quiam-enum, which acted as internal markers to track the progress of their automated scripts across different target accounts. The reconnaissance was exhaustive, covering essential AWS service categories including storage, compute, and metadata management. The actor enumerated S3 buckets, Glue databases, and Redshift clusters to identify where the most valuable corporate data resided. They also mapped out the network topology by listing EC2 instances, security groups, and VPC configurations, which provided them with a blueprint of the internal environment. This broad-spectrum visibility allowed the actor to prioritize targets based on the sensitivity of the information and the ease of exfiltration, ensuring that their time spent within each account was used to maximum effect.

Beyond the immediate theft of stored data, the threat actor focused heavily on harvesting secondary credentials to expand their reach and ensure long-term persistence. They targeted Lambda environment variables and AWS Secrets Manager, seeking to uncover API keys, database passwords, and third-party integration tokens. To verify the utility of these stolen secrets, the actor employed specialized tools like TruffleHog, which automatically tested the keys against various external services including Entra ID and Okta. This validation step was crucial for the attacker to move laterally from the cloud infrastructure into the broader corporate identity ecosystem. For data exfiltration, the actor performed opportunistic “sweeps” of S3 buckets, downloading large volumes of data after performing a cursory inspection of the object metadata. This exfiltration often occurred without triggering alerts because many organizations do not enable S3 Data Event logging, which tracks individual GetObject calls, due to the high costs associated with such granular monitoring.

Technical Analysis: Specialized Attacker Tooling and Forensic Avoidance

A particularly sophisticated element discovered during the investigation was a bootable Linux image titled sso_agent.iso, which was hosted on the attacker’s OVH infrastructure. This tool was designed to be loaded into memory on a compromised host, where it would immediately begin gathering hardware specifications and detailed system information. Once the environment was established, the tool contacted the attacker’s command-and-control server via a non-standard TCP port to receive further shell scripts for execution. This methodology ensured that the malicious activity was conducted in a volatile, temporary environment rather than on the persistent storage of the victim’s virtual machines. The inclusion of the ntfs3 driver in the ISO suggested a specific intent to mount and interact with Windows-based file systems, pointing to a multi-platform capability that extends beyond simple cloud-native exploitation into traditional server environments.

To ensure that their actions left as little evidence as possible, the threat actor integrated a sophisticated self-erasure mechanism into the specialized tooling. The ISO included a 90-minute timer that, upon expiration, would trigger a hard reboot of the host machine, effectively wiping the temporary operating system and all associated execution logs from the system’s RAM. This forensic avoidance technique made it nearly impossible for incident responders to reconstruct the attacker’s actions on the endpoint after the fact. By combining memory-resident execution with automated reboots, the adversary maintained a high degree of stealth even while conducting complex data theft operations. This level of technical investment in custom tooling highlights a threat actor that is not merely opportunistic but is actively developing bespoke solutions to bypass modern endpoint detection and response systems while targeting sensitive data in complex hybrid-cloud environments.

Strengthening Defense: Mitigation Strategies for Third-Party Risk

Defending against the abuse of cross-account access required a shift in how organizations conceptualize the “trust but verify” model in cloud security. One of the most effective measures identified was the implementation of strict network guardrails through the use of condition keys within IAM trust policies. By utilizing the aws:SourceIp or aws:SourceVpce conditions, customers restricted the ability to assume an integration role to specific, documented IP ranges provided by the vendor. This simple change prevented attackers from using external VPNs or VPS infrastructure to assume those roles, even if they possessed the correct credentials and External IDs. Furthermore, the incident underscored the critical importance of maintaining a lean identity posture by regularly auditing all third-party roles and immediately deleting any that were no longer in active use. This reduced the overall attack surface and eliminated the dormant bridges that the threat actor so effectively exploited during the campaign.

The 2026 Qubole incident served as a catalyst for SaaS providers to adopt more transparent and secure methods for handling customer access. Many vendors moved toward the use of short-lived workload identity credentials rather than long-lived IAM user keys, significantly reducing the window of opportunity for an attacker to utilize a compromised identity. Additionally, the security community emphasized the necessity of publishing official egress IP ranges so that customers could implement the aforementioned network-based restrictions with confidence. The transition to this more rigorous security model was driven by the realization that trust should be a dynamic and constantly validated state rather than a static configuration. Security teams realized that the visibility of cross-account activity must be prioritized, leading to the broader adoption of comprehensive logging and the prioritization of the principle of least privilege. This event ultimately fostered a more resilient cloud ecosystem where both providers and consumers took shared responsibility for the security of their interconnected environments.

Subscribe to our weekly news digest.

Join now and become a part of our fast-growing community.

Invalid Email Address
Thanks for Subscribing!
We'll be sending you our best soon!
Something went wrong, please try again later