<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'UrlScan'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=UrlScan&amp;orTags=0</link><description>Search results matching tag 'UrlScan'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Removeserverheader=1 causes http 400 bad request error</title><link>http://forums.iis.net/p/1160825/1916520.aspx#1916520</link><pubDate>Thu, 10 Sep 2009 21:08:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1916520</guid><dc:creator>mhnash</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;We need to hide the server header in HTTP respones. When I set the urlscan parameter, Removeserverheader to 1, the server header is not present in an HTTP response test.&lt;/p&gt;
&lt;p&gt;However, when the url for the login page to our site is accesed, a Page Cannot be Found&amp;nbsp;error page displays with HTTP 400 bad request.&lt;/p&gt;
&lt;p&gt;I set the value back to the default of 0, restart IIS and the login page works again.&lt;/p&gt;
&lt;p&gt;The same thing happens when we try to use the &lt;font style="BACKGROUND-COLOR:#ffff00;" face="Courier New"&gt;Alternateservername option as well.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>URLScan on Server Core</title><link>http://forums.iis.net/p/1158536/1907502.aspx#1907502</link><pubDate>Thu, 18 Jun 2009 13:58:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907502</guid><dc:creator>ShamusA</dc:creator><cs:applicationKey>iis7_-_security--1</cs:applicationKey><description>Hello,

Any way to deploy URLscan manually on a Windows 2008 core server build, installs ok on a Windows 2008 standard server, both being 32-bit builds. 

The URLscan.msi file gives access denied on the core server version.  


TIA,
Shamus</description></item><item><title>URLScan : How to build a fiter on user-agent ?</title><link>http://forums.iis.net/p/1158506/1907366.aspx#1907366</link><pubDate>Wed, 17 Jun 2009 14:12:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907366</guid><dc:creator>ggcgcg</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I try to build a filter on user-agent with URLScan for IIS6. &lt;/p&gt;
&lt;p&gt;The goal is to authorize a part of my website only for a unique specific user-agent.&lt;/p&gt;
&lt;p&gt;For the url &lt;a href="http://127.0.0.1/"&gt;http://127.0.0.1&lt;/a&gt; there is no filter. &lt;/p&gt;
&lt;p&gt;But for the url &lt;a href="http://172.0.0.1/MyFolder"&gt;http://172.0.0.1/MyFolder&lt;/a&gt;, I need to build a filter on XML files to protect them.&lt;/p&gt;
&lt;p&gt;The filter must authorized a unique specific user-agent which contains the srtring &amp;quot;MyUserAgent&amp;quot;. &lt;/p&gt;
&lt;p&gt;With the example below I can block some of user-agent but not authorize only one. In more, this filter is applied on all the website and not only on the url&amp;nbsp;&lt;a href="http://172.0.0.1/MyFolder"&gt;http://172.0.0.1/MyFolder&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[options]&lt;/p&gt;
&lt;p&gt;RuleList=TestGG&lt;/p&gt;
&lt;p&gt;[testGG]&lt;br /&gt;AppliesTo=.xml&lt;br /&gt;DenyDataSection=DenyGG&lt;br /&gt;ScanHeaders=User-Agent&lt;/p&gt;
&lt;p&gt;[DenyGG]&lt;br /&gt;MSIE&lt;br /&gt;Firefox&lt;/p&gt;
&lt;p&gt;How to do ?&lt;/p&gt;
&lt;p&gt;Help, please.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>UrlScan 3.1 - wildcards in AlwaysAllowedUrls</title><link>http://forums.iis.net/p/1157558/1903414.aspx#1903414</link><pubDate>Tue, 12 May 2009 09:36:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903414</guid><dc:creator>Klev</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>Hi,

