CPSC 253 Lecture 11: Denial of Service Attacks

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There are no tags or description

Looks like no tags are added yet.

17 Terms

1
New cards

Denial of service (DoS)

An action that prevents or impairs the authorized use of networks, systems, or applications by exhausting resources such as central processing units (CPU), memory, bandwidth, and disk space

2
New cards

What resources do overloaded/invalid request services consume?

  • Network bandwidth

  • System resources

  • Application resources


3
New cards

What percent of respondents to the FBI Computer Crime and Security Survey experienced some form of DoS attack in 2022?

35%

4
New cards

Flooding ping command

  • Classic DoS attack

  • Continuously ping the target and fill up the network handler with meaningless ping commands

  • Aim of this attack is to overwhelm the capacity of the network connection to the target organization

  • Traffic can be handled by higher capacity links on the path, but packets are discarded as capacity decreases

  • Source of the attack is clearly identified unless a spoofed address is used

  • Network performance is noticeably affected


5
New cards

Internet Control Message Protocol (ICMP)

  • One of the main IP protocols; it is used by network devices, like routers, to send error messages indicating (e.g., a requested service is not available or a host or router could not be reached).

  • Gives status updates


<ul><li><p>One of the main IP protocols; it is used by network devices, like routers, to send error messages indicating (e.g., a requested service is not available or a host or router could not be reached).</p></li><li><p>Gives status updates</p></li></ul><p></p>
6
New cards

Source Address Spoofing

  • Use forged source addresses

    • Makes attacking systems harder to identify

  • Attacker generates large volumes of packets that have the target system as the destination address

  • Congestion would result in the router connected to the final, lower capacity link

  • Backscatter traffic


7
New cards

Backscatter traffic

  • The attack packets seem to have originated at addresses scattered across the Internet

  • Hence just inspecting each packet’s header is not sufficient to identify its source

  • Security researchers (Honeypot Project) advertise blocks of unused IP addresses (no real/legit uses)

  • If ICMP/connection request is made from these unused IP addresses, most likely from attackers

  • Monitoring provides valuable info on the type and scale of attack

  • Source address spoofing


8
New cards

SYN spoofing

  • Common DoS attack

  • Attacks the ability of a server to respond to future TCP connection requests by overflowing the tables used to manage them

  • Thus, legitimate users are denied access to the server

  • Hence, an attack on system resources, specifically the network handling code in the operating system


9
New cards

SYN spoofing attack: attacker’s source

  • Attacker often uses either:

    • Random source addresses (addresses that may not exist)

    • That of an overloaded server (that may not send a RST)

    • To block return of (most) reset packets

  • Has much lower traffic volume

    • Attacker can be on a much lower capacity link

  • Objective: uses addresses that will not respond to the SYN-ACK with a RST


10
New cards

User Datagram Protocal(UDP) packet

  • A component of the IP suite and allows computer applications to send messages

  • A UDP can be directed at practically any service (port); if service is unavailable, the packet is discarded but the attacker objective is achieved


11
New cards

Distributed DoS attacks

  • Have limited volume if single source used

  • Multiple systems allow much higher traffic volumes to form a distributed DoS (DDoS) attack

  • Often compromised PC’s/workstations

    • Zombies with backdoor programs installed

    • Forming a botnet


12
New cards

Examples of Distributed DoS attacks

  • Tribe Flood Network (TFN), TFN2K

    • Did ICMP, SYN, and UDP floods


13
New cards

HTTP-based attacks

  • Attempts to monopolize a Web server by sending HTTP requests that never complete

  • Eventually consumes Web server’s connection capacity

  • Utilizes legitimate HTTP traffic

  • Spidering: Bots starting from a given HTTP link and following all links on the provided Web site in a recursive way


14
New cards

Reflection attacks

  • Attacker sends packets to a known service on the intermediary with a spoofed source address of the actual target system

  • When intermediary responds, the response is sent to the target

  • “Reflects” the attack off the intermediary (reflector)

  • Goal is to generate enough volumes of packets to flood the link to the target system without alerting the intermediary

  • The basic defense against these attacks is blocking spoofed-source packets


15
New cards

Further variation in reflection attacks

  • Creates a self-contained loop between intermediary and target

  • Usually, UDP echo service is used for this

    • The attacker sends a large UDP packet to the echo service on the intermediary using a spoofed source address for the echo service on the target system


16
New cards

DNS reflection attacks

  • Use packets directed at a legitimate DNS server as the intermediary system

  • Attacker creates a series of DNS requests containing the spoofed source address of the target system

  • Exploit DNS behavior to convert a small request to a much larger response (amplification)

  • Target is flooded with responses

  • Basic defense against this attack is to prevent the use of spoofed source addresses


17
New cards

Honeypot project