YARA · SEKOIA.IO Community
SEKOIA_Stealer_Win_Mgbot_Credential_Stealer
Detect MgBot credential stealer plugin
- Autor
- Sekoia.io
- Fecha
- 2024-03-20
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detect MgBot credential stealer plugin
Familia de malware asociada: Mgbot.
Objetivos: PE de Windows.
Define 4 patrones (4 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_Stealer_Win_Mgbot_Credential_Stealer : FILE
{
meta:
= "Detect MgBot credential stealer plugin"
= "Sekoia.io"
= "e06501c1-c842-43f7-a429-9026bc0a4fd4"
= "2024-03-20"
= "2024-12-19"
= "https://www.welivesecurity.com/2023/04/26/evasive-panda-apt-group-malware-updates-popular-chinese-software/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/stealer_win_mgbot_credential_stealer.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "174a62201c7e2af67b7ad37bf7935f064a379f169cf257ca16e912a46ecc9841"
= "cb7d9feda7d8ebfba93ec428d5a8a4382bf58e5a70e4b51eb1938d2691d5d4a5"
= "27f1b0ac818753804f0e67ac158d9376ab6beff8613ef94a1aa6cf8dd6815d49"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "Software\\Aerofox\\Foxmail\\Indenties" wide
$ = "Software\\Aerofox\\FoxmailPreview" wide
$ = "IMAP Password" wide
$ = "POP3 Password" wide
condition:
uint16be( 0 ) == 0x4d5a and all of them
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | "Software\\Aerofox\\Foxmail\\Indenties" | wide |
| $ | texto | "Software\\Aerofox\\FoxmailPreview" | wide |
| $ | texto | "IMAP Password" | wide |
| $ | texto | "POP3 Password" | wide |
Condición
uint16be( 0 ) == 0x4d5a and all of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los 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.
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 174a62201c7e2af67b7ad37bf7935f064a379f169cf257ca16e912a46ecc9841
- cb7d9feda7d8ebfba93ec428d5a8a4382bf58e5a70e4b51eb1938d2691d5d4a5
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: e06501c1-c842-43f7-a429-9026bc0a4fd4
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20