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 (20201023 | autogenerated rule brought to you by yara-signator)
rule win_wormhole_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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 = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { 53 ff15???????? 85c0 7e0f 2bf0 }
            // n = 5, score = 200
            //   53                   | push                ebx
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7e0f                 | jle                 0x11
            //   2bf0                 | sub                 esi, eax

        $sequence_1 = { 56 ff15???????? 83f8ff 8944241c 7413 85c0 }
            // n = 6, score = 200
            //   56                   | push                esi
            //   ff15????????         |                     
            //   83f8ff               | cmp                 eax, -1
            //   8944241c             | mov                 dword ptr [esp + 0x1c], eax
            //   7413                 | je                  0x15
            //   85c0                 | test                eax, eax

        $sequence_2 = { 83ffff 0f84d3000000 8b1d???????? 6a00 }
            // n = 4, score = 200
            //   83ffff               | cmp                 edi, -1
            //   0f84d3000000         | je                  0xd9
            //   8b1d????????         |                     
            //   6a00                 | push                0

        $sequence_3 = { ff15???????? 83c8ff 5e 81c414020000 }
            // n = 4, score = 200
            //   ff15????????         |                     
            //   83c8ff               | or                  eax, 0xffffffff
            //   5e                   | pop                 esi
            //   81c414020000         | add                 esp, 0x214

        $sequence_4 = { 34f7 88440c00 41 83f910 72ee 56 57 }
            // n = 7, score = 200
            //   34f7                 | xor                 al, 0xf7
            //   88440c00             | mov                 byte ptr [esp + ecx], al
            //   41                   | inc                 ecx
            //   83f910               | cmp                 ecx, 0x10
            //   72ee                 | jb                  0xfffffff0
            //   56                   | push                esi
            //   57                   | push                edi

        $sequence_5 = { 50 8d4e01 6a00 51 89742428 c744242401000000 }
            // n = 6, score = 200
            //   50                   | push                eax
            //   8d4e01               | lea                 ecx, [esi + 1]
            //   6a00                 | push                0
            //   51                   | push                ecx
            //   89742428             | mov                 dword ptr [esp + 0x28], esi
            //   c744242401000000     | mov                 dword ptr [esp + 0x24], 1

        $sequence_6 = { 83c040 89442418 50 8d442420 }
            // n = 4, score = 200
            //   83c040               | add                 eax, 0x40
            //   89442418             | mov                 dword ptr [esp + 0x18], eax
            //   50                   | push                eax
            //   8d442420             | lea                 eax, [esp + 0x20]

        $sequence_7 = { 0f85c1000000 8b15???????? 8d4c2408 51 }
            // n = 4, score = 200
            //   0f85c1000000         | jne                 0xc7
            //   8b15????????         |                     
            //   8d4c2408             | lea                 ecx, [esp + 8]
            //   51                   | push                ecx

        $sequence_8 = { ff15???????? 85c0 7423 8d442404 c744240400000000 50 }
            // n = 6, score = 200
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7423                 | je                  0x25
            //   8d442404             | lea                 eax, [esp + 4]
            //   c744240400000000     | mov                 dword ptr [esp + 4], 0
            //   50                   | push                eax

        $sequence_9 = { 8b542421 33c0 8917 5f 5e 81c410010000 c3 }
            // n = 7, score = 200
            //   8b542421             | mov                 edx, dword ptr [esp + 0x21]
            //   33c0                 | xor                 eax, eax
            //   8917                 | mov                 dword ptr [edi], edx
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   81c410010000         | add                 esp, 0x110
            //   c3                   | ret                 

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