Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_POC_Springcore_0Day_Indicators_Mar22_1

Detects indicators found after SpringCore exploitation attempts and in the POC script

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth (Nextron Systems)
Date
2022-03-30
Modified
2023-12-05
Score / Quality
70 / 85

What this rule detects

Detects indicators found after SpringCore exploitation attempts and in the POC script

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

Summary generated from the rule's metadata and condition.

Rule source

expl-poc-springcore-0day-indicators-mar22-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_POC_Springcore_0Day_Indicators_Mar22_1
{
	meta:
		description = "Detects indicators found after SpringCore exploitation attempts and in the POC script"
		author = "Florian Roth (Nextron Systems)"
		id = "297e4b57-f831-56e0-a391-1ffbc9a4d438"
		date = "2022-03-30"
		modified = "2023-12-05"
		reference = "https://twitter.com/vxunderground/status/1509170582469943303"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_spring4shell.yar#L19-L34"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "39fb62ec7953dae0a88e39e73e3ff286fc19cb8f21f8feb869a1875f6ba70cfb"
		score = 70
		quality = 85
		tags = ""

	strings:
		$x1 = "java.io.InputStream%20in%20%3D%20%25%7Bc1%7Di"
		$x2 = "?pwd=j&cmd=whoami"
		$x3 = ".getParameter(%22pwd%22)"
		$x4 = "class.module.classLoader.resources.context.parent.pipeline.first.pattern=%25%7B"

	condition:
		1 of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$x1text"java.io.InputStream%20in%20%3D%20%25%7Bc1%7Di"
$x2text"?pwd=j&cmd=whoami"
$x3text".getParameter(%22pwd%22)"
$x4text"class.module.classLoader.resources.context.parent.pipeline.first.pattern=%25%7B"

Condition

1 of them

In plain words (Heuristic)

  • At least 1 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 (Nextron Systems)

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: 297e4b57-f831-56e0-a391-1ffbc9a4d438