Link to home
Start Free TrialLog in
Avatar of McKnife
McKnifeFlag for Germany

asked on

TPM chip - clearing without knowing the BIOS pw

Hi experts.

Read the description carefully: we have a Dell laptop with the bios setup being locked. We found that out while trying to clear the TPM chip of the device using TPM.msc under windows. Windows told us to reboot but upon rebooting, it at once asked us to enter the bios pw in order to complete the process...which we don't have anymore.

So we talked to Dell and they said they can send us a master password if we show them the invoice together with the system serial and passport copy, which we did. We received the master password but in order to use it, we would need to enter the bios - which we can't because of the attempt to clear the TPM! A vicious circle.
Again: the master password can only be used to reset the real password, but we cannot get to the stage where the reset can be initiated because that damn TPM asks for the bios password, blocking all access to the bios!

Question, finally: is it possible to undo initiation of the TPM clearance? In other words: what happens when we choose to clear the tpm, where is that request saved to - directly to the TPM?

We have phoned Dell and they understand the situation but have no further advice because they don't know what is triggering that pw prompt. They are trying to help and contact internal experts, but that might take time, that's why I ask here in the meanwhile.
SOLUTION
Avatar of ☠ MASQ ☠
☠ MASQ ☠

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of btan
btan

This is quite similar to your query and password are of various
- bios password :  System password (prompted before the system can boot up) and Admin password (prompted when trying to access the BIOS settings) which is stored in chip
- tpm password : TPM security password, and protected crypto keys stored in HDD, which they are all used for the subsequent decryption of the TPM protection enabled HDD.
https://www.experts-exchange.com/questions/27022103/Dell-Optiplex-745-Desktop-Hard-Drive-Password-Reset.html

This is useful (see "Clearing Forgotten Passwords" which it claimed the process erases both the system and administrator passwords, we must be careful on this as it may backfire since touching the jumper ...) http://phubner.eng.ua.edu/Files/Optiplex%20745/advfeat.htm#wp1147926

There are posting on unlocking service online but I do see only as last last resort
http://www.biospro.com/ (BIOS) or http://hdd-tools.com/products/rrs/ (Repair Station for HDD ATA password, and note this is not TPM password (like the dell security suite) and is also for specific model)
Side note caution too - Clearing the TPM resets it to an unowned state and highly likely leading to data loss for the data encrypted w/o backup or recovery. The overall effect is the TPM will be off, and resets back to factory defaults. Hence losing all created keys and data that is protected by those keys.
Avatar of McKnife

ASKER

Masq, I fully agree. btan, I am looking for a way to undo that request, that's all. The problem itself has been solved by disassembling that laptop and removing the battery, by the way.

Question was: is it possible to undo initiation of the TPM clearance? In other words: what happens when we choose to clear the tpm, where is that request saved to - directly to the TPM?
This was just born out of interest, I knew that with that laptop model, removing the battery would help.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of McKnife

ASKER

You still get me wrong. I am NOT trying to do something AFTER the tpm is cleared, but before.
I am trying to undo the initialization of the clearing process which effectively blocked the BIOS, as I described.
"I knew that with that laptop model, removing the battery would help."
Now I feel cheated :)  I was sure you'd be dealing with a NVRAM BIOS or you wouldn't have asked!

Yes Btan is right, there are two levels of ID on the TPM, one that's tied to the hardware which should be inviolate and prevents attempts at replacing the chip and the non-volatile EPROM  which is keyed into the OS and reset when ownership is established.  By force clearing the second of these the TPM no longer recognises ownership.  This in turn messes up the BIOS CRTM startup and because TPM-based drive encryption is now disabled anything using it becomes inaccessible.


If you have the rights to use TPM.msc the assumption is you know that this is the consequence of your action which is why you can do this via the OS.  When you send the intitialise clear TPM instruction the chip is set to wipe the ownership key on reboot.  Although there should in theory be a point before the restart that you could reverse/cancel your instruction I have never heard of a way to do this.  Once the machine restarts it's too late.
I think likewise with MASQ too.
I know that you are trying to revert back hence as already stated once restarted and BIOS prompted, it would already halt at step 3 waiting for the BIOS password. There is no way out to revert that process. I dont think there is really any more way out, and not to say undo as the phase is already registered to await confirmation and proceed with TPM clear.
Avatar of McKnife

ASKER

After I disconnected the battery, the BIOS was accessible and there was no request pending to clear the TPM. So the answer must be that this request is saved to the BIOS, not to the TPM itself.
I was just trying to avoid the disassembly of the machine since with that model, it's really a long process. I first hoped it got saved to the BIOS and tried to flash it, but the flash program didn't let me because it was the newest already and it didn't accept older ones.
So I learned where the request gets saved to, case closed. btan' list from intel's paper seemed to indicate the same.

Thanks
thanks for sharing