YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_MAL_EXFIL_Stealer_Output_Characteristics_Sep22_1
Detects typical stealer output files as created by RedLine or Racoon stealer
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-09-17
- Modified
- 2023-12-05
- Score / Quality
- 70 / 85
What this rule detects
Detects typical stealer output files as created by RedLine or Racoon stealer
Associated malware family: RedLine.
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_MAL_EXFIL_Stealer_Output_Characteristics_Sep22_1 : FILE
{
meta:
= "Detects typical stealer output files as created by RedLine or Racoon stealer"
= "Florian Roth (Nextron Systems)"
= "c1cab3c3-c4f3-5a19-9ea3-9e4242238359"
= "2022-09-17"
= "2023-12-05"
= "https://twitter.com/cglyer/status/1570965878480719873"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_stealer_exfil_zip.yar#L2-L30"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "8ce14c6b720281f43c75ce52e23ec13d08e7b2be1c5fbc2d704238f1fdd1a07f"
= "011c19d18fa446a2619b3a2512dacb2694e1da99a2c2ea7828769f1373ecd8fe"
= "418530bc7210f74ada8e7f16b41ea2033054e99f0c4423ce1d3ebf973c89e3a3"
= "aa6e2c8447f66527f9b6f4d54f57edc6cabe56095df94dc0656dca02e11356ab"
= "bbfb608061931565debac405ffebe3c4bb5dac8042443fe4e80aa03395955bd2"
= "c15107beecf3301fb12d140690034717e16bd5312a746e7ff43a7925e5533260"
= "197bb4b837cdd635f9340547b10a90c3a2a17f0113076c5ccbc0a91b7ae18eeb"
= 70
= 85
= "FILE"
strings:
$sa1 = "passwords.txt" ascii
$sa2 = "autofills/" ascii
$sa3 = "browsers/cookies/" ascii
$sa4 = "wallets/" ascii
$sb1 = "Passwords.txt" ascii
$sb2 = "Autofills/" ascii
$sb3 = "Browsers/Cookies/" ascii
$sb4 = "Wallets/" ascii
condition:
uint16( 0 ) == 0x4b50 and filesize < 5000KB and ( 2 of ( $sa* ) or 2 of ( $sb* ) )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sa1 | text | "passwords.txt" | ascii |
| $sa2 | text | "autofills/" | ascii |
| $sa3 | text | "browsers/cookies/" | ascii |
| $sa4 | text | "wallets/" | ascii |
| $sb1 | text | "Passwords.txt" | ascii |
| $sb2 | text | "Autofills/" | ascii |
| $sb3 | text | "Browsers/Cookies/" | ascii |
| $sb4 | text | "Wallets/" | ascii |
Condition
uint16( 0 ) == 0x4b50 and filesize < 5000KB and ( 2 of ( $sa* ) or 2 of ( $sb* ) )In plain words (Heuristic)
- The file must start with “PK” — a ZIP archive (also Office Open XML, JAR, APK).
- The file must be smaller than 5000KB (a cheap guard that skips large files).
- At least 2 patterns in ( $sa* ) must match.
- At least 2 patterns in ( $sb* ) 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 8ce14c6b720281f43c75ce52e23ec13d08e7b2be1c5fbc2d704238f1fdd1a07f
- 011c19d18fa446a2619b3a2512dacb2694e1da99a2c2ea7828769f1373ecd8fe
- 418530bc7210f74ada8e7f16b41ea2033054e99f0c4423ce1d3ebf973c89e3a3
- aa6e2c8447f66527f9b6f4d54f57edc6cabe56095df94dc0656dca02e11356ab
- bbfb608061931565debac405ffebe3c4bb5dac8042443fe4e80aa03395955bd2
- c15107beecf3301fb12d140690034717e16bd5312a746e7ff43a7925e5533260
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: c1cab3c3-c4f3-5a19-9ea3-9e4242238359
Tags:FILE
Related rules
- Suspicious / huntingCod3nym detection-rules· Jonathan Peters· 2024-01-05
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareESET malware-ioc· ESET Research· 2022-10-11
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-09-07
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-24