T1571: Non-Standard Port
Tactics: Command and Control. Platforms: ESXi, Linux, macOS, Windows.
Adversaries may communicate using a protocol and port pairing that are typically not associated.
MITRE's description
Adversaries may communicate using a protocol and port pairing that are typically not associated. For example, HTTPS over port 8088 or port 587 as opposed to the traditional port 443. Adversaries may make changes to the standard port used by a protocol to bypass filtering or muddle analysis/parsing of network data. Adversaries may also make changes to victim systems to abuse non-standard ports.
Telemetry that detects it
- Application Log Content
- Network Connection Creation
- Network Traffic Content
- Network Traffic Flow
- Process Creation
Mitigations
- Network Intrusion Prevention
- Network intrusion detection and prevention systems that use network signatures to identify traffic for specific adversary malware can be used to mitigate activity at the network…
- Network Segmentation
- Properly configure firewalls and proxies to limit outgoing traffic to only necessary ports for that particular network segment.
D3FEND countermeasures
- D3-APCA: Application Protocol Command Analysis (Detect)
- D3-CSPP: Client-server Payload Profiling (Detect)
- D3-NTCD: Network Traffic Community Deviation (Detect)
- D3-NTF: Network Traffic Filtering (Isolate)
- D3-NTSA: Network Traffic Signature Analysis (Detect)
- D3-OTF: Outbound Traffic Filtering (Isolate)
- D3-PHDURA: Per Host Download-Upload Ratio Analysis (Detect)
- D3-PMAD: Protocol Metadata Anomaly Detection (Detect)
- D3-RPA: Relay Pattern Analysis (Detect)
- D3-RTSD: Remote Terminal Session Detection (Detect)
- D3-UGLPA: User Geolocation Logon Pattern Analysis (Detect)
Groups documented using it
Procedure examples
- During the 2025 Poland Wiper Attacks, the adversaries had created a Reverse SOCKS Proxy and communicated over the non-standard port 8008.
- APT-C-36 has used port 4050 for C2 communications.
- An APT32 backdoor can use HTTP over a non-standard TCP port (e.g 14146) which is specified in the backdoor configuration.
- APT33 has used HTTP over TCP ports 808 and 880 for command and control.
66 documented uses in all. These are a sample.
MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.