Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_SAP_Netweaver_Exploitation_Activity_Apr25_2

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 1 patterns (1 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

apt-sap-netweaver-exploitation-activity-apr25-2.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_SAP_Netweaver_Exploitation_Activity_Apr25_2 : SCRIPT CVE_2025_31324 FILE
{
	meta:
		description = "Detects forensic artefacts related to exploitation activity of SAP NetWeaver CVE-2025-31324"
		author = "Florian Roth"
		id = "3b7d3f94-88a9-5686-8a23-ac4040c0e6c1"
		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#L17-L29"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "dfc24a4f359e2bc899ab3924bd342c2c6bd8c757b7c1d3859a47f61b9e4039a9"
		score = 70
		quality = 85
		tags = "SCRIPT, CVE-2025-31324, FILE"

	strings:
		$x03 = "MSBuild.exe c:\\programdata\\" ascii wide

	condition:
		filesize < 20MB and 1 of them
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$x03text"MSBuild.exe c:\\programdata\\"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: 3b7d3f94-88a9-5686-8a23-ac4040c0e6c1

Tags:SCRIPTCVE_2025_31324FILE