Actor(s): Kimsuky
There is no description at this point.
rule win_grease_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.grease." 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.grease" 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 = { 52 50 683f000f00 50 50 } // n = 5, score = 400 // 52 | push edx // 50 | push eax // 683f000f00 | push 0xf003f // 50 | push eax // 50 | push eax $sequence_1 = { 4889442438 48897c2430 4533c0 c74424283f000f00 } // n = 4, score = 300 // 4889442438 | dec eax // 48897c2430 | mov dword ptr [esp + 0x38], eax // 4533c0 | dec eax // c74424283f000f00 | mov dword ptr [esp + 0x30], edi $sequence_2 = { 488d542470 41b93f000f00 4533c0 48c7c102000080 } // n = 4, score = 300 // 488d542470 | inc ebp // 41b93f000f00 | xor eax, eax // 4533c0 | mov dword ptr [esp + 0x28], 0xf003f // 48c7c102000080 | mov dword ptr [esp + 0x20], edi $sequence_3 = { 4533c9 4533c0 c74424283f000f00 897c2420 } // n = 4, score = 300 // 4533c9 | dec eax // 4533c0 | mov ecx, dword ptr [esp + 0x280] // c74424283f000f00 | dec eax // 897c2420 | xor ecx, esp $sequence_4 = { 488b4c2460 ff15???????? b801000000 488b8c2480020000 4833cc } // n = 5, score = 300 // 488b4c2460 | test eax, eax // ff15???????? | // b801000000 | jne 0xfb // 488b8c2480020000 | dec eax // 4833cc | mov dword ptr [esp + 0x40], edi $sequence_5 = { 488b05???????? 4833c4 4889842480020000 488d4c2472 } // n = 4, score = 300 // 488b05???????? | // 4833c4 | mov ecx, dword ptr [esp + 0x60] // 4889842480020000 | mov eax, 1 // 488d4c2472 | dec eax $sequence_6 = { 85c0 0f85e7000000 488b4c2460 488d442458 } // n = 4, score = 300 // 85c0 | inc ebp // 0f85e7000000 | xor eax, eax // 488b4c2460 | mov dword ptr [esp + 0x28], 0xf003f // 488d442458 | test eax, eax $sequence_7 = { 48c7c102000080 c74424281f000200 895c2420 ff15???????? 85c0 0f85e7000000 } // n = 6, score = 300 // 48c7c102000080 | jne 0xed // c74424281f000200 | dec eax // 895c2420 | mov ecx, dword ptr [esp + 0x60] // ff15???????? | // 85c0 | dec eax // 0f85e7000000 | lea eax, [esp + 0x58] $sequence_8 = { 7534 488b4c2450 488d442458 41b904000000 4533c0 488bd3 } // n = 6, score = 300 // 7534 | dec eax // 488b4c2450 | mov dword ptr [esp + 0x38], eax // 488d442458 | dec eax // 41b904000000 | mov dword ptr [esp + 0x30], edi // 4533c0 | inc ebp // 488bd3 | xor eax, eax $sequence_9 = { 6a00 50 c644241400 e8???????? 8b0d???????? 51 8d542418 } // n = 7, score = 200 // 6a00 | lea eax, [esp + 0x58] // 50 | inc ecx // c644241400 | mov ecx, 4 // e8???????? | // 8b0d???????? | // 51 | inc ebp // 8d542418 | xor eax, eax $sequence_10 = { 6802000080 ffd7 85c0 7544 8b442410 } // n = 5, score = 200 // 6802000080 | dec eax // ffd7 | mov edx, ebx // 85c0 | mov dword ptr [esp + 0x28], 4 // 7544 | dec eax // 8b442410 | mov dword ptr [esp + 0x20], eax $sequence_11 = { 8d8c2424060000 33ff 85c9 8d842424060000 740c } // n = 5, score = 200 // 8d8c2424060000 | lea ecx, [esp + 0x624] // 33ff | xor edi, edi // 85c9 | test ecx, ecx // 8d842424060000 | lea eax, [esp + 0x624] // 740c | je 0xe $sequence_12 = { 68???????? 52 897c2430 ffd5 8b442410 50 ffd6 } // n = 7, score = 200 // 68???????? | // 52 | jne 0xef // 897c2430 | dec eax // ffd5 | lea edx, [esp + 0x70] // 8b442410 | inc ecx // 50 | mov ecx, 0xf003f // ffd6 | inc ebp $sequence_13 = { 8d84240d010000 6a00 50 c684241401000000 e8???????? 0fbe4c2410 } // n = 6, score = 200 // 8d84240d010000 | xor eax, eax // 6a00 | dec eax // 50 | mov ecx, 0x80000002 // c684241401000000 | dec eax // e8???????? | // 0fbe4c2410 | mov dword ptr [esp + 0x40], edi $sequence_14 = { 8dbc24410d0000 f3ab 8b0d???????? 8b15???????? 66ab aa } // n = 6, score = 200 // 8dbc24410d0000 | lea edi, [esp + 0xd41] // f3ab | rep stosd dword ptr es:[edi], eax // 8b0d???????? | // 8b15???????? | // 66ab | stosw word ptr es:[edi], ax // aa | stosb byte ptr es:[edi], al $sequence_15 = { 81ec0c020000 a1???????? 33c4 89842408020000 e8???????? 68???????? } // n = 6, score = 200 // 81ec0c020000 | dec eax // a1???????? | // 33c4 | mov dword ptr [esp + 0x38], eax // 89842408020000 | dec eax // e8???????? | // 68???????? | $sequence_16 = { e9???????? c684342c0800003d e9???????? c684342c0800005f e9???????? } // n = 5, score = 200 // e9???????? | // c684342c0800003d | mov byte ptr [esp + esi + 0x82c], 0x3d // e9???????? | // c684342c0800005f | mov byte ptr [esp + esi + 0x82c], 0x5f // e9???????? | $sequence_17 = { 8dbc2419030000 f3ab 66ab b9???????? } // n = 4, score = 200 // 8dbc2419030000 | lea edi, [esp + 0x319] // f3ab | rep stosd dword ptr es:[edi], eax // 66ab | stosw word ptr es:[edi], ax // b9???????? | $sequence_18 = { 75f4 33f6 8a843410010000 33c9 3c41 } // n = 5, score = 200 // 75f4 | jne 0xfffffff6 // 33f6 | xor esi, esi // 8a843410010000 | mov al, byte ptr [esp + esi + 0x110] // 33c9 | xor ecx, ecx // 3c41 | cmp al, 0x41 $sequence_19 = { ffd5 8d442424 8d5001 8a08 83c001 3acb 75f7 } // n = 7, score = 200 // ffd5 | mov dword ptr [esp + 0x30], edi // 8d442424 | inc ebp // 8d5001 | xor eax, eax // 8a08 | mov dword ptr [esp + 0x28], 0xf003f // 83c001 | dec eax // 3acb | mov ecx, dword ptr [esp + 0x50] // 75f7 | dec eax $sequence_20 = { eb67 c644340c25 eb60 c644340c2a } // n = 4, score = 200 // eb67 | jmp 0x69 // c644340c25 | mov byte ptr [esp + esi + 0xc], 0x25 // eb60 | jmp 0x62 // c644340c2a | mov byte ptr [esp + esi + 0xc], 0x2a $sequence_21 = { 50 ffd6 8d4c2418 68???????? 51 } // n = 5, score = 200 // 50 | dec eax // ffd6 | mov edx, ebx // 8d4c2418 | mov dword ptr [esp + 0x28], 4 // 68???????? | // 51 | dec eax $sequence_22 = { c684342807000068 e9???????? c684342807000078 e9???????? c684342807000063 } // n = 5, score = 200 // c684342807000068 | mov byte ptr [esp + esi + 0x728], 0x68 // e9???????? | // c684342807000078 | mov byte ptr [esp + esi + 0x728], 0x78 // e9???????? | // c684342807000063 | mov byte ptr [esp + esi + 0x728], 0x63 condition: 7 of them and filesize < 278528 }
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