[metadata]
creation_date = "2026/09/10"
integration = ["endpoint", "windows", "system", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
maturity = "production"
updated_date = "2026/09/10"
[rule]
author = ["Elastic"]
description = """
Identifies newly observed execution of SoftPerfect Network Scanner or Advanced IP/Port Scanner on a Windows host.
Adversaries commonly use these legitimate scanners during post-compromise discovery to map live hosts, open ports, and
reachable systems, then select targets for lateral movement.
"""
from = "now-9m"
index = [
"logs-crowdstrike.fdr*",
"logs-endpoint.events.process-*",
"logs-m365_defender.event-*",
"logs-sentinel_one_cloud_funnel.*",
"logs-system.security*",
"logs-windows.forwarded*",
"logs-windows.sysmon_operational-*",
"winlogbeat-*",
]
language = "kuery"
license = "Elastic License v2"
name = "Newly Seen Commonly Abused Network Scanner"
setup = """## Setup
This rule is designed for data generated by [Elastic Defend](https://www.elastic.co/security/endpoint-security), which provides native endpoint detection and response, along with event enrichments designed to work with our detection rules.
Setup instructions: https://ela.st/install-elastic-defend
### Additional data sources
This rule also supports the following third-party data sources. For setup instructions, refer to the links below:
- [CrowdStrike](https://ela.st/crowdstrike-integration)
- [Microsoft Defender XDR](https://ela.st/m365-defender)
- [SentinelOne Cloud Funnel](https://ela.st/sentinel-one-cloud-funnel)
- [Sysmon Event ID 1 - Process Creation](https://ela.st/sysmon-event-1-setup)
- [Windows Process Creation Logs](https://ela.st/audit-process-creation)
"""
references = [
"https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-319a",
"https://thedfirreport.com/2025/06/30/hide-your-rdp-password-spray-leads-to-ransomhub-deployment/",
"https://thedfirreport.com/2020/11/23/pysa-mespinoza-ransomware/",
"https://www.microsoft.com/en-us/security/blog/2023/07/06/the-five-day-job-a-blackbyte-ransomware-intrusion-case-study/",
"https://www.cyfirma.com/news/weekly-intelligence-report-26-jan-2024/",
"https://github.com/Securityinbits/defender-hunt-queries/blob/main/discovery-tools.md",
]
risk_score = 47
rule_id = "64037f09-7bf0-4051-ab51-b6daa1d853c6"
severity = "medium"
tags = [
"Domain: Endpoint",
"OS: Windows",
"Platform: Windows",
"Use Case: Threat Detection",
"Tactic: Discovery",
"Rule Type: New Terms",
"Data Source: Elastic Defend",
"Data Source: Windows Security Event Logs",
"Data Source: Microsoft Defender XDR",
"Data Source: Sysmon",
"Data Source: SentinelOne",
"Data Source: Crowdstrike",
]
timestamp_override = "event.ingested"
type = "new_terms"
query = '''
event.category:process and host.os.type:windows and event.type:start and
(
process.name.caseless:(
netscan*.exe or advanced_ip_scanner*.exe or
advanced_ip_scanner_console.exe or advanced_port_scanner.exe
) or
process.pe.original_file_name : (
"advanced_ip_scanner.exe" or
"advanced_port_scanner.exe" or
"advanced_ip_scanner_console.exe"
)
)
'''
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1018"
name = "Remote System Discovery"
reference = "https://attack.mitre.org/techniques/T1018/"
[[rule.threat.technique]]
id = "T1046"
name = "Network Service Discovery"
reference = "https://attack.mitre.org/techniques/T1046/"
[rule.threat.tactic]
id = "TA0007"
name = "Discovery"
reference = "https://attack.mitre.org/tactics/TA0007/"
[rule.new_terms]
field = "new_terms_fields"
value = ["host.id", "process.executable"]
[[rule.new_terms.history_window_start]]
field = "history_window_start"
value = "now-7d"