YARA · SEKOIA.IO Community
SEKOIA_Loader_Amadey_Standalone_May23
Finds standalone samples of Amadey based on characteristic strings
- Author
- Sekoia.io
- Date
- 2023-05-17
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds standalone samples of Amadey based on characteristic strings
Associated malware family: Amadey.
Targets: Windows PE.
It defines 2 patterns (1 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
loader-amadey-standalone-may23.yarDetection Rule License 1.1
rule SEKOIA_Loader_Amadey_Standalone_May23 : FILE
{
meta:
= "Finds standalone samples of Amadey based on characteristic strings"
= "Sekoia.io"
= "5013586c-5ac3-4c1a-a82e-edce4889eedc"
= "2023-05-17"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_amadey_standalone_may23.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "40d2d7a52066ca4e1a65c82ebfa882a77616a1c68f1d315946ab14467787d468"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "\\Amadey\\Release\\Amadey.pdb" ascii
$hex01 = { 6E 74 64 6C 6C 2E 64 6C 6C 00 00 00 72 75 6E 61 73 }
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "\\Amadey\\Release\\Amadey.pdb" | ascii |
| $hex01 | hex | { 6E 74 64 6C 6C 2E 64 6C 6C 00 00 00 72 75 6E 61 73 } |
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.
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: 5013586c-5ac3-4c1a-a82e-edce4889eedc
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-05-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-05-16
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2025-06-18
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly, YungBinary· 2021-02-18
- Suspicious / huntingditekSHen detection· ditekSHen· 2020-11-06
- Suspicious / huntingditekSHen detection· ditekSHen· 2020-11-06
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21