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 = "2023-07-11" 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 = "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 = { ff5604 8bf8 8d45fc 50 57 53 53 } // n = 7, score = 100 // ff5604 | call dword ptr [esi + 4] // 8bf8 | mov edi, eax // 8d45fc | lea eax, [ebp - 4] // 50 | push eax // 57 | push edi // 53 | push ebx // 53 | push ebx $sequence_1 = { 8b5020 56 8b701c 57 8b7824 8b4018 } // n = 6, score = 100 // 8b5020 | mov edx, dword ptr [eax + 0x20] // 56 | push esi // 8b701c | mov esi, dword ptr [eax + 0x1c] // 57 | push edi // 8b7824 | mov edi, dword ptr [eax + 0x24] // 8b4018 | mov eax, dword ptr [eax + 0x18] $sequence_2 = { 5f 5e 741b 68b4a84000 e8???????? } // n = 5, score = 100 // 5f | pop edi // 5e | pop esi // 741b | je 0x1d // 68b4a84000 | push 0x40a8b4 // e8???????? | $sequence_3 = { 8d458c 8945a8 8d8574ffffff 33ff } // n = 4, score = 100 // 8d458c | lea eax, [ebp - 0x74] // 8945a8 | mov dword ptr [ebp - 0x58], eax // 8d8574ffffff | lea eax, [ebp - 0x8c] // 33ff | xor edi, edi $sequence_4 = { 3d01010000 7d0d 8a4c181c 888838954000 40 ebe9 } // n = 6, score = 100 // 3d01010000 | cmp eax, 0x101 // 7d0d | jge 0xf // 8a4c181c | mov cl, byte ptr [eax + ebx + 0x1c] // 888838954000 | mov byte ptr [eax + 0x409538], cl // 40 | inc eax // ebe9 | jmp 0xffffffeb $sequence_5 = { c785acfdffff4aa5fff2 8895b0fdffff c785b1fdffff0d244779 66c785b5fdffff0d7d c685b7fdffff32 8dbdb8fdffff } // n = 6, score = 100 // c785acfdffff4aa5fff2 | mov dword ptr [ebp - 0x254], 0xf2ffa54a // 8895b0fdffff | mov byte ptr [ebp - 0x250], dl // c785b1fdffff0d244779 | mov dword ptr [ebp - 0x24f], 0x7947240d // 66c785b5fdffff0d7d | mov word ptr [ebp - 0x24b], 0x7d0d // c685b7fdffff32 | mov byte ptr [ebp - 0x249], 0x32 // 8dbdb8fdffff | lea edi, [ebp - 0x248] $sequence_6 = { ff45fc 8b45fc 3b45f4 7cb7 ebae 8b45f0 ebab } // n = 7, score = 100 // ff45fc | inc dword ptr [ebp - 4] // 8b45fc | mov eax, dword ptr [ebp - 4] // 3b45f4 | cmp eax, dword ptr [ebp - 0xc] // 7cb7 | jl 0xffffffb9 // ebae | jmp 0xffffffb0 // 8b45f0 | mov eax, dword ptr [ebp - 0x10] // ebab | jmp 0xffffffad $sequence_7 = { 740e 6800400000 6800005000 57 ff5618 5f 5b } // n = 7, score = 100 // 740e | je 0x10 // 6800400000 | push 0x4000 // 6800005000 | push 0x500000 // 57 | push edi // ff5618 | call dword ptr [esi + 0x18] // 5f | pop edi // 5b | pop ebx $sequence_8 = { 7520 81fb18934000 7407 53 e8???????? 59 } // n = 6, score = 100 // 7520 | jne 0x22 // 81fb18934000 | cmp ebx, 0x409318 // 7407 | je 9 // 53 | push ebx // e8???????? | // 59 | pop ecx $sequence_9 = { 8b401c 8b08 3bc8 7439 } // n = 4, score = 100 // 8b401c | mov eax, dword ptr [eax + 0x1c] // 8b08 | mov ecx, dword ptr [eax] // 3bc8 | cmp ecx, eax // 7439 | je 0x3b 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