Eventually Kali becomes a bit bloated and needs to be reimaged to continue functioning properly. This repo helps document my setup steps and hosts some of my more commonly used scripts and files.
- Update/Upgrade:
sudo apt update && sudo apt upgrade
sudo apt dist-upgrade
- Enable RDP and SSH:
# RDP
sudo apt install -y xrdp
sudo systemctl enable xrdp
sudo systemctl start xrdp
# SSH
sudo systemctl enable ssh
sudo systemctl start ssh
- GitHub Setup:
# Clone this repo:
git clone https://github.com/Oofles/kali-build.git
# Optional: Authenticate to GitHub:
sudo apt install -y gh
gh auth login
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
- Install additional packages:
sudo apt install -y gobuster seclists
-
Firefox extensions:
a. HackTools: https://addons.mozilla.org/en-US/firefox/addon/hacktools/ b. FoxyProxy: https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/
-
Configure FoxyProxy (Settings):
- Title: Burp
- Proxy Type: HTTP
- Proxy IP: 127.0.0.1
- Port: 8080
Barebones install - can ping out, but not resolve hostnames
- If the NIC drivers aren't installed properly or there's an issue during build, the resolv.conf file may be misconfigured
sudo -i
rm -rf /etc/resolv.conf
echo "nameserver 8.8.8.8" > /etc/resolv.conf
exit
After reboot (or network service restart), DHCP may pick up and modify the resolv.conf to the desired DNS servers.