Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 24-05-2005, 01:12 PM   #1 (permalink)
_mAkA_
Guest
 
Posts: n/a
Default Retrive your lost password in XP


In XP you can get a SAM file. The file probably stands for Security Administrator Management. Looking into this file you can get your lost password in XP.

How to?
First make a bootable floppy.

What if your file system is NTFS?
Then download a NTFS DOS reader pro and make a bootable CD with it.

Now what?
Boot in DOS with the help of floppy & copy the sam file to the floppy.

Then download a small program called l0pthcrack or lOpthcrack in net.
Open it & locate the sam file you'll get the lists of passwords.

Now smile. This is neither hacking nor cracking. This is only for personal use.
 
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-05-2005, 11:36 AM   #2 (permalink)
Fresh Stock Since 2005
 
Join Date: Feb 2005
Posts: 1,015
Default

@_mAkA_
I don't think SAM file can be got in Ntfs.............
Haven't tried it though............

And where exactly can anyone find the L0pthcrack...................??
__________________
http://www.khattam.info
khattam_ is offline  
Old 25-05-2005, 11:40 AM   #3 (permalink)
Fresh Stock Since 2005
 
Join Date: Feb 2005
Posts: 1,015
Default

Quote:
Originally Posted by http://www.antionline.com/printthread.php?threadid=260337&pagenumber=1
Cracking Windows 2000 And XP Passwords With Only Physical Access

Yet Another: Cracking Windows 2000 And XP Passwords With Only Physical Access

This article will cover how to crack Windows 2000/XP passwords with only physical access to the target box. I won’t be covering into the internal structure of LM and NTLM hashes or what makes them so insecure, there are many other articles on the Internet that cover the basics of NT security so I would recommend that you Google for them. I will assume that the reader already knows the basics. There are a lot of articles floating around that tell interested parties how to use programs like PWdump to get NT password hashes. Using PWDump is what most folks recommend when Syskey is enabled on a system since the hashes in the SAM file are encrypted. The problem is PWdump only works if you can run it from an administrator level account, and if the reason an attacker is cracking the hashes in the first place is to get an administrator account then PWdump is of little use.

