SYMBOLCOMMON_NAMEaka. SYNONYMS
win.deputy (Back to overview)

Deputy

VTCollection    

According to IBM X-Force, this is a loader component for Sheriff.

References
2025-03-25IBM X-ForceGolo Mühr
IBM X-Force discovers new Sheriff Backdoor used to target Ukraine
Deputy Sheriff
Yara Rules
[TLP:WHITE] win_deputy_auto (20260504 | Detects win.deputy.)
rule win_deputy_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.deputy."
        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.deputy"
        malpedia_rule_date = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 81ec38060000 a1???????? 33c5 8945fc 6808020000 8d85ecfbffff }
            // n = 6, score = 100
            //   81ec38060000         | sub                 esp, 0x638
            //   a1????????           |                     
            //   33c5                 | xor                 eax, ebp
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   6808020000           | push                0x208
            //   8d85ecfbffff         | lea                 eax, [ebp - 0x414]

        $sequence_1 = { 8d7202 0f1f840000000000 668b02 83c202 6685c0 75f5 8d0409 }
            // n = 7, score = 100
            //   8d7202               | lea                 esi, [edx + 2]
            //   0f1f840000000000     | nop                 dword ptr [eax + eax]
            //   668b02               | mov                 ax, word ptr [edx]
            //   83c202               | add                 edx, 2
            //   6685c0               | test                ax, ax
            //   75f5                 | jne                 0xfffffff7
            //   8d0409               | lea                 eax, [ecx + ecx]

        $sequence_2 = { 8d5102 668b01 83c102 6685c0 75f5 0f1005???????? 66a1???????? }
            // n = 7, score = 100
            //   8d5102               | lea                 edx, [ecx + 2]
            //   668b01               | mov                 ax, word ptr [ecx]
            //   83c102               | add                 ecx, 2
            //   6685c0               | test                ax, ax
            //   75f5                 | jne                 0xfffffff7
            //   0f1005????????       |                     
            //   66a1????????         |                     

        $sequence_3 = { 2bd1 8bcf d1fa 8d7102 668b01 83c102 6685c0 }
            // n = 7, score = 100
            //   2bd1                 | sub                 edx, ecx
            //   8bcf                 | mov                 ecx, edi
            //   d1fa                 | sar                 edx, 1
            //   8d7102               | lea                 esi, [ecx + 2]
            //   668b01               | mov                 ax, word ptr [ecx]
            //   83c102               | add                 ecx, 2
            //   6685c0               | test                ax, ax

        $sequence_4 = { 7509 57 ff15???????? eb6c 56 57 }
            // n = 6, score = 100
            //   7509                 | jne                 0xb
            //   57                   | push                edi
            //   ff15????????         |                     
            //   eb6c                 | jmp                 0x6e
            //   56                   | push                esi
            //   57                   | push                edi

        $sequence_5 = { 6a00 57 8985ccf9ffff e8???????? 8d95ecfbffff 83c410 8d4a02 }
            // n = 7, score = 100
            //   6a00                 | push                0
            //   57                   | push                edi
            //   8985ccf9ffff         | mov                 dword ptr [ebp - 0x634], eax
            //   e8????????           |                     
            //   8d95ecfbffff         | lea                 edx, [ebp - 0x414]
            //   83c410               | add                 esp, 0x10
            //   8d4a02               | lea                 ecx, [edx + 2]

        $sequence_6 = { 83c202 6685c0 75f5 2bd1 8bcf d1fa 8d7102 }
            // n = 7, score = 100
            //   83c202               | add                 edx, 2
            //   6685c0               | test                ax, ax
            //   75f5                 | jne                 0xfffffff7
            //   2bd1                 | sub                 edx, ecx
            //   8bcf                 | mov                 ecx, edi
            //   d1fa                 | sar                 edx, 1
            //   8d7102               | lea                 esi, [ecx + 2]

        $sequence_7 = { 85c0 0f85d5030000 8b85d0f9ffff 8d95d4f9ffff 52 }
            // n = 5, score = 100
            //   85c0                 | test                eax, eax
            //   0f85d5030000         | jne                 0x3db
            //   8b85d0f9ffff         | mov                 eax, dword ptr [ebp - 0x630]
            //   8d95d4f9ffff         | lea                 edx, [ebp - 0x62c]
            //   52                   | push                edx

        $sequence_8 = { 52 68???????? 68???????? 8b08 50 ff510c }
            // n = 6, score = 100
            //   52                   | push                edx
            //   68????????           |                     
            //   68????????           |                     
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   50                   | push                eax
            //   ff510c               | call                dword ptr [ecx + 0xc]

        $sequence_9 = { 85c0 0f843f070000 c3 6a00 e8???????? 59 }
            // n = 6, score = 100
            //   85c0                 | test                eax, eax
            //   0f843f070000         | je                  0x745
            //   c3                   | ret                 
            //   6a00                 | push                0
            //   e8????????           |                     
            //   59                   | pop                 ecx

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