Actor(s): APT28
There is no description at this point.
rule win_sedreco_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.sedreco." 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.sedreco" 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 = { 8bec 51 836d0804 53 56 } // n = 5, score = 2600 // 8bec | mov ebp, esp // 51 | push ecx // 836d0804 | sub dword ptr [ebp + 8], 4 // 53 | push ebx // 56 | push esi $sequence_1 = { 8b750c 56 e8???????? 6a08 } // n = 4, score = 2600 // 8b750c | mov esi, dword ptr [ebp + 0xc] // 56 | push esi // e8???????? | // 6a08 | push 8 $sequence_2 = { e8???????? 89450c 56 85c0 } // n = 4, score = 2600 // e8???????? | // 89450c | mov dword ptr [ebp + 0xc], eax // 56 | push esi // 85c0 | test eax, eax $sequence_3 = { c645ff30 e8???????? 85c0 7505 } // n = 4, score = 2600 // c645ff30 | mov byte ptr [ebp - 1], 0x30 // e8???????? | // 85c0 | test eax, eax // 7505 | jne 7 $sequence_4 = { 50 68???????? 6a0d 68???????? } // n = 4, score = 2500 // 50 | push eax // 68???????? | // 6a0d | push 0xd // 68???????? | $sequence_5 = { 7411 6a04 68???????? 68???????? e8???????? } // n = 5, score = 2400 // 7411 | je 0x13 // 6a04 | push 4 // 68???????? | // 68???????? | // e8???????? | $sequence_6 = { 51 6802020000 68???????? 50 } // n = 4, score = 2400 // 51 | push ecx // 6802020000 | push 0x202 // 68???????? | // 50 | push eax $sequence_7 = { 7ce0 a1???????? 5e 85c0 } // n = 4, score = 2400 // 7ce0 | jl 0xffffffe2 // a1???????? | // 5e | pop esi // 85c0 | test eax, eax $sequence_8 = { 83c40c b8f2eeeeee 8b4df0 64890d00000000 59 5f } // n = 6, score = 2200 // 83c40c | add esp, 0xc // b8f2eeeeee | mov eax, 0xeeeeeef2 // 8b4df0 | mov ecx, dword ptr [ebp - 0x10] // 64890d00000000 | mov dword ptr fs:[0], ecx // 59 | pop ecx // 5f | pop edi $sequence_9 = { ff15???????? 83c604 81fe???????? 7ce0 a1???????? } // n = 5, score = 2200 // ff15???????? | // 83c604 | add esi, 4 // 81fe???????? | // 7ce0 | jl 0xffffffe2 // a1???????? | $sequence_10 = { 56 be???????? 8b06 85c0 740f 50 } // n = 6, score = 2200 // 56 | push esi // be???????? | // 8b06 | mov eax, dword ptr [esi] // 85c0 | test eax, eax // 740f | je 0x11 // 50 | push eax $sequence_11 = { ffd6 8b0d???????? 894110 85c0 } // n = 4, score = 2200 // ffd6 | call esi // 8b0d???????? | // 894110 | mov dword ptr [ecx + 0x10], eax // 85c0 | test eax, eax $sequence_12 = { ffd6 8b0d???????? 89811c010000 85c0 } // n = 4, score = 2200 // ffd6 | call esi // 8b0d???????? | // 89811c010000 | mov dword ptr [ecx + 0x11c], eax // 85c0 | test eax, eax $sequence_13 = { 83c414 6804010000 56 68???????? } // n = 4, score = 1900 // 83c414 | add esp, 0x14 // 6804010000 | push 0x104 // 56 | push esi // 68???????? | $sequence_14 = { 6800010000 6a00 68???????? e8???????? 6800020000 } // n = 5, score = 500 // 6800010000 | mov eax, dword ptr [ebp - 0x28] // 6a00 | mov byte ptr [ebp - 4], 1 // 68???????? | // e8???????? | // 6800020000 | cmp eax, ebx $sequence_15 = { e8???????? 488b0d???????? 488b05???????? ff90e8000000 ba10270000 488b0d???????? 488b05???????? } // n = 7, score = 500 // e8???????? | // 488b0d???????? | // 488b05???????? | // ff90e8000000 | mov ecx, eax // ba10270000 | inc ebp // 488b0d???????? | // 488b05???????? | $sequence_16 = { 68???????? e8???????? 8b35???????? 83c404 6a00 68???????? 6aff } // n = 7, score = 500 // 68???????? | // e8???????? | // 8b35???????? | // 83c404 | test eax, eax // 6a00 | jne 0xf // 68???????? | // 6aff | push eax $sequence_17 = { ffd6 50 68???????? 6aff } // n = 4, score = 500 // ffd6 | push ebx // 50 | sub dword ptr [ebp + 8], 4 // 68???????? | // 6aff | push ebx $sequence_18 = { c744242004000000 4533c9 4533c0 ba000000c0 488b0d???????? } // n = 5, score = 500 // c744242004000000 | ret // 4533c9 | dec eax // 4533c0 | mov dword ptr [esp + 0x10], ebx // ba000000c0 | mov dword ptr [esp + 0x20], 4 // 488b0d???????? | $sequence_19 = { 488d4c2450 488b05???????? ff90d8020000 85c0 } // n = 4, score = 500 // 488d4c2450 | xor eax, eax // 488b05???????? | // ff90d8020000 | xor edx, edx // 85c0 | dec eax $sequence_20 = { 488b442450 4889442420 41b903000000 4533c0 488b15???????? } // n = 5, score = 500 // 488b442450 | lea ecx, [esp + 0x50] // 4889442420 | call dword ptr [eax + 0x2d8] // 41b903000000 | test eax, eax // 4533c0 | call dword ptr [eax + 0xe8] // 488b15???????? | $sequence_21 = { 4533c9 4533c0 ba00000080 488b0d???????? 488b05???????? ff5040 } // n = 6, score = 500 // 4533c9 | call dword ptr [eax + 0xf0] // 4533c0 | inc ebp // ba00000080 | xor ecx, ecx // 488b0d???????? | // 488b05???????? | // ff5040 | inc ebp $sequence_22 = { 33d2 33c9 488b05???????? ff90f0000000 488905???????? } // n = 5, score = 500 // 33d2 | inc ebp // 33c9 | xor ecx, ecx // 488b05???????? | // ff90f0000000 | inc ebp // 488905???????? | $sequence_23 = { 4533c9 4533c0 33d2 488bc8 488b05???????? } // n = 5, score = 500 // 4533c9 | xor eax, eax // 4533c0 | mov edx, 0xc0000000 // 33d2 | xor edx, edx // 488bc8 | xor ecx, ecx // 488b05???????? | $sequence_24 = { 50 68???????? 6aff 68???????? 6a00 6a00 ffd6 } // n = 7, score = 500 // 50 | push ebx // 68???????? | // 6aff | push esi // 68???????? | // 6a00 | mov ebp, esp // 6a00 | push ecx // ffd6 | sub dword ptr [ebp + 8], 4 $sequence_25 = { 4883c010 4883c428 c3 48890d???????? c3 48895c2410 } // n = 6, score = 500 // 4883c010 | dec eax // 4883c428 | add eax, 0x10 // c3 | dec eax // 48890d???????? | // c3 | add esp, 0x28 // 48895c2410 | ret $sequence_26 = { 7cd5 68???????? e8???????? 8b4dfc 83c404 } // n = 5, score = 400 // 7cd5 | push -1 // 68???????? | // e8???????? | // 8b4dfc | push 0 // 83c404 | push 0 $sequence_27 = { 8b4dfc 5f 5e 33cd b8???????? } // n = 5, score = 400 // 8b4dfc | push -1 // 5f | push 0 // 5e | push 0 // 33cd | call esi // b8???????? | $sequence_28 = { 742b 8a4a01 3a4801 751a 83fefe 741e 8a4a02 } // n = 7, score = 300 // 742b | push 0 // 8a4a01 | push 0 // 3a4801 | call esi // 751a | push eax // 83fefe | push -1 // 741e | add esp, 4 // 8a4a02 | push 0 $sequence_29 = { b8???????? 46 8d7801 8a08 40 84c9 75f9 } // n = 7, score = 300 // b8???????? | // 46 | add esp, 4 // 8d7801 | push 0 // 8a08 | push -1 // 40 | push 0x100 // 84c9 | push 0 // 75f9 | push 0x200 $sequence_30 = { 6a01 68???????? 68???????? 8d45f8 50 } // n = 5, score = 300 // 6a01 | call esi // 68???????? | // 68???????? | // 8d45f8 | push 0 // 50 | push 0 $sequence_31 = { 68???????? 8d8564f7ffff 50 ff15???????? } // n = 4, score = 300 // 68???????? | // 8d8564f7ffff | push eax // 50 | push -1 // ff15???????? | $sequence_32 = { 53 56 57 c745dce197af54 0f6e45dc } // n = 5, score = 200 // 53 | push ebx // 56 | push esi // 57 | push edi // c745dce197af54 | mov dword ptr [ebp - 0x24], 0x54af97e1 // 0f6e45dc | movd mm0, dword ptr [ebp - 0x24] $sequence_33 = { ff512c 8bce 8bd8 e8???????? 57 ff15???????? } // n = 6, score = 200 // ff512c | call dword ptr [ecx + 0x2c] // 8bce | mov ecx, esi // 8bd8 | mov ebx, eax // e8???????? | // 57 | push edi // ff15???????? | $sequence_34 = { 56 57 894df0 ff15???????? 8945fc } // n = 5, score = 200 // 56 | push esi // 57 | push edi // 894df0 | mov dword ptr [ebp - 0x10], ecx // ff15???????? | // 8945fc | mov dword ptr [ebp - 4], eax $sequence_35 = { 8b85ecfeffff 8b4df4 64890d00000000 5f 5e 5b } // n = 6, score = 200 // 8b85ecfeffff | mov eax, dword ptr [ebp - 0x114] // 8b4df4 | mov ecx, dword ptr [ebp - 0xc] // 64890d00000000 | mov dword ptr fs:[0], ecx // 5f | pop edi // 5e | pop esi // 5b | pop ebx $sequence_36 = { 8945fc 8b45f0 8945f4 8b45f4 } // n = 4, score = 200 // 8945fc | mov dword ptr [ebp - 4], eax // 8b45f0 | mov eax, dword ptr [ebp - 0x10] // 8945f4 | mov dword ptr [ebp - 0xc], eax // 8b45f4 | mov eax, dword ptr [ebp - 0xc] $sequence_37 = { 68???????? e8???????? 85c0 7402 eb0d 68e0930400 } // n = 6, score = 200 // 68???????? | // e8???????? | // 85c0 | test eax, eax // 7402 | je 4 // eb0d | jmp 0xf // 68e0930400 | push 0x493e0 $sequence_38 = { 8bf1 8b06 50 8b08 ff9180000000 8b06 85c0 } // n = 7, score = 200 // 8bf1 | mov esi, ecx // 8b06 | mov eax, dword ptr [esi] // 50 | push eax // 8b08 | mov ecx, dword ptr [eax] // ff9180000000 | call dword ptr [ecx + 0x80] // 8b06 | mov eax, dword ptr [esi] // 85c0 | test eax, eax $sequence_39 = { 57 50 ff512c 8bce 8bd8 } // n = 5, score = 200 // 57 | push edi // 50 | push eax // ff512c | call dword ptr [ecx + 0x2c] // 8bce | mov ecx, esi // 8bd8 | mov ebx, eax $sequence_40 = { 50 e8???????? 8b45d8 c645fc01 3bc3 0f86ac000000 8d4dd0 } // n = 7, score = 100 // 50 | push ebp // e8???????? | // 8b45d8 | mov ebp, esp // c645fc01 | push ecx // 3bc3 | sub dword ptr [ebp + 8], 4 // 0f86ac000000 | push ebx // 8d4dd0 | push esi $sequence_41 = { 56 8bcd ff15???????? eb7d } // n = 4, score = 100 // 56 | push esi // 8bcd | mov esi, dword ptr [ebp + 0xc] // ff15???????? | // eb7d | push ebp $sequence_42 = { ff15???????? 84c0 742a 85f6 7506 8b35???????? 8b7d04 } // n = 7, score = 100 // ff15???????? | // 84c0 | mov esi, dword ptr [ebp + 0xc] // 742a | push esi // 85f6 | push 8 // 7506 | push ecx // 8b35???????? | // 8b7d04 | sub dword ptr [ebp + 8], 4 $sequence_43 = { 8965dc 6a00 880e 8bce } // n = 4, score = 100 // 8965dc | mov ebp, esp // 6a00 | push ecx // 880e | sub dword ptr [ebp + 8], 4 // 8bce | push ebx $sequence_44 = { 51 8d4dd0 ff15???????? 8d55d0 68???????? } // n = 5, score = 100 // 51 | mov byte ptr [ebp - 1], 0x30 // 8d4dd0 | test eax, eax // ff15???????? | // 8d55d0 | jne 7 // 68???????? | $sequence_45 = { ffd7 85c0 752a 8b4dd4 } // n = 4, score = 100 // ffd7 | push ebx // 85c0 | push esi // 752a | mov esi, dword ptr [ebp + 0xc] // 8b4dd4 | mov ebp, esp $sequence_46 = { 7623 8db4243c040000 8a4c043c 80f90a 7509 } // n = 5, score = 100 // 7623 | push ecx // 8db4243c040000 | sub dword ptr [ebp + 8], 4 // 8a4c043c | push ebx // 80f90a | push esi // 7509 | push ebp $sequence_47 = { 84c0 7419 8b542420 8b442424 03c2 c6003d } // n = 6, score = 100 // 84c0 | mov ebp, esp // 7419 | push ecx // 8b542420 | sub dword ptr [ebp + 8], 4 // 8b442424 | push ebx // 03c2 | mov byte ptr [ebp - 1], 0x30 // c6003d | test eax, eax condition: 7 of them and filesize < 1586176 }
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