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 (20201014 | autogenerated rule brought to you by yara-signator)
rule win_leash_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-10-14"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.5.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.leash"
        malpedia_rule_date = "20201014"
        malpedia_hash = "a7e3bd57eaf12bf3ea29a863c041091ba3af9ac9"
        malpedia_version = "20201014"
        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 = { 68???????? 51 ebae 8d95e8fbffff 52 6a20 }
            // n = 6, score = 200
            //   68????????           |                     
            //   51                   | push                ecx
            //   ebae                 | jmp                 0xffffffb0
            //   8d95e8fbffff         | lea                 edx, [ebp - 0x418]
            //   52                   | push                edx
            //   6a20                 | push                0x20

        $sequence_1 = { dd45dc dc0d???????? 8bf0 dc05???????? dd1c24 e8???????? dc0d???????? }
            // n = 7, score = 200
            //   dd45dc               | fld                 qword ptr [ebp - 0x24]
            //   dc0d????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   dc05????????         |                     
            //   dd1c24               | fstp                qword ptr [esp]
            //   e8????????           |                     
            //   dc0d????????         |                     

        $sequence_2 = { 5f 5e 5d 5b c20400 33c0 8bcf }
            // n = 7, score = 200
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   5b                   | pop                 ebx
            //   c20400               | ret                 4
            //   33c0                 | xor                 eax, eax
            //   8bcf                 | mov                 ecx, edi

        $sequence_3 = { f3a5 8bca 8d45d0 83e103 }
            // n = 4, score = 200
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8bca                 | mov                 ecx, edx
            //   8d45d0               | lea                 eax, [ebp - 0x30]
            //   83e103               | and                 ecx, 3

        $sequence_4 = { 8b442418 41 85c0 894c2414 7433 0fbe940c1c100000 52 }
            // n = 7, score = 200
            //   8b442418             | mov                 eax, dword ptr [esp + 0x18]
            //   41                   | inc                 ecx
            //   85c0                 | test                eax, eax
            //   894c2414             | mov                 dword ptr [esp + 0x14], ecx
            //   7433                 | je                  0x35
            //   0fbe940c1c100000     | movsx               edx, byte ptr [esp + ecx + 0x101c]
            //   52                   | push                edx

        $sequence_5 = { 8d442414 57 56 50 e8???????? 83c414 }
            // n = 6, score = 200
            //   8d442414             | lea                 eax, [esp + 0x14]
            //   57                   | push                edi
            //   56                   | push                esi
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c414               | add                 esp, 0x14

        $sequence_6 = { 889de8f7ffff f3ab 66ab aa 8d85e8f7ffff 8965f0 50 }
            // n = 7, score = 200
            //   889de8f7ffff         | mov                 byte ptr [ebp - 0x818], bl
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al
            //   8d85e8f7ffff         | lea                 eax, [ebp - 0x818]
            //   8965f0               | mov                 dword ptr [ebp - 0x10], esp
            //   50                   | push                eax

        $sequence_7 = { 33f6 50 56 ff15???????? b90e000000 33c0 8dbc2498000000 }
            // n = 7, score = 200
            //   33f6                 | xor                 esi, esi
            //   50                   | push                eax
            //   56                   | push                esi
            //   ff15????????         |                     
            //   b90e000000           | mov                 ecx, 0xe
            //   33c0                 | xor                 eax, eax
            //   8dbc2498000000       | lea                 edi, [esp + 0x98]

        $sequence_8 = { 8b463c 895e38 8a08 80f90d }
            // n = 4, score = 200
            //   8b463c               | mov                 eax, dword ptr [esi + 0x3c]
            //   895e38               | mov                 dword ptr [esi + 0x38], ebx
            //   8a08                 | mov                 cl, byte ptr [eax]
            //   80f90d               | cmp                 cl, 0xd

        $sequence_9 = { 83c428 3bd3 7414 8b7d08 83c9ff 33c0 8955ec }
            // n = 7, score = 200
            //   83c428               | add                 esp, 0x28
            //   3bd3                 | cmp                 edx, ebx
            //   7414                 | je                  0x16
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   83c9ff               | or                  ecx, 0xffffffff
            //   33c0                 | xor                 eax, eax
            //   8955ec               | mov                 dword ptr [ebp - 0x14], edx

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