I was experimenting with a few programs in the past few days. My main goal would be to hook some text functions and be able to get all the actions and names, other than that I wanted to change the background of an app, to make it easier to OCR the things that I can not get through hooks.
My first idea about the image thing was just to repackage the .apk with new images. Took some while to set everything up, sign the apk and so on, but when I was finally able to install it, it turned out that the app computes a checksum and will not connect to the server if it was changed.
After that I tried to use XPosed. I am able to hook some things, but XPosed can not hook native code it seems and I was also unable to change any ressources in the assets folder. The app mostly uses native code called from compiled LUA scripts. I am also unable to decrypt the .luac files, because I have no way of hooking the app at the moment and getting the key. So that didn't work too well, but maybe someone has an idea what to do.
I tried to use frida later. I am able to hook some apps, but the one I need to hook uses ARM and somehow there is a mismatch between frida libraries and the ones the app uses. It's a shame, as it seems to offer everything that I would need.
Last thing that I tried was Cydia Substrate. That one didn't even install.
So yea, if anyone has any experience with this I would be happy about any tips. I can also share a bit more of my own experiences.
|