Post

Insufficient Egress Filtering: How Weak Outbound Controls Enable Attacks

This article examines insufficient egress filtering as a common vulnerability that enables command and control (C2) communication, credential theft, and lateral movement. It outlines a methodical approach to implementing egress controls: profile legitimate outbound connections, establish a default-deny posture, and iteratively authorize specific destination IPs and ports. The article provides practical attack techniques that exploit weak egress filtering, including SSH remote port forwarding for reverse tunnels, ICMP and DNS tunneling for covert communication, and proxychains/proxifier for tool execution through compromised hosts. It also includes testing utilities (letmeoutofyour.net, outbound port scans) to identify open egress paths, making this a valuable reference for both penetration testers and defenders implementing perimeter controls.

Read original article

This post is licensed under CC BY 4.0 by the author.