Skip to content

Bypassing enrollment by modifying local state with some alternatives  #491

@adrenos660

Description

@adrenos660

Is your feature request related to a problem? Please describe.
I noticed spoofing hwid to bypass enrollment has been pached in rollback protection version 4 or 5
so it enrolls regardless of malformed hwid

Describe the solution you'd like
I would like to use a script that runs on oobe that switches out the local state file with a modified one after wifi connects
this skips the enrollment part of oobe because local state dictates the state of
oobe completion

I did not make this but I've used it and it's good and I have some ideas

https://github.com/sledman-puffles/shimboot-skipoobe/blob/main/writeup.md
The WriteUp

Describe alternatives you've considered

Would this work

Any version :
run the following in vt2 (any version)

mount --bind /dev/null /tmp/machine-info
initctl restart ui

136
echo --enterprise-enable-state-determination=never >/tmp/chrome_dev.conf
mount --bind /tmp/chrome_dev.conf /etc/chrome_dev.conf
initctl restart ui

Then setup oobe

Credits to cryptosmite and it's inventor
Credits to sled-sman puffles
Credits to con (Harry jarry 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions