SYMBOLCOMMON_NAMEaka. SYNONYMS
win.pss (Back to overview)

PC Surveillance System

aka: PSS

Citizenlab notes that PC Surveillance System (PSS) is a commercial spyware product offered by Cyberbit and marketed to intelligence and law enforcement agencies.

References
2017-12-06The Citizen LabBill Marczak, Geoffrey Alexander, Sarah McKune, John Scott-Railton, Ron Deibert
@online{marczak:20171206:champing:4cb4525, author = {Bill Marczak and Geoffrey Alexander and Sarah McKune and John Scott-Railton and Ron Deibert}, title = {{Champing at the Cyberbit Ethiopian Dissidents Targeted with New Commercial Spyware}}, date = {2017-12-06}, organization = {The Citizen Lab}, url = {https://citizenlab.ca/2017/12/champing-cyberbit-ethiopian-dissidents-targeted-commercial-spyware/}, language = {English}, urldate = {2019-11-23} } Champing at the Cyberbit Ethiopian Dissidents Targeted with New Commercial Spyware
PC Surveillance System
Yara Rules
[TLP:WHITE] win_pss_auto (20200817 | autogenerated rule brought to you by yara-signator)
rule win_pss_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-08-17"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.4.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.pss"
        malpedia_rule_date = "20200817"
        malpedia_hash = "8c895fd01eccb47a6225bcb1a3ba53cbb98644c5"
        malpedia_version = "20200817"
        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 / approach 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 = { 7437 ff15???????? 3de5030000 752a }
            // n = 4, score = 300
            //   7437                 | je                  0x39
            //   ff15????????         |                     
            //   3de5030000           | cmp                 eax, 0x3e5
            //   752a                 | jne                 0x2c

        $sequence_1 = { 8d48fe e8???????? e9???????? 83f811 }
            // n = 4, score = 300
            //   8d48fe               | lea                 ecx, [eax - 2]
            //   e8????????           |                     
            //   e9????????           |                     
            //   83f811               | cmp                 eax, 0x11

        $sequence_2 = { ff15???????? 83ceff 3bc6 7504 }
            // n = 4, score = 300
            //   ff15????????         |                     
            //   83ceff               | or                  esi, 0xffffffff
            //   3bc6                 | cmp                 eax, esi
            //   7504                 | jne                 6

        $sequence_3 = { 83c004 8985f8f7ffff 8b00 85c0 75bd 8d85fcf7ffff 68???????? }
            // n = 7, score = 200
            //   83c004               | add                 eax, 4
            //   8985f8f7ffff         | mov                 dword ptr [ebp - 0x808], eax
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   85c0                 | test                eax, eax
            //   75bd                 | jne                 0xffffffbf
            //   8d85fcf7ffff         | lea                 eax, [ebp - 0x804]
            //   68????????           |                     

        $sequence_4 = { 8b75e0 c745e0bb010000 8d3446 eb0a 8b75e0 }
            // n = 5, score = 200
            //   8b75e0               | mov                 esi, dword ptr [ebp - 0x20]
            //   c745e0bb010000       | mov                 dword ptr [ebp - 0x20], 0x1bb
            //   8d3446               | lea                 esi, [esi + eax*2]
            //   eb0a                 | jmp                 0xc
            //   8b75e0               | mov                 esi, dword ptr [ebp - 0x20]

        $sequence_5 = { 668b444b0c 6689044d88100210 41 ebe8 8bce 894de0 }
            // n = 6, score = 200
            //   668b444b0c           | mov                 ax, word ptr [ebx + ecx*2 + 0xc]
            //   6689044d88100210     | mov                 word ptr [ecx*2 + 0x10021088], ax
            //   41                   | inc                 ecx
            //   ebe8                 | jmp                 0xffffffea
            //   8bce                 | mov                 ecx, esi
            //   894de0               | mov                 dword ptr [ebp - 0x20], ecx

        $sequence_6 = { e8???????? 8bc7 c1f805 83e71f c1e706 8b0485a8100210 83c00c }
            // n = 7, score = 200
            //   e8????????           |                     
            //   8bc7                 | mov                 eax, edi
            //   c1f805               | sar                 eax, 5
            //   83e71f               | and                 edi, 0x1f
            //   c1e706               | shl                 edi, 6
            //   8b0485a8100210       | mov                 eax, dword ptr [eax*4 + 0x100210a8]
            //   83c00c               | add                 eax, 0xc

        $sequence_7 = { 668985e8fdffff 8d85eafdffff 56 50 e8???????? }
            // n = 5, score = 200
            //   668985e8fdffff       | mov                 word ptr [ebp - 0x218], ax
            //   8d85eafdffff         | lea                 eax, [ebp - 0x216]
            //   56                   | push                esi
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_8 = { 488d0d0bad0200 483bc8 740e 4c8bcf 4533c0 488bd0 e8???????? }
            // n = 7, score = 100
            //   488d0d0bad0200       | dec                 eax
            //   483bc8               | mov                 eax, 0xfffffffe
            //   740e                 | je                  0x14
            //   4c8bcf               | test                eax, eax
            //   4533c0               | jne                 0xb
            //   488bd0               | xor                 ecx, ecx
            //   e8????????           |                     

        $sequence_9 = { 4883f807 0f86e2000000 498d7807 48b8feffffffffffff7f 483bf8 0f87d8000000 483bd7 }
            // n = 7, score = 100
            //   4883f807             | lea                 edx, [esp + 0x50]
            //   0f86e2000000         | dec                 eax
            //   498d7807             | mov                 dword ptr [esp + 0x68], ecx
            //   48b8feffffffffffff7f     | dec    eax
            //   483bf8               | mov                 ecx, edi
            //   0f87d8000000         | mov                 ebp, eax
            //   483bd7               | dec                 eax

        $sequence_10 = { e8???????? 488b0d???????? 488d542450 48894c2468 488bcf ff15???????? 8be8 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   488b0d????????       |                     
            //   488d542450           | mov                 ebx, dword ptr [esp + 0x88]
            //   48894c2468           | dec                 esp
            //   488bcf               | mov                 ecx, edi
            //   ff15????????         |                     
            //   8be8                 | dec                 eax

        $sequence_11 = { 488d4c2420 e8???????? 488b9c2488000000 4c8bcf }
            // n = 4, score = 100
            //   488d4c2420           | dec                 eax
            //   e8????????           |                     
            //   488b9c2488000000     | lea                 ecx, [esp + 0x20]
            //   4c8bcf               | dec                 eax

        $sequence_12 = { 7412 e8???????? 85c0 7509 33c9 ff15???????? }
            // n = 6, score = 100
            //   7412                 | cmp                 eax, 7
            //   e8????????           |                     
            //   85c0                 | jbe                 0xec
            //   7509                 | dec                 ecx
            //   33c9                 | lea                 edi, [eax + 7]
            //   ff15????????         |                     

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