Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_LNX_Dirtyfrag_Forensicartefacts_May26

Detects DirtyFrag exploit code POC usage in Linux environments

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
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:
		description = "Detects DirtyFrag exploit code POC usage in Linux environments"
		author = "Florian Roth"
		id = "bda5e087-8eb7-55bd-a5ff-0eef91d63bcf"
		date = "2026-05-08"
		modified = "2026-05-15"
		reference = "https://github.com/V4bel/dirtyfrag/tree/master"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_lnx_dirtyfrag.yar#L62-L77"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "3790a19c180d1fcdcaf91c13b858d63adf126e9282999ccd424a0e6b9ae0e094"
		score = 75
		quality = 85
		tags = "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)

IdentifierTypeValueModifiers
$xa1text"/V4bel/dirtyfrag.git"ascii
$xa2text"static const uint8_t shell_elf[PAYLOAD_LEN] = {"ascii
$xa3text"/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.

Open in editor

References

Licence & attribution

Author: Florian Roth

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

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