<?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 How can Cortex XDR Pro find the origin process from a DNS request if the process not uses DnsQueryEx RPC Call in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/483167#M1926</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is somebody able to explain if Cortex XDR Pro is able to find the origin process if you have the DNS Query? A lot of windows internal process uses rpc calls to a svchhost.exe, which then makes the dns resolving, which is cortex xdr pro the source of a searched dns request. If i understand this articel right: &lt;A href="https://stackoverflow.com/questions/62777128/per-process-dns-in-windows" target="_blank"&gt;https://stackoverflow.com/questions/62777128/per-process-dns-in-windows&lt;/A&gt; only process with api call to DnsQueryEx can traced back to the process which was the origin of a dns request. How can we find all other process which not uses the rpc DnsQueryEx? Is there a hook to a svchost which loads dnsrslvr.dll, if yes how can we get the information to find the origin process of the dns request?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx for any ideas&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 14:58:07 GMT</pubDate>
    <dc:creator>fhu_omi</dc:creator>
    <dc:date>2022-04-27T14:58:07Z</dc:date>
    <item>
      <title>How can Cortex XDR Pro find the origin process from a DNS request if the process not uses DnsQueryEx RPC Call</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/483167#M1926</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is somebody able to explain if Cortex XDR Pro is able to find the origin process if you have the DNS Query? A lot of windows internal process uses rpc calls to a svchhost.exe, which then makes the dns resolving, which is cortex xdr pro the source of a searched dns request. If i understand this articel right: &lt;A href="https://stackoverflow.com/questions/62777128/per-process-dns-in-windows" target="_blank"&gt;https://stackoverflow.com/questions/62777128/per-process-dns-in-windows&lt;/A&gt; only process with api call to DnsQueryEx can traced back to the process which was the origin of a dns request. How can we find all other process which not uses the rpc DnsQueryEx? Is there a hook to a svchost which loads dnsrslvr.dll, if yes how can we get the information to find the origin process of the dns request?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx for any ideas&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:58:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/483167#M1926</guid>
      <dc:creator>fhu_omi</dc:creator>
      <dc:date>2022-04-27T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can Cortex XDR Pro find the origin process from a DNS request if the process not uses DnsQueryEx RPC Call</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/483989#M1931</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/173884"&gt;@fhu_omi&lt;/a&gt;&amp;nbsp;What is the use cases behind this post?&lt;/P&gt;&lt;P&gt;If I understand your question right you are looking to find the origin process which requested "svchost.exe dnscache" for a name resolution for a domain name?&lt;/P&gt;&lt;P&gt;You are not interested in knowing the process which makes direct call to DnsQueryEx API, correct?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 14:46:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/483989#M1931</guid>
      <dc:creator>KanwarSingh01</dc:creator>
      <dc:date>2022-04-30T14:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can Cortex XDR Pro find the origin process from a DNS request if the process not uses DnsQueryEx RPC Call</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/484419#M1934</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/163390"&gt;@KanwarSingh01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The usecase is, that we saw on firewall dns request which where sinkholed. Now we need to know which process was the cause. We nailed it down to the svchost.exe dnscache, but we need process which made the dns request to svchost.exe dnscache. As i understand, if a process is programmed to use the api call DnsQueryEx, then is no svchost.exe involved and Cortex XDR is able to show direct the right process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;FH&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 05:54:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/484419#M1934</guid>
      <dc:creator>fhu_omi</dc:creator>
      <dc:date>2022-05-03T05:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can Cortex XDR Pro find the origin process from a DNS request if the process not uses DnsQueryEx RPC Call</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/484433#M1935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/173884"&gt;@fhu_omi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't think so this is possible, cause the call to "dnscache svchost.exe process" relays the request on behalf of the process. But you can consider this to trace a process making calls to malicious domain.&lt;/P&gt;&lt;P&gt;When a process which makes network comms to an external domain will lookup for ip address resolution via svchost.exe process and then DNS sinkhole will return a response if the IP is malicious with a sink hole IP, now we have an answer to a query which will be IP address aaa.bbb.ccc.ddd for example.&lt;/P&gt;&lt;P&gt;Now, the process which asked for the lookup will get answer to the query via svchost.exe from Sink hole and then will start making network connection to the returned IP, from here what you can do is you can lookup for the process which is making IP address comms to your sink hole address via cortex queries etc and you will get your possible trace for the malicious DNS request.&lt;/P&gt;&lt;P&gt;Please make sure your DNS Sinkhole return IP for malicious query should be a reachable IP address probably somewhere on network device or some server which points to a dead end but have ports such as 443,80,53,445 etc enabled. So that your network comms get a valid reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are just my thoughts. Please let me know, if that was helpful.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 06:36:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/how-can-cortex-xdr-pro-find-the-origin-process-from-a-dns/m-p/484433#M1935</guid>
      <dc:creator>KanwarSingh01</dc:creator>
      <dc:date>2022-05-03T06:36:15Z</dc:date>
    </item>
  </channel>
</rss>

