YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_Shitrix_Exploit_Code_Jan20_1
Detects payloads used in Shitrix exploitation CVE-2019-19781
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-01-13
- Modified
- 2023-12-05
- Score / Quality
- 70 / 85
What this rule detects
Detects payloads used in Shitrix exploitation CVE-2019-19781
It defines 15 patterns (15 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
expl-shitrix-exploit-code-jan20-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Shitrix_Exploit_Code_Jan20_1 : FILE CVE_2019_19781
{
meta:
= "Detects payloads used in Shitrix exploitation CVE-2019-19781"
= "Florian Roth (Nextron Systems)"
= "7fab3a9b-82a5-573a-b210-2ae65f1a7f24"
= "2020-01-13"
= "2023-12-05"
= "https://isc.sans.edu/forums/diary/Citrix+ADC+Exploits+Overview+of+Observed+Payloads/25704/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/exploit_shitrix.yar#L2-L29"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "00687b30235be5ef3c00432b5b96bbc325dee553e7c0cb565d6f389b1bce12de"
= 70
= 85
= "FILE, CVE-2019-19781"
strings:
$s01 = "/netscaler/portal/scripts/rmpm.pl" ascii
$s02 = "tee /netscaler/portal/templates/" ascii
$s03 = "exec(\\'(wget -q -O- http://" ascii
$s04 = "cd /netscaler/portal; ls" ascii
$s05 = "cat /flash/nsconfig/ns.conf" ascii
$s06 = "/netscaler/portal/scripts/PersonalBookmak.pl" ascii
$s07 = "template.new({'BLOCK'='print readpipe(" ascii
$s08 = "pwnpzi1337" fullword ascii
$s09 = "template.new({'BLOCK'="
$s10 = "template.new({'BLOCK'%3d"
$s11 = "my ($citrixmd, %FORM);"
$s12 = "(CMD, \"($citrixmd) 2>&1"
$b1 = "NSC_USER:" ascii nocase
$b2 = "NSC_NONCE:" ascii nocase
$b3 = "/../" ascii
condition:
1 of ( $s* ) or all of ( $b* )
}
Strings (15 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s01 | text | "/netscaler/portal/scripts/rmpm.pl" | ascii |
| $s02 | text | "tee /netscaler/portal/templates/" | ascii |
| $s03 | text | "exec(\\'(wget -q -O- http://" | ascii |
| $s04 | text | "cd /netscaler/portal; ls" | ascii |
| $s05 | text | "cat /flash/nsconfig/ns.conf" | ascii |
| $s06 | text | "/netscaler/portal/scripts/PersonalBookmak.pl" | ascii |
| $s07 | text | "template.new({'BLOCK'='print readpipe(" | ascii |
| $s08 | text | "pwnpzi1337" | fullword ascii |
| $s09 | text | "template.new({'BLOCK'=" | |
| $s10 | text | "template.new({'BLOCK'%3d" | |
| $s11 | text | "my ($citrixmd, %FORM);" | |
| $s12 | text | "(CMD, \"($citrixmd) 2>&1" | |
| $b1 | text | "NSC_USER:" | ascii nocase |
| $b2 | text | "NSC_NONCE:" | ascii nocase |
| $b3 | text | "/../" | ascii |
Condition
1 of ( $s* ) or all of ( $b* )In plain words (Heuristic)
- All patterns in ( $b* ) must match.
- At least 1 patterns in ( $s* ) 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.
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: 7fab3a9b-82a5-573a-b210-2ae65f1a7f24
Tags:FILECVE_2019_19781
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-18
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-19
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-20
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-13
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-11
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-22