YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Xfiles
Detect the X-FILES infostealer based on specific strings
- Auteur
- Sekoia.io
- Date
- 2022-02-03
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 78
Ce que détecte cette règle
Detect the X-FILES infostealer based on specific strings
Famille de malware associée : Xfiles.
Cibles : PE Windows.
Elle définit 31 motifs (31 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-xfiles.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Xfiles : FILE
{
meta:
= "Detect the X-FILES infostealer based on specific strings"
= "Sekoia.io"
= "3ad3ee19-6be8-484b-943c-05813cdcbd18"
= "2022-02-03"
= "2024-12-19"
= "https://twitter.com/3xp0rtblog/status/1375206169384521730"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_xfiles.yar#L1-L50"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "404ee02fa1905f49c3c3ca525cfb3c5ba1d2ec46554239035c1891d21f547a2c"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$xfi0 = "Telegram bot - @XFILESShop_Bot" wide
$xfi1 = "Telegram support - @XFILES_Seller" wide
$brw0 = "\\Google\\Chrome\\User Data\\Default\\Network\\Cookies" wide
$brw1 = "\\Chromium\\User Data\\Default\\Cookies" wide
$brw2 = "\\Slimjet\\User Data\\Default\\Cookies" wide
$brw3 = "\\Vivaldi\\User Data\\Default\\Cookies" wide
$brw4 = "\\Opera Software\\Opera GX Stable\\Cookies" wide
$brw5 = "\\Opera Software\\Opera Stable\\Cookies" wide
$crp00 = "Tronlink" wide
$crp01 = "NiftyWallet" wide
$crp02 = "MetaMask" wide
$crp03 = "MathWallet" wide
$crp04 = "Coinbase" wide
$crp05 = "BinanceChain" wide
$crp06 = "GuardaWallet" wide
$crp07 = "EqualWallet" wide
$crp08 = "BitAppWallet" wide
$crp09 = "iWallet" wide
$crp10 = "Wombat" wide
$crp11 = "Zcash" wide
$crp12 = "Armory" wide
$crp13 = "Bytecoin" wide
$crp14 = "Jaxx" wide
$crp15 = "Exodus" wide
$crp16 = "Ethereum" wide
$crp17 = "AtomicWallet" wide
$crp18 = "Guarda" wide
$crp19 = "Coinomi" wide
$crp20 = "Litecoin" wide
$crp21 = "Dash" wide
$crp22 = "Bitcoin" wide
condition:
uint16( 0 ) == 0x5A4D and any of ( $xfi* ) or 5 of ( $brw* ) and 20 of ( $crp* )
}
Chaînes (31 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $xfi0 | texte | "Telegram bot - @XFILESShop_Bot" | wide |
| $xfi1 | texte | "Telegram support - @XFILES_Seller" | wide |
| $brw0 | texte | "\\Google\\Chrome\\User Data\\Default\\Network\\Cookies" | wide |
| $brw1 | texte | "\\Chromium\\User Data\\Default\\Cookies" | wide |
| $brw2 | texte | "\\Slimjet\\User Data\\Default\\Cookies" | wide |
| $brw3 | texte | "\\Vivaldi\\User Data\\Default\\Cookies" | wide |
| $brw4 | texte | "\\Opera Software\\Opera GX Stable\\Cookies" | wide |
| $brw5 | texte | "\\Opera Software\\Opera Stable\\Cookies" | wide |
| $crp00 | texte | "Tronlink" | wide |
| $crp01 | texte | "NiftyWallet" | wide |
| $crp02 | texte | "MetaMask" | wide |
| $crp03 | texte | "MathWallet" | wide |
| $crp04 | texte | "Coinbase" | wide |
| $crp05 | texte | "BinanceChain" | wide |
| $crp06 | texte | "GuardaWallet" | wide |
| $crp07 | texte | "EqualWallet" | wide |
| $crp08 | texte | "BitAppWallet" | wide |
| $crp09 | texte | "iWallet" | wide |
| $crp10 | texte | "Wombat" | wide |
| $crp11 | texte | "Zcash" | wide |
| $crp12 | texte | "Armory" | wide |
| $crp13 | texte | "Bytecoin" | wide |
| $crp14 | texte | "Jaxx" | wide |
| $crp15 | texte | "Exodus" | wide |
| $crp16 | texte | "Ethereum" | wide |
| $crp17 | texte | "AtomicWallet" | wide |
| $crp18 | texte | "Guarda" | wide |
| $crp19 | texte | "Coinomi" | wide |
| $crp20 | texte | "Litecoin" | wide |
| $crp21 | texte | "Dash" | wide |
| $crp22 | texte | "Bitcoin" | wide |
Condition
uint16( 0 ) == 0x5A4D and any of ( $xfi* ) or 5 of ( $brw* ) and 20 of ( $crp* )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins un motif de ( $xfi* ) doit être trouvé.
- Au moins 5 motifs de ( $brw* ) doivent être trouvés.
- Au moins 20 motifs de ( $crp* ) 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.
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: 3ad3ee19-6be8-484b-943c-05813cdcbd18
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