SH1MMER

Shady Hacking 1nstrument Makes Machine Enrollment Retreat

What is SH1mmer?

SH1MMER is an exploit capable of completely unenrolling enterprise-managed Chromebooks. It was found by the Mercury Workshop team and was released on January, Friday the 13th, 2023. For more info, check out the Writeup by CoolElectronics.

What you will need

  • A USB with at least 8 GBs of storage
  • A personal computer or chromebook; note that you need admin perms on Windows/MacOS

  • Writing to USB

    First, you'll need to find your managed Chromebook's board name. This can be done by going to chrome://version on your Chromebook and copying the word after "stable-channel", or with a variety of other methods.

    If your board name is in the list below, your board has a publicly leaked RMA shim. If it's not, you'll have to source it on your own... somehow.

    brask, brya, clapper, coral, dedede, enguarde, glimmer, grunt, hana, hatch, jacuzzi, kukui, nami, octopus, orco, pyro, reks, sentry, stout, strongbad, tidus, ultima, volteer, zork

    First you need to download a sh1mmer bin. Download a shim at chrome100.dev
    , and build it with the sh1mmer web builder
    This Wax4Web is currently working right now! ^^^^^^ Once you've obtained a MODIFIED SHIM (NOT A RAW SHIM), you can continue.

    Download the Chromebook Recovery Utility extension on your personal computer as well.

    Once the downloads are complete, launch the recovery utility and plug your USB into your personal computer. Note that your USB will be completely cleared and partitioned.

    In the recovery utility window, click the settings icon and press "use local image".

    Select your shim file, identify your USB, and start the writing process. This will take about 10 minutes.


    Executing on Chromebook

    Once writing is complete, enter recovery mode on your Chromebook. This is done by pressing the power button, reload key (↻), and esc key at the same time. Your screen should look one of the images below:

    Press ctrl+d on this screen, then press enter.

    It will now say something about "returning to secure mode" or that "OS verification is off". You will most likely not actually be in dev mode, but the exploit will work regardless. Your screen should look like one of the images below:

    On this screen, press the power button, reload key (↻), and esc key at the same time again! This is very important and cannot be skipped.

    Once it re-shows the original recovery screen, plug your shimmed USB into your Chromebook, and press the power button, reload key (↻), and esc key again. After a brief black-and-white loading screen, you should be in the SH1MMER menu.

    Play around with the UI, exit, and reboot.


    The Fog... (google's response, and why this might not be working for you)

    Downgrading and unenrollment has been patched by google. If your chromebook has never updated to version 112 before (check in chrome://version), then you can ignore this and follow the normal instructions. If not, unenrollment will not work as normal. If you aren't willing to take apart your chromebook to unenroll, you can use an affiliated project, E-HALCYON to boot into a deprovisioned environment temporarily

    How to use sh1mmer after the patch, if you're willing to take the back cover off your chromebook

    you'll only need to do this once, and it will let you use sh1mmer even after it's been completely patched

    
    
            1. unplug everything, open the back panel, disconnect the battery to disable WP, plug in the charger
            2. boot into sh1mmer and use "unenroll"/"deprovision" (yes I know it will show an error, but that doesn't
            matter)
            (you will also need to run "remove block_devmode" if you're using the old legacy version)
            3. go to the bash shell and run this command:
            /usr/share/vboot/bin/set_gbb_flags.sh 0x8090
            do not use "reset gbb flags" after this
    
            4. exit sh1mmer, unplug everything, reconnect the battery, reconnect the charger
            5. boot up, press ctrl+d to enter developer mode
            6. once it completes, use ctrl+alt+shift+r to powerwash
            7. after powerwash, immediately go to the ctrl+alt+f2 (forward) shell, login as "root" and run these commands:
            tpm_manager_client take_ownership
            # fuck reddit users xd
            cryptohome --action=remove_firmware_management_parameters
            both commands should say success, otherwise there has been an error and you should downgrade to v110 or lower
            8. press ctrl+alt+f1 (back), use ctrl+alt+shift+r to powerwash again
            9. profit
    
            NOTE: if you're on dedede, your WP method is probably different. look your model up online to find the WP
            method.
          

    What now?

    You will now be able to, among other things, unenroll your Chromebook. It will now behave entirely as if it is a personal computer and no longer contain spyware or blocker extensions. After you do this and get past the "determining device configuration" screen, you will be able to actually turn dev mode on.

    Note that while unenrolled, it is recommended to add your personal account first, then add your school account, then switch between the two as needed. Mercury Workshop does not condone the use of SH1MMER or unenrolling to cheat in school.

    The biggest challenges with unenrolling are connecting to the school network and taking state or national exams (since there are no kiosk apps anymore).

    There are many methods to get a school Wi-Fi password while enrolled, including the policy netlog trick. While on a school account and unenrolled, you can bypass Wi-Fi blocks by using a secure DNS such as Cloudflare 1.1.1.1 from chrome://os-settings/osPrivacy. It is also recommended to enable "MAC Address Randomization" in chrome://flags to stay hidden.

    To take a kiosk exam, the safest option is to re-enroll temporarily. Instructions for doing that are hosted at this TXT file. Saving a copy of this file for future reference is probably a smart move.

    FAQ Credits

    We have a Fediverse server! Join if you're interested or want a chill instance.
    For actual support, there begrudgingly is a discord also