YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stealerium
Detects Stealerium based on specific strings
- Auteur
- Sekoia.io
- Date
- 2022-12-01
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 78
Ce que détecte cette règle
Detects Stealerium based on specific strings
Famille de malware associée : Stealerium.
Cibles : PE Windows.
Elle définit 21 motifs (21 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-stealerium.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stealerium : FILE
{
meta:
= "Detects Stealerium based on specific strings"
= "Sekoia.io"
= "165c7d3d-de7e-4d71-b94a-8ab4a0e5ddd5"
= "2022-12-01"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_stealerium.yar#L1-L36"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f420848164ad4b6966f2a776a58d90b7d70c8b151a42d6f56b654f1700b5e564"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$stl = "Stealerium" ascii wide
$str01 = "Processe: " wide
$str02 = "Compname: " wide
$str03 = "Language: " wide
$str04 = "SandBoxie: " wide
$str05 = "== System Info ==" wide
$str06 = "== Hardware ==" wide
$str07 = "== Domains ==" wide
$str08 = "WEBCAMS COUNT: " wide
$str09 = "[Virtualization]" wide
$str10 = "[Open google maps](" wide
$str11 = "Remember password: " wide
$str12 = "Target.Browsers.Firefox" ascii
$str13 = "Modules.Keylogger" ascii
$str14 = "ClipperAddresses" ascii
$str15 = "ChromiumPswPaths" ascii
$str16 = "DetectedBankingServices" ascii
$str17 = "DetectCryptocurrencyServices" ascii
$str18 = "CheckRemoteDebuggerPresent" ascii
$str19 = "GetConnectedCamerasCount" ascii
$str20 = "costura.discord-webhook-client.dll.compressed" ascii wide
condition:
uint16( 0 ) == 0x5A4D and filesize > 1MB and ( ( #stl > 5 and 2 of ( $str* ) ) or 15 of ( $str* ) )
}
Chaînes (21 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $stl | texte | "Stealerium" | ascii wide |
| $str01 | texte | "Processe: " | wide |
| $str02 | texte | "Compname: " | wide |
| $str03 | texte | "Language: " | wide |
| $str04 | texte | "SandBoxie: " | wide |
| $str05 | texte | "== System Info ==" | wide |
| $str06 | texte | "== Hardware ==" | wide |
| $str07 | texte | "== Domains ==" | wide |
| $str08 | texte | "WEBCAMS COUNT: " | wide |
| $str09 | texte | "[Virtualization]" | wide |
| $str10 | texte | "[Open google maps](" | wide |
| $str11 | texte | "Remember password: " | wide |
| $str12 | texte | "Target.Browsers.Firefox" | ascii |
| $str13 | texte | "Modules.Keylogger" | ascii |
| $str14 | texte | "ClipperAddresses" | ascii |
| $str15 | texte | "ChromiumPswPaths" | ascii |
| $str16 | texte | "DetectedBankingServices" | ascii |
| $str17 | texte | "DetectCryptocurrencyServices" | ascii |
| $str18 | texte | "CheckRemoteDebuggerPresent" | ascii |
| $str19 | texte | "GetConnectedCamerasCount" | ascii |
| $str20 | texte | "costura.discord-webhook-client.dll.compressed" | ascii wide |
Condition
uint16( 0 ) == 0x5A4D and filesize > 1MB and ( ( #stl > 5 and 2 of ( $str* ) ) or 15 of ( $str* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire plus de 1MB.
- Au moins 2 motifs de ( $str* ) doivent être trouvés.
- Au moins 15 motifs de ( $str* ) doivent être trouvés.
- Le motif $stl doit apparaître > 5 fois.
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: 165c7d3d-de7e-4d71-b94a-8ab4a0e5ddd5
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20