Actor(s): Comment Crew
There is no description at this point.
rule win_dairy_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.dairy." 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.dairy" malpedia_rule_date = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { 85c0 0f84f2050000 a1???????? 83e800 0f84e1000000 48 } // n = 6, score = 100 // 85c0 | test eax, eax // 0f84f2050000 | je 0x5f8 // a1???????? | // 83e800 | sub eax, 0 // 0f84e1000000 | je 0xe7 // 48 | dec eax $sequence_1 = { 8d442400 8d4c2404 50 6800100000 51 } // n = 5, score = 100 // 8d442400 | lea eax, [esp] // 8d4c2404 | lea ecx, [esp + 4] // 50 | push eax // 6800100000 | push 0x1000 // 51 | push ecx $sequence_2 = { 33f3 8b5c2414 03c6 8bf0 c1ee05 03f3 8bd8 } // n = 7, score = 100 // 33f3 | xor esi, ebx // 8b5c2414 | mov ebx, dword ptr [esp + 0x14] // 03c6 | add eax, esi // 8bf0 | mov esi, eax // c1ee05 | shr esi, 5 // 03f3 | add esi, ebx // 8bd8 | mov ebx, eax $sequence_3 = { 55 ffd3 3d83000000 7462 } // n = 4, score = 100 // 55 | push ebp // ffd3 | call ebx // 3d83000000 | cmp eax, 0x83 // 7462 | je 0x64 $sequence_4 = { 8d0480 8d0480 8d0480 8d0cc0 } // n = 4, score = 100 // 8d0480 | lea eax, [eax + eax*4] // 8d0480 | lea eax, [eax + eax*4] // 8d0480 | lea eax, [eax + eax*4] // 8d0cc0 | lea ecx, [eax + eax*8] $sequence_5 = { 83c408 eb2f 8bb42438030000 8d842430010000 } // n = 4, score = 100 // 83c408 | add esp, 8 // eb2f | jmp 0x31 // 8bb42438030000 | mov esi, dword ptr [esp + 0x338] // 8d842430010000 | lea eax, [esp + 0x130] $sequence_6 = { 52 ff5040 895c2428 81fe18030980 0f8495feffff } // n = 5, score = 100 // 52 | push edx // ff5040 | call dword ptr [eax + 0x40] // 895c2428 | mov dword ptr [esp + 0x28], ebx // 81fe18030980 | cmp esi, 0x80090318 // 0f8495feffff | je 0xfffffe9b $sequence_7 = { c644241169 c644241264 c64424133a c644241400 f2ae f7d1 2bf9 } // n = 7, score = 100 // c644241169 | mov byte ptr [esp + 0x11], 0x69 // c644241264 | mov byte ptr [esp + 0x12], 0x64 // c64424133a | mov byte ptr [esp + 0x13], 0x3a // c644241400 | mov byte ptr [esp + 0x14], 0 // f2ae | repne scasb al, byte ptr es:[edi] // f7d1 | not ecx // 2bf9 | sub edi, ecx $sequence_8 = { 85c0 7594 8b742448 8b0d???????? 56 ff5110 8b542414 } // n = 7, score = 100 // 85c0 | test eax, eax // 7594 | jne 0xffffff96 // 8b742448 | mov esi, dword ptr [esp + 0x48] // 8b0d???????? | // 56 | push esi // ff5110 | call dword ptr [ecx + 0x10] // 8b542414 | mov edx, dword ptr [esp + 0x14] $sequence_9 = { 894c2420 f3ab 8b8424401c0000 50 6a00 6810040000 ff15???????? } // n = 7, score = 100 // 894c2420 | mov dword ptr [esp + 0x20], ecx // f3ab | rep stosd dword ptr es:[edi], eax // 8b8424401c0000 | mov eax, dword ptr [esp + 0x1c40] // 50 | push eax // 6a00 | push 0 // 6810040000 | push 0x410 // ff15???????? | condition: 7 of them and filesize < 212992 }
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