OilRig_ISMAgent_Campaign_Samples1
Description
Detects OilRig malware from Unit 42 report in October 2017
Query · yara
strings:
$s1 = "###$$$TVqQAAMAAAAEAAAA" ascii
$s2 = "C:\\Users\\J-Win-7-32-Vm\\Desktop\\error.jpg" fullword wide
$s3 = "$DATA = [System.Convert]::FromBase64String([IO.File]::ReadAllText('%Base%'));[io.file]::WriteAllBytes(" ascii
$s4 = " /c echo powershell > " fullword wide ascii
$s5 = "\\Libraries\\servicereset.exe" wide
$s6 = "%DestFolder%" fullword wide ascii
condition:
uint16(0) == 0xcfd0 and filesize < 3000KB and 2 of them