Password guessing is a common type of security attack. In this type of attack, a hacker attempts to log in to a computer using various combinations of usernames and passwords.
The best method to prevent it is to implement user lockouts
same as Security - Brut Force Attack ?
Example: