Actor(s): Mirage
There is no description at this point.
rule win_tidepool_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.tidepool." 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.tidepool" 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 = { 5b 8b8d00030000 33cd e8???????? 81c504030000 } // n = 5, score = 1000 // 5b | pop ebx // 8b8d00030000 | mov ecx, dword ptr [ebp + 0x300] // 33cd | xor ecx, ebp // e8???????? | // 81c504030000 | add ebp, 0x304 $sequence_1 = { 83c404 8bc6 5e c20400 80790800 c701???????? 740e } // n = 7, score = 1000 // 83c404 | add esp, 4 // 8bc6 | mov eax, esi // 5e | pop esi // c20400 | ret 4 // 80790800 | cmp byte ptr [ecx + 8], 0 // c701???????? | // 740e | je 0x10 $sequence_2 = { 8b4df4 64890d00000000 59 5f 5e 5b 8b8d00030000 } // n = 7, score = 1000 // 8b4df4 | mov ecx, dword ptr [ebp - 0xc] // 64890d00000000 | mov dword ptr fs:[0], ecx // 59 | pop ecx // 5f | pop edi // 5e | pop esi // 5b | pop ebx // 8b8d00030000 | mov ecx, dword ptr [ebp + 0x300] $sequence_3 = { 6a00 50 8b08 ff91a4000000 } // n = 4, score = 1000 // 6a00 | push 0 // 50 | push eax // 8b08 | mov ecx, dword ptr [eax] // ff91a4000000 | call dword ptr [ecx + 0xa4] $sequence_4 = { 33db 53 6a02 8bf1 e8???????? } // n = 5, score = 900 // 33db | xor ebx, ebx // 53 | push ebx // 6a02 | push 2 // 8bf1 | mov esi, ecx // e8???????? | $sequence_5 = { 83e906 51 83c006 50 6a02 } // n = 5, score = 900 // 83e906 | sub ecx, 6 // 51 | push ecx // 83c006 | add eax, 6 // 50 | push eax // 6a02 | push 2 $sequence_6 = { 83c40c 803d????????37 7518 68???????? } // n = 4, score = 900 // 83c40c | add esp, 0xc // 803d????????37 | // 7518 | jne 0x1a // 68???????? | $sequence_7 = { 6800000040 8d4500 50 ff15???????? } // n = 4, score = 900 // 6800000040 | push 0x40000000 // 8d4500 | lea eax, [ebp] // 50 | push eax // ff15???????? | $sequence_8 = { c745fcfeffffff b8ff000000 e8???????? c3 66813d????????4d5a 7404 } // n = 6, score = 800 // c745fcfeffffff | mov dword ptr [ebp - 4], 0xfffffffe // b8ff000000 | mov eax, 0xff // e8???????? | // c3 | ret // 66813d????????4d5a | // 7404 | je 6 $sequence_9 = { 6810270000 ff15???????? 8b45ec 8b08 } // n = 4, score = 800 // 6810270000 | push 0x2710 // ff15???????? | // 8b45ec | mov eax, dword ptr [ebp - 0x14] // 8b08 | mov ecx, dword ptr [eax] $sequence_10 = { 8b08 ff91a4000000 8b4654 6a01 } // n = 4, score = 800 // 8b08 | mov ecx, dword ptr [eax] // ff91a4000000 | call dword ptr [ecx + 0xa4] // 8b4654 | mov eax, dword ptr [esi + 0x54] // 6a01 | push 1 $sequence_11 = { 40 49 75f9 b8???????? b900000400 c60000 40 } // n = 7, score = 800 // 40 | inc eax // 49 | dec ecx // 75f9 | jne 0xfffffffb // b8???????? | // b900000400 | mov ecx, 0x40000 // c60000 | mov byte ptr [eax], 0 // 40 | inc eax $sequence_12 = { 8d5668 52 8d5658 52 50 } // n = 5, score = 800 // 8d5668 | lea edx, [esi + 0x68] // 52 | push edx // 8d5658 | lea edx, [esi + 0x58] // 52 | push edx // 50 | push eax $sequence_13 = { 8b4654 50 8b08 ff5138 47 } // n = 5, score = 800 // 8b4654 | mov eax, dword ptr [esi + 0x54] // 50 | push eax // 8b08 | mov ecx, dword ptr [eax] // ff5138 | call dword ptr [ecx + 0x38] // 47 | inc edi $sequence_14 = { e8???????? 68???????? 68???????? 68???????? 8d4500 50 } // n = 6, score = 800 // e8???????? | // 68???????? | // 68???????? | // 68???????? | // 8d4500 | lea eax, [ebp] // 50 | push eax $sequence_15 = { 741d 6a00 68b80b0000 ffd3 } // n = 4, score = 800 // 741d | je 0x1f // 6a00 | push 0 // 68b80b0000 | push 0xbb8 // ffd3 | call ebx $sequence_16 = { 6802020000 ff15???????? 68???????? ff15???????? 8bf8 85ff } // n = 6, score = 800 // 6802020000 | push 0x202 // ff15???????? | // 68???????? | // ff15???????? | // 8bf8 | mov edi, eax // 85ff | test edi, edi $sequence_17 = { 740c 8b470c 83c604 833c0600 } // n = 4, score = 800 // 740c | je 0xe // 8b470c | mov eax, dword ptr [edi + 0xc] // 83c604 | add esi, 4 // 833c0600 | cmp dword ptr [esi + eax], 0 $sequence_18 = { 8d45ec 50 681f000200 53 68???????? 6801000080 } // n = 6, score = 800 // 8d45ec | lea eax, [ebp - 0x14] // 50 | push eax // 681f000200 | push 0x2001f // 53 | push ebx // 68???????? | // 6801000080 | push 0x80000001 $sequence_19 = { eb06 8b3d???????? 8d45fc 50 } // n = 4, score = 600 // eb06 | jmp 8 // 8b3d???????? | // 8d45fc | lea eax, [ebp - 4] // 50 | push eax $sequence_20 = { 83e103 03c0 0bc1 83f83f b910000000 be???????? 8d7c2428 } // n = 7, score = 600 // 83e103 | and ecx, 3 // 03c0 | add eax, eax // 0bc1 | or eax, ecx // 83f83f | cmp eax, 0x3f // b910000000 | mov ecx, 0x10 // be???????? | // 8d7c2428 | lea edi, [esp + 0x28] $sequence_21 = { f3a5 a4 7709 8a9414b8000000 } // n = 4, score = 600 // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // a4 | movsb byte ptr es:[edi], byte ptr [esi] // 7709 | ja 0xb // 8a9414b8000000 | mov dl, byte ptr [esp + edx + 0xb8] $sequence_22 = { ff75ec ff15???????? 8b35???????? 6a04 } // n = 4, score = 400 // ff75ec | push dword ptr [ebp - 0x14] // ff15???????? | // 8b35???????? | // 6a04 | push 4 $sequence_23 = { 6a01 8d8435e8fdffff 6a01 50 e8???????? } // n = 5, score = 200 // 6a01 | push 1 // 8d8435e8fdffff | lea eax, [ebp + esi - 0x218] // 6a01 | push 1 // 50 | push eax // e8???????? | $sequence_24 = { 7229 f3a5 ff2495483d0010 8bc7 } // n = 4, score = 200 // 7229 | jb 0x2b // f3a5 | rep movsd dword ptr es:[edi], dword ptr [esi] // ff2495483d0010 | jmp dword ptr [edx*4 + 0x10003d48] // 8bc7 | mov eax, edi $sequence_25 = { 8365f800 8365fc00 c745f0ef430010 8965f4 896df8 } // n = 5, score = 200 // 8365f800 | and dword ptr [ebp - 8], 0 // 8365fc00 | and dword ptr [ebp - 4], 0 // c745f0ef430010 | mov dword ptr [ebp - 0x10], 0x100043ef // 8965f4 | mov dword ptr [ebp - 0xc], esp // 896df8 | mov dword ptr [ebp - 8], ebp $sequence_26 = { e8???????? 83c40c 8d85f8ffffff 50 6a00 ff75e8 } // n = 6, score = 200 // e8???????? | // 83c40c | add esp, 0xc // 8d85f8ffffff | lea eax, [ebp - 8] // 50 | push eax // 6a00 | push 0 // ff75e8 | push dword ptr [ebp - 0x18] $sequence_27 = { 81eca4010000 53 56 57 6a01 } // n = 5, score = 200 // 81eca4010000 | sub esp, 0x1a4 // 53 | push ebx // 56 | push esi // 57 | push edi // 6a01 | push 1 $sequence_28 = { 5b c3 56 57 33ff 8b35???????? 57 } // n = 7, score = 200 // 5b | pop ebx // c3 | ret // 56 | push esi // 57 | push edi // 33ff | xor edi, edi // 8b35???????? | // 57 | push edi $sequence_29 = { 56 68???????? 6801000080 ffd7 } // n = 4, score = 200 // 56 | push esi // 68???????? | // 6801000080 | push 0x80000001 // ffd7 | call edi condition: 7 of them and filesize < 1998848 }
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