Lost Password?

Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-05-2007, 10:09 AM
Temujin_12 Temujin_12 is offline
Newbie
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
Temujin_12 is on a distinguished road
Default Brute Force Password Heuristics

I'm writing an all-purpose password brute forcer and am wondering what password heuristics can be applied to reduce the search space (ie: searching through all possible 6 character passwords just isn't computationally feasible).

So far I've come up with the following:
  • Specify what password to start/stop with
  • List of characters to ignore (ie: characters that are unlikely to be used in the password)
  • Max amount of adjacent identical characters (ie: 'fooo' has 3 'o's next to each other
  • Max number of non alpha-numeric characters that may be in a row (passwords usually have at least one or two alpha-numeric characters

Can anyone else think of any other heuristics that could reduce the search space?

PS: I know that dictionary attacks will probably find passwords created by the average user in less time, but there's plenty of those out there and those won't work against more robust passwords.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 12-05-2007, 11:02 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 2,047
Last Blog:
NaNoWriMo Summary
Rep Power: 24
WingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the rough
Default

If a dictionary attack fails, your brute force has to account for pretty much everything.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-05-2007, 12:01 PM
Temujin_12 Temujin_12 is offline
Newbie
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
Temujin_12 is on a distinguished road
Default

Quote:
If a dictionary attack fails, your brute force has to account for pretty much everything.
To cover every possible password of a particular length, then yes you have to account for everything. But the point of the program isn't just to brute force every possible ASCII combination, it is to apply some useful heuristics that reflect patterns in human-generated passwords (even when the user creates a 'robust' password).

Thinking of all the passwords I've come up with myself as an admin as well as asking other techie-friends of mine, the above heuristics seem reasonable. Of course making a password to specifically be immune to the above heuristics wouldn't be that hard. But I'm running this against a password that wasn't created specifically to be immune to my program.

Of course, as with all heuristics, the more they reduce the search space, the greater your chances are of missing the solution. But that's a risk you always take when applying heuristics. The point of heuristics is to reduce the search space while minimizing this risk.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-05-2007, 11:49 PM
v0id's Avatar   
v0id v0id is offline
Super Moderator
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,445
Last Blog:
CherryPy(thon)
Rep Power: 27
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default

I would rather come up with a list with all the characters it should check, instead of a list with all the characters it should not. There's so many characters, like if you're working with Unicode, so instead of making a long list of characters not to check, I'll put in characters it actually should.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-06-2007, 10:24 AM
thes3raph1m thes3raph1m is offline
Newbie
 
Join Date: Dec 2007
Posts: 1
Rep Power: 0
thes3raph1m is on a distinguished road
Default

i like the idea of repeating characters... i mean if these heuristics were able to be switched on or off by the user that would be best...

i mean i know my mom uses stupid passwords, so i dictionary attack
my brother on the other hand uses stupid passwords, but inserts "l33t sp33k" into it to make it immune to standard dictionary attacks

i on the other hand use an alphanumeric sequence that is very long and means nothing to anyone but me, so brute force would be required... its also 13 characters long... which iirc would take at least a few days to get a hit.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding a change password form InternetGeek Visual Basic Programming 11 02-16-2008 01:53 PM
Forgot Your Password On XP? pranky Tutorials 12 04-26-2007 09:08 AM
Critical Firefox hole allows password theft Jordan Technology Ramble 31 01-22-2007 09:48 AM
Client/Server Changing Password feature MrNobody Visual Basic Programming 1 11-19-2006 04:10 AM
Password Reset Disk PC101 Technology Ramble 0 09-12-2006 08:42 PM


All times are GMT -5. The time now is 11:57 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
LogicKills ........ 20.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads