Tuesday 7 October 2014

HB Blog 27: How To Install Kali Linux On Android Device Using Linux Deploy.

From the creators of BackTrack comes Kali Linux, the most advanced and versatile penetration testing distribution ever created.
Linux in a chroot on almost any modern device that runs Android. In fact, the developers of Linux Deploy have made it extremely easy to get any number of Linux distributions installed in a chroot environment using a simple GUI builder. 

Requirements:-
  1.  A smartphone/tablet running Android 2.1 and above, which needs to be rooted since it requires root permission to run certain scripts.
    For rooting android smartphone you can follow my blog Step By Step Guide How To Root Mobile Device.
  2. At least 5 GB free space on internal or external storage.
  3. A fast, wireless internet connection.
  4. Patience to wait for a distribution to bootstrap from the network. 
  5. Following Android Apps:
    BusyBox: It acts like a installer and uninstaller.it needs root permission to run.it has gpu cores and can  run linux kernals on android .
    Superuser: This app just grants a superuser power to your phone just like “su” does for linux.
    Terminal Emulator: It is app that runs a terminal console in android .
    AndroidVNC: It is a tool for viewing VNC in Android.
    Linux Deploy:It creates a disk image on the flash card, mount it and install there OS distribution.
Installation:-
1)Start up Linux deploy app and press the little arrow in the bottom right corner of the screen to open the preferences menu.
2)Configuring the settings as per your requirements.You can choose your architecture, verify that the Kali mirror is correct, set your installation type and location on your Android device, etc.
 3)Then, select "install" option and start installing Linux to your device.It will start a Kali Linux bootstrap directly from our repositories. Depending on your Internet connection speed, this process could take a while. You’ll be downloading a base install of Kali Linux (with no tools) at minimum.
4)After installed go back to preferences and select reconfigure. This will take a couple minutes but will configure Kali with your device.
5)Then just hit "start" option and Linux Deploy automatically mounts and loads up your Kali Linux chroot image. This also includes the starting of services such as SSH and VNC for easier remote access.
6)At this stage, Linux Deploy has started a VNC and SSH server inside your chrooted Kali image. You can connect to the Kali session remotely using the IP address assigned to your Android device.To bring up the graphical interface to see it.Select android vnc viewer and put in these settings. Select new for connection, type anything you want for the nickname, type changeme as the password, and 5900 as port. Now u could use any color settings but the best would be 24-bit. After you fill this out select connect.
 
7)Press Connect and thats all kali is running, when your finished just go back to Linux deploy app and select stop. 

No comments:

Post a Comment