Actor(s): Anunak
Information stealer which uses AutoIT for wrapping.
rule win_ave_maria_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-05-16" version = "1" description = "Detects win.ave_maria." 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.ave_maria" malpedia_rule_date = "20220513" malpedia_hash = "7f4b2229e6ae614d86d74917f6d5b41890e62a26" malpedia_version = "20220516" 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 = { 47 8d4de8 e8???????? 8b4df0 e8???????? 8d4df8 e8???????? } // n = 7, score = 400 // 47 | inc edi // 8d4de8 | lea ecx, [ebp - 0x18] // e8???????? | // 8b4df0 | mov ecx, dword ptr [ebp - 0x10] // e8???????? | // 8d4df8 | lea ecx, [ebp - 8] // e8???????? | $sequence_1 = { 56 57 33ff 8bf2 57 8bd9 ff15???????? } // n = 7, score = 400 // 56 | push esi // 57 | push edi // 33ff | xor edi, edi // 8bf2 | mov esi, edx // 57 | push edi // 8bd9 | mov ebx, ecx // ff15???????? | $sequence_2 = { 03cb 8b5dfc 03c1 c1cb02 8b4de0 8bd0 334dbc } // n = 7, score = 400 // 03cb | add ecx, ebx // 8b5dfc | mov ebx, dword ptr [ebp - 4] // 03c1 | add eax, ecx // c1cb02 | ror ebx, 2 // 8b4de0 | mov ecx, dword ptr [ebp - 0x20] // 8bd0 | mov edx, eax // 334dbc | xor ecx, dword ptr [ebp - 0x44] $sequence_3 = { 50 ff15???????? 85c0 7427 85ff 7e1a 8b55f0 } // n = 7, score = 400 // 50 | push eax // ff15???????? | // 85c0 | test eax, eax // 7427 | je 0x29 // 85ff | test edi, edi // 7e1a | jle 0x1c // 8b55f0 | mov edx, dword ptr [ebp - 0x10] $sequence_4 = { c1cf08 c1c105 81e700ff00ff 0bf8 8bc6 33c3 897dc4 } // n = 7, score = 400 // c1cf08 | ror edi, 8 // c1c105 | rol ecx, 5 // 81e700ff00ff | and edi, 0xff00ff00 // 0bf8 | or edi, eax // 8bc6 | mov eax, esi // 33c3 | xor eax, ebx // 897dc4 | mov dword ptr [ebp - 0x3c], edi $sequence_5 = { 83c1fc e8???????? 8b4dfc 8d4608 50 e8???????? 8b4dfc } // n = 7, score = 400 // 83c1fc | add ecx, -4 // e8???????? | // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 8d4608 | lea eax, [esi + 8] // 50 | push eax // e8???????? | // 8b4dfc | mov ecx, dword ptr [ebp - 4] $sequence_6 = { 56 8bf1 ff15???????? 8d8ed8010000 e8???????? 8d4e30 e8???????? } // n = 7, score = 400 // 56 | push esi // 8bf1 | mov esi, ecx // ff15???????? | // 8d8ed8010000 | lea ecx, [esi + 0x1d8] // e8???????? | // 8d4e30 | lea ecx, [esi + 0x30] // e8???????? | $sequence_7 = { 8b7d08 6a00 ff7708 8b4f04 50 e8???????? } // n = 6, score = 400 // 8b7d08 | mov edi, dword ptr [ebp + 8] // 6a00 | push 0 // ff7708 | push dword ptr [edi + 8] // 8b4f04 | mov ecx, dword ptr [edi + 4] // 50 | push eax // e8???????? | $sequence_8 = { 8b4dd8 e8???????? 8b7df0 8365d800 47 897df0 3b7dd0 } // n = 7, score = 400 // 8b4dd8 | mov ecx, dword ptr [ebp - 0x28] // e8???????? | // 8b7df0 | mov edi, dword ptr [ebp - 0x10] // 8365d800 | and dword ptr [ebp - 0x28], 0 // 47 | inc edi // 897df0 | mov dword ptr [ebp - 0x10], edi // 3b7dd0 | cmp edi, dword ptr [ebp - 0x30] $sequence_9 = { 56 8b35???????? ffd6 53 ffd6 8bc7 5b } // n = 7, score = 400 // 56 | push esi // 8b35???????? | // ffd6 | call esi // 53 | push ebx // ffd6 | call esi // 8bc7 | mov eax, edi // 5b | pop ebx condition: 7 of them and filesize < 237568 }
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