LinuxCommandLibrary

nxc-ldap

TLDR

Authenticate to LDAP

$ nxc ldap [target] -u [user] -p [password]
copy
Enumerate users
$ nxc ldap [target] -u [user] -p [password] --users
copy
Enumerate groups
$ nxc ldap [target] -u [user] -p [password] --groups
copy
Kerberoasting
$ nxc ldap [target] -u [user] -p [password] --kerberoasting [output.txt]
copy
AS-REP roasting
$ nxc ldap [target] -u [user] -p [password] --asreproast [output.txt]
copy

SYNOPSIS

nxc ldap [target] [options]

DESCRIPTION

nxc ldap is the NetExec LDAP module. Tests Active Directory via LDAP.
The tool enumerates and attacks AD. Used for domain penetration testing.
nxc ldap tests Active Directory.

PARAMETERS

TARGET

Domain controller address.
-u USER
Username.
-p PASSWORD
Password.
--users
Enumerate domain users.
--groups
Enumerate domain groups.
--kerberoasting FILE
Dump Kerberos hashes.
--asreproast FILE
AS-REP roasting attack.
--help
Display help information.

CAVEATS

Security tool. Authorized use only. Targets Active Directory.

HISTORY

nxc ldap provides Active Directory penetration testing via LDAP protocol.

SEE ALSO

Copied to clipboard