[ngw] Virus Blocking

Michael Herzlich Mherzli at zlbplasma.com
Thu Dec 6 13:02:37 UTC 2001


Also, don't forget to enable blocking (use the Configure button).

When done make sure you test it by sending yourself an attachment from a hotmail or similar account.

Mike

>>> JWatkins at ASPENPERSONNEL.COM 12/05/01 03:36PM >>>
On Guin you do need to block the virthird.bat file. here is a copy of the 1st section.  This will block most all bad stuff.  This is from the beginning to before loading the virus scan that you use

@echo off
GOTO Main
:VirusScan

REM ATTACHMENT BLOCKING
SET BA=

IF "%BA%"=="" GOTO JIMSCAN
ECHO %BA% ATTACHMENT DETECTED AND BLOCKED>%3\%1.TPB
rem ECHO %BA%>>F:\PUBLIC\LOGS\GUINBLK.LOG

:JIMSCAN
IF EXIST %2\%1\*.VBS SET BA=VBS
if exist %2\%1\HAPPY99.EXE SET BA=HAPPY99
if exist %2\%1\creative.exe SET BA=CREATIVE
REM this list is Microsoft's recommended list
if exist %2\%1\naked*.exe SET BA=nwf
if exist %2\%1\*.ade SET BA=ADE
if exist %2\%1\*.ink SET BA=INK
if exist %2\%1\*.adp SET BA=ADP
if exist %2\%1\*.bas SET BA=BAS
if exist %2\%1\*.bat SET BA=BAT
if exist %2\%1\*.chm SET BA=CHM
if exist %2\%1\*.cmd SET BA=CMD
if exist %2\%1\*.com SET BA=COM
if exist %2\%1\*.cpl SET BA=CPL
if exist %2\%1\*.crt SET BA=CRT
if exist %2\%1\*.exe SET BA=EXE
if exist %2\%1\*.hlp SET BA=HLP
if exist %2\%1\*.hta SET BA=HTA
if exist %2\%1\*.inf SET BA=INF
if exist %2\%1\*.ins SET BA=INS
if exist %2\%1\*.isp SET BA=ISP
if exist %2\%1\*.js SET BA=JS
if exist %2\%1\*.jse SET BA=JSE
if exist %2\%1\*.lnk SET BA=LNK
if exist %2\%1\*.mdb SET BA=MDB
if exist %2\%1\*.mde SET BA=MDE
if exist %2\%1\*.msc SET BA=MSC
if exist %2\%1\*.msi SET BA=MSI
if exist %2\%1\*.msp SET BA=MSP
if exist %2\%1\*.mst SET BA=MST
if exist %2\%1\*.pcd SET BA=PCD
if exist %2\%1\*.pif SET BA=PIF
if exist %2\%1\*.reg SET BA=REG
if exist %2\%1\*.scr SET BA=SCR
if exist %2\%1\*.sct SET BA=SCT
if exist %2\%1\*.shs SET BA=SHS
if exist %2\%1\*.shb SET BA=SHB
if exist %2\%1\*.url SET BA=URL
if exist %2\%1\*.vb SET BA=VB
if exist %2\%1\*.vbe SET BA=VBE
if exist %2\%1\*.wsc SET BA=WSC
if exist %2\%1\*.wsf SET BA=WSF
if exist %2\%1\*.wsh SET BA=WSH


IF "%BA%"=="" GOTO REALSCAN
ECHO %BA% ATTACHMENT DETECTED AND BLOCKED>%3\%1.JIM

REM END ATTACHMENT BLOCKING

:REALSCAN



--
Visit http://www.ngwlist.com for help with the list.
Visit http://www.concentrico.net for GroupWise, NDS, or DirXML development needs and product information.





More information about the ngw mailing list