Home Broken Authentication -> Bruteforce
Post
Cancel

Broken Authentication -> Bruteforce

Broken Authentication : Bruteforce

A brute force attack uses trial-and-error to guess login info, encryption keys, or find a hidden web page. Hackers work through all possible combinations hoping to guess correctly.

Exploitation

bsb

This login form does’nt have bruteforce protection which will allow us to bruteforce user’s credentials.

There are lot of tools to bruteforce login form but we will use burpsuite intruder here. We will enter an invalid credential test:test, intercept the request in burpsuite, and then forward the request to intruder.

bsb

bsb

For this purpose, we will choose cluster bomb attack type as we are going to bruteforce both username and password, and then load our wordlists in payload section .

bsb

bsb

As you can see, admin:admin gave different status code 302, which means we got valid credential.

We will attempt to login with the credential admin:admin.

bsb

Great!, We have logged in as Admin.

Mitigations

  • Account Lockout Policy
  • Use CAPTCHAS
  • Multi-factor Authentication
  • Progressive delays

References

This post is licensed under CC BY 4.0 by the author.