YARA · SEKOIA.IO Community
SEKOIA_Apt_Blackwood_Nspx30_Plugin
Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string
- Autor
- Sekoia.io
- Fecha
- 2024-01-29
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 76
Qué detecta esta regla
Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string
Familia de malware asociada: Nspx30.
Objetivos: PE de Windows.
Define 3 patrones (1 de texto, 2 hex, 0 regex).
YARA-X dice: warning[text_as_hex]: hex pattern could be written as text literal
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SEKOIA_Apt_Blackwood_Nspx30_Plugin : FILE
{
meta:
= "Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string"
= "Sekoia.io"
= "ef8e0d51-c78c-426b-8008-910e27546f23"
= "2024-01-29"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_blackwood_nspx30_plugin.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "cf7c232a5a817ff5c0da04744abf99ed2fcea587e3e6f6e8bf3aef7ca8f2b51b"
= 75
= 76
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = {2E 3F 41 56 43 43 61 62 69 6E 65 74 40 40}
$s2 = {2E 3F 41 56 43 45 6E 63 6F 64 65 72 40 40}
$s3 = "rundll32.exe \"%hs\",#1" wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of them
}
Cadenas (3 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | hex | {2E 3F 41 56 43 43 61 62 69 6E 65 74 40 40} | |
| $s2 | hex | {2E 3F 41 56 43 45 6E 63 6F 64 65 72 40 40} | |
| $s3 | texto | "rundll32.exe \"%hs\",#1" | wide |
Condición
uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 1MB (un límite barato que descarta archivos grandes).
- 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.
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: ef8e0d51-c78c-426b-8008-910e27546f23
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-06-11