To install the StegoSOC Agent, follow the instructions below:
- Review the agent requirements, stegosoc agent for 64-bit architectures.
- Create a configuration file, and add your license key:
sudo -i mkdir /etc/stegosoc sudo echo "license_key: YOUR_LICENSE_KEY" | tee -a /etc/stegosoc/config.yml
You can obtain your license key from https://secure.stegosoc.com/hound/agent/setup -
Determine the distribution and version number:
cat /etc/os-release
-
You need to have
start-stop-daemon
installed on your server. If you don't, then you can install it by using below gist. -
Add StegoSOC's GnuPG Public Key:
rpm --import https://api.bintray.com/orgs/stegosoc/keys/gpg/public.key
- Create the agent's apt repo using the below command as sudo:
Amazon Linux
Amazon Linux (1)
sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
Amazon Linux (2)
sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
CentOS
CentOS (6)
sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
CentOS (7)
sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
RHEL
RHEL (6)
sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
RHEL (7)
sudo curl -o /etc/yum.repos.d/stegosoc-agent.repo http://dl.stegosoc.com/distribution/rhel/stegosoc-agent.repo
-
Update your yum cache:
sudo yum update
- Install StegoSOC agent:
sudo yum install -y stegosoc-agent
-
You can check the status by command:
sudo /etc/init.d/stegosoc-agent status
- Thats it, you should now be able to see possible threats in your StegoSOC dashboard
Update Stegosoc Agent on yum
sudo yum update -y stegosoc-agent
- Configuring behind a LoadBalancer? Read How to configure stegosoc-agent behind LoadBalancer for more details