<?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: Looking for a XQL query to identify if a specific domain is accessed in our environment. in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/586388#M6657</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/651417131"&gt;@ShubhamT281&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;I was able to reach the result using a more simple query:&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 dst_action_external_hostname contains "yourdomain.com"&lt;/LI-CODE&gt;
&lt;P&gt;The field "dst_action_external_hostname" is the key using that preset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post answers your question, please mark it as the solution.&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2024 15:12:08 GMT</pubDate>
    <dc:creator>jmazzeo</dc:creator>
    <dc:date>2024-05-10T15:12:08Z</dc:date>
    <item>
      <title>Looking for a XQL query to identify if a specific domain is accessed in our environment.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/586378#M6656</link>
      <description>&lt;P&gt;I have tried using the below XQL query to identify the domains accessed and tried to test it using my own system but somehow I am not getting all the results. For eg : when I tried common domain names like "google.com", "reddit.com". It worked and fetched results for me. When I tried to access a specific uncommon domain name like for eg : "&lt;A href="https://support.paloaltonetworks.com/" target="_blank"&gt;https://support.paloaltonetworks.com/&lt;/A&gt;" or "&lt;A href="https://learn.microsoft.com/&amp;quot;" target="_blank"&gt;https://learn.microsoft.com/"&lt;/A&gt;&amp;nbsp;on my system and then searched for this domain names using the below mentioned query it fetched no results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if there is something missing in the query to cover all the results. This has been a requirement for a long time but couldn't find a out of the box query from the query helper in XDR. Would appreciate if someone can help with this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;config case_sensitive = false &lt;BR /&gt;| preset = network_story &lt;BR /&gt;| filter (dns_resolutions != null) &lt;BR /&gt;| arrayexpand dns_resolutions &lt;BR /&gt;| alter Resolution_Value = dns_resolutions -&amp;gt; value{}, Resolution_Name = dns_resolutions -&amp;gt; name{}&lt;BR /&gt;| fields agent_hostname, actor_process_image_name, actor_process_image_path, actor_process_command_line, Resolution_Name, Resolution_Value, dns_query_type, dns_resolutions&lt;BR /&gt;| filter Resolution_Name contains $domain&lt;BR /&gt;| sort desc _time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note : I replace the $domain with the a domain I want to look up.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 13:27:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/586378#M6656</guid>
      <dc:creator>ShubhamT281</dc:creator>
      <dc:date>2024-05-10T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a XQL query to identify if a specific domain is accessed in our environment.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/586388#M6657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/651417131"&gt;@ShubhamT281&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;I was able to reach the result using a more simple query:&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 dst_action_external_hostname contains "yourdomain.com"&lt;/LI-CODE&gt;
&lt;P&gt;The field "dst_action_external_hostname" is the key using that preset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post answers your question, please mark it as the solution.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 15:12:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/586388#M6657</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2024-05-10T15:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a XQL query to identify if a specific domain is accessed in our environment.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/586487#M6667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/310428"&gt;@jmazzeo&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;This query works, thanks a lot for the prompt response.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 11:37:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/586487#M6667</guid>
      <dc:creator>ShubhamT281</dc:creator>
      <dc:date>2024-05-13T11:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a XQL query to identify if a specific domain is accessed in our environment.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/588030#M6741</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;config case_sensitive = false timeframe = 30d&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;|dataset = xdr_data&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;| filter dns_query_name contains "insert domain" or&amp;nbsp;action_external_hostname contains "insert domain" or&amp;nbsp;dst_action_external_hostname contains "insert domain"&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;this is what we use to see any attempts registered by XDR to access the domains.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 18:52:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/looking-for-a-xql-query-to-identify-if-a-specific-domain-is/m-p/588030#M6741</guid>
      <dc:creator>rufat87</dc:creator>
      <dc:date>2024-05-27T18:52:37Z</dc:date>
    </item>
  </channel>
</rss>

