Configuring smart card authentication in a Windows deployment
The Tanium™ Console supports smart card authentication. A smart card is physical credential that has a microchip and data, such as secure certificates and keys. Smart cards are also known as common access cards (CAC) and personal identity verification (PIV) cards. Endpoint systems are set up with smart card readers, and end users use their smart card to authenticate and gain access.
Requirements
When smart card authentication is enabled, the Tanium Server and Tanium Module Server must reside on separate hosts. All authentication to Tanium Console requires smart cards unless the authentication request is from one of the following sources:
-
The system hosting the Tanium Server through the local loopback address (127.0.0.1 for IPv4 or [::1] for IPv6).
-
The Module Server connection to the Tanium Server.
Consequently, any additional integrations that you want to automate must reside on one of the two hosts. The following are some examples:
-
SSRS plugin
-
Microsoft Excel plugin (unless using the version that supports smart card authentication)
-
Tanium™ Connect for Lightweight Directory Access Protocol (LDAP) synchronization
-
PyTan
-
Third-party security operations center (SOC) websites that query Tanium for data
-
Links to content that is hosted on the Tanium Server must use the local loopback address. This is because the TDownloader service that downloads content to the Tanium Server cannot present a certificate.
-
Links to Tanium module or shared service imports use both the local loopback address (for the workbench) and the Tanium Module Server fully qualified domain name (FQDN) for the portion of the solution installed on the Module Server.
Create a certificate
Smart card authentication for Tanium Console access depends on the public key infrastructure (PKI) of your organization. You can get started if you have a Client certificate that is signed by the root certificate authority (CA) certificate for the domain where the Tanium Server is deployed. Make sure the certificate has the Proves your identity to a remote computer attribute.
Create a new certificate file from certificates that you extract from the Client certificate. Usually, you need to extract only the root certificate. If this does not work, you might also need to add intermediate certificates to the certificate chain.
Extract the certificates
Create a new certificate file
Configure CAC
Step 1: Copy the certificate to the Tanium Server installation directory
Copy the file to the Tanium Server installation directory, which by default is \Program Files\Tanium\Tanium Server.
Step 2: Add Windows registry keys on Tanium Server host
Troubleshoot smart card authentication
-
Check the configuration for typos, such as extra spaces or letter case errors.
-
Test whether the system works with just the required registry keys. Then enable and test optional settings, such as the LDAP integration settings.
-
In an active-active deployment, configure the CACTrustedAddresses value with entries for each Tanium Server and the Module Server to avoid errors by the Tanium Downloader (TDownloader) service during package synchronization.
-
Set the logging level to 41 or higher on the Tanium Server and Module Server to record the following events. For more information, see Configure server logging levelsConfigure Server logging levels. If you Create a custom log that records only these events, use .*Client Certificate auth.* as the filter regex. After generating logs at level 41, search for the following log entries:
-
If ClientCertificateMatchField is set and does not match:
-
No regex match:
Client Certificate auth logon denied, match failed
-
Field used for regex not found in the CA certificate:
Client Certificate auth logon denied, match property not present
-
-
If ClientCertificateMatchField passes or is empty, the user is extracted using the ClientCertificateAuthField and ClientCertificateAuthRegex:
-
If ClientCertificateAuthRegex is not matched:
Client Certificate auth logon denied, regex not matched
-
If ClientCertificateAuthField is not found:
Client Certificate auth logon denied, field not found
-
If the regex matches and the field is found but the name is not valid:
Client Certificate auth logon denied, unknown user
-
-
Any other error or information message also starts with:
Client Certificate auth
-