Skip to content

YARA · Malpedia signator rules

MALPEDIA_Elf_Babuk_Auto

autogenerated rule brought to you by yara-signator

MalwareBabukMalpedia signator rulesCreative Commons Attribution-ShareAlike 4.0Compiles with YARA-X
Author
Felix Bilstein - yara-signator at cocacoding dot com
Date
2024-10-31
Modified
2024-11-11
Score / Quality
75 / 75

What this rule detects

autogenerated rule brought to you by yara-signator

Associated malware family: Babuk.

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

Summary generated from the rule's metadata and condition.

Rule source

elf-babuk-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Elf_Babuk_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "8eba83d0-6c95-5d1f-85db-3750f26fdff6"
		date = "2024-10-31"
		modified = "2024-11-11"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/elf.babuk"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/elf.babuk_auto.yar#L1-L131"
		license_url = "N/A"
		logic_hash = "a4e1d4252d61243f852bbd89e2ebf51566a3485791e9905d978089b8c49c4cb9"
		score = 75
		quality = 75
		tags = "FILE"
		version = "1"
		tool = "yara-signator v0.6.0"
		signator_config = "callsandjumps;datarefs;binvalue"
		malpedia_rule_date = "20241030"
		malpedia_hash = "26e26953c49c8efafbf72a38076855d578e0a2e4"
		malpedia_version = "20241030"
		malpedia_license = "CC BY-SA 4.0"
		malpedia_sharing = "TLP:WHITE"

	strings:
		$sequence_0 = { 658b0d00000000 8b89fcffffff 3b6108 7678 83ec14 8b442418 8b4c241c }
		$sequence_1 = { 8b4c2438 890f 8b542444 89570c 8b1d???????? 85db }
		$sequence_2 = { e8???????? 8b44240c 89442410 8b4c2418 890c24 e8???????? 8b442420 }
		$sequence_3 = { e8???????? 8b442438 8b4804 90 8b492c 894c2420 e8???????? }
		$sequence_4 = { c3 658b1d00000000 8b9bfcffffff 8b5b18 8b5b70 8403 890424 }
		$sequence_5 = { 01d9 8b9c24a8010000 8bbc243c030000 01fb 11cd 8b8c248c010000 8b9c2464020000 }
		$sequence_6 = { 8b44244c 8b4c2440 31d2 eb06 8d5101 90 89f1 }
		$sequence_7 = { 895328 8b9424b0000000 8b8c2490000000 01ca 33562c 89532c }
		$sequence_8 = { 8b5a40 39d8 0f85360f0000 89bc2408020000 81c4dc010000 c3 89c7 }
		$sequence_9 = { 8b4c2424 01ca 89942444050000 8b8c2490050000 c1e11a 898c2420050000 }

	condition:
		7 of them and filesize < 4186112
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 658b0d00000000 8b89fcffffff 3b6108 7678 83ec14 8b442418 8b4c241c }
$sequence_1hex{ 8b4c2438 890f 8b542444 89570c 8b1d???????? 85db }
$sequence_2hex{ e8???????? 8b44240c 89442410 8b4c2418 890c24 e8???????? 8b442420 }
$sequence_3hex{ e8???????? 8b442438 8b4804 90 8b492c 894c2420 e8???????? }
$sequence_4hex{ c3 658b1d00000000 8b9bfcffffff 8b5b18 8b5b70 8403 890424 }
$sequence_5hex{ 01d9 8b9c24a8010000 8bbc243c030000 01fb 11cd 8b8c248c010000 8b9c2464020000 }
$sequence_6hex{ 8b44244c 8b4c2440 31d2 eb06 8d5101 90 89f1 }
$sequence_7hex{ 895328 8b9424b0000000 8b8c2490000000 01ca 33562c 89532c }
$sequence_8hex{ 8b5a40 39d8 0f85360f0000 89bc2408020000 81c4dc010000 c3 89c7 }
$sequence_9hex{ 8b4c2424 01ca 89942444050000 8b8c2490050000 c1e11a 898c2420050000 }

Condition

7 of them and filesize < 4186112

In plain words (Heuristic)

  • The file must be smaller than 4186112 (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: 8eba83d0-6c95-5d1f-85db-3750f26fdff6

Metadata

version1
toolyara-signator v0.6.0
signator_configcallsandjumps;datarefs;binvalue
malpedia_rule_date20241030
malpedia_hash26e26953c49c8efafbf72a38076855d578e0a2e4
malpedia_version20241030
malpedia_licenseCC BY-SA 4.0
malpedia_sharingTLP:WHITE

Tags:FILE

More Babuk rules