Jump to content

Establish Kali 2017.3 on Raspberry Pi


Recommended Posts

The latest version is a tad twisted. Once booted, you will not be able to SSH to it.  If you have a monitor, mouse and keyboard, you only need to gparted to extend the image into the full range of your SD Card (at the end of this post)

First, you will have to establish serial hardware capability to the Pi.  I used this product from Adafruit.  make sure that what you use is 3.3v - NOT TTL or 5v signals.  A gadget such as this is very handy if you are doing anything with the Pi.
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/connect-the-lead
The connection is on the outer edge of the Pi, on the end furthest from the USB and RJ45 connector The connections from furthest in towards the connectors are:
NC (unless 5 volts is desired)
NC 
White (TXD) 
Green (RXD)
Plug USB serial into your computer
On your computer: connect to the USB serial port with Putty or whatever.
Power up the Pi
If all is well, you should see lots of console stuff. (If not you either ruined your Pi with 5v or you have TXD and RXD swapped)
With reference to this: https://forums.kali.org/showthread.php?38351-Unable-to-SSH-into-Kali-Linux-on-Raspberry-Pi-3
Do this:
dpkg-reconfigure openssh-server
You can now SSH to your Pi with Putty or whatever.  I recommend that with the USB serial, you continue with that though.

Next you will have to establish the tight VNC Server (not the x11vnc Kali recommends in their instructions)  TightVNC is what the metapackage will later install. You need VNC to run gparted and expand the image into your SD card so there is space to install the rest.
sudo apt-get install tightvncserver
sudo apt-get install gparted
tightvncserver :1
connect with vnc 

gparted from GUI terminal emulator
extend ext4 fully to provide space for the install.

You are now read to install the rest of Kali. for a 16gb - 32gb card, I recommend the following:

sudo apt-get kali-linux-full
This will take A LONG TIME. This is another reason to use a USB Serial solution as it will continue even if the SSH connection is broken.  During the first 45 minutes or so, you will be asked questions.  You will need to answer them to keep it going.

For more info on different packages and their sizes, go here:
https://www.kali.org/news/kali-linux-metapackages/

 

Link to post
Share on other sites
  • 2 weeks later...

SSH is disabled by default, yes, but has been that way in Kali from day one, for security reasons. You can build an ISO with it enabled though before installing, and also customize everything you want under the sun to your needs. Not sure if Re4son's Pi has SSH disabled out of the box as well, but something others might want to look at too, a lot of his changes get rolled into the mainline for drivers and such, but SSH will always be disabled unless you build a custom ISO and install script. I think BackTrack was this way as well towards the later versions, which also disabled network settings on live boot as well if not mistaken.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...