T6 Flashcards
Why is password quality verification important in security?
It limits intrusions and data leaks, ensuring stronger authentication and encryption key derivation.
What is John the Ripper (JtR)?
An open-source password cracking tool available in free and pro versions for multiple platforms.
How do you download and install John the Ripper (JtR)?
Download with wget, extract with tar, configure, and compile with make.
What are the two files in UNIX systems that store user and password information?
/etc/passwd (usernames) and /etc/shadow (hashed passwords).
How do you extract user and password hashes for John the Ripper?
./unshadow passwd-fake shadow-fake > passwd.1
What is the fastest mode in JtR for cracking weak passwords?
Single crack mode: ./john –single passwd.1
Which mode in JtR uses dictionaries to crack passwords?
Wordlist mode: ./john –wordlist=password.lst passwd.1
How does incremental mode work in JtR?
Incremental mode performs brute-force attacks by testing all possible passwords: ./john –incremental passwd.1
How can you apply word variations to password cracking in JtR?
Use wordlist with rules: ./john –wordlist=password.lst –rules passwd.1
How can you show cracked passwords in JtR?
./john passwd.1 -show
How do you extract PDF password hashes for cracking in JtR?
./pdf2john.pl <filename>.pdf > hash.txt</filename>
How do you crack PDF passwords with JtR?
./john –format=pdf hash.txt
What tool provides better GPU-based password cracking than JtR?
Hashcat (https://hashcat.net)
Why are GPUs better for password cracking?
GPUs excel at parallel processing, speeding up password recovery tasks.