HKTL_RedMimicry_WinntiLoader
Description
matches the Winnti 'Cooper' loader version used for the RedMimicry breach emulation
Query · yara
strings:
$s0 = "Cooper" ascii fullword
$s1 = "stone64.dll" ascii fullword
/* $s2 = "XML" ascii fullword */
/*
.text:0000000180004450 loc_180004450: ; CODE XREF: sub_1800043F0+80?j
.text:0000000180004450 49 63 D0 movsxd rdx, r8d
.text:0000000180004453 43 8D 0C 01 lea ecx, [r9+r8]
.text:0000000180004457 41 FF C0 inc r8d
.text:000000018000445A 42 32 0C 1A xor cl, [rdx+r11]
.text:000000018000445E 0F B6 C1 movzx eax, cl
.text:0000000180004461 C0 E9 04 shr cl, 4
.text:0000000180004464 C0 E0 04 shl al, 4
.text:0000000180004467 02 C1 add al, cl
.text:0000000180004469 42 88 04 1A mov [rdx+r11], al
.text:000000018000446D 44 3B 03 cmp r8d, [rbx]
.text:0000000180004470 72 DE jb short loc_180004450
*/
$decoding_loop = { 49 63 D0 43 8D 0C 01 41 FF C0 42 32 0C 1A 0F B6 C1 C0 E9 04 C0 E0 04 02 C1 42 88 04 1A 44 3B 03 72 DE }
condition:
all of them