Configuration of Sophos Firewall Connector.
- Under the connector, go to Ingestion.
- SelectSophos Firewall Connector. Click on Configure.
- Select the Enable Sophos Firewall Events? as Yes.
- Provide the hostname and Serial Number of the Firewall.
- Select the Validate and Save.
- Will receive the Token Copy and Save the token will be required in setting up an ES agent.
- Sophos Firewall Connector System Requirement.
- Linux or Mac machine with Static IP address allocation.
- Assign: RAM: 4 GB or more, CPU: 2 vCPUs or more, Disk: 100 GB or more.
- Curl installed.
- Sophos ES Agent Installation
The Fleet url will change as per the tenant present on the stack. The dev team will let us know about this information
- If tenant is on stack 1 then url will be https://elk-next-fleet-1.seqrite.com:443
- If tenant is on stack 2 then url will be https://elk-next-fleet-2.seqrite.com:443
- If tenant is on stack 3 then url will be https://elk-next-fleet-3.seqrite.com:443
- If tenant is on stack 4 then url will be https://elk-next-fleet-4.seqrite.com:443
The dev team will let us know about this information
- In the prepared, Linux or Mac machine, we are good to install the ES agent.
- Replace
with the actual token you saved during connector configuration. - Then run the command to install:
sudo bash mkdir Sophos_es_agent cd Sophos_es_agent curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.17.9-linux-x86_64.tar.gz tar xzvf elastic-agent-8.17.9-linux-x86_64.tar.gz cd elastic-agent-8.17.9-linux-x86_64 sudo ./elastic-agent install --url=https://elk-next-fleet-1.seqrite.com:443 --insecure --enrollment-token=<Token>
- Sophos ES Firewall Configuration
-
The Sophos ES agent is up and running.
-
Go to Sophos Web interface, Go to System Services > Log Settings. Under Syslog Server, Select Add. Set the event collector machine IP and UDP port 1514 as target for syslog log forwarding.

-
Select Save. And In Log Settings, Right click on All. Select Apply.

-
Click on Apply.
-
After performing all the above steps, alerts will begin to generate in the XDR portal automatically, indicating successful configuration.
- Sophos ES Agent Un-installation:
- After deleting the Sophos Firewall connector configuration in the XDR portal, it is necessary to completely uninstall or remove the ES agent from the Linux or macOS system.
- Run the following command to Uninstall or remove the ES agent
sudo bash elastic-agent uninstall rm -rf elastic-agent-8.17.9-linux-x86_64 elastic-agent-8.17.9-linux-x86_64.tar.gz sudo rm -rf /opt/Elastic/Agent sudo rm -rf /etc/elastic-agent sudo rm -rf /var/lib/elastic-agent sudo rm -rf /var/log/elastic-agent #Verify it's Gone ps aux | grep elastic-agent sudo systemctl status elastic-agent