SYMBOLCOMMON_NAMEaka. SYNONYMS
win.moonwind (Back to overview)

MoonWind

VTCollection    

There is no description at this point.

References
2017-03-30 ⋅ Palo Alto Networks Unit 42 ⋅ Jen Miller-Osborn, Josh Grunzweig
Trochilus and New MoonWind RATs Used In Attack Against Thai Organizations
MoonWind
Yara Rules
[TLP:WHITE] win_moonwind_auto (20260917 | Detects win.moonwind.)
rule win_moonwind_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 8b5dd8 83c304 895dc4 8b5dc4 c70300000000 8b5dd8 83c30c }
            // n = 7, score = 100
            //   8b5dd8               | mov                 ebx, dword ptr [ebp - 0x28]
            //   83c304               | add                 ebx, 4
            //   895dc4               | mov                 dword ptr [ebp - 0x3c], ebx
            //   8b5dc4               | mov                 ebx, dword ptr [ebp - 0x3c]
            //   c70300000000         | mov                 dword ptr [ebx], 0
            //   8b5dd8               | mov                 ebx, dword ptr [ebp - 0x28]
            //   83c30c               | add                 ebx, 0xc

        $sequence_1 = { e8???????? 83c410 8945cc 6804000080 6a00 a1???????? 85c0 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   8945cc               | mov                 dword ptr [ebp - 0x34], eax
            //   6804000080           | push                0x80000004
            //   6a00                 | push                0
            //   a1????????           |                     
            //   85c0                 | test                eax, eax

        $sequence_2 = { c745dc00000000 c745d800000000 c745d400000000 6808000000 e8???????? 83c404 8945d0 }
            // n = 7, score = 100
            //   c745dc00000000       | mov                 dword ptr [ebp - 0x24], 0
            //   c745d800000000       | mov                 dword ptr [ebp - 0x28], 0
            //   c745d400000000       | mov                 dword ptr [ebp - 0x2c], 0
            //   6808000000           | push                8
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8945d0               | mov                 dword ptr [ebp - 0x30], eax

        $sequence_3 = { f6c202 7410 8088????????20 8a9405ecfcffff ebe3 80a080824a0000 40 }
            // n = 7, score = 100
            //   f6c202               | test                dl, 2
            //   7410                 | je                  0x12
            //   8088????????20       |                     
            //   8a9405ecfcffff       | mov                 dl, byte ptr [ebp + eax - 0x314]
            //   ebe3                 | jmp                 0xffffffe5
            //   80a080824a0000       | and                 byte ptr [eax + 0x4a8280], 0
            //   40                   | inc                 eax

        $sequence_4 = { 6810000000 e8???????? 83c404 5e 8bf8 50 ad }
            // n = 7, score = 100
            //   6810000000           | push                0x10
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   5e                   | pop                 esi
            //   8bf8                 | mov                 edi, eax
            //   50                   | push                eax
            //   ad                   | lodsd               eax, dword ptr [esi]

        $sequence_5 = { 0f8414000000 817dc480000000 0f8507000000 b801000000 eb05 b800000000 85c0 }
            // n = 7, score = 100
            //   0f8414000000         | je                  0x1a
            //   817dc480000000       | cmp                 dword ptr [ebp - 0x3c], 0x80
            //   0f8507000000         | jne                 0xd
            //   b801000000           | mov                 eax, 1
            //   eb05                 | jmp                 7
            //   b800000000           | mov                 eax, 0
            //   85c0                 | test                eax, eax

        $sequence_6 = { 6800000000 bb50030000 e8???????? 83c404 6800710200 e8???????? c745fc00000000 }
            // n = 7, score = 100
            //   6800000000           | push                0
            //   bb50030000           | mov                 ebx, 0x350
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   6800710200           | push                0x27100
            //   e8????????           |                     
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0

        $sequence_7 = { bb68010000 e8???????? 83c410 8945e8 6804000080 6a00 8b45fc }
            // n = 7, score = 100
            //   bb68010000           | mov                 ebx, 0x168
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax
            //   6804000080           | push                0x80000004
            //   6a00                 | push                0
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]

        $sequence_8 = { bb3c020000 e8???????? 83c41c 8945bc 8b5de4 85db }
            // n = 6, score = 100
            //   bb3c020000           | mov                 ebx, 0x23c
            //   e8????????           |                     
            //   83c41c               | add                 esp, 0x1c
            //   8945bc               | mov                 dword ptr [ebp - 0x44], eax
            //   8b5de4               | mov                 ebx, dword ptr [ebp - 0x1c]
            //   85db                 | test                ebx, ebx

        $sequence_9 = { 8b4c2420 8b442418 2bc8 83e939 51 8b542420 8b4c2418 }
            // n = 7, score = 100
            //   8b4c2420             | mov                 ecx, dword ptr [esp + 0x20]
            //   8b442418             | mov                 eax, dword ptr [esp + 0x18]
            //   2bc8                 | sub                 ecx, eax
            //   83e939               | sub                 ecx, 0x39
            //   51                   | push                ecx
            //   8b542420             | mov                 edx, dword ptr [esp + 0x20]
            //   8b4c2418             | mov                 ecx, dword ptr [esp + 0x18]

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