Password Cracking & Defense — Cyber Hacker Academy

Beginner

Password Cracking & Defense

Level:BeginnerDuration:4 hoursLessons:6
Password Cracking & Defense

Sign in to enroll

Enroll to track your progress and unlock lab environments.

Preview Lesson 1 Free
What You Will Learn

Skills you will walk away with

No prior experience needed. Each lesson builds on the last — by the end you will have real, hands-on skills that employers and CTF challenges actually test for.

How Passwords Are Stored

Plaintext vs encoded vs hashed vs salted password storage

Hash Functions Explained

Properties of cryptographic hash functions: deterministic, one-way, avalanche effect

Dictionary Attacks with Hashcat

Hashcat architecture: CPU vs GPU cracking performance

Brute Force Techniques

Brute force vs dictionary vs hybrid attacks

Rainbow Table Attacks

Time-memory trade-off: the principle behind rainbow tables

Secure Password Policies

NIST SP 800-63B password guidelines: length over complexity

Your learning path

1

How Passwords Are Stored

Start here

Understanding how applications store passwords is the foundation of both attacking and defending authentication systems. You will learn why plaintext storage is catastrophic, how hashing works as a one-way function, and why the same password can produce different hashes depending on how it is stored. This lesson explains the technical reality behind every password breach you have ever read about.

Plaintext vs encoded vs hashed vs salted…Why hashing is one-way: the mathematical…Password storage in /etc/shadow on Linux…
2

Hash Functions Explained

Hash functions are the mathematical backbone of password security, digital signatures, and data integrity verification. You will learn how MD5, SHA-1, SHA-256, bcrypt, and Argon2 work, why some are considered broken for password storage, and what properties make a hash function suitable for security applications. Understanding the difference between a fast hash and a slow hash is critical for both attackers and defenders.

Properties of cryptographic hash functio…MD5 and SHA-1: why they are broken for p…SHA-256 and SHA-512: fast hashes and the…
3

Dictionary Attacks with Hashcat

Hashcat is the world's fastest password cracker, capable of testing billions of hash candidates per second using GPU acceleration. You will learn how to identify hash types, configure Hashcat for different attack modes, and use wordlists like rockyou.txt to crack real password hashes. Dictionary attacks succeed because most users choose passwords that appear in common wordlists.

Hashcat architecture: CPU vs GPU crackin…Identifying hash types with hash-identif…Attack mode 0: straight dictionary attac…
4

Brute Force Techniques

Brute force attacks systematically try every possible combination of characters until the correct password is found. You will learn when brute force is practical versus impractical, how to use mask attacks in Hashcat to target specific password patterns, and how online brute force tools like Hydra work against login forms. Understanding brute force helps you design password policies that make it computationally infeasible.

Brute force vs dictionary vs hybrid atta…Hashcat mask attacks: targeting specific…Calculating brute force time based on ke…
5

Rainbow Table Attacks

Rainbow tables are precomputed lookup tables that trade storage space for cracking speed, allowing attackers to instantly reverse unsalted hashes. You will learn how rainbow tables work, why they were once the dominant password cracking technique, and how password salting completely defeats them. Understanding rainbow tables explains why salting is a non-negotiable requirement in modern password storage.

Time-memory trade-off: the principle beh…How rainbow tables are constructed and u…Why unsalted hashes are vulnerable to ra…
6

Secure Password Policies

Effective password policies balance security with usability — overly restrictive policies often backfire by causing users to write passwords down or use predictable patterns. You will learn evidence-based password policy recommendations from NIST SP 800-63B, how to implement multi-factor authentication, and how password managers solve the human memory problem. This lesson bridges the gap between attacking passwords and defending against those attacks.

NIST SP 800-63B password guidelines: len…Why mandatory complexity rules and expir…Multi-factor authentication: TOTP, hardw…

Completely beginner-friendly

Every concept is explained from scratch. You will get a real terminal environment, step-by-step labs, audio walkthroughs, and quizzes after each lesson to lock in what you learned — no prior hacking or coding experience required.

Course Modules

6 lessons

Understanding how applications store passwords is the foundation of both attacking and defending authentication systems. You will learn why plaintext storage is catastrophic, how hashing works as a one-way function, and why the same password can produce different hashes depending on how it is stored. This lesson explains the technical reality behind every password breach you have ever read about.

Topics Covered

  • Plaintext vs encoded vs hashed vs salted password storage
  • Why hashing is one-way: the mathematical basis
  • Password storage in /etc/shadow on Linux systems
  • Database password storage: common patterns and mistakes
  • Real-world breaches caused by poor password storage

Practice Exercise

On your Kali VM, examine the /etc/shadow file (as root). Identify the hash algorithm used for each account by reading the prefix ($1$, $5$, $6$, $y$). Look up what each prefix means. Then create a test user with a known password, view its hash in /etc/shadow, and verify you can identify the algorithm. Research the LinkedIn 2012 breach and explain what hashing mistake they made and how it led to 117 million passwords being cracked.