Basic of Binary Patching (Easy Way)

11/24/2023

In this blog, we are going to talk about how we can perform android binary patching which tend to bypass for rooted detection in an easy way. We do not need to disassembling and resign application ourselves. Let APKLab VSCode extension do the magic trick

Challenge : root2.apk


APKLab Extension Installation

Step 1 : Disassembling

Open VSCode and press “Ctrl + Shift + p” then search for “APKLab”. Click on “Open an apk”

Select any option and click on “OK” (In this case we use default selection)


Step 2 : Binary Patching

After the APKLab disassembling the application file, you can start your binary patching here.


Step 3 : Rebuild Application

Right click on “apktool.yml”. Select an option you fit. The APKLab will rebuild and sign the application for you


References

APKLab : https://github.com/APKLab/APKLab