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 (20220808 | Detects win.leash.)
rule win_leash_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-08-05"
        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 = "20220805"
        malpedia_hash = "6ec06c64bcfdbeda64eff021c766b4ce34542b71"
        malpedia_version = "20220808"
        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 = { eb02 33c0 8b4c240c 898608040000 89b004040000 8b8608040000 5f }
            // n = 7, score = 200
            //   eb02                 | jmp                 4
            //   33c0                 | xor                 eax, eax
            //   8b4c240c             | mov                 ecx, dword ptr [esp + 0xc]
            //   898608040000         | mov                 dword ptr [esi + 0x408], eax
            //   89b004040000         | mov                 dword ptr [eax + 0x404], esi
            //   8b8608040000         | mov                 eax, dword ptr [esi + 0x408]
            //   5f                   | pop                 edi

        $sequence_1 = { b9ff000000 33c0 8dbd49faffff c68548faffff00 c68548f6ffff00 f3ab }
            // n = 6, score = 200
            //   b9ff000000           | mov                 ecx, 0xff
            //   33c0                 | xor                 eax, eax
            //   8dbd49faffff         | lea                 edi, [ebp - 0x5b7]
            //   c68548faffff00       | mov                 byte ptr [ebp - 0x5b8], 0
            //   c68548f6ffff00       | mov                 byte ptr [ebp - 0x9b8], 0
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax

        $sequence_2 = { 6a00 8bf0 e8???????? 8d94240c260000 8bf8 52 6a10 }
            // n = 7, score = 200
            //   6a00                 | push                0
            //   8bf0                 | mov                 esi, eax
            //   e8????????           |                     
            //   8d94240c260000       | lea                 edx, [esp + 0x260c]
            //   8bf8                 | mov                 edi, eax
            //   52                   | push                edx
            //   6a10                 | push                0x10

        $sequence_3 = { 68???????? 68???????? 68???????? 68???????? e8???????? eb02 33c0 }
            // n = 7, score = 200
            //   68????????           |                     
            //   68????????           |                     
            //   68????????           |                     
            //   68????????           |                     
            //   e8????????           |                     
            //   eb02                 | jmp                 4
            //   33c0                 | xor                 eax, eax

        $sequence_4 = { 85c0 0f85fa030000 8d859cd8ffff 50 6a10 68???????? e8???????? }
            // n = 7, score = 200
            //   85c0                 | test                eax, eax
            //   0f85fa030000         | jne                 0x400
            //   8d859cd8ffff         | lea                 eax, [ebp - 0x2764]
            //   50                   | push                eax
            //   6a10                 | push                0x10
            //   68????????           |                     
            //   e8????????           |                     

        $sequence_5 = { 3bc3 8d4dc4 0f9d45ef c645fc02 e8???????? 385def }
            // n = 6, score = 200
            //   3bc3                 | cmp                 eax, ebx
            //   8d4dc4               | lea                 ecx, [ebp - 0x3c]
            //   0f9d45ef             | setge               byte ptr [ebp - 0x11]
            //   c645fc02             | mov                 byte ptr [ebp - 4], 2
            //   e8????????           |                     
            //   385def               | cmp                 byte ptr [ebp - 0x11], bl

        $sequence_6 = { 50 51 ff15???????? 83f801 0f852f020000 8b55c8 }
            // n = 6, score = 200
            //   50                   | push                eax
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   83f801               | cmp                 eax, 1
            //   0f852f020000         | jne                 0x235
            //   8b55c8               | mov                 edx, dword ptr [ebp - 0x38]

        $sequence_7 = { 7429 8bcf e8???????? 57 e8???????? 83c404 891e }
            // n = 7, score = 200
            //   7429                 | je                  0x2b
            //   8bcf                 | mov                 ecx, edi
            //   e8????????           |                     
            //   57                   | push                edi
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   891e                 | mov                 dword ptr [esi], ebx

        $sequence_8 = { 6a00 57 c745fc00000000 ffd3 85c0 7e3c }
            // n = 6, score = 200
            //   6a00                 | push                0
            //   57                   | push                edi
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0
            //   ffd3                 | call                ebx
            //   85c0                 | test                eax, eax
            //   7e3c                 | jle                 0x3e

        $sequence_9 = { c3 8d8de4fbffff 51 6a20 }
            // n = 4, score = 200
            //   c3                   | ret                 
            //   8d8de4fbffff         | lea                 ecx, [ebp - 0x41c]
            //   51                   | push                ecx
            //   6a20                 | push                0x20

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