Skip to content

Subdomain takeover

The appropriation of another party's subdomain by exploiting dangling DNS records pointing to decommissioned cloud services, to host malicious content.

Definition

Qué es

Subdomain takeover occurs when an attacker gains control of a subdomain belonging to a legitimate organization. The usual vector is a DNS record pointing to a cloud service (hosting, CDN, blog platform) that is no longer active. If the organization removes the service but not the DNS record, the attacker can claim that name at the provider and host their own content under the legitimate subdomain [1]. The result is a URL that looks official but serves phishing, malware, or scams.

Por qué importa

The impact is severe because the subdomain inherits the parent domain's trust. An attacker can read cookies set for the parent domain, execute cross-site scripting, or bypass content security policies [1]. In 2025, the Japanese government discovered that ministry subdomains had been hijacked and redirected to online gambling sites, showing that the problem affects critical infrastructure [2]. The root cause is careless DNS lifecycle management.

Cómo funciona

The typical cycle has two phases. During provisioning, the organization creates a subdomain (e.g., blog.example.com), points it via CNAME to a hosting provider, and creates the site. If the provider does not rigorously verify ownership, an attacker may claim the same name first. During deprovisioning, the organization removes the service but leaves the DNS record. The provider releases the name and the attacker claims it, taking control of the subdomain [1]. Prevention requires a strict order: create DNS last during provisioning and remove it first during deprovisioning, plus inventorying all subdomains and providers.

Hitos

  • 2014. The first public subdomain takeover cases are documented on blog platforms and cloud services.
  • 2010s. Tools like Sublist3r and can-i-take-over-xyz automate detection of vulnerable subdomains.
  • 2025. The Japanese government discovers ministry subdomains hijacked and redirected to gambling sites [2].
  • 2025. CSA and Tenable publish guidance to reduce dangling DNS and subdomain takeover risk in cloud infrastructure [3]; [4].

Conexiones

  • domain-hijacking — both aim to control a naming asset, but takeover exploits DNS, not the registrar.
  • typosquatting — typosquatting registers variants; takeover hijacks legitimate subdomains.
  • dns — the dangling DNS record is the root cause of takeover.
  • udrp — UDRP does not cover subdomain takeover; the remedy is technical and, if needed, legal.
  • domaining — investors must audit their domains' subdomains to prevent takeovers.

Errores frecuentes

  1. Removing the service before the DNS. The correct order is to delete the DNS record first, then decommission the service.
  2. Not inventorying subdomains. Without an updated inventory, forgotten subdomains remain vulnerable.
  3. Trusting provider verification. Not all providers rigorously verify ownership of the claimed name.
  4. Ignoring dangling CNAMEs. A CNAME pointing to a nonexistent service is the main takeover vector.

Evidencia

Etymology

Origin: english

subdomain takeover — taking control of a subdomain

  • subdomain (root): subdomain
  • takeover (root): act of taking control
Cognates
  • es: subdominio, tomar
  • en: subdomain, takeover

Morphology

Prefixes

  • sub- — under

Compounds

  • dangling-DNS

Variants

Typographical errors

  • subdomain-takeover
  • subdomain takeover

Plurals

  • subdomain-takeovers

Semantic network

Subdomain taDNS-abusedangling-DDomain hijTyposquattDNSUDRPDomaining

● broader ● narrower ● related

Broader

  • DNS-abuse

Narrower

  • dangling-DNS

Related

Antonyms

  • secure-DNS-configuration

Sources