Cracking Electron Integrity

How to patch apps with ElectronAsarIntegrity on macOS

Karol Mazurek
7 min readJul 20, 2024

--

INTRO

The best part of knowledge sharing is receiving feedback from the audience, especially constructive criticism, which helps to improve.

Recently, I wrote a brief introduction to patching macOS apps, where I also put some hints on the patching process for electron apps:

After publishing the blog post, Luca Carettoni pointed out that Electron apps that use ElectronAsarIntegrity patched the above way will not work:

Source

Luca is 100% right. Electron apps with additional integrity checks in the form of ASAR Integrity will not work if we change something in the ASAR file and re-sign it again on macOS, as I described in the previous article.

--

--

Karol Mazurek
Karol Mazurek

No responses yet