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-01-25" 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 = "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 = { 56 68080000f0 33f6 6a18 56 56 } // n = 6, score = 900 // 56 | push esi // 68080000f0 | push 0xf0000008 // 33f6 | xor esi, esi // 6a18 | push 0x18 // 56 | push esi // 56 | push esi $sequence_1 = { 894608 8b4608 5f 5b } // n = 4, score = 900 // 894608 | mov dword ptr [esi + 8], eax // 8b4608 | mov eax, dword ptr [esi + 8] // 5f | pop edi // 5b | pop ebx $sequence_2 = { 3de5030000 7405 83c8ff 5d c3 } // n = 5, score = 900 // 3de5030000 | cmp eax, 0x3e5 // 7405 | je 7 // 83c8ff | or eax, 0xffffffff // 5d | pop ebp // c3 | ret $sequence_3 = { 85c0 7406 894604 897e08 } // n = 4, score = 900 // 85c0 | test eax, eax // 7406 | je 8 // 894604 | mov dword ptr [esi + 4], eax // 897e08 | mov dword ptr [esi + 8], edi $sequence_4 = { 3b4608 7603 894608 8b4608 } // n = 4, score = 900 // 3b4608 | cmp eax, dword ptr [esi + 8] // 7603 | jbe 5 // 894608 | mov dword ptr [esi + 8], eax // 8b4608 | mov eax, dword ptr [esi + 8] $sequence_5 = { 6a00 8d4610 50 6a01 } // n = 4, score = 900 // 6a00 | push 0 // 8d4610 | lea eax, [esi + 0x10] // 50 | push eax // 6a01 | push 1 $sequence_6 = { 6800000020 56 ff15???????? 50 } // n = 4, score = 900 // 6800000020 | push 0x20000000 // 56 | push esi // ff15???????? | // 50 | push eax $sequence_7 = { e8???????? 85c0 750e 8b45fc 8b1d???????? } // n = 5, score = 800 // e8???????? | // 85c0 | test eax, eax // 750e | jne 0x10 // 8b45fc | mov eax, dword ptr [ebp - 4] // 8b1d???????? | $sequence_8 = { 6a00 6800004000 6800000400 ff15???????? } // n = 4, score = 700 // 6a00 | je 8 // 6800004000 | mov dword ptr [esi + 4], eax // 6800000400 | mov dword ptr [esi + 8], edi // ff15???????? | $sequence_9 = { 44016f10 44016714 01771c 4c8d9c2420010000 498b5b30 498b6b38 498b7340 } // n = 7, score = 500 // 44016f10 | add ecx, dword ptr [ebx] // 44016714 | shr ecx, 0xa // 01771c | inc ecx // 4c8d9c2420010000 | rol ebx, 0xf // 498b5b30 | rol eax, 0xd // 498b6b38 | dec eax // 498b7340 | mov dword ptr [eax - 0x28], ebx $sequence_10 = { 488958d8 8958e0 488958e8 488958a8 } // n = 4, score = 500 // 488958d8 | dec eax // 8958e0 | mov dword ptr [eax - 0x18], ebx // 488958e8 | dec eax // 488958a8 | mov dword ptr [eax - 0x58], ebx $sequence_11 = { 44030b c1e90a 41c1c30f c1c00d 44894b40 4433d8 418bc0 } // n = 7, score = 500 // 44030b | mov eax, 0x400 // c1e90a | mov eax, edi // 41c1c30f | mov edx, ebx // c1c00d | dec eax // 44894b40 | mov dword ptr [eax - 0x18], ebx // 4433d8 | dec eax // 418bc0 | mov dword ptr [eax - 0x58], ebx $sequence_12 = { 488958e8 488958a8 ff15???????? 85c0 7504 33c0 eb5e } // n = 7, score = 500 // 488958e8 | dec eax // 488958a8 | mov dword ptr [esp + 0x10], ebp // ff15???????? | // 85c0 | dec eax // 7504 | mov dword ptr [esp + 0x18], esi // 33c0 | dec eax // eb5e | mov dword ptr [esp + 0x20], edi $sequence_13 = { 488bd5 4c89642420 ff15???????? 85c0 7426 } // n = 5, score = 500 // 488bd5 | mov ebp, ecx // 4c89642420 | dec eax // ff15???????? | // 85c0 | mov dword ptr [eax - 0x18], ebx // 7426 | dec eax $sequence_14 = { 48895c2408 48896c2410 4889742418 48897c2420 4154 4883ec20 418be9 } // n = 7, score = 500 // 48895c2408 | dec eax // 48896c2410 | add ebx, 0x10 // 4889742418 | dec eax // 48897c2420 | dec esi // 4154 | jne 0xffffff11 // 4883ec20 | dec eax // 418be9 | mov dword ptr [esp + 8], ebx $sequence_15 = { 0f1f00 85c0 74e5 41b800040000 } // n = 4, score = 500 // 0f1f00 | mov dword ptr [eax - 0x58], ebx // 85c0 | test eax, eax // 74e5 | jne 0xc // 41b800040000 | xor eax, eax $sequence_16 = { 44034330 4503c2 4489434c 4883c310 48ffce 0f8504ffffff } // n = 6, score = 500 // 44034330 | inc esp // 4503c2 | add eax, dword ptr [ebx + 0x30] // 4489434c | inc ebp // 4883c310 | add eax, edx // 48ffce | inc esp // 0f8504ffffff | mov dword ptr [ebx + 0x4c], eax 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