Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Certified John Ripper User · Lesson 5 of 10

Module Three

📖 Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
5
Module 3 · Certified John Ripper User

🧠 Module 3: Making John Smarter – Wordlists & Rules

Hello again, champion! 👋

In Module 2, we installed John and ran our first test. We saw John crack a simple password using a wordlist. But what if the password is not in the wordlist? What if it is “password1” or “P@ssw0rd”?

That is where rules come in! Rules are like magic tricks that John uses to change words. For example, if John knows “password”, rules can turn it into “Password”, “password1”, or “P@ssw0rd”.

In this module, we will learn how to create our own wordlists and use rules to make John super smart. We will also learn about different hash types and how to tell John which one we are using.

Let’s make John a genius! 🧠✨


🎯 Learning Objectives

After this module, you will be able to:

  • Create your own wordlist.
  • Explain what rules are and why they are useful.
  • Use John’s built‑in rules.
  • Write simple custom rules.
  • Identify different hash formats.
  • Use the --format option correctly.
  • Combine wordlists and rules for better results.
  • Understand the difference between weak and strong passwords.
  • Create a custom wordlist for Nigerian‑style passwords.
  • Feel confident customising John for any task.

📖 Warm‑up Story: The Smart Chef

Kofi is now a great key‑maker. But he wants to be even better. He meets a wise chef named Mama Nkechi. She can cook any dish with just a few ingredients. How? She uses rules! She adds salt, pepper, or spices to change the taste.

Kofi realises: John can do the same! Instead of just using a list of words, John can change them – add numbers, change letters to symbols, or make them uppercase.

Kofi also learns that different locks need different keys. Some locks are like MD5, others are like SHA‑256. John needs to know which lock he is opening.

Now Kofi can open almost any chest! Let’s learn how John does this. 🍲🔑


📚 Main Lessons

Lesson 1: What is a Wordlist?

Definition: A wordlist is a text file that contains many possible passwords, one per line.

Why it is important: John uses wordlists to guess passwords quickly.

Simple explanation: It is like a big dictionary of words John tries.

Real‑life example: A spelling bee contestant studies a list of words.

School example: Your teacher gives you a list of vocabulary words.

Home example: Your parent has a grocery list.

Nigerian example: A market trader has a list of items to buy.

Illustration (ASCII):

        wordlist.txt
        +-------------+
        | abuja       |
        | lagos       |
        | naija       |
        | chidi       |
        | bola        |
        +-------------+
    

Mini summary: A wordlist is a list of guesses for John.


Lesson 2: Creating Your Own Wordlist

Definition: Making your own wordlist means creating a file with passwords you choose.

Why it is important: You can target specific passwords (e.g., Nigerian names).

Simple explanation: Like writing your own shopping list.

Real‑life example: You make a list of your friends’ names.

School example: You create a list of classmate names.

Home example: You list your family members’ names.

Nigerian example: You list common Nigerian names: Chidi, Ada, Bola, Tunde.

Illustration (ASCII):

        Step 1: Open Notepad
        Step 2: Type each password on a new line
        Step 3: Save as "mylist.txt"
        Example:
        Chidi
        Ada
        Lagos
        Nigeria
    

Mini summary: You can create a wordlist with any text editor.


Lesson 3: What are Rules?

Definition: Rules are instructions that modify words to create new guesses.

Why it is important: Rules make John much smarter by trying many variations.

Simple explanation: It is like adding toppings to a pizza to make different flavours.

Real‑life example: You take a plain t‑shirt and add a logo.

School example: You take a basic sentence and add adjectives.

Home example: You take a basic recipe and add spices.

Nigerian example: You take jollof rice and add different meats.

Illustration (ASCII):

        Base word: "chidi"
        Rules:
         + add 1  → "chidi1"
         + uppercase → "Chidi"
         + substitute i→! → "ch!d!"
         + add 2024 → "chidi2024"
    

Mini summary: Rules change words into many new passwords.


