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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-10-07"
        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 = "20211007"
        malpedia_hash = "e5b790e0f888f252d49063a1251ca60ec2832535"
        malpedia_version = "20211008"
        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 = { 46 3bf3 7cc0 8b7c2410 8b4f18 }
            // n = 5, score = 200
            //   46                   | inc                 esi
            //   3bf3                 | cmp                 esi, ebx
            //   7cc0                 | jl                  0xffffffc2
            //   8b7c2410             | mov                 edi, dword ptr [esp + 0x10]
            //   8b4f18               | mov                 ecx, dword ptr [edi + 0x18]

        $sequence_1 = { 6a10 68???????? e8???????? 8d8424dc000000 50 57 }
            // n = 6, score = 200
            //   6a10                 | push                0x10
            //   68????????           |                     
            //   e8????????           |                     
            //   8d8424dc000000       | lea                 eax, dword ptr [esp + 0xdc]
            //   50                   | push                eax
            //   57                   | push                edi

        $sequence_2 = { 8bfa 8d959cfdffff c1e902 f3a5 8bc8 33c0 83e103 }
            // n = 7, score = 200
            //   8bfa                 | mov                 edi, edx
            //   8d959cfdffff         | lea                 edx, dword ptr [ebp - 0x264]
            //   c1e902               | shr                 ecx, 2
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8bc8                 | mov                 ecx, eax
            //   33c0                 | xor                 eax, eax
            //   83e103               | and                 ecx, 3

        $sequence_3 = { 8bf0 51 50 e8???????? 83c408 3bc3 7e50 }
            // n = 7, score = 200
            //   8bf0                 | mov                 esi, eax
            //   51                   | push                ecx
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   3bc3                 | cmp                 eax, ebx
            //   7e50                 | jle                 0x52

        $sequence_4 = { 83c41c 8bf8 50 e8???????? }
            // n = 4, score = 200
            //   83c41c               | add                 esp, 0x1c
            //   8bf8                 | mov                 edi, eax
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_5 = { e8???????? 8b37 83c404 85f6 75ea 5f }
            // n = 6, score = 200
            //   e8????????           |                     
            //   8b37                 | mov                 esi, dword ptr [edi]
            //   83c404               | add                 esp, 4
            //   85f6                 | test                esi, esi
            //   75ea                 | jne                 0xffffffec
            //   5f                   | pop                 edi

        $sequence_6 = { 66ab aa b9ff000000 33c0 8dbd9dccffff 889d9cccffff f3ab }
            // n = 7, score = 200
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al
            //   b9ff000000           | mov                 ecx, 0xff
            //   33c0                 | xor                 eax, eax
            //   8dbd9dccffff         | lea                 edi, dword ptr [ebp - 0x3363]
            //   889d9cccffff         | mov                 byte ptr [ebp - 0x3364], bl
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax

        $sequence_7 = { 56 e8???????? e9???????? 8b8308080000 85c0 0f843d0d0000 68???????? }
            // n = 7, score = 200
            //   56                   | push                esi
            //   e8????????           |                     
            //   e9????????           |                     
            //   8b8308080000         | mov                 eax, dword ptr [ebx + 0x808]
            //   85c0                 | test                eax, eax
            //   0f843d0d0000         | je                  0xd43
            //   68????????           |                     

        $sequence_8 = { 64892500000000 81ec10080000 53 56 }
            // n = 4, score = 200
            //   64892500000000       | mov                 dword ptr fs:[0], esp
            //   81ec10080000         | sub                 esp, 0x810
            //   53                   | push                ebx
            //   56                   | push                esi

        $sequence_9 = { 68???????? 53 53 894de4 ff15???????? 8d4dec }
            // n = 6, score = 200
            //   68????????           |                     
            //   53                   | push                ebx
            //   53                   | push                ebx
            //   894de4               | mov                 dword ptr [ebp - 0x1c], ecx
            //   ff15????????         |                     
            //   8d4dec               | lea                 ecx, dword ptr [ebp - 0x14]

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