YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)
BLACKBERRY_Windealer_Library
Detects WinDealer Loaded DLL
- Author
- BlackBerry Threat Research Team
- Date
- 2022-06-14
- Modified
- 2022-07-07
- Score / Quality
- 75 / 85
What this rule detects
Detects WinDealer Loaded DLL
Associated malware family: Windealer.
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule BLACKBERRY_Windealer_Library : FILE
{
meta:
= "Detects WinDealer Loaded DLL"
= "BlackBerry Threat Research Team"
= "d7fbf21b-9144-532a-ad5d-29543f0ffc33"
= "2022-06-14"
= "2022-07-07"
= "https://blogs.blackberry.com/en/2022/06/threat-thursday-china-based-apt-plays-auto-updater-card-to-deliver-windealer-malwareZ"
= "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/Windealer_Library.yar#L1-L26"
= "N/A"
= "35151a8c0486ceaddb5020cb81f644bba4b01d5f8e4726786abc65ae92ca9c3e"
= 75
= 85
= "FILE"
= "This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team"
strings:
$s1 = "C:\\Users\\Public\\Documents\\Tencent\\QQ\\UserDataInfo.ini"
$s2 = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"
$s3 = "SOFTWARE\\SogouInput\\red"
$s4 = "SOFTWARE\\SogouDesktopBar"
$s5 = "MozillaDll.dll"
$s6 = "Tencent Files"
$s7 = "wangwang"
$s8 = "WeChat Files"
$s9 = "MyDocument"
$s10 = "Skype"
$e1 = "AutoGetSystemInfo"
$e2 = "GetConfigInfo"
$e3 = "partInitOpt"
condition:
uint16( 0 ) == 0x5a4d and all of them
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "C:\\Users\\Public\\Documents\\Tencent\\QQ\\UserDataInfo.ini" | |
| $s2 | text | "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" | |
| $s3 | text | "SOFTWARE\\SogouInput\\red" | |
| $s4 | text | "SOFTWARE\\SogouDesktopBar" | |
| $s5 | text | "MozillaDll.dll" | |
| $s6 | text | "Tencent Files" | |
| $s7 | text | "wangwang" | |
| $s8 | text | "WeChat Files" | |
| $s9 | text | "MyDocument" | |
| $s10 | text | "Skype" | |
| $e1 | text | "AutoGetSystemInfo" | |
| $e2 | text | "GetConfigInfo" | |
| $e3 | text | "partInitOpt" |
Condition
uint16( 0 ) == 0x5a4d and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All 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: BlackBerry Threat Research Team
Source repository: BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767
Licence: Apache License 2.0 (stated in the rule's own meta)
“This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: d7fbf21b-9144-532a-ad5d-29543f0ffc33
Tags:FILE
Related rules
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-14
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- ARKBIRD_SOLG_MAL_Windealer_Oct_2021_2Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-10-30
- ARKBIRD_SOLG_MAL_Windealer_Oct_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-10-30
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-04-06
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-05-22