Aller au contenu

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.1Compile avec YARA-X
Auteur
Florian Roth
Date
2024-12-10
Modifiée
2024-12-12
Score / Qualité
75 / 85

Ce que détecte cette règle

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

Elle définit 5 motifs (5 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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* )
}

Chaînes (5 motifs)

IdentifiantTypeValeurModificateurs
$a1texte"java/lang/StringBuffer"
$x1texte"Start-Sleep 3;del "ascii
$x2texte"sleep 3;rm -f '"ascii
$x3texte"powershell -Noninteractive -EncodedCommand "ascii
$x4texte"runDelFileCmd"ascii fullword

Condition

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

En clair (Heuristique)

  • Le fichier doit faire moins de 50KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 1 motifs de ( $x* ) doivent être trouvés.
  • Le motif $a1 doit être présent.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • 0c57b317b572d071afd8ccdb844dd6f117e20f818c6031d7ba8adcbd32be0617

Licence et attribution

Auteur : Florian Roth

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 2940ddad-3dba-594a-9111-e4741d6ff39b

Tags:FILE