SYMBOLCOMMON_NAMEaka. SYNONYMS
win.xagent (Back to overview)

X-Agent

aka: splm, chopstick

Actor(s): Sofacy


There is no description at this point.

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-02-13QianxinQi Anxin Threat Intelligence Center
@techreport{center:20200213:report:146d333, author = {Qi Anxin Threat Intelligence Center}, title = {{APT Report 2019}}, date = {2020-02-13}, institution = {Qianxin}, url = {https://ti.qianxin.com/uploads/2020/02/13/cb78386a082f465f259b37dae5df4884.pdf}, language = {English}, urldate = {2020-02-27} } APT Report 2019
Chrysaor Exodus Dacls elf.vpnfilter DNSRat Griffon KopiLuwak More_eggs SQLRat AppleJeus BONDUPDATER Agent.BTZ Anchor AndroMut AppleJeus BOOSTWRITE Brambul Carbanak Cobalt Strike Dacls DistTrack DNSpionage Dtrack ELECTRICFISH FlawedAmmyy FlawedGrace Get2 Grateful POS HOPLIGHT Imminent Monitor RAT jason Joanap KerrDown KEYMARBLE Lambert LightNeuron LoJax MiniDuke PolyglotDuke PowerRatankba Rising Sun SDBbot ServHelper Snatch Stuxnet TinyMet tRat TrickBot Volgmer X-Agent Zebrocy
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-04NCSC UKNCSC UK
@techreport{uk:20181004:indicators:af0d14a, author = {NCSC UK}, title = {{Indicators of Compromise for Malware used by APT28}}, date = {2018-10-04}, institution = {NCSC UK}, url = {https://www.thecssc.com/wp-content/uploads/2018/10/4OctoberIOC-APT28-malware-advisory.pdf}, language = {English}, urldate = {2019-11-29} } Indicators of Compromise for Malware used by APT28
X-Agent
2017-12-21ESET ResearchESET Research
@online{research:20171221:sednit:630ff7c, author = {ESET Research}, title = {{Sednit update: How Fancy Bear Spent the Year}}, date = {2017-12-21}, organization = {ESET Research}, url = {https://www.welivesecurity.com/2017/12/21/sednit-update-fancy-bear-spent-year/}, language = {English}, urldate = {2019-11-14} } Sednit update: How Fancy Bear Spent the Year
Seduploader X-Agent
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-12-04Kaspersky LabsGReAT
@online{great:20151204:sofacy:b437b35, author = {GReAT}, title = {{Sofacy APT hits high profile targets with updated toolset}}, date = {2015-12-04}, organization = {Kaspersky Labs}, url = {https://securelist.com/sofacy-apt-hits-high-profile-targets-with-updated-toolset/72924/}, language = {English}, urldate = {2020-08-30} } Sofacy APT hits high profile targets with updated toolset
Coreshell Sedreco Seduploader X-Agent Sofacy
2014-09-05GoogleNeel Mehta, Billy Leonard, Shane Huntiey
@techreport{mehta:20140905:peering:8ce5720, author = {Neel Mehta and Billy Leonard and Shane Huntiey}, title = {{Peering Into the Aquarium: Analysis of a Sophisticated Multi-Stage Malware Family}}, date = {2014-09-05}, institution = {Google}, url = {https://assets.documentcloud.org/documents/3461560/Google-Aquarium-Clean.pdf}, language = {English}, urldate = {2020-07-30} } Peering Into the Aquarium: Analysis of a Sophisticated Multi-Stage Malware Family
X-Agent
2014FireEyeFireEye
@techreport{fireeye:2014:apt28:27799d1, author = {FireEye}, title = {{APT28}}, date = {2014}, institution = {FireEye}, url = {http://www2.fireeye.com/rs/fireye/images/rpt-apt28.pdf}, language = {English}, urldate = {2020-01-08} } APT28
Coreshell Sedreco X-Agent
Yara Rules
[TLP:WHITE] win_xagent_auto (20210616 | Detects win.xagent.)
rule win_xagent_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-06-10"
        version = "1"
        description = "Detects win.xagent."
        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.xagent"
        malpedia_rule_date = "20210604"
        malpedia_hash = "be09d5d71e77373c0f538068be31a2ad4c69cfbd"
        malpedia_version = "20210616"
        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 = { 7504 b001 eb02 32c0 3c01 }
            // n = 5, score = 3300
            //   7504                 | jne                 6
            //   b001                 | mov                 al, 1
            //   eb02                 | jmp                 4
            //   32c0                 | xor                 al, al
            //   3c01                 | cmp                 al, 1

        $sequence_1 = { c1ea02 6bd20d b801000000 2bc2 }
            // n = 4, score = 3100
            //   c1ea02               | shr                 edx, 2
            //   6bd20d               | imul                edx, edx, 0xd
            //   b801000000           | mov                 eax, 1
            //   2bc2                 | sub                 eax, edx

        $sequence_2 = { ff15???????? 8bd8 e8???????? 03d8 }
            // n = 4, score = 3100
            //   ff15????????         |                     
            //   8bd8                 | mov                 ebx, eax
            //   e8????????           |                     
            //   03d8                 | add                 ebx, eax

        $sequence_3 = { 8b0482 8b0488 8b4e10 85c9 7423 }
            // n = 5, score = 2600
            //   8b0482               | je                  0x32
            //   8b0488               | mov                 ecx, dword ptr [ebp + 8]
            //   8b4e10               | mov                 edx, dword ptr [ecx]
            //   85c9                 | mov                 dword ptr [eax], edx
            //   7423                 | inc                 dword ptr [esi + 0xc]

        $sequence_4 = { c1f802 3dfeffff3f 760a 68???????? e8???????? 2bca 40 }
            // n = 7, score = 2600
            //   c1f802               | sar                 eax, 2
            //   3dfeffff3f           | cmp                 eax, 0x3ffffffe
            //   760a                 | jbe                 0xc
            //   68????????           |                     
            //   e8????????           |                     
            //   2bca                 | sub                 ecx, edx
            //   40                   | inc                 eax

        $sequence_5 = { 8be5 5d c20400 8d4de4 e8???????? b8???????? c3 }
            // n = 7, score = 2600
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c20400               | ret                 4
            //   8d4de4               | lea                 ecx, dword ptr [ebp - 0x1c]
            //   e8????????           |                     
            //   b8????????           |                     
            //   c3                   | ret                 

        $sequence_6 = { c7460c00000000 49 894e10 7507 c7460c00000000 5f 5e }
            // n = 7, score = 2600
            //   c7460c00000000       | mov                 dword ptr [esi + 0xc], 0
            //   49                   | dec                 ecx
            //   894e10               | mov                 dword ptr [esi + 0x10], ecx
            //   7507                 | jne                 9
            //   c7460c00000000       | mov                 dword ptr [esi + 0xc], 0
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi

        $sequence_7 = { e8???????? 2bca 40 c1f902 3bc1 7623 }
            // n = 6, score = 2600
            //   e8????????           |                     
            //   2bca                 | sub                 ecx, edx
            //   40                   | inc                 eax
            //   c1f902               | sar                 ecx, 2
            //   3bc1                 | cmp                 eax, ecx
            //   7623                 | jbe                 0x25

        $sequence_8 = { ff460c 03ff 03ff 3b7e0c }
            // n = 4, score = 2600
            //   ff460c               | inc                 dword ptr [esi + 0xc]
            //   03ff                 | add                 edi, edi
            //   03ff                 | add                 edi, edi
            //   3b7e0c               | cmp                 edi, dword ptr [esi + 0xc]

        $sequence_9 = { eb02 8b11 8b4808 8bc1 57 }
            // n = 5, score = 2600
            //   eb02                 | jmp                 4
            //   8b11                 | mov                 edx, dword ptr [ecx]
            //   8b4808               | mov                 ecx, dword ptr [eax + 8]
            //   8bc1                 | mov                 eax, ecx
            //   57                   | push                edi

        $sequence_10 = { e8???????? 8b4604 85c0 7407 8b4d08 8b11 8910 }
            // n = 7, score = 2600
            //   e8????????           |                     
            //   8b4604               | mov                 eax, dword ptr [esi + 4]
            //   85c0                 | test                eax, eax
            //   7407                 | je                  9
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   8b11                 | mov                 edx, dword ptr [ecx]
            //   8910                 | mov                 dword ptr [eax], edx

        $sequence_11 = { 740e 83ff0b 7409 83ff0d }
            // n = 4, score = 2200
            //   740e                 | je                  0x10
            //   83ff0b               | cmp                 edi, 0xb
            //   7409                 | je                  0xb
            //   83ff0d               | cmp                 edi, 0xd

        $sequence_12 = { e8???????? 90 0fb705???????? 6689442420 }
            // n = 4, score = 1500
            //   e8????????           |                     
            //   90                   | dec                 eax
            //   0fb705????????       |                     
            //   6689442420           | mov                 ecx, dword ptr [ebx]

        $sequence_13 = { 8bd8 e8???????? 8d0c18 e8???????? }
            // n = 4, score = 1500
            //   8bd8                 | test                al, al
            //   e8????????           |                     
            //   8d0c18               | je                  0xe
            //   e8????????           |                     

        $sequence_14 = { 4883ec20 488b5910 4885db 7416 }
            // n = 4, score = 1500
            //   4883ec20             | je                  0x13
            //   488b5910             | cmp                 edi, 0xb
            //   4885db               | je                  0xe
            //   7416                 | cmp                 edi, 0xd

        $sequence_15 = { 4053 4883ec30 488b4118 488bd9 }
            // n = 4, score = 1500
            //   4053                 | cmp                 edi, 8
            //   4883ec30             | je                  0x13
            //   488b4118             | cmp                 edi, 0xb
            //   488bd9               | je                  0xe

        $sequence_16 = { 740c 488b07 488b0b 488903 }
            // n = 4, score = 1500
            //   740c                 | mov                 dword ptr [ebx], eax
            //   488b07               | dec                 esp
            //   488b0b               | mov                 dword ptr [edi], edx
            //   488903               | dec                 eax

        $sequence_17 = { e8???????? 498bce 4e8d0437 482bcf }
            // n = 4, score = 1500
            //   e8????????           |                     
            //   498bce               | dec                 esp
            //   4e8d0437             | mov                 edx, dword ptr [ebx]
            //   482bcf               | dec                 eax

        $sequence_18 = { 84c0 740c 488b07 4c8b13 488903 }
            // n = 5, score = 1500
            //   84c0                 | test                al, al
            //   740c                 | je                  0xe
            //   488b07               | dec                 eax
            //   4c8b13               | mov                 eax, dword ptr [edi]
            //   488903               | dec                 esp

        $sequence_19 = { e8???????? 488b4328 4c8bcf 4c8bc6 }
            // n = 4, score = 1500
            //   e8????????           |                     
            //   488b4328             | jne                 6
            //   4c8bcf               | mov                 al, 1
            //   4c8bc6               | jmp                 6

        $sequence_20 = { 4885c0 740d 488bc8 e8???????? 4c8be0 }
            // n = 5, score = 1200
            //   4885c0               | je                  0x14
            //   740d                 | mov                 ecx, dword ptr [ebp + 8]
            //   488bc8               | mov                 edx, dword ptr [ecx]
            //   e8????????           |                     
            //   4c8be0               | mov                 dword ptr [eax], edx

        $sequence_21 = { e8???????? 4c8be0 eb03 4c8be3 }
            // n = 4, score = 1000
            //   e8????????           |                     
            //   4c8be0               | shr                 edx, 2
            //   eb03                 | imul                edx, edx, 0xd
            //   4c8be3               | mov                 eax, 1

        $sequence_22 = { ff15???????? baf4010000 488bcb ff15???????? }
            // n = 4, score = 600
            //   ff15????????         |                     
            //   baf4010000           | sub                 eax, edx
            //   488bcb               | mov                 ebx, eax
            //   ff15????????         |                     

        $sequence_23 = { b803b57ea5 f7e6 c1ea06 6bd263 }
            // n = 4, score = 500
            //   b803b57ea5           | add                 ebx, eax
            //   f7e6                 | je                  0x10
            //   c1ea06               | cmp                 edi, 0xb
            //   6bd263               | je                  0x10

        $sequence_24 = { 7408 498bcc e8???????? 488bc3 }
            // n = 4, score = 400
            //   7408                 | cmp                 edi, 0xd
            //   498bcc               | cmp                 edi, 8
            //   e8????????           |                     
            //   488bc3               | je                  0x10

        $sequence_25 = { c1ea07 69d295000000 2bca 8bd1 }
            // n = 4, score = 400
            //   c1ea07               | cmp                 edi, 0xb
            //   69d295000000         | je                  0x10
            //   2bca                 | cmp                 edi, 0xd
            //   8bd1                 | cmp                 edi, 8

        $sequence_26 = { 75ef 48833f00 7418 0fb74b04 }
            // n = 4, score = 200
            //   75ef                 | add                 ebx, 8
            //   48833f00             | jne                 6
            //   7418                 | mov                 al, 1
            //   0fb74b04             | jmp                 6

        $sequence_27 = { 75ef 4585db 7525 4885db }
            // n = 4, score = 200
            //   75ef                 | dec                 eax
            //   4585db               | mov                 eax, dword ptr [ebx + 8]
            //   7525                 | mov                 al, 1
            //   4885db               | jmp                 6

    condition:
        7 of them and filesize < 729088
}
[TLP:WHITE] win_xagent_w0   (20170517 | Sofacy Group Malware Sample 3)
rule win_xagent_w0 {
    meta:
        description = "Sofacy Group Malware Sample 3"
        author = "Florian Roth"
        reference = "http://dokumente.linksfraktion.de/inhalt/report-orig.pdf"
        date = "2015-06-19"
        hash = "5f6b2a0d1d966fc4f1ed292b46240767f4acb06c13512b0061b434ae2a692fa1"
		source = "https://github.com/mattulm/sfiles_yara/blob/master/malware/sofacy_xtunnel_bundestag.yar"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.xagent"
        malpedia_version = "20170517"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"
    strings:
        $s1 = "shell\\open\\command=\"System Volume Information\\USBGuard.exe\" install" fullword ascii 
        $s2 = ".?AVAgentModuleRemoteKeyLogger@@" fullword ascii 
        $s3 = "<font size=4 color=red>process isn't exist</font>" fullword ascii 
        $s4 = "<font size=4 color=red>process is exist</font>" fullword ascii 
        $s5 = ".winnt.check-fix.com" fullword ascii 
        $s6 = ".update.adobeincorp.com" fullword ascii 
        $s7 = ".microsoft.checkwinframe.com" fullword ascii
        $s8 = "adobeincorp.com" fullword wide 
        $s9 = "# EXC: HttpSender - Cannot create Get Channel!" fullword ascii 

        $x1 = "User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/" wide 
        $x2 = "User-Agent: Mozilla/5.0 (Windows NT 6.; WOW64; rv:20.0) Gecko/20100101 Firefox/2" wide 
        $x3 = "C:\\Windows\\System32\\cmd.exe" fullword wide 
    condition:
        uint16(0) == 0x5a4d and filesize < 300KB and (
            2 of ($s*) or 
            ( 1 of ($s*) and all of ($x*) )
        ) 
}
Download all Yara Rules