I bought a used laptop, it has an admin password set locking me away from the setup. The laptop has an EFI, not a BIOS.
Setup settings aren't written to the NVRAM (which I already wiped).
I can access these settings through the kernel in:
/sys/firmware/efi/vars
the relevant folder for the password is:
SystemSupervisorPw-7f9102df-e999-4740-80a6-b2038512217b
This folder contains the following files:
attributes
data
guid
raw_var
size
The "data" file contains the following hex string:
09 1F 12 19 12 21 06 09 14 16 41
which corresponds to an eleven characters string of which only four are ASCII:
????!? ??A
I believe this is the (hashed) setup password.
Any idea what kind of hash function could be in use?
Also, how can I edit this data? /sys/firmware is read only, even for root.
Also I guess it's a bad idea to wipe the password data provided that i can edit it?