SYMBOLCOMMON_NAMEaka. SYNONYMS
win.darkdew (Back to overview)

DARKDEW

VTCollection    

Mandiant associates this with UNC4191, this malware spreads to removable drives.

References
2022-11-28 ⋅ Mandiant ⋅ Geoff Ackerman, John Wolfram, Ryan Tomcik, Tommy Dacanay
Always Another Secret: Lifting the Haze on China-nexus Espionage in Southeast Asia
BLUEHAZE DARKDEW MISTCLOAK UNC4191
2022-11-03 ⋅ Sophos ⋅ Gabor Szappanos
Family Tree: DLL-Sideloading Cases May Be Related
DARKDEW MISTCLOAK
Yara Rules
[TLP:WHITE] win_darkdew_auto (20260917 | Detects win.darkdew.)
rule win_darkdew_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.darkdew."
        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.darkdew"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 8bbd68ffffff 0f43cf 8d5101 8a01 41 }
            // n = 5, score = 100
            //   8bbd68ffffff         | mov                 edi, dword ptr [ebp - 0x98]
            //   0f43cf               | cmovae              ecx, edi
            //   8d5101               | lea                 edx, [ecx + 1]
            //   8a01                 | mov                 al, byte ptr [ecx]
            //   41                   | inc                 ecx

        $sequence_1 = { 8b4d18 2bc1 6a03 68???????? 83f803 7221 83fa10 }
            // n = 7, score = 100
            //   8b4d18               | mov                 ecx, dword ptr [ebp + 0x18]
            //   2bc1                 | sub                 eax, ecx
            //   6a03                 | push                3
            //   68????????           |                     
            //   83f803               | cmp                 eax, 3
            //   7221                 | jb                  0x23
            //   83fa10               | cmp                 edx, 0x10

        $sequence_2 = { 668945d4 8bc6 2bc2 c745e400000000 }
            // n = 4, score = 100
            //   668945d4             | mov                 word ptr [ebp - 0x2c], ax
            //   8bc6                 | mov                 eax, esi
            //   2bc2                 | sub                 eax, edx
            //   c745e400000000       | mov                 dword ptr [ebp - 0x1c], 0

        $sequence_3 = { 8d8d1cfeffff e8???????? c645fc0b 8d4584 837d9810 8b3d???????? 0f434584 }
            // n = 7, score = 100
            //   8d8d1cfeffff         | lea                 ecx, [ebp - 0x1e4]
            //   e8????????           |                     
            //   c645fc0b             | mov                 byte ptr [ebp - 4], 0xb
            //   8d4584               | lea                 eax, [ebp - 0x7c]
            //   837d9810             | cmp                 dword ptr [ebp - 0x68], 0x10
            //   8b3d????????         |                     
            //   0f434584             | cmovae              eax, dword ptr [ebp - 0x7c]

        $sequence_4 = { c745e400000000 c745e807000000 668945d4 8945fc 85f6 0f8456010000 8dbd20feffff }
            // n = 7, score = 100
            //   c745e400000000       | mov                 dword ptr [ebp - 0x1c], 0
            //   c745e807000000       | mov                 dword ptr [ebp - 0x18], 7
            //   668945d4             | mov                 word ptr [ebp - 0x2c], ax
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   85f6                 | test                esi, esi
            //   0f8456010000         | je                  0x15c
            //   8dbd20feffff         | lea                 edi, [ebp - 0x1e0]

        $sequence_5 = { e8???????? 59 83cfff 897de4 8365fc00 8b049da0f30110 8b4de0 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   83cfff               | or                  edi, 0xffffffff
            //   897de4               | mov                 dword ptr [ebp - 0x1c], edi
            //   8365fc00             | and                 dword ptr [ebp - 4], 0
            //   8b049da0f30110       | mov                 eax, dword ptr [ebx*4 + 0x1001f3a0]
            //   8b4de0               | mov                 ecx, dword ptr [ebp - 0x20]

        $sequence_6 = { f3a5 89442410 3b442424 0f8501feffff 5f }
            // n = 5, score = 100
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   89442410             | mov                 dword ptr [esp + 0x10], eax
            //   3b442424             | cmp                 eax, dword ptr [esp + 0x24]
            //   0f8501feffff         | jne                 0xfffffe07
            //   5f                   | pop                 edi

        $sequence_7 = { 83fa10 8d7508 8d4103 0f437508 03f1 894518 }
            // n = 6, score = 100
            //   83fa10               | cmp                 edx, 0x10
            //   8d7508               | lea                 esi, [ebp + 8]
            //   8d4103               | lea                 eax, [ecx + 3]
            //   0f437508             | cmovae              esi, dword ptr [ebp + 8]
            //   03f1                 | add                 esi, ecx
            //   894518               | mov                 dword ptr [ebp + 0x18], eax

        $sequence_8 = { 8bfb f3a5 8b75fc 8dbdb8fdffff b991000000 }
            // n = 5, score = 100
            //   8bfb                 | mov                 edi, ebx
            //   f3a5                 | rep movsd           dword ptr es:[edi], dword ptr [esi]
            //   8b75fc               | mov                 esi, dword ptr [ebp - 4]
            //   8dbdb8fdffff         | lea                 edi, [ebp - 0x248]
            //   b991000000           | mov                 ecx, 0x91

        $sequence_9 = { 83c408 c745fcffffffff 8b957cffffff c7459400000000 }
            // n = 4, score = 100
            //   83c408               | add                 esp, 8
            //   c745fcffffffff       | mov                 dword ptr [ebp - 4], 0xffffffff
            //   8b957cffffff         | mov                 edx, dword ptr [ebp - 0x84]
            //   c7459400000000       | mov                 dword ptr [ebp - 0x6c], 0

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