YARA · SEKOIA.IO Community
SEKOIA_Strongpity_Malware
Detects obfuscation used by StrongPity
- Autor
- Sekoia.io
- Fecha
- 2024-02-26
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detects obfuscation used by StrongPity
Familia de malware asociada: Strongpity.
Objetivos: PE de Windows.
Define 3 patrones (0 de texto, 3 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
strongpity-malware.yarDetection Rule License 1.1
rule SEKOIA_Strongpity_Malware : FILE
{
meta:
= "Detects obfuscation used by StrongPity"
= "Sekoia.io"
= "f19a685c-599d-42cf-a5d8-7a2375102f97"
= "2024-02-26"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/strongpity_malware.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "14be5eccb4e754d6dad69cda51a924241cc75f5d758bc2d746acfe41e1684b3a"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$rand_edi = {E8 ?? ?? ?? ?? 8B F8 81 E7 07 00 00 80 79 ?? 4F 83 CF F8 47 83 C7 02}
$rand_esi = {E8 ?? ?? ?? ?? 8B F0 81 E6 07 00 00 80 79 ?? 4E 83 CE F8 46 83 C6 02}
$rand_eax = {E8 ?? ?? ?? ?? 25 07 00 00 80 79 ?? 48 83 C8 F8 40 83 C0 02}
condition:
uint16be( 0 ) == 0x4d5a and #rand_edi + #rand_esi + #rand_eax > 20
}
Cadenas (3 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $rand_edi | hex | {E8 ?? ?? ?? ?? 8B F8 81 E7 07 00 00 80 79 ?? 4F 83 CF F8 47 83 C7 02} | |
| $rand_esi | hex | {E8 ?? ?? ?? ?? 8B F0 81 E6 07 00 00 80 79 ?? 4E 83 CE F8 46 83 C6 02} | |
| $rand_eax | hex | {E8 ?? ?? ?? ?? 25 07 00 00 80 79 ?? 48 83 C8 F8 40 83 C0 02} |
Condición
uint16be( 0 ) == 0x4d5a and #rand_edi + #rand_esi + #rand_eax > 20En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El patrón $rand_eax debe aparecer > 20 veces.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
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: f19a685c-599d-42cf-a5d8-7a2375102f97
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-01-16
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- 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