• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Cracking hashes with Hashcat in linux | Tutorial for beginners

Status
Not open for further replies.

karthy

Noob
User
Joined
Jul 13, 2023
Messages
11
Reputation
0
Reaction score
7
Points
3
Credits
0
‎2 Years of Service‎
74%
We are going to be using arch linux, you can use you own distro whatever you are comfortable with.

First, make sure your Linux system is up to date with the newest programs and tools. on Arch linux its 

sudo pacman -Syu


the package manager will change depending on your distro So you might have to type something else. if you are using kali linux or ubuntu you need to type

sudo apt update && sudo apt upgrade


refer your package manager docs 

Now to install hashcat you would do something like 

sudo apt-get install hashcat


The next step is to kick start Hashcat tool in your Linux machine. Just use the following command to use Hashcat.

 hashcat --help


It’ll bring up all of the options you’ll need to know to run the tool. On the terminal, you can find all the attack and hash modes.

hashcat -a num -m num hashfile wordlistfile

Here the ‘num’ represents a specific attack and hash mode to use. If you scroll the terminal, you can find the exact numbers for every attack and hash mode, like for md4 – the number is 0, and for sha256 algorithm – the number is 1740.

The wordlist I am going to use is rockyou wordlist. You can easily find that wordlist if you google for it. So i won't be linking it here

And finally, to crack the hashes using the wordlist file, use the following command.

hashcat -a 0 -m 0 ./file_containg_hashes.txt rockyou.txt 


note the -a and -m flag will have different number based on what hash you are cracking.

This should start the cracking process. if you have a slow cpu and gpu expect it too take longer then usuall 

Thanks for reading my tutorial 

 
Status
Not open for further replies.
Back
Top