Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global delays after password failure #14

Closed
stefwalter opened this issue Nov 4, 2013 · 4 comments
Closed

Global delays after password failure #14

stefwalter opened this issue Nov 4, 2013 · 4 comments

Comments

@stefwalter
Copy link
Contributor

Go over

http://stackoverflow.com/questions/549/the-definitive-guide-to-forms-based-website-authentication

and see whether there is anything in it for us.

@cgwalters
Copy link
Contributor

One thing I think we should to do for password auth is implement some sort of delay for repeated authentication failures. Even with a strong password policy, many people use the similar passwords across multiple systems with different prefix/suffixes. For these types of things it's only a matter of time before brute force makes it through, we should make it take longer, in the hope that the user has time to change the password.

@stefwalter
Copy link
Contributor Author

Good point, although this can't be done naively, and needs to be coordinated multiple connections.

@stefwalter stefwalter added this to the Security Cleanup milestone Apr 24, 2014
@stefwalter
Copy link
Contributor Author

Notes on our implementation, based on recommendation in the article.

Stuff that's recommended, which we implement:

  • We set HttpOnly and Secure (when on https)
  • We use https
  • Our cookie contains no information, just a server side unpredictable token, generated using HMAC.
  • We never store cookie in persistent storage.
  • Passwords are system passwords subject to strength checks configured on the system.

Doesn't apply:

  • No CAPTCHA
  • No persistent login cookies.
  • No secret questions.
  • No forgotten password functionality (well standard linux single user mode is recourse there)

Delays after failed authentication currently work via PAM. If we want to do something globally, then we can implement that later. Leaving this bug open for more discussion there.

@stefwalter stefwalter modified the milestones: Security Cleanup, General Polish May 15, 2014
@stefwalter stefwalter changed the title Review password based auth Global delays after password failure May 15, 2014
@stefwalter stefwalter modified the milestone: General Polish Jan 20, 2015
@stefwalter
Copy link
Contributor Author

This needs to be implemented at the server level for it to make any sense. Cockpit is merely one of many ways to log into a system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants