<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hostek.com/index.php?action=history&amp;feed=atom&amp;title=Pattern_Based_DDOS_Blocking</id>
		<title>Pattern Based DDOS Blocking - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hostek.com/index.php?action=history&amp;feed=atom&amp;title=Pattern_Based_DDOS_Blocking"/>
		<link rel="alternate" type="text/html" href="https://wiki.hostek.com/index.php?title=Pattern_Based_DDOS_Blocking&amp;action=history"/>
		<updated>2026-04-14T22:13:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wiki.hostek.com/index.php?title=Pattern_Based_DDOS_Blocking&amp;diff=2103&amp;oldid=prev</id>
		<title>Davidd at 16:37, 14 April 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.hostek.com/index.php?title=Pattern_Based_DDOS_Blocking&amp;diff=2103&amp;oldid=prev"/>
				<updated>2014-04-14T16:37:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:37, 14 April 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[User:Davidd|Davidd]] ([[User talk:Davidd|talk]]) 11:37, 14 April 2014 (CDT)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[User:Davidd|Davidd]] ([[User talk:Davidd|talk]]) 11:37, 14 April 2014 (CDT)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Windows VPS]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Windows&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;VPS]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:VPS]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:VPS]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Davidd</name></author>	</entry>

	<entry>
		<id>https://wiki.hostek.com/index.php?title=Pattern_Based_DDOS_Blocking&amp;diff=2102&amp;oldid=prev</id>
		<title>Davidd: Created page with &quot;This article will cover pattern-based ddos blocking in a Windows IIS environment.  ==Identifying Patterns==  If you suspect that your site may be under a DDOS attack, the firs...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hostek.com/index.php?title=Pattern_Based_DDOS_Blocking&amp;diff=2102&amp;oldid=prev"/>
				<updated>2014-04-14T16:37:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This article will cover pattern-based ddos blocking in a Windows IIS environment.  ==Identifying Patterns==  If you suspect that your site may be under a DDOS attack, the firs...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This article will cover pattern-based ddos blocking in a Windows IIS environment.&lt;br /&gt;
&lt;br /&gt;
==Identifying Patterns==&lt;br /&gt;
&lt;br /&gt;
If you suspect that your site may be under a DDOS attack, the first place to look will be the HTTP logs.  This is where the web server records information for each request made to a site.  For domains added using our control panel, the default log directory will be:&lt;br /&gt;
 C:\home\domainname.com\logs\W3SVC##&lt;br /&gt;
For sites added to IIS manually, the default log directory will be:&lt;br /&gt;
 C:\inetpub\logs\LogFiles\W3SVC##&lt;br /&gt;
NOTE:  ## represents the site's ID number as shown in IIS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After finding the log directory, check the log with the date of the attack or the log for today if the attack is still in progress.  First, glance over the log file to determine if there is truly an attack in progress.  If you can identify traffic that you are certain is not normal traffic, check for patterns in that traffic that we can use to block it.  Specifically, look for any combination of the following that are the same for every bad request:&lt;br /&gt;
 URL&lt;br /&gt;
 REQUEST METHOD&lt;br /&gt;
 QUERY STRING&lt;br /&gt;
 USER-AGENT&lt;br /&gt;
&lt;br /&gt;
If you can identify enough of the above request details that are the same for every bad request without blocking normal site traffic, then continue to the next section to add the blocking rule.&lt;br /&gt;
&lt;br /&gt;
==Creating Block Rule(s)==&lt;br /&gt;
&lt;br /&gt;
In IIS, browse to the site that is being hit by the attacks, and open the URL Rewrite tool.  Add a new 'Blank rule'.  Enter a name and set the 'Action type' to 'Abort Request'.  The rest of the options you use will depend on which request details are being matched.  Below are some guidelines:&lt;br /&gt;
&lt;br /&gt;
* '''URL''': The URL is specified in the 'Pattern' field.&lt;br /&gt;
* '''REQUEST METHOD''': Add a condition with the following details:&lt;br /&gt;
 Condition input: {REQUEST_METHOD}&lt;br /&gt;
 Pattern: GET (or POST or HEAD or whichever request method is being used in the attack)&lt;br /&gt;
* '''QUERY STRING''': Add a condition with the following details:&lt;br /&gt;
 Condition input: {QUERY_STRING}&lt;br /&gt;
 Pattern: ** query string pattern **&lt;br /&gt;
* '''USER-AGENT''': Add a condition with the following details:&lt;br /&gt;
 Condition input: {HTTP_USER_AGENT}&lt;br /&gt;
 Pattern: ** user-agent string **&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  The 'Pattern' input fields are entered as Regular Expressions.  If you are not familiar with using Regular Expressions, you may need to request assistance with setting up the proper rule.&lt;br /&gt;
&lt;br /&gt;
[[User:Davidd|Davidd]] ([[User talk:Davidd|talk]]) 11:37, 14 April 2014 (CDT)&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows VPS]]&lt;br /&gt;
[[Category:VPS]]&lt;/div&gt;</summary>
		<author><name>Davidd</name></author>	</entry>

	</feed>