Crack Password Hashes (Sites) 🤡

hashcat -m 160 'e5d8870e5bdd26602cab8dbe07a942c8669e56d6:tryhackme' /usr/share/wordlists/rockyou.txt

  • Rule mode: consists on using a wordlist by adding it some pattern or mangle the string. For example, adding the current year or appending a common special character

  • Creating a custom rule for john:

  • Command to extract necessary data of a wordlist and piping it to what we need:

  • Examples with john

  • Ideas of mutation rules, of course several can be combined together.

  • Border mutation - commonly used combinations of digits and special symbols can be added at the end or at the beginning, or both

  • Freak mutation - letters are replaced with similarly looking special symbols

  • Case mutation - the program checks all variations of uppercase/lowercase letters for any character

  • Order mutation - character order is reversed

  • Repetition mutation - the same group of characters are repeated several times

  • Vowels mutation - vowels are omitted or capitalized

  • Strip mutation - one or several characters are removed

  • Swap mutation - some characters are swapped and change places

  • Duplicate mutation - some characters are duplicated

  • Delimiter mutation - delimiters are added between characters

  • Depending of your distribution, the John configuration may be located at /etc/john/john.conf and/or /usr/share/john/john.conf. To locate the JtR install directory run locate john.conf, then create john-local.conf in the same directory (in my case /usr/share/john/john-local.conf) and create our rules in here.

  • Add a new rule on the new john file:

  • Generate mutations on wordlists with Mentalistarrow-up-right

  • Generate specific wordlists with Cewlarrow-up-right

    • Example cewl command: cewl -d 2 -w $(pwd)/example.txt https://example.org

    • The -d option is the depth (number of link level the spider will follow)

  • Craft wordlists from scratch with TTPassGenarrow-up-right

    • Example command to create a wordlist containing all 4 digits PIN code value: ttpassgen --rule '[?d]{4:4:*}' pin.txt

    • Example command to generate a list of all lowercase chars combinations of length 1 to 3: ttpassgen --rule '[?l]{1:3:*}' abc.txt

    • Example to create a wordlist that is a combination of several wordlists (PIN + - + letter): ttpassgen --dictlist 'pin.txt,abc.txt' --rule '$0[-]{1}$1' combination.txt

    • ==Be warned combining wordlists quickly generated huge files, here combination.txt is 1.64 GB.==

  • Use the tool lyricpassarrow-up-right to download the lyrics of all the songs made by a group or musician.

    • Example: lyricpass.py -a "Adele"

  • For stego challenges, if you do not find anything with common methods (like cracking with john or hashcat) try this web: md5hashing.netarrow-up-right

Rooms

Last updated