SYMBOLCOMMON_NAMEaka. SYNONYMS
win.pykspa (Back to overview)

Pykspa


There is no description at this point.

References
2019-07-11AkamaiLior Lahav
@online{lahav:20190711:pykspa:9a2e7e7, author = {Lior Lahav}, title = {{Pykspa V2 DHA Updated to Become Selective}}, date = {2019-07-11}, organization = {Akamai}, url = {https://blogs.akamai.com/sitr/2019/07/pykspa-v2-dga-updated-to-become-selective.html}, language = {English}, urldate = {2020-01-06} } Pykspa V2 DHA Updated to Become Selective
Pykspa
2018-01-11Youtube (OALabs)Sergei Frankoff
@online{frankoff:20180111:unpacking:bd095df, author = {Sergei Frankoff}, title = {{Unpacking Pykspa Malware With Python and IDA Pro - Subscriber Request Part 1}}, date = {2018-01-11}, organization = {Youtube (OALabs)}, url = {https://www.youtube.com/watch?v=HfSQlC76_s4}, language = {English}, urldate = {2019-11-29} } Unpacking Pykspa Malware With Python and IDA Pro - Subscriber Request Part 1
Pykspa
2015-07-19Johannes Bader BlogJohannes Bader
@online{bader:20150719:faulty:e287eee, author = {Johannes Bader}, title = {{The Faulty Precursor of Pykspa's DGA}}, date = {2015-07-19}, organization = {Johannes Bader Blog}, url = {https://www.johannesbader.ch/2015/07/pykspas-inferior-dga-version/}, language = {English}, urldate = {2020-01-09} } The Faulty Precursor of Pykspa's DGA
Pykspa
2015-03-10Johannes Bader BlogJohannes Bader
@online{bader:20150310:dga:4409507, author = {Johannes Bader}, title = {{The DGA of Pykspa}}, date = {2015-03-10}, organization = {Johannes Bader Blog}, url = {https://www.johannesbader.ch/2015/03/the-dga-of-pykspa/}, language = {English}, urldate = {2019-12-19} } The DGA of Pykspa
Pykspa
Yara Rules
[TLP:WHITE] win_pykspa_auto (20210616 | Detects win.pykspa.)
rule win_pykspa_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2021-06-10"
        version = "1"
        description = "Detects win.pykspa."
        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.pykspa"
        malpedia_rule_date = "20210604"
        malpedia_hash = "be09d5d71e77373c0f538068be31a2ad4c69cfbd"
        malpedia_version = "20210616"
        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 = { e8???????? 83c414 57 8d85f8feffff 50 ffd6 6a0a }
            // n = 7, score = 100
            //   e8????????           |                     
            //   83c414               | add                 esp, 0x14
            //   57                   | push                edi
            //   8d85f8feffff         | lea                 eax, dword ptr [ebp - 0x108]
            //   50                   | push                eax
            //   ffd6                 | call                esi
            //   6a0a                 | push                0xa

        $sequence_1 = { 50 8d45f8 50 53 ff7508 895df8 895dfc }
            // n = 7, score = 100
            //   50                   | push                eax
            //   8d45f8               | lea                 eax, dword ptr [ebp - 8]
            //   50                   | push                eax
            //   53                   | push                ebx
            //   ff7508               | push                dword ptr [ebp + 8]
            //   895df8               | mov                 dword ptr [ebp - 8], ebx
            //   895dfc               | mov                 dword ptr [ebp - 4], ebx

        $sequence_2 = { ff15???????? 50 53 6a40 ff15???????? 3bc3 a3???????? }
            // n = 7, score = 100
            //   ff15????????         |                     
            //   50                   | push                eax
            //   53                   | push                ebx
            //   6a40                 | push                0x40
            //   ff15????????         |                     
            //   3bc3                 | cmp                 eax, ebx
            //   a3????????           |                     

        $sequence_3 = { 8bec 83ec0c 8b4514 8365fc00 53 8b5d08 894508 }
            // n = 7, score = 100
            //   8bec                 | mov                 ebp, esp
            //   83ec0c               | sub                 esp, 0xc
            //   8b4514               | mov                 eax, dword ptr [ebp + 0x14]
            //   8365fc00             | and                 dword ptr [ebp - 4], 0
            //   53                   | push                ebx
            //   8b5d08               | mov                 ebx, dword ptr [ebp + 8]
            //   894508               | mov                 dword ptr [ebp + 8], eax

        $sequence_4 = { eb18 33c0 40 394704 7520 8b4f0c 3901 }
            // n = 7, score = 100
            //   eb18                 | jmp                 0x1a
            //   33c0                 | xor                 eax, eax
            //   40                   | inc                 eax
            //   394704               | cmp                 dword ptr [edi + 4], eax
            //   7520                 | jne                 0x22
            //   8b4f0c               | mov                 ecx, dword ptr [edi + 0xc]
            //   3901                 | cmp                 dword ptr [ecx], eax

        $sequence_5 = { 8b35???????? 85f6 0f8488040000 8b3d???????? 85ff 0f847a040000 803d????????00 }
            // n = 7, score = 100
            //   8b35????????         |                     
            //   85f6                 | test                esi, esi
            //   0f8488040000         | je                  0x48e
            //   8b3d????????         |                     
            //   85ff                 | test                edi, edi
            //   0f847a040000         | je                  0x480
            //   803d????????00       |                     

        $sequence_6 = { 8dbdf1fdffff f3ab 66ab aa 8b3d???????? 53 8d85f0fdffff }
            // n = 7, score = 100
            //   8dbdf1fdffff         | lea                 edi, dword ptr [ebp - 0x20f]
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   aa                   | stosb               byte ptr es:[edi], al
            //   8b3d????????         |                     
            //   53                   | push                ebx
            //   8d85f0fdffff         | lea                 eax, dword ptr [ebp - 0x210]

        $sequence_7 = { 8975f8 ff15???????? 85c0 7509 57 e8???????? 59 }
            // n = 7, score = 100
            //   8975f8               | mov                 dword ptr [ebp - 8], esi
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7509                 | jne                 0xb
            //   57                   | push                edi
            //   e8????????           |                     
            //   59                   | pop                 ecx

        $sequence_8 = { 85f6 59 59 7475 ff7508 8d45b0 50 }
            // n = 7, score = 100
            //   85f6                 | test                esi, esi
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   7475                 | je                  0x77
            //   ff7508               | push                dword ptr [ebp + 8]
            //   8d45b0               | lea                 eax, dword ptr [ebp - 0x50]
            //   50                   | push                eax

        $sequence_9 = { ffd6 8d45fc 50 8d45f8 50 ff7508 8d85ecfeffff }
            // n = 7, score = 100
            //   ffd6                 | call                esi
            //   8d45fc               | lea                 eax, dword ptr [ebp - 4]
            //   50                   | push                eax
            //   8d45f8               | lea                 eax, dword ptr [ebp - 8]
            //   50                   | push                eax
            //   ff7508               | push                dword ptr [ebp + 8]
            //   8d85ecfeffff         | lea                 eax, dword ptr [ebp - 0x114]

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