SYMBOLCOMMON_NAMEaka. SYNONYMS
osx.bella (Back to overview)

Bella

VTCollection    

There is no description at this point.

References
2020-09-01PRODAFT Threat IntelligencePRODAFT
OpBlueRaven: Unveiling Fin7/Carbanak - Part II : BadUSB Attacks
Bella Carbanak FIN7
2017-05-01MalwarebytesThomas Reed
Another OSX.Dok dropper found installing new backdoor
Bella
2017-02-22Github (kai5263499)kai5263499
Bella: A pure python, post-exploitation, data mining tool and remote administration tool for macOS.
Bella
Yara Rules
[TLP:WHITE] osx_bella_auto (20200817 | autogenerated rule brought to you by yara-signator)
rule osx_bella_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-08-17"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.4.0"
        signator_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/osx.bella"
        malpedia_rule_date = "20200817"
        malpedia_hash = "8c895fd01eccb47a6225bcb1a3ba53cbb98644c5"
        malpedia_version = "20200817"
        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 = { ffe0 48 89d1 48 89c3 83f901 0f8580010000 }
            // n = 7, score = 100
            //   ffe0                 | jmp                 eax
            //   48                   | dec                 eax
            //   89d1                 | mov                 ecx, edx
            //   48                   | dec                 eax
            //   89c3                 | mov                 ebx, eax
            //   83f901               | cmp                 ecx, 1
            //   0f8580010000         | jne                 0x186

        $sequence_1 = { 89c7 48 8b3d???????? 48 8b05???????? 49 }
            // n = 6, score = 100
            //   89c7                 | mov                 edi, eax
            //   48                   | dec                 eax
            //   8b3d????????         |                     
            //   48                   | dec                 eax
            //   8b05????????         |                     
            //   49                   | dec                 ecx

        $sequence_2 = { 897dc0 48 8b3d???????? 48 8b35???????? 4c }
            // n = 6, score = 100
            //   897dc0               | mov                 dword ptr [ebp - 0x40], edi
            //   48                   | dec                 eax
            //   8b3d????????         |                     
            //   48                   | dec                 eax
            //   8b35????????         |                     
            //   4c                   | dec                 esp

        $sequence_3 = { c745cc00000000 31c0 48 89df 41 ffd4 48 }
            // n = 7, score = 100
            //   c745cc00000000       | mov                 dword ptr [ebp - 0x34], 0
            //   31c0                 | xor                 eax, eax
            //   48                   | dec                 eax
            //   89df                 | mov                 edi, ebx
            //   41                   | inc                 ecx
            //   ffd4                 | call                esp
            //   48                   | dec                 eax

        $sequence_4 = { 8b15???????? 4c 8d059c270000 4c 8d0d40140000 31c0 }
            // n = 6, score = 100
            //   8b15????????         |                     
            //   4c                   | dec                 esp
            //   8d059c270000         | lea                 eax, [0x279c]
            //   4c                   | dec                 esp
            //   8d0d40140000         | lea                 ecx, [0x1440]
            //   31c0                 | xor                 eax, eax

        $sequence_5 = { 89ff 48 89c6 4c 89e1 4d 89e8 }
            // n = 7, score = 100
            //   89ff                 | mov                 edi, edi
            //   48                   | dec                 eax
            //   89c6                 | mov                 esi, eax
            //   4c                   | dec                 esp
            //   89e1                 | mov                 ecx, esp
            //   4d                   | dec                 ebp
            //   89e8                 | mov                 eax, ebp

        $sequence_6 = { 89c5 4c 8965d0 48 8b35???????? }
            // n = 5, score = 100
            //   89c5                 | mov                 ebp, eax
            //   4c                   | dec                 esp
            //   8965d0               | mov                 dword ptr [ebp - 0x30], esp
            //   48                   | dec                 eax
            //   8b35????????         |                     

        $sequence_7 = { 53 48 83ec28 48 897dc8 48 8b3d???????? }
            // n = 7, score = 100
            //   53                   | push                ebx
            //   48                   | dec                 eax
            //   83ec28               | sub                 esp, 0x28
            //   48                   | dec                 eax
            //   897dc8               | mov                 dword ptr [ebp - 0x38], edi
            //   48                   | dec                 eax
            //   8b3d????????         |                     

        $sequence_8 = { 8b35???????? 48 8d15cf260000 31c0 41 ffd4 48 }
            // n = 7, score = 100
            //   8b35????????         |                     
            //   48                   | dec                 eax
            //   8d15cf260000         | lea                 edx, [0x26cf]
            //   31c0                 | xor                 eax, eax
            //   41                   | inc                 ecx
            //   ffd4                 | call                esp
            //   48                   | dec                 eax

        $sequence_9 = { 8b0d???????? 48 8b15???????? 4c 8d2deb2c0000 }
            // n = 5, score = 100
            //   8b0d????????         |                     
            //   48                   | dec                 eax
            //   8b15????????         |                     
            //   4c                   | dec                 esp
            //   8d2deb2c0000         | lea                 ebp, [0x2ceb]

    condition:
        7 of them and filesize < 380864
}
[TLP:WHITE] osx_bella_w0   (20200915 | Bella MacOS/OSX backdoor)
rule osx_bella_w0 {
    meta:
        description = "Bella MacOS/OSX backdoor"
        author = "John Lambert @JohnLaTwC"
        reference = "https://twitter.com/JohnLaTwC/status/911998777182924801"
        date = "2018-02-23"
        hash = "4288a81779a492b5b02bad6e90b2fa6212fa5f8ee87cc5ec9286ab523fc02446"
        hash = "cec7be2126d388707907b4f9d681121fd1e3ca9f828c029b02340ab1331a5524"
        hash = "e1cf136be50c4486ae8f5e408af80b90229f3027511b4beed69495a042af95be"
        source = "https://github.com/Neo23x0/signature-base/blob/master/yara/gen_osx_backdoor_bella.yar"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/osx.bella"
        malpedia_rule_date = "20200915"
        malpedia_hash = "8c895fd01eccb47a6225bcb1a3ba53cbb98644c5"
        malpedia_version = "20200915"
        malpedia_license = "CC BY-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    strings:
        $h1 = "#!/usr/bin/env"

        //prereqs
        $s0 = "subprocess" fullword ascii
        $s1 = "import sys" fullword ascii
        $s2 = "shutil" fullword ascii

        $p0 = "create_bella_helpers" fullword ascii
        $p1 = "is_there_SUID_shell" fullword ascii
        $p2 = "BELLA IS NOW RUNNING" fullword ascii
        $p3 = "SELECT * FROM bella WHERE id" fullword ascii

        $subpart1_a = "inject_payloads" fullword ascii
        $subpart1_b = "check_if_payloads" fullword ascii
        $subpart1_c = "updateDB" fullword ascii

        $subpart2_a = "appleIDPhishHelp" fullword ascii
        $subpart2_b = "appleIDPhish" fullword ascii
        $subpart2_c = "iTunes" fullword ascii
    condition:
        uint32(0) == 0x752f2123
        and $h1 at 0
        and filesize < 120KB
        and @s0[1] < 100
        and @s1[1] < 100
        and @s2[1] < 100
        and
            1 of ($p*)
            or all of ($subpart1_*)
            or all of ($subpart2_*)
}
Download all Yara Rules