<?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 Finding if a URL was visited using XQL in Cortex in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/535129#M3903</link>
    <description>&lt;P&gt;We wanted to see if we could use XQL to query for if a URL was visited in our environment. Is there a way to structure a working query for this using XQL? We've tried unsuccessfully so far, so we are turning to you, the community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for any assistance.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 18:21:35 GMT</pubDate>
    <dc:creator>KErickson1</dc:creator>
    <dc:date>2023-03-20T18:21:35Z</dc:date>
    <item>
      <title>Finding if a URL was visited using XQL in Cortex</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/535129#M3903</link>
      <description>&lt;P&gt;We wanted to see if we could use XQL to query for if a URL was visited in our environment. Is there a way to structure a working query for this using XQL? We've tried unsuccessfully so far, so we are turning to you, the community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for any assistance.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:21:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/535129#M3903</guid>
      <dc:creator>KErickson1</dc:creator>
      <dc:date>2023-03-20T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if a URL was visited using XQL in Cortex</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/535158#M3904</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/239019"&gt;@KErickson1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a few ways you could go about forming this type of query via XQL. If the forensics add-on is in use, you can query the various &lt;EM&gt;forensics_&amp;lt;browser&amp;gt;_history&lt;/EM&gt; datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option could be investigating DNS queries from clients with the XDR agent installed using the &lt;EM&gt;network_story&lt;/EM&gt; preset. Of course, this won't be as detailed as entries in a browser history database (will not be able to determine if a specific URL was visited), but can still be useful in an investigation. Here is a query to help get started with this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config case_sensitive = false 
| preset = network_story 
| filter (dns_resolutions != null) 
| arrayexpand dns_resolutions 
| alter Resolution_Value = dns_resolutions -&amp;gt; value{}, Resolution_Name = dns_resolutions -&amp;gt; name{}
| fields agent_hostname, actor_process_image_name, actor_process_image_path, actor_process_command_line, Resolution_Name, Resolution_Value, dns_query_type, dns_resolutions
| filter Resolution_Name contains $domain
| sort desc _time &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you save it to the query library, you can input a particular domain name you are interested in, or simply replace &lt;CODE&gt;$domain&lt;/CODE&gt; in line 7 with your target domain directly in the query (e.g. &lt;CODE&gt;"example.com"&lt;/CODE&gt;) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timurphy_1-1679341452226.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/48910iA3EE684B68992C59/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="timurphy_1-1679341452226.png" alt="timurphy_1-1679341452226.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 19:49:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/535158#M3904</guid>
      <dc:creator>timurphy</dc:creator>
      <dc:date>2023-03-20T19:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if a URL was visited using XQL in Cortex</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/535176#M3905</link>
      <description>&lt;P&gt;Thanks Tim for getting back to us so quickly, this worked brilliantly first run!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 22:22:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/535176#M3905</guid>
      <dc:creator>KErickson1</dc:creator>
      <dc:date>2023-03-20T22:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if a URL was visited using XQL in Cortex</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/606941#M7350</link>
      <description>&lt;P&gt;What if you need to search 50 domains at one? Is there an efficient way?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 18:41:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/606941#M7350</guid>
      <dc:creator>Rashik</dc:creator>
      <dc:date>2024-10-18T18:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if a URL was visited using XQL in Cortex</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/608623#M7354</link>
      <description>&lt;P&gt;This below query may also help you&lt;BR /&gt;&lt;BR /&gt;preset = network_story &lt;BR /&gt;| filter dst_action_external_hostname in ("google.com", "telegram.com")&lt;BR /&gt;| fields _time, agent_hostname , agent_ip_addresses , actor_effective_username , agent_os_type , action_remote_ip, action_remote_port , actor_remote_ip , actor_remote_port, dst_action_external_hostname , action_external_hostname, action_total_upload&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 16:53:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/finding-if-a-url-was-visited-using-xql-in-cortex/m-p/608623#M7354</guid>
      <dc:creator>C.Uppin</dc:creator>
      <dc:date>2024-10-20T16:53:31Z</dc:date>
    </item>
  </channel>
</rss>

