Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Clipbanker01

Detects ClipBanker infostealer

MalwareClipbanker01ditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
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:
		description = "Detects ClipBanker infostealer"
		author = "ditekSHen"
		id = "b56514f4-8362-5698-8142-be836b70a11a"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8488-L8521"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "8ef90e22299a1009468761a4cdb8e2a92920d721f1a7ebceeb81a07e14f9156f"
		score = 75
		quality = 73
		tags = "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)

IdentifierTypeValueModifiers
$s1text"Clipper"fullword wide
$s2text"Ushell"fullword wide
$s3text"Banker"fullword wide
$s4text"ClipPurse"fullword wide nocase
$s5text"SelfClip"fullword wide
$s6text"Cliper"fullword wide
$s7text"FHQD4313-33DE-489D-9721-6AFF69841DEA"fullword wide
$s8text"Remove.bat"fullword wide
$s9text"\\w{1}\\d{12}"fullword wide
$s10text"SELECT * FROM Win32_ComputerSystem"fullword wide
$s11text"red hat"fullword wide
$s12hex{ 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 …
$s13text"ClipChanger"fullword ascii
$s14text"CheckVirtual"fullword ascii
$s15text"InjReg"fullword ascii
$s16text"SuicideFile"fullword ascii
$s17text"HideFile"fullword ascii
$s18text"AntiVm"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and 7 of them

In 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.

Open in editor

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).

Original rule

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