No-permission Android App Gives Remote Shell
viaforensics.com
No-permission Android App Gives Remote Shell
1–10 of 10 posts
Re: No-permission Android App Gives Remote Shell
#2Re: No-permission Android App Gives Remote Shell
#3Not very interesting if you don't tell me how it's done...
Re: No-permission Android App Gives Remote Shell
#4Not very interesting if you don't tell me how it's done...
According to the linked presentation the app sends data by opening URLs in the web browser (which is obvious to the user unless the device is locked). It receives data by having the browser open URLs using a custom URL scheme (which can apparently be registered without any permissions).
Re: No-permission Android App Gives Remote Shell
#5Re: No-permission Android App Gives Remote Shell
#6Not very interesting if you don't tell me how it's done...
The basic problem is that the permissions model is very leaky; there are lots of ways to work around it, by sending intents to other apps that have more permissions, by relying on certain OS services to call you in a more privileged way, by providing custom notifications that display on top of everything, and so on.
For instance, even if you don't request internet permissions, you can still open a URL, with whatever data you want to send encoded in the URL; and you can even do this in sneaky ways that the user can't detect if you're careful (only doing so when the screen is off, for instance, and redirecting to Google so they don't see anything odd when you turn the screen back on). And you can register a URL handler, that the page can redirect to, to communicate back to your app.
Re: No-permission Android App Gives Remote Shell
#7Earlier quoted context omitted.
According to the linked presentation the app sends data by opening URLs in the web browser (which is obvious to the user unless the device is locked). It receives data by having the browser open URLs using a custom URL scheme (which can apparently be registered without any permissions).
What was that python reverse program and if that's running then the device is in debug mode (since it's an emulator maybe it's always in debug mode?). So I'm left wondering what does this prove?
Re: No-permission Android App Gives Remote Shell
#8Not very interesting if you don't tell me how it's done...
I'm guessing the exploit in the article is pushing this method to the next level.
Re: No-permission Android App Gives Remote Shell
#9Earlier quoted context omitted.
What was that python reverse program and if that's running then the device is in debug mode (since it's an emulator maybe it's always in debug mode?). So I'm left wondering what does this prove?
The python program was simply the server the attacker sets up. It could be run on any machine connected to the Internet and then accessed by the shell program from the user's device. The emulator and server were run on the same machine to make it easier to record the screencast, but the method works just the same on a real device and a remote server. There is nothing really difficult about how it is done, it is expla…