Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Dlagent05

Detects an unknown dropper. Typically exisys as a DLL in base64-encoded gzip-compressed file embedded within another executable

MalwareDlagent05ditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

Detects an unknown dropper. Typically exisys as a DLL in base64-encoded gzip-compressed file embedded within another executable

Associated malware family: Dlagent05.

Targets: Windows PE.

It defines 5 patterns (5 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-win-dlagent05.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Dlagent05 : FILE
{
	meta:
		description = "Detects an unknown dropper. Typically exisys as a DLL in base64-encoded gzip-compressed file embedded within another executable"
		author = "ditekSHen"
		id = "a8a72484-42be-5c5c-962b-75bed8acdf39"
		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#L3538-L3551"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "e8c7c03451bbfcba7a1ab02f8c1320ad50d17d2e990f0e2f89942faea2a1e531"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Trojan.DLAgent05"

	strings:
		$s1 = "MARCUS.dll" fullword ascii wide
		$s2 = "GZipStream" fullword ascii
		$s3 = "MemoryStream" fullword ascii
		$s4 = "proj_name" fullword ascii
		$s5 = "res_name" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and all of them
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$s1text"MARCUS.dll"fullword ascii wide
$s2text"GZipStream"fullword ascii
$s3text"MemoryStream"fullword ascii
$s4text"proj_name"fullword ascii
$s5text"res_name"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: a8a72484-42be-5c5c-962b-75bed8acdf39

Metadata

clamav_sigMALWARE.Win.Trojan.DLAgent05

Tags:FILE