YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Solarmarker
Detects SolarMarker
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects SolarMarker
Famille de malware associée : Solarmarker.
Cibles : PE Windows.
Elle définit 11 motifs (10 texte, 1 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-solarmarker.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Solarmarker : FILE
{
meta:
= "Detects SolarMarker"
= "ditekSHen"
= "78c2f739-76b2-5a80-8b9a-6c677d578eaa"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10727-L10745"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "84182c8948c2f40439cd932885ae8b88bb677ecc9fba366f22d30e13dc4ffb68"
= 75
= 75
= "FILE"
strings:
$x1 = "token_type" fullword ascii
$x2 = "request_data" fullword ascii
$x3 = "request_timeout" fullword ascii
$x4 = { 74 6f 6b 65 6e 73 00 66 72 6f 6d 00 74 6f 00 73 5f (66|72) }
$s1 = "set_UseShellExecute" fullword ascii
$s2 = "<Select>b__0" fullword ascii
$s3 = "<get>b__e" fullword ascii
$s4 = "<get>b__10" fullword ascii
$s5 = "<get>b__f" fullword ascii
$s6 = "<set>b__0" fullword ascii
$s7 = "<set>b__1" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) and 4 of ( $s* ) )
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "token_type" | fullword ascii |
| $x2 | texte | "request_data" | fullword ascii |
| $x3 | texte | "request_timeout" | fullword ascii |
| $x4 | hex | { 74 6f 6b 65 6e 73 00 66 72 6f 6d 00 74 6f 00 73 5f (66|72) } | |
| $s1 | texte | "set_UseShellExecute" | fullword ascii |
| $s2 | texte | "<Select>b__0" | fullword ascii |
| $s3 | texte | "<get>b__e" | fullword ascii |
| $s4 | texte | "<get>b__10" | fullword ascii |
| $s5 | texte | "<get>b__f" | fullword ascii |
| $s6 | texte | "<set>b__0" | fullword ascii |
| $s7 | texte | "<set>b__1" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) and 4 of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $x* ) doivent être trouvés.
- Au moins 4 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: 78c2f739-76b2-5a80-8b9a-6c677d578eaa
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-12-09
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-12-09
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-28
- RUSSIANPANDA_Solarmarker_Loader_PS2EXEMétadonnées seulesMalwareRussianPanda· RussianPanda· 2024-01-04
- RUSSIANPANDA_SolardropperMétadonnées seulesMalwareRussianPanda· RussianPanda· 2023-06-22
- RUSSIANPANDA_Solarmarker_LoaderMétadonnées seulesMalwareRussianPanda· RussianPanda· 2024-01-04
- RUSSIANPANDA_Solarmarker_First_Stage_PayloadMétadonnées seulesMalwareRussianPanda· RussianPanda· 2024-01-30
- Suspect / chasseEmbee Research· Matthew @ Embee_Research· 2023-09-10