YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nemty
Detects Nemty/Nefilim ransomware
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects Nemty/Nefilim ransomware
Zugehörige Malware-Familie: Nemty.
Ziele: Windows-PE.
Sie definiert 17 Muster (17 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
malware-win-nemty.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Nemty : FILE
{
meta:
= "Detects Nemty/Nefilim ransomware"
= "ditekSHen"
= "361269c6-5215-5ecf-869c-3c55ff8387e1"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3553-L3577"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "dcebcddc472f4fb3bb34c35fc5a5424e54bfc3a262fdae10b189d210217b9b37"
= 75
= 75
= "FILE"
strings:
$s1 = "Go build ID:" ascii
$s2 = "GOMAXPROCSGetIfEntryGetVersionGlagoliticKharoshthiManichaeanOld_ItalicOld_PermicOld_TurkicOther_MathPOSTALCODEPhoenicianSaurasht" ascii
$s3 = "crypto/x509.ExtKeyUsage" ascii
$s4 = "crypto/x509.KeyUsageContentCommitment" ascii
$s5 = "DEK-Info header" ascii
$s6 = "GetUserProfileDirectoryWMagallanes Standard TimeMontevideo Standard TimeNorth Asia Standard TimePacific SA Standard TimeQueryPerformanceCounter" fullword ascii
$s7 = "*( - < = > k= m=%: +00+03+04+05+06+07+08+09+10+11+12+13+14-01-02-03-04-05-06-08-09-11-12..." ascii
$s8 = "Go cmd/compile go1.10" fullword ascii
$s9 = ".dllprogramdatarecycle.bin" ascii
$s10 = ".dll.exe.lnk.sys.url" ascii
$vx1_1 = "Fa1led to os.OpenFile()" ascii
$vx1_2 = "-HELP.txt" ascii
$vf1_1 = "main.CTREncrypt" fullword ascii
$vf1_2 = "main.FileSearch" fullword ascii
$vf1_3 = "main.getdrives" fullword ascii
$vf1_4 = "main.RSAEncrypt" fullword ascii
$vf1_5 = "main.SaveNote" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 9 of ( $s* ) or ( all of ( $vx* ) and 2 of ( $s* ) ) or all of ( $vf* ) )
}
Strings (17 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "Go build ID:" | ascii |
| $s2 | Text | "GOMAXPROCSGetIfEntryGetVersionGlagoliticKharoshthiManichaeanOld_ItalicOld_PermicOld_TurkicOther_MathPOSTALCODEPhoenicianSaurasht" | ascii |
| $s3 | Text | "crypto/x509.ExtKeyUsage" | ascii |
| $s4 | Text | "crypto/x509.KeyUsageContentCommitment" | ascii |
| $s5 | Text | "DEK-Info header" | ascii |
| $s6 | Text | "GetUserProfileDirectoryWMagallanes Standard TimeMontevideo Standard TimeNorth Asia Standard TimePacific SA Standard TimeQueryPerformanceCounter" | fullword ascii |
| $s7 | Text | "*( - < = > k= m=%: +00+03+04+05+06+07+08+09+10+11+12+13+14-01-02-03-04-05-06-08-09-11-12..." | ascii |
| $s8 | Text | "Go cmd/compile go1.10" | fullword ascii |
| $s9 | Text | ".dllprogramdatarecycle.bin" | ascii |
| $s10 | Text | ".dll.exe.lnk.sys.url" | ascii |
| $vx1_1 | Text | "Fa1led to os.OpenFile()" | ascii |
| $vx1_2 | Text | "-HELP.txt" | ascii |
| $vf1_1 | Text | "main.CTREncrypt" | fullword ascii |
| $vf1_2 | Text | "main.FileSearch" | fullword ascii |
| $vf1_3 | Text | "main.getdrives" | fullword ascii |
| $vf1_4 | Text | "main.RSAEncrypt" | fullword ascii |
| $vf1_5 | Text | "main.SaveNote" | fullword ascii |
Bedingung
uint16( 0 ) == 0x5a4d and ( 9 of ( $s* ) or ( all of ( $vx* ) and 2 of ( $s* ) ) or all of ( $vf* ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus ( $vx* ) müssen treffen.
- Alle Muster aus ( $vf* ) müssen treffen.
- Mindestens 9 Muster aus ( $s* ) 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.
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: 361269c6-5215-5ecf-869c-3c55ff8387e1
Tags:FILE
Verwandte Regeln
- Verdächtig / HuntingditekSHen detection· ditekSHen· 2021-01-21
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2020-04-03
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-02-23
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-04-06
- ARKBIRD_SOLG_RAN_Nemty_June_2021_1Nur MetadatenMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-06-12
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06