Build your desktop application using Tkinter

Image
Use tkinter to build your first GUI application very quickly.  What you'll learn;   🔰 Build windows applications  🔰 Learn how to use GUI with python  🔰 Learn how to use Tkinter library  🔰 Transform an idea to an app  🔰 Using some sqlite  🔰 Using the pillow library  🔰 Import pictures in an application  🔰 Convert pictures from png to jpg  🔰 Convert picture from jpg to png Link : https://www.udemy.com/course/build-your-first-desktop-application-using-tkinter/?couponCode=FGPTKINTER Enjoy! 

How Hackers Grab Encrypted Passwords and Crack Them

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! 

Step 1 Cracking MD5 on Windows

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.

Step 2 Cracking MD5 on Linux

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

  1. First, download JTR from here.
  2. Extract with tar zxvf john-1.7.8.tar.gz
  3. Navigate to the john directory
  4. Install with ./configure && make && sudo make install

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

  • nano hash (inject hash into file and save)
















After placing the hashes into the file in the editor press ctrl+X to exit and Y to save file and press enter exit the nano editor. 


  • sudo john --format=raw-md5 hash







As you can see in the image above, John the Ripper (Linux) cracked the password hash within 4 seconds. 



  • sudo john --format=raw-md5 --show hash

Finally as you can see in the screenshot above, John the Ripper (Linux) managed to crack the hash password showing us the password "cowsay".

Step 3 Protect Yourself from Password Cracking

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.

Comments

  1. Dope tutorials and a very detailed explanation to how hackers can still our passwords to harm us.. Keep the good thing you started up man!

    ReplyDelete
  2. Big ups bro nice piece....

    ReplyDelete

Post a Comment

Popular posts from this blog

What is Required to Become a Master Ethical Hacker

How to Use Maltego for Network Reconnaissance