Lesson 4: John’s Built‑in Rules

Definition: John comes with default rules that are ready to use.

Why it is important: You can use them without writing your own.

Simple explanation: It is like having a pre‑set recipe book.

Real‑life example: A smartphone has pre‑set camera filters.

School example: Your teacher gives you a template for an essay.

Home example: Your TV has pre‑set picture modes.

Nigerian example: A bank has pre‑set account types.

Illustration (ASCII):

        To use rules:
        $ john --wordlist=mylist.txt --rules test.hash
        John will now apply default rules.
    

Mini summary: Use --rules to activate John’s built‑in rules.


Lesson 5: Writing Custom Rules

Definition: Custom rules are rules you write yourself to suit your needs.

Why it is important: You can target specific patterns.

Simple explanation: Like creating your own pizza recipe.

Real‑life example: You create a custom playlist.

School example: You write your own study guide.

Home example: You create a custom cleaning schedule.

Nigerian example: You create a custom menu for a party.

Illustration (ASCII):

        Rule syntax example:
        $ john --wordlist=mylist.txt --rules=myrules test.hash
        In the john.conf file:
        [List.Rules:myrules]
        $1              # add 1 at the end
        u               # uppercase all letters
        c               # capitalize first letter
        s?l?l           # substitute l with !
    

Mini summary: You can write custom rules in john.conf.


Lesson 6: Common Rule Operations

Definition: Operations are actions rules can perform, like adding, deleting, or changing characters.

Why it is important: They allow endless variations.

Simple explanation: Like having different tools in a toolbox.

Real‑life example: A chef uses a knife, a pan, and a spoon.

School example: You use a pen, ruler, and eraser.

Home example: You use a broom, dustpan, and mop.

Nigerian example: A trader uses a scale, calculator, and bag.

Illustration (ASCII):

        Rule operations:
        l   : lowercase all letters
        u   : uppercase all letters
        c   : capitalize first letter
        r   : reverse the word
        d   : duplicate the word
        $X  : append X (e.g., $1 adds 1)
        ^X  : prepend X (e.g., ^A adds A at start)
        sXY : substitute X with Y
    

Mini summary: Rules have many operations to change words.


Lesson 7: Using Rules with Wordlists

Definition: Combining wordlists and rules means John tries every word in the wordlist and every variation from the rules.

Why it is important: This gives the best chance of cracking passwords.

Simple explanation: Like having a huge menu with many options.

Real‑life example: A restaurant has a menu and specials.

School example: You have a textbook and notes.

Home example: You have a pantry and recipes.

Nigerian example: A market has a list of goods and special offers.

Illustration (ASCII):

        Wordlist: [chidi, bola, ade]
        Rules: add 1, uppercase, substitute i→!
        John tries:
        chidi, Chidi, chidi1, ch!d!, Ch!d!1, ...
        bola, Bola, bola1, b0la, ...
        ade, Ade, ade1, ...
    

Mini summary: Rules multiply the number of guesses John makes.


Lesson 8: Hash Formats – What is MD5?

Definition: MD5 is a common hash format that produces a 32‑character hash.

Why it is important: Many systems use MD5, so John needs to recognise it.

Simple explanation: It is like a lock that has a specific keyhole shape.

Real‑life example: A car key has a specific shape.

School example: Your student ID has a specific format.

Home example: Your house key has a specific cut.

Nigerian example: Your BVN has a specific format.

Illustration (ASCII):

        Password: "hello"
        MD5 hash: 5d41402abc4b2a76b9719d911017c592
        (32 characters)
    

Mini summary: MD5 is a 32‑character hash format.


Lesson 9: Hash Formats – What is SHA‑256?

Definition: SHA‑256 is a more secure hash that produces a 64‑character hash.

Why it is important: It is stronger than MD5 and used in modern systems.

Simple explanation: A stronger lock with a more complex keyhole.

Real‑life example: A high‑security safe.

