<?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: How have you resolved port scanning issues in a VSX environment? in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238988#M46369</link>
    <description>&lt;P&gt;I'm assuming this is a concern because VSX does not support automatically growing the connections table, and must be set to a fixed value that can be overflowed by a port scan's traffic that is accepted.&lt;/P&gt;
&lt;P&gt;As already mentioned in the thread, you can use the &lt;STRONG&gt;fwaccel dos rate&lt;/STRONG&gt; command to limit the number of new connections allowed per second, just make sure you execute this in the proper VS context (also check the &lt;EM&gt;new-conn-rate-ratio &lt;/EM&gt;option to see if that would be more appropriate):&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;fwaccel dos rate add -a d -l a service any source X.X.X.X/24 destination any new-conn-rate 20&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Another option is to ensure the Inspection Setting signature "Aggressive Aging" is enabled in the Inspection Settings profile your VS gateway is using, then configure it even more aggressively than the defaults like below.&amp;nbsp; You could even drop the default trigger percentage from 80% to something like 50% if you want to get even more aggressive, doing so should keep port scans from causing a major disruption:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aggressive.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/29259i54B9639BE7B5BFED/image-size/large?v=v2&amp;amp;px=999" role="button" title="aggressive.png" alt="aggressive.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jan 2025 15:30:17 GMT</pubDate>
    <dc:creator>Timothy_Hall</dc:creator>
    <dc:date>2025-01-18T15:30:17Z</dc:date>
    <item>
      <title>How have you resolved port scanning issues in a VSX environment?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238972#M46362</link>
      <description>&lt;P&gt;I have noticed that SAM Rules do not work in a VSX environment, and so far, I have not found any alternative solutions. I would like to prevent port scanning on a specific Virtual System. While the Core Protection 'Host Port Scan' signature does exist and can be modified from 'Inactive' to 'Accept,' according to SK110873, a SAM Rule must be created for it to take effect. What other solutions exist to address this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Topology:&lt;/P&gt;&lt;P&gt;-Maestro enviroment&lt;/P&gt;&lt;P&gt;-Security Group as VSX mode (4 Gateways)&lt;/P&gt;&lt;P&gt;-Many Virtual Systems is running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 19:24:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238972#M46362</guid>
      <dc:creator>dbran_2903</dc:creator>
      <dc:date>2025-01-17T19:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: How have you resolved port scanning issues in a VSX environment?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238976#M46363</link>
      <description>&lt;P&gt;The only thing the "prevention" does is issue a block to the relevant IP address (why it needs a SAM rule).&lt;BR /&gt;You can do something similar with rate limiting:&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk112454" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk112454&lt;/A&gt;&lt;BR /&gt;Granted, it's not tied to the specific Core Protection, though.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 22:44:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238976#M46363</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-01-17T22:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: How have you resolved port scanning issues in a VSX environment?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238982#M46367</link>
      <description>&lt;P&gt;Can you share the SAM rule config? I am not aware this should not work on VSX. PS I am struggling with the same issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to get SAMv2 working for port scan.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 12:23:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238982#M46367</guid>
      <dc:creator>Lesley</dc:creator>
      <dc:date>2025-01-18T12:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: How have you resolved port scanning issues in a VSX environment?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238984#M46368</link>
      <description>&lt;P&gt;Any more specifics you can share on the scans you're attempting to guard against?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Security-Gateways/Block-all-Shodan-scanners/m-p/113338" target="_blank"&gt;https://community.checkpoint.com/t5/Security-Gateways/Block-all-Shodan-scanners/m-p/113338&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 13:57:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238984#M46368</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2025-01-18T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How have you resolved port scanning issues in a VSX environment?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238988#M46369</link>
      <description>&lt;P&gt;I'm assuming this is a concern because VSX does not support automatically growing the connections table, and must be set to a fixed value that can be overflowed by a port scan's traffic that is accepted.&lt;/P&gt;
&lt;P&gt;As already mentioned in the thread, you can use the &lt;STRONG&gt;fwaccel dos rate&lt;/STRONG&gt; command to limit the number of new connections allowed per second, just make sure you execute this in the proper VS context (also check the &lt;EM&gt;new-conn-rate-ratio &lt;/EM&gt;option to see if that would be more appropriate):&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;fwaccel dos rate add -a d -l a service any source X.X.X.X/24 destination any new-conn-rate 20&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Another option is to ensure the Inspection Setting signature "Aggressive Aging" is enabled in the Inspection Settings profile your VS gateway is using, then configure it even more aggressively than the defaults like below.&amp;nbsp; You could even drop the default trigger percentage from 80% to something like 50% if you want to get even more aggressive, doing so should keep port scans from causing a major disruption:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aggressive.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/29259i54B9639BE7B5BFED/image-size/large?v=v2&amp;amp;px=999" role="button" title="aggressive.png" alt="aggressive.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 15:30:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/How-have-you-resolved-port-scanning-issues-in-a-VSX-environment/m-p/238988#M46369</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2025-01-18T15:30:17Z</dc:date>
    </item>
  </channel>
</rss>

