Cybersecurity-Mastery

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.

Your progress in this track

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

TargetHow to reach it
analysis-boxisolated 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):

yaml
# 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 out

Attacker 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 airgap shows internal: true (no gateway to the host).
  • yara --version and strings are 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

#LessonDifficultyHands-onWhat you'll do
1Malware Fundamentals🟢 Beginner~48mClassification, the malware lifecycle, delivery, and building a safe analysis lab.
2Viruses🟢 Beginner~30mInfection strategies, file/boot/macro viruses and why self-replication defines the class.
3Worms🟢 Beginner~30mSelf-propagation, exploitation of network services and historic internet-scale outbreaks.
4Trojans🟢 Beginner~30mSocial-engineering delivery, RATs, bankers and payload staging.
5Spyware and Stalkerware🟢 Beginner~30mData collection techniques, keylogging, surveillance implants and detection.
6Rootkits🟠 Advanced~60mUser-mode vs kernel-mode hooking, DKOM, hiding techniques and rootkit detection.
7Bootkits🔴 Expert~60mMBR/VBR and UEFI implants, Secure Boot bypass and firmware-level persistence.
8Ransomware🟠 Advanced~60mEncryption schemes, double extortion, RaaS economics and containment/response.
9Botnets🟡 Intermediate~48mC2 topologies, DGA, fast flux, takedowns and sinkholing.
10Loaders and Droppers🟠 Advanced~48mMulti-stage delivery, payload decryption, injection and loader-as-a-service.
11Crypters, Packers and Obfuscation🟠 Advanced~60mPacking, polymorphism, anti-analysis and generic unpacking methodology.
12Fileless Malware🟠 Advanced~60mLiving-off-the-land, in-memory execution, WMI/registry persistence and detection gaps.
13Reverse Engineering🔴 Expert~108mDisassembly, decompilation, control-flow recovery and a full RE workflow.
14Static Analysis🟡 Intermediate~60mTriage, strings, imports, PE/ELF structure, YARA and safe first-look techniques.
15Dynamic Analysis🟠 Advanced~72mBehavioural monitoring, API tracing, network capture and controlled detonation.
16Sandboxing🟡 Intermediate~48mAutomated analysis environments, evasion, instrumentation and report interpretation.
17Shellcode Analysis🟠 Advanced~60mPosition-independent code, encoders, emulation with sctest/speakeasy and decoding stubs.
18Anti-Analysis and Evasion🔴 Expert~60mAnti-debug, anti-VM, timing checks, obfuscation and how analysts defeat them.
19Tracking Malware Families🟠 Advanced~48mCode similarity, config extraction, clustering and attribution caveats.

19 lessons.

← Repository home · Full contents · Labs campaign

Cybersecurity-Mastery — interactive security learning · runs locally