YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Gelsevirine
Detects Gelsevirine
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects Gelsevirine
Famille de malware associée : Gelsevirine.
Cibles : PE Windows.
Elle définit 23 motifs (22 texte, 0 hex, 1 regex).
YARA-X indique : warning[duplicate_pattern_value]: duplicate pattern value
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule DITEKSHEN_MALWARE_Win_Gelsevirine : FILE
{
meta:
= "Detects Gelsevirine"
= "ditekSHen"
= "70f0ed08-4e07-5ab3-968e-95059d20a8e9"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6224-L6254"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "60d41d6d789f1cd2a7040d6535f13c69ea58a489035838f047b886e8f1f37f63"
= 75
= 73
= "FILE"
strings:
$s1 = /64loadpath(xp|sv|7)/ fullword wide
$s2 = "{\"Actions\":[]}" fullword wide
$s3 = "PlatformsChunk" fullword wide
$s4 = "CurrentPluginCategory" fullword wide
$s5 = "CurrentOperationPlatform" fullword wide
$s6 = "PersistencePlugins" fullword wide
$s7 = "memory_library_file" fullword wide
$s8 = "LoadPluginBP" fullword ascii
$s9 = "GetOperationBasicInformation" fullword ascii
$s10 = "commonappdata/Intel/Runtime" wide
$s11 = "cfsst x64" fullword wide
$s12 = "ForkOperation" fullword ascii
$c1 = "domain.dns04.com:8080;domain.dns04.com:443;acro.ns1.name:80;acro.ns1.name:1863;" wide
$c2 = "<base64 content=\"" fullword ascii
$c3 = "User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" fullword ascii
$m1 = "6BDA7FEF-232F-4EA6-8FC8-24F58CD7B366" ascii wide
$m2 = "46EBBDC3-EEDC-42D4-BA1D-D454DFCE8E42" ascii wide
$m3 = "135054C6-8036-42C7-A97C-31F37D7728BD" ascii wide
$m4 = "DC7FDDF7-B2F1-4B99-BE6A-AA683FF11CE6" ascii wide
$m5 = "131C8113-E083-4C7F-BEAF-82D73B01F2C5" ascii wide
$m6 = "4CCF506D-2F61-4C3A-B9C6-9FA47D43A3FC" ascii wide
$m7 = "B2DC745A-66AE-4A19-B11C-AD74D46B7EE0" ascii wide
$m8 = "6BDA7FEF-232F-4EA6-8FC8-24F58CD7B366" ascii wide
condition:
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 2 of ( $c* ) and 4 of ( $s* ) ) or ( 5 of ( $m* ) and ( 1 of ( $c* ) or 3 of ( $s* ) ) ) )
}
Chaînes (23 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | regex | /64loadpath(xp|sv|7)/ | fullword wide |
| $s2 | texte | "{\"Actions\":[]}" | fullword wide |
| $s3 | texte | "PlatformsChunk" | fullword wide |
| $s4 | texte | "CurrentPluginCategory" | fullword wide |
| $s5 | texte | "CurrentOperationPlatform" | fullword wide |
| $s6 | texte | "PersistencePlugins" | fullword wide |
| $s7 | texte | "memory_library_file" | fullword wide |
| $s8 | texte | "LoadPluginBP" | fullword ascii |
| $s9 | texte | "GetOperationBasicInformation" | fullword ascii |
| $s10 | texte | "commonappdata/Intel/Runtime" | wide |
| $s11 | texte | "cfsst x64" | fullword wide |
| $s12 | texte | "ForkOperation" | fullword ascii |
| $c1 | texte | "domain.dns04.com:8080;domain.dns04.com:443;acro.ns1.name:80;acro.ns1.name:1863;" | wide |
| $c2 | texte | "<base64 content=\"" | fullword ascii |
| $c3 | texte | "User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)" | fullword ascii |
| $m1 | texte | "6BDA7FEF-232F-4EA6-8FC8-24F58CD7B366" | ascii wide |
| $m2 | texte | "46EBBDC3-EEDC-42D4-BA1D-D454DFCE8E42" | ascii wide |
| $m3 | texte | "135054C6-8036-42C7-A97C-31F37D7728BD" | ascii wide |
| $m4 | texte | "DC7FDDF7-B2F1-4B99-BE6A-AA683FF11CE6" | ascii wide |
| $m5 | texte | "131C8113-E083-4C7F-BEAF-82D73B01F2C5" | ascii wide |
| $m6 | texte | "4CCF506D-2F61-4C3A-B9C6-9FA47D43A3FC" | ascii wide |
| $m7 | texte | "B2DC745A-66AE-4A19-B11C-AD74D46B7EE0" | ascii wide |
| $m8 | texte | "6BDA7FEF-232F-4EA6-8FC8-24F58CD7B366" | ascii wide |
Condition
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 2 of ( $c* ) and 4 of ( $s* ) ) or ( 5 of ( $m* ) and ( 1 of ( $c* ) or 3 of ( $s* ) ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 6 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de ( $c* ) doivent être trouvés.
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 5 motifs de ( $m* ) doivent être trouvés.
- Au moins 1 motifs de ( $c* ) doivent être trouvés.
- Au moins 3 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é.
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: 70f0ed08-4e07-5ab3-968e-95059d20a8e9
Tags:FILE
Règles liées
- ARKBIRD_SOLG_APT_Gelsemium_Gelsevirine_June_2021_1Métadonnées seulesAPT / acteurArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-06-12
- 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