SYMBOLCOMMON_NAMEaka. SYNONYMS
win.red_gambler (Back to overview)

Red Gambler

VTCollection    

There is no description at this point.

References
2018-06-25 ⋅ ⋅ AhnLab ⋅ AhnLab
ASEC Report vol. 91 (2018)
Red Gambler
Yara Rules
[TLP:WHITE] win_red_gambler_auto (20260917 | Detects win.red_gambler.)
rule win_red_gambler_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "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 = { 742b 8b55ec 8a45f0 8916 6a00 884604 }
            // n = 6, score = 400
            //   742b                 | je                  0x2d
            //   8b55ec               | mov                 edx, dword ptr [ebp - 0x14]
            //   8a45f0               | mov                 al, byte ptr [ebp - 0x10]
            //   8916                 | mov                 dword ptr [esi], edx
            //   6a00                 | push                0
            //   884604               | mov                 byte ptr [esi + 4], al

        $sequence_1 = { 8d45fc 50 ff15???????? e8???????? 83c404 }
            // n = 5, score = 400
            //   8d45fc               | lea                 eax, [ebp - 4]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_2 = { 57 68???????? c745ece80f13fc ffd6 a3???????? 85c0 751a }
            // n = 7, score = 400
            //   57                   | push                edi
            //   68????????           |                     
            //   c745ece80f13fc       | mov                 dword ptr [ebp - 0x14], 0xfc130fe8
            //   ffd6                 | call                esi
            //   a3????????           |                     
            //   85c0                 | test                eax, eax
            //   751a                 | jne                 0x1c

        $sequence_3 = { 85c0 74e5 50 8d54244c 68???????? 52 }
            // n = 6, score = 400
            //   85c0                 | test                eax, eax
            //   74e5                 | je                  0xffffffe7
            //   50                   | push                eax
            //   8d54244c             | lea                 edx, [esp + 0x4c]
            //   68????????           |                     
            //   52                   | push                edx

        $sequence_4 = { 8d7c0704 8d85f0fdffff 68???????? 50 }
            // n = 4, score = 400
            //   8d7c0704             | lea                 edi, [edi + eax + 4]
            //   8d85f0fdffff         | lea                 eax, [ebp - 0x210]
            //   68????????           |                     
            //   50                   | push                eax

        $sequence_5 = { 8d45e8 50 6a40 ba???????? }
            // n = 4, score = 400
            //   8d45e8               | lea                 eax, [ebp - 0x18]
            //   50                   | push                eax
            //   6a40                 | push                0x40
            //   ba????????           |                     

        $sequence_6 = { 61 8b35???????? 81c610200000 ffd6 }
            // n = 4, score = 400
            //   61                   | popal               
            //   8b35????????         |                     
            //   81c610200000         | add                 esi, 0x2010
            //   ffd6                 | call                esi

        $sequence_7 = { 8d8dfcfbffff 51 ffd7 33c9 }
            // n = 4, score = 400
            //   8d8dfcfbffff         | lea                 ecx, [ebp - 0x404]
            //   51                   | push                ecx
            //   ffd7                 | call                edi
            //   33c9                 | xor                 ecx, ecx

        $sequence_8 = { 7ea2 bba7bc3d96 21903e461ca7 bb7a77149f 57 5f 5f }
            // n = 7, score = 300
            //   7ea2                 | jle                 0xffffffa4
            //   bba7bc3d96           | mov                 ebx, 0x963dbca7
            //   21903e461ca7         | and                 dword ptr [eax - 0x58e3b9c2], edx
            //   bb7a77149f           | mov                 ebx, 0x9f14777a
            //   57                   | push                edi
            //   5f                   | pop                 edi
            //   5f                   | pop                 edi

        $sequence_9 = { 6800010000 8d8dfcfdffff 51 6a00 }
            // n = 4, score = 300
            //   6800010000           | push                0x100
            //   8d8dfcfdffff         | lea                 ecx, [ebp - 0x204]
            //   51                   | push                ecx
            //   6a00                 | push                0

        $sequence_10 = { 69734514aba821 e8???????? 842a 06 7f6f c8603a0c }
            // n = 6, score = 300
            //   69734514aba821       | imul                esi, dword ptr [ebx + 0x45], 0x21a8ab14
            //   e8????????           |                     
            //   842a                 | test                byte ptr [edx], ch
            //   06                   | push                es
            //   7f6f                 | jg                  0x71
            //   c8603a0c             | enter               0x3a60, 0xc

        $sequence_11 = { 58 9e e779 9e 54 }
            // n = 5, score = 300
            // 
            //   9e                   | sahf                
            //   e779                 | out                 0x79, eax
            //   9e                   | sahf                
            //   54                   | push                esp

        $sequence_12 = { 642827 3ccf 7bce 07 93 60 }
            // n = 6, score = 300
            //   642827               | sub                 byte ptr fs:[edi], ah
            //   3ccf                 | cmp                 al, 0xcf
            //   7bce                 | jnp                 0xffffffd0
            //   07                   | pop                 es
            //   93                   | xchg                eax, ebx
            //   60                   | pushal              

        $sequence_13 = { 6e 44 b11a dfaf4e71ac05 1a7d3f 7f0d }
            // n = 6, score = 300
            //   6e                   | outsb               dx, byte ptr [esi]
            //   44                   | inc                 esp
            //   b11a                 | mov                 cl, 0x1a
            //   dfaf4e71ac05         | fild                qword ptr [edi + 0x5ac714e]
            //   1a7d3f               | sbb                 bh, byte ptr [ebp + 0x3f]
            //   7f0d                 | jg                  0xf

        $sequence_14 = { bee7eee947 7c26 0e 6706 }
            // n = 4, score = 300
            //   bee7eee947           | mov                 esi, 0x47e9eee7
            //   7c26                 | jl                  0x28
            //   0e                   | push                cs
            //   6706                 | push                es

        $sequence_15 = { ff15???????? 83c414 6a00 6a00 8d9598fbffff 52 68???????? }
            // n = 7, score = 300
            //   ff15????????         |                     
            //   83c414               | add                 esp, 0x14
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   8d9598fbffff         | lea                 edx, [ebp - 0x468]
            //   52                   | push                edx
            //   68????????           |                     

        $sequence_16 = { 7f6f c8603a0c 7364 42 e5e1 5f }
            // n = 6, score = 300
            //   7f6f                 | jg                  0x71
            //   c8603a0c             | enter               0x3a60, 0xc
            //   7364                 | jae                 0x66
            //   42                   | inc                 edx
            //   e5e1                 | in                  eax, 0xe1
            //   5f                   | pop                 edi

        $sequence_17 = { 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_18 = { 52 8d8598fdffff 50 68???????? 8d8d98fbffff 68???????? 51 }
            // n = 7, score = 300
            //   52                   | push                edx
            //   8d8598fdffff         | lea                 eax, [ebp - 0x268]
            //   50                   | push                eax
            //   68????????           |                     
            //   8d8d98fbffff         | lea                 ecx, [ebp - 0x468]
            //   68????????           |                     
            //   51                   | push                ecx

        $sequence_19 = { 8d8d98fdffff 51 8d9598feffff 52 ff15???????? 8d8594fbffff 50 }
            // n = 7, score = 300
            //   8d8d98fdffff         | lea                 ecx, [ebp - 0x268]
            //   51                   | push                ecx
            //   8d9598feffff         | lea                 edx, [ebp - 0x168]
            //   52                   | push                edx
            //   ff15????????         |                     
            //   8d8594fbffff         | lea                 eax, [ebp - 0x46c]
            //   50                   | push                eax

        $sequence_20 = { 8d8d98fbffff 68???????? 51 ff15???????? 83c414 6a00 }
            // n = 6, score = 300
            //   8d8d98fbffff         | lea                 ecx, [ebp - 0x468]
            //   68????????           |                     
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   83c414               | add                 esp, 0x14
            //   6a00                 | push                0

        $sequence_21 = { 54 50 4c 48 }
            // n = 4, score = 300
            //   54                   | push                esp
            //   50                   | push                eax
            //   4c                   | dec                 esp
            //   48                   | dec                 eax

        $sequence_22 = { ff15???????? 8d8594fbffff 50 8d4d98 51 ff15???????? }
            // n = 6, score = 300
            //   ff15????????         |                     
            //   8d8594fbffff         | lea                 eax, [ebp - 0x46c]
            //   50                   | push                eax
            //   8d4d98               | lea                 ecx, [ebp - 0x68]
            //   51                   | push                ecx
            //   ff15????????         |                     

        $sequence_23 = { ff15???????? 8d5598 52 8d8598fdffff }
            // n = 4, score = 300
            //   ff15????????         |                     
            //   8d5598               | lea                 edx, [ebp - 0x68]
            //   52                   | push                edx
            //   8d8598fdffff         | lea                 eax, [ebp - 0x268]

        $sequence_24 = { 8d9598fbffff 52 68???????? 6a00 6a00 ff15???????? 8b4dfc }
            // n = 7, score = 300
            //   8d9598fbffff         | lea                 edx, [ebp - 0x468]
            //   52                   | push                edx
            //   68????????           |                     
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   ff15????????         |                     
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]

        $sequence_25 = { 57 48 f2ae 55 ff96acd60000 09c0 7407 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   48                   | dec                 eax
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   55                   | push                ebp
            //   ff96acd60000         | call                dword ptr [esi + 0xd6ac]
            //   09c0                 | or                  eax, eax
            //   7407                 | je                  9

        $sequence_26 = { 01cf e9???????? 5e 89f7 b92d3b0000 }
            // n = 5, score = 100
            //   01cf                 | add                 edi, ecx
            //   e9????????           |                     
            //   5e                   | pop                 esi
            //   89f7                 | mov                 edi, esi
            //   b92d3b0000           | mov                 ecx, 0x3b2d

        $sequence_27 = { 83f805 7d10 668b4c4310 66890c4580974000 40 }
            // n = 5, score = 100
            //   83f805               | cmp                 eax, 5
            //   7d10                 | jge                 0x12
            //   668b4c4310           | mov                 cx, word ptr [ebx + eax*2 + 0x10]
            //   66890c4580974000     | mov                 word ptr [eax*2 + 0x409780], cx
            //   40                   | inc                 eax

        $sequence_28 = { 01f3 50 83c708 ff96a8d60000 95 }
            // n = 5, score = 100
            //   01f3                 | add                 ebx, esi
            //   50                   | push                eax
            //   83c708               | add                 edi, 8
            //   ff96a8d60000         | call                dword ptr [esi + 0xd6a8]
            //   95                   | xchg                eax, ebp

        $sequence_29 = { e8???????? 83c414 c3 6a08 68???????? e8???????? }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c414               | add                 esp, 0x14
            //   c3                   | ret                 
            //   6a08                 | push                8
            //   68????????           |                     
            //   e8????????           |                     

        $sequence_30 = { 83c702 ebe2 8baeb0d60000 8dbe00f0ffff }
            // n = 4, score = 100
            //   83c702               | add                 edi, 2
            //   ebe2                 | jmp                 0xffffffe4
            //   8baeb0d60000         | mov                 ebp, dword ptr [esi + 0xd6b0]
            //   8dbe00f0ffff         | lea                 edi, [esi - 0x1000]

        $sequence_31 = { 09c0 7407 8903 83c304 ebe1 ff96bcd60000 }
            // n = 6, score = 100
            //   09c0                 | or                  eax, eax
            //   7407                 | je                  9
            //   8903                 | mov                 dword ptr [ebx], eax
            //   83c304               | add                 ebx, 4
            //   ebe1                 | jmp                 0xffffffe3
            //   ff96bcd60000         | call                dword ptr [esi + 0xd6bc]

    condition:
        7 of them and filesize < 327680
}
Download all Yara Rules