Use this when safely analysing a malware sample.
Malware Analysis Fundamentals
Malware analysis fundamentals: work in an isolated lab, start with static analysis (hashes, strings, imports), then dynamic analysis in a sandbox watching processes, files, registry and network, and extract IOCs.
1. Malware analysis: triage, static analysis, dynamic (sandbox), reverse engineering.
2. Only in isolated labs.
3. Extract IOCs and TTPs.
4. Share responsibly.
5. Document findings.
sample → triage → static/dynamic analysis → IOCs/TTPs
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Running samples on a networked machine.
- Uploading confidential samples to public services.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Use an isolated lab.
- Static analysis first, then dynamic.
- Extract IOCs for detection.
- Isolated analysis lab (no production network) — safety
sha256sum sample.bin; file sample.bin— triage basics- Sandbox report (behaviour) — dynamic analysis
ReferenceWhy it matters1 section · depth on demand
How it works
Malware analysis combines static analysis (examine the file without running it: hashes, strings, imports, YARA), dynamic analysis (run it in an isolated sandbox and observe behaviour) and, when needed, code analysis in a disassembler.
ReferenceHow it works1 section · depth on demand
Tools
| Stage | Tools |
|---|---|
| Static | file, strings, PE-bear, Detect It Easy, YARA |
| Dynamic | Isolated VM, Process Monitor, Wireshark, sandbox (CAPE) |
| Code | Ghidra, IDA, x64dbg |
ReferenceImportant terms & boundaries1 section · depth on demand
Steps
1. Isolated lab (no network or simulated network).
2. Hashes and reputation (sha256sum, VirusTotal).
3. Static: strings, imports, packers (pestudio, die).
4. Dynamic: sandbox (Any.Run, CAPE), Procmon, network capture.
5. Document IOCs and behaviours.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Malware → Malware Analysis Fundamentals. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%