> ## Content Index
> Fetch the complete content index at: https://ostreff.info/llms.txt
> Use this file to discover other available public pages before exploring further.

# Unbelievable
- URL: https://ostreff.info/art-in-coding/
- Published: 2021-12-16T20:36:35.000Z
- Updated: 2021-12-20T20:15:08.000Z
- Author: Jordan Ostreff
- Tags: Personal, #security, #NSO Group

💡

  
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.

💡

The bootstrapping operations for the sandbox escape exploit are written to run on this logic circuit and the whole thing runs in this weird, emulated environment created out of a single decompression pass through a JBIG2 stream. It's pretty incredible, and at the same time, pretty terrifying.

Whole article how they made it - [https://googleprojectzero.blogspot.com](https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html?ref=ostreff.info)

Explanation what they have made - [Pegasus\_(spyware)](https://en.wikipedia.org/wiki/Pegasus%5F%28spyware%29?ref=ostreff.info).

The lesson from the whole article is that there are still programmers who can work without using [https://stackoverflow.com](https://l.facebook.com/l.php?u=https%3A%2F%2Fstackoverflow.com%2F&h=AT0zTKM6h6vkQWhuX1rLZlO4wpmq2D7U9yqJ1vOLBbQIOM2r%5Fyw-GdQgPwnWHmlnJK%5FVRaR0BnfPk1WsmfNMgZ6bE3I0d9glfAhuNpOTS8OJNtecqiLAKr4Z4y%5FoDsCV1pKmpKfNEisuzCuu8nUIx-s&h=AT0zTKM6h6vkQWhuX1rLZlO4wpmq2D7U9yqJ1vOLBbQIOM2r%5Fyw-GdQgPwnWHmlnJK%5FVRaR0BnfPk1WsmfNMgZ6bE3I0d9glfAhuNpOTS8OJNtecqiLAKr4Z4y%5FoDsCV1pKmpKfNEisuzCuu8nUIx-s&h=AT0zTKM6h6vkQWhuX1rLZlO4wpmq2D7U9yqJ1vOLBbQIOM2r%5Fyw-GdQgPwnWHmlnJK%5FVRaR0BnfPk1WsmfNMgZ6bE3I0d9glfAhuNpOTS8OJNtecqiLAKr4Z4y%5FoDsCV1pKmpKfNEisuzCuu8nUIx-s&ref=ostreff.info)! 

As we say in my homeland - "the road to hell is paved with good intentions ..."   
The result of their briliant work is simply awwful!  
  
Please note another interesting idea, using the same concept - "[Open Redstone project](https://openredstone.org/?ref=ostreff.info)" and his [description](https://www.pcworld.com/article/559794/8-bit-computer-processor-built-in-minecraft-can-run-its-own-games.html?ref=ostreff.info).