The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages expected in November 2026. We hope you enjoy the updated experience.

Create rule to prevent FTP communication

Prev Next

Use this task to create Endpoint Security Firewall firewall rules that are equivalent to the predefined Access Protection rule CW05 in VirusScan Enterprise 8.8.

Note

See the Endpoint Security Firewall product documentation for more information about creating firewall rules.

Rule CW05: Prevent FTP communication

Rule CW05 G_070_CommonOff { 
		Description "Prevent FTP communication" 
		Enforce 0 
		Report 0 
		Process { Include * 
		Exclude ${DefaultBrowser} explorer.exe iexplore.exe firefox.exe mozilla.exe netscp.exe opera.exe msn6.exe ${epotomcatdir}\\bin\\tomcat.exe ${epotomcatdir}\\bin\\tomcat5.exe ${epotomcatdir}\\bin\\tomcat5w.exe ${epotomcatdir}\\bin\\tomcat7.exe inetinfo.exe amgrsrvc.exe ${epoapachedir}\\bin\\apache.exe webproxy.exe msexcimc.exe mcscript* frameworks* naprdmgr.exe naprdmgr64.exe frminst.exe naimserv.exe framepkg.exe narepl32.exe updaterui.exe cmdagent.exe cleanup.exe mctray.exe udaterui.exe framepkg_upd.exe mue_inuse.exe setlicense.exe mcscancheck.exe lucoms* luupdate.exe lsetup.exe idsinst.exe sevinst.exe nv11esd.exe tsc.exe v3cfgu.exe ofcservice.exe earthagent.exe tmlisten.exe inodist.exe ilaunchr.exe ii_nt86.exe iv_nt86.exe cfgeng.exe f-secu* fspex.exe getdbhtp.exe fnrb32.exe "f-secure automa*" sucer.exe ahnun000.tmp supdate.exe autoup.exe pskmssvc.exe pavagent.exe dstest.exe paddsupd.exe pavsrv50.exe avtask.exe giantantispywa* boxinfo.exe 
		Exclude pasys* google* 
		Exclude alg.exe ftp.exe agentnt.exe 
		} 
		Port OTU { Include 20 21 } 
		} 

You need to create two firewall rules to provide equivalent functionality to the VirusScan Enterprise 8.8 rule.

Task

  1. In Trellix ePO - On-prem, select Menu → Policy → Policy Catalog, then select Endpoint Security Firewall from the Product list.
  2. From the Category list, select Rules.
  3. Click the name of the assigned Firewall Rules policy.
  4. Click Add Rule, then configure a rule with the following settings.

    Note

    To be effective, this rule must be positioned above any other rules that block or allow outgoing TCP traffic to remote ports 20 or 21.

    • Action: Allow
    • Direction: Out
    • Network protocol: Any protocol
    • Transport protocol: TCP
    • Remote ports: 20 and 21
    • Applications: Add executables with the file name or path* set to the Exclude section in the VirusScan Enterprise rule above.**

      * Variable names ${DefaultEmailClient}, ${DefaultBrowser}, ${epotomcatdir}, and${epoapachedir} are not supported by Endpoint Security Firewall. To add these executables, you need to add the executable file names associated with the desired default email client, default browser, Trellix ePO - On-prem Tomcat Install directory before \bin\, and Trellix ePO - On-prem Apache Install directory before \bin\.

      ** Use single backslashes instead of double backslashes.

  5. Click Save.
  6. Click Add Rule, then configure a second rule directly below the rule you created in step 4:
    • Action: Block
    • Direction: Out
    • Network protocol: Any protocol
    • Transport protocol: TCP
    • Remote ports: 20 and 21
  7. Click Save.

Results

This rule is created and enabled in Trellix ENS for all managed systems where it is assigned.

Note

The CW05 rule was disabled by default in VirusScan Enterprise 8.8, so FTP traffic was allowed. To achieve the VirusScan Enterprise default behavior in Trellix ENS, change the Block rule's Action to Allow.