Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Brbbot

Detects BrbBot

MalwareBrbbotditekSHen 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 BrbBot

Zugehörige Malware-Familie: Brbbot.

Ziele: Windows-PE.

Sie definiert 7 Muster (6 Text, 1 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-brbbot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Brbbot : FILE
{
	meta:
		description = "Detects BrbBot"
		author = "ditekSHen"
		id = "d77dfdcf-4cd5-578e-99eb-c987e7b5b706"
		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#L8327-L8345"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "64df5bba698fbba1baf27eedb9a2eb46c5e0752996ea91900f8377200d54eeeb"
		score = 75
		quality = 75
		tags = "FILE"
		snort_sid = "920265"

	strings:
		$x1 = "brbconfig.tmp" fullword ascii
		$x2 = "brbbot" fullword ascii
		$s1 = "%s?i=%s&c=%s&p=%s" fullword ascii
		$s2 = "exec" fullword ascii
		$s3 = "CONFIG" fullword ascii wide
		$s4 = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)" fullword ascii
		$s5 = { 43 4f 4e 46 49 47 00 00 65 6e 63 6f 64 65 00 00
                73 6c 65 65 70 00 00 00 65 78 69 74 00 00 00 00
                63 6f 6e 66 00 00 00 00 66 69 6c 65 00 00 00 00
                65 78 65 63 }

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

Strings (7 Muster)

BezeichnerTypWertModifikatoren
$x1Text"brbconfig.tmp"fullword ascii
$x2Text"brbbot"fullword ascii
$s1Text"%s?i=%s&c=%s&p=%s"fullword ascii
$s2Text"exec"fullword ascii
$s3Text"CONFIG"fullword ascii wide
$s4Text"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)"fullword ascii
$s5Hex{ 43 4f 4e 46 49 47 00 00 65 6e 63 6f 64 65 00 00 73 6c 65 65 70 00 00 00 65 78 69 74 00 00 00 00 63 6f 6e 66 00 00 00 00 66 69 …

Bedingung

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

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 1 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) 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: d77dfdcf-4cd5-578e-99eb-c987e7b5b706

Metadaten

snort_sid920265

Tags:FILE