Actor(s): Lazarus Group
There is no description at this point.
rule win_touchmove_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-01-05" version = "1" description = "Detects win.touchmove." 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.touchmove" malpedia_rule_date = "20260105" malpedia_hash = "19b79e7cab4eaf532122e5b45a77dd8f6bb5cc79" malpedia_version = "20251219" 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 = { 488d9520030000 488bcb 488905???????? ff15???????? } // n = 4, score = 100 // 488d9520030000 | dec eax // 488bcb | mov ecx, dword ptr [ecx + eax*8] // 488905???????? | // ff15???????? | $sequence_1 = { c7853417000073686f74 c6853817000000 e8???????? 488d8d30290000 } // n = 4, score = 100 // c7853417000073686f74 | xor edx, edx // c6853817000000 | dec eax // e8???????? | // 488d8d30290000 | lea ecx, [ebp + 0x4881] $sequence_2 = { c785883b0000ef911211 c7858c3b0000ff7559a3 c785903b0000e16ea064 c785943b0000b8788977 c785983b0000a0379158 } // n = 5, score = 100 // c785883b0000ef911211 | dec eax // c7858c3b0000ff7559a3 | mov dword ptr [esp + 0x78], ebp // c785903b0000e16ea064 | sar eax, 4 // c785943b0000b8788977 | dec esp // c785983b0000a0379158 | arpl ax, si $sequence_3 = { 894720 488d05fdfdffff 48894728 488d0502feffff 48894730 488d0507feffff } // n = 6, score = 100 // 894720 | dec eax // 488d05fdfdffff | mov eax, ecx // 48894728 | and ecx, 0x1f // 488d0502feffff | dec eax // 48894730 | sar eax, 5 // 488d0507feffff | dec eax $sequence_4 = { 4c8d05d4acffff 89542420 83fa05 7d15 4863ca } // n = 5, score = 100 // 4c8d05d4acffff | mov dword ptr [ebp + 0x328], 0x636f6c6c // 89542420 | mov word ptr [ebp + 0x32c], 0x7845 // 83fa05 | inc ecx // 7d15 | mov eax, 0xf2 // 4863ca | dec eax $sequence_5 = { 7577 c744246000010000 488d442460 4889442428 488d8580440000 4889442420 } // n = 6, score = 100 // 7577 | inc ebp // c744246000010000 | mov eax, esi // 488d442460 | mov edx, 0x80000000 // 4889442428 | dec eax // 488d8580440000 | lea ecx, [ebp + 0x4d90] // 4889442420 | dec eax $sequence_6 = { c785200a00006b65726e c785240a0000656c3332 c785280a00002e646c6c c6852c0a000000 e8???????? } // n = 5, score = 100 // c785200a00006b65726e | dec eax // c785240a0000656c3332 | lea edx, [ebp + 0x3f80] // c785280a00002e646c6c | dec eax // c6852c0a000000 | mov ecx, 0x80000002 // e8???????? | $sequence_7 = { 488bdf 4889742430 4d8d570c 4c89642428 488d2d1f660100 492bdf 0f1f4000 } // n = 7, score = 100 // 488bdf | movdqa xmmword ptr [ebp + 0x2320], xmm5 // 4889742430 | xor edx, edx // 4d8d570c | inc ecx // 4c89642428 | mov eax, 0xee // 488d2d1f660100 | dec eax // 492bdf | lea ecx, [ebp + 0x2332] // 0f1f4000 | movdqa xmmword ptr [ebp + 0x2420], xmm5 $sequence_8 = { 83e001 894720 488d05fdfdffff 48894728 488d0502feffff } // n = 5, score = 100 // 83e001 | dec eax // 894720 | not ecx // 488d05fdfdffff | dec eax // 48894728 | dec ecx // 488d0502feffff | dec eax $sequence_9 = { 66c785904000006572 c6859240000000 33d2 41b8ed000000 488d8d93400000 e8???????? 660f6f2d???????? } // n = 7, score = 100 // 66c785904000006572 | mov word ptr [ebp + 0x1b34], 0x73 // c6859240000000 | xor edx, edx // 33d2 | movdqa xmmword ptr [ebp + 0x1c20], xmm5 // 41b8ed000000 | inc ecx // 488d8d93400000 | mov eax, 0xec // e8???????? | // 660f6f2d???????? | condition: 7 of them and filesize < 224256 }
rule win_touchmove_w0 { meta: author = "" date = "2023-07-03" version = "1" description = "Detects win.touchmove. Based on the yara-signator's win_touchmove_auto, manually adjusted." hash = "3D988AA9D79EF06BCEE5E4A4FED4EFDC1047A3456969E7DCE3C5B27631D651B9" //SHA-1: 7F4371D557CD4EAB657EF8B62A1E21DB997AA594 hash = "D21C5AD2A254EB6C7B0C656A317997D1C7FA7448927347ACB4687B69E70B8B5A" //SHA-1: 83CF7D8EF1A241001C599B9BCC8940E089B613FB malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.touchmove" malpedia_rule_date = "20230705" malpedia_hash = "" malpedia_version = "20230705" malpedia_license = "CC BY-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $sequence_1 = { 48 89 05 ?? ?? ?? ?? 0f 84 84 00 00 00 48 83 3d ?? ?? ?? ?? 00 74 7a 48 83 3d ?? ?? ?? ?? 00 74 70 } // n = 6, score = 100 // 488905???????? | // 0f8484000000 | dec eax // 48833d????????00 | // 747a | test eax, eax // 48833d????????00 | // 7470 | je 0xa44 $sequence_2 = { 72 a6 42 81 3c 21 50 45 00 00 48 89 74 24 78 4a 8d 34 21 75 12 b8 64 86 00 00 66 39 46 04 } // n = 7, score = 100 // 72a6 | mov word ptr [ebp + 0x4090], 0x7265 // 42813c2150450000 | mov byte ptr [ebp + 0x4092], 0 // 4889742478 | xor edx, edx // 4a8d3421 | movdqa xmmword ptr [ebp + 0x4280], xmm5 // 7512 | mov word ptr [ebp + 0x4290], 0x6e // b864860000 | xor edx, edx // 66394604 | inc ecx /* 0x1800024bd C78570020000DA48A314 mov dword ptr [rbp + 0x270], 0x14a348da 0x1800024c7 C785740200008DBFE2D2 mov dword ptr [rbp + 0x274], 0xd2e2bf8d 0x1800024d1 C78578020000EF911211 mov dword ptr [rbp + 0x278], 0x111291ef 0x1800024db C7857C020000FF7559A3 mov dword ptr [rbp + 0x27c], 0xa35975ff 0x1800024e5 C78580020000E16EA064 mov dword ptr [rbp + 0x280], 0x64a06ee1 0x1800024ef C78584020000B8788977 mov dword ptr [rbp + 0x284], 0x778978b8 0x1800024f9 C78588020000A0379158 mov dword ptr [rbp + 0x288], 0x589137a0 0x180002503 C7858C0200005AFFFF07 mov dword ptr [rbp + 0x28c], 0x7ffff5a */ $sequence_A = { C7 85 ?? ?? ?? ?? DA 48 A3 14 C7 85 ?? ?? ?? ?? 8D BF E2 D2 C7 85 ?? ?? ?? ?? EF 91 12 11 C7 85 ?? ?? ?? ?? FF 75 59 A3 C7 85 ?? ?? ?? ?? E1 6E A0 64 C7 85 ?? ?? ?? ?? B8 78 89 77 C7 85 ?? ?? ?? ?? A0 37 91 58 C7 85 ?? ?? ?? ?? 5A FF FF 07 } //256-bit key /* 0x180001070 8B41FC mov eax, dword ptr [rcx - 4] 0x180001073 4883C104 add rcx, 4 0x180001077 2D4786C861 sub eax, 0x61c88647 0x18000107c 8941FC mov dword ptr [rcx - 4], eax */ $sequence_B = { 8B 41 FC 48 83 C1 04 2D 47 86 C8 61 89 41 FC } //RC6 key schedule /* 0x18000225d 2BC8 sub ecx, eax 0x18000225f B8398EE338 mov eax, 0x38e38e39 0x180002264 83C148 add ecx, 0x48 0x180002267 F7E1 mul ecx 0x180002269 C1EA04 shr edx, 4 */ $sequence_C = { 2B C8 B8 39 8E E3 38 83 C1 48 F7 E1 C1 EA 04 } //CRC-32 $sequence_D = "LLTMapperApi.dll" wide fullword //version info condition: 5 of them and filesize < 224256 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY