Custom App-ID SMB Signature Assistance

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom App-ID SMB Signature Assistance

L0 Member


I'm trying to write a custom smb signature to restrict access to certain shares. It's based on Custom App-ID for a specific SMB share

My share pattern is '\\america\credit'. Unfortunately, it didn't work for me and I opened a support case. But they asked me to post the sig. here to verify it first before they look at this further. Can some one please, check the signature ?

<application version="5.1.0">

  <entry name="smb-myshare">


      <entry name="s1">


          <entry name="And Condition 2">


              <entry name="Or Condition 1">



                    <pattern>\x 5c 00 5c 00 61 00 6d 00 65 00 72 00 69 00 63 00 61 00 5c 00 63 00 72 00 65 00 64 00 69 00 74 00\x</pattern>










        <comment>string in unicode matches "\\america\credit"</comment>





















    <description>App-ID to identify and control access to a specific SMB share</description>













L6 Presenter

I think you want to remove the <or-condition> as that will make the entry contained inside that tag optional. as i read it the signature would fire on all traffic, not just the path you want to match.

L7 Applicator

Looking at a packet capture, the raw hex stream doesn't include spaces. So yours would be:


I haven't tested this, but it may be worth a shot. I know the article linked shows spaces, but that seems odd to me because the pattern is specifying hex (using \x in front and back). Might be worth trying.


Sorry for the late post. Thank you Greg, I'll give it a shot.


  • 3 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!