SYMBOLCOMMON_NAMEaka. SYNONYMS
win.polyglot_ransom (Back to overview)

Polyglot


There is no description at this point.

References
2016-10-03Kaspersky LabsAnton Ivanov, Orkhan Mamedov, Fedor Sinitsyn
@online{ivanov:20161003:polyglot:6fe8657, author = {Anton Ivanov and Orkhan Mamedov and Fedor Sinitsyn}, title = {{Polyglot – the fake CTB-locker}}, date = {2016-10-03}, organization = {Kaspersky Labs}, url = {https://securelist.com/blog/research/76182/polyglot-the-fake-ctb-locker/}, language = {English}, urldate = {2019-12-20} } Polyglot – the fake CTB-locker
Polyglot
Yara Rules
[TLP:WHITE] win_polyglot_ransom_auto (20211008 | Detects win.polyglot_ransom.)
rule win_polyglot_ransom_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-10-07"
        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 = "20211007"
        malpedia_hash = "e5b790e0f888f252d49063a1251ca60ec2832535"
        malpedia_version = "20211008"
        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 = { ff7594 8d4810 c7400803000000 e8???????? 33c0 8b8da0010000 5f }
            // n = 7, score = 100
            //   ff7594               | push                dword ptr [ebp - 0x6c]
            //   8d4810               | lea                 ecx, dword ptr [eax + 0x10]
            //   c7400803000000       | mov                 dword ptr [eax + 8], 3
            //   e8????????           |                     
            //   33c0                 | xor                 eax, eax
            //   8b8da0010000         | mov                 ecx, dword ptr [ebp + 0x1a0]
            //   5f                   | pop                 edi

        $sequence_1 = { 8bf1 51 8bcc 8965f0 68???????? e8???????? 8365fc00 }
            // n = 7, score = 100
            //   8bf1                 | mov                 esi, ecx
            //   51                   | push                ecx
            //   8bcc                 | mov                 ecx, esp
            //   8965f0               | mov                 dword ptr [ebp - 0x10], esp
            //   68????????           |                     
            //   e8????????           |                     
            //   8365fc00             | and                 dword ptr [ebp - 4], 0

        $sequence_2 = { 8bf0 85f6 7505 e9???????? 8b06 8bce ff9020010000 }
            // n = 7, score = 100
            //   8bf0                 | mov                 esi, eax
            //   85f6                 | test                esi, esi
            //   7505                 | jne                 7
            //   e9????????           |                     
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   8bce                 | mov                 ecx, esi
            //   ff9020010000         | call                dword ptr [eax + 0x120]

        $sequence_3 = { 8b55f8 03ca 8988bc160000 8b4dfc 8b9140d04500 85d2 8955fc }
            // n = 7, score = 100
            //   8b55f8               | mov                 edx, dword ptr [ebp - 8]
            //   03ca                 | add                 ecx, edx
            //   8988bc160000         | mov                 dword ptr [eax + 0x16bc], ecx
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   8b9140d04500         | mov                 edx, dword ptr [ecx + 0x45d040]
            //   85d2                 | test                edx, edx
            //   8955fc               | mov                 dword ptr [ebp - 4], edx

        $sequence_4 = { 751b 68???????? ff742410 e8???????? 85c0 59 }
            // n = 6, score = 100
            //   751b                 | jne                 0x1d
            //   68????????           |                     
            //   ff742410             | push                dword ptr [esp + 0x10]
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   59                   | pop                 ecx

        $sequence_5 = { 56 50 6689b538fbffff e8???????? 57 e8???????? }
            // n = 6, score = 100
            //   56                   | push                esi
            //   50                   | push                eax
            //   6689b538fbffff       | mov                 word ptr [ebp - 0x4c8], si
            //   e8????????           |                     
            //   57                   | push                edi
            //   e8????????           |                     

        $sequence_6 = { 57 895df8 899df0feffff 899df4feffff 899decfeffff 899de8feffff 750d }
            // n = 7, score = 100
            //   57                   | push                edi
            //   895df8               | mov                 dword ptr [ebp - 8], ebx
            //   899df0feffff         | mov                 dword ptr [ebp - 0x110], ebx
            //   899df4feffff         | mov                 dword ptr [ebp - 0x10c], ebx
            //   899decfeffff         | mov                 dword ptr [ebp - 0x114], ebx
            //   899de8feffff         | mov                 dword ptr [ebp - 0x118], ebx
            //   750d                 | jne                 0xf

        $sequence_7 = { 8d45f8 50 8d85e4dcffff 50 e8???????? 8d85e4fcffff 50 }
            // n = 7, score = 100
            //   8d45f8               | lea                 eax, dword ptr [ebp - 8]
            //   50                   | push                eax
            //   8d85e4dcffff         | lea                 eax, dword ptr [ebp - 0x231c]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8d85e4fcffff         | lea                 eax, dword ptr [ebp - 0x31c]
            //   50                   | push                eax

        $sequence_8 = { e8???????? 59 e8???????? 50 8d8dbcefffff e8???????? c645fc02 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   e8????????           |                     
            //   50                   | push                eax
            //   8d8dbcefffff         | lea                 ecx, dword ptr [ebp - 0x1044]
            //   e8????????           |                     
            //   c645fc02             | mov                 byte ptr [ebp - 4], 2

        $sequence_9 = { 8bec 83ec20 56 ff7514 8d45e0 50 8bf1 }
            // n = 7, score = 100
            //   8bec                 | mov                 ebp, esp
            //   83ec20               | sub                 esp, 0x20
            //   56                   | push                esi
            //   ff7514               | push                dword ptr [ebp + 0x14]
            //   8d45e0               | lea                 eax, dword ptr [ebp - 0x20]
            //   50                   | push                eax
            //   8bf1                 | mov                 esi, ecx

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