YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Cryptolocker
Detects Cryptolocker ransomware variants (Betarasite)
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 73
Was diese Regel erkennt
Detects Cryptolocker ransomware variants (Betarasite)
Zugehörige Malware-Familie: Cryptolocker.
Ziele: Windows-PE.
Sie definiert 15 Muster (15 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule DITEKSHEN_MALWARE_Win_Cryptolocker : FILE
{
meta:
= "Detects Cryptolocker ransomware variants (Betarasite)"
= "ditekSHen"
= "4c6d714d-1fb1-55ce-8022-40f6f634e2cd"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4730-L4752"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "e1700e8ace338c25119305878e8bc52210506bd42183007985ba9601abdab87b"
= 75
= 73
= "FILE"
strings:
$x1 = "CryptoLocker" fullword wide
$x2 = ".betarasite" fullword wide
$x3 = "CMSTPBypass" fullword ascii
$s1 = "CommandToExecute" fullword ascii
$s2 = "SetInfFile" fullword ascii
$s3 = "SchoolPrject1" ascii
$s4 = "$730d5f64-bd57-47c1-9af4-d20aec714d02" fullword ascii
$s5 = "Encrypt" fullword ascii
$s6 = "Invalide Key! Please Try Again." fullword wide
$s7 = "RegAsm" fullword wide
$s8 = "Your key will be destroyed" wide
$s9 = "encrypted using RC4 and RSA-2048" wide
$c1 = "https://coinbase.com" fullword wide
$c2 = "https://localbictoins.com" fullword wide
$c3 = "https://bitpanda.com" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or all of ( $s* ) or ( 2 of ( $x* ) and 5 of ( $s* ) ) or ( all of ( $c* ) and 1 of ( $x* ) and 2 of ( $s* ) ) )
}
Strings (15 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | "CryptoLocker" | fullword wide |
| $x2 | Text | ".betarasite" | fullword wide |
| $x3 | Text | "CMSTPBypass" | fullword ascii |
| $s1 | Text | "CommandToExecute" | fullword ascii |
| $s2 | Text | "SetInfFile" | fullword ascii |
| $s3 | Text | "SchoolPrject1" | ascii |
| $s4 | Text | "$730d5f64-bd57-47c1-9af4-d20aec714d02" | fullword ascii |
| $s5 | Text | "Encrypt" | fullword ascii |
| $s6 | Text | "Invalide Key! Please Try Again." | fullword wide |
| $s7 | Text | "RegAsm" | fullword wide |
| $s8 | Text | "Your key will be destroyed" | wide |
| $s9 | Text | "encrypted using RC4 and RSA-2048" | wide |
| $c1 | Text | "https://coinbase.com" | fullword wide |
| $c2 | Text | "https://localbictoins.com" | fullword wide |
| $c3 | Text | "https://bitpanda.com" | fullword wide |
Bedingung
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or all of ( $s* ) or ( 2 of ( $x* ) and 5 of ( $s* ) ) or ( all of ( $c* ) and 1 of ( $x* ) and 2 of ( $s* ) ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus ( $x* ) müssen treffen.
- Alle Muster aus ( $s* ) müssen treffen.
- Alle Muster aus ( $c* ) müssen treffen.
- Mindestens 2 Muster aus ( $x* ) müssen treffen.
- Mindestens 5 Muster aus ( $s* ) müssen treffen.
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 2 Muster aus ( $s* ) müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Referenzen
Lizenz & Namensnennung
Autor: ditekSHen
Quell-Repository: ditekSHen detection @ e76c93dcde
Lizenz: BSD 2-Clause License (Repository-Lizenz)
Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 4c6d714d-1fb1-55ce-8022-40f6f634e2cd
Tags:FILE
Verwandte Regeln
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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