Skip to end of banner
Go to start of banner

Increase Password Strength

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

Currently Synapse only requires users to choose passwords that are at least one character (a 3rd party security audit recently raised this issue).  A single character password is ridiculously weak.

Why does password strength matter?  Any password can be hacked using a brute-force attack.  The only question is how long will it take for the take to guess the password.  Weak passwords can be hacked in seconds, while a strong password could take centuries to hack.  With a single character password (assuming: a-z, A-Z, 0–9) it only takes 62 attempts to hack.

Randomly Generated Passwords

Password strength for a randomly generated password is a function of the the size of the character space  and the number of characters used for that password.  To illustrate this KeeyPass was used to randomly generate the following passwords (using only a-z, A-Z, 0–9) .  Each password was then tested against: zxcvbn demo to calculate how long a brute force attack would take for each.  The demo gives an estimate for unthrottled online attacks which assumes an attacker can make 10 attempts per second.  The demo also estimates for throttled online attacks that limit the number of attempts an attacker can make to 100 per minute.

Random Password

Number of

Characters

unthrottled online attack

(10 / Second)

throttled online attack

(100 / Minute)

'B'1less than a second7 minutes
'aw'21 second1 hour
'tJo'310 seconds10 hours
'1P4S'42 minutes4 days
'yHm6X'517 minutes1 month
'co9dDQ'63 hours1 year
'52P5d23'71 day11 years
'NAcviDGM'812 dayscenturies

This test illustrates that throttling to limit the number of attempts is probably more important than password size.  Currently, Synapse does not throttle login attempts so ten attempts per second is possible.

 

 

 

 

  • No labels