Docsity

Cybersecurity: Understanding Denial of Service Attacks and Prevention Techniques, Lecture notes of Computer Science

Partial preview of the text

Download Cybersecurity: Understanding Denial of Service Attacks and Prevention Techniques and more Lecture notes Computer Science in PDF only on Docsity!

Chapter Four

Network & Internet Security

Outline

Overview of Network Security

Protocol Vulnerabilities

Firewall

Intrusion Detection/Prevention Systems

Web Security

Email Security

Passive Attacks

Listen to the network and make use of the

information without altering

Wiretapping attack

Traffic analysis

Packet Sniffing

Most networks use a broadcast medium and it is

easy to access other machines packets

Utilities such as etherfind and tcpdump

Network management utilities such as SnifferPro

Defense

Using smart devices

Using cryptography

Active Attacks

Threatens the integrity and availability of data

being transmitted

The attacker can modify, extend, delete or play any

data

Denial of service or degrading of service attack

Prevention of authorized access to resources

E-mail bombing: flooding someone's mail store

Smurf attack: Sending a “ping” multicast or broadcast with

a spoofed IP of a victim.

DNS/IP/ ARP Spoofing: pretend

Session Hijacking /TCP hijacking: hacking of sessions

SYN flooding: too many TCPSYN request packets but never

acknowledged

Protocol Vulnerabilities

Attacks are carried out at different layers
IP Attacks
ICMP Attacks
Routing Attacks
TCP Attacks
Application Layer Attacks
  • TCP/IP was designed for connectivity
Assumed to have lots of trust
  • Host implementation vulnerabilities
Software “had/have/will have” bugs
Some elements in the specification were left to the
implementers

Protocol Vulnerabilities

  • Network packets pass by untrusted hosts

Eavesdropping, packet sniffing

  • IP addresses are public

Smurf

  • TCP connection requires state

SYN flooding attack

  • TCP state easy to guess

TCP spoofing attack

Protocol Vulnerabilities/Network Layer

The IP addresses are filled in by the originating host

IP spoofing

IP packets can be intercepted: read, modify

In the LAN broadcast

In the router, switch

traffic analysis attack is most common attack

Information exchanged between routers to maintain

their routing tables is not authenticated

IP fragmentation attack

End hosts need to keep the fragments till all the

fragments arrive

Protocol Vulnerabilities/Network Layer

  • ICMP: No authentication

ICMP redirect message

Can cause the host to switch gateways

Man in the middle attack, sniffing

ICMP destination unreachable: DoS

ICMP echo request/reply: ping flooding

  • Routing - Distance Vector Routing

Announce 0 distance to all other nodes

  • Blackhole traffic
  • Eavesdrop

Link State Routing: Can drop links randomly

Can claim direct link to any other routers

Protocol Vulnerabilities/ Application

  • HTTP

Viruses, Worms

SQL Injection

Cross Site Scripting (XSS)

  • SMTP

SMTP Worm

Email spoofing

Email bomb

  • DNS

DNS spoofing/ poisoning

DNS zone transfer

Denial of Service/ DoS

  • make a service unusable, usually by

overloading the server or network

  • Consume host resources -

TCP SYN floods

ICMP ECHO (ping) floods

  • Consume bandwidth -

UDP floods

ICMP floods

Coordinated DoS

Attacker

Victim Victim Victim

Attacker Attacker

The first attacker attacks a different victim to cover up the

real attack

The Attackers use spoofed source address to hide origin

Harder to deal with

Distributed DoS

Attacker

Handler Handler

Agent Agent Agent Agent Agent

Victim

The handlers are usually very high volume servers

  • Easy to hide the attack packets

The agents are usually home users

  • Already infected and the agent installed

Very difficult to track down the attacker

Firewall

A firewall is a system or group of systems that controls the flow of

traffic between two networks.

is a means of protection to a local system from network-based

security threats while affording access to the outside world via

WANs or the Internet

A firewall defines a single choke point that attempts to

keep unauthorized users out of the protected network,

prohibit potentially vulnerable services from entering or leaving

the network,

provide protection from various kinds of IP spoofing and routing

attacks

The most common use of a firewall is to protect a private network

from a public network such as the Internet.

Firewall

  • A firewall is a device that has more than one

network interface and manages the flow of

network traffic between those interfaces

  • Characteristics/ Goals - All traffic from inside to outside, and vice versa,

must pass through the firewall

Only authorized traffic, as defined by the local

security policy, will be allowed to pass

  • The firewall itself is immune to penetration - A firewall is a crucial component in the security

perimeter. Thus it shouldn’t run programs such as web

servers since these present a point of attack