APT_UA_Hermetic_Wiper_Artefacts_Feb22_1
Description
Detects artefacts found in Hermetic Wiper malware related intrusions
Query · yara
strings:
$sx1 = "/c powershell -c \"rundll32 C:\\windows\\system32\\comsvcs.dll MiniDump" ascii wide
$sx2 = "appdata\\local\\microsoft\\windows\\winupd.log" ascii wide
$sx3 = "AppData\\Local\\Microsoft\\Windows\\Winupd.log" ascii wide
$sx4 = "CSIDL_SYSTEM_DRIVE\\temp\\sys.tmp1" ascii wide
$sx5 = "\\policydefinitions\\postgresql.exe" ascii wide
$sx6 = "powershell -v 2 -exec bypass -File text.ps1" ascii wide
$sx7 = "powershell -exec bypass gp.ps1" ascii wide
$sx8 = "powershell -exec bypass -File link.ps1" ascii wide
/* 16 is the prefix of an epoch timestamp that shouldn't change until the 14th of November 2023 */
$sx9 = " 1> \\\\127.0.0.1\\ADMIN$\\__16" ascii wide
$sa1 = "(New-Object System.Net.WebClient).DownloadFile(" ascii wide
$sa2 = "CSIDL_SYSTEM_DRIVE\\temp\\" ascii wide
$sa3 = "1> \\\\127.0.0.1\\ADMIN$" ascii wide
$fp1 = "<html" ascii
condition:
1 of ($sx*) or all of ($sa*)
and not 1 of ($fp*)