SYMBOLCOMMON_NAMEaka. SYNONYMS
win.resident (Back to overview)

Resident

Actor(s): TA866

VTCollection    

According to Cisco Talos, Resident is a backdoor likely developed by the same author as win.warmcookie, and it was observed being delivered in intrusions they attribute to TA866.

References
2024-10-23 ⋅ Cisco Talos ⋅ Edmund Brumaghin, Holger Unterbrink, Jordyn Dunk, Nicole Hoffman
Highlighting TA866/Asylum Ambuscade Activity Since 2021
WasabiSeed Cobalt Strike csharp-streamer RAT Resident Rhadamanthys WarmCookie
2023-06-15 ⋅ eSentire ⋅ RussianPanda
eSentire Threat Intelligence Malware Analysis: Resident Campaign
Cobalt Strike Resident Rhadamanthys WarmCookie
Yara Rules
[TLP:WHITE] win_resident_auto (20260917 | Detects win.resident.)
rule win_resident_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.resident."
        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.resident"
        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 = { 81ec4c010000 c7042400040000 e8???????? 85c0 }
            // n = 4, score = 100
            //   81ec4c010000         | sub                 esp, 0x14c
            //   c7042400040000       | mov                 dword ptr [esp], 0x400
            //   e8????????           |                     
            //   85c0                 | test                eax, eax

        $sequence_1 = { 8b4d10 8b11 8d45f8 50 53 03d6 }
            // n = 6, score = 100
            //   8b4d10               | mov                 ecx, dword ptr [ebp + 0x10]
            //   8b11                 | mov                 edx, dword ptr [ecx]
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   50                   | push                eax
            //   53                   | push                ebx
            //   03d6                 | add                 edx, esi

        $sequence_2 = { 68???????? 68???????? 57 ff15???????? a3???????? 3bc7 74c7 }
            // n = 7, score = 100
            //   68????????           |                     
            //   68????????           |                     
            //   57                   | push                edi
            //   ff15????????         |                     
            //   a3????????           |                     
            //   3bc7                 | cmp                 eax, edi
            //   74c7                 | je                  0xffffffc9

        $sequence_3 = { ff15???????? 6685c0 750a 5f 33c0 }
            // n = 5, score = 100
            //   ff15????????         |                     
            //   6685c0               | test                ax, ax
            //   750a                 | jne                 0xc
            //   5f                   | pop                 edi
            //   33c0                 | xor                 eax, eax

        $sequence_4 = { 75e2 bb01000000 8b44241c 890424 }
            // n = 4, score = 100
            //   75e2                 | jne                 0xffffffe4
            //   bb01000000           | mov                 ebx, 1
            //   8b44241c             | mov                 eax, dword ptr [esp + 0x1c]
            //   890424               | mov                 dword ptr [esp], eax

        $sequence_5 = { 85c0 0f84b0000000 8b1d???????? c744240c00006400 c744240800000000 c744240401040000 890424 }
            // n = 7, score = 100
            //   85c0                 | test                eax, eax
            //   0f84b0000000         | je                  0xb6
            //   8b1d????????         |                     
            //   c744240c00006400     | mov                 dword ptr [esp + 0xc], 0x640000
            //   c744240800000000     | mov                 dword ptr [esp + 8], 0
            //   c744240401040000     | mov                 dword ptr [esp + 4], 0x401
            //   890424               | mov                 dword ptr [esp], eax

        $sequence_6 = { 8b5df0 8b45ec 50 ff15???????? 5f 53 }
            // n = 6, score = 100
            //   8b5df0               | mov                 ebx, dword ptr [ebp - 0x10]
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   5f                   | pop                 edi
            //   53                   | push                ebx

        $sequence_7 = { 762a 56 e8???????? 8d04456cae4000 8bc8 2bce }
            // n = 6, score = 100
            //   762a                 | jbe                 0x2c
            //   56                   | push                esi
            //   e8????????           |                     
            //   8d04456cae4000       | lea                 eax, [eax*2 + 0x40ae6c]
            //   8bc8                 | mov                 ecx, eax
            //   2bce                 | sub                 ecx, esi

        $sequence_8 = { 89442404 8d842450060000 890424 8b44242c ffd0 }
            // n = 5, score = 100
            //   89442404             | mov                 dword ptr [esp + 4], eax
            //   8d842450060000       | lea                 eax, [esp + 0x650]
            //   890424               | mov                 dword ptr [esp], eax
            //   8b44242c             | mov                 eax, dword ptr [esp + 0x2c]
            //   ffd0                 | call                eax

        $sequence_9 = { 6a01 68???????? 56 ff15???????? 56 e8???????? }
            // n = 6, score = 100
            //   6a01                 | push                1
            //   68????????           |                     
            //   56                   | push                esi
            //   ff15????????         |                     
            //   56                   | push                esi
            //   e8????????           |                     

        $sequence_10 = { ffd6 83ec04 8b442424 8b10 890424 ff5208 }
            // n = 6, score = 100
            //   ffd6                 | call                esi
            //   83ec04               | sub                 esp, 4
            //   8b442424             | mov                 eax, dword ptr [esp + 0x24]
            //   8b10                 | mov                 edx, dword ptr [eax]
            //   890424               | mov                 dword ptr [esp], eax
            //   ff5208               | call                dword ptr [edx + 8]

        $sequence_11 = { 83ec0c 8b442430 8b10 890424 ff5208 83ec04 }
            // n = 6, score = 100
            //   83ec0c               | sub                 esp, 0xc
            //   8b442430             | mov                 eax, dword ptr [esp + 0x30]
            //   8b10                 | mov                 edx, dword ptr [eax]
            //   890424               | mov                 dword ptr [esp], eax
            //   ff5208               | call                dword ptr [edx + 8]
            //   83ec04               | sub                 esp, 4

        $sequence_12 = { 890424 ff5208 83ec04 ff15???????? 81c48c020000 89d8 }
            // n = 6, score = 100
            //   890424               | mov                 dword ptr [esp], eax
            //   ff5208               | call                dword ptr [edx + 8]
            //   83ec04               | sub                 esp, 4
            //   ff15????????         |                     
            //   81c48c020000         | add                 esp, 0x28c
            //   89d8                 | mov                 eax, ebx

        $sequence_13 = { 50 6800100000 03d6 52 57 ff15???????? 85c0 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   6800100000           | push                0x1000
            //   03d6                 | add                 edx, esi
            //   52                   | push                edx
            //   57                   | push                edi
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax

        $sequence_14 = { be64860000 663bce 0f85b1000000 b900200000 52 }
            // n = 5, score = 100
            //   be64860000           | mov                 esi, 0x8664
            //   663bce               | cmp                 cx, si
            //   0f85b1000000         | jne                 0xb7
            //   b900200000           | mov                 ecx, 0x2000
            //   52                   | push                edx

        $sequence_15 = { 8b0d???????? 894590 85db 0f8e8a010000 89c3 }
            // n = 5, score = 100
            //   8b0d????????         |                     
            //   894590               | mov                 dword ptr [ebp - 0x70], eax
            //   85db                 | test                ebx, ebx
            //   0f8e8a010000         | jle                 0x190
            //   89c3                 | mov                 ebx, eax

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