YARA · SEKOIA.IO Community
SEKOIA_Implant_Win_Havoc_Default_Strings
Finds Havoc implants based on the embedded default strings
- Autor
- Sekoia.io
- Fecha
- 2022-10-07
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Finds Havoc implants based on the embedded default strings
Familia de malware asociada: Havoc.
Objetivos: PE de Windows.
Define 9 patrones (9 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
implant-win-havoc-default-strings.yarDetection Rule License 1.1
rule SEKOIA_Implant_Win_Havoc_Default_Strings : FILE
{
meta:
= "Finds Havoc implants based on the embedded default strings"
= "Sekoia.io"
= "955c2211-4502-4258-ba4c-0d96a5624283"
= "2022-10-07"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_win_havoc_default_strings.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "dbf17e579071f265961657d73c6a2e51630b23e80376491df2e631cee5ffb1b4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "C:\\Windows\\System32\\notepad.exe" ascii
$str02 = "C:\\Windows\\SysWOW64\\notepad.exe" ascii
$str03 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36" ascii
$str04 = "POST" wide
$str05 = "\\??\\C:\\Windows\\System32\\ntdll.dll" wide
$str06 = "X-Havoc: true" ascii
$str07 = "X-Havoc-Agent: Demon" ascii
$str08 = "/text.gif" ascii
$str09 = "SeImpersonatePrivilege" ascii
condition:
uint16( 0 ) == 0x5A4D and 6 of them
}
Cadenas (9 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "C:\\Windows\\System32\\notepad.exe" | ascii |
| $str02 | texto | "C:\\Windows\\SysWOW64\\notepad.exe" | ascii |
| $str03 | texto | "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36" | ascii |
| $str04 | texto | "POST" | wide |
| $str05 | texto | "\\??\\C:\\Windows\\System32\\ntdll.dll" | wide |
| $str06 | texto | "X-Havoc: true" | ascii |
| $str07 | texto | "X-Havoc-Agent: Demon" | ascii |
| $str08 | texto | "/text.gif" | ascii |
| $str09 | texto | "SeImpersonatePrivilege" | ascii |
Condición
uint16( 0 ) == 0x5A4D and 6 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 6 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: 955c2211-4502-4258-ba4c-0d96a5624283
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- Herramienta ofensivaMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- Herramienta ofensivaEmbee Research· embee_research @ HuntressLabs· 2022-10-11
- Sospechoso / huntingditekSHen detection· ditekSHen· 2020-11-06
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20