There is no description at this point.
rule win_common_magic_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.common_magic." 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.common_magic" malpedia_rule_date = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" 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 = { c645fc0c e8???????? 33c0 c78514ffffff00000000 8d4ddc c78524ffffff00000000 } // n = 6, score = 100 // c645fc0c | mov byte ptr [ebp - 4], 0xc // e8???????? | // 33c0 | xor eax, eax // c78514ffffff00000000 | mov dword ptr [ebp - 0xec], 0 // 8d4ddc | lea ecx, [ebp - 0x24] // c78524ffffff00000000 | mov dword ptr [ebp - 0xdc], 0 $sequence_1 = { 83c0fc 83f81f 7733 51 57 } // n = 5, score = 100 // 83c0fc | add eax, -4 // 83f81f | cmp eax, 0x1f // 7733 | ja 0x35 // 51 | push ecx // 57 | push edi $sequence_2 = { 8b9d78ffffff 3bf3 0f84eb000000 66660f1f840000000000 8bbd0cffffff } // n = 5, score = 100 // 8b9d78ffffff | mov ebx, dword ptr [ebp - 0x88] // 3bf3 | cmp esi, ebx // 0f84eb000000 | je 0xf1 // 66660f1f840000000000 | nop word ptr [eax + eax] // 8bbd0cffffff | mov edi, dword ptr [ebp - 0xf4] $sequence_3 = { 3bfb 7521 83bdc8feffff08 8d85b4feffff } // n = 4, score = 100 // 3bfb | cmp edi, ebx // 7521 | jne 0x23 // 83bdc8feffff08 | cmp dword ptr [ebp - 0x138], 8 // 8d85b4feffff | lea eax, [ebp - 0x14c] $sequence_4 = { 746e 8b4dfc 8d7823 8b55f8 83e7e0 } // n = 5, score = 100 // 746e | je 0x70 // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 8d7823 | lea edi, [eax + 0x23] // 8b55f8 | mov edx, dword ptr [ebp - 8] // 83e7e0 | and edi, 0xffffffe0 $sequence_5 = { 8d45c4 c745c45368656c 50 c745c86c33322e c745cc646c6c00 ff15???????? } // n = 6, score = 100 // 8d45c4 | lea eax, [ebp - 0x3c] // c745c45368656c | mov dword ptr [ebp - 0x3c], 0x6c656853 // 50 | push eax // c745c86c33322e | mov dword ptr [ebp - 0x38], 0x2e32336c // c745cc646c6c00 | mov dword ptr [ebp - 0x34], 0x6c6c64 // ff15???????? | $sequence_6 = { 746e 8b4dfc 8d7823 8b55f8 83e7e0 8947fc eb19 } // n = 7, score = 100 // 746e | je 0x70 // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 8d7823 | lea edi, [eax + 0x23] // 8b55f8 | mov edx, dword ptr [ebp - 8] // 83e7e0 | and edi, 0xffffffe0 // 8947fc | mov dword ptr [edi - 4], eax // eb19 | jmp 0x1b $sequence_7 = { e8???????? c645fc0e 83c404 8b8db0feffff 83f908 7235 8b959cfeffff } // n = 7, score = 100 // e8???????? | // c645fc0e | mov byte ptr [ebp - 4], 0xe // 83c404 | add esp, 4 // 8b8db0feffff | mov ecx, dword ptr [ebp - 0x150] // 83f908 | cmp ecx, 8 // 7235 | jb 0x37 // 8b959cfeffff | mov edx, dword ptr [ebp - 0x164] $sequence_8 = { 668b040e 663b01 7517 83c102 83ea01 75ef 8b45e8 } // n = 7, score = 100 // 668b040e | mov ax, word ptr [esi + ecx] // 663b01 | cmp ax, word ptr [ecx] // 7517 | jne 0x19 // 83c102 | add ecx, 2 // 83ea01 | sub edx, 1 // 75ef | jne 0xfffffff1 // 8b45e8 | mov eax, dword ptr [ebp - 0x18] $sequence_9 = { 8d8068754100 8945e4 803800 8bc8 7435 8a4101 84c0 } // n = 7, score = 100 // 8d8068754100 | lea eax, [eax + 0x417568] // 8945e4 | mov dword ptr [ebp - 0x1c], eax // 803800 | cmp byte ptr [eax], 0 // 8bc8 | mov ecx, eax // 7435 | je 0x37 // 8a4101 | mov al, byte ptr [ecx + 1] // 84c0 | test al, al condition: 7 of them and filesize < 212992 }
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