Skip to main content

Bitlocker Key Retrieval

Summary

This document retrieves any available Bitlocker recovery key and saves it to the xPVAL Bitlocker Key CF.

Example Agent Procedure Log

TimeActionStatusUser
4:07:36 pm 13-Dec-22Bitlocker Key RetrievalSuccess THENprovaltech.com/dan.hicks
4:07:36 pm 13-Dec-22Bitlocker Key Retrieval-0001No Recovery Key found on endpoint.provaltech.com/dan.hicks
4:07:36 pm 13-Dec-22Execute Powershell Command (64-bit, Run As System)Success THENprovaltech.com/dan.hicks
4:07:36 pm 13-Dec-22Execute Powershell Command (64-bit, Run As System)-0016Powershell command complete. Results returned to global variable #global:psresult# and saved in Agent's Documents tab of server.provaltech.com/dan.hicks
4:07:22 pm 13-Dec-22Execute Powershell Command (64-bit, Run As System)-0011Executing 64-bit Powershell command as System: "" -command "$result = Get-BitLockerVolume | ForEach-Object \{\"$([string]($_.KeyProtector).RecoveryPassword) $RecoveryKey\"}; if (!($result)) \{\"Drive $result\"}" > "c://provaltech//psoutputtmp.txt"provaltech.com/dan.hicks
4:07:22 pm 13-Dec-22Execute Powershell Command (64-bit, Run As System)-0013Sending output to global variable.provaltech.com/dan.hicks
4:07:22 pm 13-Dec-22Execute Powershell Command (64-bit, Run As System)-0008Custom commands detected as $result = Get-BitLockerVolume | ForEach-Object \{\"$([string]($_.KeyProtector).RecoveryPassword) $RecoveryKey\"}; if (!($result)) \{\"Drive $result\"}provaltech.com/dan.hicks
4:07:22 pm 13-Dec-22Execute Powershell Command (64-bit, Run As System)-0003No Powershell file variable detected.provaltech.com/dan.hicks
4:07:17 pm 13-Dec-22Execute Powershell Command (64-bit, Run As System)-0002Powershell is present.provaltech.com/dan.hicks
4:07:07 pm 13-Dec-22Run Now - Bitlocker Key RetrievalAdmin provaltech.com/dan.hicks scheduled procedure Run Now - Bitlocker Key Retrieval to run at Dec 13 2022 4:07 PMprovaltech.com/dan.hicks

Dependencies

CF xPVAL Bitlocker Key

Process

This process retrieves Bitlocker recovery keys on the endpoint and prints any that exist to the CF.

Output

CF, AP Log