Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_Cleo_Exploitation_JAVA_Payloads_Dec24_3

Detects characteristics of JAR files used during Cleo software exploitation

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

What this rule detects

Detects characteristics of JAR files used during Cleo software exploitation

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

Summary generated from the rule's metadata and condition.

Rule source

expl-cleo-exploitation-java-payloads-dec24-3.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Cleo_Exploitation_JAVA_Payloads_Dec24_3 : FILE
{
	meta:
		description = "Detects characteristics of JAR files used during Cleo software exploitation"
		author = "X__Junior"
		id = "5c227bb9-0731-5955-a758-6fe86ecc2d86"
		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#L267-L286"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "64a6194110d4eb359cc3f15137cf752d598f2f0a52ac181fcaa358bf40072f54"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$a1 = "java/lang/String" ascii
		$s1 = "#lsz#" ascii
		$s2 = "#dbg#" ascii
		$s3 = "#ll#" ascii
		$s4 = "SvZipDataOverflow=%d OpNotConf=" ascii

	condition:
		uint16( 0 ) == 0xfeca and filesize < 20KB and 3 of ( $s* ) and $a1
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$a1text"java/lang/String"ascii
$s1text"#lsz#"ascii
$s2text"#dbg#"ascii
$s3text"#ll#"ascii
$s4text"SvZipDataOverflow=%d OpNotConf="ascii

Condition

uint16( 0 ) == 0xfeca and filesize < 20KB and 3 of ( $s* ) and $a1

In plain words (Heuristic)

  • The file must be smaller than 20KB (a cheap guard that skips large files).
  • At least 3 patterns in ( $s* ) must match.
  • Pattern $a1 must be present.

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: X__Junior

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: 5c227bb9-0731-5955-a758-6fe86ecc2d86

Tags:FILE