<?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 action_process_image_command_line Filter Issue in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/action-process-image-command-line-filter-issue/m-p/1231634#M8418</link>
    <description>&lt;P&gt;Hi, I'm trying to build a query that would check for reg.exe launches. This is well and good, but the moment I add a filter action_process_image_command_line = "reg save" nothing appears, even though it was part of the initial result for reg.exe. When I checked the schema,&amp;nbsp;action_process_image_command_line is a string, so I don't think my query was wrong. Is anyone else having the same issue?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config case_sensitive = false
| dataset = xdr_data
| filter agent_hostname = "hostname"
| filter event_type = ENUM.PROCESS and event_sub_type in (ENUM.PROCESS_START, ENUM.PROCESS_STOP) and action_process_image_name = "reg.exe*"
| filter action_process_image_command_line = "reg save"
| fields agent_hostname, actor_effective_username, action_process_image_command_line, action_process_image_name, actor_process_command_line, *command_line*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Unfiltered&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unfiltered" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/68021iE83690FF030EA1DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="unfiltered.jpg" alt="Unfiltered" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Unfiltered&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Filtered&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="filtered.jpg" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/68023i804CFF14316DADBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="filtered.jpg" alt="filtered.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2025 16:10:04 GMT</pubDate>
    <dc:creator>a2123k1</dc:creator>
    <dc:date>2025-06-12T16:10:04Z</dc:date>
    <item>
      <title>action_process_image_command_line Filter Issue</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/action-process-image-command-line-filter-issue/m-p/1231634#M8418</link>
      <description>&lt;P&gt;Hi, I'm trying to build a query that would check for reg.exe launches. This is well and good, but the moment I add a filter action_process_image_command_line = "reg save" nothing appears, even though it was part of the initial result for reg.exe. When I checked the schema,&amp;nbsp;action_process_image_command_line is a string, so I don't think my query was wrong. Is anyone else having the same issue?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config case_sensitive = false
| dataset = xdr_data
| filter agent_hostname = "hostname"
| filter event_type = ENUM.PROCESS and event_sub_type in (ENUM.PROCESS_START, ENUM.PROCESS_STOP) and action_process_image_name = "reg.exe*"
| filter action_process_image_command_line = "reg save"
| fields agent_hostname, actor_effective_username, action_process_image_command_line, action_process_image_name, actor_process_command_line, *command_line*&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Unfiltered&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unfiltered" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/68021iE83690FF030EA1DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="unfiltered.jpg" alt="Unfiltered" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Unfiltered&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Filtered&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="filtered.jpg" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/68023i804CFF14316DADBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="filtered.jpg" alt="filtered.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 16:10:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/action-process-image-command-line-filter-issue/m-p/1231634#M8418</guid>
      <dc:creator>a2123k1</dc:creator>
      <dc:date>2025-06-12T16:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: action_process_image_command_line Filter Issue</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/action-process-image-command-line-filter-issue/m-p/1231665#M8423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/336272"&gt;@a2123k1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Typically,&amp;nbsp;&lt;SPAN&gt;action_process_image_command_line would include the full command,&lt;FONT face="mingliu,biaukai"&gt; i.e&lt;EM&gt;&lt;FONT color="#333300"&gt;&amp;nbsp;"&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face="mingliu,biaukai"&gt;&lt;EM&gt;&lt;FONT color="#333300"&gt;&lt;SPAN&gt;reg save HKLM\\HARDWARE \"C:\\Program Files\...."&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;I would recommend shifting to contains instead&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| filter action_process_image_command_line contains "reg save"
&lt;/LI-CODE&gt;
&lt;P&gt;or leverage regex to ensure it starts with reg save&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;| filter action_process_image_command_line ~= "(^reg save(.*)$)"
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 21:08:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/action-process-image-command-line-filter-issue/m-p/1231665#M8423</guid>
      <dc:creator>A.Elzedy</dc:creator>
      <dc:date>2025-06-12T21:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: action_process_image_command_line Filter Issue</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/action-process-image-command-line-filter-issue/m-p/1231722#M8431</link>
      <description>&lt;P&gt;Thanks for the suggestion, those didn't work either.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 12:52:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/action-process-image-command-line-filter-issue/m-p/1231722#M8431</guid>
      <dc:creator>a2123k1</dc:creator>
      <dc:date>2025-06-13T12:52:35Z</dc:date>
    </item>
  </channel>
</rss>

