YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Njrat
Detects NjRAT / Bladabindi / NjRAT Golden
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects NjRAT / Bladabindi / NjRAT Golden
Zugehörige Malware-Familie: Njrat.
Ziele: Windows-PE.
Sie definiert 10 Muster (7 Text, 1 Hex, 2 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule DITEKSHEN_MALWARE_Win_Njrat : FILE
{
meta:
= "Detects NjRAT / Bladabindi / NjRAT Golden"
= "ditekSHen"
= "078dea64-8f95-5939-a1fb-c0a888adcf0d"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5203-L5220"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "92d535a7c7f361b7a0901d0b99427ebc82a69577bfea73c04a7f9d51d2054b36"
= 75
= 75
= "FILE"
strings:
$x1 = /Njrat\s\d+\.\d+\sGolden\s/ wide
$s1 = /\sfirewall\s(add|delete)\sallowedprogram/ wide
$s2 = { 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00 20 00 2f 00 (63|6b) 00 20 00 70 00 69 00 6e 00 67 }
$s3 = "Execute ERROR" wide
$s4 = "Download ERROR" wide
$s5 = "[kl]" fullword wide
$s6 = "UploadValues" fullword wide
$s7 = "winmgmts:\\\\.\\root\\SecurityCenter2" fullword wide
$s8 = "HideM" fullword wide
$s9 = "No Antivirus" fullword wide
condition:
uint16( 0 ) == 0x5a4d and 4 of them
}
Strings (10 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Regex | /Njrat\s\d+\.\d+\sGolden\s/ | wide |
| $s1 | Regex | /\sfirewall\s(add|delete)\sallowedprogram/ | wide |
| $s2 | Hex | { 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00 20 00 2f 00 (63|6b) 00 20 00 70 00 69 00 6e 00 67 } | |
| $s3 | Text | "Execute ERROR" | wide |
| $s4 | Text | "Download ERROR" | wide |
| $s5 | Text | "[kl]" | fullword wide |
| $s6 | Text | "UploadValues" | fullword wide |
| $s7 | Text | "winmgmts:\\\\.\\root\\SecurityCenter2" | fullword wide |
| $s8 | Text | "HideM" | fullword wide |
| $s9 | Text | "No Antivirus" | fullword wide |
Bedingung
uint16( 0 ) == 0x5a4d and 4 of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 4 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.
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: 078dea64-8f95-5939-a1fb-c0a888adcf0d
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-08-22
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- SECUINFRA_DROPPER_Njrat_VBSNur MetadatenMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-02-27
- SECUINFRA_MAL_NjratNur MetadatenMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-02-27
- HacktoolSignature Base (Florian Roth / Nextron)· Arnim Rupp· 2021-01-22
- HacktoolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-30