Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Chebka

Detects Chebka

MalwareChebkaditekSHen 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 Chebka

Zugehörige Malware-Familie: Chebka.

Ziele: Windows-PE.

Sie definiert 14 Muster (13 Text, 0 Hex, 1 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-chebka.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Chebka : FILE
{
	meta:
		description = "Detects Chebka"
		author = "ditekSHen"
		id = "df486522-695c-56f5-b93a-6f16829a3a3e"
		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#L9009-L9030"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "cc8123a5d20fac51d4dfc225e743539456efb4d649060d078c3ed93e7724da01"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "-k netsvcs" wide
		$s2 = "%ssvchost.exe -k SystemNetworkService" wide
		$s3 = "Mozilla/4.0 (compatible)" wide
		$s4 = "_kasssperskdy" wide
		$s5 = "winssyslog" wide
		$s6 = "LoaderDll%d" wide
		$s7 = "cmd.exe /c rundll32.exe shell32.dll," wide
		$s8 = /cmd.exe \/c start (chrome|msedge|firefox|iexplorer)\.exe/ wide
		$f1 = ".?AVCHVncManager@@" fullword ascii
		$f2 = ".?AVCNetstatManager@@" fullword ascii
		$f3 = ".?AVCTcpAgentListener@@" fullword ascii
		$f4 = ".?AVIUdpClientListener@@" fullword ascii
		$f5 = ".?AVCShellManager@@" fullword ascii
		$f6 = ".?AVCScreenSpy@@" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or all of ( $f* ) or ( 3 of ( $f* ) and 3 of ( $s* ) ) or ( #s8 > 2 and 5 of them ) )
}

Strings (14 Muster)

BezeichnerTypWertModifikatoren
$s1Text"-k netsvcs"wide
$s2Text"%ssvchost.exe -k SystemNetworkService"wide
$s3Text"Mozilla/4.0 (compatible)"wide
$s4Text"_kasssperskdy"wide
$s5Text"winssyslog"wide
$s6Text"LoaderDll%d"wide
$s7Text"cmd.exe /c rundll32.exe shell32.dll,"wide
$s8Regex/cmd.exe \/c start (chrome|msedge|firefox|iexplorer)\.exe/wide
$f1Text".?AVCHVncManager@@"fullword ascii
$f2Text".?AVCNetstatManager@@"fullword ascii
$f3Text".?AVCTcpAgentListener@@"fullword ascii
$f4Text".?AVIUdpClientListener@@"fullword ascii
$f5Text".?AVCShellManager@@"fullword ascii
$f6Text".?AVCScreenSpy@@"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or all of ( $f* ) or ( 3 of ( $f* ) and 3 of ( $s* ) ) or ( #s8 > 2 and 5 of them ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $f* ) müssen treffen.
  • Mindestens 5 Muster aus ( $s* ) müssen treffen.
  • Mindestens 3 Muster aus ( $f* ) müssen treffen.
  • Mindestens 3 Muster aus ( $s* ) müssen treffen.
  • Mindestens 5 Muster aus der Regel müssen treffen.
  • Muster $s8 muss > 2-mal vorkommen.

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: df486522-695c-56f5-b93a-6f16829a3a3e

Tags:FILE