Code Monkey home page Code Monkey logo

godumpanalyser's Introduction

Go-Pass-Parser

Golang Password Parser for output AFTER first parsing with impackets secretsdump

AD Dump Analyser

This will parse the ADdump.ntds returned from impackets secretsdump (-user-status) and give some general statstics. It will output a CSV file of duplicated passwords in the format Count,Hash,Users It will also output a simple text file with the latex code to copy and paste the duplicated hashes directly into the report.

Input Example

domain.local\User1:2202:aad3b435b51404eeaad3b435b51404e1:64F12CDDAA88057E06A81B54E73B949B::: (status=Enabled)

NOTE: The inclusion of the account status at the end is not default when using secretsdump -user-status

Usage example

You can pass 2 files as parameters, admins is optional

go run . examples.txt admins.txt

Flags

Only relevant when passing a dumpfile with account status included!

-all This will force it to include all accounts,

Output

Total hashes: ##
Enabled Accounts ##
Disabled Accounts: ##
Computer Accounts: ##

Disabled Accounts Included / Not Included
LM Hashes: ##
Blank Passwords: ##
Duplicated Hashes: ##
Domains: "[domain.local domain2.local]"
Admins: ["domainAdmin1"]

Latex Table output to latex_table.txt
CSV output to duplicated_hashes.txt

LaTeX Output Example

\begin{table}[H]
    \centering
    \begin{tabular}{l | l}
        \textbf{Hash value} & \textbf{Count} \\
        \hline
        0e574************c1769 & 3 \\
		76C3C************80A15 & 3 \\
		58A47************FDB71 & 2 \\
		7B23F************BEB5B & 2 \\
		F7A80************E967C & 2 \\
        \hline
    \end{tabular}
    \caption{Passwords most shared between AD accounts}
\end{table}

Todo

Implement this library: https://github.com/C-Sto/gosecretsdump

goroutines to concurrently read all lines from file and then process multiple at once

godumpanalyser's People

Contributors

lwears avatar

Watchers

 avatar

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.