Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_RANSOM_Venus_Nov22_1

Detects Venus Ransomware samples

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth (Nextron Systems)
Date
2022-11-16
Modified
2023-12-05
Score / Quality
85 / 85

What this rule detects

Detects Venus Ransomware samples

Targets: Windows PE.

It defines 8 patterns (5 text, 3 hex, 0 regex). YARA modules used: pe.

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

mal-ransom-venus-nov22-1.yarDetection Rule License 1.1
import "pe"

rule SIGNATURE_BASE_MAL_RANSOM_Venus_Nov22_1 : FILE
{
	meta:
		description = "Detects Venus Ransomware samples"
		author = "Florian Roth (Nextron Systems)"
		id = "0f7e0ca4-c5e2-5557-92de-2e0d73035f12"
		date = "2022-11-16"
		modified = "2023-12-05"
		reference = "https://twitter.com/dyngnosis/status/1592588860168421376"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_ransom_venus.yar#L3-L38"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "46f9cbc3795d6be0edd49a2c43efe6e610b82741755c5076a89eeccaf98ee834"
		hash = "6d8e2d8f6aeb0f4512a53fe83b2ef7699513ebaff31735675f46d1beea3a8e05"
		hash = "931cab7fbc0eb2bbc5768f8abdcc029cef76aff98540d9f5214786dccdb6a224"
		hash = "969bfe42819e30e35ca601df443471d677e04c988928b63fccb25bf0531ea2cc"
		hash = "db6fcd33dcb3f25890c28e47c440845b17ce2042c34ade6d6508afd461bfa21c"
		hash = "ee036f333a0c4a24d9aa09848e635639e481695a9209474900eb71c9e453256b"
		hash = "fa7ba459236c7b27a0429f1961b992ab87fc8b3427469fd98bfc272ae6852063"
		logic_hash = "3c94d59015897f180ef55608a2761b37c7b52193e28895ea6a4c0548acf3ad34"
		score = 85
		quality = 85
		tags = "FILE"

	strings:
		$x1 = "<html><head><title>Venus</title><style type = \"text" ascii fullword
		$x2 = "xXBLTZKmAu9pjcfxrIK4gkDp/J9XXATjuysFRXG4rH4=" ascii fullword
		$x3 = "%s%x%x%x%x.goodgame" wide fullword
		$s1 = "/c ping localhost -n 3 > nul & del %s" ascii fullword
		$s2 = "C:\\Windows\\%s.png" wide
		$op1 = { 8b 4c 24 24 46 8b 7c 24 14 41 8b 44 24 30 81 c7 00 04 00 00 81 44 24 10 00 04 00 00 40 }
		$op2 = { 57 c7 45 fc 00 00 00 00 7e 3f 50 33 c0 74 03 9b 6e }
		$op3 = { 66 89 45 d4 0f 11 45 e8 e8 a8 e7 ff ff 83 c4 14 8d 45 e8 50 8d 45 a4 50 }

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 700KB and ( pe.imphash ( ) == "bb2600e94092da119ee6acbbd047be43" or 1 of ( $x* ) or 2 of them ) or 4 of them
}

Strings (8 patterns)

IdentifierTypeValueModifiers
$x1text"<html><head><title>Venus</title><style type = \"text"ascii fullword
$x2text"xXBLTZKmAu9pjcfxrIK4gkDp/J9XXATjuysFRXG4rH4="ascii fullword
$x3text"%s%x%x%x%x.goodgame"wide fullword
$s1text"/c ping localhost -n 3 > nul & del %s"ascii fullword
$s2text"C:\\Windows\\%s.png"wide
$op1hex{ 8b 4c 24 24 46 8b 7c 24 14 41 8b 44 24 30 81 c7 00 04 00 00 81 44 24 10 00 04 00 00 40 }
$op2hex{ 57 c7 45 fc 00 00 00 00 7e 3f 50 33 c0 74 03 9b 6e }
$op3hex{ 66 89 45 d4 0f 11 45 e8 e8 a8 e7 ff ff 83 c4 14 8d 45 e8 50 8d 45 a4 50 }

Condition

uint16( 0 ) == 0x5a4d and filesize < 700KB and ( pe.imphash ( ) == "bb2600e94092da119ee6acbbd047be43" or 1 of ( $x* ) or 2 of them ) or 4 of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 700KB (a cheap guard that skips large files).
  • At least 1 patterns in ( $x* ) must match.
  • At least 2 patterns in the rule must match.
  • At least 4 patterns in the rule must match.
  • Uses the pe module.
  • Checks the PE import hash (imphash).

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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 46f9cbc3795d6be0edd49a2c43efe6e610b82741755c5076a89eeccaf98ee834
  • 6d8e2d8f6aeb0f4512a53fe83b2ef7699513ebaff31735675f46d1beea3a8e05
  • 931cab7fbc0eb2bbc5768f8abdcc029cef76aff98540d9f5214786dccdb6a224
  • 969bfe42819e30e35ca601df443471d677e04c988928b63fccb25bf0531ea2cc
  • db6fcd33dcb3f25890c28e47c440845b17ce2042c34ade6d6508afd461bfa21c
  • ee036f333a0c4a24d9aa09848e635639e481695a9209474900eb71c9e453256b
  • fa7ba459236c7b27a0429f1961b992ab87fc8b3427469fd98bfc272ae6852063

Licence & attribution

Author: Florian Roth (Nextron Systems)

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 0f7e0ca4-c5e2-5557-92de-2e0d73035f12

Tags:FILE