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-08 ⋅ ⋅ NSFOCUS ⋅ NSFOCUS
APT GROUP系列——DARKHOTEL之窃密与RAT篇
Nemim
2020-01-01 ⋅ Secureworks ⋅ SecureWorks
TUNGSTEN BRIDGE
Nemim DarkHotel
Yara Rules
[TLP:WHITE] win_nemim_auto (20260917 | Detects win.nemim.)
rule win_nemim_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "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 = { a1???????? 83c410 85c0 7409 50 }
            // n = 5, score = 200
            //   a1????????           |                     
            //   83c410               | add                 esp, 0x10
            //   85c0                 | test                eax, eax
            //   7409                 | je                  0xb
            //   50                   | push                eax

        $sequence_1 = { 8bd7 03c1 33d1 33d0 03d5 8db41681f67187 8b6c243c }
            // n = 7, score = 200
            //   8bd7                 | mov                 edx, edi
            //   03c1                 | add                 eax, ecx
            //   33d1                 | xor                 edx, ecx
            //   33d0                 | xor                 edx, eax
            //   03d5                 | add                 edx, ebp
            //   8db41681f67187       | lea                 esi, [esi + edx - 0x788e097f]
            //   8b6c243c             | mov                 ebp, dword ptr [esp + 0x3c]

        $sequence_2 = { 8d45cc 50 c745f0c8814200 e8???????? }
            // n = 4, score = 200
            //   8d45cc               | lea                 eax, [ebp - 0x34]
            //   50                   | push                eax
            //   c745f0c8814200       | mov                 dword ptr [ebp - 0x10], 0x4281c8
            //   e8????????           |                     

        $sequence_3 = { 56 57 55 8b0c8504744300 }
            // n = 4, score = 200
            //   56                   | push                esi
            //   57                   | push                edi
            //   55                   | push                ebp
            //   8b0c8504744300       | mov                 ecx, dword ptr [eax*4 + 0x437404]

        $sequence_4 = { b935000000 8dbc247a010000 f3ab 668b0d???????? 8854245a 66ab }
            // n = 6, score = 200
            //   b935000000           | mov                 ecx, 0x35
            //   8dbc247a010000       | lea                 edi, [esp + 0x17a]
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   668b0d????????       |                     
            //   8854245a             | mov                 byte ptr [esp + 0x5a], dl
            //   66ab                 | stosw               word ptr es:[edi], ax

        $sequence_5 = { c7464c148b4200 c74650f88a4200 c706???????? 8bc6 }
            // n = 4, score = 200
            //   c7464c148b4200       | mov                 dword ptr [esi + 0x4c], 0x428b14
            //   c74650f88a4200       | mov                 dword ptr [esi + 0x50], 0x428af8
            //   c706????????         |                     
            //   8bc6                 | mov                 eax, esi

        $sequence_6 = { 895dec c745e8548b4200 8b4508 895dfc 3bc3 }
            // n = 5, score = 200
            //   895dec               | mov                 dword ptr [ebp - 0x14], ebx
            //   c745e8548b4200       | mov                 dword ptr [ebp - 0x18], 0x428b54
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   895dfc               | mov                 dword ptr [ebp - 4], ebx
            //   3bc3                 | cmp                 eax, ebx

        $sequence_7 = { 83e01f c1f905 8d04c0 be00800000 8b0c8d40604300 8d548104 8a4c8104 }
            // n = 7, score = 200
            //   83e01f               | and                 eax, 0x1f
            //   c1f905               | sar                 ecx, 5
            //   8d04c0               | lea                 eax, [eax + eax*8]
            //   be00800000           | mov                 esi, 0x8000
            //   8b0c8d40604300       | mov                 ecx, dword ptr [ecx*4 + 0x436040]
            //   8d548104             | lea                 edx, [ecx + eax*4 + 4]
            //   8a4c8104             | mov                 cl, byte ptr [ecx + eax*4 + 4]

        $sequence_8 = { 8a8699010000 8a8e98010000 33d2 50 8a9697010000 51 33c0 }
            // n = 7, score = 200
            //   8a8699010000         | mov                 al, byte ptr [esi + 0x199]
            //   8a8e98010000         | mov                 cl, byte ptr [esi + 0x198]
            //   33d2                 | xor                 edx, edx
            //   50                   | push                eax
            //   8a9697010000         | mov                 dl, byte ptr [esi + 0x197]
            //   51                   | push                ecx
            //   33c0                 | xor                 eax, eax

        $sequence_9 = { 75f0 8a01 84c0 740b 8806 }
            // n = 5, score = 200
            //   75f0                 | jne                 0xfffffff2
            //   8a01                 | mov                 al, byte ptr [ecx]
            //   84c0                 | test                al, al
            //   740b                 | je                  0xd
            //   8806                 | mov                 byte ptr [esi], al

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