<?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: XQL query for critical commands in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-critical-commands/m-p/1222789#M8004</link>
    <description>&lt;P&gt;The solution is to use:&lt;BR /&gt;&lt;SPAN&gt;actor_process_command_line in ("visudo*", "sudo -l*")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Mar 2025 15:04:01 GMT</pubDate>
    <dc:creator>R.Daz588554</dc:creator>
    <dc:date>2025-03-05T15:04:01Z</dc:date>
    <item>
      <title>XQL query for critical commands</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-critical-commands/m-p/1220167#M7872</link>
      <description>&lt;P&gt;Hi everyone.&lt;BR /&gt;I'm trying to create an XQL query for a BIOC that will trigger an alert when specific commands are run.&lt;BR /&gt;I've tried the "visudo" and "sudo -l" commands on two servers. On one it detects both commands and on the other it only detects the "visudo" command.&lt;BR /&gt;The XQL query is as follows:&lt;BR /&gt;&lt;BR /&gt;dataset = xdr_data&lt;BR /&gt;| filter event_type = ENUM.PROCESS and &lt;BR /&gt;event_sub_type = ENUM.PROCESS_START and&lt;BR /&gt;actor_process_command_line contains "visudo" or &lt;BR /&gt;actor_process_command_line contains "sudo -l"&lt;BR /&gt;&lt;BR /&gt;Can you tell me if I'm choosing the correct fields for the query? Any idea how I can achieve my goal?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 11:43:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-critical-commands/m-p/1220167#M7872</guid>
      <dc:creator>R.Daz588554</dc:creator>
      <dc:date>2025-02-12T11:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query for critical commands</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-critical-commands/m-p/1220171#M7873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1262231553"&gt;@R.Daz588554&lt;/a&gt;, thanks for reaching us using the Live Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are both servers the same distro? Maybe how the server runs the "sudo" command is different, try removing the event_type and event_sub_type filters.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 12:46:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-critical-commands/m-p/1220171#M7873</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2025-02-12T12:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query for critical commands</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-critical-commands/m-p/1222789#M8004</link>
      <description>&lt;P&gt;The solution is to use:&lt;BR /&gt;&lt;SPAN&gt;actor_process_command_line in ("visudo*", "sudo -l*")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 15:04:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-critical-commands/m-p/1222789#M8004</guid>
      <dc:creator>R.Daz588554</dc:creator>
      <dc:date>2025-03-05T15:04:01Z</dc:date>
    </item>
  </channel>
</rss>

