Actor(s): Comment Crew
There is no description at this point.
rule win_tarsip_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.tarsip." 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.tarsip" malpedia_rule_date = "20230705" malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41" malpedia_version = "20230715" 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 = { 53 51 c744245444000000 895c2458 895c2460 895c245c } // n = 6, score = 100 // 53 | push ebx // 51 | push ecx // c744245444000000 | mov dword ptr [esp + 0x54], 0x44 // 895c2458 | mov dword ptr [esp + 0x58], ebx // 895c2460 | mov dword ptr [esp + 0x60], ebx // 895c245c | mov dword ptr [esp + 0x5c], ebx $sequence_1 = { 7300 8bf5 3be8 7202 8bf0 397b24 } // n = 6, score = 100 // 7300 | jae 2 // 8bf5 | mov esi, ebp // 3be8 | cmp ebp, eax // 7202 | jb 4 // 8bf0 | mov esi, eax // 397b24 | cmp dword ptr [ebx + 0x24], edi $sequence_2 = { 8d742428 c68424481200000d e8???????? 8b08 8b7004 8b7c2438 } // n = 6, score = 100 // 8d742428 | lea esi, [esp + 0x28] // c68424481200000d | mov byte ptr [esp + 0x1248], 0xd // e8???????? | // 8b08 | mov ecx, dword ptr [eax] // 8b7004 | mov esi, dword ptr [eax + 4] // 8b7c2438 | mov edi, dword ptr [esp + 0x38] $sequence_3 = { 50 c6414400 e8???????? 8b4e08 8a5644 885144 885e44 } // n = 7, score = 100 // 50 | push eax // c6414400 | mov byte ptr [ecx + 0x44], 0 // e8???????? | // 8b4e08 | mov ecx, dword ptr [esi + 8] // 8a5644 | mov dl, byte ptr [esi + 0x44] // 885144 | mov byte ptr [ecx + 0x44], dl // 885e44 | mov byte ptr [esi + 0x44], bl $sequence_4 = { 68???????? 8d4c2444 c744245c0f000000 89442458 88442448 e8???????? bb???????? } // n = 7, score = 100 // 68???????? | // 8d4c2444 | lea ecx, [esp + 0x44] // c744245c0f000000 | mov dword ptr [esp + 0x5c], 0xf // 89442458 | mov dword ptr [esp + 0x58], eax // 88442448 | mov byte ptr [esp + 0x48], al // e8???????? | // bb???????? | $sequence_5 = { 6a3f 8d842431010000 53 50 889c2438010000 e8???????? 33c0 } // n = 7, score = 100 // 6a3f | push 0x3f // 8d842431010000 | lea eax, [esp + 0x131] // 53 | push ebx // 50 | push eax // 889c2438010000 | mov byte ptr [esp + 0x138], bl // e8???????? | // 33c0 | xor eax, eax $sequence_6 = { 51 c68424c801000000 e8???????? 8bbc248c000000 be10000000 83c40c 39b42494000000 } // n = 7, score = 100 // 51 | push ecx // c68424c801000000 | mov byte ptr [esp + 0x1c8], 0 // e8???????? | // 8bbc248c000000 | mov edi, dword ptr [esp + 0x8c] // be10000000 | mov esi, 0x10 // 83c40c | add esp, 0xc // 39b42494000000 | cmp dword ptr [esp + 0x94], esi $sequence_7 = { 8b4c2424 83c414 83f940 73ba 03c1 } // n = 5, score = 100 // 8b4c2424 | mov ecx, dword ptr [esp + 0x24] // 83c414 | add esp, 0x14 // 83f940 | cmp ecx, 0x40 // 73ba | jae 0xffffffbc // 03c1 | add eax, ecx $sequence_8 = { 888424c7000000 83c40c 8d8424cc020000 50 ba???????? 8bcf 889c24b0000000 } // n = 7, score = 100 // 888424c7000000 | mov byte ptr [esp + 0xc7], al // 83c40c | add esp, 0xc // 8d8424cc020000 | lea eax, [esp + 0x2cc] // 50 | push eax // ba???????? | // 8bcf | mov ecx, edi // 889c24b0000000 | mov byte ptr [esp + 0xb0], bl $sequence_9 = { b910000000 be???????? 8d7c2470 f3a5 a4 83fa3f } // n = 6, score = 100 // b910000000 | mov ecx, 0x10 // be???????? | // 8d7c2470 | lea edi, [esp + 0x70] // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // a4 | movsb byte ptr es:[edi], byte ptr [esi] // 83fa3f | cmp edx, 0x3f condition: 7 of them and filesize < 360448 }
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