YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Mal_Lockbit4_Hashing_Alg_Win_Feb24
This rule detects the custom hashing algorithm of Lockbit4.0 unpacked
- Autor
- 0x0d4y
- Fecha
- 2024-02-16
- Modificada
- 2026-05-15
- Puntuación / Calidad
- 100 / 85
Qué detecta esta regla
This rule detects the custom hashing algorithm of Lockbit4.0 unpacked
Familia de malware asociada: Lockbit.
Objetivos: PE de Windows.
Define 1 patrones (0 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_Mal_Lockbit4_Hashing_Alg_Win_Feb24 : FILE
{
meta:
= "This rule detects the custom hashing algorithm of Lockbit4.0 unpacked"
= "0x0d4y"
= "e91aedba-6f70-4ca2-9217-2991cbbc6e8d"
= "2024-02-16"
= "2026-05-15"
= "https://0x0d4y.blog/lockbit4-0-evasion-tales/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_lockbit4_hashing_alg_win_feb24.yar#L1-L22"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "062311f136d83f64497fd81297360cd4"
= "41497ea30a4cfdd111726a5819ec404a1eeba1693f5d6b89ac38558eb1c6bde9"
= 100
= 85
= "FILE"
= "CC BY 4.0"
= "TLP:WHITE"
= "TLP:WHITE"
= "win.lockbit"
strings:
$hashing_alg = { 41 89 d0 46 0f be 04 00 45 09 c0 74 ?? 45 8d 48 ?? 45 8d 50 ?? 41 80 f9 ?? 45 0f 43 d0 44 31 d1 44 8d 04 3a 45 0f af c2 41 01 c8 89 d1 31 f9 09 d2 0f 44 ca 41 0f af c8 44 01 d1 ff c2 eb ?? 49 ff c6 }
condition:
uint16( 0 ) == 0x5a4d and $hashing_alg
}
Cadenas (1 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $hashing_alg | hex | { 41 89 d0 46 0f be 04 00 45 09 c0 74 ?? 45 8d 48 ?? 45 8d 50 ?? 41 80 f9 ?? 45 0f 43 d0 44 31 d1 44 8d 04 3a 45 0f af c2 41 01 c8 89 d1 31 f9 09 d2 0f 44 ca 41 … |
Condición
uint16( 0 ) == 0x5a4d and $hashing_algEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El patrón $hashing_alg 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).
- 062311f136d83f64497fd81297360cd4
Licencia y atribución
Autor: 0x0d4y
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Creative Commons Attribution 4.0 (indicada en los metadatos de la regla)
“CC BY 4.0”
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: e91aedba-6f70-4ca2-9217-2991cbbc6e8d
Metadatos
| rule_matching_tlp | TLP:WHITE |
|---|---|
| rule_sharing_tlp | TLP:WHITE |
| malpedia_family | win.lockbit |
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-16
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23