Actor(s): PLATINUM
There is no description at this point.
rule win_redpepper_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.redpepper." 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.redpepper" 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 = { 6a00 6a00 6a00 ff15???????? 8b0d???????? 8904b1 } // n = 6, score = 300 // 6a00 | push 0 // 6a00 | push 0 // 6a00 | push 0 // ff15???????? | // 8b0d???????? | // 8904b1 | mov dword ptr [ecx + esi*4], eax $sequence_1 = { 33c0 5f c3 8b4710 56 8b7720 85c0 } // n = 7, score = 300 // 33c0 | xor eax, eax // 5f | pop edi // c3 | ret // 8b4710 | mov eax, dword ptr [edi + 0x10] // 56 | push esi // 8b7720 | mov esi, dword ptr [edi + 0x20] // 85c0 | test eax, eax $sequence_2 = { 57 e8???????? 57 e8???????? 83c410 807c38ff5c 7426 } // n = 7, score = 300 // 57 | push edi // e8???????? | // 57 | push edi // e8???????? | // 83c410 | add esp, 0x10 // 807c38ff5c | cmp byte ptr [eax + edi - 1], 0x5c // 7426 | je 0x28 $sequence_3 = { e8???????? 8b4c2458 50 8b442460 8d542430 6a00 } // n = 6, score = 300 // e8???????? | // 8b4c2458 | mov ecx, dword ptr [esp + 0x58] // 50 | push eax // 8b442460 | mov eax, dword ptr [esp + 0x60] // 8d542430 | lea edx, [esp + 0x30] // 6a00 | push 0 $sequence_4 = { 50 c705????????10010000 c705????????02000000 c705????????05000000 } // n = 4, score = 300 // 50 | push eax // c705????????10010000 | // c705????????02000000 | // c705????????05000000 | $sequence_5 = { 41 83f904 8b12 8a540aff 885429ff } // n = 5, score = 300 // 41 | inc ecx // 83f904 | cmp ecx, 4 // 8b12 | mov edx, dword ptr [edx] // 8a540aff | mov dl, byte ptr [edx + ecx - 1] // 885429ff | mov byte ptr [ecx + ebp - 1], dl $sequence_6 = { 6a67 6a20 e8???????? 83c414 ebba } // n = 5, score = 300 // 6a67 | push 0x67 // 6a20 | push 0x20 // e8???????? | // 83c414 | add esp, 0x14 // ebba | jmp 0xffffffbc $sequence_7 = { 68???????? 6a7a 6a70 6a20 e8???????? 83c428 33c0 } // n = 7, score = 300 // 68???????? | // 6a7a | push 0x7a // 6a70 | push 0x70 // 6a20 | push 0x20 // e8???????? | // 83c428 | add esp, 0x28 // 33c0 | xor eax, eax $sequence_8 = { 5e 8bc3 5d 5b c3 57 } // n = 6, score = 300 // 5e | pop esi // 8bc3 | mov eax, ebx // 5d | pop ebp // 5b | pop ebx // c3 | ret // 57 | push edi $sequence_9 = { e8???????? 50 56 e8???????? 83c41c 85c0 7502 } // n = 7, score = 300 // e8???????? | // 50 | push eax // 56 | push esi // e8???????? | // 83c41c | add esp, 0x1c // 85c0 | test eax, eax // 7502 | jne 4 condition: 7 of them and filesize < 2482176 }
import "pe" rule win_redpepper_w0 { meta: author = "Microsoft, modified by @r0ny_123" description = "Adupib SSL Backdoor" hash = "d3ad0933e1b114b14c2b3a2c59d7f8a95ea0bcbd" hash = "a80051d5ae124fd9e5cc03e699dd91c2b373978b" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.redpepper" malpedia_version = "20200101" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $str1 = "POLL_RATE" $str2 = "OP_TIME(end hour)" $str3 = "%d:TCP:*:Enabled" $s1 = "%s[PwFF_cfg%d]" $str4 = "Fake_GetDlgItemTextW: ***value***=" condition: pe.exports("DllGetClassObject") and pe.exports("GetStartObjectEx") and (all of them or $s1) }
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