YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Qnapcrypt
Detects QnapCrypt/Lockedv1/Cryptfile2 ransomware
- 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
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* )
}
Chaînes (21 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $go | texte | "Go build ID:" | ascii |
| $s1 | texte | "Encrypting %s..." | ascii |
| $s2 | texte | "\\Start Menu\\Programs\\StartUp\\READMEV" | ascii |
| $s3 | texte | "main.deleteRecycleBin" | ascii |
| $s4 | texte | "main.encryptFiles" | ascii |
| $s5 | texte | "main.antiVirtualBox" | ascii |
| $s6 | texte | "main.antiVmware" | ascii |
| $s7 | texte | "main.deleteShadows" | ascii |
| $s8 | texte | "main.delUAC" | ascii |
| $s9 | texte | "main.KillProcess" | ascii |
| $s10 | texte | "main.delExploit" | ascii |
| $s11 | texte | "main.encrypt" | ascii |
| $s12 | texte | "main.ClearLogDownload" | ascii |
| $s13 | texte | "main.ClearLog" | ascii |
| $s14 | texte | "main.EndEncrypt" | ascii |
| $s15 | texte | "main.RunFuckLogAndSoft" | ascii |
| $s16 | texte | "main.ClearUsercache" | ascii |
| $s17 | texte | "main.FirstDuty" | ascii |
| $s18 | texte | ".lockedv1" | ascii |
| $s19 | texte | "WSAStartup\\clear.bat\\ngrok.exe\\video.mp4" | ascii |
| $s20 | texte | "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é.
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).
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
Règles liées
- Suspect / chasseditekSHen detection· ditekSHen· 2021-01-21
- ARKBIRD_SOLG_RAN_ELF_Qnapcrypt_Aug_2021_2Métadonnées seulesMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-08-11
- ARKBIRD_SOLG_RAN_ELF_Qnapcrypt_Aug_2021_1Métadonnées seulesMalwareArkbird 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