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
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:operation:2160679, author = {FireEye}, title = {{Operation Quantum Entanglement}}, date = {2014}, institution = {FireEye}, url = {http://csecybsec.com/download/zlab/20180713_CSE_APT28_X-Agent_Op-Roman%20Holiday-Report_v6_1.pdf}, language = {English}, urldate = {2020-01-12} } Operation Quantum Entanglement
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 (20200529 | autogenerated rule brought to you by yara-signator)
rule win_xagent_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-05-30"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.4.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.xagent"
        malpedia_rule_date = "20200529"
        malpedia_hash = "92c362319514e5a6da26204961446caa3a8b32a8"
        malpedia_version = "20200529"
        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 / approach 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 = { b001 eb02 32c0 3c01 }
            // n = 4, score = 3200
            //   b001                 | mov                 al, 1
            //   eb02                 | jmp                 4
            //   32c0                 | xor                 al, al
            //   3c01                 | cmp                 al, 1

        $sequence_1 = { c1ea02 6bd20d b801000000 2bc2 }
            // n = 4, score = 3000
            //   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 = 3000
            //   ff15????????         |                     
            //   8bd8                 | mov                 ebx, eax
            //   e8????????           |                     
            //   03d8                 | add                 ebx, eax

        $sequence_3 = { 03ff 03ff 3b7e0c 7707 }
            // n = 4, score = 2500
            //   03ff                 | mov                 eax, dword ptr [ebx]
            //   03ff                 | je                  0x60
            //   3b7e0c               | call                dword ptr [eax + 0x38]
            //   7707                 | test                ecx, ecx

        $sequence_4 = { 7702 2bc7 8b5204 8b0482 8b0488 }
            // n = 5, score = 2500
            //   7702                 | xor                 edx, edx
            //   2bc7                 | dec                 eax
            //   8b5204               | mov                 ecx, eax
            //   8b0482               | dec                 eax
            //   8b0488               | mov                 ebx, dword ptr [esp + 0x40]

        $sequence_5 = { 7707 c7460c00000000 49 894e10 7507 }
            // n = 5, score = 2500
            //   7707                 | shr                 eax, 2
            //   c7460c00000000       | mov                 ecx, dword ptr [eax + 8]
            //   49                   | mov                 eax, ecx
            //   894e10               | push                edi
            //   7507                 | mov                 edi, dword ptr [edx + 8]

        $sequence_6 = { 85c9 7423 8b7e08 ff460c 03ff 03ff }
            // n = 6, score = 2500
            //   85c9                 | jmp                 0x1d
            //   7423                 | sbb                 eax, eax
            //   8b7e08               | sbb                 eax, -1
            //   ff460c               | test                eax, eax
            //   03ff                 | mov                 eax, ecx
            //   03ff                 | jmp                 0x28

        $sequence_7 = { 8b4808 8bc1 57 8b7a08 c1e802 }
            // n = 5, score = 2500
            //   8b4808               | sbb                 eax, eax
            //   8bc1                 | mov                 edx, 0x1f4
            //   57                   | dec                 eax
            //   8b7a08               | mov                 ecx, ebx
            //   c1e802               | mov                 eax, 0xa57eb503

        $sequence_8 = { ff15???????? 6a08 e8???????? 83c404 85c0 }
            // n = 5, score = 2500
            //   ff15????????         |                     
            //   6a08                 | mov                 ecx, dword ptr [esi + 0x10]
            //   e8????????           |                     
            //   83c404               | test                ecx, ecx
            //   85c0                 | je                  0x56

        $sequence_9 = { 85c0 7407 8b4d08 8b11 8910 }
            // n = 5, score = 2500
            //   85c0                 | sbb                 eax, eax
            //   7407                 | sbb                 eax, -1
            //   8b4d08               | jne                 0x2e
            //   8b11                 | mov                 eax, ecx
            //   8910                 | jmp                 7

        $sequence_10 = { c7460c00000000 5f 5e 8be5 }
            // n = 4, score = 2500
            //   c7460c00000000       | je                  0x25
            //   5f                   | mov                 edi, dword ptr [esi + 8]
            //   5e                   | inc                 dword ptr [esi + 0xc]
            //   8be5                 | add                 edi, edi

        $sequence_11 = { 83ff08 740e 83ff0b 7409 83ff0d }
            // n = 5, score = 2100
            //   83ff08               | cmp                 edi, 8
            //   740e                 | je                  0x10
            //   83ff0b               | cmp                 edi, 0xb
            //   7409                 | je                  0xb
            //   83ff0d               | cmp                 edi, 0xd

        $sequence_12 = { 48895c2408 48896c2410 4889742418 57 4883ec30 4883792800 }
            // n = 6, score = 1500
            //   48895c2408           | dec                 eax
            //   48896c2410           | mov                 eax, dword ptr [edi]
            //   4889742418           | dec                 esp
            //   57                   | mov                 edx, dword ptr [ebx]
            //   4883ec30             | dec                 eax
            //   4883792800           | mov                 dword ptr [ebx], eax

        $sequence_13 = { 740c 488b07 488b0b 488903 48890f 488b5c2430 488b6c2438 }
            // n = 7, score = 1500
            //   740c                 | ja                  9
            //   488b07               | sub                 eax, edi
            //   488b0b               | jne                 6
            //   488903               | mov                 al, 1
            //   48890f               | jmp                 6
            //   488b5c2430           | xor                 al, al
            //   488b6c2438           | cmp                 al, 1

        $sequence_14 = { 482bc2 48d1f8 488be8 4885c0 }
            // n = 4, score = 1500
            //   482bc2               | mov                 ebp, edx
            //   48d1f8               | dec                 eax
            //   488be8               | mov                 ebx, ecx
            //   4885c0               | je                  0xe

        $sequence_15 = { 4c8b13 488903 4c8917 488b13 }
            // n = 4, score = 1500
            //   4c8b13               | dec                 esp
            //   488903               | mov                 edx, dword ptr [ebx]
            //   4c8917               | dec                 eax
            //   488b13               | mov                 dword ptr [ebx], eax

        $sequence_16 = { 84c0 740c 488b07 4c8b13 }
            // n = 4, score = 1500
            //   84c0                 | mov                 edx, dword ptr [edx + 4]
            //   740c                 | mov                 eax, dword ptr [edx + eax*4]
            //   488b07               | mov                 eax, dword ptr [eax + ecx*4]
            //   4c8b13               | mov                 ecx, dword ptr [esi + 0x10]

        $sequence_17 = { 57 4883ec30 4883792800 498bf9 498bf0 488bea 488bd9 }
            // n = 7, score = 1500
            //   57                   | dec                 esp
            //   4883ec30             | mov                 dword ptr [edi], edx
            //   4883792800           | dec                 eax
            //   498bf9               | mov                 edx, dword ptr [ebx]
            //   498bf0               | push                edi
            //   488bea               | dec                 eax
            //   488bd9               | sub                 esp, 0x30

        $sequence_18 = { 740d 488bc8 e8???????? 4c8be0 eb03 4c8be3 }
            // n = 6, score = 1000
            //   740d                 | dec                 eax
            //   488bc8               | mov                 ebp, eax
            //   e8????????           |                     
            //   4c8be0               | dec                 eax
            //   eb03                 | test                eax, eax
            //   4c8be3               | dec                 eax

        $sequence_19 = { 7504 8bc1 eb05 1bc0 83d8ff 85c0 }
            // n = 6, score = 900
            //   7504                 | dec                 eax
            //   8bc1                 | mov                 dword ptr [esp + 0x10], ebp
            //   eb05                 | dec                 eax
            //   1bc0                 | mov                 dword ptr [esp + 0x18], esi
            //   83d8ff               | push                edi
            //   85c0                 | dec                 eax

        $sequence_20 = { ff15???????? baf4010000 488bcb ff15???????? }
            // n = 4, score = 600
            //   ff15????????         |                     
            //   baf4010000           | dec                 esp
            //   488bcb               | mov                 esp, ebx
            //   ff15????????         |                     

        $sequence_21 = { b803b57ea5 f7e6 c1ea06 6bd263 }
            // n = 4, score = 500
            //   b803b57ea5           | dec                 eax
            //   f7e6                 | mov                 ecx, eax
            //   c1ea06               | dec                 esp
            //   6bd263               | mov                 esp, eax

        $sequence_22 = { 33d2 488bc8 ff15???????? 488b5c2440 }
            // n = 4, score = 400
            //   33d2                 | jmp                 0x20
            //   488bc8               | dec                 esp
            //   ff15????????         |                     
            //   488b5c2440           | mov                 esp, ebx

        $sequence_23 = { c1ea07 69d295000000 2bca 8bd1 }
            // n = 4, score = 400
            //   c1ea07               | jmp                 0x10
            //   69d295000000         | dec                 esp
            //   2bca                 | mov                 esp, ebx
            //   8bd1                 | dec                 eax

        $sequence_24 = { 0f8469030000 488b8c24b8000000 488bd6 e8???????? 488bc8 488bf8 }
            // n = 6, score = 200
            //   0f8469030000         | jmp                 7
            //   488b8c24b8000000     | sbb                 eax, eax
            //   488bd6               | sbb                 eax, -1
            //   e8????????           |                     
            //   488bc8               | test                eax, eax
            //   488bf8               | jne                 0xf

        $sequence_25 = { 488b05???????? 4889855e160000 0fb705???????? 66898566160000 }
            // n = 4, score = 200
            //   488b05????????       |                     
            //   4889855e160000       | jne                 0x26
            //   0fb705????????       |                     
            //   66898566160000       | mov                 eax, ecx

    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