SYMBOLCOMMON_NAMEaka. SYNONYMS
win.mokes (Back to overview)

Mokes

VTCollection     URLhaus    

There is no description at this point.

References
2020-03-05Kaspersky LabsAMR
Mokes and Buerak distributed under the guise of security certificates
Buer Mokes
2016-01-29Kaspersky LabsStefan Ortloff
From Linux to Windows – New Family of Cross-Platform Desktop Backdoors Discovered
Mokes Mokes
Yara Rules
[TLP:WHITE] win_mokes_auto (20260504 | Detects win.mokes.)
rule win_mokes_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.mokes."
        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.mokes"
        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 = { f20f594618 f20f595638 f20f107c2418 f20f58f8 0f28c1 f20f594628 f20f58da }
            // n = 7, score = 100
            //   f20f594618           | mulsd               xmm0, qword ptr [esi + 0x18]
            //   f20f595638           | mulsd               xmm2, qword ptr [esi + 0x38]
            //   f20f107c2418         | movsd               xmm7, qword ptr [esp + 0x18]
            //   f20f58f8             | addsd               xmm7, xmm0
            //   0f28c1               | movaps              xmm0, xmm1
            //   f20f594628           | mulsd               xmm0, qword ptr [esi + 0x28]
            //   f20f58da             | addsd               xmm3, xmm2

        $sequence_1 = { ffd0 84c0 0f85cf000000 c7879400000003000000 e9???????? 6a00 8d8f80000000 }
            // n = 7, score = 100
            //   ffd0                 | call                eax
            //   84c0                 | test                al, al
            //   0f85cf000000         | jne                 0xd5
            //   c7879400000003000000     | mov    dword ptr [edi + 0x94], 3
            //   e9????????           |                     
            //   6a00                 | push                0
            //   8d8f80000000         | lea                 ecx, [edi + 0x80]

        $sequence_2 = { f30f10809c000000 f30f114c2418 0f28ce f30f58c8 f30f5cf0 0f28d1 f30f58d5 }
            // n = 7, score = 100
            //   f30f10809c000000     | movss               xmm0, dword ptr [eax + 0x9c]
            //   f30f114c2418         | movss               dword ptr [esp + 0x18], xmm1
            //   0f28ce               | movaps              xmm1, xmm6
            //   f30f58c8             | addss               xmm1, xmm0
            //   f30f5cf0             | subss               xmm6, xmm0
            //   0f28d1               | movaps              xmm2, xmm1
            //   f30f58d5             | addss               xmm2, xmm5

        $sequence_3 = { ff9088000000 b001 5f 5e 5b 8be5 5d }
            // n = 7, score = 100
            //   ff9088000000         | call                dword ptr [eax + 0x88]
            //   b001                 | mov                 al, 1
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp

        $sequence_4 = { ff7624 e9???????? 8b4e08 6a00 6800000400 8b01 ff507c }
            // n = 7, score = 100
            //   ff7624               | push                dword ptr [esi + 0x24]
            //   e9????????           |                     
            //   8b4e08               | mov                 ecx, dword ptr [esi + 8]
            //   6a00                 | push                0
            //   6800000400           | push                0x40000
            //   8b01                 | mov                 eax, dword ptr [ecx]
            //   ff507c               | call                dword ptr [eax + 0x7c]

        $sequence_5 = { ff10 3d???????? 742a 8b00 85c0 75f3 8b7740 }
            // n = 7, score = 100
            //   ff10                 | call                dword ptr [eax]
            //   3d????????           |                     
            //   742a                 | je                  0x2c
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   85c0                 | test                eax, eax
            //   75f3                 | jne                 0xfffffff5
            //   8b7740               | mov                 esi, dword ptr [edi + 0x40]

        $sequence_6 = { f20f11442450 f20f118c2448010000 0f28c2 f20f11542428 f20f59c1 f20f11442458 dd442458 }
            // n = 7, score = 100
            //   f20f11442450         | movsd               qword ptr [esp + 0x50], xmm0
            //   f20f118c2448010000     | movsd    qword ptr [esp + 0x148], xmm1
            //   0f28c2               | movaps              xmm0, xmm2
            //   f20f11542428         | movsd               qword ptr [esp + 0x28], xmm2
            //   f20f59c1             | mulsd               xmm0, xmm1
            //   f20f11442458         | movsd               qword ptr [esp + 0x58], xmm0
            //   dd442458             | fld                 qword ptr [esp + 0x58]

        $sequence_7 = { f20f104808 f20f58c2 f20f11542438 f20f114c2440 f20f114c2450 f20f11542468 f20f11442448 }
            // n = 7, score = 100
            //   f20f104808           | movsd               xmm1, qword ptr [eax + 8]
            //   f20f58c2             | addsd               xmm0, xmm2
            //   f20f11542438         | movsd               qword ptr [esp + 0x38], xmm2
            //   f20f114c2440         | movsd               qword ptr [esp + 0x40], xmm1
            //   f20f114c2450         | movsd               qword ptr [esp + 0x50], xmm1
            //   f20f11542468         | movsd               qword ptr [esp + 0x68], xmm2
            //   f20f11442448         | movsd               qword ptr [esp + 0x48], xmm0

        $sequence_8 = { ff5008 8bc8 33c0 85c9 0f98c0 e9???????? 83fb02 }
            // n = 7, score = 100
            //   ff5008               | call                dword ptr [eax + 8]
            //   8bc8                 | mov                 ecx, eax
            //   33c0                 | xor                 eax, eax
            //   85c9                 | test                ecx, ecx
            //   0f98c0               | sets                al
            //   e9????????           |                     
            //   83fb02               | cmp                 ebx, 2

        $sequence_9 = { ff750c 8d4508 50 e8???????? 8bf0 8975e8 c745fc00000000 }
            // n = 7, score = 100
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   8d4508               | lea                 eax, [ebp + 8]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   8975e8               | mov                 dword ptr [ebp - 0x18], esi
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0

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