Actor(s): Mirage
There is no description at this point.
rule win_mirage_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.mirage." 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.mirage" 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 = { 8bd8 59 85db 59 0f84d1000000 57 } // n = 6, score = 200 // 8bd8 | mov ebx, eax // 59 | pop ecx // 85db | test ebx, ebx // 59 | pop ecx // 0f84d1000000 | je 0xd7 // 57 | push edi $sequence_1 = { 8bec 81ec14010000 53 56 8d45f8 57 } // n = 6, score = 200 // 8bec | mov ebp, esp // 81ec14010000 | sub esp, 0x114 // 53 | push ebx // 56 | push esi // 8d45f8 | lea eax, [ebp - 8] // 57 | push edi $sequence_2 = { 68???????? 6801000080 ff15???????? 85c0 7556 } // n = 5, score = 200 // 68???????? | // 6801000080 | push 0x80000001 // ff15???????? | // 85c0 | test eax, eax // 7556 | jne 0x58 $sequence_3 = { 68???????? ff75f8 c745fc04010000 ffd6 ff75f8 } // n = 5, score = 200 // 68???????? | // ff75f8 | push dword ptr [ebp - 8] // c745fc04010000 | mov dword ptr [ebp - 4], 0x104 // ffd6 | call esi // ff75f8 | push dword ptr [ebp - 8] $sequence_4 = { 50 53 68???????? c745f804010000 ff75fc ff15???????? ff75fc } // n = 7, score = 200 // 50 | push eax // 53 | push ebx // 68???????? | // c745f804010000 | mov dword ptr [ebp - 8], 0x104 // ff75fc | push dword ptr [ebp - 4] // ff15???????? | // ff75fc | push dword ptr [ebp - 4] $sequence_5 = { 3bf3 0f85a9000000 381f 0f84a1000000 8d85ecfeffff 68???????? 50 } // n = 7, score = 200 // 3bf3 | cmp esi, ebx // 0f85a9000000 | jne 0xaf // 381f | cmp byte ptr [edi], bl // 0f84a1000000 | je 0xa7 // 8d85ecfeffff | lea eax, [ebp - 0x114] // 68???????? | // 50 | push eax $sequence_6 = { 50 53 e8???????? 8d8588feffff } // n = 4, score = 200 // 50 | push eax // 53 | push ebx // e8???????? | // 8d8588feffff | lea eax, [ebp - 0x178] $sequence_7 = { 50 8d857cfdffff 50 ff15???????? eb12 8d450d 50 } // n = 7, score = 200 // 50 | push eax // 8d857cfdffff | lea eax, [ebp - 0x284] // 50 | push eax // ff15???????? | // eb12 | jmp 0x14 // 8d450d | lea eax, [ebp + 0xd] // 50 | push eax $sequence_8 = { 741e 8d8590fcffff 50 8d8590fdffff 50 e8???????? 8b45e4 } // n = 7, score = 200 // 741e | je 0x20 // 8d8590fcffff | lea eax, [ebp - 0x370] // 50 | push eax // 8d8590fdffff | lea eax, [ebp - 0x270] // 50 | push eax // e8???????? | // 8b45e4 | mov eax, dword ptr [ebp - 0x1c] $sequence_9 = { 0f8494010000 205dff 209dc4f6ffff b9ff010000 33c0 } // n = 5, score = 200 // 0f8494010000 | je 0x19a // 205dff | and byte ptr [ebp - 1], bl // 209dc4f6ffff | and byte ptr [ebp - 0x93c], bl // b9ff010000 | mov ecx, 0x1ff // 33c0 | xor eax, eax $sequence_10 = { e8???????? 8d85a4e3ffff 50 68???????? 68???????? } // n = 5, score = 100 // e8???????? | // 8d85a4e3ffff | lea eax, [ebp - 0x1c5c] // 50 | push eax // 68???????? | // 68???????? | $sequence_11 = { 6a01 50 8d85f0f7ffff 50 } // n = 4, score = 100 // 6a01 | push 1 // 50 | push eax // 8d85f0f7ffff | lea eax, [ebp - 0x810] // 50 | push eax $sequence_12 = { 57 51 e8???????? 59 50 8d4604 50 } // n = 7, score = 100 // 57 | push edi // 51 | push ecx // e8???????? | // 59 | pop ecx // 50 | push eax // 8d4604 | lea eax, [esi + 4] // 50 | push eax $sequence_13 = { ff75dc ff75ec 53 53 } // n = 4, score = 100 // ff75dc | push dword ptr [ebp - 0x24] // ff75ec | push dword ptr [ebp - 0x14] // 53 | push ebx // 53 | push ebx $sequence_14 = { 50 8d45fc 50 6805000020 ffb30c080000 } // n = 5, score = 100 // 50 | push eax // 8d45fc | lea eax, [ebp - 4] // 50 | push eax // 6805000020 | push 0x20000005 // ffb30c080000 | push dword ptr [ebx + 0x80c] $sequence_15 = { 59 f7f9 a1???????? 83c207 8d3c10 897de8 } // n = 6, score = 100 // 59 | pop ecx // f7f9 | idiv ecx // a1???????? | // 83c207 | add edx, 7 // 8d3c10 | lea edi, [eax + edx] // 897de8 | mov dword ptr [ebp - 0x18], edi condition: 7 of them and filesize < 1695744 }
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