YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_Bluehammer_Apr26
Detects Nightmare-Eclipse/BlueHammer (FunnyApp), a Windows local privilege escalation PoC that abuses a Defender signature-update RPC and a junction/symlink race to leak the SAM hive and derive NTLM hashes - giving an unprivileged user full SYSTEM-level credential access.
- Autor
- AzizFarghly (Nextron-Systems)
- Fecha
- 2026-04-07
- Modificada
- 2026-05-15
- Puntuación / Calidad
- 90 / 85
Qué detecta esta regla
Detects Nightmare-Eclipse/BlueHammer (FunnyApp), a Windows local privilege escalation PoC that abuses a Defender signature-update RPC and a junction/symlink race to leak the SAM hive and derive NTLM hashes - giving an unprivileged user full SYSTEM-level credential access.
Objetivos: PE de Windows.
Define 6 patrones (5 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
rule SIGNATURE_BASE_HKTL_Bluehammer_Apr26 : FILE
{
meta:
= "Detects Nightmare-Eclipse/BlueHammer (FunnyApp), a Windows local privilege escalation PoC that abuses a Defender signature-update RPC and a junction/symlink race to leak the SAM hive and derive NTLM hashes - giving an unprivileged user full SYSTEM-level credential access."
= "AzizFarghly (Nextron-Systems)"
= "595bf733-b287-5048-88e2-b88caffc7a5d"
= "2026-04-07"
= "2026-05-15"
= "https://github.com/Nightmare-Eclipse/BlueHammer"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/htkl_blue_hammer_tool.yar#L1-L35"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6514f56223999eb86a19ea9f2abbfb0f407934a1a0694ffb94a8ea37113073f4"
= "93008c42764b74b759678fd376abd90696f74af408600727b6649286d8424270"
= "b25e903988e530df00658ff3ad6d180e43d6660b705ad6d0def4a29ee1167e52"
= "82eb727e2a2b3334a70fa2d357ba4f44dc989a650a6a18222dd5d1bb1444b496"
= "b33f3f31c83fc655952fab73d72b673b92ed4f205daee56444903201316cfc4a"
= "c6baa5ec9ea2c2802a90acad5a53453d176a02e04a31ac8e9b7b34b5e3329b84"
= "552dba31a446e96416738d84d4366503c397ba508a732719531c89a41abf3704"
= "c9bec499db6a0a2165bcd2a211c8887e5fadf954eb9a2e5d3c6ca833e4a5ef64"
= "fa5f566895d158f1ae07f282fc19516792e620855a9485026ab05f359c48f670"
= 90
= 85
= "FILE"
strings:
$x1 = "Junction created %ws => %ws"
$x2 = "connect to windows defender RPC port !!!"
$s1 = "\\System32\\Config\\SAM" wide
$s2 = "IMpService77BDAF73-B396-481F-9042-AD358843EC24" wide
$s3 = "ServerMpUpdateEngineSignature"
$op1 = { 8D 47 02 66 89 43 0C 66 C7 43 0E 02 00 48 8B C7 48 D1 E8 66 44 89 7C 43 12 }
condition:
uint16( 0 ) == 0x5A4D and filesize < 7MB and ( 1 of ( $x* ) or all of ( $s* ) or $op1 ) or 3 of them
}
Cadenas (6 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "Junction created %ws => %ws" | |
| $x2 | texto | "connect to windows defender RPC port !!!" | |
| $s1 | texto | "\\System32\\Config\\SAM" | wide |
| $s2 | texto | "IMpService77BDAF73-B396-481F-9042-AD358843EC24" | wide |
| $s3 | texto | "ServerMpUpdateEngineSignature" | |
| $op1 | hex | { 8D 47 02 66 89 43 0C 66 C7 43 0E 02 00 48 8B C7 48 D1 E8 66 44 89 7C 43 12 } |
Condición
uint16( 0 ) == 0x5A4D and filesize < 7MB and ( 1 of ( $x* ) or all of ( $s* ) or $op1 ) or 3 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 7MB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 3 patrones de la regla.
- El patrón $op1 debe estar presente.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 6514f56223999eb86a19ea9f2abbfb0f407934a1a0694ffb94a8ea37113073f4
- 93008c42764b74b759678fd376abd90696f74af408600727b6649286d8424270
- b25e903988e530df00658ff3ad6d180e43d6660b705ad6d0def4a29ee1167e52
- 82eb727e2a2b3334a70fa2d357ba4f44dc989a650a6a18222dd5d1bb1444b496
- b33f3f31c83fc655952fab73d72b673b92ed4f205daee56444903201316cfc4a
- c6baa5ec9ea2c2802a90acad5a53453d176a02e04a31ac8e9b7b34b5e3329b84
- 552dba31a446e96416738d84d4366503c397ba508a732719531c89a41abf3704
- c9bec499db6a0a2165bcd2a211c8887e5fadf954eb9a2e5d3c6ca833e4a5ef64
Licencia y atribución
Autor: AzizFarghly (Nextron-Systems)
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 595bf733-b287-5048-88e2-b88caffc7a5d
Etiquetas:FILE