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-05-04" 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 = "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 = { 8b5c2420 448bc3 488d54246c 488d0d4f9f0000 e8???????? } // n = 5, score = 100 // 8b5c2420 | mov dword ptr [ebp - 0x30], 0x6e72656b // 448bc3 | mov dword ptr [ebp - 0x2c], 0x32336c65 // 488d54246c | mov dword ptr [ebp - 0x28], 0x6c6c642e // 488d0d4f9f0000 | dec eax // e8???????? | $sequence_1 = { baa00f0000 ffc6 488d0c80 488d05baaa0000 488d0cc8 } // n = 5, score = 100 // baa00f0000 | inc esp // ffc6 | mov dword ptr [esp + 0x44], edi // 488d0c80 | dec esp // 488d05baaa0000 | mov edi, dword ptr [esp + 0x60] // 488d0cc8 | dec eax $sequence_2 = { 33c0 eb22 488d542440 498bcc ff15???????? 85c0 0f8564ffffff } // n = 7, score = 100 // 33c0 | mov ebp, dword ptr [ebx] // eb22 | push edi // 488d542440 | dec eax // 498bcc | sub esp, 0x30 // ff15???????? | // 85c0 | jne 0xb05 // 0f8564ffffff | dec eax $sequence_3 = { ebc9 488bcb 488bc3 488d15eb7d0000 } // n = 4, score = 100 // ebc9 | dec ecx // 488bcb | mov edx, esp // 488bc3 | dec eax // 488d15eb7d0000 | mov ecx, ebp $sequence_4 = { 8a03 488d1501840000 ffc7 4a8b0ce2 4188440f4c 4a8b04e2 41c744075001000000 } // n = 7, score = 100 // 8a03 | arpl cx, bx // 488d1501840000 | dec eax // ffc7 | lea ebp, [0x784b] // 4a8b0ce2 | dec eax // 4188440f4c | sub esp, 0x20 // 4a8b04e2 | mov ebx, ecx // 41c744075001000000 | dec eax $sequence_5 = { 48ff25???????? 4883ec48 488364243000 8364242800 41b803000000 488d0d6c320000 4533c9 } // n = 7, score = 100 // 48ff25???????? | // 4883ec48 | dec eax // 488364243000 | mov dword ptr [esp + 0x128], eax // 8364242800 | xor edx, edx // 41b803000000 | dec eax // 488d0d6c320000 | mov ecx, dword ptr [esp + 0x68] // 4533c9 | test eax, eax $sequence_6 = { c744242800000000 488d85b8000000 4889442420 4533c9 448bc3 33d2 b900110000 } // n = 7, score = 100 // c744242800000000 | lea edx, [0xd361] // 488d85b8000000 | dec ecx // 4889442420 | mov eax, eax // 4533c9 | dec eax // 448bc3 | sar eax, 5 // 33d2 | and ecx, 0x1f // b900110000 | dec eax $sequence_7 = { e9???????? 8bb424a0000000 448bc6 418bd4 488d0dee990000 e8???????? } // n = 6, score = 100 // e9???????? | // 8bb424a0000000 | je 0x710 // 448bc6 | dec eax // 418bd4 | mov ebx, edx // 488d0dee990000 | mov dword ptr [esp + 0x40], 0xffffffff // e8???????? | $sequence_8 = { 488bd9 488d0575910000 488981a0000000 83611000 c7411c01000000 } // n = 5, score = 100 // 488bd9 | dec eax // 488d0575910000 | lea ecx, [0x8073] // 488981a0000000 | dec esp // 83611000 | lea ebp, [0xc8b9] // c7411c01000000 | mov ecx, ebx $sequence_9 = { 7457 33c0 48898424b8000000 4889442430 89442428 488d8424b8000000 } // n = 6, score = 100 // 7457 | mov dword ptr [esp + 0x350], eax // 33c0 | dec eax // 48898424b8000000 | mov dword ptr [esp + 0x70], esp // 4889442430 | dec eax // 89442428 | mov edi, edx // 488d8424b8000000 | dec eax 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