There is no description at this point.
rule win_mirai_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.mirai." 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.mirai" 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 = { ff75fc 8b45f8 8b00 8b4df8 034804 e8???????? 8b45f8 } // n = 7, score = 100 // ff75fc | push dword ptr [ebp - 4] // 8b45f8 | mov eax, dword ptr [ebp - 8] // 8b00 | mov eax, dword ptr [eax] // 8b4df8 | mov ecx, dword ptr [ebp - 8] // 034804 | add ecx, dword ptr [eax + 4] // e8???????? | // 8b45f8 | mov eax, dword ptr [ebp - 8] $sequence_1 = { 8b4df8 ff5008 c9 c3 55 8bec 51 } // n = 7, score = 100 // 8b4df8 | mov ecx, dword ptr [ebp - 8] // ff5008 | call dword ptr [eax + 8] // c9 | leave // c3 | ret // 55 | push ebp // 8bec | mov ebp, esp // 51 | push ecx $sequence_2 = { e8???????? c645fc07 ffb554ffffff 8d8d7cffffff e8???????? c645fc08 8d4598 } // n = 7, score = 100 // e8???????? | // c645fc07 | mov byte ptr [ebp - 4], 7 // ffb554ffffff | push dword ptr [ebp - 0xac] // 8d8d7cffffff | lea ecx, [ebp - 0x84] // e8???????? | // c645fc08 | mov byte ptr [ebp - 4], 8 // 8d4598 | lea eax, [ebp - 0x68] $sequence_3 = { 8d8520ffffff 50 e8???????? 83c40c 6a20 ff7510 8d8520ffffff } // n = 7, score = 100 // 8d8520ffffff | lea eax, [ebp - 0xe0] // 50 | push eax // e8???????? | // 83c40c | add esp, 0xc // 6a20 | push 0x20 // ff7510 | push dword ptr [ebp + 0x10] // 8d8520ffffff | lea eax, [ebp - 0xe0] $sequence_4 = { f7d1 234c2438 83c408 84c9 8b4c2428 5d 7805 } // n = 7, score = 100 // f7d1 | not ecx // 234c2438 | and ecx, dword ptr [esp + 0x38] // 83c408 | add esp, 8 // 84c9 | test cl, cl // 8b4c2428 | mov ecx, dword ptr [esp + 0x28] // 5d | pop ebp // 7805 | js 7 $sequence_5 = { ff7004 8b4df8 e8???????? ff7508 8b45f8 ff7004 8b45f8 } // n = 7, score = 100 // ff7004 | push dword ptr [eax + 4] // 8b4df8 | mov ecx, dword ptr [ebp - 8] // e8???????? | // ff7508 | push dword ptr [ebp + 8] // 8b45f8 | mov eax, dword ptr [ebp - 8] // ff7004 | push dword ptr [eax + 4] // 8b45f8 | mov eax, dword ptr [ebp - 8] $sequence_6 = { a1???????? 33c4 8944244c 837c246400 53 55 8b6c2464 } // n = 7, score = 100 // a1???????? | // 33c4 | xor eax, esp // 8944244c | mov dword ptr [esp + 0x4c], eax // 837c246400 | cmp dword ptr [esp + 0x64], 0 // 53 | push ebx // 55 | push ebp // 8b6c2464 | mov ebp, dword ptr [esp + 0x64] $sequence_7 = { ff8da8fcffff 0f8507ffffff 8b4dfc 8b85acfcffff 5f 5e 33cd } // n = 7, score = 100 // ff8da8fcffff | dec dword ptr [ebp - 0x358] // 0f8507ffffff | jne 0xffffff0d // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 8b85acfcffff | mov eax, dword ptr [ebp - 0x354] // 5f | pop edi // 5e | pop esi // 33cd | xor ecx, ebp $sequence_8 = { 8d5d80 2bd9 899d78ffffff 8d570c 8d5d84 33f6 2bf9 } // n = 7, score = 100 // 8d5d80 | lea ebx, [ebp - 0x80] // 2bd9 | sub ebx, ecx // 899d78ffffff | mov dword ptr [ebp - 0x88], ebx // 8d570c | lea edx, [edi + 0xc] // 8d5d84 | lea ebx, [ebp - 0x7c] // 33f6 | xor esi, esi // 2bf9 | sub edi, ecx $sequence_9 = { eb9b e9???????? 8365f000 6aff 8d45f0 50 8b4db8 } // n = 7, score = 100 // eb9b | jmp 0xffffff9d // e9???????? | // 8365f000 | and dword ptr [ebp - 0x10], 0 // 6aff | push -1 // 8d45f0 | lea eax, [ebp - 0x10] // 50 | push eax // 8b4db8 | mov ecx, dword ptr [ebp - 0x48] condition: 7 of them and filesize < 7086080 }
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