YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Acridrain_Mar23
Finds AcridRain samples
- Autor
- Sekoia.io
- Fecha
- 2023-03-21
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 78
Qué detecta esta regla
Finds AcridRain samples
Familia de malware asociada: Acridrain.
Objetivos: PE de Windows.
Define 24 patrones (24 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-acridrain-mar23.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Acridrain_Mar23 : FILE
{
meta:
= "Finds AcridRain samples"
= "Sekoia.io"
= "049b502a-0fb6-4fa9-a1ce-f01a40269bdb"
= "2023-03-21"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_acridrain_mar23.yar#L1-L40"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "7fa1822acc6264a3a58fffef3fc572f8818d99037b20d5abb8bfb41f025949d4"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "\",\"r\":" ascii
$str02 = "\",\"s\":\"" ascii
$str03 = "\",\"p\":\"" ascii
$str04 = "\",\"a\":\"" ascii
$str05 = ",\"c\":" ascii
$str06 = ",\"g\" :" ascii
$str07 = "v7166637466625297979 t2537736810932639330 ath5ee645e0 altpriv cvcv=2 cexpw=1 smf=0" ascii
$str08 = "Content-Type: multipart/form-data; boundary=----974767299852498929531610575" ascii
$str09 = "\\Roaming\\Bitwarden\\data\\bitwarden.sqlite3" ascii
$ste01 = "\\Roaming\\Exodus\\exodus.wallet" ascii
$ste02 = "\\Roaming\\Electron Cash\\wallets" ascii
$ste03 = "\\Roaming\\com.liberty.jaxx\\IndexedDB\\file__0.indexeddb.leveldb" ascii
$ste04 = "\\Local Extension Settings\\" ascii
$ste05 = "cnmamaachppnkjgnildpdmkaakejnhae" ascii
$ste06 = "ffnbelfdoeiohenkjibnmadjiehjhajb" ascii
$ste07 = "\\formhistory.sqlite" ascii
$ste08 = "\\logins.json" ascii
$ste09 = "encrypted_key" ascii
$ste10 = "\\Login Data" ascii
$enc01 = "bX5cVw8FKyAKZVxXXUAdSTUXCXdCV0FoOxoSF0ZEUEZS" ascii
$enc02 = "bX5cVw8FKywUaVVbRlkyPAQAFCB1U0dV" ascii
$enc03 = "bX5cVw8FKzQvUBFhRkYINSIWA3IRdlJADw==" ascii
$enc04 = "bX5cVw8FKzYWdUVcWl8iCBU5NXBERl1dBTUiFgNyEXZSQA8=" ascii
$enc05 = "bWBcVQMAGQI6UEJbGGgeGxgDD2xUQW9QCw8WEAp0" ascii
condition:
uint16( 0 ) == 0x5A4D and 5 of ( $str* ) and 7 of ( $ste* ) and 1 of ( $enc* )
}
Cadenas (24 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "\",\"r\":" | ascii |
| $str02 | texto | "\",\"s\":\"" | ascii |
| $str03 | texto | "\",\"p\":\"" | ascii |
| $str04 | texto | "\",\"a\":\"" | ascii |
| $str05 | texto | ",\"c\":" | ascii |
| $str06 | texto | ",\"g\" :" | ascii |
| $str07 | texto | "v7166637466625297979 t2537736810932639330 ath5ee645e0 altpriv cvcv=2 cexpw=1 smf=0" | ascii |
| $str08 | texto | "Content-Type: multipart/form-data; boundary=----974767299852498929531610575" | ascii |
| $str09 | texto | "\\Roaming\\Bitwarden\\data\\bitwarden.sqlite3" | ascii |
| $ste01 | texto | "\\Roaming\\Exodus\\exodus.wallet" | ascii |
| $ste02 | texto | "\\Roaming\\Electron Cash\\wallets" | ascii |
| $ste03 | texto | "\\Roaming\\com.liberty.jaxx\\IndexedDB\\file__0.indexeddb.leveldb" | ascii |
| $ste04 | texto | "\\Local Extension Settings\\" | ascii |
| $ste05 | texto | "cnmamaachppnkjgnildpdmkaakejnhae" | ascii |
| $ste06 | texto | "ffnbelfdoeiohenkjibnmadjiehjhajb" | ascii |
| $ste07 | texto | "\\formhistory.sqlite" | ascii |
| $ste08 | texto | "\\logins.json" | ascii |
| $ste09 | texto | "encrypted_key" | ascii |
| $ste10 | texto | "\\Login Data" | ascii |
| $enc01 | texto | "bX5cVw8FKyAKZVxXXUAdSTUXCXdCV0FoOxoSF0ZEUEZS" | ascii |
| $enc02 | texto | "bX5cVw8FKywUaVVbRlkyPAQAFCB1U0dV" | ascii |
| $enc03 | texto | "bX5cVw8FKzQvUBFhRkYINSIWA3IRdlJADw==" | ascii |
| $enc04 | texto | "bX5cVw8FKzYWdUVcWl8iCBU5NXBERl1dBTUiFgNyEXZSQA8=" | ascii |
| $enc05 | texto | "bWBcVQMAGQI6UEJbGGgeGxgDD2xUQW9QCw8WEAp0" | ascii |
Condición
uint16( 0 ) == 0x5A4D and 5 of ( $str* ) and 7 of ( $ste* ) and 1 of ( $enc* )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 5 patrones de ( $str* ).
- Deben coincidir al menos 7 patrones de ( $ste* ).
- Deben coincidir al menos 1 patrones de ( $enc* ).
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.
Referencias
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: 049b502a-0fb6-4fa9-a1ce-f01a40269bdb
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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