Before you begin
You must have a public key for the SMS (smscert.pem) before you can install the certificate in the TAXII client.Procedure
- Install Anomali STAXX. When installation is complete, access the console from the
Virtual Machine (VM), and do the following:
- Enter a new Anomali password for sudo escalation.
- Enter the following command to enable SSH access, which allows you to access the instance
remotely:
systemctl start sshd.service
Note
Some third-party TAXII clients may require an appropriate certificate for verification. Anomali STAXX, a tool to collect and share STIX/TAXII feeds, is used as an example.
- (Optional) Enter the following commands to enable NTP:
sudo systemctl enable ntpd
systemctl start ntpd
- (Optional) Set a static IP address.
- To discover the current IP address, enter the following command:
ifconfig
- To discover the interface/adapter name, enter the following command:
sudo vi /etc/sysconfig/network-scripts/<interface name>
- Once open, scroll down and modify
BOOTPROTO= static
. - Add the following:
IPADDR= <host IP address>
NETMASK= <subnet mask>
GATEWAY= <default gateway>
NS1= <DNS record>
NS2= <secondary DNS server>
- To exit the editor, click ESC followed by wq!.
- To discover the current IP address, enter the following command:
- Upload the public key to STAXX. The following example uses the Secure Copy (scp) command-line
tool. You can also use SFTP from the command line or client.
- Locate the directory that has the public key.
- Enter the following command to transfer the file:
scp smscert.pem root@ip_staxx_server:/usr/share/pki/ca-trust/anchors
- After you upload the file, enter the following command:
update-ca-trust
- (Optional) Add the
certificate common name to the
/etc/hosts
on the STAXX server. This is required if the SMS DNS entry does not match the certificate common name.- From the VM console (or the SSH instance), connect as the Anomali user.
- Enter the following command:
sudo vi /etc/hosts
- Press i to enter insert mode.
- Add the corresponding IP address of the SMS server, and then map it to the common name of the created web certificate.
- Access the Anomali web console at
https://staxx_ip_address:8080
, and then do the following:- Click the Gear to open the Settings page.
- Click Add Site.
- Enter a Description.
- Use the common name of the web certificate and the path of
/taxii/
for the Discovery URL. For example,https://TrendMicroTippingPoint/taxii/
.
- Select Basic Authentication.
- Enter a user which has permissions to access SMS Web Services, and note the following:
- You can use any account that has the default superuser role.
- You can create a new SMS user that has limited rights, but includes the ability to access SMS user rights.
- Test and verify that you have a successful connection.