Cybersecurity researchers at Intruder successfully took over five US Treasury subdomains for approximately $3 each by exploiting outdated Domain Name System (DNS) records pointing to Amazon Web Services (AWS) infrastructure.
In research published Nov. 24, Intruder disclosed that its broader experiment resulted in 28 successful subdomain takeovers within 48 hours.
The company responsibly disclosed its findings and said the affected Treasury DNS records had been fixed. The researchers did not report accessing internal Treasury systems or stealing government data.
The findings demonstrate how outdated cloud configurations can expose government and corporate domains to phishing, credential theft, and other malicious activity.
Dangling DNS records expose organizations to subdomain takeovers
The security weakness stems from what is known as a dangling DNS record.
Organizations use DNS records to direct traffic to the infrastructure hosting their services. When a cloud resource is decommissioned, its public IP address may be released and subsequently assigned to another customer.
If the corresponding DNS record remains unchanged, visitors and applications could unknowingly communicate with infrastructure controlled by someone else.
Intruder security consultant Tom Steer investigated this weakness using AWS Elastic IP addresses. The research examined approximately 450,000 unique IP addresses, representing less than 1% of AWS's published EC2 IPv4 address space.
Beyond the US Treasury, the findings affected organizations across government, education, financial services, and technology.
Unlike conventional phishing attacks that rely on lookalike domains, subdomain takeovers allow attackers to potentially host malicious content under legitimate organizational domains. Attackers could also obtain valid TLS certificates, making fraudulent websites more difficult to identify.
Automated systems face additional risks. Applications and integrations that continue communicating with obsolete endpoints could transmit sensitive information without recognizing that the underlying infrastructure has changed ownership.
AWS maintains that customers are responsible for DNS configurations
AWS restricted Intruder's testing account after detecting its activity. However, the researchers identified limitations in how those restrictions were enforced across accounts within the same AWS organization.
Intruder recommended that AWS introduce monthly limits on IP address allocations and extend abuse-related restrictions across entire organizations.
According to Intruder, AWS said on Nov. 17 that it had no plans to implement the proposed changes.
The cloud provider reportedly maintained that the exposure stems from customer-managed DNS records rather than a vulnerability in AWS services. It also said rapid IP address allocation and release violates its policies and that controls are already in place to address such activity.
While additional provider-side restrictions could make large-scale exploitation more difficult, they would not resolve the underlying DNS misconfiguration.
Organizations remain responsible for ensuring that their DNS records point to infrastructure they control.
How security teams can prevent subdomain takeovers
Organizations should incorporate DNS management into their cloud infrastructure decommissioning procedures to prevent abandoned records from becoming security vulnerabilities.
Security teams should prioritize the following measures:
- Audit public DNS records: Identify records pointing to retired infrastructure or IP addresses no longer controlled by the organization.
- Automate DNS cleanup: Remove or update associated DNS records and allow cached entries to expire before releasing public IP addresses.
- Maintain an accurate asset inventory: Document the ownership, purpose, and dependencies of public-facing domains and application endpoints.
- Review authentication cookie configurations: Restrict sensitive cookies to the hosts that require them to reduce potential exposure across subdomains.
- Monitor certificate issuance: Use Certificate Transparency logs to identify unexpected TLS certificates issued for organizational domains.
- Investigate historical exposure: If a dangling DNS record is discovered, assess whether sensitive traffic may have reached reassigned infrastructure and rotate potentially exposed credentials where appropriate.
Security teams should also establish clear responsibilities across cloud infrastructure, networking, and application management teams. Where these functions operate separately, infrastructure may be retired without corresponding updates to DNS records or application dependencies.
Intruder's findings highlight the importance of extending attack surface management beyond active infrastructure. Decommissioned resources can continue to present security risks when associated DNS records and application dependencies remain in place.
In other news, cyberespionage targeting government networks in Bulgaria highlights the persistent security risks facing public sector infrastructure across EMEA.





