Actor(s): Lazarus Group
There is no description at this point.
rule win_pslogger_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.pslogger." 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.pslogger" malpedia_rule_date = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { 8b5308 8b4b14 412bc8 448b4b10 442bca } // n = 5, score = 400 // 8b5308 | je 0xb // 8b4b14 | dec eax // 412bc8 | add ebx, 0x18 // 448b4b10 | dec eax // 442bca | cmp ebx, dword ptr [edi + 8] $sequence_1 = { cc 488b0e 483bc8 740e } // n = 4, score = 400 // cc | int3 // 488b0e | dec eax // 483bc8 | mov ecx, dword ptr [esi] // 740e | dec eax $sequence_2 = { 746f 833802 740c c705????????00000800 eb15 488b4808 } // n = 6, score = 400 // 746f | cmp ecx, eax // 833802 | je 0x10 // 740c | je 0x71 // c705????????00000800 | // eb15 | cmp dword ptr [eax], 2 // 488b4808 | je 0x11 $sequence_3 = { 488b05???????? 4833c4 4889842488000000 498bf9 498bd8 488bf2 } // n = 6, score = 400 // 488b05???????? | // 4833c4 | xor edx, edx // 4889842488000000 | dec eax // 498bf9 | mov ecx, dword ptr [ebx] // 498bd8 | dec eax // 488bf2 | test ecx, ecx $sequence_4 = { e8???????? 488d8c2480030000 e8???????? 488d542420 } // n = 4, score = 400 // e8???????? | // 488d8c2480030000 | jmp 0x17 // e8???????? | // 488d542420 | dec eax $sequence_5 = { 488b0b 4885c9 7406 ff15???????? 4883c318 483b5f08 } // n = 6, score = 400 // 488b0b | dec eax // 4885c9 | lea edx, [esp + 0x20] // 7406 | dec eax // ff15???????? | // 4883c318 | add esp, 0x28 // 483b5f08 | ret $sequence_6 = { e9???????? b910000000 ff15???????? 6685c0 } // n = 4, score = 400 // e9???????? | // b910000000 | mov ecx, 0x10 // ff15???????? | // 6685c0 | test ax, ax $sequence_7 = { 4883c428 c3 488b0d???????? 33d2 ff15???????? } // n = 5, score = 400 // 4883c428 | mov ecx, dword ptr [eax + 8] // c3 | dec eax // 488b0d???????? | // 33d2 | lea ecx, [esp + 0x380] // ff15???????? | $sequence_8 = { 68b80b0000 e8???????? 83c404 8bd8 895c2410 } // n = 5, score = 100 // 68b80b0000 | mov esi, edx // e8???????? | // 83c404 | mov edx, dword ptr [ebx + 8] // 8bd8 | mov ecx, dword ptr [ebx + 0x14] // 895c2410 | inc ecx $sequence_9 = { 8b5364 8bc2 0facc108 53 c1f808 884df6 8bc2 } // n = 7, score = 100 // 8b5364 | dec eax // 8bc2 | mov dword ptr [esp + 0x88], eax // 0facc108 | dec ecx // 53 | mov edi, ecx // c1f808 | dec ecx // 884df6 | mov ebx, eax // 8bc2 | dec eax $sequence_10 = { 75f6 a1???????? 8907 8d442410 } // n = 4, score = 100 // 75f6 | cmp ebx, dword ptr [edi + 8] // a1???????? | // 8907 | dec eax // 8d442410 | xor eax, esp $sequence_11 = { 83c404 6898400000 56 c70600000000 e8???????? 6a08 57 } // n = 7, score = 100 // 83c404 | test ax, ax // 6898400000 | jns 0x12 // 56 | mov ecx, 0x14 // c70600000000 | add esp, 0x28 // e8???????? | // 6a08 | mov byte ptr [ebx + 0xc], 0 // 57 | push esi $sequence_12 = { e8???????? 83c428 c6430c00 56 ff15???????? 8bf0 } // n = 6, score = 100 // e8???????? | // 83c428 | dec eax // c6430c00 | lea edx, [esp + 0x20] // 56 | dec eax // ff15???????? | // 8bf0 | add esp, 0x28 $sequence_13 = { c745e8502f78a4 c745ec74cd340b c745f01a0f55fd 66c745f4fdfd c645f6fd } // n = 5, score = 100 // c745e8502f78a4 | sub ecx, eax // c745ec74cd340b | inc esp // c745f01a0f55fd | mov ecx, dword ptr [ebx + 0x10] // 66c745f4fdfd | inc esp // c645f6fd | sub ecx, edx $sequence_14 = { 8b3d???????? 83c420 6a00 6a00 6aff 53 6a00 } // n = 7, score = 100 // 8b3d???????? | // 83c420 | dec eax // 6a00 | test ecx, ecx // 6a00 | je 0xb // 6aff | dec eax // 53 | add ebx, 0x18 // 6a00 | dec eax $sequence_15 = { 68???????? 50 e8???????? 8d45d0 c745cc44024200 50 } // n = 6, score = 100 // 68???????? | // 50 | ret // e8???????? | // 8d45d0 | xor edx, edx // c745cc44024200 | dec eax // 50 | mov ecx, dword ptr [ebx] condition: 7 of them and filesize < 475136 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY