Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Qnapcrypt

Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware

MalwareQnapcryptditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 73

Ce que détecte cette règle

Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware

Famille de malware associée : Qnapcrypt.

Cibles : PE Windows.

Elle définit 21 motifs (21 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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* )
}

Chaînes (21 motifs)

IdentifiantTypeValeurModificateurs
$gotexte"Go build ID:"ascii
$s1texte"Encrypting %s..."ascii
$s2texte"\\Start Menu\\Programs\\StartUp\\READMEV"ascii
$s3texte"main.deleteRecycleBin"ascii
$s4texte"main.encryptFiles"ascii
$s5texte"main.antiVirtualBox"ascii
$s6texte"main.antiVmware"ascii
$s7texte"main.deleteShadows"ascii
$s8texte"main.delUAC"ascii
$s9texte"main.KillProcess"ascii
$s10texte"main.delExploit"ascii
$s11texte"main.encrypt"ascii
$s12texte"main.ClearLogDownload"ascii
$s13texte"main.ClearLog"ascii
$s14texte"main.EndEncrypt"ascii
$s15texte"main.RunFuckLogAndSoft"ascii
$s16texte"main.ClearUsercache"ascii
$s17texte"main.FirstDuty"ascii
$s18texte".lockedv1"ascii
$s19texte"WSAStartup\\clear.bat\\ngrok.exe\\video.mp4"ascii
$s20texte"net stop "ascii

Condition

uint16( 0 ) == 0x5a4d and $go and 6 of ( $s* )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 6 motifs de ( $s* ) doivent être trouvés.
  • Le motif $go doit être présent.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 3ef5643a-f2af-5d62-8927-e46679e069c2

Tags:FILE

Plus de règles Qnapcrypt