YARA · SEKOIA.IO Community
SEKOIA_Exploit_Linux_Eop_Pwnkit_Strings
Detects Pwnkit Local Privesc exploit
- Autor
- Sekoia.io
- Datum
- 2023-12-08
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects Pwnkit Local Privesc exploit
Ziele: Linux-ELF.
Sie definiert 7 Muster (7 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
exploit-linux-eop-pwnkit-strings.yarDetection Rule License 1.1
rule SEKOIA_Exploit_Linux_Eop_Pwnkit_Strings : FILE
{
meta:
= "Detects Pwnkit Local Privesc exploit"
= "Sekoia.io"
= "8637c602-62da-4983-bcb7-ba546fb2ed82"
= "2023-12-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/exploit_linux_eop_pwnkit_strings.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "9805cc7a6022f7a3372df5d74cef68c6fd0e51072154c82212415846f3603667"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "CHARSET=PWNKIT"
$ = "i/do/not/exists"
$ = "pwnkit/pwnkit.c"
$ = "/usr/bin/pkexec"
$ = "SHELL=pwnkit"
$ = "pwnkit.so"
$ = "./pwnkit/"
condition:
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and 2 of them
}
Strings (7 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "CHARSET=PWNKIT" | |
| $ | Text | "i/do/not/exists" | |
| $ | Text | "pwnkit/pwnkit.c" | |
| $ | Text | "/usr/bin/pkexec" | |
| $ | Text | "SHELL=pwnkit" | |
| $ | Text | "pwnkit.so" | |
| $ | Text | "./pwnkit/" |
Bedingung
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and 2 of themIn 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).
- Mindestens 2 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.
Referenzen
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 8637c602-62da-4983-bcb7-ba546fb2ed82
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- ExploitSEKOIA.IO Community· Sekoia.io· 2024-01-22
- ExploitSEKOIA.IO Community· Sekoia.io· 2023-12-08
- ExploitSEKOIA.IO Community· Sekoia.io· 2023-12-08
- ExploitSEKOIA.IO Community· Sekoia.io· 2023-12-08
- ExploitSEKOIA.IO Community· Sekoia.io· 2023-12-08
- ExploitSEKOIA.IO Community· Sekoia.io· 2023-12-08
- ExploitSEKOIA.IO Community· Sekoia.io· 2023-12-08
- ExploitSEKOIA.IO Community· Sekoia.io· 2023-12-08