SYMBOLCOMMON_NAMEaka. SYNONYMS
win.dimnie (Back to overview)

Dimnie

URLhaus    

There is no description at this point.

References
2017-03-28Palo Alto Networks Unit 42Brandon Levene, Dominik Reichel, Esmid Idrizovic
@online{levene:20170328:dimnie:a19c996, author = {Brandon Levene and Dominik Reichel and Esmid Idrizovic}, title = {{Dimnie: Hiding in Plain Sight}}, date = {2017-03-28}, organization = {Palo Alto Networks Unit 42}, url = {http://researchcenter.paloaltonetworks.com/2017/03/unit42-dimnie-hiding-plain-sight/}, language = {English}, urldate = {2019-12-20} } Dimnie: Hiding in Plain Sight
Dimnie
Yara Rules
[TLP:WHITE] win_dimnie_auto (20220411 | Detects win.dimnie.)
rule win_dimnie_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        version = "1"
        description = "Detects win.dimnie."
        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.dimnie"
        malpedia_rule_date = "20220405"
        malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a"
        malpedia_version = "20220411"
        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 = { 8b4508 0fb64801 81e1f0000000 c1f904 }
            // n = 4, score = 400
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   0fb64801             | movzx               ecx, byte ptr [eax + 1]
            //   81e1f0000000         | and                 ecx, 0xf0
            //   c1f904               | sar                 ecx, 4

        $sequence_1 = { 83e203 c1e204 8b4508 0fb64801 81e1f0000000 }
            // n = 5, score = 400
            //   83e203               | and                 edx, 3
            //   c1e204               | shl                 edx, 4
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   0fb64801             | movzx               ecx, byte ptr [eax + 1]
            //   81e1f0000000         | and                 ecx, 0xf0

        $sequence_2 = { 0fb611 83e203 c1e204 8b4508 0fb64801 81e1f0000000 }
            // n = 6, score = 400
            //   0fb611               | movzx               edx, byte ptr [ecx]
            //   83e203               | and                 edx, 3
            //   c1e204               | shl                 edx, 4
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   0fb64801             | movzx               ecx, byte ptr [eax + 1]
            //   81e1f0000000         | and                 ecx, 0xf0

        $sequence_3 = { 8945f4 8b4df8 83c101 8b45f4 33d2 f7f1 }
            // n = 6, score = 400
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]
            //   83c101               | add                 ecx, 1
            //   8b45f4               | mov                 eax, dword ptr [ebp - 0xc]
            //   33d2                 | xor                 edx, edx
            //   f7f1                 | div                 ecx

        $sequence_4 = { 8b5508 0fb64201 83e00f c1e002 8b4d08 }
            // n = 5, score = 400
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   0fb64201             | movzx               eax, byte ptr [edx + 1]
            //   83e00f               | and                 eax, 0xf
            //   c1e002               | shl                 eax, 2
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]

        $sequence_5 = { 7605 8b450c eb54 8b550c 2b5508 83fa01 751c }
            // n = 7, score = 400
            //   7605                 | jbe                 7
            //   8b450c               | mov                 eax, dword ptr [ebp + 0xc]
            //   eb54                 | jmp                 0x56
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   2b5508               | sub                 edx, dword ptr [ebp + 8]
            //   83fa01               | cmp                 edx, 1
            //   751c                 | jne                 0x1e

        $sequence_6 = { 7504 33c0 eb6e 8b4508 3b450c }
            // n = 5, score = 400
            //   7504                 | jne                 6
            //   33c0                 | xor                 eax, eax
            //   eb6e                 | jmp                 0x70
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   3b450c               | cmp                 eax, dword ptr [ebp + 0xc]

        $sequence_7 = { 7505 8b4508 eb61 8b4d08 }
            // n = 4, score = 400
            //   7505                 | jne                 7
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   eb61                 | jmp                 0x63
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]

        $sequence_8 = { c1e204 8b4508 0fb64801 81e1f0000000 c1f904 0bd1 }
            // n = 6, score = 400
            //   c1e204               | shl                 edx, 4
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   0fb64801             | movzx               ecx, byte ptr [eax + 1]
            //   81e1f0000000         | and                 ecx, 0xf0
            //   c1f904               | sar                 ecx, 4
            //   0bd1                 | or                  edx, ecx

        $sequence_9 = { eb2d 8b550c 2b5508 8955f8 0f31 }
            // n = 5, score = 400
            //   eb2d                 | jmp                 0x2f
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   2b5508               | sub                 edx, dword ptr [ebp + 8]
            //   8955f8               | mov                 dword ptr [ebp - 8], edx
            //   0f31                 | rdtsc               

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