Ask HN: How do I go about reverse engineering an apk
1–5 of 5 posts
Re: Ask HN: How do I go about reverse engineering an apk
#2Re: Ask HN: How do I go about reverse engineering an apk
#3Re: Ask HN: How do I go about reverse engineering an apk
#4Re: Ask HN: How do I go about reverse engineering an apk
#5- Sniff network traffic with something like mitmproxy / burp. I would do this first. Probably 99% of the information of interest to you will go over the wire. Note you may need to disable certificate pinning, which could either be done system wide or by modifying the SSL handshake function in the binary.
- Recompile the APK with hooked functions that log their arguments to syslog. That’s a crude, quick way of getting a trace of code paths. Not sure exactly how it’s done on Android, but on iOS there’s a big ecosystem for this so I imagine it’s similar with android.
- Attach the running application to a debugger, eg gdb or lldb and walk through the program. This is 100x easier if you have the symbol table.
If you need any more help with this, I’m a software consultant and this is exactly the kind of thing I do sometimes. Email is in my profile.