Actor(s): Naikon
There is no description at this point.
rule win_xsplus_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.xsplus." 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.xsplus" 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 = { 8b4608 8b7e20 8b36 66394f18 } // n = 4, score = 600 // 8b4608 | mov eax, dword ptr [esi + 8] // 8b7e20 | mov edi, dword ptr [esi + 0x20] // 8b36 | mov esi, dword ptr [esi] // 66394f18 | cmp word ptr [edi + 0x18], cx $sequence_1 = { 51 6a00 6a01 8d55e8 52 8d45f0 50 } // n = 7, score = 300 // 51 | push ecx // 6a00 | push 0 // 6a01 | push 1 // 8d55e8 | lea edx, [ebp - 0x18] // 52 | push edx // 8d45f0 | lea eax, [ebp - 0x10] // 50 | push eax $sequence_2 = { 6a04 8dbd50ffffff 57 6a06 } // n = 4, score = 300 // 6a04 | push 4 // 8dbd50ffffff | lea edi, [ebp - 0xb0] // 57 | push edi // 6a06 | push 6 $sequence_3 = { ff15???????? 8b85a8feffff 898590feffff 8b8d90feffff 51 } // n = 5, score = 300 // ff15???????? | // 8b85a8feffff | mov eax, dword ptr [ebp - 0x158] // 898590feffff | mov dword ptr [ebp - 0x170], eax // 8b8d90feffff | mov ecx, dword ptr [ebp - 0x170] // 51 | push ecx $sequence_4 = { c3 60 8bb0a0000000 85f6 7438 fc 03f2 } // n = 7, score = 300 // c3 | ret // 60 | pushal // 8bb0a0000000 | mov esi, dword ptr [eax + 0xa0] // 85f6 | test esi, esi // 7438 | je 0x3a // fc | cld // 03f2 | add esi, edx $sequence_5 = { 85c0 7463 8b4d08 51 ff15???????? 83c404 8985b8fdffff } // n = 7, score = 300 // 85c0 | test eax, eax // 7463 | je 0x65 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 51 | push ecx // ff15???????? | // 83c404 | add esp, 4 // 8985b8fdffff | mov dword ptr [ebp - 0x248], eax $sequence_6 = { eb02 ebc5 8be5 5d c3 } // n = 5, score = 300 // eb02 | jmp 4 // ebc5 | jmp 0xffffffc7 // 8be5 | mov esp, ebp // 5d | pop ebp // c3 | ret $sequence_7 = { 83c408 85c0 0f85f8000000 8b45e4 8b4ddc } // n = 5, score = 300 // 83c408 | add esp, 8 // 85c0 | test eax, eax // 0f85f8000000 | jne 0xfe // 8b45e4 | mov eax, dword ptr [ebp - 0x1c] // 8b4ddc | mov ecx, dword ptr [ebp - 0x24] $sequence_8 = { 8985ecfcffff 83bdecfcffffff 7436 6a00 8d8df8feffff } // n = 5, score = 300 // 8985ecfcffff | mov dword ptr [ebp - 0x314], eax // 83bdecfcffffff | cmp dword ptr [ebp - 0x314], -1 // 7436 | je 0x38 // 6a00 | push 0 // 8d8df8feffff | lea ecx, [ebp - 0x108] $sequence_9 = { 3d00010000 7d10 8a8c181d010000 888808a74000 40 ebe6 ff35???????? } // n = 7, score = 300 // 3d00010000 | cmp eax, 0x100 // 7d10 | jge 0x12 // 8a8c181d010000 | mov cl, byte ptr [eax + ebx + 0x11d] // 888808a74000 | mov byte ptr [eax + 0x40a708], cl // 40 | inc eax // ebe6 | jmp 0xffffffe8 // ff35???????? | $sequence_10 = { 7402 ebf9 83ee04 803e63 7510 807e0161 750a } // n = 7, score = 300 // 7402 | je 4 // ebf9 | jmp 0xfffffffb // 83ee04 | sub esi, 4 // 803e63 | cmp byte ptr [esi], 0x63 // 7510 | jne 0x12 // 807e0161 | cmp byte ptr [esi + 1], 0x61 // 750a | jne 0xc $sequence_11 = { ff5310 6874610000 686e204461 686174696f 68706c6963 } // n = 5, score = 300 // ff5310 | call dword ptr [ebx + 0x10] // 6874610000 | push 0x6174 // 686e204461 | push 0x6144206e // 686174696f | push 0x6f697461 // 68706c6963 | push 0x63696c70 $sequence_12 = { fd ab ebec 56 e8???????? 7769 6e } // n = 7, score = 300 // fd | std // ab | stosd dword ptr es:[edi], eax // ebec | jmp 0xffffffee // 56 | push esi // e8???????? | // 7769 | ja 0x6b // 6e | outsb dx, byte ptr [esi] $sequence_13 = { 7428 0fb63e 0fb6c0 eb12 8b45e0 8a800ca84000 08443b1d } // n = 7, score = 300 // 7428 | je 0x2a // 0fb63e | movzx edi, byte ptr [esi] // 0fb6c0 | movzx eax, al // eb12 | jmp 0x14 // 8b45e0 | mov eax, dword ptr [ebp - 0x20] // 8a800ca84000 | mov al, byte ptr [eax + 0x40a80c] // 08443b1d | or byte ptr [ebx + edi + 0x1d], al $sequence_14 = { 8d8d60faffff 51 8d955cf9ffff 52 8d8564faffff 50 } // n = 6, score = 300 // 8d8d60faffff | lea ecx, [ebp - 0x5a0] // 51 | push ecx // 8d955cf9ffff | lea edx, [ebp - 0x6a4] // 52 | push edx // 8d8564faffff | lea eax, [ebp - 0x59c] // 50 | push eax condition: 7 of them and filesize < 597872 }
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