There is no description at this point.
rule win_swen_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.swen." 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.swen" 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 = { 81c6d0750000 56 ff15???????? ff35???????? ff15???????? 5e } // n = 6, score = 100 // 81c6d0750000 | add esi, 0x75d0 // 56 | push esi // ff15???????? | // ff35???????? | // ff15???????? | // 5e | pop esi $sequence_1 = { 56 6a03 bf000000c0 57 68???????? 8d850cffffff 50 } // n = 7, score = 100 // 56 | push esi // 6a03 | push 3 // bf000000c0 | mov edi, 0xc0000000 // 57 | push edi // 68???????? | // 8d850cffffff | lea eax, [ebp - 0xf4] // 50 | push eax $sequence_2 = { 50 57 e8???????? 6a71 57 e8???????? be???????? } // n = 7, score = 100 // 50 | push eax // 57 | push edi // e8???????? | // 6a71 | push 0x71 // 57 | push edi // e8???????? | // be???????? | $sequence_3 = { 894dcc 3bcb 0f8415ffffff 8bc1 2b45e4 8945e0 } // n = 6, score = 100 // 894dcc | mov dword ptr [ebp - 0x34], ecx // 3bcb | cmp ecx, ebx // 0f8415ffffff | je 0xffffff1b // 8bc1 | mov eax, ecx // 2b45e4 | sub eax, dword ptr [ebp - 0x1c] // 8945e0 | mov dword ptr [ebp - 0x20], eax $sequence_4 = { 0f8452020000 6a04 8d85448affff 50 8bce e8???????? } // n = 6, score = 100 // 0f8452020000 | je 0x258 // 6a04 | push 4 // 8d85448affff | lea eax, [ebp - 0x75bc] // 50 | push eax // 8bce | mov ecx, esi // e8???????? | $sequence_5 = { 6a10 68???????? 50 6a00 ff15???????? 68b0040000 ff15???????? } // n = 7, score = 100 // 6a10 | push 0x10 // 68???????? | // 50 | push eax // 6a00 | push 0 // ff15???????? | // 68b0040000 | push 0x4b0 // ff15???????? | $sequence_6 = { 3bc6 7403 802000 57 e8???????? 59 8945e4 } // n = 7, score = 100 // 3bc6 | cmp eax, esi // 7403 | je 5 // 802000 | and byte ptr [eax], 0 // 57 | push edi // e8???????? | // 59 | pop ecx // 8945e4 | mov dword ptr [ebp - 0x1c], eax $sequence_7 = { 50 50 ff15???????? 898578ffffff 3bc3 740b 53 } // n = 7, score = 100 // 50 | push eax // 50 | push eax // ff15???????? | // 898578ffffff | mov dword ptr [ebp - 0x88], eax // 3bc3 | cmp eax, ebx // 740b | je 0xd // 53 | push ebx $sequence_8 = { 7415 6a21 6814040000 ff7510 ff36 e8???????? 3bc3 } // n = 7, score = 100 // 7415 | je 0x17 // 6a21 | push 0x21 // 6814040000 | push 0x414 // ff7510 | push dword ptr [ebp + 0x10] // ff36 | push dword ptr [esi] // e8???????? | // 3bc3 | cmp eax, ebx $sequence_9 = { 59 6a25 e8???????? 59 85c0 7407 68???????? } // n = 7, score = 100 // 59 | pop ecx // 6a25 | push 0x25 // e8???????? | // 59 | pop ecx // 85c0 | test eax, eax // 7407 | je 9 // 68???????? | condition: 7 of them and filesize < 286720 }
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