YARA · SEKOIA.IO Community
SEKOIA_Wiper_Hermeticwiper_Variants
Matches HermeticWiper and possible variants
- Autor
- Sekoia.io
- Fecha
- 2022-02-24
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Matches HermeticWiper and possible variants
Familia de malware asociada: Hermeticwiper.
Objetivos: PE de Windows.
Define 4 patrones (4 de texto, 0 hex, 0 regex). Módulos YARA usados: pe.
YARA-X dice: warning[deprecated_field]: field `number_of_signatures` is deprecated
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
Incluye los imports necesarios para compilarla por sí sola.
import "pe"
rule SEKOIA_Wiper_Hermeticwiper_Variants
{
meta:
= "Matches HermeticWiper and possible variants"
= "Sekoia.io"
= "102ecf15-167e-49e4-932c-6334e3cdcc69"
= "2022-02-24"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/wiper_hermeticwiper_variants.yar#L3-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d0c358517b0a6334d430d3bd75d6c58243ce84e0f90afe48a5069a1e1954119c"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$ = "SeLoadDriverPrivilege" wide
$ = "\\\\.\\PhysicalDrive" wide
$ = "::$INDEX_ALLOCATION" wide
$ = "CrashDumpEnabled" wide
condition:
2 of them and pe.characteristics and pe.number_of_signatures == 1 and pe.number_of_resources > 2 and for 2 i in ( 0 .. pe.number_of_resources - 1 ) : ( uint32be( pe.resources [ i ] . offset + 15 ) == 0x4D5A9000 and uint16be( pe.resources [ i ] . offset ) == 0x535A )
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | "SeLoadDriverPrivilege" | wide |
| $ | texto | "\\\\.\\PhysicalDrive" | wide |
| $ | texto | "::$INDEX_ALLOCATION" | wide |
| $ | texto | "CrashDumpEnabled" | wide |
Condición
2 of them and pe.characteristics and pe.number_of_signatures == 1 and pe.number_of_resources > 2 and for 2 i in ( 0 .. pe.number_of_resources - 1 ) : ( uint32be( pe.resources [ i ] . offset + 15 ) == 0x4D5A9000 and uint16be( pe.resources [ i ] . offset ) == 0x535A )En palabras sencillas (Heurística)
- Deben coincidir al menos 2 patrones de la regla.
- Un bucle for comprueba una propiedad sobre varias coincidencias o elementos.
- Usa el módulo pe.
- Comprueba la firma Authenticode.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
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: 102ecf15-167e-49e4-932c-6334e3cdcc69
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareTrellix Advanced Research Center· cb @ Trellix ATR· 2022-02-24
- CLUSTER25_UNC1222_Hermeticwiper_23433_10001Solo metadatosMalwareCluster25 (via Open-Source-YARA-rules)· Cluster25· 2022-02-23
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23