YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Mal_Babbleloader_Win_Jan24
This rule detects intrinsic patterns of BabbleLoader.
- Autor
- 0x0d4y
- Fecha
- 2025-01-27
- Modificada
- 2026-05-15
- Puntuación / Calidad
- 100 / 85
Qué detecta esta regla
This rule detects intrinsic patterns of BabbleLoader.
Objetivos: PE de Windows.
Define 5 patrones (0 de texto, 5 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_Mal_Babbleloader_Win_Jan24 : FILE
{
meta:
= "This rule detects intrinsic patterns of BabbleLoader."
= "0x0d4y"
= "b2f18ab3-b4df-4e2f-aa23-de8694beb221"
= "2025-01-27"
= "2026-05-15"
= "https://0x0d4y.blog/babbleloader-technical-malware-analysis/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_babbleloader_win_jan24.yar#L1-L24"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "fa3d03c319a7597712eeff1338dabf92"
= "d4f7915146b1f3fe50febc231247e14323e9d68a94b2b9c8149a5727c06162ca"
= 100
= 85
= "FILE"
= "CC BY 4.0"
= "TLP:WHITE"
= "TLP:WHITE"
strings:
$str_decryption_algorithm = { 48 63 44 24 ?? 48 8b 4c 24 ?? 0f b6 04 ?? 33 44 ?? ?? 0f b6 4c ?? ?? d2 c8 48 63 4c ?? ?? 48 8b 54 ?? ?? 88 04 0a 6b 44 24 ?? ?? 89 44 ?? ?? 8b 44 24 ?? ff c0 89 44 24 }
$hashing_algorithm = { 48 8b 44 24 ?? 0f be ?? 89 44 24 ?? 8b 44 24 ?? 89 44 24 ?? 48 8b 44 24 ?? 48 ff c0 48 89 44 24 ?? 83 7c 24 08 ?? ?? ?? 8b 44 24 ?? 8b 0c ?? 03 c8 8b c1 89 04 24 8b 44 24 ?? 05 ?? ?? ?? ?? 8b 0c 24 0f af c8 8b c1 89 04 }
$halos_gate = { 48 8b 44 24 ?? 0f b6 ?? 83 f8 4c 0f ?? ?? ?? ?? ?? 48 8b 44 ?? ?? 0f b6 ?? ?? 3d 8b ?? ?? ?? 75 ?? 48 8b 44 ?? ?? 0f b6 40 ?? 3d d1 ?? ?? ?? 75 ?? 48 8b 44 ?? ?? 0f b6 40 ?? 3d b8 ?? ?? ?? 75 ?? 48 8b 44 ?? ?? 0f b6 40 ?? 85 c0 75 ?? 48 8b 44 ?? ?? 0f b6 40 ?? 85c0 75 ?? 48 8b 44 ?? ?? 0f b6 40 ?? 88 44 ?? ?? 48 8b 44 24 ?? 0f b6 40 ?? 88 44 ?? ?? 0f b6 44 ?? ?? c1 e0 08 0f b6 4c ?? ?? 0b c1 48 8b 8c ?? ?? ?? ?? ?? 89 01 ?? ?? ?? ?? ?? 48 8b 44 ?? ?? 0f b6 00 3d e9 }
$get_syscall_offset = { 4d 33 db 4c 8b d9 c3 }
$jump_syscall_offset = { 4c 8b d1 41 8b 03 41 ff 63 ?? }
condition:
uint16( 0 ) == 0x5a4d and $str_decryption_algorithm and $hashing_algorithm and ( 1 of ( $halos_gate , $get_syscall_offset , $jump_syscall_offset ) )
}
Cadenas (5 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str_decryption_algorithm | hex | { 48 63 44 24 ?? 48 8b 4c 24 ?? 0f b6 04 ?? 33 44 ?? ?? 0f b6 4c ?? ?? d2 c8 48 63 4c ?? ?? 48 8b 54 ?? ?? 88 04 0a 6b 44 24 ?? ?? 89 44 ?? ?? 8b 44 24 ?? ff c0 … | |
| $hashing_algorithm | hex | { 48 8b 44 24 ?? 0f be ?? 89 44 24 ?? 8b 44 24 ?? 89 44 24 ?? 48 8b 44 24 ?? 48 ff c0 48 89 44 24 ?? 83 7c 24 08 ?? ?? ?? 8b 44 24 ?? 8b 0c ?? 03 c8 8b c1 89 04 … | |
| $halos_gate | hex | { 48 8b 44 24 ?? 0f b6 ?? 83 f8 4c 0f ?? ?? ?? ?? ?? 48 8b 44 ?? ?? 0f b6 ?? ?? 3d 8b ?? ?? ?? 75 ?? 48 8b 44 ?? ?? 0f b6 40 ?? 3d d1 ?? ?? ?? 75 ?? 48 8b 44 ?? … | |
| $get_syscall_offset | hex | { 4d 33 db 4c 8b d9 c3 } | |
| $jump_syscall_offset | hex | { 4c 8b d1 41 8b 03 41 ff 63 ?? } |
Condición
uint16( 0 ) == 0x5a4d and $str_decryption_algorithm and $hashing_algorithm and ( 1 of ( $halos_gate , $get_syscall_offset , $jump_syscall_offset ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 1 patrones de ( $halos_gate , $get_syscall_offset , $jump_syscall_offset ).
- El patrón $str_decryption_algorithm debe estar presente.
- El patrón $hashing_algorithm debe estar presente.
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).
- fa3d03c319a7597712eeff1338dabf92
Licencia y atribución
Autor: 0x0d4y
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Creative Commons Attribution 4.0 (indicada en los metadatos de la regla)
“CC BY 4.0”
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: b2f18ab3-b4df-4e2f-aa23-de8694beb221
Metadatos
| rule_matching_tlp | TLP:WHITE |
|---|---|
| rule_sharing_tlp | TLP:WHITE |
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-16
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-16
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-13
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2025-06-18