Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_EXPL_Perfctl_Oct24

Detects exploits used in relation with Perfctl malware campaigns

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Florian Roth
Datum
2024-10-09
Geändert
2024-12-12
Score / Qualität
80 / 85

Was diese Regel erkennt

Detects exploits used in relation with Perfctl malware campaigns

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

mal-expl-perfctl-oct24.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_EXPL_Perfctl_Oct24 : FILE
{
	meta:
		description = "Detects exploits used in relation with Perfctl malware campaigns"
		author = "Florian Roth"
		id = "1f525eaf-445c-592e-bfa4-e9846390dd1d"
		date = "2024-10-09"
		modified = "2024-12-12"
		reference = "https://www.aquasec.com/blog/perfctl-a-stealthy-malware-targeting-millions-of-linux-servers/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_perfctl_oct24.yar#L2-L21"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "22e4a57ac560ebe1eff8957906589f4dd5934ee555ebcc0f7ba613b07fad2c13"
		logic_hash = "44d4683efc66b3c6c2d32be6b83a2bbc1db39c9a020365dddd27c20667bc6a66"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "Exploit failed. Target is most likely patched." ascii fullword
		$s2 = "SHELL=pkexec" ascii fullword
		$s3 = "/dump_" ascii fullword
		$s4 = ".EYE$" ascii

	condition:
		uint16( 0 ) == 0x457f and filesize < 30000KB and 2 of them or all of them
}

Strings (4 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Exploit failed. Target is most likely patched."ascii fullword
$s2Text"SHELL=pkexec"ascii fullword
$s3Text"/dump_"ascii fullword
$s4Text".EYE$"ascii

Bedingung

uint16( 0 ) == 0x457f and filesize < 30000KB and 2 of them or all of them

In Worten (Heuristik)

  • Die Datei muss kleiner als 30000KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Alle Muster aus der Regel müssen treffen.
  • Mindestens 2 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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 22e4a57ac560ebe1eff8957906589f4dd5934ee555ebcc0f7ba613b07fad2c13

Lizenz & Namensnennung

Autor: Florian Roth

Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 1f525eaf-445c-592e-bfa4-e9846390dd1d

Tags:FILE