SYMBOLCOMMON_NAMEaka. SYNONYMS
win.leash (Back to overview)

Leash

Actor(s): Magic Hound


There is no description at this point.

References
2017-02-15Palo Alto Networks Unit 42Bryan Lee, Robert Falcone
@online{lee:20170215:magic:e0b1b72, author = {Bryan Lee and Robert Falcone}, title = {{Magic Hound Campaign Attacks Saudi Targets}}, date = {2017-02-15}, organization = {Palo Alto Networks Unit 42}, url = {https://researchcenter.paloaltonetworks.com/2017/02/unit42-magic-hound-campaign-attacks-saudi-targets/}, language = {English}, urldate = {2019-09-22} } Magic Hound Campaign Attacks Saudi Targets
Leash MPKBot pupy Rocket Kitten
Yara Rules
[TLP:WHITE] win_leash_auto (20230407 | Detects win.leash.)
rule win_leash_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-03-28"
        version = "1"
        description = "Detects win.leash."
        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.leash"
        malpedia_rule_date = "20230328"
        malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d"
        malpedia_version = "20230407"
        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 = { 8d8c24d0000000 51 6a10 68???????? e8???????? 83c40c 8d9424d0000000 }
            // n = 7, score = 200
            //   8d8c24d0000000       | lea                 ecx, [esp + 0xd0]
            //   51                   | push                ecx
            //   6a10                 | push                0x10
            //   68????????           |                     
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8d9424d0000000       | lea                 edx, [esp + 0xd0]

        $sequence_1 = { 2bf9 8d55a4 8bc1 8bf7 8bfa 8b5508 }
            // n = 6, score = 200
            //   2bf9                 | sub                 edi, ecx
            //   8d55a4               | lea                 edx, [ebp - 0x5c]
            //   8bc1                 | mov                 eax, ecx
            //   8bf7                 | mov                 esi, edi
            //   8bfa                 | mov                 edi, edx
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]

        $sequence_2 = { 85c0 742c 8b4518 33f6 85c0 7c17 8b4d08 }
            // n = 7, score = 200
            //   85c0                 | test                eax, eax
            //   742c                 | je                  0x2e
            //   8b4518               | mov                 eax, dword ptr [ebp + 0x18]
            //   33f6                 | xor                 esi, esi
            //   85c0                 | test                eax, eax
            //   7c17                 | jl                  0x19
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]

        $sequence_3 = { 50 8d44240c 8b911c180000 50 }
            // n = 4, score = 200
            //   50                   | push                eax
            //   8d44240c             | lea                 eax, [esp + 0xc]
            //   8b911c180000         | mov                 edx, dword ptr [ecx + 0x181c]
            //   50                   | push                eax

        $sequence_4 = { 33d2 33f3 8a10 33db 8a5801 8974243c c1e218 }
            // n = 7, score = 200
            //   33d2                 | xor                 edx, edx
            //   33f3                 | xor                 esi, ebx
            //   8a10                 | mov                 dl, byte ptr [eax]
            //   33db                 | xor                 ebx, ebx
            //   8a5801               | mov                 bl, byte ptr [eax + 1]
            //   8974243c             | mov                 dword ptr [esp + 0x3c], esi
            //   c1e218               | shl                 edx, 0x18

        $sequence_5 = { 7511 8b8b08080000 56 e8???????? e9???????? 8b8308080000 85c0 }
            // n = 7, score = 200
            //   7511                 | jne                 0x13
            //   8b8b08080000         | mov                 ecx, dword ptr [ebx + 0x808]
            //   56                   | push                esi
            //   e8????????           |                     
            //   e9????????           |                     
            //   8b8308080000         | mov                 eax, dword ptr [ebx + 0x808]
            //   85c0                 | test                eax, eax

        $sequence_6 = { 8d95a0b7ffff 8bf8 52 8d45ec 68???????? 50 889c3da0b7ffff }
            // n = 7, score = 200
            //   8d95a0b7ffff         | lea                 edx, [ebp - 0x4860]
            //   8bf8                 | mov                 edi, eax
            //   52                   | push                edx
            //   8d45ec               | lea                 eax, [ebp - 0x14]
            //   68????????           |                     
            //   50                   | push                eax
            //   889c3da0b7ffff       | mov                 byte ptr [ebp + edi - 0x4860], bl

        $sequence_7 = { e8???????? 3bc3 8d4de4 0f9d45ef }
            // n = 4, score = 200
            //   e8????????           |                     
            //   3bc3                 | cmp                 eax, ebx
            //   8d4de4               | lea                 ecx, [ebp - 0x1c]
            //   0f9d45ef             | setge               byte ptr [ebp - 0x11]

        $sequence_8 = { 51 8bc8 e8???????? 3bc3 8d4dd0 0f9d45ef c645fc02 }
            // n = 7, score = 200
            //   51                   | push                ecx
            //   8bc8                 | mov                 ecx, eax
            //   e8????????           |                     
            //   3bc3                 | cmp                 eax, ebx
            //   8d4dd0               | lea                 ecx, [ebp - 0x30]
            //   0f9d45ef             | setge               byte ptr [ebp - 0x11]
            //   c645fc02             | mov                 byte ptr [ebp - 4], 2

        $sequence_9 = { 5e c9 c3 ff25???????? 56 8b742408 }
            // n = 6, score = 200
            //   5e                   | pop                 esi
            //   c9                   | leave               
            //   c3                   | ret                 
            //   ff25????????         |                     
            //   56                   | push                esi
            //   8b742408             | mov                 esi, dword ptr [esp + 8]

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