Learn how Android malware communicates with a remote command-and-control server
Study which data Android apps can access when granted certain permissions
Understand how security defenders detect or block suspicious background activity on phones
Explore mobile app security in a controlled lab or course environment
Install Python 3 and Java, clone the repo, run the build command to generate a custom APK with your server IP baked in. Use ngrok to test over the internet instead of a local network.
AndroRAT is a remote administration tool for Android devices, built for educational purposes according to the project disclaimer. It works as a client-server pair: a Java-based Android app installed on a target device connects back to a Python-based server running on the attacker's machine, allowing the person at the server to issue commands and retrieve data from the phone remotely. Once the app is installed on an Android device, it runs silently in the background, starts automatically when the device boots, and hides its icon from the app drawer. Through a command-line interpreter, the server operator can take photos from either camera, record audio and video, read SMS messages and call logs, retrieve the device's current GPS location, get SIM card details and network information, copy clipboard contents, run shell commands, and transfer files in both directions. The tool supports devices running Android 4.1 through Android 9, with partial support for Android 10. To use the tool, a person installs Python 3 and Java, clones the repository, and runs a build command that produces a custom APK file. That APK embeds the server's IP address and port number so it knows where to connect when installed. An optional ngrok integration allows connections over the internet rather than only on a local network. The project states clearly that it is intended for educational and research contexts only, and the author takes no responsibility for any other use. It is licensed under the MIT license. This kind of tool is commonly studied in security courses to understand how mobile malware communicates with control servers, what data Android apps can access when given certain permissions, and how defenders can detect or block such activity.
← karma9874 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.