Malware Analysis — Track
What malware is, how each family behaves, and how to analyse it safely in isolation. All analysis is performed on inert samples in a disposable lab.
Set up the lab environment below once, then work the lessons — each one is hands-on-first.
Lab Environment
Set up once, then use it for every chapter in the Malware Analysis part. Everything runs locally and isolated — you never touch a system you don't own.
A DISPOSABLE, air-gapped analysis box. Nothing here touches your host or the internet. Snapshot before detonation and revert after. Analyse only benign lab samples.
What you get
| Target | How to reach it |
|---|---|
analysis-box | isolated container/VM with static+dynamic tooling |
Provision it — save this as docker-compose.yml and run docker compose up -d (or import the equivalent spec into CyberForge):
# malware-lab/docker-compose.yml — Malware analysis (ISOLATED)
services:
analysis-box:
image: remnux/remnux-distro:focal # REMnux: malware-analysis toolkit
container_name: analysis-box
command: sleep infinity
networks: [airgap]
# NO published ports. NO internet.
networks:
airgap:
driver: bridge
internal: true # hard requirement: no route outAttacker box. You are the analyst, not an attacker. Work inside analysis-box (docker exec -it analysis-box bash): triage with file, strings, pecheck, capa, yara; detonate benign samples and observe. For Windows malware, use a FLARE-VM snapshot in VirtualBox on a host-only network.
Verify it works
docker network inspect airgapshowsinternal: true(no gateway to the host).yara --versionandstringsare available inside the box.
Notes
- Never attach this network to the internet. Prefer a full VM with snapshots for real (non-lab) samples; a container is fine for the benign teaching samples used here.
Teardown. docker compose down stops it; add -v to also drop volumes. Snapshot before big changes so you can revert.
Safety. Keep intentionally-vulnerable targets on an isolated/internal network. Never expose them to the internet or attack anything outside this lab.
Lessons
| # | Lesson | Difficulty | Hands-on | What you'll do |
|---|---|---|---|---|
| 1 | Malware Fundamentals | 🟢 Beginner | ~48m | Classification, the malware lifecycle, delivery, and building a safe analysis lab. |
| 2 | Viruses | 🟢 Beginner | ~30m | Infection strategies, file/boot/macro viruses and why self-replication defines the class. |
| 3 | Worms | 🟢 Beginner | ~30m | Self-propagation, exploitation of network services and historic internet-scale outbreaks. |
| 4 | Trojans | 🟢 Beginner | ~30m | Social-engineering delivery, RATs, bankers and payload staging. |
| 5 | Spyware and Stalkerware | 🟢 Beginner | ~30m | Data collection techniques, keylogging, surveillance implants and detection. |
| 6 | Rootkits | 🟠 Advanced | ~60m | User-mode vs kernel-mode hooking, DKOM, hiding techniques and rootkit detection. |
| 7 | Bootkits | 🔴 Expert | ~60m | MBR/VBR and UEFI implants, Secure Boot bypass and firmware-level persistence. |
| 8 | Ransomware | 🟠 Advanced | ~60m | Encryption schemes, double extortion, RaaS economics and containment/response. |
| 9 | Botnets | 🟡 Intermediate | ~48m | C2 topologies, DGA, fast flux, takedowns and sinkholing. |
| 10 | Loaders and Droppers | 🟠 Advanced | ~48m | Multi-stage delivery, payload decryption, injection and loader-as-a-service. |
| 11 | Crypters, Packers and Obfuscation | 🟠 Advanced | ~60m | Packing, polymorphism, anti-analysis and generic unpacking methodology. |
| 12 | Fileless Malware | 🟠 Advanced | ~60m | Living-off-the-land, in-memory execution, WMI/registry persistence and detection gaps. |
| 13 | Reverse Engineering | 🔴 Expert | ~108m | Disassembly, decompilation, control-flow recovery and a full RE workflow. |
| 14 | Static Analysis | 🟡 Intermediate | ~60m | Triage, strings, imports, PE/ELF structure, YARA and safe first-look techniques. |
| 15 | Dynamic Analysis | 🟠 Advanced | ~72m | Behavioural monitoring, API tracing, network capture and controlled detonation. |
| 16 | Sandboxing | 🟡 Intermediate | ~48m | Automated analysis environments, evasion, instrumentation and report interpretation. |
| 17 | Shellcode Analysis | 🟠 Advanced | ~60m | Position-independent code, encoders, emulation with sctest/speakeasy and decoding stubs. |
| 18 | Anti-Analysis and Evasion | 🔴 Expert | ~60m | Anti-debug, anti-VM, timing checks, obfuscation and how analysts defeat them. |
| 19 | Tracking Malware Families | 🟠 Advanced | ~48m | Code similarity, config extraction, clustering and attribution caveats. |
19 lessons.