SYMBOLCOMMON_NAMEaka. SYNONYMS
win.nemim (Back to overview)

Nemim

aka: Nemain

Actor(s): DarkHotel

VTCollection    

There is no description at this point.

References
2020-09-08NSFOCUSNSFOCUS
APT GROUP系列——DARKHOTEL之窃密与RAT篇
Nemim
2020-01-01SecureworksSecureWorks
TUNGSTEN BRIDGE
Nemim DarkHotel
Yara Rules
[TLP:WHITE] win_nemim_auto (20260504 | Detects win.nemim.)
rule win_nemim_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.nemim."
        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.nemim"
        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 = { a1???????? 50 e8???????? 83c420 55 e8???????? }
            // n = 6, score = 200
            //   a1????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c420               | add                 esp, 0x20
            //   55                   | push                ebp
            //   e8????????           |                     

        $sequence_1 = { b001 53 8845f0 8845f1 b004 }
            // n = 5, score = 200
            //   b001                 | mov                 al, 1
            //   53                   | push                ebx
            //   8845f0               | mov                 byte ptr [ebp - 0x10], al
            //   8845f1               | mov                 byte ptr [ebp - 0xf], al
            //   b004                 | mov                 al, 4

        $sequence_2 = { 0f8793010000 ff2485c7574000 8b4510 66834808ff 66c7000b00 e9???????? }
            // n = 6, score = 200
            //   0f8793010000         | ja                  0x199
            //   ff2485c7574000       | jmp                 dword ptr [eax*4 + 0x4057c7]
            //   8b4510               | mov                 eax, dword ptr [ebp + 0x10]
            //   66834808ff           | or                  word ptr [eax + 8], 0xffff
            //   66c7000b00           | mov                 word ptr [eax], 0xb
            //   e9????????           |                     

        $sequence_3 = { 8bc8 83e01f c1f905 56 57 8b348d40604300 8d1c8d40604300 }
            // n = 7, score = 200
            //   8bc8                 | mov                 ecx, eax
            //   83e01f               | and                 eax, 0x1f
            //   c1f905               | sar                 ecx, 5
            //   56                   | push                esi
            //   57                   | push                edi
            //   8b348d40604300       | mov                 esi, dword ptr [ecx*4 + 0x436040]
            //   8d1c8d40604300       | lea                 ebx, [ecx*4 + 0x436040]

        $sequence_4 = { c1e704 8b6c2410 0bc7 8bfe 03c1 33f9 }
            // n = 6, score = 200
            //   c1e704               | shl                 edi, 4
            //   8b6c2410             | mov                 ebp, dword ptr [esp + 0x10]
            //   0bc7                 | or                  eax, edi
            //   8bfe                 | mov                 edi, esi
            //   03c1                 | add                 eax, ecx
            //   33f9                 | xor                 edi, ecx

        $sequence_5 = { 52 e8???????? 8d442458 50 e8???????? 8b15???????? 8d4c245c }
            // n = 7, score = 200
            //   52                   | push                edx
            //   e8????????           |                     
            //   8d442458             | lea                 eax, [esp + 0x58]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8b15????????         |                     
            //   8d4c245c             | lea                 ecx, [esp + 0x5c]

        $sequence_6 = { c786d4000000648d4200 57 c786d8000000488d4200 53 c706???????? }
            // n = 5, score = 200
            //   c786d4000000648d4200     | mov    dword ptr [esi + 0xd4], 0x428d64
            //   57                   | push                edi
            //   c786d8000000488d4200     | mov    dword ptr [esi + 0xd8], 0x428d48
            //   53                   | push                ebx
            //   c706????????         |                     

        $sequence_7 = { c1e102 89bc8944744300 8b0d???????? c1e102 89848948744300 a1???????? c1e002 }
            // n = 7, score = 200
            //   c1e102               | shl                 ecx, 2
            //   89bc8944744300       | mov                 dword ptr [ecx + ecx*4 + 0x437444], edi
            //   8b0d????????         |                     
            //   c1e102               | shl                 ecx, 2
            //   89848948744300       | mov                 dword ptr [ecx + ecx*4 + 0x437448], eax
            //   a1????????           |                     
            //   c1e002               | shl                 eax, 2

        $sequence_8 = { 8b8424cc000000 48 7467 48 0f85b1000000 8b8c24bc000000 6a00 }
            // n = 7, score = 200
            //   8b8424cc000000       | mov                 eax, dword ptr [esp + 0xcc]
            //   48                   | dec                 eax
            //   7467                 | je                  0x69
            //   48                   | dec                 eax
            //   0f85b1000000         | jne                 0xb7
            //   8b8c24bc000000       | mov                 ecx, dword ptr [esp + 0xbc]
            //   6a00                 | push                0

        $sequence_9 = { 8844244c e8???????? 68???????? e8???????? 68???????? 8bf0 }
            // n = 6, score = 200
            //   8844244c             | mov                 byte ptr [esp + 0x4c], al
            //   e8????????           |                     
            //   68????????           |                     
            //   e8????????           |                     
            //   68????????           |                     
            //   8bf0                 | mov                 esi, eax

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