Hi @ilan golan ,
Thank you for your patience, and I sincerely apologize for the delay in getting back to you. I appreciate the detailed information you've provided about your Windows build and TPM configuration.
Regarding your concerns, I'd like to share the following information based on Microsoft's documentation:
- According to the Command Blocking documentation, Windows uses an allowlist to control which TPM 2.0 commands can be submitted through TBS. Starting with Windows 10 version 1809, this allowlist is fixed in the TPM driver and cannot be modified through registry settings. Therefore, even though TPM2_NV_Extend (0x00000136) appears in the TPM's TPM2_GetCapability response, this does not necessarily mean Windows will permit the command through TBS. The public documentation does not explicitly confirm whether this command is allowed on Windows 11 26H2 with tpm.sys version 10.0.26100.9549.
- As described in Using TBS, Windows allows standard users and administrators to access TBS, subject to command restrictions. Services running under virtual accounts such as NT SERVICE\ExampleService also have service-specific security identities, as explained in SERVICE_SID_INFO. However, access to TBS does not automatically grant permission to execute every TPM command. The public documentation does not specify which token attributes, such as service SID, elevation, or privileges, determine whether TPM2_NV_Extend is permitted for this service identity.
- Microsoft documents how to view TPM command management information through tpm.msc in Manage TPM commands. However, this documentation does not establish that the displayed information can reliably determine whether TBS will forward a specific TPM 2.0 command for a particular caller. I also could not identify a publicly documented TBS API that provides an authoritative, read-only permission check for this scenario without submitting the command.
Given the build-specific nature of your question and the potential impact of modifying TPM NV state, I would avoid making a definitive determination without further verification.
For an authoritative assessment of the behavior on your specific Windows build, I recommend contacting Microsoft Windows Developer Support. When submitting your request, please include the Windows build (26300.10075), TPM driver version (10.0.26100.9549), command code (0x00000136), and intended service account identity to help the support team investigate your scenario.
I hope this helps. If you found my response helpful or informative, you can follow this guidance so others with a similar question can find it more easily.
Thank you.