YARA · SEKOIA.IO Community
SEKOIA_Rat_Win_Dcrat_Qwqdanchun
Find DcRAT samples (qwqdanchun) based on specific strings
- Author
- Sekoia.io
- Date
- 2023-01-26
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Find DcRAT samples (qwqdanchun) based on specific strings
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rat-win-dcrat-qwqdanchun.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Dcrat_Qwqdanchun : FILE
{
meta:
= "Find DcRAT samples (qwqdanchun) based on specific strings"
= "Sekoia.io"
= "8206a410-48b3-425f-9dcb-7a528673a37a"
= "2023-01-26"
= "2024-12-19"
= "https://github.com/qwqdanchun/DcRat"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_dcrat_qwqdanchun.yar#L1-L28"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e6f8664e57ecce3bd7b2af5c67d564d526b32d12218b772b0e9f53709044e14d"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "DcRatByqwqdanchun" wide
$str02 = "U09GVFdBUkVcTWljcm9zb2Z0XFdpbmRvd3NcQ3VycmVudFZlcnNpb25cUnVuXA==" wide
$str03 = "Po_ng" wide
$str04 = "Pac_ket" wide
$str05 = "Perfor_mance" wide
$str06 = "Install_ed" wide
$str07 = "get_IsConnected" ascii
$str08 = "get_ActivatePo_ng" ascii
$str09 = "isVM_by_wim_temper" ascii
$str10 = "save_Plugin" wide
$str11 = "timeout 3 > NUL" wide
$str12 = "ProcessHacker.exe" wide
$str13 = "Select * from Win32_CacheMemory" wide
condition:
uint16( 0 ) == 0x5A4D and 8 of them
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "DcRatByqwqdanchun" | wide |
| $str02 | text | "U09GVFdBUkVcTWljcm9zb2Z0XFdpbmRvd3NcQ3VycmVudFZlcnNpb25cUnVuXA==" | wide |
| $str03 | text | "Po_ng" | wide |
| $str04 | text | "Pac_ket" | wide |
| $str05 | text | "Perfor_mance" | wide |
| $str06 | text | "Install_ed" | wide |
| $str07 | text | "get_IsConnected" | ascii |
| $str08 | text | "get_ActivatePo_ng" | ascii |
| $str09 | text | "isVM_by_wim_temper" | ascii |
| $str10 | text | "save_Plugin" | wide |
| $str11 | text | "timeout 3 > NUL" | wide |
| $str12 | text | "ProcessHacker.exe" | wide |
| $str13 | text | "Select * from Win32_CacheMemory" | wide |
Condition
uint16( 0 ) == 0x5A4D and 8 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 8 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: 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: 8206a410-48b3-425f-9dcb-7a528673a37a
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20