SYMBOLCOMMON_NAMEaka. SYNONYMS
win.breach_rat (Back to overview)

BreachRAT

Actor(s): Operation C-Major

VTCollection    

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-03 ⋅ FireEye ⋅ Sudeep Singh, Yin Hong Chang
APT Group Sends Spear Phishing Emails to Indian Government Officials
BreachRAT DarkComet Operation C-Major
Yara Rules
[TLP:WHITE] win_breach_rat_auto (20260917 | Detects win.breach_rat.)
rule win_breach_rat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.breach_rat."
        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.breach_rat"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 898548ffffff 8d4608 660fd68550ffffff c78540ffffff03000000 c78544ffffff01000000 c78554ffffff01000000 }
            // n = 6, score = 200
            //   898548ffffff         | mov                 dword ptr [ebp - 0xb8], eax
            //   8d4608               | lea                 eax, [esi + 8]
            //   660fd68550ffffff     | movq                qword ptr [ebp - 0xb0], xmm0
            //   c78540ffffff03000000     | mov    dword ptr [ebp - 0xc0], 3
            //   c78544ffffff01000000     | mov    dword ptr [ebp - 0xbc], 1
            //   c78554ffffff01000000     | mov    dword ptr [ebp - 0xac], 1

        $sequence_1 = { 8945e4 c745c000000000 c745c4ffffffff c745c800000000 c745bcccfa4300 c745cc00000000 c745d000000000 }
            // n = 7, score = 200
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   c745c000000000       | mov                 dword ptr [ebp - 0x40], 0
            //   c745c4ffffffff       | mov                 dword ptr [ebp - 0x3c], 0xffffffff
            //   c745c800000000       | mov                 dword ptr [ebp - 0x38], 0
            //   c745bcccfa4300       | mov                 dword ptr [ebp - 0x44], 0x43facc
            //   c745cc00000000       | mov                 dword ptr [ebp - 0x34], 0
            //   c745d000000000       | mov                 dword ptr [ebp - 0x30], 0

        $sequence_2 = { 8d4d94 0f4345d8 50 e8???????? }
            // n = 4, score = 200
            //   8d4d94               | lea                 ecx, [ebp - 0x6c]
            //   0f4345d8             | cmovae              eax, dword ptr [ebp - 0x28]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_3 = { e8???????? 8d8dd4f5ffff c745fcffffffff e8???????? 68???????? }
            // n = 5, score = 200
            //   e8????????           |                     
            //   8d8dd4f5ffff         | lea                 ecx, [ebp - 0xa2c]
            //   c745fcffffffff       | mov                 dword ptr [ebp - 4], 0xffffffff
            //   e8????????           |                     
            //   68????????           |                     

        $sequence_4 = { 897dec 8b8684000000 6a00 6a00 40 50 ffb680000000 }
            // n = 7, score = 200
            //   897dec               | mov                 dword ptr [ebp - 0x14], edi
            //   8b8684000000         | mov                 eax, dword ptr [esi + 0x84]
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   40                   | inc                 eax
            //   50                   | push                eax
            //   ffb680000000         | push                dword ptr [esi + 0x80]

        $sequence_5 = { 68???????? ff75d0 51 8d4dc0 e8???????? 85c0 7533 }
            // n = 7, score = 200
            //   68????????           |                     
            //   ff75d0               | push                dword ptr [ebp - 0x30]
            //   51                   | push                ecx
            //   8d4dc0               | lea                 ecx, [ebp - 0x40]
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   7533                 | jne                 0x35

        $sequence_6 = { e8???????? 8d45dc c745fc0b000000 50 8bce e8???????? 6a02 }
            // n = 7, score = 200
            //   e8????????           |                     
            //   8d45dc               | lea                 eax, [ebp - 0x24]
            //   c745fc0b000000       | mov                 dword ptr [ebp - 4], 0xb
            //   50                   | push                eax
            //   8bce                 | mov                 ecx, esi
            //   e8????????           |                     
            //   6a02                 | push                2

        $sequence_7 = { 83c102 6685c0 75f5 2bca d1f9 837de000 }
            // n = 6, score = 200
            //   83c102               | add                 ecx, 2
            //   6685c0               | test                ax, ax
            //   75f5                 | jne                 0xfffffff7
            //   2bca                 | sub                 ecx, edx
            //   d1f9                 | sar                 ecx, 1
            //   837de000             | cmp                 dword ptr [ebp - 0x20], 0

        $sequence_8 = { 68???????? 8d8d4cf9ffff e8???????? 68???????? 8d854cf9ffff c745fc7b000000 50 }
            // n = 7, score = 200
            //   68????????           |                     
            //   8d8d4cf9ffff         | lea                 ecx, [ebp - 0x6b4]
            //   e8????????           |                     
            //   68????????           |                     
            //   8d854cf9ffff         | lea                 eax, [ebp - 0x6b4]
            //   c745fc7b000000       | mov                 dword ptr [ebp - 4], 0x7b
            //   50                   | push                eax

        $sequence_9 = { ebe6 8b45ec 898680000000 c645dc00 8b7de4 8bce 57 }
            // n = 7, score = 200
            //   ebe6                 | jmp                 0xffffffe8
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]
            //   898680000000         | mov                 dword ptr [esi + 0x80], eax
            //   c645dc00             | mov                 byte ptr [ebp - 0x24], 0
            //   8b7de4               | mov                 edi, dword ptr [ebp - 0x1c]
            //   8bce                 | mov                 ecx, esi
            //   57                   | push                edi

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