CYBER LIBRARY
Explore the bootcamp
Connected systemsIntermediate

Non-Standard Port

Nonstandard-port communication pairs a protocol with an unexpected port.

3 min readUpdated 12 Oct 20263 connections
Markdown

What it means

Nonstandard-port communication pairs a protocol with an unexpected port. It can bypass controls that assume a port number reliably identifies the application protocol.

An investigation example

A suspicious process uses web-like traffic on a port normally reserved for another service.

Evidence to examine

Review actual protocol behavior, process ownership, destination policy, and whether monitoring parsed the traffic correctly.

A common analytical pitfall

Nonstandard ports also support legitimate applications; the mismatch is a clue rather than a verdict.

Response considerations

Validate communication purpose and improve visibility based on real protocol behavior instead of relying solely on default port conventions.

A port convention is not a protocol guarantee

Applications commonly use familiar port numbers, but software can be configured to use others. An intruder may exploit assumptions that a particular port always carries a particular service. The mismatch can be a useful investigative clue, but it does not establish malicious intent by itself. Organizations also run legitimate custom services and alternate administrative ports.

Identify the protocol and application through available fields, process context, service configuration, or other evidence. Do not label traffic solely from the destination port. Encrypted communication may limit content identification, and middleboxes can change the visible endpoint or route. Record which source supports the application attribution.

A fictional unexpected listener

An academy sees a workstation process listening on a port not associated with its normal role. Analysts examine the executable, account, configuration, connections, and approved change records. A development tool could explain the listener, while an unfamiliar binary launched after suspicious activity would support a different concern.

The port's unusual number is a starting point, not the conclusion. Investigate who can reach the listener and what actions it allows. A listener accessible only locally has different exposure from one reachable across an internal network, but local access can still matter in a broader intrusion.

Compare three descriptions

Use fictional records showing a port number, a decoded protocol, and an endpoint process. Write the narrow claim supported by each. Then explain why calling a connection web traffic from the port alone can be wrong. Use prepared captures or a harmless service you own rather than probing unfamiliar hosts.

Defensive rules should reflect intended services and boundaries, not rely exclusively on conventions. A valid exception needs an owner and purpose. At the same time, changing to a less familiar port does not replace authentication, authorization, patching, or monitoring. Treat obscurity as neither proof of safety nor proof of compromise.

GO TO THE SOURCE

References & further reading

Original explanations, with primary references for deeper study.

MITRE ATT&CK T1571: Non-Standard Port
EXPLORE THIS IDEA’S CONNECTIONS

A small part of a bigger picture.

4 notes · 3 connections
100%
Non-Standard Port · depth 1
Drag to pan · Pinch or use +/− to zoom · Click to preview · Double-click to read
Browse notes as a list (4)
FOLLOW ANOTHER THREADExplore the rest of the library
Start with a concept. Follow its connections.
Detection & responseAbuse Elevation Control MechanismElevation-control abuse bypasses or misuses mechanisms governing privileged execution.Making change happenAcceptance criteriaDefine observable conditions for a deliverable to be accepted.Security essentialsAccess controlUnderstand subjects, resources, permissions, and enforcement through a shared-drive example, including how access changes over time.Detection & responseAccess Token ManipulationAccess token manipulation changes or adopts operating-system security contexts.Risk & resilienceAccount Access RemovalAccount access removal disrupts legitimate users by changing, deleting, or restricting their identities.Evidence & investigationAccount DiscoveryAccount discovery enumerates identities available in a system or environment.Detection & responseAccount ManipulationAccount manipulation changes identity settings to preserve or expand access.Adversarial thinkingAcquire InfrastructureInfrastructure acquisition obtains domains, servers, or other resources used to support operations.Adversarial thinkingActive ScanningActive scanning probes target infrastructure to learn reachable services or weaknesses.Security essentialsAdversary in the middleAn intermediary may observe or alter a communication path.Security essentialsAESA symmetric block cipher whose safe use depends on its mode and implementation.Making change happenAgile deliveryUse short feedback cycles to adapt toward a useful outcome.