YARA · SEKOIA.IO Community
SEKOIA_Apt_Buhtrap_Maldocx
Detect the malicious DOCX used by Buhtrap
- Autor
- Sekoia.io
- Fecha
- 2022-02-25
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detect the malicious DOCX used by Buhtrap
Familia de malware asociada: Buhtrap.
Define 11 patrones (11 de texto, 0 hex, 0 regex).
YARA-X dice: warning[duplicate_pattern_value]: duplicate pattern value
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
apt-buhtrap-maldocx.yarDetection Rule License 1.1
rule SEKOIA_Apt_Buhtrap_Maldocx
{
meta:
= "Detect the malicious DOCX used by Buhtrap"
= "Sekoia.io"
= "4aaba2f1-fafd-4e3f-8b18-7beda11464d1"
= "2022-02-25"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_buhtrap_maldocx.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "69968fa6836a71cd835f40c5168d197d3b5fc13b62791279f48a6bdeb4709bd5"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$ = "<xm:macrosheet xmlns=" ascii fullword
$ = "CALL(\"kernel32\",\"VirtualFree"
$ = "CALL(\"kernel32\",\"CreateFileA"
$ = "CALL(\"kernel32\",\"WriteFile"
$ = "CALL(\"kernel32\",\"VirtualAlloc"
$ = "CALL(\"kernel32\",\"WinExec"
$ = "CALL(\"kernel32\",\"lstrcatA"
$ = "CALL(\"kernel32\",\"CreateFileA"
$ = "CALL(\"kernel32\",\"VirtualFree"
$ = "CALL(\"kernel32\",\"ExpandEnvironmentStringsA"
$ = "CALL(\"kernel32\",\"CloseHandle"
condition:
all of them
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | "<xm:macrosheet xmlns=" | ascii fullword |
| $ | texto | "CALL(\"kernel32\",\"VirtualFree" | |
| $ | texto | "CALL(\"kernel32\",\"CreateFileA" | |
| $ | texto | "CALL(\"kernel32\",\"WriteFile" | |
| $ | texto | "CALL(\"kernel32\",\"VirtualAlloc" | |
| $ | texto | "CALL(\"kernel32\",\"WinExec" | |
| $ | texto | "CALL(\"kernel32\",\"lstrcatA" | |
| $ | texto | "CALL(\"kernel32\",\"CreateFileA" | |
| $ | texto | "CALL(\"kernel32\",\"VirtualFree" | |
| $ | texto | "CALL(\"kernel32\",\"ExpandEnvironmentStringsA" | |
| $ | texto | "CALL(\"kernel32\",\"CloseHandle" |
Condición
all of themEn palabras sencillas (Heurística)
- 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.
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: 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: 4aaba2f1-fafd-4e3f-8b18-7beda11464d1
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
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