wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is Brute Force Attack? How to defend against it?

profile
Taha Chatriwala
Feb 07, 2019
0 Likes
0 Discussions
587 Reads

What is Brute Force Attack?

Brute force attack is one of the password guessing attacks wherein the attacker tries to get access to a server or website by constantly trying various combinations of usernames and passwords. It is a trial and error approach hoping to get correct combination of user credentials.

Let’s get practical:

Suppose you know username of a website is “admin”, now you just have to guess the password for a successful login.  The password field nowadays contains at least 8 Alphanumeric characters. Considering this how much time do you think it will take to crack this password? There are 26 alphabets in English. Double them as password will contain both UPPER and lower cases, so we have 26+26 = 52 characters. Now there are 10 numeric digits (i.e. 0-9). Adding them: 52+10=62 So, there are total 62 possible characters for each character of password. For 8-character-password, it will be (62)8 which will make 218,340,105,584,896 (i.e. 218 trillion) possible combinations. If we attempt 218 trillion combinations at one try per second, it would take 218 trillion seconds or 3.6 trillion minutes. In other words, just around 7 million years would be required to crack the password with the final combination. Now Suppose your computer tries 1000 combinations per second that will still take 7 thousand years. If we increase the capacity of the computer and make it a supercomputer that attempts 1 billion combinations per second (ofcourse hypothetically) then it will just take 22 seconds to crack the password. There you have it your correct password in 22 seconds. But wait, what if password contains special characters or is 10 characters long, then it will create 171.3 quintillion (1.71 x 1020) possibilities. Using a processor that tries 10.3 billion hashes per second, cracking the password would take approximately 526 years You can check how long it will take to crack your password here : https://www.betterbuys.com/estimating-password-cracking-times/ Just enter your password and it will show you the time required to crack it.  

How to defend against brute force attacks?

  • Increase password length and complexity:

    The longer the password is the more difficult it is to crack. You should try to have a password which:
    • Contains 12-16 characters.
    • Contains atleast 1 Capital and 1 lower case character.
    • Contains numbers and special characters.
  • Implement 2 factor authentication:

    Two factor authentication ads an extra layer of security while signing in, so that even if your password is compromised no one will be able to sign in to your account except for you.
  • Limit Sign in attempts:

    If you are a developer, you can limit the number of login attempts made on your site to prevent brute force attacks.
  • Use Captcha:

    Captcha helps in verifying whether the attempts are made by human or a bot who is continuously trying login combinations.
Found it Interesting? Got Something to ask?? Feel free to comment it below. Stay Secure ! Stay Happy !! For more CyberSec Blogs :- CLICK HERE

Comments ()


Sign in

Read Next

Odoo

Blog banner

Challenges of Digital forensics in cloud computing environment

Blog banner

Virtual Machine

Blog banner

bulk email software

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

How Men and Women Process Pain Differently

Blog banner

Buffers in Operating Systems

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Deadlock and starvation

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

Recipe of Paneer Butter Masala

Blog banner

Security and E-mail

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Social Engineering Attacks

Blog banner

FIREWALL

Blog banner

File management

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

My First Dream Bike

Blog banner

Virtual Machine

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Supervised and Unsupervised Learning

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

How covid-19 impacted Social media ad spend forecast globally

Blog banner

Data Lake

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

Multiprocessor and Multicore Organization

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

Dal Bafla Recipe

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

SESSION HIJACKING

Blog banner

Memory input output management

Blog banner

Cache Memory

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

Deadlocks

Blog banner

PPT methodology

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Memory management

Blog banner

SQL Injection Techniques

Blog banner