Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Bluebot

Detects BlueBot

MalwareBluebotditekSHen 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 BlueBot

Zugehörige Malware-Familie: Bluebot.

Ziele: Windows-PE.

Sie definiert 20 Muster (19 Text, 0 Hex, 1 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-bluebot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Bluebot : FILE
{
	meta:
		description = "Detects BlueBot"
		author = "ditekSHen"
		id = "cddd40bb-c3c6-5c44-9cb1-480571375be8"
		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#L7306-L7333"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "04a19f649eb2fff7a5bc59ccead80cd0a04c4e5418cbc83e850045dba75b03e0"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "Blue_Botnet" wide
		$x2 = "5-START-http" ascii
		$x3 = "*300-END-" ascii
		$x4 = "botlogger.php" wide
		$s1 = "//TARGET//" wide
		$s2 = "//BLOG//" wide
		$s3 = "MCBOTALPHA" wide
		$s4 = "//IPLIST//" wide
		$s5 = "Host: //BLOG//" wide
		$s6 = "User-Agent: //USERAGENT//" wide
		$s7 = "<string>//TARGET//</string>" wide
		$s8 = "POST //URL// HTTP/1.1/r/n" wide
		$v1 = "<attack>b__" ascii
		$v2 = "PressData" fullword ascii
		$v3 = "POSTPiece" fullword ascii
		$v4 = /(load|tcp|udp)Stuff/ fullword ascii
		$v5 = "isAttacking" fullword ascii
		$v6 = "DoSAttack" fullword ascii
		$v7 = "prv_attack" fullword ascii
		$v8 = "blogList" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or 5 of ( $v* ) or 9 of them )
}

Strings (20 Muster)

BezeichnerTypWertModifikatoren
$x1Text"Blue_Botnet"wide
$x2Text"5-START-http"ascii
$x3Text"*300-END-"ascii
$x4Text"botlogger.php"wide
$s1Text"//TARGET//"wide
$s2Text"//BLOG//"wide
$s3Text"MCBOTALPHA"wide
$s4Text"//IPLIST//"wide
$s5Text"Host: //BLOG//"wide
$s6Text"User-Agent: //USERAGENT//"wide
$s7Text"<string>//TARGET//</string>"wide
$s8Text"POST //URL// HTTP/1.1/r/n"wide
$v1Text"<attack>b__"ascii
$v2Text"PressData"fullword ascii
$v3Text"POSTPiece"fullword ascii
$v4Regex/(load|tcp|udp)Stuff/fullword ascii
$v5Text"isAttacking"fullword ascii
$v6Text"DoSAttack"fullword ascii
$v7Text"prv_attack"fullword ascii
$v8Text"blogList"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or 5 of ( $v* ) or 9 of them )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 2 Muster aus ( $x* ) müssen treffen.
  • Mindestens 5 Muster aus ( $s* ) müssen treffen.
  • Mindestens 5 Muster aus ( $v* ) müssen treffen.
  • Mindestens 9 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: cddd40bb-c3c6-5c44-9cb1-480571375be8

Tags:FILE