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 (20201023 | autogenerated rule brought to you by yara-signator)
rule win_keyboy_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.keyboy"
        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 = { 51 ff75d8 6a00 ff75c0 }
            // n = 4, score = 600
            //   51                   | push                ecx
            //   ff75d8               | push                dword ptr [ebp - 0x28]
            //   6a00                 | push                0
            //   ff75c0               | push                dword ptr [ebp - 0x40]

        $sequence_1 = { 741f 6a00 ff15???????? 6a00 }
            // n = 4, score = 600
            //   741f                 | je                  0x21
            //   6a00                 | push                0
            //   ff15????????         |                     
            //   6a00                 | push                0

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

        $sequence_3 = { 8b5df8 03c6 0fafc1 0182ac160000 }
            // n = 4, score = 500
            //   8b5df8               | mov                 ebx, dword ptr [ebp - 8]
            //   03c6                 | add                 eax, esi
            //   0fafc1               | imul                eax, ecx
            //   0182ac160000         | add                 dword ptr [edx + 0x16ac], eax

        $sequence_4 = { 3975e8 750a ba06000000 8d4afd eb08 ba07000000 }
            // n = 6, score = 500
            //   3975e8               | cmp                 dword ptr [ebp - 0x18], esi
            //   750a                 | jne                 0xc
            //   ba06000000           | mov                 edx, 6
            //   8d4afd               | lea                 ecx, [edx - 3]
            //   eb08                 | jmp                 0xa
            //   ba07000000           | mov                 edx, 7

        $sequence_5 = { 83c40c 8b4744 297770 29776c 29775c 8d0c50 0f1f440000 }
            // n = 7, score = 500
            //   83c40c               | add                 esp, 0xc
            //   8b4744               | mov                 eax, dword ptr [edi + 0x44]
            //   297770               | sub                 dword ptr [edi + 0x70], esi
            //   29776c               | sub                 dword ptr [edi + 0x6c], esi
            //   29775c               | sub                 dword ptr [edi + 0x5c], esi
            //   8d0c50               | lea                 ecx, [eax + edx*2]
            //   0f1f440000           | nop                 dword ptr [eax + eax]

        $sequence_6 = { 8a47ff 88040a ff4614 83eb01 }
            // n = 4, score = 500
            //   8a47ff               | mov                 al, byte ptr [edi - 1]
            //   88040a               | mov                 byte ptr [edx + ecx], al
            //   ff4614               | inc                 dword ptr [esi + 0x14]
            //   83eb01               | sub                 ebx, 1

        $sequence_7 = { 7f58 66ff844a3c0b0000 3b75ec 7c0e }
            // n = 4, score = 500
            //   7f58                 | jg                  0x5a
            //   66ff844a3c0b0000     | inc                 word ptr [edx + ecx*2 + 0xb3c]
            //   3b75ec               | cmp                 esi, dword ptr [ebp - 0x14]
            //   7c0e                 | jl                  0x10

        $sequence_8 = { 83c103 e9???????? 0fb7b8c60a0000 2bd7 897dec 3bca }
            // n = 6, score = 500
            //   83c103               | add                 ecx, 3
            //   e9????????           |                     
            //   0fb7b8c60a0000       | movzx               edi, word ptr [eax + 0xac6]
            //   2bd7                 | sub                 edx, edi
            //   897dec               | mov                 dword ptr [ebp - 0x14], edi
            //   3bca                 | cmp                 ecx, edx

        $sequence_9 = { 85db 746e 0fb706 85c0 }
            // n = 4, score = 500
            //   85db                 | test                ebx, ebx
            //   746e                 | je                  0x70
            //   0fb706               | movzx               eax, word ptr [esi]
            //   85c0                 | test                eax, eax

        $sequence_10 = { 0f1f440000 33f6 8d4004 668970fc 83ea01 75f2 8d817c0a0000 }
            // n = 7, score = 500
            //   0f1f440000           | nop                 dword ptr [eax + eax]
            //   33f6                 | xor                 esi, esi
            //   8d4004               | lea                 eax, [eax + 4]
            //   668970fc             | mov                 word ptr [eax - 4], si
            //   83ea01               | sub                 edx, 1
            //   75f2                 | jne                 0xfffffff4
            //   8d817c0a0000         | lea                 eax, [ecx + 0xa7c]

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

        $sequence_12 = { 80b85201000001 bf04000000 b908000000 0f44f9 }
            // n = 4, score = 400
            //   80b85201000001       | cmp                 byte ptr [eax + 0x152], 1
            //   bf04000000           | mov                 edi, 4
            //   b908000000           | mov                 ecx, 8
            //   0f44f9               | cmove               edi, ecx

        $sequence_13 = { 8d46d6 99 83e23f 03c2 }
            // n = 4, score = 400
            //   8d46d6               | lea                 eax, [esi - 0x2a]
            //   99                   | cdq                 
            //   83e23f               | and                 edx, 0x3f
            //   03c2                 | add                 eax, edx

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

        $sequence_15 = { 85c0 7417 3dbdfeffff 7410 3db9feffff }
            // n = 5, score = 400
            //   85c0                 | test                eax, eax
            //   7417                 | je                  0x19
            //   3dbdfeffff           | cmp                 eax, 0xfffffebd
            //   7410                 | je                  0x12
            //   3db9feffff           | cmp                 eax, 0xfffffeb9

        $sequence_16 = { 85db 0f44c2 23c8 0bd9 }
            // n = 4, score = 400
            //   85db                 | test                ebx, ebx
            //   0f44c2               | cmove               eax, edx
            //   23c8                 | and                 ecx, eax
            //   0bd9                 | or                  ebx, ecx

        $sequence_17 = { 740a 6683f806 7404 32c9 eb02 }
            // n = 5, score = 400
            //   740a                 | je                  0xc
            //   6683f806             | cmp                 ax, 6
            //   7404                 | je                  6
            //   32c9                 | xor                 cl, cl
            //   eb02                 | jmp                 4

        $sequence_18 = { 884106 8bc2 c1e808 884107 }
            // n = 4, score = 400
            //   884106               | mov                 byte ptr [ecx + 6], al
            //   8bc2                 | mov                 eax, edx
            //   c1e808               | shr                 eax, 8
            //   884107               | mov                 byte ptr [ecx + 7], al

        $sequence_19 = { 2401 0fb6d0 66c1e209 660bd1 }
            // n = 4, score = 400
            //   2401                 | and                 al, 1
            //   0fb6d0               | movzx               edx, al
            //   66c1e209             | shl                 dx, 9
            //   660bd1               | or                  dx, cx

        $sequence_20 = { bf05000000 eb1b bf04000000 eb14 }
            // n = 4, score = 400
            //   bf05000000           | mov                 edi, 5
            //   eb1b                 | jmp                 0x1d
            //   bf04000000           | mov                 edi, 4
            //   eb14                 | jmp                 0x16

    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