HIRS/package/win/tcg-rim-tool
2024-08-01 15:46:39 -04:00
..
create_hirstools_desktop_shortcut.ps1 updates to readme and win package structure 2024-08-01 15:46:39 -04:00
eventLog.ps1 fixed jar file name inside zip 2024-07-17 14:27:26 -04:00
hirsshell.ps1 Added a desktop shortcut and updated paths 2024-07-31 17:21:42 -04:00
README.md updates to readme and win package structure 2024-08-01 15:46:39 -04:00
rim.ps1 fixed jar file name inside zip 2024-07-17 14:27:26 -04:00

This README is part of the ZIP_Files.zip generated from hirs_package_linux.yml the goal of this zip is to have the TCG RIM tool, and the TCG Eventlog tool available on windows.

To get the tools running on windows follow the instructions below:

1- Unzip "ZIP_Files"

2- open powershell as administrator and navigate to the hirstools folder.

3- run the following command: powershell -ExecutionPolicy Bypass -File '.\create_hirstools_desktop_shortcut.ps1'

4- double-click the HIRS_tools shortcut on your desktop.

To run the rim tool try the following commands:

rim -c base -a .\tcg_rim_tool\Base_Rim_Config.json -l .\tcg_rim_tool\TpmLog.bin -k .\tcg_rim_tool\PC_OEM1_rim_signer_rsa_3k_sha384.key -p .\tcg_rim_tool\PC_OEM1_rim_signer_rsa_3k_sha384.pem -o baseRim.swidtag

rim -v .\baseRim.swidtag -p .\tcg_rim_tool\PC_OEM1_rim_signer_rsa_3k_sha384.pem -t .\tcg_rim_tool\PC_OEM1_Cert_Chain.pem -l .\tcg_rim_tool\TpmLog.bin

To run the eventlog tool:

elt -f C:\Windows\Logs\MeasuredBoot[.log file here] -e

Eventlog files are found here windows: C:\Windows\Logs\MeasuredBoot

Example Command would be:

elt -f C:\Windows\Logs\MeasuredBoot\000000001-000000001.log -e (file name needs to match on on your system)