3 ms·
> Instead of trying to understand the proprietary encryption/decryption, just run the decryption code without understanding it. When I have encountered this so
by kanzure 11y ago
> Instead of trying to understand the proprietary encryption/decryption, just run the decryption code without understanding it.
When I have encountered this sort of problem in the past, I would drop the encryption module into another Android app and directly call the functions. I would then run the other Android app on a phone or Android emulator. Custom emulation seems unnecessary for most cases.
- falcolas 11y agoUnnecessary, but fun.
- calebfenton 11y agoshameless plug: this is basically what dex-oracle does https://github.com/CalebFenton/dex-oracle https://github.com/CalebFenton/dex-oracle It has modules which look for patterns in code. Then you can tell it to run some method from the original app to understand what the code should be. Then, you can replace the obfuscated code with whatever you computed.