Lesson 3 of 9 · 19m
Analysis Workflow and Operational Discipline
Move from triage questions to execution decisions with explicit hypotheses, controlled variables, rollback points, and evidence discipline.
New analysts often ask, “What does this malware do?” Senior analysts ask narrower questions: does it run, what does it persist as, who does it talk to, what does it steal, and which artifact proves each answer? Malware analysis is controlled experimentation under adversarial conditions, not a linear checklist.
Start with the decision the analysis supports
Different consumers need different depth:
- SOC: block now, scope hosts, identify parent process and network indicators
- incident response: persistence, lateral movement, execution timeline, credential exposure
- detection engineering: durable behavioral or content signatures
- leadership: impact, confidence, business exposure, remaining unknowns
If the operational decision is containment, do not spend six hours reversing a string decoder before checking whether the endpoint is still beaconing. Depth follows the question.
Write hypotheses before running the sample
A short hypothesis list keeps you honest:
H1: executable unpacks or injects a second-stage payload
H2: persistence uses Run key or scheduled task
H3: network traffic uses HTTPS to attacker-controlled infrastructure
H4: document template injection downloads the real payloadExecution then becomes evidence collection for or against those hypotheses. Without them, analysts collect endless artifacts and still cannot answer what matters.
Change one variable at a time
If a sample does not run, do not simultaneously install Office, disable Defender, alter network mode, change the system date, and switch users. You will learn nothing about which condition mattered. Test one variable, snapshot, record outcome, revert:
Get-Date
Get-MpPreference | Select-Object DisableRealtimeMonitoring
whoami /allSome malware checks for debuggers, sandboxes, language, domain membership, or specific mutexes. “No behavior observed” is environment-dependent evidence, not proof of safety.
Separate observation from interpretation
Write exact observations first:
14:03:12WINWORD.EXE spawned mshta.exe
14:03:14mshta.exe connected to 185.220.101.44:443
14:03:15HKCU\Software\Microsoft\Windows\CurrentVersion\Run\upd = ...Then interpret: initial execution chain consistent with malicious document launching a script interpreter. Do not write “rat installed” before the payload, capabilities, and persistence are actually established.
Know when to stop
Stopping points are part of discipline. Stop triage when the SOC has actionable scope. Stop reverse engineering when the question is answered or when effort exceeds operational value. Escalate destructive capabilities, zero-day exploitation, worm behavior, or active intrusion evidence immediately. Curiosity never outranks containment.
Field notes
- Defender and EDR interference can be useful data. If analysis requires disabling controls, snapshot first and record exactly what changed.
- Keep wall-clock timestamps synchronized across host, guest, pcap, and log sources; small clock drift destroys timelines.
- Rerun important behavior twice. Malware with random sleeps or environmental checks may not reproduce on demand.
- Do not let a sandbox verdict replace judgment. “Clean” often means dormant, unsupported, or blocked from its expected environment.
Was this lesson helpful?