Best Practices

Security Onion provides lots of options and flexibility, but for best results we recommend the following best practices.

Installation

  • Download and verify our ISO image as shown in the Download section.

  • For production deployments, prefer dedicated hardware to VMs when possible (see the Hardware Requirements section).

  • If VMs must be used, ensure that resources are properly dedicated to VMs to avoid resource contention.

  • Use local storage and avoid NFS, NAS, iSCSI, etc.

  • Adequately spec your hardware to meet your current usage and allow for growth over time.

  • Prefer taps to span ports when possible.

  • Make sure that any network firewalls have the proper firewall rules in place to allow ongoing operation and updates (see the Firewall section).

Configuration

  • Make sure that both hostname and IP address are correct during installation.

  • Avoid changing hostname and IP address after installation.

  • Linux is case sensitive where other operating systems might not be, so we recommend using lowercase for things like hostnames, usernames, etc.

Avoid Third Party Software and Modifications

  • Security Onion is a free and open platform based on standard Linux distros, but we recommend treating it as an appliance and avoid installing third party software as this may conflict with our components and cause issues when updating.

  • Avoid installing automation tools such as Puppet and Chef as these may conflict with our existing Salt automation.

  • Avoid installing monitoring tools such as Zabbix as this may conflict with our existing InfluxDB monitoring.

  • Avoid installing third-party endpoint security agents as they may break functionality or introduce unacceptable performance overhead.

  • Avoid changing file permissions or umask settings.

  • Hardening guidelines may break functionality, so if you must apply those hardening guidelines, we recommend testing thoroughly before deploying to production.

Stay Up To Date

  • Join our discussion forum at https://securityonion.net/discuss or subscribe to one of our social media channels to be notified of Security Onion updates.

  • Keep your deployment updated as we frequently fix bugs and add new features.

  • If possible, test updates on a test deployment before deploying to production.