Saturday, September 28, 2013

Turning Android Device into Hacking machine



Did you ever think of running BackTrack Linux on your Android Device...??? No...

Did you ever think of hacking from your litle android device...??? No...

Here is the way by which you can turn your litle android device into a black hacking machine... You can run your android OS and Backtrack OS simultaneously in chrooted environment...

My Samsung Galaxy S Advance


MINIMUM REQUIREMENT :-


  • Rooted Android Device with chroot support.
  • Atleast 5GB free space on your external memory card.
  • Atleast 7GB temorary storage on your PC just for cut, copy and paste the files.
  • Atleast 256MB RAM in android device.



Things to be download and install :-


  1. Any BusyBox Build for Android
  2. Any Terminal Emulator for Android
  3. Any NTFS Mounter for Android
  4. Any VNC Viewer for Android
  5. Any File Manager with Root Support for android
  6. BackTrack Arm Package file "BT5-GNOME-ARM.7z"
  7. Hacker's Keyboard For Android



Now follow these simple stpes :-


  • Install all those applications on your abdroid device
  • Format your memory card into NTFS format and mount using NTFS Mounter Application in android.
  • Unpack BackTrack Arm Package into your PC. I'll recommend to use 7-zip for unpacking.
  • When unpacking is done, GOTO the Location Where All 7 files are present. Now Again unpack the "bt5.img.gz" file to extract the "bt5.img".
  • Now Create a folder in your NTFS formatted memory card like "BT5" or as you wish.
  • Just copy these files in newly created folder "BT5"
    "bootbt"
    "bt5.img"
    "fsrw"
    "mountonly"
    "unionfs".
  • After copying those files on your "BT5" folder, you can delete all the unpacked files from your pc to free up space, otherwise you can keep it for future use.
  • Open Any Text Editor and type the following line and save this file as "bt" into memory card, where in second line after cd, mention the location of "BT5" folder.

  • Just copy and paste this "bt" file into your "/system/xbin" or "/system/bin" folder using file manager and set the permission value to 644(rw-r--r--).
  • open Terminal Emulator in Android and switch super user by "su" command. type another command "bt" and press ENTER. If you mention right location of your "BT5" folder in 8th step then following screen will appear in terminal.

          Now you are running BackTrack 5 on your android device.
  • As you can see that backtrack is running under Command Line Interface, to switch into Graphical User Interface you have to start vnc server. To start VNC type following commands
    vncpasswd
    rm -rf /tmp/.X1*
    vncserver -geometry 800x480

    (NOTE : "vncpasswd" command is setting the password for VNC Viewer Application. "rm -rf /tmp/.X1*" will remove the previously running vncserver. "vncserver -geometry 800x480" starts vncserver on default port 5901, where 800x480 is the size of my android device screen, you have to set your device size.)
  • Now just minimize the terminal and open the VNC Viewer and setup the new setting
    password : (the password which you entered in vncpasswd command)
    address: 127.0.0.1
    port : 5901
    and just press connect button.
  • Select Input Mode from VNC Viewer as "TouchPad", Now your touchscreen will work as touchpad. Two finger touch will enable the KEYBOARD and zoom level. Enjoy The Hacking Machine.

    (NOTE : To stop vncserver type "vncserver  -kill  :1" and ENTER. This will stop vncserver. To stop BackTrack just type "exit" in terminal and it will stop the chrooted environment, after that only Android OS will be running.)
Happy Hacking... 3:-D

No comments:

Post a Comment