SUSP_IIS_Config_VirtualDir
Description
Detects suspicious virtual directory configured in IIS pointing to a User folder
Query · yara
strings:
$a1 = "<site name=" ascii /* marker used to select IIS configs */
$a2 = "<sectionGroup name=\"system.webServer\">" ascii
$s2 = " physicalPath=\"C:\\Users\\" ascii
$fp1 = "Microsoft.Web.Administration" wide
$fp2 = "<virtualDirectory path=\"/\" physicalPath=\"C:\\Users\\admin\\"
condition:
filesize < 500KB and all of ($a*) and 1 of ($s*)
and not 1 of ($fp*)