YARA · ditekSHen detection
DITEKSHEN_MALWARE_Linux_UNK01
Detects unknown/unidentified Linux malware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects unknown/unidentified Linux malware
Associated malware family: UNK01.
It defines 14 patterns (14 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-linux-unk01.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_UNK01 : FILE
{
meta:
= "Detects unknown/unidentified Linux malware"
= "ditekSHen"
= "24c6ff35-9378-5a6b-90d1-9740917b1b72"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2815-L2836"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "8bb4822c1c7e0f52726ecafafa696d83c741257587f351360c5295163c245450"
= 75
= 75
= "FILE"
strings:
$f1 = "%sresponse.php?status" ascii
$f2 = "%supstream.php?mid=%s&os=%s" ascii fullword
$f3 = "%supstream.php?tid=%" ascii
$f4 = "%sindex.php?token=%.32s&flag=%d&name=%s" ascii fullword
$f5 = "%sactive_off.php?id=%d&uniqu=%d" ascii fullword
$s1 = "lock:%i usable num:%i n:%i" fullword ascii
$s2 = "tid:%.*s tNumber:%i" fullword ascii
$s3 = "init.php" fullword ascii
$s4 = "mod_drone" fullword ascii
$s5 = "new_mid" fullword ascii
$s6 = "&exists[]=" fullword ascii
$s7 = "&mod[]=" fullword ascii
$s8 = "shutdown" fullword ascii
$s9 = "&mac[]=%02X%02X%02X%02X%02X%02X" fullword ascii
condition:
uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )
}
Strings (14 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $f1 | text | "%sresponse.php?status" | ascii |
| $f2 | text | "%supstream.php?mid=%s&os=%s" | ascii fullword |
| $f3 | text | "%supstream.php?tid=%" | ascii |
| $f4 | text | "%sindex.php?token=%.32s&flag=%d&name=%s" | ascii fullword |
| $f5 | text | "%sactive_off.php?id=%d&uniqu=%d" | ascii fullword |
| $s1 | text | "lock:%i usable num:%i n:%i" | fullword ascii |
| $s2 | text | "tid:%.*s tNumber:%i" | fullword ascii |
| $s3 | text | "init.php" | fullword ascii |
| $s4 | text | "mod_drone" | fullword ascii |
| $s5 | text | "new_mid" | fullword ascii |
| $s6 | text | "&exists[]=" | fullword ascii |
| $s7 | text | "&mod[]=" | fullword ascii |
| $s8 | text | "shutdown" | fullword ascii |
| $s9 | text | "&mac[]=%02X%02X%02X%02X%02X%02X" | fullword ascii |
Condition
uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )In plain words (Heuristic)
- At least 3 patterns in ( $f* ) must match.
- At least 6 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.
References
Licence & attribution
Author: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 24c6ff35-9378-5a6b-90d1-9740917b1b72
Tags:FILE
Related rules
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06