Lion Cipher Lab

Unroll a reported phishing link with a safe redirect resolver, and measure it against cloaking

Why it matters

A user forwards you a link from an email they almost clicked. You cannot click it: one visit can tip off the operator and burn the investigation, and the link may land on a credential-harvest page. But you also cannot just read the shortened URL, because modern phishing hides the real destination behind a chain of hops: a shortener 301, a tracker 302, a meta-refresh, a JavaScript redirect, and server-side cloaking that shows a harmless page to anything that does not look like a real victim's browser. This lab has you stand up a safe, offline copy of exactly that chain, then build a small…

What you'll learn

Steps in this lab

  1. The words first: redirect, hop, chain, cloaking, and IOC
  2. When to reach for this, and when NOT to
  3. Open two terminals, check Python and curl, make a folder
  4. Stand up the fake phishing chain on your own machine
  5. BEFORE: what curl -L does, and where it quietly stops
  6. Build the tool: a safe resolver in about 130 lines of stdlib Python
  7. AFTER (1): run the tool with its default, honest user-agent
  8. AFTER (2): browser-like headers, and beating a header cloak
  9. The cloak you cannot beat from your own IP
  10. Prove the safety rails actually fire
  11. Score it: curl vs the tool against the reference key
  12. The honest negatives, written down
  13. How a pro does it, and the OPSEC that protects the case

Open the full interactive lab →