Stealer is written in Visual Basic.
rule win_darkcloud_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.darkcloud." 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.darkcloud" 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 = { 8d8df0feffff ff15???????? 8d95a0feffff 52 8d85b0feffff 50 6a02 } // n = 7, score = 100 // 8d8df0feffff | lea ecx, [ebp - 0x110] // ff15???????? | // 8d95a0feffff | lea edx, [ebp - 0x160] // 52 | push edx // 8d85b0feffff | lea eax, [ebp - 0x150] // 50 | push eax // 6a02 | push 2 $sequence_1 = { 6a03 ff15???????? 83c410 c745fc33000000 ba???????? 8d8df0feffff ff15???????? } // n = 7, score = 100 // 6a03 | push 3 // ff15???????? | // 83c410 | add esp, 0x10 // c745fc33000000 | mov dword ptr [ebp - 4], 0x33 // ba???????? | // 8d8df0feffff | lea ecx, [ebp - 0x110] // ff15???????? | $sequence_2 = { 52 6a02 ff15???????? 83c40c 8d4d80 ff15???????? c745fc1e000000 } // n = 7, score = 100 // 52 | push edx // 6a02 | push 2 // ff15???????? | // 83c40c | add esp, 0xc // 8d4d80 | lea ecx, [ebp - 0x80] // ff15???????? | // c745fc1e000000 | mov dword ptr [ebp - 4], 0x1e $sequence_3 = { 52 50 ff15???????? 8d4de0 8d55e8 51 } // n = 6, score = 100 // 52 | push edx // 50 | push eax // ff15???????? | // 8d4de0 | lea ecx, [ebp - 0x20] // 8d55e8 | lea edx, [ebp - 0x18] // 51 | push ecx $sequence_4 = { 83e104 85c9 7409 8d4dd0 ff15???????? 8d55bc 52 } // n = 7, score = 100 // 83e104 | and ecx, 4 // 85c9 | test ecx, ecx // 7409 | je 0xb // 8d4dd0 | lea ecx, [ebp - 0x30] // ff15???????? | // 8d55bc | lea edx, [ebp - 0x44] // 52 | push edx $sequence_5 = { 730c c78570fdffff00000000 eb0c ff15???????? 898570fdffff 8b95fcfeffff c1e204 } // n = 7, score = 100 // 730c | jae 0xe // c78570fdffff00000000 | mov dword ptr [ebp - 0x290], 0 // eb0c | jmp 0xe // ff15???????? | // 898570fdffff | mov dword ptr [ebp - 0x290], eax // 8b95fcfeffff | mov edx, dword ptr [ebp - 0x104] // c1e204 | shl edx, 4 $sequence_6 = { 50 51 6a02 ff15???????? 83c40c 6639bd5cffffff 741e } // n = 7, score = 100 // 50 | push eax // 51 | push ecx // 6a02 | push 2 // ff15???????? | // 83c40c | add esp, 0xc // 6639bd5cffffff | cmp word ptr [ebp - 0xa4], di // 741e | je 0x20 $sequence_7 = { 8b9564fdffff 8d8decfeffff ff15???????? c785d8fdffff04000000 83bdd8fdffff12 730c c785d4fcffff00000000 } // n = 7, score = 100 // 8b9564fdffff | mov edx, dword ptr [ebp - 0x29c] // 8d8decfeffff | lea ecx, [ebp - 0x114] // ff15???????? | // c785d8fdffff04000000 | mov dword ptr [ebp - 0x228], 4 // 83bdd8fdffff12 | cmp dword ptr [ebp - 0x228], 0x12 // 730c | jae 0xe // c785d4fcffff00000000 | mov dword ptr [ebp - 0x32c], 0 $sequence_8 = { eb0c ff15???????? 8985f8fdffff 8b8df0feffff 8b957cffffff 8d048a 898504ffffff } // n = 7, score = 100 // eb0c | jmp 0xe // ff15???????? | // 8985f8fdffff | mov dword ptr [ebp - 0x208], eax // 8b8df0feffff | mov ecx, dword ptr [ebp - 0x110] // 8b957cffffff | mov edx, dword ptr [ebp - 0x84] // 8d048a | lea eax, [edx + ecx*4] // 898504ffffff | mov dword ptr [ebp - 0xfc], eax $sequence_9 = { e8???????? 8bd0 8d4ddc ff15???????? c745fc10000000 8b4d94 } // n = 6, score = 100 // e8???????? | // 8bd0 | mov edx, eax // 8d4ddc | lea ecx, [ebp - 0x24] // ff15???????? | // c745fc10000000 | mov dword ptr [ebp - 4], 0x10 // 8b4d94 | mov ecx, dword ptr [ebp - 0x6c] condition: 7 of them and filesize < 622592 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY