SYMBOLCOMMON_NAMEaka. SYNONYMS
win.wormhole (Back to overview)

WORMHOLE

Actor(s): Lazarus Group

VTCollection    

WORMHOLE is a TCP tunneler that is dynamically configurable from a C&C server and can communicate with an additional remote machine endpoint for a relay.

References
2018-03-01Kaspersky LabsKaspersky Lab
Lazarus under the Hood
BlueNoroff HOTWAX REDSHAWL WORMHOLE
2018-01-01FireEyeFireEye
APT38
Bitsran BLINDTOAD BOOTWRECK Contopee DarkComet DYEPACK HOTWAX NESTEGG PowerRatankba REDSHAWL WORMHOLE Lazarus Group
2017-04-03Kaspersky LabsGReAT
Lazarus under the Hood
Alreay DYEPACK HOTWAX NESTEGG RatankbaPOS REDSHAWL WORMHOLE Lazarus Group
Yara Rules
[TLP:WHITE] win_wormhole_auto (20260504 | Detects win.wormhole.)
rule win_wormhole_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.wormhole."
        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.wormhole"
        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 = { 7507 837c240c66 7412 56 e8???????? 83c404 83ceff }
            // n = 7, score = 200
            //   7507                 | jne                 9
            //   837c240c66           | cmp                 dword ptr [esp + 0xc], 0x66
            //   7412                 | je                  0x14
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   83ceff               | or                  esi, 0xffffffff

        $sequence_1 = { c3 8b542421 33c0 8917 5f }
            // n = 5, score = 200
            //   c3                   | ret                 
            //   8b542421             | mov                 edx, dword ptr [esp + 0x21]
            //   33c0                 | xor                 eax, eax
            //   8917                 | mov                 dword ptr [edi], edx
            //   5f                   | pop                 edi

        $sequence_2 = { 57 8b7c2410 6a78 6a28 57 50 e8???????? }
            // n = 7, score = 200
            //   57                   | push                edi
            //   8b7c2410             | mov                 edi, dword ptr [esp + 0x10]
            //   6a78                 | push                0x78
            //   6a28                 | push                0x28
            //   57                   | push                edi
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_3 = { 891d???????? e8???????? 83c41c 85c0 }
            // n = 4, score = 200
            //   891d????????         |                     
            //   e8????????           |                     
            //   83c41c               | add                 esp, 0x1c
            //   85c0                 | test                eax, eax

        $sequence_4 = { 7535 8b44241c 85c0 742d }
            // n = 4, score = 200
            //   7535                 | jne                 0x37
            //   8b44241c             | mov                 eax, dword ptr [esp + 0x1c]
            //   85c0                 | test                eax, eax
            //   742d                 | je                  0x2f

        $sequence_5 = { b800400000 89442408 6a00 8d4c2410 50 51 56 }
            // n = 7, score = 200
            //   b800400000           | mov                 eax, 0x4000
            //   89442408             | mov                 dword ptr [esp + 8], eax
            //   6a00                 | push                0
            //   8d4c2410             | lea                 ecx, [esp + 0x10]
            //   50                   | push                eax
            //   51                   | push                ecx
            //   56                   | push                esi

        $sequence_6 = { 83c408 8d542410 6aff 6a01 }
            // n = 4, score = 200
            //   83c408               | add                 esp, 8
            //   8d542410             | lea                 edx, [esp + 0x10]
            //   6aff                 | push                -1
            //   6a01                 | push                1

        $sequence_7 = { 83c40c 83feff 7429 8d54240c 895c240c 52 56 }
            // n = 7, score = 200
            //   83c40c               | add                 esp, 0xc
            //   83feff               | cmp                 esi, -1
            //   7429                 | je                  0x2b
            //   8d54240c             | lea                 edx, [esp + 0xc]
            //   895c240c             | mov                 dword ptr [esp + 0xc], ebx
            //   52                   | push                edx
            //   56                   | push                esi

        $sequence_8 = { 40 83c040 89442418 50 8d442420 50 e8???????? }
            // n = 7, score = 200
            //   40                   | inc                 eax
            //   83c040               | add                 eax, 0x40
            //   89442418             | mov                 dword ptr [esp + 0x18], eax
            //   50                   | push                eax
            //   8d442420             | lea                 eax, [esp + 0x20]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_9 = { e8???????? 8b442430 8bb42434010000 83c004 6a0f 8d4c2434 }
            // n = 6, score = 200
            //   e8????????           |                     
            //   8b442430             | mov                 eax, dword ptr [esp + 0x30]
            //   8bb42434010000       | mov                 esi, dword ptr [esp + 0x134]
            //   83c004               | add                 eax, 4
            //   6a0f                 | push                0xf
            //   8d4c2434             | lea                 ecx, [esp + 0x34]

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