← Back to SOC feed Coverage →

Chinese Hacktool Set - file portscanner.exe

yara LOW Yara-Rules
community
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-07-17T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection identifies the presence of portscanner.exe, a known reconnaissance tool within the Chinese Hacktool set, which adversaries deploy to map network topology and identify active services during early intrusion phases. Proactively hunting for this artifact in Azure Sentinel is critical because its low-severity classification often leads to alert fatigue, allowing attackers to establish persistent footholds before triggering higher-priority incident responses.

YARA Rule

rule portscanner {
	meta:
		description = "Chinese Hacktool Set - file portscanner.exe"
		author = "Florian Roth"
		reference = "http://tools.zjqhr.com/"
		date = "2015-06-13"
		hash = "1de367d503fdaaeee30e8ad7c100dd1e320858a4"
	strings:
		$s0 = "PortListfNo" fullword ascii
		$s1 = ".533.net" fullword ascii
		$s2 = "CRTDLL.DLL" fullword ascii
		$s3 = "exitfc" fullword ascii
	condition:
		uint16(0) == 0x5a4d and filesize < 25KB and all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the Chinese Hacktool Set - file portscanner.exe detection rule in an enterprise environment:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/TOOLKIT_Chinese_Hacktools.yar