Actor(s): Comment Crew
There is no description at this point.
rule win_sword_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.sword." 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.sword" malpedia_rule_date = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { 8bc1 8bf7 8bfa c1e902 f3a5 8b9c2418020000 } // n = 6, score = 100 // 8bc1 | mov eax, ecx // 8bf7 | mov esi, edi // 8bfa | mov edi, edx // c1e902 | shr ecx, 2 // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // 8b9c2418020000 | mov ebx, dword ptr [esp + 0x218] $sequence_1 = { 57 e8???????? 83c408 85c0 7509 5f 5b } // n = 7, score = 100 // 57 | push edi // e8???????? | // 83c408 | add esp, 8 // 85c0 | test eax, eax // 7509 | jne 0xb // 5f | pop edi // 5b | pop ebx $sequence_2 = { e8???????? 8d4c243c 6a5c 51 e8???????? 8bd5 } // n = 6, score = 100 // e8???????? | // 8d4c243c | lea ecx, [esp + 0x3c] // 6a5c | push 0x5c // 51 | push ecx // e8???????? | // 8bd5 | mov edx, ebp $sequence_3 = { 6a00 6a00 6a00 7509 8d542414 6a04 52 } // n = 7, score = 100 // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 // 7509 | jne 0xb // 8d542414 | lea edx, [esp + 0x14] // 6a04 | push 4 // 52 | push edx $sequence_4 = { 50 ff15???????? e9???????? 8dbc2494060000 83c9ff } // n = 5, score = 100 // 50 | push eax // ff15???????? | // e9???????? | // 8dbc2494060000 | lea edi, [esp + 0x694] // 83c9ff | or ecx, 0xffffffff $sequence_5 = { 89842478010000 ff15???????? 8dbc2484020000 83c9ff } // n = 4, score = 100 // 89842478010000 | mov dword ptr [esp + 0x178], eax // ff15???????? | // 8dbc2484020000 | lea edi, [esp + 0x284] // 83c9ff | or ecx, 0xffffffff $sequence_6 = { b940000000 33c0 8d7c2419 8894241c010000 f3ab } // n = 5, score = 100 // b940000000 | mov ecx, 0x40 // 33c0 | xor eax, eax // 8d7c2419 | lea edi, [esp + 0x19] // 8894241c010000 | mov byte ptr [esp + 0x11c], dl // f3ab | rep stosd dword ptr es:[edi], eax $sequence_7 = { 8d4c2420 6a3a 51 e8???????? 83c410 85c0 } // n = 6, score = 100 // 8d4c2420 | lea ecx, [esp + 0x20] // 6a3a | push 0x3a // 51 | push ecx // e8???????? | // 83c410 | add esp, 0x10 // 85c0 | test eax, eax $sequence_8 = { f2ae f7d1 49 bf???????? 894c2414 83c9ff } // n = 6, score = 100 // f2ae | repne scasb al, byte ptr es:[edi] // f7d1 | not ecx // 49 | dec ecx // bf???????? | // 894c2414 | mov dword ptr [esp + 0x14], ecx // 83c9ff | or ecx, 0xffffffff $sequence_9 = { 49 53 51 8d8c2478010000 51 56 ff15???????? } // n = 7, score = 100 // 49 | dec ecx // 53 | push ebx // 51 | push ecx // 8d8c2478010000 | lea ecx, [esp + 0x178] // 51 | push ecx // 56 | push esi // ff15???????? | condition: 7 of them and filesize < 106496 }
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