--- title: "Create rule to prevent HTTP communication" slug: "create-rule-to-prevent-http-communication" tags: ["Migration", "ENS 10.7.x"] updated: 2026-10-07T18:04:46Z published: 2026-10-07T18:04:46Z canonical: "docs.trellix.com/create-rule-to-prevent-http-communication" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create rule to prevent HTTP communication Create Trellix ENS firewall rules that are equivalent to the predefined Access Protection rule CW06 in VirusScan Enterprise 8.8. > [!NOTE] > Note > > See the Endpoint Security Firewall product documentation for more information about creating firewall rules. **Rule CW06: Prevent HTTP communication** ``` Rule CW06 G_070_CommonOff { Description "Prevent HTTP communication" Enforce 0 Report 0 Process { Include * Exclude ${DefaultBrowser} ${DefaultEmailClient} 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 eudora.exe msimn.exe msn6.exe msnmsgr.exe neo20.exe nlnotes.exe outlook.exe pine.exe poco.exe thebat.exe thunde*.exe winpm-32.exe MAPISP32.exe VMIMB.EXE RESRCMON.EXE Owstimer.exe SPSNotific* WinMail.exe msiexec.exe msi*.tmp setup.exe ikernel.exe setup*.exe ?setup.exe ??setup.exe ???setup.exe _ins*._mp McAfeeHIP_Clie* InsFireTdi.exe update.exe uninstall.exe SAEuninstall.exe SAEDisable.exe Setup_SAE.exe Exclude 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 alg.exe mobsync.exe waol.exe agentnt.exe svchost.exe runscheduled.exe pasys* google* backweb-* Exclude vmnat.exe devenv.exe windbg.exe jucheck.exe realplay.exe acrord32.exe acrobat.exe Exclude wfica32.exe mmc.exe mshta.exe dwwin.exe wmplayer.exe console.exe wuauclt.exe Exclude javaw.exe ccmexec.exe ntaskldr.exe winamp.exe realplay.exe quicktimeplaye* SiteAdv.exe McSACore.exe } Port OTU { Include 80 Include 443 } } ``` ## 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] > Note > > To be effective, this rule must be positioned above any other rules that block or allow outgoing TCP traffic to remote ports 80 or 443. - **Action:** **Allow** - **Direction:** **Out** - **Network protocol:** **Any protocol** - **Transport protocol:** **TCP** - **Remote ports:** 80 and 443 - **Applications:** Add executables with the file name or path* set to the Exclude section in the CW06 rule.** * Variable names ${DefaultEmailClient}, ${DefaultBrowser}, ${epotomcatdir}, ${epoapachedir} are not supported by Trellix ENS. 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:** 80 and 443 7. Click **Save**. ## Results This rule is created and enabled in Trellix ENS for all managed systems where it is assigned. > [!NOTE] > Note > > The CW06 rule was disabled by default in VirusScan Enterprise 8.8, so HTTP traffic was allowed. To achieve the VirusScan Enterprise default behavior in Trellix ENS, change the Block rule's **Action** to **Allow**.