YARA · SEKOIA.IO Community
SEKOIA_Exploit_Linux_Eop_Pwnkit_Strings
Detects Pwnkit Local Privesc exploit
- Auteur
- Sekoia.io
- Date
- 2023-12-08
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Pwnkit Local Privesc exploit
Cibles : ELF Linux.
Elle définit 7 motifs (7 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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
}
Chaînes (7 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "CHARSET=PWNKIT" | |
| $ | texte | "i/do/not/exists" | |
| $ | texte | "pwnkit/pwnkit.c" | |
| $ | texte | "/usr/bin/pkexec" | |
| $ | texte | "SHELL=pwnkit" | |
| $ | texte | "pwnkit.so" | |
| $ | texte | "./pwnkit/" |
Condition
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and 2 of themEn clair (Heuristique)
- Le fichier doit commencer par l’en-tête ELF — un exécutable Linux/Unix.
- Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 2 motifs de la règle doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 8637c602-62da-4983-bcb7-ba546fb2ed82
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- 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