How do I perform an integrity check on the provided Idira zip packages?
Question
How do I perform an integrity check on the provided Idira zip packages?
Environment
9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8
Answer
Verifying the zip file (package):
The way to verify the sign in the installation is using the jarsigner.exe tool in the JDK directory as following:
%JDK_Home%\jarsigner.exe -verify -verbose -certs filename.zip
Running this command will allow you to verify the folder in this zip are not tempered or modified outside CyberArk.
Note: The jarsigner.exe is part of the Oracle JDK and can be downloaded from the Oracle website directly.
Verifying Windows installation files:
Verifying Linux components rpm file:
To verify the rpm (PSMP\OPM) you should do the following:
Import the public key we used for the signing to RPM (the key should be located in the OPM\PSMP packages)
rpm --import RPM-GPG-KEY-CyberArk
Verify RPM Package Signature
rpm -K -v <package_name.rpm>
Verify DLL File Signature:
- Right click on the Assembly DLL -> Properties -> Details and look for the Copyright property.
- Use the Sn.exe (Strong Name Tool) which verifies the strong name in assembly: https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/k5b5tt23(v=vs.100)?redirectedfrom=MSDN
Using this simple command: - sn -v MyAsm.dll
NERC-CIP
CIP
NERC
Hash validation