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
BlueNoroff 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
2017-04-03Kaspersky LabsGReAT
@online{great:20170403:lazarus:033fcf7, author = {GReAT}, title = {{Lazarus under the Hood}}, date = {2017-04-03}, organization = {Kaspersky Labs}, url = {https://securelist.com/lazarus-under-the-hood/77908/}, language = {English}, urldate = {2023-08-14} } Lazarus under the Hood
Alreay DYEPACK HOTWAX NESTEGG RatankbaPOS REDSHAWL WORMHOLE Lazarus Group
Yara Rules
[TLP:WHITE] win_wormhole_auto (20230715 | Detects win.wormhole.)
rule win_wormhole_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        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 = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 5e 81c410010000 c3 8b542421 33c0 8917 }
            // n = 6, score = 200
            //   5e                   | pop                 esi
            //   81c410010000         | add                 esp, 0x110
            //   c3                   | ret                 
            //   8b542421             | mov                 edx, dword ptr [esp + 0x21]
            //   33c0                 | xor                 eax, eax
            //   8917                 | mov                 dword ptr [edi], edx

        $sequence_1 = { 6685c0 743f a1???????? 85c0 7531 }
            // n = 5, score = 200
            //   6685c0               | test                ax, ax
            //   743f                 | je                  0x41
            //   a1????????           |                     
            //   85c0                 | test                eax, eax
            //   7531                 | jne                 0x33

        $sequence_2 = { 81ec0c010000 8b842414010000 8d542400 89442400 8b842418010000 }
            // n = 5, score = 200
            //   81ec0c010000         | sub                 esp, 0x10c
            //   8b842414010000       | mov                 eax, dword ptr [esp + 0x114]
            //   8d542400             | lea                 edx, [esp]
            //   89442400             | mov                 dword ptr [esp], eax
            //   8b842418010000       | mov                 eax, dword ptr [esp + 0x118]

        $sequence_3 = { 6a00 6a00 6a00 6808000100 51 e8???????? 83c414 }
            // n = 7, score = 200
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6808000100           | push                0x10008
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c414               | add                 esp, 0x14

        $sequence_4 = { 50 51 56 ff15???????? 85c0 7e15 6a78 }
            // n = 7, score = 200
            //   50                   | push                eax
            //   51                   | push                ecx
            //   56                   | push                esi
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7e15                 | jle                 0x17
            //   6a78                 | push                0x78

        $sequence_5 = { 8b442418 3dff000000 7f59 6a0f }
            // n = 4, score = 200
            //   8b442418             | mov                 eax, dword ptr [esp + 0x18]
            //   3dff000000           | cmp                 eax, 0xff
            //   7f59                 | jg                  0x5b
            //   6a0f                 | push                0xf

        $sequence_6 = { 8b44241c 85c0 742d 3bc7 7202 8bc7 }
            // n = 6, score = 200
            //   8b44241c             | mov                 eax, dword ptr [esp + 0x1c]
            //   85c0                 | test                eax, eax
            //   742d                 | je                  0x2f
            //   3bc7                 | cmp                 eax, edi
            //   7202                 | jb                  4
            //   8bc7                 | mov                 eax, edi

        $sequence_7 = { ff15???????? 85c0 7e15 6a78 8d542410 50 52 }
            // n = 7, score = 200
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7e15                 | jle                 0x17
            //   6a78                 | push                0x78
            //   8d542410             | lea                 edx, [esp + 0x10]
            //   50                   | push                eax
            //   52                   | push                edx

        $sequence_8 = { e8???????? 8b842408400000 56 57 c744240800000000 }
            // n = 5, score = 200
            //   e8????????           |                     
            //   8b842408400000       | mov                 eax, dword ptr [esp + 0x4008]
            //   56                   | push                esi
            //   57                   | push                edi
            //   c744240800000000     | mov                 dword ptr [esp + 8], 0

        $sequence_9 = { 3d06000100 7524 8b0d???????? 6a00 }
            // n = 4, score = 200
            //   3d06000100           | cmp                 eax, 0x10006
            //   7524                 | jne                 0x26
            //   8b0d????????         |                     
            //   6a00                 | push                0

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