School example: A school vault for important documents.

Home example: A safe for valuables.

Nigerian example: A bank vault.

Illustration (ASCII):

        Password: "hello"
        SHA-256 hash: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
        (64 characters)
    

Mini summary: SHA‑256 is a 64‑character hash format.


Lesson 10: Telling John the Hash Format

Definition: The --format option tells John what type of hash it is.

Why it is important: John needs to know the format to crack it correctly.

Simple explanation: Like telling a locksmith what type of lock you have.

Real‑life example: You tell the mechanic your car model.

School example: You tell the teacher which subject.

Home example: You tell the plumber what is broken.

Nigerian example: You tell the electrician the appliance type.

Illustration (ASCII):

        $ john --format=raw-md5 test.hash
        $ john --format=raw-sha256 test.hash
        $ john --format=nt test.hash   # for Windows hashes
    

Mini summary: Use --format to specify the hash type.


Lesson 11: Common Hash Types

Definition: There are many hash types like MD5, SHA‑1, SHA‑256, NT, and LM.

Why it is important: Different systems use different hashes.

Simple explanation: Different locks need different keys.

Real‑life example: Your house, car, and locker all have different keys.

School example: Your locker, bike, and computer all have different passwords.

Home example: Your front door, garage, and safe have different locks.

Nigerian example: Your bank card, phone, and email have different PINs.

Illustration (ASCII):

        Hash formats:
        +----------+------------------+------------------+
        | Format   | Length           | Example          |
        +----------+------------------+------------------+
        | MD5      | 32 chars         | 5d41402abc...    |
        | SHA‑1    | 40 chars         | aaf4c61ddc...    |
        | SHA‑256  | 64 chars         | 2cf24dba5f...    |
        | NT       | 32 chars (hex)   | 8846f7ea...      |
        | LM       | 32 chars (hex)   | f0e4c2f7...      |
        +----------+------------------+------------------+
    

Mini summary: John supports many hash formats.


Lesson 12: Combining Wordlists, Rules, and Formats

Definition: Using all three together gives the best chance of cracking.

Why it is important: This is the most powerful way to use John.

Simple explanation: Like using all the best tools at once.

Real‑life example: A chef uses the best ingredients, recipe, and cooking method.

School example: You study with a textbook, notes, and practice questions.

Home example: You clean with a broom, mop, and cleaning spray.

Nigerian example: A farmer uses good seeds, fertiliser, and water.

Illustration (ASCII):

        $ john --wordlist=mylist.txt --rules --format=raw-md5 test.hash
        This tells John:
        1. Use the wordlist mylist.txt
        2. Apply rules
        3. The hash is MD5
    

Mini summary: Combine options for maximum power.


Lesson 13: The Power of Rules – Real Examples

Definition: Rules can turn “password” into many variations.

Why it is important: This cracks passwords that are not in the wordlist.

Simple explanation: Rules make John a magician.

Real‑life example: A magician makes one coin into many.

School example: A teacher explains one topic in many ways.

Home example: You use one ingredient in many dishes.

Nigerian example: A tailor uses one fabric for many styles.

Illustration (ASCII):

        Base: “lagos”
        Rules:
          + uppercase → “LAGOS”
          + capitalize → “Lagos”
          + add 2024 → “lagos2024”
          + substitute a→@ → “l@gos”
          + reverse → “sogal”
        John tries all of these!
    

Mini summary: Rules create many guesses from one word.


Lesson 14: Wordlist Etiquette

Definition: Wordlist etiquette means using wordlists respectfully and legally.

Why it is important: Some wordlists come from data breaches – using them ethically is important.

Simple explanation: Like respecting others’ property.

Real‑life example: You do not use someone’s toothbrush.

School example: You do not copy someone’s homework.

Home example: You do not read someone’s diary.

Nigerian example: You do not use someone’s phone without permission.

