SYMBOLCOMMON_NAMEaka. SYNONYMS
win.spyder_patchwork (Back to overview)

Spyder Patchwork

Actor(s): QUILTED TIGER

VTCollection    

There is no description at this point.

References
2023-07-05 ⋅ Qianxin ⋅ Red Raindrop Team
Patchwork Group Utilizing WarHawk Backdoor Variant "Spyder" for Espionage against Multiple Countries
Spyder Patchwork
2023-07-04 ⋅ Qianxin Threat Intelligence Center ⋅ Threat Intelligence Center
Suspected Maha Grass Organization Uses WarHawk Backdoor Variant Spyder to Spy on Multiple Countries
Spyder Patchwork WarHawk
Yara Rules
[TLP:WHITE] win_spyder_patchwork_auto (20260917 | Detects win.spyder_patchwork.)
rule win_spyder_patchwork_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.spyder_patchwork."
        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.spyder_patchwork"
        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 = { 83c40c 33c0 5f 5e 5b 83c448 c3 }
            // n = 7, score = 100
            //   83c40c               | add                 esp, 0xc
            //   33c0                 | xor                 eax, eax
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx
            //   83c448               | add                 esp, 0x48
            //   c3                   | ret                 

        $sequence_1 = { 0f1f4000 8b532c 8b4b4c 8a835b020000 88040a 8b16 ff434c }
            // n = 7, score = 100
            //   0f1f4000             | nop                 dword ptr [eax]
            //   8b532c               | mov                 edx, dword ptr [ebx + 0x2c]
            //   8b4b4c               | mov                 ecx, dword ptr [ebx + 0x4c]
            //   8a835b020000         | mov                 al, byte ptr [ebx + 0x25b]
            //   88040a               | mov                 byte ptr [edx + ecx], al
            //   8b16                 | mov                 edx, dword ptr [esi]
            //   ff434c               | inc                 dword ptr [ebx + 0x4c]

        $sequence_2 = { 8d1c00 8b4620 53 85c0 7429 51 }
            // n = 6, score = 100
            //   8d1c00               | lea                 ebx, [eax + eax]
            //   8b4620               | mov                 eax, dword ptr [esi + 0x20]
            //   53                   | push                ebx
            //   85c0                 | test                eax, eax
            //   7429                 | je                  0x2b
            //   51                   | push                ecx

        $sequence_3 = { e8???????? 83c47c c3 6a00 6a18 55 e8???????? }
            // n = 7, score = 100
            //   e8????????           |                     
            //   83c47c               | add                 esp, 0x7c
            //   c3                   | ret                 
            //   6a00                 | push                0
            //   6a18                 | push                0x18
            //   55                   | push                ebp
            //   e8????????           |                     

        $sequence_4 = { 897c2420 7c18 68???????? 6a02 e8???????? 83c404 50 }
            // n = 7, score = 100
            //   897c2420             | mov                 dword ptr [esp + 0x20], edi
            //   7c18                 | jl                  0x1a
            //   68????????           |                     
            //   6a02                 | push                2
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   50                   | push                eax

        $sequence_5 = { eb04 8b442414 3b5724 0f871c020000 7209 3b4720 0f8711020000 }
            // n = 7, score = 100
            //   eb04                 | jmp                 6
            //   8b442414             | mov                 eax, dword ptr [esp + 0x14]
            //   3b5724               | cmp                 edx, dword ptr [edi + 0x24]
            //   0f871c020000         | ja                  0x222
            //   7209                 | jb                  0xb
            //   3b4720               | cmp                 eax, dword ptr [edi + 0x20]
            //   0f8711020000         | ja                  0x217

        $sequence_6 = { 8b442438 56 68???????? 53 ff742464 83d800 894e08 }
            // n = 7, score = 100
            //   8b442438             | mov                 eax, dword ptr [esp + 0x38]
            //   56                   | push                esi
            //   68????????           |                     
            //   53                   | push                ebx
            //   ff742464             | push                dword ptr [esp + 0x64]
            //   83d800               | sbb                 eax, 0
            //   894e08               | mov                 dword ptr [esi + 8], ecx

        $sequence_7 = { 41 83c204 894c241c 81f9ff000000 7ede 8d9348040000 }
            // n = 6, score = 100
            //   41                   | inc                 ecx
            //   83c204               | add                 edx, 4
            //   894c241c             | mov                 dword ptr [esp + 0x1c], ecx
            //   81f9ff000000         | cmp                 ecx, 0xff
            //   7ede                 | jle                 0xffffffe0
            //   8d9348040000         | lea                 edx, [ebx + 0x448]

        $sequence_8 = { e8???????? 83c404 807e1100 743b 0f57c0 660f1345d0 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   807e1100             | cmp                 byte ptr [esi + 0x11], 0
            //   743b                 | je                  0x3d
            //   0f57c0               | xorps               xmm0, xmm0
            //   660f1345d0           | movlpd              qword ptr [ebp - 0x30], xmm0

        $sequence_9 = { 33d2 5e 5d 5b 8b4c2440 33cc e8???????? }
            // n = 7, score = 100
            //   33d2                 | xor                 edx, edx
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   5b                   | pop                 ebx
            //   8b4c2440             | mov                 ecx, dword ptr [esp + 0x40]
            //   33cc                 | xor                 ecx, esp
            //   e8????????           |                     

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