YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_RANSOM_Crime_Dearcry_Mar2021_1
Triggers on strings of known DearCry samples
- Autor
- Nils Kuhnert
- Datum
- 2021-03-12
- Geändert
- 2023-12-05
- Score / Qualität
- 75 / 85
Was diese Regel erkennt
Triggers on strings of known DearCry samples
Ziele: Windows-PE.
Sie definiert 9 Muster (9 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_MAL_RANSOM_Crime_Dearcry_Mar2021_1 : FILE
{
meta:
= "Triggers on strings of known DearCry samples"
= "Nils Kuhnert"
= "d9714502-f1ea-5fe8-b0ac-1f7a9a30d8f5"
= "2021-03-12"
= "2023-12-05"
= "https://twitter.com/phillip_misner/status/1370197696280027136"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_dearcry_ransom.yar#L1-L27"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "2b9838da7edb0decd32b086e47a31e8f5733b5981ad8247a2f9508e232589bff"
= "e044d9f2d0f1260c3f4a543a1e67f33fcac265be114a1b135fd575b860d2b8c6"
= "feb3e6d30ba573ba23f3bd1291ca173b7879706d1fe039c34d53a4fdcdf33ede"
= "e55507475888087c84f9624f82516e8a40aaf59bf2fbea72129a1dd134b28110"
= 75
= 85
= "FILE"
strings:
$x1 = ".TIF .TIFF .PDF .XLS .XLSX .XLTM .PS .PPS .PPT .PPTX .DOC .DOCX .LOG .MSG .RTF .TEX .TXT .CAD .WPS .EML .INI .CSS .HTM .HTML .XHTML .JS .JSP .PHP .KEYCHAIN .PEM .SQL .APK .APP .BAT .CGI .ASPX .CER .CFM .C .CPP .GO .CONFIG .PL .PY .DWG .XML .JPG .BMP .PNG .EXE .DLL .CAD .AVI .H.CSV .DAT .ISO .PST .PGD .7Z .RAR .ZIP .ZIPX .TAR .PDB .BIN .DB .MDB .MDF .BAK .LOG .EDB .STM .DBF .ORA .GPG .EDB .MFS" ascii
$s1 = "create rsa error" ascii fullword
$s2 = "DEARCRY!" ascii fullword
$s4 = "/readme.txt" ascii fullword
$s5 = "msupdate" ascii fullword
$s6 = "Your file has been encrypted!" ascii fullword
$s7 = "%c:\\%s" ascii fullword
$s8 = "C:\\Users\\john\\" ascii
$s9 = "EncryptFile.exe.pdb" ascii
condition:
uint16( 0 ) == 0x5a4d and filesize > 1MB and filesize < 2MB and ( 1 of ( $x* ) or 3 of them ) or 5 of them
}
Strings (9 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | ".TIF .TIFF .PDF .XLS .XLSX .XLTM .PS .PPS .PPT .PPTX .DOC .DOCX .LOG .MSG .RTF .TEX .TXT .CAD .WPS .EML .INI .CSS .HTM .HTML .XHTML .JS .JSP .PHP .KEYCHAIN .P … | ascii |
| $s1 | Text | "create rsa error" | ascii fullword |
| $s2 | Text | "DEARCRY!" | ascii fullword |
| $s4 | Text | "/readme.txt" | ascii fullword |
| $s5 | Text | "msupdate" | ascii fullword |
| $s6 | Text | "Your file has been encrypted!" | ascii fullword |
| $s7 | Text | "%c:\\%s" | ascii fullword |
| $s8 | Text | "C:\\Users\\john\\" | ascii |
| $s9 | Text | "EncryptFile.exe.pdb" | ascii |
Bedingung
uint16( 0 ) == 0x5a4d and filesize > 1MB and filesize < 2MB and ( 1 of ( $x* ) or 3 of them ) or 5 of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 2MB sein (eine günstige Grenze, die große Dateien ausschließt).
- Die Datei muss größer als 1MB sein.
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 3 Muster aus der Regel müssen treffen.
- Mindestens 5 Muster aus der Regel 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.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 2b9838da7edb0decd32b086e47a31e8f5733b5981ad8247a2f9508e232589bff
- e044d9f2d0f1260c3f4a543a1e67f33fcac265be114a1b135fd575b860d2b8c6
- feb3e6d30ba573ba23f3bd1291ca173b7879706d1fe039c34d53a4fdcdf33ede
Lizenz & Namensnennung
Autor: Nils Kuhnert
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: d9714502-f1ea-5fe8-b0ac-1f7a9a30d8f5
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-03-29
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-06-04
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-06-04
- MalwareSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2021-06-04
- Verdächtig / HuntingSignature Base (Florian Roth / Nextron)· Nils Kuhnert· 2022-02-26