Skip to content

DNS Check

Checks whether authenticated users can create records within Active Directory-integrated DNS (ADIDNS) zones.

ad-kit check dns

Prerequisite

Requires a valid Standard User account (authenticated) and bloodyAD installed.

Commands run

ad-kit uses bloodyAD to add, then remove, a temporary dnsRecord:

bloodyAD -u <username> -p <password> -d <domain> --dc-ip <dc_ip> add dnsRecord <name> <ip>
bloodyAD -u <username> -p <password> -d <domain> --dc-ip <dc_ip> remove dnsRecord <name> <ip>

What it checks

ad-kit verifies whether a standard domain user can modify DNS data by adding a temporary dnsRecord entry and then removing it again. The created record is always cleaned up (with a Domain Administrator account if the Standard User cannot remove it).

How it works

Active Directory-integrated DNS zones are stored in the AD database and replicated between Domain Controllers. In a secure configuration, only authorised principals can create or modify records. If an authenticated user can add arbitrary records, they can register names that redirect traffic, impersonate a service, or support further attacks.

Why it matters

DNS names are widely trusted by domain systems, so the ability to create or modify records can be leveraged for traffic redirection, spoofed services such as WPAD, or availability disruption.

Findings

Finding ID Title
DNS-001 Authenticated Users Can Create DNS Records

Tooling

References