官术网_书友最值得收藏!

Time for action – creating a monitor mode interface

Let's now set our wireless adapter into monitor mode.

Follow these instructions to get started:

  1. Boot Kali with your adapter connected. Once you are within the console, enter iwconfig to confirm that your card has been detected and the driver has been loaded properly.
    Time for action – creating a monitor mode interface
  2. Use the ifconfig wlan1 up command to bring the card up (where wlan1 is your adapter). Verify whether the card is up by running ifconfig wlan1. You should see the word UP in the second line of the output as shown in the following screenshot:
    Time for action – creating a monitor mode interface
  3. To put our card into monitor mode, we will use the airmon-ng utility that is available by default on Kali. First run airmon-ng command to verify whether it detects the available cards. You should see the wlan0 interface listed in the output:
    Time for action – creating a monitor mode interface
  4. Now enter airmon-ng start wlan1 command to create a monitor mode interface corresponding to the wlan0 device. This new monitor mode interface will be named mon0. (You can verify if it has been created by running airmon-ng without arguments again).
    Time for action – creating a monitor mode interface
  5. Also, running ifconfig mon0 should now display a new interface called mon0.
    Time for action – creating a monitor mode interface

What just happened?

We have successfully created a monitor mode interface called mon0. This interface will be used to sniff wireless packets off the air. This interface has been created for our wireless adapter.

Have a go hero – creating multiple monitor mode interfaces

It is possible to create multiple monitor mode interfaces using the same physical card. Use the airmon-ng utility to see how you can do this.

Awesome! We have a monitor mode interface just waiting to read some packets off the air. So let's get started.

In the next exercise, we will use Wireshark to sniff packets off the air using the mon0 monitor mode interface we just created.

主站蜘蛛池模板: 涿州市| 曲阳县| 隆德县| 赣州市| 宿州市| 广宗县| 吐鲁番市| 台江县| 庆元县| 隆尧县| 防城港市| 菏泽市| 建德市| 毕节市| 诏安县| 洛南县| 界首市| 普安县| 渭源县| 延吉市| 裕民县| 临桂县| 红桥区| 榆社县| 京山县| 手游| 枞阳县| 嘉鱼县| 宁津县| 伊吾县| 吴堡县| 南江县| 西乡县| 观塘区| 泾源县| 宁远县| 陇西县| 万盛区| 隆昌县| 昭觉县| 新郑市|