Lion Cipher Lab

Crack a password-protected ZIP in your OWN lab

Why it matters

People password-protect ZIP files all the time to email a batch of documents, back up records, or hand off files — and they usually assume 'it has a password, so it is safe'. Whether that assumption is true depends entirely on two choices most people never think about: how the ZIP was encrypted (the decades-old ZipCrypto scheme is weak; modern AES-256 is strong), and how strong the password was. If either is weak, the protection is closer to a sticker that says 'locked' than to an actual lock: the encrypted ZIP travels around as an ordinary file, and anyone who gets a copy can attack it…

What you'll learn

Steps in this lab

  1. First, the ground rules: your ZIP, your throwaway password, fake contents, nobody else
  2. What a password-protected ZIP actually is (from zero)
  3. Open a terminal (from zero)
  4. Install the tools: John the Ripper (with zip2john), and optionally fcrackzip
  5. Create your OWN password-protected ZIP with a weak password you choose
  6. Extract a crackable hash with zip2john
  7. Turn John loose: recover the weak password with a wordlist
  8. Why short and common passwords fall so fast
  9. Now make one that holds: AES-256 and a long unique passphrase
  10. What you proved, and the rule to carry

Open the full interactive lab →