Illustration (ASCII):

        Do:
        + Use public wordlists
        + Create your own
        + Use for learning
        Don't:
        - Use leaked passwords
        - Use without permission
        - Use to hack people
    

Mini summary: Use wordlists ethically and legally.


Lesson 15: Becoming a Wordlist Master

Definition: A wordlist master knows how to create, use, and optimise wordlists.

Why it is important: This skill makes you a better John user.

Simple explanation: Like becoming a master chef.

Real‑life example: A master carpenter knows all tools.

School example: A top student knows all subjects.

Home example: A parent who can fix anything.

Nigerian example: A master tailor who can make any outfit.

Illustration (ASCII):

        Wordlist Master:
        + Knows how to create custom lists
        + Understands rules
        + Knows hash formats
        + Uses John efficiently
        + Always acts ethically
    

Mini summary: You are becoming a wordlist master!


📝 Key Vocabulary

  • Wordlist: A list of passwords John tries.
  • Rule: An instruction that changes a word.
  • Operation: A specific action a rule performs.
  • Hash format: The type of hash (e.g., MD5, SHA‑256).
  • MD5: A 32‑character hash format.
  • SHA‑256: A 64‑character hash format.
  • john.conf: The configuration file for John.
  • Custom rule: A rule you create yourself.
  • Substitute: Replacing one character with another.
  • Append: Adding something to the end.

🧠 Important Concepts

  • Wordlists are essential for dictionary attacks.
  • Rules create many variations from one word.
  • John has built‑in rules that you can use.
  • You can write custom rules in john.conf.
  • Different hash formats require different handling.
  • Use --format to tell John the hash type.
  • Combining wordlists, rules, and formats gives the best results.
  • Always use wordlists ethically.

📋 Step‑by‑Step: Using Wordlists and Rules

  1. Create a wordlist: Open a text editor and type passwords, one per line. Save as mylist.txt.
  2. Choose a hash file: Save a hash in a file, e.g., test.hash.
  3. Run John with wordlist: john --wordlist=mylist.txt test.hash.
  4. Add rules: john --wordlist=mylist.txt --rules test.hash.
  5. Specify format: john --format=raw-md5 --wordlist=mylist.txt --rules test.hash.
  6. Check results: john --show test.hash.

Illustration (flowchart):

        Start
          |
          v
        Create wordlist (mylist.txt)
          |
          v
        Save hash (test.hash)
          |
          v
        Run John with wordlist
          |
          v
        Add rules
          |
          v
        Specify format
          |
          v
        Show results
          |
          v
        End
    

🌍 Real‑life Examples

  • A security auditor creates a custom wordlist with company‑specific terms.
  • A penetration tester uses rules to crack passwords like “Summer2024!”.
  • An IT admin uses John with MD5 format to test legacy systems.
  • A cybersecurity student practises with custom rules on test hashes.

🇳🇬 Nigerian Examples

  • A Lagos bank uses a wordlist with “GTBank”, “Access”, “Zenith”.
  • An Abuja school creates a wordlist with student names.
  • A Port Harcourt company uses rules to test “PH2024”, “PH@2024”.
  • A Nigerian tech startup uses John to test their staff’s password habits.
  • A government agency creates a wordlist with “Nigerian”, “Abuja”, “Lagos”.

🧸 Fun Examples for Kids

  • Imagine your favourite cartoon character is “SpongeBob”. Rules can make “SpongeBob2024”, “SPONGEBOB”, or “SpongeB0b”.
  • If your pet is “Bingo”, rules make “Bingo1”, “Bingo!”, and “Bingo@”.
  • John’s rules are like a magic wand that changes words.
  • Creating a wordlist is like making a list of your favourite toys.
  • Using rules is like playing with building blocks – you can make many things from one block.

🏠 Everyday Examples

  • You have a list of groceries – that is a wordlist.
  • You add a new item to the list – that is a rule.
  • You change a recipe by adding salt – that is a rule.
  • You have different keys for different doors – that is like hash formats.
  • You use a flashlight to see in the dark – John uses rules to see passwords.

