YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_LNX_Dirtyfrag_Forensicartefacts_May26
Detects DirtyFrag exploit code POC usage in Linux environments
- Author
- Florian Roth
- Date
- 2026-05-08
- Modified
- 2026-05-15
- Score / Quality
- 75 / 85
What this rule detects
Detects DirtyFrag exploit code POC usage in Linux environments
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
expl-lnx-dirtyfrag-forensicartefacts-may26.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_LNX_Dirtyfrag_Forensicartefacts_May26 : FILE
{
meta:
= "Detects DirtyFrag exploit code POC usage in Linux environments"
= "Florian Roth"
= "bda5e087-8eb7-55bd-a5ff-0eef91d63bcf"
= "2026-05-08"
= "2026-05-15"
= "https://github.com/V4bel/dirtyfrag/tree/master"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_lnx_dirtyfrag.yar#L62-L77"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "3790a19c180d1fcdcaf91c13b858d63adf126e9282999ccd424a0e6b9ae0e094"
= 75
= 85
= "FILE"
strings:
$xa1 = "/V4bel/dirtyfrag.git" ascii
$xa2 = "static const uint8_t shell_elf[PAYLOAD_LEN] = {" ascii
$xa3 = "/usr/bin/su page-cache patched (entry 0x%x = shellcode)" ascii
condition:
filesize < 800KB and 1 of ( $xa* )
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xa1 | text | "/V4bel/dirtyfrag.git" | ascii |
| $xa2 | text | "static const uint8_t shell_elf[PAYLOAD_LEN] = {" | ascii |
| $xa3 | text | "/usr/bin/su page-cache patched (entry 0x%x = shellcode)" | ascii |
Condition
filesize < 800KB and 1 of ( $xa* )In plain words (Heuristic)
- The file must be smaller than 800KB (a cheap guard that skips large files).
- At least 1 patterns in ( $xa* ) must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Licence & attribution
Author: Florian Roth
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: bda5e087-8eb7-55bd-a5ff-0eef91d63bcf
Tags:FILE
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-10-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-12-10