YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nanocore
Detects NanoCore
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects NanoCore
Famille de malware associée : Nanocore.
Cibles : PE Windows.
Elle définit 20 motifs (20 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
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* ) ) ) )
}
Chaînes (20 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "NanoCore Client" | fullword ascii |
| $x2 | texte | "NanoCore.ClientPlugin" | fullword ascii |
| $x3 | texte | "NanoCore.ClientPluginHost" | fullword ascii |
| $i1 | texte | "IClientApp" | fullword ascii |
| $i2 | texte | "IClientData" | fullword ascii |
| $i3 | texte | "IClientNetwork" | fullword ascii |
| $i4 | texte | "IClientAppHost" | fullword ascii |
| $i5 | texte | "IClientDataHost" | fullword ascii |
| $i6 | texte | "IClientLoggingHost" | fullword ascii |
| $i7 | texte | "IClientNetworkHost" | fullword ascii |
| $i8 | texte | "IClientUIHost" | fullword ascii |
| $i9 | texte | "IClientNameObjectCollection" | fullword ascii |
| $i10 | texte | "IClientReadOnlyNameObjectCollection" | fullword ascii |
| $s1 | texte | "ClientPlugin" | fullword ascii |
| $s2 | texte | "EndPoint" | fullword ascii |
| $s3 | texte | "IPAddress" | fullword ascii |
| $s4 | texte | "IPEndPoint" | fullword ascii |
| $s5 | texte | "IPHostEntr" | fullword ascii |
| $s6 | texte | "get_ClientSettings" | fullword ascii |
| $s7 | texte | "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* ) ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de ( $x* ) doivent être trouvés.
- Au moins 8 motifs de ( $i* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 3 motifs de ( $i* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) 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.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: 931b98f6-df2b-538b-bc49-ecbbd24334da
Tags:FILE
Règles liées
- 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