Treasury.gov subdomains taken over via released AWS Elastic IPs: how to audit your DNS
Intruder says it claimed 28 live subdomains in 48 hours, five on treasury.gov, for about $3 each; AWS says it will not change anything.
· 6 min read
Written by AI from the sources linked below. How we use AI
On this page
Security firm Intruder says it took over 28 live subdomains in 48 hours, five of them on treasury.gov, by claiming Amazon Web Services Elastic IP addresses that organisations had released while their DNS records still pointed at them. Intruder puts the cost at about $3 per valid takeover. AWS told the researchers it has no plans to change anything. If your DNS contains A records pointing at AWS addresses you no longer hold, this is worth an audit today.
Key points
- Intruder (author: Tom Steer) published the research on 24 November 2026: 28 live takeovers in bug bounty scopes within 48 hours, almost half on government bodies.
- Five US Treasury subdomains were among them: ftp.treasury.gov, irssearch.treasury.gov, pcp.treasury.gov, rdgw.treasury.gov and ww5.treasury.gov.
- The method needs no vulnerability in AWS code: anyone can allocate an Elastic IP, and if a DNS A record still points at an address its owner released, whoever claims it controls that name.
- Intruder says it reported the findings to the affected bug bounty programmes from 25 August, contacted AWS on 8 October, and AWS confirmed on 17 November it would not change anything.
- Intruder's advice: audit DNS records that point at Elastic IPs and remove dangling ones promptly.
What to do
- List every A record that points at an AWS public IP, and compare it with the Elastic IPs actually allocated in your accounts (every region, every account in the organisation). A record pointing at an address you do not hold is a dangling record. Remove it.
- Order matters. Mozilla's guidance on subdomain takeover says to create the DNS record last when provisioning and remove it first when deprovisioning. The same applies to Elastic IPs: delete the DNS record before releasing the address.
- Check for parent-domain cookies. Intruder points out that cookies scoped to a parent domain such as treasury.gov are sent to a taken-over subdomain. Review which cookies your applications scope to the parent domain.
- Look for old automation that still talks to the subdomain (backups, FTP jobs, scripts). Intruder warns these could leak credentials to whoever now holds the address.
- Keep an inventory of domains and the services behind them, as Mozilla recommends.
What happened
According to Intruder's post, the team built a target list from public bug bounty scopes using the tools bbscope and subfinder, resolved the names to A records and stored them in a DynamoDB table. They then repeatedly allocated Elastic IPs and checked each address against the list. Matches were kept, and everything else was released.
Two details made it fast. Intruder says it raised its Elastic IP quota to 25 per region through AWS Service Quotas and the increase was approved automatically. And releasing and reallocating within a region often returned the same address, so the script rotated through regions to get fresh pools.
After 48 hours AWS banned the account, which blocked allocating and associating Elastic IPs. Intruder says it moved the matching addresses to a new account in the same organisation, which worked, and then stopped the full attack to avoid more abuse complaints.
The results, as Intruder reports them: 28 live takeovers, almost half on government bodies. Besides the five Treasury names, hits included a university, two more government bodies, a financial services company and a large networking vendor. The remaining hits belonged to Intruder's own customers, who were contacted directly. Intruder says the issues were reported and fixed through bug bounty programmes but does not detail the individual fixes, so we cannot say whether each Treasury name has been cleaned up.
Background
A subdomain takeover happens when a DNS record keeps pointing at a resource that its owner no longer controls. Mozilla's documentation describes the classic CNAME form: the record points to a hosting provider, the virtual host is removed, and an attacker claims the same name on the same provider and serves their own content. The effects Mozilla lists include reading cookies set from the main domain, running scripts in the context of your domain, bypassing Content Security Policy, stealing credentials and delivering malicious content to people who trust the domain.
The Elastic IP version is the same bug with an IP address in place of a hosting-provider name. AWS's documentation says an Elastic IP is allocated to your account and is yours until you release it, and that it is a public IPv4 address reachable from the internet. Released addresses return to Amazon's pool. By default every account has a quota of five Elastic IPs per region, and more can be requested through Service Quotas. AWS describes IPv4 addresses as a scarce resource and charges for every public IPv4 address.
Intruder adds a consequence for the web's trust model: a takeover of a .gov subdomain could host phishing pages on a trusted domain and possibly allow the attacker to obtain valid TLS certificates through domain validation. Mozilla's page does not discuss certificates, and we did not find independent confirmation of that point, so treat it as Intruder's assessment.
How it works
The attack has three steps. First, find DNS names whose A records point at AWS address space. Second, win the lottery: allocate Elastic IPs until one matches a name on the list. Third, serve content from that address; the name now resolves to the attacker's server.
The economics are what make it notable. Intruder reports a cost of about $3 per valid takeover and says its team covered roughly 0.56% of the Elastic IP space. For scale, it says AWS publishes around 80 million IPv4 addresses for EC2 and that its script allocated about 9,400 addresses an hour, so one account would need about a year to cycle through them all. It estimates that 10 accounts could sweep the whole space in about five weeks, on the assumption that bans apply per account. Narrowing to one region, such as eu-west-2 with around 2.2 million addresses, reduces the search, though same-region reallocation produced more duplicates. These are Intruder's own estimates and we have not been able to reproduce them.
What it means
For defenders, the lesson is plain hygiene with a hard edge: a DNS record pointing at an address you do not hold is a standing offer to anyone with an AWS account. Government and large organisations with thousands of records and long histories of migrations are the most exposed, which matches Intruder's finding that almost half of its hits were government.
For AWS customers, the responsibility line is where AWS drew it. AWS told Intruder it views the issue as stemming from customer DNS records, and that rapid allocation and release is against its policy and already controlled. The researchers disagree and consider the class of problem still open. They proposed a monthly cap on Elastic IP allocations and organisation-level abuse restrictions. Both views have weight: the DNS record is the customer's to clean up, and the quota increase that approved automatically is a design choice AWS could revisit.
For bug bounty hunters and researchers, the post is also a reminder that the technique costs money and risks account bans, and that large-scale claiming of addresses creates abuse complaints.
What we don't know yet
- Whether each of the five Treasury names has been fixed, and how long the records were dangling.
- Whether AWS will change quotas or abuse detection despite its response. Intruder reports that AWS confirmed on 17 November it had no plans to.
- Whether anyone has used the technique maliciously. Intruder's post describes its own research; we found no independent report of abuse.
- How AWS sees the sweep estimates. Intruder's numbers are its own.
What to watch next
- A change to default Elastic IP quotas or the automatic approval of increases.
- Responses from the affected agencies or Treasury about the five names.
- Other cloud providers: any provider that recycles public addresses faces the same dangling-record problem.
- Scanners and attack-surface tools adding checks for A records that point at unheld cloud addresses.
Disclosure timeline (as reported by Intruder)
- 23 August: started enumerating Elastic IPs.
- 25 August: submitted findings to bug bounty programmes.
- 8 October: contacted AWS and received an initial response.
- 10 November: followed up with AWS.
- 17 November: AWS confirmed no plans to fix.
- 24 November: post published.
Sources
Written by
The official account of the people who run audiotale.net: announcements, conversation starters and the newsroom's drafts. Posts written with AI say so. Every other account here is a real person.
Read next
AntiFox AI pentest tool used in AWS attacks: Arctic Wolf lists 2 IPs, 18 services
Arctic Wolf says attackers ran the open-source AntiFox agent from Alibaba Cloud to break into IIS servers and AWS accounts; Amazon says AWS was not compromised.
audiotale.net team7 min read
Qubole AWS account 805246085872 abused: check CloudTrail for stolen roles
Wiz says attackers used credentials tied to Qubole to assume customer AWS roles from 14 to 26 October and steal secrets and S3 data; here is what to check.
audiotale.net team8 min read
AWS Nitro Sandboxes: a hardware-isolated VM per EKS pod, ECS task or AI agent, at no extra charge
AWS says Nitro Sandboxes are available in all commercial regions, adding a VM boundary per pod, task or agent session on shared EC2 instances, with optional attestation.
audiotale.net team6 min read