YARA · SEKOIA.IO Community
SEKOIA_Apt_Mustangpanda_Decrypt_Payload
Detects the decryption routine of DAT file
- Author
- Sekoia.io
- Date
- 2022-12-08
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects the decryption routine of DAT file
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-mustangpanda-decrypt-payload.yarDetection Rule License 1.1
rule SEKOIA_Apt_Mustangpanda_Decrypt_Payload : FILE
{
meta:
= "Detects the decryption routine of DAT file"
= "Sekoia.io"
= "7b954007-0929-454d-8a10-05279a337f1b"
= "2022-12-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_mustangpanda_decrypt_payload.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "dcc32580e351e605d21dc29558764c6fd85f8a9506de8e78f301459a5a2610b7"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$chunk_1 = {
85 ??
74 ??
8B ??
D1 EA
A1 ?? ?? ?? ??
03 C2
A3 ?? ?? ?? ??
30 04 29
41
3B ??
72 EC
}
condition:
filesize < 8MB and all of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $chunk_1 | hex | { 85 ?? 74 ?? 8B ?? D1 EA A1 ?? ?? ?? ?? 03 C2 A3 ?? ?? ?? ?? 30 04 29 41 3B ?? … |
Condition
filesize < 8MB and all of themIn plain words (Heuristic)
- The file must be smaller than 8MB (a cheap guard that skips large files).
- 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.
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: 7b954007-0929-454d-8a10-05279a337f1b
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