<?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 XQL query for browsers installed or in usage on host + Host_name. in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/590932#M6866</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need to find which browsers the users using for daily tasks.&lt;BR /&gt;I'm looking for a XQL query for browsers installed or browsers in usage by the user + hostname,&lt;BR /&gt;The date that the app installed and the version is not so important as long as i get the browser name or vendor like chrome, Firefox etc.&lt;BR /&gt;I can provide browsers list to search for or any other way to find it.&lt;BR /&gt;&lt;BR /&gt;I tried a few query but once I check the result it didn't was accrued.&lt;BR /&gt;&lt;BR /&gt;B.Regards,&lt;BR /&gt;Ori&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 14:24:03 GMT</pubDate>
    <dc:creator>ori_stolero</dc:creator>
    <dc:date>2024-07-02T14:24:03Z</dc:date>
    <item>
      <title>XQL query for browsers installed or in usage on host + Host_name.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/590932#M6866</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need to find which browsers the users using for daily tasks.&lt;BR /&gt;I'm looking for a XQL query for browsers installed or browsers in usage by the user + hostname,&lt;BR /&gt;The date that the app installed and the version is not so important as long as i get the browser name or vendor like chrome, Firefox etc.&lt;BR /&gt;I can provide browsers list to search for or any other way to find it.&lt;BR /&gt;&lt;BR /&gt;I tried a few query but once I check the result it didn't was accrued.&lt;BR /&gt;&lt;BR /&gt;B.Regards,&lt;BR /&gt;Ori&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:24:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/590932#M6866</guid>
      <dc:creator>ori_stolero</dc:creator>
      <dc:date>2024-07-02T14:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query for browsers installed or in usage on host + Host_name.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/591200#M6871</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/389372983"&gt;@ori_stolero&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share what you have tried already ?&lt;BR /&gt;&lt;BR /&gt;I was thinking something along these lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = xdr_data
| filter lowercase(action_file_path) in ('c:\program files\google\chrome\application\chrome.exe', 
                                         'c:\program files\mozilla firefox\firefox.exe', 
                                         'c:\program files (x86)\microsoft\edge\application\msedge.exe',
                                         'c:\program files\internet explorer\iexplore.exe',
                                         'c:\program files\opera\launcher.exe',
                                         'c:\program files\safari\safari.exe')
| fields agent_hostname, action_file_path, action_file_name, action_local_ip, action_remote_ip
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This query filters the xdr_data dataset for specific paths where browser executables are typically located. The lowercase function ensures the path comparison is case-insensitive. You can add or modify paths according to the actual installation directories used in your environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;&lt;STRONG&gt;"fields agent_hostname, action_file_path, action_file_name, action_local_ip, action_remote_ip"&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;specifies the fields to include in the output, such as the hostname, file path, file name, and local/remote IP addresses involved in the action.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;-Kim.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 10:08:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/591200#M6871</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2024-07-04T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query for browsers installed or in usage on host + Host_name.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/591217#M6877</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply,&lt;BR /&gt;The Issue is that if the application installed too long (for Ex a year ago) the query don't find it,&lt;BR /&gt;i tried to run this query for last month,&lt;BR /&gt;&lt;BR /&gt;dataset = xdr_data&lt;BR /&gt;| filter lowercase(action_file_path) in ("C:\Users\Username\AppData\Local\Vivaldi\Application\Vivaldi.exe")&lt;BR /&gt;| fields agent_hostname, action_file_path, action_file_name, action_local_ip, action_remote_ip&lt;BR /&gt;&lt;BR /&gt;But it didn't give any results.&lt;BR /&gt;Any Idea will be appreciated?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I query that I tried is this one;&lt;BR /&gt;**************************************************************&amp;nbsp;&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter applications != null&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter applicationname=json_extract(applications, "$.application_name")&lt;BR /&gt;| alter applicationversion=json_extract(applications, "$.version")&lt;BR /&gt;| alter appvendor=json_extract(applications, "$.vendor")&lt;BR /&gt;| alter installdate=json_extract(applications, "$.install_date")&lt;BR /&gt;| alter applicationNameCount = "0" // create a new column called 'applicationnameC&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Chrome", replace (applicationNameCount, "0" , "1" ), applicationNameCount ) // if application 1 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Firefox", replace (applicationNameCount, "0", "2"), applicationNameCount ) // if application 2 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "brave", replace (applicationNameCount, "0" , "3" ), applicationNameCount ) // if application 3 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "edge", replace (applicationNameCount, "0" , "4" ), applicationNameCount ) // if application 4 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Amigo", replace (applicationNameCount, "0" , "5" ), applicationNameCount ) // if application 5 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Arc", replace (applicationNameCount, "0" , "6" ), applicationNameCount ) // if application 6 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Chromium", replace (applicationNameCount, "0" , "7" ), applicationNameCount ) // if application 7 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Vivaldi", replace (applicationNameCount, "0" , "8" ), applicationNameCount ) // if application 8 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "opera", replace (applicationNameCount, "0" , "9" ), applicationNameCount ) // if application 9 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "safari", replace (applicationNameCount, "0" , "10" ), applicationNameCount ) // if application 10 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Tor", replace (applicationNameCount, "0" , "11" ), applicationNameCount ) // if application 11 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Sogou", replace (applicationNameCount, "0" , "12" ), applicationNameCount ) // if application 12 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "QQ", replace (applicationNameCount, "0" , "13" ), applicationNameCount ) // if application 13 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Yandex", replace (applicationNameCount, "0" , "14" ), applicationNameCount ) // if application 14 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Baidu", replace (applicationNameCount, "0" , "15" ), applicationNameCount ) // if application 15 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "Amigo", replace (applicationNameCount, "0" , "16" ), applicationNameCount ) // if application 16 is installed&lt;BR /&gt;| alter applicationNameCount = if (applicationname contains "uc", replace (applicationNameCount, "0" , "17" ), applicationNameCount ) // if application 16 is installed&lt;BR /&gt;| comp sum (to_integer(applicationNameCount)) as appInstalled by host_name &lt;BR /&gt;**************************************************************&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 12:24:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/591217#M6877</guid>
      <dc:creator>ori_stolero</dc:creator>
      <dc:date>2024-07-04T12:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query for browsers installed or in usage on host + Host_name.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/591439#M6887</link>
      <description>&lt;P&gt;Any other ideas are greatly appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 10:32:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-browsers-installed-or-in-usage-on-host-host-name/m-p/591439#M6887</guid>
      <dc:creator>ori_stolero</dc:creator>
      <dc:date>2024-07-09T10:32:12Z</dc:date>
    </item>
  </channel>
</rss>

