Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_WEBSHELL_ASPX_Proxyshell_Aug21_3

Detects webshells dropped by ProxyShell exploitation based on their file header (must be DER), size and content

WebshellSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Max Altgelt
Date
2021-08-23
Modified
2025-11-03
Score / Quality
75 / 85

What this rule detects

Detects webshells dropped by ProxyShell exploitation based on their file header (must be DER), size and content

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

Summary generated from the rule's metadata and condition.

Rule source

webshell-aspx-proxyshell-aug21-3.yarDetection Rule License 1.1
rule SIGNATURE_BASE_WEBSHELL_ASPX_Proxyshell_Aug21_3 : FILE
{
	meta:
		description = "Detects webshells dropped by ProxyShell exploitation based on their file header (must be DER), size and content"
		author = "Max Altgelt"
		id = "a7bca62b-c8f1-5a38-81df-f3d4582a590b"
		date = "2021-08-23"
		modified = "2025-11-03"
		reference = "https://twitter.com/gossithedog/status/1429175908905127938?s=12"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_proxyshell.yar#L50-L64"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "f071aaa8918b359f786f2ac7447eeaedb5a6fca9e0a0c0e8820e011244424503"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "Page Language=" ascii nocase

	condition:
		uint16( 0 ) == 0x8230 and filesize < 10KB and $s1
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$s1text"Page Language="ascii nocase

Condition

uint16( 0 ) == 0x8230 and filesize < 10KB and $s1

In plain words (Heuristic)

  • The file must be smaller than 10KB (a cheap guard that skips large files).
  • Pattern $s1 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: Max Altgelt

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: a7bca62b-c8f1-5a38-81df-f3d4582a590b

Tags:FILE