Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Win_Eking_Rich_Header

Detect Eking ransomware using its rich header

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

What this rule detects

Detect Eking ransomware using its rich header

Targets: Windows PE.

It has no patterns: the condition alone decides (modules, file properties or other rules). YARA modules used: pe, hash.

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

ransomware-win-eking-rich-header.yarDetection Rule License 1.1
import "pe"
import "hash"

rule SEKOIA_Ransomware_Win_Eking_Rich_Header
{
	meta:
		description = "Detect Eking ransomware using its rich header"
		author = "Sekoia.io"
		id = "9fe76f89-f27a-4a47-a61c-2d767a1a8acb"
		date = "2021-10-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_eking_rich_header.yar#L4-L15"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "0028200fc2e929dba6fcc4ddf5d8e07825842e2f65c69ad94ebd032ae3748c90"
		score = 75
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	condition:
		hash.md5( pe.rich_signature.clear_data ) == "256b60751602028612562b73ecdb163c"
}

Condition

hash.md5( pe.rich_signature.clear_data ) == "256b60751602028612562b73ecdb163c"

In plain words (Heuristic)

  • Uses the hash module.
  • Uses the pe module.
  • Compares a hash of the file or a part of it.

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: 9fe76f89-f27a-4a47-a61c-2d767a1a8acb

Metadata

version1.0
classificationTLP:CLEAR