SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bangat (Back to overview)

bangat

Actor(s): Comment Crew

VTCollection    

There is no description at this point.

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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        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 = "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 = { 7fa1 3b0cb5b82b4900 7c98 3b0cb5d82b4900 7f8f 46 83fe06 }
            // n = 7, score = 100
            //   7fa1                 | jg                  0xffffffa3
            //   3b0cb5b82b4900       | cmp                 ecx, dword ptr [esi*4 + 0x492bb8]
            //   7c98                 | jl                  0xffffff9a
            //   3b0cb5d82b4900       | cmp                 ecx, dword ptr [esi*4 + 0x492bd8]
            //   7f8f                 | jg                  0xffffff91
            //   46                   | inc                 esi
            //   83fe06               | cmp                 esi, 6

        $sequence_1 = { 0fbe80704b4700 83c010 c3 f6c4ff 740e c1e808 0fbe80704b4700 }
            // n = 7, score = 100
            //   0fbe80704b4700       | movsx               eax, byte ptr [eax + 0x474b70]
            //   83c010               | add                 eax, 0x10
            //   c3                   | ret                 
            //   f6c4ff               | test                ah, 0xff
            //   740e                 | je                  0x10
            //   c1e808               | shr                 eax, 8
            //   0fbe80704b4700       | movsx               eax, byte ptr [eax + 0x474b70]

        $sequence_2 = { ff248ddc434400 8bc8 4f c1e918 880f 8bd0 4f }
            // n = 7, score = 100
            //   ff248ddc434400       | jmp                 dword ptr [ecx*4 + 0x4443dc]
            //   8bc8                 | mov                 ecx, eax
            //   4f                   | dec                 edi
            //   c1e918               | shr                 ecx, 0x18
            //   880f                 | mov                 byte ptr [edi], cl
            //   8bd0                 | mov                 edx, eax
            //   4f                   | dec                 edi

        $sequence_3 = { 59 3bc7 59 894634 7414 ff762c ff761c }
            // n = 7, score = 100
            //   59                   | pop                 ecx
            //   3bc7                 | cmp                 eax, edi
            //   59                   | pop                 ecx
            //   894634               | mov                 dword ptr [esi + 0x34], eax
            //   7414                 | je                  0x16
            //   ff762c               | push                dword ptr [esi + 0x2c]
            //   ff761c               | push                dword ptr [esi + 0x1c]

        $sequence_4 = { ff75ec ffd6 ff75f4 ff15???????? ff45e8 83c72c 8b45e8 }
            // n = 7, score = 100
            //   ff75ec               | push                dword ptr [ebp - 0x14]
            //   ffd6                 | call                esi
            //   ff75f4               | push                dword ptr [ebp - 0xc]
            //   ff15????????         |                     
            //   ff45e8               | inc                 dword ptr [ebp - 0x18]
            //   83c72c               | add                 edi, 0x2c
            //   8b45e8               | mov                 eax, dword ptr [ebp - 0x18]

        $sequence_5 = { 6a01 50 ff15???????? 03f0 83c410 3b75fc }
            // n = 6, score = 100
            //   6a01                 | push                1
            //   50                   | push                eax
            //   ff15????????         |                     
            //   03f0                 | add                 esi, eax
            //   83c410               | add                 esp, 0x10
            //   3b75fc               | cmp                 esi, dword ptr [ebp - 4]

        $sequence_6 = { 56 57 8b7d08 33d2 3bfa 0f8483070000 8b771c }
            // n = 7, score = 100
            //   56                   | push                esi
            //   57                   | push                edi
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   33d2                 | xor                 edx, edx
            //   3bfa                 | cmp                 edi, edx
            //   0f8483070000         | je                  0x789
            //   8b771c               | mov                 esi, dword ptr [edi + 0x1c]

        $sequence_7 = { 83e10f 8a89b0254900 8808 40 46 3bf3 7cba }
            // n = 7, score = 100
            //   83e10f               | and                 ecx, 0xf
            //   8a89b0254900         | mov                 cl, byte ptr [ecx + 0x4925b0]
            //   8808                 | mov                 byte ptr [eax], cl
            //   40                   | inc                 eax
            //   46                   | inc                 esi
            //   3bf3                 | cmp                 esi, ebx
            //   7cba                 | jl                  0xffffffbc

        $sequence_8 = { bb???????? bf00010000 ff75fc ff15???????? ff75fc 8945dc }
            // n = 6, score = 100
            //   bb????????           |                     
            //   bf00010000           | mov                 edi, 0x100
            //   ff75fc               | push                dword ptr [ebp - 4]
            //   ff15????????         |                     
            //   ff75fc               | push                dword ptr [ebp - 4]
            //   8945dc               | mov                 dword ptr [ebp - 0x24], eax

        $sequence_9 = { 83c40c 8d4df0 e8???????? 50 ffb5bcfeffff ffb5c4feffff }
            // n = 6, score = 100
            //   83c40c               | add                 esp, 0xc
            //   8d4df0               | lea                 ecx, [ebp - 0x10]
            //   e8????????           |                     
            //   50                   | push                eax
            //   ffb5bcfeffff         | push                dword ptr [ebp - 0x144]
            //   ffb5c4feffff         | push                dword ptr [ebp - 0x13c]

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