<?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: Query to see user that launched an EXE and how many times in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1230188#M8352</link>
    <description>&lt;P&gt;Issue was solved in the initial post, found the proper schema to use to find all the data needed, see main comment:&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229076/highlight/true#M8308" target="_blank"&gt;https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229076/highlight/true#M8308&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2025 17:04:30 GMT</pubDate>
    <dc:creator>J.Suter</dc:creator>
    <dc:date>2025-05-27T17:04:30Z</dc:date>
    <item>
      <title>Query to see user that launched an EXE and how many times</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229076#M8308</link>
      <description>&lt;P&gt;I've been trying so many different queries and cant seem to make one that shows me what users launched an EXE and when or how many times as a count.&lt;BR /&gt;&lt;BR /&gt;As an example to make it easy:&lt;/P&gt;
&lt;P&gt;Search for everyone that executed &lt;STRONG&gt;winword.exe&lt;/STRONG&gt; and show me when they did it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Or search of&amp;nbsp;everyone that executed &lt;STRONG&gt;winword.exe&lt;/STRONG&gt; and count of times in X range&lt;BR /&gt;&lt;BR /&gt;If anyone has a query and could share it that would be so helpful, I'm having a hard time getting my schema to work.&lt;BR /&gt;&lt;BR /&gt;Thank you so much!&lt;BR /&gt;&lt;LI-PRODUCT title="Cortex XDR" id="Cortex_XDR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Edit: I have this working, but I'm not stuck on how to make a count: the "winword.exe" will become $Application for my user base.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = xdr_data
 | filter action_process_image_name = "winword.exe"
 | fields agent_hostname , actor_effective_username , action_process_image_name , action_process_image_path 
 | sort desc _time &lt;/LI-CODE&gt;
&lt;P&gt;Got it, leaving this here for anyone else that may need this information:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = xdr_data
 | filter action_process_image_name = "winword.exe"
 | fields agent_hostname , actor_effective_username , action_process_image_name , action_process_image_path
 | comp count(actor_effective_username) as counter by actor_effective_username
 | sort desc Counter&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 16:42:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229076#M8308</guid>
      <dc:creator>J.Suter</dc:creator>
      <dc:date>2025-05-14T16:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query to see user that launched an EXE and how many times</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229165#M8313</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can use the below XQL query to search the file executions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;config timeframe = 7d&lt;BR /&gt;|dataset = xdr_data &lt;BR /&gt;| filter event_type = ENUM.PROCESS &lt;BR /&gt;| filter actor_process_image_name = "chrome.exe"&lt;BR /&gt;| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_image_path, actor_process_image_md5, actor_process_file_create_time, actor_process_execution_time, actor_process_signature_product, actor_process_file_internal_name &lt;BR /&gt;| sort desc _time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please accept this solution if this resolves your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Manjunath Basutkar&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 15:12:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229165#M8313</guid>
      <dc:creator>mbasutkar</dc:creator>
      <dc:date>2025-05-15T15:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Query to see user that launched an EXE and how many times</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1230188#M8352</link>
      <description>&lt;P&gt;Issue was solved in the initial post, found the proper schema to use to find all the data needed, see main comment:&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229076/highlight/true#M8308" target="_blank"&gt;https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1229076/highlight/true#M8308&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 17:04:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-to-see-user-that-launched-an-exe-and-how-many-times/m-p/1230188#M8352</guid>
      <dc:creator>J.Suter</dc:creator>
      <dc:date>2025-05-27T17:04:30Z</dc:date>
    </item>
  </channel>
</rss>

