Denial of Service Attack DoS | Part 2

Types Of DoS Attacks

“Denial of Service” – All the evil actions resulting in the retirement-line server. Technically, it cuts power to a server in a malevolent purpose may be regarded as an denial of service attack. In fact, the ‘denial of service’ attacks are made by saturating one of the targeted web server.

Exploiting Flaws Or Limits Of Machines

One of the most common attacks was to send an ICMP packet of more than 65,535 bytes. Above this limit, the IP stacks do not know the package deal itself, which would cause errors in fragmented UDP or TCP packets contain “flags” illegal or incompatible.

The battery current resists such attacks. However, the processing time of such packets is longer than necessary to process legitimate packets. Thus, it becomes common or trivial to generate excessive consumption of processor (CPU) simply by issuing hundreds of thousands of abnormalities per second, a tool such as hping3 allows a single command line …

Ex: [root @ localhost root] # hping3-SARFU-L 0-M 0-p 80 www.cible.com – flood
~ Wikipedia.org

With the arrival of broadband and the increasing power of personal computers, potential attack was increased tenfold, highlighting the weakness of the facilities developed several years ago. This increase allows virtually any abnormalities to cause a denial of service, provided they are generated at a rate sufficient importance.

For example:

  • Use fields “reserved” for the TCP header
  • Setting a sequence number acknowledged in a SYN packet
  • Packets whose header Layer 4 (TCP / UDP) is truncated despite correct checksums

Denial of Service SYN Flood

A SYN Flood attack is an attack designed to cause a denial of service by issuing a large number of requests for TCP incomplete synchronization with a server. When a system (client) attempts to establish a TCP connection to a system offering a service (server), client and server exchange a sequence of messages.

The client system begins by sending a SYN message to the server. The server then acknowledges the message by sending a SYN-ACK message to the client. The client then finishes establishing the connection by responding with an ACK message. The connection between the client and the server is then open and service-specific data can be exchanged between client and server.

The potential for abuse arises at the point where the server system has sent an acknowledgment (SYN-ACK) to the client, but does not receive the ACK message. The server built into its system memory a data structure describing all connections. This data structure is of finite size and can be overwhelmed by intentionally creating too many partially open connections.

Creating half-open connections is easily accomplished with IP spoofing. The system of the attacker sends SYN messages to the victim machine, they seem to be legitimate, but refer a client unable to respond to the SYN-ACK. This means that the final ACK message will never be sent to the victim server.

Normally there is a timeout associated with an incoming connection, semi-open connections will expire and the victim server can handle the attack. However, the attacking system can simply continue sending IP-spoofed packets requesting new connections faster than the victim.

In most cases, the victim will have difficulty accepting any new incoming network connection. In these cases, the attack does not affect incoming connections nor the ability to establish outgoing network connections. However, the system can saturate the memory, causing a crash, making the system inoperable.

Continued…

Related posts:

  1. Denial of Service Attack DoS | Part 1
  2. Denial of Service Attack DoS | Part 3
  3. Denial of Service Attack DoS | Part 4
  4. Denial of Service Attack DoS | Part 5

Tags: attack by dos, ddos attack, ddos attacks, denial of service attack, protection against attacks from denial of service

Leave a Reply

You must be logged in to post a comment.