SYMBOLCOMMON_NAMEaka. SYNONYMS
win.breach_rat (Back to overview)

BreachRAT

Actor(s): Operation C-Major


This is a backdoor which FireEye call the Breach Remote Administration Tool (BreachRAT), written in C++. The malware name is derived from the hardcoded PDB path found in the RAT: C:\Work\Breach Remote Administration Tool\Release\Client.pdb

References
2016-06-03FireEyeYin Hong Chang, Sudeep Singh
@online{chang:20160603:sends:176f9ab, author = {Yin Hong Chang and Sudeep Singh}, title = {{APT Group Sends Spear Phishing Emails to Indian Government Officials}}, date = {2016-06-03}, organization = {FireEye}, url = {https://www.fireeye.com/blog/threat-research/2016/06/apt_group_sends_spea.html}, language = {English}, urldate = {2019-12-20} } APT Group Sends Spear Phishing Emails to Indian Government Officials
BreachRAT DarkComet Operation C-Major
Yara Rules
[TLP:WHITE] win_breach_rat_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_breach_rat_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.breach_rat"
        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 = { 8bc8 e8???????? 8d8d84fdffff c745fcffffffff e8???????? 68???????? 8d8d54fdffff }
            // n = 7, score = 200
            //   8bc8                 | mov                 ecx, eax
            //   e8????????           |                     
            //   8d8d84fdffff         | lea                 ecx, [ebp - 0x27c]
            //   c745fcffffffff       | mov                 dword ptr [ebp - 4], 0xffffffff
            //   e8????????           |                     
            //   68????????           |                     
            //   8d8d54fdffff         | lea                 ecx, [ebp - 0x2ac]

        $sequence_1 = { 7451 6683bdf8fdffff00 7518 33c9 8d85f8fdffff }
            // n = 5, score = 200
            //   7451                 | je                  0x53
            //   6683bdf8fdffff00     | cmp                 word ptr [ebp - 0x208], 0
            //   7518                 | jne                 0x1a
            //   33c9                 | xor                 ecx, ecx
            //   8d85f8fdffff         | lea                 eax, [ebp - 0x208]

        $sequence_2 = { 57 8bf9 c70000000000 897c2414 8b07 8b400c ffd0 }
            // n = 7, score = 200
            //   57                   | push                edi
            //   8bf9                 | mov                 edi, ecx
            //   c70000000000         | mov                 dword ptr [eax], 0
            //   897c2414             | mov                 dword ptr [esp + 0x14], edi
            //   8b07                 | mov                 eax, dword ptr [edi]
            //   8b400c               | mov                 eax, dword ptr [eax + 0xc]
            //   ffd0                 | call                eax

        $sequence_3 = { 50 e8???????? 84c0 0f842c010000 ff7514 8b03 8b7508 }
            // n = 7, score = 200
            //   50                   | push                eax
            //   e8????????           |                     
            //   84c0                 | test                al, al
            //   0f842c010000         | je                  0x132
            //   ff7514               | push                dword ptr [ebp + 0x14]
            //   8b03                 | mov                 eax, dword ptr [ebx]
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]

        $sequence_4 = { e9???????? 6a06 68???????? ff75d0 51 8d4dc0 e8???????? }
            // n = 7, score = 200
            //   e9????????           |                     
            //   6a06                 | push                6
            //   68????????           |                     
            //   ff75d0               | push                dword ptr [ebp - 0x30]
            //   51                   | push                ecx
            //   8d4dc0               | lea                 ecx, [ebp - 0x40]
            //   e8????????           |                     

        $sequence_5 = { 43 83c718 8b4804 8b30 2bce b8abaaaa2a f7e9 }
            // n = 7, score = 200
            //   43                   | inc                 ebx
            //   83c718               | add                 edi, 0x18
            //   8b4804               | mov                 ecx, dword ptr [eax + 4]
            //   8b30                 | mov                 esi, dword ptr [eax]
            //   2bce                 | sub                 ecx, esi
            //   b8abaaaa2a           | mov                 eax, 0x2aaaaaab
            //   f7e9                 | imul                ecx

        $sequence_6 = { ff15???????? 85c0 7428 8b4508 43 83c718 8b4804 }
            // n = 7, score = 200
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7428                 | je                  0x2a
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   43                   | inc                 ebx
            //   83c718               | add                 edi, 0x18
            //   8b4804               | mov                 ecx, dword ptr [eax + 4]

        $sequence_7 = { c745fcb7000000 50 8bce e8???????? 8bc8 e8???????? }
            // n = 6, score = 200
            //   c745fcb7000000       | mov                 dword ptr [ebp - 4], 0xb7
            //   50                   | push                eax
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     
            //   8bc8                 | mov                 ecx, eax
            //   e8????????           |                     

        $sequence_8 = { 83f804 0f8589020000 c745d40f000000 c745d000000000 c645c000 8b5db8 8d043e }
            // n = 7, score = 200
            //   83f804               | cmp                 eax, 4
            //   0f8589020000         | jne                 0x28f
            //   c745d40f000000       | mov                 dword ptr [ebp - 0x2c], 0xf
            //   c745d000000000       | mov                 dword ptr [ebp - 0x30], 0
            //   c645c000             | mov                 byte ptr [ebp - 0x40], 0
            //   8b5db8               | mov                 ebx, dword ptr [ebp - 0x48]
            //   8d043e               | lea                 eax, [esi + edi]

        $sequence_9 = { 56 50 6a00 6a00 6a23 }
            // n = 5, score = 200
            //   56                   | push                esi
            //   50                   | push                eax
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a23                 | push                0x23

    condition:
        7 of them and filesize < 645120
}
Download all Yara Rules