SYMBOLCOMMON_NAMEaka. SYNONYMS
win.xtunnel (Back to overview)

XTunnel

aka: Shunnael, X-Tunnel, xaps

Actor(s): APT28


X-Tunnel is a network proxy tool that implements a custom network protocol encapsulated in the TLS protocol.

References
2020-07-29Kaspersky LabsGReAT
@online{great:20200729:trends:6810325, author = {GReAT}, title = {{APT trends report Q2 2020}}, date = {2020-07-29}, organization = {Kaspersky Labs}, url = {https://securelist.com/apt-trends-report-q2-2020/97937/}, language = {English}, urldate = {2020-07-30} } APT trends report Q2 2020
PhantomLance Dacls Penquin Turla elf.wellmess AppleJeus Dacls AcidBox Cobalt Strike Dacls EternalPetya Godlike12 Olympic Destroyer PlugX shadowhammer ShadowPad Sinowal VHD Ransomware Volgmer WellMess X-Agent XTunnel
2020-06-09Kaspersky LabsCostin Raiu
@online{raiu:20200609:looking:3038dce, author = {Costin Raiu}, title = {{Looking at Big Threats Using Code Similarity. Part 1}}, date = {2020-06-09}, organization = {Kaspersky Labs}, url = {https://securelist.com/big-threats-using-code-similarity-part-1/97239/}, language = {English}, urldate = {2020-08-18} } Looking at Big Threats Using Code Similarity. Part 1
Penquin Turla CCleaner Backdoor EternalPetya Regin WannaCryptor XTunnel
2020SecureworksSecureWorks
@online{secureworks:2020:iron:48c68a0, author = {SecureWorks}, title = {{IRON TWILIGHT}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/iron-twilight}, language = {English}, urldate = {2020-05-23} } IRON TWILIGHT
X-Agent X-Agent X-Agent Computrace HideDRV Sedreco Seduploader X-Agent XTunnel Zebrocy Zebrocy (AutoIT)
2018-10-04SymantecSecurity Response Attack Investigation Team
@online{team:20181004:apt28:f5e15cf, author = {Security Response Attack Investigation Team}, title = {{APT28: New Espionage Operations Target Military and Government Organizations}}, date = {2018-10-04}, organization = {Symantec}, url = {https://www.symantec.com/blogs/election-security/apt28-espionage-military-government}, language = {English}, urldate = {2019-11-23} } APT28: New Espionage Operations Target Military and Government Organizations
XTunnel
2018-10-04SymantecCritical Attack Discovery and Intelligence Team
@online{team:20181004:apt28:97a1356, author = {Critical Attack Discovery and Intelligence Team}, title = {{APT28: New Espionage Operations Target Military and Government Organizations}}, date = {2018-10-04}, organization = {Symantec}, url = {https://symantec-blogs.broadcom.com/blogs/election-security/apt28-espionage-military-government}, language = {English}, urldate = {2020-04-21} } APT28: New Espionage Operations Target Military and Government Organizations
LoJax Seduploader X-Agent XTunnel Zebrocy APT28
2017-02-20Contagio DumpMila Parkour
@online{parkour:20170220:part:c54b5de, author = {Mila Parkour}, title = {{Part I. Russian APT - APT28 collection of samples including OSX XAgent}}, date = {2017-02-20}, organization = {Contagio Dump}, url = {https://contagiodump.blogspot.de/2017/02/russian-apt-apt28-collection-of-samples.html}, language = {English}, urldate = {2019-11-26} } Part I. Russian APT - APT28 collection of samples including OSX XAgent
X-Agent Komplex Coreshell Downdelph HideDRV SEADADDY Sedreco Seduploader X-Agent XTunnel
2016-10-20ESET ResearchESET Research
@techreport{research:20161020:en:e2e6603, author = {ESET Research}, title = {{En Route with Sednit Part 2: Observing the Comings and Goings}}, date = {2016-10-20}, institution = {ESET Research}, url = {http://www.welivesecurity.com/wp-content/uploads/2016/10/eset-sednit-part-2.pdf}, language = {English}, urldate = {2019-10-25} } En Route with Sednit Part 2: Observing the Comings and Goings
X-Agent Sedreco X-Agent XTunnel
2016-06-15CrowdStrikeDmitri Alperovitch
@online{alperovitch:20160615:bears:604c1d9, author = {Dmitri Alperovitch}, title = {{Bears in the Midst: Intrusion into the Democratic National Committee}}, date = {2016-06-15}, organization = {CrowdStrike}, url = {https://www.crowdstrike.com/blog/bears-midst-intrusion-democratic-national-committee/}, language = {English}, urldate = {2022-03-14} } Bears in the Midst: Intrusion into the Democratic National Committee
X-Agent ATI-Agent SEADADDY Seduploader X-Agent XTunnel APT28
2015-11-20MicrosoftMicrosoft
@techreport{microsoft:20151120:microsoft:d41c5ad, author = {Microsoft}, title = {{Microsoft Security Intelligence Report Volume 19}}, date = {2015-11-20}, institution = {Microsoft}, url = {http://download.microsoft.com/download/4/4/C/44CDEF0E-7924-4787-A56A-16261691ACE3/Microsoft_Security_Intelligence_Report_Volume_19_English.pdf}, language = {English}, urldate = {2020-01-13} } Microsoft Security Intelligence Report Volume 19
XTunnel
2015-08root9broot9b
@techreport{root9b:201508:technical:fff6a0b, author = {root9b}, title = {{TECHNICAL FOLLOW UP - APT28}}, date = {2015-08}, institution = {root9b}, url = {https://www.root9b.com/sites/default/files/whitepapers/root9b_follow_up_report_apt28.pdf}, language = {English}, urldate = {2020-01-08} } TECHNICAL FOLLOW UP - APT28
XTunnel
2015-06-19Netzpolitik.orgClaudio Guarnieri
@online{guarnieri:20150619:digital:6c1a11b, author = {Claudio Guarnieri}, title = {{Digital Attack on German Parliament: Investigative Report on the Hack of the Left Party Infrastructure in Bundestag}}, date = {2015-06-19}, organization = {Netzpolitik.org}, url = {https://netzpolitik.org/2015/digital-attack-on-german-parliament-investigative-report-on-the-hack-of-the-left-party-infrastructure-in-bundestag/}, language = {English}, urldate = {2020-01-10} } Digital Attack on German Parliament: Investigative Report on the Hack of the Left Party Infrastructure in Bundestag
XTunnel APT28
Yara Rules
[TLP:WHITE] win_xtunnel_auto (20230715 | Detects win.xtunnel.)
rule win_xtunnel_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.xtunnel."
        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.xtunnel"
        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 = { 8b54241c 8b742418 8d42fc 3bf0 0f86f9fcffff 3bf2 }
            // n = 6, score = 1200
            //   8b54241c             | mov                 edx, dword ptr [esp + 0x1c]
            //   8b742418             | mov                 esi, dword ptr [esp + 0x18]
            //   8d42fc               | lea                 eax, [edx - 4]
            //   3bf0                 | cmp                 esi, eax
            //   0f86f9fcffff         | jbe                 0xfffffcff
            //   3bf2                 | cmp                 esi, edx

        $sequence_1 = { 8a542410 8a442414 8d7702 6a00 8d7e09 }
            // n = 5, score = 1200
            //   8a542410             | mov                 dl, byte ptr [esp + 0x10]
            //   8a442414             | mov                 al, byte ptr [esp + 0x14]
            //   8d7702               | lea                 esi, [edi + 2]
            //   6a00                 | push                0
            //   8d7e09               | lea                 edi, [esi + 9]

        $sequence_2 = { 8a442430 8b4f58 888778010000 83c40c c7811c04000001000000 eb6d ba01ff0000 }
            // n = 7, score = 1200
            //   8a442430             | mov                 al, byte ptr [esp + 0x30]
            //   8b4f58               | mov                 ecx, dword ptr [edi + 0x58]
            //   888778010000         | mov                 byte ptr [edi + 0x178], al
            //   83c40c               | add                 esp, 0xc
            //   c7811c04000001000000     | mov    dword ptr [ecx + 0x41c], 1
            //   eb6d                 | jmp                 0x6f
            //   ba01ff0000           | mov                 edx, 0xff01

        $sequence_3 = { 8b11 83c202 52 e8???????? }
            // n = 4, score = 1200
            //   8b11                 | mov                 edx, dword ptr [ecx]
            //   83c202               | add                 edx, 2
            //   52                   | push                edx
            //   e8????????           |                     

        $sequence_4 = { 8a0c30 84c9 0f84fc010000 0fb6c9 }
            // n = 4, score = 1200
            //   8a0c30               | mov                 cl, byte ptr [eax + esi]
            //   84c9                 | test                cl, cl
            //   0f84fc010000         | je                  0x202
            //   0fb6c9               | movzx               ecx, cl

        $sequence_5 = { 8a0b 43 84c9 75f9 2bde 3bda 0f87e8070000 }
            // n = 7, score = 1200
            //   8a0b                 | mov                 cl, byte ptr [ebx]
            //   43                   | inc                 ebx
            //   84c9                 | test                cl, cl
            //   75f9                 | jne                 0xfffffffb
            //   2bde                 | sub                 ebx, esi
            //   3bda                 | cmp                 ebx, edx
            //   0f87e8070000         | ja                  0x7ee

        $sequence_6 = { e8???????? 99 b960000000 f7f9 }
            // n = 4, score = 1200
            //   e8????????           |                     
            //   99                   | cdq                 
            //   b960000000           | mov                 ecx, 0x60
            //   f7f9                 | idiv                ecx

        $sequence_7 = { 8d84248c000000 50 55 c60730 c7442430ff000000 e8???????? }
            // n = 6, score = 1200
            //   8d84248c000000       | lea                 eax, [esp + 0x8c]
            //   50                   | push                eax
            //   55                   | push                ebp
            //   c60730               | mov                 byte ptr [edi], 0x30
            //   c7442430ff000000     | mov                 dword ptr [esp + 0x30], 0xff
            //   e8????????           |                     

        $sequence_8 = { eb6d ba01ff0000 663bda 7522 8b442434 }
            // n = 5, score = 1200
            //   eb6d                 | jmp                 0x6f
            //   ba01ff0000           | mov                 edx, 0xff01
            //   663bda               | cmp                 bx, dx
            //   7522                 | jne                 0x24
            //   8b442434             | mov                 eax, dword ptr [esp + 0x34]

        $sequence_9 = { 8a4c2410 8a542414 8d5f09 880b 885301 8b7558 68???????? }
            // n = 7, score = 1200
            //   8a4c2410             | mov                 cl, byte ptr [esp + 0x10]
            //   8a542414             | mov                 dl, byte ptr [esp + 0x14]
            //   8d5f09               | lea                 ebx, [edi + 9]
            //   880b                 | mov                 byte ptr [ebx], cl
            //   885301               | mov                 byte ptr [ebx + 1], dl
            //   8b7558               | mov                 esi, dword ptr [ebp + 0x58]
            //   68????????           |                     

        $sequence_10 = { c7010c000000 5e 5d c3 6a00 }
            // n = 5, score = 1100
            //   c7010c000000         | mov                 dword ptr [ecx], 0xc
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   6a00                 | push                0

        $sequence_11 = { 8b02 83c002 895f04 895f08 }
            // n = 4, score = 1000
            //   8b02                 | mov                 eax, dword ptr [edx]
            //   83c002               | add                 eax, 2
            //   895f04               | mov                 dword ptr [edi + 4], ebx
            //   895f08               | mov                 dword ptr [edi + 8], ebx

        $sequence_12 = { 8b5620 895020 8b4e10 894810 eb02 33c0 }
            // n = 6, score = 1000
            //   8b5620               | mov                 edx, dword ptr [esi + 0x20]
            //   895020               | mov                 dword ptr [eax + 0x20], edx
            //   8b4e10               | mov                 ecx, dword ptr [esi + 0x10]
            //   894810               | mov                 dword ptr [eax + 0x10], ecx
            //   eb02                 | jmp                 4
            //   33c0                 | xor                 eax, eax

        $sequence_13 = { 894818 8b16 8910 8b4e14 }
            // n = 4, score = 1000
            //   894818               | mov                 dword ptr [eax + 0x18], ecx
            //   8b16                 | mov                 edx, dword ptr [esi]
            //   8910                 | mov                 dword ptr [eax], edx
            //   8b4e14               | mov                 ecx, dword ptr [esi + 0x14]

        $sequence_14 = { e8???????? 8bf8 83c404 897dec 33db }
            // n = 5, score = 1000
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax
            //   83c404               | add                 esp, 4
            //   897dec               | mov                 dword ptr [ebp - 0x14], edi
            //   33db                 | xor                 ebx, ebx

        $sequence_15 = { 895e18 c645fc01 6a18 895e28 e8???????? 83c404 }
            // n = 6, score = 1000
            //   895e18               | mov                 dword ptr [esi + 0x18], ebx
            //   c645fc01             | mov                 byte ptr [ebp - 4], 1
            //   6a18                 | push                0x18
            //   895e28               | mov                 dword ptr [esi + 0x28], ebx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_16 = { e8???????? 8918 8d550c 8d4740 }
            // n = 4, score = 1000
            //   e8????????           |                     
            //   8918                 | mov                 dword ptr [eax], ebx
            //   8d550c               | lea                 edx, [ebp + 0xc]
            //   8d4740               | lea                 eax, [edi + 0x40]

        $sequence_17 = { e8???????? 83c404 897710 897714 897718 }
            // n = 5, score = 1000
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   897710               | mov                 dword ptr [edi + 0x10], esi
            //   897714               | mov                 dword ptr [edi + 0x14], esi
            //   897718               | mov                 dword ptr [edi + 0x18], esi

        $sequence_18 = { 8b7508 33db 6a18 895e08 }
            // n = 4, score = 1000
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   33db                 | xor                 ebx, ebx
            //   6a18                 | push                0x18
            //   895e08               | mov                 dword ptr [esi + 8], ebx

        $sequence_19 = { 83c404 8945b0 8b45b4 50 }
            // n = 4, score = 500
            //   83c404               | add                 esp, 4
            //   8945b0               | mov                 dword ptr [ebp - 0x50], eax
            //   8b45b4               | mov                 eax, dword ptr [ebp - 0x4c]
            //   50                   | push                eax

        $sequence_20 = { c685c6e0ffff8a c685c7e0fffff9 c685c8e0ffff50 c685c9e0ffffe4 }
            // n = 4, score = 300
            //   c685c6e0ffff8a       | mov                 byte ptr [ebp - 0x1f3a], 0x8a
            //   c685c7e0fffff9       | mov                 byte ptr [ebp - 0x1f39], 0xf9
            //   c685c8e0ffff50       | mov                 byte ptr [ebp - 0x1f38], 0x50
            //   c685c9e0ffffe4       | mov                 byte ptr [ebp - 0x1f37], 0xe4

        $sequence_21 = { c685c5feffff22 c685c6feffffeb c685c7feffff63 c685c8feffff51 }
            // n = 4, score = 300
            //   c685c5feffff22       | mov                 byte ptr [ebp - 0x13b], 0x22
            //   c685c6feffffeb       | mov                 byte ptr [ebp - 0x13a], 0xeb
            //   c685c7feffff63       | mov                 byte ptr [ebp - 0x139], 0x63
            //   c685c8feffff51       | mov                 byte ptr [ebp - 0x138], 0x51

        $sequence_22 = { c685c5fdffff6b c685c6fdfffff3 c685c7fdffff13 c685c8fdffff4d c685c9fdffff86 c685cafdffff4d c685cbfdffff16 }
            // n = 7, score = 300
            //   c685c5fdffff6b       | mov                 byte ptr [ebp - 0x23b], 0x6b
            //   c685c6fdfffff3       | mov                 byte ptr [ebp - 0x23a], 0xf3
            //   c685c7fdffff13       | mov                 byte ptr [ebp - 0x239], 0x13
            //   c685c8fdffff4d       | mov                 byte ptr [ebp - 0x238], 0x4d
            //   c685c9fdffff86       | mov                 byte ptr [ebp - 0x237], 0x86
            //   c685cafdffff4d       | mov                 byte ptr [ebp - 0x236], 0x4d
            //   c685cbfdffff16       | mov                 byte ptr [ebp - 0x235], 0x16

        $sequence_23 = { c685c6e1ffff44 c685c7e1ffff05 c685c8e1ffff17 c685c9e1ffff07 }
            // n = 4, score = 300
            //   c685c6e1ffff44       | mov                 byte ptr [ebp - 0x1e3a], 0x44
            //   c685c7e1ffff05       | mov                 byte ptr [ebp - 0x1e39], 5
            //   c685c8e1ffff17       | mov                 byte ptr [ebp - 0x1e38], 0x17
            //   c685c9e1ffff07       | mov                 byte ptr [ebp - 0x1e37], 7

    condition:
        7 of them and filesize < 4634440
}
[TLP:WHITE] win_xtunnel_w0   (20170410 | No description)
rule win_xtunnel_w0 {
  meta:
    author = "Claudio Guarnieri"
    source = "https://netzpolitik.org/2015/digital-attack-on-german-parliament-investigative-report-on-the-hack-of-the-left-party-infrastructure-in-bundestag/"
    malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.xtunnel"
        malpedia_version = "20170410"
    malpedia_license = "CC BY-NC-SA 4.0"
    malpedia_sharing = "TLP:WHITE"

  strings:
    $xaps = ":\\PROJECT\\XAPS_"

    $variant11 = "XAPS_OBJECTIVE.dll"
    $variant12 = "start"

    $variant21 = "User-Agent: Mozilla/5.0 (Windows NT 6.3;WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
    $variant22 = "is you live?"

    $mix1 = "176.31.112.10"
    $mix2 = "error in select, errno %d"
    $mix3 = "no msg"
    $mix4 = "is you live?"
    $mix5 = "127.0.0.1"
    $mix6 = "err %d"
    $mix7 = "i`m wait"
    $mix8 = "hello"
    $mix9 = "OpenSSL 1.0.1e 11 Feb 2013"
    $mix10 = "Xtunnel.exe"

  condition:
    ((uint16(0) == 0x5A4D) or (uint16(0) == 0xCFD0)) and (($xaps) or (all of ($variant1*)) or (all of ($variant2*)) or (6 of ($mix*)))
}
Download all Yara Rules