[Cuis-dev] Is it possible to hide the source code in a Cuis project ? And is it good for Cuis?

ken.dickey at whidbey.com ken.dickey at whidbey.com
Wed Jan 12 14:38:10 PST 2022


On 2021-12-23 13:36, Nicola Mingotti via Cuis-dev wrote:

> The only chance I see here, is to change the VM to make it
> load an encrypted image and password-protect access to
> the browser tools in your UI. Of course if someone gains root
> access to your computer, he/she could easily read the decrypted
> image from RAM.

Nicola,

The VM could read the bytecodes via a decrypted cache (perhaps using a 
simple block cypher).  Only the "read cache" code is special and signed. 
  Basically, one plugs into instruction fetch.

One can size the decryption cache and do some "read-ahead" to reduce 
latency.

As you point out, this is an obfuscation technique.  But as the image is 
decrypted in blocks, you do not expose the entire image at once.

Just a thought..
-KenD


More information about the Cuis-dev mailing list