Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Hermes_Ransom_Auto

autogenerated rule brought to you by yara-signator

MalwareHermes RansomMalpedia signator rulesCreative Commons Attribution-ShareAlike 4.0Compiles with YARA-X
Author
Felix Bilstein - yara-signator at cocacoding dot com
Date
2021-10-07
Modified
2021-10-08
Score / Quality
75 / 75

What this rule detects

autogenerated rule brought to you by yara-signator

Associated malware family: Hermes Ransom.

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

Summary generated from the rule's metadata and condition.

Rule source

win-hermes-ransom-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Hermes_Ransom_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "88136c82-87ab-5f89-8963-9afb9534a540"
		date = "2021-10-07"
		modified = "2021-10-08"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.hermes_ransom"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.hermes_ransom_auto.yar#L1-L125"
		license_url = "N/A"
		logic_hash = "2bb9637b7e3ee9fcdd4e957eade001e8c8132e1b7c987ea6727ab44eda025915"
		score = 75
		quality = 75
		tags = "FILE"
		version = "1"
		tool = "yara-signator v0.6.0"
		signator_config = "callsandjumps;datarefs;binvalue"
		malpedia_rule_date = "20211007"
		malpedia_hash = "e5b790e0f888f252d49063a1251ca60ec2832535"
		malpedia_version = "20211008"
		malpedia_license = "CC BY-SA 4.0"
		malpedia_sharing = "TLP:WHITE"

	strings:
		$sequence_0 = { 59 59 8945e0 837ddc00 7506 837de000 7405 }
		$sequence_1 = { 8d45dc 50 ff75d8 8d8560ffffff 50 ff75e0 ff15???????? }
		$sequence_2 = { 33c0 668945e2 33c0 8945e4 8945e8 837df020 }
		$sequence_3 = { 6a00 8d85a4f9ffff 50 ff15???????? 5f 5e 8be5 }
		$sequence_4 = { 0fb7844504f7ffff 83f83b 741f 8b45d8 8b4df0 668b8c4d04f7ffff }
		$sequence_5 = { 8365c800 8365d000 c745b840420f00 8365e000 eb07 8b45e0 40 }
		$sequence_6 = { 59 6bc900 668981e8c34000 6a02 }
		$sequence_7 = { 59 59 6a0f 6a00 8d45bc 50 }
		$sequence_8 = { 8365f000 8b45f0 8945f8 837df800 7456 }
		$sequence_9 = { 83e002 7415 ff750c ff75fc e8???????? 59 }

	condition:
		7 of them and filesize < 7192576
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 59 59 8945e0 837ddc00 7506 837de000 7405 }
$sequence_1hex{ 8d45dc 50 ff75d8 8d8560ffffff 50 ff75e0 ff15???????? }
$sequence_2hex{ 33c0 668945e2 33c0 8945e4 8945e8 837df020 }
$sequence_3hex{ 6a00 8d85a4f9ffff 50 ff15???????? 5f 5e 8be5 }
$sequence_4hex{ 0fb7844504f7ffff 83f83b 741f 8b45d8 8b4df0 668b8c4d04f7ffff }
$sequence_5hex{ 8365c800 8365d000 c745b840420f00 8365e000 eb07 8b45e0 40 }
$sequence_6hex{ 59 6bc900 668981e8c34000 6a02 }
$sequence_7hex{ 59 59 6a0f 6a00 8d45bc 50 }
$sequence_8hex{ 8365f000 8b45f0 8945f8 837df800 7456 }
$sequence_9hex{ 83e002 7415 ff750c ff75fc e8???????? 59 }

Condition

7 of them and filesize < 7192576

In plain words (Heuristic)

  • The file must be smaller than 7192576 (a cheap guard that skips large files).
  • At least 7 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: Felix Bilstein - yara-signator at cocacoding dot com

Source repository: Malpedia signator rules @ c901f97b7d

Licence: Creative Commons Attribution-ShareAlike 4.0 (repository licence)

Original rule

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

Rule id: 88136c82-87ab-5f89-8963-9afb9534a540

Metadata

version1
toolyara-signator v0.6.0
signator_configcallsandjumps;datarefs;binvalue
malpedia_rule_date20211007
malpedia_hashe5b790e0f888f252d49063a1251ca60ec2832535
malpedia_version20211008
malpedia_licenseCC BY-SA 4.0
malpedia_sharingTLP:WHITE

Tags:FILE