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-03-29" 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 = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { 59 5f 5e 5b 8b8d00030000 33cd } // n = 6, score = 1000 // 59 | pop ecx // 5f | pop edi // 5e | pop esi // 5b | pop ebx // 8b8d00030000 | mov ecx, dword ptr [ebp + 0x300] // 33cd | xor ecx, ebp $sequence_1 = { 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_2 = { 5e c20400 80790800 c701???????? 740e } // n = 5, score = 1000 // 5e | pop esi // c20400 | ret 4 // 80790800 | cmp byte ptr [ecx + 8], 0 // c701???????? | // 740e | je 0x10 $sequence_3 = { 8b8d00030000 33cd e8???????? 81c504030000 } // n = 4, score = 1000 // 8b8d00030000 | mov ecx, dword ptr [ebp + 0x300] // 33cd | xor ecx, ebp // e8???????? | // 81c504030000 | add ebp, 0x304 $sequence_4 = { e8???????? 83c40c 803d????????37 7518 68???????? } // n = 5, score = 900 // e8???????? | // 83c40c | add esp, 0xc // 803d????????37 | // 7518 | jne 0x1a // 68???????? | $sequence_5 = { 51 83c006 50 6a02 } // n = 4, score = 900 // 51 | push ecx // 83c006 | add eax, 6 // 50 | push eax // 6a02 | push 2 $sequence_6 = { 6800000040 8d4500 50 ff15???????? } // n = 4, score = 900 // 6800000040 | push 0x40000000 // 8d4500 | lea eax, [ebp] // 50 | push eax // ff15???????? | $sequence_7 = { 53 6a02 8bf1 e8???????? } // n = 4, score = 900 // 53 | push ebx // 6a02 | push 2 // 8bf1 | mov esi, ecx // e8???????? | $sequence_8 = { 2bc8 83e906 51 83c006 } // n = 4, score = 900 // 2bc8 | sub ecx, eax // 83e906 | sub ecx, 6 // 51 | push ecx // 83c006 | add eax, 6 $sequence_9 = { 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_10 = { 56 8bf1 e8???????? 8b4654 6a00 } // n = 5, score = 800 // 56 | push esi // 8bf1 | mov esi, ecx // e8???????? | // 8b4654 | mov eax, dword ptr [esi + 0x54] // 6a00 | push 0 $sequence_11 = { 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_12 = { 83ff14 7509 8b4654 50 8b08 } // n = 5, score = 800 // 83ff14 | cmp edi, 0x14 // 7509 | jne 0xb // 8b4654 | mov eax, dword ptr [esi + 0x54] // 50 | push eax // 8b08 | mov ecx, dword ptr [eax] $sequence_13 = { 8d5668 52 8d5658 52 50 ff91d0000000 } // n = 6, score = 800 // 8d5668 | lea edx, [esi + 0x68] // 52 | push edx // 8d5658 | lea edx, [esi + 0x58] // 52 | push edx // 50 | push eax // ff91d0000000 | call dword ptr [ecx + 0xd0] $sequence_14 = { 8b08 ff5138 47 83ff14 } // n = 4, score = 800 // 8b08 | mov ecx, dword ptr [eax] // ff5138 | call dword ptr [ecx + 0x38] // 47 | inc edi // 83ff14 | cmp edi, 0x14 $sequence_15 = { 681f000200 56 68???????? 6801000080 } // n = 4, score = 800 // 681f000200 | push 0x2001f // 56 | push esi // 68???????? | // 6801000080 | push 0x80000001 $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 = { e8???????? 68???????? 68???????? 68???????? 8d4500 } // n = 5, score = 800 // e8???????? | // 68???????? | // 68???????? | // 68???????? | // 8d4500 | lea eax, [ebp] $sequence_18 = { 8d9698000000 52 8d5678 8b08 } // n = 4, score = 800 // 8d9698000000 | lea edx, [esi + 0x98] // 52 | push edx // 8d5678 | lea edx, [esi + 0x78] // 8b08 | mov ecx, dword ptr [eax] $sequence_19 = { 53 55 33db 395c241c 56 57 } // n = 6, score = 600 // 53 | push ebx // 55 | push ebp // 33db | xor ebx, ebx // 395c241c | cmp dword ptr [esp + 0x1c], ebx // 56 | push esi // 57 | push edi $sequence_20 = { eb06 8b3d???????? 8d45fc 50 } // n = 4, score = 600 // eb06 | jmp 8 // 8b3d???????? | // 8d45fc | lea eax, [ebp - 4] // 50 | push eax $sequence_21 = { 83c001 3ad3 75f7 2bc6 89442424 8b442420 } // n = 6, score = 600 // 83c001 | add eax, 1 // 3ad3 | cmp dl, bl // 75f7 | jne 0xfffffff9 // 2bc6 | sub eax, esi // 89442424 | mov dword ptr [esp + 0x24], eax // 8b442420 | mov eax, dword ptr [esp + 0x20] $sequence_22 = { ff75ec ff15???????? 8b35???????? 6a04 } // n = 4, score = 400 // ff75ec | push dword ptr [ebp - 0x14] // ff15???????? | // 8b35???????? | // 6a04 | push 4 $sequence_23 = { 50 6802000080 ffd6 8b35???????? 8d45fc 50 } // n = 6, score = 200 // 50 | push eax // 6802000080 | push 0x80000002 // ffd6 | call esi // 8b35???????? | // 8d45fc | lea eax, [ebp - 4] // 50 | push eax $sequence_24 = { 6801000080 ff15???????? 85c0 753b 8d45f4 } // n = 5, score = 200 // 6801000080 | push 0x80000001 // ff15???????? | // 85c0 | test eax, eax // 753b | jne 0x3d // 8d45f4 | lea eax, [ebp - 0xc] $sequence_25 = { 53 55 ff15???????? 8d442418 8b1d???????? 6a04 50 } // n = 7, score = 200 // 53 | push ebx // 55 | push ebp // ff15???????? | // 8d442418 | lea eax, [esp + 0x18] // 8b1d???????? | // 6a04 | push 4 // 50 | push eax $sequence_26 = { f3ab 66ab 8d8568fdffff 50 } // n = 4, score = 200 // f3ab | rep stosd dword ptr es:[edi], eax // 66ab | stosw word ptr es:[edi], ax // 8d8568fdffff | lea eax, [ebp - 0x298] // 50 | push eax $sequence_27 = { 8bf8 e8???????? 6a14 99 } // n = 4, score = 200 // 8bf8 | mov edi, eax // e8???????? | // 6a14 | push 0x14 // 99 | cdq $sequence_28 = { 50 683f000f00 53 ff75f8 6801000080 ff15???????? } // n = 6, score = 200 // 50 | push eax // 683f000f00 | push 0xf003f // 53 | push ebx // ff75f8 | push dword ptr [ebp - 8] // 6801000080 | push 0x80000001 // ff15???????? | 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