Professional Documents
Culture Documents
Unit 1
Unit 1
INTRODUCTION
• Computer data often travels from one computer to another, leaving the safety of its protected
physical surroundings. Once the data is out of hand, people with bad intention could modify or
forge your data, either for amusement or for their own benefit.
• Cryptography can reformat and transform our data, making it safer on its trip between computers.
Course : 18AIC307T & Cryptography and Network Security The technology is based on the essentials of secret codes, augmented by modern mathematics that
Study of design of
Faculty : Ms. NITHYASRI A, techniques
Assistant Professor
Study of techniques for ensuring
Department of Artificial Intelligence secrecy and authentication of
MKCE Information.
Deals with the concept of
defeating Cryptography
1 2
Computer Security - generic name for the collection of tools designed to protect OSI SECURITY ARCHITECTURE
data and to thwart hackers To assess the security needs of an organization effectively, the manager responsible for security needs
some systematic way of defining the requirements for security and characterization of approaches to satisfy
Network Security - measures to protect data during their transmission across the
those requirements. One approach is to consider three aspects of information security:
network
1. Security attack – Any action that compromises the security of information owned by an organization.
Internet Security - measures to protect data during their transmission over a 2. Security mechanism – A mechanism that is designed to detect, prevent or recover from a security attack.
collection of interconnected networks 3. Security service – A service that enhances the security of the data processing systems and the information
Information Security – needs to be against physical and administrative damage transfers of an organization. The services are intended to counter security attacks and they make use of
one or more security mechanisms to provide the service.
• Threat – A Potential for violation of security, which exists when there is a circumstance, capability, action
or event that could breach security.
• Attack – An Intelligent act that is deliberate to evade security and violate the security policy of a system.
3 4
Passive Attacks
Passive attacks are in the nature of eavesdropping on, or monitoring of, transmissions. The goal of the opponent
is to obtain information that is being transmitted. Passive attacks are of two types
Release of message contents: A telephone conversation, an e-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.
Traffic analysis: If we had encryption protection in place, an opponent might still be able to observe the pattern
of the message. The opponent could determine the location and identity of communication hosts and could
observe the frequency and length of messages being exchanged. This information might be useful in guessing
the nature of communication that was taking place.
Passive attacks are very difficult to detect because they do not involve any alteration of data. However, it
is feasible to prevent the success of these attacks.
5 6
1
12/29/23
SECURITY SERVICES
Active attacks
The classification of security services provided by X.800 are as follows:
These attacks involve some modification of the data stream or the creation of a false stream. These attacks can be
Confidentiality: Ensures that the information in a computer system a n d transmitted information are
classified in to four categories:
accessible only for reading by authorized parties.
Masquerade – One entity pretends to be a different entity.
E.g. Printing, displaying and other forms of disclosure.
Replay – involves passive capture of a data unit and its subsequent transmission to produce an unauthorized effect.
Modification of messages – Some portion of message is altered or the messages are delayed or recorded, to Authentication: Ensures that the origin of a message or electronic document is correctly identified, with an
Denial of service – Prevents or inhibits the normal use or management of communication facilities. Another form Integrity: Ensures that only authorized parties are able to modify computer system assets and transmitted
of service denial is the disruption of an entire network, either by disabling the network or overloading it with information. Modification includes writing, changing status, deleting, creating and delaying or replaying of
all communication facilities and paths at all times. Instead, the goal is to detect them and to recover from any transmission.
disruption or delays caused by them. Access control: Requires that access to information resources may be controlled by or the target system.
Availability: Requires that computer system assets be available to authorized parties when needed.
7 8
SECURITY MECHANISMS
One of the most specific security mechanisms in use is cryptographic techniques. Encryption or
encryption-like transformations of information are the most common means of providing security.
Some of the mechanisms are
1. Encipherment
2. Digital Signature
3. Access Control
4. Data Integrity
5. Traffic Padding
6. Notorization
9 10
11 12
2
12/29/23
13 14
15 16
17 18
3
12/29/23
19 20
21 22
23 24
4
12/29/23
25 26
TRANSPOSITION TECHNIQUES
• Different kind of mapping is achieved by performing some
sort of permutation on the plaintext letters
27 28
29 30
5
12/29/23
31 32
33 34
To hijack the session in the TCP network the hijacker should employ following
techniques:
• Client sends a synchronization (SYN) packet to the server with initial sequence
number X. IP Spoofing:
It is “a technique used to gain unauthorized access to computers, whereby the
intruder sends messages to a computer with an IP address indicating that the message is
• Server responds by sending a SYN/ACK packet that contains the server's own
coming from a trusted host.”
sequence number p and an ACK number for the client's original SYN packet. This
ACK number indicates the next sequence number the server expects from the
client Once the hijacker has successfully spoofed an IP address, it determines the next
sequence number that the server expects and uses it to inject the forged packet into the
TCP session before the client can respond.
• Client acknowledges receipt of the SYN/ACK packet by sending back to the server
an ACK packet with the next sequence number it expects from the server, which in Blind Hijacking:
this case is P+1. If source routing is disabled, the session hijacker can also employ blind hijacking
where he injects his malicious data into intercepted communications in the TCP session.
It is called “blind” because the hijacker can send the data or commands, but
cannot see the response. The hijacker is basically guessing the responses of the client
and server.
35 36
6
12/29/23
• UDP doesn’t use sequence numbers like TCP. It is mainly used for
broadcasting messages across the network or for doing DNS queries
37 38
39 40
Route Table Modification: ARP is designed to be a dynamic protocol, so as new machines are added to a network or
existing machines get new MAC addresses for whatever reason, the rest update
An attacker - to block packets by modifying routing tables, so that packets flow through automatically in a relatively short period of time. There is absolutely no authentication in
a system he has control of (Layer 3 redirection), this protocol.
by changing bridge tables by playing games with spanning-tree frames (Layer 2
redirection), or Address Resolution Protocol (ARP) spoofing, also known as ARP poisoning or ARP
by rerouting physical cables so that the frames must flow through the attacker’s Poison Routing (APR), is a technique used to attack an Ethernet wired or wireless
system (Layer 1 redirection). network.
Most of the time, an attacker will try to change route tables remotely.
ARP Spoofing allows an attacker to sniff data frames on a local area network (LAN),
ARP Attacks : modify the traffic, or stop the traffic altogether.
To modify the ARP tables on the victim machine(s). An ARP
table controls the Media Access Control (MAC)-address-to-IP-
address mapping on each machine.
41 42