YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Arcrypt
Detects ARCrypt / ChileLocker ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects ARCrypt / ChileLocker ransomware
Familia de malware asociada: Arcrypt.
Objetivos: PE de Windows.
Define 19 patrones (18 de texto, 0 hex, 1 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule DITEKSHEN_MALWARE_Win_Arcrypt : FILE
{
meta:
= "Detects ARCrypt / ChileLocker ransomware"
= "ditekSHen"
= "a53bbae6-a321-549d-9d45-e1a408d08740"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10373-L10399"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "cc9fa68d093fdf9745a06beb28e29108cb2ba846122ce097ad892213b1edba25"
= 75
= 75
= "FILE"
strings:
$c1 = "readme_for_unlock.txt" wide
$c2 = "vssadmin.exe delete shadows /all /quiet" wide
$c3 = "START /b \"\" cmd /c wmic /node:" wide
$c4 = "START /b \"\" cmd /c DEL \"" wide
$c5 = "process call create cmd /c START" wide
$c6 = "net config server /autodisconnect:" wide
$c7 = "/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f" ascii
$c8 = ":\\_ARC\\_WorkSolution\\cryptopp" ascii
$e1 = /\.crYpt([A-F]{0,1}(\d+)?)?/ fullword wide
$e2 = ".dnt___.crYpt" wide nocase
$s1 = "create_directory" fullword ascii
$s2 = "create_directories" fullword ascii
$s3 = "NoClose" fullword ascii
$s4 = "StartMenuLogOff" fullword ascii
$s5 = "NoLogOff" fullword ascii
$s6 = "DisableTaskMgr" fullword ascii
$s7 = "DisableChangePassword" fullword ascii
$s8 = "HideFastUserSwitching" fullword ascii
$s9 = "RemotePath" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )
}
Cadenas (19 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $c1 | texto | "readme_for_unlock.txt" | wide |
| $c2 | texto | "vssadmin.exe delete shadows /all /quiet" | wide |
| $c3 | texto | "START /b \"\" cmd /c wmic /node:" | wide |
| $c4 | texto | "START /b \"\" cmd /c DEL \"" | wide |
| $c5 | texto | "process call create cmd /c START" | wide |
| $c6 | texto | "net config server /autodisconnect:" | wide |
| $c7 | texto | "/NOBREAK>NUL) ELSE (START /b \"\" cmd /c DEL \"%~f" | ascii |
| $c8 | texto | ":\\_ARC\\_WorkSolution\\cryptopp" | ascii |
| $e1 | regex | /\.crYpt([A-F]{0,1}(\d+)?)?/ | fullword wide |
| $e2 | texto | ".dnt___.crYpt" | wide nocase |
| $s1 | texto | "create_directory" | fullword ascii |
| $s2 | texto | "create_directories" | fullword ascii |
| $s3 | texto | "NoClose" | fullword ascii |
| $s4 | texto | "StartMenuLogOff" | fullword ascii |
| $s5 | texto | "NoLogOff" | fullword ascii |
| $s6 | texto | "DisableTaskMgr" | fullword ascii |
| $s7 | texto | "DisableChangePassword" | fullword ascii |
| $s8 | texto | "HideFastUserSwitching" | fullword ascii |
| $s9 | texto | "RemotePath" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 5 of ( $c* ) or 7 of ( $s* ) or ( 3 of ( $c* ) and 4 of ( $s* ) ) or ( 1 of ( $e* ) and ( 1 of ( $c* ) and 1 of ( $s* ) ) ) or ( all of ( $e* ) and ( 1 of ( $c* ) or 1 of ( $s* ) ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $e* ).
- Deben coincidir al menos 5 patrones de ( $c* ).
- Deben coincidir al menos 7 patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de ( $c* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $e* ).
- Deben coincidir al menos 1 patrones de ( $c* ).
- Deben coincidir al menos 1 patrones de ( $s* ).
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: a53bbae6-a321-549d-9d45-e1a408d08740
Etiquetas:FILE
Reglas relacionadas
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06