Remote Exploit Forums

Go Back   Remote Exploit Forums > Archives > BackTrack v2.0 Final > Tutorials & Guides


Tutorials & Guides Contributions welcome! Please check the rules & guidelines for posting

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-28-2008, 10:45 PM
Senior Member
 
Join Date: Dec 2007
Location: Outside Chicago, IL
Posts: 294
Default password cracking guide

The goal is to unify all of the good information found in various bits and pieces into 1 large document. This document is for people who want to learn to the how and why of password cracking. There is a lot of information being presented and you should READ IT ALL BEFORE you attempted doing anything documented here. I do my best to provide step by step instructions along with the reasons for doing it this way. Other times I will point to a particular website where you find the information. In those cases someone else has done what I attempting and did a good or great job and I didn’t want to steal their hard work. These instructions have several excerpts from a combination of posts from pureh@te, granger53, irongeek, PrairieFire, and stasik. I would also like to thank each of them and others for the help they have provided me on the BackTrack forum.

I had to compress the document so I could attach it. The document as it stands now is 93K. Please let me know if what I have is wrong, or if there is a better way to do something, or if I am missing something. I am planning on making enhancements as people make me aware of them.

Here is the table of contents
Code:
1 LM vs. NTLM
2 Syskey
3 Cracking Windows Passwords
   3.1 Extracting the hashes from the Windows SAM
      3.1.1 Using BackTrack Tools
         3.1.1.1 Using bkhive and samdump v1.1.1 (BT2 and BT3)
         3.1.1.2 Using new samdump2 version 2.0 (BT4)
         3.1.1.3 Cached Credentials
      3.1.2 Using Windows Tools
         3.1.2.1 Using fgdump
         3.1.2.2 Using gsecdump
         3.1.2.3 Using pwdump7
         3.1.2.4 Cached Credentials
   3.2 Extracting the hashes from the Windows SAM remotely
      3.2.1 Using BackTrack Tools
         3.2.1.1 ettercap
      3.2.2 Using Windows Tools
         3.2.2.1 Using fgdump
   3.3 Cracking Windows Passwords
      3.3.1 Using BackTrack Tools
         3.3.1.1 John the Ripper 1.7.2
            3.3.1.1.1 Cracking the LM hash
            3.3.1.1.2 Cracking the NTLM hash
            3.3.1.1.3 Cracking the NTLM using the cracked LM hash
            3.3.1.1.4 Cracking cached credentials
         3.3.1.2 John the Ripper 1.7.3.1
            3.3.1.2.1 Get and Compile
            3.3.1.2.2 Cracking the LM hash
            3.3.1.2.3 Cracking the LM hash using known letter(s) in known location(s) (knownforce)
            3.3.1.2.4 Cracking the NTLM hash
            3.3.1.2.5 Cracking the NTLM hash using the cracked LM hash (dumbforce)
            3.3.1.2.6 Cracking cached credentials
         3.3.1.3 Using MDCrack
            3.3.1.3.1 Cracking the LM hash
            3.3.1.3.2 Cracking the NTLM hash
            3.3.1.3.3 Cracking the NTLM hash using the cracked LM hash
         3.3.1.4 Using Ophcrack
            3.3.1.4.1 Cracking the LM hash
            3.3.1.4.2 Cracking the NTLM hash
            3.3.1.4.3 Cracking the NTLM hash using the cracked LM hash
      3.3.2 Using Windows Tools
         3.3.2.1 John the Ripper
            3.3.2.1.1 Cracking the LM hash
            3.3.2.1.2 Cracking the NTLM hash
            3.3.2.1.3 Cracking the NTLM hash using the cracked LM hash
            3.3.2.1.4 Cracking cached credentials
         3.3.2.2 Using MDCrack
            3.3.2.2.1 Cracking the LM hash
            3.3.2.2.2 Cracking the NTLM hash
            3.3.2.2.3 Cracking the NTLM hash using the cracked LM hash
         3.3.2.3 Using Ophcrack
            3.3.2.3.1 Cracking the LM hash
            3.3.2.3.2 Cracking the NTLM hash
            3.3.2.3.3 Cracking the NTLM hash using the cracked LM hash
         3.3.2.4 Using Cain and Abel
      3.3.3 Using a Live CD
         3.3.3.1 Ophcrack
4. Changing Windows Passwords
   4.1 Changing Local User Passwords
      4.1.1 Using BackTrack Tools
         4.1.1.1 chntpw
      4.1.2 Using a Live CD
         4.1.2.1 chntpw
         4.1.2.2 System Rescue CD
   4.2 Changing Active Directory Passwords
5 plain-text.info
6 Cracking Novell NetWare Passwords
7 Cracking Linux/Unix Passwords
8 Cracking networking equipment passwords
   8.1 Using BackTrack tools
      8.1.1 Using Hydra
      8.1.2 Using Xhydra
      8.1.3 Using Medusa
      8.1.4 Using John the Ripper to crack a Cisco hash
   8.2 Using Windows tools
      8.2.1 Using Brutus
9 Cracking Applications
   9.1 Cracking Oracle 11g (sha1)
   9.2 Cracking Oracle passwords over the wire
   9.3 Cracking Office passwords
   9.4 Cracking tar passwords
   9.5 Cracking zip passwords
   9.6 Cracking pdf passwords
10 Wordlists aka Dictionary attack
   10.1 Using John the Ripper to generate a wordlist
   10.2 Configuring John the Ripper to use a wordlist
   10.3 Using crunch to generate a wordlist
   10.4 Generate a wordlist from a textfile or website
   10.5 Using premade wordlists
   10.6 Other wordlist generators
   10.7 Manipulating your wordlist
