win.molerat_loader (Back to overview)

Molerat Loader

Actor(s): Molerats


There is no description at this point.

References
2017-03-14 ⋅ ClearSkyClearSky Research Team
@online{team:20170314:operation:38f832c, author = {ClearSky Research Team}, title = {{Operation Electric Powder – Who is targeting Israel Electric Company?}}, date = {2017-03-14}, organization = {ClearSky}, url = {http://www.clearskysec.com/iec/}, language = {English}, urldate = {2020-01-13} } Operation Electric Powder – Who is targeting Israel Electric Company?
Molerat Loader
Yara Rules
[TLP:WHITE] win_molerat_loader_auto (20190204 | autogenerated rule brought to you by yara-signator)
rule win_molerat_loader_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2019-11-26"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator 0.1a"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.molerat_loader"
        malpedia_version = "20190204"
        malpedia_license = "CC BY-NC-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 / approach will be published in the near future 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 = { e8???????? 8d4dac c645fc0a e8???????? c645fc08 8b45cc }
            // n = 6, score = 100
            //   e8????????           |                     
            //   8d4dac               | lea                 ecx, [ebp - 0x54]
            //   c645fc0a             | mov                 byte ptr [ebp - 4], 0xa
            //   e8????????           |                     
            //   c645fc08             | mov                 byte ptr [ebp - 4], 8
            //   8b45cc               | mov                 eax, dword ptr [ebp - 0x34]

        $sequence_1 = { 8bec 56 ff7508 8bf1 e8???????? c706009c4300 8bc6 }
            // n = 7, score = 100
            //   8bec                 | mov                 ebp, esp
            //   56                   | push                esi
            //   ff7508               | push                dword ptr [ebp + 8]
            //   8bf1                 | mov                 esi, ecx
            //   e8????????           |                     
            //   c706009c4300         | mov                 dword ptr [esi], 0x439c00
            //   8bc6                 | mov                 eax, esi

        $sequence_2 = { 8bf1 6826d84000 b908564400 e8???????? 85c0 7505 }
            // n = 6, score = 100
            //   8bf1                 | mov                 esi, ecx
            //   6826d84000           | push                0x40d826
            //   b908564400           | mov                 ecx, 0x445608
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   7505                 | jne                 7

        $sequence_3 = { c645ef00 e8???????? 8975fc 807de400 0f8400010000 6aff 56 }
            // n = 7, score = 100
            //   c645ef00             | mov                 byte ptr [ebp - 0x11], 0
            //   e8????????           |                     
            //   8975fc               | mov                 dword ptr [ebp - 4], esi
            //   807de400             | cmp                 byte ptr [ebp - 0x1c], 0
            //   0f8400010000         | je                  0x106
            //   6aff                 | push                -1
            //   56                   | push                esi

        $sequence_4 = { 8b35???????? 68f89c4300 57 ffd6 85c0 }
            // n = 5, score = 100
            //   8b35????????         |                     
            //   68f89c4300           | push                0x439cf8
            //   57                   | push                edi
            //   ffd6                 | call                esi
            //   85c0                 | test                eax, eax

        $sequence_5 = { c645fc03 e8???????? 33c9 85c0 0f95c1 85c9 750a }
            // n = 7, score = 100
            //   c645fc03             | mov                 byte ptr [ebp - 4], 3
            //   e8????????           |                     
            //   33c9                 | xor                 ecx, ecx
            //   85c0                 | test                eax, eax
            //   0f95c1               | setne               cl
            //   85c9                 | test                ecx, ecx
            //   750a                 | jne                 0xc

        $sequence_6 = { 57 50 8d45f4 64a300000000 8965f0 8b85dc070000 8945d8 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   50                   | push                eax
            //   8d45f4               | lea                 eax, [ebp - 0xc]
            //   64a300000000         | mov                 dword ptr fs:[0], eax
            //   8965f0               | mov                 dword ptr [ebp - 0x10], esp
            //   8b85dc070000         | mov                 eax, dword ptr [ebp + 0x7dc]
            //   8945d8               | mov                 dword ptr [ebp - 0x28], eax

        $sequence_7 = { 8bd9 68f8c74300 8bcf e8???????? 6880000000 8bcf e8???????? }
            // n = 7, score = 100
            //   8bd9                 | mov                 ebx, ecx
            //   68f8c74300           | push                0x43c7f8
            //   8bcf                 | mov                 ecx, edi
            //   e8????????           |                     
            //   6880000000           | push                0x80
            //   8bcf                 | mov                 ecx, edi
            //   e8????????           |                     

        $sequence_8 = { 68d8994300 bb14030000 53 bfa0744400 57 e8???????? 83c40c }
            // n = 7, score = 100
            //   68d8994300           | push                0x4399d8
            //   bb14030000           | mov                 ebx, 0x314
            //   53                   | push                ebx
            //   bfa0744400           | mov                 edi, 0x4474a0
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc

        $sequence_9 = { 8bec 53 56 57 6a00 6a00 68fb944200 }
            // n = 7, score = 100
            //   8bec                 | mov                 ebp, esp
            //   53                   | push                ebx
            //   56                   | push                esi
            //   57                   | push                edi
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   68fb944200           | push                0x4294fb

    condition:
        7 of them
}
Download all Yara Rules