SYMBOLCOMMON_NAMEaka. SYNONYMS
win.shadow_rat (Back to overview)

Shadow RAT

VTCollection    

There is no description at this point.

References
2025-07-16 ⋅ Seqrite ⋅ Sathwik Ram Prakki, Subhajeet Singha
UNG0002: Regional Threat Operations Tracked Across Multiple Asian Jurisdictions
Shadow RAT UNG0002
Yara Rules
[TLP:WHITE] win_shadow_rat_auto (20260917 | Detects win.shadow_rat.)
rule win_shadow_rat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.shadow_rat."
        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.shadow_rat"
        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 = { 4c8d05f4e4fcff f7e1 894c2448 8bc2 c1e803 89442440 }
            // n = 6, score = 100
            //   4c8d05f4e4fcff       | dec                 eax
            //   f7e1                 | mov                 ebx, eax
            //   894c2448             | dec                 eax
            //   8bc2                 | test                eax, eax
            //   c1e803               | jne                 0x322
            //   89442440             | dec                 ecx

        $sequence_1 = { 488d0d37d50000 ffca 4c8bc3 e8???????? 448965e0 }
            // n = 5, score = 100
            //   488d0d37d50000       | mov                 dword ptr [esp + 0x60], eax
            //   ffca                 | dec                 esp
            //   4c8bc3               | mov                 dword ptr [ebp - 0x10], esi
            //   e8????????           |                     
            //   448965e0             | dec                 esp

        $sequence_2 = { 488d0d30dc0400 e8???????? 488bc8 e8???????? e9???????? 0f57c0 0f11442440 }
            // n = 7, score = 100
            //   488d0d30dc0400       | dec                 ebp
            //   e8????????           |                     
            //   488bc8               | mov                 esi, ecx
            //   e8????????           |                     
            //   e9????????           |                     
            //   0f57c0               | dec                 ebp
            //   0f11442440           | mov                 ebp, eax

        $sequence_3 = { 488d05b9470300 488981b0000000 4889a9f8000000 4889a900010000 4088a908010000 c744242001000000 488d5910 }
            // n = 7, score = 100
            //   488d05b9470300       | dec                 eax
            //   488981b0000000       | add                 eax, -8
            //   4889a9f8000000       | dec                 eax
            //   4889a900010000       | cmp                 eax, 0x1f
            //   4088a908010000       | ja                  0x61d
            //   c744242001000000     | movdqu              xmmword ptr [esp + 0x50], xmm0
            //   488d5910             | dec                 eax

        $sequence_4 = { cc e8???????? cc e8???????? 90 488d0da4280400 }
            // n = 6, score = 100
            //   cc                   | dec                 esp
            //   e8????????           |                     
            //   cc                   | lea                 ecx, [0x1794a]
            //   e8????????           |                     
            //   90                   | xor                 esi, esi
            //   488d0da4280400       | inc                 ecx

        $sequence_5 = { e8???????? 4c8bc0 488bd3 488d4c2430 e8???????? 488d1528380400 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   4c8bc0               | jne                 0xf7
            //   488bd3               | xor                 edx, edx
            //   488d4c2430           | dec                 eax
            //   e8????????           |                     
            //   488d1528380400       | lea                 ecx, [esp + 0x9c]

        $sequence_6 = { 895c2428 0f28742420 410fb608 ffc2 83e10f 4a0fbe8411f0dc0300 428a8c1100dd0300 }
            // n = 7, score = 100
            //   895c2428             | dec                 eax
            //   0f28742420           | arpl                word ptr [eax + 4], cx
            //   410fb608             | dec                 eax
            //   ffc2                 | lea                 eax, [0x3ae88]
            //   83e10f               | dec                 eax
            //   4a0fbe8411f0dc0300     | lea    edx, [ebp + 0x40]
            //   428a8c1100dd0300     | dec                 eax

        $sequence_7 = { 488bca 48c1e93f 4803d1 4c69c200ca9a3b 4869ca00366e01 4c2bc9 }
            // n = 6, score = 100
            //   488bca               | dec                 eax
            //   48c1e93f             | cmp                 dword ptr [eax], 0
            //   4803d1               | inc                 esp
            //   4c69c200ca9a3b       | movzx               ecx, byte ptr [edx]
            //   4869ca00366e01       | jmp                 0xbdd
            //   4c2bc9               | dec                 eax

        $sequence_8 = { 4c8d0d998c0100 488be9 4c8d05878c0100 488d15888c0100 b90b000000 }
            // n = 5, score = 100
            //   4c8d0d998c0100       | cmp                 byte ptr [ecx + 0x39], 0
            //   488be9               | jne                 0xa7e
            //   4c8d05878c0100       | inc                 ecx
            //   488d15888c0100       | lea                 eax, [eax + 2]
            //   b90b000000           | dec                 eax

        $sequence_9 = { eb10 488d3d9e380200 eb07 488d3d7d380200 4533ed 4584f6 740a }
            // n = 7, score = 100
            //   eb10                 | dec                 ecx
            //   488d3d9e380200       | mov                 edx, 0x5a5bc870
            //   eb07                 | clc                 
            //   488d3d7d380200       | push                ds
            //   4533ed               | pop                 ebp
            //   4584f6               | ret                 0x8b48
            //   740a                 | retf                

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