Giter Site home page Giter Site logo

katzkatz's Introduction

KatzKatz

KatzKatz is a python3 tool to parse text files containing output from Mimikatz sekurlsa::logonpasswords or pypykatz lsa minidump modules. When performing an internal network pentest, sometimes you found yourself gathering many lsass.exe process dumps, open them using Mimikatz\pypykatz to extract clear text passwords and\or NTLM password hashes. Once you getter many of those (and usually some of them contain many credential sets), it becomes a bit cumbersome to track and understand which users you compromised. KatzKatz will parse those for you and will output a CSV file containing only valid* sets so you can filter more easily and get the ones you need.

Specific features

TThe tool will only parse valid* sets of credentials and will omit the 'null' ones. Also, it will compare the output and will save unique sets of credentials.

*I'm not sure if 'valid' is the right word, KatzKatz will save results that containing at least username + password and\or NTLM password hash.

How to use it

First, install the needed dependencies:

pip3 install -r requirements.txt

Second, run the tool with the needed flags:

python3 katzkatz.py -f [FILENAME]

Options to consider

  • -f-F
    • single file or folder containing txt files
  • -o
  • output file name (csv)

Compatibility

This was tested with python 3.4 and Mimikatz 2.0+ version

Example

Using the script on a folder containing multiple text and dmp files: Sample

Credit

I got a lot of ideas from MWR Labs - https://github.com/stufus/parse-mimikatz-log And of course, https://github.com/gentilkiwi/mimikatz & https://github.com/skelsec/pypykatz which are amazing tools.

Issues, bugs and other code-issues

Yeah, I know, this code isn't the best. I'm fine with it as I'm not a developer and this is part of my learning process. If there is an option to do some of it better, please, let me know.

Not how many, but where.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.