Labs / Cryptography at Work

Cryptography at WorkThe medal for finishing it

Road 19 of 33

Cryptography at Work

Cryptography under attack and put right: hashing, password cracking, broken TLS and SSH keys.

2 groups · 8 labs · builds on Protocols

Start this road

Hashes, passwords and obfuscation

Prove a file, salt a store, crack weak hashes, peel a dropper.

  1. 01 Hash integrity: verifying a file is the one you meant to get Fingerprint a file with SHA-256, see one byte change everything and a self-published checksum lie, then close the gap with a keyed hash.
  2. 02 Salted passwords: why a leaked hash table still gives up its passwords Read a leaked password table, crack it with a precomputed lookup, then watch a per-user salt and a slow hash take the attack apart.
  3. 03 Password cracking: turning a leaked hash table back into passwords Identify each hash in a dump by its shape, crack the fast ones with john and rockyou, then meet the bcrypt row that won't fall.
  4. 04 Targeted wordlists: cracking passwords coined from the target's own words Two hashes rockyou can't touch fall to a wordlist built from the target itself: cewl scrapes words, john rules reshape them, crunch sprays the year.
  5. 05 Obfuscated scripts: peeling an encoded dropper back to what it does Peel a wall of base64, then hex, then a one-byte XOR, with standard tools and no key, until the payload proves obfuscation isn't encryption.

TLS and keys that break

Intercept HTTPS, read a weak handshake, and ride a leaked SSH key.

  1. 01 TLS interception: when a trusted certificate still lies Watch TLS refuse a box's forged certificate, then trust its CA to read a login in the clear, then shut it out with certificate pinning.
  2. 02 Weak TLS configuration: a valid certificate over a dated handshake Enumerate what a portal's decade-old TLS still accepts, prove a TLS 1.0 handshake completes, measure it against a hardened twin, and name the fix.
  3. 03 Leaked private key: a backup that still holds a working login Find an SSH private key in a decommissioned host's exposed backup, log into the live server with no password, then revoke the key and rotate.

What its labs use

Concepts

Commands

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab