Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Former_First_Rat_Auto

autogenerated rule brought to you by yara-signator

MalwareFormer First RatMalpedia 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: Former First Rat.

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

Summary generated from the rule's metadata and condition.

Rule source

win-former-first-rat-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Former_First_Rat_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "4348ad15-5c8a-5a24-a796-399b9160e4f2"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.former_first_rat"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.former_first_rat_auto.yar#L1-L160"
		license_url = "N/A"
		logic_hash = "6ef782c3635c851c61b2dd6db894c4872fd1964b0b39c53cf6ae8e908598e70f"
		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 = { 57 e8???????? 83c404 56 e8???????? 8b8504ffffff 83c404 }
		$sequence_1 = { 75f8 8d85b4feffff 68???????? b90d000000 be???????? 50 }
		$sequence_2 = { b93c000000 03ce 83c40c c74424241c000000 81f900100000 7e5a }
		$sequence_3 = { 81c208020000 f3a5 3b44240c 75e4 }
		$sequence_4 = { 2bf1 b87fe0077e f7ee c1fa08 8bf2 }
		$sequence_5 = { 740a c705????????05000000 6a59 ffd6 }
		$sequence_6 = { 8d8de0feffff 51 bb08000000 e8???????? 8b9df8feffff 57 e8???????? }
		$sequence_7 = { 6a00 50 c645b400 e8???????? 33c0 }
		$sequence_8 = { 488d4c2438 e8???????? 488bd0 488d8c24f0000000 }
		$sequence_9 = { 4889040a 488b01 48637004 4803f1 }
		$sequence_10 = { 4d634804 4d8b6c3928 4d85ed 7e0a }
		$sequence_11 = { 4883f8ff 0f851e010000 488d158de00100 488bcf 498bf6 }
		$sequence_12 = { 4883792008 7205 498b09 eb03 }
		$sequence_13 = { 498bc7 4889842430010000 4c89bc2448010000 4c89bc2450010000 }
		$sequence_14 = { 48c78424a00000000f000000 4883a4249800000000 c684248800000000 80bc242801000000 743a }
		$sequence_15 = { 4c8da1f4010000 41383c24 7440 33d2 }

	condition:
		7 of them and filesize < 626688
}

Strings (16 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 57 e8???????? 83c404 56 e8???????? 8b8504ffffff 83c404 }
$sequence_1hex{ 75f8 8d85b4feffff 68???????? b90d000000 be???????? 50 }
$sequence_2hex{ b93c000000 03ce 83c40c c74424241c000000 81f900100000 7e5a }
$sequence_3hex{ 81c208020000 f3a5 3b44240c 75e4 }
$sequence_4hex{ 2bf1 b87fe0077e f7ee c1fa08 8bf2 }
$sequence_5hex{ 740a c705????????05000000 6a59 ffd6 }
$sequence_6hex{ 8d8de0feffff 51 bb08000000 e8???????? 8b9df8feffff 57 e8???????? }
$sequence_7hex{ 6a00 50 c645b400 e8???????? 33c0 }
$sequence_8hex{ 488d4c2438 e8???????? 488bd0 488d8c24f0000000 }
$sequence_9hex{ 4889040a 488b01 48637004 4803f1 }
$sequence_10hex{ 4d634804 4d8b6c3928 4d85ed 7e0a }
$sequence_11hex{ 4883f8ff 0f851e010000 488d158de00100 488bcf 498bf6 }
$sequence_12hex{ 4883792008 7205 498b09 eb03 }
$sequence_13hex{ 498bc7 4889842430010000 4c89bc2448010000 4c89bc2450010000 }
$sequence_14hex{ 48c78424a00000000f000000 4883a4249800000000 c684248800000000 80bc242801000000 743a }
$sequence_15hex{ 4c8da1f4010000 41383c24 7440 33d2 }

Condition

7 of them and filesize < 626688

In plain words (Heuristic)

  • The file must be smaller than 626688 (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: 4348ad15-5c8a-5a24-a796-399b9160e4f2

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