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-01-25" 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 = "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 = { c701???????? c3 55 8bec b898440000 e8???????? } // n = 6, score = 200 // c701???????? | // c3 | ret // 55 | push ebp // 8bec | mov ebp, esp // b898440000 | mov eax, 0x4498 // e8???????? | $sequence_1 = { 8bf8 8d45fc c745fc80020000 50 57 } // n = 5, score = 200 // 8bf8 | mov edi, eax // 8d45fc | lea eax, [ebp - 4] // c745fc80020000 | mov dword ptr [ebp - 4], 0x280 // 50 | push eax // 57 | push edi $sequence_2 = { 85c0 741e 8d8590fcffff 50 8d8590fdffff 50 } // n = 6, score = 200 // 85c0 | test eax, eax // 741e | je 0x20 // 8d8590fcffff | lea eax, [ebp - 0x370] // 50 | push eax // 8d8590fdffff | lea eax, [ebp - 0x270] // 50 | push eax $sequence_3 = { 68???????? 6801000080 ff15???????? 85c0 7556 } // n = 5, score = 200 // 68???????? | // 6801000080 | push 0x80000001 // ff15???????? | // 85c0 | test eax, eax // 7556 | jne 0x58 $sequence_4 = { 6a19 50 ff7518 e8???????? 83c41c 85ff 7613 } // n = 7, score = 200 // 6a19 | push 0x19 // 50 | push eax // ff7518 | push dword ptr [ebp + 0x18] // e8???????? | // 83c41c | add esp, 0x1c // 85ff | test edi, edi // 7613 | jbe 0x15 $sequence_5 = { 53 68???????? c745f804010000 ff75fc } // n = 4, score = 200 // 53 | push ebx // 68???????? | // c745f804010000 | mov dword ptr [ebp - 8], 0x104 // ff75fc | push dword ptr [ebp - 4] $sequence_6 = { 33db 8bbd18010000 8d45e8 53 53 6a03 50 } // n = 7, score = 200 // 33db | xor ebx, ebx // 8bbd18010000 | mov edi, dword ptr [ebp + 0x118] // 8d45e8 | lea eax, [ebp - 0x18] // 53 | push ebx // 53 | push ebx // 6a03 | push 3 // 50 | push eax $sequence_7 = { 8d8590fdffff 50 e8???????? 8b45e4 59 } // n = 5, score = 200 // 8d8590fdffff | lea eax, [ebp - 0x270] // 50 | push eax // e8???????? | // 8b45e4 | mov eax, dword ptr [ebp - 0x1c] // 59 | pop ecx $sequence_8 = { c745f804010000 ff75fc ff15???????? ff75fc } // n = 4, score = 200 // c745f804010000 | mov dword ptr [ebp - 8], 0x104 // ff75fc | push dword ptr [ebp - 4] // ff15???????? | // ff75fc | push dword ptr [ebp - 4] $sequence_9 = { 50 c605????????03 e8???????? 83c40c c6450806 885dff } // n = 6, score = 200 // // c605????????03 | // e8???????? | // 83c40c | add esp, 0xc // c6450806 | mov byte ptr [ebp + 8], 6 // 885dff | mov byte ptr [ebp - 1], bl $sequence_10 = { c605????????03 c6450805 b301 be1c810000 56 e8???????? } // n = 6, score = 200 // c605????????03 | // c6450805 | mov byte ptr [ebp + 8], 5 // b301 | mov bl, 1 // be1c810000 | mov esi, 0x811c // 56 | push esi // e8???????? | $sequence_11 = { 59 50 8d8504f5ffff 50 } // n = 4, score = 100 // 59 | pop ecx // 50 | push eax // 8d8504f5ffff | lea eax, [ebp - 0xafc] // 50 | push eax $sequence_12 = { 8d7dc2 f3ab 66ab 0fb745fc 50 0fb745fa 50 } // n = 7, score = 100 // 8d7dc2 | lea edi, [ebp - 0x3e] // f3ab | rep stosd dword ptr es:[edi], eax // 66ab | stosw word ptr es:[edi], ax // 0fb745fc | movzx eax, word ptr [ebp - 4] // 50 | push eax // 0fb745fa | movzx eax, word ptr [ebp - 6] // 50 | push eax $sequence_13 = { 8d8518f4ffff 50 e8???????? 50 } // n = 4, score = 100 // 8d8518f4ffff | lea eax, [ebp - 0xbe8] // 50 | push eax // e8???????? | // 50 | push eax $sequence_14 = { 56 68???????? 6a07 53 68???????? ff15???????? 3bc3 } // n = 7, score = 100 // 56 | push esi // 68???????? | // 6a07 | push 7 // 53 | push ebx // 68???????? | // ff15???????? | // 3bc3 | cmp eax, ebx $sequence_15 = { 56 ff15???????? 85c0 a3???????? 0f848f000000 68???????? 56 } // n = 7, score = 100 // 56 | push esi // ff15???????? | // 85c0 | test eax, eax // a3???????? | // 0f848f000000 | je 0x95 // 68???????? | // 56 | push esi 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