🧑‍🏫 Teacher Notes

  • Emphasise that rules are powerful but need to be used responsibly.
  • Show students how to create a simple wordlist in Notepad.
  • Demonstrate the effect of rules by running John with and without --rules.
  • Explain that different hash formats exist and why they matter.
  • Use Nigerian names and places for examples to make it relatable.
  • Encourage students to create their own custom rules.

👪 Parent Tips

  • Help your child create a wordlist with family‑related words.
  • Explain that rules are like secret codes.
  • Ensure your child understands the ethical use of wordlists.
  • Encourage them to think about how passwords can be guessed.
  • Celebrate when they crack a test password with rules.

🤯 Interesting Facts

  • The “rockyou.txt” wordlist contains over 14 million passwords.
  • John’s rules can create millions of variations from a small wordlist.
  • MD5 was invented in 1991.
  • SHA‑256 is part of the SHA‑2 family, created in 2001.
  • Some hash formats are so old that John has special modes for them.
  • Creating a custom wordlist can be faster than using a huge one.

💡 Did You Know?

  • Did you know that John can crack passwords in multiple languages?
  • Did you know that you can combine multiple wordlists?
  • Did you know that rules can be chained together?
  • Did you know that John has a “single crack” mode that uses account info?
  • Did you know that some rules can make passwords harder to crack?

🔔 Remember This

  • A wordlist is a list of passwords John tries.
  • Rules create variations of words.
  • Use --rules to activate rules.
  • Specify hash format with --format.
  • Always use wordlists ethically.
  • Custom rules can be written in john.conf.
  • Combining wordlists, rules, and formats is powerful.

❌ Common Mistakes

  • Mistake: Forgetting to use --rules.
    Fix: Always add --rules when you want variations.
  • Mistake: Using the wrong format.
    Fix: Check the hash and use --format correctly.
  • Mistake: Creating a wordlist with spaces.
    Fix: One password per line, no spaces.
  • Mistake: Saving the wordlist with the wrong extension.
    Fix: Save as .txt.
  • Mistake: Using a wordlist without permission.
    Fix: Only use wordlists you own or have rights to.

✅ Best Practices

  • Create custom wordlists for specific targets.
  • Use rules to increase the chances of cracking.
  • Test your rules on a known password first.
  • Keep your wordlists organised and documented.
  • Respect privacy – never crack others’ passwords.
  • Share your wordlists responsibly.

📊 Diagrams & Tables

Timeline: Evolution of Hash Formats

        1991  ── MD5 introduced
        1995  ── SHA‑1 introduced
        2001  ── SHA‑256 introduced
        2005  ── NT/LM hashes used in Windows
        2024  ── John supports 30+ formats
    

Comparison Table: MD5 vs SHA‑256

Feature MD5 SHA‑256
Length 32 characters 64 characters
Security Weak (can be cracked quickly) Strong (much harder to crack)
Speed Fast Slower
Common use Older systems, checksums Modern systems, security

ASCII Flowchart: John with Rules

        Start
          |
          v
        Load wordlist
          |
          v
        For each word:
          |
          +---> Apply rules
          |     |
          +---> Generate variations
          |     |
          +---> Hash each variation
          |     |
          +---> Compare to target
          |     |
          +---> Match? ── Yes ──> Password found!
          |     |
          +---> No ──> Next word
          |
          v
        End
    

Rule Operations Table

Operation Description Example
l Lowercase all letters HELLO → hello
u Uppercase all letters hello → HELLO
c Capitalize first letter hello → Hello
r Reverse the word hello → olleh
$X Append X hello + 1 → hello1
^X Prepend X hello ← A → Ahello
sXY Substitute X with Y hello → he11o (s l 1)



📌 Module 3 Summary

