Actor(s): Equation Group
There is no description at this point.
rule win_fanny_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.fanny." 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.fanny" malpedia_rule_date = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { 8065fe00 66ab 6a32 aa ffd6 c645f863 } // n = 6, score = 200 // 8065fe00 | and byte ptr [ebp - 2], 0 // 66ab | stosw word ptr es:[edi], ax // 6a32 | push 0x32 // aa | stosb byte ptr es:[edi], al // ffd6 | call esi // c645f863 | mov byte ptr [ebp - 8], 0x63 $sequence_1 = { 51 8d442400 c7442400ffffffff 50 68???????? ff15???????? } // n = 6, score = 200 // 51 | push ecx // 8d442400 | lea eax, [esp] // c7442400ffffffff | mov dword ptr [esp], 0xffffffff // 50 | push eax // 68???????? | // ff15???????? | $sequence_2 = { eb23 8b5508 0fb602 3de9000000 7516 837d0c00 7410 } // n = 7, score = 200 // eb23 | jmp 0x25 // 8b5508 | mov edx, dword ptr [ebp + 8] // 0fb602 | movzx eax, byte ptr [edx] // 3de9000000 | cmp eax, 0xe9 // 7516 | jne 0x18 // 837d0c00 | cmp dword ptr [ebp + 0xc], 0 // 7410 | je 0x12 $sequence_3 = { 50 57 ff15???????? 8d74240c b8???????? 8a10 8a1e } // n = 7, score = 200 // 50 | push eax // 57 | push edi // ff15???????? | // 8d74240c | lea esi, [esp + 0xc] // b8???????? | // 8a10 | mov dl, byte ptr [eax] // 8a1e | mov bl, byte ptr [esi] $sequence_4 = { ff750c e8???????? 8b1d???????? 59 8b45f0 } // n = 5, score = 200 // ff750c | push dword ptr [ebp + 0xc] // e8???????? | // 8b1d???????? | // 59 | pop ecx // 8b45f0 | mov eax, dword ptr [ebp - 0x10] $sequence_5 = { 83a5bcfdffff00 6a01 53 8b35???????? } // n = 4, score = 200 // 83a5bcfdffff00 | and dword ptr [ebp - 0x244], 0 // 6a01 | push 1 // 53 | push ebx // 8b35???????? | $sequence_6 = { 7412 0fb655cf 83fa64 7409 0fb645cf } // n = 5, score = 200 // 7412 | je 0x14 // 0fb655cf | movzx edx, byte ptr [ebp - 0x31] // 83fa64 | cmp edx, 0x64 // 7409 | je 0xb // 0fb645cf | movzx eax, byte ptr [ebp - 0x31] $sequence_7 = { 8d45fc 50 8d85f8fdffff 50 8d45f8 50 6a00 } // n = 7, score = 200 // 8d45fc | lea eax, [ebp - 4] // 50 | push eax // 8d85f8fdffff | lea eax, [ebp - 0x208] // 50 | push eax // 8d45f8 | lea eax, [ebp - 8] // 50 | push eax // 6a00 | push 0 $sequence_8 = { 8b0d???????? 894dc4 668b15???????? 668955c8 8d45c4 8945ac } // n = 6, score = 200 // 8b0d???????? | // 894dc4 | mov dword ptr [ebp - 0x3c], ecx // 668b15???????? | // 668955c8 | mov word ptr [ebp - 0x38], dx // 8d45c4 | lea eax, [ebp - 0x3c] // 8945ac | mov dword ptr [ebp - 0x54], eax $sequence_9 = { e9???????? 837d1000 751a ba???????? } // n = 4, score = 200 // e9???????? | // 837d1000 | cmp dword ptr [ebp + 0x10], 0 // 751a | jne 0x1c // ba???????? | $sequence_10 = { 81c709010000 8d443011 50 57 } // n = 4, score = 200 // 81c709010000 | add edi, 0x109 // 8d443011 | lea eax, [eax + esi + 0x11] // 50 | push eax // 57 | push edi $sequence_11 = { 751a ba???????? 81ea???????? 8b85ccfdffff } // n = 4, score = 200 // 751a | jne 0x1c // ba???????? | // 81ea???????? | // 8b85ccfdffff | mov eax, dword ptr [ebp - 0x234] $sequence_12 = { 7423 8d85d8fdffff 50 8d85d4fdffff 50 } // n = 5, score = 200 // 7423 | je 0x25 // 8d85d8fdffff | lea eax, [ebp - 0x228] // 50 | push eax // 8d85d4fdffff | lea eax, [ebp - 0x22c] // 50 | push eax $sequence_13 = { ffd6 3bfb 8be8 0f84f2010000 3beb 0f84ea010000 8b442420 } // n = 7, score = 200 // ffd6 | call esi // 3bfb | cmp edi, ebx // 8be8 | mov ebp, eax // 0f84f2010000 | je 0x1f8 // 3beb | cmp ebp, ebx // 0f84ea010000 | je 0x1f0 // 8b442420 | mov eax, dword ptr [esp + 0x20] $sequence_14 = { 56 ff35???????? ffd7 85c0 7456 53 } // n = 6, score = 200 // 56 | push esi // ff35???????? | // ffd7 | call edi // 85c0 | test eax, eax // 7456 | je 0x58 // 53 | push ebx $sequence_15 = { ffd6 ffd6 6804010000 8be8 e8???????? } // n = 5, score = 200 // ffd6 | call esi // ffd6 | call esi // 6804010000 | push 0x104 // 8be8 | mov ebp, eax // e8???????? | condition: 7 of them and filesize < 368640 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY