SYMBOLCOMMON_NAMEaka. SYNONYMS
win.carrotbat (Back to overview)

CarrotBat

VTCollection    

There is no description at this point.

References
2020-01-23Palo Alto Networks Unit 42Adrian McCabe, Unit42
The Fractured Statue Campaign: U.S. Government Targeted in Spear-Phishing Attacks
CARROTBALL CarrotBat Syscon
2019-11-29Palo Alto Networks Unit 42Josh Grunzweig, Kyle Wilhoit
The Fractured Block Campaign: CARROTBAT Used to Deliver Malware Targeting Southeast Asia
CarrotBat
Yara Rules
[TLP:WHITE] win_carrotbat_auto (20260504 | Detects win.carrotbat.)
rule win_carrotbat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.carrotbat."
        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.carrotbat"
        malpedia_rule_date = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 8bec 8b4508 ff34c5a0d54000 ff15???????? 5d c3 6a0c }
            // n = 7, score = 100
            //   8bec                 | mov                 ebp, esp
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   ff34c5a0d54000       | push                dword ptr [eax*8 + 0x40d5a0]
            //   ff15????????         |                     
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   6a0c                 | push                0xc

        $sequence_1 = { 668b4c4310 66890c4584ec4000 40 ebe8 33c0 8945e4 3d01010000 }
            // n = 7, score = 100
            //   668b4c4310           | mov                 cx, word ptr [ebx + eax*2 + 0x10]
            //   66890c4584ec4000     | mov                 word ptr [eax*2 + 0x40ec84], cx
            //   40                   | inc                 eax
            //   ebe8                 | jmp                 0xffffffea
            //   33c0                 | xor                 eax, eax
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   3d01010000           | cmp                 eax, 0x101

        $sequence_2 = { eb05 68???????? 8d85f8feffff 50 8d85f4fdffff e8???????? }
            // n = 6, score = 100
            //   eb05                 | jmp                 7
            //   68????????           |                     
            //   8d85f8feffff         | lea                 eax, [ebp - 0x108]
            //   50                   | push                eax
            //   8d85f4fdffff         | lea                 eax, [ebp - 0x20c]
            //   e8????????           |                     

        $sequence_3 = { 42 3bd1 7cf1 8b550c 8d7201 8a1a 42 }
            // n = 7, score = 100
            //   42                   | inc                 edx
            //   3bd1                 | cmp                 edx, ecx
            //   7cf1                 | jl                  0xfffffff3
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   8d7201               | lea                 esi, [edx + 1]
            //   8a1a                 | mov                 bl, byte ptr [edx]
            //   42                   | inc                 edx

        $sequence_4 = { 46 3bf2 7cf2 5f 03d1 5e }
            // n = 6, score = 100
            //   46                   | inc                 esi
            //   3bf2                 | cmp                 esi, edx
            //   7cf2                 | jl                  0xfffffff4
            //   5f                   | pop                 edi
            //   03d1                 | add                 edx, ecx
            //   5e                   | pop                 esi

        $sequence_5 = { 8a1a 42 84db 75f9 2bd6 33f6 85d2 }
            // n = 7, score = 100
            //   8a1a                 | mov                 bl, byte ptr [edx]
            //   42                   | inc                 edx
            //   84db                 | test                bl, bl
            //   75f9                 | jne                 0xfffffffb
            //   2bd6                 | sub                 edx, esi
            //   33f6                 | xor                 esi, esi
            //   85d2                 | test                edx, edx

        $sequence_6 = { 84c0 75f8 6a1a 59 be???????? }
            // n = 5, score = 100
            //   84c0                 | test                al, al
            //   75f8                 | jne                 0xfffffffa
            //   6a1a                 | push                0x1a
            //   59                   | pop                 ecx
            //   be????????           |                     

        $sequence_7 = { 68???????? 50 e8???????? 6a02 8bf8 6af8 }
            // n = 6, score = 100
            //   68????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     
            //   6a02                 | push                2
            //   8bf8                 | mov                 edi, eax
            //   6af8                 | push                -8

        $sequence_8 = { 8dbdf4f9ffff a5 a5 a5 8d85f4fdffff }
            // n = 5, score = 100
            //   8dbdf4f9ffff         | lea                 edi, [ebp - 0x60c]
            //   a5                   | movsd               dword ptr es:[edi], dword ptr [esi]
            //   a5                   | movsd               dword ptr es:[edi], dword ptr [esi]
            //   a5                   | movsd               dword ptr es:[edi], dword ptr [esi]
            //   8d85f4fdffff         | lea                 eax, [ebp - 0x20c]

        $sequence_9 = { 57 e8???????? e8???????? 6803010000 8d85f9feffff 6a00 50 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   e8????????           |                     
            //   e8????????           |                     
            //   6803010000           | push                0x103
            //   8d85f9feffff         | lea                 eax, [ebp - 0x107]
            //   6a00                 | push                0
            //   50                   | push                eax

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