Actor(s): Turla
There is no description at this point.
rule win_powershellrunner_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.powershellrunner." 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.powershellrunner" 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 = { 488b442428 4883c004 4889442428 4c8b442428 488b542430 488b4c2450 e8???????? } // n = 7, score = 200 // 488b442428 | mov dword ptr [esp + 0x68], eax // 4883c004 | dec eax // 4889442428 | mov ecx, dword ptr [esp + 0x68] // 4c8b442428 | mov eax, dword ptr [esp + 0x54] // 488b542430 | dec eax // 488b4c2450 | lea eax, [esp + 0xc8] // e8???????? | $sequence_1 = { eb00 8b442440 488b8c2490010000 4833cc e8???????? } // n = 5, score = 200 // eb00 | mov byte ptr [esp + 0x73], 0x39 // 8b442440 | mov byte ptr [esp + 0x1af], 0x10 // 488b8c2490010000 | mov byte ptr [esp + 0x1b0], 0x27 // 4833cc | mov byte ptr [esp + 0x1b1], 0x27 // e8???????? | $sequence_2 = { 488d4c2470 e8???????? 90 488d4c2428 e8???????? 89442420 837c242000 } // n = 7, score = 200 // 488d4c2470 | dec eax // e8???????? | // 90 | mov eax, ecx // 488d4c2428 | dec eax // e8???????? | // 89442420 | cmp dword ptr [esp + 0x20], eax // 837c242000 | jbe 0x1d9f $sequence_3 = { 8b442458 e9???????? 4883bc243801000000 7447 0fb7442470 448bc0 } // n = 6, score = 200 // 8b442458 | dec eax // e9???????? | // 4883bc243801000000 | lea eax, [ecx + eax + 4] // 7447 | dec eax // 0fb7442470 | mov dword ptr [esp + 0x68], eax // 448bc0 | mov edx, 2 $sequence_4 = { 4c8d05fe920000 498bce e8???????? 85c0 0f85a9000000 eb5e } // n = 6, score = 200 // 4c8d05fe920000 | dec eax // 498bce | mov ecx, dword ptr [esp + 0x60] // e8???????? | // 85c0 | dec eax // 0f85a9000000 | mov ecx, dword ptr [esp + 0x68] // eb5e | dec eax $sequence_5 = { 6689842498010000 b86e000000 668984249a010000 b876000000 668984249c010000 } // n = 5, score = 200 // 6689842498010000 | lea ecx, [eax + ecx*8] // b86e000000 | dec eax // 668984249a010000 | lea eax, [0x19cbb] // b876000000 | jmp 0x1491 // 668984249c010000 | dec eax $sequence_6 = { 488b442458 4883e804 4889442458 488b4c2458 e8???????? } // n = 5, score = 200 // 488b442458 | mov eax, ecx // 4883e804 | dec eax // 4889442458 | cmp dword ptr [esp + 0x28], eax // 488b4c2458 | jbe 0x6b8 // e8???????? | $sequence_7 = { 48c7442458feffffff 488b05???????? 4833c4 4889842460040000 b824000000 66898424a0000000 b870000000 } // n = 7, score = 200 // 48c7442458feffffff | lea ecx, [esp + 0x58] // 488b05???????? | // 4833c4 | mov eax, dword ptr [esp + 0x3c] // 4889842460040000 | dec eax // b824000000 | cmp dword ptr [esp + 0x30], 0 // 66898424a0000000 | jne 0x1203 // b870000000 | dec eax $sequence_8 = { 90 488d8c2490000000 e8???????? 90 488d4c2440 e8???????? 90 } // n = 7, score = 200 // 90 | cmp dword ptr [esp + 0x60], eax // 488d8c2490000000 | ja 0xb7d // e8???????? | // 90 | dec eax // 488d4c2440 | mov ecx, dword ptr [esp + 0x50] // e8???????? | // 90 | dec eax $sequence_9 = { 4889442438 4c8b442438 488d542420 488d4c2460 e8???????? 0fb6c0 85c0 } // n = 7, score = 200 // 4889442438 | mov byte ptr [esp + 0x1fc], 0x30 // 4c8b442438 | mov byte ptr [esp + 0x1fd], 0x27 // 488d542420 | mov byte ptr [esp + 0x1fe], 0x26 // 488d4c2460 | mov byte ptr [esp + 0x1ff], 0x3c // e8???????? | // 0fb6c0 | mov byte ptr [esp + 0x200], 0x3a // 85c0 | mov byte ptr [esp + 0x201], 0x3b condition: 7 of them and filesize < 458752 }
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