You are on page 1of 36

Faculty of Computing and Informatics

COMPUTER NETWORK SECURITY


Succeed We Must
Computer Security Research Group

Lecture 3
Introduction – Cont’d

07/12/22 Fred Kaggwa 1


Faculty of Computing and Informatics
Lecture 3-Introduction Cont’d
Succeed We Must

Overview
Computer Security Research Group

The OSI Security Architecture


Security Attacks

Security Services
Reading
Security Mechanisms Assignment
A model for Network Security

Review Questions and Problem

07/12/22 Fred Kaggwa 2


Faculty of Computing and Informatics
The OSI Security Architecture
Succeed We Must

 To effectively assess the security needs of an organization and


to evaluate and choose various security products and policies,
Computer Security Research Group

the computer network security manager needs some


systematic way of defining the requirements for security and
characterizing the approaches to satisfying those
requirements. This is difficult enough in a centralized data
processing environment; with the use of local and wide area
networks; the problems are compounded
 ITU-T recommendation X.800, Security Architecture for OSI
defines such a systematic approach.
 The architecture is useful to managers as a way of organizing
the task of providing security.
 Because the architecture is an International standard, many
computer and communication vendors have been able to
develop security features for their products and services

07/12/22 Fred Kaggwa 3


Faculty of Computing and Informatics
The OSI Security Architecture Cont’d
Succeed We Must

 The OSI security architecture focuses on security attacks,


mechanisms and services.
Computer Security Research Group

 Security attack: Any action that comprises the security of


information owned by an organization.
 Security Mechanism: A process(or a device incorporating
such a process) that is designed to detect, prevent or recover
from a security attack.
 Security Service: A processing or communication service that
enhances the security of the data processing systems and the
information transfers of an organization. Usually the services
are intended to counter security attacks, and they make use of
one or more security mechanisms to provide the service.
 Note: The terms threat and attack are commonly used to mean
more or less the same thing

07/12/22 Fred Kaggwa 4


Faculty of Computing and Informatics
The OSI Security Architecture Cont’d
Succeed We Must

 Threat: A potential for violation security which


Computer Security Research Group

exists when there is a circumstance, capability


action or event that could breach security and
cause harm. That is, a threat is a possible
danger that might exploit a vulnerability.
 Attack: An assault on system security that
derives from an intelligent threat. That is, an
intelligent act that is a deliberate attempt
(especially in the sense of a method or
technique) to evade security services and
violate the security policy of a system.

07/12/22 Fred Kaggwa 5


Faculty of Computing and Informatics
Security Attacks Classifications
Succeed We Must

There are two classifications of security attacks:


Computer Security Research Group

passive attacks and active attacks.


Passive Attacks
A passive attack attempts to learn or make use of

information from the system but does not affect the


system resources.
They are in nature of eavesdropping on or
monitoring of transmissions.
The main goal of the opponent is to obtain

information that is being transmitted.


Two types: Release of message contents and traffic
analysis.
07/12/22 Fred Kaggwa 6
Faculty of Computing and Informatics
Types of Passive Attacks
Succeed We Must

Release of message contents


Computer Security Research Group

A telephone conversation, an
electronic mail message and a
transferred file may contain sensitive
or confidential information. We would
like to prevent the opponent from
learning the contents of these
transmissions.

07/12/22 Fred Kaggwa 7


Faculty of Computing and Informatics
Release of message contents
Succeed We Must
Computer Security Research Group

07/12/22 Fred Kaggwa 8


Faculty of Computing and Informatics
Types Passive Attacks Cont’d
Succeed We Must

Traffic Analysis
Computer Security Research Group

Suppose we had a way of masking the

contents of messages or other information


traffic so that opponents, even if they
captured the message, could not extract the
information from the message.
The common technique for masking contents

is encryption: if we had encryption protection


in place, an opponent still might be able to
observe the pattern of these messages.

07/12/22 Fred Kaggwa 9


Faculty of Computing and Informatics
Traffic Analysis
Succeed We Must
Computer Security Research Group

07/12/22 Fred Kaggwa 10


Faculty of Computing and Informatics
Security Attacks Classifications Cont’d
Succeed We Must

Active Attacks
Computer Security Research Group

An active attack attempts to alter system

resources or affect their operation.


They involve some modification of the

data stream or the creation of a false


stream.
Four Categories: masquerade, replay,
modification of messages and denial of
service.

07/12/22 Fred Kaggwa 11


Faculty of Computing and Informatics
Categories of Active Attacks
Succeed We Must

Masquerade
Computer Security Research Group

Takes place when one entity pretends to be

a different entity. This attack usually includes


one of the other forms of attack. E.g.
authentication sequences can be captured
and replayed after a valid authentication
sequence has taken place, thus enabling an
authorized entity with privileges to obtain
extra privileges by impersonating an entity
that has those privileges.

07/12/22 Fred Kaggwa 12


Faculty of Computing and Informatics
Masquerade
Succeed We Must
Computer Security Research Group

07/12/22 Fred Kaggwa 13


Faculty of Computing and Informatics
Categories of Active Attacks Cont’d
Succeed We Must

Replay
Computer Security Research Group

This involves the passive


capture of a data unit and its
subsequent retransmission to
produce an unauthorized effect.
Note: Under IP security, we

have a whole lecture on this


07/12/22 Fred Kaggwa 14
Faculty of Computing and Informatics
Replay
Succeed We Must
Computer Security Research Group

07/12/22 Fred Kaggwa 15


Faculty of Computing and Informatics
Categories of Active Attacks Cont’d
Succeed We Must

Modification of Messages
Computer Security Research Group

This simply means that there is some

portion of a legitimate message that has


been altered or that messages are delayed
or reordered, to produce an unauthorized
effect. E.g. a message meaning “Allow
Ronald to read confidential file accounts”
is modified to mean “Allow Shamim to
read confidential file accounts”.

07/12/22 Fred Kaggwa 16


Faculty of Computing and Informatics
Modification of Messages
Succeed We Must
Computer Security Research Group

07/12/22 Fred Kaggwa 17


Faculty of Computing and Informatics
Categories of Active Attacks Cont’d
Succeed We Must

Denial of Service
Computer Security Research Group

This prevents or inhibits the normal use or

management of communications facilities.


This attack may have a specific target; E.g.

an entity may suppress all the messages


directed to a particular destination (e.g., the
security audit service). Another form of
service is the disruption of an entire network-
either by disabling the network or by
overloading it with messages so as to degrade
performance.
07/12/22 Fred Kaggwa 18
Faculty of Computing and Informatics
Denial of Service
Succeed We Must
Computer Security Research Group

07/12/22 Fred Kaggwa 19


Faculty of Computing and Informatics
Categories of Active Attacks Cont’d
Succeed We Must

NOTE
Computer Security Research Group

Active attacks present the opposite characteristics of

passive attacks.
Where as passive attacks are difficult to detect,

measures are available to prevent their success.


On the other hand, it is quite difficult to prevent active

attacks absolutely because of the wide variety of


potential physical, software, and network vulnerabilities.
Instead, the goal is to detect active attacks and recover

from any disruption or delays caused by them. If the


detection has a deterrent effect, it may also contribute to
prevention.

07/12/22 Fred Kaggwa 20


Faculty of Computing and Informatics
Security Services
Succeed We Must

ITU-T recommendation X.800


Computer Security Research Group

Defines a security service as a service that is

provided by a protocol layer of communicating open


systems and that ensures adequate security of the
systems or of data transfers.
A clearer definition from RFC 2828, “A processing or

communication service that is provided by a system to


give a specific kind of protection to system resources;
security services implement security policies and are
implemented by security mechanisms”
X.800 Divides the services into five categories and

fourteen specific services.

07/12/22 Fred Kaggwa 21


Faculty of Computing and Informatics
Security Services Categories
Succeed We Must

AUTHENTICATION
Computer Security Research Group

The assurance that the communicating entity is the one that it


claims to be. The two specific authentication services are Peer
Entity & Data-Origin authentication:
1. Peer entity authentication:
 Provides for the corroboration of the identity of a peer entity
in as association. Two entities are considered peers if they
implement the same protocol in different systems (e.g. two
TCP modules in two communicating systems).
 Peer entity authentication is provided for use at the
establishment of or during the data transfer phase of a
connection.
 Used in association with logical connection to provide
confidence in the identity of the entities connected

07/12/22 Fred Kaggwa 22


Faculty of Computing and Informatics
Security Services Categories Cont’d
Succeed We Must

AUTHENTICATION
Computer Security Research Group

2. Data-Origin authentication:
 Provides for the corroboration of the source of a
data unit. It does not provide protection against
the duplication or modification of data units.
 This type of service supports applications like
electronic mail, where there are no prior
interactions between the communicating entities.
 In a connectionless transfer, it provides
assurance that the source of received data is
claimed.

07/12/22 Fred Kaggwa 23


Faculty of Computing and Informatics
Security Services Categories Cont’d
Succeed We Must

ACCESS CONTROL
Computer Security Research Group

In the context of network security, access control is


the ability to limit and control the access to host
systems and applications via communication links.
 To achieve this, each entity trying to gain access
must first be identified or authenticated, so that
access rights can be tailored to the individual.
 The prevention of unauthorized use of a
resource(i.e. this service controls who can have
access to a resource, under what conditions
access can occur, and what those accessing the
resource are allowed to do)

07/12/22 Fred Kaggwa 24


Faculty of Computing and Informatics
Security Services Categories Cont’d
Succeed We Must

DATA CONFIDENTIALITY
Computer Security Research Group

The protection of data from unauthorized disclosure.

Some one else may also define it as, the protection of


transmitted data from passive attacks. There are four specific
data confidentiality services:
1. Connection Confidentiality:
 The protection of all user data on a connection.
2. Connectionless Confidentiality:
 The protection of all user data in a single data block
connection.
Other information please refer to the Reading assignment you
are supposed to take on and make notes

