Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_Cleo_Exploitation_JAVA_Payloads_Dec24_1_1

Detects characteristics of JAVA files used during Cleo software exploitation (as reported by Huntress in December 2024) - files Cli, ScSlot, Slot, SrvSlot

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

Was diese Regel erkennt

Detects characteristics of JAVA files used during Cleo software exploitation (as reported by Huntress in December 2024) - files Cli, ScSlot, Slot, SrvSlot

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

expl-cleo-exploitation-java-payloads-dec24-1-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Cleo_Exploitation_JAVA_Payloads_Dec24_1_1 : FILE
{
	meta:
		description = "Detects characteristics of JAVA files used during Cleo software exploitation (as reported by Huntress in December 2024) - files Cli, ScSlot, Slot, SrvSlot"
		author = "Florian Roth"
		id = "2940ddad-3dba-594a-9111-e4741d6ff39b"
		date = "2024-12-10"
		modified = "2024-12-12"
		reference = "https://www.huntress.com/blog/threat-advisory-oh-no-cleo-cleo-software-actively-being-exploited-in-the-wild"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cleo_dec24.yar#L224-L245"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "0c57b317b572d071afd8ccdb844dd6f117e20f818c6031d7ba8adcbd32be0617"
		logic_hash = "85600e9310e502b3b2135f2f3cf698ae54fe362047cdf9d378dcc107e0c2fa18"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$a1 = "java/lang/StringBuffer"
		$x1 = "Start-Sleep 3;del " ascii
		$x2 = "sleep 3;rm -f '" ascii
		$x3 = "powershell -Noninteractive -EncodedCommand " ascii
		$x4 = "runDelFileCmd" ascii fullword

	condition:
		uint16( 0 ) == 0xfeca and filesize < 50KB and $a1 and 1 of ( $x* )
}

Strings (5 Muster)

BezeichnerTypWertModifikatoren
$a1Text"java/lang/StringBuffer"
$x1Text"Start-Sleep 3;del "ascii
$x2Text"sleep 3;rm -f '"ascii
$x3Text"powershell -Noninteractive -EncodedCommand "ascii
$x4Text"runDelFileCmd"ascii fullword

Bedingung

uint16( 0 ) == 0xfeca and filesize < 50KB and $a1 and 1 of ( $x* )

In Worten (Heuristik)

  • Die Datei muss kleiner als 50KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Muster $a1 muss vorhanden sein.

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

  • 0c57b317b572d071afd8ccdb844dd6f117e20f818c6031d7ba8adcbd32be0617

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: 2940ddad-3dba-594a-9111-e4741d6ff39b

Tags:FILE