SYMBOLCOMMON_NAMEaka. SYNONYMS
win.himera_loader (Back to overview)

Himera Loader


There is no description at this point.

References
2020-05-12Twitter (@James_inthe_box)James_inthe_box
@online{jamesinthebox:20200512:himera:39130f2, author = {James_inthe_box}, title = {{Tweet on Himera Loader}}, date = {2020-05-12}, organization = {Twitter (@James_inthe_box)}, url = {https://twitter.com/James_inthe_box/status/1260191589789392898}, language = {English}, urldate = {2020-05-18} } Tweet on Himera Loader
Himera Loader
Yara Rules
[TLP:WHITE] win_himera_loader_auto (20230407 | Detects win.himera_loader.)
rule win_himera_loader_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-03-28"
        version = "1"
        description = "Detects win.himera_loader."
        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.himera_loader"
        malpedia_rule_date = "20230328"
        malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d"
        malpedia_version = "20230407"
        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 = { 8b5508 52 e8???????? 83c404 b908000000 }
            // n = 5, score = 200
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   52                   | push                edx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   b908000000           | mov                 ecx, 8

        $sequence_1 = { 8d85f081ffff 50 8d8d1482ffff 51 8d951082ffff 52 }
            // n = 6, score = 200
            //   8d85f081ffff         | lea                 eax, [ebp - 0x7e10]
            //   50                   | push                eax
            //   8d8d1482ffff         | lea                 ecx, [ebp - 0x7dec]
            //   51                   | push                ecx
            //   8d951082ffff         | lea                 edx, [ebp - 0x7df0]
            //   52                   | push                edx

        $sequence_2 = { e8???????? 33c0 88856282ffff 8d8d6282ffff e8???????? 8bc8 e8???????? }
            // n = 7, score = 200
            //   e8????????           |                     
            //   33c0                 | xor                 eax, eax
            //   88856282ffff         | mov                 byte ptr [ebp - 0x7d9e], al
            //   8d8d6282ffff         | lea                 ecx, [ebp - 0x7d9e]
            //   e8????????           |                     
            //   8bc8                 | mov                 ecx, eax
            //   e8????????           |                     

        $sequence_3 = { 8945f0 50 8d45f4 64a300000000 894ddc c745d80f000000 c645e06d }
            // n = 7, score = 200
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   50                   | push                eax
            //   8d45f4               | lea                 eax, [ebp - 0xc]
            //   64a300000000         | mov                 dword ptr fs:[0], eax
            //   894ddc               | mov                 dword ptr [ebp - 0x24], ecx
            //   c745d80f000000       | mov                 dword ptr [ebp - 0x28], 0xf
            //   c645e06d             | mov                 byte ptr [ebp - 0x20], 0x6d

        $sequence_4 = { 6bc212 8b4d08 0fb71401 52 e8???????? 83c408 }
            // n = 6, score = 200
            //   6bc212               | imul                eax, edx, 0x12
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   0fb71401             | movzx               edx, word ptr [ecx + eax]
            //   52                   | push                edx
            //   e8????????           |                     
            //   83c408               | add                 esp, 8

        $sequence_5 = { 83c404 3d49514f1a 750e 8b45e8 50 8d4df0 }
            // n = 6, score = 200
            //   83c404               | add                 esp, 4
            //   3d49514f1a           | cmp                 eax, 0x1a4f5149
            //   750e                 | jne                 0x10
            //   8b45e8               | mov                 eax, dword ptr [ebp - 0x18]
            //   50                   | push                eax
            //   8d4df0               | lea                 ecx, [ebp - 0x10]

        $sequence_6 = { c645dc4f c645dd42 c645de63 c645df4b c645e043 }
            // n = 5, score = 200
            //   c645dc4f             | mov                 byte ptr [ebp - 0x24], 0x4f
            //   c645dd42             | mov                 byte ptr [ebp - 0x23], 0x42
            //   c645de63             | mov                 byte ptr [ebp - 0x22], 0x63
            //   c645df4b             | mov                 byte ptr [ebp - 0x21], 0x4b
            //   c645e043             | mov                 byte ptr [ebp - 0x20], 0x43

        $sequence_7 = { 8d8dc0feffff 51 8d8dccfeffff e8???????? 8985d0feffff 83bdd0feffff00 7505 }
            // n = 7, score = 200
            //   8d8dc0feffff         | lea                 ecx, [ebp - 0x140]
            //   51                   | push                ecx
            //   8d8dccfeffff         | lea                 ecx, [ebp - 0x134]
            //   e8????????           |                     
            //   8985d0feffff         | mov                 dword ptr [ebp - 0x130], eax
            //   83bdd0feffff00       | cmp                 dword ptr [ebp - 0x130], 0
            //   7505                 | jne                 7

        $sequence_8 = { 83e801 0f85b1000000 8b4508 dd00 ebc2 c745e4483f4200 eb19 }
            // n = 7, score = 200
            //   83e801               | sub                 eax, 1
            //   0f85b1000000         | jne                 0xb7
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   dd00                 | fld                 qword ptr [eax]
            //   ebc2                 | jmp                 0xffffffc4
            //   c745e4483f4200       | mov                 dword ptr [ebp - 0x1c], 0x423f48
            //   eb19                 | jmp                 0x1b

        $sequence_9 = { e8???????? 83c408 8b4dfc 66894104 6a03 }
            // n = 5, score = 200
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   66894104             | mov                 word ptr [ecx + 4], ax
            //   6a03                 | push                3

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