DOS Attacks: Instigation and Mitigation

0
21

During the release of a new software product specialized to track spam, ACME Software
Inc notice that there was not as much traffic as they hoped to receive. During further
Investigation, they found that they could not view their own website. At that moment, the
VP of sales received a call from the company's broker stating that ACME Software Inc.
Stock fell 4 point due to lack of confidence. Several states away, spammers did not like the
Idea of ​​lower profit margins do to an easy to install spam blocking software so they
Thought they would fight back. Earlier that day, they took control of hundreds of
Compromised computers and used them as DoS zombies to attack ACME Software Inc's
Internet servers in a wicked act of cyber assault. During an emergency press conference
The next morning, ACME Software Inc's CIO announced his resignation as a result of a
Several million dollar corporate loss.

Scenarios like the one above happen a more then people think and are more costly
Then most will admit. Denial of Service (DoS) attacks are designed to deplete the
Resources of a target computer system in an attempt to take a node off line by crashing or
Overloading it. Distributed Denial of Service (DDoS) is a DoS attack that is engaged by
Many different locations. The most common DDoS attacks are instigated through viruses
Egypt zombie machines. There are many reasons that DoS attacks are executed, and most of
Them are out of malicious intent. DoS attacks are almost impossible to prevent if you are
Singled out as a target. It's difficult to distinguish the difference between a legitimate
Packet and one used for a DoS attack.

The purpose of this article is to give the reader with basic network knowledge a
Better understanding of the challenges presented by Denial of Service attacks, how they
Work, and ways to protect systems and networks from them.

Instigation:

Spoofing – Falsifying an Internet address (know as spoofing) is the method an attacker
Uses to fake an IP address. This is used to reroute traffic to a target network node or used
To deceive a server into identifying the attacker as a legitimate node. When most of us
Think of this approach of hacking, we think of someone in another city essentially
Becoming you. The way TCP / IP is designed, the only way a criminal hacker or cracker
Can take over your Internet identity in this fashion is to blind spoof. This means that the
Impostor knows exactly what responses to send to a port, but will not get the
Corresponding response since the traffic is routed to the original system. If the spoofing is
Designed around a DoS attack, the internal address becomes the victim. Spoofing is used
In most of the well-known DoS attacks. Many attackers will start a DoS attack to drop a
Node from the network so they can take over the IP address of that device. IP Hijacking is
The main method used when attacking a secured network or trying other attacks like
The Man in the Middle attack.

SYN Flood – Attackers send a series of SYN requests to a target (victim). The target
Sends a SYN ACK in response and waits for an ACK to come back to complete the
Session set up. Instead of responding with an ACK, the attacker responds with another
SYN to open up a new connection. This causes the connection queues and memory buffer
To fill up, thereby denial service to legitimate TCP users. At this time, the attacker can
Hijack the system's IP address if that is the end goal. Spoofing the "source" IP address
When sending a SYN flood will not only cover the offender's tracks, but is also a method
Of attack in itself. SYN Floods are the most commonly used DoS in viruses and are easy
To write. See http://www.infosecprofessionals.com/code/synflood.c.txt

Smurf Attack- Smurf and Fraggle attacks are the easiest to prevent. A perpetrator sends a
Large number of ICMP echo (ping) traffic at IP broadcast addresses, using a fake source
Address. The "source" or spoofed address will be flooded with simultaneous replies (See
CERT Advisory: CA-1998-01). This can be triggered by simply blocking broadcast
Traffic from remote network sources using access control lists.

Fraggle Attack – These types of attack is the same as a Smurf attack except using UDP
Instead if TCP. By sending an UDP echo (ping) traffic to IP broadcast addresses, the
Systems on the network will all respond to the spoofed address and affect the target
System. This is a simple rewrite of the Smurf code. This can be preceded by simply
Blocking broadcasting traffic from remote IP address.

Ping of Death – An attacker sends illegitimate ICMP (ping) packets larger than 65,536
Bytes to a system with the intent of crashing it. These attacks have been outdated since
The days of NT4 and Win95.

Teardrop – Otherwise known as an IP fragment attack, this DoS attack targets
Systems that are running Windows NT 4.0, Win95, Linux up to 2.0.32. Like the Ping of
Death, the Teardrop is no longer effective.

Application Attack – Thess are DoS attacks that involve exploiting an application
Vulnerability causing the target program to crash or restart the system.

Kazaa and Morpheus have a known flaw that will allow an attacker to consume all
Available bandwidth without being logged.
See http://www.infosecprofessionals.com/code/kazaa.pl.txt

Microsoft's IIS 5 SSL also has an easy way to exploit vulnerability. Most exploits like
These are easy to find on the Internet and can be copied and pasted as working code.
There are thousands of exploits that can be used to DoS a target system / application. See
Http://www.infosecprofessionals.com/code/IIS5SSL.c.txt

Viruses, Worms, and Antivirus – Yes, Antivirus. Too many cases where the antivirus
Configuration is wrong or the wrong edition is installed. This lack of foresight causes an
Unintentional DDoS attack on the network by taking up valuable CPU resources and
Bandwidth. Viruses and worms also cause DDoS attacks by the nature of how they
Spread. Some purposefully attack an individual target after a system has been infected.
The Blaster worm that exploits the DCOM RPC vulnerability (described in Microsoft
Security Bulletin MS03-026) using TCP port 135 is a great example of this. The Blaster
Targeted Microsoft's windows update site by initiating a SYN FLOOD. Because of this,
Microsoft determined to no longer resolve the DNS for 'windowsupdate.com'.

DoS attacks are impossible to stop. However, there are things you can do to
Mitigate potential damages they may cause to your environment. The main thing to
Remember is that you always need to keep up-to-date on the newest threats.

Mitigation:

Antivirus software – Installing an antivirus software with the latest virus definitions will
Help prevent your system from becoming a DoS zombie. Now, more then ever, this is an
Important feature that you must have. With lawsuits so prevalent, not having the proper
Protection can leave you open for downstream liability.

Software updates – Keep your software up to date at all times. This includes antivirus,
Email clients, and network servers. You also need to keep all network Operating Systems
Installed with the latest security patches. Microsoft has done a great job with making
These patches are available for their Windows distributions. Linux has been said to be more
Secure, but the patches are far more scarce. RedHat is planning on incorporating the
NSA's SE Linux kernel into future releases. This will give Mandatory Access Control
(MAC) capabilities to the Linux community.

Network protection – Using a combination of firewalls and Intrusion Detection Systems
(IDS) can cut down on suspicious traffic and can make the difference between logged
Annoyance and your job. Firewalls should be set to deny all traffic that is not specifically
Designed to pass through. Integrating an IDS will warn you when strange traffic is present
On your network. This will assist you in finding and stopping attacks.

Network device configuration – Configuring perimeter devices like routers can detect
And in some cases prevent DoS attacks. Cisco routers can be configured to actively
Prevent SYN attacks starting in Cisco IOS 11.3 and higher using the TCP intercept
Command in global configuration mode.

Access-list number {deny | Permit} tcp any destination destination-wildcard
Ip tcp intercept list access-list-number
Ip tcp intercept? (Will give you a good list of other options.)

Cisco routers can prevent Smurf and Fraggle attacks by blocking broadcast traffic. Since
Cisco IOS 12.0, this is the default configuration. ACLs or access control lists should also
Be configured on all interfaces.

No ip directed-broadcast

The Cisco router can also be used to prevent IP spoofing.
Ip access-group list in interface
Access-list number deny icmp any any redirect
Access-list number deny ip 127.0.0.0 0.255.255.255 any
Access-list number deny ip 224.0.0.0 31.255.255.255 any
Access-list number deny ip host 0.0.0.0 any
See Improving Security on Cisco Routers – http://www.cisco.com/warp/public/707/21.html

Old Cisco IOS versions are vulnerable to several DoS attacks. The "Black Angels" wrote
A program called Cisco Global Exploiter. This is a great software to use when testing the
Security of your Cisco router version and configuration and can be found at
Http://www.blackangels.it/Projects/cge.htm

Security is not as mystical as people believe. DoS attacks come in many different
Types and can be devastating if you do not take the proper precautions. Keep up to date and
Take steps to secure network nodes. Keeping security in mind can minimize damages,
Downtime, and save your career.

Source

Leave a Reply