YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Payload_F5_BIG_IP_Exploitations_Jul20_1
Detects code found in report on exploits against CVE-2020-5902 F5 BIG-IP vulnerability by NCC group
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-06-07
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects code found in report on exploits against CVE-2020-5902 F5 BIG-IP vulnerability by NCC group
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_Payload_F5_BIG_IP_Exploitations_Jul20_1 : CVE_2020_5902 FILE
{
meta:
= "Detects code found in report on exploits against CVE-2020-5902 F5 BIG-IP vulnerability by NCC group"
= "Florian Roth (Nextron Systems)"
= "57705ba1-c0ad-5ca6-8539-44d9da6b5942"
= "2020-06-07"
= "2023-12-05"
= "https://research.nccgroup.com/2020/07/05/rift-f5-networks-k52145254-tmui-rce-vulnerability-cve-2020-5902-intelligence/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_f5_bigip_expl_payloads.yar#L2-L23"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "a3651081bb09452d80cba9f673a7b61c8ee2f47a12fb64d975eb63867688ee3b"
= 75
= 85
= "CVE-2020-5902, FILE"
strings:
$x1 = "rm -f /etc/ld.so.preload" ascii fullword
$x2 = "echo \"* * * * * $LDR" ascii
$x3 = ".sh -o /tmp/in.sh" ascii
$x4 = "chmod a+x /etc/.modules/.tmp" ascii
$x5 = "chmod +x /var/log/F5-logcheck"
$s1 = "ulimit -n 65535" ascii fullword
$s2 = "-s /usr/bin/wget " ascii
$s3 = ".sh | sh" ascii
condition:
filesize < 300KB and ( 1 of ( $x* ) or 3 of them )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "rm -f /etc/ld.so.preload" | ascii fullword |
| $x2 | text | "echo \"* * * * * $LDR" | ascii |
| $x3 | text | ".sh -o /tmp/in.sh" | ascii |
| $x4 | text | "chmod a+x /etc/.modules/.tmp" | ascii |
| $x5 | text | "chmod +x /var/log/F5-logcheck" | |
| $s1 | text | "ulimit -n 65535" | ascii fullword |
| $s2 | text | "-s /usr/bin/wget " | ascii |
| $s3 | text | ".sh | sh" | ascii |
Condition
filesize < 300KB and ( 1 of ( $x* ) or 3 of them )In plain words (Heuristic)
- The file must be smaller than 300KB (a cheap guard that skips large files).
- At least 1 patterns in ( $x* ) must match.
- At least 3 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.
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: 57705ba1-c0ad-5ca6-8539-44d9da6b5942
Tags:CVE_2020_5902FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-03
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-10
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-04
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-01-29
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-08-03