US Treasury subdomains taken over via dangling AWS Elastic IPs
Security firm Intruder has shown that dangling DNS records pointing at AWS Elastic IP addresses can still be hijacked, and cheaply. In research published on November 24, 2026, consultant Tom Steer describes cycling through about 450,000 AWS IP addresses in 48 hours and landing 28 live subdomain takeovers in bug bounty programs, five of them under treasury.gov, at what Intruder puts at “just $3 per valid takeover”. AWS told Intruder it does not plan to change anything, so the fix is in your own DNS.
What’s new
- The flaw is old, the scale is new. A subdomain takeover happens when a DNS record still points at a resource its owner gave up. With Elastic IPs (EIPs), an A record keeps pointing at an address after it is released back to AWS, and whoever is allocated that address next controls what the subdomain serves.
- How Intruder found them. The team collected wildcard scopes from public bug bounty programs, enumerated their subdomains, resolved the A records and stored them. It then allocated EIPs in batches across AWS regions, kept any address that matched a stored record and released the rest. Rotating regions mattered: reallocating in the same region often returned the same addresses.
- Quotas were no obstacle. AWS’s default is five EIPs per region; Intruder says an increase to 25 per region was approved automatically.
- The results. 28 live takeovers, almost half belonging to government bodies. The five Treasury hosts were ftp, irssearch, pcp, rdgw and ww5 on treasury.gov. Others were at a university, two more government bodies, a financial services company and a large networking vendor; the rest were Intruder customers. Intruder says every finding was reported, and the Treasury takeovers were fixed through a bug bounty program.
- Coverage. 450,000 addresses is about 0.56% of the roughly 80 million published EC2 IPv4 addresses. Intruder estimates one account would need about a year to cover the whole space, and ten accounts about five weeks.
- AWS’s response. After 48 hours AWS sent an abuse warning and blocked EIP allocation on the account in every region, though Intruder says it could still transfer matching EIPs to another account in the same organization. AWS told Intruder the issue depends on customers’ DNS records rather than a flaw in its service, that rapid allocation and release breaks its policy, and that it has no plans to change anything. Intruder had suggested a monthly cap on EIP allocations and abuse limits applied to the whole organization.
Why it matters
A taken-over subdomain is not just a defaced page. Intruder lists what an attacker gains: a trusted government domain for phishing and credential harvesting, a valid TLS certificate through domain validation, cookies scoped to the parent domain such as treasury.gov sent to a host the attacker controls, and any old scripts or integrations still calling that hostname, possibly with credentials.
What it means for developers
If you run anything on AWS, the disclosure timeline is the warning: Intruder started in August, contacted AWS in October and was told on November 17 that no fix is planned. Intruder says the attack still works.
- List every A record that points into AWS. Export your zones (Route 53 or wherever your DNS lives) and pick out the addresses in AWS ranges.
- Compare them with the Elastic IPs you hold. Any record pointing at an address that is not allocated in one of your accounts is dangling. Delete it, or point it at something you own.
- Remove DNS records when you release an IP, in the same change or the same infrastructure-as-code apply, not later. Records created by hand for one-off servers are the usual leftovers.
- Make it a recurring check. Dangling records come back whenever infrastructure changes, so one clean-up is not enough.
For a real attack this week on the systems around a service rather than the service itself, see the Check Point management server intrusion campaign.