YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Clipbanker01
Detects ClipBanker infostealer
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Detects ClipBanker infostealer
Associated malware family: Clipbanker01.
Targets: Windows PE.
It defines 18 patterns (17 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-clipbanker01.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Clipbanker01 : FILE
{
meta:
= "Detects ClipBanker infostealer"
= "ditekSHen"
= "b56514f4-8362-5698-8142-be836b70a11a"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8488-L8521"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "8ef90e22299a1009468761a4cdb8e2a92920d721f1a7ebceeb81a07e14f9156f"
= 75
= 73
= "FILE"
strings:
$s1 = "Clipper" fullword wide
$s2 = "Ushell" fullword wide
$s3 = "Banker" fullword wide
$s4 = "ClipPurse" fullword wide nocase
$s5 = "SelfClip" fullword wide
$s6 = "Cliper" fullword wide
$s7 = "FHQD4313-33DE-489D-9721-6AFF69841DEA" fullword wide
$s8 = "Remove.bat" fullword wide
$s9 = "\\w{1}\\d{12}" fullword wide
$s10 = "SELECT * FROM Win32_ComputerSystem" fullword wide
$s11 = "red hat" fullword wide
$s12 = { 73 00 63 00 68 00 74 00 61 00 73 00 6b 00 73 00
2e 00 65 00 78 00 65 00 00 ?? 2f 00 63 00 72 00
65 00 61 00 74 00 65 00 20 00 2f 00 73 00 63 00
20 00 00 ?? 20 00 2f 00 6d 00 6f 00 20 00 00 ??
20 00 2f 00 72 00 6c 00 20 00 00 ?? 20 00 2f 00
74 00 6e 00 20 00 00 ?? 20 00 2f 00 74 00 72 00
20 00 00 ?? 20 00 ?? 00 ?? 00 00 ?? 2f 00 64 00
65 00 6c 00 65 00 74 00 65 00 20 00 2f 00 74 00
6e }
$s13 = "ClipChanger" fullword ascii
$s14 = "CheckVirtual" fullword ascii
$s15 = "InjReg" fullword ascii
$s16 = "SuicideFile" fullword ascii
$s17 = "HideFile" fullword ascii
$s18 = "AntiVm" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 7 of them
}
Strings (18 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Clipper" | fullword wide |
| $s2 | text | "Ushell" | fullword wide |
| $s3 | text | "Banker" | fullword wide |
| $s4 | text | "ClipPurse" | fullword wide nocase |
| $s5 | text | "SelfClip" | fullword wide |
| $s6 | text | "Cliper" | fullword wide |
| $s7 | text | "FHQD4313-33DE-489D-9721-6AFF69841DEA" | fullword wide |
| $s8 | text | "Remove.bat" | fullword wide |
| $s9 | text | "\\w{1}\\d{12}" | fullword wide |
| $s10 | text | "SELECT * FROM Win32_ComputerSystem" | fullword wide |
| $s11 | text | "red hat" | fullword wide |
| $s12 | hex | { 73 00 63 00 68 00 74 00 61 00 73 00 6b 00 73 00 2e 00 65 00 78 00 65 00 00 ?? 2f 00 63 00 72 00 65 00 61 00 74 00 65 00 20 0 … | |
| $s13 | text | "ClipChanger" | fullword ascii |
| $s14 | text | "CheckVirtual" | fullword ascii |
| $s15 | text | "InjReg" | fullword ascii |
| $s16 | text | "SuicideFile" | fullword ascii |
| $s17 | text | "HideFile" | fullword ascii |
| $s18 | text | "AntiVm" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and 7 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- 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: b56514f4-8362-5698-8142-be836b70a11a
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