Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Deathransom

Detects known DeathRansom ransomware

MalwareDeathransomditekSHen 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 known DeathRansom ransomware

Associated malware family: Deathransom.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-deathransom.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Deathransom : FILE
{
	meta:
		description = "Detects known DeathRansom ransomware"
		author = "ditekSHen"
		id = "a6eeb607-8b5c-5982-8b5a-aa2b3c6a65e6"
		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#L5908-L5925"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "3c87364a7ecc403262056eeccaa16bf230fbbe684e21d35099d0d572abba9eda"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "%s %f %c" fullword ascii
		$pdb1 = ":\\wud.pdb" ascii
		$spdb2 = "\\crypt_server\\runtime\\crypt" ascii
		$spdb3 = "\\bin\\nuvin.pdb" ascii
		$h1 = "#Dunubeyokunov" wide
		$h2 = "^Neyot dehipijakeyelih" wide
		$h3 = "talin%Sanovurenofibiw" wide
		$h4 = "WriteFile" fullword ascii
		$h5 = "ClearEventLogA" fullword ascii
		$h6 = "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0" ascii wide

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

Strings (10 patterns)

IdentifierTypeValueModifiers
$s1text"%s %f %c"fullword ascii
$pdb1text":\\wud.pdb"ascii
$spdb2text"\\crypt_server\\runtime\\crypt"ascii
$spdb3text"\\bin\\nuvin.pdb"ascii
$h1text"#Dunubeyokunov"wide
$h2text"^Neyot dehipijakeyelih"wide
$h3text"talin%Sanovurenofibiw"wide
$h4text"WriteFile"fullword ascii
$h5text"ClearEventLogA"fullword ascii
$h6text"Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"ascii wide

Condition

uint16( 0 ) == 0x5a4d and ( all of ( $pdb* ) or ( all of ( $s* ) and 1 of ( $pdb* ) ) or 5 of ( $h* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $pdb* ) must match.
  • All patterns in ( $s* ) must match.
  • At least 1 patterns in ( $pdb* ) must match.
  • At least 5 patterns in ( $h* ) 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: a6eeb607-8b5c-5982-8b5a-aa2b3c6a65e6

Tags:FILE