<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: re: 01339413 in Custom Signatures</title>
    <link>https://live.paloaltonetworks.com/t5/custom-signatures/re-01339413/m-p/306793#M337</link>
    <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/97284"&gt;@alal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the KB you post it seems the OS check comes to regex match in the HTTP header user-agent string.&lt;/P&gt;&lt;P&gt;As a start I would suggest you to check the regex expression and see if its match what it is expected or it needs to be improved. It will be useful if you can past it here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Googling around you should be able to find how different OS versions are described in the user-agent string. My first results says:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;For windows 10 it is Windows NT 10.0 for windows 8 it is 6.2, windows 8.1 it is 6.3 and windows 7 it is 6.1.&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/40218173/user-agent-for-windows-7-vs-8-vs-10" target="_blank"&gt;https://stackoverflow.com/questions/40218173/user-agent-for-windows-7-vs-8-vs-10&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So the regex expression should look like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;User-Agent:.+Windows NT 6\.1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is also very useful site - &lt;A href="http://www.useragentstring.com/" target="_blank"&gt;http://www.useragentstring.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 09:54:05 GMT</pubDate>
    <dc:creator>aleksandar.astardzhiev</dc:creator>
    <dc:date>2020-01-15T09:54:05Z</dc:date>
    <item>
      <title>re: 01339413</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/re-01339413/m-p/306778#M336</link>
      <description>&lt;P&gt;Hi Team&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One of my Customer has configured a custom signature to block the windows 7 machine based on Http request headers. This signature is working but hitting a lot of false positives as well. For example, he can see that window 8 and windows 10 also detected by this signature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The customer has followed this KB article:&amp;nbsp;&lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClHeCAK" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClHeCAK&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please advise what next can be one&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 08:58:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/re-01339413/m-p/306778#M336</guid>
      <dc:creator>alal</dc:creator>
      <dc:date>2020-01-15T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: re: 01339413</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/re-01339413/m-p/306793#M337</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/97284"&gt;@alal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the KB you post it seems the OS check comes to regex match in the HTTP header user-agent string.&lt;/P&gt;&lt;P&gt;As a start I would suggest you to check the regex expression and see if its match what it is expected or it needs to be improved. It will be useful if you can past it here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Googling around you should be able to find how different OS versions are described in the user-agent string. My first results says:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;For windows 10 it is Windows NT 10.0 for windows 8 it is 6.2, windows 8.1 it is 6.3 and windows 7 it is 6.1.&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/40218173/user-agent-for-windows-7-vs-8-vs-10" target="_blank"&gt;https://stackoverflow.com/questions/40218173/user-agent-for-windows-7-vs-8-vs-10&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So the regex expression should look like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;User-Agent:.+Windows NT 6\.1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is also very useful site - &lt;A href="http://www.useragentstring.com/" target="_blank"&gt;http://www.useragentstring.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 09:54:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/re-01339413/m-p/306793#M337</guid>
      <dc:creator>aleksandar.astardzhiev</dc:creator>
      <dc:date>2020-01-15T09:54:05Z</dc:date>
    </item>
  </channel>
</rss>

