SYMBOLCOMMON_NAMEaka. SYNONYMS
win.pkybot (Back to overview)

Pkybot

aka: Pykbot, TBag, Bublik
VTCollection     URLhaus    

Pkybot is a trojan, which has its roots as a downloader dubbed Bublik in 2013 and was seen distributing GameoverZeus in 2014 (ref: fortinet). In the beginning of 2015, webinject capability was added according to /Kleissner/Kafeine/iSight using the infamous ATS.

References
2015-06-10Kleissner & AssociatesPeter Kleissner
Pony + Pkybot + Automated Transfer System = Banker
Pkybot
Yara Rules
[TLP:WHITE] win_pkybot_auto (20260504 | Detects win.pkybot.)
rule win_pkybot_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.pkybot."
        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.pkybot"
        malpedia_rule_date = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 813e50450000 750b b80b010000 66394618 7404 }
            // n = 5, score = 1400
            //   813e50450000         | cmp                 dword ptr [esi], 0x4550
            //   750b                 | jne                 0xd
            //   b80b010000           | mov                 eax, 0x10b
            //   66394618             | cmp                 word ptr [esi + 0x18], ax
            //   7404                 | je                  6

        $sequence_1 = { 8bf1 f70600020000 7409 ff7604 e8???????? }
            // n = 5, score = 1400
            //   8bf1                 | mov                 esi, ecx
            //   f70600020000         | test                dword ptr [esi], 0x200
            //   7409                 | je                  0xb
            //   ff7604               | push                dword ptr [esi + 4]
            //   e8????????           |                     

        $sequence_2 = { 8b4e20 8b01 ff5010 5f 8bc6 5e 5b }
            // n = 7, score = 1400
            //   8b4e20               | mov                 ecx, dword ptr [esi + 0x20]
            //   8b01                 | mov                 eax, dword ptr [ecx]
            //   ff5010               | call                dword ptr [eax + 0x10]
            //   5f                   | pop                 edi
            //   8bc6                 | mov                 eax, esi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx

        $sequence_3 = { b80b010000 66394618 7404 33c0 }
            // n = 4, score = 1400
            //   b80b010000           | mov                 eax, 0x10b
            //   66394618             | cmp                 word ptr [esi + 0x18], ax
            //   7404                 | je                  6
            //   33c0                 | xor                 eax, eax

        $sequence_4 = { 53 ff7004 ff30 6aff }
            // n = 4, score = 1400
            //   53                   | push                ebx
            //   ff7004               | push                dword ptr [eax + 4]
            //   ff30                 | push                dword ptr [eax]
            //   6aff                 | push                -1

        $sequence_5 = { 85c0 0f848a000000 8d45fc 50 6a00 6a00 6a19 }
            // n = 7, score = 1400
            //   85c0                 | test                eax, eax
            //   0f848a000000         | je                  0x90
            //   8d45fc               | lea                 eax, [ebp - 4]
            //   50                   | push                eax
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a19                 | push                0x19

        $sequence_6 = { 6a01 ff7004 ff15???????? 8bf0 83feff }
            // n = 5, score = 1400
            //   6a01                 | push                1
            //   ff7004               | push                dword ptr [eax + 4]
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   83feff               | cmp                 esi, -1

        $sequence_7 = { 8bec a1???????? 83ec10 85c0 743c 833d????????00 7433 }
            // n = 7, score = 1400
            //   8bec                 | mov                 ebp, esp
            //   a1????????           |                     
            //   83ec10               | sub                 esp, 0x10
            //   85c0                 | test                eax, eax
            //   743c                 | je                  0x3e
            //   833d????????00       |                     
            //   7433                 | je                  0x35

        $sequence_8 = { 8bf8 8d45f8 50 8d85ecfdffff }
            // n = 4, score = 1400
            //   8bf8                 | mov                 edi, eax
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   50                   | push                eax
            //   8d85ecfdffff         | lea                 eax, [ebp - 0x214]

        $sequence_9 = { ff35???????? e8???????? 59 893d???????? 893d???????? }
            // n = 5, score = 1400
            //   ff35????????         |                     
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   893d????????         |                     
            //   893d????????         |                     

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