Application Security Community

 View Only
Expand all | Collapse all

Brute Force alert policy

  • 1.  Brute Force alert policy

    Posted 02-15-2022 00:56
    Good afternoon, Dear colleagues. I have a task. I have such request "POST http://jusan.kz/banking/v1/auth/login" with parameters: "username", "password".
    I need to create a rule to protect against field brute force:
    "username" and "password"

    I will give the first example: We see 100 requests from the same IP address, but the values in the parameters are the same, then the alert is not needed.
    Second example: We see 100 requests from another IP address, but the values in the parameters are already different in each request, then an alert is needed.
    Please tell me what solution can be created for such a case?
    #On-PremisesWAF(formerlySecuresphere)

    ------------------------------
    Rustam Abdullin
    Chief Expert
    Astana
    ------------------------------


  • 2.  RE: Brute Force alert policy

    Posted 02-15-2022 07:40
    Hi,
    When you can see in logs a kind of brute force attack from one IP with multiple different values on parameters "username and password"  you can use Custom Policy -> HTTP URL Parameters + Number of occurrences (e.g. 10 times in 10 seconds from Source IP) + Action Long IP Block/Short IP Block/Block.
    A common human cannot be so fast as boot/automat.


    ------------------------------
    Karol Gruszczynski
    IT SECURITY EXPERT
    Trafford IT
    Warsaw
    ------------------------------