YARA · SEKOIA.IO Community
SEKOIA_Exploit_Linux_Eop_Cve20177308_Strings
Detects CVE-2017-7308 exploit
- Autor
- Sekoia.io
- Datum
- 2023-12-08
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects CVE-2017-7308 exploit
Ziele: Linux-ELF.
Sie definiert 4 Muster (4 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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
}
Strings (4 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "[.] SMEP & SMAP bypass enabled, turning them off" | |
| $ | Text | "[.] done, SMEP & SMAP should be off now" | |
| $ | Text | "[.] executing get root payload %p" | |
| $ | Text | "[.] done, should be root now" |
Bedingung
uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all 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).
- Alle 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: 72d225dd-386c-47d5-afb3-c6712c0bdd9a
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:CVE_2017_7308FILE
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