SYMBOLCOMMON_NAMEaka. SYNONYMS
win.keyboy (Back to overview)

KeyBoy

aka: TSSL

Actor(s): Pirate Panda


There is no description at this point.

References
2020SecureworksSecureWorks
@online{secureworks:2020:bronze:a654071, author = {SecureWorks}, title = {{BRONZE HOBART}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/bronze-hobart}, language = {English}, urldate = {2020-05-23} } BRONZE HOBART
KeyBoy Pirate Panda
2018-03-14Trend MicroJaromír Hořejší, Joey Chen, Joseph C. Chen
@online{hoej:20180314:tropic:352cf22, author = {Jaromír Hořejší and Joey Chen and Joseph C. Chen}, title = {{Tropic Trooper’s New Strategy}}, date = {2018-03-14}, organization = {Trend Micro}, url = {https://blog.trendmicro.com/trendlabs-security-intelligence/tropic-trooper-new-strategy/}, language = {English}, urldate = {2020-01-09} } Tropic Trooper’s New Strategy
KeyBoy Pirate Panda
2017-11-02PWC UKBart Parys
@online{parys:20171102:keyboys:b57094e, author = {Bart Parys}, title = {{The KeyBoys are back in town}}, date = {2017-11-02}, organization = {PWC UK}, url = {https://www.pwc.co.uk/issues/cyber-security-data-privacy/research/the-keyboys-are-back-in-town.html}, language = {English}, urldate = {2020-06-18} } The KeyBoys are back in town
KeyBoy
2016-11-17CitizenLabAdam Hulcoop, Matt Brooks, Etienne Maynier, John Scott-Railton, Masashi Crete-Nishihata
@online{hulcoop:20161117:its:b644801, author = {Adam Hulcoop and Matt Brooks and Etienne Maynier and John Scott-Railton and Masashi Crete-Nishihata}, title = {{It’s Parliamentary - KeyBoy and the targeting of the Tibetan Community}}, date = {2016-11-17}, organization = {CitizenLab}, url = {https://citizenlab.ca/2016/11/parliament-keyboy/}, language = {English}, urldate = {2019-07-11} } It’s Parliamentary - KeyBoy and the targeting of the Tibetan Community
KeyBoy
2013-06-07Rapid7 LabsClaudio Guarnieri, Mark Schloesser
@online{guarnieri:20130607:keyboy:58ebd77, author = {Claudio Guarnieri and Mark Schloesser}, title = {{KeyBoy, Targeted Attacks against Vietnam and India}}, date = {2013-06-07}, organization = {Rapid7 Labs}, url = {https://blog.rapid7.com/2013/06/07/keyboy-targeted-attacks-against-vietnam-and-india/}, language = {English}, urldate = {2019-12-20} } KeyBoy, Targeted Attacks against Vietnam and India
KeyBoy Pirate Panda
Yara Rules
[TLP:WHITE] win_keyboy_auto (20201014 | autogenerated rule brought to you by yara-signator)
rule win_keyboy_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-10-14"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.5.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.keyboy"
        malpedia_rule_date = "20201014"
        malpedia_hash = "a7e3bd57eaf12bf3ea29a863c041091ba3af9ac9"
        malpedia_version = "20201014"
        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 = { b907000000 53 56 33db c745f8ffffffff 0fb77002 }
            // n = 6, score = 500
            //   b907000000           | mov                 ecx, 7
            //   53                   | push                ebx
            //   56                   | push                esi
            //   33db                 | xor                 ebx, ebx
            //   c745f8ffffffff       | mov                 dword ptr [ebp - 8], 0xffffffff
            //   0fb77002             | movzx               esi, word ptr [eax + 2]

        $sequence_1 = { 7e5d 0fb7b8c40a0000 8b7014 668bd7 }
            // n = 4, score = 500
            //   7e5d                 | jle                 0x5f
            //   0fb7b8c40a0000       | movzx               edi, word ptr [eax + 0xac4]
            //   8b7014               | mov                 esi, dword ptr [eax + 0x14]
            //   668bd7               | mov                 dx, di

        $sequence_2 = { 85f6 741f 6a00 ff15???????? }
            // n = 4, score = 500
            //   85f6                 | test                esi, esi
            //   741f                 | je                  0x21
            //   6a00                 | push                0
            //   ff15????????         |                     

        $sequence_3 = { 51 ff75d8 6a00 ff75c0 }
            // n = 4, score = 500
            //   51                   | push                ecx
            //   ff75d8               | push                dword ptr [ebp - 0x28]
            //   6a00                 | push                0
            //   ff75c0               | push                dword ptr [ebp - 0x40]

        $sequence_4 = { 48 8945f8 8b86a0160000 894508 b801000000 }
            // n = 5, score = 500
            //   48                   | dec                 eax
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8b86a0160000         | mov                 eax, dword ptr [esi + 0x16a0]
            //   894508               | mov                 dword ptr [ebp + 8], eax
            //   b801000000           | mov                 eax, 1

        $sequence_5 = { 8d45f8 50 6a0e 8d45e8 }
            // n = 4, score = 500
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   50                   | push                eax
            //   6a0e                 | push                0xe
            //   8d45e8               | lea                 eax, [ebp - 0x18]

        $sequence_6 = { 6a00 8945f2 8d45f8 50 }
            // n = 4, score = 500
            //   6a00                 | push                0
            //   8945f2               | mov                 dword ptr [ebp - 0xe], eax
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   50                   | push                eax

        $sequence_7 = { c7466800000000 c7466002000000 3b45f8 0f85b5fdffff 8b4e5c 85c9 }
            // n = 6, score = 500
            //   c7466800000000       | mov                 dword ptr [esi + 0x68], 0
            //   c7466002000000       | mov                 dword ptr [esi + 0x60], 2
            //   3b45f8               | cmp                 eax, dword ptr [ebp - 8]
            //   0f85b5fdffff         | jne                 0xfffffdbb
            //   8b4e5c               | mov                 ecx, dword ptr [esi + 0x5c]
            //   85c9                 | test                ecx, ecx

        $sequence_8 = { 660986b8160000 8d4103 8986bc160000 43 3b5d14 0f8c73ffffff }
            // n = 6, score = 500
            //   660986b8160000       | or                  word ptr [esi + 0x16b8], ax
            //   8d4103               | lea                 eax, [ecx + 3]
            //   8986bc160000         | mov                 dword ptr [esi + 0x16bc], eax
            //   43                   | inc                 ebx
            //   3b5d14               | cmp                 ebx, dword ptr [ebp + 0x14]
            //   0f8c73ffffff         | jl                  0xffffff79

        $sequence_9 = { 8d4afd 83451004 836df401 0f8537fbffff 5f }
            // n = 5, score = 500
            //   8d4afd               | lea                 ecx, [edx - 3]
            //   83451004             | add                 dword ptr [ebp + 0x10], 4
            //   836df401             | sub                 dword ptr [ebp - 0xc], 1
            //   0f8537fbffff         | jne                 0xfffffb3d
            //   5f                   | pop                 edi

        $sequence_10 = { 55 8bec 56 57 8b7d08 8b4f1c }
            // n = 6, score = 500
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   56                   | push                esi
            //   57                   | push                edi
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   8b4f1c               | mov                 ecx, dword ptr [edi + 0x1c]

        $sequence_11 = { 8b4008 894df0 57 89750c 8b08 8b5810 }
            // n = 6, score = 500
            //   8b4008               | mov                 eax, dword ptr [eax + 8]
            //   894df0               | mov                 dword ptr [ebp - 0x10], ecx
            //   57                   | push                edi
            //   89750c               | mov                 dword ptr [ebp + 0xc], esi
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   8b5810               | mov                 ebx, dword ptr [eax + 0x10]

        $sequence_12 = { 85c0 7417 3dbdfeffff 7410 3db9feffff 7409 83f894 }
            // n = 7, score = 300
            //   85c0                 | test                eax, eax
            //   7417                 | je                  0x19
            //   3dbdfeffff           | cmp                 eax, 0xfffffebd
            //   7410                 | je                  0x12
            //   3db9feffff           | cmp                 eax, 0xfffffeb9
            //   7409                 | je                  0xb
            //   83f894               | cmp                 eax, -0x6c

        $sequence_13 = { 6683f809 740a 6683f806 7404 32c9 eb02 b101 }
            // n = 7, score = 300
            //   6683f809             | cmp                 ax, 9
            //   740a                 | je                  0xc
            //   6683f806             | cmp                 ax, 6
            //   7404                 | je                  6
            //   32c9                 | xor                 cl, cl
            //   eb02                 | jmp                 4
            //   b101                 | mov                 cl, 1

        $sequence_14 = { e8???????? 6a7c 8d4580 c7857cffffff736c6d00 }
            // n = 4, score = 300
            //   e8????????           |                     
            //   6a7c                 | push                0x7c
            //   8d4580               | lea                 eax, [ebp - 0x80]
            //   c7857cffffff736c6d00     | mov    dword ptr [ebp - 0x84], 0x6d6c73

        $sequence_15 = { 0003 0303 0303 0200 0303 0303 0303 }
            // n = 7, score = 300
            //   0003                 | add                 byte ptr [ebx], al
            //   0303                 | add                 eax, dword ptr [ebx]
            //   0303                 | add                 eax, dword ptr [ebx]
            //   0200                 | add                 al, byte ptr [eax]
            //   0303                 | add                 eax, dword ptr [ebx]
            //   0303                 | add                 eax, dword ptr [ebx]
            //   0303                 | add                 eax, dword ptr [ebx]

        $sequence_16 = { bf04000000 eb14 80b85201000001 bf04000000 }
            // n = 4, score = 300
            //   bf04000000           | mov                 edi, 4
            //   eb14                 | jmp                 0x16
            //   80b85201000001       | cmp                 byte ptr [eax + 0x152], 1
            //   bf04000000           | mov                 edi, 4

        $sequence_17 = { 0300 0003 0303 0300 0303 }
            // n = 5, score = 300
            //   0300                 | add                 eax, dword ptr [eax]
            //   0003                 | add                 byte ptr [ebx], al
            //   0303                 | add                 eax, dword ptr [ebx]
            //   0300                 | add                 eax, dword ptr [eax]
            //   0303                 | add                 eax, dword ptr [ebx]

        $sequence_18 = { 8d85fcf7ffff 8bd9 6a00 50 e8???????? 83c40c 8d85fcf7ffff }
            // n = 7, score = 300
            //   8d85fcf7ffff         | lea                 eax, [ebp - 0x804]
            //   8bd9                 | mov                 ebx, ecx
            //   6a00                 | push                0
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8d85fcf7ffff         | lea                 eax, [ebp - 0x804]

        $sequence_19 = { 0300 0303 0103 0300 0003 }
            // n = 5, score = 300
            //   0300                 | add                 eax, dword ptr [eax]
            //   0303                 | add                 eax, dword ptr [ebx]
            //   0103                 | add                 dword ptr [ebx], eax
            //   0300                 | add                 eax, dword ptr [eax]
            //   0003                 | add                 byte ptr [ebx], al

        $sequence_20 = { ffd0 e9???????? bbfeffffff eb05 }
            // n = 4, score = 300
            //   ffd0                 | call                eax
            //   e9????????           |                     
            //   bbfeffffff           | mov                 ebx, 0xfffffffe
            //   eb05                 | jmp                 7

        $sequence_21 = { c1e810 884106 8bc2 c1e808 884107 }
            // n = 5, score = 300
            //   c1e810               | shr                 eax, 0x10
            //   884106               | mov                 byte ptr [ecx + 6], al
            //   8bc2                 | mov                 eax, edx
            //   c1e808               | shr                 eax, 8
            //   884107               | mov                 byte ptr [ecx + 7], al

    condition:
        7 of them and filesize < 2170880
}
[TLP:WHITE] win_keyboy_w0   (20180301 | No description)
import "pe"

rule win_keyboy_w0 {
    meta:
        author = "Florian Roth"
        reference = "http://www.pwc.co.uk/issues/cyber-security-data-privacy/research/the-keyboys-are-back-in-town.html"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.keyboy"
        malpedia_version = "20180301"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"
    strings:
        $x1 = "reg add HKLM\\%s\\Parameters /v ServiceDll /t REG_EXPAND_SZ /d \"%s\" /f" fullword ascii
        $x3 = "Internet using \\svchost.exe -k  -n 3" fullword ascii
        $x4 = "reg add \"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\" /v SFCDisable /t REG_DWORD /d 4 /f" fullword ascii

        $s1 = "sc create %s binpath= \"%s\" Type= share Start= auto DisplayName= \"%s\"" fullword ascii
        $s2 = "ExecCmd:%s" fullword ascii
        $s3 = "szCommand : %s" fullword ascii
        $s4 = "Current user is a member of the %s\\%s group" fullword ascii
        $s5 = "icacls %s /grant administrators:F" fullword ascii
        $s6 = "Ping 127.0.0.1 goto Repeat" fullword ascii
        $s7 = "Start MoveFile %s -> %s" fullword ascii
        $s8 = "move %s\\dllcache%s %s\\dllcache\\%s" fullword ascii
        $s9 = "%s\\cmd.exe /c \"%s\"" fullword ascii
    condition:
        pe.imphash() == "68f7eced34c46808756db4b0c45fb589" or
        ( pe.exports("Insys") and pe.exports("Inuser") and pe.exports("SSSS") ) or
        1 of ($x*) or
        4 of them
}
Download all Yara Rules