There is no description at this point.
rule win_greenshaitan_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" 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 = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 837b4400 c744241400000000 0f8658010000 eb02 8bd9 8b7340 8b5344 } // n = 7, score = 100 // 837b4400 | cmp dword ptr [ebx + 0x44], 0 // c744241400000000 | mov dword ptr [esp + 0x14], 0 // 0f8658010000 | jbe 0x15e // eb02 | jmp 4 // 8bd9 | mov ebx, ecx // 8b7340 | mov esi, dword ptr [ebx + 0x40] // 8b5344 | mov edx, dword ptr [ebx + 0x44] $sequence_1 = { e9???????? 6a24 e8???????? 8bf0 83c404 89742418 c684249800000007 } // n = 7, score = 100 // e9???????? | // 6a24 | push 0x24 // e8???????? | // 8bf0 | mov esi, eax // 83c404 | add esp, 4 // 89742418 | mov dword ptr [esp + 0x18], esi // c684249800000007 | mov byte ptr [esp + 0x98], 7 $sequence_2 = { e8???????? 55 6a00 b9???????? c784246802000003000000 e8???????? 89ac2460020000 } // n = 7, score = 100 // e8???????? | // 55 | push ebp // 6a00 | push 0 // b9???????? | // c784246802000003000000 | mov dword ptr [esp + 0x268], 3 // e8???????? | // 89ac2460020000 | mov dword ptr [esp + 0x260], ebp $sequence_3 = { b9???????? e8???????? 3bc3 751a 83fe02 721a } // n = 6, score = 100 // b9???????? | // e8???????? | // 3bc3 | cmp eax, ebx // 751a | jne 0x1c // 83fe02 | cmp esi, 2 // 721a | jb 0x1c $sequence_4 = { 50 8b06 51 52 50 68???????? 8d74242c } // n = 7, score = 100 // 50 | push eax // 8b06 | mov eax, dword ptr [esi] // 51 | push ecx // 52 | push edx // 50 | push eax // 68???????? | // 8d74242c | lea esi, [esp + 0x2c] $sequence_5 = { 394608 741e 8b442410 8b4d08 40 89442410 3b4124 } // n = 7, score = 100 // 394608 | cmp dword ptr [esi + 8], eax // 741e | je 0x20 // 8b442410 | mov eax, dword ptr [esp + 0x10] // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 40 | inc eax // 89442410 | mov dword ptr [esp + 0x10], eax // 3b4124 | cmp eax, dword ptr [ecx + 0x24] $sequence_6 = { 035318 3bc2 7209 e8???????? 8b4c2420 85c9 7404 } // n = 7, score = 100 // 035318 | add edx, dword ptr [ebx + 0x18] // 3bc2 | cmp eax, edx // 7209 | jb 0xb // e8???????? | // 8b4c2420 | mov ecx, dword ptr [esp + 0x20] // 85c9 | test ecx, ecx // 7404 | je 6 $sequence_7 = { 51 e8???????? 83c404 8d4c2410 e8???????? 55 } // n = 6, score = 100 // 51 | push ecx // e8???????? | // 83c404 | add esp, 4 // 8d4c2410 | lea ecx, [esp + 0x10] // e8???????? | // 55 | push ebp $sequence_8 = { 53 56 57 8bf9 8bda 57 e8???????? } // n = 7, score = 100 // 53 | push ebx // 56 | push esi // 57 | push edi // 8bf9 | mov edi, ecx // 8bda | mov ebx, edx // 57 | push edi // e8???????? | $sequence_9 = { 8d0c8d60ab6e00 8901 8305????????20 8d9000080000 eb2a c6400400 } // n = 6, score = 100 // 8d0c8d60ab6e00 | lea ecx, [ecx*4 + 0x6eab60] // 8901 | mov dword ptr [ecx], eax // 8305????????20 | // 8d9000080000 | lea edx, [eax + 0x800] // eb2a | jmp 0x2c // c6400400 | mov byte ptr [eax + 4], 0 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