11 Rainbow Tables
   11.1 What are they?
   11.2 Generating your own
      11.2.1 rcrack - obsolete but works
      11.2.2 rcracki
      11.2.3 rcracki - boinc client
      11.2.4 Generating a rainbow table
   11.3 WEP cracking
   11.4 WPA-PSK
Thanks,

P.S. Thank you everyone for your feedback. Keep it coming.

Changes from version 0.1
* Added a section on plain-text.info
* Added a section on using john the ripper with a custom character list
* Added Xploitz’s and pureh@te’s wordlists

Changes from version 0.2 - 200 downloads
* Added sections on using ophcrack
* Added sections on Cain and Able under windows
* Fixed a typo
* New html format

Changes from version 0.3 - 410 downloads
* Moved some content to where it should have been
* Added a section on crunch
* Fixed typos
* Fixed a whole lot of html issues
* Slightly rearranged things to flow better

Changes from version 0.4 - 877 downloads
* Added a section on cached credentials
* Expanded the Novell section
* Fixed typos
* Fixed a couple of html errors
* Moved some things around
* New utility to dump passwords

Changes from version 0.5 - 1573 downloads
* added wpa pw-inspector command
* added a wordlist manipulation section
* added usage of fgdump
* added rcracki section
* added a sample hash.txt to play with
* john can be used for input to aircrack-ng
* moved a few things around for a better flow

Changes from version 0.6 - 422 downloads
* added a section on generating a wordlist from a website
* added head, tail, and sed commands to wordlist manipulation
* added a section on xhdrya (pointing to Pureh@te's video)
* added a section on gsecdump
* added a section on medusa
* added a section on cisco
* expanded the crunch section
* moved everything around in an effort to make things easier to find
* the dumbforce and knownforce are not finished

Changes from version 0.7 - 4596 downloads
* Fixed john --incremental=All --stdout | aircrack-ng -b 00:11:22:33:44:55 -w --test.cap
missing a - Thanks to roblad for pointing it out

Changes from version 0.8
* updated the guide to support BT4-Pre-Final
* switched from transitional html to strict html
* added a section on cracking office passwords
* added a section on cracking rar passwords
* added a section on cracking zip passwords
* added a section on cracking pdf passwords
* added instructions for remote password dumping for fgdump
* point users to john the ripper wiki for dumbforce and knownforce usage
* convert text urls to links
* updated links
* update versions of software (wine and rcrack)
* fixed several spelling mistakes
Attached Files
File Type: zip Password9.zip (33.2 KB, 943 views)

Last edited by bofh28; 01-01-2010 at 06:39 PM. Reason: updating information
Reply With Quote
  #2 (permalink)  
Old 01-31-2008, 03:01 PM
stasik's Avatar
Junior Member
 
Join Date: Dec 2007
Location: dublin, ireland
Posts: 29
Send a message via Skype™ to stasik
Default

glad u managed it. well writen
Reply With Quote
  #3 (permalink)  
Old 01-31-2008, 04:55 PM
The_Denv's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Belfast, N.Ireland
Posts: 388
Thumbs up

Nice job bofh, very well structured and its nice that you gave credit where it was due. I like everything in one solid document, I like this document.

Reply With Quote
  #4 (permalink)  
Old 01-31-2008, 05:11 PM
Senior Member
 
Join Date: Dec 2007
Location: Outside Chicago, IL
Posts: 294
Default

Thank you both for the positive comments. For my next trick is ......
Reply With Quote
  #5 (permalink)  
Old 01-31-2008, 05:35 PM
freemymind's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 136
Default

yes great work so far. Nicely done, looking forward to more.
__________________
EEEPC-1000HE 2 gigs ram, Patriot Warp 2.5" 32GB SATA II Internal (SSD) Windows Home/BT4 Pre-final
__________________________________________________ _______________________
Macbook pro 15" 8 gigs ram working on 256 SSD
Reply With Quote
  #6 (permalink)  
Old 01-31-2008, 07:07 PM
trevelyn's Avatar
Senior Member
 
Join Date: Mar 2006
Location: pittsburgh PA
Posts: 136
Send a message via AIM to trevelyn Send a message via Yahoo to trevelyn Send a message via Skype™ to trevelyn
Default

yeah very good, nice share! thanks!
Reply With Quote
  #7 (permalink)  
Old 02-02-2008, 06:06 PM
_MaCc_'s Avatar
Junior Member
 
Join Date: Jan 2008
Location: United-Kingdom
Posts: 25
Default

Thanks m8 i love it
__________________
Every great advance in natural knowledge has involved the absolute rejection of authority.
Thomas H. Huxley
Reply With Quote
  #8 (permalink)  
Old 02-03-2008, 12:42 AM
Just burned his ISO
 
Join Date: Jan 2008
Posts: 3
Default

thank you
__________________
You have a problem with authority ,Mr. Anderson
Reply With Quote
  #9 (permalink)  
Old 02-03-2008, 10:01 PM
Just burned his ISO
 
Join Date: Jan 2008
Posts: 1
Default

Thanks alot
Reply With Quote
  #10 (permalink)  
Old 02-04-2008, 05:50 PM
Fletch's Avatar
Junior Member
 
Join Date: Sep 2007
Location: In my head.
Posts: 12
Default

Just what i needed, thank you .
__________________
Moral: Read first, Think Second, Read again, Think again, Read again and finally ask questions.
Reply With Quote
Reply

Bookmarks

Thread Tools
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



All times are GMT. The time now is 03:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2