SYMBOLCOMMON_NAMEaka. SYNONYMS
win.mortis (Back to overview)

Mortis

VTCollection    

There is no description at this point.

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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        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 = "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 = { c78560ffffff90044300 e8???????? 83c404 8b4df4 64890d00000000 59 5f }
            // n = 7, score = 100
            //   c78560ffffff90044300     | mov    dword ptr [ebp - 0xa0], 0x430490
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]
            //   64890d00000000       | mov                 dword ptr fs:[0], ecx
            //   59                   | pop                 ecx
            //   5f                   | pop                 edi

        $sequence_1 = { b8aaaaaa0a c1fa02 8bca c1e91f 03ca 2bc1 894dc8 }
            // n = 7, score = 100
            //   b8aaaaaa0a           | mov                 eax, 0xaaaaaaa
            //   c1fa02               | sar                 edx, 2
            //   8bca                 | mov                 ecx, edx
            //   c1e91f               | shr                 ecx, 0x1f
            //   03ca                 | add                 ecx, edx
            //   2bc1                 | sub                 eax, ecx
            //   894dc8               | mov                 dword ptr [ebp - 0x38], ecx

        $sequence_2 = { ffb54cfdffff 8d4d98 e8???????? be11000000 }
            // n = 4, score = 100
            //   ffb54cfdffff         | push                dword ptr [ebp - 0x2b4]
            //   8d4d98               | lea                 ecx, [ebp - 0x68]
            //   e8????????           |                     
            //   be11000000           | mov                 esi, 0x11

        $sequence_3 = { 8b4004 c7443890fcc24300 8b06 8b5004 8d4290 89443a8c e8???????? }
            // n = 7, score = 100
            //   8b4004               | mov                 eax, dword ptr [eax + 4]
            //   c7443890fcc24300     | mov                 dword ptr [eax + edi - 0x70], 0x43c2fc
            //   8b06                 | mov                 eax, dword ptr [esi]
            //   8b5004               | mov                 edx, dword ptr [eax + 4]
            //   8d4290               | lea                 eax, [edx - 0x70]
            //   89443a8c             | mov                 dword ptr [edx + edi - 0x74], eax
            //   e8????????           |                     

        $sequence_4 = { 5d c3 ba???????? eb05 ba???????? b9???????? e8???????? }
            // n = 7, score = 100
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   ba????????           |                     
            //   eb05                 | jmp                 7
            //   ba????????           |                     
            //   b9????????           |                     
            //   e8????????           |                     

        $sequence_5 = { 8bce e8???????? 8b460c 83b8a800000000 750e 8b04bd201f4400 }
            // n = 6, score = 100
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     
            //   8b460c               | mov                 eax, dword ptr [esi + 0xc]
            //   83b8a800000000       | cmp                 dword ptr [eax + 0xa8], 0
            //   750e                 | jne                 0x10
            //   8b04bd201f4400       | mov                 eax, dword ptr [edi*4 + 0x441f20]

        $sequence_6 = { 8955d8 8bd9 8b03 33ff 895de4 }
            // n = 5, score = 100
            //   8955d8               | mov                 dword ptr [ebp - 0x28], edx
            //   8bd9                 | mov                 ebx, ecx
            //   8b03                 | mov                 eax, dword ptr [ebx]
            //   33ff                 | xor                 edi, edi
            //   895de4               | mov                 dword ptr [ebp - 0x1c], ebx

        $sequence_7 = { 83c404 8b7de4 3bf7 743c 90 837e0400 }
            // n = 6, score = 100
            //   83c404               | add                 esp, 4
            //   8b7de4               | mov                 edi, dword ptr [ebp - 0x1c]
            //   3bf7                 | cmp                 esi, edi
            //   743c                 | je                  0x3e
            //   90                   | nop                 
            //   837e0400             | cmp                 dword ptr [esi + 4], 0

        $sequence_8 = { 8bce e8???????? c645fc04 8b4dd0 83f910 722c 8b55bc }
            // n = 7, score = 100
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     
            //   c645fc04             | mov                 byte ptr [ebp - 4], 4
            //   8b4dd0               | mov                 ecx, dword ptr [ebp - 0x30]
            //   83f910               | cmp                 ecx, 0x10
            //   722c                 | jb                  0x2e
            //   8b55bc               | mov                 edx, dword ptr [ebp - 0x44]

        $sequence_9 = { 8b4df0 8b0485201f4400 8a44012b 8b4d08 3c0a 7461 85db }
            // n = 7, score = 100
            //   8b4df0               | mov                 ecx, dword ptr [ebp - 0x10]
            //   8b0485201f4400       | mov                 eax, dword ptr [eax*4 + 0x441f20]
            //   8a44012b             | mov                 al, byte ptr [ecx + eax + 0x2b]
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   3c0a                 | cmp                 al, 0xa
            //   7461                 | je                  0x63
            //   85db                 | test                ebx, ebx

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