Undocumented information stealer targeting multiple browsers and cryptocurrences. Internal project name appears to be "misha".
rule win_misha_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.misha." 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.misha" malpedia_rule_date = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" 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 = { 834e1802 8b542410 8ac1 c0e806 88460d 8ac1 } // n = 6, score = 300 // 834e1802 | or dword ptr [esi + 0x18], 2 // 8b542410 | mov edx, dword ptr [esp + 0x10] // 8ac1 | mov al, cl // c0e806 | shr al, 6 // 88460d | mov byte ptr [esi + 0xd], al // 8ac1 | mov al, cl $sequence_1 = { ff7008 8b4510 ff30 8b450c 0590010000 50 e8???????? } // n = 7, score = 300 // ff7008 | push dword ptr [eax + 8] // 8b4510 | mov eax, dword ptr [ebp + 0x10] // ff30 | push dword ptr [eax] // 8b450c | mov eax, dword ptr [ebp + 0xc] // 0590010000 | add eax, 0x190 // 50 | push eax // e8???????? | $sequence_2 = { 8d45e8 50 e8???????? 83c414 eb02 32c0 5e } // n = 7, score = 300 // 8d45e8 | lea eax, [ebp - 0x18] // 50 | push eax // e8???????? | // 83c414 | add esp, 0x14 // eb02 | jmp 4 // 32c0 | xor al, al // 5e | pop esi $sequence_3 = { c1ea08 0bc2 c3 0fb7c9 8bc1 25ff000000 c1e008 } // n = 7, score = 300 // c1ea08 | shr edx, 8 // 0bc2 | or eax, edx // c3 | ret // 0fb7c9 | movzx ecx, cx // 8bc1 | mov eax, ecx // 25ff000000 | and eax, 0xff // c1e008 | shl eax, 8 $sequence_4 = { 8945f8 e9???????? 6a00 ff75f0 ff75f4 ff15???????? c9 } // n = 7, score = 300 // 8945f8 | mov dword ptr [ebp - 8], eax // e9???????? | // 6a00 | push 0 // ff75f0 | push dword ptr [ebp - 0x10] // ff75f4 | push dword ptr [ebp - 0xc] // ff15???????? | // c9 | leave $sequence_5 = { ff06 8b06 8b4e10 c6040872 eb56 8b0e } // n = 6, score = 300 // ff06 | inc dword ptr [esi] // 8b06 | mov eax, dword ptr [esi] // 8b4e10 | mov ecx, dword ptr [esi + 0x10] // c6040872 | mov byte ptr [eax + ecx], 0x72 // eb56 | jmp 0x58 // 8b0e | mov ecx, dword ptr [esi] $sequence_6 = { 8945c0 eb0b 8b459c c1e004 8b4db4 8801 8b45c0 } // n = 7, score = 300 // 8945c0 | mov dword ptr [ebp - 0x40], eax // eb0b | jmp 0xd // 8b459c | mov eax, dword ptr [ebp - 0x64] // c1e004 | shl eax, 4 // 8b4db4 | mov ecx, dword ptr [ebp - 0x4c] // 8801 | mov byte ptr [ecx], al // 8b45c0 | mov eax, dword ptr [ebp - 0x40] $sequence_7 = { e9???????? 6a00 ff730c e8???????? 59 59 0fb6c0 } // n = 7, score = 300 // e9???????? | // 6a00 | push 0 // ff730c | push dword ptr [ebx + 0xc] // e8???????? | // 59 | pop ecx // 59 | pop ecx // 0fb6c0 | movzx eax, al $sequence_8 = { 8bd8 c7450804000000 8bd3 6a08 c1ea18 8bc7 8d75fc } // n = 7, score = 300 // 8bd8 | mov ebx, eax // c7450804000000 | mov dword ptr [ebp + 8], 4 // 8bd3 | mov edx, ebx // 6a08 | push 8 // c1ea18 | shr edx, 0x18 // 8bc7 | mov eax, edi // 8d75fc | lea esi, [ebp - 4] $sequence_9 = { 8bc7 3bfe 7723 2b7d0c 33d2 395510 } // n = 6, score = 300 // 8bc7 | mov eax, edi // 3bfe | cmp edi, esi // 7723 | ja 0x25 // 2b7d0c | sub edi, dword ptr [ebp + 0xc] // 33d2 | xor edx, edx // 395510 | cmp dword ptr [ebp + 0x10], edx condition: 7 of them and filesize < 710656 }
rule win_misha_w0 { meta: author = "Daniel Plohmann" description = "Detect the unpacked payload for win.misha." date = "20211109" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.misha" malpedia_rule_date = "20211009" malpedia_hash = "" malpedia_version = "20211009" malpedia_license = "CC BY-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: /* @0x4252d7 - creating a heap buffer for the config 8D 44 24 0C lea eax, [esp+10h+var_4] 68 CE 11 01 00 push 111CEh 50 push eax BF 40 9F 01 00 mov edi, 19F40h B9 58 D8 42 00 mov ecx, offset inner_buffer 8B C6 mov eax, esi 89 7C 24 14 mov [esp+18h+var_4], edi E8 1C D4 FF FF call sub_422712 59 pop ecx 59 pop ecx 85 C0 test eax, eax 0F 85 A1 00 00 00 jnz loc_4253A1 */ $config_heap_0 = {8D4424?? 68???????? 50 BF???????? B9???????? 8BC689?????? E8???????? 59 59 85C0 0F } /* @0x425300 - creating a heap buffer for some x64 code 8D 44 24 0C lea eax, [esp+10h+var_4] 68 91 F3 00 00 push 0F391h 50 push eax 8D 86 40 9F 01 00 lea eax, [esi+19F40h] B9 28 EA 43 00 mov ecx, offset inner_buffer_2 C7 44 24 14 80 03 02 00 mov [esp+18h+var_4], 20380h E8 F0 D3 FF FF call sub_422712 59 pop ecx 59 pop ecx 85 C0 test eax, eax 75 79 jnz short loc_4253A1 */ $config_heap_1 = { 8D4424?? 68???????? 50 8D86???????? B9???????? C74424?????????? E8???????? 59 59 85C0 75 } /* @0x408549 - string decryption 8B 45 F8 mov eax, [ebp+var_8] 33 D2 xor edx, edx F7 75 14 div [ebp+dwKeyLen] 8B 45 10 mov eax, [ebp+szKey] 0F B6 0C 10 movzx ecx, byte ptr [eax+edx] 8B 45 F8 mov eax, [ebp+var_8] 33 D2 xor edx, edx BE 00 01 00 00 mov esi, 100h F7 F6 div esi 33 CA xor ecx, edx 8B 45 FC mov eax, [ebp+var_4] 03 45 F8 add eax, [ebp+var_8] 0F B6 00 movzx eax, byte ptr [eax] 33 C1 xor eax, ecx 8B 4D FC mov ecx, [ebp+var_4] 03 4D F8 add ecx, [ebp+var_8] 88 01 mov [ecx], al EB BF jmp short loc_40853A */ $string_decrypt = { 8B45?? 33D2 F7???? 8B45?? 0FB6???? 8B45?? 33D2 BE00010000 F7F6 33CA 8B45?? 0345?? 0FB6?? 33C1 8B4D?? 034D?? 8801 EB } condition: any of them }
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