SYMBOLCOMMON_NAMEaka. SYNONYMS
win.blackcoffee (Back to overview)

BLACKCOFFEE

aka: PNGRAT, gresim, ZoxPNG

Actor(s): APT41, Aurora Panda, Leviathan


a backdoor that obfuscates its communications as normal traffic to legitimate websites such as Github and Microsoft's Technet portal.

References
2020-01-29nao_sec blognao_sec
@online{naosec:20200129:overhead:ec0aeb5, author = {nao_sec}, title = {{An Overhead View of the Royal Road}}, date = {2020-01-29}, organization = {nao_sec blog}, url = {https://nao-sec.org/2020/01/an-overhead-view-of-the-royal-road.html}, language = {English}, urldate = {2020-02-03} } An Overhead View of the Royal Road
BLACKCOFFEE Cotx RAT Datper DDKONG Derusbi Icefog Korlia NewCore RAT PLAINTEE Poison Ivy Sisfader
2020SecureworksSecureWorks
@online{secureworks:2020:bronze:e8ad4fb, author = {SecureWorks}, title = {{BRONZE MOHAWK}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/bronze-mohawk}, language = {English}, urldate = {2020-05-23} } BRONZE MOHAWK
AIRBREAK scanbox BLACKCOFFEE CHINACHOPPER Cobalt Strike Derusbi homefry murkytop SeDll Leviathan
2020SecureworksSecureWorks
@online{secureworks:2020:bronze:65ecf8a, author = {SecureWorks}, title = {{BRONZE KEYSTONE}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/bronze-keystone}, language = {English}, urldate = {2020-05-23} } BRONZE KEYSTONE
9002 RAT BLACKCOFFEE DeputyDog Derusbi HiKit PlugX Poison Ivy ZXShell Aurora Panda
2019-07-24IntrusiontruthIntrusiontruth
@online{intrusiontruth:20190724:apt17:6b9a666, author = {Intrusiontruth}, title = {{APT17 is run by the Jinan bureau of the Chinese Ministry of State Security}}, date = {2019-07-24}, organization = {Intrusiontruth}, url = {https://intrusiontruth.wordpress.com/2019/07/24/apt17-is-run-by-the-jinan-bureau-of-the-chinese-ministry-of-state-security/}, language = {English}, urldate = {2020-04-21} } APT17 is run by the Jinan bureau of the Chinese Ministry of State Security
BLACKCOFFEE
2019MITREMITRE ATT&CK
@online{attck:2019:tool:ebc79ce, author = {MITRE ATT&CK}, title = {{Tool description: BLACKCOFFEE}}, date = {2019}, organization = {MITRE}, url = {https://attack.mitre.org/software/S0069/}, language = {English}, urldate = {2019-12-20} } Tool description: BLACKCOFFEE
BLACKCOFFEE
2018-03-16FireEyeFireEye
@online{fireeye:20180316:suspected:2a77316, author = {FireEye}, title = {{Suspected Chinese Cyber Espionage Group (TEMP.Periscope) Targeting U.S. Engineering and Maritime Industries}}, date = {2018-03-16}, organization = {FireEye}, url = {https://www.fireeye.com/blog/threat-research/2018/03/suspected-chinese-espionage-group-targeting-maritime-and-engineering-industries.html}, language = {English}, urldate = {2019-12-20} } Suspected Chinese Cyber Espionage Group (TEMP.Periscope) Targeting U.S. Engineering and Maritime Industries
badflick BLACKCOFFEE CHINACHOPPER homefry murkytop SeDll Leviathan
2015-05-18Tetsuji Tanigawa
@online{tanigawa:20150518:tt:4cb29ea, author = {Tetsuji Tanigawa}, title = {{TT Malware Log}}, date = {2015-05-18}, url = {http://malware-log.hatenablog.com/entry/2015/05/18/000000_1}, language = {Japanese}, urldate = {2020-01-08} } TT Malware Log
BLACKCOFFEE
2015-05FireEyeFireEye
@techreport{fireeye:201505:hiding:8695fc2, author = {FireEye}, title = {{HIDING IN PLAIN SIGHT: FIREEYE AND MICROSOFT EXPOSE OBFUSCATION TACTIC}}, date = {2015-05}, institution = {FireEye}, url = {https://www2.fireeye.com/rs/fireye/images/APT17_Report.pdf}, language = {English}, urldate = {2019-12-19} } HIDING IN PLAIN SIGHT: FIREEYE AND MICROSOFT EXPOSE OBFUSCATION TACTIC
BLACKCOFFEE
2014-11NovettaNovetta
@techreport{novetta:201411:zoxpng:91e81c6, author = {Novetta}, title = {{ZoxPNG Analysis}}, date = {2014-11}, institution = {Novetta}, url = {http://www.novetta.com/wp-content/uploads/2014/11/ZoxPNG.pdf}, language = {English}, urldate = {2020-05-07} } ZoxPNG Analysis
BLACKCOFFEE
Yara Rules
[TLP:WHITE] win_blackcoffee_auto (20201014 | autogenerated rule brought to you by yara-signator)
rule win_blackcoffee_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.blackcoffee"
        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 = { c685ffefffff6f c68500f0ffff77 c68501f0ffff36 c68502f0ffff34 c68503f0ffff50 c68504f0ffff72 c68505f0ffff6f }
            // n = 7, score = 200
            //   c685ffefffff6f       | mov                 byte ptr [ebp - 0x1001], 0x6f
            //   c68500f0ffff77       | mov                 byte ptr [ebp - 0x1000], 0x77
            //   c68501f0ffff36       | mov                 byte ptr [ebp - 0xfff], 0x36
            //   c68502f0ffff34       | mov                 byte ptr [ebp - 0xffe], 0x34
            //   c68503f0ffff50       | mov                 byte ptr [ebp - 0xffd], 0x50
            //   c68504f0ffff72       | mov                 byte ptr [ebp - 0xffc], 0x72
            //   c68505f0ffff6f       | mov                 byte ptr [ebp - 0xffb], 0x6f

        $sequence_1 = { 50 50 50 68???????? 6800100000 ff35???????? }
            // n = 6, score = 200
            //   50                   | push                eax
            //   50                   | push                eax
            //   50                   | push                eax
            //   68????????           |                     
            //   6800100000           | push                0x1000
            //   ff35????????         |                     

        $sequence_2 = { 8d45fc 57 50 ff7508 53 }
            // n = 5, score = 200
            //   8d45fc               | lea                 eax, [ebp - 4]
            //   57                   | push                edi
            //   50                   | push                eax
            //   ff7508               | push                dword ptr [ebp + 8]
            //   53                   | push                ebx

        $sequence_3 = { c68501f0ffff36 c68502f0ffff34 c68503f0ffff50 c68504f0ffff72 c68505f0ffff6f c68506f0ffff63 c68507f0ffff65 }
            // n = 7, score = 200
            //   c68501f0ffff36       | mov                 byte ptr [ebp - 0xfff], 0x36
            //   c68502f0ffff34       | mov                 byte ptr [ebp - 0xffe], 0x34
            //   c68503f0ffff50       | mov                 byte ptr [ebp - 0xffd], 0x50
            //   c68504f0ffff72       | mov                 byte ptr [ebp - 0xffc], 0x72
            //   c68505f0ffff6f       | mov                 byte ptr [ebp - 0xffb], 0x6f
            //   c68506f0ffff63       | mov                 byte ptr [ebp - 0xffa], 0x63
            //   c68507f0ffff65       | mov                 byte ptr [ebp - 0xff9], 0x65

        $sequence_4 = { 33db 59 33c0 8d7de4 895de0 6a40 }
            // n = 6, score = 200
            //   33db                 | xor                 ebx, ebx
            //   59                   | pop                 ecx
            //   33c0                 | xor                 eax, eax
            //   8d7de4               | lea                 edi, [ebp - 0x1c]
            //   895de0               | mov                 dword ptr [ebp - 0x20], ebx
            //   6a40                 | push                0x40

        $sequence_5 = { 7620 0fb6543904 8bd8 81e3ff000000 33d3 c1e808 }
            // n = 6, score = 200
            //   7620                 | jbe                 0x22
            //   0fb6543904           | movzx               edx, byte ptr [ecx + edi + 4]
            //   8bd8                 | mov                 ebx, eax
            //   81e3ff000000         | and                 ebx, 0xff
            //   33d3                 | xor                 edx, ebx
            //   c1e808               | shr                 eax, 8

        $sequence_6 = { 68???????? ff15???????? 50 ff15???????? 3bc6 a3???????? }
            // n = 6, score = 200
            //   68????????           |                     
            //   ff15????????         |                     
            //   50                   | push                eax
            //   ff15????????         |                     
            //   3bc6                 | cmp                 eax, esi
            //   a3????????           |                     

        $sequence_7 = { 8d7e1c 8b45fc 8b440304 8947f8 8b45fc 8b0403 8947fc }
            // n = 7, score = 200
            //   8d7e1c               | lea                 edi, [esi + 0x1c]
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8b440304             | mov                 eax, dword ptr [ebx + eax + 4]
            //   8947f8               | mov                 dword ptr [edi - 8], eax
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8b0403               | mov                 eax, dword ptr [ebx + eax]
            //   8947fc               | mov                 dword ptr [edi - 4], eax

        $sequence_8 = { 57 8d4508 57 8d5e14 }
            // n = 4, score = 200
            //   57                   | push                edi
            //   8d4508               | lea                 eax, [ebp + 8]
            //   57                   | push                edi
            //   8d5e14               | lea                 ebx, [esi + 0x14]

        $sequence_9 = { 897dfc e8???????? 83c40c 6a1c }
            // n = 4, score = 200
            //   897dfc               | mov                 dword ptr [ebp - 4], edi
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   6a1c                 | push                0x1c

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