Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Garrantdecrypt

Detects GarrantDecrypt ransomware

MalwareGarrantdecryptditekSHen 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 GarrantDecrypt ransomware

Associated malware family: Garrantdecrypt.

Targets: Windows PE.

It defines 7 patterns (6 text, 0 hex, 1 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-win-garrantdecrypt.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Garrantdecrypt : FILE
{
	meta:
		description = "Detects GarrantDecrypt ransomware"
		author = "ditekSHen"
		id = "e3be3663-9978-5b8e-b6b2-0f44f269adb2"
		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#L9082-L9096"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "84b139e51f0ef0389c641d62409d702b0ae7ec6ecd2fa54baf2cf0c0078a8f5a"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "%appdata%\\_uninstalling_.png" fullword wide
		$x2 = "C:\\Windows\\sysnative\\vssadmin.exe" fullword wide
		$x3 = /(ICQ|Skype) (@nuncatarde|@supersuso|@Whitehorsedecryption|@likeahorse|@Konwarszawski|@zipzipulya|Whitehorsedecryption|LIKEAHORSE DECRYPTION|Zip Zipulya)/ ascii
		$s1 = "your unique ID" ascii
		$s2 = "Google market ICQ" ascii
		$s3 = "If you want to restore them, install ICQ" ascii
		$s4 = "Write to our ICQ @" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $s* ) ) or all of ( $s* ) )
}

Strings (7 patterns)

IdentifierTypeValueModifiers
$x1text"%appdata%\\_uninstalling_.png"fullword wide
$x2text"C:\\Windows\\sysnative\\vssadmin.exe"fullword wide
$x3regex/(ICQ|Skype) (@nuncatarde|@supersuso|@Whitehorsedecryption|@likeahorse|@Konwarszawski|@zipzipulya|Whitehorsedecryption|LIKEAHORSE DECRYPTION|Zip Zipulya)/ascii
$s1text"your unique ID"ascii
$s2text"Google market ICQ"ascii
$s3text"If you want to restore them, install ICQ"ascii
$s4text"Write to our ICQ @"ascii

Condition

uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $s* ) ) or all of ( $s* ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $s* ) must match.
  • At least 2 patterns in ( $x* ) must match.
  • At least 1 patterns in ( $s* ) 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: e3be3663-9978-5b8e-b6b2-0f44f269adb2

Tags:FILE