tool
Donut S0695
- Type
- tool
- Platform
- Windows
- Created
- 25 March 2022
- Last modified
- 16 April 2025
Donut is an open source framework used to generate position-independent shellcode.[1][2] Donut generated code has been used by multiple threat actors to inject and load malicious payloads into memory.[3]
Enterprise ATT&CK only. Any Mobile or ICS rows on the same ATT&CK page are not carried.
MITRE reference S0695
Donut can generate encrypted, compressed/encoded, or otherwise obfuscated code modules.5
Donut can generate encrypted, compressed/encoded, or otherwise obfuscated code modules.6
Donut includes a subproject DonutTest to inject shellcode into a target process.7
Donut includes subprojects that enumerate and identify information about Process Injection candidates.8
Donut can generate shellcode outputs that execute via Ruby.9
Standing S0695
Reach is how much of ATT&CK this tool touches. Coverage is how well defended each thing it does is, as a median per technique rather than a total — a total would just restate the reach. Each figure is ranked against all 825 ATT&CK software entries only where that population actually spreads. Where most of the population shares one value, a percentile would rank the tie instead of the entity, so the raw value is shown and no rank is claimed.
Reach
70th percentile · 70% of 825 ATT&CK software entries have this many Enterprise techniques or fewer.
53rd percentile · 53% of 825 ATT&CK software entries have this many tactics spanned or fewer.
61% of the population shares a single value across only 22 distinct values, so a percentile here would rank the tie, not the entity.
85% of the population shares a single value across only 8 distinct values, so a percentile here would rank the tie, not the entity.
Coverage
79th percentile · 79% of 825 ATT&CK software entries have this many detection rules per technique or fewer.
Detection coverage S0695
1055 distinct rules cover the 16 techniques recorded for this tool. The 1129 technique-to-rule mappings resolve to 1055 distinct rules, because one rule can cover several techniques. 723 Sigma · 332 Splunk.
Loading detections...
| Select | Title | Description | Category | Status | Event | Product | MITRE ATT&CK | CVEs | Severity | Author | Created | Updated | ID | Refs |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
© 2026 The MITRE Corporation. ATT&CK® and D3FEND™ data reproduced with permission. SigmaHQ detection rules licensed under DRL 1.1. attack.mitre.org · d3fend.mitre.org · CAR analytics licensed under Apache 2.0 · car.mitre.org