Lion Cipher Lab

Analyze a suspicious PDF: JavaScript, actions, and embedded delivery tricks

Why it matters

A PDF looks like the most boring file on earth — a page you read. That is exactly why attackers love it: a PDF is not just paper, it is a small document format with an object graph that can carry JavaScript, auto-run actions, embedded files, and commands to launch other programs. Send one as an email attachment (MITRE ATT&CK Spearphishing Attachment, T1566.001), get the target to open it (User Execution: Malicious File, T1204.002), and the PDF's own scripting layer (JavaScript, T1059.007) fires the moment the reader opens the page — no second click. The defender's whole job is to answer…

What you'll learn

Steps in this lab

  1. A PDF is not paper — it is an object graph that can act
  2. The analyst's chair: you read the file, you never open it
  3. Read the pdfid keyword summary — which counts are red flags
  4. Follow /OpenAction to the JavaScript — the auto-run chain
  5. Open the JavaScript object and deobfuscate it (at a concept level)
  6. The payload vectors: /EmbeddedFile, /Launch, and /URI
  7. Metadata, and mapping the whole thing to MITRE ATT&CK
  8. The third rule: when static triage is conclusive, and when it isn't
  9. Write the verdict — and the habit it builds

Open the full interactive lab →