YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Qnapcrypt
Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 73
Qué detecta esta regla
Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware
Familia de malware asociada: Qnapcrypt.
Objetivos: PE de Windows.
Define 21 patrones (21 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_Qnapcrypt : FILE
{
meta:
= "Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware"
= "ditekSHen"
= "3ef5643a-f2af-5d62-8927-e46679e069c2"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3579-L3607"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "68fc3f0503d82295ffa5bfb49bda8b790142913217775a2812e3965a6c9a1fe1"
= 75
= 73
= "FILE"
strings:
$go = "Go build ID:" ascii
$s1 = "Encrypting %s..." ascii
$s2 = "\\Start Menu\\Programs\\StartUp\\READMEV" ascii
$s3 = "main.deleteRecycleBin" ascii
$s4 = "main.encryptFiles" ascii
$s5 = "main.antiVirtualBox" ascii
$s6 = "main.antiVmware" ascii
$s7 = "main.deleteShadows" ascii
$s8 = "main.delUAC" ascii
$s9 = "main.KillProcess" ascii
$s10 = "main.delExploit" ascii
$s11 = "main.encrypt" ascii
$s12 = "main.ClearLogDownload" ascii
$s13 = "main.ClearLog" ascii
$s14 = "main.EndEncrypt" ascii
$s15 = "main.RunFuckLogAndSoft" ascii
$s16 = "main.ClearUsercache" ascii
$s17 = "main.FirstDuty" ascii
$s18 = ".lockedv1" ascii
$s19 = "WSAStartup\\clear.bat\\ngrok.exe\\video.mp4" ascii
$s20 = "net stop " ascii
condition:
uint16( 0 ) == 0x5a4d and $go and 6 of ( $s* )
}
Cadenas (21 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $go | texto | "Go build ID:" | ascii |
| $s1 | texto | "Encrypting %s..." | ascii |
| $s2 | texto | "\\Start Menu\\Programs\\StartUp\\READMEV" | ascii |
| $s3 | texto | "main.deleteRecycleBin" | ascii |
| $s4 | texto | "main.encryptFiles" | ascii |
| $s5 | texto | "main.antiVirtualBox" | ascii |
| $s6 | texto | "main.antiVmware" | ascii |
| $s7 | texto | "main.deleteShadows" | ascii |
| $s8 | texto | "main.delUAC" | ascii |
| $s9 | texto | "main.KillProcess" | ascii |
| $s10 | texto | "main.delExploit" | ascii |
| $s11 | texto | "main.encrypt" | ascii |
| $s12 | texto | "main.ClearLogDownload" | ascii |
| $s13 | texto | "main.ClearLog" | ascii |
| $s14 | texto | "main.EndEncrypt" | ascii |
| $s15 | texto | "main.RunFuckLogAndSoft" | ascii |
| $s16 | texto | "main.ClearUsercache" | ascii |
| $s17 | texto | "main.FirstDuty" | ascii |
| $s18 | texto | ".lockedv1" | ascii |
| $s19 | texto | "WSAStartup\\clear.bat\\ngrok.exe\\video.mp4" | ascii |
| $s20 | texto | "net stop " | ascii |
Condición
uint16( 0 ) == 0x5a4d and $go and 6 of ( $s* )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 6 patrones de ( $s* ).
- El patrón $go 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.
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: 3ef5643a-f2af-5d62-8927-e46679e069c2
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / huntingditekSHen detection· ditekSHen· 2021-01-21
- ARKBIRD_SOLG_RAN_ELF_Qnapcrypt_Aug_2021_2Solo metadatosMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-08-11
- ARKBIRD_SOLG_RAN_ELF_Qnapcrypt_Aug_2021_1Solo metadatosMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-08-11
- 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