SYMBOLCOMMON_NAMEaka. SYNONYMS
win.mortis (Back to overview)

Mortis

VTCollection    

There is no description at this point.

References
2024-01-18 ⋅ M4lcode, Mostafa Farghaly
Detect Mortis Locker Ransomware with YARA
Mortis
Yara Rules
[TLP:WHITE] win_mortis_auto (20260917 | Detects win.mortis.)
rule win_mortis_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.mortis."
        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.mortis"
        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 = { 8bc7 8bcf 83e03f c1f906 6bf038 03348d201f4400 }
            // n = 6, score = 100
            //   8bc7                 | mov                 eax, edi
            //   8bcf                 | mov                 ecx, edi
            //   83e03f               | and                 eax, 0x3f
            //   c1f906               | sar                 ecx, 6
            //   6bf038               | imul                esi, eax, 0x38
            //   03348d201f4400       | add                 esi, dword ptr [ecx*4 + 0x441f20]

        $sequence_1 = { 83c40c 85ff 0f8453010000 8d5e04 c6464801 895e0c 8d4608 }
            // n = 7, score = 100
            //   83c40c               | add                 esp, 0xc
            //   85ff                 | test                edi, edi
            //   0f8453010000         | je                  0x159
            //   8d5e04               | lea                 ebx, [esi + 4]
            //   c6464801             | mov                 byte ptr [esi + 0x48], 1
            //   895e0c               | mov                 dword ptr [esi + 0xc], ebx
            //   8d4608               | lea                 eax, [esi + 8]

        $sequence_2 = { c785e4fdffff00000000 e8???????? c645fc04 8d8de8fdffff 6a0b 0f57c0 c785f8fdffff00000000 }
            // n = 7, score = 100
            //   c785e4fdffff00000000     | mov    dword ptr [ebp - 0x21c], 0
            //   e8????????           |                     
            //   c645fc04             | mov                 byte ptr [ebp - 4], 4
            //   8d8de8fdffff         | lea                 ecx, [ebp - 0x218]
            //   6a0b                 | push                0xb
            //   0f57c0               | xorps               xmm0, xmm0
            //   c785f8fdffff00000000     | mov    dword ptr [ebp - 0x208], 0

        $sequence_3 = { 8945c4 894db0 8d50ec 3bca 747a }
            // n = 5, score = 100
            //   8945c4               | mov                 dword ptr [ebp - 0x3c], eax
            //   894db0               | mov                 dword ptr [ebp - 0x50], ecx
            //   8d50ec               | lea                 edx, [eax - 0x14]
            //   3bca                 | cmp                 ecx, edx
            //   747a                 | je                  0x7c

        $sequence_4 = { e8???????? c645fc2f 0f57c0 6a04 68???????? b9???????? }
            // n = 6, score = 100
            //   e8????????           |                     
            //   c645fc2f             | mov                 byte ptr [ebp - 4], 0x2f
            //   0f57c0               | xorps               xmm0, xmm0
            //   6a04                 | push                4
            //   68????????           |                     
            //   b9????????           |                     

        $sequence_5 = { 83e03f c1fa06 6bc838 8b0495201f4400 f644082801 7422 8d4508 }
            // n = 7, score = 100
            //   83e03f               | and                 eax, 0x3f
            //   c1fa06               | sar                 edx, 6
            //   6bc838               | imul                ecx, eax, 0x38
            //   8b0495201f4400       | mov                 eax, dword ptr [edx*4 + 0x441f20]
            //   f644082801           | test                byte ptr [eax + ecx + 0x28], 1
            //   7422                 | je                  0x24
            //   8d4508               | lea                 eax, [ebp + 8]

        $sequence_6 = { 7583 8d45d8 c6473e01 3945cc 0f8473ffffff 668bc3 e9???????? }
            // n = 7, score = 100
            //   7583                 | jne                 0xffffff85
            //   8d45d8               | lea                 eax, [ebp - 0x28]
            //   c6473e01             | mov                 byte ptr [edi + 0x3e], 1
            //   3945cc               | cmp                 dword ptr [ebp - 0x34], eax
            //   0f8473ffffff         | je                  0xffffff79
            //   668bc3               | mov                 ax, bx
            //   e9????????           |                     

        $sequence_7 = { 8d41f8 89840d04ffffff 8d8570ffffff c645fc03 50 c78570ffffff90044300 e8???????? }
            // n = 7, score = 100
            //   8d41f8               | lea                 eax, [ecx - 8]
            //   89840d04ffffff       | mov                 dword ptr [ebp + ecx - 0xfc], eax
            //   8d8570ffffff         | lea                 eax, [ebp - 0x90]
            //   c645fc03             | mov                 byte ptr [ebp - 4], 3
            //   50                   | push                eax
            //   c78570ffffff90044300     | mov    dword ptr [ebp - 0x90], 0x430490
            //   e8????????           |                     

        $sequence_8 = { 83f8ff 740a 32db 885d0c e9???????? 33c9 }
            // n = 6, score = 100
            //   83f8ff               | cmp                 eax, -1
            //   740a                 | je                  0xc
            //   32db                 | xor                 bl, bl
            //   885d0c               | mov                 byte ptr [ebp + 0xc], bl
            //   e9????????           |                     
            //   33c9                 | xor                 ecx, ecx

        $sequence_9 = { ff75e4 0f4355d4 8bc8 e8???????? 83c404 50 e8???????? }
            // n = 7, score = 100
            //   ff75e4               | push                dword ptr [ebp - 0x1c]
            //   0f4355d4             | cmovae              edx, dword ptr [ebp - 0x2c]
            //   8bc8                 | mov                 ecx, eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   50                   | push                eax
            //   e8????????           |                     

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