Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Qnapcrypt

Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware

MalwareQnapcryptditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
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

malware-win-qnapcrypt.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Qnapcrypt : FILE
{
	meta:
		description = "Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware"
		author = "ditekSHen"
		id = "3ef5643a-f2af-5d62-8927-e46679e069c2"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3579-L3607"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "68fc3f0503d82295ffa5bfb49bda8b790142913217775a2812e3965a6c9a1fe1"
		score = 75
		quality = 73
		tags = "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)

IdentificadorTipoValorModificadores
$gotexto"Go build ID:"ascii
$s1texto"Encrypting %s..."ascii
$s2texto"\\Start Menu\\Programs\\StartUp\\READMEV"ascii
$s3texto"main.deleteRecycleBin"ascii
$s4texto"main.encryptFiles"ascii
$s5texto"main.antiVirtualBox"ascii
$s6texto"main.antiVmware"ascii
$s7texto"main.deleteShadows"ascii
$s8texto"main.delUAC"ascii
$s9texto"main.KillProcess"ascii
$s10texto"main.delExploit"ascii
$s11texto"main.encrypt"ascii
$s12texto"main.ClearLogDownload"ascii
$s13texto"main.ClearLog"ascii
$s14texto"main.EndEncrypt"ascii
$s15texto"main.RunFuckLogAndSoft"ascii
$s16texto"main.ClearUsercache"ascii
$s17texto"main.FirstDuty"ascii
$s18texto".lockedv1"ascii
$s19texto"WSAStartup\\clear.bat\\ngrok.exe\\video.mp4"ascii
$s20texto"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.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

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).

Regla original

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

Más reglas de Qnapcrypt