Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Protonbot

Detects ProtonBot loader

MalwareProtonbotditekSHen 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 ProtonBot loader

Zugehörige Malware-Familie: Protonbot.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-protonbot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Protonbot : FILE
{
	meta:
		description = "Detects ProtonBot loader"
		author = "ditekSHen"
		id = "b0d08378-0297-5e70-99f1-1dc0fec6fa01"
		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#L2952-L2969"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b511dfd47109d36ffc7fcb23b49779e1164d50a28061ab724d7a2c744ac23ac8"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Trojan.ProtonBot"

	strings:
		$x1 = "\\PROTON\\Release\\build.pdb" ascii
		$x2 = "\\proton\\proton bot\\json.hpp" wide
		$x3 = "proton bot" ascii wide
		$s1 = "endptr == token_buffer.data() + token_buffer.size()" fullword wide
		$s2 = "ranges.size() == 2 or ranges.size() == 4 or ranges.size() == 6" fullword wide
		$s3 = "ref_stack.back()->is_array() or ref_stack.back()->is_object()" fullword wide
		$s4 = "ktmw32.dll" fullword ascii
		$s5 = "@detail@nlohmann@@" ascii
		$s6 = "urlmon.dll" fullword ascii

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

Strings (9 Muster)

BezeichnerTypWertModifikatoren
$x1Text"\\PROTON\\Release\\build.pdb"ascii
$x2Text"\\proton\\proton bot\\json.hpp"wide
$x3Text"proton bot"ascii wide
$s1Text"endptr == token_buffer.data() + token_buffer.size()"fullword wide
$s2Text"ranges.size() == 2 or ranges.size() == 4 or ranges.size() == 6"fullword wide
$s3Text"ref_stack.back()->is_array() or ref_stack.back()->is_object()"fullword wide
$s4Text"ktmw32.dll"fullword ascii
$s5Text"@detail@nlohmann@@"ascii
$s6Text"urlmon.dll"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 2 Muster aus ( $x* ) müssen treffen.
  • Mindestens 1 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: b0d08378-0297-5e70-99f1-1dc0fec6fa01

Metadaten

clamav_sigMALWARE.Win.Trojan.ProtonBot

Tags:FILE