YARA · SEKOIA.IO Community
SEKOIA_Loader_Amadey_Stealer_Plugin
Finds Amadey's stealer plugin based on characteristic strings
- Autor
- Sekoia.io
- Fecha
- 2023-05-16
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Finds Amadey's stealer plugin based on characteristic strings
Familia de malware asociada: Amadey.
Objetivos: PE de Windows.
Define 13 patrones (13 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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
}
Cadenas (13 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "STEALERDLL.dll" | ascii |
| $str02 | texto | "?wal=1" | fullword ascii |
| $str03 | texto | "Content-Disposition: form-data; name=\"data\"; filename=\"" | ascii |
| $str04 | texto | "tar.exe -cf \"" | ascii |
| $str05 | texto | "SELECT origin_url, username_value, password_value FROM logins" | ascii |
| $str06 | texto | "\\Google\\Chrome\\User Data\\Default\\Login Data" | ascii |
| $str07 | texto | "\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data" | ascii |
| $str08 | texto | "\\Mozilla\\Firefox\\Profiles\\" | ascii |
| $str09 | texto | "\"hostname\":\"([^\"]+)\"" | ascii |
| $str10 | texto | "\"encryptedUsername\":\"([^\"]+)\"" | ascii |
| $str11 | texto | "\"encryptedPassword\":\"([^\"]+)\"" | ascii |
| $str12 | texto | "&cred=" | fullword ascii |
| $str13 | texto | "D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb" | ascii |
Condición
uint16( 0 ) == 0x5A4D and 7 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 7 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 50154e39-98b3-40e5-8986-18bbb7b15647
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- 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
- Sospechoso / huntingditekSHen detection· ditekSHen· 2020-11-06
- Sospechoso / huntingditekSHen detection· ditekSHen· 2020-11-06
- Sospechoso / huntingditekSHen detection· ditekShen· 2021-01-21