SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bamital (Back to overview)

Bamital

VTCollection    

There is no description at this point.

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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { b800000000 c9 c20400 55 8bec 83c4f0 }
            // n = 6, score = 300
            //   b800000000           | mov                 eax, 0
            //   c9                   | leave               
            //   c20400               | ret                 4
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   83c4f0               | add                 esp, -0x10

        $sequence_1 = { b800000000 803a00 7408 83c201 83c001 ebf3 5a }
            // n = 7, score = 300
            //   b800000000           | mov                 eax, 0
            //   803a00               | cmp                 byte ptr [edx], 0
            //   7408                 | je                  0xa
            //   83c201               | add                 edx, 1
            //   83c001               | add                 eax, 1
            //   ebf3                 | jmp                 0xfffffff5
            //   5a                   | pop                 edx

        $sequence_2 = { 80ec19 8ac4 8807 83c701 e2d8 c9 c20800 }
            // n = 7, score = 300
            //   80ec19               | sub                 ah, 0x19
            //   8ac4                 | mov                 al, ah
            //   8807                 | mov                 byte ptr [edi], al
            //   83c701               | add                 edi, 1
            //   e2d8                 | loop                0xffffffda
            //   c9                   | leave               
            //   c20800               | ret                 8

        $sequence_3 = { e8???????? 83c708 57 ff7008 e8???????? }
            // n = 5, score = 300
            //   e8????????           |                     
            //   83c708               | add                 edi, 8
            //   57                   | push                edi
            //   ff7008               | push                dword ptr [eax + 8]
            //   e8????????           |                     

        $sequence_4 = { 8b4d0c 8b7d08 8a07 3c39 7208 }
            // n = 5, score = 300
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   8a07                 | mov                 al, byte ptr [edi]
            //   3c39                 | cmp                 al, 0x39
            //   7208                 | jb                  0xa

        $sequence_5 = { 3c20 720f 3c38 770b 2c1f b47e }
            // n = 6, score = 300
            //   3c20                 | cmp                 al, 0x20
            //   720f                 | jb                  0x11
            //   3c38                 | cmp                 al, 0x38
            //   770b                 | ja                  0xd
            //   2c1f                 | sub                 al, 0x1f
            //   b47e                 | mov                 ah, 0x7e

        $sequence_6 = { 8945f8 8b4df8 2b4d08 51 }
            // n = 4, score = 300
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]
            //   2b4d08               | sub                 ecx, dword ptr [ebp + 8]
            //   51                   | push                ecx

        $sequence_7 = { f3ab eb0c 8bcb f3a4 011d???????? }
            // n = 5, score = 300
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   eb0c                 | jmp                 0xe
            //   8bcb                 | mov                 ecx, ebx
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   011d????????         |                     

        $sequence_8 = { 8bec 83c4f0 ff7508 e8???????? 8945f0 50 }
            // n = 6, score = 300
            //   8bec                 | mov                 ebp, esp
            //   83c4f0               | add                 esp, -0x10
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   50                   | push                eax

        $sequence_9 = { 0420 38e0 75e1 83c701 83c101 4a }
            // n = 6, score = 300
            //   0420                 | add                 al, 0x20
            //   38e0                 | cmp                 al, ah
            //   75e1                 | jne                 0xffffffe3
            //   83c701               | add                 edi, 1
            //   83c101               | add                 ecx, 1
            //   4a                   | dec                 edx

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