Kali Pi :: Initial Setup

Raspi_Colour_R

Networking

[Static IP]
nano /etc/network/interfaces

Add following lines at the bottom of the file(comment out above lines except loopback iface):

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.8
netmask 255.255.255.0
gateway 192.168.1.1

[DNS Conf]
nano /etc/resolv.conf
nameserver 192.168.1.1
nameserver 8.8.8.8

[Assign static default gateway]
ip route add default via 192.168.1.1

[Restart networking]
/etc/init.d/networking restart

Rebuild ssh keys
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
service ssh restart

Expand USB
run /scripts/rpi-wiggle.sh

Update Kali
apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get autoremove && reboot

Check service status
service ssh status
service postgresql status
service apache2 status

Apps

– TightVNC
apt-get install tightvncserver
update-rc.d tightvncserver enable

[Reset password]
vncpasswd

– Metasploit
apt-get install metasploit-framework
update-rc.d metasploit-framework enable

-LazyKali
wget lazykali.googlecode.com/files/lazykali.sh
wget lazykali.googlecode.com/files/hackpack.tar.gz

Make services persistent
update-rc.d ssh enable
update-rc.d apache2 enable
update-rc.d postgresql enable
update-rc.d metasploit-framework enable