ME_Campaign_Malware_3
Description
Detects malware from Middle Eastern campaign reported by Talos
Query · yara
strings:
$x1 = "objWShell.Run \"powershell.exe -ExecutionPolicy Bypass -File \"\"%appdata%\"\"\\sys.ps1\", 0 " fullword ascii
$x2 = "objFile.WriteLine \"New-Item -Path \"\"$ENV:APPDATA\\Microsoft\\Templates\"\" -ItemType Directory -Force }\" " fullword ascii
$x3 = "objFile.WriteLine \"$path = \"\"$ENV:APPDATA\\Microsoft\\Templates\\Report.doc\"\"\" " fullword ascii
$s4 = "File=appData & \"\\sys.ps1\"" fullword ascii
condition:
uint16(0) == 0x6553 and filesize < 400KB and 1 of them