YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Acridrain_Mar23
Finds AcridRain samples
- Author
- Sekoia.io
- Date
- 2023-03-21
- Modified
- 2024-12-19
- Score / Quality
- 75 / 78
What this rule detects
Finds AcridRain samples
Associated malware family: Acridrain.
Targets: Windows PE.
It defines 24 patterns (24 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
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* )
}
Strings (24 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "\",\"r\":" | ascii |
| $str02 | text | "\",\"s\":\"" | ascii |
| $str03 | text | "\",\"p\":\"" | ascii |
| $str04 | text | "\",\"a\":\"" | ascii |
| $str05 | text | ",\"c\":" | ascii |
| $str06 | text | ",\"g\" :" | ascii |
| $str07 | text | "v7166637466625297979 t2537736810932639330 ath5ee645e0 altpriv cvcv=2 cexpw=1 smf=0" | ascii |
| $str08 | text | "Content-Type: multipart/form-data; boundary=----974767299852498929531610575" | ascii |
| $str09 | text | "\\Roaming\\Bitwarden\\data\\bitwarden.sqlite3" | ascii |
| $ste01 | text | "\\Roaming\\Exodus\\exodus.wallet" | ascii |
| $ste02 | text | "\\Roaming\\Electron Cash\\wallets" | ascii |
| $ste03 | text | "\\Roaming\\com.liberty.jaxx\\IndexedDB\\file__0.indexeddb.leveldb" | ascii |
| $ste04 | text | "\\Local Extension Settings\\" | ascii |
| $ste05 | text | "cnmamaachppnkjgnildpdmkaakejnhae" | ascii |
| $ste06 | text | "ffnbelfdoeiohenkjibnmadjiehjhajb" | ascii |
| $ste07 | text | "\\formhistory.sqlite" | ascii |
| $ste08 | text | "\\logins.json" | ascii |
| $ste09 | text | "encrypted_key" | ascii |
| $ste10 | text | "\\Login Data" | ascii |
| $enc01 | text | "bX5cVw8FKyAKZVxXXUAdSTUXCXdCV0FoOxoSF0ZEUEZS" | ascii |
| $enc02 | text | "bX5cVw8FKywUaVVbRlkyPAQAFCB1U0dV" | ascii |
| $enc03 | text | "bX5cVw8FKzQvUBFhRkYINSIWA3IRdlJADw==" | ascii |
| $enc04 | text | "bX5cVw8FKzYWdUVcWl8iCBU5NXBERl1dBTUiFgNyEXZSQA8=" | ascii |
| $enc05 | text | "bWBcVQMAGQI6UEJbGGgeGxgDD2xUQW9QCw8WEAp0" | ascii |
Condition
uint16( 0 ) == 0x5A4D and 5 of ( $str* ) and 7 of ( $ste* ) and 1 of ( $enc* )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 5 patterns in ( $str* ) must match.
- At least 7 patterns in ( $ste* ) must match.
- At least 1 patterns in ( $enc* ) must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 049b502a-0fb6-4fa9-a1ce-f01a40269bdb
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- 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