YARA · SEKOIA.IO Community
SEKOIA_Exploit_Linux_Eop_Polkit_Pkexec_Strings
Detects Polkit 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 Polkit Local Privesc exploit
Cibles : ELF Linux.
Elle définit 3 motifs (3 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-polkit-pkexec-strings.yarDetection Rule License 1.1
rule SEKOIA_Exploit_Linux_Eop_Polkit_Pkexec_Strings : FILE
{
meta:
= "Detects Polkit Local Privesc exploit"
= "Sekoia.io"
= "de45c29e-432a-4e4f-b700-a016341d56d2"
= "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_polkit_pkexec_strings.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "42d04204481c165ba1b5c4ee5ff1094c31400669b0eca041d736473d481e74b7"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "[.] Spawning suid process (%s) ..."
$ = "[.] Tracing midpid ..."
$ = "PTRACE_TRACEME local root (CVE-2019-13272)"
condition:
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of them
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "[.] Spawning suid process (%s) ..." | |
| $ | texte | "[.] Tracing midpid ..." | |
| $ | texte | "PTRACE_TRACEME local root (CVE-2019-13272)" |
Condition
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all 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).
- Tous les 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: de45c29e-432a-4e4f-b700-a016341d56d2
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