<?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 Detecting a specific Linux binary(ELF) file using a custom signature in Custom Signatures</title>
    <link>https://live.paloaltonetworks.com/t5/custom-signatures/detecting-a-specific-linux-binary-elf-file-using-a-custom/m-p/88888#M105</link>
    <description>&lt;P&gt;DISCLAIMER:&lt;/P&gt;
&lt;P&gt;As with all custom signatures on this forum, this signature is being provided by the author as a result of enthusiasm for the product and to share ideas with the Palo Alto Networks security community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Not recommended for deployment in a production network of any kind without internal testing.&lt;/P&gt;
&lt;P&gt;- Not a solution to any vulnerability.&lt;/P&gt;
&lt;P&gt;- Not an official supported Palo Alto Networks signature&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This write up is to help the Palo Alto Networks community with detecting a specific linux ELF sample in this example. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sample signature was created on PAN OS Version 7.0.x :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hash256: 92fd1971f7ac512d096821a4bf8553bc13d1c478680999dd2e15400fe8973793&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fill out the appropriate field under the configuration tab&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 2.13.38 PM.png" style="width: 601px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4450iF0198BE1E091FB1E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 2.13.38 PM.png" alt="Screen Shot 2016-06-16 at 2.13.38 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Choose the standard option from the radio button and click on add to create a signature&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 4.17.41 PM.png" style="width: 602px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4451i6A9D6868B66575CF/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 4.17.41 PM.png" alt="Screen Shot 2016-06-16 at 4.17.41 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since we only have one condition it doesn’t matter if we choose the ‘and’/’or’ condition&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 2.19.44 PM.png" style="width: 696px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4452i7E80F0C3F1A7A456/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 2.19.44 PM.png" alt="Screen Shot 2016-06-16 at 2.19.44 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Within the ELF file we are looking for a particular pattern on hex values.&amp;nbsp; Make sure to choose the context type as: file-elf-body&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 2.19.53 PM.png" style="width: 475px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4453iC3068A980D9D08ED/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 2.19.53 PM.png" alt="Screen Shot 2016-06-16 at 2.19.53 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is a threat log that is being triggered on this signature&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screen Shot 2016-06-16 at 4.12.44 PM.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4454iC14CAEDD81D63154/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 4.12.44 PM.png" alt="Screen Shot 2016-06-16 at 4.12.44 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample xml signature attached to this document.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2016 19:52:40 GMT</pubDate>
    <dc:creator>nsheikh</dc:creator>
    <dc:date>2016-06-17T19:52:40Z</dc:date>
    <item>
      <title>Detecting a specific Linux binary(ELF) file using a custom signature</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/detecting-a-specific-linux-binary-elf-file-using-a-custom/m-p/88888#M105</link>
      <description>&lt;P&gt;DISCLAIMER:&lt;/P&gt;
&lt;P&gt;As with all custom signatures on this forum, this signature is being provided by the author as a result of enthusiasm for the product and to share ideas with the Palo Alto Networks security community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Not recommended for deployment in a production network of any kind without internal testing.&lt;/P&gt;
&lt;P&gt;- Not a solution to any vulnerability.&lt;/P&gt;
&lt;P&gt;- Not an official supported Palo Alto Networks signature&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This write up is to help the Palo Alto Networks community with detecting a specific linux ELF sample in this example. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sample signature was created on PAN OS Version 7.0.x :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hash256: 92fd1971f7ac512d096821a4bf8553bc13d1c478680999dd2e15400fe8973793&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fill out the appropriate field under the configuration tab&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 2.13.38 PM.png" style="width: 601px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4450iF0198BE1E091FB1E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 2.13.38 PM.png" alt="Screen Shot 2016-06-16 at 2.13.38 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Choose the standard option from the radio button and click on add to create a signature&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 4.17.41 PM.png" style="width: 602px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4451i6A9D6868B66575CF/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 4.17.41 PM.png" alt="Screen Shot 2016-06-16 at 4.17.41 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since we only have one condition it doesn’t matter if we choose the ‘and’/’or’ condition&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 2.19.44 PM.png" style="width: 696px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4452i7E80F0C3F1A7A456/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 2.19.44 PM.png" alt="Screen Shot 2016-06-16 at 2.19.44 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Within the ELF file we are looking for a particular pattern on hex values.&amp;nbsp; Make sure to choose the context type as: file-elf-body&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2016-06-16 at 2.19.53 PM.png" style="width: 475px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4453iC3068A980D9D08ED/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 2.19.53 PM.png" alt="Screen Shot 2016-06-16 at 2.19.53 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is a threat log that is being triggered on this signature&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screen Shot 2016-06-16 at 4.12.44 PM.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4454iC14CAEDD81D63154/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 4.12.44 PM.png" alt="Screen Shot 2016-06-16 at 4.12.44 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample xml signature attached to this document.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 19:52:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/detecting-a-specific-linux-binary-elf-file-using-a-custom/m-p/88888#M105</guid>
      <dc:creator>nsheikh</dc:creator>
      <dc:date>2016-06-17T19:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting a specific Linux binary(ELF) file using a custom signature</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/detecting-a-specific-linux-binary-elf-file-using-a-custom/m-p/101157#M115</link>
      <description>&lt;P&gt;What is the significance of the Hash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Hash256: 92fd1971f7ac512d096821a4bf8553bc13d1c478680999dd2e15400fe8973793&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any relationship between the hash and the hex string you are testing for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&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="Screen Shot 2016-06-16 at 2.19.53 PM.png" style="width: 475px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/4453iC3068A980D9D08ED/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-06-16 at 2.19.53 PM.png" alt="Screen Shot 2016-06-16 at 2.19.53 PM.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 05:14:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/detecting-a-specific-linux-binary-elf-file-using-a-custom/m-p/101157#M115</guid>
      <dc:creator>stephengun</dc:creator>
      <dc:date>2016-08-04T05:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting a specific Linux binary(ELF) file using a custom signature</title>
      <link>https://live.paloaltonetworks.com/t5/custom-signatures/detecting-a-specific-linux-binary-elf-file-using-a-custom/m-p/101233#M116</link>
      <description>&lt;P&gt;The hash is mentioned to indicate which sample file was used for this example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The actual hex pattern in the signature is pulled from this binary's file body.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:55:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/custom-signatures/detecting-a-specific-linux-binary-elf-file-using-a-custom/m-p/101233#M116</guid>
      <dc:creator>goku123</dc:creator>
      <dc:date>2016-08-04T15:55:43Z</dc:date>
    </item>
  </channel>
</rss>

