Test Update Mechanism For Tampering

OtherDiscovery

Written with a model's help from “Building a Secure Electron Auto-Updater” on Doyensec blog. Read the writeup before relying on it.

When testing an Electron application's update mechanism, try tampering with the update manifest or binary to see if the application verifies its integrity. Send a modified update.json or latest.yml file with a fake version number or hash to the https://target.com/updates endpoint. If the application installs the update without verifying its signature or hash, it may be vulnerable to downgrade or integrity attacks. You can also try intercepting the update request and serving a signed but non-production version of the application to test for untested version attacks. Look for any signs of the application accepting the tampered update, such as a successful installation or execution of the modified code.

Follow #electron or #updater for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.