APT_APT34_PS_Malware_Apr19_2
Description
Detects APT34 PowerShell malware
Query · yara
strings:
$x1 = "= \"http://\" + [System.Net.Dns]::GetHostAddresses(\"" ascii
$x2 = "$t = get-wmiobject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID" fullword ascii
$x3 = "| Where { $_ -notmatch '^\\s+$' }" ascii
$s1 = "= new-object System.Net.WebProxy($u, $true);" fullword ascii
$s2 = " -eq \"dom\"){$" ascii
$s3 = " -eq \"srv\"){$" ascii
$s4 = "+\"<>\" | Set-Content" ascii
condition:
1 of ($x*) and 3 of them