Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

SEC- Encryption - Dataview - Bitlocker - Non Domain - Audit

Summary

This document displays information from the table SEC - Encryption - Custom Table - plugin_proval_bitlocker_audit, which is filled by SEC - Encryption - Script - Bitlocker - Audit. Additionally, it provides information about the Active Directory backup status of each key protector.

Dependencies

Columns

ColumnDescription
ClientThe name of the client of the audited agent.
ComputerThe name of the audited agent.
MountPointThe drive letter of the audited volume.
EncryptionMethodThe encryption method used to encrypt the drive.
AutoUnlockEnabled1 or 0 depending on whether the drive will be auto-unlocked.
AutoUnlockKeyStored1 or 0 depending on whether any external keys or related information that may be used to automatically unlock data volumes exist in the currently running operating system volume.
MetadataVersionThe version of the Bitlocker metadata.
VolumeStatusThe current status of the audited volume.
ProtectionStatusIndicates whether Bitlocker protection is currently On or Off.
LockStatusIndicates whether the protected drive is currently locked.
EncryptionPercentageThe percentage of the audited drive that is currently encrypted. If encryption is enabled and has completed, this should be 100.
WipePercentageThe percentage of the volume that has been wiped after issuing a wipe command.
VolumeTypeThe type of the audited volume.
KeyProtectorGUIDThe GUID of the key protector for the audited volume.
AutoUnlockProtector1 or 0 depending on whether this key protector is an auto-unlock protector.
KeyProtectorTypeThe type of key protector.
KeyFileNameThe file name of the key protector (if applicable).
RecoveryPasswordThe recovery password of the key protector (if applicable).
KeyCertificateTypeThe certificate type of the key protector (if applicable).
ThumbprintThe thumbprint of the key protector (if applicable).
LastUpdatedThe last time the volume was audited.
ADBackupDetectedTrue or False indicating if the key was detected as backed up to Active Directory.
ADBackupLastAuditThe last time any domain controller in the target domain has been audited for key protector backups. NULL if no audit has been performed.

SQL Representation

SELECT
dt.Client,
dt.ComputerID,
dt.Computer,
dt.MountPoint,
dt.EncryptionMethod,
dt.AutoUnlockEnabled,
dt.AutoUnlockKeyStored,
dt.MetadataVersion,
dt.VolumeStatus,
dt.ProtectionStatus,
dt.LockStatus,
dt.EncryptionPercentage,
dt.WipePercentage,
dt.VolumeType,
dt.KeyProtectorId,
dt.AutoUnlockProtector,
dt.KeyProtectorType,
dt.KeyFileName,
dt.RecoveryPassword,
dt.KeyCertificateType,
dt.Thumbprint,
dt.LastUpdated,
dt.ADBackupDetected,
dt.ADBackupLastAudit
FROM (
SELECT DISTINCT
cl.Name AS Client,
c.ComputerID AS ComputerID,
c.Name AS Computer,
b.MountPoint AS MountPoint,
b.EncryptionMethod AS EncryptionMethod,
b.AutoUnlockEnabled AS AutoUnlockEnabled,
b.AutoUnlockKeyStored AS AutoUnlockKeyStored,
b.MetadataVersion AS MetadataVersion,
b.VolumeStatus AS VolumeStatus,
b.ProtectionStatus AS ProtectionStatus,
b.LockStatus AS LockStatus,
b.EncryptionPercentage AS EncryptionPercentage,
b.WipePercentage AS WipePercentage,
b.VolumeType AS VolumeType,
b.KeyProtectorId AS KeyProtectorId,
b.AutoUnlockProtector AS AutoUnlockProtector,
b.KeyProtectorType AS KeyProtectorType,
b.KeyFileName AS KeyFileName,
b.RecoveryPassword AS RecoveryPassword,
b.KeyCertificateType AS KeyCertificateType,
b.Thumbprint AS Thumbprint,
b.LastUpdated AS LastUpdated,
IF(kp.RecoveryGUID IS NULL, 'False', 'True') AS ADBackupDetected,
(
SELECT `Timestamp`
FROM plugin_proval_ad_bitlocker_keyprotectors
WHERE ComputerID IN (
SELECT ComputerID
FROM computers
WHERE ClientID = c.ClientID
)
ORDER BY `Timestamp` DESC LIMIT 1
) AS ADBackupLastAudit
FROM computers c
LEFT JOIN plugin_proval_bitlocker_audit b ON c.ComputerID = b.ComputerID
LEFT JOIN plugin_proval_ad_bitlocker_keyprotectors kp ON b.KeyProtectorId = CONCAT('{', kp.RecoveryGUID, '}')
JOIN clients cl ON c.ClientID = cl.ClientID
) dt