近年来随着各种HVV活动的兴起,各种新的概念层出不穷。其中就有近源渗透这个概念。 黑客行走江湖,哪儿能没有些趁手的兵器装备呢? 相信很多人都曾梦想过拥有一台黑客专属手机,走到哪儿黑到哪儿。那么现实中这样的手机存在吗?答案是肯定的!NetHunter就能满足你所有的需求! Kali Linux NetHunter是由Offensive-Security团队打造的基于Android平台的渗透测试环境。 通过使用Kali Linux NetHunter我们可以使用诸如外接无线网卡破解WiFi,模拟BadUSB设备进行HID攻击,外接USB蓝牙适配器进行蓝牙攻击……等各种近源渗透活动。 在Kali Linux NetHunter官网我们可以查阅官方支持的设备型号列表。
make ${args} mrproper
make ${args} santoni_treble_defconfig
7.0.11 图形化配置内核选项
以下内容不同版本内核可能会有所不同,以实际情况为准!
1
make ${args} menuconfig
1
2
3
4
5
6
7
首先进入"Gerenal Setup"选择到"Local version - append to kernel release"清空里面所有内容
然后取消勾选"Automatically append version information to the version string"接着选中"Default hostname",输入"kali"接着勾选"System V IPC"然后返回上一级菜单
接着进入到"Device Drivers" -> "Network device support" -> "USB Network Adapters"勾选以下几个选项:
"USB RTL8150 based ethernet device support""Realtek RTL8152/RTL8153 Based USB Ethernet Adapters""ASIX AX88xxx Based USB 2.0 Ethernet Adapters""ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet".
然后返回上一级菜单
接着进入到"Wireless LAN"勾选以下几个选项:
"Atheros/Qualcomm devices""Atheros HTC based wireless cards support""Linux Community AR9170 802.11n USB support""Atheros mobile chipsets support""Atheros ath6kl USB support""MediaTek devices""MediaTek MT7601U (USB) support""Ralink devices""Ralink driver support""Realtek devices""Realtek 8187 and 8187B USB support""Realtek rtlwifi family of devices""RTL8723AU/RTL8188[CR]U/RTL819[12]CU (mac80211) support""Include support for untested Realtek 8xxx USB devices (EXPERIMENTAL)""ZyDAS devices""USB ZD1201 based Wireless device support""ZyDAS ZD1211/ZD1211B USB-wireless support""Wireless RNDIS USB support"在"Ralink driver support"中勾选以下几个选项:
"Ralink rt2500 (USB) support""Ralink rt2501/rt73 (USB) support""Ralink rt27xx/rt28xx/rt30xx (USB) support""rt2800usb - Include support for rt33xx devices""rt2800usb - Include support for rt35xx devices (EXPERIMENTAL)""rt2800usb - Include support for rt3573 devices (EXPERIMENTAL)""rt2800usb - Include support for rt53xx devices (EXPERIMENTAL)""rt2800usb - Include support for rt55xx devices (EXPERIMENTAL)""rt2800usb - Include support for unknown (USB) devices"在"Realtek rtlwifi family of devices" 中勾选
"Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter"然后返回主菜单
如图所示
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
进入到"Device Drivers" -> "Multimedia support" 勾选:
"Digital TV support""Software defined radio support""Media USB Adapters"在"Media USB Adapters"中 勾选:
"Airspy""HackRF""Mirics MSi 2500"然后拉到最下面,取消勾选 "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"取消勾选 "I2C Encoders, decoders, sensors and other helper chips" 内所有选项
取消勾选 "Customize TV tuners" 内除了 "Rafael Micro R820T silicon tuner" 以外所有选项
在 "Customise DVB Frontends" 内取消勾选除了:
"Realtek RTL2830 DVB-T""Realtek RTL2832 DVB-T""Realtek RTL2832 SDR"以外所有的选项
然后返回主菜单
如图所示
1
2
3
4
5
6
7
进入到"Device Drivers" -> "HID support" 勾选:
"Battery level reporting for HID devices""/dev/hidraw raw HID device support""User-space I/O driver support for HID subsystem""Generic HID driver"勾选"Special HID drivers""USB HID support""HID over I2C transport layer" 内所有选项
然后返回上一级菜单
接着进入到"Device Drivers" -> "USB support" 勾选:
"Support for Host-side USB""OTG support""USB Modem (CDC ACM) support""USB Wireless Device Management support""USB Mass Storage support""USB Serial Converter support"在"USB Serial Converter support" 中勾选:
"USB Serial Console device support""USB Generic Serial Drive""USB Serial Simple Drive""USB Winchiphead CH341 Single Port Serial Driver""USB CP210x family of UART Bridge Controllers""USB FTDI Single Port Serial Driver""USB Prolific 2303 Single Port Serial Driver"在"USB Gadget Support"中勾选:
"USB functions configurable through configfs""Generic serial bulk in/out""Abstract Control Model (CDC ACM)""Object Exchange Model (CDC OBEX)""Network Control Model (CDC NCM)""Ethernet Control Model (CDC ECM)""Ethernet Control Model (CDC ECM) subset""QCRNDIS""RNDIS""RMNET_BAM""Ethernet Emulation Model (EEM)""Mass storage""Function filesystem (FunctionFS)""MTP gadget""PTP gadget""Accessory gadget""Audio Source gadget""Uevent notification of Gadget state""MIDI function""HID function""USB Diag function""USB Serial Character function""USB CCID function""USB QDSS function"接着返回主菜单,退出并保存配置
如图所示
7.0.12 保存配置
1
make ${args} savedefconfig
7.0.13 编译内核
1
make ${args} 2>&1| tee kernel.log
7.0.14 编译内核模块
1
make ${args}INSTALL_MOD_PATH="."INSTALL_MOD_STRIP=1 modules_install