SYMBOLCOMMON_NAMEaka. SYNONYMS
win.lock_pos (Back to overview)

LockPOS

VTCollection    

There is no description at this point.

References
2018-01-16 ⋅ Cylance ⋅ Cylance Threat Research Team
Threat Spotlight: LockPOS Point of Sale Malware
LockPOS
2018-01-03 ⋅ Cyberbit ⋅ Hod Gavriel
New LockPoS Malware Injection Technique
LockPOS
2017-07-12 ⋅ NetScout ⋅ Dennis Schwarz
LockPoS Joins the Flock
LockPOS
Yara Rules
[TLP:WHITE] win_lock_pos_auto (20260917 | Detects win.lock_pos.)
rule win_lock_pos_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.lock_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.lock_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 = { 55 8bec 837d0800 7704 }
            // n = 4, score = 400
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   837d0800             | cmp                 dword ptr [ebp + 8], 0
            //   7704                 | ja                  6

        $sequence_1 = { 55 8bec 8b4508 8b0d???????? 8b0481 }
            // n = 5, score = 400
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   8b0d????????         |                     
            //   8b0481               | mov                 eax, dword ptr [ecx + eax*4]

        $sequence_2 = { 55 8bec 81eca4040000 56 }
            // n = 4, score = 300
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   81eca4040000         | sub                 esp, 0x4a4
            //   56                   | push                esi

        $sequence_3 = { 8d85f8fdffff 50 6a00 6a00 6a23 6a00 }
            // n = 6, score = 300
            //   8d85f8fdffff         | lea                 eax, [ebp - 0x208]
            //   50                   | push                eax
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a23                 | push                0x23
            //   6a00                 | push                0

        $sequence_4 = { 6a23 6a00 ff15???????? 8d8df8fdffff }
            // n = 4, score = 300
            //   6a23                 | push                0x23
            //   6a00                 | push                0
            //   ff15????????         |                     
            //   8d8df8fdffff         | lea                 ecx, [ebp - 0x208]

        $sequence_5 = { 59 84c0 7459 8365fc00 }
            // n = 4, score = 200
            //   59                   | pop                 ecx
            //   84c0                 | test                al, al
            //   7459                 | je                  0x5b
            //   8365fc00             | and                 dword ptr [ebp - 4], 0

        $sequence_6 = { e8???????? 83c404 c605????????01 6a01 e8???????? }
            // n = 5, score = 200
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   c605????????01       |                     
            //   6a01                 | push                1
            //   e8????????           |                     

        $sequence_7 = { 8b451c 33c9 8945e8 894dec }
            // n = 4, score = 200
            //   8b451c               | mov                 eax, dword ptr [ebp + 0x1c]
            //   33c9                 | xor                 ecx, ecx
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax
            //   894dec               | mov                 dword ptr [ebp - 0x14], ecx

        $sequence_8 = { 5f 8d75e0 885dff e8???????? 59 }
            // n = 5, score = 200
            //   5f                   | pop                 edi
            //   8d75e0               | lea                 esi, [ebp - 0x20]
            //   885dff               | mov                 byte ptr [ebp - 1], bl
            //   e8????????           |                     
            //   59                   | pop                 ecx

        $sequence_9 = { 0f843a010000 8b4df4 668b11 66c1ea0c 6683e20f 0fb7c2 }
            // n = 6, score = 200
            //   0f843a010000         | je                  0x140
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]
            //   668b11               | mov                 dx, word ptr [ecx]
            //   66c1ea0c             | shr                 dx, 0xc
            //   6683e20f             | and                 dx, 0xf
            //   0fb7c2               | movzx               eax, dx

        $sequence_10 = { 8955e0 8b45fc 8b4d08 03481c 8b55e0 }
            // n = 5, score = 200
            //   8955e0               | mov                 dword ptr [ebp - 0x20], edx
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   03481c               | add                 ecx, dword ptr [eax + 0x1c]
            //   8b55e0               | mov                 edx, dword ptr [ebp - 0x20]

        $sequence_11 = { 8b5518 52 6a00 6a02 8d45e4 50 6a00 }
            // n = 7, score = 200
            //   8b5518               | mov                 edx, dword ptr [ebp + 0x18]
            //   52                   | push                edx
            //   6a00                 | push                0
            //   6a02                 | push                2
            //   8d45e4               | lea                 eax, [ebp - 0x1c]
            //   50                   | push                eax
            //   6a00                 | push                0

        $sequence_12 = { 668945f2 8d45f8 50 6a00 6a00 6a01 8d45f0 }
            // n = 7, score = 200
            //   668945f2             | mov                 word ptr [ebp - 0xe], ax
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   50                   | push                eax
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a01                 | push                1
            //   8d45f0               | lea                 eax, [ebp - 0x10]

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