Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Robbinhood

Robbinhood ransomware payload

MalwareRobbinhoodditekSHen 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

Robbinhood ransomware payload

Associated malware family: Robbinhood.

Targets: Windows PE.

It defines 14 patterns (13 text, 0 hex, 1 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-win-robbinhood.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Robbinhood : FILE
{
	meta:
		description = "Robbinhood ransomware payload"
		author = "ditekSHen"
		id = "a5066a22-3c87-5e9f-a94f-5a44af2f96fd"
		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#L765-L787"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "f1c4226ed5cb1583418d5ef0efc2c2b5bc3cfe7f148f359c5d432fd660331a46"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Ransomware.Robbinhood"

	strings:
		$go = "Go build ID:" ascii
		$cmd1 = "cmd.exe /c" ascii
		$cmd2 = "net use * /DELETE" nocase ascii
		$cmd3 = "sc.exe stop" ascii
		$cmd4 = "vssadmin resize shadowstorage" nocase ascii
		$s1 = /Skipping\s(file|dir)/ ascii
		$s2 = "Encrypt[ERR] GET Size:" ascii
		$s3 = ".taskkilltasklistunknown(" ascii
		$s4 = ".sysvssadmin.exewevtutil.exe MB released" ascii
		$s5 = ".sysvssadmin.exewevtutil.exewinlogin.exewinlogon.exe MB released" ascii
		$s6 = ".enc_robbinhood" ascii
		$s7 = "c:\\windows\\temp\\pub.key" nocase ascii
		$s8 = "main.CoolMaker" ascii
		$s9 = "/valery/go/src/oldboy/" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( $go and 1 of ( $cmd* ) and 3 of ( $s* ) )
}

Strings (14 patterns)

IdentifierTypeValueModifiers
$gotext"Go build ID:"ascii
$cmd1text"cmd.exe /c"ascii
$cmd2text"net use * /DELETE"nocase ascii
$cmd3text"sc.exe stop"ascii
$cmd4text"vssadmin resize shadowstorage"nocase ascii
$s1regex/Skipping\s(file|dir)/ascii
$s2text"Encrypt[ERR] GET Size:"ascii
$s3text".taskkilltasklistunknown("ascii
$s4text".sysvssadmin.exewevtutil.exe MB released"ascii
$s5text".sysvssadmin.exewevtutil.exewinlogin.exewinlogon.exe MB released"ascii
$s6text".enc_robbinhood"ascii
$s7text"c:\\windows\\temp\\pub.key"nocase ascii
$s8text"main.CoolMaker"ascii
$s9text"/valery/go/src/oldboy/"ascii

Condition

uint16( 0 ) == 0x5a4d and ( $go and 1 of ( $cmd* ) and 3 of ( $s* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 1 patterns in ( $cmd* ) must match.
  • At least 3 patterns in ( $s* ) must match.
  • Pattern $go must be present.

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: a5066a22-3c87-5e9f-a94f-5a44af2f96fd

Metadata

clamav_sigMALWARE.Win.Ransomware.Robbinhood

Tags:FILE