Here’s a high‐level “cook-book” for deploying Trellix (formerly McAfee) antimalware on a Debian server. Adjust paths, versions and IPs to match your environment.
1. Architecture & Prereqs
- You need an ePolicy Orchestrator (ePO) server (central policy/updates).
- The Debian server
- Supported Debian release (e.g. 10 “Buster” or 11 “Bullseye”)
- Kernel headers & build-essentials (for the on-access scanner kernel module)
On the Debian node install:
apt update
apt install -y build-essential dkms libelf-dev libssl-dev \
libcap-dev libdbus-1-dev wget
2. Obtain the Packages
- Log in to your Trellix Support / ePO server and export the “Linux Threat Prevention” (or Endpoint Security for Linux) package bundle.
- You’ll typically get a
.tar.gz containing:
cmdagent (agent for ePO comms)
mfehid (on-access driver)
mfetpd (threat prevention daemon)
mfeavscan (on-demand scanner)
Copy that bundle to your Debian server (e.g. via scp).
3. Install the Agent & Scanner Modules
On your Debian host:
cd /tmp
tar zxvf MFE_Linux_Endpoint.zip # or .tar.gz
cd linuxShield
sudo dpkg -i *.deb # installs cmdagent, mfetpd, mfehid, etc.
If you see missing dependencies:
sudo apt --fix-broken install
4. Register With ePO
Tell the local agent where to find ePO:
# Syntax: cmdagent -i <ePO-server-IP> [-p <port>]
sudo /opt/McAfee/ens/tp/bin/cmdagent -i 192.168.1.100 -p 8081
Check status:
sudo /opt/McAfee/ens/tp/bin/cmdagent -s
On the ePO console you should now see the new Debian endpoint. Assign it to your appropriate policy & update Schedules.
5. Configure Scanning Policies
Via ePO you can centrally push policies such as:
- On-Access (Real-Time) scanning
- On-Demand scan schedule (e.g. daily at 2 AM)
- Extension/exclusion lists
- Quarantine actions & notifications
If you prefer local policy tweaking, edit /etc/opt/McAfee/ens/tp/policy.xml (but best practice is to let ePO push it).
6. Verify & Test
- Update DATs immediately:
sudo /opt/McAfee/ens/tp/bin/updater --liveupdate
- Check engine version:
/opt/McAfee/ens/tp/bin/mfetpd --version
- Create a test file (EICAR) and ensure it’s caught in real-time:
echo "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STAND…" > /tmp/eicar.com
ls -l /tmp/eicar.com
# Should be quarantined/deleted per policy
- Review logs in
/var/log/mcafee/ or via the ePO console.
7. Ongoing Maintenance
- Ensure your DAT update schedule is active (Local Update or via ePO).
- Monitor ePO alerts & system health.
- When you upgrade Debian or the kernel, rebuild the on-access driver via DKMS:
sudo dkms autoinstall
That’s it! Your Debian server is now protected by Trellix antimalware, centrally managed through ePO, with real-time and on-demand scanning in place. 🚀 If you hit any snags—missing kernels, policy mis-matches or connectivity issues—double-check logs in /var/McAfee/ and ePO’s Agent Log Viewer.