Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 46 guests and 2 members online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Web Applicationsarrow Best web app "password reset" method?
EH-Net
May 24, 2013, 12:41:19 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Best web app "password reset" method?  (Read 2747 times)
0 Members and 1 Guest are viewing this topic.
rance
Full Member
***
Offline Offline

Posts: 212


<censored>


View Profile
« on: August 29, 2011, 09:44:52 AM »

Curious to hear opinions on the best method for users to retrieve/reset lost passwords...
Logged

Poking at security since 1986.  +++ATH
cd1zz
Hero Member
*****
Offline Offline

Posts: 561


View Profile WWW
« Reply #1 on: August 29, 2011, 10:12:13 AM »

I will state the obvious. Don't email me my actual password Smiley

I think the password reset links that expire are good. Maybe even make people answer another question or punch in a code that they get as a text message on their cell phones for a 2 factor approach. HTTPS as well.
Logged

H1t M0nk3y
Hero Member
*****
Online Online

Posts: 865



View Profile
« Reply #2 on: August 29, 2011, 11:15:01 AM »

To add on what cd1zz mentionned, assuming on a web site, With no human intervention on the server side and using a "Use Case" approach:

Using HTTPS,

1) User: Enter more than one pieces of information, for example username and email address, before clicking on "retrieve" password. This prevent account harvesting attacks.

2) System: Verify that both username and password match, generates a long random Id and link it with username in memory. Then, send an email to the user containing the id embedded in a URL (no username!!!). Link only good for a few hours. No need of temporary password here.

3) User receives the email, clicks on the link (HTTPS).

4) System checks the id with the id in memory, retrieve the associated username and displays a web page (always HTTPS) with at least one secret question.

5) User answers the question then click on submit.

6) System displays a screen for the user to enter a new password. User needs to login after to complete the process.

This would obviously be better and more secure if we could add:
- Secure Token
- More secret questions (2 or even 3)
- Even GeoLocation wouldn't be a bad idea (if you try to recover password from a different region than when you last successfully logged in)
- IP banned if attempting recovery to often...
- Account lock out for 10 minutes if more than 3 attempts to answer the secret questions

And I probably forget many little things...

 
Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.06 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.