-
Notifications
You must be signed in to change notification settings - Fork 383
smb secretsdump command
skelsec edited this page Apr 13, 2021
·
1 revision
performs lsassdump, regdump and dcsync
Improvements needed
- A working SMB connection URL with a user that has admin right to the remote machine, for DCSYNC you will need getchanges/getchangesall rights as well.
None
-
url
: SMB connection URL. Please consult theConnection URL
section -
--json
: Output results in JSON format -
-g
or--grep
: Output results in greppable format -
-k
: Kerberos directory to write tickets there inkirbi
andCCACHE
format -
--chunksize
: Specifies how large each chunk should be read over SMB for the parsing -
-p
: Specifies which LSASS packages to parse. Default:all
-
-o
or--outfile
: Writes the secrets to the specified file
-
pypykatz smb secretsdump 'smb2+ntlm-password://TEST\Administrator:QLFbT8zkiFGlJuf0B3Qq@10.10.10.2'
: Performs secretsdump.