SYMBOLCOMMON_NAMEaka. SYNONYMS
win.manjusaka (Back to overview)

Manjusaka


Cisco Talos compared this RAT to Cobalt Strike and Sliver. Written in Rust.

References
2022-08-19Github (Avast)Avast
@online{avast:20220819:iocs:bc5a832, author = {Avast}, title = {{IOCs for Manjusaka}}, date = {2022-08-19}, organization = {Github (Avast)}, url = {https://github.com/avast/ioc/tree/master/Manjusaka}, language = {English}, urldate = {2022-08-22} } IOCs for Manjusaka
Manjusaka Manjusaka
2022-08-02Cisco TalosAsheer Malhotra, Vitor Ventura
@online{malhotra:20220802:manjusaka:706c14a, author = {Asheer Malhotra and Vitor Ventura}, title = {{Manjusaka: A Chinese sibling of Sliver and Cobalt Strike}}, date = {2022-08-02}, organization = {Cisco Talos}, url = {https://blog.talosintelligence.com/2022/08/manjusaka-offensive-framework.html}, language = {English}, urldate = {2022-08-02} } Manjusaka: A Chinese sibling of Sliver and Cobalt Strike
Manjusaka Cobalt Strike Manjusaka
Yara Rules
[TLP:WHITE] win_manjusaka_auto (20221125 | Detects win.manjusaka.)
rule win_manjusaka_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-11-21"
        version = "1"
        description = "Detects win.manjusaka."
        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.manjusaka"
        malpedia_rule_date = "20221118"
        malpedia_hash = "e0702e2e6d1d00da65c8a29a4ebacd0a4c59e1af"
        malpedia_version = "20221125"
        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 = { f77334 ffc0 3bf8 0f8416010000 488b4318 488b4850 4883c124 }
            // n = 7, score = 100
            //   f77334               | mov                 eax, edi
            //   ffc0                 | dec                 eax
            //   3bf8                 | mov                 dword ptr [ebx + 0xf0], esi
            //   0f8416010000         | mov                 edi, edx
            //   488b4318             | dec                 eax
            //   488b4850             | mov                 dword ptr [ebp - 0x20], eax
            //   4883c124             | dec                 esp

        $sequence_1 = { 7cdd 85db 7409 ffc1 46883438 48ffc0 42c6043800 }
            // n = 7, score = 100
            //   7cdd                 | call                dword ptr [ebp + 0x20]
            //   85db                 | dec                 eax
            //   7409                 | lea                 eax, [esp + 0x50]
            //   ffc1                 | dec                 eax
            //   46883438             | cmp                 dword ptr [eax + 8], 0
            //   48ffc0               | je                  0x1351
            //   42c6043800           | dec                 esp

        $sequence_2 = { ba0e000000 eb08 8b7604 ba25000000 33c0 4533c9 448bc6 }
            // n = 7, score = 100
            //   ba0e000000           | dec                 esp
            //   eb08                 | mov                 esp, dword ptr [esp + 0x40]
            //   8b7604               | mov                 dword ptr [esp + 0xe8], 0
            //   ba25000000           | mov                 ecx, 2
            //   33c0                 | xor                 edx, edx
            //   4533c9               | mov                 ebp, 2
            //   448bc6               | je                  0x4f2

        $sequence_3 = { e8???????? 488d8f00010000 e8???????? 488b0d???????? 31d2 4989f8 e8???????? }
            // n = 7, score = 100
            //   e8????????           |                     
            //   488d8f00010000       | setne               cl
            //   e8????????           |                     
            //   488b0d????????       |                     
            //   31d2                 | mov                 ebx, ecx
            //   4989f8               | dec                 eax
            //   e8????????           |                     

        $sequence_4 = { f6474020 0f85b6010000 488bd7 498bcf e8???????? 4533c0 85c0 }
            // n = 7, score = 100
            //   f6474020             | cmp                 eax, 0x201
            //   0f85b6010000         | je                  0x5b
            //   488bd7               | cmp                 eax, 0x11
            //   498bcf               | jne                 0xa1
            //   e8????????           |                     
            //   4533c0               | or                  edx, 0xffffffff
            //   85c0                 | dec                 eax

        $sequence_5 = { ebe0 488b4c2468 458bcc 48897c2420 4c8bc6 41f6c624 0f848e000000 }
            // n = 7, score = 100
            //   ebe0                 | mov                 dword ptr [esp + 0x40], edx
            //   488b4c2468           | cmove               eax, edi
            //   458bcc               | dec                 ecx
            //   48897c2420           | cmovne              ebp, esp
            //   4c8bc6               | mov                 dword ptr [esp + 0xb0], eax
            //   41f6c624             | mov                 eax, dword ptr [ecx + 8]
            //   0f848e000000         | dec                 ecx

        $sequence_6 = { f3410f7f06 4885c9 7425 488b0d???????? 31d2 0f28742440 4883c450 }
            // n = 7, score = 100
            //   f3410f7f06           | inc                 ecx
            //   4885c9               | movzx               eax, byte ptr [ebp]
            //   7425                 | inc                 ecx
            //   488b0d????????       |                     
            //   31d2                 | mov                 esi, 1
            //   0f28742440           | cmp                 ebx, eax
            //   4883c450             | je                  0x32d

        $sequence_7 = { f20f58d8 4b8d0c01 4801fa 4829d1 66480f6ec1 660f62c1 660f5cc2 }
            // n = 7, score = 100
            //   f20f58d8             | je                  0x292
            //   4b8d0c01             | or                  edx, 0xffffffff
            //   4801fa               | movzx               eax, bl
            //   4829d1               | inc                 eax
            //   66480f6ec1           | test                ch, ch
            //   660f62c1             | cmovne              eax, edx
            //   660f5cc2             | mov                 ecx, esi

        $sequence_8 = { 81fa78010000 7516 0fb7490a 488b942478090000 663b4a0a 0f855d050000 6685c0 }
            // n = 7, score = 100
            //   81fa78010000         | test                ecx, ecx
            //   7516                 | je                  0x1a9
            //   0fb7490a             | dec                 ecx
            //   488b942478090000     | mov                 edx, edx
            //   663b4a0a             | dec                 ecx
            //   0f855d050000         | sub                 ebx, edx
            //   6685c0               | nop                 dword ptr [eax]

        $sequence_9 = { 888c2430040000 8b842488030000 8b8c248b030000 898c2434040000 89842431040000 e8???????? 89d6 }
            // n = 7, score = 100
            //   888c2430040000       | ret                 
            //   8b842488030000       | dec                 eax
            //   8b8c248b030000       | lea                 edx, [0x1373b4]
            //   898c2434040000       | pop                 ebx
            //   89842431040000       | pop                 ebp
            //   e8????????           |                     
            //   89d6                 | pop                 edi

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