Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_SAP_Netweaver_Exploitation_Activity_Apr25_1

Detects forensic artefacts related to exploitation activity of SAP NetWeaver CVE-2025-31324

APT / threat actorSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2025-04-25
Modified
2026-05-15
Score / Quality
70 / 85

What this rule detects

Detects forensic artefacts related to exploitation activity of SAP NetWeaver CVE-2025-31324

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

Summary generated from the rule's metadata and condition.

Rule source

apt-sap-netweaver-exploitation-activity-apr25-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_SAP_Netweaver_Exploitation_Activity_Apr25_1 : SCRIPT CVE_2025_31324 FILE
{
	meta:
		description = "Detects forensic artefacts related to exploitation activity of SAP NetWeaver CVE-2025-31324"
		author = "Florian Roth"
		id = "1ad16960-f059-57cd-97ba-58f2be6ca3f8"
		date = "2025-04-25"
		modified = "2026-05-15"
		reference = "https://reliaquest.com/blog/threat-spotlight-reliaquest-uncovers-vulnerability-behind-sap-netweaver-compromise/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_sap_netweaver_apr25.yar#L2-L15"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "ab6c5e17bba15a3f968bdbe88a8cf4a039c55b6035d91fd3c6b30092be89af5c"
		score = 70
		quality = 85
		tags = "SCRIPT, CVE-2025-31324, FILE"

	strings:
		$x01 = "/helper.jsp?cmd=" ascii wide
		$x02 = "/cache.jsp?cmd=" ascii wide

	condition:
		filesize < 20MB and 1 of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$x01text"/helper.jsp?cmd="ascii wide
$x02text"/cache.jsp?cmd="ascii wide

Condition

filesize < 20MB and 1 of them

In plain words (Heuristic)

  • The file must be smaller than 20MB (a cheap guard that skips large files).
  • 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

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: 1ad16960-f059-57cd-97ba-58f2be6ca3f8

Tags:SCRIPTCVE_2025_31324FILE