SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bbsrat (Back to overview)

BBSRAT


There is no description at this point.

References
2022-05-09cocomelonccocomelonc
@online{cocomelonc:20220509:malware:1cdee23, author = {cocomelonc}, title = {{Malware development: persistence - part 4. Windows services. Simple C++ example.}}, date = {2022-05-09}, organization = {cocomelonc}, url = {https://cocomelonc.github.io/tutorial/2022/05/09/malware-pers-4.html}, language = {English}, urldate = {2022-12-01} } Malware development: persistence - part 4. Windows services. Simple C++ example.
Anchor AppleJeus Attor BBSRAT BlackEnergy Carbanak Cobalt Strike DuQu
2020-06-03Trend MicroDaniel Lunghi
@techreport{lunghi:20200603:how:4f28e63, author = {Daniel Lunghi}, title = {{How to perform long term monitoring of careless threat actors}}, date = {2020-06-03}, institution = {Trend Micro}, url = {https://www.sstic.org/media/SSTIC2020/SSTIC-actes/pivoter_tel_bernard_ou_comment_monitorer_des_attaq/SSTIC2020-Slides-pivoter_tel_bernard_ou_comment_monitorer_des_attaquants_ngligents-lunghi.pdf}, language = {English}, urldate = {2020-06-05} } How to perform long term monitoring of careless threat actors
BBSRAT HyperBro Trochilus RAT
2020-05-06Medium Asuna AmawakaAsuna Amawaka
@online{amawaka:20200506:shadows:889fc47, author = {Asuna Amawaka}, title = {{Shadows with a chance of BlackNix}}, date = {2020-05-06}, organization = {Medium Asuna Amawaka}, url = {https://medium.com/insomniacs/shadows-with-a-chance-of-blacknix-badc0f2f41cb}, language = {English}, urldate = {2021-02-18} } Shadows with a chance of BlackNix
BBSRAT BlackNix RAT
2020-03-16Medium Asuna AmawakaAsuna Amawaka
@online{amawaka:20200316:shadows:2ee247e, author = {Asuna Amawaka}, title = {{Shadows in the Rain}}, date = {2020-03-16}, organization = {Medium Asuna Amawaka}, url = {https://medium.com/insomniacs/shadows-in-the-rain-a16efaf21aae}, language = {English}, urldate = {2021-02-18} } Shadows in the Rain
BBSRAT
2016-03-14Palo Alto Networks Unit 42Josh Grunzweig, Robert Falcone, Bryan Lee
@online{grunzweig:20160314:digital:b6ddc60, author = {Josh Grunzweig and Robert Falcone and Bryan Lee}, title = {{Digital Quartermaster Scenario Demonstrated in Attacks Against the Mongolian Government}}, date = {2016-03-14}, organization = {Palo Alto Networks Unit 42}, url = {https://researchcenter.paloaltonetworks.com/2016/03/digital-quartermaster-scenario-demonstrated-in-attacks-against-the-mongolian-government/}, language = {English}, urldate = {2019-12-20} } Digital Quartermaster Scenario Demonstrated in Attacks Against the Mongolian Government
BBSRAT CMSTAR
Yara Rules
[TLP:WHITE] win_bbsrat_auto (20230125 | Detects win.bbsrat.)
rule win_bbsrat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.bbsrat."
        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.bbsrat"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 68???????? b900040000 e8???????? 8b4c245c 83c40c 6a00 680001c884 }
            // n = 7, score = 100
            //   68????????           |                     
            //   b900040000           | mov                 ecx, 0x400
            //   e8????????           |                     
            //   8b4c245c             | mov                 ecx, dword ptr [esp + 0x5c]
            //   83c40c               | add                 esp, 0xc
            //   6a00                 | push                0
            //   680001c884           | push                0x84c80100

        $sequence_1 = { 6800020000 51 8d942434040000 52 ffd6 8b8424301e0000 }
            // n = 6, score = 100
            //   6800020000           | push                0x200
            //   51                   | push                ecx
            //   8d942434040000       | lea                 edx, [esp + 0x434]
            //   52                   | push                edx
            //   ffd6                 | call                esi
            //   8b8424301e0000       | mov                 eax, dword ptr [esp + 0x1e30]

        $sequence_2 = { 52 e8???????? 56 e8???????? 83c404 5e b801000000 }
            // n = 7, score = 100
            //   52                   | push                edx
            //   e8????????           |                     
            //   56                   | push                esi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   5e                   | pop                 esi
            //   b801000000           | mov                 eax, 1

        $sequence_3 = { 6a00 51 ff15???????? 85f6 0f85bc000000 e8???????? 33c0 }
            // n = 7, score = 100
            //   6a00                 | push                0
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   85f6                 | test                esi, esi
            //   0f85bc000000         | jne                 0xc2
            //   e8????????           |                     
            //   33c0                 | xor                 eax, eax

        $sequence_4 = { 8bec c7451800000000 c7451400000000 c7451000000000 c74508???????? 833d????????00 7516 }
            // n = 7, score = 100
            //   8bec                 | mov                 ebp, esp
            //   c7451800000000       | mov                 dword ptr [ebp + 0x18], 0
            //   c7451400000000       | mov                 dword ptr [ebp + 0x14], 0
            //   c7451000000000       | mov                 dword ptr [ebp + 0x10], 0
            //   c74508????????       |                     
            //   833d????????00       |                     
            //   7516                 | jne                 0x18

        $sequence_5 = { 8bf8 83ffff 0f84e3000000 6a02 }
            // n = 4, score = 100
            //   8bf8                 | mov                 edi, eax
            //   83ffff               | cmp                 edi, -1
            //   0f84e3000000         | je                  0xe9
            //   6a02                 | push                2

        $sequence_6 = { 89442470 89442474 89442478 8944247c 89842480000000 8984248c000000 89842490000000 }
            // n = 7, score = 100
            //   89442470             | mov                 dword ptr [esp + 0x70], eax
            //   89442474             | mov                 dword ptr [esp + 0x74], eax
            //   89442478             | mov                 dword ptr [esp + 0x78], eax
            //   8944247c             | mov                 dword ptr [esp + 0x7c], eax
            //   89842480000000       | mov                 dword ptr [esp + 0x80], eax
            //   8984248c000000       | mov                 dword ptr [esp + 0x8c], eax
            //   89842490000000       | mov                 dword ptr [esp + 0x90], eax

        $sequence_7 = { 57 33f6 bf???????? 833cf5ecc6021001 751e 8d04f5e8c60210 8938 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   33f6                 | xor                 esi, esi
            //   bf????????           |                     
            //   833cf5ecc6021001     | cmp                 dword ptr [esi*8 + 0x1002c6ec], 1
            //   751e                 | jne                 0x20
            //   8d04f5e8c60210       | lea                 eax, [esi*8 + 0x1002c6e8]
            //   8938                 | mov                 dword ptr [eax], edi

        $sequence_8 = { c7451400010000 833d????????00 7516 68???????? a1???????? 50 }
            // n = 6, score = 100
            //   c7451400010000       | mov                 dword ptr [ebp + 0x14], 0x100
            //   833d????????00       |                     
            //   7516                 | jne                 0x18
            //   68????????           |                     
            //   a1????????           |                     
            //   50                   | push                eax

        $sequence_9 = { 8d542428 52 6a00 6a00 6a00 6a01 6a00 }
            // n = 7, score = 100
            //   8d542428             | lea                 edx, [esp + 0x28]
            //   52                   | push                edx
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a01                 | push                1
            //   6a00                 | push                0

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