SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bamital (Back to overview)

Bamital

VTCollection    

There is no description at this point.

References
2013-02-22MicrosoftJeffrey Meisner
Bamital Botnet Takedown Is Successful; Cleanup Underway
Bamital
2013-01-01SymantecPiotr Krysiuk, Vikram Thakur
Trojan.Bamital
Bamital
Yara Rules
[TLP:WHITE] win_bamital_auto (20260504 | Detects win.bamital.)
rule win_bamital_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.bamital."
        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.bamital"
        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 = { ff75f8 ff7508 e8???????? e8???????? 8b7dfc }
            // n = 5, score = 300
            //   ff75f8               | push                dword ptr [ebp - 8]
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     
            //   e8????????           |                     
            //   8b7dfc               | mov                 edi, dword ptr [ebp - 4]

        $sequence_1 = { f3a4 011d???????? eb04 0bdb 75bc 5b }
            // n = 6, score = 300
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   011d????????         |                     
            //   eb04                 | jmp                 6
            //   0bdb                 | or                  ebx, ebx
            //   75bc                 | jne                 0xffffffbe
            //   5b                   | pop                 ebx

        $sequence_2 = { 2c19 eb13 3c20 720f 3c38 }
            // n = 5, score = 300
            //   2c19                 | sub                 al, 0x19
            //   eb13                 | jmp                 0x15
            //   3c20                 | cmp                 al, 0x20
            //   720f                 | jb                  0x11
            //   3c38                 | cmp                 al, 0x38

        $sequence_3 = { 035d14 ff4d08 037508 33c0 33c9 4e }
            // n = 6, score = 300
            //   035d14               | add                 ebx, dword ptr [ebp + 0x14]
            //   ff4d08               | dec                 dword ptr [ebp + 8]
            //   037508               | add                 esi, dword ptr [ebp + 8]
            //   33c0                 | xor                 eax, eax
            //   33c9                 | xor                 ecx, ecx
            //   4e                   | dec                 esi

        $sequence_4 = { 50 51 6a00 6a00 ff7510 ff75fc }
            // n = 6, score = 300
            //   50                   | push                eax
            //   51                   | push                ecx
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   ff75fc               | push                dword ptr [ebp - 4]

        $sequence_5 = { 49 0bc9 7402 ebe2 }
            // n = 4, score = 300
            //   49                   | dec                 ecx
            //   0bc9                 | or                  ecx, ecx
            //   7402                 | je                  4
            //   ebe2                 | jmp                 0xffffffe4

        $sequence_6 = { c745d800000000 c745f000000000 68f8070000 e8???????? 8945d4 6804010000 }
            // n = 6, score = 300
            //   c745d800000000       | mov                 dword ptr [ebp - 0x28], 0
            //   c745f000000000       | mov                 dword ptr [ebp - 0x10], 0
            //   68f8070000           | push                0x7f8
            //   e8????????           |                     
            //   8945d4               | mov                 dword ptr [ebp - 0x2c], eax
            //   6804010000           | push                0x104

        $sequence_7 = { 52 e8???????? 837dd800 7505 e9???????? }
            // n = 5, score = 300
            //   52                   | push                edx
            //   e8????????           |                     
            //   837dd800             | cmp                 dword ptr [ebp - 0x28], 0
            //   7505                 | jne                 7
            //   e9????????           |                     

        $sequence_8 = { 83c101 51 e8???????? 8945f4 59 }
            // n = 5, score = 300
            //   83c101               | add                 ecx, 1
            //   51                   | push                ecx
            //   e8????????           |                     
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   59                   | pop                 ecx

        $sequence_9 = { 8807 83c701 e2d8 c9 c20800 55 }
            // n = 6, score = 300
            //   8807                 | mov                 byte ptr [edi], al
            //   83c701               | add                 edi, 1
            //   e2d8                 | loop                0xffffffda
            //   c9                   | leave               
            //   c20800               | ret                 8
            //   55                   | push                ebp

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