YARA · ditekSHen detection
DITEKSHEN_INDICATOR_TOOL_PWS_Amady
Detects password stealer DLL. Dropped by Amadey
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-25
- Score / Quality
- 75 / 75
What this rule detects
Detects password stealer DLL. Dropped by Amadey
Associated malware family: Amadey.
Targets: Windows PE.
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
indicator-tool-pws-amady.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_PWS_Amady : FILE
{
meta:
= "Detects password stealer DLL. Dropped by Amadey"
= "ditekSHen"
= "6ee4e25b-bf38-5664-a08f-94e3fa92aa29"
= "2020-11-06"
= "2024-09-25"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L291-L306"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "409374bec5f58abeb7741b41f0fc7ea1c3fdc7bbc3f0c0628db0e3aac82836d1"
= 75
= 75
= "FILE"
strings:
$s1 = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\AppData" fullword ascii
$s2 = "Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles\\Outlook" ascii
$s3 = "\\Mikrotik\\Winbox\\Addresses.cdb" fullword ascii
$s4 = "\\HostName" fullword ascii
$s5 = "\\Password" fullword ascii
$s6 = "SOFTWARE\\RealVNC\\" ascii
$s7 = "SOFTWARE\\TightVNC\\" ascii
$s8 = "cred.dll" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and filesize < 400KB and 7 of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\AppData" | fullword ascii |
| $s2 | text | "Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles\\Outlook" | ascii |
| $s3 | text | "\\Mikrotik\\Winbox\\Addresses.cdb" | fullword ascii |
| $s4 | text | "\\HostName" | fullword ascii |
| $s5 | text | "\\Password" | fullword ascii |
| $s6 | text | "SOFTWARE\\RealVNC\\" | ascii |
| $s7 | text | "SOFTWARE\\TightVNC\\" | ascii |
| $s8 | text | "cred.dll" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and filesize < 400KB and 7 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 400KB (a cheap guard that skips large files).
- At least 7 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: 6ee4e25b-bf38-5664-a08f-94e3fa92aa29
Tags:FILE
Related rules
- Suspicious / huntingditekSHen detection· ditekSHen· 2020-11-06
- Suspicious / huntingditekSHen detection· ditekShen· 2021-01-21
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2025-06-18
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-05-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-05-17
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-05-16
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly, YungBinary· 2021-02-18