currently I'm working on a RAT for Android devices. The general idea is to write a simple app, which runs a malicious service on boot. This service then waits for commands to execute from a Server application on a computer.
I got that running, but my problem is that I wish to make the service persistent. At the moment the service gets (Of course) uninstalled, when the victim uninstalls the application, but I want it to work further on, even if the host app gets removed .
Maybe some of you know Dendroid. It is a RAT for Android, which also runs a service on startup, but this service persists, even if the host app gets uninstalled. So here's my question: Does some of you know how to make a service persistent? I thought of injecting a service into another app or installing a new app - Maybe called "SystemService" or something similiar -, which shouldn't get removed by the victim.
I am writing the whole RAT in C# with Xamarin, but ideas how to write it in Java would be appreciated too . When I'm done with the RAT, I think I'll post the code with explanations here, so your help won't be useless
Thanks in advance!