SYMBOLCOMMON_NAMEaka. SYNONYMS
win.nimrev (Back to overview)

Nimrev

VTCollection    

Backdoor written in Nim.

References
2021-10-14 ⋅ Medium walmartglobaltech ⋅ Jason Reaves
Investigation into the state of NIM malware Part 2
Cobalt Strike NimGrabber Nimrev Unidentified 088 (Nim Ransomware)
Yara Rules
[TLP:WHITE] win_nimrev_auto (20260917 | Detects win.nimrev.)
rule win_nimrev_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.nimrev."
        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.nimrev"
        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 = { b801000000 eb05 b800000000 8845f7 eb01 90 0fb645f7 }
            // n = 7, score = 200
            //   b801000000           | mov                 byte ptr [ebp - 0xe], al
            //   eb05                 | cmp                 byte ptr [ebp - 0xe], 0
            //   b800000000           | mov                 dword ptr [esp], eax
            //   8845f7               | mov                 byte ptr [ebp - 0x16], al
            //   eb01                 | cmp                 byte ptr [ebp - 0x16], 0
            //   90                   | je                  0x1afb
            //   0fb645f7             | mov                 dword ptr [ebp - 0x4c], 0x379

        $sequence_1 = { c1e002 01d0 01c0 29c1 89c8 83c030 }
            // n = 6, score = 200
            //   c1e002               | lea                 eax, [0xb27c]
            //   01d0                 | mov                 dword ptr [ebp - 0x2c], eax
            //   01c0                 | mov                 eax, dword ptr [ebp - 0x2c]
            //   29c1                 | mov                 dword ptr [ebp - 0x28], eax
            //   89c8                 | mov                 dword ptr [ebp - 0x40], 0xa96
            //   83c030               | mov                 dword ptr [ebp - 0x3c], 0x422e79

        $sequence_2 = { 3c5f 7507 b801000000 eb05 }
            // n = 4, score = 200
            //   3c5f                 | setle               al
            //   7507                 | mov                 byte ptr [ebp - 0x35], al
            //   b801000000           | jmp                 0x3bf
            //   eb05                 | cmp                 eax, dword ptr [ebp - 0x34]

        $sequence_3 = { 0f95c0 8845f6 eb01 90 }
            // n = 4, score = 200
            //   0f95c0               | jg                  0x19b4
            //   8845f6               | cmp                 eax, 0x61
            //   eb01                 | jge                 0x15ba
            //   90                   | cmp                 eax, 0x5a

        $sequence_4 = { 8845f7 eb01 90 807df700 }
            // n = 4, score = 200
            //   8845f7               | mov                 dword ptr [ebp - 0x38], eax
            //   eb01                 | dec                 eax
            //   90                   | mov                 ecx, dword ptr [ebp + 0x10]
            //   807df700             | dec                 eax

        $sequence_5 = { b800000000 8845f7 eb01 90 0fb645f7 }
            // n = 5, score = 200
            //   b800000000           | mov                 dword ptr [esp + 4], edx
            //   8845f7               | sub                 esp, 0x10
            //   eb01                 | mov                 eax, dword ptr [ebp - 0x90]
            //   90                   | mov                 edx, dword ptr [ebp - 0x88]
            //   0fb645f7             | mov                 dword ptr [esp + 4], edx

        $sequence_6 = { 90 e9???????? 90 b9d0070000 e8???????? }
            // n = 5, score = 200
            //   90                   | dec                 eax
            //   e9????????           |                     
            //   90                   | lea                 eax, [0x23bfe]
            //   b9d0070000           | dec                 eax
            //   e8????????           |                     

        $sequence_7 = { eb01 90 0fb645f6 8845f7 }
            // n = 4, score = 200
            //   eb01                 | mov                 dword ptr [ebp - 0x18], 0
            //   90                   | mov                 dword ptr [ebp - 0x28], 0xd92
            //   0fb645f6             | mov                 dword ptr [ebp - 0x24], 0x42360f
            //   8845f7               | mov                 eax, dword ptr [ebp - 0x14]

        $sequence_8 = { 83f001 84c0 7408 90 e8???????? eb01 90 }
            // n = 7, score = 200
            //   83f001               | dec                 eax
            //   84c0                 | lea                 eax, [0xc022]
            //   7408                 | dec                 eax
            //   90                   | mov                 dword ptr [ebp - 0x78], eax
            //   e8????????           |                     
            //   eb01                 | dec                 eax
            //   90                   | mov                 dword ptr [ebp - 0x80], 0

        $sequence_9 = { 89c1 e8???????? eb04 90 eb01 90 e8???????? }
            // n = 7, score = 200
            //   89c1                 | lea                 eax, [0xc45f]
            //   e8????????           |                     
            //   eb04                 | dec                 eax
            //   90                   | mov                 dword ptr [ebp - 0x18], eax
            //   eb01                 | dec                 eax
            //   90                   | mov                 edx, dword ptr [ebp + 0x10]
            //   e8????????           |                     

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