SYMBOLCOMMON_NAMEaka. SYNONYMS
win.scanpos (Back to overview)

ScanPOS


There is no description at this point.

References
2016-11-15ProofpointProofpoint Staff
@online{staff:20161115:kronos:6580667, author = {Proofpoint Staff}, title = {{Kronos Banking Trojan Used to Deliver New Point-of-Sale Malware}}, date = {2016-11-15}, organization = {Proofpoint}, url = {https://www.proofpoint.com/us/threat-insight/post/kronos-banking-trojan-used-to-deliver-new-point-of-sale-malware}, language = {English}, urldate = {2019-12-20} } Kronos Banking Trojan Used to Deliver New Point-of-Sale Malware
Kronos ScanPOS
2016-11-15Nick Hoffman
@online{hoffman:20161115:scanpos:4f3423a, author = {Nick Hoffman}, title = {{ScanPOS, new POS malware being distributed by Kronos}}, date = {2016-11-15}, url = {https://github.com/malware-kitten/securitykitten.github.io/blob/master/_posts/2016-11-15-scanpos.md}, language = {English}, urldate = {2022-09-19} } ScanPOS, new POS malware being distributed by Kronos
ScanPOS
Yara Rules
[TLP:WHITE] win_scanpos_auto (20230125 | Detects win.scanpos.)
rule win_scanpos_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.scanpos."
        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.scanpos"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 57 33f6 bf???????? 833cf5146b410001 751d 8d04f5106b4100 }
            // n = 6, score = 200
            //   57                   | push                edi
            //   33f6                 | xor                 esi, esi
            //   bf????????           |                     
            //   833cf5146b410001     | cmp                 dword ptr [esi*8 + 0x416b14], 1
            //   751d                 | jne                 0x1f
            //   8d04f5106b4100       | lea                 eax, [esi*8 + 0x416b10]

        $sequence_1 = { 83f908 7229 f3a5 ff2495d0624000 8bc7 ba03000000 }
            // n = 6, score = 200
            //   83f908               | cmp                 ecx, 8
            //   7229                 | jb                  0x2b
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   ff2495d0624000       | jmp                 dword ptr [edx*4 + 0x4062d0]
            //   8bc7                 | mov                 eax, edi
            //   ba03000000           | mov                 edx, 3

        $sequence_2 = { e8???????? 68???????? 8d4de4 51 c745e4e4114100 }
            // n = 5, score = 200
            //   e8????????           |                     
            //   68????????           |                     
            //   8d4de4               | lea                 ecx, [ebp - 0x1c]
            //   51                   | push                ecx
            //   c745e4e4114100       | mov                 dword ptr [ebp - 0x1c], 0x4111e4

        $sequence_3 = { 6a01 e8???????? 57 6800000080 }
            // n = 4, score = 200
            //   6a01                 | push                1
            //   e8????????           |                     
            //   57                   | push                edi
            //   6800000080           | push                0x80000000

        $sequence_4 = { 57 8bf9 8bd8 2bfa 3bfb 761e }
            // n = 6, score = 200
            //   57                   | push                edi
            //   8bf9                 | mov                 edi, ecx
            //   8bd8                 | mov                 ebx, eax
            //   2bfa                 | sub                 edi, edx
            //   3bfb                 | cmp                 edi, ebx
            //   761e                 | jbe                 0x20

        $sequence_5 = { 33ff 8955e8 3bc3 7c1c 7f04 }
            // n = 5, score = 200
            //   33ff                 | xor                 edi, edi
            //   8955e8               | mov                 dword ptr [ebp - 0x18], edx
            //   3bc3                 | cmp                 eax, ebx
            //   7c1c                 | jl                  0x1e
            //   7f04                 | jg                  6

        $sequence_6 = { 89742420 897c2424 c7442414e8414100 e8???????? f6c102 743c }
            // n = 6, score = 200
            //   89742420             | mov                 dword ptr [esp + 0x20], esi
            //   897c2424             | mov                 dword ptr [esp + 0x24], edi
            //   c7442414e8414100     | mov                 dword ptr [esp + 0x14], 0x4141e8
            //   e8????????           |                     
            //   f6c102               | test                cl, 2
            //   743c                 | je                  0x3e

        $sequence_7 = { 53 ff75e0 50 8b4224 }
            // n = 4, score = 200
            //   53                   | push                ebx
            //   ff75e0               | push                dword ptr [ebp - 0x20]
            //   50                   | push                eax
            //   8b4224               | mov                 eax, dword ptr [edx + 0x24]

        $sequence_8 = { 7c12 7f04 3bca 760c 2bca 1bc7 }
            // n = 6, score = 200
            //   7c12                 | jl                  0x14
            //   7f04                 | jg                  6
            //   3bca                 | cmp                 ecx, edx
            //   760c                 | jbe                 0xe
            //   2bca                 | sub                 ecx, edx
            //   1bc7                 | sbb                 eax, edi

        $sequence_9 = { 7444 b8???????? 668b10 663b11 }
            // n = 4, score = 200
            //   7444                 | je                  0x46
            //   b8????????           |                     
            //   668b10               | mov                 dx, word ptr [eax]
            //   663b11               | cmp                 dx, word ptr [ecx]

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