Actor(s): APT34
There is no description at this point.
rule win_helminth_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.helminth." 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.helminth" malpedia_rule_date = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { a1???????? 68e8030000 8907 e8???????? } // n = 4, score = 300 // a1???????? | // 68e8030000 | push 0x3e8 // 8907 | mov dword ptr [edi], eax // e8???????? | $sequence_1 = { 8b7d08 8bc7 c1f805 8bf7 83e61f c1e606 03348570750110 } // n = 7, score = 200 // 8b7d08 | mov edi, dword ptr [ebp + 8] // 8bc7 | mov eax, edi // c1f805 | sar eax, 5 // 8bf7 | mov esi, edi // 83e61f | and esi, 0x1f // c1e606 | shl esi, 6 // 03348570750110 | add esi, dword ptr [eax*4 + 0x10017570] $sequence_2 = { 75f0 8bcf e8???????? e9???????? ffb5f4fdffff 8b35???????? 6a00 } // n = 7, score = 200 // 75f0 | jne 0xfffffff2 // 8bcf | mov ecx, edi // e8???????? | // e9???????? | // ffb5f4fdffff | push dword ptr [ebp - 0x20c] // 8b35???????? | // 6a00 | push 0 $sequence_3 = { 83c410 85f6 7409 0f57c0 f30f7f06 } // n = 5, score = 200 // 83c410 | add esp, 0x10 // 85f6 | test esi, esi // 7409 | je 0xb // 0f57c0 | xorps xmm0, xmm0 // f30f7f06 | movdqu xmmword ptr [esi], xmm0 $sequence_4 = { 03ff 8b048570750110 894c1830 8b45f0 8b5de8 3b450c } // n = 6, score = 200 // 03ff | add edi, edi // 8b048570750110 | mov eax, dword ptr [eax*4 + 0x10017570] // 894c1830 | mov dword ptr [eax + ebx + 0x30], ecx // 8b45f0 | mov eax, dword ptr [ebp - 0x10] // 8b5de8 | mov ebx, dword ptr [ebp - 0x18] // 3b450c | cmp eax, dword ptr [ebp + 0xc] $sequence_5 = { 59 85c0 7810 3de4000000 7309 8b04c598250110 5d } // n = 7, score = 200 // 59 | pop ecx // 85c0 | test eax, eax // 7810 | js 0x12 // 3de4000000 | cmp eax, 0xe4 // 7309 | jae 0xb // 8b04c598250110 | mov eax, dword ptr [eax*8 + 0x10012598] // 5d | pop ebp $sequence_6 = { 83e31f c1e306 894df4 895ddc 8b148d70750110 8a441a04 a801 } // n = 7, score = 200 // 83e31f | and ebx, 0x1f // c1e306 | shl ebx, 6 // 894df4 | mov dword ptr [ebp - 0xc], ecx // 895ddc | mov dword ptr [ebp - 0x24], ebx // 8b148d70750110 | mov edx, dword ptr [ecx*4 + 0x10017570] // 8a441a04 | mov al, byte ptr [edx + ebx + 4] // a801 | test al, 1 $sequence_7 = { c20400 8b3d???????? 6a00 6a00 56 8d44244c 50 } // n = 7, score = 200 // c20400 | ret 4 // 8b3d???????? | // 6a00 | push 0 // 6a00 | push 0 // 56 | push esi // 8d44244c | lea eax, [esp + 0x4c] // 50 | push eax $sequence_8 = { d1f9 8d85d8fbffff 51 50 ffb5d4fbffff } // n = 5, score = 100 // d1f9 | sar ecx, 1 // 8d85d8fbffff | lea eax, [ebp - 0x428] // 51 | push ecx // 50 | push eax // ffb5d4fbffff | push dword ptr [ebp - 0x42c] $sequence_9 = { 56 33c0 50 6a01 ff75f4 ff75f0 } // n = 6, score = 100 // 56 | push esi // 33c0 | xor eax, eax // 50 | push eax // 6a01 | push 1 // ff75f4 | push dword ptr [ebp - 0xc] // ff75f0 | push dword ptr [ebp - 0x10] $sequence_10 = { 85c0 0f8495000000 33db 53 53 53 } // n = 6, score = 100 // 85c0 | test eax, eax // 0f8495000000 | je 0x9b // 33db | xor ebx, ebx // 53 | push ebx // 53 | push ebx // 53 | push ebx $sequence_11 = { 75f2 8b4df0 e8???????? be???????? 8945e0 8bfe } // n = 6, score = 100 // 75f2 | jne 0xfffffff4 // 8b4df0 | mov ecx, dword ptr [ebp - 0x10] // e8???????? | // be???????? | // 8945e0 | mov dword ptr [ebp - 0x20], eax // 8bfe | mov edi, esi $sequence_12 = { ff75bc ff15???????? 57 e8???????? 59 8bce } // n = 6, score = 100 // ff75bc | push dword ptr [ebp - 0x44] // ff15???????? | // 57 | push edi // e8???????? | // 59 | pop ecx // 8bce | mov ecx, esi $sequence_13 = { ffd7 56 ff15???????? 8bb5ccfdffff 8d85d0fdffff 50 } // n = 6, score = 100 // ffd7 | call edi // 56 | push esi // ff15???????? | // 8bb5ccfdffff | mov esi, dword ptr [ebp - 0x234] // 8d85d0fdffff | lea eax, [ebp - 0x230] // 50 | push eax $sequence_14 = { 8d4601 f7e3 0f90c1 f7d9 0bc8 51 } // n = 6, score = 100 // 8d4601 | lea eax, [esi + 1] // f7e3 | mul ebx // 0f90c1 | seto cl // f7d9 | neg ecx // 0bc8 | or ecx, eax // 51 | push ecx condition: 7 of them and filesize < 479232 }
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