UDK2018 SecurityPkg Notes
-
Authenticated variable and secure boot
- Update
SecureBootConfigDxe
to present DBX content in 2-layer format - Change Trusted cert policy from whole signer's certificate stack to top-level issuer cert
tbscertificate + SignerCert CN
for better management compatibility. Hash is used to reduce storage overhead.
- Update
-
TCG
- Perform TPM2.0 orderly shutdown to incorporate with platform reset.
- Define new Pre-Hashed FV PPI to avoid duplicated hash calucation during measure.
- Enable TPM2.0 interrupt support. 2 pcds are exposed to report reconfigurable and non-reconfigurable TPM interrupt resources
- Support command cancel if TPM2.0 command execution timeouts
OpalPasswordPei
is added to fix DMA operation abort issue in S3 path caused by IOMMU feature.- Apply more checks in TPM1.2, TPM2.0 command lib to fix memory corruption vulnerability
-
Misc
- Remove
RngTest
application. - Implement
VerifySignature
interface inPkcs7Verify
Protocol.
- Remove
-
Counter based auth variable is not supported anymore. SetVariable with attribute
EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS
will returnEFI_INVALID_PARAMETER
. Deletion of existing counter based auth variable is still allowed when user physical presence is asserted. -
PcdTpm2CurrentIrqNum
andPcdTpm2PossibleIrqNumBuf
are introduced to report TPM interrupt resource in a platform.PcdTpm2CurrentIrqNum
is reported in_CRS
whilePcdTpm2PossibleIrqNumBuf
is reported by_PRS
. -
All
TrEE
libraries and drivers are removed. A platform should useTcg2
libraries and drivers as described below.
Include/Guid/TrEEConfigHii.h < - Include/Guid/Tcg2ConfigHii.h Include/Guid/TrEEPhysicalPresenceData.h < - Include/Guid/Tcg2PhysicalPresenceData.h Include/Library/TrEEPhysicalPresenceLib.h < - Include/Library/Tcg2PhysicalPresenceLib.h Include/Library/TrEEPpVendorLib.h < - Include/Library/Tcg2PpVendorLib.h Library/TrEEPpVendorLibNull < - Library/Tcg2PpVendorLibNull Library/DxeTrEEPhysicalPresenceLib < - Library/DxeTcg2PhysicalPresenceLib Library/Tpm2DeviceLibTrEE < - Library/Tpm2DeviceLibTcg2 Tcg/TrEEConfig < - Tcg/Tcg2Config Tcg/TrEEPei < - Tcg/Tcg2Pei Tcg/TrEEDxe < - Tcg/Tcg2Dxe Tcg/TrEESmm < - Tcg/Tcg2Smm
-
Return
NOT_IMPLEMENTED
for Non Vendor specific PPs that are not supported in firmware. -
Reject illegal
PCR
bank allocation physical presence request -
Fix
HashInterfaceHob
overflow issue