win.pony (Back to overview)

Pony

aka: Siplog, Fareit
URLhaus        

There is no description at this point.

References
https://www.mcafee.com/us/resources/reports/rp-quarterly-threats-jun-2017.pdf
https://www.uperesia.com/analysis-of-a-packed-pony-downloader
https://github.com/nyx0/Pony
Yara Rules
[TLP:WHITE] win_pony_auto (20190620 | autogenerated rule brought to you by yara-signator)
rule win_pony_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2019-07-05"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator 0.2a"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.pony"
        malpedia_version = "20190620"
        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 / approach 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 = { c745f4ff0f0000 8d45c4 50 6a00 6a00 ff75bc e8???????? }
            // n = 7, score = 800
            //   c745f4ff0f0000       | mov                 dword ptr [ebp - 0xc], 0xfff
            //   8d45c4               | lea                 eax, [ebp - 0x3c]
            //   50                   | push                eax
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   ff75bc               | push                dword ptr [ebp - 0x44]
            //   e8????????           |                     

        $sequence_1 = { 23f9 33f8 8d9c1feecebdc1 035e0c c1c316 03d9 8bf9 }
            // n = 7, score = 800
            //   23f9                 | and                 edi, ecx
            //   33f8                 | xor                 edi, eax
            //   8d9c1feecebdc1       | lea                 ebx, [edi + ebx - 0x3e423112]
            //   035e0c               | add                 ebx, dword ptr [esi + 0xc]
            //   c1c316               | rol                 ebx, 0x16
            //   03d9                 | add                 ebx, ecx
            //   8bf9                 | mov                 edi, ecx

        $sequence_2 = { 33f9 23f8 33fa 8d9c1fed145a45 035e20 }
            // n = 5, score = 800
            //   33f9                 | xor                 edi, ecx
            //   23f8                 | and                 edi, eax
            //   33fa                 | xor                 edi, edx
            //   8d9c1fed145a45       | lea                 ebx, [edi + ebx + 0x455a14ed]
            //   035e20               | add                 ebx, dword ptr [esi + 0x20]

        $sequence_3 = { ff7608 680400efbe e8???????? ff75ec e8???????? 5e ff4df8 }
            // n = 7, score = 800
            //   ff7608               | push                dword ptr [esi + 8]
            //   680400efbe           | push                0xbeef0004
            //   e8????????           |                     
            //   ff75ec               | push                dword ptr [ebp - 0x14]
            //   e8????????           |                     
            //   5e                   | pop                 esi
            //   ff4df8               | dec                 dword ptr [ebp - 8]

        $sequence_4 = { 50 e8???????? 83c608 56 8d45f0 50 e8???????? }
            // n = 7, score = 800
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c608               | add                 esi, 8
            //   56                   | push                esi
            //   8d45f0               | lea                 eax, [ebp - 0x10]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_5 = { 8d45f8 50 ff7508 e8???????? 8945e4 8d45f8 50 }
            // n = 7, score = 800
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   50                   | push                eax
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   50                   | push                eax

        $sequence_6 = { 8bec 83c4fc ff750c ff7508 e8???????? }
            // n = 5, score = 800
            //   8bec                 | mov                 ebp, esp
            //   83c4fc               | add                 esp, -4
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     

        $sequence_7 = { 2bdb ff15???????? 8945f4 c785ccfeffff28010000 6a00 6a02 e8???????? }
            // n = 7, score = 800
            //   2bdb                 | sub                 ebx, ebx
            //   ff15????????         |                     
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   c785ccfeffff28010000     | mov    dword ptr [ebp - 0x134], 0x128
            //   6a00                 | push                0
            //   6a02                 | push                2
            //   e8????????           |                     

        $sequence_8 = { 8b45f8 5f c9 c20800 57 8b3d???????? eb?? }
            // n = 7, score = 800
            //   8b45f8               | mov                 eax, dword ptr [ebp - 8]
            //   5f                   | pop                 edi
            //   c9                   | leave               
            //   c20800               | ret                 8
            //   57                   | push                edi
            //   8b3d????????         |                     
            //   eb??                 |                     

        $sequence_9 = { ffb5d8f7ffff ff7508 e8???????? ffb5dcf7ffff ff7508 e8???????? 83bdd4f7ffff00 }
            // n = 7, score = 800
            //   ffb5d8f7ffff         | push                dword ptr [ebp - 0x828]
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     
            //   ffb5dcf7ffff         | push                dword ptr [ebp - 0x824]
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     
            //   83bdd4f7ffff00       | cmp                 dword ptr [ebp - 0x82c], 0

    condition:
        7 of them
}
Download all Yara Rules