APT_IIS_Config_ProxyShell_Artifacts
Description
Detects virtual directory configured in IIS pointing to a ProgramData folder (as found in attacks against Exchange servers in August 2021)
Query · yara
strings:
$a1 = "<site name=" ascii /* marker used to select IIS configs */
$a2 = "<sectionGroup name=\"system.webServer\">" ascii
$sa1 = " physicalPath=\"C:\\ProgramData\\COM" ascii
$sa2 = " physicalPath=\"C:\\ProgramData\\WHO" ascii
$sa3 = " physicalPath=\"C:\\ProgramData\\ZING" ascii
$sa4 = " physicalPath=\"C:\\ProgramData\\ZOO" ascii
$sa5 = " physicalPath=\"C:\\ProgramData\\XYZ" ascii
$sa6 = " physicalPath=\"C:\\ProgramData\\AUX" ascii
$sa7 = " physicalPath=\"C:\\ProgramData\\CON\\" ascii
$sb1 = " physicalPath=\"C:\\Users\\All Users\\" ascii
condition:
filesize < 500KB and all of ($a*) and 1 of ($s*)