Upgrade
Pages 88
- Home
- 2013
- 2014
- 2015
- 2016
- 2017
- AddingLocalRules
- Airgapped Networks
- Analyst VM
- Architecture
- Automating Setup
- Best Practices
- BPF
- BPF10
- Bro
- CapMe
- ChangingIPAddress
- CloudClient
- CloudClient12.04
- Conference
- ConnectingtoSguil
- CriticalStackIntelClient
- CustomELSAParsers
- DeployingNtopng
- DirectoryStructure
- DisablingProcesses
- DNSAnomalyDetection
- ELSA
- ELSAQueryTips
- FAQ
- Firewall
- Firewall old
- FreeNX
- Full Packet Capture
- Hardware
- Help
- High Performance Tuning
- http_agent
- HWE
- ICMP Anomaly Detection
- Installation
- InstallingOnUbuntu
- IntroductionToSecurityOnion
- IntroductionWalkthrough
- Links
- MailingLists
- ManagingAlerts
- MetaPackages
- MySQLTuning
- MySQLUpdates
- NetworkConfiguration
- NewDisk
- NIDS
- OSSEC
- OSSECalertsToELSA
- Passwords
- Pcaps
- PF_RING
- PostInstallation
- ProductionDeployment
- ProjectHome
- Proxy
- QuickISOImage
- QuickOverview
- RemovingASensor
- Roadmap
- Salt
- Security Onion 14.04 Release Notes
- SensorStopsSeeingTraffic
- Services
- Sguil
- Snorby
- Squert
- SSH
- Support
- Syslog
- tcl
- TeamMembers
- ThirdPartyIntegration
- TimeZones
- Tools
- TroubleBooting
- Upgrade
- Upgrading from 12.04 to 14.04
- Videos
- VLAN Traffic
- WipingSnorby
- Show 73 more pages…
Getting Started
- Introduction
- Tools
- Hardware Requirements
- Release Notes
- Download/Install
- Booting Issues
- After Installation
- UTC and Time Zones
- Services
- VirtualBox Walkthrough
- Videos
- Architecture
- Conference
Update/Upgrade
Interfaces
Data Sources
Customizing for your network
- Network Configuration
- Proxy Configuration
- Firewall/Hardening
- Email Configuration
- Integrating with other systems
- Changing IP Addresses
Tuning
- Managing Alerts
- Adding Local Rules
- Disabling Processes
- Filtering with BPF
- Adjusting PF_RING for traffic
- MySQL Tuning
- Adding a new disk
- High Performance Tuning
Tricks and Tips
- Best Practices
- Using Salt to manage Sensors
- Automating Setup
- MetaPackages
- ELSA Query Tips
- Custom ELSA Parsers
- DNS Anomaly Detection script
- ICMP Anomaly Detection
- Connecting to Sguild
- Pcaps for Testing
- FreeNX
- Installing NtopNG
- Removing a Sensor
- Airgapped Networks
Help
Known Issues / Roadmap
Clone this wiki locally
Security Onion Update Procedure
Distributed deployments
IMPORTANT! If you have a distributed deployment with a master server and separate sensor boxes, always update the master server first before updating sensors.
Initiating an update over SSH
If you're updating your Security Onion box over an SSH connection and your connection drops, then your update process may be left in an inconsistent state. It is therefore recommended to run byobu so that your session will continue to run on the Security Onion box even if your connection drops. Byobu is very handy and we recommend running it all the time to avoid forgetting about it before an update.
# install byobu
sudo apt-get install byobu
# enable byobu
byobu-enable
# you're now ready to update
For more information about byobu, please see:
https://help.ubuntu.com/community/Byobu
soup - Security Onion UPdate
We recommend using the soup script to automatically install all available Ubuntu and Security Onion updates. Soup will avoid the MySQL/PF_RING issues described below.
Please note: If you're still running the old Security Onion 12.04, soup will continue to install Ubuntu updates until Ubuntu stops releasing updates for 12.04. However, there won't be any more Security Onion updates for version 12.04 as all development will be on version 14.04 moving forward. Please see the bottom of this page for information on upgrading from 12.04 to 14.04.
sudo soup
Please pay attention to the output of this command as it may request that you take specific action, such as manually restarting services. Also refer to the relevant blog entry for the update as there may be additional information there: http://blog.securityonion.net
If you get the following error:
sudo: soup: command not found
then do the following:
sudo apt-get update && sudo apt-get install securityonion-sostat
For more information, please see:
http://blog.securityonion.net/2013/08/new-securityonion-packages.html
Using salt and soup to Update your entire Deployment
HWE
Also be aware that you may need to manually upgrade your HWE stack.
Standard Ubuntu package management tools
The soup command described above is the recommended method to install updates. However, you can use standard Ubuntu package management tools to update ALL packages (Ubuntu and Security Onion), but there are some caveats to be aware of:
MySQL - if you've already run Setup, please see the recommended procedure for updating the MySQL packages.
PF_RING and new kernel packages You may be prompted to update your kernel packages and PF_RING at the same time. If you do so, the PF_RING kernel module may get built for your current kernel and not for the newly installed kernel and upon reboot services will fail. To avoid this, you should install just the PF_RING kernel module by itself and then install the kernel and any other remaining package updates. Here's a one-liner that will do that:
sudo apt-get update ; sudo apt-get install securityonion-pfring-module ; sudo apt-get dist-upgrade
If you accidentally install both the kernel and PF_RING packages at the same time and then reboot and find out that PF_RING services (Snort and Suricata) are failing, you can reinstall the securityonion-pfring-module package:
sudo apt-get install --reinstall securityonion-pfring-module
Upgrades
To upgrade from Security Onion 12.04 to Security Onion 14.04, please see Upgrading-from-12.04-to-14.04.