YARA · SEKOIA.IO Community
SEKOIA_Exploit_Linux_Eop_Dirtyc0W_Strings
Detects DirtyCow 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 DirtyCow 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-dirtyc0w-strings.yarDetection Rule License 1.1
rule SEKOIA_Exploit_Linux_Eop_Dirtyc0W_Strings : FILE
{
meta:
= "Detects DirtyCow exploit"
= "Sekoia.io"
= "f0551e56-b08f-4f6f-81df-f30fbb8ee7b8"
= "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_dirtyc0w_strings.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "70f0dda642e7892e35c1afabb4fa6a9fe62ad82d5aa2d90787e83809bc6f5859"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "DirtyCow root privilege escalation"
$ = "Backing up %s to /tmp/bak"
$ = "(o o)_____/"
condition:
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of them
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "DirtyCow root privilege escalation" | |
| $ | texte | "Backing up %s to /tmp/bak" | |
| $ | texte | "(o o)_____/" |
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: f0551e56-b08f-4f6f-81df-f30fbb8ee7b8
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