Is there a possibility to add wildcards to AlwaysAllowedUrls? For example, i have a folder with dots in it&amp;#39;s name: &amp;#39;/some.folder/&amp;#39; and a lot of files in it. All files in this folder are blocked by UrlScan...</description></item><item><title>URLScan 3.1 help</title><link>http://forums.iis.net/p/1155880/1896198.aspx#1896198</link><pubDate>Tue, 10 Mar 2009 17:37:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1896198</guid><dc:creator>EvilTweety</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve been tasked to test URLScan 3.1 on an IIS 6.0.&amp;nbsp; I have installed and configured according to setup instructions and added the SQL Injection rule.&amp;nbsp; It works but only, it seems, at root level.&lt;/p&gt;
&lt;p&gt;For example, when testing a simple login page at the top level i.e. &amp;nbsp;&lt;a href="http://www.somesite.com/login.asp"&gt;www.somesite.com/login.asp&lt;/a&gt;&amp;nbsp;, URLScan catches SQL Injection and logs accordingly. However, for a subdirectory i.e. &lt;a href="http://www.somesite.com/level1/feedback/feedback.asp"&gt;www.somesite.com/level1/feedback/feedback.asp&lt;/a&gt;, tested SQL Injection gets thru and it is not logged.&lt;/p&gt;
&lt;p&gt;I have tried URLScan as a global and site level ISAPI Filter, both ways produce the above results.&amp;nbsp; Any ideas?&lt;/p&gt;</description></item><item><title>urlscan and logging to a unc path</title><link>http://forums.iis.net/p/1152933/1884245.aspx#1884245</link><pubDate>Mon, 10 Nov 2008 03:21:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1884245</guid><dc:creator>Vissuluth</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;I have IIS on&amp;nbsp;my web&amp;nbsp;servers log to a central server.&amp;nbsp; To do this I followed the following links:&lt;/p&gt;
&lt;p&gt;Configuring IIS to Log Data on a Remote Share: &lt;a href="http://technet.microsoft.com/en-us/library/cc757377.aspx"&gt;http://technet.microsoft.com/en-us/library/cc757377.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Setting Up a Null Session for Cross-Domain Logging: &lt;a href="http://technet.microsoft.com/en-us/library/cc728059.aspx"&gt;http://technet.microsoft.com/en-us/library/cc728059.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have added the directory iislogs$ to the NullSessionShares registory key and IIS has been loggin there for a number of months now.&lt;/p&gt;
&lt;p&gt;In my urlscan.ini I have LoggingDirectory=\\RemoteServer\iislogs$\WebServer\urlscan but itdoesnt log and I cant find any error logs to point me to what Im missing.&amp;nbsp; Does anyone have any advice on how to log to a unc share? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using windows 2k3 sp2 for both web server and log server.&amp;nbsp; URLScan version 3.0&lt;/p&gt;</description></item><item><title>Re: Use URLRewrite to help protect again certain sql injection attacks.</title><link>http://forums.iis.net/p/1152314/1881935.aspx#1881935</link><pubDate>Mon, 13 Oct 2008 20:44:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881935</guid><dc:creator>ruslany</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;If URLScan is installed on IIS7 it will run before the request filter and url rewriter. By default the relative order of execution of these three is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;URLScan&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Request Filter&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;URL Rewrite&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>URLSCAN logging only option?</title><link>http://forums.iis.net/p/1152347/1881872.aspx#1881872</link><pubDate>Mon, 13 Oct 2008 13:33:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881872</guid><dc:creator>RickyE</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Does anyone know if&amp;nbsp;there is&amp;nbsp;a way to have URLSCAN only log what it would block?&amp;nbsp; We&amp;#39;d like to use on a production server, but we don&amp;#39;t want to actually block requests until we&amp;#39;ve tuned the ruleset.&lt;/p&gt;
&lt;p&gt;We do have a development server, but I can&amp;#39;t guarantee testing there would&amp;nbsp;cover 100% of all the usage scenarios.&amp;nbsp; We&amp;#39;re on IIS6.&lt;/p&gt;
&lt;p&gt;Thanks, Rick&lt;/p&gt;</description></item><item><title>Re: URLScan 3.0 not logging</title><link>http://forums.iis.net/p/1152077/1880792.aspx#1880792</link><pubDate>Tue, 30 Sep 2008 18:57:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1880792</guid><dc:creator>RedCrystal</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;Did you check the security permissions at the&amp;nbsp;E:\logfiles folder (if you have not created the UrlScan folder under it) or the E:\logfiles\UrlScan folder itself (if you did create it)?&lt;/p&gt;
&lt;p&gt;According to the UrlScan setup page:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Make sure that IIS worker processes have write permissions to this folder. For IIS 6.0 make sure you give IIS_WPG write permissions to this folder and for IIS 7.0 make sure you give IIS_IUSRS write permission to this folder.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;from &lt;a href="http://learn.iis.net/page.aspx/475/urlscan-setup/"&gt;http://learn.iis.net/page.aspx/475/urlscan-setup/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>UrlScan not blocking URL segments</title><link>http://forums.iis.net/p/1152082/1880787.aspx#1880787</link><pubDate>Tue, 30 Sep 2008 18:45:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1880787</guid><dc:creator>RedCrystal</dc:creator><cs:applicationKey>security--1</cs:applicationKey><description>&lt;p&gt;I&amp;#39;m using UrlScan 3.0 on IIS 6.0 (IIS&amp;nbsp;7.0 is not an option).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I need to block all requests for URLs which contain &amp;quot;NR&amp;quot; as a path segment:&lt;/p&gt;
&lt;p&gt;http://localhost/&lt;strong&gt;NR&lt;/strong&gt;/....&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s my UrlScan.ini file (most settings are the defaults, changes are in italics, things I think are significant are in bold):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[options]&lt;br /&gt;UseAllowVerbs=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;UseAllowExtensions=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;strong&gt;NormalizeUrlBeforeScan=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;VerifyNormalization=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/strong&gt;AllowHighBitCharacters=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;AllowDotInPath=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;RemoveServerHeader=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;EnableLogging=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;PerProcessLogging=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;AllowLateScanning=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;PerDayLogging=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;UseFastPathReject=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;LogLongUrls=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;UnescapeQueryString=1&lt;br /&gt;&lt;em&gt;RejectResponseUrl=/FilterRejectUrl&lt;br /&gt;LoggingDirectory=E:\UrlScan&lt;/em&gt;&lt;br /&gt;AlternateServerName=&lt;br /&gt;&lt;em&gt;RuleList=BlockCmsNrRule&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;[BlockCmsNrRule]&lt;br /&gt;DenyDataSection=BlockCmsNrRuleSegments&lt;br /&gt;ScanURL=1&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;[BlockCmsNrRuleSegments]&lt;br /&gt;/NR/&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;[RequestLimits]&lt;br /&gt;MaxAllowedContentLength=30000000&lt;br /&gt;MaxUrl=260&lt;br /&gt;MaxQueryString=2048&lt;/p&gt;
&lt;p&gt;[AllowVerbs]&lt;br /&gt;GET&lt;br /&gt;HEAD&lt;br /&gt;POST&lt;/p&gt;
&lt;p&gt;[DenyVerbs]&lt;br /&gt;PROPFIND&lt;br /&gt;PROPPATCH&lt;br /&gt;MKCOL&lt;br /&gt;DELETE&lt;br /&gt;PUT&lt;br /&gt;COPY&lt;br /&gt;MOVE&lt;br /&gt;LOCK&lt;br /&gt;UNLOCK&lt;br /&gt;OPTIONS&lt;br /&gt;SEARCH&lt;/p&gt;
&lt;p&gt;[DenyHeaders]&lt;br /&gt;Translate:&lt;br /&gt;If:&lt;br /&gt;Lock-Token:&lt;br /&gt;Transfer-Encoding:&lt;/p&gt;
&lt;p&gt;[AllowExtensions]&lt;br /&gt;.htm&lt;br /&gt;.html&lt;br /&gt;.txt&lt;br /&gt;.jpg&lt;br /&gt;.jpeg&lt;br /&gt;.gif&lt;/p&gt;
&lt;p&gt;[DenyExtensions]&lt;br /&gt;.exe&lt;br /&gt;.bat&lt;br /&gt;.cmd&lt;br /&gt;.com&lt;/p&gt;
&lt;p&gt;.htw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.ida&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.idq&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.htr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.idc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.shtm&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.shtml&amp;nbsp;&amp;nbsp; &lt;br /&gt;.stm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.printer &lt;/p&gt;
&lt;p&gt;.ini&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.pol&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.dat&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;.config&amp;nbsp; &lt;/p&gt;
&lt;p&gt;[AlwaysAllowedUrls]&lt;/p&gt;
&lt;p&gt;[DenyUrlSequences]&lt;br /&gt;..&amp;nbsp; &lt;br /&gt;./&amp;nbsp; &lt;br /&gt;\&amp;nbsp;&amp;nbsp; &lt;br /&gt;:&amp;nbsp;&amp;nbsp; &lt;br /&gt;%&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;amp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;[AlwaysAllowedQueryStrings]&lt;/p&gt;
&lt;p&gt;[DenyQueryStringSequences]&lt;br /&gt;&amp;lt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The &amp;quot;Common UrlScan Scenarios&amp;quot; page (&lt;a href="http://learn.iis.net/page.aspx/476/common-urlscan-scenarios/"&gt;http://learn.iis.net/page.aspx/476/common-urlscan-scenarios/&lt;/a&gt;) says of the rule data section (which I&amp;#39;ve named &lt;em&gt;[BlockCmsNrRuleSegments]&lt;/em&gt;)&amp;nbsp;&amp;quot;This list is case insensitive and allows entering encoded values of the format %XX, where XX are hexadecimal digits.&amp;quot;&lt;/p&gt;
&lt;p&gt;This is not quite what I&amp;#39;m encountering. If I use Fiddler to request &lt;a href="http://localhost/nR/"&gt;http://localhost/%6ER/&lt;/a&gt;... (which is a valid escaped URL for &lt;strong&gt;/NR/&lt;/strong&gt; (case sensitive)), the request is indeed blocked (shows up in the log file and everything). But if I request &lt;a href="http://localhost/Nr/"&gt;http://localhost/%4Er/&lt;/a&gt;... (a valid escaped URL for &lt;strong&gt;/nr/&lt;/strong&gt; (case-sensitive)), that goes through and I get the resource I&amp;#39;m trying to block.&lt;/p&gt;
&lt;p&gt;Is there a better way to write the rule to make sure clever URL escaping is still blocked? Or just to make sure I can totally block all requests for anything with that path segment? What am I missing?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item></channel></rss>