NetExec LDAP DACL Read
Read DACL entries on an AD object to identify abusable ACL permissions
- Tool
- nxc
- Category
- Privilege Escalation / ACL / DACL Abuse
- Platform
- linux
- Requires
- password
- Protocols
- LDAP
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 daclread -o TARGET='<target>' ACTION=read
Credential variants
The same attack using a different authentication material.
NTLM Hash requires NTLM hash
nxc ldap '<ip>' -u '<user>' -H '<hash>' -M daclread -o TARGET='<target>' ACTION=read
Kerberos Ticket requires Kerberos ticket
nxc ldap '<ip>' -u '<user>' --use-kcache -M daclread -o TARGET='<target>' ACTION=read
Examples
nxc ldap '192.168.1.100' -u 'user' -p 'password' -M daclread -o TARGET='Domain Admins' ACTION=read
Tags
Related commands
- BloodyAD Add User to Group Add user to group using BloodyAD
- bloodyAD Grant DCSync Grant a target principal the DS-Replication-Get-Changes and…
- BloodyAD Set Object Owner Set object owner using BloodyAD
- Impacket badsuccessor Exploit the BadSuccessor vulnerability to escalate privileges via delegated Managed…
- Impacket dacledit Read or write DACL entries on AD objects to grant or abuse ACL rights
- Impacket dacledit.py Read, write, or remove DACL ACEs on AD objects from Linux. Use to grant yourself…
- Impacket owneredit Read or rewrite the nTSecurityDescriptor owner of an AD object. Use after a WriteOwner…
- Impacket owneredit Change the owner of an AD object (WriteOwner abuse)