Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Xenorat

Detects Blacksuit

MalwareXenoratditekSHen 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 Blacksuit

Zugehörige Malware-Familie: Xenorat.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-xenorat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Xenorat : FILE
{
	meta:
		description = "Detects Blacksuit"
		author = "ditekshen"
		id = "7f27ebef-8a0e-591a-a926-ac950db86053"
		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#L11805-L11820"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "487046464f545fb9e4a1d6e277cdc010eac6886583f0b388555a483d9021191b"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "xeno rat client" wide
		$x2 = "xeno_rat_client." ascii
		$x3 = "xeno rat client" ascii
		$s1 = "+<AddToStartupNonAdmin>" ascii
		$s2 = "+<ConnectAndSetupAsync>" ascii
		$s3 = "+<SendUpdateInfo>" ascii
		$s4 = "+<RecvAllAsync_ddos_" ascii
		$s5 = "Plugin.Chromium+<Get" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) or ( 2 of ( $x* ) ) )
}

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$x1Text"xeno rat client"wide
$x2Text"xeno_rat_client."ascii
$x3Text"xeno rat client"ascii
$s1Text"+<AddToStartupNonAdmin>"ascii
$s2Text"+<ConnectAndSetupAsync>"ascii
$s3Text"+<SendUpdateInfo>"ascii
$s4Text"+<RecvAllAsync_ddos_"ascii
$s5Text"Plugin.Chromium+<Get"ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) or ( 2 of ( $x* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 2 Muster aus ( $s* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) müssen treffen.
  • Mindestens 2 Muster aus ( $x* ) 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: 7f27ebef-8a0e-591a-a926-ac950db86053

Tags:FILE