SYMBOLCOMMON_NAMEaka. SYNONYMS
win.cheesetray (Back to overview)

CHEESETRAY

aka: CROWDEDFLOUNDER

Actor(s): Lazarus Group


CHEESETRAY is a sophisticated proxy-aware backdoor that can operate in both active and passive mode depending on the passed command-line parameters. The backdoor is capable of enumerating files and processes, enumerating drivers, enumerating remote desktop sessions, uploading and downloading files, creating and terminating processes, deleting files, creating a reverse shell, acting as a proxy server, and hijacking processes among its other functionality. The backdoor communicates with its C&C server using a custom binary protocol over TCP with port specified as a command-line parameter.

References
2020-02-25SentinelOneJim Walter
@online{walter:20200225:dprk:735f095, author = {Jim Walter}, title = {{DPRK Hidden Cobra Update: North Korean Malicious Cyber Activity}}, date = {2020-02-25}, organization = {SentinelOne}, url = {https://labs.sentinelone.com/dprk-hidden-cobra-update-north-korean-malicious-cyber-activity/}, language = {English}, urldate = {2020-02-27} } DPRK Hidden Cobra Update: North Korean Malicious Cyber Activity
ARTFULPIE BISTROMATH BUFFETLINE CHEESETRAY HOPLIGHT HOTCROISSANT SLICKSHOES
2020-02-14US-CERTUS-CERT
@online{uscert:20200214:malware:315814d, author = {US-CERT}, title = {{Malware Analysis Report (AR20-045C)}}, date = {2020-02-14}, organization = {US-CERT}, url = {https://www.us-cert.gov/ncas/analysis-reports/ar20-045c}, language = {English}, urldate = {2020-02-14} } Malware Analysis Report (AR20-045C)
CHEESETRAY
2018FireEyeFireEye
@techreport{fireeye:2018:apt38:c81b87d, author = {FireEye}, title = {{APT38}}, date = {2018}, institution = {FireEye}, url = {https://www.fireeye.com/content/dam/fireeye-www/current-threats/pdfs/pf/apt/rpt-apt38-2018.pdf}, language = {English}, urldate = {2020-01-07} } APT38
CHEESETRAY CLEANTOAD NACHOCHEESE
Yara Rules
[TLP:WHITE] win_cheesetray_auto (20220411 | Detects win.cheesetray.)
rule win_cheesetray_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        version = "1"
        description = "Detects win.cheesetray."
        info = "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.cheesetray"
        malpedia_rule_date = "20220405"
        malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a"
        malpedia_version = "20220411"
        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 = { f7d8 53 50 e8???????? 83c40c 85c0 }
            // n = 6, score = 200
            //   f7d8                 | neg                 eax
            //   53                   | push                ebx
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   85c0                 | test                eax, eax

        $sequence_1 = { e8???????? 83c41c 85c0 7505 5f 8be5 5d }
            // n = 7, score = 200
            //   e8????????           |                     
            //   83c41c               | add                 esp, 0x1c
            //   85c0                 | test                eax, eax
            //   7505                 | jne                 7
            //   5f                   | pop                 edi
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp

        $sequence_2 = { 8b550c 56 52 03c8 51 e8???????? 017368 }
            // n = 7, score = 200
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   56                   | push                esi
            //   52                   | push                edx
            //   03c8                 | add                 ecx, eax
            //   51                   | push                ecx
            //   e8????????           |                     
            //   017368               | add                 dword ptr [ebx + 0x68], esi

        $sequence_3 = { 5b 8be5 5d c3 8bc7 e8???????? 8945f4 }
            // n = 7, score = 200
            //   5b                   | pop                 ebx
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   8bc7                 | mov                 eax, edi
            //   e8????????           |                     
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax

        $sequence_4 = { 81ec84000000 56 6880000000 6a00 8d4580 50 e8???????? }
            // n = 7, score = 200
            //   81ec84000000         | sub                 esp, 0x84
            //   56                   | push                esi
            //   6880000000           | push                0x80
            //   6a00                 | push                0
            //   8d4580               | lea                 eax, dword ptr [ebp - 0x80]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_5 = { b9???????? 57 8bc2 c1f805 8b048580ce4400 8bfa 83e71f }
            // n = 7, score = 200
            //   b9????????           |                     
            //   57                   | push                edi
            //   8bc2                 | mov                 eax, edx
            //   c1f805               | sar                 eax, 5
            //   8b048580ce4400       | mov                 eax, dword ptr [eax*4 + 0x44ce80]
            //   8bfa                 | mov                 edi, edx
            //   83e71f               | and                 edi, 0x1f

        $sequence_6 = { eb21 a1???????? 8d5604 52 6a00 50 }
            // n = 6, score = 200
            //   eb21                 | jmp                 0x23
            //   a1????????           |                     
            //   8d5604               | lea                 edx, dword ptr [esi + 4]
            //   52                   | push                edx
            //   6a00                 | push                0
            //   50                   | push                eax

        $sequence_7 = { 7419 8b550c 66890c42 40 8945f8 e9???????? 33c0 }
            // n = 7, score = 200
            //   7419                 | je                  0x1b
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   66890c42             | mov                 word ptr [edx + eax*2], cx
            //   40                   | inc                 eax
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   e9????????           |                     
            //   33c0                 | xor                 eax, eax

        $sequence_8 = { 50 68???????? 6a06 6a01 8d4df0 51 8d95e8fdffff }
            // n = 7, score = 200
            //   50                   | push                eax
            //   68????????           |                     
            //   6a06                 | push                6
            //   6a01                 | push                1
            //   8d4df0               | lea                 ecx, dword ptr [ebp - 0x10]
            //   51                   | push                ecx
            //   8d95e8fdffff         | lea                 edx, dword ptr [ebp - 0x218]

        $sequence_9 = { 5e 5d c20400 817e104f1c0000 75ed 837e1c00 741e }
            // n = 7, score = 200
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   c20400               | ret                 4
            //   817e104f1c0000       | cmp                 dword ptr [esi + 0x10], 0x1c4f
            //   75ed                 | jne                 0xffffffef
            //   837e1c00             | cmp                 dword ptr [esi + 0x1c], 0
            //   741e                 | je                  0x20

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