YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Lu0Bot
Detects Lu0Bot
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects Lu0Bot
Associated malware family: Lu0Bot.
Targets: Windows PE.
It defines 4 patterns (2 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-lu0bot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lu0Bot : FILE
{
meta:
= "Detects Lu0Bot"
= "ditekSHen"
= "f8595553-b911-5e30-9ece-cad7d5913f19"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7274-L7285"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b4822248230a804b1dc75f8d517af28a621dab1746c9ef45eaa4754149ce0cba"
= 75
= 75
= "FILE"
strings:
$s1 = "WinExec" fullword ascii
$s2 = "AlignRects" fullword ascii
$o1 = { be 00 20 40 00 89 f7 89 f0 81 c7 a? 01 00 00 81 }
$o2 = { 53 50 e8 b0 01 00 00 e9 99 01 00 00 e8 ae 01 00 }
condition:
uint16( 0 ) == 0x5a4d and filesize < 4KB and 1 of ( $s* ) and all of ( $o* )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "WinExec" | fullword ascii |
| $s2 | text | "AlignRects" | fullword ascii |
| $o1 | hex | { be 00 20 40 00 89 f7 89 f0 81 c7 a? 01 00 00 81 } | |
| $o2 | hex | { 53 50 e8 b0 01 00 00 e9 99 01 00 00 e8 ae 01 00 } |
Condition
uint16( 0 ) == 0x5a4d and filesize < 4KB and 1 of ( $s* ) and all of ( $o* )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 4KB (a cheap guard that skips large files).
- All patterns in ( $o* ) must match.
- At least 1 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: f8595553-b911-5e30-9ece-cad7d5913f19
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