07/12/22 Fred Kaggwa 25


Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
A general model for much of what we will be
discussing in this course is presented in the figure (a
Computer Security Research Group

few slides ahead)


A message is to be transferred from one party to

another across some sort of internet service.


Two parties, who are the principals in this transaction,

must cooperate for the exchange to take place.


A logical information channel is established by

defining a route through the internet from source to


destination and by the cooperative use of
communication protocols (e.g. TCP/IP) by the two
principals.

07/12/22 Fred Kaggwa 26


Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
 Now, security aspects come into play when it is
necessary or desirable to protect the information
Computer Security Research Group

transmission from an opponent who may present a


threat to confidentiality, authenticity and so on. All
the techniques providing security have two
components:
1. A security-related transformation on the information
to be sent. E.g. the encryption of the message,
which scrambles the message so that it is
unreadable by the opponent, and addition of a
code based on the contents of the message, which
can be used to verify the identity of the sender.

07/12/22 Fred Kaggwa 27


Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
2. Some secret information shared by the two
principals and, it is hoped, unknown to the opponent.
Computer Security Research Group

An example is an encryption key used in conjunction


with the transformation to scramble the message
before transmission and unscramble it on reception.
 A trusted third party may be needed to achieve
secure transmission. E.g. TTP may be responsible
for distributing the secret information to the two
principals while keeping it from any opponent. Or a
TTP may be needed to arbitrate disputes between
the two principals concerning the authenticity of a
message transmission.

07/12/22 Fred Kaggwa 28


Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
Computer Security Research Group

07/12/22 Fred Kaggwa 29


Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
This general model shows that there are four basic tasks
in designing a particular security service.
Computer Security Research Group

1.Design an algorithm for performing the security-related


transformation. The algorithm should be such that an
opponent cannot defeat its purpose
2.Generate the secret information to be used with the
algorithm.
3.Develop methods for the distribution and sharing of the
secret information
4.Specify the protocol to be used by the two principals that
makes use of the security algorithm and the secret
information to achieve a particular security service.

07/12/22 Fred Kaggwa 30


Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
NOTE: You will realize that the model provided may not necessarily
cover all the security-related situations (in fact the provided model
Computer Security Research Group

mainly talks about security mechanisms and services.)


We therefore need another general model that reflects a concern

for protecting an information system from unwanted access. E.g.,


hackers who attempt to penetrate systems that can be accessed
over a network.
 The hacker can be someone who, with no malign intent,
simply gets satisfaction from breaking and entering a
computer system.
 The intruder can be a disgruntled employee who wishes
to do damage or a criminal who seeks to exploit
computer assets for financial gain(e.g. obtaining credit
card numbers or performing illegal money transfers).

07/12/22 Fred Kaggwa 31


Faculty of Computing and Informatics
NETWORK ACCESS SECURITY MODEL
Succeed We Must
Computer Security Research Group

07/12/22 Fred Kaggwa 32


Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
Another type of unwanted access is the placement in a
computer system of logic that exploits vulnerabilities in
Computer Security Research Group

the system and that can affect application programs as


well as utility programs, such as editors and compilers.
Programs can present two kinds of threats
Information access threats: Intercept or modify data on

behalf of users who should not have access to that data.


Service threats: Exploit service flaws in computers to

inhibit use by legitimate users.


Viruses and worms are good examples of software attacks.
These can either be introduced in the system by means of a
disk that contains unwanted logic concealed in otherwise
useful software or across a network. The latter is the main
concern in network security.
07/12/22 Fred Kaggwa 33
Faculty of Computing and Informatics
A MODEL FOR COMPUTER NETWORK
Succeed We Must
SECURITY
The Security mechanisms needed to cope with unwanted
access fall into broad categories.
Computer Security Research Group

The first category might be termed as a gatekeeper

function. It includes a password-based login procedures that


are designed to deny access to all but authorized users and
Screening logic that is designed to detect and reject worms,

viruses and other similar attacks.


Once either an unwanted user or unwanted software gains

access, the second line of defense consists of a variety of


internal controls that monitor activity and analyze stored
information in an attempt to detect presence of unwanted
intruders.

07/12/22 Fred Kaggwa 34


Faculty of Computing and Informatics
Review Questions & Problem
Succeed We Must

Review Questions
1.What is the OSI Security Architecture?
Computer Security Research Group

2.What is the difference between passive and active security


threats?
3.List and briefly define the categories of passive and active security
attacks
4.List and briefly define categories of security services

5.List and briefly define categories of security mechanisms.

Problem Reading Assignment


Consider the Automated Teller Machine (ATM) at Centenary Bank

in which users provide a Personal Identification Number (PIN) and a


card for account access. Give an example of confidentiality, integrity
and availability requirements associated with the system. In each
case, indicate the degree of importance of the requirement

07/12/22 Fred Kaggwa 35


Faculty of Computing and Informatics

Succeed We Must
Computer Security Research Group

Any Questions?

07/12/22 Fred Kaggwa 36

You might also like