Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_EXPL_JAR_Indicators_Dec24

Detects characteristics of JAR files used during Cleo software exploitation (as reported by Huntress in December 2024)

Suspicious / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2024-12-10
Modified
2024-12-12
Score / Quality
70 / 85

What this rule detects

Detects characteristics of JAR files used during Cleo software exploitation (as reported by Huntress in December 2024)

It defines 5 patterns (5 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

susp-expl-jar-indicators-dec24.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_EXPL_JAR_Indicators_Dec24 : FILE
{
	meta:
		description = "Detects characteristics of JAR files used during Cleo software exploitation (as reported by Huntress in December 2024)"
		author = "Florian Roth"
		id = "4e8f6aa8-9efd-5fcf-b795-5042d4ba1708"
		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#L204-L222"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "8b87e7000ab5d9759f55660a085bf0f3dddb46ad1ea411cbbabce1000105ee9e"
		score = 70
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "TLS v3 " ascii
		$s2 = "java/util/Base64$Decoder" ascii
		$s3 = "AES/CBC/NoPadding" ascii
		$s4 = "getenv" ascii
		$s5 = "ava/util/zip/ZipInputStream" ascii

	condition:
		uint16( 0 ) == 0xfeca and filesize < 20KB and all of them
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$s1text"TLS v3 "ascii
$s2text"java/util/Base64$Decoder"ascii
$s3text"AES/CBC/NoPadding"ascii
$s4text"getenv"ascii
$s5text"ava/util/zip/ZipInputStream"ascii

Condition

uint16( 0 ) == 0xfeca and filesize < 20KB and all of them

In plain words (Heuristic)

  • The file must be smaller than 20KB (a cheap guard that skips large files).
  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Florian Roth

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 4e8f6aa8-9efd-5fcf-b795-5042d4ba1708

Tags:FILE