Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Exploit_Linux_Eop_Ubuntu_Overlayfs_Local_Privesc_Strings

Detects Ubuntu OverlayFS Local Privesc 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 Ubuntu OverlayFS Local Privesc exploit

Ziele: Linux-ELF.

Sie definiert 6 Muster (6 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

exploit-linux-eop-ubuntu-overlayfs-local-privesc-strings.yarDetection Rule License 1.1
rule SEKOIA_Exploit_Linux_Eop_Ubuntu_Overlayfs_Local_Privesc_Strings : FILE
{
	meta:
		description = "Detects Ubuntu OverlayFS Local Privesc exploit"
		author = "Sekoia.io"
		id = "5e0e73f5-4cb3-4a79-adac-578b17ed7660"
		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_ubuntu_overlayfs_local_privesc_strings.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "48ff9d2a10eef1e9b9088ba4a53aa77f43324e5d51da65b65a5829276067f011"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "./ovlcap"
		$ = "rm -rf '%s/'"
		$ = "./ovlcap/work"
		$ = "./ovlcap/lower"
		$ = "./ovlcap/upper"
		$ = "./ovlcap/merge"

	condition:
		uint32be( 0 ) == 0x7f454c46 and filesize < 1MB and all of them
}

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$Text"./ovlcap"
$Text"rm -rf '%s/'"
$Text"./ovlcap/work"
$Text"./ovlcap/lower"
$Text"./ovlcap/upper"
$Text"./ovlcap/merge"

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: 5e0e73f5-4cb3-4a79-adac-578b17ed7660

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE