Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Rat_Win_Hiddenz

Lazy rule to detect Hiddenz's HVNC sample based on te malware name contained in numerous samples

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2022-08-24
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Lazy rule to detect Hiddenz's HVNC sample based on te malware name contained in numerous samples

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

rat-win-hiddenz.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Hiddenz : FILE
{
	meta:
		description = "Lazy rule to detect Hiddenz's HVNC sample based on te malware name contained in numerous samples"
		author = "Sekoia.io"
		id = "4e582cda-4c50-4554-8e26-9d26206a02ee"
		date = "2022-08-24"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_hiddenz.yar#L1-L17"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "92f62c893d8a081cd52deaaac93d622fbb1c8e9c7df214e34c6b8066be72a424"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$name0 = "Hiddenz's HVNC" wide ascii
		$name1 = "Hiddenzs_HVNC_DLL" wide ascii
		$name2 = "HiddenzHVNC" wide ascii

	condition:
		uint16( 0 ) == 0x5A4D and 1 of ( $name* )
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$name0text"Hiddenz's HVNC"wide ascii
$name1text"Hiddenzs_HVNC_DLL"wide ascii
$name2text"HiddenzHVNC"wide ascii

Condition

uint16( 0 ) == 0x5A4D and 1 of ( $name* )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least 1 patterns in ( $name* ) 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: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

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: 4e582cda-4c50-4554-8e26-9d26206a02ee

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE