Actor(s): Lazarus Group
REDSHAWL is a session hijacking utility that starts a new process as another user currently logged on to the same system via command-line.
rule win_redshawl_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.redshawl." 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.redshawl" 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 = { 90 e9???????? 488d542450 8bbc24b0000000 8bcf e8???????? } // n = 6, score = 100 // 90 | test eax, eax // e9???????? | // 488d542450 | je 0x45a // 8bbc24b0000000 | dec eax // 8bcf | lea ecx, [0xd057] // e8???????? | $sequence_1 = { 41b82c010000 488d4c2444 e8???????? 488d542440 498bcc } // n = 5, score = 100 // 41b82c010000 | je 0x73a // 488d4c2444 | jne 0x75c // e8???????? | // 488d542440 | je 0x754 // 498bcc | dec eax $sequence_2 = { 488b542450 4885d2 7435 448bc6 498bcd e8???????? 8bd8 } // n = 7, score = 100 // 488b542450 | mov edx, esi // 4885d2 | dec eax // 7435 | lea ecx, [0x9863] // 448bc6 | dec eax // 498bcd | mov edx, dword ptr [esp + 0x50] // e8???????? | // 8bd8 | nop $sequence_3 = { 488b4c2428 e8???????? 90 90 33c0 eb22 } // n = 6, score = 100 // 488b4c2428 | inc ebp // e8???????? | // 90 | test esp, esp // 90 | dec ebp // 33c0 | test edi, edi // eb22 | je 0x8f2 $sequence_4 = { 4183cfff f6431840 4c8d0d9dbbffff 0f85a5000000 488bcb e8???????? } // n = 6, score = 100 // 4183cfff | mov edi, 0xa // f6431840 | dec eax // 4c8d0d9dbbffff | mov ecx, dword ptr [ebx] // 0f85a5000000 | dec eax // 488bcb | mov dword ptr [ebx], eax // e8???????? | $sequence_5 = { 488bf0 4885c0 0f8493010000 488d15d64c0000 488bc8 ff15???????? 4885c0 } // n = 7, score = 100 // 488bf0 | mov dword ptr [ebp - 0x3c], 0x2e766e65 // 4885c0 | mov dword ptr [ebp - 0x38], 0x6c6c64 // 0f8493010000 | mov dword ptr [ebp - 0x50], 0x776c6873 // 488d15d64c0000 | mov dword ptr [ebp - 0x4c], 0x2e697061 // 488bc8 | mov dword ptr [ebp - 0x48], 0x6c6c64 // ff15???????? | // 4885c0 | mov dword ptr [ebp - 0x38], 0x6c6c64 $sequence_6 = { 4889742420 e8???????? cc 4c8d05446d0000 498bd4 488bcd e8???????? } // n = 7, score = 100 // 4889742420 | lea eax, [ecx + 0x58] // e8???????? | // cc | inc ecx // 4c8d05446d0000 | mov eax, 6 // 498bd4 | dec eax // 488bcd | lea edx, [0xc520] // e8???????? | $sequence_7 = { e8???????? e9???????? 488b442450 488d0d73800000 } // n = 4, score = 100 // e8???????? | // e9???????? | // 488b442450 | dec esp // 488d0d73800000 | mov eax, dword ptr [esp + 0x68] $sequence_8 = { 90 90 eb67 85db 7457 33c0 } // n = 6, score = 100 // 90 | add esp, 0x20 // 90 | pop edi // eb67 | dec esp // 85db | mov eax, esi // 7457 | mov edx, 0x2000000 // 33c0 | dec eax $sequence_9 = { 4863d1 488d0d90770000 488bc2 83e21f } // n = 4, score = 100 // 4863d1 | dec eax // 488d0d90770000 | mov eax, dword ptr [esp + 0x50] // 488bc2 | dec eax // 83e21f | lea ecx, [0x833b] condition: 7 of them and filesize < 174080 }
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