Cyber Security News

Dangling DNS Attack Allows Hackers to Take Over Organization’s Subdomain

Hackers are exploiting what’s known as “Dangling DNS” records to take over corporate subdomains, posing significant threats to organizations’ security frameworks.

This attack vector has been increasingly noted by security teams, highlighting the need for constant vigilance in DNS configuration management.

A New Threat Landscape

Subdomain takeovers occur when a misconfigured or unused subdomain’s DNS entry, particularly canonical name (CNAME) records, points to an expired or non-existent service.

An example defaced website resulting from a subdomain takeover attack

This scenario, termed “Dangling DNS,” not only involves CNAME records but also other DNS record types like NS, MX, A, and AAAA.

When organizations discontinue a service or fail to update DNS entries post-service termination, attackers can register the abandoned subdomain with the service provider, gaining control over it.

For instance, if a company’s help desk subdomain was previously hosted on a SaaS platform like Zendesk and the service was terminated without updating the DNS, an attacker could initiate a free trial with the same provider under the company’s subdomain, thus taking control.

Cloud service misconfigurations present another avenue for these attacks.

If an organization deletes a cloud resource like an AWS S3 bucket used for hosting a static website without removing or updating the corresponding DNS entries, attackers can register a new bucket with the same subdomain name, redirecting and potentially maliciously modifying traffic.

A recent research investigation from October 2024 to January 2025 by security researchers found approximately 150 S3 buckets, previously owned by major corporations and government agencies, that were deleted but still referenced by outdated DNS records.

Over 8 million requests were made to these non-existent buckets, seeking various critical resources like container images and SSLVPN server configurations.

An example 404 error message from a missing AWS S3 bucket behind a subdomain

The Supply Chain Risk

The implications extend beyond mere website defacement or credential theft, which are traditional outcomes of subdomain takeovers.

With organizations using subdomains to distribute software updates, cloud service templates, and other critical assets, an attacker could inject malicious code into these supply chains, leading to potential remote code execution (RCE), resource hijacking, or even persistent backdoors.

SentinelOne, a cybersecurity firm, has identified over 1,250 instances of subdomain takeover risks due to deprovisioned cloud resources in the past year.

They advocate for robust security practices across the entire software development lifecycle, emphasizing that runtime security is critical, especially when involving third-party services.

This emerging threat underscores the importance of meticulous DNS management.

Organizations must ensure their subdomains are either actively used or securely decommissioned, removing all associated DNS records to prevent exploitation. 4

As the cyber landscape evolves, maintaining proactive security measures through vigilant monitoring and timely updates to cloud and DNS configurations is paramount to safeguarding against these sophisticated attacks.

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates!

Aman Mishra

Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

24 hours ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago