SYMBOLCOMMON_NAMEaka. SYNONYMS
win.logpos (Back to overview)

LogPOS


There is no description at this point.

References
2015-11-16Nick Hoffman
@online{hoffman:20151116:introducing:eed78d1, author = {Nick Hoffman}, title = {{Introducing LogPOS}}, date = {2015-11-16}, url = {https://github.com/malware-kitten/securitykitten.github.io/blob/master/_posts/2015-11-16-logpos-new-point-of-sale-malware-using-mailslots.md}, language = {English}, urldate = {2022-09-19} } Introducing LogPOS
LogPOS
Yara Rules
[TLP:WHITE] win_logpos_auto (20230715 | Detects win.logpos.)
rule win_logpos_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.logpos."
        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.logpos"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 837dfc0f 7c05 8b45fc eb05 b800000000 }
            // n = 5, score = 100
            //   837dfc0f             | cmp                 dword ptr [ebp - 4], 0xf
            //   7c05                 | jl                  7
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   eb05                 | jmp                 7
            //   b800000000           | mov                 eax, 0

        $sequence_1 = { 50 ff15???????? 6a00 50 8b45e4 50 }
            // n = 6, score = 100
            //   50                   | push                eax
            //   ff15????????         |                     
            //   6a00                 | push                0
            //   50                   | push                eax
            //   8b45e4               | mov                 eax, dword ptr [ebp - 0x1c]
            //   50                   | push                eax

        $sequence_2 = { e8???????? 5b 81ebb5030000 8d9be6090000 8d55e4 52 ff7508 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   5b                   | pop                 ebx
            //   81ebb5030000         | sub                 ebx, 0x3b5
            //   8d9be6090000         | lea                 ebx, [ebx + 0x9e6]
            //   8d55e4               | lea                 edx, [ebp - 0x1c]
            //   52                   | push                edx
            //   ff7508               | push                dword ptr [ebp + 8]

        $sequence_3 = { 48 8d0d99040000 48 8939 eb03 }
            // n = 5, score = 100
            //   48                   | dec                 eax
            //   8d0d99040000         | lea                 ecx, [0x499]
            //   48                   | dec                 eax
            //   8939                 | mov                 dword ptr [ecx], edi
            //   eb03                 | jmp                 5

        $sequence_4 = { 89442430 48 c744243800000000 48 895c2440 48 }
            // n = 6, score = 100
            //   89442430             | mov                 dword ptr [esp + 0x30], eax
            //   48                   | dec                 eax
            //   c744243800000000     | mov                 dword ptr [esp + 0x38], 0
            //   48                   | dec                 eax
            //   895c2440             | mov                 dword ptr [esp + 0x40], ebx
            //   48                   | dec                 eax

        $sequence_5 = { 48 01d8 48 8b5518 }
            // n = 4, score = 100
            //   48                   | dec                 eax
            //   01d8                 | add                 eax, ebx
            //   48                   | dec                 eax
            //   8b5518               | mov                 edx, dword ptr [ebp + 0x18]

        $sequence_6 = { e8???????? 83c410 898560ffffff 83f800 0f8442010000 83bd68ffffff00 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   898560ffffff         | mov                 dword ptr [ebp - 0xa0], eax
            //   83f800               | cmp                 eax, 0
            //   0f8442010000         | je                  0x148
            //   83bd68ffffff00       | cmp                 dword ptr [ebp - 0x98], 0

        $sequence_7 = { 8d856cffffff 50 e8???????? 83c418 e8???????? 83bd68ffffff00 0f841d000000 }
            // n = 7, score = 100
            //   8d856cffffff         | lea                 eax, [ebp - 0x94]
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c418               | add                 esp, 0x18
            //   e8????????           |                     
            //   83bd68ffffff00       | cmp                 dword ptr [ebp - 0x98], 0
            //   0f841d000000         | je                  0x23

        $sequence_8 = { c1ca07 41 31d0 8a11 48 ffc1 }
            // n = 6, score = 100
            //   c1ca07               | ror                 edx, 7
            //   41                   | inc                 ecx
            //   31d0                 | xor                 eax, edx
            //   8a11                 | mov                 dl, byte ptr [ecx]
            //   48                   | dec                 eax
            //   ffc1                 | inc                 ecx

        $sequence_9 = { ff535c 61 c3 55 89e5 }
            // n = 5, score = 100
            //   ff535c               | call                dword ptr [ebx + 0x5c]
            //   61                   | popal               
            //   c3                   | ret                 
            //   55                   | push                ebp
            //   89e5                 | mov                 ebp, esp

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