News for hackers. Stuff that matters.
Re:Reverse-engineering Instagram to access the private API by CGamesPlay on Tuesday December 24, 2013 @10:11AM (#6959619)
Public key encryption to sign involves encrypting using my own private key. Which would be on the phone, and so any end user could pull it from the device.
Re:Reverse-engineering Instagram to access the private API by cake on Tuesday December 24, 2013 @10:47AM (#6959764)
So what can you do ? You can't fight the private key retrieval right ?
Re:Reverse-engineering Instagram to access the private API by CGamesPlay on Tuesday December 24, 2013 @10:54AM (#6959799)
Well, you can lock down the device so that the end user doesn't own it, doesn't have root, and can't inspect your binary/data outside of your exposed interface. Which is exactly what iPhones and many Android vendors attempt to do.
Re:Reverse-engineering Instagram to access the private API by somesay on Thursday December 26, 2013 @10:53AM (#6966587)
Typical DRM/crypto problem. As soon as one party is out of your control (e.g. client on end-user device) you already lost. Even on the iPhone you could do a jailbreak. You could only make things more difficult, in worst case you would have to open the device and directly access the RAM or something.

Indeed you could personalizes the keys for every user. So you could detect a leaked private key that is widely used and proceed against. Still that wouldn't hinder personal further use of that private key, e.g. for exporting data (similar to breaking DRM).

Re:Reverse-engineering Instagram to access the private API by danhoc01 on Tuesday December 24, 2013 @12:07PM (#6960135)
You can download an APK using http://apps.evozi.com/apk-downloader/, decompile and modify just as the article has said, and push to the Android SDK's emulator. I have done several analyses of apps using this method and a MITM proxy.

I'm sure there are additional techniques to obfuscate the private key, but relying on locked down devices isn't possible in the Android ecosystem. You don't need a device at all to perform the steps outlined in the article.

Re:Reverse-engineering Instagram to access the private API by nly on Tuesday December 24, 2013 @11:24AM (#6959959)
Nothing. If this article reminds of anything it's that anyone can patch Android apps (and resign them with a new key) to do anything they want.
Re:Reverse-engineering Instagram to access the private API by somesay on Thursday December 26, 2013 @10:46AM (#6966566)
Why exactly is that bad? Decompiling is a common tool, not only on Android. And however, Android notices that the app is signed differently, so it's still secure.