YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Orion
Orion Keylogger payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Orion Keylogger payload
Associated malware family: Orion.
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-orion.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Orion : FILE
{
meta:
= "Orion Keylogger payload"
= "ditekSHen"
= "b380b93b-6ceb-5244-aeca-b1f8f9a5b553"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L985-L1005"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "9e5521ebaf9bdef6dadd2a2a093bd6f87ded023d9a74db126ac8ec9a5f1f9744"
= 75
= 73
= "FILE"
strings:
$s1 = "\\Ranger.BrowserLogging" ascii wide nocase
$s2 = "GrabAccounts" fullword ascii
$s3 = "DownloadFile" fullword ascii
$s4 = "Internet Explorer Recovery" wide
$s5 = "Outlook Recovery" wide
$s6 = "Thunderbird Recovery" wide
$s7 = "Keylogs -" wide
$s8 = "WebCam_Capture.dll" wide
$s9 = " is not installed on this computer!" wide
$s10 = "cmd /c bfsvc.exe \"" wide
$s11 = "/Keylogs - PC:" fullword wide
$s12 = "/PC:" fullword wide
$s13 = "<p style=\"color:#CC7A00\">[" wide
condition:
( uint16( 0 ) == 0x5a4d and 5 of ( $s* ) ) or ( 6 of ( $s* ) )
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "\\Ranger.BrowserLogging" | ascii wide nocase |
| $s2 | text | "GrabAccounts" | fullword ascii |
| $s3 | text | "DownloadFile" | fullword ascii |
| $s4 | text | "Internet Explorer Recovery" | wide |
| $s5 | text | "Outlook Recovery" | wide |
| $s6 | text | "Thunderbird Recovery" | wide |
| $s7 | text | "Keylogs -" | wide |
| $s8 | text | "WebCam_Capture.dll" | wide |
| $s9 | text | " is not installed on this computer!" | wide |
| $s10 | text | "cmd /c bfsvc.exe \"" | wide |
| $s11 | text | "/Keylogs - PC:" | fullword wide |
| $s12 | text | "/PC:" | fullword wide |
| $s13 | text | "<p style=\"color:#CC7A00\">[" | wide |
Condition
( uint16( 0 ) == 0x5a4d and 5 of ( $s* ) ) or ( 6 of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 5 patterns in ( $s* ) must match.
- At least 6 patterns in ( $s* ) 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: b380b93b-6ceb-5244-aeca-b1f8f9a5b553
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