Thursday, June 16, 2016

How To Hack WPA/WPA2 Wi-Fi With Kali Linux & Aircrack-ng

Kali Linux can be used for many things, but it probably is best known for its ability to penetration test, or “hack,” WPA and WPA2 networks. There are hundreds of Windows applications that claim they can hack WPA; don’t get them! They’re just scams, used by professional hackers, to lure newbie or wannabe hackers into getting hacked themselves. There is only one way that hackers get into your network, and that is with a Linux-based OS, a wireless card capable of monitor mode, and aircrack-ng or similar. Also note that, even with these tools, Wi-Fi cracking is not for beginners. Playing with it requires basic knowledge of how WPA authentication works, and moderate familiarity with Kali Linux and its tools. If you feel you have the necessary skills, let’s begin:
These are things that you’ll need:
If you have these then roll up your sleeves and let’s see how secure your network is!
          Important notice: Hacking into anyone’s Wi-Fi without permission is considered an illegal act or crime in most countries. We are performing this tutorial for the sake of penetration testing, hacking to become more secure, and are using our own test network and router.
By reading and/or using the information below, you are agreeing to ourDisclaimer

Step One:
Start Kali Linux and login, preferably as root.
Step 1
Step Two:
Plugin your injection-capable wireless adapter, (Unless your native computer wireless card supports it). If you’re using Kali in VMware, then you might have to connect the card via the imageicon in the device menu.
Step Three:
Disconnect from all wireless networks, open a Terminal, and type airmon-ng
Step 3
This will list all of the wireless cards that support monitor (not injection) mode. If no cards are listed, try disconnecting and reconnecting the adapter (if you’re using one) and check that it supports monitor mode. If you’re not using an external adapter, and you still don’t see anything listed, then your card doesn’t support monitor mode, and you’ll have to purchase an external one (see the link in the requirements). You can see here that my card supports monitor mode and that it’s listed as wlan0.
Step Four:
Type airmon-ng start followed by the interface name of your wireless card. mine is wlan0, so my command would be: airmon-ng start wlan0
Step 4
The “(monitor mode enabled)” message means that the card has successfully been put into monitor mode. Note the name of the new monitor interface, mon0.

EDIT:A bug recently discovered in Kali Linux makes airmon-ng set the channel as a fixed “-1” when you first enable mon0. If you receive this error, or simply do not want to take the chance, follow these steps after enabling mon0:
Type: ifconfig [interface of wireless card] down and hit Enter.
Replace [interface of wireless card] with the name of the interface that you enabled mon0 on; probably called wlan0. This disables the wireless card from connecting to the internet, allowing it to focus on monitor mode instead.
After you have disabled mon0 (completed the wireless section of the tutorial), you’ll need to enable wlan0 (or name of wireless interface), by typing: ifconfig [interface of wireless card] up and pressing Enter.


Step Five:

Type airodump-ng followed by the name of the new monitor interface, which is probablymon0.
Step 5
If you receive a “fixed channel –1” error, see the Edit above.
Step Six:
Airodump will now list all of the wireless networks in your area, and a lot of useful information about them. Locate your network or the network that you have permission to penetration test. Once you’ve spotted your network on the ever-populating list, hit Ctrl + C on your keyboard to stop the process. Note the channel of your target network.
step 6

Step Seven:
Copy the BSSID of the target network
Step 7
Now type this command:
airodump-ng -c [channel] --bssid [bssid] -w /root/Desktop/ [monitor interface]Replace [channel] with the channel of your target network. Paste the network BSSID where [bssid] is, and replace [monitor interface] with the name of your monitor-enabled interface, (mon0). The “–w” and file path command specifies a place where airodump will save any intercepted 4-way handshakes (necessary to crack the password). Here we saved it to the Desktop, but you can save it anywhere.

