adding pin encrypted key extraction
https://blog.scrt.ch/2024/10/28/privilege-escalation-through-tpm-sniffing-when-bitlocker-pin-is-enabled/
Hello, for some reason the code as in this PR does not extract the blob for TPM +pin. The one available in https://github.com/en4rab/SPITkey/tree/main/logic2-plugins does.
Hello, for some reason the code as in this PR does not extract the blob for TPM +pin. The one available in https://github.com/en4rab/SPITkey/tree/main/logic2-plugins does.
increase the parameter "WINDOW_SIZE = 0x2c" and everything should work
To capture the encrypted VMK that TPMandPIN mode uses change the window to "WINDOW_SIZE = 0x50" as the regex to find the blob is looking for 80 bytes (the header 5000000005000000 then the 72 bytes of the encrypted VMK