There is no description at this point.
rule win_rawpos_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.rawpos." 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.rawpos" malpedia_rule_date = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 7503 47 eb03 83c705 8b4de0 8079013f 0f8560feffff } // n = 7, score = 100 // 7503 | jne 5 // 47 | inc edi // eb03 | jmp 5 // 83c705 | add edi, 5 // 8b4de0 | mov ecx, dword ptr [ebp - 0x20] // 8079013f | cmp byte ptr [ecx + 1], 0x3f // 0f8560feffff | jne 0xfffffe66 $sequence_1 = { 0fbec3 83e07f 80b874f5420001 740e ff4df0 8b55f0 85d2 } // n = 7, score = 100 // 0fbec3 | movsx eax, bl // 83e07f | and eax, 0x7f // 80b874f5420001 | cmp byte ptr [eax + 0x42f574], 1 // 740e | je 0x10 // ff4df0 | dec dword ptr [ebp - 0x10] // 8b55f0 | mov edx, dword ptr [ebp - 0x10] // 85d2 | test edx, edx $sequence_2 = { 8bd3 83fa58 7f18 7440 83ea29 744d 83ea04 } // n = 7, score = 100 // 8bd3 | mov edx, ebx // 83fa58 | cmp edx, 0x58 // 7f18 | jg 0x1a // 7440 | je 0x42 // 83ea29 | sub edx, 0x29 // 744d | je 0x4f // 83ea04 | sub edx, 4 $sequence_3 = { 803f22 0f94c2 83e201 83c703 8955e4 } // n = 5, score = 100 // 803f22 | cmp byte ptr [edi], 0x22 // 0f94c2 | sete dl // 83e201 | and edx, 1 // 83c703 | add edi, 3 // 8955e4 | mov dword ptr [ebp - 0x1c], edx $sequence_4 = { 59 8945e0 837de0ff 8bd8 0f848b070000 f6c380 } // n = 6, score = 100 // 59 | pop ecx // 8945e0 | mov dword ptr [ebp - 0x20], eax // 837de0ff | cmp dword ptr [ebp - 0x20], -1 // 8bd8 | mov ebx, eax // 0f848b070000 | je 0x791 // f6c380 | test bl, 0x80 $sequence_5 = { 55 8bec 53 8b5d08 6a00 6a00 6a00 } // n = 7, score = 100 // 55 | push ebp // 8bec | mov ebp, esp // 53 | push ebx // 8b5d08 | mov ebx, dword ptr [ebp + 8] // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 $sequence_6 = { 33d2 53 56 57 8b7514 33ff } // n = 6, score = 100 // 33d2 | xor edx, edx // 53 | push ebx // 56 | push esi // 57 | push edi // 8b7514 | mov esi, dword ptr [ebp + 0x14] // 33ff | xor edi, edi $sequence_7 = { 833c9000 7d08 8b4b2c 2bce 41 eb13 8b4304 } // n = 7, score = 100 // 833c9000 | cmp dword ptr [eax + edx*4], 0 // 7d08 | jge 0xa // 8b4b2c | mov ecx, dword ptr [ebx + 0x2c] // 2bce | sub ecx, esi // 41 | inc ecx // eb13 | jmp 0x15 // 8b4304 | mov eax, dword ptr [ebx + 4] $sequence_8 = { 53 56 8b5510 8b4d0c 8b4508 8a18 80eb0c } // n = 7, score = 100 // 53 | push ebx // 56 | push esi // 8b5510 | mov edx, dword ptr [ebp + 0x10] // 8b4d0c | mov ecx, dword ptr [ebp + 0xc] // 8b4508 | mov eax, dword ptr [ebp + 8] // 8a18 | mov bl, byte ptr [eax] // 80eb0c | sub bl, 0xc $sequence_9 = { 0f85c4fdffff ff45e0 e9???????? 8b55f0 83c203 03fa e9???????? } // n = 7, score = 100 // 0f85c4fdffff | jne 0xfffffdca // ff45e0 | inc dword ptr [ebp - 0x20] // e9???????? | // 8b55f0 | mov edx, dword ptr [ebp - 0x10] // 83c203 | add edx, 3 // 03fa | add edi, edx // e9???????? | condition: 7 of them and filesize < 466944 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY