Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is John the Ripper?

John the Ripper is the long-running open-source password cracker from Openwall, notable for its format coverage and the helper utilities that extract hashes from ordinary files.

Illustration for the cybersecurity term John the Ripper
Home / Blog / Cybersecurity Terms / What Is John the Ripper?
17 November 2026

What Is John the Ripper?

What Is John the Ripper?

John the Ripper is an open-source password cracker written by Solar Designer and maintained by Openwall since 1996. It takes stored password hashes, generates candidate passwords, and reports the ones that match. It has outlived most of the formats it was originally written for, and it remains in daily use for a reason that has little to do with raw speed.

That reason is breadth. The community edition, universally called jumbo, supports several hundred hash and cipher formats, and crucially it ships with a set of utilities that extract crackable material from ordinary files. A password-protected ZIP archive, an encrypted PDF, a KeePass database, an SSH private key, a macOS keychain, a Bitcoin wallet, a password-protected Office document: each has a corresponding extractor that produces a hash line John can work on. In an investigation or an engagement, that is frequently the difference between having a file and having its contents.

How It Attacks

Cracked results are written to a pot file, which prevents repeated work across sessions and accumulates into a useful record of what an organisation’s passwords look like over time.

John the Ripper and Hashcat

The two tools overlap heavily and most practitioners use both. The practical division:

ConsiderationJohn the RipperHashcat
Primary hardwareCPU first, with OpenCL support for many formatsGPU first, with very high throughput on fast hashes
Format coverageVery broad, including many obscure and file-based formatsBroad for authentication hashes, narrower for file formats
Extraction utilitiesExtensive set of helpers for archives, documents, keys, and walletsRelies on external tools for extraction
Candidate generationStatistical incremental mode and single crack modeMask and rule engines optimised for GPU throughput

In practice: extract and triage with John, then move a large hash set to Hashcat on GPU hardware when throughput is what matters.

What the Results Tell You

A password audit is an unusually honest security assessment, because the output is not an opinion. Run against a domain hash dump, it reliably produces the same uncomfortable findings: the organisation’s name with a year, seasonal passwords matching the rotation schedule, a single base word shared across hundreds of accounts, and service accounts unchanged since commissioning.

The conclusions follow current NCSC guidance rather than legacy complexity rules. Favour length over character variety, since a passphrase of three or four random words resists rule-based attacks that eight characters of enforced complexity does not. Stop scheduled rotation, which produces predictable increments, and rotate on evidence of compromise instead. Screen new passwords against breach corpora. Store them with bcrypt, scrypt, or Argon2id and a unique salt per entry, as described under salting and peppering. And deploy multi-factor authentication, which is what limits the damage when a password is recovered regardless.

Handling the Material

Hashes are personal data under UK GDPR, and a dump of domain credential hashes is among the most sensitive artefacts any engagement produces. Encrypt it at rest, restrict access to named individuals, hold it only for the agreed period, and destroy it on a documented schedule. Report patterns, statistics, and the specific accounts that need attention. Never circulate recovered plaintext passwords, and never leave a pot file on a shared system.

At Privia Security, our Penetration Test Services include password auditing with agreed handling and destruction controls for the hash material.

FAQ – Frequently Asked Questions

Which Is Better, John the Ripper or Hashcat?

They serve different stages. John has broader format coverage and ships utilities that extract crackable material from archives, documents, key files, and wallets, which makes it the better triage tool. Hashcat is substantially faster on GPUs for large sets of authentication hashes. Most practitioners extract and assess with John, then move the bulk work to Hashcat.

What Are the 2john Utilities?

Helper programs that read a protected file and output a hash line John can attack. There are versions for ZIP and RAR archives, PDFs, Office documents, KeePass databases, SSH private keys, macOS keychains, and cryptocurrency wallets, among many others. They are often the most practically useful part of the distribution, particularly in forensic and incident response work.

What Is Incremental Mode?

John’s statistical brute force. Rather than iterating a character set in order, it uses character frequency and position statistics derived from real cracked passwords to generate likely candidates first. Over a long run it recovers more passwords in the same time than naive exhaustive search, because it reflects how people actually construct passwords.

Is It Legal to Run a Password Audit on Our Own Staff?

In the UK, yes, with the right governance. You need written authorisation from someone with authority to give it, a lawful basis under UK GDPR with legitimate interests normally applying, a data protection impact assessment where appropriate, and defined handling and destruction controls for the hash material. Report patterns and specific weak accounts, never circulated plaintext password lists.

Related Terms

You May Be Interested In These

What Is Linux Forensics?

Cybersecurity Terms

17 November 2026

What Is Linux Forensics?

Read More
What Is PCI DSS?

Cybersecurity Terms

17 November 2026

What Is PCI DSS?

Read More
What Is the iOS Security Architecture?

Cybersecurity Terms

17 November 2026

What Is the iOS Security Architecture?

Read More