SYMBOLCOMMON_NAMEaka. SYNONYMS
win.netkey (Back to overview)

NetKey

VTCollection    

There is no description at this point.

References
2019-07-31 ⋅ Twitter (@KevinPerlow) ⋅ Kevin Perlow
Tweet on DPRK malware
NetKey
Yara Rules
[TLP:WHITE] win_netkey_auto (20260917 | Detects win.netkey.)
rule win_netkey_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.netkey."
        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.netkey"
        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 = { 8d85ccfdffff 50 56 ff15???????? 85c0 75b6 8bbdc8fdffff }
            // n = 7, score = 200
            //   8d85ccfdffff         | lea                 eax, [ebp - 0x234]
            //   50                   | push                eax
            //   56                   | push                esi
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   75b6                 | jne                 0xffffffb8
            //   8bbdc8fdffff         | mov                 edi, dword ptr [ebp - 0x238]

        $sequence_1 = { 8d044df0ffffff 8d8d30ffffff 2bd0 03c8 8d8530ffffff 2bd0 0fb701 }
            // n = 7, score = 200
            //   8d044df0ffffff       | lea                 eax, [ecx*2 - 0x10]
            //   8d8d30ffffff         | lea                 ecx, [ebp - 0xd0]
            //   2bd0                 | sub                 edx, eax
            //   03c8                 | add                 ecx, eax
            //   8d8530ffffff         | lea                 eax, [ebp - 0xd0]
            //   2bd0                 | sub                 edx, eax
            //   0fb701               | movzx               eax, word ptr [ecx]

        $sequence_2 = { 33f6 90 8d4df0 c745f02c010000 51 6a00 8d8de4feffff }
            // n = 7, score = 200
            //   33f6                 | xor                 esi, esi
            //   90                   | nop                 
            //   8d4df0               | lea                 ecx, [ebp - 0x10]
            //   c745f02c010000       | mov                 dword ptr [ebp - 0x10], 0x12c
            //   51                   | push                ecx
            //   6a00                 | push                0
            //   8d8de4feffff         | lea                 ecx, [ebp - 0x11c]

        $sequence_3 = { 8bec 836d0801 7414 8b0d???????? 6a00 e8???????? 83c404 }
            // n = 7, score = 200
            //   8bec                 | mov                 ebp, esp
            //   836d0801             | sub                 dword ptr [ebp + 8], 1
            //   7414                 | je                  0x16
            //   8b0d????????         |                     
            //   6a00                 | push                0
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_4 = { 75f9 2bca 8bd6 894e04 }
            // n = 4, score = 200
            //   75f9                 | jne                 0xfffffffb
            //   2bca                 | sub                 ecx, edx
            //   8bd6                 | mov                 edx, esi
            //   894e04               | mov                 dword ptr [esi + 4], ecx

        $sequence_5 = { 56 8b7508 81c190000000 6aff 6a00 }
            // n = 5, score = 200
            //   56                   | push                esi
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   81c190000000         | add                 ecx, 0x90
            //   6aff                 | push                -1
            //   6a00                 | push                0

        $sequence_6 = { e8???????? 8d4db4 e8???????? be01000000 8d4de4 e8???????? }
            // n = 6, score = 200
            //   e8????????           |                     
            //   8d4db4               | lea                 ecx, [ebp - 0x4c]
            //   e8????????           |                     
            //   be01000000           | mov                 esi, 1
            //   8d4de4               | lea                 ecx, [ebp - 0x1c]
            //   e8????????           |                     

        $sequence_7 = { 8b8520ffffff 8b5004 8d4af8 898c151cffffff 8d4588 }
            // n = 5, score = 200
            //   8b8520ffffff         | mov                 eax, dword ptr [ebp - 0xe0]
            //   8b5004               | mov                 edx, dword ptr [eax + 4]
            //   8d4af8               | lea                 ecx, [edx - 8]
            //   898c151cffffff       | mov                 dword ptr [ebp + edx - 0xe4], ecx
            //   8d4588               | lea                 eax, [ebp - 0x78]

        $sequence_8 = { 88441628 8b0cbda8214400 c644112900 837dfc00 7507 b800800000 eb1e }
            // n = 7, score = 200
            //   88441628             | mov                 byte ptr [esi + edx + 0x28], al
            //   8b0cbda8214400       | mov                 ecx, dword ptr [edi*4 + 0x4421a8]
            //   c644112900           | mov                 byte ptr [ecx + edx + 0x29], 0
            //   837dfc00             | cmp                 dword ptr [ebp - 4], 0
            //   7507                 | jne                 9
            //   b800800000           | mov                 eax, 0x8000
            //   eb1e                 | jmp                 0x20

        $sequence_9 = { 8a45fb 88043e 46 3bf3 }
            // n = 4, score = 200
            //   8a45fb               | mov                 al, byte ptr [ebp - 5]
            //   88043e               | mov                 byte ptr [esi + edi], al
            //   46                   | inc                 esi
            //   3bf3                 | cmp                 esi, ebx

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