Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Abubasbanditbot

Detects Abubasbandit Bot. Observed to drop cryptocurrency miner detected by MALWARE_Win_CoinMiner02

MalwareAbubasbanditbotditekSHen 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 Abubasbandit Bot. Observed to drop cryptocurrency miner detected by MALWARE_Win_CoinMiner02

Zugehörige Malware-Familie: Abubasbanditbot.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-abubasbanditbot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Abubasbanditbot : FILE
{
	meta:
		description = "Detects Abubasbandit Bot. Observed to drop cryptocurrency miner detected by MALWARE_Win_CoinMiner02"
		author = "ditekSHen"
		id = "8bedd1f7-bd77-5f26-8665-1d23fe56100f"
		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#L10524-L10541"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "aae40178dadff720b42d211a025fd696eabdcc91761c6a91809f5f088c588c31"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "magickeycmd" ascii
		$x2 = "chat_id" ascii
		$x3 = "GetTempPathW" ascii
		$x4 = "Add-MpPreference" ascii
		$x5 = "-Command" ascii
		$s1 = "application/x-www-form-urlencoded" ascii
		$s2 = "gzip, deflate/index.html" ascii
		$s3 = "powershellAdd-MpPreference -ExclusionPath" ascii
		$s4 = "tar-xf-C" ascii
		$s5 = "temp_file.bin" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 4 of ( $x* ) and 2 of ( $s* ) ) or ( ( all of ( $s* ) and 3 of ( $x* ) ) ) or ( 8 of them ) )
}

Strings (10 Muster)

BezeichnerTypWertModifikatoren
$x1Text"magickeycmd"ascii
$x2Text"chat_id"ascii
$x3Text"GetTempPathW"ascii
$x4Text"Add-MpPreference"ascii
$x5Text"-Command"ascii
$s1Text"application/x-www-form-urlencoded"ascii
$s2Text"gzip, deflate/index.html"ascii
$s3Text"powershellAdd-MpPreference -ExclusionPath"ascii
$s4Text"tar-xf-C"ascii
$s5Text"temp_file.bin"ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 4 of ( $x* ) and 2 of ( $s* ) ) or ( ( all of ( $s* ) and 3 of ( $x* ) ) ) or ( 8 of them ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $x* ) müssen treffen.
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 4 Muster aus ( $x* ) müssen treffen.
  • Mindestens 2 Muster aus ( $s* ) müssen treffen.
  • Mindestens 3 Muster aus ( $x* ) müssen treffen.
  • Mindestens 8 Muster aus der Regel 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: 8bedd1f7-bd77-5f26-8665-1d23fe56100f

Tags:FILE