Egress Filtering
Egress filtering is the practice of monitoring and controlling the network traffic that leaves an organization's network, rather than only what comes in. It is intended to help ensure that only legitimate outbound traffic is allowed and to reduce the risk of unauthorized or malicious data transfers leaving the environment. Its effectiveness depends on how the rules are defined and maintained.
Egress filtering is the filtering of outgoing network traffic, in which outbound flows from an internal network to external destinations are inspected and restricted according to defined policy so that only permitted traffic is allowed to leave. It is typically enforced at network boundaries (for example, firewalls or gateways) and may restrict traffic by destination, port, protocol, or other attributes to help detect and block unauthorized or malicious outbound transfers, such as unexpected data exfiltration or spoofed source addresses. As a detection and control measure, its coverage is limited to what policy explicitly restricts, and it may produce false positives or false negatives depending on rule quality; it does not by itself address inbound (ingress) traffic risks and should be considered one layer among complementary controls. In a payment context, its scope, placement, and validation relative to the cardholder data environment should be confirmed against the current published PCI DSS standard rather than assumed.
Why it matters
Most network defenses focus on keeping malicious traffic out, but attackers who gain a foothold inside an environment still need a way to move stolen data back out. Egress filtering addresses this gap by monitoring and controlling outbound flows, so that traffic leaving the network is restricted to what policy explicitly permits. In a payment context, this is directly relevant to protecting the cardholder data environment: unexpected outbound connections can be a signal of data exfiltration attempts, and controlling them helps reduce the risk that cardholder data or sensitive authentication data is transferred to unauthorized destinations.
Egress filtering can also limit the usefulness of compromised hosts for other malicious activity, such as blocking spoofed source addresses that might otherwise be used to disguise the origin of outbound traffic. Because it operates on what leaves the network rather than what enters, it complements ingress controls rather than replacing them, and it is best understood as one layer among several that should work together.
Its value depends heavily on how the rules are defined and maintained. Overly permissive policies may allow malicious flows to blend in with legitimate traffic (false negatives), while overly restrictive or poorly tuned rules may block legitimate business traffic (false positives). Egress filtering is intended to help detect and reduce unauthorized outbound transfers, not to guarantee that exfiltration cannot occur, and its scope, placement, and validation relative to the cardholder data environment should be confirmed against the current published PCI DSS standard rather than assumed.
Who it's relevant to
Inside Egress Filtering
Common questions
Answers to the questions practitioners most commonly ask about Egress Filtering.