FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
Nishtha_Baria
Article Id 276073
Description This article describes step-by-step instructions on how to disable CBC (Cipher Block Chaining) ciphers on a FortiSIEM virtual appliance in order to enhance security.
Scope FortiSIEM.
Solution

Cipher Block Chaining (CBC) is a mode of operation for block ciphers that may be vulnerable to certain security risks, such as padding oracle attacks. To enhance the security of the FortiSIEM virtual appliance, disable CBC ciphers and configure more secure encryption options.

 

Disabling CBC Ciphers on FortiSIEM Virtual Appliance:

 

  1. Access the FortiSIEM Virtual Appliance: Log in to the FortiSIEM virtual appliance using SSH or another remote access method with administrative privileges.
  2. Backup Configuration: Before making any changes, create a backup of the FortiSIEM configuration. This is essential to ensure it is possible to revert to a previous state if necessary.
  3. Edit the SSH Configuration File: Use a text editor such as 'vi' or 'nano' to edit the SSH configuration file on the FortiSIEM virtual appliance. The SSH configuration file is typically located at '/etc/ssh/sshd_config'.

sudo nano /etc/ssh/sshd_config

 

  1. Locate CBC Ciphers: Within the SSH configuration file, search for lines that contain CBC ciphers. These lines often start with 'Ciphers' and may include CBC ciphers like 'aes128-cbc', 'aes256-cbc', etc.
  2. Disable CBC Ciphers: To disable CBC ciphers, comment out or remove the lines containing CBC ciphers from the SSH configuration file. For example:

# Ciphers aes128-cbc,aes256-cbc

 

Replace the lines above with more secure ciphers such as 'aes256-ctr', 'chacha20-poly1305@openssh.com', or other preferred modern ciphers.

  1. Save and Exit: Save the changes to the SSH configuration file and exit the text editor.
  2. Restart the SSH Service: To apply the changes, restart the SSH service on the FortiSIEM virtual appliance with the following CLI command:

sudo service ssh restart

 

  1. Verify SSH Connectivity: Ensure connection to the FortiSIEM virtual appliance is still possible using SSH after making the changes. Verify that the CBC ciphers have been disabled.

Conclusion:

 

Disabling CBC ciphers on the FortiSIEM virtual appliance is a proactive step to enhance security and protect against potential cryptographic vulnerabilities. By modifying the SSH configuration file and replacing CBC ciphers with more secure alternatives, it is possible to strengthen the encryption used for remote access to the FortiSIEM system.

Always exercise caution when editing configuration files, and perform these changes during a maintenance window to minimize disruption to  FortiSIEM operations.

For further security enhancements and best practices, refer to the FortiSIEM documentation and consider staying up-to-date with the latest security recommendations.