Enumerate Command
Bootstrap an Active Directory assessment.
What it does
- Discover the target domain: Identifies the Domain Controller and domain name from a DC IP address.
- Enumerate Domain Controllers: Discovers all DCs and saves their hostnames and IP addresses.
- Configure NetExec's audit mode: Ensures
audit_mode = *is set in NetExec's configuration. - Validate a Standard User account: Prompts for and validates standard user credentials.
- Validate a Domain Admin account: Prompts for and validates Domain Admin credentials (required for NTDS dump).
- Create user and machine account lists: Exports domain users and computers to artefact files.
- Collect BloodHound data: Runs RustHound-CE to collect AD graph data (optional).
- Dump NTDS: Extracts NTDS.dit using Impacket secretsdump (optional, requires Domain Admin).
Output
Artefacts are written to the ad-kit/ directory:
| File | Description |
|---|---|
session.json |
Session metadata for subsequent checks |
domain.txt |
Target domain name |
dc-hostnames.txt |
Discovered Domain Controller hostnames |
dc-ips.txt |
Discovered Domain Controller IP addresses |
domain-users-filtered.txt |
Filtered domain user list |
domain-computers.txt |
Domain computer hostnames |
*.zip |
BloodHound collection (if enabled) |
*.ntds |
NTDS dump (if enabled) |
Prerequisites
- NetExec (
netexecornxc) must be installed - RustHound-CE (
rusthound-ce) must be installed (for BloodHound) - Impacket (
secretsdump.py) must be installed (for NTDS dump) - Valid Standard User and Domain Admin credentials