SYMBOLCOMMON_NAMEaka. SYNONYMS
win.punkey_pos (Back to overview)

Punkey POS

aka: poscardstealer, pospunk, punkeypos
VTCollection    

There is no description at this point.

References
2016-06-23 ⋅ Panda Security ⋅ Panda Security
POS and Credit Cards: In the Line of Fire with “PunkeyPOS”
Punkey POS
2015-04-15 ⋅ Trustwave ⋅ Eric Merritt
New POS Malware Emerges - Punkey
Punkey POS
Yara Rules
[TLP:WHITE] win_punkey_pos_auto (20260917 | Detects win.punkey_pos.)
rule win_punkey_pos_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.punkey_pos."
        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.punkey_pos"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 8b0d???????? 56 57 6a00 51 ff15???????? }
            // n = 6, score = 200
            //   8b0d????????         |                     
            //   56                   | push                esi
            //   57                   | push                edi
            //   6a00                 | push                0
            //   51                   | push                ecx
            //   ff15????????         |                     

        $sequence_1 = { 56 57 68e7070000 50 ff15???????? ff05???????? }
            // n = 6, score = 200
            //   56                   | push                esi
            //   57                   | push                edi
            //   68e7070000           | push                0x7e7
            //   50                   | push                eax
            //   ff15????????         |                     
            //   ff05????????         |                     

        $sequence_2 = { 68e7070000 50 ff15???????? ff05???????? 8b0d???????? 56 57 }
            // n = 7, score = 200
            //   68e7070000           | push                0x7e7
            //   50                   | push                eax
            //   ff15????????         |                     
            //   ff05????????         |                     
            //   8b0d????????         |                     
            //   56                   | push                esi
            //   57                   | push                edi

        $sequence_3 = { 56 ffd7 a3???????? 85c0 74bf }
            // n = 5, score = 200
            //   56                   | push                esi
            //   ffd7                 | call                edi
            //   a3????????           |                     
            //   85c0                 | test                eax, eax
            //   74bf                 | je                  0xffffffc1

        $sequence_4 = { 85c0 74ae 5f b801000000 }
            // n = 4, score = 200
            //   85c0                 | test                eax, eax
            //   74ae                 | je                  0xffffffb0
            //   5f                   | pop                 edi
            //   b801000000           | mov                 eax, 1

        $sequence_5 = { c20c00 75e5 56 8b7510 57 8b7d0c }
            // n = 6, score = 200
            //   c20c00               | ret                 0xc
            //   75e5                 | jne                 0xffffffe7
            //   56                   | push                esi
            //   8b7510               | mov                 esi, dword ptr [ebp + 0x10]
            //   57                   | push                edi
            //   8b7d0c               | mov                 edi, dword ptr [ebp + 0xc]

        $sequence_6 = { a1???????? 85c0 740e 56 57 }
            // n = 5, score = 200
            //   a1????????           |                     
            //   85c0                 | test                eax, eax
            //   740e                 | je                  0x10
            //   56                   | push                esi
            //   57                   | push                edi

        $sequence_7 = { 50 ff15???????? c705????????00000000 c3 3b0d???????? }
            // n = 5, score = 200
            //   50                   | push                eax
            //   ff15????????         |                     
            //   c705????????00000000     |     
            //   c3                   | ret                 
            //   3b0d????????         |                     

        $sequence_8 = { 8bec 8b0d???????? 8b4508 6a00 51 }
            // n = 5, score = 200
            //   8bec                 | mov                 ebp, esp
            //   8b0d????????         |                     
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   6a00                 | push                0
            //   51                   | push                ecx

        $sequence_9 = { 8b7d0c f7c600000040 741d a1???????? }
            // n = 4, score = 200
            //   8b7d0c               | mov                 edi, dword ptr [ebp + 0xc]
            //   f7c600000040         | test                esi, 0x40000000
            //   741d                 | je                  0x1f
            //   a1????????           |                     

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