SYMBOLCOMMON_NAMEaka. SYNONYMS
win.bughatch (Back to overview)

BUGHATCH


There is no description at this point.

References
2022-09-09ElasticSalim Bitam
@online{bitam:20220909:bughatch:438e7ac, author = {Salim Bitam}, title = {{BUGHATCH Malware Analysis}}, date = {2022-09-09}, organization = {Elastic}, url = {https://www.elastic.co/security-labs/bughatch-malware-analysis}, language = {English}, urldate = {2022-09-13} } BUGHATCH Malware Analysis
BUGHATCH
Yara Rules
[TLP:WHITE] win_bughatch_auto (20230125 | Detects win.bughatch.)
rule win_bughatch_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.bughatch."
        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.bughatch"
        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 = { 50 e8???????? 83c404 8945fc 68???????? ff15???????? }
            // n = 6, score = 100
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   68????????           |                     
            //   ff15????????         |                     

        $sequence_1 = { 668b85bcfeffff 668902 8b4d08 668b95c0feffff 66895102 8b4508 8b8dc4feffff }
            // n = 7, score = 100
            //   668b85bcfeffff       | mov                 ax, word ptr [ebp - 0x144]
            //   668902               | mov                 word ptr [edx], ax
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   668b95c0feffff       | mov                 dx, word ptr [ebp - 0x140]
            //   66895102             | mov                 word ptr [ecx + 2], dx
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   8b8dc4feffff         | mov                 ecx, dword ptr [ebp - 0x13c]

        $sequence_2 = { 8b45f4 50 e8???????? 83c404 8945f0 8b4df0 894dfc }
            // n = 7, score = 100
            //   8b45f4               | mov                 eax, dword ptr [ebp - 0xc]
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   8b4df0               | mov                 ecx, dword ptr [ebp - 0x10]
            //   894dfc               | mov                 dword ptr [ebp - 4], ecx

        $sequence_3 = { e8???????? 83c40c 8945e0 8b45e4 50 ff15???????? 8b4df8 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8945e0               | mov                 dword ptr [ebp - 0x20], eax
            //   8b45e4               | mov                 eax, dword ptr [ebp - 0x1c]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]

        $sequence_4 = { e8???????? 48 8b542428 48 8d4c2430 e8???????? 33c9 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   48                   | dec                 eax
            //   8b542428             | mov                 edx, dword ptr [esp + 0x28]
            //   48                   | dec                 eax
            //   8d4c2430             | lea                 ecx, [esp + 0x30]
            //   e8????????           |                     
            //   33c9                 | xor                 ecx, ecx

        $sequence_5 = { 8945f8 6a00 8b4df4 51 8b55d8 52 8b45f8 }
            // n = 7, score = 100
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   6a00                 | push                0
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]
            //   51                   | push                ecx
            //   8b55d8               | mov                 edx, dword ptr [ebp - 0x28]
            //   52                   | push                edx
            //   8b45f8               | mov                 eax, dword ptr [ebp - 8]

        $sequence_6 = { 51 8b55e4 52 ff15???????? 837d2400 7437 }
            // n = 6, score = 100
            //   51                   | push                ecx
            //   8b55e4               | mov                 edx, dword ptr [ebp - 0x1c]
            //   52                   | push                edx
            //   ff15????????         |                     
            //   837d2400             | cmp                 dword ptr [ebp + 0x24], 0
            //   7437                 | je                  0x39

        $sequence_7 = { 3d64860000 7404 33c0 eb73 4c }
            // n = 5, score = 100
            //   3d64860000           | cmp                 eax, 0x8664
            //   7404                 | je                  6
            //   33c0                 | xor                 eax, eax
            //   eb73                 | jmp                 0x75
            //   4c                   | dec                 esp

        $sequence_8 = { c705????????03000100 ff15???????? a3???????? 837d1400 7408 }
            // n = 5, score = 100
            //   c705????????03000100     |     
            //   ff15????????         |                     
            //   a3????????           |                     
            //   837d1400             | cmp                 dword ptr [ebp + 0x14], 0
            //   7408                 | je                  0xa

        $sequence_9 = { 6a00 8b4d0c 51 8b5508 52 8b45ec 50 }
            // n = 7, score = 100
            //   6a00                 | push                0
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   51                   | push                ecx
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   52                   | push                edx
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]
            //   50                   | push                eax

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