Notes /

Mimikatz on linux

Written last month (March 29, 2025)

pypykatz is a Python library to parse credentials from Windows Security. Pypykatz is portable, unlike mimikatz which requires windows to run.

SUID is the users secure id. Usually the name of their folder in AppData (S-1-5-21-…). Certain password hashes (I think SHA1) can be used instead of plaintext, see pypykatz/mimikatz docs.

pypykatz dpapi prekey password <SUID> <password in plaintext> -o prekeys
pypykatz dpapi masterkey <SUID> <path to prekeys> -o masterkeys
pypykatz dpapi chrome <masterkey> <path to chrome local state> --logindata <path to login data /Default/Login\ Data> --cookies <path to cookies /Default/Network/Cookies>

Daniel Bulant - Blog posts CC-BY-SA (unless otherwise specified)