Actor(s): Operation ShadowHammer
There is no description at this point.
rule win_shadowhammer_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-05-16" version = "1" description = "Detects win.shadowhammer." 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.shadowhammer" 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 = { 50 6afe 68f0604000 64ff3500000000 a1???????? 33c4 } // n = 6, score = 100 // 50 | push eax // 6afe | push -2 // 68f0604000 | push 0x4060f0 // 64ff3500000000 | push dword ptr fs:[0] // a1???????? | // 33c4 | xor eax, esp $sequence_1 = { 8b7510 6a10 8d45e0 56 50 } // n = 5, score = 100 // 8b7510 | mov esi, dword ptr [ebp + 0x10] // 6a10 | push 0x10 // 8d45e0 | lea eax, [ebp - 0x20] // 56 | push esi // 50 | push eax $sequence_2 = { 8dbd7dfdffff ab ab ab ab } // n = 5, score = 100 // 8dbd7dfdffff | lea edi, [ebp - 0x283] // ab | stosd dword ptr es:[edi], eax // ab | stosd dword ptr es:[edi], eax // ab | stosd dword ptr es:[edi], eax // ab | stosd dword ptr es:[edi], eax $sequence_3 = { 57 83d202 52 50 e8???????? 8945f4 } // n = 6, score = 100 // 57 | push edi // 83d202 | adc edx, 2 // 52 | push edx // 50 | push eax // e8???????? | // 8945f4 | mov dword ptr [ebp - 0xc], eax $sequence_4 = { c7855cffffff72006e00 c78560ffffff65006c00 c78564ffffff33003200 c78568ffffff2e006400 c7856cffffff6c006c00 89bd70ffffff } // n = 6, score = 100 // c7855cffffff72006e00 | mov dword ptr [ebp - 0xa4], 0x6e0072 // c78560ffffff65006c00 | mov dword ptr [ebp - 0xa0], 0x6c0065 // c78564ffffff33003200 | mov dword ptr [ebp - 0x9c], 0x320033 // c78568ffffff2e006400 | mov dword ptr [ebp - 0x98], 0x64002e // c7856cffffff6c006c00 | mov dword ptr [ebp - 0x94], 0x6c006c // 89bd70ffffff | mov dword ptr [ebp - 0x90], edi $sequence_5 = { 83c604 ff45fc 8b45fc 3b441ddc } // n = 4, score = 100 // 83c604 | add esi, 4 // ff45fc | inc dword ptr [ebp - 4] // 8b45fc | mov eax, dword ptr [ebp - 4] // 3b441ddc | cmp eax, dword ptr [ebp + ebx - 0x24] $sequence_6 = { 8b45f4 ff3430 ff75f0 e8???????? 59 } // n = 5, score = 100 // 8b45f4 | mov eax, dword ptr [ebp - 0xc] // ff3430 | push dword ptr [eax + esi] // ff75f0 | push dword ptr [ebp - 0x10] // e8???????? | // 59 | pop ecx $sequence_7 = { 66c785b0fefffff758 8895b2feffff c785b3feffff4e734077 c785b7feffffc70532e9 8895bbfeffff } // n = 5, score = 100 // 66c785b0fefffff758 | mov word ptr [ebp - 0x150], 0x58f7 // 8895b2feffff | mov byte ptr [ebp - 0x14e], dl // c785b3feffff4e734077 | mov dword ptr [ebp - 0x14d], 0x7740734e // c785b7feffffc70532e9 | mov dword ptr [ebp - 0x149], 0xe93205c7 // 8895bbfeffff | mov byte ptr [ebp - 0x145], dl $sequence_8 = { 3b04cd70914000 7413 41 83f92d 72f1 8d48ed 83f911 } // n = 7, score = 100 // 3b04cd70914000 | cmp eax, dword ptr [ecx*8 + 0x409170] // 7413 | je 0x15 // 41 | inc ecx // 83f92d | cmp ecx, 0x2d // 72f1 | jb 0xfffffff3 // 8d48ed | lea ecx, [eax - 0x13] // 83f911 | cmp ecx, 0x11 $sequence_9 = { 8d45dc 6a03 50 57 ff561c 83c418 } // n = 6, score = 100 // 8d45dc | lea eax, [ebp - 0x24] // 6a03 | push 3 // 50 | push eax // 57 | push edi // ff561c | call dword ptr [esi + 0x1c] // 83c418 | add esp, 0x18 condition: 7 of them and filesize < 49152 }
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