YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Lorenz
Detects Lorenz ransomware
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 73
Was diese Regel erkennt
Detects Lorenz ransomware
Zugehörige Malware-Familie: Lorenz.
Ziele: Windows-PE.
Sie definiert 23 Muster (22 Text, 0 Hex, 1 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
malware-win-lorenz.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lorenz : FILE
{
meta:
= "Detects Lorenz ransomware"
= "ditekSHen"
= "9c11cfbc-aa77-5138-81e4-3a5f4f21a470"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9235-L9265"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "e9fc9d405b955c379ae40b1804d43b19999f6ea264fc645c897080fb020e8ae8"
= 75
= 73
= "FILE"
strings:
$x1 = "143.198.117.43" fullword ascii
$x2 = "157.90.147.28" fullword ascii
$x3 = "//kpb3ss3vwvfejd4g3gvpvqo6ad7nnmvcqoik4mxt2376yu2adlg5fwyd.onion" ascii
$x4 = "http://lorenz" ascii
$x5 = "\\lora\\Release\\lora.pdb" ascii
$x6 = "--MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQ" ascii
$x7 = "/USER:'HOMEOFFICE.COM\\" ascii
$x8 = "/USER:'Sentinel.com\\" ascii
$s1 = "to->_What == nullptr && to->_DoFree == false" fullword wide
$s2 = "*it == '\\0'" fullword wide
$s3 = "process call create 'cmd.exe /c" ascii
$s4 = "\\Control Panel\\Desktop\" /V Wallpaper /T REG_SZ /F /D" ascii
$s5 = "HELP_SECURITY_EVENT.html" ascii
$s6 = "<br>[+] Whats Happen?" ascii
$s7 = /\.Lorenz\.sz\d+$/ fullword ascii
$s8 = "TW9Vc29Db3JlV29ya2VyLmV4ZQ==" fullword ascii
$s9 = ".Speak(\"You've been hack" ascii nocase
$s10 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAo" ascii
$n1 = "ame_serv=" ascii
$n2 = "&ip=" ascii
$n3 = "&winver=Windows" ascii
$n4 = "&list_drive=" ascii
$n5 = "&file=" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 8 of ( $s* ) or ( 4 of ( $n* ) and 2 of them ) or ( 1 of ( $x* ) and 6 of them ) )
}
Strings (23 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | "143.198.117.43" | fullword ascii |
| $x2 | Text | "157.90.147.28" | fullword ascii |
| $x3 | Text | "//kpb3ss3vwvfejd4g3gvpvqo6ad7nnmvcqoik4mxt2376yu2adlg5fwyd.onion" | ascii |
| $x4 | Text | "http://lorenz" | ascii |
| $x5 | Text | "\\lora\\Release\\lora.pdb" | ascii |
| $x6 | Text | "--MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQ" | ascii |
| $x7 | Text | "/USER:'HOMEOFFICE.COM\\" | ascii |
| $x8 | Text | "/USER:'Sentinel.com\\" | ascii |
| $s1 | Text | "to->_What == nullptr && to->_DoFree == false" | fullword wide |
| $s2 | Text | "*it == '\\0'" | fullword wide |
| $s3 | Text | "process call create 'cmd.exe /c" | ascii |
| $s4 | Text | "\\Control Panel\\Desktop\" /V Wallpaper /T REG_SZ /F /D" | ascii |
| $s5 | Text | "HELP_SECURITY_EVENT.html" | ascii |
| $s6 | Text | "<br>[+] Whats Happen?" | ascii |
| $s7 | Regex | /\.Lorenz\.sz\d+$/ | fullword ascii |
| $s8 | Text | "TW9Vc29Db3JlV29ya2VyLmV4ZQ==" | fullword ascii |
| $s9 | Text | ".Speak(\"You've been hack" | ascii nocase |
| $s10 | Text | "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAo" | ascii |
| $n1 | Text | "ame_serv=" | ascii |
| $n2 | Text | "&ip=" | ascii |
| $n3 | Text | "&winver=Windows" | ascii |
| $n4 | Text | "&list_drive=" | ascii |
| $n5 | Text | "&file=" | ascii |
Bedingung
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 8 of ( $s* ) or ( 4 of ( $n* ) and 2 of them ) or ( 1 of ( $x* ) and 6 of them ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 2 Muster aus ( $x* ) müssen treffen.
- Mindestens 8 Muster aus ( $s* ) müssen treffen.
- Mindestens 4 Muster aus ( $n* ) müssen treffen.
- Mindestens 2 Muster aus der Regel müssen treffen.
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 6 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.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
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: 9c11cfbc-aa77-5138-81e4-3a5f4f21a470
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-02-10
- 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