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 (20201023 | autogenerated rule brought to you by yara-signator)
rule win_pykspa_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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 = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { 84c0 745d 8a4564 3a4570 7555 6a01 e8???????? }
            // n = 7, score = 100
            //   84c0                 | test                al, al
            //   745d                 | je                  0x5f
            //   8a4564               | mov                 al, byte ptr [ebp + 0x64]
            //   3a4570               | cmp                 al, byte ptr [ebp + 0x70]
            //   7555                 | jne                 0x57
            //   6a01                 | push                1
            //   e8????????           |                     

        $sequence_1 = { e9???????? 68???????? 57 ffd6 85c0 7509 c6457302 }
            // n = 7, score = 100
            //   e9????????           |                     
            //   68????????           |                     
            //   57                   | push                edi
            //   ffd6                 | call                esi
            //   85c0                 | test                eax, eax
            //   7509                 | jne                 0xb
            //   c6457302             | mov                 byte ptr [ebp + 0x73], 2

        $sequence_2 = { e8???????? 8b5508 8b7f04 83c410 85d2 8d0cbb 7e16 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   8b7f04               | mov                 edi, dword ptr [edi + 4]
            //   83c410               | add                 esp, 0x10
            //   85d2                 | test                edx, edx
            //   8d0cbb               | lea                 ecx, [ebx + edi*4]
            //   7e16                 | jle                 0x18

        $sequence_3 = { ab ab 66ab be???????? 8d7de0 66a5 a4 }
            // n = 7, score = 100
            //   ab                   | stosd               dword ptr es:[edi], eax
            //   ab                   | stosd               dword ptr es:[edi], eax
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   be????????           |                     
            //   8d7de0               | lea                 edi, [ebp - 0x20]
            //   66a5                 | movsw               word ptr es:[edi], word ptr [esi]
            //   a4                   | movsb               byte ptr es:[edi], byte ptr [esi]

        $sequence_4 = { 3819 75d2 3819 7416 0fb608 f681214e460004 }
            // n = 6, score = 100
            //   3819                 | cmp                 byte ptr [ecx], bl
            //   75d2                 | jne                 0xffffffd4
            //   3819                 | cmp                 byte ptr [ecx], bl
            //   7416                 | je                  0x18
            //   0fb608               | movzx               ecx, byte ptr [eax]
            //   f681214e460004       | test                byte ptr [ecx + 0x464e21], 4

        $sequence_5 = { 6880000000 6a01 6a01 57 ff35???????? 6a01 56 }
            // n = 7, score = 100
            //   6880000000           | push                0x80
            //   6a01                 | push                1
            //   6a01                 | push                1
            //   57                   | push                edi
            //   ff35????????         |                     
            //   6a01                 | push                1
            //   56                   | push                esi

        $sequence_6 = { 84c0 59 0f84b8000000 8b4718 ff700c 8d44241c 50 }
            // n = 7, score = 100
            //   84c0                 | test                al, al
            //   59                   | pop                 ecx
            //   0f84b8000000         | je                  0xbe
            //   8b4718               | mov                 eax, dword ptr [edi + 0x18]
            //   ff700c               | push                dword ptr [eax + 0xc]
            //   8d44241c             | lea                 eax, [esp + 0x1c]
            //   50                   | push                eax

        $sequence_7 = { 803d????????00 7558 803d????????00 7465 a1???????? 894508 a1???????? }
            // n = 7, score = 100
            //   803d????????00       |                     
            //   7558                 | jne                 0x5a
            //   803d????????00       |                     
            //   7465                 | je                  0x67
            //   a1????????           |                     
            //   894508               | mov                 dword ptr [ebp + 8], eax
            //   a1????????           |                     

        $sequence_8 = { e8???????? 83c40c 85c0 7507 68???????? ebde }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   85c0                 | test                eax, eax
            //   7507                 | jne                 9
            //   68????????           |                     
            //   ebde                 | jmp                 0xffffffe0

        $sequence_9 = { 50 ffd6 8d45b4 50 8d85acfeffff 50 ffd6 }
            // n = 7, score = 100
            //   50                   | push                eax
            //   ffd6                 | call                esi
            //   8d45b4               | lea                 eax, [ebp - 0x4c]
            //   50                   | push                eax
            //   8d85acfeffff         | lea                 eax, [ebp - 0x154]
            //   50                   | push                eax
            //   ffd6                 | call                esi

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