Key points
- Networks are layered, and each layer has its own weaknesses.
- Common attacks include eavesdropping, spoofing, scanning and denial of service.
- Segmentation and least exposure shrink what an attacker can reach.
- Encryption in transit protects data on links you do not control.
Network security protects the paths along which data travels between devices, and the devices attached to those paths. Because almost every system is networked, a weakness in the network often becomes a weakness everywhere.
How networks work
Networks are built in layers. A physical or wireless link moves bits between neighbours. Above it, addressing and routing decide how packets find their way across many links. Above that, transport protocols manage delivery, and application protocols carry the actual requests, such as loading a page or sending a message. Each layer trusts the one below it to behave, which is where many problems begin.
Two services deserve special mention. Routing tells devices where to send traffic, and the name system translates names that people remember into addresses that machines use. Both were designed when networks were small and cooperative, so both can be misled if their answers are not verified.
Common attacks
- Eavesdropping means reading traffic as it passes, which is easy on shared or untrusted links when data is not encrypted.
- Spoofing means pretending to be another device, address or name, so that traffic is sent to the wrong place or accepted from the wrong source.
- Scanning means probing addresses and services to learn what is exposed, usually as a first step before something more targeted.
- Denial of service means overwhelming a service or link so legitimate users cannot reach it, an attack on availability rather than secrecy.
The stages that often follow are described in how attacks happen.
Defences
Segmentation divides a network into zones so that a problem in one area cannot easily spread to another. Sensitive systems sit in their own zone with tightly controlled paths in and out.
Firewalls enforce those paths. A good rule set starts from denying everything and permits only the traffic a system genuinely needs. Rules should be reviewed, because old exceptions accumulate.
Least exposure means every service reachable from outside must justify itself. Closing unused ports and removing forgotten services reduces what scanning can find.
Encryption in transit protects data on links the owner does not control. Protocols that wrap traffic in encryption defeat casual eavesdropping and make tampering detectable. See cryptography for how this works at a general level.
Monitoring watches traffic and device logs for unusual patterns, such as a device suddenly contacting many others or a spike in failed connections. Monitoring does not prevent an attack, but it shortens the time before someone notices, which feeds directly into incident response.
Putting it together
No single control is enough. A well-run network combines zones, restrictive rules, encrypted links and watchful logging, and pairs them with strong sign-in described under identity and access. Hosted environments change where the boundaries sit, a topic covered in cloud and infrastructure. Terms such as payload appear in the glossary.