YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Brbbot
Detects BrbBot
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects BrbBot
Familia de malware asociada: Brbbot.
Objetivos: PE de Windows.
Define 7 patrones (6 de texto, 1 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
malware-win-brbbot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Brbbot : FILE
{
meta:
= "Detects BrbBot"
= "ditekSHen"
= "d77dfdcf-4cd5-578e-99eb-c987e7b5b706"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8327-L8345"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "64df5bba698fbba1baf27eedb9a2eb46c5e0752996ea91900f8377200d54eeeb"
= 75
= 75
= "FILE"
= "920265"
strings:
$x1 = "brbconfig.tmp" fullword ascii
$x2 = "brbbot" fullword ascii
$s1 = "%s?i=%s&c=%s&p=%s" fullword ascii
$s2 = "exec" fullword ascii
$s3 = "CONFIG" fullword ascii wide
$s4 = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)" fullword ascii
$s5 = { 43 4f 4e 46 49 47 00 00 65 6e 63 6f 64 65 00 00
73 6c 65 65 70 00 00 00 65 78 69 74 00 00 00 00
63 6f 6e 66 00 00 00 00 66 69 6c 65 00 00 00 00
65 78 65 63 }
condition:
uint16( 0 ) == 0x5a4d and ( ( all of ( $x* ) and 1 of ( $s* ) ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or all of ( $s* ) )
}
Cadenas (7 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "brbconfig.tmp" | fullword ascii |
| $x2 | texto | "brbbot" | fullword ascii |
| $s1 | texto | "%s?i=%s&c=%s&p=%s" | fullword ascii |
| $s2 | texto | "exec" | fullword ascii |
| $s3 | texto | "CONFIG" | fullword ascii wide |
| $s4 | texto | "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)" | fullword ascii |
| $s5 | hex | { 43 4f 4e 46 49 47 00 00 65 6e 63 6f 64 65 00 00 73 6c 65 65 70 00 00 00 65 78 69 74 00 00 00 00 63 6f 6e 66 00 00 00 00 66 69 … |
Condición
uint16( 0 ) == 0x5a4d and ( ( all of ( $x* ) and 1 of ( $s* ) ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) or all of ( $s* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $x* ).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
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: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: d77dfdcf-4cd5-578e-99eb-c987e7b5b706
Metadatos
| snort_sid | 920265 |
|---|
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06