apt_win32_dll_rat_hiZorRAT
Description
apt_win32_dll_rat_hiZorRAT
Query · yara
strings:
// Part of the encoded User-Agent = Mozilla
$s1 = { c7 [5] 40 00 62 00 c7 [5] 77 00 64 00 c7 [5] 61 00 61 00 c7 [5] 6c 00 }
// XOR to decode User-Agent after string stacking 0x10001630
$s2 = { 66 [7] 0d 40 83 ?? ?? 7c ?? }
// XOR with 0x2E - 0x10002EF6
$s3 = { 80 [2] 2e 40 3b ?? 72 ?? }
$s4 = "CmdProcessExited" wide ascii
$s5 = "rootDir" wide ascii
$s6 = "DllRegisterServer" wide ascii
$s7 = "GetNativeSystemInfo" wide ascii
$s8 = "%08x%08x%08x%08x" wide ascii
condition:
(uint16(0) == 0x5A4D or uint32(0) == 0x464c457f) and (all of them)