SYMBOLCOMMON_NAMEaka. SYNONYMS
win.kimjongrat (Back to overview)

KimJongRat

VTCollection    

There is no description at this point.

References
2025-06-17Palo Alto Networks Unit 42Dominik Reichel
Exploring a New KimJongRAT Stealer Variant and Its PowerShell Implementation
KimJongRat
2020-10-23ReutersChristopher Bing
Exclusive: National Guard called in to thwart cyberattack in Louisiana weeks before election
KimJongRat
Yara Rules
[TLP:WHITE] win_kimjongrat_auto (20260504 | Detects win.kimjongrat.)
rule win_kimjongrat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.kimjongrat."
        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.kimjongrat"
        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 = { ffb68c010000 8d85b4f9ffff ffb688010000 57 50 e8???????? 8b8db0f9ffff }
            // n = 7, score = 100
            //   ffb68c010000         | push                dword ptr [esi + 0x18c]
            //   8d85b4f9ffff         | lea                 eax, [ebp - 0x64c]
            //   ffb688010000         | push                dword ptr [esi + 0x188]
            //   57                   | push                edi
            //   50                   | push                eax
            //   e8????????           |                     
            //   8b8db0f9ffff         | mov                 ecx, dword ptr [ebp - 0x650]

        $sequence_1 = { eb07 c605????????00 56 e8???????? 83c404 5e 5b }
            // n = 7, score = 100
            //   eb07                 | jmp                 9
            //   c605????????00       |                     
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx

        $sequence_2 = { eb4e c6841528ffffff28 eb44 c6841528ffffff24 eb3a c6841528ffffff5d eb30 }
            // n = 7, score = 100
            //   eb4e                 | jmp                 0x50
            //   c6841528ffffff28     | mov                 byte ptr [ebp + edx - 0xd8], 0x28
            //   eb44                 | jmp                 0x46
            //   c6841528ffffff24     | mov                 byte ptr [ebp + edx - 0xd8], 0x24
            //   eb3a                 | jmp                 0x3c
            //   c6841528ffffff5d     | mov                 byte ptr [ebp + edx - 0xd8], 0x5d
            //   eb30                 | jmp                 0x32

        $sequence_3 = { eb03 53 6a7a 57 e8???????? 8945e4 83c410 }
            // n = 7, score = 100
            //   eb03                 | jmp                 5
            //   53                   | push                ebx
            //   6a7a                 | push                0x7a
            //   57                   | push                edi
            //   e8????????           |                     
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   83c410               | add                 esp, 0x10

        $sequence_4 = { 8b4508 8b5df4 83c45c 40 50 6a48 53 }
            // n = 7, score = 100
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   8b5df4               | mov                 ebx, dword ptr [ebp - 0xc]
            //   83c45c               | add                 esp, 0x5c
            //   40                   | inc                 eax
            //   50                   | push                eax
            //   6a48                 | push                0x48
            //   53                   | push                ebx

        $sequence_5 = { e9???????? c6840de8faffff23 e9???????? c6840de8faffff21 e9???????? c6840de8faffff25 e9???????? }
            // n = 7, score = 100
            //   e9????????           |                     
            //   c6840de8faffff23     | mov                 byte ptr [ebp + ecx - 0x518], 0x23
            //   e9????????           |                     
            //   c6840de8faffff21     | mov                 byte ptr [ebp + ecx - 0x518], 0x21
            //   e9????????           |                     
            //   c6840de8faffff25     | mov                 byte ptr [ebp + ecx - 0x518], 0x25
            //   e9????????           |                     

        $sequence_6 = { ff4624 89460c 5e 5d c3 33c0 5e }
            // n = 7, score = 100
            //   ff4624               | inc                 dword ptr [esi + 0x24]
            //   89460c               | mov                 dword ptr [esi + 0xc], eax
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   33c0                 | xor                 eax, eax
            //   5e                   | pop                 esi

        $sequence_7 = { e9???????? c6840d98a5ffff76 e9???????? c6840d98a5ffff65 e9???????? c6840d98a5ffff75 e9???????? }
            // n = 7, score = 100
            //   e9????????           |                     
            //   c6840d98a5ffff76     | mov                 byte ptr [ebp + ecx - 0x5a68], 0x76
            //   e9????????           |                     
            //   c6840d98a5ffff65     | mov                 byte ptr [ebp + ecx - 0x5a68], 0x65
            //   e9????????           |                     
            //   c6840d98a5ffff75     | mov                 byte ptr [ebp + ecx - 0x5a68], 0x75
            //   e9????????           |                     

        $sequence_8 = { 8d45e8 50 53 ff75e0 e8???????? 8bf0 83c410 }
            // n = 7, score = 100
            //   8d45e8               | lea                 eax, [ebp - 0x18]
            //   50                   | push                eax
            //   53                   | push                ebx
            //   ff75e0               | push                dword ptr [ebp - 0x20]
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   83c410               | add                 esp, 0x10

        $sequence_9 = { e8???????? 83c404 ff750c 3b7dd4 7469 8b4514 3c25 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   3b7dd4               | cmp                 edi, dword ptr [ebp - 0x2c]
            //   7469                 | je                  0x6b
            //   8b4514               | mov                 eax, dword ptr [ebp + 0x14]
            //   3c25                 | cmp                 al, 0x25

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