A deep dive into an NSO zero-click iMessage exploit: remote code execution

Google’s Project Zero describes a (now fixed) zero-click exploit in iMessage, and, well, it’s kind of insane.

JBIG2 doesn’t have scripting capabilities, but when combined with a vulnerability, it does have the ability to emulate circuits of arbitrary logic gates operating on arbitrary memory. So why not just use that to build your own computer architecture and script that!? That’s exactly what this exploit does. Using over 70,000 segment commands defining logical bit operations, they define a small computer architecture with features such as registers and a full 64-bit adder and comparator which they use to search memory and perform arithmetic operations. It’s not as fast as Javascript, but it’s fundamentally computationally equivalent.

Mother of god.

7 Comments

  1. 2021-12-16 10:26 am
    • 2021-12-16 1:27 pm
    • 2021-12-16 4:04 pm
    • 2021-12-17 5:04 am
      • 2021-12-17 8:40 am
      • 2021-12-17 9:51 am
  2. 2021-12-17 5:04 am