YARA · SEKOIA.IO Community
SEKOIA_Ransomware_Win_Lorenz
Detect the Lorenz ransomware
- Auteur
- Sekoia.io
- Date
- 2022-02-10
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detect the Lorenz ransomware
Famille de malware associée : Lorenz.
Cibles : PE Windows.
Elle définit 8 motifs (8 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
ransomware-win-lorenz.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Lorenz : FILE
{
meta:
= "Detect the Lorenz ransomware"
= "Sekoia.io"
= "6936cc61-efe5-4d13-b76f-e808ab331457"
= "2022-02-10"
= "2024-12-19"
= "https://www.cybereason.com/blog/cybereason-vs.-lorenz-ransomware"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_lorenz.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "355de0f172c9e877bbca7f75c0bfb07d83ae7f43e7674a7f84c4e4d519dfa7c0"
= 75
= 80
= "FILE"
= "1.1"
= "TLP:CLEAR"
strings:
$s1 = ".onion" ascii
$s2 = "---===Lorenz. Welcome. Again. ===--" ascii
$s3 = ".Lorenz.sz40" ascii
$url1 = "egypghtljedbs3x3ui45tfhosakzb376epl7baq2ruzfyewcypswhgqd.onion" ascii
$url2 = "lorenzmlwpzgxq736jzseuterytjueszsvznuibanxomlpkyxk6ksoyd.onion" ascii
$url3 = "vsoonropylvbfqnq2urk7uhaxn7afiwgldnj3ntc743awigojm4p7lid.onion" ascii
$url4 = "kpb3ss3vwvfejd4g3gvpvqo6ad7nnmvcqoik4mxt2376yu2adlg5fwyd.onion" ascii
$url5 = "vldkrmiqriwlgm2wuxg42nvc6kqsdzsdhsybn27hyn34d66465fxz7id.onion" ascii
condition:
uint16( 0 ) == 0x5a4d and filesize > 900KB and filesize < 1200KB and ( all of ( $s* ) or 1 of ( $url* ) )
}
Chaînes (8 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | ".onion" | ascii |
| $s2 | texte | "---===Lorenz. Welcome. Again. ===--" | ascii |
| $s3 | texte | ".Lorenz.sz40" | ascii |
| $url1 | texte | "egypghtljedbs3x3ui45tfhosakzb376epl7baq2ruzfyewcypswhgqd.onion" | ascii |
| $url2 | texte | "lorenzmlwpzgxq736jzseuterytjueszsvznuibanxomlpkyxk6ksoyd.onion" | ascii |
| $url3 | texte | "vsoonropylvbfqnq2urk7uhaxn7afiwgldnj3ntc743awigojm4p7lid.onion" | ascii |
| $url4 | texte | "kpb3ss3vwvfejd4g3gvpvqo6ad7nnmvcqoik4mxt2376yu2adlg5fwyd.onion" | ascii |
| $url5 | texte | "vldkrmiqriwlgm2wuxg42nvc6kqsdzsdhsybn27hyn34d66465fxz7id.onion" | ascii |
Condition
uint16( 0 ) == 0x5a4d and filesize > 900KB and filesize < 1200KB and ( all of ( $s* ) or 1 of ( $url* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 1200KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Le fichier doit faire plus de 900KB.
- Tous les motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $url* ) doivent être trouvés.
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.
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
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: 6936cc61-efe5-4d13-b76f-e808ab331457
Métadonnées
| version | 1.1 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20