Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Dlagent06

Detects known downloader agent downloading encoded binaries in patches

MalwareDlagent06ditekSHen 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 known downloader agent downloading encoded binaries in patches

Zugehörige Malware-Familie: Dlagent06.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-dlagent06.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Dlagent06 : FILE
{
	meta:
		description = "Detects known downloader agent downloading encoded binaries in patches"
		author = "ditekSHen"
		id = "00cb5184-b12d-5014-bee8-116cc72dfa47"
		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#L4593-L4610"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "9188804ad0e08f3e0cd09eb8815abea14da5aa28aef9084d19108a24f49f65c7"
		score = 75
		quality = 75
		tags = "FILE"
		snort2_sid = "920122"
		snort3_sid = "920119"

	strings:
		$s1 = "totallist" fullword ascii wide
		$s2 = "LINKS_HERE" fullword wide
		$s3 = "[SPLITTER]" fullword wide
		$var2_1 = "DownloadWeb" fullword ascii
		$var2_2 = "WriteByte" fullword ascii
		$var2_3 = "MemoryStream" fullword ascii
		$var2_4 = "DownloadString" fullword ascii
		$var2_5 = "WebClient" fullword ascii

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

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$s1Text"totallist"fullword ascii wide
$s2Text"LINKS_HERE"fullword wide
$s3Text"[SPLITTER]"fullword wide
$var2_1Text"DownloadWeb"fullword ascii
$var2_2Text"WriteByte"fullword ascii
$var2_3Text"MemoryStream"fullword ascii
$var2_4Text"DownloadString"fullword ascii
$var2_5Text"WebClient"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 2 of ( $var2* ) ) or ( 4 of ( $var2* ) and 2 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 2 Muster aus ( $var2* ) müssen treffen.
  • Mindestens 4 Muster aus ( $var2* ) müssen treffen.
  • Mindestens 2 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: 00cb5184-b12d-5014-bee8-116cc72dfa47

Metadaten

snort2_sid920122
snort3_sid920119

Tags:FILE