script-runner-tr3nch
-e Tr3nch - run scripts in Chrome pages with SKIOVOX Breakout and Sh0vel! Sh0vel is necessary for Tr3nch to perform most of its functions.
Finding Sh0vel - Instructions:
Check installed extensions:
- Navigate to chrome://extensions.
- Check if any installed extensions contain the “Read your browsing history” permission. -> Find an extension to check. -> Click Details in the extension card.
If necessary extensions are not installed:
- Navigate to the Chrome Web Store. (https://chromewebstore.google.com/)
- Find an extension that contains the “Read your browsing history” permission.
- Navigate to the extension’s Chrome Web Store details page.
- Click Add to Chrome.
Get the extension ID:
-
Navigate to chrome://extensions.
-
Open the details page of the extension you installed.
-
Copy the 32-character extension ID from the address bar after ?id=.
-
Navigate to the manifest page of the extension you installed. (chrome-extension://extension_id_here/manifest.json)
-
Check if one of the following text occurrences (no quotes!) are present in the manifest file.
- “activeTab”
- “unsafe-eval” (NOT wasm-unsafe-eval, that WILL NOT WORK!)
- “browser_action” or “browserAction” You can press Ctrl + F and enter one of the strings provided in this step to check.
- If all of the previously listed text occurrences are present in the manifest file, that’s great! The extension you’re checking is vulnerable to Sh0vel! Use this extension when continuing with the guide.
Performing the Exploit - Instructions:
- Enter a kiosk profile with SKIOVOX performed.
- Navigate to the SKIOVOX Breakout GitHub repository. (https://github.com/MunyDev/skiovox-breakout)
- Click the Code button.
- Click Download ZIP.
- If a download prompt opens, save the file to the Downloads folder.
- Navigate to chrome://extensions.
- Flip and enable the Developer Mode switch on the extensions page.
- Click Load unpacked. An upload prompt should open.
- When the upload prompt opens, right click the downloaded ZIP file.
- Select Extract all.
- In the extracted folder > skiovox-breakout-main, click Open in the bottom right of the prompt.
- Navigate to chrome-untrusted://crosh.
- Run vmc create-extra-disk —size=1 /home/chronos/user/MyFiles/Downloads/opener.txt. It should return “A raw disk is created at /home/chronos/user/MyFiles/Downloads/opener.txt.”
- Open a new tab.
- If the default New Tab page loads, install the SKIOVOX Helper extension in a new tab before proceeding.
- Click the folder icon in the bottom right. The file manager should open.
- In the file manager, navigate to Downloads.
- Open the opener.txt file. A new window should open with a blank page tab. This window is managed by your organization.
- Open a new tab.
- Close the blank page tab.
- Navigate to chrome://extensions.
- Open the details page of the extension you previously chose to install in your managed profile.
- Copy the extension ID as done previously.
- Return to the regular window that is not managed by your organization.
- Click the extensions extension icon in the toolbar.
- Click and activate the Skiovox Breakout extension.
- In the input field for the extension ID, enter the ID of the extension you previously chose to install in your managed profile.
- Set the textarea text to the script you want to run.
- Click Start injection.
Loading the Tr3nch Menu - Instructions: You should load Tr3nch into an extension before proceeding.
- Navigate to chrome://flags.
- Locate and enable the extensions-on-chrome-urls flag.
- Click Restart.
- After the restart, navigate to chrome://os-settings, chrome://setttings, chrome://extensions, chrome://chrome-signin, chrome://inspect, chrome://file-manager, chrome://network, or chrome://oobe.
- Click the extensions extension icon in the toolbar.
- Click and activate the extension with the injected script. The Tr3nch menu should launch.
Credits: Zeglol1234 Main developer Writable SKIOVOX Breakout implementations Bypassi Add Gmails exploit NotBoeing747 Misc development & testing Kxtz Misc development & testing Archimax GUI inspiration Kelsea Logo Katie Testing
Links: https://whelement.github.io/tr3nch.html https://whelement.me/tr3nch https://discord.com/channels/419123358698045453/1237166678685782087 https://raw.githubusercontent.com/Whelement/Tr3nch/main/tr3nch.js https://chrose.netlify.app/detail/tr3nch/ - AshtonDavies