SYMBOLCOMMON_NAMEaka. SYNONYMS
win.moonwind (Back to overview)

MoonWind


There is no description at this point.

References
2017-03-30Palo Alto Networks Unit 42Jen Miller-Osborn, Josh Grunzweig
@online{millerosborn:20170330:trochilus:bface4b, author = {Jen Miller-Osborn and Josh Grunzweig}, title = {{Trochilus and New MoonWind RATs Used In Attack Against Thai Organizations}}, date = {2017-03-30}, organization = {Palo Alto Networks Unit 42}, url = {http://researchcenter.paloaltonetworks.com/2017/03/unit42-trochilus-rat-new-moonwind-rat-used-attack-thai-utility-organizations/}, language = {English}, urldate = {2019-12-20} } Trochilus and New MoonWind RATs Used In Attack Against Thai Organizations
MoonWind
Yara Rules
[TLP:WHITE] win_moonwind_auto (20220411 | Detects win.moonwind.)
rule win_moonwind_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        version = "1"
        description = "Detects win.moonwind."
        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.moonwind"
        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 = { 85db 7516 8b542410 52 ffd5 83c0fe 83f803 }
            // n = 7, score = 100
            //   85db                 | test                ebx, ebx
            //   7516                 | jne                 0x18
            //   8b542410             | mov                 edx, dword ptr [esp + 0x10]
            //   52                   | push                edx
            //   ffd5                 | call                ebp
            //   83c0fe               | add                 eax, -2
            //   83f803               | cmp                 eax, 3

        $sequence_1 = { 6802000000 bba4010000 e8???????? 83c41c 894588 6805000080 6a00 }
            // n = 7, score = 100
            //   6802000000           | push                2
            //   bba4010000           | mov                 ebx, 0x1a4
            //   e8????????           |                     
            //   83c41c               | add                 esp, 0x1c
            //   894588               | mov                 dword ptr [ebp - 0x78], eax
            //   6805000080           | push                0x80000005
            //   6a00                 | push                0

        $sequence_2 = { 59 e9???????? 83c40c 8b45f0 85c0 7415 50 }
            // n = 7, score = 100
            //   59                   | pop                 ecx
            //   e9????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8b45f0               | mov                 eax, dword ptr [ebp - 0x10]
            //   85c0                 | test                eax, eax
            //   7415                 | je                  0x17
            //   50                   | push                eax

        $sequence_3 = { 81ec3c000000 c745fc00000000 6808000000 e8???????? 83c404 8945f8 8bf8 }
            // n = 7, score = 100
            //   81ec3c000000         | sub                 esp, 0x3c
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0
            //   6808000000           | push                8
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8bf8                 | mov                 edi, eax

        $sequence_4 = { eb05 b800000000 85c0 0f8443000000 8b5d08 8b1b 83c304 }
            // n = 7, score = 100
            //   eb05                 | jmp                 7
            //   b800000000           | mov                 eax, 0
            //   85c0                 | test                eax, eax
            //   0f8443000000         | je                  0x49
            //   8b5d08               | mov                 ebx, dword ptr [ebp + 8]
            //   8b1b                 | mov                 ebx, dword ptr [ebx]
            //   83c304               | add                 ebx, 4

        $sequence_5 = { 83c9ff 33c0 8b5c2430 f2ae f7d1 49 bf???????? }
            // n = 7, score = 100
            //   83c9ff               | or                  ecx, 0xffffffff
            //   33c0                 | xor                 eax, eax
            //   8b5c2430             | mov                 ebx, dword ptr [esp + 0x30]
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   f7d1                 | not                 ecx
            //   49                   | dec                 ecx
            //   bf????????           |                     

        $sequence_6 = { 8b1b 83c374 895df4 8b5df4 8b03 3945fc 0f8f75030000 }
            // n = 7, score = 100
            //   8b1b                 | mov                 ebx, dword ptr [ebx]
            //   83c374               | add                 ebx, 0x74
            //   895df4               | mov                 dword ptr [ebp - 0xc], ebx
            //   8b5df4               | mov                 ebx, dword ptr [ebp - 0xc]
            //   8b03                 | mov                 eax, dword ptr [ebx]
            //   3945fc               | cmp                 dword ptr [ebp - 4], eax
            //   0f8f75030000         | jg                  0x37b

        $sequence_7 = { 83c404 8b5de0 895dc4 8b5d08 8b1b 8b5b38 }
            // n = 6, score = 100
            //   83c404               | add                 esp, 4
            //   8b5de0               | mov                 ebx, dword ptr [ebp - 0x20]
            //   895dc4               | mov                 dword ptr [ebp - 0x3c], ebx
            //   8b5d08               | mov                 ebx, dword ptr [ebp + 8]
            //   8b1b                 | mov                 ebx, dword ptr [ebx]
            //   8b5b38               | mov                 ebx, dword ptr [ebx + 0x38]

        $sequence_8 = { 83c408 8945ac 8b45ac 50 8b5db4 85db 7409 }
            // n = 7, score = 100
            //   83c408               | add                 esp, 8
            //   8945ac               | mov                 dword ptr [ebp - 0x54], eax
            //   8b45ac               | mov                 eax, dword ptr [ebp - 0x54]
            //   50                   | push                eax
            //   8b5db4               | mov                 ebx, dword ptr [ebp - 0x4c]
            //   85db                 | test                ebx, ebx
            //   7409                 | je                  0xb

        $sequence_9 = { 83784004 7414 83c054 68???????? 50 e8???????? 83c408 }
            // n = 7, score = 100
            //   83784004             | cmp                 dword ptr [eax + 0x40], 4
            //   7414                 | je                  0x16
            //   83c054               | add                 eax, 0x54
            //   68????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c408               | add                 esp, 8

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