Lion Cipher Lab

Reverse-engineer a binary with Ghidra

Why it matters

Triage answers "is this file safe?" from the outside. Reverse engineering answers the deeper question a defender eventually has to face: "what does this program actually do?" It is how analysts tear apart malware to find what it steals and where it phones home, how researchers hunt for vulnerabilities in closed-source software, and how anyone understands a program when the source code isn't available. Ghidra puts a genuinely professional tool - a software reverse engineering suite the NSA built and released free and open source - within reach of a beginner. Learning the core loop once…

What you'll learn

Steps in this lab

  1. What reverse engineering is, in plain terms
  2. The two rules that make this safe - and legal
  3. Install a JDK - Ghidra needs it to run
  4. Install Ghidra
  5. Write and compile the tiny program you'll analyze
  6. Import the binary and let Ghidra analyze it
  7. Read the function list, then find the secret in the decompiler
  8. What you just learned - and where it goes next

Open the full interactive lab →