Actor(s): Unit 8200
There is no description at this point.
rule win_duqu_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.duqu." 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.duqu" 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 = { 8bec 81ec08020000 57 e8???????? 8bf8 813f40b75e07 } // n = 6, score = 400 // 8bec | mov ebp, esp // 81ec08020000 | sub esp, 0x208 // 57 | push edi // e8???????? | // 8bf8 | mov edi, eax // 813f40b75e07 | cmp dword ptr [edi], 0x75eb740 $sequence_1 = { 75c8 8bc8 e8???????? 8bd8 895c2414 } // n = 5, score = 400 // 75c8 | jne 0xffffffca // 8bc8 | mov ecx, eax // e8???????? | // 8bd8 | mov ebx, eax // 895c2414 | mov dword ptr [esp + 0x14], ebx $sequence_2 = { e8???????? 85c0 7465 e8???????? 85c0 } // n = 5, score = 400 // e8???????? | // 85c0 | test eax, eax // 7465 | je 0x67 // e8???????? | // 85c0 | test eax, eax $sequence_3 = { 40 83c704 8944241c 3b4218 0f8272ffffff } // n = 5, score = 400 // 40 | inc eax // 83c704 | add edi, 4 // 8944241c | mov dword ptr [esp + 0x1c], eax // 3b4218 | cmp eax, dword ptr [edx + 0x18] // 0f8272ffffff | jb 0xffffff78 $sequence_4 = { 85d2 7e22 0fb6c8 8bc1 0fafc9 } // n = 5, score = 400 // 85d2 | test edx, edx // 7e22 | jle 0x24 // 0fb6c8 | movzx ecx, al // 8bc1 | mov eax, ecx // 0fafc9 | imul ecx, ecx $sequence_5 = { c70640b75e07 40 eb02 33c0 } // n = 4, score = 400 // c70640b75e07 | mov dword ptr [esi], 0x75eb740 // 40 | inc eax // eb02 | jmp 4 // 33c0 | xor eax, eax $sequence_6 = { e8???????? ba4fa06028 894670 8bcb e8???????? } // n = 5, score = 400 // e8???????? | // ba4fa06028 | mov edx, 0x2860a04f // 894670 | mov dword ptr [esi + 0x70], eax // 8bcb | mov ecx, ebx // e8???????? | $sequence_7 = { 56 51 8bf2 e8???????? } // n = 4, score = 400 // 56 | push esi // 51 | push ecx // 8bf2 | mov esi, edx // e8???????? | $sequence_8 = { 2bca 66397202 740f 83c204 8b0411 33c7 } // n = 6, score = 400 // 2bca | sub ecx, edx // 66397202 | cmp word ptr [edx + 2], si // 740f | je 0x11 // 83c204 | add edx, 4 // 8b0411 | mov eax, dword ptr [ecx + edx] // 33c7 | xor eax, edi $sequence_9 = { 8bcf e8???????? ba78978b33 89869c000000 8bcb } // n = 5, score = 400 // 8bcf | mov ecx, edi // e8???????? | // ba78978b33 | mov edx, 0x338b9778 // 89869c000000 | mov dword ptr [esi + 0x9c], eax // 8bcb | mov ecx, ebx $sequence_10 = { 8beb ebab 8bd5 ff542424 } // n = 4, score = 200 // 8beb | mov ebp, ebx // ebab | jmp 0xffffffad // 8bd5 | mov edx, ebp // ff542424 | call dword ptr [esp + 0x24] $sequence_11 = { 8bde 2b1d???????? 81fbff000000 7207 c745fc01000000 } // n = 5, score = 200 // 8bde | mov ebx, esi // 2b1d???????? | // 81fbff000000 | cmp ebx, 0xff // 7207 | jb 9 // c745fc01000000 | mov dword ptr [ebp - 4], 1 $sequence_12 = { 8be8 8bc6 2bc3 d1fd } // n = 4, score = 200 // 8be8 | mov ebp, eax // 8bc6 | mov eax, esi // 2bc3 | sub eax, ebx // d1fd | sar ebp, 1 $sequence_13 = { 8be8 3bee 7509 5f } // n = 4, score = 200 // 8be8 | mov ebp, eax // 3bee | cmp ebp, esi // 7509 | jne 0xb // 5f | pop edi $sequence_14 = { 8be8 ffd6 85db 741e } // n = 4, score = 200 // 8be8 | mov ebp, eax // ffd6 | call esi // 85db | test ebx, ebx // 741e | je 0x20 $sequence_15 = { 8bdf 8995dcfbffff 8995ccf3ffff c785bcebfffffeffffff } // n = 4, score = 200 // 8bdf | mov ebx, edi // 8995dcfbffff | mov dword ptr [ebp - 0x424], edx // 8995ccf3ffff | mov dword ptr [ebp - 0xc34], edx // c785bcebfffffeffffff | mov dword ptr [ebp - 0x1444], 0xfffffffe condition: 7 of them and filesize < 18759680 }
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