Build your desktop application using Tkinter
One may have asked, "How do hackers take my password, if the website owner can't?" The answer is simple. When a website stores your login password for the site, it is run through a cryptographic hash function before it enters the database.
So how do hackers get these passwords?
When a website is breached and has their database stolen, the password hashes will be in there. A hacker will analyze the hashes, and see which hash type they are, and then bruteforce them. Bruteforcing is when you systematically cycle through each letter in a letterset until it matches a password. A letter set can be all lower-case, upper-case, symbols or anything the hacker wants. So the hacker bruteforces until they find a hash that matches yours, resulting in "guessing" your password.
I dedicate this tutorial for anyone who wants to understand password attack vectors and those training for careers in cyber security.
Lets run through what it takes to hack a password using the common MD5 hashing algorithm. I'm going to show you how to do this on both Windows and Linux.
NB: For Educational Purpose Only!
On Windows, we're going to need to download and install Cain & Abel. Cain is part of the software suite, and is a AIO (All-In-One) Windows hacking tool. We will be using its bruteforce function to crack MD5 hashes.
Hash a Word
Let's hash the word "cowsay" using Miracle Salad's MD5 hash generator. We get the following as a result:
0f606505ce5a8e34d306f707067786ef
Bruteforce with Cain
Let's see how to crack the hash of the word "cowsay". Follow closely!
See how quick and easy that was? Load the hash, click dictionary attack, and wait. This was on a single core processor in a Virtual Machine, so imagine what it would be like on a powerful computer with GPU's.
On Linux, cracking hashes is a bit different. We will be using JTR (John the Ripper). Linux is a bit faster at cracking hashes.
Installation
Bruteforce with John
John the Ripper is already installed in kali so I'm going to crack the hash of the word "cowsay" again, but this time with JTR. Commands will be listed below.
Commands
As you can see in the image above, John the Ripper (Linux) cracked the password hash within 4 seconds.
Check on my previous tutorial on How to create strong unbreakable passwords. The same rules apply here. Keep your passwords longer than 12 characters and use symbols. It greatly increases the time it takes to crack.
Nice write-up👌🏾
ReplyDeleteDope tutorials and a very detailed explanation to how hackers can still our passwords to harm us.. Keep the good thing you started up man!
ReplyDeleteThanks bro.. Much appreciated 👍
DeleteBig ups bro nice piece....
ReplyDeleteThanks bro
Delete