Actor(s): Pitty Panda
Paladin RAT is a variant of Gh0st RAT used by PittyPanda active since at least 2011.
rule win_paladin_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.paladin." 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.paladin" 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 = { 7431 8bf3 8b1b 6a01 8b4604 8b0e } // n = 6, score = 200 // 7431 | je 0x33 // 8bf3 | mov esi, ebx // 8b1b | mov ebx, dword ptr [ebx] // 6a01 | push 1 // 8b4604 | mov eax, dword ptr [esi + 4] // 8b0e | mov ecx, dword ptr [esi] $sequence_1 = { f3ab 8d442414 c744241473686c77 50 c744241c6170692e } // n = 5, score = 200 // f3ab | rep stosd dword ptr es:[edi], eax // 8d442414 | lea eax, [esp + 0x14] // c744241473686c77 | mov dword ptr [esp + 0x14], 0x776c6873 // 50 | push eax // c744241c6170692e | mov dword ptr [esp + 0x1c], 0x2e697061 $sequence_2 = { 56 68???????? 53 53 c7442430ffffffff 894618 c6460c01 } // n = 7, score = 200 // 56 | push esi // 68???????? | // 53 | push ebx // 53 | push ebx // c7442430ffffffff | mov dword ptr [esp + 0x30], 0xffffffff // 894618 | mov dword ptr [esi + 0x18], eax // c6460c01 | mov byte ptr [esi + 0xc], 1 $sequence_3 = { e8???????? 8b55d4 a1???????? 85c2 0f8499010000 8b35???????? ffd3 } // n = 7, score = 200 // e8???????? | // 8b55d4 | mov edx, dword ptr [ebp - 0x2c] // a1???????? | // 85c2 | test edx, eax // 0f8499010000 | je 0x19f // 8b35???????? | // ffd3 | call ebx $sequence_4 = { 8d8db0c0feff e8???????? 8d8db0c0feff c645fc04 51 8d8de8feffff e8???????? } // n = 7, score = 200 // 8d8db0c0feff | lea ecx, [ebp - 0x13f50] // e8???????? | // 8d8db0c0feff | lea ecx, [ebp - 0x13f50] // c645fc04 | mov byte ptr [ebp - 4], 4 // 51 | push ecx // 8d8de8feffff | lea ecx, [ebp - 0x118] // e8???????? | $sequence_5 = { c645fc01 e8???????? 8b55dc a1???????? 85c2 0f84e2000000 8b35???????? } // n = 7, score = 200 // c645fc01 | mov byte ptr [ebp - 4], 1 // e8???????? | // 8b55dc | mov edx, dword ptr [ebp - 0x24] // a1???????? | // 85c2 | test edx, eax // 0f84e2000000 | je 0xe8 // 8b35???????? | $sequence_6 = { 6a00 52 ff15???????? 8b4624 8b4c2410 2bc3 8b6e58 } // n = 7, score = 200 // 6a00 | push 0 // 52 | push edx // ff15???????? | // 8b4624 | mov eax, dword ptr [esi + 0x24] // 8b4c2410 | mov ecx, dword ptr [esp + 0x10] // 2bc3 | sub eax, ebx // 8b6e58 | mov ebp, dword ptr [esi + 0x58] $sequence_7 = { ffd7 8b4e44 8b3d???????? 50 51 894650 } // n = 6, score = 200 // ffd7 | call edi // 8b4e44 | mov ecx, dword ptr [esi + 0x44] // 8b3d???????? | // 50 | push eax // 51 | push ecx // 894650 | mov dword ptr [esi + 0x50], eax $sequence_8 = { 83c504 8d51e8 896c2418 3bd0 7cca 8b5634 } // n = 6, score = 200 // 83c504 | add ebp, 4 // 8d51e8 | lea edx, [ecx - 0x18] // 896c2418 | mov dword ptr [esp + 0x18], ebp // 3bd0 | cmp edx, eax // 7cca | jl 0xffffffcc // 8b5634 | mov edx, dword ptr [esi + 0x34] $sequence_9 = { 50 885e0c 885e0e ffd7 8b4e14 6aff 51 } // n = 7, score = 200 // 50 | push eax // 885e0c | mov byte ptr [esi + 0xc], bl // 885e0e | mov byte ptr [esi + 0xe], bl // ffd7 | call edi // 8b4e14 | mov ecx, dword ptr [esi + 0x14] // 6aff | push -1 // 51 | push ecx condition: 7 of them and filesize < 106496 }
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