YARA · SEKOIA.IO Community
SEKOIA_Loader_Amadey_Stealer_Plugin
Finds Amadey's stealer plugin based on characteristic strings
- Author
- Sekoia.io
- Date
- 2023-05-16
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Amadey's stealer plugin based on characteristic strings
Associated malware family: Amadey.
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
loader-amadey-stealer-plugin.yarDetection Rule License 1.1
rule SEKOIA_Loader_Amadey_Stealer_Plugin : FILE
{
meta:
= "Finds Amadey's stealer plugin based on characteristic strings"
= "Sekoia.io"
= "50154e39-98b3-40e5-8986-18bbb7b15647"
= "2023-05-16"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_amadey_stealer_plugin.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "0410492f9424797b670a14f43ce063458e59d7958e213c07c3d488a40bf370e6"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "STEALERDLL.dll" ascii
$str02 = "?wal=1" fullword ascii
$str03 = "Content-Disposition: form-data; name=\"data\"; filename=\"" ascii
$str04 = "tar.exe -cf \"" ascii
$str05 = "SELECT origin_url, username_value, password_value FROM logins" ascii
$str06 = "\\Google\\Chrome\\User Data\\Default\\Login Data" ascii
$str07 = "\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data" ascii
$str08 = "\\Mozilla\\Firefox\\Profiles\\" ascii
$str09 = "\"hostname\":\"([^\"]+)\"" ascii
$str10 = "\"encryptedUsername\":\"([^\"]+)\"" ascii
$str11 = "\"encryptedPassword\":\"([^\"]+)\"" ascii
$str12 = "&cred=" fullword ascii
$str13 = "D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb" ascii
condition:
uint16( 0 ) == 0x5A4D and 7 of them
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "STEALERDLL.dll" | ascii |
| $str02 | text | "?wal=1" | fullword ascii |
| $str03 | text | "Content-Disposition: form-data; name=\"data\"; filename=\"" | ascii |
| $str04 | text | "tar.exe -cf \"" | ascii |
| $str05 | text | "SELECT origin_url, username_value, password_value FROM logins" | ascii |
| $str06 | text | "\\Google\\Chrome\\User Data\\Default\\Login Data" | ascii |
| $str07 | text | "\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data" | ascii |
| $str08 | text | "\\Mozilla\\Firefox\\Profiles\\" | ascii |
| $str09 | text | "\"hostname\":\"([^\"]+)\"" | ascii |
| $str10 | text | "\"encryptedUsername\":\"([^\"]+)\"" | ascii |
| $str11 | text | "\"encryptedPassword\":\"([^\"]+)\"" | ascii |
| $str12 | text | "&cred=" | fullword ascii |
| $str13 | text | "D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb" | ascii |
Condition
uint16( 0 ) == 0x5A4D and 7 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 7 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: 50154e39-98b3-40e5-8986-18bbb7b15647
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-17
- 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