Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Blackbytego

Detects BlackByte ransomware Go variants

MalwareBlackbytegoditekSHen 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 BlackByte ransomware Go variants

Zugehörige Malware-Familie: Blackbytego.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-blackbytego.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Blackbytego : FILE
{
	meta:
		description = "Detects BlackByte ransomware Go variants"
		author = "ditekSHen"
		id = "25431446-8cce-54cc-925d-5d9147344c6d"
		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#L8884-L8904"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b3e6a4a2f043293e8693cfbe1515681ce0616d98e2492732fc06a01a96309883"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "BlackByteGO/_cgo_gotypes.go" fullword ascii
		$x3 = "BlackByteGO/" ascii nocase
		$s1 = ".Disconnect" ascii
		$s2 = ".OpenService" ascii
		$s3 = ".ListServices" ascii
		$s4 = ".Start" ascii
		$s5 = ".Encrypt" ascii
		$s6 = ".Decrypt" ascii
		$s7 = ".MustFindProc" ascii
		$s8 = ".QuoRem" ascii
		$s9 = "C:\\Windows\\regedit.exe" fullword wide

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

Strings (11 Muster)

BezeichnerTypWertModifikatoren
$x1Text"BlackByteGO/_cgo_gotypes.go"fullword ascii
$x3Text"BlackByteGO/"ascii nocase
$s1Text".Disconnect"ascii
$s2Text".OpenService"ascii
$s3Text".ListServices"ascii
$s4Text".Start"ascii
$s5Text".Encrypt"ascii
$s6Text".Decrypt"ascii
$s7Text".MustFindProc"ascii
$s8Text".QuoRem"ascii
$s9Text"C:\\Windows\\regedit.exe"fullword wide

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $s* ) 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: 25431446-8cce-54cc-925d-5d9147344c6d

Tags:FILE