A charity's only firewall sits between its office network and the internet. Its web server, database server and staff laptops are all on the office network.
Traffic directions and physically separate networks
Traffic either crosses a network's outer edge or moves between systems inside it, and a control placed on one path never sees the other. Some networks go further and are kept physically apart, with separate cables for management, no connection at all, or a link that works in one direction only. No background is assumed beyond how a packet crosses a network. Security staff use these ideas to decide where a control must sit and how much separation a system needs.
By the end of this unit you will be able to:
- Tell apart north-south and east-west traffic, and explain lateral movement
- Choose where a control must sit to see a given flow
- Tell apart in-band and out-of-band management, and explain console servers and jump hosts
- Explain what an air gap is and the paths that still cross it
- Explain how a data diode differs from a firewall that allows traffic one way
Three weeks inside, and the firewall saw nothing
An illustrative example
A printing firm's receptionist opens an email attachment that gives an intruder control of her computer. The firm's firewall, a device that passes or blocks traffic by rules, sits at its internet connection and is well configured and closely watched.
Over the next three weeks the intruder moves from the reception computer to the file server, then to the accounts server, copying passwords as they go. When the theft is finally found, the firewall's records show nothing unusual for the whole period. Only the last step, sending the stolen files out, crossed it.
Why did a well-run firewall see none of the intruder's moves between the firm's own computers?
North-south and east-west: across the edge or within it
Network diagrams usually put the internet at the top and the organisation's systems in a row below it. Traffic is named by its direction on such a drawing.
- North-south traffic
- Crosses the boundary between the organisation and the outside: a customer reaching the website, or a member of staff reaching the internet. Traffic coming in is ingress; traffic going out is egress.
- East-west traffic
- Moves between systems inside the boundary: a web server asking a database for a record, or a laptop opening a file server.
Most traffic in a modern data centre is , because applications are built from many parts that talk to each other. NIST's guidance on enterprise networks puts it at over three quarters of the total.
Lateral movement is an attacker's progress from the first system they control to others inside the same network. It is east-west by definition. An intruder who arrived through one north-south door then travels east-west, where controls at the edge are blind.
The printing firm
The email arrived north-south and passed the checks. Every later step, from reception to file server to accounts, was east-west and never reached the . Only the final theft went north-south again, as egress.
A control sees only the traffic that passes through it
A control can judge only traffic that passes through it. Placing a control is therefore a question of which path it sits on.
The edge firewall sees only north-south traffic
Read this figure as text
A control can judge only traffic that passes through it. North-south traffic crosses the boundary between the organisation and the internet; east-west traffic moves between systems inside it, and never reaches the edge.
- North-south: a customer's request comes in from the internet and passes the edge firewall, which sees it.
- The edge firewall passes the request down to the web server. The edge firewall sees north-south traffic only.
- East-west: an intruder who controls the staff laptop in the user zone moves laterally towards the server zone. The internal firewall between the zones is on that path and can see and block it; the edge firewall never sees it.
- Movement the internal firewall allows reaches the database.
- East-west inside one zone: the web server queries the database. No firewall between zones stands on that path; only a host firewall or micro-segmentation on the servers can see it.
- Stolen data must eventually leave north-south, as egress through the edge, which is why egress filtering at the edge still matters.
| Control | Where it sits | Flow it sees |
|---|---|---|
| Edge firewall | Between the organisation and the internet | North-south only |
| Outbound proxy (a server that fetches web pages for staff) and egress filtering | On the path out to the internet | North-south, outgoing |
| Internal firewall | Between zones, such as users and servers | East-west between zones |
| Host firewall, or micro-segmentation (rules on each server about what it may talk to) | On each server or in its virtual host | East-west, even inside one zone |
| Network intrusion detection (a sensor that watches traffic for attacks) | Wherever a copy of the traffic is taken | Only the links it is given |
Two rules follow. Every crossing between zones needs its own control, because the edge cannot stand in for it. Egress filtering at the edge still matters, because stolen data must eventually leave north-south.
Physical segmentation and the paths used to manage devices
Physical segmentation separates networks with their own cables and their own switches. Nothing can cross between them except through a device placed there on purpose. Logical segmentation divides one set of equipment by configuration instead; it is cheaper and is undone by a configuration mistake.
Every router, switch and firewall must itself be managed. In-band management sends that management traffic over the same network and interfaces as ordinary users' traffic. Out-of-band management uses a separate path that carries nothing but management. Administrators can still reach a device when the production network has failed or been attacked, and users cannot reach the management interfaces at all.
- Console port
- A direct serial connection on a network device for local configuration, which works even when the device has no working network settings.
- Console server
- Also called a terminal server: a device cabled to the console ports of many devices and reachable over the management network, often with a dial-up line as a backup.
- Jump host
- A hardened computer that administrators must connect to first, and from which alone management interfaces can be reached. Also called a jump box or administration proxy.
A jump host narrows the paths to management interfaces, but it is a single point of failure and a prize for attackers. It does not make a compromised administrator's computer safe.
Air gaps and data diodes: no link, or a one-way link
An air gap is the strongest physical separation: two systems with no physical connection at all, so that data passes between them only by hand, under a person's control. It is used for systems whose compromise would be most serious, such as some industrial controls.
An narrows the routes in; it does not remove them. Data still has to reach the system for updates and maintenance, by or visiting laptops, and each of those is a path for malicious software. NIST's guidance on industrial systems warns that as such systems are connected to business networks, relying on air gaps is not enough.
A data diode, also called a unidirectional gateway, is a device whose hardware lets data pass in one direction and is physically unable to send anything back. Its software copies data across and imitates the servers on the other side, so programs work as though connected normally.
A common use is between an industrial control network and the business network. Readings flow out to the business; nothing can flow in. A firewall told to allow traffic one way differs because its rules can be changed or set wrongly, while a diode's hardware cannot carry a reply whatever its settings.
Four kinds of separation told apart
| Arrangement | What it separates | What still crosses | Weak point |
|---|---|---|---|
| In-band management | Nothing: management shares the users' network | Everything | Users can reach management interfaces |
| Out-of-band management | Management traffic from user traffic | Nothing between them: management uses its own cables | The management network's own access |
| Air gap | Two systems, completely | Only data carried by hand | Removable media and visiting laptops |
| Data diode | Two networks, in one direction | Data in the permitted direction only | Whatever is sent the permitted way, including stolen data |
Common misconception
“An air-gapped system cannot be attacked from outside.”
Every update, file and maintenance laptop that crosses the gap by hand is a path in. An air gap moves the control from cables to the people and media that cross it, which then need strict checks.
A question, worked through
A water company wants head office to receive live readings from its treatment works' control network. The operations director insists that nothing on the business network must ever be able to send anything into the control network. Readings must arrive within a minute.
Which arrangement BEST meets the director's requirement?
Decide on your answer, then open the reasoning
- The requirement has two parts: nothing may ever enter the control network, and readings must arrive within a minute.
- Rule out d: a VPN protects traffic in transit but carries it both ways. It does nothing to stop the business network sending in.
- Rule out c: hourly copies miss the one-minute requirement, and every USB drive carried into the works is itself a path in.
- Between a and b: a one-way firewall rule meets the need while it is correctly set, but rules can be changed, mistaken or bypassed. The word 'ever' asks for something that cannot fail open.
- A data diode's hardware cannot carry anything back, whatever its settings, and it passes readings continuously. The answer is a.
Answer: A. A data diode that passes readings from the control network to head office
Choosing between good answers
- An intruder is already inside and moving between servers
- think east-west and lateral movement. Choose internal firewalls or micro-segmentation, not the edge firewall.
- Device management interfaces can be reached from the users' network
- choose out-of-band management, reached through a jump host, over a stronger password alone.
- Data must flow one way and the return path must be impossible, not merely blocked
- choose a data diode over a firewall rule.
- An answer treats an air gap as complete protection
- look for the control on what crosses it by hand: media checks and controlled maintenance.
Try it
Trace a request from the internet to the database and mark each hop as north-south or east-west, with the control that sees it.
Loading the preview.
Check your understanding
4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 4
What to remember
- North-south traffic crosses the organisation's boundary; east-west traffic moves between systems inside it, and lateral movement is always east-west.
- An edge firewall sees only north-south traffic, so east-west traffic needs internal firewalls or controls on each host.
- In-band management shares the production network; out-of-band management uses a separate path that still works when production fails, often reached through console servers and jump hosts.
- An air gap means no physical connection, with data moved only by hand; removable media and visiting laptops still cross it.
- A data diode's hardware lets data flow one way only, which a firewall rule cannot guarantee.
Say it from memory
What are north-south and east-west traffic, and which kind of control sees each?
North-south traffic crosses the boundary between the organisation and the outside, in as ingress or out as egress; the edge firewall and outbound proxy see it. East-west traffic moves between systems inside; only internal firewalls, host firewalls or micro-segmentation see it. Lateral movement by an intruder is east-west, so an edge firewall misses it.
Tell apart in-band management, out-of-band management and an air gap, and say how a data diode differs from a one-way firewall rule.
In-band management uses the same network as users. Out-of-band management uses a separate path used only for management, which still works when production fails. An air gap means no physical connection at all, with data moved only by hand. A data diode is hardware that physically cannot send data back, while a firewall rule can be changed or set wrongly.
Which two rules follow from the fact that a control sees only the traffic that passes through it?
Every crossing between zones needs its own control, because the edge cannot stand in for it. Egress filtering at the edge still matters, because stolen data must eventually leave north-south.
What is a data diode, and where is it commonly used?
A data diode, also called a unidirectional gateway, is a device whose hardware lets data pass in one direction and is physically unable to send anything back. Its software copies data across and imitates the servers on the other side. A common use is between an industrial control network and the business network, with readings flowing out and nothing flowing in.
What is the weak point of in-band management, out-of-band management, an air gap and a data diode?
In-band management lets users reach management interfaces. Out-of-band management depends on the management network's own access. An air gap is weak through removable media and visiting laptops. A data diode passes whatever is sent the permitted way, including stolen data.
Sources
- NIST SP 800-215: Guide to a Secure Enterprise Network Landscape, NISTPerimeter controls focus on north-south traffic, over 75 per cent of network traffic is now east-west, and a threat already inside can move laterally undetected.
- MITRE ATT&CK: Lateral Movement (TA0008), The MITRE CorporationLateral movement consists of techniques adversaries use to enter and control remote systems on a network.
- Network Management Security Guidance At-a-Glance, Version 9, Release 1, Defense Information Systems Agency (DISA), United States Department of DefenseIn-band management shares the path of production traffic; the out-of-band management network is used only for management traffic on separate paths; console ports give direct serial access; a communications or terminal server reaches console ports and can offer dial-up when the management network is down.
- Secure system administration: Protect your administration interfaces, National Cyber Security Centre (UK)Administration interfaces should be reachable only by legitimate administrators, for example from a dedicated management network; bastion hosts and jump boxes are administration proxies that introduce a single point of failure and do not stop a compromised management device.
- NIST CSRC Glossary: air gap, NISTAn air gap is an interface between two systems that are not connected physically, across which data is transferred only manually under human control.
- NIST SP 800-82 Rev. 3: Guide to Operational Technology Security, NISTAir gaps are not enough as OT systems are connected to IT networks; a unidirectional gateway or data diode permits data in only one direction because its hardware is incapable of the reverse, its software replicates databases and emulates servers, and a common use is letting traffic leave the OT network but not enter.