Tenable Security Center
  • 6 Minutes to read
  • PDF

Tenable Security Center

  • PDF

Article Summary

1. About this document


This document provides the step-by-step procedure to configure the Tenable Security Center in SAFE.

2. Introduction

SAFE integrates withTenable Security Center and allows you todiscover and import assets fromTenable Security Center along with the respective vulnerability assessment results in SAFE.

Here are the key highlights of this integration:

  • Import Assets and Vulnerability Assessment Results: With this integration, you can now discover and import assets from Tenable Security Center along with the respective vulnerability assessment results for a comprehensive view of your assets' security posture.
  • Automated and On-Demand Sync: You can set a pre-configured time interval for automatic synchronization of assessment results for assets. Also, it allows you to initiate on-demand pulling of assessment results for assets as needed.
  • On-Premise Connector: Tenable Security Center is an on-premises deployed solution, and now, SAFE supports seamless communication with it. Configure an on-premise connector in your environment using Docker technology that ensures a secure and efficient data transfer between Tenable Security Center and SAFE.

3. Prerequisites


3.1. Functional Prerequisites

To proceed, make sure the following prerequisites are met:

  • Host Machine with Docker: You must have a host machine with Docker already installed. This will be used to download, install, and configure an on-premise Docker-based component that facilitates communication with SAFE.
Note 

Refer to the below documents to install the Docker CE Engine:

  • Tenable Security Centercredentials for accessing their APIs (Refer to Generate keys)
    • Access Key
    • Secret Key
  • SAFE API Credentials: Refer to Accessing SAFE APIs to create SAFE API credentials.
  • Network Access: Your host machine should have network access to the following resources:
  • Encryption Key: SAFE's on-premise connector forTenable Security Center employs offline encryption to secure bothTenable Security Center and SAFE API credentials stored on the local machine. To enable this encryption, an exact 32-character encryption key is required. This key must be provided each time the container needs to be initiated, updated, or restarted. You can generate a 32-byte encryption key using online tools such as RANDOM.ORG's String Generator.

3.2. Host Prerequisites

To host the connector successfully, your server must meet the following prerequisites.

  • Docker Engine: Ensure that Docker Engine is installed and operational on the server where you intend to deploy the connector.
  • For optimal performance and compatibility, we recommend the following server specifications:
    • CPU: At least 2 virtual CPUs (vCPUs).
    • RAM: A minimum of 8 Gigabytes (GB) of RAM.
    • Storage: Allocate at least 100 Gigabytes (GB) of disk storage.

4. Configure Tenable Security Center with SAFE


4.1 SAFE Setup

  1. Login to SAFE as Admin.
  2. Navigate to SAFE Hooks.
  3. Click the Tenable Security Center card.
    TSC1
  4. Click on Generate Integration ID. The system displays the Docker Pull command, Docker Start Command, and Integration ID. The generated commands need to be configured on the on-premise connector, as covered in the next section.
    TSC2

4.2. On-Prem connector setup

  1. Run the Docker Pull Command on the terminal.
    docker pull safesecurity/tenablesc-connector:1.0.0
  2. Run the Docker Start Command and replace '<MOUNT_PATH_IN_HOST_MACHINE>' with the actual value.
    docker run -d -v <MOUNT_PATH_IN_HOST_MACHINE>:/app/config --name safe-tenablesc-connector safesecurity/tenablesc-connector:1.0.0 && docker exec -it safe-tenablesc-connector bash initialise.sh
  3. Fill in the required details as per the prompt shown on the terminal.
    TSC 3
Note

For the first-time setup, provide values for all prompts. In the subsequent runs, only the encryption key is mandatory. 

The encryption key provided in subsequent runs should be the same as the one provided during the first time setup. To change other configuration values in the subsequent runs, provide a new value for the same.

4.3. Proxy Setup (Optional)

Follow the below steps to set up the proxy:

On the prompt Do you want to configure a proxy? (Yes/No): If Yes, fill in all the required fields, which are present below.

Leave all fields empty if the proxy was already configured once and you want to keep it the same.

Enter proxy IP (Optional if configured previously): <IP>

Enter proxy port (Optional if configured previously): <PORT>

