<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Asp.net, Debugging, IIS</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dasane/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dasane/feed.xml</link>
    <description>Blog by Devendra Asane</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:20:35 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>PowerShell script to migrate FTP virtual directories from Metabase.xml of IIS 6 to PowerShell commands for IIS 7.5</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/powershell-script-to-migrate-ftp-virtual-directories-from-metabase-xml-of-iis-6-to-powershell-commands-for-iis-7-5</link>
      <pubDate>Wed, 16 Oct 2013 08:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2013/10/16/powershell-script-to-migrate-ftp-virtual-directories-from-metabase-xml-of-iis-6-to-powershell-commands-for-iis-7-5/</guid>
      <description><![CDATA[You have a thousands of FTP virtual directories in IIS 6. Now you would like to migrate these to IIS...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: verdana,geneva;">You have a thousands of FTP virtual directories in IIS 6. Now you would like to migrate these to IIS 7.5. There is a tool called Web Deploy which would help you migrate WebSites but unfortunately that doesn't migrate FTP Site and its virtual directories.</span></p>
<p><span style="font-family: verdana,geneva;">So we worked upon a PowerShell script which can help you help you migrate FTP websites and virtual directories with very basic settings. You can modify this script to do more while migrating like username and others..</span></p>
<p>&nbsp;</p>
<p><span style="font-family: verdana,geneva;">In order to run the script you need Metabase.xml file from Windows 2003 box. You can find this file in %SystemRoot%\system32\inetsrv folder. Please open Metabase.xml file in notepad and remove &lt;configuration&gt; tab from the top and bottom of document. Once done, run below script :</span></p>
<div>
<pre># <span style="background-color: #ffff99;">Remove</span> the following lines from the XML source file before running this <br /># &lt;<span style="background-color: #ffff99;">configuration</span> xmlns="urn:microsoft-catalog:XML_Metabase_V64_0"&gt; <br /># &lt;/<span style="background-color: #ffff99;">configuration</span>&gt;&nbsp;<br /><br /># Developed under Powershell V2 on 2008 R2 <br /># invoke "importsystemmodules" to get the webAdministration libraries loaded <br /><br />#importsystemmodules </pre>
<pre>select-xml -path d:\temp\<span style="background-color: #ffff99;">MetaBase</span>.xml -xpath "//IIsFtpVirtualDir" | % { 
    $location= split-path $_.node.getattribute("Location") -leaf 
    $path = $_.node.getattribute("Path") 

     
        # <span style="background-color: #ffff99;">Use this to test</span>, this will give you stack of commands to execute which you can validate, add or modify and create another script file.
     "New-WebVirtualDirectory -site 'Default FTP Site' -name '$location' -physicalpath `"$path`" -Force"  # | <span style="background-color: #ffff99;">out-file -append c:\temp\junk.txt.xml</span> 

    #<span style="background-color: #ffff99;"> Use this to really create on IIS</span> if you are sure (backup first)
    # "New-WebVirtualDirectory -site 'Default FTP Site' -name $location -physicalpath `"$path`"" 

</pre>
<div>
<p><span style="font-family: verdana,geneva;">This script can create commands which you can validate and run after, Or you can directly run. You need to uncomment the lines accordingly in above script. DISCLAIMER: THE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND.</span></p>
<p>&nbsp;</p>
<p><strong><span style="font-family: comic sans ms,sans-serif;">&nbsp;~Devendra Asane</span></strong></p>
<p>&nbsp;</p>
</div>
</div>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/45/71/67/createFTP.ren2ps1.txt" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-45-71-67/createFTP.ren2ps1.txt">createFTP.ren2ps1.txt</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Adding IP address like host header in IIS 8 shows UI validation error, this worked fine in IIS 7.5 and earlier</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/adding-ip-address-like-host-header-in-iis-8-shows-ui-validation-error-this-worked-fine-in-iis-7-5-and-earlier</link>
      <pubDate>Wed, 16 Oct 2013 07:48:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2013/10/16/adding-ip-address-like-host-header-in-iis-8-shows-ui-validation-error-this-worked-fine-in-iis-7-5-and-earlier/</guid>
      <description><![CDATA[There are situations where we have the site specified like below in several configurations, for...]]></description>
      <content:encoded><![CDATA[<p>There are situations where we have the site specified like below in several configurations, for example like in GPO we specify the location of the Automatic Proxy Configuration script to be at location:<br />https://<span style="background-color: #ffff00;">192.168.172.1</span>/wpad.dat, so to make this not depending on the availability of DNS resolving.</p>
<p>In IIS7, we could register the&nbsp;IP address as hostname. If we do this in IIS8, I get the failure message:</p>
<p>---------------------------<br />Edit Site Binding<br />---------------------------<br />The specified host name is incorrect. The host name must use a valid host name format and cannot contain the following characters: "/\[]:|&lt;&gt;+=;,?*$%#@{}^`. Example: www.contoso.com.<br />---------------------------<br />OK&nbsp;&nbsp; <br />---------------------------</p>
<p>&nbsp;</p>
<p>This is by design in IIS 8 UI. Hence we wont be able to skip this from UI. Though as a workaround you can directly edit <strong>applicationhost.config</strong> from &nbsp;%SystemRoot%\system32\inetsrv\config folder. Please do take a back up of this file before directly editing. Once backed up, open applicationhost.config file in notepad. Try finding the bindings something like and add it manually:</p>
<p>&nbsp;&lt;<span style="background-color: #ffff00;">site</span> name="mstest" id="4" serverAutoStart="true"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;application path="/" applicationPool="mstest"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;virtualDirectory path="/" physicalPath="C:\inetpub\wwwroot" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/application&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<span style="background-color: #ffff00;">bindings</span>&gt;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;binding protocol="http" bindingInformation="*:80:<span style="background-color: #ffffff;">mydomainnamedotcom</span>" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;binding protocol="http" bindingInformation="*:80:<strong><span style="background-color: #ffff00;">192.168.172.1</span></strong>" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/bindings&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/<span style="background-color: #ffff00;">site</span>&gt;&nbsp;</p>
<p>&nbsp;This seems to work in my black box testing. Let me know if any comments or suggestions.</p>
<p>&nbsp;</p>
<p>~ Devendra Asane</p>
<p>&nbsp;</p>
<p><br />&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>How can I take a memory dump Orphaned worker process with Procdump but not with ADPlus as mentioned in KB828222</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/how-can-i-take-a-memory-dump-orphaned-worker-process-with-procdump-but-not-with-adplus-as-mentioned-in-kb828222</link>
      <pubDate>Thu, 01 Aug 2013 07:54:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2013/08/01/how-can-i-take-a-memory-dump-orphaned-worker-process-with-procdump-but-not-with-adplus-as-mentioned-in-kb828222/</guid>
      <description><![CDATA[Say, I cannot install anything on the server at the moment but wanted to take dumps with procdump...]]></description>
      <content:encoded><![CDATA[<p>Say, I cannot install anything on the server at the moment but wanted to take dumps with procdump for orphaned w3wp process. In such case, we can use procdump from sysinternals which is stand alone executable&nbsp;and can take a dump for us.</p>
<p>We can customize our batch file which has been mentioned in KB828222 and use the same batch file for taking the dump. I have customized my batch file like below:</p>
<div style="color: black;">
<pre>@if "%_echo%"=="" echo off

setlocal
    set TIMESTAMP=%DATE:~-9%_%TIME%
set TIMESTAMP=%TIMESTAMP:/=_%
set TIMESTAMP=%TIMESTAMP::=_%
set TIMESTAMP=%TIMESTAMP:.=_%
set TIMESTAMP=%TIMESTAMP: =_%
set FILENAME=c:\debuggers\deadlocked_PID_%1_%TIMESTAMP%.dmp
set LOG=c:\debuggers\procdumplog.txt
set COMMAND=c:\debuggers\procdump.exe -ma %1 %FILENAME%
echo %COMMAND% &gt; %LOG%
%COMMAND%
endlocal

</pre>
</div>
<p>For IIS6, store this batch file to the path you wish and use the same path to configure adsutil.vbs like mentioned in KB828222.</p>
<p>&amp;</p>
<p>For IIS 7+, IIS manager can be used to configure application pool.&nbsp;IIS Manager &gt;&gt; Application Pools &gt;&gt; Advanced Setting (on particular application pool ) &gt;&gt; Process Orphaning &gt;&gt; Executable --&gt; Batch file which we created &amp; Executable Parameters --&gt; %1</p>
<p><strong></strong>&nbsp;</p>
<p><strong>ProcDump</strong></p>
<p><a href="https://technet.microsoft.com/en-us/sysinternals/dd996900.aspx">https://technet.microsoft.com/en-us/sysinternals/dd996900.aspx</a></p>
<p>&nbsp;</p>
<p><strong>How to generate a dump file when ASP.NET deadlocks in IIS 6.0</strong></p>
<p><a href="https://support.microsoft.com/kb/828222">https://support.microsoft.com/kb/828222</a></p>
<p>&nbsp;</p>
<p>Cheers!</p>
<p>Devendra Asane</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Custom developed HttpModule for URLSecurity which works fine with .Net 3.5, but fails in .Net 4.0 with error "not trusted"</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/custom-developed-httpmodule-for-urlsecurity-which-works-fine-with-net-3-5-but-fails-in-net-4-0-with-error-not-trusted</link>
      <pubDate>Fri, 17 May 2013 08:01:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2013/05/17/custom-developed-httpmodule-for-urlsecurity-which-works-fine-with-net-3-5-but-fails-in-net-4-0-with-error-not-trusted/</guid>
      <description><![CDATA[You have developed custom HttpModule for URLSecurity which works fine with .Net 3.5, but fails in...]]></description>
      <content:encoded><![CDATA[<h1><span style="color: #3366ff; font-size: medium; background-color: #ffffff;">You have developed custom HttpModule for URLSecurity which works fine with </span><span style="color: #3366ff; font-size: medium; background-color: #ffffff;">.Net 3.5, but fails in .Net 4.0 with error "not trusted"</span></h1>
<p>&nbsp;</p>
<p>The reason for above error lies in new Code&nbsp;access security (CAS) model. So just switching to 4.0 framework may not help. You need to configure ASP.Net 4.0 application to Use the ASP.Net 2.0 CAS Model as a&nbsp;workaround which brings you back to legacy CAS model from .Net 2.0.&nbsp;</p>
<p>Add the following line to our web.config file&nbsp;:</p>
<p>&nbsp;</p>
<p><span style="color: #ff9900;"><strong><span style="font-family: georgia,palatino;">&lt;trust level="Full" originUrl="" legacyCasModel="true"/&gt;</span></strong></span></p>
<p>&nbsp;</p>
<h2>Please refer following article for more information on:</h2>
<p><strong>Code Access Security in ASP.NET 4 Applications</strong></p>
<p><a href="https://msdn.microsoft.com/en-us/library/dd984947.aspx">https://msdn.microsoft.com/en-us/library/dd984947.aspx</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Where is Computer Management in Windows Server 2012 ?</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/where-is-computer-management-in-windows-server-2012</link>
      <pubDate>Fri, 17 May 2013 05:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2013/05/17/where-is-computer-management-in-windows-server-2012/</guid>
      <description><![CDATA[I was wondering where did the Computer Management go in Windows Server 2012.

In Server Manager...]]></description>
      <content:encoded><![CDATA[<p>I was wondering where did the Computer Management go in Windows Server 2012.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/92/5807.WhereIsComputerManagermentOnWin2012.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-18-92/5807.WhereIsComputerManagermentOnWin2012.PNG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/92/5807.WhereIsComputerManagermentOnWin2012.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-18-92/5807.WhereIsComputerManagermentOnWin2012.PNG" alt="" width="601" height="251" border="0" /></a></p>
<p>In Server Manager &gt;&gt; TOOLS &gt;&gt; Computer Management.</p>]]></content:encoded>
    </item>
    <item>
      <title>Export All Websites from IIS6 in Package and export to IIS 7 with MSDeploy v3</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/export-all-websites-from-iis6-in-package-and-export-to-iis-7-with-msdeploy-v3</link>
      <pubDate>Fri, 30 Nov 2012 07:49:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2012/11/30/export-all-websites-from-iis6-in-package-and-export-to-iis-7-with-msdeploy-v3/</guid>
      <description><![CDATA[Nice and simple commands
To export the All Website from IIS 6 in a package:
msdeploy -verb:sync...]]></description>
      <content:encoded><![CDATA[<p>Nice and simple commands</p>
<h3><br />To export the All Website from IIS 6 in a package:</h3>
<h4><br /><em>msdeploy -verb:sync -source:metakey=lm/w3svc -dest:package=c:\temp\AllSites.zip,encryptPassword=test -enableLink:appPool</em></h4>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>To import All Websites from the package on IIS 7:</h3>
<h4><br /><em>msdeploy -verb:sync -source:package=C:\temp\AllSites.zip,encryptPassword=test -dest:metakey=lm/w3svc,rootwebconfig32.netfxversion=2.0.50727,encryptPassword=test -enableLink:appPool</em></h4>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>How do I route specific type of request to specific server farm with ARR ?</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/how-do-i-route-specific-type-of-request-to-specific-server-farm-with-arr</link>
      <pubDate>Mon, 26 Nov 2012 08:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2012/11/26/how-do-i-route-specific-type-of-request-to-specific-server-farm-with-arr/</guid>
      <description><![CDATA[You would like to route the particular requests to the&nbsp;particular&nbsp;farm i.e. kind of an...]]></description>
      <content:encoded><![CDATA[<h2>You would like to route the particular requests to the&nbsp;particular&nbsp;farm i.e. kind of an alias created for Farms. Below approaches might help you on the same.</h2>
<h4>&nbsp;</h4>
<h4>1) Create a Regular Expression :</h4>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/92/4135.image002.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-18-92/4135.image002.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/92/4135.image002.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-18-92/4135.image002.png" alt="" border="0" /></a></p>
<h4>2) Create a Pattern :</h4>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/92/0574.RulewithWildCardPattern.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-18-92/0574.RulewithWildCardPattern.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/18/92/0574.RulewithWildCardPattern.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-18-92/0574.RulewithWildCardPattern.jpg" alt="" border="0" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Taking the User-Mode Dumps on Windows 2008 Server, Windows 7</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/taking-the-user-mode-dumps-on-windows-2008-server-windows-7</link>
      <pubDate>Thu, 18 Feb 2010 02:05:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2010/02/18/taking-the-user-mode-dumps-on-windows-2008-server-windows-7/</guid>
      <description><![CDATA[Hi All,
&nbsp;
We can use Debug Diagnostics 1.2 on windows 2008 and Windows 7.&nbsp; Please visit...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">Hi All,</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">&nbsp;</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">We can use <a title="DebugDiag1.2" href="https://www.microsoft.com/en-us/download/details.aspx?id=26798">Debug Diagnostics 1.2</a> on windows 2008 and Windows 7.&nbsp; Please visit KB <a href="https://support.microsoft.com/kb/2580960">https://support.microsoft.com/kb/2580960</a> for more information.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">&nbsp;</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">Also Windows 2008 and Windows 7 has got WER services which can take the User-Mode crash dump. This works very well for x64 versions too.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">To configure WER services please visit the below link :</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: 'Verdana','sans-serif';"><span style="font-size: small;">Collecting User-Mode Dumps</span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><a href="https://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx"><span style="font-family: Calibri; font-size: small;">https://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx</span></a></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">Starting with Windows Server 2008 and Windows Vista with Service Pack 1 (SP1), Windows Error Reporting (WER) can be configured so that full user-mode dumps are collected and stored locally after a user-mode application crashes.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">For example if my IIS 7 worker process i.e. w3wp.exe is crashing then I need to configure below.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: Calibri;"><span style="font-size: small;">[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\w3wp.exe]</span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">"<strong style="mso-bidi-font-weight: normal;">DumpFolder</strong>"= REG_EXPAND_SZ: c:\temp</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">"<strong style="mso-bidi-font-weight: normal;">DumpCount</strong>"=dword:00000005</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">"<strong style="mso-bidi-font-weight: normal;">DumpType</strong>"=dword:00000002</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri;"><span style="font-size: small;">And above registry settings will give you 5 dumps for w3wp.exe if it crashes. </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: 'Verdana','sans-serif';"><span style="font-size: small;">Collecting User-Mode Hang Dumps</span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">For taking hand dumps in Windows 7 and Windows 2008 server, we need to figure the hung process. Open task manager &gt;&gt; figure out the hung process &gt;&gt; right click on the hung process &gt;&gt; click &ldquo;Create Dump File&rdquo;.<span style="mso-spacerun: yes;">&nbsp;&nbsp; A</span>nd dump will be taken on the temp path. The path will be shown in the dialogue box. Press Ctrl + C on the dialogue box and message(path) will be copied to the clipboard.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">&nbsp;</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">&nbsp;</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">&nbsp;</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">This applies to x64 versions as&nbsp;well. For advanced&nbsp;users there is always "Debugging tools for Windows"</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><a href="https://www.microsoft.com/whdc/DevTools/Debugging/default.mspx">https://www.microsoft.com/whdc/DevTools/Debugging/default.mspx</a></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">&nbsp;</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding-top: 8px;" align="left" valign="top" width="16" height="19"><img src="https://www.microsoft.com/whdc/images/fileType/icon_text.gif" alt="White Paper" border="0" /></td>
<td style="line-height: 140%; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; padding-top: 5px;" align="left" valign="top"><a href="https://www.microsoft.com/whdc/devtools/debugging/installx86.mspx#a">Install Debugging Tools for Windows 32-bit Version</a><img src="https://www.microsoft.com/whdc/images/shared/common/space.gif" alt="" width="1" height="1" border="0" /><br />Download page for the latest 32-bit packages.</td>
</tr>
<tr>
<td style="padding-top: 8px;" align="left" valign="top" width="16" height="19"><img src="https://www.microsoft.com/whdc/images/fileType/icon_text.gif" alt="White Paper" border="0" /></td>
<td style="line-height: 140%; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; padding-top: 5px;" align="left" valign="top"><a href="https://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx">Install Debugging Tools for Windows 64-bit Versions</a><img src="https://www.microsoft.com/whdc/images/shared/common/space.gif" alt="" width="1" height="1" border="0" /><br />Download page for the latest 64-bit packages.</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Curtain Raiser  for securing IIS 6.0 from DOS (Denial of Service) Attack</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/curtain-raiser-for-securing-iis-6-0-from-dos-denial-of-service-attack</link>
      <pubDate>Sat, 14 Mar 2009 02:14:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2009/03/14/curtain-raiser-for-securing-iis-6-0-from-dos-denial-of-service-attack/</guid>
      <description><![CDATA[The architectural changes in IIS 6.0 compare to earlier versions make IIS a more secure platform....]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>The architectural changes in IIS 6.0 compare to earlier versions make IIS a more secure platform. Worker processes run in user mode and therefore can’t access privileged items in the kernel. They also run in the context of the Network Service account with relatively low privileges. Built-in ASP functions run in the context of the IUSR_machine account<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>Your capability to configure application pools enables you to limit the kernel request queue size, limit CPU utilization, and apply other restrictions to help ensure that an attack, when it comes, will have its impact minimized on the server overall. To help combat buffer overflow attacks, IIS 6.0 monitors incoming requests to identify unusually large transaction requests that are indicative of an attack. You can also configure IIS 6.0 to recycle worker processes if they consume too much physical or virtual memory based on limits that you specify on a per-application-pool basis, reducing the impact of memory overflow exploits. Your capability to isolate sites and applications using multiple application pools and to configure recycling parameters for those pools helps reduce the effect of denial-of-service attacks.<o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>Also as we see in below IIS6 architecture image the http.sys takes the credit for securing the IIS from Denial of Service attack by restricting the connection limit. But Http.sys is kernel component and hence if its affected by flood of million connections means your whole box is affected. In case of Attack, the http.sys will accept only configured connection and rest of these connections will be rejected by IIS 503 error. Only configured connections will be send to the application pool to serve the requests.</FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><IMG style="WIDTH: 442px; HEIGHT: 282px" title="IIS 6 architecture" alt="IIS 6 architecture" src="https://i.msdn.microsoft.com/Bb332338.wcf_hosting_and_consuming_figure_5-9(en-us,MSDN.10).gif" width=442 height=282 mce_src="https://i.msdn.microsoft.com/Bb332338.wcf_hosting_and_consuming_figure_5-9(en-us,MSDN.10).gif"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri></FONT></o:p>&nbsp;</P>
<P style="MARGIN: 11.25pt 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'"><FONT size=3>Denial of Service (DOS) attack symptoms:<o:p></o:p></FONT></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>==========================================<o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 12pt" class=MsoNormal><FONT size=3><FONT face=Calibri>A Denial of Service (DOS) attack is made up of excessive successful or unsuccessful attempts to access the Web server or site with HTTP, File Transfer Protocol (FTP), or another protocol from a single IP address with the possible intention of increasing network traffic and denying access to other users. <o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 11.25pt 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'"><FONT size=3>Possible Actions to prevent the attacks <o:p></o:p></FONT></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>==========================================<o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Install URLScan and configure DenyUrlSequences to deny /. This will typically be implemented by the security team at your end. The following URL describes in detail about what URLSCAN is and how to configure it <o:p></o:p></SPAN></B></P>
<P style="TEXT-INDENT: 36pt; MARGIN: 0cm 0cm 0pt" class=MsoNormal><A href="https://technet.microsoft.com/en-in/security/cc242650(en-us).aspx"><FONT color=#0000ff size=3 face=Calibri>UrlScan Security Tool</FONT></A><FONT size=3><FONT face=Calibri> <o:p></o:p></FONT></FONT></P>
<P style="TEXT-INDENT: 36pt; MARGIN: 0cm 0cm 0pt" class=MsoNormal><A href="https://msdn.microsoft.com/en-us/library/aa302368.aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa302368.aspx"><FONT size=3 face=Calibri>https://msdn.microsoft.com/en-us/library/aa302368.aspx</FONT></A><o:p></o:p></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Prevent Denial of Service (DOS) attacks in your web application<o:p></o:p></SPAN></B></P>
<P style="TEXT-INDENT: 36pt; MARGIN: 0cm 0cm 0pt" class=MsoNormal><A href="https://weblogs.asp.net/omarzabir/archive/2007/10/16/prevent-denial-of-service-dos-attacks-in-your-web-application.aspx" mce_href="https://weblogs.asp.net/omarzabir/archive/2007/10/16/prevent-denial-of-service-dos-attacks-in-your-web-application.aspx"><FONT size=3 face=Calibri>https://weblogs.asp.net/omarzabir/archive/2007/10/16/prevent-denial-of-service-dos-attacks-in-your-web-application.aspx</FONT></A><FONT size=3><FONT face=Calibri> <o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">For this type of attempt, set the firewall policy or TCP/IP filtering to block the IP. If the IP is internal, take the computer off the network to determine why it is trying to access the HTTP or FTP services of the Web server excessively.<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><A href="https://msdn.microsoft.com/en-us/library/aa302363.aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa302363.aspx"><FONT size=3 face=Calibri>https://msdn.microsoft.com/en-us/library/aa302363.aspx</FONT></A><o:p></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">ISA Server Network Protection: Protecting Against Floods and Attacks<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><A href="https://technet.microsoft.com/en-us/library/bb794735.aspx" mce_href="https://technet.microsoft.com/en-us/library/bb794735.aspx"><FONT size=3 face=Calibri>https://technet.microsoft.com/en-us/library/bb794735.aspx</FONT></A><FONT face=Calibri><FONT size=3> <o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Restrict the connection to a particular number of connections. The number of connection is something which you need to decide on the basis of your infrastructure</SPAN><FONT size=3 face=Calibri> and </FONT><A href="https://download.microsoft.com/download/0/1/a/01a053e8-3e18-4f73-b8e7-68d53a8232da/Medvedev_SSW-2005.ppt" mce_href="https://download.microsoft.com/download/0/1/a/01a053e8-3e18-4f73-b8e7-68d53a8232da/Medvedev_SSW-2005.ppt"><FONT size=3 face=Calibri>threat model</FONT></A><FONT size=3><FONT face=Calibri>.<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><o:p></o:p></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri><IMG style="WIDTH: 325px; HEIGHT: 321px" title="msdn iis 6.0 website performance web site connections" alt="msdn iis 6.0 website performance web site connections" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/girish/WindowsLiveWriter/Limitingnetworkbandwidthavailabletoaweb_3EC4/image_thumb.png" original-url="https://blogs.technet.com/blogfiles/girish/WindowsLiveWriter/Limitingnetworkbandwidthavailabletoaweb_3EC4/image_thumb.png" width=325 height=321 mce_src="https://blogs.technet.com/blogfiles/girish/WindowsLiveWriter/Limitingnetworkbandwidthavailabletoaweb_3EC4/image_thumb.png">&nbsp;</FONT></o:p></B></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Building Secure Web Services<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><A href="https://msdn.microsoft.com/en-us/library/aa302428.aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa302428.aspx"><FONT size=3 face=Calibri>https://msdn.microsoft.com/en-us/library/aa302428.aspx</FONT></A></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B></B>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p></o:p></B>&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>IIS 6.0 security in terms of DOS (Denial of Service) attack</title>
      <link>https://docs.microsoft.com/archive/blogs/dasane/iis-6-0-security-in-terms-of-dos-denial-of-service-attack</link>
      <pubDate>Sat, 14 Mar 2009 02:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Devendra.Asane]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dasane/2009/03/14/iis-6-0-security-in-terms-of-dos-denial-of-service-attack/</guid>
      <description><![CDATA[The architectural changes in IIS 6.0 also make for a more secure platform. Worker processes run in...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>The architectural changes in IIS 6.0 also make for a more secure platform. Worker processes run in user mode and therefore can’t access privileged items in the kernel. They also run in the context of the Network Service account with relatively low privileges. Built-in ASP functions run in the context of the IUSR_machine account<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>Your capability to configure application pools enables you to limit the kernel request queue size, limit CPU utilization, and apply other restrictions to help ensure that an attack, when it comes, will have its impact minimized on the server overall. To help combat buffer overflow attacks, IIS 6.0 monitors incoming requests to identify unusually large transaction requests that are indicative of an attack. You can also configure IIS 6.0 to recycle worker processes if they consume too much physical or virtual memory based on limits that you specify on a per-application-pool basis, reducing the impact of memory overflow exploits. Your capability to isolate sites and applications using multiple application pools and to configure recycling parameters for those pools helps reduce the effect of denial-of-service attacks.<o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P><FONT size=3><FONT face=Calibri>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>Also as we see in below IIS6 architecture image the http.sys takes the credit for securing the IIS from Denial of Service attack by restricting the connection limit. But Http.sys is kernel component and hence if its affected by flood of million connections means your whole box is affected. In case of Attack, the http.sys will accept only configured connection and rest of these connections will be rejected by IIS 503 error. Only configured connections will be send to the application pool to serve the requests.</FONT></FONT></P><o:p></o:p></FONT></FONT>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;<IMG style="WIDTH: 469px; HEIGHT: 429px" title="Architecture IIS 6.0" alt="Architecture IIS 6.0" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/perfdude/WindowsLiveWriter/lsass.exeandw3wp.exeAnalyzingSSLperfor.0_103E6/clip_image001_2.gif" original-url="https://blogs.msdn.com/blogfiles/perfdude/WindowsLiveWriter/lsass.exeandw3wp.exeAnalyzingSSLperfor.0_103E6/clip_image001_2.gif" width=469 height=429 mce_src="https://blogs.msdn.com/blogfiles/perfdude/WindowsLiveWriter/lsass.exeandw3wp.exeAnalyzingSSLperfor.0_103E6/clip_image001_2.gif"></FONT></o:p></P>
<P style="MARGIN: 11.25pt 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'"><FONT size=3>Denial of Service (DOS) attack symptoms:<o:p></o:p></FONT></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>==========================================<o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 12pt" class=MsoNormal><FONT size=3><FONT face=Calibri>A Denial of Service (DOS) attack is made up of excessive successful or unsuccessful attempts to access the Web server or site with HTTP, File Transfer Protocol (FTP), or another protocol from a single IP address with the possible intention of increasing network traffic and denying access to other users. <o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 11.25pt 0cm 0pt" class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'"><FONT size=3>Possible Actions to prevent the attacks <o:p></o:p></FONT></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT face=Calibri>==========================================<o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Install URLScan and configure DenyUrlSequences to deny /. This will typically be implemented by the security team at your end. The following URL describes in detail about what URLSCAN is and how to configure it <o:p></o:p></SPAN></B></P>
<P style="TEXT-INDENT: 36pt; MARGIN: 0cm 0cm 0pt" class=MsoNormal><A href="https://www.urlscan.net/" mce_href="https://www.urlscan.net/"><FONT color=#0000ff size=3 face=Calibri>https://www.urlscan.net/</FONT></A><FONT size=3><FONT face=Calibri> <o:p></o:p></FONT></FONT></P>
<P style="TEXT-INDENT: 36pt; MARGIN: 0cm 0cm 0pt" class=MsoNormal><A href="https://msdn.microsoft.com/en-us/library/aa302368.aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa302368.aspx"><FONT size=3 face=Calibri>https://msdn.microsoft.com/en-us/library/aa302368.aspx</FONT></A><o:p></o:p></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Prevent Denial of Service (DOS) attacks in your web application<o:p></o:p></SPAN></B></P>
<P style="TEXT-INDENT: 36pt; MARGIN: 0cm 0cm 0pt" class=MsoNormal><A href="https://weblogs.asp.net/omarzabir/archive/2007/10/16/prevent-denial-of-service-dos-attacks-in-your-web-application.aspx" mce_href="https://weblogs.asp.net/omarzabir/archive/2007/10/16/prevent-denial-of-service-dos-attacks-in-your-web-application.aspx"><FONT size=3 face=Calibri>https://weblogs.asp.net/omarzabir/archive/2007/10/16/prevent-denial-of-service-dos-attacks-in-your-web-application.aspx</FONT></A><FONT size=3><FONT face=Calibri> <o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">For this type of attempt, set the firewall policy or TCP/IP filtering to block the IP. If the IP is internal, take the computer off the network to determine why it is trying to access the HTTP or FTP services of the Web server excessively.<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><A href="https://msdn.microsoft.com/en-us/library/aa302363.aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa302363.aspx"><FONT size=3 face=Calibri>https://msdn.microsoft.com/en-us/library/aa302363.aspx</FONT></A><o:p></o:p></P><B><o:p><FONT size=3 face=Calibri>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>How to harden the TCP/IP stack against denial of service attacks in Windows Server 2003<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><FONT size=2 face=Calibri><A href="https://support.microsoft.com/default.aspx?scid=kb;en-us;324270">https://support.microsoft.com/default.aspx?scid=kb;en-us;324270</A></FONT></FONT></o:p></B></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">ISA Server Network Protection: Protecting Against Floods and Attacks<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><A href="https://technet.microsoft.com/en-us/library/bb794735.aspx" mce_href="https://technet.microsoft.com/en-us/library/bb794735.aspx"><FONT size=3 face=Calibri>https://technet.microsoft.com/en-us/library/bb794735.aspx</FONT></A><FONT face=Calibri><FONT size=3> <o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Restrict the connection to a particular number of connections. The number of connection is something which you need to decide on the basis of your infrastructure</SPAN><FONT size=3 face=Calibri> and </FONT><A href="https://download.microsoft.com/download/0/1/a/01a053e8-3e18-4f73-b8e7-68d53a8232da/Medvedev_SSW-2005.ppt" mce_href="https://download.microsoft.com/download/0/1/a/01a053e8-3e18-4f73-b8e7-68d53a8232da/Medvedev_SSW-2005.ppt"><FONT size=3 face=Calibri>threat model</FONT></A><FONT size=3><FONT face=Calibri>.<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><IMG style="WIDTH: 461px; HEIGHT: 458px" title="IIS 6.0 connection restriction" alt="IIS 6.0 connection restriction" src="https://articles.techrepublic.com.com/i/tr/cms/contentPics/t01320031211boy01_f.gif" width=461 height=458 mce_src="https://articles.techrepublic.com.com/i/tr/cms/contentPics/t01320031211boy01_f.gif"></o:p></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><o:p></o:p></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 11.25pt 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: Symbol; FONT-SIZE: 10pt; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold"><SPAN style="mso-list: Ignore">·<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Building Secure Web Services<o:p></o:p></SPAN></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B><A href="https://msdn.microsoft.com/en-us/library/aa302428.aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa302428.aspx"><FONT size=3 face=Calibri>https://msdn.microsoft.com/en-us/library/aa302428.aspx</FONT></A></B></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B></B>&nbsp;</P>
<HR>

<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph mce_keep="true">&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B>For IIS 7.0 there is a tool called Dynamic IP Restrictions Extension for IIS which is still beta but has got below benefits</B></P>
<OL>
<LI>
<DIV style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B>Reduce the chances of a Denial of Service attack by dynamically blocking requests from malicious IP addresses.</B></DIV></LI>
<LI>
<DIV style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B>Minimize the possibilities of Brute-force-cracking of the passwords of your Web Server.</B></DIV></LI>
<LI>
<DIV style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><B>Maintain static lists containing IPs or domains that are begin denied to access the Web Server<o:p></o:p></B></DIV></LI></OL>]]></content:encoded>
    </item>
  </channel>
</rss>