YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_WEBSHELL_ASPX_Chopper_Like_Mar21_1
Detects Chopper like ASPX Webshells
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-03-31
- Modified
- 2023-12-05
- Score / Quality
- 85 / 85
What this rule detects
Detects Chopper like ASPX Webshells
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_WEBSHELL_ASPX_Chopper_Like_Mar21_1 : FILE
{
meta:
= "Detects Chopper like ASPX Webshells"
= "Florian Roth (Nextron Systems)"
= "a4dc1880-865f-5e20-89a2-3a642c453ef9"
= "2021-03-31"
= "2023-12-05"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_hafnium.yar#L399-L416"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "ac44513e5ef93d8cbc17219350682c2246af6d5eb85c1b4302141d94c3b06c90"
= "baa9eb1e3c4ac5ce49d27b1c3f75c8b6590567e25d98761a8b704478f2cee970"
= 85
= 85
= "FILE"
strings:
$s1 = "http://f/<script language=\"JScript\" runat=\"server\">var _0x" ascii
$s2 = "));function Page_Load(){var _0x" ascii
$s3 = ";eval(Request[_0x" ascii
$s4 = "','orange','unsafe','" ascii
condition:
filesize < 3KB and 1 of them or 2 of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "http://f/<script language=\"JScript\" runat=\"server\">var _0x" | ascii |
| $s2 | text | "));function Page_Load(){var _0x" | ascii |
| $s3 | text | ";eval(Request[_0x" | ascii |
| $s4 | text | "','orange','unsafe','" | ascii |
Condition
filesize < 3KB and 1 of them or 2 of themIn plain words (Heuristic)
- The file must be smaller than 3KB (a cheap guard that skips large files).
- At least 1 patterns in the rule must match.
- At least 2 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- ac44513e5ef93d8cbc17219350682c2246af6d5eb85c1b4302141d94c3b06c90
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: a4dc1880-865f-5e20-89a2-3a642c453ef9
Tags:FILE
Related rules
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-05
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-11-01
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-31
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-12
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-13
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-11-23
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16