Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_DEADWOOD

Detects DEADWOOD

MalwareDeadwoodditekSHen 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 DEADWOOD

Associated malware family: Deadwood.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-deadwood.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_DEADWOOD : FILE
{
	meta:
		description = "Detects DEADWOOD"
		author = "ditekSHen"
		id = "a75e30d8-75ec-5eaf-94f5-5556a3b947ae"
		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#L6297-L6313"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "bf53abc801971b294e0a23bb0162ceb7c56a563a16e73c317f6a890ba545b67d"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Service Start Work !!!!" fullword ascii
		$s2 = "Error GetTokenInformation : " fullword ascii
		$s3 = "\\Windows\\System32\\net.exe" fullword wide
		$s4 = "App Start Work !!!!" fullword ascii
		$s5 = "vmmouse" fullword wide
		$s6 = "CDPUserSvc_" wide
		$s7 = "WpnUserService_" wide
		$s8 = "User is :" wide
		$s9 = "\\params" fullword ascii

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

Strings (9 patterns)

IdentifierTypeValueModifiers
$s1text"Service Start Work !!!!"fullword ascii
$s2text"Error GetTokenInformation : "fullword ascii
$s3text"\\Windows\\System32\\net.exe"fullword wide
$s4text"App Start Work !!!!"fullword ascii
$s5text"vmmouse"fullword wide
$s6text"CDPUserSvc_"wide
$s7text"WpnUserService_"wide
$s8text"User is :"wide
$s9text"\\params"fullword ascii

Condition

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

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 6 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: a75e30d8-75ec-5eaf-94f5-5556a3b947ae

Tags:FILE