[Journey] Instagram APP Reverse Engineer

slighty

Regular Member
Joined
Jul 31, 2017
Messages
258
Reaction score
140
Intro (Just a little bit about myself):
I myself am a software engineer (kinda?), I am connected to computers since a kid and played games my whole teenager life. Five years ago I joined college for software engineer degree and although I learned a lot from it my main expertise come from self-taught. Right now I'm affiliated with some projects where we just gather a bunch of friends and code stuff.

Basic Idea of what I'm doing:
Grab Instagram APK (Android app), modify it and learn how the most recent version of the API is currently working through spoofing all the requests.

Why am I doing it:
I heard some conversations on telegram on how hard it is to accomplish it on the most recent versions. Mainly because of cerfiticate pinning, thus you won't be able to ever read any https requests. I took it somehow personal and challenged myself into breaking the code and learn everything about how the IG API is working.

What have I done so far:
Dowloaded most recent working android APK and analyzed some of the code. Needless to say that is all obfuscated

GL ME
 
After a day and a long night I managed to do it.
Points to notice: There is alot of trash code that do nothing, probably to frustrate you and misdirect you into losing your mind.
If anyone is interested I can post here the tools I used to help me crack it down.

nRV87qs
 
Interesting, what tools did you use in the process?
 
Man,i have no fking idea for all of this,but it seems so interesting.
Keep posting!
 
Yeah I heard about the trouble with the API too, I am really interested in finding out what's going on, keep up the good work!
 
You're the man! This will be interesting !
 
You need to use a java decompiler, something like jd-gui and also a apktool to build and rebuild the app.
 
Could you give some more technical details on how you did it? I did it in a different way, but I'm curious to know which classes you patched, etc.

PS: és tuga? pois vejo pt-pt num dos headers do pedido :)
 
Very nice.
If I wanted to make a bot with tier 1.5~2 apps (because tier 1 like IG is very hard to RE and they update their shits quickly), how long it will take until the bot completion?
And can you share some authoritive guide/video to RE android apps?
 
Could you give some more technical details on how you did it? I did it in a different way, but I'm curious to know which classes you patched, etc.

PS: és tuga? pois vejo pt-pt num dos headers do pedido :)
Wouldn't really give details as it probably would be abused to create bots. And Yes I am ;)
 
Very nice.
If I wanted to make a bot with tier 1.5~2 apps (because tier 1 like IG is very hard to RE and they update their shits quickly), how long it will take until the bot completion?
And can you share some authoritive guide/video to RE android apps?
Bot completion would depend on how hard are the requests to build, understand and how much decryption is behind it. And I don't know any guides/videos to RE android apps, I just know java i guess x)
 
if you are good at revering apps and wanna make some bots on reversed android apps ping me I have some offer with good $$$
 
if you are good at revering apps and wanna make some bots on reversed android apps ping me I have some offer with good $$$
Thanks for the offer but I have no interest at the moment due to my busy schedule :oops:
 
How are you sniffing https traffic and I guess the tool you are using is fiddler
thanks
 
you can't sniff https traffic. they are meant to be SECURE from being sniffed
If you are the sender of the requests you can always find a way to sniff everything ^^
 
Back
Top