Actor(s): Earth Estries
There is no description at this point.
rule win_hemigate_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.hemigate." 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.hemigate" malpedia_rule_date = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 8945fc 56 8bf1 57 8bfa 0fb64610 8b5610 } // n = 7, score = 200 // 8945fc | mov dword ptr [ebp - 4], eax // 56 | push esi // 8bf1 | mov esi, ecx // 57 | push edi // 8bfa | mov edi, edx // 0fb64610 | movzx eax, byte ptr [esi + 0x10] // 8b5610 | mov edx, dword ptr [esi + 0x10] $sequence_1 = { 6a00 e8???????? 83c404 899594efffff 50 ff15???????? 894620 } // n = 7, score = 200 // 6a00 | push 0 // e8???????? | // 83c404 | add esp, 4 // 899594efffff | mov dword ptr [ebp - 0x106c], edx // 50 | push eax // ff15???????? | // 894620 | mov dword ptr [esi + 0x20], eax $sequence_2 = { 8d8588feffff 50 e8???????? 83c408 8bcf 85c0 0f44f9 } // n = 7, score = 200 // 8d8588feffff | lea eax, [ebp - 0x178] // 50 | push eax // e8???????? | // 83c408 | add esp, 8 // 8bcf | mov ecx, edi // 85c0 | test eax, eax // 0f44f9 | cmove edi, ecx $sequence_3 = { b8d8100000 e8???????? a1???????? 33c4 898424d4100000 56 be???????? } // n = 7, score = 200 // b8d8100000 | mov eax, 0x10d8 // e8???????? | // a1???????? | // 33c4 | xor eax, esp // 898424d4100000 | mov dword ptr [esp + 0x10d4], eax // 56 | push esi // be???????? | $sequence_4 = { 33c8 895ddc 8b45ec c1c802 33c8 8b45ec } // n = 6, score = 200 // 33c8 | xor ecx, eax // 895ddc | mov dword ptr [ebp - 0x24], ebx // 8b45ec | mov eax, dword ptr [ebp - 0x14] // c1c802 | ror eax, 2 // 33c8 | xor ecx, eax // 8b45ec | mov eax, dword ptr [ebp - 0x14] $sequence_5 = { ff7310 ff7318 ff731c ff7320 ff730c ff7304 ff7308 } // n = 7, score = 200 // ff7310 | push dword ptr [ebx + 0x10] // ff7318 | push dword ptr [ebx + 0x18] // ff731c | push dword ptr [ebx + 0x1c] // ff7320 | push dword ptr [ebx + 0x20] // ff730c | push dword ptr [ebx + 0xc] // ff7304 | push dword ptr [ebx + 4] // ff7308 | push dword ptr [ebx + 8] $sequence_6 = { 6a01 ff10 ffb5d4fdffff e8???????? ffb5d8fdffff e8???????? 83c408 } // n = 7, score = 200 // 6a01 | push 1 // ff10 | call dword ptr [eax] // ffb5d4fdffff | push dword ptr [ebp - 0x22c] // e8???????? | // ffb5d8fdffff | push dword ptr [ebp - 0x228] // e8???????? | // 83c408 | add esp, 8 $sequence_7 = { c1c919 33c8 8b7de0 8bc3 8b5dfc c1c806 33c8 } // n = 7, score = 200 // c1c919 | ror ecx, 0x19 // 33c8 | xor ecx, eax // 8b7de0 | mov edi, dword ptr [ebp - 0x20] // 8bc3 | mov eax, ebx // 8b5dfc | mov ebx, dword ptr [ebp - 4] // c1c806 | ror eax, 6 // 33c8 | xor ecx, eax $sequence_8 = { 83fa6f 750c c681????????2f e9???????? 83fa6e 750c c681????????2e } // n = 7, score = 200 // 83fa6f | cmp edx, 0x6f // 750c | jne 0xe // c681????????2f | // e9???????? | // 83fa6e | cmp edx, 0x6e // 750c | jne 0xe // c681????????2e | $sequence_9 = { e8???????? 8bf0 85f6 0f8529060000 8bd7 8d4d88 e8???????? } // n = 7, score = 200 // e8???????? | // 8bf0 | mov esi, eax // 85f6 | test esi, esi // 0f8529060000 | jne 0x62f // 8bd7 | mov edx, edi // 8d4d88 | lea ecx, [ebp - 0x78] // e8???????? | condition: 7 of them and filesize < 991232 }
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