YARA · SEKOIA.IO Community
SEKOIA_Apt_Muddywater_Powgoop_Loader
Detects the loader of PowGoop malware
- Author
- Sekoia.io
- Date
- 2022-01-13
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects the loader of PowGoop malware
It defines 4 patterns (3 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-muddywater-powgoop-loader.yarDetection Rule License 1.1
rule SEKOIA_Apt_Muddywater_Powgoop_Loader : FILE
{
meta:
= "Detects the loader of PowGoop malware"
= "Sekoia.io"
= "716b45e1-9f17-4546-a003-a7c78340d623"
= "2022-01-13"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_muddywater_powgoop_loader.yar#L1-L19"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "70f20928d2bbe081f0595ecdbb6dbe58a2f0807032598d88d829513e6d75287f"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "$d.Add($in[$i]);" ascii wide
$s2 = "[System.Text.Encoding]::UTF8.GetString($o);" ascii wide
$s3 = "$i+=(1+1)" ascii wide
$t = { 24 ?? 3d [1-15] 20 24 ?? 3b ?? ?? ?? 20 24 ?? 3b }
condition:
filesize < 50KB and ( 3 of ( $s* ) or $t in ( filesize -50 .. filesize ) )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "$d.Add($in[$i]);" | ascii wide |
| $s2 | text | "[System.Text.Encoding]::UTF8.GetString($o);" | ascii wide |
| $s3 | text | "$i+=(1+1)" | ascii wide |
| $t | hex | { 24 ?? 3d [1-15] 20 24 ?? 3b ?? ?? ?? 20 24 ?? 3b } |
Condition
filesize < 50KB and ( 3 of ( $s* ) or $t in ( filesize -50 .. filesize ) )In plain words (Heuristic)
- The file must be smaller than 50KB (a cheap guard that skips large files).
- At least 3 patterns in ( $s* ) must match.
- Pattern $t must be found within the range filesize -50 .. filesize.
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: 716b45e1-9f17-4546-a003-a7c78340d623
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