Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_Paloalto_CVE_2024_3400_Apr24_1

Detects characteristics of the exploit code used in attacks against Palo Alto GlobalProtect CVE-2024-3400

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2024-04-15
Modified
2025-03-21
Score / Quality
70 / 85

What this rule detects

Detects characteristics of the exploit code used in attacks against Palo Alto GlobalProtect CVE-2024-3400

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

Summary generated from the rule's metadata and condition.

Rule source

expl-paloalto-cve-2024-3400-apr24-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Paloalto_CVE_2024_3400_Apr24_1 : CVE_2024_3400
{
	meta:
		description = "Detects characteristics of the exploit code used in attacks against Palo Alto GlobalProtect CVE-2024-3400"
		author = "Florian Roth"
		id = "1bcf0415-5351-5e09-ab93-496e8dc47c92"
		date = "2024-04-15"
		modified = "2025-03-21"
		reference = "https://www.volexity.com/blog/2024/04/12/zero-day-exploitation-of-unauthenticated-remote-code-execution-vulnerability-in-globalprotect-cve-2024-3400/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/vuln_paloalto_cve_2024_3400_apr24.yar#L27-L46"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "9ebc94a07b189a2d2dd252b5079fa494162739678fd2ca742e6877189a140da9"
		score = 70
		quality = 85
		tags = "CVE-2024-3400"

	strings:
		$x1 = "SESSID=../../../../opt/panlogs/"
		$x2 = "SESSID=./../../../../opt/panlogs/"
		$sa1 = "SESSID=../../../../"
		$sa2 = "SESSID=./../../../../"
		$sb2 = "${IFS}"

	condition:
		1 of ( $x* ) or ( 1 of ( $sa* ) and $sb2 )
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$x1text"SESSID=../../../../opt/panlogs/"
$x2text"SESSID=./../../../../opt/panlogs/"
$sa1text"SESSID=../../../../"
$sa2text"SESSID=./../../../../"
$sb2text"${IFS}"

Condition

1 of ( $x* ) or ( 1 of ( $sa* ) and $sb2 )

In plain words (Heuristic)

  • At least 1 patterns in ( $x* ) must match.
  • At least 1 patterns in ( $sa* ) must match.
  • Pattern $sb2 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: 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: 1bcf0415-5351-5e09-ab93-496e8dc47c92

Tags:CVE_2024_3400