Install Kali Linux on VirtualBox. The host is ubuntu
Set 1G memory and 2 CPUs.
MT7601U Wireless Adapter in Kali in VirtualBox
MT7601U Wireless Adapter can be used in my host system. No need to do any setting. The ubuntu has driver already.
But in guest VirtualBox Kali linux, it can’t work by default.
lsusb command shows the device after the adapter pluged and set in VirtualBox USB device.
1 | lsusb |
but the iwconfig can’t show the device.
1 | /sbin/iwconfig |
dmesg shows message like below
1 | dmesg|grep mt7 |
The issue is not about the adapter driver. It’s about the USB.
After change the VirtualBox USB device setting from USB2.0 (EHCI) Controller to USB1.1 (OHCI) Controller and restart guest system, it works.
1 | lsusb |
Install Chinese font
1 | sudo apt-get install ttf-wqy-zenhei |
add new user by root and add sudo group
1 | useradd newuser |
wordlist
Install
Zip
1 | wget -c https://github.com/danielmiessler/SecLists/archive/master.zip -O SecList.zip \ |
Git (Small)
1 | git clone --depth 1 https://github.com/danielmiessler/SecLists.git |
Git (Complete)
1 | git clone git@github.com:danielmiessler/SecLists.git |
Kali Linux
(Tool Page)
1 | apt -y install seclists |
Kali Linux install VirtualBox addition fails
Both VirtualBox 5.2.x and 6.0.x addition show error message
1 | VirtualBox Guest Additions: modprobe vboxsf failed |
The /var/log/vboxadd-setup.log shows
1 | /tmp/vbox.0/utils.c: In function ‘sf_init_inode’: |
Reason is the new Kali linux kernal version is 4.19.x, the virtualbox addtion utils.c code has issue from kernal version 4.18
solution
Download the Development version addition iso (5.2.97 and 6.0.29). Use this Addition iso. The issue is fixed in latest development version.
VBoxGuestAdditions_6.0.97-128917.iso for VirtualBox6.0.x. So far (2019.02.21), I install latest VirtualBox6.0.4, the Addition in the package doesn’t work. 6.0.97 Addition works.
How to upgrade VirtualBox from 5.2 to 6.0
VirtualBox 6.0 Is Out — Here’s How To Install / Upgrade On Ubuntu 16.04 / 18.04 / 18.10
Use following command to get current Virtualbox version
1 | vboxmanage --version |