Visual guide
educationalMalware
A guide to the educationalMalware purple-teaming lab from the defensive side: the ATT&CK technique plan and the report comparing what was expected with what your EDR detected.
- 36
- ATT&CK techniques
- 3
- tiers
- 4
- disabled for impact
- VM
- isolated machine only
2 screens · 6 parts explained
The test plan
Techniques are ordered in three tiers of increasing noise. Each one is a legitimate system command chosen to measure detection, not to cause harm.
All · 36Tier 1 · 10Tier 2 · 16Tier 3 · 10
| ID | Technique | Tactic |
|---|---|---|
| T1082 | System Information Discovery | Discovery |
| T1016 | System Network Configuration Discovery | Discovery |
| T1057 | Process Discovery | Discovery |
| T1033 | System Owner/User Discovery | Discovery |
| T1083 | File and Directory Discovery | Discovery |
| T1059.001 | Command and Scripting Interpreter: PowerShell | Execution |
T1082
- Hypothesisthe attacker profiles the host after entry
- Expected signalssysteminfo.exe · Sysmon 1 · 4688
- Coveragepartial
Three tiers
Tier 1: discovery and execution. Tier 2: persistence, evasion and privilege escalation. Tier 3: credentials, exfiltration and impact; four of them stay disabled for their risk.
ATT&CK catalogue
Each row is a technique with its standard ID, to compare against any detection tool.
Hypothesis and signals
What an attacker would look for and which events it should raise. It is what the EDR ought to see.
The report: what am I missing?
After each exercise, the lab crosses executed techniques with EDR alerts. The gap between them is what needs improving.
Gaps
- T1070.004Indicator Removal: File Deletionno alert
- T1620Reflective Code Loadingno alert
Overall coverage
The share of techniques the EDR detected. It is the number to raise exercise after exercise.
Per tactic
Where detection is weak. Evasion and command and control are usually the blind spots.
Concrete gaps
Techniques that went unalerted, with their ID, to write or tune rules.
How it is used
Prepare an isolated VM
No real data and no route to your network.
Pick the tier
Start with tier 1 to set the baseline.
Compare
Check what the EDR detected versus what was expected.
Close gaps
Tune rules and repeat until coverage improves.
Key concepts
- Purple teaming
- Attack and defence working together to measure and improve detection.
- Detection coverage
- Which share of known techniques raises an alert in your tools.
- Sysmon
- A Windows service logging processes, network and image loads in detail.
- Tier
- A technique’s noise and impact level in the test plan.
Want to use it for real?
A 100% educational lab, for isolated virtual machines only. pwn3d.es publishes the sanitised catalogue and the coverage exercise, never execution. The original project is on its official site.