T1571 Non-Standard Port
Command and Controlon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0227 Detection Strategy for Non-Standard Ports
AN0633 Windows
Processes initiating outbound connections on uncommon ports or using protocols inconsistent with the assigned port. Correlating process creation with subsequent network connections reveals anomalies such as svchost.exe or Office applications using high, atypical ports.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=5156, 5157 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0634 Linux
Unusual daemons or user processes binding/listening on ports outside of standard ranges, or initiating client connections using mismatched protocol/port pairings.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLsocket/connect syscalls | Not mapped to Sentinel yet. |
linux:syslogprocesses binding to non-standard ports or sshd configured on unexpected port | Not mapped to Sentinel yet. |
linux:osqueryprocess listening or connecting on non-standard ports | Not mapped to Sentinel yet. |
AN0635 macOS
Applications making outbound connections on non-standard ports or launchd services bound to ports inconsistent with system baselines.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogoutbound TCP/UDP traffic over unexpected port | Not mapped to Sentinel yet. |
macos:unifiedloglaunchd services binding to non-standard ports | Not mapped to Sentinel yet. |
AN0636 ESXi
VM services or management daemons communicating on ports not defined by VMware defaults, such as vpxa or hostd processes initiating traffic over high-numbered or unexpected ports.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:vpxdESXi service connections on unexpected ports | Not mapped to Sentinel yet. |
esxcli:networklistening sockets bound to non-standard ports | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (18)
- Abnormal Port to Protocol
- Contrast ADR - DLP SQL Injection Correlation
- Fortinet - Beacon pattern detected
- GSA - Detect Abnormal Deny Rate for Source to Destination IP
- GSA - Detect Protocol Changes for Destination Ports
- Palo Alto - potential beaconing detected
- Palo Alto - potential beaconing detected
- Ubiquiti - Connection to known malicious IP or C2
- Ubiquiti - Possible connection to cryptominning pool
- Palo Alto - potential beaconing detected
- Palo Alto - potential beaconing detected
- Port opened for an Azure Resource
- Ubiquiti - Rare internal ports
- Ubiquiti - Top blocked internal services
- Ubiquiti - Top blocked sources
- Ubiquiti - Top firewall rules
- Uncommon Port for Organization
- Uncommon Port to IP
How the Content Hub rules for T1571 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
5 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Potentially Suspicious Malware Callback Communication
- Potentially Suspicious Malware Callback Communication - Linux
- Communication To Uncommon Destination Ports
- Suspicious DNS Z Flag Bit Set
- Testing Usage of Uncommonly Used Port
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.