Actor(s): Equation Group
There is no description at this point.
rule win_darkpulsar_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.darkpulsar." 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.darkpulsar" 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 = { 03d3 5b c21000 ff25???????? ff25???????? ff25???????? 33c0 } // n = 7, score = 600 // 03d3 | add edx, ebx // 5b | pop ebx // c21000 | ret 0x10 // ff25???????? | // ff25???????? | // ff25???????? | // 33c0 | xor eax, eax $sequence_1 = { c20c00 68???????? 64ff3500000000 8b442410 896c2410 } // n = 5, score = 600 // c20c00 | ret 0xc // 68???????? | // 64ff3500000000 | push dword ptr fs:[0] // 8b442410 | mov eax, dword ptr [esp + 0x10] // 896c2410 | mov dword ptr [esp + 0x10], ebp $sequence_2 = { ff25???????? 33c0 40 c20c00 68???????? } // n = 5, score = 600 // ff25???????? | // 33c0 | xor eax, eax // 40 | inc eax // c20c00 | ret 0xc // 68???????? | $sequence_3 = { 3a01 1bc0 83e0fe 40 5f } // n = 5, score = 400 // 3a01 | cmp al, byte ptr [ecx] // 1bc0 | sbb eax, eax // 83e0fe | and eax, 0xfffffffe // 40 | inc eax // 5f | pop edi $sequence_4 = { 59 59 3bd8 74e0 0fb607 } // n = 5, score = 300 // 59 | pop ecx // 59 | pop ecx // 3bd8 | cmp ebx, eax // 74e0 | je 0xffffffe2 // 0fb607 | movzx eax, byte ptr [edi] $sequence_5 = { 56 8b35???????? 57 8b7d08 eb09 } // n = 5, score = 300 // 56 | push esi // 8b35???????? | // 57 | push edi // 8b7d08 | mov edi, dword ptr [ebp + 8] // eb09 | jmp 0xb $sequence_6 = { 50 ffd6 8bd8 8b450c 0fbe00 50 } // n = 6, score = 300 // 50 | push eax // ffd6 | call esi // 8bd8 | mov ebx, eax // 8b450c | mov eax, dword ptr [ebp + 0xc] // 0fbe00 | movsx eax, byte ptr [eax] // 50 | push eax $sequence_7 = { 47 ff450c 0fbe07 50 ffd6 } // n = 5, score = 300 // 47 | inc edi // ff450c | inc dword ptr [ebp + 0xc] // 0fbe07 | movsx eax, byte ptr [edi] // 50 | push eax // ffd6 | call esi $sequence_8 = { 56 e8???????? ff742414 50 e8???????? 83c410 } // n = 6, score = 200 // 56 | push esi // e8???????? | // ff742414 | push dword ptr [esp + 0x14] // 50 | push eax // e8???????? | // 83c410 | add esp, 0x10 $sequence_9 = { 8b5d10 56 8b7508 33d2 } // n = 4, score = 200 // 8b5d10 | mov ebx, dword ptr [ebp + 0x10] // 56 | push esi // 8b7508 | mov esi, dword ptr [ebp + 8] // 33d2 | xor edx, edx $sequence_10 = { ffd6 59 59 8945f0 85c0 } // n = 5, score = 200 // ffd6 | call esi // 59 | pop ecx // 59 | pop ecx // 8945f0 | mov dword ptr [ebp - 0x10], eax // 85c0 | test eax, eax $sequence_11 = { e8???????? 8bf0 46 56 ff15???????? 59 } // n = 6, score = 200 // e8???????? | // 8bf0 | mov esi, eax // 46 | inc esi // 56 | push esi // ff15???????? | // 59 | pop ecx $sequence_12 = { f7d8 59 1bc0 59 40 c3 e9???????? } // n = 7, score = 200 // f7d8 | neg eax // 59 | pop ecx // 1bc0 | sbb eax, eax // 59 | pop ecx // 40 | inc eax // c3 | ret // e9???????? | $sequence_13 = { 59 5e 8b45fc c9 } // n = 4, score = 200 // 59 | pop ecx // 5e | pop esi // 8b45fc | mov eax, dword ptr [ebp - 4] // c9 | leave $sequence_14 = { e8???????? ff7514 89460c e8???????? } // n = 4, score = 200 // e8???????? | // ff7514 | push dword ptr [ebp + 0x14] // 89460c | mov dword ptr [esi + 0xc], eax // e8???????? | $sequence_15 = { 53 33d2 56 57 33c0 } // n = 5, score = 200 // 53 | push ebx // 33d2 | xor edx, edx // 56 | push esi // 57 | push edi // 33c0 | xor eax, eax $sequence_16 = { 33c0 33d2 c3 8bff 55 8bec b863736de0 } // n = 7, score = 200 // 33c0 | xor eax, eax // 33d2 | xor edx, edx // c3 | ret // 8bff | mov edi, edi // 55 | push ebp // 8bec | mov ebp, esp // b863736de0 | mov eax, 0xe06d7363 $sequence_17 = { 8d45cc 50 57 e8???????? 83c410 85c0 } // n = 6, score = 200 // 8d45cc | lea eax, [ebp - 0x34] // 50 | push eax // 57 | push edi // e8???????? | // 83c410 | add esp, 0x10 // 85c0 | test eax, eax $sequence_18 = { 56 e8???????? 59 85c0 7625 } // n = 5, score = 200 // 56 | push esi // e8???????? | // 59 | pop ecx // 85c0 | test eax, eax // 7625 | jbe 0x27 $sequence_19 = { 8bc1 c3 8b442404 85c0 7501 } // n = 5, score = 200 // 8bc1 | mov eax, ecx // c3 | ret // 8b442404 | mov eax, dword ptr [esp + 4] // 85c0 | test eax, eax // 7501 | jne 3 $sequence_20 = { ffd7 59 5f 5e c3 8b4c2404 85c9 } // n = 7, score = 200 // ffd7 | call edi // 59 | pop ecx // 5f | pop edi // 5e | pop esi // c3 | ret // 8b4c2404 | mov ecx, dword ptr [esp + 4] // 85c9 | test ecx, ecx $sequence_21 = { 6a01 50 ff15???????? 8bf0 59 } // n = 5, score = 200 // 6a01 | push 1 // 50 | push eax // ff15???????? | // 8bf0 | mov esi, eax // 59 | pop ecx $sequence_22 = { ff760c ff7608 ff36 e8???????? 8bf8 } // n = 5, score = 200 // ff760c | push dword ptr [esi + 0xc] // ff7608 | push dword ptr [esi + 8] // ff36 | push dword ptr [esi] // e8???????? | // 8bf8 | mov edi, eax $sequence_23 = { ff7618 ff15???????? 59 59 85c0 } // n = 5, score = 200 // ff7618 | push dword ptr [esi + 0x18] // ff15???????? | // 59 | pop ecx // 59 | pop ecx // 85c0 | test eax, eax $sequence_24 = { e8???????? 59 5e 83f8ff } // n = 4, score = 200 // e8???????? | // 59 | pop ecx // 5e | pop esi // 83f8ff | cmp eax, -1 $sequence_25 = { 8bd8 53 e8???????? 83c410 85c0 750c } // n = 6, score = 200 // 8bd8 | mov ebx, eax // 53 | push ebx // e8???????? | // 83c410 | add esp, 0x10 // 85c0 | test eax, eax // 750c | jne 0xe $sequence_26 = { 33c9 83c410 83f8ff 0f95c1 49 8bc1 } // n = 6, score = 200 // 33c9 | xor ecx, ecx // 83c410 | add esp, 0x10 // 83f8ff | cmp eax, -1 // 0f95c1 | setne cl // 49 | dec ecx // 8bc1 | mov eax, ecx $sequence_27 = { 00db 7313 752f 3b742404 0f830b010000 } // n = 5, score = 100 // 00db | add bl, bl // 7313 | jae 0x15 // 752f | jne 0x31 // 3b742404 | cmp esi, dword ptr [esp + 4] // 0f830b010000 | jae 0x111 $sequence_28 = { 7549 85f6 7445 8b460c 85c0 } // n = 5, score = 100 // 7549 | jne 0x4b // 85f6 | test esi, esi // 7445 | je 0x47 // 8b460c | mov eax, dword ptr [esi + 0xc] // 85c0 | test eax, eax $sequence_29 = { 8d4240 5e c3 ff74240c } // n = 4, score = 100 // 8d4240 | lea eax, [edx + 0x40] // 5e | pop esi // c3 | ret // ff74240c | push dword ptr [esp + 0xc] $sequence_30 = { e8???????? 83c410 3d0d0000c0 750c c745d806000000 e9???????? 3d160000c0 } // n = 7, score = 100 // e8???????? | // 83c410 | add esp, 0x10 // 3d0d0000c0 | cmp eax, 0xc000000d // 750c | jne 0xe // c745d806000000 | mov dword ptr [ebp - 0x28], 6 // e9???????? | // 3d160000c0 | cmp eax, 0xc0000016 $sequence_31 = { 0bea 83c708 46 83ff40 7ce3 5f } // n = 6, score = 100 // 0bea | or ebp, edx // 83c708 | add edi, 8 // 46 | inc esi // 83ff40 | cmp edi, 0x40 // 7ce3 | jl 0xffffffe5 // 5f | pop edi $sequence_32 = { ff15???????? 668945ee ff15???????? 6a00 6a01 6a02 8945e8 } // n = 7, score = 100 // ff15???????? | // 668945ee | mov word ptr [ebp - 0x12], ax // ff15???????? | // 6a00 | push 0 // 6a01 | push 1 // 6a02 | push 2 // 8945e8 | mov dword ptr [ebp - 0x18], eax $sequence_33 = { eb02 33c9 85c0 7405 8b400c eb03 6a7f } // n = 7, score = 100 // eb02 | jmp 4 // 33c9 | xor ecx, ecx // 85c0 | test eax, eax // 7405 | je 7 // 8b400c | mov eax, dword ptr [eax + 0xc] // eb03 | jmp 5 // 6a7f | push 0x7f $sequence_34 = { ddd8 b8???????? eb5b 51 } // n = 4, score = 100 // ddd8 | fstp st(0) // b8???????? | // eb5b | jmp 0x5d // 51 | push ecx $sequence_35 = { 3bf7 742d 8b4514 893e 897e04 } // n = 5, score = 100 // 3bf7 | cmp esi, edi // 742d | je 0x2f // 8b4514 | mov eax, dword ptr [ebp + 0x14] // 893e | mov dword ptr [esi], edi // 897e04 | mov dword ptr [esi + 4], edi $sequence_36 = { 57 e8???????? 85c0 74ca } // n = 4, score = 100 // 57 | push edi // e8???????? | // 85c0 | test eax, eax // 74ca | je 0xffffffcc $sequence_37 = { 50 ff758c e8???????? 0fb606 50 } // n = 5, score = 100 // 50 | push eax // ff758c | push dword ptr [ebp - 0x74] // e8???????? | // 0fb606 | movzx eax, byte ptr [esi] // 50 | push eax $sequence_38 = { 8b01 8b4004 52 0fb75606 52 0fb75604 52 } // n = 7, score = 100 // 8b01 | mov eax, dword ptr [ecx] // 8b4004 | mov eax, dword ptr [eax + 4] // 52 | push edx // 0fb75606 | movzx edx, word ptr [esi + 6] // 52 | push edx // 0fb75604 | movzx edx, word ptr [esi + 4] // 52 | push edx $sequence_39 = { 00db 7313 75e1 3b742404 0f8318010000 } // n = 5, score = 100 // 00db | add bl, bl // 7313 | jae 0x15 // 75e1 | jne 0xffffffe3 // 3b742404 | cmp esi, dword ptr [esp + 4] // 0f8318010000 | jae 0x11e $sequence_40 = { 33f6 57 56 8945d4 33c0 } // n = 5, score = 100 // 33f6 | xor esi, esi // 57 | push edi // 56 | push esi // 8945d4 | mov dword ptr [ebp - 0x2c], eax // 33c0 | xor eax, eax $sequence_41 = { 00db 7309 75f4 8a1e 46 10db } // n = 6, score = 100 // 00db | add bl, bl // 7309 | jae 0xb // 75f4 | jne 0xfffffff6 // 8a1e | mov bl, byte ptr [esi] // 46 | inc esi // 10db | adc bl, bl $sequence_42 = { 8b4f08 50 51 81c3a4000000 53 e8???????? 8b45fc } // n = 7, score = 100 // 8b4f08 | mov ecx, dword ptr [edi + 8] // 50 | push eax // 51 | push ecx // 81c3a4000000 | add ebx, 0xa4 // 53 | push ebx // e8???????? | // 8b45fc | mov eax, dword ptr [ebp - 4] $sequence_43 = { ff5624 85c0 0f84d2010000 31c0 50 } // n = 5, score = 100 // ff5624 | call dword ptr [esi + 0x24] // 85c0 | test eax, eax // 0f84d2010000 | je 0x1d8 // 31c0 | xor eax, eax // 50 | push eax $sequence_44 = { 57 6a08 8d4207 5e } // n = 4, score = 100 // 57 | push edi // 6a08 | push 8 // 8d4207 | lea eax, [edx + 7] // 5e | pop esi $sequence_45 = { 85c0 0f8489080000 8906 83c604 } // n = 4, score = 100 // 85c0 | test eax, eax // 0f8489080000 | je 0x88f // 8906 | mov dword ptr [esi], eax // 83c604 | add esi, 4 condition: 7 of them and filesize < 491520 }
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