<?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: co- relation rule for detecting one host scanning multiple ports in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/co-relation-rule-for-detecting-one-host-scanning-multiple-ports/m-p/538711#M4122</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can probably use this, please see below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correlation Alert Rule Query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config case_sensitive = false 
| preset = network_story 
| filter action_remote_port &amp;lt; 1025 //You can increase this number according to your needs but port range till 1025 will be good enough.
| fields agent_hostname as Hostname, action_local_ip as SRC_IP, action_remote_ip as DST_IP, action_remote_port as DST_Port
| comp count_distinct(DST_Port) as Counter by Hostname, SRC_IP, DST_IP 
| filter Counter &amp;gt; 25 //Adjust the counter value according to your needs.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For alert drill down, please use below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config case_sensitive = false 
| dataset = xdr_data 
| filter action_local_ip = $SRC_IP and action_remote_ip = $DST_IP
| fields agent_hostname as Hostname, action_local_ip, action_remote_ip, action_remote_port, actor_process_image_name, actor_process_command_line, actor_effective_username, actor_process_image_path &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know the outcome.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 05:35:21 GMT</pubDate>
    <dc:creator>KanwarSingh01</dc:creator>
    <dc:date>2023-04-14T05:35:21Z</dc:date>
    <item>
      <title>co- relation rule for detecting one host scanning multiple ports</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/co-relation-rule-for-detecting-one-host-scanning-multiple-ports/m-p/538579#M4109</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider gq b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider gq b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Can you please help with co- relation rule for detecting one host scanning multiple ports&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider gq b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider gq b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Shashank&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 08:43:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/co-relation-rule-for-detecting-one-host-scanning-multiple-ports/m-p/538579#M4109</guid>
      <dc:creator>Shashanksinha</dc:creator>
      <dc:date>2023-04-13T08:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: co- relation rule for detecting one host scanning multiple ports</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/co-relation-rule-for-detecting-one-host-scanning-multiple-ports/m-p/538675#M4119</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching LIVEcommunity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm doing some research to look into this and will get back to you as soon as I can.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 00:31:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/co-relation-rule-for-detecting-one-host-scanning-multiple-ports/m-p/538675#M4119</guid>
      <dc:creator>anlynch</dc:creator>
      <dc:date>2023-04-14T00:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: co- relation rule for detecting one host scanning multiple ports</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/co-relation-rule-for-detecting-one-host-scanning-multiple-ports/m-p/538711#M4122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can probably use this, please see below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correlation Alert Rule Query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config case_sensitive = false 
| preset = network_story 
| filter action_remote_port &amp;lt; 1025 //You can increase this number according to your needs but port range till 1025 will be good enough.
| fields agent_hostname as Hostname, action_local_ip as SRC_IP, action_remote_ip as DST_IP, action_remote_port as DST_Port
| comp count_distinct(DST_Port) as Counter by Hostname, SRC_IP, DST_IP 
| filter Counter &amp;gt; 25 //Adjust the counter value according to your needs.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For alert drill down, please use below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config case_sensitive = false 
| dataset = xdr_data 
| filter action_local_ip = $SRC_IP and action_remote_ip = $DST_IP
| fields agent_hostname as Hostname, action_local_ip, action_remote_ip, action_remote_port, actor_process_image_name, actor_process_command_line, actor_effective_username, actor_process_image_path &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know the outcome.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 05:35:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/co-relation-rule-for-detecting-one-host-scanning-multiple-ports/m-p/538711#M4122</guid>
      <dc:creator>KanwarSingh01</dc:creator>
      <dc:date>2023-04-14T05:35:21Z</dc:date>
    </item>
  </channel>
</rss>

