There is no description at this point.
rule win_greenshaitan_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.greenshaitan." 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.greenshaitan" 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 = { 50 8d442450 64a300000000 8b442460 33db bf0f000000 } // n = 6, score = 100 // 50 | push eax // 8d442450 | lea eax, [esp + 0x50] // 64a300000000 | mov dword ptr fs:[0], eax // 8b442460 | mov eax, dword ptr [esp + 0x60] // 33db | xor ebx, ebx // bf0f000000 | mov edi, 0xf $sequence_1 = { 899f24010000 889f14010000 898750010000 899f4c010000 889f3c010000 89876c010000 899f68010000 } // n = 7, score = 100 // 899f24010000 | mov dword ptr [edi + 0x124], ebx // 889f14010000 | mov byte ptr [edi + 0x114], bl // 898750010000 | mov dword ptr [edi + 0x150], eax // 899f4c010000 | mov dword ptr [edi + 0x14c], ebx // 889f3c010000 | mov byte ptr [edi + 0x13c], bl // 89876c010000 | mov dword ptr [edi + 0x16c], eax // 899f68010000 | mov dword ptr [edi + 0x168], ebx $sequence_2 = { 51 e8???????? 45 3b6c2410 0f8c4dffffff 5f 5e } // n = 7, score = 100 // 51 | push ecx // e8???????? | // 45 | inc ebp // 3b6c2410 | cmp ebp, dword ptr [esp + 0x10] // 0f8c4dffffff | jl 0xffffff53 // 5f | pop edi // 5e | pop esi $sequence_3 = { e8???????? 8be8 896c2438 33f6 89b4249c000000 b807000000 33c9 } // n = 7, score = 100 // e8???????? | // 8be8 | mov ebp, eax // 896c2438 | mov dword ptr [esp + 0x38], ebp // 33f6 | xor esi, esi // 89b4249c000000 | mov dword ptr [esp + 0x9c], esi // b807000000 | mov eax, 7 // 33c9 | xor ecx, ecx $sequence_4 = { 3bf2 7605 e8???????? 8b7b28 8bef 89742424 85ff } // n = 7, score = 100 // 3bf2 | cmp esi, edx // 7605 | jbe 7 // e8???????? | // 8b7b28 | mov edi, dword ptr [ebx + 0x28] // 8bef | mov ebp, edi // 89742424 | mov dword ptr [esp + 0x24], esi // 85ff | test edi, edi $sequence_5 = { 8d44243c e8???????? 6aff 6a00 83c6f8 50 8d4e44 } // n = 7, score = 100 // 8d44243c | lea eax, [esp + 0x3c] // e8???????? | // 6aff | push -1 // 6a00 | push 0 // 83c6f8 | add esi, -8 // 50 | push eax // 8d4e44 | lea ecx, [esi + 0x44] $sequence_6 = { 7412 8b442424 55 57 6818040000 50 ff15???????? } // n = 7, score = 100 // 7412 | je 0x14 // 8b442424 | mov eax, dword ptr [esp + 0x24] // 55 | push ebp // 57 | push edi // 6818040000 | push 0x418 // 50 | push eax // ff15???????? | $sequence_7 = { 8d8f80000000 895678 8b477c 51 8d8e80000000 89467c e8???????? } // n = 7, score = 100 // 8d8f80000000 | lea ecx, [edi + 0x80] // 895678 | mov dword ptr [esi + 0x78], edx // 8b477c | mov eax, dword ptr [edi + 0x7c] // 51 | push ecx // 8d8e80000000 | lea ecx, [esi + 0x80] // 89467c | mov dword ptr [esi + 0x7c], eax // e8???????? | $sequence_8 = { e8???????? 6aff 6a00 c747180f000000 c7471400000000 50 8bcf } // n = 7, score = 100 // e8???????? | // 6aff | push -1 // 6a00 | push 0 // c747180f000000 | mov dword ptr [edi + 0x18], 0xf // c7471400000000 | mov dword ptr [edi + 0x14], 0 // 50 | push eax // 8bcf | mov ecx, edi $sequence_9 = { 8b842484000000 c74424640f000000 895c2460 885c2450 895c2474 3bc3 } // n = 6, score = 100 // 8b842484000000 | mov eax, dword ptr [esp + 0x84] // c74424640f000000 | mov dword ptr [esp + 0x64], 0xf // 895c2460 | mov dword ptr [esp + 0x60], ebx // 885c2450 | mov byte ptr [esp + 0x50], bl // 895c2474 | mov dword ptr [esp + 0x74], ebx // 3bc3 | cmp eax, ebx condition: 7 of them and filesize < 253952 }
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