YARA · SEKOIA.IO Community
SEKOIA_Exploit_Linux_Eop_Cve20177308_Strings
Detects CVE-2017-7308 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 CVE-2017-7308 exploit
Cibles : ELF Linux.
Elle définit 4 motifs (4 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-cve20177308-strings.yarDetection Rule License 1.1
rule SEKOIA_Exploit_Linux_Eop_Cve20177308_Strings : CVE_2017_7308 FILE
{
meta:
= "Detects CVE-2017-7308 exploit"
= "Sekoia.io"
= "72d225dd-386c-47d5-afb3-c6712c0bdd9a"
= "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_cve20177308_strings.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c9fd605ced8bb2c3861f642cdc08b99b320ee19658ce60f1b9679a1ccc427bf7"
= 75
= 80
= "CVE-2017-7308, FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "[.] SMEP & SMAP bypass enabled, turning them off"
$ = "[.] done, SMEP & SMAP should be off now"
$ = "[.] executing get root payload %p"
$ = "[.] done, should be root now"
condition:
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of them
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "[.] SMEP & SMAP bypass enabled, turning them off" | |
| $ | texte | "[.] done, SMEP & SMAP should be off now" | |
| $ | texte | "[.] executing get root payload %p" | |
| $ | texte | "[.] done, should be root now" |
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: 72d225dd-386c-47d5-afb3-c6712c0bdd9a
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:CVE_2017_7308FILE
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