YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Powerpool_STG2
Detects second stage PowerPool backdoor
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Detects second stage PowerPool backdoor
Associated malware family: Powerpool.
Targets: Windows PE.
It defines 22 patterns (22 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-powerpool-stg2.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Powerpool_STG2 : FILE
{
meta:
= "Detects second stage PowerPool backdoor"
= "ditekSHen"
= "1a059900-3292-5419-a143-caea3e710191"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2363-L2395"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b80712bab281dbde816e2eda6ab1b4a9e21be26578fb755a1e1e1635675aa911"
= 75
= 73
= "FILE"
= "920089-920091"
= "920087-920089"
= "MALWARE.Win.Trojan.PowerPool-STG-2"
strings:
$s1 = "write info fail!!! GetLastError-->%u" fullword ascii
$s2 = "LookupAccountSid Error %u" fullword ascii
$s3 = "Mozilla/4.0 (compatible; )" fullword ascii
$s4 = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SE)" fullword ascii
$s5 = "Content-Disposition: form-data; name=\"%s\"" fullword ascii
$s6 = "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" fullword ascii
$s7 = "Content-Type: multipart/form-data; boundary=--MULTI-PARTS-FORM-DATA-BOUNDARY" fullword ascii
$s8 = "in Json::Value::find" fullword ascii
$s9 = "in Json::Value::resolveReference" fullword ascii
$s10 = "in Json::Value::duplicateAndPrefixStringValue" fullword ascii
$s11 = ".?AVLogicError@Json@@" fullword ascii
$s12 = ".?AVRuntimeError@Json@@" fullword ascii
$s13 = "http:\\\\82.221.101.157:80" ascii
$s14 = "http://172.223.112.130:80" ascii
$s15 = "http://172.223.112.130:443" ascii
$s16 = "http://info.newsrental.net:80" ascii
$s17 = "%s|%I64d" ascii
$s18 = "open internet failed..." ascii
$s19 = "connect failed..." ascii
$s20 = "handle not opened..." ascii
$s21 = "corrupted regex pattern" fullword ascii
$s22 = "add cookie failed..." ascii
condition:
uint16( 0 ) == 0x5a4d and 14 of them
}
Strings (22 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "write info fail!!! GetLastError-->%u" | fullword ascii |
| $s2 | text | "LookupAccountSid Error %u" | fullword ascii |
| $s3 | text | "Mozilla/4.0 (compatible; )" | fullword ascii |
| $s4 | text | "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SE)" | fullword ascii |
| $s5 | text | "Content-Disposition: form-data; name=\"%s\"" | fullword ascii |
| $s6 | text | "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" | fullword ascii |
| $s7 | text | "Content-Type: multipart/form-data; boundary=--MULTI-PARTS-FORM-DATA-BOUNDARY" | fullword ascii |
| $s8 | text | "in Json::Value::find" | fullword ascii |
| $s9 | text | "in Json::Value::resolveReference" | fullword ascii |
| $s10 | text | "in Json::Value::duplicateAndPrefixStringValue" | fullword ascii |
| $s11 | text | ".?AVLogicError@Json@@" | fullword ascii |
| $s12 | text | ".?AVRuntimeError@Json@@" | fullword ascii |
| $s13 | text | "http:\\\\82.221.101.157:80" | ascii |
| $s14 | text | "http://172.223.112.130:80" | ascii |
| $s15 | text | "http://172.223.112.130:443" | ascii |
| $s16 | text | "http://info.newsrental.net:80" | ascii |
| $s17 | text | "%s|%I64d" | ascii |
| $s18 | text | "open internet failed..." | ascii |
| $s19 | text | "connect failed..." | ascii |
| $s20 | text | "handle not opened..." | ascii |
| $s21 | text | "corrupted regex pattern" | fullword ascii |
| $s22 | text | "add cookie failed..." | ascii |
Condition
uint16( 0 ) == 0x5a4d and 14 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 14 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.
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: 1a059900-3292-5419-a143-caea3e710191
Metadata
| snort2_sid | 920089-920091 |
|---|---|
| snort3_sid | 920087-920089 |
| clamav_sig | MALWARE.Win.Trojan.PowerPool-STG-2 |
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- ARKBIRD_SOLG_MAL_Powerpool_Jul_2021_2Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-07-09
- ARKBIRD_SOLG_MAL_Powerpool_Jul_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-07-09
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06