Another question I get is why crack the password at all since one can get access to the machine by just deleting the SAM file and using a blank password (Windows 2000 only) or by using a Linux password reset boot disk (get one from http://home.eunet.no/~pnordahl/ntpasswd/bootdisk.html that works on both 2k and XP) and resetting it to whatever we like. The reason an attacker may want to crack the local password instead of changing it is two fold:

1. An attacker doesn’t want to tip off the system administrators. If they notice that the old admin password no longer works they will get a bit suspicious don’t you think?
2. The same account passwords may be used on other systems on the network. If the attacker can crack one machines admin password that same password may allow the attacker to gain access to other boxes on that LAN that they only have remote access to.

This article assumes that the attacker has only physical access to the machine whose SAM they want to crack and that they also have access to a bootable disk that can read the file system on the target machine. An attacker may have to get into the BIOs to set it to boot from the floppy or CD-ROM so setting up a BIOs password will help but if they can get into the case it’s easy to reset. Any old Windows 9x boot disk should work for Fat32 drives, on NTFS drives I’ve used the Knoppix ( http://www.knoppix.org/ ) and PE Builder ( http://www.nu2.nu/pebuilder/ ) boot CDs with good success.

The first step is to boot from a CD-ROM or floppy and copy off the SAM and SYSTEM files in C:\WINDOWS\system32\config (you may have to get them from c:\WINDOWS\repair instead, and on some systems the Windows directory is WINNT instead). The SAM and SYSTEM files are likely to be too large to fit on a 1.44MB floppy unless you compress them using Gzip, you could also copy them to some other form of removable media or upload them across the network to an FTP or file server that you have access to.

In my example I will use Knoppix, Gzip and a floppy to copy the files. Issue these commands from a terminal in Knoppix:

mount /mnt/hda1/

This mounts what would most likely be the C: drive on the target machine, it's possible that it could be different. Then we Gzip the SAM file to a floppy:

gzip -c /mnt/hda1/WINDOWS/system32/config/sam > /mnt/floppy/sam.gz

Then we get the System file:

gzip -c /mnt/hda1/WINDOWS/system32/config/system > /mnt/floppy/system.gz

My modest SAM file has five accounts, it and the System file only take up 751KB after they are compressed with Gzip.

Once you have the files copy them (an uncompress them if you used Gzip) to your own machine (preferably the fastest you have) and crack Syskey using a program called SAMInside ( http://www.insidepro.com ). Run SAMInside and choose the “Import SAM� option. A dialog box will ask you to point it to the SAM file you wish to crack. If Syskey is enabled (most likely it will be) it will then ask you for the SYSTEM file. You can use SAM inside to try and crack the passwords but if you only have the demo version you are limited in the Brute-force and Dictionary options you can choose. Once you have cracked Syskey and have the hashes export them to a PWDump file using the file menu in SAMInside and then use L0phtcrack ( http://www.atstake.com/products/lc/ ) or Cain ( http://www.oxid.it/cain.html ) to crack the passwords.

I’ll continue this tutorial using Cain since it’s free. Run Cain and go to the “Cracker� tab. From here choose “LM & NTLM Hashes� in the left pane and then right click on the grid in the right pane and choose “Add to list.� Now choose “Import Hashes from text file or SAM� and click next. Don’t try to import the SAM you copied because if the target system was using Syskey Cain will not be able to crack it. Find the PWdump file you created with SAMInside and open it. From here it’s as easy as holding down control, left clicking on the accounts you want to crack and then right clicking and choosing either “Start Dictionary Attack� or “Start Brute-Force Attack.� A Dictionary attack uses the text file in “c:\Program Files\Cain\Wordlists\Wordlist.txt� to tell it what passwords to try, open that file in notepad and edit it if you want to add more words. The Brute-force method runs through all possible combinations of characters that you configure under the “Brute-Force Options� tab of the “Configure� menu. The Brute-force method can take days depending on the options you choose. Now all the attacker has to do is wait.

Hope this short article helps, feel free to write me if you have any questions.
__________________
http://www.khattam.info
khattam_ is offline  
Old 25-05-2005, 11:42 AM   #4 (permalink)
Fresh Stock Since 2005
 
Join Date: Feb 2005
Posts: 1,015
Default

Maybe the above one will help.................
__________________
http://www.khattam.info
khattam_ is offline  
Old 10-06-2005, 07:32 AM   #5 (permalink)
_mAkA_
Guest
 
Posts: n/a
Default

Hey folks that dam because you are teaching to hack through linux. And if you have to hack then would you take a Linux live CD with you whereever you go. And even while going for a date. That's all folks.
 
Old 11-06-2005, 01:40 AM   #6 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,997
Default

That bootdisk is tried and tested .. and btw.. You wont be hacking when you go for a date .. So no need to carry it with you ..

Btw.. L0pht is not freeware ...

And more btw .. Peter Nordahl's disk is considered illegal cauz it could give anyone apportunity to hack a pc .. But I havent removed the link still cauz you need physical access to the system for accessing the pwd ..

See this thread for more ..
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 21-12-2006, 11:05 AM   #7 (permalink)
Right Off the Assembly Line
 
Join Date: May 2006
Posts: 6
Default Re: Retrive your lost password in XP

Lost or forgotten windows password can be quickly reset using Active@ Password Changer.
http://www.password-changer.com/
triangle is offline  
Old 21-12-2006, 04:56 PM   #8 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Retrive your lost password in XP

You hv bumped a one & half year old thread.
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Closed Thread

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


 
Latest Threads
- by Tenida
- by chris
- by Who
- by abhidev
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 10:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2