YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Solarmarker_Dll
Finds SolarMarker DLL based on characteristic strings
- Auteur
- Sekoia.io
- Date
- 2022-12-09
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Finds SolarMarker DLL based on characteristic strings
Famille de malware associée : Solarmarker.
Cibles : PE Windows.
Elle définit 11 motifs (11 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
infostealer-win-solarmarker-dll.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Solarmarker_Dll : FILE
{
meta:
= "Finds SolarMarker DLL based on characteristic strings"
= "Sekoia.io"
= "a2fe7f09-7134-4054-ba40-5ea66785a26c"
= "2022-12-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_solarmarker_dll.yar#L1-L28"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "5be0a95adb7e486cdec5f0e8433afed41516fc1a990e1d1ba00db7e8fb32dbbb"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$zka = "zkabsr" wide
$str0 = "set_PersistKeyInCsp" ascii
$str1 = "get_IV" ascii
$str2 = "get_MachineName" ascii
$str3 = "get_Current" ascii
$str4 = "ps_script" ascii
$str5 = "request_data" ascii
$str6 = "WindowsBuiltInRole" ascii
$str7 = "DllImportAttribute" ascii
$str8 = "get_BlockSize" ascii
$str9 = "GetRequestStream" ascii
condition:
uint16( 0 ) == 0x5A4D and ( ( $zka and 3 of ( $str* ) ) or ( all of ( $str* ) ) ) and filesize < 1MB
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $zka | texte | "zkabsr" | wide |
| $str0 | texte | "set_PersistKeyInCsp" | ascii |
| $str1 | texte | "get_IV" | ascii |
| $str2 | texte | "get_MachineName" | ascii |
| $str3 | texte | "get_Current" | ascii |
| $str4 | texte | "ps_script" | ascii |
| $str5 | texte | "request_data" | ascii |
| $str6 | texte | "WindowsBuiltInRole" | ascii |
| $str7 | texte | "DllImportAttribute" | ascii |
| $str8 | texte | "get_BlockSize" | ascii |
| $str9 | texte | "GetRequestStream" | ascii |
Condition
uint16( 0 ) == 0x5A4D and ( ( $zka and 3 of ( $str* ) ) or ( all of ( $str* ) ) ) and filesize < 1MBEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de ( $str* ) doivent être trouvés.
- Au moins 3 motifs de ( $str* ) doivent être trouvés.
- Le motif $zka doit être présent.
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 : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
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: a2fe7f09-7134-4054-ba40-5ea66785a26c
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-12-09
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-28
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- 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