Lion Cipher Lab

Pivot into an unreachable internal network with a Chisel reverse SOCKS tunnel

Why it matters

Almost no real network is flat. You phish or exploit your way onto ONE machine, and the thing you actually want -- a database, an admin panel, a domain controller -- sits on a segment your attacker box cannot even route to. The skill that turns a single foothold into access to everything behind it is PIVOTING: making the host you already control relay your traffic into the network only it can reach. This lab teaches the pivot you reach for when the easy one is not available. Lion Cipher already has a lab that pivots with an SSH dynamic tunnel, but that requires SSH ACCESS to the pivot and…

What you'll learn

Steps in this lab

  1. First: what a pivot is, and why this one is different from the SSH tunnel
  2. The words you need: forward vs reverse, SOCKS, and why 'reverse' is the whole trick
  3. Build the range: two Docker networks and a genuinely unreachable internal service
  4. Prove the BEFORE: curl the internal service and watch it fail for lack of a route
  5. Get chisel onto both boxes
  6. Start the reverse tunnel: server on the attacker, client dials OUT from the pivot
  7. Point proxychains at the tunnel and reach the internal service (the AFTER)
  8. The honest negative, when to pick this over the SSH tunnel, and how a pro does it

Open the full interactive lab →