0

I am trying to follow this tutorial https://dhiyaneshgeek.github.io/mobile/security/2021/12/25/hopper-disassembler/ which shows how to bypass the jailbreak detection in a sample demo app named "SecureStoreV1.ipa".

The idea is to break the tbz (test bit and branch if zero) ARM instruction and convert it into `tbnz' (test bit and branch if not zero).

Having a paid version of hopper, it allows me to directly change the instruction via GUI but while doing so, it gives me a syntax error. Attaching screenshot for reference.

enter image description here

Can anyone help me here please? What am I doing wrong?

node_analyser
  • 1,502
  • 3
  • 17
  • 34
  • What are the other options in that CPU Mode dropdown? I suspect that "ARM" refers to the original 32-bit architecture, which didn't have TBZ/TBNZ instructions - you'd have to select a 64-bit option. – jasonharper May 17 '23 at 03:53
  • There are two options - ARM/Thumb. Tried selecting Thumb as well but syntax error still stays. – node_analyser May 17 '23 at 04:00
  • As a workaround, I just tried using `cbnz` with checking register x0. It worked fine. But I am curious to know why am I getting that syntax error for tbnz. – node_analyser May 17 '23 at 04:01

0 Answers0