Excellent work! You have completed the third module. Here is what we learned:

  • Wordlists are lists of passwords John tries.
  • You can create your own wordlists.
  • Rules change words into new guesses.
  • John has built‑in rules and you can write custom ones.
  • Different hash formats require different handling.
  • Use --format to specify the hash type.
  • Combining wordlists, rules, and formats makes John very powerful.
  • Always use wordlists ethically.

You are now a wordlist and rules expert! In the next module, we will learn about advanced cracking techniques and how to optimise John for speed.


❓ Frequently Asked Questions

  1. Q: Can I use any text file as a wordlist?
    A: Yes, as long as there is one password per line.
  2. Q: What are the default rules in John?
    A: They are defined in john.conf and include common changes.
  3. Q: Can I use multiple wordlists?
    A: Yes, you can use --wordlist=file1,file2.
  4. Q: How do I know which format to use?
    A: Check the hash length and format.
  5. Q: Can rules crack any password?
    A: No, very strong passwords may still be safe.
  6. Q: Is it legal to create custom wordlists?
    A: Yes, for ethical purposes.
  7. Q: Can I use John to crack my own password?
    A: Yes, if you have the hash.
  8. Q: What is the best wordlist?
    A: It depends on the target – rockyou.txt is a good start.
  9. Q: Can rules slow down John?
    A> Yes, more guesses take more time.
  10. Q: How can I learn more about rules?
    A: Read the documentation in john.conf.

📝 Review Questions

  1. What is a wordlist?
  2. How do you create a wordlist?
  3. What are rules?
  4. How do you use John’s built‑in rules?
  5. What is the --format option used for?
  6. Name two hash formats.
  7. What is MD5?
  8. What is SHA‑256?
  9. How do you combine wordlists and rules?
  10. Why are rules useful?
  11. Can you write custom rules? How?
  12. What is john.conf?
  13. What is a common mistake when using rules?
  14. Why is it important to use wordlists ethically?
  15. What is the first step in using a wordlist?

✍️ Fill‑in‑the‑Blank

  1. A ________ is a list of passwords John tries.
  2. ________ are instructions that change words.
  3. The option to use rules is ________.
  4. ________ is a 32‑character hash format.
  5. ________ is a 64‑character hash format.
  6. Use --________ to specify the hash type.
  7. A custom rule is written in the ________ file.
  8. The operation $1 ________ a 1 to the word.
  9. Always use wordlists ________.
  10. Combining wordlists and rules gives the best ________.

✅ True or False

  1. A wordlist can only contain English words. (False)
  2. Rules are only for advanced users. (False)
  3. John has built‑in rules. (True)
  4. MD5 is more secure than SHA‑256. (False)
  5. You must specify the hash format every time. (True – if John does not detect it)
  6. Custom rules cannot be written. (False)
  7. Rules can make John slower. (True)
  8. You can create a wordlist in Notepad. (True)
  9. Using leaked wordlists is ethical. (False)
  10. John can crack any hash format. (False – only those it supports)

🔢 Multiple Choice

  1. What is a wordlist?
    a) A list of passwords
    b) A list of usernames
    c) A list of files
    Answer: a
  2. How do you use John’s built‑in rules?
    a) --rules
    b) --rule
    c) --apply
    Answer: a
  3. What is MD5?
    a) A 32‑character hash
    b) A 64‑character hash
    c) A password
    Answer: a
  4. What is SHA‑256?
    a) A 32‑character hash
    b) A 64‑character hash
    c) A wordlist
    Answer: b
  5. How do you specify the hash format?
    a) --format
    b) --hash
    c) --type
    Answer: a
  6. What does the operation u do?
    a) Uppercase all letters
    b) Lowercase all letters
    c) Reverse the word
    Answer: a
  7. What does the operation $1 do?
    a) Append 1
    b) Prepend 1
    c) Substitute 1
    Answer: a
  8. Where are custom rules written?
    a) john.conf
    b) wordlist.txt
    c) hash.txt
    Answer: a
  9. What is the best practice when using wordlists?
    a) Use them ethically
    b) Use any wordlist
    c) Share them with everyone
    Answer: a
  10. Can rules crack any password?
    a) Yes
    b) No
    c) Maybe
    Answer: b
  11. What is a common mistake?
    a) Using --rules
    b) Forgetting --rules
    c) Using a wordlist
    Answer: b
  12. What is the best way to create a wordlist?
    a) In a text editor
    b) In a web browser
    c) In a game
    Answer: a
  13. What is the purpose of rules?
    a) To make more guesses
    b) To make fewer guesses
    c) To delete passwords
    Answer: a
  14. Which hash format is stronger?
    a) MD5
    b) SHA‑256
    c) Both are same
    Answer: b
  15. What should you do with cracked passwords?
    a) Keep them secret
    b) Share them publicly
    c) Use them to hack others
    Answer: a

