SYMBOLCOMMON_NAMEaka. SYNONYMS
win.agent_btz (Back to overview)

Agent.BTZ

aka: ComRAT, Minit, Sun rootkit

Actor(s): Turla Group


There is no description at this point.

References
2020-07-29ESET Researchwelivesecurity
@techreport{welivesecurity:20200729:threat:496355c, author = {welivesecurity}, title = {{THREAT REPORT Q2 2020}}, date = {2020-07-29}, institution = {ESET Research}, url = {https://www.welivesecurity.com/wp-content/uploads/2020/07/ESET_Threat_Report_Q22020.pdf}, language = {English}, urldate = {2020-07-30} } THREAT REPORT Q2 2020
DEFENSOR ID HiddenAd Bundlore Pirrit Agent.BTZ Cerber ClipBanker CROSSWALK Cryptowall CTB Locker DanaBot Dharma Formbook Gandcrab Grandoreiro Houdini ISFB LockBit Locky Mailto Maze Microcin Nemty NjRAT Phobos Ransomware PlugX Pony REvil Socelars STOP Ransomware Tinba TrickBot WannaCryptor
2020-05-26ESET ResearchMatthieu Faou
@techreport{faou:20200526:from:89e2854, author = {Matthieu Faou}, title = {{From Agent.BTZ to ComRAT v4: A ten‑year journey (White Paper)}}, date = {2020-05-26}, institution = {ESET Research}, url = {https://www.welivesecurity.com/wp-content/uploads/2020/05/ESET_Turla_ComRAT.pdf}, language = {English}, urldate = {2020-05-27} } From Agent.BTZ to ComRAT v4: A ten‑year journey (White Paper)
Agent.BTZ
2020-05-26ESET ResearchMatthieu Faou
@online{faou:20200526:from:804e2da, author = {Matthieu Faou}, title = {{From Agent.BTZ to ComRAT v4: A ten‑year journey}}, date = {2020-05-26}, organization = {ESET Research}, url = {https://www.welivesecurity.com/2020/05/26/agentbtz-comratv4-ten-year-journey/}, language = {English}, urldate = {2020-05-27} } From Agent.BTZ to ComRAT v4: A ten‑year journey
Agent.BTZ
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:de2007f, author = {SecureWorks}, title = {{IRON HUNTER}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/iron-hunter}, language = {English}, urldate = {2020-05-23} } IRON HUNTER
Agent.BTZ Cobra Carbon System LightNeuron Mosquito Nautilus Neuron Skipper Uroburos Turla Group
2018-03CrySyS LabBoldizsar Bencsath
@techreport{bencsath:201803:territorial:04343bb, author = {Boldizsar Bencsath}, title = {{Territorial Dispute – NSA’s perspective on APT landscape}}, date = {2018-03}, institution = {CrySyS Lab}, url = {https://www.crysys.hu/publications/files/tedi/ukatemicrysys_territorialdispute.pdf}, language = {English}, urldate = {2020-05-07} } Territorial Dispute – NSA’s perspective on APT landscape
9002 RAT Agent.BTZ DuQu EYService Flame FlowerShop Stuxnet Uroburos
2017-09-13IntezerOmri Ben Bassat
@online{bassat:20170913:new:376f00f, author = {Omri Ben Bassat}, title = {{New Variants of Agent.BTZ/ComRAT Found: The Threat That Hit The Pentagon In 2008 Still Evolving; Part 2/2}}, date = {2017-09-13}, organization = {Intezer}, url = {http://www.intezer.com/new-variants-of-agent-btz-comrat-found-part-2/}, language = {English}, urldate = {2019-12-24} } New Variants of Agent.BTZ/ComRAT Found: The Threat That Hit The Pentagon In 2008 Still Evolving; Part 2/2
Agent.BTZ
2017-08-07IntezerOmri Ben Bassat
@online{bassat:20170807:new:d776333, author = {Omri Ben Bassat}, title = {{New Variants of Agent.BTZ/ComRAT Found: The Threat That Hit The Pentagon In 2008 Still Evolving; Part 1/2}}, date = {2017-08-07}, organization = {Intezer}, url = {http://www.intezer.com/new-variants-of-agent-btz-comrat-found/}, language = {English}, urldate = {2019-12-17} } New Variants of Agent.BTZ/ComRAT Found: The Threat That Hit The Pentagon In 2008 Still Evolving; Part 1/2
Agent.BTZ
2016-01-14SymantecSecurity Response
@techreport{response:20160114:waterbug:9dbc59e, author = {Security Response}, title = {{The Waterbug attack group}}, date = {2016-01-14}, institution = {Symantec}, url = {https://www-west.symantec.com/content/dam/symantec/docs/security-center/white-papers/waterbug-attack-group-16-en.pdf}, language = {English}, urldate = {2020-04-21} } The Waterbug attack group
Agent.BTZ Cobra Carbon System Wipbot Turla Group
2016-01-14SymantecSecurity Response
@techreport{response:20160114:waterbug:51a4dbd, author = {Security Response}, title = {{The Waterbug attack group}}, date = {2016-01-14}, institution = {Symantec}, url = {https://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/waterbug-attack-group.pdf}, language = {English}, urldate = {2020-01-09} } The Waterbug attack group
Agent.BTZ Wipbot Turla Group
2015-01-15G DataG Data
@online{data:20150115:weiterentwicklung:a65efbe, author = {G Data}, title = {{Weiterentwicklung anspruchsvoller Spyware: von Agent.BTZ zu ComRAT}}, date = {2015-01-15}, organization = {G Data}, url = {https://blog.gdata.de/2015/01/23779-weiterentwicklung-anspruchsvoller-spyware-von-agent-btz-zu-comrat}, language = {English}, urldate = {2020-01-08} } Weiterentwicklung anspruchsvoller Spyware: von Agent.BTZ zu ComRAT
Agent.BTZ
2014-11-11G DataG Data
@online{data:20141111:uroburos:8dce097, author = {G Data}, title = {{The Uroburos case: new sophisticated RAT identified}}, date = {2014-11-11}, organization = {G Data}, url = {https://www.gdatasoftware.com/blog/2014/11/23937-the-uroburos-case-new-sophisticated-rat-identified}, language = {English}, urldate = {2020-01-08} } The Uroburos case: new sophisticated RAT identified
Agent.BTZ Uroburos
2014-03-12Kaspersky LabsAlexander Gostev
@online{gostev:20140312:agentbtz:8f1988f, author = {Alexander Gostev}, title = {{Agent.btz: a Source of Inspiration?}}, date = {2014-03-12}, organization = {Kaspersky Labs}, url = {https://securelist.com/blog/virus-watch/58551/agent-btz-a-source-of-inspiration/}, language = {English}, urldate = {2019-12-20} } Agent.btz: a Source of Inspiration?
Agent.BTZ
2008-11-30ThreatExpertSergei Shevchenko
@online{shevchenko:20081130:agentbtz:8c68643, author = {Sergei Shevchenko}, title = {{Agent.btz - A Threat That Hit Pentagon}}, date = {2008-11-30}, organization = {ThreatExpert}, url = {http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html}, language = {English}, urldate = {2020-01-08} } Agent.btz - A Threat That Hit Pentagon
Agent.BTZ
Yara Rules
[TLP:WHITE] win_agent_btz_auto (20200529 | autogenerated rule brought to you by yara-signator)
rule win_agent_btz_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.agent_btz"
        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 = { c74608ffffffff f644240801 7409 56 e8???????? 83c404 }
            // n = 6, score = 2500
            //   c74608ffffffff       | mov                 dword ptr [esi + 8], 0xffffffff
            //   f644240801           | test                byte ptr [esp + 8], 1
            //   7409                 | je                  0xb
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_1 = { ffd6 8d54240c 52 ffd7 }
            // n = 4, score = 2500
            //   ffd6                 | call                esi
            //   8d54240c             | lea                 edx, [esp + 0xc]
            //   52                   | push                edx
            //   ffd7                 | call                edi

        $sequence_2 = { 50 ffd3 85c0 75d8 5f }
            // n = 5, score = 2500
            //   50                   | push                eax
            //   ffd3                 | call                ebx
            //   85c0                 | test                eax, eax
            //   75d8                 | jne                 0xffffffda
            //   5f                   | pop                 edi

        $sequence_3 = { c706???????? c7460c00000000 895e08 895e04 c7461000000000 }
            // n = 5, score = 2400
            //   c706????????         |                     
            //   c7460c00000000       | call                ebx
            //   895e08               | test                eax, eax
            //   895e04               | jne                 0xffffffde
            //   c7461000000000       | pop                 edi

        $sequence_4 = { ff15???????? b800000f00 8b4df4 64890d00000000 5f 5e 5b }
            // n = 7, score = 2400
            //   ff15????????         |                     
            //   b800000f00           | test                eax, eax
            //   8b4df4               | jne                 0xffffffdf
            //   64890d00000000       | pop                 edi
            //   5f                   | mov                 dword ptr [esi + 8], 0xffffffff
            //   5e                   | test                byte ptr [esp + 8], 1
            //   5b                   | je                  0x17

        $sequence_5 = { 56 6a00 68???????? 8935???????? }
            // n = 4, score = 2300
            //   56                   | mov                 dword ptr [esi + 4], ebx
            //   6a00                 | mov                 dword ptr [esi + 0x10], 0
            //   68????????           |                     
            //   8935????????         |                     

        $sequence_6 = { ff15???????? 894614 33c0 33db }
            // n = 4, score = 2300
            //   ff15????????         |                     
            //   894614               | mov                 dword ptr [esi + 0x10], 0
            //   33c0                 | mov                 dword ptr [esi + 0x14], ebx
            //   33db                 | mov                 dword ptr [esi + 0xc], 0

        $sequence_7 = { 6a00 50 ff15???????? 894614 }
            // n = 4, score = 2300
            //   6a00                 | mov                 ecx, dword ptr [ebp - 0xc]
            //   50                   | mov                 dword ptr fs:[0], ecx
            //   ff15????????         |                     
            //   894614               | pop                 edi

        $sequence_8 = { 8d542408 52 c744240c30000000 c744241003000000 }
            // n = 4, score = 2200
            //   8d542408             | push                esi
            //   52                   | push                0
            //   c744240c30000000     | push                esi
            //   c744241003000000     | push                0

        $sequence_9 = { 8b4608 c706???????? 85c0 7413 83f8ff }
            // n = 5, score = 2200
            //   8b4608               | push                esi
            //   c706????????         |                     
            //   85c0                 | call                ebx
            //   7413                 | test                eax, eax
            //   83f8ff               | jne                 0xffffffde

        $sequence_10 = { 6a0a 68???????? 6a01 6a00 68???????? }
            // n = 5, score = 1400
            //   6a0a                 | push                0xa
            //   68????????           |                     
            //   6a01                 | push                1
            //   6a00                 | push                0
            //   68????????           |                     

        $sequence_11 = { 51 6a00 6819000200 6a00 68???????? }
            // n = 5, score = 1400
            //   51                   | push                ecx
            //   6a00                 | push                0
            //   6819000200           | push                0x20019
            //   6a00                 | push                0
            //   68????????           |                     

        $sequence_12 = { 50 68???????? 6a01 68???????? e8???????? 83c410 }
            // n = 6, score = 1200
            //   50                   | xor                 ebx, ebx
            //   68????????           |                     
            //   6a01                 | push                0
            //   68????????           |                     
            //   e8????????           |                     
            //   83c410               | push                eax

        $sequence_13 = { e8???????? 6810010000 e8???????? 83c404 }
            // n = 4, score = 1100
            //   e8????????           |                     
            //   6810010000           | push                0x110
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_14 = { 6a01 6a04 6a01 68???????? }
            // n = 4, score = 1100
            //   6a01                 | push                1
            //   6a04                 | push                4
            //   6a01                 | push                1
            //   68????????           |                     

        $sequence_15 = { 7511 e8???????? 83c020 50 e8???????? 83c404 }
            // n = 6, score = 1000
            //   7511                 | jne                 0x13
            //   e8????????           |                     
            //   83c020               | add                 eax, 0x20
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_16 = { 6a01 68???????? e8???????? 83c414 5f 5e 5b }
            // n = 7, score = 1000
            //   6a01                 | push                0
            //   68????????           |                     
            //   e8????????           |                     
            //   83c414               | push                0x20019
            //   5f                   | push                0
            //   5e                   | push                0
            //   5b                   | push                eax

        $sequence_17 = { 50 e8???????? 83c408 6800010000 e8???????? }
            // n = 5, score = 1000
            //   50                   | push                0xa
            //   e8????????           |                     
            //   83c408               | push                1
            //   6800010000           | push                0
            //   e8????????           |                     

        $sequence_18 = { 51 68???????? 6a01 e8???????? 50 e8???????? }
            // n = 6, score = 1000
            //   51                   | push                ecx
            //   68????????           |                     
            //   6a01                 | push                1
            //   e8????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_19 = { c684248b00000061 c684248c00000074 c684248d00000065 c684248e00000050 c684248f00000072 }
            // n = 5, score = 900
            //   c684248b00000061     | mov                 byte ptr [esp + 0x8b], 0x61
            //   c684248c00000074     | mov                 byte ptr [esp + 0x8c], 0x74
            //   c684248d00000065     | mov                 byte ptr [esp + 0x8d], 0x65
            //   c684248e00000050     | mov                 byte ptr [esp + 0x8e], 0x50
            //   c684248f00000072     | mov                 byte ptr [esp + 0x8f], 0x72

        $sequence_20 = { c684249400000073 c684249500000057 c684249600000000 c684241001000047 c684241101000065 c684241201000074 }
            // n = 6, score = 900
            //   c684249400000073     | mov                 byte ptr [esp + 0x94], 0x73
            //   c684249500000057     | mov                 byte ptr [esp + 0x95], 0x57
            //   c684249600000000     | mov                 byte ptr [esp + 0x96], 0
            //   c684241001000047     | mov                 byte ptr [esp + 0x110], 0x47
            //   c684241101000065     | mov                 byte ptr [esp + 0x111], 0x65
            //   c684241201000074     | mov                 byte ptr [esp + 0x112], 0x74

        $sequence_21 = { c684241001000047 c684241101000065 c684241201000074 c68424130100004c c684241401000061 c684241501000073 c684241601000074 }
            // n = 7, score = 900
            //   c684241001000047     | mov                 byte ptr [esp + 0x110], 0x47
            //   c684241101000065     | mov                 byte ptr [esp + 0x111], 0x65
            //   c684241201000074     | mov                 byte ptr [esp + 0x112], 0x74
            //   c68424130100004c     | mov                 byte ptr [esp + 0x113], 0x4c
            //   c684241401000061     | mov                 byte ptr [esp + 0x114], 0x61
            //   c684241501000073     | mov                 byte ptr [esp + 0x115], 0x73
            //   c684241601000074     | mov                 byte ptr [esp + 0x116], 0x74

        $sequence_22 = { c684241601000074 c684241701000045 c684241801000072 c684241901000072 c684241a0100006f c684241b01000072 }
            // n = 6, score = 900
            //   c684241601000074     | mov                 byte ptr [esp + 0x116], 0x74
            //   c684241701000045     | mov                 byte ptr [esp + 0x117], 0x45
            //   c684241801000072     | mov                 byte ptr [esp + 0x118], 0x72
            //   c684241901000072     | mov                 byte ptr [esp + 0x119], 0x72
            //   c684241a0100006f     | mov                 byte ptr [esp + 0x11a], 0x6f
            //   c684241b01000072     | mov                 byte ptr [esp + 0x11b], 0x72

        $sequence_23 = { c684248f00000072 c68424900000006f c684249100000063 c684249200000065 c684249300000073 c684249400000073 c684249500000057 }
            // n = 7, score = 900
            //   c684248f00000072     | mov                 byte ptr [esp + 0x8f], 0x72
            //   c68424900000006f     | mov                 byte ptr [esp + 0x90], 0x6f
            //   c684249100000063     | mov                 byte ptr [esp + 0x91], 0x63
            //   c684249200000065     | mov                 byte ptr [esp + 0x92], 0x65
            //   c684249300000073     | mov                 byte ptr [esp + 0x93], 0x73
            //   c684249400000073     | mov                 byte ptr [esp + 0x94], 0x73
            //   c684249500000057     | mov                 byte ptr [esp + 0x95], 0x57

        $sequence_24 = { ebd2 c78424a000000068000000 c78424dc00000001000000 33c0 66898424e0000000 }
            // n = 5, score = 900
            //   ebd2                 | jmp                 0xffffffd4
            //   c78424a000000068000000     | mov    dword ptr [esp + 0xa0], 0x68
            //   c78424dc00000001000000     | mov    dword ptr [esp + 0xdc], 1
            //   33c0                 | xor                 eax, eax
            //   66898424e0000000     | mov                 word ptr [esp + 0xe0], ax

        $sequence_25 = { c645a20d c645a30a 885da4 c685fcfeffff2d }
            // n = 4, score = 800
            //   c645a20d             | mov                 byte ptr [ebp - 0x5e], 0xd
            //   c645a30a             | mov                 byte ptr [ebp - 0x5d], 0xa
            //   885da4               | mov                 byte ptr [ebp - 0x5c], bl
            //   c685fcfeffff2d       | mov                 byte ptr [ebp - 0x104], 0x2d

        $sequence_26 = { 6a27 6a02 6a00 6a01 }
            // n = 4, score = 800
            //   6a27                 | push                0x27
            //   6a02                 | push                2
            //   6a00                 | push                0
            //   6a01                 | push                1

        $sequence_27 = { 8b5d0c 56 8bf0 8b4624 57 83c304 53 }
            // n = 7, score = 800
            //   8b5d0c               | mov                 ebx, dword ptr [ebp + 0xc]
            //   56                   | push                esi
            //   8bf0                 | mov                 esi, eax
            //   8b4624               | mov                 eax, dword ptr [esi + 0x24]
            //   57                   | push                edi
            //   83c304               | add                 ebx, 4
            //   53                   | push                ebx

        $sequence_28 = { c645d316 c645d43a c645d53b c645d63b }
            // n = 4, score = 700
            //   c645d316             | mov                 byte ptr [ebp - 0x2d], 0x16
            //   c645d43a             | mov                 byte ptr [ebp - 0x2c], 0x3a
            //   c645d53b             | mov                 byte ptr [ebp - 0x2b], 0x3b
            //   c645d63b             | mov                 byte ptr [ebp - 0x2a], 0x3b

        $sequence_29 = { c644244d31 c644244e10 c644244f2d c644245055 }
            // n = 4, score = 300
            //   c644244d31           | mov                 byte ptr [esp + 0x4d], 0x31
            //   c644244e10           | mov                 byte ptr [esp + 0x4e], 0x10
            //   c644244f2d           | mov                 byte ptr [esp + 0x4f], 0x2d
            //   c644245055           | mov                 byte ptr [esp + 0x50], 0x55

        $sequence_30 = { 4883ec30 33c0 488bf2 488bf9 }
            // n = 4, score = 300
            //   4883ec30             | mov                 byte ptr [esp + 0xbb], 0x26
            //   33c0                 | dec                 eax
            //   488bf2               | sub                 esp, 0x30
            //   488bf9               | xor                 eax, eax

        $sequence_31 = { c68424b600000005 c68424b700000027 c68424b80000003a c68424b900000036 c68424ba00000030 }
            // n = 5, score = 300
            //   c68424b600000005     | mov                 byte ptr [esp + 0xb6], 5
            //   c68424b700000027     | mov                 byte ptr [esp + 0xb7], 0x27
            //   c68424b80000003a     | mov                 byte ptr [esp + 0xb8], 0x3a
            //   c68424b900000036     | mov                 byte ptr [esp + 0xb9], 0x36
            //   c68424ba00000030     | mov                 byte ptr [esp + 0xba], 0x30

        $sequence_32 = { 488b0e 48894628 488b4638 4c8d4c2450 448bc3 }
            // n = 5, score = 300
            //   488b0e               | mov                 ebp, dword ptr [esp + 0x60]
            //   48894628             | dec                 eax
            //   488b4638             | mov                 esi, dword ptr [esp + 0x68]
            //   4c8d4c2450           | mov                 byte ptr [esp + 0xb8], 0x3a
            //   448bc3               | mov                 byte ptr [esp + 0xb9], 0x36

        $sequence_33 = { 4883ec28 e8???????? 85c0 7508 }
            // n = 4, score = 300
            //   4883ec28             | dec                 eax
            //   e8????????           |                     
            //   85c0                 | sub                 esp, 0x28
            //   7508                 | test                eax, eax

        $sequence_34 = { eb06 488b07 896830 33c0 488b5c2458 488b6c2460 488b742468 }
            // n = 7, score = 300
            //   eb06                 | dec                 eax
            //   488b07               | mov                 esi, edx
            //   896830               | dec                 eax
            //   33c0                 | mov                 edi, ecx
            //   488b5c2458           | jmp                 8
            //   488b6c2460           | dec                 eax
            //   488b742468           | mov                 eax, dword ptr [edi]

        $sequence_35 = { 894c2408 4883ec38 c74424203a040000 448b442440 33d2 b93a040000 }
            // n = 6, score = 300
            //   894c2408             | dec                 eax
            //   4883ec38             | mov                 eax, dword ptr [esi + 0x38]
            //   c74424203a040000     | dec                 esp
            //   448b442440           | lea                 ecx, [esp + 0x50]
            //   33d2                 | inc                 esp
            //   b93a040000           | mov                 eax, ebx

        $sequence_36 = { 488b4338 33d2 488bce 448d4220 }
            // n = 4, score = 300
            //   488b4338             | dec                 eax
            //   33d2                 | mov                 ecx, dword ptr [edi]
            //   488bce               | mov                 dword ptr [ecx + 0x30], eax
            //   448d4220             | jmp                 8

        $sequence_37 = { 8d8594faffff 50 68???????? ff15???????? }
            // n = 4, score = 200
            //   8d8594faffff         | mov                 ecx, dword ptr [ebp - 0xc]
            //   50                   | mov                 dword ptr fs:[0], ecx
            //   68????????           |                     
            //   ff15????????         |                     

        $sequence_38 = { 50 e8???????? 59 59 68e9fd0000 ff15???????? 33c9 }
            // n = 7, score = 100
            //   50                   | test                byte ptr [esp + 8], 1
            //   e8????????           |                     
            //   59                   | je                  0x17
            //   59                   | push                esi
            //   68e9fd0000           | add                 esp, 4
            //   ff15????????         |                     
            //   33c9                 | test                eax, eax

        $sequence_39 = { c1f805 83e11f c1e106 8b0485100b4200 80640804fe ff36 e8???????? }
            // n = 7, score = 100
            //   c1f805               | mov                 dword ptr [esi + 0x14], eax
            //   83e11f               | xor                 eax, eax
            //   c1e106               | xor                 ebx, ebx
            //   8b0485100b4200       | push                0
            //   80640804fe           | push                eax
            //   ff36                 | mov                 dword ptr [esi + 0x14], eax
            //   e8????????           |                     

        $sequence_40 = { 53 51 51 53 8bce e8???????? 83c414 }
            // n = 7, score = 100
            //   53                   | xor                 eax, eax
            //   51                   | xor                 ebx, ebx
            //   51                   | push                0
            //   53                   | push                eax
            //   8bce                 | mov                 dword ptr [esi + 0x14], eax
            //   e8????????           |                     
            //   83c414               | push                eax

        $sequence_41 = { a5 5f 5e 5d 5b 81c4f8000000 c3 }
            // n = 7, score = 100
            //   a5                   | xor                 eax, eax
            //   5f                   | push                eax
            //   5e                   | mov                 dword ptr [esi + 8], 0xffffffff
            //   5d                   | test                byte ptr [esp + 8], 1
            //   5b                   | je                  0x20
            //   81c4f8000000         | push                esi
            //   c3                   | mov                 dword ptr [esi + 8], 0xffffffff

        $sequence_42 = { 03452c 85c9 0f8444010000 8d4804 894c2410 85f6 }
            // n = 6, score = 100
            //   03452c               | pop                 edi
            //   85c9                 | push                esi
            //   0f8444010000         | push                0
            //   8d4804               | push                esi
            //   894c2410             | push                0
            //   85f6                 | mov                 dword ptr [esi + 0x14], eax

        $sequence_43 = { 7309 8b04c5189d4100 5d c3 33c0 }
            // n = 5, score = 100
            //   7309                 | mov                 dword ptr [esi + 0x14], eax
            //   8b04c5189d4100       | xor                 eax, eax
            //   5d                   | xor                 ebx, ebx
            //   c3                   | push                0
            //   33c0                 | push                eax

        $sequence_44 = { 83e61f c1e606 033485100b4200 8975dc 8b02 8906 }
            // n = 6, score = 100
            //   83e61f               | je                  0x17
            //   c1e606               | cmp                 eax, -1
            //   033485100b4200       | je                  0x17
            //   8975dc               | push                eax
            //   8b02                 | lea                 eax, [ebp - 0x56c]
            //   8906                 | push                eax

    condition:
        7 of them and filesize < 3522560
}
[TLP:WHITE] win_agent_btz_w0   (20171113 | No description)
rule win_agent_btz_w0 {
    meta:
        source = "https://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/waterbug-attack-group.pdf"
        contribution = "pnx - removed FPs"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.agent_btz"
        malpedia_version = "20171113"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"
    strings:
        $b = {C645????}
        $c = {C685??FEFFFF??}
        $d = {FFA0??0?0000}
        $e = {89A8??00000068??00000056FFD78B}
        $f = {00004889????030000488B}
        $tmp_fn = "FA.tmp"
    condition:
        ((#c > 200 and #b > 200 ) or (#d > 40) and (#e > 15 or #f > 30)) and $tmp_fn
}
Download all Yara Rules