Git Product home page Git Product logo

hashcat-scripts's Introduction

Some Thoughts

I started this repo, purely to dump my thoughts and scripts on cracking passwords.

I tend to use 3 wordlists when cracking passwords, I run them in the following order;

  • rockyou
  • crackstation-human-only
  • crackstation

I rename the files with a 2 digit prefix, so the rockyou is renamed to 01-rockyou.txt and so on. Then in hashcat I simply tell it to use the folder;

hashcat -m1000 -a0 -r ./rules/hob064.rule hashes-to-crack ./wordlists/

This then runs through the wordlists in order of 01, 02 and 03 in my case, making the waiting times slower and slower this eliminating any quick wins first.

After wordlists, I tend to do an 8 char incremental brute force excluding special characters;

hashcat -m1000 -a3 -1 ?l?d?u -i hashes-to-crack ?1?1?1?1?1?1?1?1

I occasionally get the odd really weak password.

maskattack-generator.py

An example use of the script;

./maskattack-generator.py ./input_file_plain_text_passwords > masks.hcmask

This will store the result in a hashcat mask file format more can be read on this here;
https://hashcat.net/wiki/doku.php?id=mask_attack

To then use it with hashcat you can then issue a command such as;

hashcat -m 1000 -a 3 hashes masks.hcmask

This will run through each mask in the file until exhausted or all passwords are cracked

DictionaryAttack.sh

An example usage would be;

./DictionaryAttack.sh hashes 1000 ./wordlists/rockyou.txt

You will then find a file named cracked-hashes if successful.

Thought process behind the rule ordering

I have ordered the rules in the script based on the crackstation wordlist, I ran a bunch of NTLM hashes through each rule set and timed the result. Then ordered from quick to slowest. I have a single GTX 1080 in my machine so results might vary, so adjust as you see fit. :)

Here was my results;

  • combinator - 1m
  • best64 - 1m 27s
  • specific - 1m 29s
  • leetspeak - 1m 43s
  • toggles1.rule - 1m 43s
  • hob064 - 2m 6s
  • toggles2.rule - 2m 17s
  • oscommerce - 2m 15s
  • T0XlC-insert_space_and_special_0_F.rule - 3m 58s
  • toggles3.rule - 4m 35s
  • toggles4.rule - 10m 16s
  • T0XlC-insert_top_100_passwords_1_G.rule - 24m 13s
  • InsidePro-PasswordsPro - 24m 33s
  • toggles5.rule - 26m 20s
  • T0XlC-insert_00-99_1950-2050_toprules_0_F - 30m 28s
  • T0XlC.rule - 32m 33s
  • Ninja-leetspeak - 40m 28s
  • InsidePro-HashManager - 1h 5m
  • T0XlCv1.rule - 1h 43m
  • generated - 1h 46m
  • Incisive-leetspeak - 3h 47m
  • rockyou-30000 - 4h 8m
  • d3ad0ne - 4h 52m
  • d3adhob0 - 8h 19m
  • generated2 - 10h 6m
  • dive - 18h 40m

hashcat-scripts's People

Contributors

onelogicalmyth avatar

Stargazers

Tames McTigue avatar  avatar 0x avatar  avatar  avatar Makis Christou avatar  avatar Florian L. avatar Tadeáš Fryčák avatar Kieran avatar  avatar  avatar Shooter3k avatar  avatar  avatar Jacob House avatar Jacob Wills avatar Dave Hardy avatar 23 avatar Jason avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

minkione sicxnull

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.