Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Appinfo: Appid ___ is UNKNOWN???

    IDS/IPS
    snort ips ids lan side
    4
    14
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mcury @JonathanLee
      last edited by

      @JonathanLee https://forum.netgate.com/post/1034969

      I wonder if appid is being updated or not, it seems that there is a long time that it isn't..

      dead on arrival, nowhere to be found.

      JonathanLeeJ 1 Reply Last reply Reply Quote 1
      • JonathanLeeJ
        JonathanLee @mcury
        last edited by

        @mcury It should still work with the old rules right even if no one supports it?

        Make sure to upvote

        M J 2 Replies Last reply Reply Quote 0
        • M
          mcury @JonathanLee
          last edited by

          @JonathanLee said in Appinfo: Appid ___ is UNKNOWN???:

          It should still work with the old rules right even if no one supports it?

          Unfortunately I'm not the right user to answer that, I don't use appID since a long time.

          dead on arrival, nowhere to be found.

          1 Reply Last reply Reply Quote 0
          • J
            jdeloach @JonathanLee
            last edited by jdeloach

            @JonathanLee said in Appinfo: Appid ___ is UNKNOWN???:

            @mcury It should still work with the old rules right even if no one supports it?

            Edit:

            Per @bmeeks , the package maintainer for the IPS/IDS group, the Appid rules haven't
            been updated in years by the third party group that used to update them.

            1 Reply Last reply Reply Quote 0
            • JonathanLeeJ
              JonathanLee
              last edited by

              I can see they still function under logs. Just seems to be missing some new items like amazon fire etc

              Screenshot 2023-06-21 at 11.04.55 AM.png

              Make sure to upvote

              bmeeksB 1 Reply Last reply Reply Quote 0
              • bmeeksB
                bmeeks @JonathanLee
                last edited by bmeeks

                @JonathanLee
                I have mentioned in several previous replies to various threads on OpenAppID that the rule set used was originally provided for free by a University professor and his students from Brazil. They ceased maintaining the set of OpenAppID rules many years ago. Since that time, a large number of the rules no longer work for various reasons.

                The errors you see are because the latest OpenAppID rule stubs package produced by the upstream Snort VRT does not match up properly with the very old user-contributed set of OpenAppID text rules from that Brazilian University team.

                OpenAppID requires both rules stubs (provided by the Snort team) AND individual user text rules (written and provided by the user) in order to function. You will need to manually create your own set of OpenAppID text rules. If you do this, and wish to share them and maintain them for others to use, that would be wonderful.

                So far, I have not found a maintained public source of OpenAppID text rules. Nobody wants to take responsibility for that amount of work and not get paid for it. Without continually updated text rules, the OpenAppID function in Snort is of limited usefulness. The OpenAppID text rules package you can download on the GLOBAL SETTINGS tab is just meant to be a starter/tutorial set. These are the rules from that University project of many years ago.

                JonathanLeeJ 2 Replies Last reply Reply Quote 1
                • JonathanLeeJ
                  JonathanLee @bmeeks
                  last edited by

                  @bmeeks is there any guides on how to fix the missing text entries? Or a example of one? Where would I find what reference AppId 4295 is for example?

                  Make sure to upvote

                  bmeeksB 1 Reply Last reply Reply Quote 0
                  • bmeeksB
                    bmeeks @JonathanLee
                    last edited by bmeeks

                    @JonathanLee said in Appinfo: Appid ___ is UNKNOWN???:

                    @bmeeks is there any guides on how to fix the missing text entries? Or a example of one? Where would I find what reference AppId 4295 is for example?

                    Google would be your best friend here. There is some spotty (and unfortunately old) tutorial information out there to be found.

                    OpenAppID was something Cisco inherited when they bought Sourcefire several years ago. They decided to release it as open source. Prior to that, it had been one of the prime bread-and-butter items for Sourcefire when they marketed IPS hardware and associated software. My personal opinion is Cisco saw no big money in the Layer 7 detection market (or at least did not see how it fit well into their primarily hardware business), so they released it to open source.

                    The documentation out there on it is very sparse. The rules stubs depend on Lua code for the detection scripts.

                    JonathanLeeJ 1 Reply Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee @bmeeks
                      last edited by JonathanLee

                      @bmeeks I got this document a couple years ago. Is this useful to you? its from Sourcefire

                      OpenDetectorDeveloperGuide.pdf.zip

                      I don't know if this is any help or not
                      https://appid.cisco.com/home

                      Make sure to upvote

                      bmeeksB 1 Reply Last reply Reply Quote 0
                      • bmeeksB
                        bmeeks @JonathanLee
                        last edited by bmeeks

                        @JonathanLee said in Appinfo: Appid ___ is UNKNOWN???:

                        @bmeeks I got this document a couple years ago. Is this useful to you? its from Sourcefire

                        OpenDetectorDeveloperGuide.pdf.zip

                        That document seems to primarily describe the process for writing new detector stubs instead of the text rules themselves..

                        Here is an old post from the Snort Blog describing how to use the feature: https://blog.snort.org/2014/03/firing-up-openappid.html.

                        This post, also from the Snort Blog several years ago, shows how to craft and use the required text rules for OpenAppID: https://blog.snort.org/2014/04/openappid-application-rules.html.

                        And one more link: https://blog.snort.org/2014/02/snort-2970-alpha-with-openappid-quick.html.

                        And here is a very old Netgate Forum post I created back when OpenAppID was first added to the Snort package: https://forum.netgate.com/topic/75930/snort-2-9-7-0-preview-of-new-openappid-feature. This was many pfSense versions ago. Notice how different the GUI looks in the screen caps 😀.

                        JonathanLeeJ 2 Replies Last reply Reply Quote 1
                        • JonathanLeeJ
                          JonathanLee @bmeeks
                          last edited by JonathanLee

                          @bmeeks Thanks for the information I appreciate you,

                          I know when we were training on the Palo Alto firewalls at Sierra College the Professor had play with Palo Alto's version called appID detect. Again the school had a paid student licence so we could use all the good rules. They had options like Facebook base and others you could enable to block if you needed. I am just confused does Snort if it is missing the rule for a unknown id? The text rule that is maintained by pfSense has many useable items.

                          Screenshot 2023-06-21 at 1.21.14 PM.png
                          (Files from pfSense maintained text file)

                          Screenshot 2023-06-21 at 1.21.45 PM.png
                          (New example of the Facebook reference)

                          We actually were training on that old GUI version of pfSense most of it is the same as the new one. We also worked with the new one during a project.

                          Make sure to upvote

                          1 Reply Last reply Reply Quote 0
                          • JonathanLeeJ
                            JonathanLee @bmeeks
                            last edited by

                            @bmeeks

                            Your post here https://forum.netgate.com/post/1034999 and

                            https://forum.netgate.com/topic/171140/appid-metadata-unknown

                            This was very helpful too I think you forgot about this one you list the paths to the text files

                            Make sure to upvote

                            1 Reply Last reply Reply Quote 0
                            • JonathanLeeJ
                              JonathanLee @bmeeks
                              last edited by JonathanLee

                              @bmeeks I created a list that matches the current rule stub.

                              Attached here. It works with custom area.

                              Sorcerer's code file -->> textrules2.txt

                              Make sure to upvote

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.