Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Exploit_Linux_Eop_Dirtypipe_Strings

Detects DirtyPipe Local Privesc exploit

ExploitSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2023-12-08
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects DirtyPipe Local Privesc exploit

Ziele: Linux-ELF.

Sie definiert 4 Muster (4 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

exploit-linux-eop-dirtypipe-strings.yarDetection Rule License 1.1
rule SEKOIA_Exploit_Linux_Eop_Dirtypipe_Strings : FILE
{
	meta:
		description = "Detects DirtyPipe Local Privesc exploit"
		author = "Sekoia.io"
		id = "712d8a01-576e-4f43-a930-63dcdc535d93"
		date = "2023-12-08"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/exploit_linux_eop_dirtypipe_strings.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "0abb8de541acea57ced20f66c0aad7b010fea647996039809d36e94555dee204"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "[+] hijacking suid binary.."
		$ = "[+] dropping suid shell.."
		$ = "[+] restoring suid binary.."
		$ = "[+] popping root shell.."

	condition:
		uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of them
}

Strings (4 Muster)

BezeichnerTypWertModifikatoren
$Text"[+] hijacking suid binary.."
$Text"[+] dropping suid shell.."
$Text"[+] restoring suid binary.."
$Text"[+] popping root shell.."

Bedingung

uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of them

In Worten (Heuristik)

  • Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
  • Die Datei muss kleiner als 1MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Alle Muster aus der Regel müssen treffen.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 712d8a01-576e-4f43-a930-63dcdc535d93

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE