← Back to SOC feed Coverage →

Auto-generated rule on file PortScanner.exe

yara LOW Yara-Rules
backdoorcommunity
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-27T11:00:00Z · Confidence: medium

Hunt Hypothesis

This detection identifies potential reconnaissance activity where adversaries utilize a PortScanner.exe tool to map network topology and identify open services for lateral movement opportunities. Proactively hunting for this behavior in Azure Sentinel is essential because early-stage port scanning often precedes more critical attacks like credential dumping or remote exploitation, allowing the SOC team to mitigate risks before they escalate.

YARA Rule

rule PortScanner {
	meta:
		description = "Auto-generated rule on file PortScanner.exe"
		author = "yarGen Yara Rule Generator by Florian Roth"
		hash = "b381b9212282c0c650cb4b0323436c63"
	strings:
		$s0 = "Scan Ports Every"
		$s3 = "Scan All Possible Ports!"
	condition:
		all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

False Positive Guidance

Here are 5 specific false positive scenarios for the PortScanner.exe detection rule, including suggested filters and exclusions tailored for an enterprise environment:

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