Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Biopass_Dropper

Detects Go BioPass dropper

MalwareBiopassditekSHen 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 Go BioPass dropper

Zugehörige Malware-Familie: Biopass.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-biopass-dropper.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Biopass_Dropper : FILE
{
	meta:
		description = "Detects Go BioPass dropper"
		author = "ditekSHen"
		id = "56037c79-59f7-587c-8f54-c9618e871f34"
		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#L7088-L7111"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "06f3b3ee38349ddcf9be7cbb7627d60fa673962409dde6e4badd112841a3ed19"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$go = "Go build ID:" ascii
		$s1 = "main.NetWorkStatus" ascii
		$s2 = "main.NoErrorRunFunction" ascii
		$s3 = "main.FileExist" ascii
		$s4 = "main.execute" ascii
		$s5 = "main.PsGenerator" ascii
		$s6 = "main.downFile" ascii
		$s7 = "main.Unzip" ascii
		$url1 = "https://flashdownloadserver.oss-cn-hongkong.aliyuncs.com/res/" ascii
		$x1 = "SCHTASKS /Run /TN SYSTEM_CDAEMON" ascii
		$x2 = "SCHTASKS /Run /TN SYSTEM_SETTINGS" ascii
		$x3 = "SCHTASKS /Run /TN SYSTEM_TEST && SCHTASKS /DELETE /F /TN SYSTEM_TEST" ascii
		$x4 = ".exe /install /quiet /norestart" ascii
		$x5 = "exec(''import urllib.request;exec(urllib.request.urlopen(urllib.request.Request(\\''http" ascii
		$x6 = "powershell.exe -Command $" ascii
		$x7 = ".Path ='-----BEGIN RSA TESTING KEY-----" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or 5 of ( $x* ) or ( 1 of ( $url* ) and ( $go ) ) or 9 of them )
}

Strings (16 Muster)

BezeichnerTypWertModifikatoren
$goText"Go build ID:"ascii
$s1Text"main.NetWorkStatus"ascii
$s2Text"main.NoErrorRunFunction"ascii
$s3Text"main.FileExist"ascii
$s4Text"main.execute"ascii
$s5Text"main.PsGenerator"ascii
$s6Text"main.downFile"ascii
$s7Text"main.Unzip"ascii
$url1Text"https://flashdownloadserver.oss-cn-hongkong.aliyuncs.com/res/"ascii
$x1Text"SCHTASKS /Run /TN SYSTEM_CDAEMON"ascii
$x2Text"SCHTASKS /Run /TN SYSTEM_SETTINGS"ascii
$x3Text"SCHTASKS /Run /TN SYSTEM_TEST && SCHTASKS /DELETE /F /TN SYSTEM_TEST"ascii
$x4Text".exe /install /quiet /norestart"ascii
$x5Text"exec(''import urllib.request;exec(urllib.request.urlopen(urllib.request.Request(\\''http"ascii
$x6Text"powershell.exe -Command $"ascii
$x7Text".Path ='-----BEGIN RSA TESTING KEY-----"ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or 5 of ( $x* ) or ( 1 of ( $url* ) and ( $go ) ) or 9 of them )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 5 Muster aus ( $x* ) müssen treffen.
  • Mindestens 1 Muster aus ( $url* ) 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: 56037c79-59f7-587c-8f54-c9618e871f34

Tags:FILE