There is no description at this point.
rule win_red_gambler_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.red_gambler." 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.red_gambler" 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 = { 52 50 ff15???????? 3975fc 761e 8d5f30 } // n = 6, score = 400 // 52 | push edx // 50 | push eax // ff15???????? | // 3975fc | cmp dword ptr [ebp - 4], esi // 761e | jbe 0x20 // 8d5f30 | lea ebx, [edi + 0x30] $sequence_1 = { 6a00 885604 8b45e8 50 6a05 56 } // n = 6, score = 400 // 6a00 | push 0 // 885604 | mov byte ptr [esi + 4], dl // 8b45e8 | mov eax, dword ptr [ebp - 0x18] // 50 | push eax // 6a05 | push 5 // 56 | push esi $sequence_2 = { ff15???????? 85c0 7549 68ff000000 8d8df0fcffff 51 ff15???????? } // n = 7, score = 400 // ff15???????? | // 85c0 | test eax, eax // 7549 | jne 0x4b // 68ff000000 | push 0xff // 8d8df0fcffff | lea ecx, [ebp - 0x310] // 51 | push ecx // ff15???????? | $sequence_3 = { ff15???????? 8bd8 85db 0f845c010000 68???????? 8bfb e8???????? } // n = 7, score = 400 // ff15???????? | // 8bd8 | mov ebx, eax // 85db | test ebx, ebx // 0f845c010000 | je 0x162 // 68???????? | // 8bfb | mov edi, ebx // e8???????? | $sequence_4 = { 53 8bd8 a1???????? 56 57 8945e8 } // n = 6, score = 400 // 53 | push ebx // 8bd8 | mov ebx, eax // a1???????? | // 56 | push esi // 57 | push edi // 8945e8 | mov dword ptr [ebp - 0x18], eax $sequence_5 = { 56 8b35???????? 57 68???????? c745ece80f13fc ffd6 } // n = 6, score = 400 // 56 | push esi // 8b35???????? | // 57 | push edi // 68???????? | // c745ece80f13fc | mov dword ptr [ebp - 0x14], 0xfc130fe8 // ffd6 | call esi $sequence_6 = { 85c0 7414 8b400c 8b4004 8903 894304 } // n = 6, score = 400 // 85c0 | test eax, eax // 7414 | je 0x16 // 8b400c | mov eax, dword ptr [eax + 0xc] // 8b4004 | mov eax, dword ptr [eax + 4] // 8903 | mov dword ptr [ebx], eax // 894304 | mov dword ptr [ebx + 4], eax $sequence_7 = { 7519 6a0a ffd6 68???????? 8bfb e8???????? 8bf8 } // n = 7, score = 400 // 7519 | jne 0x1b // 6a0a | push 0xa // ffd6 | call esi // 68???????? | // 8bfb | mov edi, ebx // e8???????? | // 8bf8 | mov edi, eax $sequence_8 = { c1c010 86c4 29f8 01f0 ab ebe3 } // n = 6, score = 300 // c1c010 | rol eax, 0x10 // 86c4 | xchg ah, al // 29f8 | sub eax, edi // 01f0 | add eax, esi // ab | stosd dword ptr es:[edi], eax // ebe3 | jmp 0xffffffe5 $sequence_9 = { 52 68???????? 6a00 6a00 ff15???????? 8b4dfc 33cd } // n = 7, score = 300 // 52 | push edx // 68???????? | // 6a00 | push 0 // 6a00 | push 0 // ff15???????? | // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 33cd | xor ecx, ebp $sequence_10 = { 627627 4f 8d74c79e cf 23530e } // n = 5, score = 300 // 627627 | bound esi, qword ptr [esi + 0x27] // 4f | dec edi // 8d74c79e | lea esi, [edi + eax*8 - 0x62] // cf | iretd // 23530e | and edx, dword ptr [ebx + 0xe] $sequence_11 = { 6800010000 8d85fcfeffff 50 6a00 ff15???????? } // n = 5, score = 300 // 6800010000 | push 0x100 // 8d85fcfeffff | lea eax, [ebp - 0x104] // 50 | push eax // 6a00 | push 0 // ff15???????? | $sequence_12 = { 6a00 6a00 8d9598fbffff 52 68???????? 6a00 } // n = 6, score = 300 // 6a00 | push 0 // 6a00 | push 0 // 8d9598fbffff | lea edx, [ebp - 0x468] // 52 | push edx // 68???????? | // 6a00 | push 0 $sequence_13 = { 7061 2dc7dc1667 3663ea 7c0e } // n = 4, score = 300 // 7061 | jo 0x63 // 2dc7dc1667 | sub eax, 0x6716dcc7 // 3663ea | arpl dx, bp // 7c0e | jl 0x10 $sequence_14 = { 6800010000 8d8d98fdffff 51 8d9598feffff } // n = 4, score = 300 // 6800010000 | push 0x100 // 8d8d98fdffff | lea ecx, [ebp - 0x268] // 51 | push ecx // 8d9598feffff | lea edx, [ebp - 0x168] $sequence_15 = { 8d5598 52 8d8598fdffff 50 68???????? 8d8d98fbffff 68???????? } // n = 7, score = 300 // 8d5598 | lea edx, [ebp - 0x68] // 52 | push edx // 8d8598fdffff | lea eax, [ebp - 0x268] // 50 | push eax // 68???????? | // 8d8d98fbffff | lea ecx, [ebp - 0x468] // 68???????? | $sequence_16 = { 09afba55a367 59 2f 74be 6f 665b } // n = 6, score = 300 // 09afba55a367 | or dword ptr [edi + 0x67a355ba], ebp // 59 | pop ecx // 2f | das // 74be | je 0xffffffc0 // 6f | outsd dx, dword ptr [esi] // 665b | pop bx $sequence_17 = { f3281c14 0c00 e779 cf } // n = 4, score = 300 // f3281c14 | sub byte ptr [esp + edx], bl // 0c00 | or al, 0 // e779 | out 0x79, eax // cf | iretd $sequence_18 = { 3663ea 7c0e 07 642827 } // n = 4, score = 300 // 3663ea | arpl dx, bp // 7c0e | jl 0x10 // 07 | pop es // 642827 | sub byte ptr fs:[edi], ah $sequence_19 = { 8d8d98fbffff 68???????? 51 ff15???????? } // n = 4, score = 300 // 8d8d98fbffff | lea ecx, [ebp - 0x468] // 68???????? | // 51 | push ecx // ff15???????? | $sequence_20 = { 51 8d9598feffff 52 ff15???????? 8d8594fbffff } // n = 5, score = 300 // 51 | push ecx // 8d9598feffff | lea edx, [ebp - 0x168] // 52 | push edx // ff15???????? | // 8d8594fbffff | lea eax, [ebp - 0x46c] $sequence_21 = { 8d8594fbffff 50 8d4d98 51 } // n = 4, score = 300 // 8d8594fbffff | lea eax, [ebp - 0x46c] // 50 | push eax // 8d4d98 | lea ecx, [ebp - 0x68] // 51 | push ecx $sequence_22 = { 51 ff15???????? 83c414 6a00 6a00 } // n = 5, score = 300 // 51 | push ecx // ff15???????? | // 83c414 | add esp, 0x14 // 6a00 | push 0 // 6a00 | push 0 $sequence_23 = { e17a 6c 8737 27 97 } // n = 5, score = 300 // e17a | loope 0x7c // 6c | insb byte ptr es:[edi], dx // 8737 | xchg dword ptr [edi], esi // 27 | daa // 97 | xchg eax, edi $sequence_24 = { 75f7 8b07 66c1e808 c1c010 86c4 } // n = 5, score = 300 // 75f7 | jne 0xfffffff9 // 8b07 | mov eax, dword ptr [edi] // 66c1e808 | shr ax, 8 // c1c010 | rol eax, 0x10 // 86c4 | xchg ah, al $sequence_25 = { 6e 44 b11a dfaf4e71ac05 } // n = 4, score = 300 // 6e | outsb dx, byte ptr [esi] // 44 | inc esp // b11a | mov cl, 0x1a // dfaf4e71ac05 | fild qword ptr [edi + 0x5ac714e] $sequence_26 = { 4c 40 34f3 3ccf f3281c14 0c00 } // n = 6, score = 300 // 4c | dec esp // 40 | inc eax // 34f3 | xor al, 0xf3 // 3ccf | cmp al, 0xcf // f3281c14 | sub byte ptr [esp + edx], bl // 0c00 | or al, 0 $sequence_27 = { c1f805 c1e606 033485c0974000 8b45f8 8b00 8906 8b45fc } // n = 7, score = 100 // c1f805 | sar eax, 5 // c1e606 | shl esi, 6 // 033485c0974000 | add esi, dword ptr [eax*4 + 0x4097c0] // 8b45f8 | mov eax, dword ptr [ebp - 8] // 8b00 | mov eax, dword ptr [eax] // 8906 | mov dword ptr [esi], eax // 8b45fc | mov eax, dword ptr [ebp - 4] $sequence_28 = { 85f6 0f8492000000 8b1d???????? 68???????? } // n = 4, score = 100 // 85f6 | test esi, esi // 0f8492000000 | je 0x98 // 8b1d???????? | // 68???????? | $sequence_29 = { 40 68???????? 50 ff15???????? 8d85fcfeffff 50 } // n = 6, score = 100 // 40 | inc eax // 68???????? | // 50 | push eax // ff15???????? | // 8d85fcfeffff | lea eax, [ebp - 0x104] // 50 | push eax $sequence_30 = { a1???????? a3???????? a1???????? c705????????6b214000 8935???????? a3???????? ff15???????? } // n = 7, score = 100 // a1???????? | // a3???????? | // a1???????? | // c705????????6b214000 | // 8935???????? | // a3???????? | // ff15???????? | $sequence_31 = { 8bff 55 8bec 33c0 8b4d08 3b0cc5d8694000 } // n = 6, score = 100 // 8bff | mov edi, edi // 55 | push ebp // 8bec | mov ebp, esp // 33c0 | xor eax, eax // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 3b0cc5d8694000 | cmp ecx, dword ptr [eax*8 + 0x4069d8] condition: 7 of them and filesize < 327680 }
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