There is no description at this point.
rule win_glassrat_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.glassrat." 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.glassrat" 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 = { ff15???????? 85c0 7f0e 5f } // n = 4, score = 200 // ff15???????? | // 85c0 | test eax, eax // 7f0e | jg 0x10 // 5f | pop edi $sequence_1 = { 7408 6a00 ff15???????? 8b842424010000 8b8c2420010000 8b942418010000 } // n = 6, score = 200 // 7408 | je 0xa // 6a00 | push 0 // ff15???????? | // 8b842424010000 | mov eax, dword ptr [esp + 0x124] // 8b8c2420010000 | mov ecx, dword ptr [esp + 0x120] // 8b942418010000 | mov edx, dword ptr [esp + 0x118] $sequence_2 = { 895de0 50 56 ff15???????? } // n = 4, score = 200 // 895de0 | mov dword ptr [ebp - 0x20], ebx // 50 | push eax // 56 | push esi // ff15???????? | $sequence_3 = { 68007f0000 53 89442438 ff15???????? 53 89442438 } // n = 6, score = 200 // 68007f0000 | push 0x7f00 // 53 | push ebx // 89442438 | mov dword ptr [esp + 0x38], eax // ff15???????? | // 53 | push ebx // 89442438 | mov dword ptr [esp + 0x38], eax $sequence_4 = { 8b3d???????? 8d542404 56 52 33f6 ffd7 85c0 } // n = 7, score = 200 // 8b3d???????? | // 8d542404 | lea edx, [esp + 4] // 56 | push esi // 52 | push edx // 33f6 | xor esi, esi // ffd7 | call edi // 85c0 | test eax, eax $sequence_5 = { 8b45cc 50 51 ff15???????? 8b95c4feffff } // n = 5, score = 200 // 8b45cc | mov eax, dword ptr [ebp - 0x34] // 50 | push eax // 51 | push ecx // ff15???????? | // 8b95c4feffff | mov edx, dword ptr [ebp - 0x13c] $sequence_6 = { 53 ffd5 8b5e24 8d542410 52 } // n = 5, score = 200 // 53 | push ebx // ffd5 | call ebp // 8b5e24 | mov ebx, dword ptr [esi + 0x24] // 8d542410 | lea edx, [esp + 0x10] // 52 | push edx $sequence_7 = { 8bc8 8b4504 83e103 83f8ff f3a4 741a 6a02 } // n = 7, score = 200 // 8bc8 | mov ecx, eax // 8b4504 | mov eax, dword ptr [ebp + 4] // 83e103 | and ecx, 3 // 83f8ff | cmp eax, -1 // f3a4 | rep movsb byte ptr es:[edi], byte ptr [esi] // 741a | je 0x1c // 6a02 | push 2 $sequence_8 = { 8b5e28 8d442410 50 53 ffd7 85c0 7403 } // n = 7, score = 200 // 8b5e28 | mov ebx, dword ptr [esi + 0x28] // 8d442410 | lea eax, [esp + 0x10] // 50 | push eax // 53 | push ebx // ffd7 | call edi // 85c0 | test eax, eax // 7403 | je 5 $sequence_9 = { 2bc2 3bc8 b802000000 0f85b4000000 } // n = 4, score = 200 // 2bc2 | sub eax, edx // 3bc8 | cmp ecx, eax // b802000000 | mov eax, 2 // 0f85b4000000 | jne 0xba condition: 7 of them and filesize < 81920 }
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