SYMBOLCOMMON_NAMEaka. SYNONYMS
win.prilex (Back to overview)

Prilex

VTCollection    

There is no description at this point.

References
2018-03-09Kaspersky LabsAlex Perekalin
Cloning chip-and-PIN cards: Brazilian job
Prilex
2017-12-14Trend MicroDavid Sancho, Fernando Mercês
Dissecting PRILEX and CUTLET MAKER ATM Malware Families
Prilex
Yara Rules
[TLP:WHITE] win_prilex_auto (20241030 | Detects win.prilex.)
rule win_prilex_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2024-10-31"
        version = "1"
        description = "Detects win.prilex."
        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.prilex"
        malpedia_rule_date = "20241030"
        malpedia_hash = "26e26953c49c8efafbf72a38076855d578e0a2e4"
        malpedia_version = "20241030"
        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 = { 2b4814 898de8feffff 8b55ac 8b85e8feffff 3b4210 730c }
            // n = 6, score = 400
            //   2b4814               | sub                 ecx, dword ptr [eax + 0x14]
            //   898de8feffff         | mov                 dword ptr [ebp - 0x118], ecx
            //   8b55ac               | mov                 edx, dword ptr [ebp - 0x54]
            //   8b85e8feffff         | mov                 eax, dword ptr [ebp - 0x118]
            //   3b4210               | cmp                 eax, dword ptr [edx + 0x10]
            //   730c                 | jae                 0xe

        $sequence_1 = { 8b45a0 8985b4feffff c745a000000000 8b8db4feffff 898d54ffffff }
            // n = 5, score = 400
            //   8b45a0               | mov                 eax, dword ptr [ebp - 0x60]
            //   8985b4feffff         | mov                 dword ptr [ebp - 0x14c], eax
            //   c745a000000000       | mov                 dword ptr [ebp - 0x60], 0
            //   8b8db4feffff         | mov                 ecx, dword ptr [ebp - 0x14c]
            //   898d54ffffff         | mov                 dword ptr [ebp - 0xac], ecx

        $sequence_2 = { 6aff 52 895dbc e8???????? ffd6 }
            // n = 5, score = 400
            //   6aff                 | push                -1
            //   52                   | push                edx
            //   895dbc               | mov                 dword ptr [ebp - 0x44], ebx
            //   e8????????           |                     
            //   ffd6                 | call                esi

        $sequence_3 = { 0f8097000000 50 6a01 6a03 51 6a04 }
            // n = 6, score = 400
            //   0f8097000000         | jo                  0x9d
            //   50                   | push                eax
            //   6a01                 | push                1
            //   6a03                 | push                3
            //   51                   | push                ecx
            //   6a04                 | push                4

        $sequence_4 = { 7405 e9???????? c745fc15000000 6a00 }
            // n = 4, score = 400
            //   7405                 | je                  7
            //   e9????????           |                     
            //   c745fc15000000       | mov                 dword ptr [ebp - 4], 0x15
            //   6a00                 | push                0

        $sequence_5 = { 897db0 ff15???????? 50 8d45d8 50 ff15???????? 8bf0 }
            // n = 7, score = 400
            //   897db0               | mov                 dword ptr [ebp - 0x50], edi
            //   ff15????????         |                     
            //   50                   | push                eax
            //   8d45d8               | lea                 eax, [ebp - 0x28]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax

        $sequence_6 = { e8???????? 8bf8 ff15???????? 8d55d4 }
            // n = 4, score = 400
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax
            //   ff15????????         |                     
            //   8d55d4               | lea                 edx, [ebp - 0x2c]

        $sequence_7 = { 52 ff15???????? 50 8b4508 8b08 51 57 }
            // n = 7, score = 400
            //   52                   | push                edx
            //   ff15????????         |                     
            //   50                   | push                eax
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   51                   | push                ecx
            //   57                   | push                edi

        $sequence_8 = { ffd6 50 8d4da0 68???????? 51 ffd6 }
            // n = 6, score = 400
            //   ffd6                 | call                esi
            //   50                   | push                eax
            //   8d4da0               | lea                 ecx, [ebp - 0x60]
            //   68????????           |                     
            //   51                   | push                ecx
            //   ffd6                 | call                esi

        $sequence_9 = { ff15???????? 8b4d08 8b35???????? b808000000 }
            // n = 4, score = 400
            //   ff15????????         |                     
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   8b35????????         |                     
            //   b808000000           | mov                 eax, 8

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