SYMBOLCOMMON_NAMEaka. SYNONYMS
win.xtunnel (Back to overview)

XTunnel

aka: Shunnael, X-Tunnel, xaps

Actor(s): Sofacy


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-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 Sofacy
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 Sofacy
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 = {2019-12-20} } Bears in the Midst: Intrusion into the Democratic National Committee
X-Agent ATI-Agent Downrage SEADADDY X-Agent XTunnel Sofacy
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 Sofacy
Yara Rules
[TLP:WHITE] win_xtunnel_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_xtunnel_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.xtunnel"
        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 = { 8b4e58 8b9118010000 8bc2 0fb65801 0fb628 }
            // n = 5, score = 1200
            //   8b4e58               | mov                 ecx, dword ptr [esi + 0x58]
            //   8b9118010000         | mov                 edx, dword ptr [ecx + 0x118]
            //   8bc2                 | mov                 eax, edx
            //   0fb65801             | movzx               ebx, byte ptr [eax + 1]
            //   0fb628               | movzx               ebp, byte ptr [eax]

        $sequence_1 = { 51 57 ffd3 83c418 85c0 0f85d7010000 }
            // n = 6, score = 1200
            //   51                   | push                ecx
            //   57                   | push                edi
            //   ffd3                 | call                ebx
            //   83c418               | add                 esp, 0x18
            //   85c0                 | test                eax, eax
            //   0f85d7010000         | jne                 0x1dd

        $sequence_2 = { e8???????? 8d942434020000 52 8d842490000000 50 ff542428 33d2 }
            // n = 7, score = 1200
            //   e8????????           |                     
            //   8d942434020000       | lea                 edx, [esp + 0x234]
            //   52                   | push                edx
            //   8d842490000000       | lea                 eax, [esp + 0x90]
            //   50                   | push                eax
            //   ff542428             | call                dword ptr [esp + 0x28]
            //   33d2                 | xor                 edx, edx

        $sequence_3 = { 888ec1000000 c1ea08 8896c2000000 8886c3000000 }
            // n = 4, score = 1200
            //   888ec1000000         | mov                 byte ptr [esi + 0xc1], cl
            //   c1ea08               | shr                 edx, 8
            //   8896c2000000         | mov                 byte ptr [esi + 0xc2], dl
            //   8886c3000000         | mov                 byte ptr [esi + 0xc3], al

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

        $sequence_5 = { 0f88b9000000 7520 68ad010000 68???????? 68e5000000 }
            // n = 5, score = 1200
            //   0f88b9000000         | js                  0xbf
            //   7520                 | jne                 0x22
            //   68ad010000           | push                0x1ad
            //   68????????           |                     
            //   68e5000000           | push                0xe5

        $sequence_6 = { 33ff 85db 7e21 90 8b8de4000000 8b9198000000 }
            // n = 6, score = 1200
            //   33ff                 | xor                 edi, edi
            //   85db                 | test                ebx, ebx
            //   7e21                 | jle                 0x23
            //   90                   | nop                 
            //   8b8de4000000         | mov                 ecx, dword ptr [ebp + 0xe4]
            //   8b9198000000         | mov                 edx, dword ptr [ecx + 0x98]

        $sequence_7 = { 5e 83c40c c3 57 a808 7415 }
            // n = 6, score = 1200
            //   5e                   | pop                 esi
            //   83c40c               | add                 esp, 0xc
            //   c3                   | ret                 
            //   57                   | push                edi
            //   a808                 | test                al, 8
            //   7415                 | je                  0x17

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

        $sequence_9 = { 50 e8???????? 83c408 85c0 7917 68???????? 68b4020000 }
            // n = 7, score = 1200
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   85c0                 | test                eax, eax
            //   7917                 | jns                 0x19
            //   68????????           |                     
            //   68b4020000           | push                0x2b4

        $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 = { 743d 8b4d0c 8b5104 895004 }
            // n = 4, score = 1000
            //   743d                 | je                  0x3f
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   8b5104               | mov                 edx, dword ptr [ecx + 4]
            //   895004               | mov                 dword ptr [eax + 4], edx

        $sequence_12 = { 895e14 895e18 c645fc01 6a18 }
            // n = 4, score = 1000
            //   895e14               | mov                 dword ptr [esi + 0x14], ebx
            //   895e18               | mov                 dword ptr [esi + 0x18], ebx
            //   c645fc01             | mov                 byte ptr [ebp - 4], 1
            //   6a18                 | push                0x18

        $sequence_13 = { 8b4e0c 89480c 8b5620 895020 8b4e10 894810 eb02 }
            // n = 7, score = 1000
            //   8b4e0c               | mov                 ecx, dword ptr [esi + 0xc]
            //   89480c               | mov                 dword ptr [eax + 0xc], ecx
            //   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

        $sequence_14 = { 8bc3 e8???????? 8b5b04 53 e8???????? 8d5f40 }
            // n = 6, score = 1000
            //   8bc3                 | mov                 eax, ebx
            //   e8????????           |                     
            //   8b5b04               | mov                 ebx, dword ptr [ebx + 4]
            //   53                   | push                ebx
            //   e8????????           |                     
            //   8d5f40               | lea                 ebx, [edi + 0x40]

        $sequence_15 = { e8???????? 83c404 c70600000000 895df0 }
            // n = 4, score = 1000
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   c70600000000         | mov                 dword ptr [esi], 0
            //   895df0               | mov                 dword ptr [ebp - 0x10], ebx

        $sequence_16 = { 83c404 3bc3 743a 8b4e04 894804 }
            // n = 5, score = 1000
            //   83c404               | add                 esp, 4
            //   3bc3                 | cmp                 eax, ebx
            //   743a                 | je                  0x3c
            //   8b4e04               | mov                 ecx, dword ptr [esi + 4]
            //   894804               | mov                 dword ptr [eax + 4], ecx

        $sequence_17 = { 6a18 895e58 e8???????? 83c404 }
            // n = 4, score = 1000
            //   6a18                 | push                0x18
            //   895e58               | mov                 dword ptr [esi + 0x58], ebx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_18 = { 7516 83c8ff 8b4df4 64890d00000000 59 5f 5b }
            // n = 7, score = 1000
            //   7516                 | jne                 0x18
            //   83c8ff               | or                  eax, 0xffffffff
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]
            //   64890d00000000       | mov                 dword ptr fs:[0], ecx
            //   59                   | pop                 ecx
            //   5f                   | pop                 edi
            //   5b                   | pop                 ebx

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

        $sequence_20 = { c685c4f1ffff46 c685c5f1ffffea c685c6f1ffff82 c685c7f1ffff32 c685c8f1ffffe8 c685c9f1ffff35 }
            // n = 6, score = 300
            //   c685c4f1ffff46       | mov                 byte ptr [ebp - 0xe3c], 0x46
            //   c685c5f1ffffea       | mov                 byte ptr [ebp - 0xe3b], 0xea
            //   c685c6f1ffff82       | mov                 byte ptr [ebp - 0xe3a], 0x82
            //   c685c7f1ffff32       | mov                 byte ptr [ebp - 0xe39], 0x32
            //   c685c8f1ffffe8       | mov                 byte ptr [ebp - 0xe38], 0xe8
            //   c685c9f1ffff35       | mov                 byte ptr [ebp - 0xe37], 0x35

        $sequence_21 = { 8945f4 837d1c00 7445 8b4508 }
            // n = 4, score = 300
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   837d1c00             | cmp                 dword ptr [ebp + 0x1c], 0
            //   7445                 | je                  0x47
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]

        $sequence_22 = { c685dde1ffff35 c685dee1ffff3b c685dfe1ffff48 c685e0e1ffffca c685e1e1ffff57 c685e2e1ffff36 c685e3e1ffff1f }
            // n = 7, score = 300
            //   c685dde1ffff35       | mov                 byte ptr [ebp - 0x1e23], 0x35
            //   c685dee1ffff3b       | mov                 byte ptr [ebp - 0x1e22], 0x3b
            //   c685dfe1ffff48       | mov                 byte ptr [ebp - 0x1e21], 0x48
            //   c685e0e1ffffca       | mov                 byte ptr [ebp - 0x1e20], 0xca
            //   c685e1e1ffff57       | mov                 byte ptr [ebp - 0x1e1f], 0x57
            //   c685e2e1ffff36       | mov                 byte ptr [ebp - 0x1e1e], 0x36
            //   c685e3e1ffff1f       | mov                 byte ptr [ebp - 0x1e1d], 0x1f

        $sequence_23 = { c68571ecffff4b c68572ecffff3d c68573ecffffd9 c68574ecffff31 c68575ecffffb2 c68576ecffff3e c68577ecffffbb }
            // n = 7, score = 300
            //   c68571ecffff4b       | mov                 byte ptr [ebp - 0x138f], 0x4b
            //   c68572ecffff3d       | mov                 byte ptr [ebp - 0x138e], 0x3d
            //   c68573ecffffd9       | mov                 byte ptr [ebp - 0x138d], 0xd9
            //   c68574ecffff31       | mov                 byte ptr [ebp - 0x138c], 0x31
            //   c68575ecffffb2       | mov                 byte ptr [ebp - 0x138b], 0xb2
            //   c68576ecffff3e       | mov                 byte ptr [ebp - 0x138a], 0x3e
            //   c68577ecffffbb       | mov                 byte ptr [ebp - 0x1389], 0xbb

    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