SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bangat (Back to overview)

bangat

Actor(s): Comment Crew

VTCollection    

There is no description at this point.

References
2013-02-20 ⋅ FireEye ⋅ Mandiant
APT 1 Malware Arsenal Technical Annex
bangat
Yara Rules
[TLP:WHITE] win_bangat_auto (20260917 | Detects win.bangat.)
rule win_bangat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.bangat."
        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.bangat"
        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 = { ebb3 ff7510 8d4df0 e8???????? eba6 }
            // n = 5, score = 100
            //   ebb3                 | jmp                 0xffffffb5
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   8d4df0               | lea                 ecx, [ebp - 0x10]
            //   e8????????           |                     
            //   eba6                 | jmp                 0xffffffa8

        $sequence_1 = { 13f0 b811000000 897c2458 8974245c 8984248c000000 c784249000000008ca4700 8bc8 }
            // n = 7, score = 100
            //   13f0                 | adc                 esi, eax
            //   b811000000           | mov                 eax, 0x11
            //   897c2458             | mov                 dword ptr [esp + 0x58], edi
            //   8974245c             | mov                 dword ptr [esp + 0x5c], esi
            //   8984248c000000       | mov                 dword ptr [esp + 0x8c], eax
            //   c784249000000008ca4700     | mov    dword ptr [esp + 0x90], 0x47ca08
            //   8bc8                 | mov                 ecx, eax

        $sequence_2 = { c1ef1a 331cad8cf74700 8b2c958cfe4700 8b5614 33dd 8b2cbd8cfd4700 8b7e10 }
            // n = 7, score = 100
            //   c1ef1a               | shr                 edi, 0x1a
            //   331cad8cf74700       | xor                 ebx, dword ptr [ebp*4 + 0x47f78c]
            //   8b2c958cfe4700       | mov                 ebp, dword ptr [edx*4 + 0x47fe8c]
            //   8b5614               | mov                 edx, dword ptr [esi + 0x14]
            //   33dd                 | xor                 ebx, ebp
            //   8b2cbd8cfd4700       | mov                 ebp, dword ptr [edi*4 + 0x47fd8c]
            //   8b7e10               | mov                 edi, dword ptr [esi + 0x10]

        $sequence_3 = { f3a5 8bc8 83e103 f3a4 8b4558 85c0 7409 }
            // n = 7, score = 100
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8bc8                 | mov                 ecx, eax
            //   83e103               | and                 ecx, 3
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   8b4558               | mov                 eax, dword ptr [ebp + 0x58]
            //   85c0                 | test                eax, eax
            //   7409                 | je                  0xb

        $sequence_4 = { 8b4c2430 8b6c2434 33d1 8b4c2444 8bd9 33dd 8b6c2448 }
            // n = 7, score = 100
            //   8b4c2430             | mov                 ecx, dword ptr [esp + 0x30]
            //   8b6c2434             | mov                 ebp, dword ptr [esp + 0x34]
            //   33d1                 | xor                 edx, ecx
            //   8b4c2444             | mov                 ecx, dword ptr [esp + 0x44]
            //   8bd9                 | mov                 ebx, ecx
            //   33dd                 | xor                 ebx, ebp
            //   8b6c2448             | mov                 ebp, dword ptr [esp + 0x48]

        $sequence_5 = { 0f8f46010000 394d0c 0f8c3d010000 39450c 0f8f34010000 394d1c }
            // n = 6, score = 100
            //   0f8f46010000         | jg                  0x14c
            //   394d0c               | cmp                 dword ptr [ebp + 0xc], ecx
            //   0f8c3d010000         | jl                  0x143
            //   39450c               | cmp                 dword ptr [ebp + 0xc], eax
            //   0f8f34010000         | jg                  0x13a
            //   394d1c               | cmp                 dword ptr [ebp + 0x1c], ecx

        $sequence_6 = { 4d 3882902d4900 74ec 83fd03 7e1b 8a442fff 83e07f }
            // n = 7, score = 100
            //   4d                   | dec                 ebp
            //   3882902d4900         | cmp                 byte ptr [edx + 0x492d90], al
            //   74ec                 | je                  0xffffffee
            //   83fd03               | cmp                 ebp, 3
            //   7e1b                 | jle                 0x1d
            //   8a442fff             | mov                 al, byte ptr [edi + ebp - 1]
            //   83e07f               | and                 eax, 0x7f

        $sequence_7 = { 03de 8b742424 13f7 897c241c 8b7c244c 89742424 8b742448 }
            // n = 7, score = 100
            //   03de                 | add                 ebx, esi
            //   8b742424             | mov                 esi, dword ptr [esp + 0x24]
            //   13f7                 | adc                 esi, edi
            //   897c241c             | mov                 dword ptr [esp + 0x1c], edi
            //   8b7c244c             | mov                 edi, dword ptr [esp + 0x4c]
            //   89742424             | mov                 dword ptr [esp + 0x24], esi
            //   8b742448             | mov                 esi, dword ptr [esp + 0x48]

        $sequence_8 = { 8d85e8fbffff 50 68???????? 57 e8???????? 83c40c 68???????? }
            // n = 7, score = 100
            //   8d85e8fbffff         | lea                 eax, [ebp - 0x418]
            //   50                   | push                eax
            //   68????????           |                     
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   68????????           |                     

        $sequence_9 = { 03f5 13fb 03f2 8b8c24c0000000 8b442440 8b6c2444 8b5c2420 }
            // n = 7, score = 100
            //   03f5                 | add                 esi, ebp
            //   13fb                 | adc                 edi, ebx
            //   03f2                 | add                 esi, edx
            //   8b8c24c0000000       | mov                 ecx, dword ptr [esp + 0xc0]
            //   8b442440             | mov                 eax, dword ptr [esp + 0x40]
            //   8b6c2444             | mov                 ebp, dword ptr [esp + 0x44]
            //   8b5c2420             | mov                 ebx, dword ptr [esp + 0x20]

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