Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Spyro

Detects Spyro / VoidCrypt / Limbozar ransomware

MalwareSpyroditekSHen 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 Spyro / VoidCrypt / Limbozar ransomware

Associated malware family: Spyro.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

malware-win-spyro.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Spyro : FILE
{
	meta:
		description = "Detects Spyro / VoidCrypt / Limbozar ransomware"
		author = "ditekSHen"
		id = "8b3273c4-827e-50ce-983e-a5843f6b5a78"
		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#L6649-L6675"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "2e3be361f6d4283fd312a4486eaa39d6594813937cc3f62dbb603babeff17929"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Decrypt-info.txt" ascii wide
		$s2 = "AbolHidden" ascii wide
		$s3 = "C:\\ProgramData\\prvkey" ascii wide
		$s4 = ".?AV?$TF_CryptoSystemBase@VPK_Encryptor@CryptoPP" ascii
		$s5 = "C:\\Users\\LEGION\\" ascii
		$s6 = "C:\\ProgramData\\pkey.txt" fullword ascii
		$s7 = ".Spyro" fullword ascii
		$m1 = "Go to C:\\ProgramData\\ or in Your other Drives" wide
		$m2 = "saving prvkey.txt.key file will cause" wide
		$m3 = "in Case of no Answer:" wide
		$m4 = "send us prvkey*.txt.key" wide
		$m5 = "Somerhing went wrong while writing payload on disk" ascii
		$m6 = "this country is forbidden.\"}" ascii
		$c1 = "Voidcrypt/1.0" ascii
		$c2 = "h1dd3n.cc" ascii
		$c3 = "/voidcrypt/index.php" ascii
		$c4 = "&user=" ascii
		$c5 = "&disk-size=" ascii
		$c6 = "unique-id=" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $c* ) or 3 of ( $m* ) or 8 of them )
}

Strings (19 patterns)

IdentifierTypeValueModifiers
$s1text"Decrypt-info.txt"ascii wide
$s2text"AbolHidden"ascii wide
$s3text"C:\\ProgramData\\prvkey"ascii wide
$s4text".?AV?$TF_CryptoSystemBase@VPK_Encryptor@CryptoPP"ascii
$s5text"C:\\Users\\LEGION\\"ascii
$s6text"C:\\ProgramData\\pkey.txt"fullword ascii
$s7text".Spyro"fullword ascii
$m1text"Go to C:\\ProgramData\\ or in Your other Drives"wide
$m2text"saving prvkey.txt.key file will cause"wide
$m3text"in Case of no Answer:"wide
$m4text"send us prvkey*.txt.key"wide
$m5text"Somerhing went wrong while writing payload on disk"ascii
$m6text"this country is forbidden.\"}"ascii
$c1text"Voidcrypt/1.0"ascii
$c2text"h1dd3n.cc"ascii
$c3text"/voidcrypt/index.php"ascii
$c4text"&user="ascii
$c5text"&disk-size="ascii
$c6text"unique-id="ascii

Condition

uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $c* ) or 3 of ( $m* ) or 8 of them )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 5 patterns in ( $s* ) must match.
  • At least 4 patterns in ( $c* ) must match.
  • At least 3 patterns in ( $m* ) must match.
  • At least 8 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: 8b3273c4-827e-50ce-983e-a5843f6b5a78

Tags:FILE