YARA · CAPE Sandbox (CAPEv2)
CAPE_Qakbot5_1
QakBot WMI anti-anti-vm
- Autor
- kevoreilly
- Fecha
- 2022-03-16
- Modificada
- 2024-02-16
- Puntuación / Calidad
- 75 / 70
Qué detecta esta regla
QakBot WMI anti-anti-vm
Familia de malware asociada: Qakbot.
Objetivos: PE de Windows.
Define 2 patrones (0 de texto, 2 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule CAPE_Qakbot5_1 : FILE
{
meta:
= "QakBot WMI anti-anti-vm"
= "kevoreilly"
= "d287b043-15df-5865-ad4c-9eb64ceec04c"
= "2022-03-16"
= "2024-02-16"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/QakBot.yar#L1-L13"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "303ea2d8d1a7f0fd0ca5508dae2c1b83c03b1e3e975760f15d36d93bcc152767"
= 75
= 70
= "FILE"
= "bp0=$loop+35,action0=skip,count=0"
= "f4bb0089dcf3629b1570fda839ef2f06c29cbf846c5134755d22d419015c8bd2"
strings:
$loop = {8B 75 ?? 48 8B 4C [2] FF 15 [4] 48 8B 4C [2] 48 8B 01 FF 50 ?? 8B DE 48 8B 4C [2] 48 85 C9 0F 85 [4] EB 4E}
$conf = {0F B7 1D [4] B9 [2] 00 00 E8 [4] 8B D3 48 89 45 ?? 45 33 C9 48 8D 0D [4] 4C 8B C0 48 8B F8 E8}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Cadenas (2 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $loop | hex | {8B 75 ?? 48 8B 4C [2] FF 15 [4] 48 8B 4C [2] 48 8B 01 FF 50 ?? 8B DE 48 8B 4C [2] 48 85 C9 0F 85 [4] EB 4E} | |
| $conf | hex | {0F B7 1D [4] B9 [2] 00 00 E8 [4] 8B D3 48 89 45 ?? 45 33 C9 48 8D 0D [4] 4C 8B C0 48 8B F8 E8} |
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: d287b043-15df-5865-ad4c-9eb64ceec04c
Metadatos
| cape_options | bp0=$loop+35,action0=skip,count=0 |
|---|---|
| packed | f4bb0089dcf3629b1570fda839ef2f06c29cbf846c5134755d22d419015c8bd2 |
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