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

How to import 3rd party IDS rulesets' URLs into Snort?

Scheduled Pinned Locked Moved IDS/IPS
8 Posts 3 Posters 2.0k Views
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.
  • X
    xelibri
    last edited by Apr 23, 2018, 6:18 PM

    I'm not sure is it possible to add additional IDS/IPS ruleset URLs without copying them manually into custom.rules config?

    Eg. this one could be worth adding:

    https://urlhaus.abuse.ch/api/

    Thanks in advance!

    1 Reply Last reply Reply Quote 0
    • B
      bmeeks
      last edited by Apr 23, 2018, 8:23 PM

      @xelibri:

      I'm not sure is it possible to add additional IDS/IPS ruleset URLs without copying them manually into custom.rules config?

      Eg. this one could be worth adding:

      https://urlhaus.abuse.ch/api/

      Thanks in advance!

      At the moment neither the Snort nor Suricata packages support adding of third-party rulesets outside of the current built-in defaults.  That is something that is being looked into, but there are some obstacles to overcome within the GUI itself to make the feature useful.  For now, copying and pasting them into a custom rules configuration as you state is the only way.

      Bill

      1 Reply Last reply Reply Quote 0
      • R
        rebytr
        last edited by Apr 23, 2018, 9:36 PM

        After copying and pasting them in the custom rules panel, what's the trick to get around the error below?

        Custom rules have errors: Fatal Error, Quitting..ERROR: /usr/local/etc/snort/snort_8066_em1/rules/custom.rules(1) Bad protocol: http.
        
        1 Reply Last reply Reply Quote 0
        • B
          bmeeks
          last edited by Apr 25, 2018, 12:57 PM

          @rebman77:

          After copying and pasting them in the custom rules panel, what's the trick to get around the error below?

          Custom rules have errors: Fatal Error, Quitting..ERROR: /usr/local/etc/snort/snort_8066_em1/rules/custom.rules(1) Bad protocol: http.
          

          Have you changed the enabled/disabled state of any preprocessors?  Is the HTTP_INSPECT preprocessor enabled?

          Bill

          1 Reply Last reply Reply Quote 0
          • R
            rebytr
            last edited by Apr 26, 2018, 12:04 AM

            Preprocessors are all default settings.  Only additional one I have enabled is the Application ID Detection preprocessor.

            1 Reply Last reply Reply Quote 0
            • B
              bmeeks
              last edited by Apr 26, 2018, 9:41 PM

              Well, according to the current Snort documentation here:  http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node29.html#SECTION00422000000000000000

              Snort does not currently support HTTP as a protocol in the rule header.  Suricata does, but not Snort.  Perhaps the 3rd party ruleset you are using is really for Suricata?  I would check with the provider and see if they have a different version for Snort.  Sorry I did not catch this in my earlier reply.  I sometimes get Snort and Suricata confused since I get questions about both packages …  :-[

              Bill

              1 Reply Last reply Reply Quote 0
              • R
                rebytr
                last edited by Apr 26, 2018, 10:07 PM

                Yep, thats the problem. Interesting thing is urlhaus has the IDS ruleset labeled for both Snort and Suricata. (They even tweet when they make updates to the ruleset that it is for both).  I have to assume they have never tried their ruleset in Snort.

                1 Reply Last reply Reply Quote 0
                • B
                  bmeeks
                  last edited by Apr 27, 2018, 2:17 PM

                  @rebman77:

                  I have to assume they have never tried their ruleset in Snort.

                  I would agree …  :)

                  Bill

                  1 Reply Last reply Reply Quote 0
                  1 out of 8
                  • First post
                    1/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received