DNS Abuse Detection: Creation of Malicious Subdomains Under Dynamic DNS Providers

Definition

Dynamic DNS (DDNS) keeps domain records updated with current IP addresses. Users can create subdomains under provider-owned domains or use domains they own with a provider. This technique covers malicious subdomains under provider-owned domains only. Adversaries can use provider APIs to create many subdomains for scalable phishing, malware, and other campaigns. See also https://en.wikipedia.org/wiki/Dynamic_DNS.

Advice

In the case of malicious registration of dynamic DNS domains, the dynamic DNS provider is the authoritative resolver and therefore acts similar to the registry and registrar of the created domain. This means that the same advice is applicable to them as with the creation of the more usual effective second-level domains.

It is more challenging for dynamic DNS providers to perform these anti-abuse checks given their profit model and access to data used in, e.g., KYC checks. However, detecting abuse is an important part of maintaining a usable service. Therefore, detection and mitigation of malicious subdomains should be a regular part of a provider’s operations.

A domain in a dynamic DNS zone is itself a potential indicator of abuse because of the challenges faced by the dynamic DNS provider. Therefore, detection of malicious subdomains falls more heavily on stakeholders other than the provider itself. These stakeholders can look for signals that indicate malicious intent, such as:

This list is illustrative and is not exhaustive.

When a domain is reported as malicious, it should be put on blocklists enforced at the recursive/resolver level. Blocklist information can be shared via cyber threat intelligence channels.

One of the primary purposes of protective DNS is to ingest blocklists and domain information and perform correlations to determine domain reputation scores across indicators of compromise. Protective DNS then will block malicious domains as they are detected.

Examples

Remote Access Trojans such as LuminosityLink, NJRAT, and ImminentMonitor register and use subdomains under dynamic DNS providers.

Phishing campaigns commonly register and use dynamic DNS providers.

Potential Resources

See Also