Create a custom signature to prevent some brute force attacks

Reply
L1 Bithead

Create a custom signature to prevent some brute force attacks

Hi,

Our customer asked to create a custom signature to prevent some brute force attacks.

We combined threat ID 34556 and 31708  ("HTTP WWW-Authentication Failed" and "HTTP Unauthorized Error") so that if they both occur more that 10 times within 60 seconds, then the traffic should be blocked.

Now it appears that the detection count is not taken in account and that the traffic is immediately blocked.

Config part:

id@panorama# show shared threats vulnerability 41004

41004 {

  signature {

    combination {

      time-attribute {

        interval 60;

        threshold 10;

      }

      and-condition {

        "And Condition 1" {

          or-condition {

            "Or Condition 1" {

              threat-id 34556;

            }

          }

        }

        "And Condition 2" {

          or-condition {

            "Or Condition 1" {

              threat-id 31708;

            }

          }

        }

      }

      order-free yes;

    }

  }

  default-action {

    drop-packets;

  }

  threatname www-authentication-failed;

  severity high;

  direction client2server;

  comment "http www authentication attemps";

  affected-host {

    server yes;

  }

}

So how can I/we achieve this?

The result of a case with PA support:

From support we are unable to generate a reliable way to fulfill your requirement.Kindly post this request in devcentre and one of or project teams will respond with helpful input.Creating or assistance with custom signatures is out of scope of support as we are a break fix organization.

Tags (3)
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 Live Community as a whole!

The Live Community thanks you for your participation!