Lion Cipher Lab

Recognize malware's anti-analysis tricks: debugger, VM, sandbox, and timing checks

Why it matters

Modern malware assumes it will be caught in an automated sandbox, so the first thing it does is look around and ask 'am I being watched?' If the answer is yes, it behaves — it does nothing interesting, exits quietly, or runs a harmless decoy — and the sandbox report comes back clean. An analyst who takes that clean report at face value has been played: the sample didn't fail to do anything, it detected the box and hid. Learning to read the anti-analysis code itself — the debugger checks, the VM tells, the timing traps — lets you recognize evasion for what it is, know that a silent sample is a…

What you'll learn

Steps in this lab

  1. The scenario: a 'clean' sandbox report that should worry you
  2. Artifact 1 — debugger detection (T1622)
  3. Artifact 2 — VM and sandbox detection (T1497)
  4. Artifact 3 — timing checks (T1497.003)
  5. Artifact 4 — analysis-tool process enumeration (T1057)
  6. Artifact 5 — environment fingerprinting (T1497.001)
  7. Put it together: read the control flow, not the verdict
  8. The third rule: when recognition is enough, and how a pro defeats these

Open the full interactive lab →