This detection identifies the presence of the IISPutScanner.exe tool, a known artifact associated with Chinese threat actors conducting reconnaissance and vulnerability scanning on web servers. Proactively hunting for this file in Azure Sentinel is critical to uncover early-stage adversary footprinting activities that may precede more aggressive exploitation attempts within the organization’s IIS infrastructure.
rule IISPutScanner {
meta:
description = "Chinese Hacktool Set - file IISPutScanner.exe"
author = "Florian Roth"
reference = "http://tools.zjqhr.com/"
date = "2015-06-13"
hash = "9869c70d6a9ec2312c749aa17d4da362fa6e2592"
strings:
$s2 = "KERNEL32.DLL" fullword ascii
$s3 = "ADVAPI32.DLL" fullword ascii
$s4 = "VERSION.DLL" fullword ascii
$s5 = "WSOCK32.DLL" fullword ascii
$s6 = "COMCTL32.DLL" fullword ascii
$s7 = "GDI32.DLL" fullword ascii
$s8 = "SHELL32.DLL" fullword ascii
$s9 = "USER32.DLL" fullword ascii
$s10 = "OLEAUT32.DLL" fullword ascii
$s11 = "LoadLibraryA" fullword ascii
$s12 = "GetProcAddress" fullword ascii
$s13 = "VirtualProtect" fullword ascii
$s14 = "VirtualAlloc" fullword ascii
$s15 = "VirtualFree" fullword ascii
$s16 = "ExitProcess" fullword ascii
$s17 = "RegCloseKey" fullword ascii
$s18 = "GetFileVersionInfoA" fullword ascii
$s19 = "ImageList_Add" fullword ascii
$s20 = "BitBlt" fullword ascii
$s21 = "ShellExecuteA" fullword ascii
$s22 = "ActivateKeyboardLayout" fullword ascii
$s23 = "BBABORT" fullword wide
$s25 = "BBCANCEL" fullword wide
$s26 = "BBCLOSE" fullword wide
$s27 = "BBHELP" fullword wide
$s28 = "BBIGNORE" fullword wide
$s29 = "PREVIEWGLYPH" fullword wide
$s30 = "DLGTEMPLATE" fullword wide
$s31 = "TABOUTBOX" fullword wide
$s32 = "TFORM1" fullword wide
$s33 = "MAINICON" fullword wide
condition:
uint16(0) == 0x5a4d and filesize < 500KB and filesize > 350KB and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 31 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the Chinese Hacktool Set - file IISPutScanner.exe detection rule in an enterprise environment:
Automated Web Server Patching via Microsoft Endpoint Configuration Manager (MECM/SCCM)
IISPutScanner.exe as part of a vendor-supplied patch package before installation begins.ccmexec.exe (SCCM Agent) or TSMClient.exe (Task Scheduler Client) and the file path resides within the standard software distribution directory (e.g., C:\Windows\CCMCache\).Third-Party Vulnerability Scanning by Qualys or Tenable
IISPutScanner.exe into a temporary working directory (e.g., %TEMP%) to execute a local check against the web server binaries.C:\Windows\Temp, C:\ProgramData\<Vendor>\Temp) where the parent process is identified as qualysPCAgent.exe or tenable_agent.exe.Custom PowerShell Remediation Script Execution
IIS_Maintenance.ps1) to audit and clean up unused IIS modules. The script explicitly downloads the official IISPutScanner.exe from an internal artifact repository (e.g., Artifactory or Nexus) to