Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Clipbanker02

Detects ClipBanker infostealer

MalwareClipbanker02ditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 75

Was diese Regel erkennt

Detects ClipBanker infostealer

Zugehörige Malware-Familie: Clipbanker02.

Ziele: Windows-PE.

Sie definiert 18 Muster (18 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-clipbanker02.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Clipbanker02 : FILE
{
	meta:
		description = "Detects ClipBanker infostealer"
		author = "ditekSHen"
		id = "c2a480cf-e81b-53a2-999a-80209050e0cf"
		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#L8789-L8814"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "51a43245b1e0b6fea874302b73bf552012c54c3f7c12b8c447c96c2ffdcc1dcb"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "\\Allcome\\Source code\\Clipper\\" ascii nocase
		$x2 = "\\cleaper\\Release\\cleaper.pdb" ascii nocase
		$v1_1 = "&username=" fullword ascii
		$v1_2 = "/card.php?data=" fullword ascii
		$v1_3 = "/Create /tn MicrosoftDriver /sc MINUTE /tr" fullword ascii
		$v1_4 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" fullword ascii
		$v1_5 = "/API/Clipper/ykesqk0o.php?cf6zrlhn=" fullword ascii
		$v1_6 = "&di7ztth6=" fullword ascii
		$v1_7 = "/API/Clipper/hr627gzk.php?v6etwxo5=" fullword ascii
		$v2_1 = "bitcoincash:" fullword ascii
		$v2_2 = "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup" ascii
		$re1 = "^[0-9]{16}$" fullword ascii
		$re2 = "^[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}" fullword ascii
		$re3 = "^\\d{2}\\D\\d{2}" fullword ascii
		$re4 = "^[0-9]{3}" fullword ascii
		$re5 = "([\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?)" fullword ascii
		$re6 = "(\\d{2}\\D\\d{2})" fullword ascii
		$re7 = "(\\d{3})" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and ( 5 of ( $v1* ) or all of ( $v2* ) ) ) or ( 3 of ( $re* ) and ( 2 of ( $v1* ) or 2 of ( $v2* ) ) ) )
}

Strings (18 Muster)

BezeichnerTypWertModifikatoren
$x1Text"\\Allcome\\Source code\\Clipper\\"ascii nocase
$x2Text"\\cleaper\\Release\\cleaper.pdb"ascii nocase
$v1_1Text"&username="fullword ascii
$v1_2Text"/card.php?data="fullword ascii
$v1_3Text"/Create /tn MicrosoftDriver /sc MINUTE /tr"fullword ascii
$v1_4Text"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0"fullword ascii
$v1_5Text"/API/Clipper/ykesqk0o.php?cf6zrlhn="fullword ascii
$v1_6Text"&di7ztth6="fullword ascii
$v1_7Text"/API/Clipper/hr627gzk.php?v6etwxo5="fullword ascii
$v2_1Text"bitcoincash:"fullword ascii
$v2_2Text"\\Microsoft\\Windows\\Start Menu\\Programs\\Startup"ascii
$re1Text"^[0-9]{16}$"fullword ascii
$re2Text"^[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}"fullword ascii
$re3Text"^\\d{2}\\D\\d{2}"fullword ascii
$re4Text"^[0-9]{3}"fullword ascii
$re5Text"([\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?)"fullword ascii
$re6Text"(\\d{2}\\D\\d{2})"fullword ascii
$re7Text"(\\d{3})"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and ( 5 of ( $v1* ) or all of ( $v2* ) ) ) or ( 3 of ( $re* ) and ( 2 of ( $v1* ) or 2 of ( $v2* ) ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $v2* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 5 Muster aus ( $v1* ) müssen treffen.
  • Mindestens 3 Muster aus ( $re* ) müssen treffen.
  • Mindestens 2 Muster aus ( $v1* ) müssen treffen.
  • Mindestens 2 Muster aus ( $v2* ) müssen treffen.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: c2a480cf-e81b-53a2-999a-80209050e0cf

Tags:FILE