🔗 Matching Exercise

Match the term on the left with its description on the right.

Term Description
1. Wordlist A. Adds 1 to the end
2. Rule B. A list of passwords
3. $1 C. An instruction to change a word
4. MD5 D. A 64‑character hash
5. SHA‑256 E. A 32‑character hash

Answers: 1‑B, 2‑C, 3‑A, 4‑E, 5‑D


📝 Short Answer

  1. What is a wordlist and how do you create one?
  2. Explain what rules are and why they are useful.
  3. What is the difference between MD5 and SHA‑256?
  4. How do you tell John the hash format?
  5. Give an example of a custom rule.

🎭 Scenario‑based Exercises

Scenario 1: Kofi has a wordlist with “chidi” but the password is “Chidi2024”.

  • What should Kofi do? (He should use rules with --rules.)
  • What rule would create “Chidi2024”? (Capitalise and append 2024)

Scenario 2: Ada has a hash that looks like 64 characters. She tries to crack it but John fails.

  • What is the likely problem? (She needs to specify the format, e.g., --format=raw-sha256.)

👥 Group Activity

Activity: In groups, create a wordlist with 10 Nigerian cities. Then, use John with rules to see how many variations you can generate. Present your results.


🧑 Individual Activity

Activity: Create a custom wordlist with your name, your pet’s name, and your favourite food. Then, use John with rules to crack a test hash with one of those words.


💬 Classroom Discussion Questions

  1. Why do rules make John more powerful?
  2. What are the dangers of using leaked wordlists?
  3. How can we encourage people to use strong passwords?
  4. Should schools teach about wordlists and rules? Why?
  5. How can Nigerian companies benefit from custom wordlists?

🛠️ Mini Project

Project: Create a custom wordlist for a specific target (e.g., your school). Include names, places, and common terms. Then, write a set of rules to crack typical passwords. Test it on a dummy hash.


📋 Practical Assignment

Assignment: Using a test hash, run John with a wordlist without rules, then with rules. Compare the results and write a short report on the difference.


🏆 Challenge Exercise

Challenge: Create a rule that generates “Password2024!” from “password”. Then, use it to crack a test hash. (Hint: you need uppercase, append, and substitute.)


🔑 Quiz Answers

(Answers to Fill-in-the-Blank, True/False, and Multiple Choice are provided within each section.)


🎁 Key Takeaways

  • Wordlists are the foundation of dictionary attacks.
  • Rules multiply the number of guesses.
  • John’s built‑in rules are easy to use.
  • Custom rules give you full control.
  • Different hash formats need different handling.
  • Combining all three gives the best results.
  • Ethical use is always important.

🔜 Preparation for Module 4

In Module 4, we will learn about advanced cracking. We will optimise John for speed, use GPU acceleration, and crack complex hashes like ZIP and PDF passwords. We will also learn about session management and restoring jobs.

Make sure you have your John installation ready. See you in Module 4! 🚀


End of Module 3

🏆 Get Certified

🔒

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

🎓 Sign Up to Get Certified
🛠️ Practice Tools
Hands-on simulators & labs - subscription required.
→
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
→