IOS reverse patch

Time:2022-1-14

Here is IDA’s patch
1. Search SVC #0x80 and return to IDA View-A interface to search correctly
IOS reverse patch
Click the T button in the figure to pop up the search box
IOS reverse patch
Click in the list to enter
IOS reverse patch
2. Modify SVC #0x80, select the row of SVC in IDA View-A interface, and click Edit — > patch program — > change bytes on the toolbar
IOS reverse patch
The modify box pops up
IOS reverse patch
Modify 01 10 00 D4 to the byte code 1F 20 03 D5 of NOP (how to know the byte code of NOP, just find a NOP and change bytes), and click OK
IOS reverse patch
As shown in the figure above, NOP is successfully modified. The next step is to save it to the program
3. Save the patch changes to the program, and click Edit — > patch program — > apply patches to input file on the toolbar
IOS reverse patch

At this point, the complete patch is completed
PS: you can try keypatch