YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Xfiles
Detect the X-FILES infostealer based on specific strings
- Autor
- Sekoia.io
- Fecha
- 2022-02-03
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 78
Qué detecta esta regla
Detect the X-FILES infostealer based on specific strings
Familia de malware asociada: Xfiles.
Objetivos: PE de Windows.
Define 31 patrones (31 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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* )
}
Cadenas (31 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $xfi0 | texto | "Telegram bot - @XFILESShop_Bot" | wide |
| $xfi1 | texto | "Telegram support - @XFILES_Seller" | wide |
| $brw0 | texto | "\\Google\\Chrome\\User Data\\Default\\Network\\Cookies" | wide |
| $brw1 | texto | "\\Chromium\\User Data\\Default\\Cookies" | wide |
| $brw2 | texto | "\\Slimjet\\User Data\\Default\\Cookies" | wide |
| $brw3 | texto | "\\Vivaldi\\User Data\\Default\\Cookies" | wide |
| $brw4 | texto | "\\Opera Software\\Opera GX Stable\\Cookies" | wide |
| $brw5 | texto | "\\Opera Software\\Opera Stable\\Cookies" | wide |
| $crp00 | texto | "Tronlink" | wide |
| $crp01 | texto | "NiftyWallet" | wide |
| $crp02 | texto | "MetaMask" | wide |
| $crp03 | texto | "MathWallet" | wide |
| $crp04 | texto | "Coinbase" | wide |
| $crp05 | texto | "BinanceChain" | wide |
| $crp06 | texto | "GuardaWallet" | wide |
| $crp07 | texto | "EqualWallet" | wide |
| $crp08 | texto | "BitAppWallet" | wide |
| $crp09 | texto | "iWallet" | wide |
| $crp10 | texto | "Wombat" | wide |
| $crp11 | texto | "Zcash" | wide |
| $crp12 | texto | "Armory" | wide |
| $crp13 | texto | "Bytecoin" | wide |
| $crp14 | texto | "Jaxx" | wide |
| $crp15 | texto | "Exodus" | wide |
| $crp16 | texto | "Ethereum" | wide |
| $crp17 | texto | "AtomicWallet" | wide |
| $crp18 | texto | "Guarda" | wide |
| $crp19 | texto | "Coinomi" | wide |
| $crp20 | texto | "Litecoin" | wide |
| $crp21 | texto | "Dash" | wide |
| $crp22 | texto | "Bitcoin" | wide |
Condición
uint16( 0 ) == 0x5A4D and any of ( $xfi* ) or 5 of ( $brw* ) and 20 of ( $crp* )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Debe coincidir al menos un patrón de ( $xfi* ).
- Deben coincidir al menos 5 patrones de ( $brw* ).
- Deben coincidir al menos 20 patrones de ( $crp* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 3ad3ee19-6be8-484b-943c-05813cdcbd18
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- 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