LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2005, 11:19 PM   #1
jus1haz2
LQ Newbie
 
Registered: Sep 2004
Location: Wenatchee, WA USA
Distribution: Mandrake 10, SuSe 9.1
Posts: 15

Rep: Reputation: 0
Angry Windows xp adminstrative password


Can someone help me. I cant remember the command to copy the SAM file while in knoppix std. could you help me out.
 
Old 01-22-2005, 11:45 PM   #2
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
chntpw is used to reset the Administrator passwd and edit the registry
 
Old 01-23-2005, 11:46 AM   #3
jus1haz2
LQ Newbie
 
Registered: Sep 2004
Location: Wenatchee, WA USA
Distribution: Mandrake 10, SuSe 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
There is a way to get the password with knoppix std but i cannot remember the command.
 
Old 01-23-2005, 12:25 PM   #4
marco13185
LQ Newbie
 
Registered: Dec 2004
Posts: 21

Rep: Reputation: 15
Here is the deal

Unless STD brings any cracking programs, not password reseters, you would have to either 1) Reset the password or 2) keep reading.

REMEMBER, before you do this possibly save yourself the hassle and find out if STD brings a cracking program. I am sorry I can not tell you this because I have never used STD.

1. Mount your windows partition.
2.Navigate to the following directory /Windows/System32/Config
3.Copy the sam file to any removable media large enough. (use a usb key or, if you have two drives, and cd/dvd burner. Zip will work fine. If you had very few accounts and account data it MIGHT fit on a floppy.
4. Go to a windows machine that works and download a windows nt password cracker (l0pth crack is popular one but it is expensive)
5. Insert the media with the SAM file. Edit: copy the SAM file to your harddrive as it will speed things up.
6. Run the cracker and load the SAM file.
7. Start the cracking process
8. Be patient it can take a long time for this to finish.

Tell me if it works

Last edited by marco13185; 01-23-2005 at 12:28 PM.
 
Old 01-23-2005, 04:41 PM   #5
jus1haz2
LQ Newbie
 
Registered: Sep 2004
Location: Wenatchee, WA USA
Distribution: Mandrake 10, SuSe 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
Ya i know but i was going to use lopht crack or sam inside. but i still dont no the shell command to copy the file onto the thumb drive that was my qeustion.
 
Old 01-23-2005, 05:18 PM   #6
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
I tried this last month, it gave me so much trouble I downloaded MandrakeMove.

I had to do all sorts of mounting with different options (STD mounts my USB key ro) and I had to SU a few times.

MandrakeMove had the same problem. Therefore I went to my last resort - I put my Gentoo DVD in and copied it from the pre-install environment.

Basically, the command should be:
Code:
cp /mnt/win/WINDOWS/system32/config/sam /mnt/sda1/
I'm pretty sure something is wrong in there, and I can't remember the SAM location for the life of me.

That assumes your USB key (normally /dev/sda1) is mounted at /mnt/sda1 and that your windows drive (mine is /dev/hda1) is mounted at /mnt/win

Hope that helps somehow.

Last edited by bornhj; 01-23-2005 at 05:20 PM.
 
Old 01-23-2005, 05:22 PM   #7
jus1haz2
LQ Newbie
 
Registered: Sep 2004
Location: Wenatchee, WA USA
Distribution: Mandrake 10, SuSe 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
ya it does thanks man
 
Old 03-01-2005, 10:10 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Before proceeding, this XP machine you are the owner and sysadmin of? If not, helping others to crack or change passwords on this site is forbidden and this thread will be closed if you do not reply in accordance.

Regards.
 
Old 03-01-2005, 10:23 AM   #9
chris318
Member
 
Registered: Feb 2005
Distribution: Slack
Posts: 122

Rep: Reputation: 19
You will never crack the password unless its a dictionary word or some other equally dumb password. XP uses one way encryption for the users passwords. Even if you hade a top of the line computer it will take you years because the only way is a brute force attack. Good Luck.
 
Old 03-01-2005, 10:26 AM   #10
chris318
Member
 
Registered: Feb 2005
Distribution: Slack
Posts: 122

Rep: Reputation: 19
8. Be patient it can take a long time for this to finish.

lol, yeah about a couple of years, maybe even decads or centuries.
 
Old 03-01-2005, 01:27 PM   #11
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
there is a linux-based live CD.. i don't know exactly the name of it.. but I just have it labeled as 'rescue disk' and it will allow you do change or blank any windows nt-based password(NT, 2000, XP) I don't remember wher i downloaded it.. but I could perhaps make an image of the disc.. it's only like 20MB I think??

It offers various other utilities like a registry editor and stuff.. I have only ever use the password reset though..

To change the password does not always work(i.e. - the password you changed it to doesn't work allt he time) but blanking the password (done by entering * for the password) works 100%
 
Old 03-01-2005, 01:54 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in General, and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 06-25-2006, 12:31 PM   #13
bronco9588
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
I am having trouble recognizing my hard drive with Knoppix STD. It is a Serial ATA, and i would like to recover some data from it...
 
Old 06-25-2006, 01:04 PM   #14
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
Quote:
Originally Posted by chris318
You will never crack the password unless its a dictionary word or some other equally dumb password. XP uses one way encryption for the users passwords. Even if you hade a top of the line computer it will take you years because the only way is a brute force attack. Good Luck.
hmmm....windows xp does use LM hash doesnt it??
It will probably take like a minute to crack a password of a very complex type. Use rainbow tables...use online crackers...

PS damn...didnt see the date

Last edited by w3bd3vil; 06-25-2006 at 01:06 PM.
 
Old 06-25-2006, 05:16 PM   #15
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by w3bd3vil
hmmm....windows xp does use LM hash doesnt it??
It will probably take like a minute to crack a password of a very complex type. Use rainbow tables...use online crackers...

PS damn...didnt see the date
Yes, it's very easy. I helped write a guide on Wikibooks a while ago about how to do this. Please feel free to improve it.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP's lost password.... avols143 General 4 10-11-2005 07:15 PM
Change Samba password from Windows bsherwood Linux - Software 2 06-03-2005 08:28 AM
How to find out a windows password JediMasterTux General 7 08-01-2004 05:24 PM
Windows XP password recovery Scorcher2005 General 32 05-13-2002 10:49 AM
Windows XP password recovery Scorcher2005 Linux - Security 2 04-28-2002 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration