YARA · SEKOIA.IO Community
SEKOIA_Apt_Shadowpad_First_Called_Function
Detects entrypoint of shadowpad
- Author
- Sekoia.io
- Date
- 2023-01-30
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects entrypoint of shadowpad
Associated malware family: Shadowpad.
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-shadowpad-first-called-function.yarDetection Rule License 1.1
rule SEKOIA_Apt_Shadowpad_First_Called_Function : FILE
{
meta:
= "Detects entrypoint of shadowpad"
= "Sekoia.io"
= "3ce1ffd3-5c30-4b36-b7cc-c9fa873ebc25"
= "2023-01-30"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_shadowpad_first_called_function.yar#L1-L36"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "a40db3fad01f4177973fd50bd489e5c4ff6d3592dfff063c2c31694007c31e0b"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$chunk_1 = {
48 83 EC 28
33 C9
FF 15 ?? ?? ?? ??
8B 80 ?? ?? ?? ??
3B 05 ?? ?? ?? ??
74 ??
E8 ?? ?? ?? ??
E8 ?? ?? ?? ??
EB ??
48 8B 0D ?? ?? ?? ??
E8 ?? ?? ?? ??
8B C8
FF 15 ?? ?? ?? ??
90
B9 28 04 00 00
FF 15 ?? ?? ?? ??
90
48 83 C4 28
C3
}
condition:
uint16be( 0 ) == 0x4d5a and all of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $chunk_1 | hex | { 48 83 EC 28 33 C9 FF 15 ?? ?? ?? ?? 8B 80 ?? ?? ?? ?? 3B 05 ?? ?? ?? ?? 74 ?? E8 ?? ?? ?? ?? E … |
Condition
uint16be( 0 ) == 0x4d5a 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.
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: 3ce1ffd3-5c30-4b36-b7cc-c9fa873ebc25
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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