Enter proxy username (Optional if configured previously): <PROXY_USERNAME> If configured on Proxy

Enter proxy password (Optional if configured previously): <PROXY_PASSWORD> If configured on Proxy

Enter comma-separated list of no proxy IP/DNS (leave empty if none): <IP>

TSC4

4.3. Save Configuration

  1. Navigate to the SAFE Hooks and click the TenableSecurityCenter card.
  2. Under the connection details, enter the AssetID Filter. Asset ID value can be comma separated, for Eg: 1,2.
  3. SAFE allows the user to filter the data being fetched from the Tenable Security Center based on the Asset IDs. If not provided, all assets data to which the user has access will be pulled into SAFE.
  4. Fill in the Last Seen Filter (in Days). The Last Seen filter will configure the connector to fetch the vulnerabilities found in past <N> days. The default value is set to 90 Days.
  5. Enter the Auto-sync frequency in the number of days. 
  6. Click the Save button.
  7. Once the configuration is saved, click the Sync Now button to trigger the on-demand sync outside of the scheduled auto sync.
    TSC5

5. View Results


After a successful sync, the Tenable Security Center assets are automatically imported into SAFE.

To view the assets pulled from the Tenable Security Center:

  1. Click the See Updated Assets option available at the top-right of the History table.
    TSC 6
  2. The system redirects you to a filtered assets list of Tenable Security Center assets.
  3. Alternatively, you can navigate to Technology > Assets and filter the asset list for signal source equals security.safe.tenable.sc.
    TSC7
  4. You will be redirected to the assets details page by clicking an asset from the list. Here you can view the controls and their status.
  5. Clicking a control, you will be redirected to the control details page, where you can see the MITRE ATT&CK mapping.
    TSC 8(1)
  6. The observation tab displays the Observations found by the VA tool (Tenable Security Center).

6. FAQs


6.1. What to do if the Encryption Key is lost?

Follow the steps below if you lost the Encryption Key:

  1. Remove the previously mounted config path directory on the host machine.
  2. Reconfigure the On-Premise connector as mentioned above.

6.2. How to upgrade the connector when a newer version is available from SAFE’s end?

Follow the steps below to upgrade the connector to a newer version:

  1. Stop the currently running On-Premise Connector using the following command:
    docker rm -f safe-tenablesc-connector
  2. Copy the Docker pull command (which would have been updated with a newer version).
  3. After pulling the latest image for the Tenable Security Center On-Premise Connector, go ahead with the starting command (i.e., the second command on the Hooks Page).
    Keep the config path as earlier configured; there is no need to change that.
  4. Enter the Encryption Key when prompted.
  5. The user is not required to fill in any other details again (if configured already).

6.3. How to use private SSL certificates with an on-prem connector? (with Deep Packet Inspection-ing Firewalls)

To utilize private certificates with the on-prem connector, customers must ensure that these certificates are accessible within a designated directory on the server or machine where the connector is being configured, referred to as "<CERTIFICATES_DIRECTORY>."

Additionally, you will need to specify the path of the certificate required for accessing the SAFE server from within the container. For example, if the certificate is named "ca-certificates.crt," the path to this certificate file will be "/etc/ssl/certs/ca-certificates.crt," denoted as "<CA_CERTIFICATE_FILE_PATH>."

To enable the connector to function with these certificates, you must modify the Docker Start command (2nd command on the Tenable Security Center configuration page).

Original Command:

docker run -d -v <MOUNT_PATH_IN_HOST_MACHINE>:/app/config --name safe-tenablesc-connector safesecurity/tenablesc-connector:1.0.1-beta && docker exec -it safe-tenablesc-connector bash initialise.sh

Modify the above command to include support for private certificates, resulting in the updated command:

Updated Command with Support for Private Certificates:

docker run -d -v <MOUNT_PATH_IN_HOST_MACHINE>:/app/config -v <CERTIFICATES_DIRECTORY>:/usr/local/share/ca-certificates -e NODE_EXTRA_CA_CERTS=<CA_CERTIFICATE_FILE_PATH> --name safe-tenablesc-connector safesecurity/tenablesc-connector:1.0.1-beta && docker exec -it safe-tenablesc-connector bash initialise.sh



Was this article helpful?