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

ObjectiveMeaning
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
AvailabilityResources are usable on demand by authorised entities
AuthenticityUsers and inputs are who and what they claim to be
AccountabilityEvery 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 contentsMasquerade: pretending to be another entity
Traffic analysis: patterns, sizes, timing, endpoints, even under encryptionReplay: 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

ServiceMechanisms
Peer-entity authenticationEncipherment, digital signature, authentication exchange
Data-origin authenticationEncipherment, digital signature
Access controlAccess-control mechanisms
ConfidentialityEncipherment, routing control
Traffic-flow confidentialityEncipherment, traffic padding, routing control
Data integrityEncipherment, digital signature, data-integrity mechanisms
Non-repudiationDigital 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.