YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Breakwin
Detects BreakWin Wiper
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects BreakWin Wiper
Familia de malware asociada: Breakwin.
Objetivos: PE de Windows.
Define 11 patrones (11 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
rule DITEKSHEN_MALWARE_Win_Breakwin : FILE
{
meta:
= "Detects BreakWin Wiper"
= "ditekSHen"
= "4ffadbfa-c1cc-59e6-a9ba-7a34eca6c3fe"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7453-L7471"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "86fc89e28fc107c2d4fe98dc16048d9e076b1fef53a3df0814f80a88bbe09c48"
= 75
= 75
= "FILE"
strings:
$s1 = "Started wiping file %s with %s." fullword wide
$s2 = "C:\\Program Files\\Lock My PC" wide
$s3 = "Stardust is still alive." fullword wide
$s4 = "Failed to terminate the locker process." fullword wide
$s5 = "C:\\Windows\\System32\\cmd.exe" fullword wide
$s6 = "Process created successfully. Executed command: %s." fullword wide
$s7 = "locker_background_image_path" fullword ascii
$s8 = "takeown.exe /F \"C:\\Windows\\Web\\Screen\" /R /A /D Y" fullword ascii
$s9 = "icacls.exe \"C:\\Windows\\Web\\Screen\" /reset /T" fullword ascii
$s10 = "takeown.exe /F \"C:\\ProgramData\\Microsoft\\Windows\\SystemData\" /R /A /D Y" fullword ascii
$s11 = ".?AVProcessSnapshotCreationFailedException@@" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 4 of them
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "Started wiping file %s with %s." | fullword wide |
| $s2 | texto | "C:\\Program Files\\Lock My PC" | wide |
| $s3 | texto | "Stardust is still alive." | fullword wide |
| $s4 | texto | "Failed to terminate the locker process." | fullword wide |
| $s5 | texto | "C:\\Windows\\System32\\cmd.exe" | fullword wide |
| $s6 | texto | "Process created successfully. Executed command: %s." | fullword wide |
| $s7 | texto | "locker_background_image_path" | fullword ascii |
| $s8 | texto | "takeown.exe /F \"C:\\Windows\\Web\\Screen\" /R /A /D Y" | fullword ascii |
| $s9 | texto | "icacls.exe \"C:\\Windows\\Web\\Screen\" /reset /T" | fullword ascii |
| $s10 | texto | "takeown.exe /F \"C:\\ProgramData\\Microsoft\\Windows\\SystemData\" /R /A /D Y" | fullword ascii |
| $s11 | texto | ".?AVProcessSnapshotCreationFailedException@@" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and 4 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 4 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.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: 4ffadbfa-c1cc-59e6-a9ba-7a34eca6c3fe
Etiquetas:FILE
Reglas relacionadas
- ARKBIRD_SOLG_WIP_Meteorexpress_Aug_2021_1Solo metadatosMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-08-06
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06