← Back to SOC feed Coverage →

Auto-generated rule on file portscan.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-27T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection identifies potential reconnaissance activity where adversaries execute portscan.exe to map network topology and identify open ports for lateral movement or data exfiltration. Proactive hunting in Azure Sentinel is essential to distinguish legitimate scanning from malicious behavior that often precedes more critical attack phases, ensuring early visibility into initial access attempts.

YARA Rule

rule portscan {
	meta:
		description = "Auto-generated rule on file portscan.exe"
		author = "yarGen Yara Rule Generator by Florian Roth"
		hash = "a8bfdb2a925e89a281956b1e3bb32348"
	strings:
		$s5 = "0    :SCAN BEGUN ON PORT:"
		$s6 = "0    :PORTSCAN READY."
	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 4 specific false positive scenarios for the portscan.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