Actor(s): WIZARD SPIDER
There is no description at this point.
rule win_dyre_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.dyre." 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.dyre" malpedia_rule_date = "20230705" malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41" malpedia_version = "20230715" 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 = { 59 59 85c0 7406 894604 } // n = 5, score = 600 // 59 | pop ecx // 59 | pop ecx // 85c0 | test eax, eax // 7406 | je 8 // 894604 | mov dword ptr [esi + 4], eax $sequence_1 = { 74ea 5f 5e c9 } // n = 4, score = 600 // 74ea | je 0xffffffec // 5f | pop edi // 5e | pop esi // c9 | leave $sequence_2 = { 7609 ff460c 8b460c 48 eb03 83c8ff 5f } // n = 7, score = 600 // 7609 | jbe 0xb // ff460c | inc dword ptr [esi + 0xc] // 8b460c | mov eax, dword ptr [esi + 0xc] // 48 | dec eax // eb03 | jmp 5 // 83c8ff | or eax, 0xffffffff // 5f | pop edi $sequence_3 = { 751c ff7508 ff7514 ff7510 68???????? ff750c } // n = 6, score = 600 // 751c | jne 0x1e // ff7508 | push dword ptr [ebp + 8] // ff7514 | push dword ptr [ebp + 0x14] // ff7510 | push dword ptr [ebp + 0x10] // 68???????? | // ff750c | push dword ptr [ebp + 0xc] $sequence_4 = { 50 8b4508 8b30 8d7dfc } // n = 4, score = 600 // 50 | push eax // 8b4508 | mov eax, dword ptr [ebp + 8] // 8b30 | mov esi, dword ptr [eax] // 8d7dfc | lea edi, [ebp - 4] $sequence_5 = { 32db 57 8bf9 85f6 7514 6a10 e8???????? } // n = 7, score = 600 // 32db | xor bl, bl // 57 | push edi // 8bf9 | mov edi, ecx // 85f6 | test esi, esi // 7514 | jne 0x16 // 6a10 | push 0x10 // e8???????? | $sequence_6 = { 50 ff15???????? 0fb7c0 8945fc } // n = 4, score = 600 // 50 | push eax // ff15???????? | // 0fb7c0 | movzx eax, ax // 8945fc | mov dword ptr [ebp - 4], eax $sequence_7 = { 50 ff75f8 ff75f4 ff36 } // n = 4, score = 600 // 50 | push eax // ff75f8 | push dword ptr [ebp - 8] // ff75f4 | push dword ptr [ebp - 0xc] // ff36 | push dword ptr [esi] $sequence_8 = { 488bcb e8???????? 85c0 750d 33c0 488b5c2430 } // n = 6, score = 500 // 488bcb | dec eax // e8???????? | // 85c0 | mov ecx, ebx // 750d | test eax, eax // 33c0 | jne 0xf // 488b5c2430 | xor eax, eax $sequence_9 = { 410fb649fe c1e208 440bc2 41c1e008 410bc8 49ffca 43894c0bd3 } // n = 7, score = 500 // 410fb649fe | dec eax // c1e208 | mov ecx, edi // 440bc2 | cmp word ptr [edi], ax // 41c1e008 | jne 0x32 // 410bc8 | mov eax, dword ptr [esi + 4] // 49ffca | cmp dword ptr [edi + 4], eax // 43894c0bd3 | inc esp $sequence_10 = { 034310 8d740627 413bfc 7cdf } // n = 4, score = 500 // 034310 | inc ecx // 8d740627 | movzx ecx, byte ptr [ecx - 1] // 413bfc | inc ecx // 7cdf | movzx edx, byte ptr [ecx] $sequence_11 = { 4433c0 418bc4 4123c5 33c8 8bc3 4403c1 } // n = 6, score = 500 // 4433c0 | mov ecx, ebx // 418bc4 | dec esp // 4123c5 | lea ebx, [esi + 1] // 33c8 | inc ecx // 8bc3 | mov eax, 0xfffffff7 // 4403c1 | nop word ptr [eax + eax] $sequence_12 = { 488bcb e8???????? 4c8d5e01 41b8f7ffffff 6666660f1f840000000000 488bcf 418d4008 } // n = 7, score = 500 // 488bcb | test eax, eax // e8???????? | // 4c8d5e01 | jne 0x11 // 41b8f7ffffff | xor eax, eax // 6666660f1f840000000000 | dec eax // 488bcf | mov ecx, ebx // 418d4008 | dec esp $sequence_13 = { 663907 7530 8b4604 394704 7528 8b4608 394708 } // n = 7, score = 500 // 663907 | cmp word ptr [edi], ax // 7530 | jne 0x32 // 8b4604 | mov eax, dword ptr [esi + 4] // 394704 | cmp dword ptr [edi + 4], eax // 7528 | jne 0x2a // 8b4608 | mov eax, dword ptr [esi + 8] // 394708 | cmp dword ptr [edi + 8], eax $sequence_14 = { 014120 41c644082880 ff4124 8b4124 } // n = 4, score = 500 // 014120 | inc ebp // 41c644082880 | movzx eax, byte ptr [ecx + 1] // ff4124 | shl ecx, 8 // 8b4124 | inc ecx $sequence_15 = { 410fb649ff 410fb611 450fb64101 c1e108 } // n = 4, score = 500 // 410fb649ff | xor eax, eax // 410fb611 | inc ecx // 450fb64101 | mov eax, esp // c1e108 | inc ecx condition: 7 of them and filesize < 590848 }
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