Home > Glossary > CompTIA PenTest+ > John the Ripper

📖 What is John the Ripper?

John the Ripper is a versatile password cracking tool used to identify weak passwords by performing dictionary and brute-force attacks. It is highly portable and supports a vast range of password hash types across different operating systems.

🥋 Sensei Says:

"John is excellent for 'cracking' hashes once you have extracted them. It is often used in conjunction with tools that dump the SAM file."

📚 Certification: CompTIA PenTest+ (PT0-002)

🔑 What are the Key Concepts of John the Ripper?

  • Dictionary attacks utilize pre-defined wordlists to quickly identify common passwords by comparing their hashes against the target hash values.
  • Brute-force mode exhaustively tests all possible character combinations, ensuring a password will be found regardless of complexity, given enough time.
  • Single crack mode leverages user information, such as usernames or full names, to create targeted guesses based on common human patterns.
  • Extensive hash support allows the tool to automatically detect and crack various algorithms, including NTLM, MD5, and SHA, across multiple platforms.
  • Offline cracking capability means the tool processes hashes locally, avoiding account lockout policies and detection by network-based intrusion detection systems.

🎯 How does John the Ripper appear on the PT0-002 Exam?

You may be asked to identify the best tool for cracking passwords after you have successfully dumped the SAM database from a Windows machine. The scenario will likely focus on offline cracking to avoid triggering account lockouts.

A scenario might describe a need to crack Linux passwords using the /etc/passwd and /etc/shadow files. You will need to recognize the requirement for the unshadow tool before running John.

Expect questions where you must choose between a dictionary attack and a brute-force attack based on the available time and the suspected complexity of the target passwords to maximize efficiency.

❓ Frequently Asked Questions

How does John the Ripper differ from Hashcat?

John is traditionally CPU-based and highly versatile for various OS formats. Hashcat is optimized for GPU acceleration, making it significantly faster for cracking complex hashes but requiring specific hardware.


Why is the 'unshadow' utility necessary for Linux password cracking?

Linux stores usernames in /etc/passwd and encrypted passwords in /etc/shadow. The unshadow utility combines these two files into a single format that John the Ripper can read.

Related Terms from CompTIA PenTest+

📝 Related Study Guides

Comparison 8 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

Choose CISSP if you want broad technical security expertise across eight domains, including cryptography, network security, and software development. Choose CISM if you're focused on information security management, governance, and risk management from a leadership perspective. CISSP is ideal for hands-on security architects, while CISM is designed for security managers and directors.

Career Guide 9 min read

The IT Certification Roadmap: Where to Start in 2026

Start your IT certification journey in 2026 with CompTIA A+ for general IT foundations, then branch into networking (Network+), cybersecurity (Security+), or cloud computing (AWS Cloud Practitioner or Azure Fundamentals) based on your career goals. Each path leads to advanced certifications like CISSP, AWS Solutions Architect, or CISM within 2-3 years of focused progression.

Comparison 10 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

The CISSP is a broad, technical-to-managerial certification focusing on security operations and architecture across eight domains. In contrast, CISM is a specialized management certification centered on governance, risk management, and program development. Choose CISSP for comprehensive security expertise and CISM if you are pivoting specifically into security leadership and governance roles.

🧠

Test Your Knowledge

Think you understand John the Ripper? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium