<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developer Oracles &#187; how to stop dos attacks</title>
	<atom:link href="http://devoracles.com/tag/how-to-stop-dos-attacks/feed" rel="self" type="application/rss+xml" />
	<link>http://devoracles.com</link>
	<description></description>
	<lastBuildDate>Sun, 21 Mar 2010 11:05:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is a DOS attack and how to initiate it</title>
		<link>http://devoracles.com/what-is-a-dos-attack-and-how-to-initiate-it/83</link>
		<comments>http://devoracles.com/what-is-a-dos-attack-and-how-to-initiate-it/83#comments</comments>
		<pubDate>Sat, 30 Aug 2008 20:04:15 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Server Management]]></category>
		<category><![CDATA[Bandwidth (computing)]]></category>
		<category><![CDATA[Bandwidth hogging]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[botnets]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[ddos attacks]]></category>
		<category><![CDATA[Denial-of-service attack]]></category>
		<category><![CDATA[distributed denial of service attack]]></category>
		<category><![CDATA[dns amplification attack]]></category>
		<category><![CDATA[dns attack]]></category>
		<category><![CDATA[Dos]]></category>
		<category><![CDATA[dos attacks]]></category>
		<category><![CDATA[flooding]]></category>
		<category><![CDATA[getting ddos]]></category>
		<category><![CDATA[how to stop dos attacks]]></category>
		<category><![CDATA[http attack]]></category>
		<category><![CDATA[icmp attack]]></category>
		<category><![CDATA[packet flooding]]></category>
		<category><![CDATA[ping attack]]></category>
		<category><![CDATA[ping of death]]></category>
		<category><![CDATA[stop attacks]]></category>
		<category><![CDATA[stopping dos attacks]]></category>
		<category><![CDATA[syn flooding]]></category>
		<category><![CDATA[tcp attack]]></category>
		<category><![CDATA[tcp flooding]]></category>
		<category><![CDATA[udp attack]]></category>
		<category><![CDATA[udp flooding]]></category>
		<category><![CDATA[web attack]]></category>
		<category><![CDATA[website attack]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=83</guid>
		<description><![CDATA[The best method to deflect an attack is to understand how the offender planed his attack, thus you know what will happen next or how to stop a previous action.
This post is about the basics of a distributed DOS attack. DoS is the abbreviation of Denial of Service. I won&#8217;t list everything you need, not [...]]]></description>
			<content:encoded><![CDATA[<p>The best method to deflect an attack is to understand how the offender planed his attack, thus you know what will happen next or how to stop a previous action.</p>
<p>This post is about the basics of a distributed DOS attack. DoS is the abbreviation of Denial of Service. I won&#8217;t list everything you need, not the software you need nor anything which you can start a DOS attack with, but the architecture of such an attack to help you form a picture about how the DOS attacks works thus help you avoid them.</p>
<h3>First of all, what is a DoS attack?</h3>
<p>DoS stands for Denial of Service. Basically, a server is bombarded with fake traffic until it denies to serve normal traffic coming from legitimate users. DoS is a relatively new thing on the internet and they can be temporary or permanent. Temporary is when it can be let&#8217;s say fixed easily and permanent is when it can&#8217;t be fixed with a simple reboot or by shutting down the ethernet port. Permanent DoS is very sever as it rewrites a network component&#8217;s firmware, thus the owner of the hardware either replace it or re-rewrites the firmware (usually replacing is advised).</p>
<p>There are many types of DOS attacks, the most common are probably the ICMP floods. ICMP is a protocol on which the ping requests are handled and as <em>almost</em> every server will respond to ping requests, they are vulnerable to these type of attacks. </p>
<p>So, what happens in the background? A user with connection superior to the server&#8217;s which will be attacked, sends a high amount of ping requests to the server and keeps sending them until the server is brought down. Sounds simple? It&#8217;s not. The above example is oversimplified, there is involved one other step which i didn&#8217;t mention: the IP faking.</p>
<h3>So, how ping is working?</h3>
<ol>
<li>user initiates a ping to a specified server. </li>
<li>the server receives the request</li>
<li>the request contains data about where the server has to reply, the initiator&#8217;s IP address. The server replies to this address</li>
<li>the initiator acknowledges the answer and the connection is closed</li>
</ol>
<h3>So how to initiate a DoS attack</h3>
<p>The problem occurs when the pinger&#8217;s IP is faked as the server will try to answer for the request but as the address is faked it can&#8217;t. One issue with this: as the architecture of the web servers is designed so that if a connection can not be handled, the connection is kept open for a very long time. Too many connections open will bring the server on its knees in no time, mostly if there are not enough hardware resource like RAM.</p>
<p>Of course, modern web servers will not be brought down with only one offending client. An attack to a well designed webserver, network component or network is much harder and requires more offenders. The attack should be synchronized very well and distributed over many, a few hundred or even thousand and even millions of attacking PC, solely depending on how advanced is the attacked party.</p>
<h3>So how DoS is possible then?</h3>
<p>The easiest way the hackers achieve to sync and distribute the attack is that they, let&#8217;s say hire spammers to send spam containing either links to malware which is used as a DoS client or the message has the malware attached. When the user clicks the link or opens the attachment, the script installs itself as a service on a Windows based <abbr title="Operating System">OS</abbr>. </p>
<p>On a side note, it&#8217;s interesting that the most expensive OS is in the same time the most vulnerable to malware and virus attacks, too. </p>
<p>The whole of the PCs which has this malware installed is called <a href="http://blog.ics.utsa.edu/ics/2009/01/on-bots-and-zombies-what-is-a-botnet.html">botnet</a>.</p>
<p>The installed malware will start to work on a specified time and date like in <a href="http://en.wikipedia.org/wiki/Mydoom_(computer_worm)">MyDoom&#8217;s</a> (Link to Wikipedia article, read it, it&#8217;s very interesting) case when millions of computers started synchronized distributed attack against several websites. This is called DDoS, abbreviation for Distributed Denial of Service. It&#8217;s incredibly effective against lower end web servers and can put offline even high-end architectures like Google&#8217;s search back-end network.</p>
<p>Next article is about how to recognize DoS attacks.</p>
<p>If something is not clear, feel free to ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/what-is-a-dos-attack-and-how-to-initiate-it/83/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
