Showing posts with label hack. Show all posts
Showing posts with label hack. Show all posts

Friday, 24 January 2014

How to hack a wifi network(WEP / WPA2) using linux (in my case ubuntu)

To hack the wifi password with WEP/WPA2, you gonna need following programs.

1. reaver - This is free tools which can be downloaded on linux for free by typing following command on linux terminal

$ sudo apt-get install reaver

2. aircrack-ng - It is also a free tool for linux and is also available for windows, it can downloaded by using dollowing command

$ sudo apt-get install aircrack-ng


This hacking method used bruteforce, that means it is going to take lot of time, may be sometimes a day, but will surely provide you with the password unlike the dictionary hack, which it inefficient if the password is not made by words in dictionary.
For those, who don't know what brute force, dictionary or rainbow hack is?
Brute Force is very old fashioned and efficient way of hacking but time consuming. It tries every possible combination of words, letters, symbols, numbers and finally gave the password.
Dictionary hack uses the dictionary for hacking the password, it tries all the combination of words available in dictionary and if the password is combination of dictionary words, then this method is the best method to hack any password.
Rainbow hack is somewhat the combination of rainbow and brute force, it removes certain words to be searched for password based on the dictionary and it is thus more efficient than brute force and dictionary hack, in general cases.

Now to hack the wifi password, follow the following steps.

1.  First open the wlan port where you will hack your wifi, this is done by following command on the terminal
$ airmon-ng start wlan0

2. Now, we have to list all the wifi network available
$ airodump-ng mon0

3. Now copy the bssid of the wifi network you want to hack and use in iplace of <bssid> in following command
$ reaver -i mon0 -b <bssid>

Now, the brute force will start and password will be hacked in sometime, depending on the length and complexity of password.

How to hack the lockscreen of android phone i,e bypass screen without PIN or pattern

How to bypass the pattern lockscreen of any android phone

To remove the pattern lock of the android devices, you gonna need a computer running any linux distro, as of my case ubuntu 13.04. Just follow the following steps

1. Open the linux terminal and type
    $sudo apt-get install android-tools-adb
   and let it install

2. When it is installed, connect the android device to the computer.

3. Type
    $adb devices
   a will device will be shown and if not then make sure that USB Debugging is switched ON, on the android devices, probably located in the developer options inside the settings(on device on or after android 4.0)

4. Now the device is shown, then type
    $adb shell
    $su
    #cd data/system
    #rm *.key;
    #exit
    $adb reboot

5. Now your device will be rebooted.

6. Now try any pattern, the device will open.

If after the step, $su, the $ doesnot changed to #, or a error pops up, it means that your device is not rooted. Fortunately, methods are there which can unlock the phone, even if the device is not rooted, that I will write about next time.

Saturday, 28 December 2013

How to become the system user in windows and take the SAM file

Windows generally have three types if users wiz. user, administrator, system user. We users only have access to first two users and system user is like the root user in linux. Microsoft does not give us option to function as system user, that means we are not the sole owner of the windows, as we cannot use it as root.

So, here is the way to become the system user of our windows and do whatever we want. In my previous blogs I have mentioned that windows passwords are stored in SAM file in c:\windows\system32\config and we cannot view it or copy or delete it. But once we become the system user we can manipulate this file also. Now you may got the essence of system user.

Here are the steps to become the system user and take home the SAM file.

1. Download psexec.exe from sysinternal

2. Place it your C drive(or drive in which your windows is installed)

3. Open the cmd.exe and type cd \ . It will place you in the root directory where psexec is placed.

4. Use the following command   psexec -i -s cmd.exe
where -i for interactive
          -s for system account

5. When the command completes cmd shell will launched then type whoami, it will say "system"

6. Now, open the task manager and kill the explorer.exe

7. From thr cmd shell that is currently opened type start explorer.exe

8. When the explorer is launched, notice the name "system" as the user. Now you can delete or copy files in the windows\system32 folder which were not possible when your either admin or normal user.

9. Now you can also copy SAM file and extract hashes from it.

Monday, 20 May 2013

How to hack windows password


There are various ways out there, by which we can hack the windows password. In windows, after the windows NT, mircrosoft have changed the way of security for the windows password. Now the password is  stored in a file in the registry, which can easily be accessed by the user but cannot be opened. The password is stored in a file named SAM.

The file is present in following directory.
C:\Windows\System32\config
As you can see the file named SAM is present which have password for all users.
When we try to open this file, it will show a message and it won't open.

Now, in order to hack the password we just need to replace this file by some other file which can easily achieved by running some other OS in the system and replace this file from the SAM file of some other computer. The other OS which can be used are quite a long list, anyway we'll use ubuntu.
Follow the following steps

1. Copy the SAM file of some computer in removable storage like pendrive or flash drive.
2. Make bootable pendrive or disk of ubuntu by using any software.
3. Insert the bootable in the computer to be hacked and boot the OS(you may need to change the boot order of the machine from the BIOS of the system).
4. Now choose try ubuntu and then it will boot up.
5. Open the directory in which SAM file is present and delete that and now copy the file taken from other computer in place of the file.
6. shutdown and restart the computer.

Now when you boot the windows, the user name from other computer will appear and password will be of the other computer. And now you can easily access the system without the use of old password.

You can use any other OS in place of ubuntu. I have used ubuntu beacuse its free and easily avaliable.

Hope it works for you, feel free to comment below if you encounter any problem.

Thursday, 27 December 2012

How to change the password of computer even at log on screen and hence by pass the password.

There are various methods of hacking around the world developed by developers. These methods are sometimes applicable in all systems while some of the methods are for specific systems only.
Therefore another step of hacking is dependent of a very simple concept. When we press shift key for 5-6 times continuiosly then sticky key comes up. So this process of hacking involves changing that sticky key window with the command prompt and then change the password of the computer by following the process I explained in my last post
Now the only thing you have to do is to change the sticky key into the command prompt in the log on screen. But in order to change it you should had used the computer before and do the trick so that you can easily by pass the log on screen by removing/changing the password. So for this hack to happen you must had used the computer before.
So you should perform the following steps as follows.
1. Go to windows and then system32.
2. Find the file named cmd.exe
3. Copy this file to desktop and rename it to sethc.exe
4. If it show some kind of error then u should gain the full control of the file through the security tab of properties, to do it follow these sub steps.
     (a). Right click on the file and then click properties.
     (b). Switch to security tab then click on advanced and then gain full control of the file by changing the permissions of the file and make it to administrator control.
5. Then copy the file to the system32 and see the magic.
And now when you tab shift several times you will find command prompt opening up even at log on screen.
And now after opening the command prompt you can easily change the password of the computer.