Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Exploit_Linux_Eop_Cve20177308_Strings

Detects CVE-2017-7308 exploit

ExploitSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
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:
		description = "Detects CVE-2017-7308 exploit"
		author = "Sekoia.io"
		id = "72d225dd-386c-47d5-afb3-c6712c0bdd9a"
		date = "2023-12-08"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/exploit_linux_eop_cve20177308_strings.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "c9fd605ced8bb2c3861f642cdc08b99b320ee19658ce60f1b9679a1ccc427bf7"
		score = 75
		quality = 80
		tags = "CVE-2017-7308, FILE"
		version = "1.0"
		classification = "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)

BezeichnerTypWertModifikatoren
$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 them

In 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.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

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

version1.0
classificationTLP:CLEAR

Tags:CVE_2017_7308FILE