SYMBOLCOMMON_NAMEaka. SYNONYMS
win.wormhole (Back to overview)

WORMHOLE

Actor(s): Lazarus Group


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-03Kaspersky LabsKaspersky Lab
@techreport{lab:201803:lazarus:3fd5ac4, author = {Kaspersky Lab}, title = {{Lazarus under the Hood}}, date = {2018-03}, institution = {Kaspersky Labs}, url = {https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2018/03/07180244/Lazarus_Under_The_Hood_PDF_final.pdf}, language = {English}, urldate = {2020-01-07} } Lazarus under the Hood
HOTWAX REDSHAWL WORMHOLE
2018FireEyeFireEye
@online{fireeye:2018:apt38:20161b7, author = {FireEye}, title = {{APT38}}, date = {2018}, organization = {FireEye}, url = {https://content.fireeye.com/apt/rpt-apt38}, language = {English}, urldate = {2020-01-13} } APT38
Bitsran BLINDTOAD BOOTWRECK Contopee DarkComet DYEPACK HOTWAX NESTEGG PowerRatankba REDSHAWL WORMHOLE Lazarus Group
Yara Rules
[TLP:WHITE] win_wormhole_auto (20201014 | autogenerated rule brought to you by yara-signator)
rule win_wormhole_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-10-14"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.5.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.wormhole"
        malpedia_rule_date = "20201014"
        malpedia_hash = "a7e3bd57eaf12bf3ea29a863c041091ba3af9ac9"
        malpedia_version = "20201014"
        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 = { 81c410010000 c3 5f 83c8ff 5e }
            // n = 5, score = 200
            //   81c410010000         | add                 esp, 0x110
            //   c3                   | ret                 
            //   5f                   | pop                 edi
            //   83c8ff               | or                  eax, 0xffffffff
            //   5e                   | pop                 esi

        $sequence_1 = { 5b 83c41c c20400 6a00 }
            // n = 4, score = 200
            //   5b                   | pop                 ebx
            //   83c41c               | add                 esp, 0x1c
            //   c20400               | ret                 4
            //   6a00                 | push                0

        $sequence_2 = { 85c0 75f0 a1???????? 85c0 74d5 e8???????? }
            // n = 6, score = 200
            //   85c0                 | test                eax, eax
            //   75f0                 | jne                 0xfffffff2
            //   a1????????           |                     
            //   85c0                 | test                eax, eax
            //   74d5                 | je                  0xffffffd7
            //   e8????????           |                     

        $sequence_3 = { 40 83c040 89442418 50 }
            // n = 4, score = 200
            //   40                   | inc                 eax
            //   83c040               | add                 eax, 0x40
            //   89442418             | mov                 dword ptr [esp + 0x18], eax
            //   50                   | push                eax

        $sequence_4 = { 83f8ff 8944241c 7413 85c0 740f 2bf8 03d8 }
            // n = 7, score = 200
            //   83f8ff               | cmp                 eax, -1
            //   8944241c             | mov                 dword ptr [esp + 0x1c], eax
            //   7413                 | je                  0x15
            //   85c0                 | test                eax, eax
            //   740f                 | je                  0x11
            //   2bf8                 | sub                 edi, eax
            //   03d8                 | add                 ebx, eax

        $sequence_5 = { 8ac1 b2db f6ea 34f7 88440c00 }
            // n = 5, score = 200
            //   8ac1                 | mov                 al, cl
            //   b2db                 | mov                 dl, 0xdb
            //   f6ea                 | imul                dl
            //   34f7                 | xor                 al, 0xf7
            //   88440c00             | mov                 byte ptr [esp + ecx], al

        $sequence_6 = { 6888130000 ffd6 a1???????? 85c0 75f0 a1???????? }
            // n = 6, score = 200
            //   6888130000           | push                0x1388
            //   ffd6                 | call                esi
            //   a1????????           |                     
            //   85c0                 | test                eax, eax
            //   75f0                 | jne                 0xfffffff2
            //   a1????????           |                     

        $sequence_7 = { 57 7e44 8b6c2420 8b5c2414 8b7c2418 6a00 6a00 }
            // n = 7, score = 200
            //   57                   | push                edi
            //   7e44                 | jle                 0x46
            //   8b6c2420             | mov                 ebp, dword ptr [esp + 0x20]
            //   8b5c2414             | mov                 ebx, dword ptr [esp + 0x14]
            //   8b7c2418             | mov                 edi, dword ptr [esp + 0x18]
            //   6a00                 | push                0
            //   6a00                 | push                0

        $sequence_8 = { 50 ff15???????? c705????????00000000 c705????????00000000 5f b801000000 }
            // n = 6, score = 200
            //   50                   | push                eax
            //   ff15????????         |                     
            //   c705????????00000000     |     
            //   c705????????00000000     |     
            //   5f                   | pop                 edi
            //   b801000000           | mov                 eax, 1

        $sequence_9 = { 8b35???????? e8???????? 85c0 7519 a1???????? 85c0 7410 }
            // n = 7, score = 200
            //   8b35????????         |                     
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   7519                 | jne                 0x1b
            //   a1????????           |                     
            //   85c0                 | test                eax, eax
            //   7410                 | je                  0x12

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