There is no description at this point.
rule win_enfal_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2024-10-31" version = "1" description = "Detects win.enfal." info = "autogenerated rule brought to you by yara-signator" tool = "yara-signator v0.6.0" signator_config = "callsandjumps;datarefs;binvalue" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.enfal" malpedia_rule_date = "20241030" malpedia_hash = "26e26953c49c8efafbf72a38076855d578e0a2e4" malpedia_version = "20241030" malpedia_license = "CC BY-SA 4.0" malpedia_sharing = "TLP:WHITE" /* DISCLAIMER * The strings used in this rule have been automatically selected from the * disassembly of memory dumps and unpacked files, using YARA-Signator. * The code and documentation is published here: * https://github.com/fxb-cocacoding/yara-signator * As Malpedia is used as data source, please note that for a given * number of families, only single samples are documented. * This likely impacts the degree of generalization these rules will offer. * Take the described generation method also into consideration when you * apply the rules in your use cases and assign them confidence levels. */ strings: $sequence_0 = { 8975ec e8???????? 8b7508 83c424 8d4df0 } // n = 5, score = 200 // 8975ec | mov dword ptr [ebp - 0x14], esi // e8???????? | // 8b7508 | mov esi, dword ptr [ebp + 8] // 83c424 | add esp, 0x24 // 8d4df0 | lea ecx, [ebp - 0x10] $sequence_1 = { 51 8d8d68ffffff 51 8d8de8fcffff } // n = 4, score = 200 // 51 | push ecx // 8d8d68ffffff | lea ecx, [ebp - 0x98] // 51 | push ecx // 8d8de8fcffff | lea ecx, [ebp - 0x318] $sequence_2 = { ff75ec ffd6 894304 8d4318 50 6a00 68???????? } // n = 7, score = 200 // ff75ec | push dword ptr [ebp - 0x14] // ffd6 | call esi // 894304 | mov dword ptr [ebx + 4], eax // 8d4318 | lea eax, [ebx + 0x18] // 50 | push eax // 6a00 | push 0 // 68???????? | $sequence_3 = { 837b1800 8945ec 0f86a6000000 894df4 8955f8 8b4dfc } // n = 6, score = 200 // 837b1800 | cmp dword ptr [ebx + 0x18], 0 // 8945ec | mov dword ptr [ebp - 0x14], eax // 0f86a6000000 | jbe 0xac // 894df4 | mov dword ptr [ebp - 0xc], ecx // 8955f8 | mov dword ptr [ebp - 8], edx // 8b4dfc | mov ecx, dword ptr [ebp - 4] $sequence_4 = { 50 e8???????? 83c410 8b461c } // n = 4, score = 200 // 50 | push eax // e8???????? | // 83c410 | add esp, 0x10 // 8b461c | mov eax, dword ptr [esi + 0x1c] $sequence_5 = { 683f000f00 8d8d68feffff 53 51 6803000080 ff5048 85c0 } // n = 7, score = 200 // 683f000f00 | push 0xf003f // 8d8d68feffff | lea ecx, [ebp - 0x198] // 53 | push ebx // 51 | push ecx // 6803000080 | push 0x80000003 // ff5048 | call dword ptr [eax + 0x48] // 85c0 | test eax, eax $sequence_6 = { 8b4df0 8908 ff45fc 8345f804 8b45fc } // n = 5, score = 200 // 8b4df0 | mov ecx, dword ptr [ebp - 0x10] // 8908 | mov dword ptr [eax], ecx // ff45fc | inc dword ptr [ebp - 4] // 8345f804 | add dword ptr [ebp - 8], 4 // 8b45fc | mov eax, dword ptr [ebp - 4] $sequence_7 = { 50 897da0 e8???????? 8d45f0 68???????? } // n = 5, score = 200 // 50 | push eax // 897da0 | mov dword ptr [ebp - 0x60], edi // e8???????? | // 8d45f0 | lea eax, [ebp - 0x10] // 68???????? | $sequence_8 = { ff55d4 85c0 7471 56 8d8554feffff 6a00 } // n = 6, score = 200 // ff55d4 | call dword ptr [ebp - 0x2c] // 85c0 | test eax, eax // 7471 | je 0x73 // 56 | push esi // 8d8554feffff | lea eax, [ebp - 0x1ac] // 6a00 | push 0 $sequence_9 = { e8???????? 83c444 8d45f0 53 } // n = 4, score = 200 // e8???????? | // 83c444 | add esp, 0x44 // 8d45f0 | lea eax, [ebp - 0x10] // 53 | push ebx condition: 7 of them and filesize < 65536 }
rule win_enfal_w0 { meta: author = "Florian Roth" description = "Generic Rule to detect the Enfal Malware" date = "2015/02/10" hash = "6d484daba3927fc0744b1bbd7981a56ebef95790" hash = "d4071272cc1bf944e3867db299b3f5dce126f82b" hash = "6c7c8b804cc76e2c208c6e3b6453cb134d01fa41" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.enfal" malpedia_version = "20170410" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $s1 = "Micorsoft Corportation" fullword wide $s2 = "IM Monnitor Service" fullword wide $x1 = "imemonsvc.dll" fullword wide $x2 = "iphlpsvc.tmp" fullword $x3 = "{53A4988C-F91F-4054-9076-220AC5EC03F3}" fullword $z1 = "urlmon" fullword $z2 = "Registered trademarks and service marks are the property of their" wide $z3 = "XpsUnregisterServer" fullword $z4 = "XpsRegisterServer" fullword condition: (( 1 of ($s*)) or ( 2 of ($x*) and all of ($z*) )) }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY