SYMBOLCOMMON_NAMEaka. SYNONYMS
win.hotcroissant (Back to overview)

HOTCROISSANT

Actor(s): Lazarus Group

VTCollection    

There is no description at this point.

References
2020-04-16VMWare Carbon BlackScott Knight
The Evolution of Lazarus
HOTCROISSANT Rifdoor
2020-02-25SentinelOneJim Walter
DPRK Hidden Cobra Update: North Korean Malicious Cyber Activity
ARTFULPIE BISTROMATH BUFFETLINE CHEESETRAY HOPLIGHT HOTCROISSANT SLICKSHOES
2020-02-14US-CERTUS-CERT
Malware Analysis Report (AR20-045D): MAR-10271944-1.v1 - North Korean Trojan: HOTCROISSANT
HOTCROISSANT
Yara Rules
[TLP:WHITE] win_hotcroissant_auto (20241030 | Detects win.hotcroissant.)
rule win_hotcroissant_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2024-10-31"
        version = "1"
        description = "Detects win.hotcroissant."
        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.hotcroissant"
        malpedia_rule_date = "20241030"
        malpedia_hash = "26e26953c49c8efafbf72a38076855d578e0a2e4"
        malpedia_version = "20241030"
        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 = { 85c0 7409 6a01 50 ff15???????? 68???????? }
            // n = 6, score = 600
            //   85c0                 | test                eax, eax
            //   7409                 | je                  0xb
            //   6a01                 | push                1
            //   50                   | push                eax
            //   ff15????????         |                     
            //   68????????           |                     

        $sequence_1 = { 68703a0000 8d958cc5ffff 52 50 }
            // n = 4, score = 600
            //   68703a0000           | push                0x3a70
            //   8d958cc5ffff         | lea                 edx, [ebp - 0x3a74]
            //   52                   | push                edx
            //   50                   | push                eax

        $sequence_2 = { 33c0 52 a3???????? a3???????? a3???????? a3???????? }
            // n = 6, score = 600
            //   33c0                 | xor                 eax, eax
            //   52                   | push                edx
            //   a3????????           |                     
            //   a3????????           |                     
            //   a3????????           |                     
            //   a3????????           |                     

        $sequence_3 = { 33ff 3bc7 7473 56 }
            // n = 4, score = 600
            //   33ff                 | xor                 edi, edi
            //   3bc7                 | cmp                 eax, edi
            //   7473                 | je                  0x75
            //   56                   | push                esi

        $sequence_4 = { 7409 6a01 50 ff15???????? 68???????? }
            // n = 5, score = 600
            //   7409                 | je                  0xb
            //   6a01                 | push                1
            //   50                   | push                eax
            //   ff15????????         |                     
            //   68????????           |                     

        $sequence_5 = { c1e808 46 0bc7 8955fc 3b750c }
            // n = 5, score = 600
            //   c1e808               | shr                 eax, 8
            //   46                   | inc                 esi
            //   0bc7                 | or                  eax, edi
            //   8955fc               | mov                 dword ptr [ebp - 4], edx
            //   3b750c               | cmp                 esi, dword ptr [ebp + 0xc]

        $sequence_6 = { 8b7d08 8a1c3e 32da 32d8 32d9 881c3e 8ad8 }
            // n = 7, score = 600
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   8a1c3e               | mov                 bl, byte ptr [esi + edi]
            //   32da                 | xor                 bl, dl
            //   32d8                 | xor                 bl, al
            //   32d9                 | xor                 bl, cl
            //   881c3e               | mov                 byte ptr [esi + edi], bl
            //   8ad8                 | mov                 bl, al

        $sequence_7 = { 7473 56 6a01 50 }
            // n = 4, score = 600
            //   7473                 | je                  0x75
            //   56                   | push                esi
            //   6a01                 | push                1
            //   50                   | push                eax

        $sequence_8 = { a3???????? a3???????? ffd6 a1???????? 50 ffd6 }
            // n = 6, score = 600
            //   a3????????           |                     
            //   a3????????           |                     
            //   ffd6                 | call                esi
            //   a1????????           |                     
            //   50                   | push                eax
            //   ffd6                 | call                esi

        $sequence_9 = { a3???????? a3???????? a3???????? ffd6 a1???????? 50 }
            // n = 6, score = 600
            //   a3????????           |                     
            //   a3????????           |                     
            //   a3????????           |                     
            //   ffd6                 | call                esi
            //   a1????????           |                     
            //   50                   | push                eax

    condition:
        7 of them and filesize < 591872
}
[TLP:WHITE] win_hotcroissant_w0   (20200421 | Lazarus HotCroissant backdoor)
rule win_hotcroissant_w0 {
    meta:
        author = "VMware CarbonBlack TAU"
        date = "2020-Mar-25"
        validity = 10
        severity = 10
        TID = "T1140, T1082, T1033, T1005, T1113, T1094, T1024, T1132, T1065"
        description = "Lazarus HotCroissant backdoor"
        link = "https://www.us-cert.gov/ncas/analysis-reports/ar20-045d"
        rule_version = 1
        yara_version = "3.11.0"
        confidence = "Prod"
        priority = "Medium"
        tlp = "White"
        hash = "8ee7da59f68c691c9eca1ac70ff03155ed07808c7a66dee49886b51a59e00085"
        hash = "7ec13c5258e4b3455f2e8af1c55ac74de6195b837235b58bc32f95dd6f25370c"

        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.hotcroissant"
        malpedia_version = "20200421"
        malpedia_sharing = "TLP:WHITE"
        malpedia_license = ""
    strings:
        // Crypto keys
        $b1 = { 8b d6 b8 00 [1-6] 17 [1-6] 29 70 49 02 }

        // Crypto algorithm
        $b2 = { 8A 1C 3E 32 DA 32 D8 32 D9 88 1C 3E 8A D8 32 D9 22 DA 8B 55 FC 8D 3C D5 00 00 00 00 33 FA 81 E7 F8 07 00 00 C1 E7 14 C1 EA 08 0B D7 8D 3C 00 33 F8 22 C8 C1 E7 04 33 F8 32 CB 8B D8 83 E7 80 C1 E3 07 33 FB C1 E7 11 C1 E8 08 }

    condition:
        uint16(0) == 0x5A4D and 
        uint32(uint32(0x3C)) == 0x00004550 and
        filesize < 200KB and
        any of ($b*)
}
Download all Yara Rules