Learn › Part 2 ยท Network attacks and defence
Security goals, attacks and X.800
CIA and its extensions, passive and active attacks, X.800 services and mechanisms, and the model for network security.
Security objectives
| Objective | Meaning |
|---|---|
| Confidentiality (and privacy) | Information is not disclosed to unauthorised parties; individuals control what is collected about them |
| Integrity (data and system) | Data changes only in specified, authorised ways; systems behave as intended |
| Availability | Resources are usable on demand by authorised entities |
| Authenticity | Users and inputs are who and what they claim to be |
| Accountability | Every action can be traced to one responsible entity, supporting non-repudiation, intrusion detection and forensics |
Passive and active attacks (X.800)
| Passive (observe) | Active (alter or disrupt) |
|---|---|
| Release of message contents | Masquerade: pretending to be another entity |
| Traffic analysis: patterns, sizes, timing, endpoints, even under encryption | Replay: capture and resend a valid unit |
| Modification: alter, delay or reorder messages | |
| Denial of service: suppress or flood |
Passive attacks are almost impossible to detect, so the emphasis is on prevention (encryption, traffic padding). Active attacks are hard to prevent completely, so the emphasis shifts to detection and recovery.
Classifying a scenario
Manager D sends “ADD user G, ADD user H” to server E. If attacker F changes it to “ADD user I”: modification (integrity). If D sends nothing and F forges “ADD G, H, I” as D: fabrication by masquerade (authenticity). If F only copies it: release of contents (confidentiality).
X.800 security services
- Authentication: peer-entity (at connection set-up and during transfer, against masquerade and replay) and data-origin (per data unit, for connectionless use such as e-mail; does not stop duplication or modification).
- Access control: limit access to systems and applications; requires identification first.
- Data confidentiality: whole message, selected fields, or traffic flow.
- Data integrity: stream, single message or selected fields; detects alteration, insertion, deletion and replay.
- Non-repudiation: of origin (receiver can prove who sent) and of delivery (sender can prove receipt).
- Availability: treated alongside the services; supported by redundancy and protection against DoS.
Services and mechanisms
| Service | Mechanisms |
|---|---|
| Peer-entity authentication | Encipherment, digital signature, authentication exchange |
| Data-origin authentication | Encipherment, digital signature |
| Access control | Access-control mechanisms |
| Confidentiality | Encipherment, routing control |
| Traffic-flow confidentiality | Encipherment, traffic padding, routing control |
| Data integrity | Encipherment, digital signature, data-integrity mechanisms |
| Non-repudiation | Digital signature, data-integrity mechanisms, notarisation |
Model for network security
Sender and receiver apply a security-related transformation using secret information, over an untrusted channel, possibly helped by a trusted third party (key distributor or arbiter). Designing a service involves four tasks: design the algorithm, generate the secret information, devise ways to distribute and share it, and specify the protocol the two parties follow.
Common pitfalls
- Shared symmetric keys cannot give non-repudiation: either party could have produced the message.
- Encryption hides content, not traffic patterns.
- A valid login does not authorise every change; misuse by insiders is still an integrity breach.