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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2018-11-23"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator 0.1a"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.pony"
        malpedia_version = "20180607"
        malpedia_license = "CC BY-NC-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 will be published in the near future 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 = { 40 8bf0 8b7d08 eb01 }
            // n = 4, score = 8000
            //   40                   | inc                 eax
            //   8bf0                 | mov                 esi, eax
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   eb01                 | jmp                 0x40bd63

        $sequence_1 = { 90 59 90 83c604 }
            // n = 4, score = 8000
            //   90                   | nop                 
            //   59                   | pop                 ecx
            //   90                   | nop                 
            //   83c604               | add                 esi, 4

        $sequence_2 = { 8d45f0 50 e815000000 fc }
            // n = 4, score = 8000
            //   8d45f0               | lea                 eax, dword ptr [ebp - 0x10]
            //   50                   | push                eax
            //   e815000000           | call                0x403156
            //   fc                   | cld                 

        $sequence_3 = { c20400 8b7508 eb0a ff36 }
            // n = 4, score = 8000
            //   c20400               | ret                 4
            //   8b7508               | mov                 esi, dword ptr [ebp + 8]
            //   eb0a                 | jmp                 0x40b839
            //   ff36                 | push                dword ptr [esi]

        $sequence_4 = { 2bff eb12 ff7514 ff7508 }
            // n = 4, score = 8000
            //   2bff                 | sub                 edi, edi
            //   eb12                 | jmp                 0x40bb18
            //   ff7514               | push                dword ptr [ebp + 0x14]
            //   ff7508               | push                dword ptr [ebp + 8]

        $sequence_5 = { 5f 4f 47 803f20 }
            // n = 4, score = 8000
            //   5f                   | pop                 edi
            //   4f                   | dec                 edi
            //   47                   | inc                 edi
            //   803f20               | cmp                 byte ptr [edi], 0x20

        $sequence_6 = { 03560c c1c20a 03d0 bfffffffff }
            // n = 4, score = 8000
            //   03560c               | add                 edx, dword ptr [esi + 0xc]
            //   c1c20a               | rol                 edx, 0xa
            //   03d0                 | add                 edx, eax
            //   bfffffffff           | mov                 edi, 0xffffffff

        $sequence_7 = { 83bdecf7ffff00 0f848e000000 83bde8f7ffff00 0f8481000000 }
            // n = 4, score = 8000
            //   83bdecf7ffff00       | cmp                 dword ptr [ebp - 0x814], 0
            //   0f848e000000         | je                  0x40695f
            //   83bde8f7ffff00       | cmp                 dword ptr [ebp - 0x818], 0
            //   0f8481000000         | je                  0x40695f

        $sequence_8 = { 90 33db 90 ac }
            // n = 4, score = 8000
            //   90                   | nop                 
            //   33db                 | xor                 ebx, ebx
            //   90                   | nop                 
            //   ac                   | lodsb               al, byte ptr [esi]

        $sequence_9 = { 33f8 0bf9 33fa 8d9c1fa111084e }
            // n = 4, score = 8000
            //   33f8                 | xor                 edi, eax
            //   0bf9                 | or                  edi, ecx
            //   33fa                 | xor                 edi, edx
            //   8d9c1fa111084e       | lea                 ebx, dword ptr [edi + ebx + 0x4e0811a1]

    condition:
        7 of them
}
Download all Yara Rules