SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bangat (Back to overview)

bangat

Actor(s): Comment Crew


There is no description at this point.

References
2013-02-20FireEyeMandiant
@online{mandiant:20130220:1:7fa9646, author = {Mandiant}, title = {{APT 1 Malware Arsenal Technical Annex}}, date = {2013-02-20}, organization = {FireEye}, url = {https://www.slideshare.net/YuryChemerkin/appendix-c-digital-the-malware-arsenal}, language = {Mandiant}, urldate = {2020-01-08} } APT 1 Malware Arsenal Technical Annex
bangat
Yara Rules
[TLP:WHITE] win_bangat_auto (20230125 | Detects win.bangat.)
rule win_bangat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        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 = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { ffd6 59 85c0 59 74d4 8d85dcfcffff }
            // n = 6, score = 100
            //   ffd6                 | call                esi
            //   59                   | pop                 ecx
            //   85c0                 | test                eax, eax
            //   59                   | pop                 ecx
            //   74d4                 | je                  0xffffffd6
            //   8d85dcfcffff         | lea                 eax, [ebp - 0x324]

        $sequence_1 = { e8???????? 83c404 85c0 7f29 6864030000 68???????? 68e0000000 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   85c0                 | test                eax, eax
            //   7f29                 | jg                  0x2b
            //   6864030000           | push                0x364
            //   68????????           |                     
            //   68e0000000           | push                0xe0

        $sequence_2 = { c6005c 40 c1fa04 83e20f c60078 40 8a92b0254900 }
            // n = 7, score = 100
            //   c6005c               | mov                 byte ptr [eax], 0x5c
            //   40                   | inc                 eax
            //   c1fa04               | sar                 edx, 4
            //   83e20f               | and                 edx, 0xf
            //   c60078               | mov                 byte ptr [eax], 0x78
            //   40                   | inc                 eax
            //   8a92b0254900         | mov                 dl, byte ptr [edx + 0x4925b0]

        $sequence_3 = { 6880010000 68???????? 6a10 6a66 6a2a e8???????? 83c414 }
            // n = 7, score = 100
            //   6880010000           | push                0x180
            //   68????????           |                     
            //   6a10                 | push                0x10
            //   6a66                 | push                0x66
            //   6a2a                 | push                0x2a
            //   e8????????           |                     
            //   83c414               | add                 esp, 0x14

        $sequence_4 = { 56 50 ff7508 e8???????? 57 891d???????? ff15???????? }
            // n = 7, score = 100
            //   56                   | push                esi
            //   50                   | push                eax
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     
            //   57                   | push                edi
            //   891d????????         |                     
            //   ff15????????         |                     

        $sequence_5 = { 83c8e0 40 bf20000000 2bf8 57 53 55 }
            // n = 7, score = 100
            //   83c8e0               | or                  eax, 0xffffffe0
            //   40                   | inc                 eax
            //   bf20000000           | mov                 edi, 0x20
            //   2bf8                 | sub                 edi, eax
            //   57                   | push                edi
            //   53                   | push                ebx
            //   55                   | push                ebp

        $sequence_6 = { 894c2418 e8???????? 8b542418 8d442418 33c9 3bd5 8b542440 }
            // n = 7, score = 100
            //   894c2418             | mov                 dword ptr [esp + 0x18], ecx
            //   e8????????           |                     
            //   8b542418             | mov                 edx, dword ptr [esp + 0x18]
            //   8d442418             | lea                 eax, [esp + 0x18]
            //   33c9                 | xor                 ecx, ecx
            //   3bd5                 | cmp                 edx, ebp
            //   8b542440             | mov                 edx, dword ptr [esp + 0x40]

        $sequence_7 = { 8b6c245c 8b5c2458 898424d4000000 899424d8000000 8bf5 b917000000 8bc3 }
            // n = 7, score = 100
            //   8b6c245c             | mov                 ebp, dword ptr [esp + 0x5c]
            //   8b5c2458             | mov                 ebx, dword ptr [esp + 0x58]
            //   898424d4000000       | mov                 dword ptr [esp + 0xd4], eax
            //   899424d8000000       | mov                 dword ptr [esp + 0xd8], edx
            //   8bf5                 | mov                 esi, ebp
            //   b917000000           | mov                 ecx, 0x17
            //   8bc3                 | mov                 eax, ebx

        $sequence_8 = { 745c 8b4d68 85ff 51 55 7437 8b4d3c }
            // n = 7, score = 100
            //   745c                 | je                  0x5e
            //   8b4d68               | mov                 ecx, dword ptr [ebp + 0x68]
            //   85ff                 | test                edi, edi
            //   51                   | push                ecx
            //   55                   | push                ebp
            //   7437                 | je                  0x39
            //   8b4d3c               | mov                 ecx, dword ptr [ebp + 0x3c]

        $sequence_9 = { 85c0 0f8454010000 8b5558 b907000000 c7453420110000 c74538f0000000 894d50 }
            // n = 7, score = 100
            //   85c0                 | test                eax, eax
            //   0f8454010000         | je                  0x15a
            //   8b5558               | mov                 edx, dword ptr [ebp + 0x58]
            //   b907000000           | mov                 ecx, 7
            //   c7453420110000       | mov                 dword ptr [ebp + 0x34], 0x1120
            //   c74538f0000000       | mov                 dword ptr [ebp + 0x38], 0xf0
            //   894d50               | mov                 dword ptr [ebp + 0x50], ecx

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