There is no description at this point.
rule win_poison_rat_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" version = "1" description = "Detects win.poison_rat." 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.poison_rat" 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 = { 81e3ff000000 c1e708 333c9d30944000 8b5804 33fb 8b5c2414 } // n = 6, score = 100 // 81e3ff000000 | and ebx, 0xff // c1e708 | shl edi, 8 // 333c9d30944000 | xor edi, dword ptr [ebx*4 + 0x409430] // 8b5804 | mov ebx, dword ptr [eax + 4] // 33fb | xor edi, ebx // 8b5c2414 | mov ebx, dword ptr [esp + 0x14] $sequence_1 = { c1ef18 8b3cbd30984000 333cad309c4000 8b6c2418 c1ed08 81e5ff000000 } // n = 6, score = 100 // c1ef18 | shr edi, 0x18 // 8b3cbd30984000 | mov edi, dword ptr [edi*4 + 0x409830] // 333cad309c4000 | xor edi, dword ptr [ebp*4 + 0x409c30] // 8b6c2418 | mov ebp, dword ptr [esp + 0x18] // c1ed08 | shr ebp, 8 // 81e5ff000000 | and ebp, 0xff $sequence_2 = { 8b3c9530a44000 8b500c 33ef 8b7c2414 33ea } // n = 5, score = 100 // 8b3c9530a44000 | mov edi, dword ptr [edx*4 + 0x40a430] // 8b500c | mov edx, dword ptr [eax + 0xc] // 33ef | xor ebp, edi // 8b7c2414 | mov edi, dword ptr [esp + 0x14] // 33ea | xor ebp, edx $sequence_3 = { c3 0fb6442404 8a4c240c 848841b44000 751c 837c240800 740e } // n = 7, score = 100 // c3 | ret // 0fb6442404 | movzx eax, byte ptr [esp + 4] // 8a4c240c | mov cl, byte ptr [esp + 0xc] // 848841b44000 | test byte ptr [eax + 0x40b441], cl // 751c | jne 0x1e // 837c240800 | cmp dword ptr [esp + 8], 0 // 740e | je 0x10 $sequence_4 = { 81e1ff000000 33ea 83c010 8b148d30a44000 83c010 33ea } // n = 6, score = 100 // 81e1ff000000 | and ecx, 0xff // 33ea | xor ebp, edx // 83c010 | add eax, 0x10 // 8b148d30a44000 | mov edx, dword ptr [ecx*4 + 0x40a430] // 83c010 | add eax, 0x10 // 33ea | xor ebp, edx $sequence_5 = { 0bca 33d2 33cb 8a560e } // n = 4, score = 100 // 0bca | or ecx, edx // 33d2 | xor edx, edx // 33cb | xor ecx, ebx // 8a560e | mov dl, byte ptr [esi + 0xe] $sequence_6 = { 33cd 8b2c95309c4000 8bd3 81e2ff000000 33cd 8b2c9530a44000 } // n = 6, score = 100 // 33cd | xor ecx, ebp // 8b2c95309c4000 | mov ebp, dword ptr [edx*4 + 0x409c30] // 8bd3 | mov edx, ebx // 81e2ff000000 | and edx, 0xff // 33cd | xor ecx, ebp // 8b2c9530a44000 | mov ebp, dword ptr [edx*4 + 0x40a430] $sequence_7 = { c1e908 331cad30a04000 8b6c2414 81e5ff000000 331cad30a44000 } // n = 5, score = 100 // c1e908 | shr ecx, 8 // 331cad30a04000 | xor ebx, dword ptr [ebp*4 + 0x40a030] // 8b6c2414 | mov ebp, dword ptr [esp + 0x14] // 81e5ff000000 | and ebp, 0xff // 331cad30a44000 | xor ebx, dword ptr [ebp*4 + 0x40a430] $sequence_8 = { 8b7c2414 c1ef18 8b3cbd30984000 333cad309c4000 8b6c2418 } // n = 5, score = 100 // 8b7c2414 | mov edi, dword ptr [esp + 0x14] // c1ef18 | shr edi, 0x18 // 8b3cbd30984000 | mov edi, dword ptr [edi*4 + 0x409830] // 333cad309c4000 | xor edi, dword ptr [ebp*4 + 0x409c30] // 8b6c2418 | mov ebp, dword ptr [esp + 0x18] $sequence_9 = { 330c9530a04000 8bd5 81e2ff000000 81e3ff000000 c1ed18 } // n = 5, score = 100 // 330c9530a04000 | xor ecx, dword ptr [edx*4 + 0x40a030] // 8bd5 | mov edx, ebp // 81e2ff000000 | and edx, 0xff // 81e3ff000000 | and ebx, 0xff // c1ed18 | shr ebp, 0x18 condition: 7 of them and filesize < 101688 }
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