<?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: Custom Application Signature for only snmp-read in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44793#M1022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which context are you using?&amp;nbsp; Unknown-tcp?&amp;nbsp; That will only work for apps that are currently not IDed, so that will not work.&amp;nbsp; snmp context are not exposed at this time to customer created vuln or app-id.&amp;nbsp; You will have to submit a request to expose them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 22:13:17 GMT</pubDate>
    <dc:creator>mharman</dc:creator>
    <dc:date>2015-01-28T22:13:17Z</dc:date>
    <item>
      <title>Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44786#M1015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the "Creating Custom Signature" Tech Note for PAN-OS 5.0, because I tried to create an application that only allows snmp-read. But there I was blocked by a limitation that I need at least 7 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The snmp-payload looks like the follwing:&lt;/P&gt;&lt;P&gt;3035020101040c746573747465737474657374a02202045c88c1c802010002010030143012060e2b0601040181c6750201020301000500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now with a little bit more information:&lt;/P&gt;&lt;P&gt;30 35 02 01 --&amp;gt; SNMP Header&lt;/P&gt;&lt;P&gt;01 --&amp;gt; SNMP Version v2c&lt;/P&gt;&lt;P&gt;04 --&amp;gt; community name (string)&lt;/P&gt;&lt;P&gt;0c --&amp;gt; length of Community Name (in this case 12)&lt;/P&gt;&lt;P&gt;74 65 73 74 74 65 73 74 74 65 73 74 --&amp;gt; SNMP Community (in this case testtesttest)&lt;/P&gt;&lt;P&gt;a0 22 02 04 --&amp;gt; Identifier for SNMP get-request&lt;/P&gt;&lt;P&gt;5c 88 c1 c8 --&amp;gt; request id&lt;/P&gt;&lt;P&gt;and after the request id there is the snmp oid data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the only thing to match with an application signature are snmp header, version and the identifier for a get-request. In total these are 9 bytes but between thes values there is the snmp community which could be almost any length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround I used the following pattern: (snmp-read)|\xa0220204\x&lt;/P&gt;&lt;P&gt;Like this I was able to save the custom application and to work around the 7 byte limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it seems that my idea was doomed to fail from the beginning because snmp-base and snmpv2 are already known applications from PaloAlto. So my custom application will never work right? Or does anyone know another possibility to only allow snmp-read request and drop snmp-write?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Remo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 12:52:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44786#M1015</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2014-12-11T12:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44787#M1016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your custom app shouldn't be affected by the pre-config apps unless you have specifically put those apps in your policy somewhere.&amp;nbsp; Other than that your logic looks right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 14:02:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44787#M1016</guid>
      <dc:creator>Dz3015</dc:creator>
      <dc:date>2014-12-11T14:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44788#M1017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try creating an application override with this application mentioned in the app override policy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 20:43:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44788#M1017</guid>
      <dc:creator>bat</dc:creator>
      <dc:date>2014-12-11T20:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44789#M1018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But if I konfigure it this way then it doesn't matter what snmp traffic is going through. Unfortunately the application override policy will always take effect, if it is snmp-read or snmp-write.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 10:24:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44789#M1018</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2014-12-15T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44790#M1019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it with a rule on top of the ruleset with my custom application, but the traffic is still only regocnized as snmp or snmp-v2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 10:27:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44790#M1019</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2014-12-15T10:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44791#M1020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just wondering if you have had any luck with this?&amp;nbsp;&amp;nbsp; I am trying to do something similar in that I want to block snmp queries to&amp;nbsp;&amp;nbsp;&amp;nbsp; 'public'&amp;nbsp;&amp;nbsp; but coming up against the same problems, always seems to match&amp;nbsp;&amp;nbsp;&amp;nbsp; snmpv2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 13:48:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44791#M1020</guid>
      <dc:creator>mattc</dc:creator>
      <dc:date>2015-01-09T13:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44792#M1021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mattc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I still have this problem. It seems like there is no way when you want to create a custom application when there is already an existing one by paloalto.&lt;/P&gt;&lt;P&gt;But what you could try is to create a custom vulnerability signature. The custom vulnerability signatures may be have a higher priority than the applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Remo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 20:06:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44792#M1021</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2015-01-19T20:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Application Signature for only snmp-read</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44793#M1022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which context are you using?&amp;nbsp; Unknown-tcp?&amp;nbsp; That will only work for apps that are currently not IDed, so that will not work.&amp;nbsp; snmp context are not exposed at this time to customer created vuln or app-id.&amp;nbsp; You will have to submit a request to expose them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 22:13:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-application-signature-for-only-snmp-read/m-p/44793#M1022</guid>
      <dc:creator>mharman</dc:creator>
      <dc:date>2015-01-28T22:13:17Z</dc:date>
    </item>
  </channel>
</rss>

