YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nanocore
Detects NanoCore
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects NanoCore
Zugehörige Malware-Familie: Nanocore.
Ziele: Windows-PE.
Sie definiert 20 Muster (20 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
malware-win-nanocore.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Nanocore : FILE
{
meta:
= "Detects NanoCore"
= "ditekSHen"
= "931b98f6-df2b-538b-bc49-ecbbd24334da"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7654-L7681"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "6336260e0af2b4b51338ee066f41b7c58aa134a6c03ca110db7e088edf2b65a7"
= 75
= 75
= "FILE"
strings:
$x1 = "NanoCore Client" fullword ascii
$x2 = "NanoCore.ClientPlugin" fullword ascii
$x3 = "NanoCore.ClientPluginHost" fullword ascii
$i1 = "IClientApp" fullword ascii
$i2 = "IClientData" fullword ascii
$i3 = "IClientNetwork" fullword ascii
$i4 = "IClientAppHost" fullword ascii
$i5 = "IClientDataHost" fullword ascii
$i6 = "IClientLoggingHost" fullword ascii
$i7 = "IClientNetworkHost" fullword ascii
$i8 = "IClientUIHost" fullword ascii
$i9 = "IClientNameObjectCollection" fullword ascii
$i10 = "IClientReadOnlyNameObjectCollection" fullword ascii
$s1 = "ClientPlugin" fullword ascii
$s2 = "EndPoint" fullword ascii
$s3 = "IPAddress" fullword ascii
$s4 = "IPEndPoint" fullword ascii
$s5 = "IPHostEntr" fullword ascii
$s6 = "get_ClientSettings" fullword ascii
$s7 = "get_Connected" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 8 of ( $i* ) or all of ( $s* ) or ( 1 of ( $x* ) and ( 3 of ( $i* ) or 2 of ( $s* ) ) ) )
}
Strings (20 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | "NanoCore Client" | fullword ascii |
| $x2 | Text | "NanoCore.ClientPlugin" | fullword ascii |
| $x3 | Text | "NanoCore.ClientPluginHost" | fullword ascii |
| $i1 | Text | "IClientApp" | fullword ascii |
| $i2 | Text | "IClientData" | fullword ascii |
| $i3 | Text | "IClientNetwork" | fullword ascii |
| $i4 | Text | "IClientAppHost" | fullword ascii |
| $i5 | Text | "IClientDataHost" | fullword ascii |
| $i6 | Text | "IClientLoggingHost" | fullword ascii |
| $i7 | Text | "IClientNetworkHost" | fullword ascii |
| $i8 | Text | "IClientUIHost" | fullword ascii |
| $i9 | Text | "IClientNameObjectCollection" | fullword ascii |
| $i10 | Text | "IClientReadOnlyNameObjectCollection" | fullword ascii |
| $s1 | Text | "ClientPlugin" | fullword ascii |
| $s2 | Text | "EndPoint" | fullword ascii |
| $s3 | Text | "IPAddress" | fullword ascii |
| $s4 | Text | "IPEndPoint" | fullword ascii |
| $s5 | Text | "IPHostEntr" | fullword ascii |
| $s6 | Text | "get_ClientSettings" | fullword ascii |
| $s7 | Text | "get_Connected" | fullword ascii |
Bedingung
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 8 of ( $i* ) or all of ( $s* ) or ( 1 of ( $x* ) and ( 3 of ( $i* ) or 2 of ( $s* ) ) ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus ( $s* ) müssen treffen.
- Mindestens 2 Muster aus ( $x* ) müssen treffen.
- Mindestens 8 Muster aus ( $i* ) müssen treffen.
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 3 Muster aus ( $i* ) 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: 931b98f6-df2b-538b-bc49-ecbbd24334da
Tags:FILE
Verwandte Regeln
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06