SYMBOLCOMMON_NAMEaka. SYNONYMS
win.polyglot_ransom (Back to overview)

Polyglot

VTCollection    

There is no description at this point.

References
2016-10-03Kaspersky LabsAnton Ivanov, Fedor Sinitsyn, Orkhan Mamedov
Polyglot – the fake CTB-locker
Polyglot
Yara Rules
[TLP:WHITE] win_polyglot_ransom_auto (20260504 | Detects win.polyglot_ransom.)
rule win_polyglot_ransom_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.polyglot_ransom."
        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.polyglot_ransom"
        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 = { ff34fd14e84600 53 55 e8???????? 83c40c 85c0 740d }
            // n = 7, score = 100
            //   ff34fd14e84600       | push                dword ptr [edi*8 + 0x46e814]
            //   53                   | push                ebx
            //   55                   | push                ebp
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   85c0                 | test                eax, eax
            //   740d                 | je                  0xf

        $sequence_1 = { e8???????? 66890477 46 83fe08 59 7ceb }
            // n = 6, score = 100
            //   e8????????           |                     
            //   66890477             | mov                 word ptr [edi + esi*2], ax
            //   46                   | inc                 esi
            //   83fe08               | cmp                 esi, 8
            //   59                   | pop                 ecx
            //   7ceb                 | jl                  0xffffffed

        $sequence_2 = { 33cd 40 5b e8???????? c9 c3 6818020000 }
            // n = 7, score = 100
            //   33cd                 | xor                 ecx, ebp
            //   40                   | inc                 eax
            //   5b                   | pop                 ebx
            //   e8????????           |                     
            //   c9                   | leave               
            //   c3                   | ret                 
            //   6818020000           | push                0x218

        $sequence_3 = { 66890e 66833e1d 7514 8b4008 ff3418 57 e8???????? }
            // n = 7, score = 100
            //   66890e               | mov                 word ptr [esi], cx
            //   66833e1d             | cmp                 word ptr [esi], 0x1d
            //   7514                 | jne                 0x16
            //   8b4008               | mov                 eax, dword ptr [eax + 8]
            //   ff3418               | push                dword ptr [eax + ebx]
            //   57                   | push                edi
            //   e8????????           |                     

        $sequence_4 = { 56 56 50 68???????? e8???????? a3???????? 5f }
            // n = 7, score = 100
            //   56                   | push                esi
            //   56                   | push                esi
            //   50                   | push                eax
            //   68????????           |                     
            //   e8????????           |                     
            //   a3????????           |                     
            //   5f                   | pop                 edi

        $sequence_5 = { 8d8424a8030000 50 ff15???????? 83f8ff 89442434 7525 }
            // n = 6, score = 100
            //   8d8424a8030000       | lea                 eax, [esp + 0x3a8]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   83f8ff               | cmp                 eax, -1
            //   89442434             | mov                 dword ptr [esp + 0x34], eax
            //   7525                 | jne                 0x27

        $sequence_6 = { 50 e8???????? 8d8508f2ffff 50 8d8508faffff 50 e8???????? }
            // n = 7, score = 100
            //   50                   | push                eax
            //   e8????????           |                     
            //   8d8508f2ffff         | lea                 eax, [ebp - 0xdf8]
            //   50                   | push                eax
            //   8d8508faffff         | lea                 eax, [ebp - 0x5f8]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_7 = { 8db388000000 8b06 3bc7 744f 897df0 8b08 8d55f0 }
            // n = 7, score = 100
            //   8db388000000         | lea                 esi, [ebx + 0x88]
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   3bc7                 | cmp                 eax, edi
            //   744f                 | je                  0x51
            //   897df0               | mov                 dword ptr [ebp - 0x10], edi
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   8d55f0               | lea                 edx, [ebp - 0x10]

        $sequence_8 = { 8b450c 33f6 c1e218 0bf3 0b55f4 8930 895004 }
            // n = 7, score = 100
            //   8b450c               | mov                 eax, dword ptr [ebp + 0xc]
            //   33f6                 | xor                 esi, esi
            //   c1e218               | shl                 edx, 0x18
            //   0bf3                 | or                  esi, ebx
            //   0b55f4               | or                  edx, dword ptr [ebp - 0xc]
            //   8930                 | mov                 dword ptr [eax], esi
            //   895004               | mov                 dword ptr [eax + 4], edx

        $sequence_9 = { 6aff eb16 8b8390000000 33c9 2b8308010100 1b8b0c010100 51 }
            // n = 7, score = 100
            //   6aff                 | push                -1
            //   eb16                 | jmp                 0x18
            //   8b8390000000         | mov                 eax, dword ptr [ebx + 0x90]
            //   33c9                 | xor                 ecx, ecx
            //   2b8308010100         | sub                 eax, dword ptr [ebx + 0x10108]
            //   1b8b0c010100         | sbb                 ecx, dword ptr [ebx + 0x1010c]
            //   51                   | push                ecx

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