YARA · SEKOIA.IO Community
SEKOIA_Apt_Muddywater_Manifestation_Backdoor
Detects Muddys manifestation JScript backdoor
- Author
- Sekoia.io
- Date
- 2022-01-13
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects Muddys manifestation JScript backdoor
It defines 5 patterns (4 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-muddywater-manifestation-backdoor.yarDetection Rule License 1.1
rule SEKOIA_Apt_Muddywater_Manifestation_Backdoor : FILE
{
meta:
= "Detects Muddys manifestation JScript backdoor"
= "Sekoia.io"
= "998fb0ab-73ed-41e5-b87e-f987b8f05a8c"
= "2022-01-13"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_muddywater_manifestation_backdoor.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "477ed53ccd337dd21ab84b7d36b995a653d0aad6676e02cbe5e9f581bface253"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "/^\\s+|\\s+$/g" ascii
$l2 = "while (1) {" ascii
$l3 = { 57 53 63 72 69 70 74 2e 73 6c 65 65 70 28 ?? ?? 20 2a 20 31 30 30 30 29 3b }
$s4 = ")+ key , false)" ascii
$s5 = ")+ data , false)" ascii
condition:
filesize > 1000 and ( $l3 in ( @l2 .. @l2 + 300 ) ) and ( any of ( $s* ) )
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "/^\\s+|\\s+$/g" | ascii |
| $l2 | text | "while (1) {" | ascii |
| $l3 | hex | { 57 53 63 72 69 70 74 2e 73 6c 65 65 70 28 ?? ?? 20 2a 20 31 30 30 30 29 3b } | |
| $s4 | text | ")+ key , false)" | ascii |
| $s5 | text | ")+ data , false)" | ascii |
Condition
filesize > 1000 and ( $l3 in ( @l2 .. @l2 + 300 ) ) and ( any of ( $s* ) )In plain words (Heuristic)
- The file must be larger than 1000.
- At least one pattern in ( $s* ) must match.
- Pattern $l3 must be found within the range @l2 .. @l2 + 300.
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: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
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: 998fb0ab-73ed-41e5-b87e-f987b8f05a8c
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06