← All work

04Security

Safe static and dynamic analysis workflows — PE inspection, reverse engineering and behavioural observation in isolated environments.

Malware Analysis Lab cover

Overview

A set of workflows for analysing malware samples safely, always inside isolated environments. Every sample goes through the same steps, and the lab is rolled back to a clean snapshot afterwards.

Workflow: isolate, triage, static, reverse, dynamic, report

Static analysis

Inspecting PE files with PE Studio without executing anything: headers, section entropy (a packed section stands out), imported APIs and embedded strings. Together these give a first list of indicators.

Static analysis: PE structure, imports and indicators

Reverse engineering

Following program logic in Ghidra and stepping through execution with OllyDbg, to confirm what the indicators suggested, such as anti-debugging checks and how the sample keeps itself running.

Reverse engineering: function graph and decompiled code

Dynamic analysis

Running samples in an isolated VM with simulated network services, and recording process, file, registry and network activity. Nothing can reach the real network, and the VM is reverted after every run.

Dynamic analysis: isolated lab setup and behaviour timeline

Next project

GhostFix AI