YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Rustystealer
Detect Rusty / Luca stealer
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detect Rusty / Luca stealer
Associated malware family: Rustystealer.
Targets: Windows PE.
It defines 16 patterns (15 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-rustystealer.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Rustystealer : FILE
{
meta:
= "Detect Rusty / Luca stealer"
= "ditekSHen"
= "af39f88c-e0df-51f6-bb11-f3a7231180d0"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10602-L10625"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "e60e66360c8f97a31e75cd90a12519f75f3a672874fc985a8da1d4d02e185b4d"
= 75
= 75
= "FILE"
strings:
$s1 = "EdgeMicrosoftedgechromiumChromium7star7StaramigoAmigobraveBrave" ascii
$s2 = "BrowserchromeChromekometaKometaorbitumOrbitumsputnikSputniktorchTorchucozmediaUranuCozMediavivaldiVivaldiatom" ascii
$s3 = ".kdbx.pdf.doc.docx.xls.xlsx.ppt.pptx.odt.odp\\logscx\\sensfiles.zip" ascii
$s4 = "dumper.rs" ascii
$s5 = "decryption_core.rs" ascii
$s6 = "anti_emulation.rs" ascii
$s7 = "discord.rs" ascii
$s8 = /\\logscx\\(passwords_|cookies_|creditcards_)/ ascii
$s9 = "VirtualBoxVBoxVMWareVMCountry" ascii
$s10 = "New Log From ( / )" ascii
$s11 = "BrowserChromeKometaOrbitumSputnikTorchUranuCozMediaVivaldiAtomMail" ascii
$s12 = "BrowserBraveSoftwareCentBrowserChedotChrome" ascii
$s13 = "ChromeKometaOrbitumSputnikTorchUranuCozMediaVivaldi" ascii
$s14 = "hostnameencryptedUsernameencryptedPasswordstruct" ascii
$s15 = "encryptedPassword" fullword ascii
$s16 = "AutoFill@~" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 6 of them
}
Strings (16 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "EdgeMicrosoftedgechromiumChromium7star7StaramigoAmigobraveBrave" | ascii |
| $s2 | text | "BrowserchromeChromekometaKometaorbitumOrbitumsputnikSputniktorchTorchucozmediaUranuCozMediavivaldiVivaldiatom" | ascii |
| $s3 | text | ".kdbx.pdf.doc.docx.xls.xlsx.ppt.pptx.odt.odp\\logscx\\sensfiles.zip" | ascii |
| $s4 | text | "dumper.rs" | ascii |
| $s5 | text | "decryption_core.rs" | ascii |
| $s6 | text | "anti_emulation.rs" | ascii |
| $s7 | text | "discord.rs" | ascii |
| $s8 | regex | /\\logscx\\(passwords_|cookies_|creditcards_)/ | ascii |
| $s9 | text | "VirtualBoxVBoxVMWareVMCountry" | ascii |
| $s10 | text | "New Log From ( / )" | ascii |
| $s11 | text | "BrowserChromeKometaOrbitumSputnikTorchUranuCozMediaVivaldiAtomMail" | ascii |
| $s12 | text | "BrowserBraveSoftwareCentBrowserChedotChrome" | ascii |
| $s13 | text | "ChromeKometaOrbitumSputnikTorchUranuCozMediaVivaldi" | ascii |
| $s14 | text | "hostnameencryptedUsernameencryptedPasswordstruct" | ascii |
| $s15 | text | "encryptedPassword" | fullword ascii |
| $s16 | text | "AutoFill@~" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and 6 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 6 patterns in the rule 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: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: af39f88c-e0df-51f6-bb11-f3a7231180d0
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06