YARA · CAPE Sandbox (CAPEv2)
CAPE_Qakbot4_1
QakBot Config Extraction
- Autor
- kevoreilly
- Fecha
- 2022-03-16
- Modificada
- 2024-02-16
- Puntuación / Calidad
- 75 / 70
Qué detecta esta regla
QakBot Config Extraction
Familia de malware asociada: Qakbot.
Objetivos: PE de Windows.
Define 4 patrones (0 de texto, 4 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule CAPE_Qakbot4_1 : FILE
{
meta:
= "QakBot Config Extraction"
= "kevoreilly"
= "401184cf-bbd7-5afe-9589-470f54721af1"
= "2022-03-16"
= "2024-02-16"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/QakBot.yar#L15-L29"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "ad75b07b9b786f634fd46cbe6dc089d3f732673320e70714e8ab058f0392c9f5"
= 75
= 70
= "FILE"
= "bp0=$params+23,action0=setdump:eax::ecx,bp1=$c2list1+40,bp1=$c2list2+38,action1=dump,bp2=$conf+13,action2=dump,count=1,typestring=QakBot Config"
= "f084d87078a1e4b0ee208539c53e4853a52b5698e98f0578d7c12948e3831a68"
strings:
$params = {8B 7D ?? 8B F1 57 89 55 ?? E8 [4] 8D 9E [2] 00 00 89 03 59 85 C0 75 08 6A FC 58 E9}
$c2list1 = {59 59 8D 4D D8 89 45 E0 E8 [4] 8B 45 E0 85 C0 74 ?? 8B 90 [2] 00 00 51 8B 88 [2] 00 00 6A 00 E8}
$c2list2 = {59 59 8B F8 8D 4D ?? 89 7D ?? E8 [4] 85 FF 74 52 8B 97 [2] 00 00 51 8B 8F [2] 00 00 53 E8}
$conf = {5F 5E 5B C9 C3 51 6A 00 E8 [4] 59 59 85 C0 75 01 C3}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $params | hex | {8B 7D ?? 8B F1 57 89 55 ?? E8 [4] 8D 9E [2] 00 00 89 03 59 85 C0 75 08 6A FC 58 E9} | |
| $c2list1 | hex | {59 59 8D 4D D8 89 45 E0 E8 [4] 8B 45 E0 85 C0 74 ?? 8B 90 [2] 00 00 51 8B 88 [2] 00 00 6A 00 E8} | |
| $c2list2 | hex | {59 59 8B F8 8D 4D ?? 89 7D ?? E8 [4] 85 FF 74 52 8B 97 [2] 00 00 51 8B 8F [2] 00 00 53 E8} | |
| $conf | hex | {5F 5E 5B C9 C3 51 6A 00 E8 [4] 59 59 85 C0 75 01 C3} |
Condición
uint16( 0 ) == 0x5A4D and any of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Debe coincidir al menos un patrón 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: kevoreilly
Repositorio de origen: CAPE Sandbox (CAPEv2) @ 6b15e76f28
Licencia: GNU General Public License v3.0 (licencia del repositorio)
Aviso de copyright: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.
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: 401184cf-bbd7-5afe-9589-470f54721af1
Metadatos
| cape_options | bp0=$params+23,action0=setdump:eax::ecx,bp1=$c2list1+40,bp1=$c2list2+38,action1=dump,bp2=$conf+13,action2=dump,count=1,typestring=QakBot Config |
|---|---|
| packed | f084d87078a1e4b0ee208539c53e4853a52b5698e98f0578d7c12948e3831a68 |
Etiquetas:FILE
Reglas relacionadas
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-16
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-16
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-16
- MalwareSignature Base (Florian Roth / Nextron)· kevoreilly· 2023-02-17
- MalwareEmbee Research· @Embee_Research· 2022-11-14
- MalwareEmbee Research· Embee_Research @ Huntress· 2022-11-14
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31