Detection of Newly Observed IPSEC NAT Traversal Peers
Detection of potentially unauthorized IPSEC NAT Traversal (NAT-T) tunnels indicates potential command and control (C2) or exfiltration activity masked by encrypted traffic.
Adversaries frequently utilize VPN technologies to bypass network security controls by encapsulating malicious traffic within encrypted tunnels. IPSEC NAT Traversal (NAT-T) facilitates these tunnels through NAT devices by floating traffic to UDP port 4500. This detection identifies newly observed outbound NAT-T connections to external destination IPs, highlighting traffic that has not been seen in the previous 5 days. While this behavior is common for legitimate site-to-site VPNs or remote access gateways, the sudden emergence of unknown NAT-T peers can signal the deployment of unauthorized C2 infrastructure or the exfiltration of sensitive data. Defenders must correlate these alerts with known infrastructure to distinguish between legitimate network transitions and potential adversary activity.
Impact
Successful exploitation of tunnel protocols for C2 can allow attackers to establish long-term persistence and exfiltrate data while evading standard network-based signature inspection. If the traffic is malicious, it represents a breach of network perimeter policy and potentially unauthorized data movement.
Recommendation
Prioritize the investigation of alerts by validating traffic against known business requirements for site-to-site VPNs.
- Enable the monitoring of UDP port 4500 across perimeter firewalls and flow logs to populate the data sources required for the detection rule.
- Audit authorized VPN infrastructure and explicitly exclude these known destination IPs from the detection logic to reduce noise.
- Investigate any hosts generating traffic to new external NAT-T peers by correlating the source IP with endpoint process creation logs to identify the origin process.
- Block egress traffic on UDP 4500 to known high-risk or unauthorized external IP addresses identified via threat intelligence feeds.
Immediate actions
Deploy the provided detection rule and baseline existing VPN infrastructure.
Threat Hunt
Historical analysis of UDP 4500 traffic patterns to identify undocumented VPN tunnels.
Data: Network flow logs
Detection coverage 1
Detect Newly Observed Outbound IPSEC NAT Traversal Peer
lowDetects outbound UDP traffic on port 4500 to an external destination IP not observed in the previous 5 days, which may indicate unauthorized VPN tunneling.
Detection queries are available on the platform. Get full rules →