Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Hardrain_Auto

autogenerated rule brought to you by yara-signator

MalwareHardrainMalpedia signator rulesCreative Commons Attribution-ShareAlike 4.0Compiles with YARA-X
Author
Felix Bilstein - yara-signator at cocacoding dot com
Date
2026-05-04
Modified
2026-05-18
Score / Quality
75 / 75

What this rule detects

autogenerated rule brought to you by yara-signator

Associated malware family: Hardrain.

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

Summary generated from the rule's metadata and condition.

Rule source

win-hardrain-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Hardrain_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "2ffd1467-5498-56f3-a939-18fd49a9b53c"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.hardrain"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.hardrain_auto.yar#L1-L120"
		license_url = "N/A"
		logic_hash = "c4a3b4f95e5c8b2942ed8c937b9a15dd4ff46579fa79fc2e047695a69c217b33"
		score = 75
		quality = 75
		tags = "FILE"
		version = "1"
		tool = "yara-signator v0.6.0"
		signator_config = "callsandjumps;datarefs;binvalue"
		malpedia_rule_date = "20260422"
		malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
		malpedia_version = "20260504"
		malpedia_license = "CC BY-SA 4.0"
		malpedia_sharing = "TLP:WHITE"

	strings:
		$sequence_0 = { c1e902 f3a5 8bc8 8b442420 83e103 83f801 f3a4 }
		$sequence_1 = { 668944244c 885c244e ff15???????? 8bcd 8db4240c010000 8bd1 8d7c244d }
		$sequence_2 = { 743a 6a16 8d4c241c 55 }
		$sequence_3 = { f3a4 888390020000 b90c000000 33c0 }
		$sequence_4 = { e8???????? 83c408 68???????? ff15???????? 8b442404 50 }
		$sequence_5 = { 8bcd 57 8bc1 8bfb }
		$sequence_6 = { 895c242c c744243000000000 ff15???????? 85c0 7eca }
		$sequence_7 = { 5e 83c418 c3 33c9 33c0 8b542424 894c2410 }
		$sequence_8 = { 50 56 6857340000 51 e8???????? }
		$sequence_9 = { e8???????? 85c0 0f85e0000000 66a1???????? 53 56 57 }

	condition:
		7 of them and filesize < 368640
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ c1e902 f3a5 8bc8 8b442420 83e103 83f801 f3a4 }
$sequence_1hex{ 668944244c 885c244e ff15???????? 8bcd 8db4240c010000 8bd1 8d7c244d }
$sequence_2hex{ 743a 6a16 8d4c241c 55 }
$sequence_3hex{ f3a4 888390020000 b90c000000 33c0 }
$sequence_4hex{ e8???????? 83c408 68???????? ff15???????? 8b442404 50 }
$sequence_5hex{ 8bcd 57 8bc1 8bfb }
$sequence_6hex{ 895c242c c744243000000000 ff15???????? 85c0 7eca }
$sequence_7hex{ 5e 83c418 c3 33c9 33c0 8b542424 894c2410 }
$sequence_8hex{ 50 56 6857340000 51 e8???????? }
$sequence_9hex{ e8???????? 85c0 0f85e0000000 66a1???????? 53 56 57 }

Condition

7 of them and filesize < 368640

In plain words (Heuristic)

  • The file must be smaller than 368640 (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: 2ffd1467-5498-56f3-a939-18fd49a9b53c

Metadata

version1
toolyara-signator v0.6.0
signator_configcallsandjumps;datarefs;binvalue
malpedia_rule_date20260422
malpedia_hasha182e35da64e6d71cb55f125c4d4225196523f14
malpedia_version20260504
malpedia_licenseCC BY-SA 4.0
malpedia_sharingTLP:WHITE

Tags:FILE