How to install Kali Linux on your Nexus 5
Having used the Pwnpad Community Edition
for quite some time I was wondering if you could cram a true research /
penetration testing tool in an even smaller package, the Nexus 5.
First you need to “root” your device. I’ve done this using CF-Auto-root which was very easy to do.
Next is to install Kali Linux on top of your Android OS in a chroot environment. For that I used “Linux Deploy”, you can find the App in the Playstore. You can find an article on this on kali.org. You can use this article however I found a couple of minor changes you need to perform for it to install successfully. I did walk into some issues when installing.
First I’ve changed the size to 7128 (see [Kali Linux (Chroot) on Galaxy S4 i9505/i9500 http://forum.xda-developers.com/showthread.php?t=2400638. I’m not sure wether this is necessary since I haven’t test it with the default settings but I thought it was a good idea to avoid any storage issues.
Next it appears that the Android Kitkat 4.4 and Linux Deploy combination has problems with the wget applet. It is unable to resolve DNS names. To get around this is to use the IP address instead of the domainname. You can get the IP address with host/nslookup/dig etc. More information on this issue: https://github.com/meefik/linuxdeploy/issues/84:
Then click the “Install” button and wait until it’s finished:
Next is to verify whether you can login with SSH and VNC. You can do this through your (wireless) network or locally with tools such as JuiceSSH and VNC Viewer:
And we’re done! Unfortunately it’s not possible to connect your ALFA Networks AWUS036H or TPLink TLWN722N USB adapter and do some WIFI pentesting. Your Android device needs to have the drivers with it’s kernel compiled. But that’s a whole new project. Also see the second paragraph of this blog: Kali chroot on Android
First you need to “root” your device. I’ve done this using CF-Auto-root which was very easy to do.
Next is to install Kali Linux on top of your Android OS in a chroot environment. For that I used “Linux Deploy”, you can find the App in the Playstore. You can find an article on this on kali.org. You can use this article however I found a couple of minor changes you need to perform for it to install successfully. I did walk into some issues when installing.
First I’ve changed the size to 7128 (see [Kali Linux (Chroot) on Galaxy S4 i9505/i9500 http://forum.xda-developers.com/showthread.php?t=2400638. I’m not sure wether this is necessary since I haven’t test it with the default settings but I thought it was a good idea to avoid any storage issues.
Next it appears that the Android Kitkat 4.4 and Linux Deploy combination has problems with the wget applet. It is unable to resolve DNS names. To get around this is to use the IP address instead of the domainname. You can get the IP address with host/nslookup/dig etc. More information on this issue: https://github.com/meefik/linuxdeploy/issues/84:
Then click the “Install” button and wait until it’s finished:
Next is to verify whether you can login with SSH and VNC. You can do this through your (wireless) network or locally with tools such as JuiceSSH and VNC Viewer:
And we’re done! Unfortunately it’s not possible to connect your ALFA Networks AWUS036H or TPLink TLWN722N USB adapter and do some WIFI pentesting. Your Android device needs to have the drivers with it’s kernel compiled. But that’s a whole new project. Also see the second paragraph of this blog: Kali chroot on Android
.png)
0 comments: