Skip to main content

adidns

Active Directory Integrated DNS (ADIDNS) enumeration and manipulation. ADIDNS stores DNS records directly as objects in Active Directory. By default, any authenticated domain user can add new records, making this a common vector for name poisoning attacks.

Usage


Subcommands

adidns enum

Enumerate all ADIDNS records from Active Directory.
Reads DNS node objects from the DomainDnsZones and/or ForestDnsZones application partitions in AD and displays all records. Results are stored in the dns_records table.

adidns add

Add a new DNS record to ADIDNS.

adidns modify

Modify an existing ADIDNS record.
Shares the same flags as adidns add except --allow-multiple is not available.

adidns remove

Remove (tombstone) an ADIDNS record.
Tombstoning marks the record for deletion. The record is not immediately removed — AD replication handles cleanup.

adidns resurrect

Resurrect a tombstoned ADIDNS record.
Re-activates a previously tombstoned record. Uses the same flags as adidns remove.

adidns query

Query a specific ADIDNS record.

Common ADIDNS Attack Workflows

WPAD Poisoning

WPAD (Web Proxy Auto-Discovery) abuse via ADIDNS:

Wildcard Record Poisoning


DNS Record Storage

Enumerated records are stored in the dns_records table in SQLite.