YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_NK_Lazarus_VHD_Ransomware_Oct20_1
Detects Lazarus VHD Ransomware
- Autor
- Florian Roth (Nextron Systems)
- Fecha
- 2020-10-05
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
Detects Lazarus VHD Ransomware
Familia de malware asociada: Vhd Ransomware.
Objetivos: PE de Windows.
Define 6 patrones (3 de texto, 3 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_APT_MAL_NK_Lazarus_VHD_Ransomware_Oct20_1 : FILE
{
meta:
= "Detects Lazarus VHD Ransomware"
= "Florian Roth (Nextron Systems)"
= "5cb3c136-ec5c-5596-8dcc-e4c6ef33050a"
= "2020-10-05"
= "2023-12-05"
= "https://securelist.com/lazarus-on-the-hunt-for-big-game/97757/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_lazarus_vhd_ransomware.yar#L2-L24"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "52888b5f881f4941ae7a8f4d84de27fc502413861f96ee58ee560c09c11880d6"
= "5e78475d10418c6938723f6cfefb89d5e9de61e45ecf374bb435c1c99dd4a473"
= "6cb9afff8166976bd62bb29b12ed617784d6e74b110afcf8955477573594f306"
= "95c56c5111bb227da8f8a3f8aa4f23e1348bc76ff76a05fc3cae89f9fad1bb52"
= 75
= 85
= "FILE"
strings:
$s1 = "HowToDecrypt.txt" wide fullword
$s2 = "rsa.cpp" wide fullword
$s3 = "sc stop \"Microsoft Exchange Compliance Service\"" ascii fullword
$op1 = { 8b 8d bc fc ff ff 8b 94 bd 34 03 00 00 33 c0 50 }
$op2 = { 8b 8d 98 f9 ff ff 8d 64 24 00 8b 39 3b bc 85 34 }
$op3 = { 8b 94 85 34 03 00 00 89 11 40 83 c1 04 3b 06 7c }
condition:
uint16( 0 ) == 0x5a4d and filesize < 400KB and 2 of them
}
Cadenas (6 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "HowToDecrypt.txt" | wide fullword |
| $s2 | texto | "rsa.cpp" | wide fullword |
| $s3 | texto | "sc stop \"Microsoft Exchange Compliance Service\"" | ascii fullword |
| $op1 | hex | { 8b 8d bc fc ff ff 8b 94 bd 34 03 00 00 33 c0 50 } | |
| $op2 | hex | { 8b 8d 98 f9 ff ff 8d 64 24 00 8b 39 3b bc 85 34 } | |
| $op3 | hex | { 8b 94 85 34 03 00 00 89 11 40 83 c1 04 3b 06 7c } |
Condición
uint16( 0 ) == 0x5a4d and filesize < 400KB and 2 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 400KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 2 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.
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).
- 52888b5f881f4941ae7a8f4d84de27fc502413861f96ee58ee560c09c11880d6
- 5e78475d10418c6938723f6cfefb89d5e9de61e45ecf374bb435c1c99dd4a473
- 6cb9afff8166976bd62bb29b12ed617784d6e74b110afcf8955477573594f306
Licencia y atribución
Autor: Florian Roth (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: 5cb3c136-ec5c-5596-8dcc-e4c6ef33050a
Etiquetas:FILE
Reglas relacionadas
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-05
- APT / actorSEKOIA.IO Community· Sekoia.io· 2022-11-28
- APT / actorSEKOIA.IO Community· Sekoia.io· 2022-11-28
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31