A complete command should look similar this:
airodump-ng -c 10 --bssid 00:14:BF:E0:E8:D5 -w /root/Desktop/ mon0
image
Now press enter.
Step Eight:
Airodump with now monitor only the target network, allowing us to capture more specific information about it. What we’re really doing now is waiting for a device to connect or reconnect to the network, forcing the router to send out the four-way handshake that we need to capture in order to crack the password.
Also, four files should show up on your desktop, this is where the handshake will be saved when captured, so don’t delete them!
But we’re not really going to wait for a device to connect, no, that’s not what impatient hackers do. We’re actually going to use another cool-tool that belongs to the aircrack suite called aireplay-ng, to speed up the process. Instead of waiting for a device to connect, hackers can use this tool to force a device to reconnect by sending deauthentication (deauth) packets to one of the networks devices, making it think that it has to reconnect with the network.
Of course, in order for this tool to work, there has to be someone else connected to the network first, so watch the airodump-ng and wait for a client to show up. It might take a long time, or it might only take a second before the first one shows. If none show up after a lengthy wait, then the network might be empty right now, or you’re to far away from the network.

You can see in this picture, that a client has appeared on our network, allowing us to start the next step.
Step 8
Step Nine:
Leave airodump-ng running and open a second terminal. In this terminal, type this command:
aireplay-ng –0 2 –a [router bssid] –c [client bssid] mon0The –0 is a short cut for the deauth mode and the 2 is the number of deauth packets to send.
-a indicates the access point/router’s BSSID, replace [router bssid] with the BSSID of the target network, which in my case, is 00:14:BF:E0:E8:D5.
-c indicates the client’s BSSID, the device we’re trying to deauth, noted in the previous picture. Replace the [client bssid] with the BSSID of the connected client, this will be listed under “STATION.”
And of course, mon0 merely means the monitor interface, change it if yours is different.
My complete command looks like this:
aireplay-ng –0 2 –a 00:14:BF:E0:E8:D5 –c 4C:EB:42:59:DE:31 mon0
Step 9
Step Ten:
Upon hitting Enter, you’ll see aireplay-ng send the packets. If you were close enough to the target client, and the deauthentication process works, this message will appear on the airodump screen (which you left open):
image
step 10
This means that the handshake has been captured, the password is in the hacker’s hands, in some form or another. You can close the aireplay-ng terminal and hit Ctrl + C on the airodump-ng terminal to stop monitoring the network, but don’t close it yet just incase you need some of the information later.
If you didn’t receive the “handshake message,” then something went wrong in the process of sending the packets. Unfortunately, a variety of things can go wrong. You might just be too far away, and all you need to do is move closer. The device you’re attempting to deauth might not be set to automatically reconnect, in which case you’ll either have to try another device, or leave airodump on indefinitely until someone or something connects to the network. If you’revery close to the network, you could try a WiFi spoofing tool like wifi-honey, to try to fool the device into thinking that you’re the router. However, keep in mind that this requires that you be significantly closer to the device than the router itself. So unless you happen to be in your victim’s house, this is not recommended.
Do note that, despite your best efforts, there are many WPA networks that simply can’t be cracked by these tools. The network could be empty, or the password could be 64 characters long, etc.
Step 11:
This concludes the external part of this tutorial. From now on, the process is entirely between your computer, and those four files on your Desktop. Actually, it’s the .cap one, that is important. Open a new Terminal, and type in this command:
aircrack-ng -a2 -b [router bssid] -w [path to wordlist] /root/Desktop/*.cap
-a is the method aircrack will use to crack the handshake, 2=WPA method.
-b stands for bssid, replace [router bssid] with the BSSID of the target router, mine is 00:14:BF:E0:E8:D5.
-w stands for wordlist, replace [path to wordlist] with the path to a wordlist that you have downloaded. I have a wordlist called “wpa.txt” in the root folder.
/root/Desktop/*.cap is the path to the .cap file containing the password. The means wild card in Linux, and since I’m assuming that there are no other .cap files on your Desktop, this should work fine the way it is.
My complete command looks like this:
aircrack-ng –a2 –b 00:14:BF:E0:E8:D5 –w /root/wpa.txt  /root/Desktop/*.cap
image
Now press Enter.
Step 12:
Aircrack-ng will now launch into the process of cracking the password. However, it will only crack it if the password happens to be in the wordlist that you’ve selected. Sometimes, it’s not. If this is the case, you can try other wordlists. If you simply cannot find the password no matter how many wordlists you try, then it appears your penetration test has failed, and the network is at least safe from basic brute-force attacks.
Cracking the password might take a long time depending on the size of the wordlist. Mine went very quickly.
If the phrase is in the wordlist, then aircrack-ng will show it too you like this:

image
The passphrase to our test-network was “notsecure,” and you can see here that it was in the wordlist, and aircrack found it.
If you find the password without a decent struggle, then change your password, if it’s your network. If you’re penetration testing for someone, then tell them to change their password as soon as possible.

Wednesday, June 15, 2016

Kali Linux Tutorial: How To Brute Force Wordpress Using Wpscan Tool

Kali-linux-brute-force-wordpress-wpscan- picateshackz.com

As a WordPress administrator or webmaster you are responsible for the security of the WordPress blog or website you manage. Most probably you’ve already done a lot to beef up the security and today we will show you how to brute force Wordpress password in Kali Linux using Wpscan to checking your Password Strength.

Disclaimer: This tutorial is for educational purposes only and we are NOT responsible in any way for how this information is used, use it at your own risk.



As we now WPScan is a black box WordPress vulnerability scanner, and it is installed by default in kali linux we will use it for brute forcing wordpress, If you have no idea about Kali Linux then i recommend you to read this article: An Introduction To Hacker’s OS: Kali Linux Setup Tutorial.

We will use our wordpress platform that we already installed in our kali linux. If you have not already done visit our article: Complete Guide To Setup Wordpress In Kali Linux With Xampp Server .



Lets's start,


  • Open your Kali Linux Terminal and start Xampp server by typing the following command:
 root@kali: /opt/lampp/lampp start

  • Now we need to Enumerate users, type in terminal:
 root@kali: wpscan -u 127.0.0.1/wordpress --enumerate u

Kali-linux-brute-force-wordpress-wpscan- picateshackz.com

  • Wpscan will automatically search the admin username.


Kali-linux-brute-force-wordpress-wpscan- picateshackz.com

  • Now Do wordlist password brute force on the username, type in terminal:

 root@kali: wpscan --url 127.0.0.1/wordpress --wordlist /root/pass --username k4linux

Kali-linux-brute-force-wordpress-wpscan- picateshackz.com

  • --wordlist set the location of your Password Wordlist

  • --username set the administrator username that you have found


Kali-linux-brute-force-wordpress-wpscan- picateshackz.com


After a search Wpscan will find the password and this will take a few minutes, this depends on your Wordlist.

Efficiency of the Brute Force depend on how much strong is your wordlist and how many password contains it.

Watch the video tutorial for more explanation (Wpscan):





Recommended Hacking Tutorial:

Visit TechyChronicles For More Method To Earn Money Online

Visit ApksBlizzard For More Apks

Introduction To Kali Linux


Kali Linux is a debian based operating system. Kali linux use by penetration tester  for pentesting and digital forensic. Kalilinux is developed and maintained by Offensive Security Ltd.Kali Linux is completely free and open source .Source code of kali linux is available on the http://git.kali.org/gitweb/. As Kali linux is open sourced, any user can make changes in kalilinux packages and rebuilt it as per their need.

Kali 
linux contain more than 600 penetration testing tools.These tools are used by penetration tester for vulnerability assessment and security implementation. Apart from pentester, Hacker also using the kali linux for finding the vulnerability and exploiting the vulnerability to gain access to victim computer. 

Pentesters and Hackers use the kali linux tool for various purpose as given below:
  • Information gathering
  • Vulnerability Analysis
  • Web Application Analysis
  • Database Assessment
  • Password Attack
  • Wireless Attack
  • Reverse Engineering
  • Exploitation Tools
  • Sniffing and Spoofing
  • Post Exploitation
  • Forensics
  • Reporting Tools
  • System Services

How to install Kali Linux 2.0 On CD Drive

Installing Kali Linux 2.0

There are various ways to install the kali linux OS.


(a)  Download Kali Linux 2.0 image and mount the image to DVD/USB drive and install using this DVD/USB.

(b)   Create Virtual machine on your operating system using tools like Oracle Virtual Box and boot your Virtual machine using kalilinux ISO.

Download Kali Linux image and either burn the ISO to DVD, or prepare a USB stick with Kali Linux Live as the installation medium.

Here is the very first screen you should see when booting your system using this ISO.

Kali Linux 2 Install
From here, click "Graphical Install” option to start the installation process.

Select your preferred language for this operating system installation.
Kali Linux 2 Lanugae
Choose your location from next step.
Kali Linux 2 Location
Specify your keyboard layout from this step.
Kali Linux 2 Keyboard
Set the hostname for your this new installation.
Kali Linux 2  Hostname

Select a password.

Simple passwords may not work so chose something that has some degree of complexity.


The next prompt asks for your time zone. Modify accordingly and select continue. The next example shows selecting Eastern Standard time.


Select Manual, then click Continue.


1. Create the boot partition

Select Create a new partition, then Click Continue.


Allocate a suitable disk space to it. Any value more than 50 MB is good. More is better. Continue.


If this is the first partition on ths disk, the installer will create it as a Primarypartition, which is just fine. Subsequent partitions will be created as Logicalpartitions, which is just fine, too.


The default is good. Continue.


The partition has been created. Now we need to specify that we want it mounted at /boot. To do that, double-click on the Mount point line. You'll have to do this to change the mount point of any partition.


Select /boot from the list of options.


That's all you need to do for this partition.


Select Done setting up the partition, then click Continue.


2. Create the root partition

Back to the main partitioning window, you should see the new partition you just created and the available free space. Select the latter, then click Continue to create the next partition, which will be for the root partition. Note that this step will have to be repeated to create subsequent partitions.


Continue.


A fresh installation of Kali Linux 1.0.6 takes up more than 9.5 GB of disk space, so assign this partition enough disk space to install the system and also sufficient to account for future growth in disk usage. Continue.
The default is good. Continue.


Continue.


By default, it should be mounted at /, so select Done setting up the partition, then click Continue.


3. Create the partition for /home

After selecting the remaining free space from the main partitioning window, then clicking Continue, you should see this window, which should be familiar to you by now. Select Create a new partition, then click Continue.


Since this partition will be mounted at /home, assign it as much disk space as you have available. Continue.


Continue.


The default settings are good, so select Done setting up the partition, then clickContinue.



4. Create the Swap partition
This will be the last partition. Continue.


On a 64-bit system, 4 GB for Swap is good enough. On a 32-bit system, 2 GB or less is enough. Continue.


Continue.


You need to change the default setting here, so double-click on the "Use as" line as show in above image and select swap area from the list of options in the window that opens.


Select "Done setting up the partition". Continue.


Back to the main partitioning window, you should see all the partitions that you created. Verify that all is well, then select " Finish partitioning and write changes to disk "


Yes. Continue. That's the end for how to create partitions manually for Kali Linux (1.0.6).


Kali Linux using central repositories to distribute application packages. If you would like to install these packages, you need to use a network mirror. The packages are downloaded via HTTP protocol. If your network uses a proxy server, you will also need to configure the proxy settings for you network.


Kali will be prompt to install GRUB. Click Yes to install grub.


Once the installation is over, reboot and start using new operating system.

Kali Linux 2.0