05 / Investigation / 35 min READ + PRACTICE
Program and malware analysis concepts.
Learn static inspection, isolated dynamic observation, indicators and defensive reporting.
Start with harmless specimens
Practice on your own compiled hello-world program. Compare its file type, size, hash and readable strings with its behavior when executed in an isolated VM. Never assume a suspicious file is safe because a scanner reports no detection.
Observe behavior, not intent
A file write, child process or network connection can be benign or malicious depending on context. Record process tree, timestamps and accessed files. Use snapshots and isolate analysis systems from personal accounts and production networks.
Report useful indicators
Describe the observed behavior and its limits. Hashes identify one exact file, while broader behavior-based detection can survive a changed hash. Include cleanup and containment recommendations without distributing an active specimen.
Try it in your lab
Hash and inspect an executable you compiled yourself; compare static metadata with what it does when run.
Make sure it clicks
Why does a file hash not prove a program is benign?
A prompt you can adapt
Help me write a static-analysis report template for my own compiled demo program, separating observations from assumptions.How to set up OpenCode ↗