<?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: DNS req/res does not work with &amp;quot;transaction&amp;quot; context in Custom Signatures</title>
    <link>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1243126#M731</link>
    <description>&lt;P&gt;Hi Nikoolayy1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for replying!&lt;/P&gt;
&lt;P&gt;Unfortunately, combination signature is for custom vulnerability. We don't have that option for app-id.&lt;/P&gt;
&lt;P&gt;Anyhow, I would like to understand why it is working this way.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Dec 2025 06:25:15 GMT</pubDate>
    <dc:creator>dsebalj</dc:creator>
    <dc:date>2025-12-04T06:25:15Z</dc:date>
    <item>
      <title>DNS req/res does not work with "transaction" scope</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1242466#M729</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm playing with the app-id custom signature to catch the DNS Rebinding. I have some experience with the custom app-ids and I do understand the difference between the "transaction" and "session" context (well, at least I thought so). The thing is... I want to base my signature based on the DNS req and res in a way they need to be "glued". For example, if I see a DNS req/res:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DNS query: abc.example.com&lt;/P&gt;
&lt;P&gt;DNS answer: 10.10.10.10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it should match my custom app id.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In contrast, if a req/res looks like:&lt;BR /&gt;DNS query: abc.example.com&lt;/P&gt;
&lt;P&gt;DNS answer: 10.10.10.11&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't want to match on that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now comes the confusing part. For me, DNS req/res should be part of "transaction", i.e., Palo Alto sees a DNS req and waiting for the DNS res to match the signature. No difference than what we have with the HTTP req/res.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason it seems this does not work for DNS. If I change the context to "session" based, it works. Unfortunately, there is no much, if any example on creating more complex signatures with multiple AND/OR operators and there is almost none documentation about "transaction" and "session" context, although it should be pretty clear what it is - it seems there are some intrinsic about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 06:20:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1242466#M729</guid>
      <dc:creator>dsebalj</dc:creator>
      <dc:date>2025-12-04T06:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: DNS req/res does not work with "transaction" context</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1242998#M730</link>
      <description>&lt;P&gt;What about combination signature that matches 1 signature for request and 1 for response? I think maybe in some cases a transaction could be one direction also just in case see that your signature is configured to trigger in the two directions not just client to server or server to client.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have seen simmilar issue for HTTP req/response as I have mentioned in:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-articles/rate-limiting-file-uploads-with-palo-alto-networks-custom/ta-p/1239571" target="_blank" rel="noopener"&gt;LIVEcommunity - Rate-Limiting File Uploads with Palo Alto Networks Custom Signatures. - LIVEcommunity - 1239571&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 16:32:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1242998#M730</guid>
      <dc:creator>nikoolayy1</dc:creator>
      <dc:date>2025-12-02T16:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: DNS req/res does not work with "transaction" context</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1243126#M731</link>
      <description>&lt;P&gt;Hi Nikoolayy1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for replying!&lt;/P&gt;
&lt;P&gt;Unfortunately, combination signature is for custom vulnerability. We don't have that option for app-id.&lt;/P&gt;
&lt;P&gt;Anyhow, I would like to understand why it is working this way.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 06:25:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1243126#M731</guid>
      <dc:creator>dsebalj</dc:creator>
      <dc:date>2025-12-04T06:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: DNS req/res does not work with "transaction" context</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1243343#M732</link>
      <description>&lt;P&gt;Forgot that we are talking app signatures and if Palo Alto Adds combination signature option for this as well it will be nice! Maybe open request for enhancement ? See&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/community-blogs/how-to-use-palo-alto-networks-new-feature-request/ba-p/409590" target="_blank" rel="noopener"&gt;Palo Alto New Feature Requests | Palo Alto Networks LIVEcommunity&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering because DNS usually is UDP and the DNS decoder to be only in one direction for a transaction. Maybe try DNS over TCP and if you want open a case as Palo Alto Engineers may confirm if the DNS Decoder for transactions is just in one direction.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 11:29:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/dns-req-res-does-not-work-with-quot-transaction-quot-scope/m-p/1243343#M732</guid>
      <dc:creator>nikoolayy1</dc:creator>
      <dc:date>2025-12-08T11:29:06Z</dc:date>
    </item>
  </channel>
</rss>

