Posts Tagged ‘Windows’

View System Uptime

Tuesday, November 18th, 2008

1) Open the Command Prompt (located under Accessories)

2) Type systeminfo

3) Once the system has finished gathering the information, scroll up and the time is displayed in the System Up Time field.

As you can see, running systeminfo also gives a lot of useful information.


You can also use:

net statistics workstation

Look at the top line which should read “Statistics since …”

Rating: 4.7/10 (3 votes cast)

Windows Password Cracking with Backtrack

Sunday, October 26th, 2008

Backtrack’s Home: http://www.remote-exploit.org/backtrack.html

Note:
This should only be used for security purposes. This is intended for password retrieval for lost
passwords and should be done only by system administrators. This guide will only cover how to crack
these passwords on local systems and will use a brute force method instead of a wordlist. All the
commands are case sensitive if you receive a command error please check case.
Before we begin make sure that your system BIOS it is set to boot via CD if there is on, in case it has
been disabled or the order has been altered on your system. Now lets begin:

‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐

1. Insert Backtrack CD, and reboot system.

2. When the load screen comes up hit enter to boot Backtrack via CD.

3. The default username and password for Backtrack is:
root
toor

4. This will bring you to a command prompt. For this example we are going to be doing this
without a network.
Note: Where we could work for this command prompt and skip the GUI interface we
will load the GUI interface and a system monitor resource for ease of use. If you prefer
to skip the GUI skip to step #10

5. To load the GUI interface type:
xconf ‐This will configure Xwindows
startx ‐This will start Xwindows

6. Once the interface has loaded up, we will want to launch the command line terminal. This is
done by clicking the second box on the lower left menu. It should look like a small black box
with a frame around it.

7. Upon entering the Command Terminal we will launch a resource monitor so we can watch the
resources of this process. We will refer back to this later on. To do this type
leetmode

8. You will now be able to click the top of this monitor and drag it into a location that is best for
you.

9. That will conclude the portion of this guide for the GUI interface. Time to get some dirty work
done. Go back to the Command terminal and the rest of our work will be done here.

10. Determining which drive is the windows drive:
Type:
DF ‐DF is a Unix command meaning, Disk Free. This will display the amount of disk
space used and available on the system.
The windows drive should be hda1 but depending on the system setup this may be
different. Look for the drive with the largest size, this usually determines the
windows drive. It unsure, type : cd /mnt/DiveInQuestion/ and see what the file
contains.

11. Lets move into the live drive (the memory drive, we will be working from here later on) Type:
Cd /mnt/live/

12. Lets first get the passwords using Bkhive. Type:
Bkhive /mnt/hda1/WINDOWS/system32/config/system /mnt/live/key.txt
This will create a key.txt file for us to use within the live drive.

13. We will continue with a Samdump file. This will give us the hash’s of the passwords we want to
crack. Type:
Samdump2 /mnt/hda1/WINDOWS/system32/config/SAM /mnt/live/key.txt>hashlist.txt
This will take a samdup from the SAM directory in windows, where the passwords are
stored, and with the key.txt file it will save it as hashlist.txt

14. Time to crack the passwords!!! We will be using John the Ripper to do a brute force crack of
these passwords. I know brute force is a slow method. Using a wordlist file will be much faster
but for this example we will be using a brute force method because we know that we will get
the password with time being the only constraint. Lets do this by typing:
John hashlist.txt –f=NT
John is the program John the Ripper. The hashlist.txt is the hash file we saved. We have
already moved into the live directory where we saved it. The –f=NT is setting the password
format to NT, or windows passwords.

15. Now all you have to do is sit back and watch. As it cracks the passwords they will be displayed
with the password listed first then the user name incased in ()’s.
Enjoy and let me know if you have any questions.

Rating: 9.7/10 (3 votes cast)