Windows Network Connections to Uncommon Ports (8080, 8888)
Flags Windows-initiated connections to ports 8080/8888 excluding private/local IPs and Program Files binaries.
- Product
- windows
- Category
- network_connection
- Author
- Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2017-03-19
- Updated
- 2026-07-31
ATT&CK techniques
C2Recon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
Exfiltration
Impact
What it detects
This rule flags Windows processes that initiate network connections to destination ports 8080 or 8888 when the destination is not within common local/private and reserved IP ranges and the process image is not under standard Program Files directories. Uncommon service port communication can indicate command-and-control or persistence attempts, especially when directed to non-local targets. The detection relies on network connection telemetry with fields for whether the connection was initiated, destination IP, destination port, and the process image path.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows Network Connections to Uncommon Ports (8080, 8888)
id: c0585dab-1d7f-422b-9da0-3137a45fd5c4
related:
- id: 4b89abaa-99fe-4232-afdd-8f9aa4d20382
type: similar
- id: 6d8c3d20-a5e1-494f-8412-4571d716cf5c
type: derived
status: test
description: This rule flags Windows processes that initiate network connections to destination ports 8080 or 8888 when the destination is not within common local/private and reserved IP ranges and the process image is not under standard Program Files directories. Uncommon service port communication can indicate command-and-control or persistence attempts, especially when directed to non-local targets. The detection relies on network connection telemetry with fields for whether the connection was initiated, destination IP, destination port, and the process image path.
references:
- https://docs.google.com/spreadsheets/d/17pSTDNpa0sf6pHeRhusvWG6rThciE8CsXTSlDUAZDyo
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/network_connection/net_connection_win_susp_malware_callback_ports_uncommon.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2017-03-19
modified: 2024-03-12
tags:
- attack.persistence
- attack.command-and-control
- attack.t1571
logsource:
category: network_connection
product: windows
detection:
selection:
Initiated: "true"
DestinationPort:
- 8080
- 8888
filter_main_local_ranges:
DestinationIp|cidr:
- 127.0.0.0/8
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- 169.254.0.0/16
- ::1/128
- fe80::/10
- fc00::/7
filter_optional_sys_directories:
Image|startswith:
- C:\Program Files\
- C:\Program Files (x86)\
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
- Unknown
level: medium
license: DRL-1.1