home *** CD-ROM | disk | FTP | other *** search
/ Mustang 4 / Mustang_No4_Sharewares.iso / support / progs / scan211 / viruscan.txt < prev   
Text File  |  1994-12-24  |  234KB  |  5,863 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                            VirusScan Version 2.1.1
  9.                        Copyright 1994 by McAfee, Inc.
  10.                             All Rights Reserved.
  11.  
  12.               Documentation by Aryeh Goretsky and Logical Arts.
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.             McAfee, Inc.                 (408) 988-3832 office
  33.             2710 Walsh Avenue            (408) 970-9727 fax
  34.             Santa Clara, CA  95051-0963  (408) 988-4004 BBS (25 lines)
  35.             U.S.A.                       USR HST/v.32/v.42bis/MNP1-5
  36.                                          CompuServe        GO MCAFEE
  37.                                          InterNet support@mcafee.COM
  38.                                          America Online       MCAFEE
  39.  
  40.            Using VirusScan (Version 2.1.1)                           
  41.             
  42.             TABLE OF CONTENTS
  43.  
  44.             Chapter 1: Welcome to VirusScan  / 1   
  45.                        What VirusScan includes  / 3 
  46.                        System requirements  / 5
  47.                        License and registration  / 6
  48.                        Technical support  / 6 
  49.             Chapter 2: Don't skip this chapter  / 10 
  50.                        Installing VirusScan  / 11 
  51.                        Scanning your system  / 14 
  52.                        If you detect a virus  / 16 
  53.                        Activating VShield  / 19 
  54.                        Making a clean start-up diskette  / 21 
  55.                        Running the VirusScan programs  / 23 
  56.                        When to rescan  / 25 
  57.                        Updating VirusScan regularly  / 25 
  58.             Chapter 3: VirusScan reference  / 28 
  59.                        Technical overview  / 30 
  60.                        Validating Scan  / 31 
  61.                        Running Scan from the command line  / 31 
  62.                        Scan command line option summary  / 33 
  63.                        Scan option descriptions  / 35
  64.                        Cleaning viruses  / 45 
  65.                        Examples  / 49 
  66.                        Error levels  / 50
  67.                        Application note 1: Updating validation codes  / 52 
  68.                        Application note 2: Reformatting infected 
  69.                           diskettes with DOS 5.0 and later  / 52 
  70.                        Technical note 1: Creating an exception 
  71.                           list file for the /EXCLUDE option  / 53 
  72.             Chapter 4: VShield reference  / 54 
  73.                        Four levels of protection  / 57 
  74.                        Running VShield  / 59 
  75.                        VShield option summary  / 63 
  76.                        VShield option descriptions  / 65 
  77.                        Deciding which options are for you  / 72 
  78.                        Examples  / 74 
  79.                        Error levels  / 75 
  80.                        Using VShieldCRC  / 76 
  81.                        VShieldCRC option summary  / 77 
  82.                        Using CheckVShield  / 78 
  83.                        Technical note 1: Creating an exception list 
  84.                           for the /EXCLUDE option  / 80 
  85.                        Technical note 2: Sample NetWare login 
  86.                           script and .BAT file  / 81 
  87.             Chapter 5: Tips & troubleshooting  / 82 
  88.             Appendix A: Retrieving McAfee programs with
  89.                         communications software  / 90 
  90.             Appendix B: Options comparison between VirusScan 
  91.                         versions 1.5 and 2.1.1  / 92 
  92.             Glossary  / 102
  93.             
  94.             
  95.            Using VirusScan (Version 2.1.1)                           1
  96.  
  97.             CHAPTER 1: WELCOME TO VIRUSSCAN
  98.             
  99.             Thank you for purchasing McAfee(R)'s VirusScan(TM)
  100.             software, a powerful and advanced system
  101.             designed to detect, eradicate, and prevent
  102.             computer viruses. VirusScan will help you
  103.             protect one of your most important assets--the
  104.             information on your personal computer or local
  105.             area network.
  106.             
  107.             VirusScan includes two main programs:
  108.             
  109.             o The Scan program detects known viruses in your
  110.               computer's memory or on disks. It can also
  111.               detect new and unknown viruses. Once viruses
  112.               are detected, it can remove them and restore
  113.               your system to normal operation. The Scan
  114.               program comes in two forms:
  115.  
  116.               o A graphical interface so that you can select
  117.                 commands and options using a mouse and
  118.                 keyboard, if you like. For instructions,
  119.                 see the on-line documentation.
  120.               
  121.               o A command line interface, so you can run the
  122.                 program and select options by typing from a
  123.                 command prompt or from batch or script files,
  124.                 if you prefer.
  125.  
  126.             o The VShield(TM) memory-resident program
  127.               continuously monitors and protects your
  128.               system from viruses that might be introduced.
  129.             
  130.             The VirusScan programs run on IBM-PC or 100%
  131.             compatible personal computers (PCs) that use
  132.             DOS, Windows, or OS/2.
  133.             
  134.             VirusScan is an important element of a
  135.             comprehensive security program that includes a
  136.             variety of safety measures, such as regular
  137.             backups, meaningful password protection,
  138.             training, and awareness. We urge you to set up
  139.             and comply with such a security program in your
  140.             organization. For tips on how to do this, see
  141.             "Other sources of information" in this chapter.
  142.             
  143.             
  144.             
  145.             
  146.             
  147.             
  148.             
  149.             
  150.            Using VirusScan (Version 2.1.1)                           2
  151.             
  152.             HOW TO USE THIS MANUAL
  153.             
  154.             This manual will help you get VirusScan running
  155.             quickly and properly on DOS, Windows, and OS/2
  156.             systems.
  157.             
  158.             All the key information is in Chapter 2, "Don't
  159.             skip this chapter." Please don't install
  160.             VirusScan before reading it, even if you are a
  161.             PC power user or already familiar with Scan.
  162.             Installing and using VirusScan is not like using
  163.             other software.
  164.             
  165.             The rest of Chapter 1, "Welcome to VirusScan,"
  166.             describes the programs and files on your
  167.             VirusScan disk, system requirements, how to
  168.             register, and how to get help.
  169.             
  170.             Chapter 3, "VirusScan reference," and Chapter 4,
  171.             "VShield reference," contain reference
  172.             information for Scan and VShield, respectively.
  173.             Many users will not need to read these chapters,
  174.             because basic operation of VirusScan, as
  175.             described in Chapter 2, will detect and remove
  176.             most viruses from your system. The options
  177.             described in Chapters 3 and 4 offer additional
  178.             power and control, and are most useful in
  179.             vulnerable environments and to network
  180.             administrators and information services staff.
  181.             
  182.             Chapter 5, "Tips & troubleshooting," explains
  183.             how to get the most out of VirusScan, and how to
  184.             cope with some common problems.
  185.             
  186.             Appendix A describes how to retrieve new
  187.             versions of McAfee programs using your
  188.             communications software.
  189.             
  190.             Appendix B describes differences in command line
  191.             options between VirusScan version 1.5 and
  192.             version 2.1.1.
  193.             
  194.             
  195.             
  196.             
  197.             
  198.             
  199.             
  200.             
  201.             
  202.             
  203.             
  204.             
  205.            Using VirusScan (Version 2.1.1)                           3
  206.             
  207.             NOTATION
  208.  
  209.             In this manual, we use several conventions to distinguish
  210.             particular kinds of text.
  211.  
  212.             CONVENTION     │  EXAMPLE     │  REPRESENTS
  213.             ═══════════════╪══════════════╪══════════════════════════
  214.             Uppercase      │  C:\>        │  What your
  215.                            │              │  computer displays
  216.                            │              │  on your screen.
  217.             ───────────────┼──────────────┼──────────────────────────
  218.             Lowercase      │  scan c:     │  What you
  219.                            │              │  type, verbatim.
  220.             ───────────────┼──────────────┼──────────────────────────
  221.             Curly braces   │  {filename}  │  Required
  222.                            │              │  element; do not
  223.                            │              │  type braces { }.
  224.             ───────────────┼──────────────┼──────────────────────────
  225.             Square braces  │  [filename]  │  Optional
  226.                            │              │  element; do not
  227.                            │              │  type braces [ ].
  228.             ───────────────┼──────────────┼──────────────────────────
  229.             Upper-case in  │  <ENTER>     │  Key to press
  230.             brackets       │              │  on the
  231.                            │              │  keyboard.
  232.  
  233.             WHAT VIRUSSCAN INCLUDES
  234.             
  235.             In addition to Scan and VShield, your VirusScan
  236.             diskette contains another program that will help
  237.             you use VirusScan. The Validate program ensures
  238.             that new versions of VirusScan software you've
  239.             obtained are authentic and unmodified.
  240.             
  241.             Your VirusScan diskette also contains several
  242.             useful text files, which you can view and print
  243.             with a text editor, word processor, or print
  244.             command. You'll find version-specific
  245.             information in the README.1ST file.
  246.             
  247.             
  248.             
  249.             
  250.             
  251.             
  252.             
  253.             
  254.             
  255.             
  256.             
  257.             
  258.             
  259.  
  260.            Using VirusScan (Version 2.1.1)                           4
  261.             
  262.             VIRUSSCAN FILES AFTER UNPACKING
  263.  
  264.             After unpacking VirusScan you should have appropriate
  265.             program files on your system for the version you have
  266.             obtained (DOS, Windows, or OS/2). Several useful text
  267.             files are also included.
  268.  
  269.             VirusScan for DOS.
  270.             AGENTS.TXT   - lists McAfee authorized agents.
  271.             CLEAN.DAT    - virus removal data file required by SCAN.EXE
  272.             COMPUSER.NOT - explains how to obtain CompuServe membership
  273.             FILE_ID.DIZ  - description of VirusScan used by some BBS
  274.                            software
  275.             LICENSE.TXT  - explains how to license VirusScan
  276.             NAMES.DAT    - virus name data file required by SCAN.EXE
  277.             PACKING.LST  - contains a list of all files, including
  278.                            validation information
  279.             README.1ST   - late-breaking information and new
  280.                            instructions not contained in this manual
  281.             REGISTER.TXT - explains how to register VirusScan for
  282.                            your use
  283.             SCAN.DAT     - virus string data file required by SCAN.EXE
  284.             SCAN.EXE     - the VirusScan program
  285.             SCAN.TXT     - on-line manual for Scan
  286.             VALIDATE.EXE - used to check VirusScan programs for
  287.                            authenticity
  288.             VALIDATE.TXT - explains how to run VALIDATE.EXE
  289.  
  290.             VShield
  291.             AGENTS.TXT   - lists McAfee authorized agents.
  292.             CHKVSHLD.EXE - checks for presence of VShield and VShieldCRC
  293.                            in memory
  294.             COMPUSER.NOT - explains how to obtain CompuServe membership
  295.             FILE_ID.DIZ  - description of VShield used by some BBS
  296.                            software
  297.             LICENSE.TXT  - explains how to license VShield
  298.             PACKING.LST  - contains a list of all files, including
  299.                            validation information
  300.             REGISTER.TXT - explains how to register VirusScan for 
  301.                            your use
  302.             VALIDATE.EXE - used to check VirusScan programs for
  303.                            authenticity
  304.             VALIDATE.TXT - explains how to run VALIDATE.EXE
  305.             VSHIELD.DAT  - virus string data file required by
  306.                            VSHIELD.EXE
  307.             VSHIELD.EXE  - the VShield program
  308.             VSHIELD.TXT  - on-line manual for VShield
  309.             VSHLDCRC.EXE - the VShieldCRC program
  310.             VSHLDWIN.EXE - used by VShield and VShieldCRC to display
  311.                            messages within Windows
  312.  
  313.  
  314.  
  315.            Using VirusScan (Version 2.1.1)                           5
  316.  
  317.             VirusScan for OS/2
  318.             AGENTS.TXT   - lists McAfee authorized agents.
  319.             CLEAN.DAT    - virus removal data file required by
  320.                            OS2SCAN.EXE
  321.             COMPUSER.NOT - explains how to obtain CompuServe membership
  322.             FILE_ID.ZIP  - description of VirusScan used by some BBS
  323.                            software
  324.             LICENSE.TXT  - explains how to license VirusScan
  325.             NAMES.DAT    - virus name data file required by OS2SCAN.EXE
  326.             PACKING.LST  - contains a list of all files, including
  327.                            validation information
  328.             README.1ST   - late-breaking information and new
  329.                            instructions not contained in this manual
  330.             REGISTER.DOC - explains how to register VirusScan for your
  331.                            use
  332.             OS2SCAN.EXE  - the VirusScan program
  333.             SCAN.DAT     - virus string data file required by
  334.                            OS2SCAN.EXE
  335.             SO32DLL.DLL  - dynamic link library required by OS2SCAN.EXE
  336.             TCP32DLL.DLL - dynamic link library required by OS2SCAN.EXE
  337.             USR32DLL.DLL - dynamic link library required by OS2SCAN.EXE
  338.             VALIDATE.EXE - used to check VirusScan programs for
  339.                            authenticity
  340.             VALIDATE.TXT - explains how to run VALIDATE.EXE
  341.            
  342.             SYSTEM REQUIREMENTS
  343.             
  344.             The VirusScan programs require an IBM-compatible
  345.             personal computer and any of the following
  346.             operating systems:
  347.             
  348.             o DOS 3.1 or later and at least 340Kb of free
  349.               RAM for the command line programs and 530Kb
  350.               of free RAM for the graphical programs.
  351.  
  352.             o Windows 3.1 or later and at least 4Mb of RAM.
  353.  
  354.             o IBM OS/2 2.1 or later and at least 8Mb of RAM.
  355.  
  356.             VShield is a terminate-and-stay-resident (TSR)
  357.             program that requires 67Kb of free memory.
  358.             VShield attempts to minimize the use of
  359.             conventional memory by loading into expanded,
  360.             extended, or upper memory. For more information,
  361.             see "VShield reference" in Chapter 4.
  362.             
  363.             You'll need a high-density 3.5" diskette drive
  364.             to use the VirusScan diskette in this package.
  365.             Contact McAfee for other media, or download the
  366.             software from the McAfee bulletin board system
  367.             (BBS).
  368.             
  369.             
  370.            Using VirusScan (Version 2.1.1)                           6
  371.             
  372.             LICENSE AND REGISTRATION
  373.             
  374.             The VirusScan software is provided under license
  375.             from McAfee, Inc., a copy of which is provided
  376.             with this manual. Please read it and comply with
  377.             it.
  378.             
  379.             Also, please fill out and return the
  380.             registration form in your VirusScan package.
  381.             Registration entitles you to upgrades at no
  382.             charge from McAfee's bulletin board system and
  383.             other sources, as well as technical support, for
  384.             one year from your date of purchase.
  385.             
  386.             TECHNICAL SUPPORT
  387.             
  388.             For help in using this product, we invite you to
  389.             contact McAfee technical support. You can
  390.             contact us:
  391.             
  392.             o On-line 24 hours a day, through our bulletin
  393.               board system, CompuServe, or Internet (see
  394.               "On-line access to updates and technical
  395.               support" below);
  396.  
  397.             o By fax, at (408) 970-9727; or
  398.  
  399.             o By telephone at (408) 988-3832, Monday through
  400.               Friday, 6:00 am to 5:00 pm Pacific Standard
  401.               Time.
  402.  
  403.             For fast and accurate help, please have the
  404.             following information ready when you contact
  405.             McAfee:
  406.             
  407.             o Program name and version number.
  408.  
  409.             o Type and brand of computer, hard disk, and any
  410.               peripherals.
  411.  
  412.             o Version of DOS, along with any TSRs or device
  413.               drivers in use.
  414.  
  415.             o Printouts of your AUTOEXEC.BAT and CONFIG.SYS
  416.               files.
  417.  
  418.             o A printout of the contents of memory, from the
  419.               MEM command (provided in DOS 4.0 and later)
  420.               or a similar utility.
  421.  
  422.             
  423.             
  424.             
  425.            Using VirusScan (Version 2.1.1)                           7
  426.             
  427.             o A description of the exact problem you are
  428.               having. Please be as specific as possible. If
  429.               you can't be at your computer when you call,
  430.               a printout of the screen will be helpful.
  431.  
  432.             If you are overseas, you can contact a McAfee
  433.             authorized agent. Agents are located in more
  434.             than 50 countries around the world and provide
  435.             local sales and support for our software. Please
  436.             refer to the AGENTS.TXT file for a complete list
  437.             of McAfee agents.
  438.             
  439.             ON-LINE ACCESS TO UPDATES AND TECHNICAL SUPPORT
  440.             
  441.             McAfee updates VirusScan monthly to add new
  442.             virus detectors, new options, and fix reported
  443.             bugs. To distribute these new versions, we run a
  444.             multi-line bulletin board system, a forum on
  445.             CompuServe, and an Internet node.
  446.             
  447.             MCAFEE BULLETIN BOARD SYSTEM (BBS)
  448.             
  449.             Our multi-line BBS is accessible 24 hours a day,
  450.             365 days a year, except for scheduled downtime
  451.             and maintenance. All lines run high-performance
  452.             modems operating from 1,200 bps to 14,400 bps
  453.             with line settings of 8 data bits, no parity,
  454.             and 1 stop bit. The McAfee BBS phone number is
  455.             (408) 988-4004.
  456.             
  457.             Appendix A, "Retrieving McAfee programs with
  458.             communications software" explains how to dial up
  459.             the McAfee BBS. Both technical support and
  460.             software updates are available on the bulletin
  461.             board.
  462.             
  463.             MCAFEE FORUM ON COMPUSERVE
  464.             
  465.             We sponsor the McAfee Virus Help Forum on
  466.             CompuServe. To reach it, type GO MCAFEE at any
  467.             CompuServe prompt. A free introductory
  468.             membership is available. For more information,
  469.             please read the enclosed COMPUSER.TXT file.
  470.             
  471.             
  472.             
  473.             
  474.             
  475.             
  476.             
  477.             
  478.             
  479.  
  480.            Using VirusScan (Version 2.1.1)                           8
  481.             
  482.             INTERNET ACCESS
  483.             
  484.             The latest versions of McAfee's anti-virus
  485.             software are available by anonymous ftp (file
  486.             transfer protocol) over the Internet from the
  487.             site mcafee.com. If your domain resolver does
  488.             not support names, use the IP address
  489.             192.187.128.1. Enter anonymous or ftp as your
  490.             user ID and your own e-mail address as the
  491.             password. Programs are located in the
  492.             pub/antivirus directory. If you have questions,
  493.             please send e-mail to support@mcafee.com.
  494.             
  495.             You can also find McAfee's anti-virus software
  496.             at the SimTel Software Repository at
  497.             Oak.Oakland.EDU in the simtel/msdos/virus
  498.             directory and its associated mirror sites:
  499.             
  500.             o wuarchive.wustl.edu (US).
  501.             o ftp.switch.ch (Switzerland).
  502.             o ftp.funet.fi (Finland).
  503.             o src.doc.ic.ac (UK).
  504.             o archie.au (Australia).
  505.  
  506.             MCAFEE PRODUCTS AND SERVICES
  507.             
  508.             Founded in 1989, McAfee, Inc. is the leading
  509.             provider of tools for productive computing for
  510.             the DOS, OS/2, and Windows environments. Our
  511.             anti-virus products are used by more than 16,000
  512.             corporations worldwide. Our utility products
  513.             provide data security, automated version
  514.             updating, and system inspection and editing.
  515.             McAfee is also the pioneer and leading provider
  516.             of electronically distributed software. All of
  517.             McAfee's products can be purchased through
  518.             dealers or downloaded from bulletin board
  519.             systems and on-line services around the world.
  520.             
  521.             McAfee doesn't stop at developing the world's
  522.             best anti-virus and utility products. We back
  523.             them with the industry's best service and
  524.             technical support. Product support is provided
  525.             by a full-time staff of virus researchers,
  526.             programmers, and support professionals, and
  527.             delivered directly by McAfee or our network of
  528.             more than 150 Authorized Agent offices in more
  529.             than 50 countries worldwide.
  530.             
  531.             
  532.             
  533.             
  534.             
  535.            Using VirusScan (Version 2.1.1)                           9
  536.             
  537.             OTHER SOURCES OF INFORMATION
  538.             
  539.             The McAfee BBS and CompuServe Virus Help Forum
  540.             are excellent sources of information on virus
  541.             protection. Batch files and utilities to help
  542.             you use VirusScan software are often available,
  543.             along with helpful advice.
  544.             
  545.             Independent publishers, colleges, training
  546.             centers, and vendors also offer information and
  547.             training about virus protection and computer
  548.             security.
  549.             
  550.             We especially recommend the following books:
  551.             
  552.             o Ferbrache, David. A Pathology of Computer
  553.               Viruses. London: Springer-Verlag, 1992.
  554.               (ISBN 0-387-19610-2)
  555.  
  556.             o Hoffman, Lance J. Rogue Programs: Viruses,
  557.               Worms, and Trojan Horses. Van Nostrand
  558.               Reinhold, 1990. (ISBN 0-442-00454-0)
  559.  
  560.             o Jacobson, Robert V. The PC Virus Control
  561.               Handbook, 2nd Ed. San Francisco: Miller
  562.               Freeman Publications, 1990. (ISBN 0-87930-194-0)
  563.  
  564.             o Jacobson, Robert V. Using McAfee Associates
  565.               Software for Safe Computing. New York:
  566.               International Security Technology, 1992.
  567.               (ISBN 0-9627374-1-0)
  568.  
  569.             In addition, the following sources can provide
  570.             useful information about viruses:
  571.             
  572.             o National Computer Security Association (NCSA)
  573.               10 South Courthouse Avenue
  574.               Carlisle, PA 17013
  575.  
  576.             o CompuServe VIRUSFORUM
  577.  
  578.             o Internet comp.virus newsgroup
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.            Using VirusScan (Version 2.1.1)                           10
  591.             
  592.             CHAPTER 2: DON'T SKIP THIS CHAPTER
  593.             or, What You Really Need to Know About VirusScan
  594.             
  595.             We're serious about this. Installing and running
  596.             the VirusScan(TM) programs is not like using
  597.             other software. Even if you are a personal
  598.             computer power user, use the VirusScan
  599.             installation procedure and follow the tasks in
  600.             this chapter.
  601.             
  602.             The reason is to avoid spreading a computer
  603.             virus infection. Viruses spread when you start
  604.             your computer (sometimes called booting) from an
  605.             infected disk, or when you run an infected
  606.             program. If your computer is infected,
  607.             installing and running VirusScan on your hard
  608.             disk may spread the infection, even to the
  609.             VirusScan programs themselves. The tasks in this
  610.             chapter will ensure that you have a clean
  611.             environment to detect, eradicate, and prevent
  612.             viruses.
  613.             
  614.             This is like a surgical team establishing a
  615.             "sterile field" before performing surgery. Once
  616.             it is established, they make sure that
  617.             everything brought into the field has already
  618.             been sterilized. In this procedure, you will
  619.             create a clean anti-viral start-up diskette with
  620.             which you can always re-establish the sterile
  621.             field.
  622.             
  623.             Your VirusScan diskette is write-protected to
  624.             ensure that no virus can alter the programs and
  625.             information stored there. Under no circumstances
  626.             should you remove the write protection.
  627.             
  628.             Here's a summary of the tasks you'll follow in
  629.             this chapter:
  630.             
  631.             o Installing VirusScan
  632.             o Scanning your system.
  633.             o If you detect a virus.
  634.             o Activating VShield(TM).
  635.             o Making a clean start-up (boot) diskette.
  636.             o Running the VirusScan programs.
  637.             o When to scan for viruses.
  638.             o Updating VirusScan regularly.
  639.  
  640.             
  641.             
  642.             
  643.             
  644.  
  645.            Using VirusScan (Version 2.1.1)                           11
  646.             
  647.             NOTE: Because OS/2 programs run in a protected
  648.             mode, OS/2 systems are not vulnerable to viruses
  649.             as DOS and Windows systems are. Many OS/2 users
  650.             run DOS and Win-OS/2 sessions, however, and they
  651.             are still vulnerable. By using the VirusScan
  652.             programs as described in this manual, you can
  653.             protect the DOS and Win-OS/2 portions of your
  654.             OS/2 system from infection.
  655.             
  656.             INSTALLING VIRUSSCAN
  657.  
  658.             This task explains how to check your system and install the
  659.             VirusScan software under DOS, Windows, or OS/2. Don't use
  660.             any other method to install VirusScan, or you risk spreading
  661.             a virus.
  662.             
  663.             INSTALLATION STEPS
  664.  
  665.             Start from the system prompt (C:\> or [C:\]). If you are
  666.             running Windows or an application program, exit from it to
  667.             display the prompt. If you are running OS/2, close all DOS
  668.             and Win-OS/2 sessions open the Command Prompts folder in the
  669.             OS/2 System folder, and click on either the OS/2 Full Screen
  670.             or OS/2 Window icons.
  671.  
  672.             After typing each entry on the command line, press <ENTER>.
  673.  
  674.             1. Create a directory to contain the VirusScan files, as
  675.                in the following example:
  676.  
  677.                     C:\> mkdir c:\mcafee
  678.  
  679.                and press <ENTER>. 
  680.  
  681.                If you have an earlier version of VirusScan already
  682.                installed, create a separate directory (such as 
  683.                c:\newvscan) for the new version. (You should test 
  684.                the new version before removing the earlier version.)
  685.  
  686.             2. Copy the VirusScan archived (.ZIP) file to this 
  687.                directory, as in the following example:
  688.  
  689.                     C:\> copy c:\download\*.zip c:\mcafee
  690.  
  691.                and press <ENTER>.
  692.  
  693.             3. Change to the VirusScan directory you just created,
  694.                as in the following example:
  695.  
  696.                     C:\> cd c:\mcafee
  697.  
  698.                and press <ENTER>.
  699.  
  700.            Using VirusScan (Version 2.1.1)                           12
  701.             
  702.             4. Unzip the file using PKUNZIP.EXE, as in the following
  703.                example:
  704.  
  705.                     C:\mcafee> PKUNZIP *.ZIP
  706.  
  707.                and press <ENTER>.
  708.             
  709.             5. Run VirusScan to check your local hard disk(s) by
  710.                typing:
  711.  
  712.                     c:\mcafee> scan /adl
  713.  
  714.                and pressing <ENTER>. It may take several minutes
  715.                for the Scan program to check for viruses in memory,
  716.                then on the system and user portions of your drives.
  717.                Scan keeps you informed of its progress. Read the
  718.                information carefully, and write down the name of any
  719.                viruses Scan reports.
  720.  
  721.             6. If Scan reports no virus found, congratulations--
  722.                most likely your system is currently virus-free. 
  723.                Continue with "Making a Clean Start-Up Diskette" 
  724.                in this chapter.
  725.  
  726.                If Scan finds one or more viruses, you'll see a message like:
  727.                
  728.                     Found the Jerusalem Virus
  729.  
  730.                and installation will stop. Don't panic, even if the
  731.                virus has infected many files. At the same time, don't
  732.                run any other programs, especially if the virus is
  733.                found in memory. Go directly to "If you detect a virus"
  734.                later in this chapter for further instructions.
  735.  
  736.             7. Create a directory on your hard disk to store the
  737.                VirusScan files in by typing:
  738.  
  739.                     C:\> mkdir mcafee
  740.  
  741.                and pressing <ENTER>.
  742.  
  743.             8. Copy the VirusScan files from the 'VirusScan Program
  744.                Diskette' in drive A: to your hard disk by typing:
  745.  
  746.                     C:\> copy a:\*.* c:\mcafee
  747.  
  748.                and pressing <ENTER>.  VirusScan has now been installed
  749.                onto your hard disk.  Now your system's startup files
  750.                must be modified to find VirusScan on your system.
  751.  
  752.                
  753.  
  754.  
  755.            Using VirusScan (Version 2.1.1)                           13
  756.             
  757.             9. DOS and Windows users: Using a text editor program, 
  758.                load your AUTOEXEC.BAT file.  Locate the path statement,
  759.                which typically begins with a 'PATH' or 'SET PATH ='
  760.                statement.  Place your cursor at the end of this line
  761.                and type:
  762.  
  763.                     ;C:\MCAFEE
  764.  
  765.                and press <ENTER>.  Now save your AUTOEXEC.BAT file and
  766.                exit the editor.
  767.  
  768.                NOTE: If a semi-colon ";" is already present at the end
  769.                      of the line, do not add one to the path statement.
  770.  
  771.                OS/2 users: Make the same change listed above to the
  772.                            'SET PATH=' and 'SET LIBPATH=' statements in
  773.                            your CONFIG.SYS file. Now save your CONFIG.SYS
  774.                            file and exit the editor.
  775.  
  776.             Congratulations! You've successfully installed VirusScan.
  777.             Restart your computer now and continue with this chapter to
  778.             see how you can use VirusScan to keep your computer virus-
  779.             free. We recommend looking over the following sections in
  780.             this chapter:
  781.  
  782.             o "Scanning Your System"
  783.             o "If You Detect A Virus"
  784.             o "Activating VShield"
  785.             o "Making A Clean Start-Up Diskette"
  786.  
  787.             Continue with the remaining tasks in this chapter, beginning
  788.             with "Running the VirusScan Programs" to find out how and
  789.             when to run and update the VirusScan programs.
  790.             
  791.             
  792.             
  793.             
  794.             
  795.             
  796.             
  797.             
  798.             
  799.             
  800.             
  801.             
  802.             
  803.             
  804.             
  805.             
  806.             
  807.             
  808.  
  809.  
  810.            Using VirusScan (Version 2.1.1)                           14
  811.            
  812.             SCANNING YOUR SYSTEM
  813.             
  814.             VirusScan's Scan program examines your PC and
  815.             disks to detect viruses there. The first time
  816.             you run Scan, do so from the original, write-
  817.             protected diskette so that the programs
  818.             themselves cannot be infected.
  819.             
  820.             Start from the system prompt (C> or [C:\]). 
  821.             If you are running Windows or an application
  822.             program, exit from it to display the prompt. If
  823.             you are running OS/2, close all DOS and Win-OS/2
  824.             sessions; then open the Command Prompts folder
  825.             in the OS/2 system folder, and click the OS/2
  826.             Full Screen or OS/2 Window icon.
  827.             
  828.             After typing each entry on the command line,
  829.             press [Enter]. If you include the /REPORT
  830.             option, Scan saves a report of infected files
  831.             and any system errors to a log file that you
  832.             specify.
  833.  
  834.             1. Insert the VirusScan program diskette in drive A.
  835.  
  836.             2. Scan your C drive for known viruses by typing:
  837.  
  838.                DOS or Windows
  839.                     C> a:scan c: /report c:\virus.log
  840.                
  841.                OS/2 
  842.                     [C:\] a:os2scan c: /report c:\virus.log
  843.             
  844.                Or, if you have more than one hard drive, scan
  845.                them in the same way. For example, if you have C
  846.                and D drives:
  847.             
  848.                DOS or Windows
  849.                     C> a:scan c: d: /report c:\virus.log
  850.             
  851.                OS/2
  852.                     [C:\] a:os2scan c: d: /report c:\virus.log
  853.             
  854.                You can also scan all local drives using the
  855.                /ADL option. For example:
  856.             
  857.                DOS or Windows
  858.                     C> a:scan /adl /report c:\virus.log
  859.             
  860.                OS/2
  861.                     [C:\] a:os2scan /adl /report c:\virus.log
  862.             
  863.  
  864.  
  865.            Using VirusScan (Version 2.1.1)                           15
  866.                
  867.                It may take several minutes for the Scan program
  868.                to check for viruses in memory, then on the
  869.                system and user portions of your drives. Scan
  870.                keeps you informed of its progress. Read the
  871.                information on the screen carefully. Below is a
  872.                sample of what Scan reports when checking a
  873.                drive for viruses.
  874.  
  875.                ┌──────────────────────────────────────────────────┐
  876.                │  Virus data file V2.1.204 created Thu Jun 02     │
  877.                │  12:17:53 1994                                   │
  878.                │                                                  │
  879.                │  No viruses found in memory.                     │
  880.                │                                                  │
  881.                │  Scanning C:                                     │
  882.                │  Summary report on C:                            │
  883.                │  File(s)                                         │
  884.                │        Analyzed:.......         1500             │
  885.                │        Scanned:........          750             │
  886.                │        Possibly Infected:.......   0             │
  887.                │        Master Boot Record(s):..    1             │
  888.                │        Possibly Infected:.......   0             │
  889.                │        Boot Sector(s):.........    1             │
  890.                │        Possibly Infected:.......   0             │
  891.                │                                                  │
  892.                │  Time: 60.00 sec.                                │
  893.                └──────────────────────────────────────────────────┘
  894.             
  895.             3. If Scan reports No viruses found,
  896.                congratulations--most likely your system is
  897.                currently virus-free. Skip to "Activating
  898.                VShield" later in this chapter.
  899.  
  900.                If Scan finds one or more viruses, you'll see a
  901.                message like:
  902.  
  903.                ┌──────────────────────────────────────────────────┐
  904.                │  Scanning C:                                     │
  905.                │  Scanning file C:\DOS\ATTRIB.EXE                 │
  906.                │  Found the Jerusalem Virus                       │
  907.                └──────────────────────────────────────────────────┘
  908.           
  909.                DON'T PANIC, even if the virus has infected many
  910.                files. At the same time, don't run any other
  911.                programs, especially if the virus is found in
  912.                memory. Turn to "If you detect a virus" later 
  913.                in this chapter, where VirusScan will help you 
  914.                eradicate it.
  915.             
  916.             NOTE: Scan has many options to control and fine-
  917.             tune the scope, validation, and operation of its
  918.             scan. For details, see Chapter 3 and "Detecting
  919.             new and unknown viruses" in Chapter 5.
  920.            Using VirusScan (Version 2.1.1)                           16            
  921.             
  922.             IF YOU DETECT A VIRUS
  923.             
  924.             In this task, you will run Scan with the /CLEAN
  925.             option to eradicate most known viruses from your
  926.             disks.
  927.             
  928.             NOTE: If you are at all unsure about how to
  929.             proceed once you've found a virus, contact
  930.             McAfee for assistance (see "Technical support"
  931.             in Chapter 1).
  932.             
  933.             We strongly recommend that you get experienced
  934.             help in dealing with viruses if you are
  935.             unfamiliar with anti-virus software and methods.
  936.             This is especially true for "critical" viruses
  937.             and master boot record (MBR or so-called
  938.             "partition table")/boot sector infections,
  939.             because improper removal of these viruses can
  940.             result in the loss of all data and use of the
  941.             infected disks.
  942.             
  943.             RESTART FROM A CLEAN ENVIRONMENT
  944.             
  945.             You must run Scan from a clean, virus-free
  946.             environment. With DOS or Windows, restart from a
  947.             clean diskette. With OS/2, simply close all DOS
  948.             and Win-OS/2 sessions.
  949.             
  950.             DOS OR WINDOWS
  951.             
  952.             With DOS or Windows, the only way to ensure a
  953.             clean environment is to turn your computer off
  954.             to eliminate any viruses in memory, then restart
  955.             from a virus-free diskette, preferably the
  956.             original, write-protected DOS installation
  957.             diskette that came with your computer. If you
  958.             don't have one, borrow or buy one; don't use a
  959.             diskette that might be infected. (See "Making a
  960.             clean start-up diskette" later in this chapter
  961.             for instructions. Create this diskette after you
  962.             clean your system.)
  963.             
  964.             1. Turn off your computer. (Don't just reset or
  965.                reboot, which may leave some viruses intact
  966.                in the computer's memory.)
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.            Using VirusScan (Version 2.1.1)                           17            
  976.             
  977.             2. Make sure your clean boot (start-up) diskette
  978.                is write-protected.
  979.  
  980.                o For a 3.5" diskette, slide its corner tab so
  981.                  that the square hole is open.
  982.  
  983.                o For a 5.25" diskette, cover its corner notch
  984.                  with a write-protect tab. Be sure to use the
  985.                  write-protect stickers provided with your
  986.                  diskettes, not tape.
  987.             
  988.             3. Insert your start-up diskette in drive A.
  989.  
  990.             4. Turn on your computer and wait until you see
  991.                the system prompt (probably A>). Don't run
  992.                any programs on your hard disk, or you may
  993.                reactivate the virus.
  994.  
  995.             OS/2
  996.             
  997.             With OS/2, you can eliminate any viruses from
  998.             memory by closing all DOS, Win-OS/2, and virtual
  999.             DOS machine (VDM) sessions. Because OS/2
  1000.             programs run in protected mode, viruses cannot
  1001.             spread between them.
  1002.             
  1003.             BACK UP YOUR HARD DISK
  1004.             
  1005.             Some viruses may leave certain disks or files
  1006.             unusable when cleaned up. To increase your
  1007.             chance of recovery, boot from a clean copy of
  1008.             the operating system, then copy all the files on
  1009.             all of your hard disks onto fresh diskettes or a
  1010.             backup tape. You can use a commercial backup
  1011.             program, or the one included with DOS or OS/2.
  1012.             Scan the program disk first to make sure that
  1013.             the backup program itself is not infected. Do
  1014.             not run the backup program if it is infected.
  1015.             Instead, reload it from your original
  1016.             installation diskettes.
  1017.             
  1018.             Although some of the backed-up files may be
  1019.             infected, it is better to have current copies
  1020.             than not. However, don't overwrite previous
  1021.             backup disks or tapes, which may or may not be
  1022.             infected.
  1023.             
  1024.             
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.            Using VirusScan (Version 2.1.1)                           18
  1031.             
  1032.             RUN SCAN WITH THE /CLEAN OPTION
  1033.             
  1034.             Start from the system prompt (probably A> or
  1035.             [A:\]). If you are running OS/2, open the
  1036.             Command Prompts folder in the OS/2 system
  1037.             folder, and click the OS/2 Full Screen or OS/2
  1038.             Window icon.
  1039.             
  1040.             After typing each entry on the command line,
  1041.             press [Enter].
  1042.  
  1043.             1. Insert the VirusScan program diskette in drive A.
  1044.             
  1045.             2. Eliminate the first known virus on your hard
  1046.                drive(s) by typing:
  1047.  
  1048.                DOS or Windows
  1049.                A> a:scan /adl /clean
  1050.             
  1051.                OS/2
  1052.                [A:\] a:os2scan /adl /clean
  1053.             
  1054.             Scan keeps you informed of its progress and
  1055.             generally reports virus removed successfully. If
  1056.             Scan reports that the virus could not safely be
  1057.             removed, see the next section, "If viruses were
  1058.             not removed, contact technical support."
  1059.             
  1060.             NOTE: Scan has options to control and fine-tune
  1061.             the scope, validation, and operation of its
  1062.             disinfection. For details, see "Scan option
  1063.             descriptions" in Chapter 3.
  1064.             
  1065.             IF VIRUSES WERE NOT REMOVED, CONTACT TECHNICAL SUPPORT
  1066.             
  1067.             If Scan can't remove a virus, it will tell you:
  1068.             
  1069.                  Virus cannot be removed from this file.
  1070.             
  1071.             Make sure to take note of the filename, because
  1072.             you will need to restore it from backups. Run
  1073.             Scan again, this time using the /CLEAN and /DEL
  1074.             options to delete the remaining infected files,
  1075.             as described in Chapter 3. If you have any
  1076.             questions, contact McAfee (see "Technical
  1077.             support" in Chapter 1).
  1078.             
  1079.             
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.            Using VirusScan (Version 2.1.1)                           19
  1086.             
  1087.             IF VIRUSES WERE SAFELY REMOVED, RESCAN AND CHECK DISKETTES
  1088.             
  1089.             If Scan has successfully removed all the
  1090.             viruses, restart your computer. Restart
  1091.             installation as described in "Installing
  1092.             VirusScan" earlier in this chapter. Thereafter,
  1093.             you can proceed to "Making a clean start-up
  1094.             diskette" and "Running the VirusScan programs"
  1095.             later in this chapter.
  1096.             
  1097.             One common source of virus infection is floppy
  1098.             diskettes. Once you've finished installing
  1099.             VirusScan on your hard disk, use Scan again to
  1100.             examine and disinfect the diskettes you use, as
  1101.             described in "When to rescan" later in this
  1102.             chapter.
  1103.             
  1104.             FALSE ALARMS
  1105.             
  1106.             Due to the nature of anti-virus software, there
  1107.             is a possibility that Scan may report a virus in
  1108.             a file that is not infected. This can be more
  1109.             likely if you are using more than one brand of
  1110.             virus protection software, especially if the
  1111.             virus is reported in memory and not anywhere on
  1112.             the disk when you boot.
  1113.             
  1114.             If Scan reports a virus infection that you
  1115.             suspect may be in error, contact McAfee (see
  1116.             "Technical support" in Chapter 1). You can
  1117.             upload the file to our bulletin board system at
  1118.             (408) 988-4004, along with your name, address,
  1119.             daytime telephone number, and electronic mail
  1120.             address (if any).
  1121.             
  1122.             ACTIVATING VSHIELD
  1123.             
  1124.             VirusScan's VShield program can help prevent
  1125.             viruses from infecting your system. It runs as a
  1126.             "terminate-and-stay-resident" (TSR) program,
  1127.             remaining in memory and scanning and
  1128.             intercepting programs as they are executed.
  1129.             
  1130.             To activate VShield at any time:
  1131.             
  1132.             o DOS or Windows
  1133.               Restart your computer by pressing [Ctrl]+[Alt]+[Del], 
  1134.               or by turning it off and then on again, or any 
  1135.               other reset method.
  1136.  
  1137.  
  1138.  
  1139.  
  1140.            Using VirusScan (Version 2.1.1)                           20
  1141.             
  1142.             o OS/2
  1143.               Restart all DOS and Win-OS/2 windows. If you have 
  1144.               difficulties running VShield, it may be due to 
  1145.               conflicts with other TSR programs in your system, 
  1146.               or with other programs that monitor disk access. 
  1147.               See "VShield option summary" in Chapter 4 and 
  1148.               "Troubleshooting VShield" in Chapter 5 for more 
  1149.               information. Contact McAfee technical support if you
  1150.               need help (see "Technical support" in Chapter 1).
  1151.             
  1152.             VShield minimizes the use of conventional memory
  1153.             by attempting to load into extended, expanded,
  1154.             upper memory, or a combination of them, before
  1155.             using conventional memory. For extreme memory
  1156.             limitations, you can use VShield's /SWAP option
  1157.             to reduce memory requirements to 7Kb, although
  1158.             this decreases VShield's speed. For details, see
  1159.             Chapter 4.
  1160.             
  1161.             NOTE: VShield has options to control and fine-
  1162.             tune the scope, validation, and operation of its
  1163.             virus prevention. For details, see Chapter 4. 1
  1164.             When used in conjunction with some Scan options,
  1165.             VShield can help protect your system from new
  1166.             and unknown viruses. For details, see "Detecting
  1167.             new and unknown viruses" in Chapter 5. 1 In
  1168.             OS/2, VShield runs in DOS and Win-OS/2 sessions
  1169.             only, because viruses can operate only in those
  1170.             sessions. 1 In Windows, you can use the VShield
  1171.             icon to turn messages from VShield on and off.
  1172.             (VShield itself, however, remains active.) For
  1173.             details, see Chapter 4.
  1174.             
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.            Using VirusScan (Version 2.1.1)                           21
  1196.             
  1197.             MAKING A CLEAN START-UP DISKETTE
  1198.             
  1199.             In DOS or Windows, create a clean anti-viral
  1200.             start-up (boot) diskette that you can use to
  1201.             regain your "sterile field" if your system
  1202.             becomes infected. This is not necessary in OS/2,
  1203.             although it will be helpful to make backup
  1204.             copies of your OS/2 installation diskettes.
  1205.             
  1206.             DOS OR WINDOWS
  1207.             
  1208.             In DOS, start from the system prompt (C>). In
  1209.             Windows, you may open a DOS window, or duplicate
  1210.             these steps with the Windows File Manager.
  1211.             
  1212.             1. Insert a blank or dispensable diskette in
  1213.                drive A. Make sure the diskette contains no
  1214.                important information, as this procedure will
  1215.                overwrite it.
  1216.  
  1217.             2. Format it as a start-up diskette with the
  1218.                system files by typing:
  1219.  
  1220.                     C> format a: /s/v/u
  1221.             
  1222.                NOTE: If you are using a version of DOS before
  1223.                DOS 5.0, do not type the /U option. The  /U
  1224.                option in recent DOS versions ensures that
  1225.                the system portions of the diskette are
  1226.                overwritten.
  1227.  
  1228.                When prompted for a volume label, enter
  1229.                virusfree01 or another name of up to 11
  1230.                characters.
  1231.  
  1232.             3. Copy the Scan program to the diskette. Here's
  1233.                one way to do this, assuming that your VirusScan 
  1234.                files are stored in C:\MCAFEE\VIRUSCAN:
  1235.  
  1236.                     C> copy c:\mcafee\viruscan\scan.exe a:
  1237.                     C> copy c:\mcafee\viruscan\scan.dat a:
  1238.                     C> copy c:\mcafee\viruscan\clean.dat a:
  1239.                     C> copy c:\mcafee\viruscan\names.dat a:
  1240.  
  1241.             
  1242.             
  1243.             
  1244.             
  1245.             
  1246.             
  1247.             
  1248.             
  1249.  
  1250.            Using VirusScan (Version 2.1.1)                           22
  1251.             
  1252.             4. Copy useful DOS programs to the diskette.
  1253.                Here's one way to do this, assuming that your
  1254.                DOS files are stored in C:\DOS:
  1255.  
  1256.                     C> copy c:\dos\chkdsk.* a:
  1257.                     C> copy c:\dos\debug.* a:
  1258.                     C> copy c:\dos\diskcopy.* a:
  1259.                     C> copy c:\dos\fdisk.* a:
  1260.                     C> copy c:\dos\format.* a:
  1261.                     C> copy c:\dos\label.* a:
  1262.                     C> copy c:\dos\mem.* a:
  1263.                     C> copy c:\dos\sys.* a:
  1264.                     C> copy c:\dos\unerase.* a:
  1265.                     C> copy c:\dos\xcopy.* a:
  1266.  
  1267.                In the same way, copy other DOS programs that
  1268.                you think might be useful.
  1269.             
  1270.                NOTE: If you use a disk compression utility, be
  1271.                sure to copy the drivers required to access
  1272.                the compressed disks onto the clean start-up
  1273.                diskette.
  1274.  
  1275.             5. Remove the diskette from the drive and write-
  1276.                protect it so that it cannot become infected.
  1277.  
  1278.                o For a 3.5" diskette, slide its corner tab so
  1279.                  that the square hole is open.
  1280.  
  1281.                o For a 5.25" diskette, cover its corner notch
  1282.                  with a write-protect tab. Be sure to use the
  1283.                  write-protect stickers provided with your
  1284.                  diskettes, not tape.
  1285.  
  1286.             6. Label the diskette "Virus-Free start-up" and
  1287.                put it away in a secure place in case you
  1288.                need to reestablish a virus-free environment
  1289.                in the future. You may want to note the date
  1290.                and versions of DOS and VirusScan on the label.
  1291.             
  1292.             OS/2
  1293.             
  1294.             With OS/2, you don't need a virus-free start-up
  1295.             disk. However, it will be helpful to keep a
  1296.             clean copy of important files. Copy the
  1297.             VirusScan OS/2 program and data files and your
  1298.             CONFIG.SYS, STARTUP.CMD and AUTOEXEC.BAT files
  1299.             onto a clean start-up diskette. Write-protect
  1300.             the diskette, label it, and put it away in a
  1301.             secure place.
  1302.             
  1303.  
  1304.  
  1305.            Using VirusScan (Version 2.1.1)                           23
  1306.  
  1307.             RUNNING THE VIRUSSCAN PROGRAMS
  1308.            
  1309.             DOS
  1310.             
  1311.             To run the VirusScan programs from the DOS
  1312.             command prompt, type the program name (SCAN or
  1313.             VSHIELD) on the command line. Follow the program
  1314.             name with the drive (if applicable to the
  1315.             program) and whatever options you want.
  1316.             
  1317.             NOTE: If you have not changed the path statement
  1318.             in your AUTOEXEC.BAT file, you will need to
  1319.             include its location (usually
  1320.             C:\MCAFEE\VIRUSCAN) in the command, or change to
  1321.             that directory.
  1322.             
  1323.             For example, to examine a diskette in drive A:
  1324.             
  1325.                  C> c:\mcafee\viruscan\scan a:
  1326.             
  1327.             EXCEPTION: If Scan detects a virus in memory or
  1328.             on your hard disk, don't run Scan with the
  1329.             /CLEAN option from C:\MCAFEE\VIRUSCAN. Instead,
  1330.             restart your computer and run Scan from your
  1331.             clean start-up diskette as described in "If you
  1332.             detect a virus" earlier in this chapter.
  1333.             
  1334.             VirusScan can list the viruses it detects. To
  1335.             view this list, run Scan with the /VIRLIST
  1336.             option, as described in Chapter 3.
  1337.             
  1338.             WINDOWS
  1339.             
  1340.             The Windows installation procedure installs
  1341.             icons for Scan for Windows and VShield in the
  1342.             McAfee group. To use them, open the folder and
  1343.             double-click the program icon. See Chapter 3 for
  1344.             instructions on using Scan for Windows.
  1345.             
  1346.             NOTE: If a virus is active in memory, do not use
  1347.             interactive Scan to remove it, because Windows
  1348.             or other system files might be infected and you
  1349.             risk spreading the virus.
  1350.             
  1351.             If you've detected such a virus, restart your
  1352.             computer and run Scan from your clean start-up
  1353.             diskette, as described in "If you detect a
  1354.             virus" earlier in this chapter.
  1355.             
  1356.  
  1357.  
  1358.  
  1359.             
  1360.            Using VirusScan (Version 2.1.1)                           24
  1361.  
  1362.             VSHIELD AND WINDOWS
  1363.             
  1364.             You can add a line to your AUTOEXEC.BAT file that 
  1365.             automatically activates VShield whenever you start 
  1366.             or restart your computer. In Windows, it also gives 
  1367.             you a VShield icon that you can click to turn VShield
  1368.             messages on or off.
  1369.             
  1370.             NOTE: You can change VShield options from the
  1371.             DOS command line by removing VShield from memory
  1372.             and rerunning it, by editing the VSHIELD command
  1373.             in your AUTOEXEC.BAT file, or by editing the default 
  1374.             configuration file. See Chapter 4 for details.
  1375.             
  1376.             OS/2
  1377.             
  1378.             To run Scan from OS/2, open the Command Prompts
  1379.             folder in the OS/2 system folder and click the
  1380.             OS/2 Full Screen or OS/2 Window icon. Next, type
  1381.             the program name (os2scan) on the command line.
  1382.             Follow the program name with the drive,
  1383.             directory, or file(s) you want to scan and the
  1384.             options you want to use.
  1385.             
  1386.             NOTE: If you have not changed the PATH and
  1387.             LIBPATH statements in your CONFIG.SYS file, you
  1388.             will need to include its location (usually
  1389.             C:\MCAFEE\VIRUSCAN) on the command line, or
  1390.             change to that directory.
  1391.             
  1392.             For example, to examine a diskette in drive A:
  1393.             
  1394.                  [C:\] c:\mcafee\viruscan\os2scan a:
  1395.             
  1396.             NOTE: VShield does not run in OS/2 sessions,
  1397.             only under DOS and Win-OS/2 sessions inside of
  1398.             OS/2. You can place the VShield command in your 
  1399.             AUTOEXEC.BAT file, where it will run automatically 
  1400.             when you start a DOS or Win-OS/2 session. You can 
  1401.             also run it from the DOS command line, as described 
  1402.             earlier in this section.
  1403.             
  1404.             
  1405.             
  1406.             
  1407.             
  1408.             
  1409.             
  1410.             
  1411.             
  1412.             
  1413.             
  1414.             
  1415.            Using VirusScan (Version 2.1.1)                           25
  1416.             
  1417.             WHEN TO RESCAN
  1418.             
  1419.             Although VShield will monitor your software for
  1420.             viruses, it's wise to scan your disks when you
  1421.             introduce new programs, or disks that may be
  1422.             infected. New programs and files are generally
  1423.             introduced in two ways: by inserting a diskette
  1424.             and booting from it, and by installing new
  1425.             programs. It is also possible to download a
  1426.             virus inadvertently via a modem, but this is
  1427.             very rare.
  1428.             
  1429.             You can use VShield with the /ANYACCESS option
  1430.             to scan diskettes automatically. For more
  1431.             information, see "/ANYACCESS" in "VShield option
  1432.             descriptions" in Chapter 4.
  1433.             
  1434.             For instructions on running VirusScan, see
  1435.             "Running the VirusScan programs" earlier in this
  1436.             chapter.
  1437.             
  1438.             WHEN YOU INSERT AN UNCHECKED DISKETTE
  1439.             
  1440.             Every time you insert a new diskette in your
  1441.             drive, run Scan on it before executing,
  1442.             installing, or copying its files. If you have
  1443.             several diskettes to scan, you can scan them
  1444.             consecutively using the /MANY option described
  1445.             in Chapter 3. In fact, we recommend doing this
  1446.             now with all the diskettes you normally use, as
  1447.             well as diskettes received from friends,
  1448.             coworkers, salespeople, and even your own
  1449.             diskettes if they have been in another PC.
  1450.             
  1451.             WHEN YOU INSTALL OR DOWNLOAD NEW FILES
  1452.             
  1453.             Every time you install new software on your hard
  1454.             drive, or download executable files from a
  1455.             network server, bulletin board, or on-line
  1456.             service, run Scan on the directory in which the
  1457.             files were placed before you execute the files.
  1458.             
  1459.             UPDATING VIRUSSCAN REGULARLY
  1460.             
  1461.             Unfortunately, new viruses (and variants of old
  1462.             ones) appear and circulate often in the personal
  1463.             computer community. Fortunately, McAfee updates
  1464.             the VirusScan programs regularly--usually
  1465.             monthly, but sooner if many new viruses have
  1466.             appeared. Each new version may detect and
  1467.             eradicate as many as 60-100 new viruses or more,
  1468.             and may add new features. To find out what's
  1469.             new, review the README.1ST text file.
  1470.            Using VirusScan (Version 2.1.1)                           26
  1471.             
  1472.             DOWNLOAD NEW VERSIONS
  1473.             
  1474.             As a VirusScan licensee, you may download new
  1475.             versions without charge for one year from your
  1476.             date of purchase. Use your communications
  1477.             software to download new versions from the
  1478.             McAfee bulletin board, CompuServe, or the
  1479.             Internet. See Chapter 1 and Appendix A for more
  1480.             information.
  1481.             
  1482.             New versions of McAfee software are stored in
  1483.             compressed form to reduce transmission time.
  1484.             
  1485.             NOTE: Always download and decompress the files
  1486.             in a separate directory from your current files.
  1487.             That way, if you discover a problem with the new
  1488.             files, you'll still have the old ones.
  1489.             
  1490.             VALIDATE VIRUSSCAN
  1491.             
  1492.             When you download a program file from any source
  1493.             other than the McAfee bulletin board or other
  1494.             McAfee service, it's important to verify that it
  1495.             is authentic, unaltered, and uninfected. McAfee
  1496.             anti-virus software includes a program called
  1497.             Validate that helps you do this. When you
  1498.             receive a new version of VirusScan, run Validate
  1499.             on all of the program files.
  1500.             
  1501.             To do this for Scan, start from the system prompt 
  1502.             (C> or [C:\]):
  1503.  
  1504.             1. Navigate to the directory to which you've
  1505.                downloaded the files. For example, if you've
  1506.                stored the files in C:\MCAFEE\DOWNLD\VIRUSCAN:
  1507.  
  1508.                   C> c:
  1509.                   C> cd \mcafee\downld\viruscan
  1510.  
  1511.             2. Type the command:
  1512.  
  1513.                DOS or Windows
  1514.                   C> validate scan.exe
  1515.             
  1516.                OS/2
  1517.                   [C:\] os2val os2scan.exe
  1518.  
  1519.             3. Compare the results with the information in
  1520.                the PACKING.LST file or other text file for
  1521.                the program you validated. If the validation
  1522.                results match what's in the file, it is
  1523.                highly unlikely that the program has been
  1524.                modified.
  1525.            Using VirusScan (Version 2.1.1)                           27
  1526.             
  1527.             UPDATE YOUR CLEAN START-UP DISKETTE
  1528.             
  1529.             Once you have validated the new version, copy it
  1530.             into your C:\MCAFEE\VIRUSCAN directory. In
  1531.             addition, copy the Scan program onto your clean
  1532.             start-up diskette. Below is one way to do this;
  1533.             you may also use the Windows File Manager or the
  1534.             OS/2 environment.
  1535.             
  1536.             Note any changes you've made to default options,
  1537.             because you may want to select and save them
  1538.             again. Start from the system prompt (C> or
  1539.             [C:\]).
  1540.             
  1541.             1. Navigate to the directory to which you've retrieved
  1542.                the files, such as C:\MCAFEE\DOWNLD\VIRUSCAN:
  1543.             
  1544.                      C> c:
  1545.                      C> cd \mcafee\downld\viruscan
  1546.  
  1547.             2. Copy the contents of the directory to 
  1548.                C:\MCAFEE\VIRUSCAN:
  1549.  
  1550.                     C> copy *.* c:\mcafee\viruscan
  1551.  
  1552.             3. Temporarily remove write-protection from your
  1553.                clean start-up diskette and insert it in
  1554.                drive A.
  1555.  
  1556.                o For a 3.5" diskette, slide its corner tab so
  1557.                  that the square hole is closed.
  1558.  
  1559.                o For a 5.25" diskette, remove the tab from its
  1560.                  corner notch.
  1561.  
  1562.             4. Copy the Scan program to the diskette.
  1563.  
  1564.                DOS or Windows
  1565.                   C> copy SCAN.EXE a:
  1566.            
  1567.                OS/2
  1568.                   [C:\] copy OS2SCAN.EXE a:
  1569.             
  1570.             5. Remove the diskette from the drive and write-
  1571.                protect it again.
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.            Using VirusScan (Version 2.1.1)                           28
  1581.             
  1582.             CHAPTER 3: VIRUSSCAN REFERENCE
  1583.             
  1584.             VirusScan's Scan program detects, identifies,
  1585.             and disinfects known DOS computer viruses. Scan
  1586.             checks memory and both the system and data areas
  1587.             of disks for virus infections. If Scan finds a
  1588.             known virus, in most cases it will eliminate the
  1589.             virus and fully restore infected programs or
  1590.             system areas to normal operation.
  1591.             
  1592.             To obtain a list of all the viruses that Scan
  1593.             detects, run Scan with the /VIRLIST option.
  1594.             
  1595.             In addition, Scan can also assign validation and
  1596.             recovery codes to files, and use those codes to
  1597.             detect and treat infection by new and unknown
  1598.             viruses. If Scan has stored validation or
  1599.             recovery data for files, it may detect file
  1600.             changes and warn that infection by an unknown
  1601.             virus may have occurred. Scan can also use the
  1602.             recovery codes to remove new or unknown viruses
  1603.             and restore infected files, master boot records
  1604.             (MBRs), and boot sectors.
  1605.             
  1606.             Scan runs on DOS, Windows, and OS/2. The program
  1607.             files are SCAN.EXE (DOS), WSCAN.EXE (Windows),
  1608.             MSCAN.EXE (Menu DOS), and OS2SCAN.EXE (OS/2),
  1609.             respectively. This chapter describes them all.
  1610.             
  1611.             NOTE: Because OS/2 operates in a protected mode
  1612.             environment, Scan for OS/2 does not check
  1613.             memory. To protect against viruses in OS/2 DOS
  1614.             and Win-OS/2 sessions, use the VShield (for DOS)
  1615.             virus prevention program.
  1616.             
  1617.             DO YOU NEED TO READ THIS CHAPTER?
  1618.             
  1619.             Many users will not need the Scan command line
  1620.             options described in this chapter. We have
  1621.             designed Scan so that basic operation, as
  1622.             described in "Scanning your system" and "When to
  1623.             rescan" in Chapter 2, will detect most viruses
  1624.             in your system. The command line options
  1625.             described here offer additional power and
  1626.             control over virus detection. They enable you to
  1627.             run Scan from batch or script files, and are
  1628.             most useful in vulnerable environments and to
  1629.             network administrators and information services
  1630.             staff.
  1631.             
  1632.  
  1633.  
  1634.  
  1635.            Using VirusScan (Version 2.1.1)                           29
  1636.  
  1637.             SYSTEM REQUIREMENTS AND SUPPORT
  1638.            
  1639.             Scan requires DOS 3.1 or later, Windows 3.1 or
  1640.             later, or IBM OS/2 Version 2.1 or later. Running
  1641.             Scan for DOS with command line options requires
  1642.             360Kb of free RAM. Running MScan with the
  1643.             graphical interface requires 530Kb of free RAM.
  1644.             
  1645.             Scan works with 3Com 3/Share and 3/Open,
  1646.             Artisoft LanTastic, AT&T StarLAN, Banyan VINES,
  1647.             DEC Pathworks, IBM LAN Server, Microsoft LAN
  1648.             Manager, Novell NetWare, and any other IBMNET-
  1649.             or NETBIOS-compatible network operating systems.
  1650.             Contact McAfee or your local authorized agent if
  1651.             you do not see your network listed (see
  1652.             "Technical support" in Chapter 1).
  1653.             
  1654.             Scan is designed to check for pre-existing
  1655.             infections of known and unknown viruses on
  1656.             floppy, hard, CD-ROM, and compressed (SuperStor,
  1657.             Stacker, DoubleSpace, and so on) disks on both
  1658.             stand-alone and networked personal computers, as
  1659.             well as network file servers. If you have a
  1660.             Novell NetWare/386 V3.1X or 4.01 file server,
  1661.             you may want to use the NETShield(TM) virus
  1662.             prevention NetWare Loadable Module (NLM) in
  1663.             conjunction with Scan.
  1664.             
  1665.             NOTE: To use Scan to clean up (disinfect) virus-
  1666.             infected files, the CLEAN.DAT file must be
  1667.             present in the same subdirectory as Scan. If you
  1668.             don't have the CLEAN.DAT file, first verify
  1669.             whether you should contact your system
  1670.             administrator or information systems staff
  1671.             directly for virus clean-up. Otherwise, you can
  1672.             contact McAfee (see "Technical support" in
  1673.             Chapter 1).
  1674.             
  1675.             
  1676.             
  1677.             
  1678.             
  1679.             
  1680.             
  1681.             
  1682.             
  1683.             
  1684.             
  1685.             
  1686.             
  1687.             
  1688.             
  1689.  
  1690.            Using VirusScan (Version 2.1.1)                           30            
  1691.             
  1692.             TECHNICAL OVERVIEW
  1693.             
  1694.             KNOWN VIRUS DETECTION
  1695.             
  1696.             Scan detects known viruses by searching the
  1697.             system for known characteristics (sequences of
  1698.             code) unique to each computer virus and
  1699.             reporting their presence if found. For viruses
  1700.             that encrypt or cipher their code so that every
  1701.             infection is different, Scan uses detection
  1702.             algorithms that work by statistical analysis,
  1703.             heuristics, and code disassembly.
  1704.             
  1705.             NEW AND UNKNOWN VIRUS DETECTION
  1706.             
  1707.             Scan can also check for new or unknown viruses
  1708.             by comparing files against previously recorded
  1709.             validation data. If a file has been modified, it
  1710.             will no longer match the validation data, and
  1711.             Scan will report that the file may have become
  1712.             infected. With certain options, Scan /CLEAN can
  1713.             use the validation and recovery data to restore
  1714.             infected files, master boot records (MBRs), or
  1715.             boot sectors.
  1716.             
  1717.             NOTE TO NETWORK USERS
  1718.             
  1719.             To use Scan on a network drive (or directory),
  1720.             you must be connected to that drive and have
  1721.             read access to it. Some command line options
  1722.             described in this chapter attempt to create,
  1723.             change, and delete files. To use these options,
  1724.             you must have sufficient access rights. If you
  1725.             have questions about access rights, contact your
  1726.             network administrator.
  1727.             
  1728.             
  1729.             
  1730.             
  1731.             
  1732.             
  1733.             
  1734.             
  1735.             
  1736.             
  1737.             
  1738.             
  1739.             
  1740.             
  1741.             
  1742.             
  1743.             
  1744.             
  1745.            Using VirusScan (Version 2.1.1)                           31           
  1746.             
  1747.             VALIDATING SCAN
  1748.             
  1749.             The Scan program in your VirusScan package is
  1750.             supplied on a write-protected diskette that
  1751.             should be secure from infection. We recommend
  1752.             that you update your copy of the VirusScan
  1753.             programs regularly. You can obtain an upgrade
  1754.             from several sources, as described in "Updating
  1755.             VirusScan regularly" in Chapter 2.
  1756.             
  1757.             Before using a new version of Scan for the first
  1758.             time, verify that it has not been tampered with
  1759.             or infected by using the Validate program, as
  1760.             described in "Validate VirusScan" in Chapter 2.
  1761.             If your new copy of Scan differs from the
  1762.             validation data in the on-line documentation
  1763.             file, it may have been damaged. Don't use it,
  1764.             and obtain a clean copy of Scan from a known
  1765.             source.
  1766.             
  1767.             Scan performs an integrity test when run. This
  1768.             self-check allows Scan to determine if it has
  1769.             been modified. If Scan fails its integrity test,
  1770.             a warning message appears, and Scan refuses to
  1771.             run and returns to the command line prompt. You
  1772.             must obtain an undamaged copy before continuing.
  1773.             
  1774.             RUNNING SCAN FROM THE COMMAND LINE
  1775.             
  1776.             Scan checks files and other areas of the system
  1777.             that can contain computer viruses. When a virus
  1778.             is found, Scan identifies the virus and the
  1779.             system area or file where it was found.
  1780.             
  1781.             By default, Scan examines only executable files
  1782.             (.EXE, .COM, .SYS, .BIN, .OVL, and .DLL files).
  1783.             These are the files most likely to be infected
  1784.             with a virus. Once you've installed VirusScan
  1785.             and have established a "sterile field" (as
  1786.             described in Chapter 2), you might not need to
  1787.             scan every file on your system again. Use the
  1788.             /ALL option to scan all files on your system.
  1789.             See "Scan option descriptions" later in this
  1790.             chapter for more information about the /ALL option.
  1791.             
  1792.             NOTE: The list of extensions for standard
  1793.             executables has changed from previous versions
  1794.             of VirusScan.
  1795.             
  1796.             
  1797.             
  1798.             
  1799.             
  1800.            Using VirusScan (Version 2.1.1)                           32  
  1801.  
  1802.             From DOS or OS/2, you can run Scan from the
  1803.             system prompt. (From OS/2, open the Command
  1804.             Prompts folder in the OS/2 system folder, then
  1805.             click the OS/2 Full Screen or OS/2 Window icon
  1806.             to see the system prompt.) The syntax is:
  1807.             
  1808.             DOS
  1809.                  C> scan {drives} [options]
  1810.             
  1811.             OS/2
  1812.                  [C:\] os2scan {drives} [options]
  1813.             
  1814.             {drives} indicates one or more drives to be
  1815.             scanned. You must specify one or more drives to
  1816.             scan. If you list a drive like c:, all of its
  1817.             subdirectories will be scanned. If you list \,
  1818.             only the root directory and boot area of the
  1819.             current disk will be scanned. If you list \ or a
  1820.             directory, its subdirectories will not be
  1821.             scanned unless you use the /SUB option.
  1822.             
  1823.             [options] indicates one or more of the Scan
  1824.             options listed in the next section, "Scan
  1825.             command line option summary."
  1826.             
  1827.             
  1828.             
  1829.             
  1830.             
  1831.             
  1832.             
  1833.             
  1834.             
  1835.             
  1836.             
  1837.             
  1838.             
  1839.             
  1840.             
  1841.             
  1842.             
  1843.             
  1844.             
  1845.             
  1846.             
  1847.             
  1848.             
  1849.             
  1850.             
  1851.             
  1852.             
  1853.             
  1854.             
  1855.            Using VirusScan (Version 2.1.1)                           33            
  1856.             
  1857.             SCAN COMMAND LINE OPTION SUMMARY
  1858.             
  1859.             /? or /HELP
  1860.               Display help screen (not available in Windows, 
  1861.               use Help menu instead).
  1862.             
  1863.             /ADL
  1864.               Scan all local drives (except floppy drives).
  1865.             
  1866.             /ADN
  1867.               Scan all network drives.
  1868.             
  1869.             /AF {filename}
  1870.               Store validation/recovery codes in filename.
  1871.             
  1872.             /ALERT {servername}
  1873.               Alert the servername server about infected files.
  1874.             
  1875.             /ALL
  1876.               Scan all files, not just standard executables.
  1877.             
  1878.             /APPEND   
  1879.               Append to, rather than overwrite, the file (/REPORT).
  1880.             
  1881.             /AV
  1882.               Add validation/recovery data to program files.
  1883.             
  1884.             /BOOT
  1885.               Scan boot sector and master boot record only.
  1886.             
  1887.             /CF {filename}
  1888.               Check validation/recovery codes in filename.
  1889.             
  1890.             /CLEAN    
  1891.               Clean up infections in boot sector, master 
  1892.               boot record, and files when possible.
  1893.             
  1894.             /CV
  1895.               Check validation/recovery data in files.
  1896.             
  1897.             /DEL
  1898.               Overwrite and delete infected files.
  1899.             
  1900.             /EXCLUDE {filename}
  1901.               Exclude from scan any files listed in filename
  1902.               (with /AV).
  1903.             
  1904.             /FAST     
  1905.               Speed up VirusScan's scanning; may detect fewer viruses.
  1906.            
  1907.             /LISTEN {servername}     
  1908.               Load Scan and wait for a command from the 
  1909.               servername server.
  1910.            Using VirusScan (Version 2.1.1)                           34
  1911.             
  1912.             /LOAD {filename}    
  1913.               Use Scan settings stored in filename.
  1914.             
  1915.             /LOG
  1916.               Save date and time VirusScan was last run in SCAN.LOG.
  1917.             
  1918.             /MANY     
  1919.               Scan multiple diskettes.
  1920.             
  1921.             /MOVE {directory}   
  1922.               Move infected files to directory.
  1923.             
  1924.             /NOCOMP   
  1925.               Skip checking compressed executables created 
  1926.               with the LZEXE or PKLITE file compression programs.
  1927.             
  1928.             /NOMEM    
  1929.               Skip memory checking (not applicable to OS/2).
  1930.             
  1931.             /PAUSE    
  1932.               Enable screen pause.
  1933.             
  1934.             /PLAD     
  1935.               Preserve last access dates on Novell drives.
  1936.             
  1937.             /REPORT {filename}  
  1938.               Create report of infected files found during scan 
  1939.               in filename.
  1940.             
  1941.             /RF {filename}
  1942.               Remove validation/recovery codes in filename.
  1943.             
  1944.             /RPTCOR   
  1945.               Add list of corrupted files to the report file.
  1946.             
  1947.             /RPTERR   
  1948.               Add list of system errors to the report file.
  1949.             
  1950.             /RPTMOD   
  1951.               Add list of modified files to the report file.
  1952.             
  1953.             /RV  
  1954.               Remove validation/recovery data from files.
  1955.             
  1956.             /SHOWLOG  
  1957.               Display information in SCAN.LOG.
  1958.             
  1959.             /SUB 
  1960.               Scan subdirectories inside a directory.
  1961.  
  1962.             /VIRLIST  
  1963.               Display list of viruses detected by VirusScan.
  1964.             
  1965.            Using VirusScan (Version 2.1.1)                           35
  1966.             
  1967.             SCAN OPTION DESCRIPTIONS
  1968.             
  1969.             Here is a detailed description of Scan's options.
  1970.             
  1971.             /? or /HELP
  1972.             Display list of Scan options
  1973.             
  1974.             Does not scan. Instead, displays a list of Scan
  1975.             command line options with a brief description of
  1976.             each. No scanning is performed when these
  1977.             options are specified. Use either of these
  1978.             options alone on the command line.
  1979.             
  1980.             
  1981.             /ADL
  1982.             Scan all local drives (except floppy drives)
  1983.             
  1984.             Scans all local drives for viruses, in addition
  1985.             to those specified on the command line. In DOS,
  1986.             use /ADL to check all local drives, including
  1987.             compressed drives and CD-ROMs. To scan both
  1988.             local and network drives, use /ADL and /ADN
  1989.             together in the same command line.
  1990.             
  1991.             
  1992.             /ADN
  1993.             Scan all network drives
  1994.             
  1995.             Scans all network drives for viruses, in
  1996.             addition to those specified on the command line.
  1997.             To scan both local and network drives, use /ADL
  1998.             and /ADN together in the same command line.
  1999.             
  2000.             
  2001.             /AF {filename}
  2002.             Store validation/recovery codes in file
  2003.             
  2004.             Helps you detect and recover from new or unknown
  2005.             viruses. /AF logs validation and recovery data
  2006.             for executable files, boot sector, and master
  2007.             boot record (MBR) of a disk in the file you
  2008.             specify. The log file is about 95 bytes per file
  2009.             validated. You must specify a filename, which
  2010.             can include the target drive and directory (such
  2011.             as D:\VSVALID\VALCODES.VSC). If the target path
  2012.             is a network drive, you must have rights to
  2013.             create and delete files on that drive. If
  2014.             filename exists, Scan updates it. /AF adds about
  2015.             300% more time to scanning.
  2016.             
  2017.             
  2018.             
  2019.             
  2020.            Using VirusScan (Version 2.1.1)                           36            
  2021.  
  2022.             To exclude self-modifying or self-checking files
  2023.             that might cause false alarms, use the /EXCLUDE
  2024.             option. To recover from a virus using the /AF
  2025.             information, use the /CF and /CLEAN options
  2026.             together in the same command line. Using any of
  2027.             the /AF, /CF, or /RF options together in the
  2028.             same command line returns an error.
  2029.             
  2030.             NOTE: /AF performs the same function as /AV, but
  2031.             stores its data in a separate file rather than
  2032.             changing the executable files themselves. For
  2033.             more information, see "Detecting new and unknown
  2034.             viruses" in Chapter 5.
  2035.             
  2036.             
  2037.             /ALERT {servername}
  2038.             Alert the server about infected files (OS/2 only)
  2039.             
  2040.             Notifies the servername server if infected files
  2041.             are detected during the scan. Using /ALERT and
  2042.             /LISTEN in the same command line returns an
  2043.             error. See your Command & Control Server
  2044.             documentation for more information.
  2045.             
  2046.             
  2047.             /ALL
  2048.             Check all files, not just standard executable files.
  2049.             
  2050.             Increases system security by performing a more
  2051.             thorough scan. Otherwise, Scan checks only
  2052.             standard executable files (with .COM, .EXE,
  2053.             .SYS, .BIN, .OVL, and .DLL extensions), which
  2054.             are the files most likely to be infected by a
  2055.             virus. If /ALL is specified, Scan checks all
  2056.             files on the specified drive, which increases
  2057.             Scan's ability to detect viruses in overlay
  2058.             files but substantially increases the scanning
  2059.             time required. Use this option if you have found
  2060.             a virus or suspect one. (Note that the list of
  2061.             extensions for standard executables, above, has
  2062.             changed from previous releases of VirusScan.)
  2063.             
  2064.             
  2065.             /APPEND
  2066.             Append to the report file.
  2067.             
  2068.             Used in conjunction with /REPORT, appends the
  2069.             report message text to the specified report
  2070.             file, if it exists. Otherwise, the /REPORT
  2071.             option overwrites the specified report file, if
  2072.             it exists.
  2073.             
  2074.             
  2075.            Using VirusScan (Version 2.1.1)                           37            
  2076.  
  2077.             /AV
  2078.             Add validation/recovery data to files
  2079.             
  2080.             Helps you detect and recover from new or unknown
  2081.             viruses. /AV adds recovery and validation data
  2082.             to each standard executable file (.EXE, .COM,
  2083.             .SYS, .BIN, .OVL, and .DLL), increasing the size
  2084.             of each file by 98 bytes. To update files on a
  2085.             shared network drive, you must have update
  2086.             access rights. The /AV option adds about 100%
  2087.             more time to scanning.
  2088.             
  2089.             To exclude self-modifying or self-checking files
  2090.             that might cause false alarms, use the /EXCLUDE
  2091.             option. To recover from a virus using the /AF
  2092.             information, use the /CV and /CLEAN options
  2093.             together in the same command line. Using any of
  2094.             the /AV, /CV, or /RV options together in the
  2095.             same command line returns an error.
  2096.             
  2097.             NOTE: The /AV option does not store any
  2098.             information about the master boot record (MBR)
  2099.             or boot sector of the drive being scanned.
  2100.             
  2101.             
  2102.             /BOOT
  2103.             Scan boot sector and master boot record only
  2104.             
  2105.             Scans the boot sector and master boot record on
  2106.             the specified drive(s), but not files or
  2107.             directories on those drives.
  2108.             
  2109.             
  2110.             /CF {filename}
  2111.             Check validation/recovery codes in file
  2112.             
  2113.             Helps you detect new or unknown viruses. Checks
  2114.             validation data stored by the /AF option in
  2115.             filename. If a file or system area has changed,
  2116.             Scan reports that a viral infection may have
  2117.             occurred. The /CF option adds about 250% more
  2118.             time to scanning. For more information, see
  2119.             "Detecting new and unknown viruses" in Chapter
  2120.             5. You can use /CF and /CLEAN in the same
  2121.             command line to check validation/recovery codes
  2122.             and remove any viruses found. Using any of the
  2123.             /AF, /CF, or /RF options together in a command
  2124.             line returns an error.
  2125.             
  2126.             
  2127.             
  2128.             
  2129.  
  2130.            Using VirusScan (Version 2.1.1)                           38
  2131.             
  2132.             NOTE: Some older Hewlett-Packard and Zenith PCs
  2133.             modify the boot sector each time the system is
  2134.             booted. If you use /CF or /CV, Scan continuously
  2135.             reports that the boot sector has been modified
  2136.             even though no virus may be present. Check your
  2137.             system's reference manual to determine whether
  2138.             your PC has self-modifying boot code, or contact
  2139.             McAfee for help (see "Technical support" in
  2140.             Chapter 1)  1 OS/2 dual boot systems change the
  2141.             boot sector between DOS and OS/2 depending on
  2142.             which operating system is active. This causes
  2143.             Scan to report that the boot sector has been
  2144.             modified.
  2145.             
  2146.             
  2147.             /CLEAN
  2148.             Remove viruses from boot sector, master boot
  2149.             record, and infected files
  2150.             
  2151.             Attempts to restore the boot sector, if
  2152.             infected, and any infected files. Usually,
  2153.             between 10% and 20% of all viruses are not
  2154.             removable; they damage the file they infect
  2155.             beyond repair. If the infected file resides on a
  2156.             network drive, you must have rights to modify
  2157.             files on that drive to clean it. If it cannot
  2158.             restore a file, you'll see a message that
  2159.             identifies the name of the unrecoverable file.
  2160.             To use /CLEAN, the CLEAN.DAT file must reside in
  2161.             the Scan directory. For more information, see
  2162.             "Cleaning viruses" later in this chapter.
  2163.             
  2164.             Use /CLEAN instead of /DEL when you want to
  2165.             restore infected files, not just delete or
  2166.             overwrite them. The /CLEAN option can remove
  2167.             master boot record (MBR) and boot sector
  2168.             viruses, but the /DEL option cannot. If you use
  2169.             /CLEAN and /DEL in the same command line, Scan
  2170.             first attempts to disinfect an infected file,
  2171.             then deletes it only if it cannot be repaired.
  2172.             Similarly, if you use /CLEAN and /MOVE in the
  2173.             same command line, Scan first attempts to clean
  2174.             an infected file, then moves it to the specified
  2175.             subdirectory if the file is unrecoverable.
  2176.             
  2177.             You can use /CLEAN and /CF or /CV in the same
  2178.             command line to check validation/recovery codes
  2179.             and remove any viruses found. We strongly
  2180.             recommend that you get experienced help in
  2181.             dealing with viruses if you are unfamiliar with
  2182.             anti-virus software and methods. This is
  2183.             especially true for "critical" viruses and
  2184.             master boot record (MBR)/boot sector infections,
  2185.             because improper removal of these viruses can
  2186.             result in the loss of all data on the infected
  2187.             disks.
  2188.             
  2189.             NOTE: When scanning a network drive using
  2190.             /CLEAN, you must have sufficient rights to
  2191.             update files on that drive.
  2192.             
  2193.             
  2194.             
  2195.             
  2196.             
  2197.             
  2198.             
  2199.             
  2200.             
  2201.             
  2202.             
  2203.             
  2204.  
  2205.            Using VirusScan (Version 2.1.1)                           39            
  2206.             
  2207.             /CV
  2208.             Check validation/recovery data in files
  2209.             
  2210.             Helps you detect new or unknown viruses. Checks
  2211.             validation data added by the /AV option. If a
  2212.             file is modified, Scan reports that a viral
  2213.             infection may have occurred. The /CV option adds
  2214.             about 50% more time to scanning. You can use
  2215.             /CLEAN and /CF or /CV in the same command line
  2216.             to check validation/recovery codes and restore
  2217.             infected files. Using any of the /AV, /CV, or
  2218.             /RV options together in the same command line
  2219.             returns an error.
  2220.             
  2221.             For more information, see "Detecting new and
  2222.             unknown viruses" in Chapter 5. See also the note
  2223.             under /CF in this section.
  2224.             
  2225.             
  2226.             /DEL
  2227.             Overwrite and delete infected files
  2228.             
  2229.             Deletes and overwrites each infected file. Files
  2230.             erased by the /DEL option cannot be recovered
  2231.             (generate a report so that you can restore them
  2232.             from backups). Instead of /DEL alone, we
  2233.             recommend using it in combination with the
  2234.             /CLEAN option to attempt to disinfect an
  2235.             infected file first, then delete it only if the
  2236.             file is unrecoverable. The /CLEAN option can
  2237.             remove master boot record and boot sector
  2238.             viruses, but the /DEL option cannot.
  2239.             
  2240.            Using VirusScan (Version 2.1.1)                           40            
  2241.  
  2242.             NOTE: When scanning a network drive using /DEL,
  2243.             you must have sufficient access rights to delete
  2244.             files on that drive.
  2245.             
  2246.             
  2247.             /EXCLUDE {filename}
  2248.             Scan using exception list file
  2249.             
  2250.             Allows you to exclude files from /AF or /AV
  2251.             validation and /CF or /CV checking. Self-
  2252.             modifying or self-checking files can cause a
  2253.             false alarm during a scan. To create filename,
  2254.             see "Technical note 1: Creating an exception
  2255.             list file for the /EXCLUDE option" in this
  2256.             chapter.
  2257.             
  2258.             
  2259.             /FAST
  2260.             Speed up VirusScan's scanning
  2261.             
  2262.             Reduces Scan time by about 15%. Using the /FAST
  2263.             option, Scan examines a smaller portion of each
  2264.             file for viruses, although it examines more
  2265.             files overall. Using /FAST might miss some
  2266.             infections found in a more comprehensive (but
  2267.             slower) scan. Do not use this option if you have
  2268.             found a virus or suspect one.
  2269.             
  2270.             
  2271.             /LISTEN {servername}
  2272.             Load Scan and wait for a command from the server
  2273.             
  2274.             Using /LISTEN and /ALERT in the same command
  2275.             line returns an error. See your Command &
  2276.             Control Server documentation for more
  2277.             information.
  2278.             
  2279.             
  2280.             /LOAD {filename}
  2281.             Use Scan settings stored in {filename}.
  2282.             
  2283.             By default, Scan loads its internal default
  2284.             settings plus any options specified on the
  2285.             command line. You can store all custom settings
  2286.             in a separate ASCII text file, then use /LOAD to
  2287.             load those settings from that file.
  2288.             
  2289.             Use a text editor to create the file. You can
  2290.             put all options on the same command line or put
  2291.             each option (with its parameter) on its own
  2292.             line, separated by a hard carriage return and
  2293.             line feed, as shown in the following examples.
  2294.             
  2295.            Using VirusScan (Version 2.1.1)                           41            
  2296.             
  2297.             Sample load file with all options on the same
  2298.             command line:
  2299.             
  2300.                  m: /report a:infectn.rpt /rptcor /rpterr
  2301.             
  2302.             Sample load file with each option on a separate
  2303.             command line:
  2304.             
  2305.                  m:
  2306.                  /report a:infectn.rpt
  2307.                  /rptcor
  2308.                  /rpterr
  2309.             
  2310.             
  2311.             /LOG
  2312.             Save date and time of last scan
  2313.             
  2314.             Stores the time and date Scan is being run by
  2315.             updating or creating a file called SCAN.LOG in
  2316.             the current directory.
  2317.             
  2318.             
  2319.             /MANY
  2320.             Scan multiple floppies
  2321.             
  2322.             Scans multiple diskettes consecutively in a
  2323.             single drive. Scan will prompt you for each
  2324.             diskette. Once you have established a virus-free
  2325.             system, use this option to check multiple
  2326.             diskettes quickly.
  2327.             
  2328.             
  2329.             /MOVE {directory}
  2330.             Move infected files to directory
  2331.             
  2332.             Moves all infected files found during a scan to
  2333.             the specified directory. If you use /MOVE in
  2334.             conjunction with /CLEAN, Scan attempts to
  2335.             restore an infected file first, then moves it to
  2336.             the specified directory only if the file cannot
  2337.             be restored. Using /MOVE and /DEL in the same
  2338.             command line returns an error message.
  2339.             
  2340.             
  2341.             
  2342.             
  2343.             
  2344.             
  2345.             
  2346.             
  2347.             
  2348.             
  2349.             
  2350.            Using VirusScan (Version 2.1.1)                           42
  2351.             
  2352.             /NOCOMP
  2353.             Skip checking compressed executable files
  2354.             
  2355.             Reduces scanning time when a full scan is not
  2356.             needed. Otherwise, by default, Scan checks
  2357.             inside executable, or self-decompressing, files
  2358.             that have been created using the LZEXE or PKLITE
  2359.             file compression programs. Scan decompresses
  2360.             each file in memory and checks for virus
  2361.             signatures, which takes time but results in a
  2362.             more thorough scan. If you use /NOCOMP, Scan
  2363.             does not check inside compressed files for
  2364.             viruses, although it can check for modifications
  2365.             to those files if they have been validated using
  2366.             validation/recovery codes.
  2367.             
  2368.             
  2369.             /NOMEM
  2370.             Skip memory checking
  2371.             
  2372.             Reduces scan time by omitting all memory checks
  2373.             for viruses. Use /NOMEM only when you are
  2374.             absolutely certain that your system is virus-
  2375.             free.
  2376.             
  2377.             By default, Scan checks system memory for all
  2378.             for critical known computer viruses that can
  2379.             inhabit memory. In addition to main memory from
  2380.             0Kb to 640Kb, Scan checks system memory from
  2381.             640Kb to 1088Kb that can be used by computer
  2382.             viruses on 286 and later systems. Memory above
  2383.             1088Kb is not addressed directly by the
  2384.             processor and is not presently susceptible to
  2385.             viruses.
  2386.             
  2387.             NOTE: /NOMEM is not applicable to OS/2.
  2388.             
  2389.             
  2390.             /PAUSE
  2391.             Enable screen pause
  2392.             
  2393.             If you specify /PAUSE, the More? (H = Help)
  2394.             prompt appears when Scan fills up a screen with messages, 
  2395.             such as when using the /SHOWLOG or /VIRLIST options.
  2396.             Otherwise, by default, Scan fills and scrolls a
  2397.             screen continuously without stopping, which
  2398.             allows Scan to run on PCs with many drives or
  2399.             that have severe infections without requiring
  2400.             you to attend. We recommend that you omit /PAUSE
  2401.             when keeping a record of Scan's messages using
  2402.             the report options (/REPORT, /RPTCOR, /RPTMOD,
  2403.             and /RPTERR).
  2404.             
  2405.            Using VirusScan (Version 2.1.1)                           43            
  2406.             
  2407.             /PLAD
  2408.             Preserve last access dates (on NetWare drives
  2409.             only).
  2410.             
  2411.             Prevents changing the last access date attribute
  2412.             for files stored on a network drive in a Novell
  2413.             network. Normally, NetWare updates the last
  2414.             access date when Scan opens and examines a file.
  2415.             However, some tape backup systems use this last
  2416.             access date to decide whether to back up the
  2417.             file. Use /PLAD to ensure that the last access
  2418.             date does not change as the result of scanning.
  2419.             
  2420.             
  2421.             /REPORT {filename}
  2422.             Create report of infected files and system errors
  2423.             
  2424.             Saves the output of Scan to filename in ASCII
  2425.             text file format. If filename exists, /REPORT
  2426.             erases and replaces it. You can include the
  2427.             destination drive and directory (such as
  2428.             D:\VSREPRT\ALL.TXT), but if the destination is a
  2429.             network drive, you must have rights to create
  2430.             and delete files on that drive. You can also use
  2431.             /RPTCOR, /RPTMOD, and /RPTERR to add corrupted
  2432.             files, modified files, and system errors to the
  2433.             report.
  2434.             
  2435.             
  2436.             /RF {filename}
  2437.             Remove validation/recovery codes in file
  2438.             
  2439.             Removes recovery and validation data from
  2440.             filename created by the /AF option. If filename
  2441.             resides on a shared network drive, you must be
  2442.             able to delete files on that drive. Using any of
  2443.             the /AF, /CF, or /RF options together in the
  2444.             same command line returns an error.
  2445.             
  2446.             
  2447.             /RPTCOR
  2448.             Add corrupted files to Scan report
  2449.             
  2450.             Used in conjunction with /REPORT, adds the names
  2451.             of corrupted files to the report file. A
  2452.             corrupted file is a file that a virus has
  2453.             damaged beyond repair, which typically occurs in
  2454.             10% to 20% of all viral infections. You can use
  2455.             /RPTCOR with /RPTMOD and /RPTERR on the same
  2456.             command line.
  2457.             
  2458.             
  2459.             
  2460.            Using VirusScan (Version 2.1.1)                           44            
  2461.             
  2462.             /RPTERR
  2463.             Add errors to Scan report
  2464.             
  2465.             Used in conjunction with /REPORT, adds system
  2466.             errors to the report file.
  2467.             
  2468.             System errors include problems reading or
  2469.             writing to a diskette or hard disk, file system
  2470.             or network problems, problems creating reports,
  2471.             and other system-related problems. You can use
  2472.             /RPTERR with /RPTCOR and /RPTMOD on the same
  2473.             command line.
  2474.             
  2475.             
  2476.             /RPTMOD
  2477.             Add modified files to the Scan report
  2478.             
  2479.             Used in conjunction with /REPORT, adds the names
  2480.             of modified files to the report file. Scan
  2481.             identifies modified files when the
  2482.             validation/recovery codes do not match (using
  2483.             the /CF or /CV options). You can use /RPTMOD
  2484.             with /RPTCOR and /RPTERR on the same command
  2485.             line.
  2486.             
  2487.             
  2488.             /RV
  2489.             Remove validation/recovery from files
  2490.             
  2491.             Removes validation and recovery data from files
  2492.             validated with the /AV option, along with the
  2493.             SCAN.LOG file on the specified drive. To update
  2494.             files on a shared network drive, you must have
  2495.             access rights to update them. Using any of the
  2496.             /AV, /CV, or /RV options together in the same
  2497.             command line returns an error.
  2498.             
  2499.             
  2500.             /SHOWLOG
  2501.             Update and display the contents of SCAN.LOG
  2502.             
  2503.             Stores the time and date Scan is being run by
  2504.             updating or creating a file called SCAN.LOG in
  2505.             the current directory, and shows you the date
  2506.             and time of previous scans that have been
  2507.             recorded in the SCAN.LOG file using the /LOG
  2508.             switch. The SCAN.LOG file contains text and some
  2509.             special formatting.  To pause when the screen
  2510.             fills with messages, specify the /PAUSE option.
  2511.             
  2512.             
  2513.             
  2514.             
  2515.            Using VirusScan (Version 2.1.1)                           45
  2516.  
  2517.             /SUB
  2518.             Scan subdirectories
  2519.             
  2520.             By default, when you specify a directory to scan
  2521.             rather than a drive, Scan will examine only the
  2522.             files it contains, not its subdirectories. Use
  2523.             /SUB to scan all subdirectories inside any
  2524.             directories you've specified. Do not use /SUB if
  2525.             you are scanning an entire drive.
  2526.             
  2527.             
  2528.             /VIRLIST
  2529.             Display the contents of SCAN.DAT
  2530.             
  2531.             Shows you the name and a brief description of
  2532.             the viruses that VirusScan detects. To pause
  2533.             when the screen fills with messages, specify the
  2534.             /PAUSE option. Use /VIRLIST alone or with /PAUSE
  2535.             on the command line.
  2536.             
  2537.             You can save the list of virus names and
  2538.             descriptions to a file by redirecting the output
  2539.             of the command. For example, in DOS:
  2540.             
  2541.                  scan /virlist > filename.txt
  2542.             
  2543.             CLEANING VIRUSES
  2544.             
  2545.             Although /CLEAN removes many viruses and
  2546.             restores normal operation, viruses can be
  2547.             harmful and insidious, and no anti-virus program
  2548.             can undo all their damage. Usually, between 10%
  2549.             and 20% of all viruses corrupt the files they
  2550.             infect, making them unrecoverable. If the file
  2551.             is infected with an uncommon virus that /CLEAN
  2552.             can't remove, Scan notifies you and identifies
  2553.             the filename. Note this filename so that you
  2554.             know what to restore from a backup diskette or
  2555.             tape. If you use both the /CLEAN and the /DEL
  2556.             options, Scan will first attempt to repair an
  2557.             infected file and, if the file is damaged beyond
  2558.             repair, Scan will delete it. Deleted files are
  2559.             not recoverable except from backups.
  2560.             
  2561.             Some viruses damage or overwrite program (.EXE)
  2562.             files or overlay files. Removing the virus can
  2563.             truncate the file or otherwise render it
  2564.             inoperable. Others, like the common virus
  2565.             Stoned, infect the master boot record (MBR). On
  2566.             systems partitioned with programs other than DOS
  2567.             (such as Disk Manager and SpeedStor), removing
  2568.             the virus can cause loss of the master boot record 
  2569.             (MBR) and all data on the disk, if done improperly.
  2570.            Using VirusScan (Version 2.1.1)                           46
  2571.  
  2572.             BASIC PRINCIPLES TO MINIMIZE DAMAGE
  2573.             
  2574.             These considerations lead to the three important
  2575.             principles:
  2576.             
  2577.             NOTE: Before running Scan with the /CLEAN
  2578.             option, back up all of your programs and data.
  2579.             
  2580.             Of course, this works best if you back up your
  2581.             files regularly, so that you can restore your
  2582.             files from a backup made before your system was
  2583.             infected. But even a backup from an infected
  2584.             system can be useful for restoring data, because
  2585.             most viruses do not corrupt data. If a program
  2586.             no longer runs after being cleaned, replace it
  2587.             from the original disk or from a virus-free
  2588.             backup.
  2589.             
  2590.             1. When disinfecting an infected system, it is
  2591.                important to start from a "sterile field," as
  2592.                described in Chapter 2.
  2593.  
  2594.             2. Before running Scan with the /CLEAN option for
  2595.                DOS, restart your computer from a clean,
  2596.                write-protected diskette; before running it
  2597.                for OS/2, close all DOS and Win-OS/2
  2598.                sessions.
  2599.  
  2600.                Preferably, use the clean anti-virus start-up
  2601.                diskette you created in "Making a clean start-
  2602.                up diskette" in Chapter 2. And, because
  2603.                running any program can spread the infection:
  2604.  
  2605.             3. Do not run any programs, including Windows,
  2606.                before running Scan /CLEAN.
  2607.             
  2608.             Run Scan /CLEAN from DOS instead of Windows.
  2609.             Exit completely from Windows. Do not run Scan
  2610.             /CLEAN from within a DOS window.
  2611.             
  2612.             IMPORTANT: If you are at all unsure about how to
  2613.             proceed once you've found a virus, contact
  2614.             McAfee technical support, or your local
  2615.             authorized agent, for assistance (see "Technical
  2616.             support" in Chapter 1).
  2617.             
  2618.             We strongly recommend that you get experienced
  2619.             help in dealing with viruses if you are unfamiliar 
  2620.             with anti-virus software and methods. This is especially 
  2621.             true for "critical" viruses and master boot record (MBR)
  2622.             /boot sector infections, because improper removal of 
  2623.             these viruses can result in the loss of all data and
  2624.             use of the infected disks.
  2625.            Using VirusScan (Version 2.1.1)                           47
  2626.             
  2627.             RUNNING SCAN TO CLEAN UP INFECTIONS
  2628.             
  2629.             PREPARATION
  2630.             
  2631.             Before running Scan to clean up infections:
  2632.  
  2633.             1. Clear the virus from system memory and prevent
  2634.                reinfection:
  2635.  
  2636.                o With DOS or Windows, turn off your PC, then
  2637.                  restart from a clean start-up diskette,
  2638.                  preferably the anti-virus diskette you
  2639.                  prepared in "Making a clean start-up
  2640.                  diskette" in Chapter 2.
  2641.  
  2642.                o With OS/2, close all DOS and Win-OS/2 sessions.
  2643.  
  2644.                o With an OS/2 dual-boot system infected by a
  2645.                  boot sector virus (like Form, or others
  2646.                  identified by Scan), boot (start up) OS/2
  2647.                  first, delete the BOOT.DOS file from the \OS2
  2648.                  directory, and then boot DOS to create a new,
  2649.                  virus-free DOS boot sector file.
  2650.  
  2651.             2. Run the Scan program to locate and identify
  2652.                the infections.
  2653.  
  2654.             3. Back up the files on the infected disks (be
  2655.                sure not to overwrite any previous backups).
  2656.  
  2657.             4. Repeat Step 1.
  2658.  
  2659.             5. Run the Scan program with the /CLEAN option to
  2660.                remove infections.
  2661.  
  2662.             NOTE: Don't run any programs, including Windows,
  2663.             before running Scan /CLEAN.
  2664.             
  2665.             If you have Windows, run Scan /CLEAN from DOS.
  2666.             
  2667.             NOTE: When disinfecting a hard disk, always run
  2668.             Scan /CLEAN from a write-protected diskette to
  2669.             prevent infection of the Scan program. When
  2670.             disinfecting diskettes, make sure there is no
  2671.             active virus in memory before running Scan from
  2672.             your hard disk.
  2673.             
  2674.             SUCCESSFUL AND UNSUCCESSFUL RESULTS
  2675.             
  2676.             Scan /CLEAN reports the results of its attempt
  2677.             to remove the virus from each infected file. If
  2678.             a file has several infections, it will report on
  2679.             each.
  2680.            Using VirusScan (Version 2.1.1)                           48            
  2681.             
  2682.             IF VIRUSES WERE NOT REMOVED, CONTACT TECHNICAL SUPPORT
  2683.             
  2684.             If Scan can't remove a virus, you'll see a
  2685.             message like:
  2686.             
  2687.                  Virus cannot be safely removed from this file.
  2688.             
  2689.             Make sure to take note of the file name, because
  2690.             you will need to restore it from backups. If you
  2691.             have any questions about how to proceed, contact
  2692.             McAfee technical support or your local
  2693.             authorized agent (see "Technical support" in
  2694.             Chapter 1).
  2695.             
  2696.             IF VIRUSES WERE SAFELY REMOVED, RESCAN AND CHECK
  2697.             DISKETTES
  2698.             
  2699.             If Scan /CLEAN has successfully removed all the
  2700.             viruses, turn your computer off again and
  2701.             restart from the system disk. Scan your hard
  2702.             disks again to make sure they are virus-free. If
  2703.             you suspect that your system was infected from a
  2704.             diskette, run Scan from your hard disk to
  2705.             examine and disinfect the diskettes you use.
  2706.             
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.            Using VirusScan (Version 2.1.1)                           49            
  2736.             
  2737.             EXAMPLES
  2738.             
  2739.             These examples show different option settings.
  2740.             In OS/2, remember to use OS2SCAN instead of SCAN.
  2741.             
  2742.                  scan c:
  2743.             
  2744.             Scan all executable files on drive C.
  2745.             
  2746.                  scan f:
  2747.             
  2748.             Scan all standard executable files on drive F, a
  2749.             network drive.
  2750.             
  2751.                  scan c: /adl /adn
  2752.             
  2753.             Scan all local and network drives (except floppy drives).
  2754.             
  2755.                  scan f: g: h: /del /all
  2756.             
  2757.             Scan all files on drives F, G, and H, and delete
  2758.             any infected files found.
  2759.             
  2760.                  scan c: d: e: /av /all
  2761.             
  2762.             Scan for viruses in all files and add validation
  2763.             codes to executable files on drives C, D, and E.
  2764.             
  2765.                  scan m: /report a:infectn.rpt /rptcor /rpterr /append
  2766.             
  2767.             Scan for viruses on network drive M: and create
  2768.             a log file of infections, corruptions, and
  2769.             errors in the file INFECTN.RPT on drive A. This
  2770.             will overwrite A:INFECTN.RPT, if it exists.
  2771.             
  2772.                  scan e:\user\jake e:\user\daisy e:\user\nick /sub
  2773.             
  2774.             Scan all subdirectories inside the directories
  2775.             USER\JAKE, USER\DAISY, and USER\NICK on drive E.
  2776.             
  2777.                  scan c: d: e: /fast /cv
  2778.             
  2779.             Quickly scan drives C, D, and E, and report any
  2780.             executable files that have associated validation
  2781.             codes and have been modified.
  2782.             
  2783.                  scan c:\command.com
  2784.             
  2785.             Scan a single file.
  2786.             
  2787.                  scan c: d: /clean
  2788.             
  2789.             Scan drives C and D and remove infections.
  2790.            Using VirusScan (Version 2.1.1)                           50            
  2791.  
  2792.             ERROR LEVELS
  2793.             
  2794.             After Scan has finished running, it sets the
  2795.             ERRORLEVEL. You can use the ERRORLEVEL in batch
  2796.             files to take different actions based on the
  2797.             results of the scan. See your DOS operating
  2798.             system documentation for more information. Scan
  2799.             returns the following ERRORLEVELs:
  2800.             
  2801.             ERRORLEVEL  Description
  2802.             
  2803.              0   No errors occurred and no viruses were found.
  2804.             
  2805.              1   Error occurred while accessing a file (reading
  2806.                  or writing).
  2807.             
  2808.              2   A VirusScan database (*.DAT) file is
  2809.                  corrupted.
  2810.             
  2811.              3   An error occurred while accessing a disk
  2812.                  (reading or writing).
  2813.             
  2814.              4   An error occurred while accessing the file created 
  2815.                  with the /AF option; the file has been damaged.
  2816.             
  2817.              5   Insufficient memory to load program or complete 
  2818.                  operation.
  2819.             
  2820.              6   An internal program error occurred.
  2821.               
  2822.              7   An error in accessing an international message
  2823.                  file (MCAFEE.MSG).
  2824.             
  2825.              8   A file required to run VirusScan, such as SCAN.DAT, 
  2826.                  is missing.
  2827.             
  2828.              9   Incompatible or unrecognized option(s) or option 
  2829.                  argument(s) were specified in the command line.
  2830.             
  2831.             10   A virus was found in memory.
  2832.              
  2833.             11   An internal program error occurred.
  2834.             
  2835.             12   An error occurred while attempting to remove
  2836.                  a virus, such as no CLEAN.DAT file found, or
  2837.                  VirusScan was unable to remove the virus.
  2838.             
  2839.             13   One or more viruses was found in the master
  2840.                  boot record, boot sector, or file(s).
  2841.             
  2842.             14   The SCAN.DAT file is out of date; upgrade
  2843.                  VirusScan data files.
  2844.             
  2845.            Using VirusScan (Version 2.1.1)                           51            
  2846.             15   VirusScan self-check failed. It may be
  2847.                  infected or damaged.
  2848.             
  2849.             16   An error occurred while accessing a specified
  2850.                  drive or file.
  2851.             
  2852.             17   No drive, directory or file was specified;
  2853.                  nothing to scan.
  2854.             
  2855.             18   A validated file has been modified (/CF or
  2856.                  /CV options).
  2857.             
  2858.             19-99 Reserved.
  2859.             
  2860.             100+ Operating system error; Scan adds 100 to
  2861.                  the original error number.
  2862.             
  2863.             
  2864.             
  2865.             
  2866.             
  2867.             
  2868.             
  2869.             
  2870.             
  2871.             
  2872.             
  2873.             
  2874.             
  2875.             
  2876.             
  2877.             
  2878.             
  2879.             
  2880.             
  2881.             
  2882.             
  2883.             
  2884.             
  2885.             
  2886.             
  2887.             
  2888.             
  2889.             
  2890.             
  2891.             
  2892.             
  2893.             
  2894.             
  2895.             
  2896.             
  2897.             
  2898.             
  2899.  
  2900.            Using VirusScan (Version 2.1.1)                           52            
  2901.             
  2902.             APPLICATION NOTE 1  UPDATING VALIDATION CODES
  2903.             
  2904.             If you install any new software or programs on
  2905.             your system, including a new version of DOS, and
  2906.             are running Scan or VShield with the /CF
  2907.             (preferred) or /CV validation options, you need
  2908.             to install validation codes for the new files
  2909.             with Scan's /AF (preferred) or /AV options.
  2910.             
  2911.             The quickest way to update the validation codes
  2912.             is to remove all validation codes from the hard
  2913.             disk and then add them back. In other words,
  2914.             first run Scan with the /RF or /RV option, then
  2915.             run it again with the /AF or /AV option.
  2916.             
  2917.             APPLICATION NOTE 2  REFORMATTING INFECTED
  2918.             DISKETTES WITH DOS 5.0 AND LATER
  2919.             
  2920.             When reformatting infected diskettes using DOS
  2921.             5.0 and later versions, be sure to add the /U
  2922.             switch to the FORMAT command. This tells DOS to
  2923.             do an unconditional format of the diskette,
  2924.             without saving the original infected boot
  2925.             sector. This is necessary to erase certain
  2926.             infections, and will prevent reinfection by
  2927.             unformatting the diskette.
  2928.             
  2929.             
  2930.             
  2931.             
  2932.             
  2933.             
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.            Using VirusScan (Version 2.1.1)                           53            
  2956.             
  2957.             TECHNICAL NOTE 1  CREATING AN EXCEPTION LIST
  2958.             FILE FOR THE /EXCLUDE OPTION
  2959.             
  2960.             If you set up validation codes using Scan's /AF
  2961.             or /AV options, subsequent scans using the /CF
  2962.             or /CV options will detect changes in executable
  2963.             files.
  2964.             
  2965.             This can generate false alarms if the executable
  2966.             files are self-modifying or self-checking (most
  2967.             programs that do this will tell you to turn off
  2968.             your anti-virus software before running them;
  2969.             some of these files are listed below).
  2970.             Therefore, use the /EXCLUDE option in
  2971.             conjunction with /AF or /AV to identify such
  2972.             files and exclude them from the validation.
  2973.             
  2974.             The exception list is an ASCII or DOS text file.
  2975.             If you use a word processor to create it, be
  2976.             sure to save the file as ASCII or DOS Text. Each
  2977.             line in the file contains the path and file name
  2978.             of one file that should not be validated. Here
  2979.             is an example:
  2980.             
  2981.                  c:\clipper\bin\clipper.exe
  2982.                  c:\123\123.com
  2983.                  c:\fox\foxprolx.exe
  2984.                  c:\dos\setver.exe
  2985.                  c:\pkware\pklite.exe
  2986.                  c:\pkware\pkzip.exe
  2987.                  c:\pkware\pkunzip.exe
  2988.                  c:\semware\q.exe
  2989.                  c:\swapvol.com
  2990.                  c:\wordstar\ws.exe
  2991.             
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.            Using VirusScan (Version 2.1.1)                           54
  3011.             
  3012.             CHAPTER 4: VSHIELD REFERENCE
  3013.  
  3014.             VirusScan's VShield(TM) is a memory-resident
  3015.             program that helps to prevent virus infection.
  3016.             It complements the Scan virus detection program
  3017.             as part of your computer security plan. While
  3018.             Scan lets you check areas on disks for viruses,
  3019.             the VShield program checks these areas
  3020.             automatically as they load into your computer's
  3021.             memory. This ensures that you don't "catch" any
  3022.             new viruses while you're working on your computer.
  3023.             
  3024.             VShield does this by remaining in memory and:
  3025.             
  3026.             o Checking master boot records (MBRs), boot
  3027.               sectors, system files, and itself for viruses
  3028.               when you turn on or reset
  3029.               ([Ctrl]+[Alt]+[Del]) your machine.
  3030.             
  3031.             o Checking program files for viruses as your
  3032.               computer executes them.
  3033.             
  3034.             o Checking files for viruses as you copy them
  3035.               (optional).
  3036.             
  3037.             o Checking for viruses whenever your computer
  3038.               accesses a disk (optional).
  3039.  
  3040.             Follow the instructions in Chapter 2 to install
  3041.             VShield. You can modify your AUTOEXEC.BAT file so 
  3042.             that VShield loads into memory every time you turn 
  3043.             on your computer.
  3044.             
  3045.             If VShield finds a virus, you will hear three
  3046.             beeps and see a message like:
  3047.             
  3048.                  Found the Jerusalem Virus in memory
  3049.             
  3050.             If that happens, don't panic. Turn to Chapter 3
  3051.             to find out how to use the Scan program to get
  3052.             rid of the virus. If you need additional help,
  3053.             contact McAfee (see "Technical support" in
  3054.             Chapter 1).
  3055.             
  3056.             NOTE: There is one way to infect your computer
  3057.             that VShield cannot prevent--only you can. Never
  3058.             accidentally start your computer from an unknown
  3059.             diskette. That's how 80% of all viruses are
  3060.             passed! VShield checks diskettes if you warm
  3061.             boot, but cannot check them when you cold boot.
  3062.             Always make sure your diskette drives are empty
  3063.             before you turn your computer on.
  3064.             
  3065.            Using VirusScan (Version 2.1.1)                           55
  3066.             
  3067.             VShield runs under DOS, Windows, and OS/2
  3068.             Virtual DOS Machine and WIN-OS/2 sessions. The
  3069.             program file is VSHIELD.EXE. The file called
  3070.             VSHLDWIN.EXE allows VShield to display messages
  3071.             from within Windows, and is added to your
  3072.             WIN.INI file automatically when you install
  3073.             VShield. If you need to conserve memory on your
  3074.             system, you can use VShieldCRC, a version of
  3075.             VShield that offers fewer protection options but
  3076.             requires less memory. The program file is 
  3077.             VSHLDCRC.EXE.
  3078.             
  3079.             A companion program called CheckVShield checks
  3080.             whether either VShield or VShieldCRC is loaded
  3081.             in memory. The program file is CHKVSHLD.EXE.
  3082.             CheckVShield is especially useful for network
  3083.             administrators who want to ensure that everyone
  3084.             who logs on to the network is running VShield.
  3085.             All of these related programs are included in
  3086.             your VirusScan disk and described in this chapter.
  3087.             
  3088.             DO YOU NEED TO READ THIS CHAPTER?
  3089.             
  3090.             Many users will not need the VShield options
  3091.             described in this chapter. We have designed
  3092.             VShield so that basic operation--achieved by
  3093.             simply installing it in memory as described in
  3094.             Chapter 2--provides a high degree of protection
  3095.             for most users. The options here offer
  3096.             additional power and control for virus
  3097.             detection, and are most useful in vulnerable or
  3098.             memory-scarce environments and to network
  3099.             administrators and information systems staff.
  3100.             See "Four levels of protection" and the table
  3101.             "Deciding which options are for you" later in
  3102.             this chapter for help in deciding how to use VShield.
  3103.             
  3104.             SYSTEM REQUIREMENTS AND PERFORMANCE
  3105.             
  3106.             VShield is a terminate-and-stay-resident (TSR)
  3107.             program, which remains in memory while you run
  3108.             other programs. VShield tries to optimize memory
  3109.             usage and minimize conflicts with other TSRs. By
  3110.             default, VShield tries to conserve as much
  3111.             conventional memory as possible.
  3112.             
  3113.             If you have only 640Kb or less memory in your
  3114.             system, VShield requires about 67Kb of memory.
  3115.             By using the /SWAP option, you can reduce this
  3116.             to only 7Kb of conventional memory, although
  3117.             this will decrease VShield's speed.
  3118.             
  3119.             
  3120.            Using VirusScan (Version 2.1.1)                           56            
  3121.  
  3122.             If you have more than 640Kb, VShield tries to
  3123.             load as much of itself as possible above
  3124.             conventional memory: first into expanded memory
  3125.             (EMS), into extended memory (XMS), then into
  3126.             upper memory blocks (640Kb to 1024Kb, or UMB).
  3127.             If you have sufficient high memory available, 
  3128.             VShield or VShieldCRC use no conventional memory.
  3129.             
  3130.             After VShield loads, you'll see a message that
  3131.             describes where VShield loaded into memory and
  3132.             how much memory it uses. You can control how
  3133.             VShield loads by using the /NOUMB, /NOEMS, and
  3134.             /NOXMS options, as described later in this chapter.
  3135.             
  3136.             NOTE: VShield might require slightly more memory
  3137.             as the SCAN.DAT file grows to include more viruses.
  3138.             
  3139.             VShield adds a small amount of time to program
  3140.             loads and reboots. Performance will vary,
  3141.             depending on your system. The /SWAP option adds
  3142.             more time, because VShield must reload from disk
  3143.             to check files. VShieldCRC adds an average of
  3144.             one second to each program load.
  3145.             
  3146.             Once programs have been loaded, VShield does not
  3147.             degrade the performance of your system. Programs
  3148.             that load other files may run more slowly when
  3149.             you use the /FILEACCESS or /ANYACCESS options,
  3150.             because these options cause VShield to scan
  3151.             files whenever they are accessed, not just when
  3152.             they are executed.
  3153.             
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.            Using VirusScan (Version 2.1.1)                           57            
  3176.             FOUR LEVELS OF PROTECTION
  3177.             
  3178.             You can think of VShield as providing four
  3179.             levels of protection. You can use VShield's
  3180.             options to customize it for the level of
  3181.             protection you need. Level II meets the
  3182.             protection needs of most systems.
  3183.             
  3184.             Level I protection is appropriate for users who
  3185.             have very little memory available on their
  3186.             systems. It provides only minimal protection.
  3187.             
  3188.             For Level I protection, first use Scan with the
  3189.             /AF or /AV option to add validation codes. Then,
  3190.             install VShieldCRC instead of VShield.
  3191.             VShieldCRC can inform you that a file has not
  3192.             been certified, a file has been modified, a file
  3193.             size has changed, or a file has not been added
  3194.             to the validation file. VShieldCRC will not
  3195.             prevent infection, nor will it tell you when you
  3196.             have a known virus. Use Scan instead to detect
  3197.             viruses, as described in Chapter 3. See "Using
  3198.             VShieldCRC" later in this chapter for
  3199.             instructions.
  3200.             
  3201.             Level II protection is appropriate for most
  3202.             users. It will protect you from most viruses
  3203.             whether you have run Scan or not.
  3204.             
  3205.             For Level II protection, install VShield
  3206.             according to "Running VShield" later in this
  3207.             chapter. When loading, VShield checks memory
  3208.             automatically for viruses. Once resident in
  3209.             memory, VShield checks master boot records
  3210.             (MBRs), boot sectors, and program files (when
  3211.             executed) for virus signatures.
  3212.             
  3213.             Level III protection is appropriate for
  3214.             computers that are used by many people, as in an
  3215.             open-use computer lab, or onto which you
  3216.             frequently load files from public sources. Level
  3217.             III protection checks for both validation codes
  3218.             and virus signatures, incorporating both Level I
  3219.             and Level II protection.
  3220.             
  3221.             For Level III protection, first use Scan with
  3222.             the /AF {filename} option, then use VShield with
  3223.             the /CF {filename} option. The /AF option logs
  3224.             recovery and validation data for program files,
  3225.             the boot sector, and the master boot record
  3226.             (MBR) to a file you specify. The /CF option
  3227.             tells VShield to check against that log. See
  3228.             "VirusScan reference" in Chapter 3 for
  3229.             instructions.
  3230.            Using VirusScan (Version 2.1.1)                           58            
  3231.             
  3232.             Level IV protection is for environments where
  3233.             security is extremely important and new software
  3234.             is seldom introduced. It combines Level III
  3235.             protection with access control, specifying that
  3236.             only programs known to be safe can be run.
  3237.             
  3238.             For Level IV protection, run VShield with the
  3239.             /CERTIFY option. See the "VShield option
  3240.             descriptions" later in this chapter for details
  3241.             about /CERTIFY.
  3242.             
  3243.             NOTE: VShield has many optional features that
  3244.             you might use at any protection level. See the
  3245.             table "VShield option summary" later in this
  3246.             chapter to see these options.
  3247.             
  3248.             
  3249.             
  3250.             
  3251.             
  3252.             
  3253.             
  3254.             
  3255.             
  3256.             
  3257.             
  3258.             
  3259.             
  3260.             
  3261.             
  3262.             
  3263.             
  3264.             
  3265.             
  3266.             
  3267.             
  3268.             
  3269.             
  3270.             
  3271.             
  3272.             
  3273.             
  3274.             
  3275.             
  3276.             
  3277.             
  3278.             
  3279.             
  3280.             
  3281.             
  3282.             
  3283.             
  3284.             
  3285.            Using VirusScan (Version 2.1.1)                           59            
  3286.             
  3287.             RUNNING VSHIELD
  3288.             
  3289.             VShield checks programs, the master boot record
  3290.             (MBR), boot sector, system files, and itself for
  3291.             virus signatures, the pattern of code unique to
  3292.             each virus. If VShield finds an infection, it
  3293.             prevents programs from running. It also prevents
  3294.             warm boots ([Ctrl]+[Alt]+[Del]) from infected disks.
  3295.             
  3296.             You can use options to control and fine-tune the
  3297.             scope, validation parameters, and operation of
  3298.             the VShield's checks. To use VShield with
  3299.             options, use the following syntax:
  3300.             
  3301.                  vshield [options]
  3302.             
  3303.             [options] indicates one or more options
  3304.             described in the table in the next section.
  3305.             
  3306.             NOTE: Don't enter the square braces, which
  3307.             indicate that what's within them is optional.
  3308.             
  3309.             Because systems and environments differ, VShield
  3310.             gives you a choice of options. Consider the
  3311.             mixture of safety, performance, and maintenance
  3312.             that meets your needs, then choose the
  3313.             combination of options that works best.
  3314.             
  3315.             When you run VShield for the first time, VShield
  3316.             uses the virus information contained in SCAN.DAT
  3317.             and NAMES.DAT to creates a new file,
  3318.             VSHIELD.DAT, in the program directory. The
  3319.             VSHIELD.DAT file contains virus information in a
  3320.             format that is optimized for VShield operation.
  3321.             Thereafter, when you install an updated version
  3322.             of SCAN.DAT, VShield updates VSHIELD.DAT
  3323.             automatically with any new virus information it
  3324.             finds in SCAN.DAT.
  3325.             
  3326.             
  3327.             
  3328.             
  3329.             
  3330.             
  3331.             
  3332.             
  3333.             
  3334.             
  3335.             
  3336.             
  3337.             
  3338.             
  3339.             
  3340.            Using VirusScan (Version 2.1.1)                           60            
  3341.  
  3342.             DOS
  3343.             
  3344.             You can add VShield to your AUTOEXEC.BAT file so 
  3345.             it is activated every time you turn on your computer.
  3346.             
  3347.             You can put VShield at the end of AUTOEXEC.BAT. 
  3348.             In most cases this is OK. However, using a text editor,
  3349.             
  3350.             1. Check the placement of the VShield command
  3351.                line in the AUTOEXEC.BAT file.
  3352.  
  3353.                o VShield must be run before any menu programs,
  3354.                  such as MS-DOS's DOSSHELL or Norton
  3355.                  Commander, or it will not be loaded.
  3356.  
  3357.                o If AUTOEXEC.BAT loads any network drivers,
  3358.                  keyboard drivers, disk caching programs,
  3359.                  drive compression programs, or custom disk
  3360.                  drivers, VShield must be run both before and
  3361.                  after them. These kinds of programs disable
  3362.                  VShield. The second time VShield is loaded,
  3363.                  use only the /RECONNECT option, as described
  3364.                  later in this chapter.
  3365.  
  3366.             2. If necessary, move the line that loads VShield.
  3367.  
  3368.             3. Add the VShield options of your choice to the
  3369.                command line.
  3370.  
  3371.             NOTE: On your VirusScan disk, you'll find
  3372.             AUTOEXEC.VSH, a sample AUTOEXEC.BAT that shows
  3373.             the correct placement of the VShield command
  3374.             line. If you are still not sure whether VShield
  3375.             is in the right place, contact McAfee (see
  3376.             "Technical support" in Chapter 1).
  3377.             
  3378.             WINDOWS
  3379.             
  3380.             When you install VShield, you can add the VShield
  3381.             command line to your AUTOEXEC.BAT file. It also
  3382.             modifies your WIN.INI file to include
  3383.             VSHLDWIN.EXE, which allows VShield to display
  3384.             messages under Windows.
  3385.             
  3386.             However, you may need to change your Windows
  3387.             configuration for VShield to run properly.
  3388.             
  3389.             To do so, follow these steps. If you need help
  3390.             with this procedure, see your Windows
  3391.             documentation, or you can contact McAfee (see
  3392.             "Technical support" in Chapter 1).
  3393.             
  3394.  
  3395.            Using VirusScan (Version 2.1.1)                           61            
  3396.             
  3397.             1. Follow the instructions for DOS users in the
  3398.                previous section.
  3399.  
  3400.             2. Start Windows.
  3401.  
  3402.             3. In the Control Panel, configure Windows to run
  3403.                in 386 enhanced mode.
  3404.  
  3405.             4. Load Windows. You will see the VShield icon on
  3406.                your desktop.
  3407.  
  3408.             If VShield finds or suspects a virus, you'll see
  3409.             a warning message. Choose OK to close the
  3410.             message dialog.
  3411.             
  3412.             Double-clicking the VShield icon only displays a
  3413.             message confirming whether VShield is loaded.
  3414.             
  3415.             OS/2
  3416.             
  3417.             Because OS/2 is a protected environment, you
  3418.             need VShield only during Virtual DOS Machine
  3419.             (VDM) and WIN-OS2 sessions. When you install it,
  3420.             you can add VShield to AUTOEXEC.BAT so it is 
  3421.             activated every time you start a VDM or WIN-OS/2 session.
  3422.             
  3423.             If your start-up batch file is not AUTOEXEC.BAT,
  3424.             edit your start-up batch file to include
  3425.             VShield. For example:
  3426.             
  3427.                  [C:\] vshield /fileaccess
  3428.             
  3429.             NOTE: See "/FILEACCESS," an option we recommend
  3430.             using with OS/2, later in this chapter.
  3431.             
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.            Using VirusScan (Version 2.1.1)                           62
  3451.  
  3452.             SPECIAL INSTRUCTIONS FOR NETWORK ADMINISTRATORS
  3453.             
  3454.             You have many options for setting up VShield on
  3455.             a network. The table "Deciding which options are
  3456.             for you" later in this chapter lists options
  3457.             that apply in network environments. If you need
  3458.             assistance in choosing the best configuration
  3459.             for your network, contact McAfee (see "Technical
  3460.             support" in Chapter 1).
  3461.             
  3462.             If you run VShield from a network drive, flag
  3463.             VSHIELD.EXE as EXECUTE ONLY, READ ONLY, and
  3464.             SHAREABLE.
  3465.             
  3466.             If you run VShield from clients' local drives:
  3467.             
  3468.             o Edit all clients' AUTOEXEC.BAT files to load
  3469.               VShield, with the options that are
  3470.               appropriate for your environment, before any
  3471.               other drivers are loaded.
  3472.  
  3473.             o Add VShield with the /RECONNECT option to the
  3474.               AUTOEXEC.BAT or the network login script,
  3475.               after the network drivers are loaded. See
  3476.               /RECONNECT, later in this chapter, for more
  3477.               information.
  3478.  
  3479.             o Run CheckVShield from the login script.
  3480.               CheckVShield returns a
  3481.  
  3482.             DOS ERRORLEVEL that you can use in batch files
  3483.             to check and update VShield. For an example of
  3484.             using CheckVShield, see "Technical note 2:
  3485.             Sample NetWare login script and .BAT file" later
  3486.             in this chapter.
  3487.             
  3488.             
  3489.             
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  
  3504.  
  3505.            Using VirusScan (Version 2.1.1)                           63            
  3506.  
  3507.             VSHIELD OPTION SUMMARY
  3508.             
  3509.             DOS-OS/2 option     Description
  3510.             
  3511.             /? or /HELP    
  3512.               Display a list of valid VShield command line options.
  3513.             
  3514.             /ANYACCESS     
  3515.               Scan the boot sector whenever a diskette is accessed 
  3516.               (read and write); scan executables; scan any newly 
  3517.               created files.
  3518.             
  3519.             /BOOTACCESS    
  3520.               Scan the boot sector for viruses whenever a diskette 
  3521.               is accessed (including read and write).
  3522.             
  3523.             /CERTIFY  
  3524.               Prevent files without validation codes from running.
  3525.             
  3526.             /CF {filename} 
  3527.               Check for viruses using recovery and validation data 
  3528.               stored by Scan /AF in the specified filename.
  3529.             
  3530.             /CONTACT {message}  
  3531.               Display specified message when a virus is found.
  3532.             
  3533.             /CONTACTFILE {filename}  
  3534.               Display message stored in filename when a virus is found.
  3535.             
  3536.             /CV  
  3537.               Check validation codes added to files by Scan.
  3538.             
  3539.             /EXCLUDE {filename} 
  3540.               Don't check files listed in filename for validation codes 
  3541.               (/CF and /CV options).
  3542.             
  3543.             /FILEACCESS    
  3544.               Scan executable files when they are accessed on a 
  3545.               diskette, but don't check the boot sector.
  3546.             
  3547.             /IGNORE {drive(s)}
  3548.               Don't check programs loaded from the specified drive(s).
  3549.             
  3550.             /LOCK     
  3551.               Halt the system when a file that is infected loads 
  3552.               and attempts to execute.
  3553.             
  3554.             /NOEMS    
  3555.               Prevent VShield from loading into expanded memory (EMS).
  3556.             
  3557.             /NOMEM    
  3558.               Don't check memory for viruses.
  3559.             
  3560.            Using VirusScan (Version 2.1.1)                           64            
  3561.  
  3562.             /NOREMOVE 
  3563.               Prevent VShield from being removed from memory with 
  3564.               the /REMOVE switch.
  3565.             
  3566.             /NOUMB    
  3567.               Prevent VShield from loading into upper memory blocks 
  3568.               (UMB).
  3569.             
  3570.             /NOWARMBOOT    
  3571.               Don't check the diskette boot sector for viruses 
  3572.               during warm boot ([Ctrl]+[Alt]+[Del]).
  3573.             
  3574.             /NOXMS    
  3575.               Prevent VShield from using extended memory (XMS) 
  3576.               when it loads.
  3577.             
  3578.             /ONLY {drive(s)}    
  3579.               Check programs loaded only from the specified drive(s).
  3580.             
  3581.             /POLY     
  3582.               Check for polymorphic viruses.
  3583.  
  3584.             /RECONNECT     
  3585.               Restore VShield after certain drivers or TSRs have 
  3586.               disabled it.
  3587.             
  3588.             /REMOVE   
  3589.               Unload VShield from memory.
  3590.             
  3591.             /SAVE     
  3592.               Save the command line options to the VSHIELD.INI file.
  3593.             
  3594.             /SWAP [pathname]    
  3595.               Load VShield kernel (7Kb) only; swap the rest to pathname.
  3596.             
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.  
  3608.  
  3609.  
  3610.  
  3611.  
  3612.  
  3613.  
  3614.  
  3615.            Using VirusScan (Version 2.1.1)                           65            
  3616.             
  3617.             VSHIELD OPTION DESCRIPTIONS
  3618.             
  3619.             /? or /HELP
  3620.             
  3621.             Use this option to display a brief description
  3622.             of valid VShield command line options.
  3623.             
  3624.  
  3625.             /ANYACCESS
  3626.             
  3627.             Checks the diskette boot sector and all files
  3628.             for viruses whenever a diskette is accessed by a
  3629.             read or write operation, such as a DIR or COPY
  3630.             command, and when a program on the diskette is
  3631.             opened, read, updated, or executed.
  3632.             
  3633.             /ANYACCESS prevents execution if a program file
  3634.             is infected. It also checks any new files
  3635.             created, such as with a copy command, regardless
  3636.             of the file's extension.
  3637.             
  3638.             This is the highest level of protection against
  3639.             viruses that infect boot sectors. Using
  3640.             /ANYACCESS with either /BOOTACCESS or
  3641.             /FILEACCESS in the same command line returns an
  3642.             error message.
  3643.             
  3644.             NOTE: The /ANYACCESS switch is not recommended
  3645.             for use with DOS and WIN-OS/2 sessions under
  3646.             OS/2 due to certain low-level operating system
  3647.             incompatibilities between OS/2 and DOS. Use the
  3648.             /FILEACCESS switch instead.
  3649.             
  3650.             
  3651.             /BOOTACCESS
  3652.             
  3653.             Checks the boot sector of a diskette for viruses
  3654.             whenever a diskette is accessed by a read or
  3655.             write operation, such as the DIR or copy
  3656.             commands. By default, VShield checks programs
  3657.             when they execute, but does not check the boot
  3658.             sector of the diskette for viruses. Using
  3659.             /BOOTACCESS with /ANYACCESS in the same command
  3660.             line returns an error message.
  3661.             
  3662.             NOTE: This option does not work from within
  3663.             Windows File Manager. For virus-checking within
  3664.             Windows, use the /FILEACCESS or /ANYACCESS
  3665.             switch instead.
  3666.             
  3667.  
  3668.  
  3669.  
  3670.            Using VirusScan (Version 2.1.1)                           66            
  3671.  
  3672.             /CERTIFY
  3673.             
  3674.             Prevents programs from running if they do not
  3675.             have Scan validation codes. Use it in high-
  3676.             security environments to prevent clients from
  3677.             running programs that have not been scanned. To
  3678.             use /CERTIFY, first run Scan with the /AF or /AV
  3679.             option, as described in Chapter 3. Then, use
  3680.             VShield with the /CERTIFY option and either the
  3681.             /CF or /CV option (either is required), such as:
  3682.             
  3683.                  vshield /certify /cf c:\mcafee\recvalch.sav
  3684.             
  3685.             Some programs, such as Lotus 1-2-3, contain self-
  3686.             modifying code and do not work correctly with
  3687.             validation codes attached. You may create an
  3688.             exception list of files to exclude from
  3689.             validation. For instructions, refer to
  3690.             "Technical note 1: Creating an exception list
  3691.             for the /EXCLUDE option" later in this chapter.
  3692.             
  3693.             
  3694.             /CF {filename}
  3695.             
  3696.             Checks validation data stored by Scan's /AF
  3697.             {filename} option, where filename is the name of
  3698.             the validation data file created by Scan. If a
  3699.             file or system area has changed, VShield reports
  3700.             that a viral infection may have occurred. You
  3701.             can specify the /EXCLUDE option to exclude a
  3702.             list of files from validation checking.  In this
  3703.             example:
  3704.              
  3705.                  vshield /cf c:\mcafee\valcodes.dat /noems
  3706.             
  3707.             VShield looks in the VALCODES.DAT file for
  3708.             validation data. For instructions on using Scan
  3709.             /AF to add validation codes, see "Scan option
  3710.             descriptions" in Chapter 3, and "Detecting new
  3711.             and unknown viruses" in Chapter 5.
  3712.             
  3713.             
  3714.             
  3715.             
  3716.             
  3717.             
  3718.             
  3719.             
  3720.             
  3721.             
  3722.             
  3723.             
  3724.  
  3725.            Using VirusScan (Version 2.1.1)                           67            
  3726.             
  3727.             /CONTACT {message}
  3728.             
  3729.             Displays a custom message when a virus is found.
  3730.             This message is displayed in addition to all
  3731.             other VShield messages. Use /CONTACT to let
  3732.             network users know what to do if VShield finds a
  3733.             virus. The message can be up to 50 characters
  3734.             long, and can contain any character except a
  3735.             backslash " \ ". Place messages starting with a
  3736.             hyphen " - " or slash " / " in quotation marks.
  3737.             
  3738.             If your message is longer than 50 characters or
  3739.             you want to store the message text in a file,
  3740.             use /CONTACTFILE instead. Using /CONTACT and
  3741.             /CONTACTFILE in the same command line returns an
  3742.             error message.
  3743.            
  3744.             
  3745.             /CONTACTFILE {filename}
  3746.             
  3747.             An alternative to the /CONTACT option,
  3748.             /CONTACTFILE identifies a file that contains the
  3749.             message string to display when a virus is found.
  3750.             This option is especially useful in network
  3751.             environments, because you can easily maintain
  3752.             the message text in a central file rather than
  3753.             changing the command line in the AUTOEXEC.BAT
  3754.             file on each workstation.
  3755.             
  3756.             If your message is 50 characters or fewer, you
  3757.             can use /CONTACT instead. Using /CONTACT and
  3758.             /CONTACTFILE in the same command line returns an
  3759.             error message.
  3760.             
  3761.             
  3762.             /CV
  3763.             
  3764.             Checks validation codes added by Scan with the
  3765.             /AV option. If a file has changed, VShield
  3766.             reports that the file has been modified and a
  3767.             viral infection may have occurred. You can
  3768.             specify the /EXCLUDE option to exclude a list of
  3769.             files from validation checking. For instructions
  3770.             on using Scan to add validation codes, see "Scan
  3771.             option descriptions" in Chapter 3, and
  3772.             "Detecting new and unknown viruses" in Chapter 5.
  3773.              
  3774.             
  3775.             
  3776.             
  3777.             
  3778.             
  3779.             
  3780.            Using VirusScan (Version 2.1.1)                           68
  3781.  
  3782.             /EXCLUDE {filename}
  3783.             
  3784.             Excludes files listed in filename from
  3785.             validation when using /CF or /CV. For more
  3786.             information on this, see "Technical note 1:
  3787.             Creating an exception list for the /EXCLUDE
  3788.             option" later in this chapter.
  3789.             
  3790.             
  3791.             /FILEACCESS
  3792.             
  3793.             Checks standard executable files whenever the
  3794.             file is accessed or executed, and prevents
  3795.             execution of infected programs. Checks all files
  3796.             when accessed by a read or write operation.
  3797.             Using /ANYACCESS in the same command line with
  3798.             /FILEACCESS returns an error message.
  3799.             
  3800.             NOTE: We recommend always using /FILEACCESS with
  3801.             OS/2. 1 For VShieldCRC, /FILEACCESS checks files
  3802.             only if they have been validated with the /AF or
  3803.             /AV options.
  3804.             
  3805.             
  3806.             /IGNORE {drives}
  3807.             
  3808.             Omits checking program loads from the specified
  3809.             drives, as shown in the following example:
  3810.             
  3811.                  vshield /ignore t: y: w:
  3812.             
  3813.             Use /IGNORE or /ONLY to speed up VShield by
  3814.             excluding secure, virus-free network drives from
  3815.             virus checking. You can specify up to 26 drives.
  3816.             See also /ONLY, described later in this section.
  3817.             Using /IGNORE and /ONLY in the same command line
  3818.             returns an error message.
  3819.             
  3820.             
  3821.             /LOCK
  3822.             
  3823.             Halts the system to stop further infection if
  3824.             VShield finds a virus. /LOCK is appropriate in
  3825.             highly vulnerable network environments, such as
  3826.             open-use computer labs. If you use /LOCK, use
  3827.             /CONTACT or /CONTACTFILE to tell users what to
  3828.             do or whom to contact if a virus is found and
  3829.             the system locks up.
  3830.             
  3831.             
  3832.             
  3833.             
  3834.  
  3835.            Using VirusScan (Version 2.1.1)                           69            
  3836.             
  3837.             /NOEMS
  3838.             
  3839.             Prevents VShield from using expanded memory (LIM
  3840.             EMS 3.2) when it loads. This ensures that EMS is
  3841.             available exclusively to other programs.
  3842.             
  3843.             
  3844.             /NOMEM
  3845.             
  3846.             Skips the memory check for viruses when VShield
  3847.             loads. Using /NOMEM improves performance
  3848.             slightly, but use it only if you are absolutely
  3849.             sure that your system is virus-free.
  3850.             
  3851.             
  3852.             /NOREMOVE
  3853.             
  3854.             Prevents VShield from being removed from memory
  3855.             with the /REMOVE option in a subsequent VShield
  3856.             command. When you load VShield with the
  3857.             /NOREMOVE option, subsequent loads with the
  3858.             /REMOVE option will have not effect. Your
  3859.             network will be more secure if users cannot
  3860.             remove VShield, but this option may prevent
  3861.             users from solving memory limitations or
  3862.             conflicts.
  3863.             
  3864.             
  3865.             /NOUMB
  3866.             
  3867.             Prevents VShield from loading into the upper
  3868.             memory block (UMB, 640Kb to 1024Kb). This
  3869.             ensures that the UMB is available exclusively to
  3870.             other programs.
  3871.             
  3872.             
  3873.             /NOWARMBOOT
  3874.             
  3875.             Omits checking the diskette boot sector during a
  3876.             warm boot ([Ctrl]+[Alt]+[Del]).
  3877.             
  3878.             
  3879.             /NOXMS
  3880.             
  3881.             Prevents VShield from using extended memory when
  3882.             it loads. This ensures that XMS is available
  3883.             exclusively to other programs.
  3884.             
  3885.             
  3886.             
  3887.             
  3888.             
  3889.  
  3890.            Using VirusScan (Version 2.1.1)                           70            
  3891.             
  3892.             /ONLY {drive(s)}
  3893.             
  3894.             Checks program loads only from the specified
  3895.             drive(s), ignoring all other drives, as shown in
  3896.             the following example:
  3897.             
  3898.                  vshield /only c: f: k:
  3899.             
  3900.             Use /IGNORE or /ONLY to speed up VShield by
  3901.             excluding secure, virus-free network drives from
  3902.             virus checking. You can specify up to 26 drives.
  3903.             See also /IGNORE, earlier in this chapter. Using
  3904.             /ONLY and /IGNORE in the same command line
  3905.             returns an error message.
  3906.             
  3907.             
  3908.             /POLY
  3909.             
  3910.             Checks for polymorphic viruses, which are
  3911.             viruses that attempt to evade detection by
  3912.             changing their internal structure or encryption
  3913.             techniques. Otherwise, VShield does not check
  3914.             for polymorphic viruses. Using /POLY on the same
  3915.             command line as /FILEACCESS or /SWAP returns an
  3916.             error.
  3917.             
  3918.             
  3919.             /RECONNECT
  3920.             
  3921.             Restores VShield's links into DOS after another
  3922.             program has disabled it, such as a network
  3923.             driver, keyboard driver, custom disk driver,
  3924.             drive compression program, or disk caching
  3925.             program. These types of programs replace the
  3926.             normal DOS system interrupts so that VShield no
  3927.             longer recognizes program loads. After the lines
  3928.             in your AUTOEXEC.BAT file (or network login
  3929.             script) that load these programs, add this
  3930.             command line to restore VShield:
  3931.             
  3932.                  vshield /reconnect
  3933.             
  3934.             
  3935.             /REMOVE
  3936.             
  3937.             Unloads VShield from memory. You may want to do
  3938.             this temporarily if you are running out of
  3939.             memory for programs. For best results, try using
  3940.             VShield with the /SWAP option first. Use /REMOVE
  3941.             only as a last resort.
  3942.             
  3943.             
  3944.  
  3945.            Using VirusScan (Version 2.1.1)                           71            
  3946.             
  3947.             NOTE: /REMOVE will not work if other memory-
  3948.             resident programs were loaded after VShield, or
  3949.             if VShield was loaded previously with the
  3950.             /NOREMOVE option.
  3951.             
  3952.             
  3953.             /SAVE
  3954.             
  3955.             Stores the VShield options you specify as the
  3956.             defaults in VSHIELD.INI. In the following
  3957.             example, /SAVE saves the /CONTACTFILE N:\MSGFILE
  3958.             as the default setting:
  3959.             
  3960.                  vshield /contactfile n:\msgfile /save
  3961.             
  3962.             To remove custom options and return to VShield's
  3963.             original defaults, use the /SAVE option alone:
  3964.             
  3965.             vshield /save
  3966.             
  3967.             
  3968.             /SWAP [pathname]
  3969.             
  3970.             Installs a small (7Kb) kernel of VShield in
  3971.             memory that loads the rest of VShield from disk
  3972.             on demand. Specify a pathname only if you want
  3973.             VShield to swap to a path other than the
  3974.             directory where VShield resides.
  3975.             
  3976.             Use /SWAP only if you have very little memory
  3977.             available, but require a high assurance of
  3978.             safety. /SWAP will slow down your system and may
  3979.             cause conflicts with programs that fail to
  3980.             allocate memory properly. If you don't have
  3981.             enough memory to load VShield without swapping,
  3982.             consider using VShieldCRC instead. We do not
  3983.             recommend storing the swap file on a network
  3984.             path because, if the workstation disconnects
  3985.             from the network, the workstation will lock.
  3986.             
  3987.  
  3988.  
  3989.  
  3990.  
  3991.  
  3992.  
  3993.  
  3994.  
  3995.  
  3996.  
  3997.  
  3998.  
  3999.  
  4000.            Using VirusScan (Version 2.1.1)                           72            
  4001.             
  4002.             DECIDING WHICH OPTIONS ARE FOR YOU
  4003.  
  4004.             Because systems and environments differ, VShield gives you a
  4005.             choice of options. Consider the mixture of safety,
  4006.             performance, and maintenance that meets your needs, then
  4007.             choose the combination of options that works best.
  4008.  
  4009.             REQUIREMENT       │ OPTION       │ COMMENTS
  4010.             ══════════════════╪══════════════╪══════════════════════════════
  4011.             More complete     │ /ANYACCESS   │ Highest protection against
  4012.             protection, any   │              │ infected diskettes; checks
  4013.             environment       │              │ for viruses whenever a dis-
  4014.                               │              │ kette or files are accessed.
  4015.                               ├──────────────┼──────────────────────────────
  4016.                               │ /FILEACCESS  │ Next highest protection
  4017.                               │              │ against infected diskettes;
  4018.                               │              │ checks for viruses whenever
  4019.                               │              │ a standard file is accessed. 
  4020.                               ├──────────────┼──────────────────────────────
  4021.                               │ /BOOTACCESS  │ Of the three, lowest
  4022.                               │              │ protection against infected
  4023.                               │              │ diskettes; checks for
  4024.                               │              │ viruses in boot sector when
  4025.                               │              │ a diskette is accessed.
  4026.                               ├──────────────┼──────────────────────────────
  4027.                               │ /POLY        │ Used to check for
  4028.                               │              │ polymorphic viruses.
  4029.             ──────────────────┼──────────────┼──────────────────────────────
  4030.             More complete     │ /CERTIFY     │ Use with /CF {filename} or
  4031.             protection,       │              │ /CV and an exception list.
  4032.             stable software   ├──────────────┼──────────────────────────────
  4033.             environment       │ /CF          │ Use /CF or /CV. Of the two,
  4034.                               │              │ /CF is recommended.
  4035.                               ├──────────────┼──────────────────────────────
  4036.                               │ /CV          │ Use /CF or /CV.
  4037.             ──────────────────┼──────────────┼──────────────────────────────
  4038.             Network or multi- │ /CONTACT     │ Use this (or /CONTACTFILE)
  4039.             user environments │              │ to tell users what to do
  4040.                               │              │ when a virus is found.
  4041.                               ├──────────────┼──────────────────────────────
  4042.                               │ /CONTACTFILE │ Use this (or /CONTACT) to
  4043.                               │              │ tell users what to do when 
  4044.                               │              │ a virus is found.
  4045.                               ├──────────────┼──────────────────────────────
  4046.                               │ /IGNORE      │ Use this (or /ONLY) to
  4047.                               │              │ skip virus-free drives.
  4048.                               ├──────────────┼──────────────────────────────
  4049.                               │ /LOCK        │ Use with /CONTACT or
  4050.                               │              │ /CONTACTFILE {filename}.
  4051.             ──────────────────┴──────────────┴──────────────────────────────
  4052.  
  4053.  
  4054.  
  4055.            Using VirusScan (Version 2.1.1)                            73
  4056.  
  4057.             ──────────────────┬──────────────┬──────────────────────────────
  4058.             For network       │ /NOREMOVE    │ Prevents VShield from
  4059.             environments      │              │ being removed from memory.   
  4060.             (continued)       ├──────────────┼──────────────────────────────
  4061.                               │ /ONLY        │ Use this (or IGNORE) to check
  4062.                               │              │ only vulnerable drives.
  4063.                               ├──────────────┼──────────────────────────────
  4064.                               │ /RECONNECT   │ Required if network drivers
  4065.                               │              │ are loaded after VShield.
  4066.             ──────────────────┼──────────────┼──────────────────────────────
  4067.             Faster            │ /NOMEM       │ Only use on a virus-free
  4068.             performance       │              │ computer.
  4069.             any environment   ├──────────────┼──────────────────────────────
  4070.                               │ /NOWARMBOOT  │ Omits checking the boot
  4071.                               │              │ sector after a warm boot.
  4072.             ──────────────────┼──────────────┼──────────────────────────────
  4073.             Manage memory,    │ /NOEMS       │ Use when other programs need
  4074.             any environment   │              │ exclusive use of EMS memory.
  4075.                               ├──────────────┼──────────────────────────────
  4076.                               │ /NOUMB       │ Use when other programs need
  4077.                               │              │ exclusive use of UMB memory.
  4078.                               ├──────────────┼──────────────────────────────
  4079.                               │ /NOXMS       │ Use when other programs need
  4080.                               │              │ exclusive use of XMS memory.
  4081.                               ├──────────────┼──────────────────────────────
  4082.                               │ /NOREMOVE    │ Use to ensure that VShield
  4083.                               │              │ remains in memory.
  4084.                               ├──────────────┼──────────────────────────────
  4085.                               │ /REMOVE      │ May temporarily solve memory
  4086.                               │              │ conflicts.
  4087.                               ├──────────────┼──────────────────────────────
  4088.                               │ /SWAP        │ Use in environments with very
  4089.                               │              │ limited memory.
  4090.             ══════════════════╧══════════════╧══════════════════════════════
  4091.             
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.            Using VirusScan (Version 2.1.1)                           74            
  4111.             
  4112.             EXAMPLES
  4113.             
  4114.             The following examples show different option
  4115.             settings:
  4116.             
  4117.                  vshield
  4118.             
  4119.             Activates VShield (Level II protection).
  4120.             
  4121.                  vshield /cv
  4122.             
  4123.             Activates VShield (Level III protection), if you
  4124.             have previously run SCAN /AV.
  4125.             
  4126.                  vshield /certify /cf c:\valcodes.dat
  4127.             
  4128.             Activates VShield (Level IV protection) and
  4129.             checks a recovery and validation data file
  4130.             created when running Scan with the /AF option.
  4131.             
  4132.                  vshield /swap
  4133.             
  4134.             Activates VShield kernel in memory and swaps
  4135.             from the directory in which VShield resides.
  4136.             
  4137.                  vshield /cv /exclude c:\excption.lst /contact
  4138.                  "Call the PC Help Desk!"
  4139.             
  4140.             Activates VShield (Level III protection),
  4141.             ignores checking files in the EXCPTION.LST
  4142.             files, and displays a message if a virus is
  4143.             found.
  4144.             
  4145.                  vshield /reconnect
  4146.             
  4147.             Re-enables VShield after it has been disconnected 
  4148.             by network device drivers.
  4149.             
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.            Using VirusScan (Version 2.1.1)                           75            
  4166.             
  4167.             ERROR LEVELS
  4168.             
  4169.             When VShield loads, it sets the DOS ERRORLEVEL.
  4170.             You can use the returned ERRORLEVEL in
  4171.             AUTOEXEC.BAT or other batch files to take
  4172.             different actions based on whether VShield has
  4173.             loaded in memory. See your DOS manual for more
  4174.             information.
  4175.             
  4176.             VShield returns these ERRORLEVELs:
  4177.             
  4178.             ERRORLEVEL/Description
  4179.             
  4180.             0   VShield successfully loaded in memory with all
  4181.                 options operational.
  4182.             
  4183.             9   VShield not loaded correctly. Abnormal termination 
  4184.                 (program error).
  4185.             
  4186.             VShield alerts you to problems by beeping once
  4187.             for system errors, twice for validation errors
  4188.             (/CF or /CF checking), or three times if a virus
  4189.             is found.
  4190.             
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.            Using VirusScan (Version 2.1.1)                           76
  4221.  
  4222.             USING VSHIELDCRC
  4223.             
  4224.             For Level I protection on systems with limited
  4225.             memory, use VShieldCRC instead of VShield.
  4226.             VShieldCRC is a separate program that consumes
  4227.             little system overhead, but is not recommended
  4228.             for normal use because it provides only minimal
  4229.             protection. VShieldCRC can inform you that you
  4230.             have been infected with a virus, but it does not
  4231.             check for virus signatures nor does it prevent
  4232.             infection.
  4233.             
  4234.             To use VShieldCRC, first use Scan with the /AF
  4235.             or /AV option. VShieldCRC checks the validation
  4236.             codes added by Scan. It also checks the master
  4237.             boot record (MBR) and boot sector validation
  4238.             codes, if present. See Chapter 3 for
  4239.             instructions on using Scan.
  4240.             
  4241.             To load VShieldCRC with options, use the
  4242.             following syntax:
  4243.             
  4244.                  vshldcrc [options]
  4245.             
  4246.             [options] include the options listed in the
  4247.             table "VShieldCRC option summary" later in this
  4248.             chapter. For more information on all options
  4249.             except /LOGFILE, see "VShield option
  4250.             descriptions" earlier in this chapter.
  4251.             
  4252.             EXAMPLES
  4253.             
  4254.                  vshldcrc
  4255.             
  4256.             Activates VShieldCRC (Level I protection).
  4257.             
  4258.                  vshldcrc /cf valcodes.dat
  4259.             
  4260.             Activates VShieldCRC and checks validation data
  4261.             stored in VALCODES.DAT, a file that was created
  4262.             using Scan with the /AF option.
  4263.             
  4264.  
  4265.  
  4266.  
  4267.  
  4268.  
  4269.  
  4270.  
  4271.  
  4272.  
  4273.  
  4274.  
  4275.            Using VirusScan (Version 2.1.1)                           77
  4276.  
  4277.             VSHIELDCRC OPTION SUMMARY
  4278.             
  4279.             /? or /HELP    
  4280.               Display a list of valid VShieldCRC command line options.
  4281.             
  4282.             /CERTIFY  
  4283.               Prevent files without validation codes from running.
  4284.             
  4285.             /CF {filename} 
  4286.               Check for viruses using recovery and validation data 
  4287.               stored by Scan /AF in the specified filename.
  4288.             
  4289.             /CONTACT {message}  
  4290.               Display specified message when a virus is found.
  4291.             
  4292.             /CONTACTFILE {filename}  
  4293.               Display message stored in specified filename when virus found.
  4294.             
  4295.             /CV  
  4296.               Check validation codes added to files by Scan.
  4297.             
  4298.             /EXCLUDE {filename} 
  4299.               Don't check files listed in filename for validation 
  4300.               codes (used with /CF and /CV options).
  4301.             
  4302.             /FILEACCESS    
  4303.               Scan only validated executable files when accessed, but don't 
  4304.               check boot sector. Prevent infected programs from running.
  4305.             
  4306.             /IGNORE {drive(s)}  
  4307.               Don't check programs loaded from specified drive(s).
  4308.             
  4309.             /LOCK     
  4310.               Halt the system when a file that is not certified 
  4311.               attempts to load and execute.
  4312.             
  4313.             /LOGFILE {filename} 
  4314.               Write error information to filename.
  4315.             
  4316.             /NOREMOVE 
  4317.               Prevent VShieldCRC from being removed from memory 
  4318.               with a subsequent VShieldCRC command using /REMOVE.
  4319.             
  4320.             /NOUMB    
  4321.               Prevent VShieldCRC from using upper memory blocks (UMB) 
  4322.               when it loads.
  4323.             
  4324.             /ONLY {drive(s)}    
  4325.               Check programs loaded only from the specified drive(s).
  4326.             
  4327.             /REMOVE   
  4328.               Unload VShieldCRC from memory.
  4329.             
  4330.            Using VirusScan (Version 2.1.1)                           78            
  4331.             
  4332.             USING CHECKVSHIELD
  4333.             
  4334.             CheckVShield allows network administrators to
  4335.             make sure that workstations are running VShield
  4336.             or VShieldCRC before users can log onto a
  4337.             network. See "Technical note 2: Sample NetWare
  4338.             login script and .BAT file" later in this
  4339.             chapter for a sample Novell NetWare login script
  4340.             using CheckVShield.
  4341.             
  4342.             To load CheckVShield with options, use the
  4343.             following syntax:
  4344.             
  4345.                  chkvshld [option(s)]
  4346.             
  4347.             [option(s)] include:
  4348.             
  4349.             /? and /HELP 
  4350.               Display a list of valid CheckVShield command line 
  4351.               options.
  4352.             
  4353.             /DEBUG  
  4354.               Displays the version of VShield or VShieldCRC resident 
  4355.               in memory and the DOS ERRORLEVEL on the screen.
  4356.             
  4357.             /QUIET 
  4358.               Suppresses CheckVShield messages (quiet mode) so 
  4359.               users don't see the messages.
  4360.             
  4361.             /V "xxxxx" 
  4362.               Tells CheckVShield to look for a specific version 
  4363.               (2.00 or higher) of VShield or VShieldCRC in memory. 
  4364.               For example, /v "2.00" for VShield 2.00.
  4365.             
  4366.             EXAMPLE
  4367.             
  4368.                  chkvshld /quiet
  4369.             
  4370.             Checks for VShield or VShieldCRC in memory and
  4371.             suppresses messages.
  4372.             
  4373.  
  4374.  
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.            Using VirusScan (Version 2.1.1)                           79
  4386.             
  4387.             ERROR LEVELS
  4388.             
  4389.             When CheckVShield runs, it sets the DOS
  4390.             ERRORLEVEL. Use the ERRORLEVEL in batch files to
  4391.             take different actions based on the results of
  4392.             CheckVShield's check. The ERRORLEVELs returned
  4393.             by CheckVShield are:
  4394.             
  4395.             ERRORLEVEL/Description
  4396.             
  4397.             0   VShield or VShieldCRC is resident or, if /V is
  4398.                 used, the version specified is resident in memory.
  4399.             
  4400.             1   VShield or VShieldCRC is resident but does not
  4401.                 match the version specified in the /V option.
  4402.             
  4403.             2   VShield or VShieldCRC is not resident in
  4404.                 memory.
  4405.             
  4406.             3   Abnormal termination (program error).
  4407.             
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.             
  4419.             
  4420.             
  4421.             
  4422.             
  4423.             
  4424.             
  4425.             
  4426.             
  4427.             
  4428.             
  4429.             
  4430.             
  4431.             
  4432.             
  4433.             
  4434.             
  4435.             
  4436.             
  4437.             
  4438.             
  4439.             
  4440.            Using VirusScan (Version 2.1.1)                           80
  4441.             
  4442.             TECHNICAL NOTE 1:  
  4443.             CREATING AN EXCEPTION LIST FOR THE /EXCLUDE OPTION
  4444.             
  4445.             VShield /CERTIFY permits a file to load only if:
  4446.             
  4447.             o It has been validated by Scan, or
  4448.  
  4449.             o It appears in the exception list file
  4450.               specified with the /EXCLUDE option, used in
  4451.               conjunction with /CF or /CV.
  4452.  
  4453.             If you do not validate any files and do not use
  4454.             an exception list, /CERTIFY will disable all
  4455.             programs other than DOS internal commands.
  4456.             
  4457.             The exception list file is an ASCII or DOS text
  4458.             file containing up to 1,024 characters. If you
  4459.             use a word processor to create it, be sure to
  4460.             save the file as ASCII or DOS Text. Each line in
  4461.             the file contains the path and filename of one
  4462.             file that should not be validated. Here is an
  4463.             example:
  4464.             
  4465.                  c:\clipper\bin\clipper.exe
  4466.                  c:\123\123.com
  4467.                  c:\fox\foxprolx.exe
  4468.                  c:\dos\setver.exe
  4469.                  c:\pkware\pklite.exe
  4470.                  c:\pkware\pkzip.exe
  4471.                  c:\pkware\pkunzip.exe
  4472.                  c:\semware\q.exe
  4473.                  c:\swapvol.com
  4474.                  c:\norton\ncache.exe
  4475.                  c:\wordstar\ws.exe
  4476.             
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.            Using VirusScan (Version 2.1.1)                           81
  4496.  
  4497.             TECHNICAL NOTE 2  
  4498.             SAMPLE NETWARE LOGIN SCRIPT AND .BAT FILE
  4499.             
  4500.             Here is a sample system login script for use by
  4501.             Novell NetWare system administrators. The login
  4502.             script gets the ERRORLEVEL from CheckVShield and
  4503.             displays messages on the user's screen. If
  4504.             VShield is not loaded correctly, there is an
  4505.             internal error with CheckVShield, either VShield
  4506.             or VShieldCRC is not installed, or an older
  4507.             version of VShield is present, the script exits
  4508.             the user to a NOLOGIN.BAT file that logs him or
  4509.             her out.
  4510.             
  4511.             #REM REPLACE "XXX" WITH CURRENT VERSION NUMBER
  4512.             CHKVSHLD /V "VXXX"
  4513.               IF ERROR_LEVEL = "3" THEN
  4514.                FIRE PHASERS 5 TIMES
  4515.                WRITE "A CHKVSHLD internal error has occurred."
  4516.                WRITE "Please contact the Help Desk."
  4517.                #COMMAND /C NOLOGIN.BAT
  4518.               EXIT
  4519.              ELSE
  4520.               IF ERROR_LEVEL = "2" THEN
  4521.                FIRE PHASERS 5 TIMES
  4522.                WRITE "VShield has not been installed on your PC."
  4523.                WRITE "Access Denied. Please contact the Help Desk."
  4524.                #COMMAND /C NOLOGIN.BAT
  4525.               EXIT
  4526.              ELSE
  4527.               IF ERROR_LEVEL = "1" THEN
  4528.                FIRE PHASERS 5 TIMES
  4529.                WRITE "An old version of VShield has been installed."
  4530.                WRITE "Access to the network has been denied. Please"
  4531.                WRITE "contact the Help Desk to have a new version"
  4532.                WRITE "installed."
  4533.                #COMMAND /C NOLOGIN.BAT
  4534.                EXIT
  4535.               END
  4536.              END
  4537.             END
  4538.             
  4539.             You can create more complex login scripts to
  4540.             send a message to the supervisor if an error has
  4541.             occurred, update the user's VSHIELD.EXE as he or
  4542.             she logs in to the network, and so forth.
  4543.             
  4544.             Here is a sample of the NOLOGIN.BAT file called
  4545.             by the login script.
  4546.             
  4547.             ECHO OFF
  4548.             REM Log the user off of the network
  4549.             LOGOUT
  4550.            Using VirusScan (Version 2.1.1)                           82            
  4551.             
  4552.             CHAPTER 5: TIPS & TROUBLESHOOTING
  4553.             
  4554.             The other chapters in this manual are meant to
  4555.             tell you clearly and concisely how to use the
  4556.             VirusScan software. Still, you may have
  4557.             questions or encounter confusing situations.
  4558.             This chapter contains two kinds of advice:
  4559.             
  4560.             o Tips for getting the most out of VirusScan.
  4561.  
  4562.             o Common problems and how to solve or avoid
  4563.               them.
  4564.  
  4565.             If this information doesn't help resolve your
  4566.             question or problem, contact McAfee (see
  4567.             "Technical support" in Chapter 1).
  4568.             
  4569.             TIPS
  4570.             
  4571.             DETECTING NEW AND UNKNOWN VIRUSES
  4572.             
  4573.             There are two ways of dealing with new and
  4574.             unknown viruses that may infect your system:
  4575.             
  4576.             o Update VirusScan regularly.
  4577.  
  4578.             o Store and check validation and recovery
  4579.               information about your files.
  4580.  
  4581.             UPDATE VIRUSSCAN REGULARLY
  4582.             
  4583.             Most likely, McAfee will see new viruses long
  4584.             before you do. We update the VirusScan programs
  4585.             often--usually monthly, but more often if many
  4586.             new viruses have appeared. Each new version may
  4587.             detect and eradicate as many as 60 to 100 new
  4588.             viruses or more, and may fix bugs that have been
  4589.             reported.
  4590.             
  4591.             Updating VirusScan regularly is probably all you
  4592.             need to do to protect against new viruses. See
  4593.             the instructions for obtaining new versions in
  4594.             "Updating VirusScan regularly" in Chapter 2.
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.            Using VirusScan (Version 2.1.1)                           83            
  4606.             
  4607.             USE THE VALIDATION AND RECOVERY OPTIONS
  4608.             
  4609.             If your environment is highly vulnerable to
  4610.             viruses, or you require unusual security against
  4611.             them, you can use VirusScan's validation and
  4612.             recovery options. Scan checks for new or unknown
  4613.             viruses by comparing files against previously
  4614.             recorded validation data. If a file has been
  4615.             modified, it no longer matches the validation
  4616.             data, and Scan reports that the file may have
  4617.             become infected. Scan has two levels of
  4618.             validation, which are stored in two separate
  4619.             ways:
  4620.             
  4621.             o It can store the enhanced code in a separate
  4622.               recovery file, which can be stored off-line
  4623.               (for example, on a diskette) for recovery
  4624.               purposes (/AF, /CF, and /RF switches). This
  4625.               is the preferred method because it stores the
  4626.               data for files, the boot sector, and the
  4627.               master boot record (MBR) of a disk in the
  4628.               recovery file.
  4629.  
  4630.             o It can append a simple 98-byte validation code
  4631.               to .COM and .EXE files (/AV, /CV, and /RV
  4632.               switches). This method applies to the files
  4633.               you specified only. It does not store data
  4634.               for the boot sector and master boot record (MBR).
  4635.  
  4636.             Once the validation codes are stored, both Scan
  4637.             and VShield can use the /CV and /CF options to
  4638.             detect changes to the files. More importantly,
  4639.             if you have stored the recovery information with
  4640.             /AF, Scan can use it to restore infected files,
  4641.             master boot records (MBR), and boot sectors.
  4642.             
  4643.             All of these options require continuing effort
  4644.             to store and maintain the codes. For example, if
  4645.             you install new programs or upgrade old ones,
  4646.             you should use the /RV or /RF options to remove
  4647.             all codes, then /AV or /AF to restore them.
  4648.             
  4649.             If you want to use one of these methods, which
  4650.             should you use? We recommend the "F"
  4651.             options--/AF, /CF, and /RF--over the "V" options.
  4652.             /AF stores the validation and recovery
  4653.             information in a separate file, instead of
  4654.             modifying the program files themselves. This has
  4655.             three advantages:
  4656.             
  4657.             
  4658.             
  4659.             
  4660.            Using VirusScan (Version 2.1.1)                           84
  4661.             
  4662.             o You can store the recovery file off-line (on
  4663.               your clean anti-viral startup diskette, for
  4664.               example, or on a network drive or tape drive)
  4665.               and access it on demand to check for, and
  4666.               recover from, infection by unknown viruses.
  4667.               Use the procedure below to create a recovery
  4668.               diskette.
  4669.  
  4670.             o This method keeps self-checking files (usually
  4671.               copy-protected programs) from reporting that
  4672.               they have been tampered with.
  4673.  
  4674.             o If you use this method, you don't need an
  4675.               exception list. However, it's important that
  4676.               you run Scan with the /RF option on
  4677.               individual self-modifying files, such as
  4678.               Lotus 1-2-3, to remove the validation codes
  4679.               for those programs from the validation file.
  4680.  
  4681.             The "V" options are primarily useful for
  4682.             companies that distribute software to their
  4683.             customers or employees, and want to incorporate
  4684.             an additional level of virus protection.
  4685.             
  4686.             Creating a recovery diskette To store the
  4687.             recovery file on the clean startup diskette you
  4688.             created in "Making a clean start-up diskette" in
  4689.             Chapter 2, temporarily remove write-protection
  4690.             from the diskette and insert it in drive A. Run
  4691.             Scan on your hard disks with the /AF option. For
  4692.             example:
  4693.             
  4694.                  scan /adl /af a:\scancrc.crc
  4695.             
  4696.             scans the local hard disk drives for known
  4697.             viruses and creates SCANCRC.CRC, a file
  4698.             containing recovery data and validation codes,
  4699.             on the diskette. After Scan finishes, write-
  4700.             protect the diskette.
  4701.             
  4702.             To check for virus infection, turn your computer
  4703.             off, insert the recovery diskette in drive A,
  4704.             and turn the power back on. The PC will now
  4705.             start from the diskette. At the DOS prompt,
  4706.             type:
  4707.             
  4708.                  scan /adl /cf a:\scancrc.crc
  4709.             
  4710.             to compare the local hard disk drives against
  4711.             the recovery data stored on the diskette in the
  4712.             SCANCRC.CRC file.
  4713.             
  4714.             
  4715.            Using VirusScan (Version 2.1.1)                           85            
  4716.             
  4717.             If you detect an unknown virus, to disinfect
  4718.             your system, turn your PC off, insert the
  4719.             recovery diskette, and turn the power back on.
  4720.             The PC will start from the floppy disk. At the
  4721.             DOS prompt, type:
  4722.             
  4723.                  scan /adl /cf a:\scancrc.crc /clean
  4724.             
  4725.             to restore local hard disk drives with the
  4726.             recovery data stored in SCANCRC.CRC on the
  4727.             diskette.
  4728.             
  4729.             If you install new software, or upgrade your DOS
  4730.             version, remember to update your recovery file.
  4731.             See "Application note 1: Updating validation
  4732.             codes" in Chapter 3.
  4733.             
  4734.  
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765.  
  4766.  
  4767.  
  4768.  
  4769.  
  4770.            Using VirusScan (Version 2.1.1)                           86
  4771.             
  4772.             INTERACTING WITH YOUR NETWORK
  4773.             
  4774.             Many personal computers are interconnected
  4775.             through a local area network (LAN). VirusScan is
  4776.             highly compatible with most networks. Here are
  4777.             some ways of using the VirusScan software with
  4778.             your network:
  4779.             
  4780.             o Run Scan on network drives Run from a
  4781.               workstation (PC) on the network, Scan checks
  4782.               network drives for viruses just as it does local
  4783.               drives. For convenience, the /ADN option scans
  4784.               all network drives to which the workstation is
  4785.               connected.
  4786.             
  4787.             o Use VShield and CheckVShield By activating
  4788.               VShield as part of every workstation's
  4789.               AUTOEXEC.BAT file, you can prevent the
  4790.               workstations from introducing viruses into the
  4791.               network. Network administrators can ensure that
  4792.               VShield is active on each workstation by running
  4793.               CheckVShield as part of the network login script, 
  4794.               before actual login.
  4795.             
  4796.             o Use NetShield provides continuous virus
  4797.               protection on a NetWare server. NetWare network
  4798.               administrators can use it to check for both
  4799.               known and unknown viruses and to monitor all
  4800.               network activities. On other kinds of networks,
  4801.               you can use Scan to check network servers.
  4802.             
  4803.             o Develop a network security program, as described
  4804.               in the next tip.
  4805.             
  4806.  
  4807.  
  4808.  
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825.            Using VirusScan (Version 2.1.1)                           87            
  4826.             
  4827.             DEVELOP A SECURITY PROGRAM
  4828.            
  4829.             VirusScan has been shown to be an effective
  4830.             virus-preventive measure when used in a
  4831.             conscientiously applied program of network
  4832.             security and regular professional care.
  4833.             
  4834.             VirusScan is one important element of a
  4835.             comprehensive computing security program that
  4836.             includes a variety of safety measures, such as
  4837.             regular backups, meaningful password protection,
  4838.             user training, and awareness. Even with
  4839.             VirusScan, some viruses--not to mention theft or
  4840.             fire--can render a disk unrecoverable without a
  4841.             recent backup. Although outlining such a
  4842.             security program is beyond the scope of this
  4843.             manual, see "Other sources of information" in
  4844.             Chapter 1 for suggestions.
  4845.             
  4846.             If you are a network administrator, we urge you
  4847.             to implement a security program to safeguard
  4848.             your organization's data and productivity. If
  4849.             you are a network user, please support and
  4850.             comply with such a program.
  4851.             
  4852.             TROUBLESHOOTING
  4853.             
  4854.             GENERAL ABNORMALITIES
  4855.             
  4856.             Using VirusScan with other anti-virus software
  4857.             
  4858.             When you run more than one anti-virus program,
  4859.             you risk strange results and false alarms. For
  4860.             example, some anti-virus programs store their
  4861.             "virus signature strings" unprotected in memory.
  4862.             Running VirusScan may "detect" them falsely as a
  4863.             virus.
  4864.             
  4865.             TSR CONFLICTS
  4866.             
  4867.             Some "terminate-and-stay-resident" (TSR)
  4868.             software may conflict with VirusScan programs,
  4869.             especially VShield (which is itself a TSR). To
  4870.             check whether this is the problem, "comment out"
  4871.             the other TSR files in your AUTOEXEC.BAT file
  4872.             and restart your system. If the errors
  4873.             disappear, the TSR conflict caused them.
  4874.             
  4875.  
  4876.  
  4877.  
  4878.  
  4879.  
  4880.            Using VirusScan (Version 2.1.1)                           88
  4881.  
  4882.             SLOW DISK ACCESS, PROGRAM LOCKS
  4883.             
  4884.             Running VShield will slow your system slightly
  4885.             as described in Chapter 4, especially if you use
  4886.             either the /ANYACCESS or /SWAP options. If you
  4887.             experience very slow disk access, or if programs
  4888.             lock or freeze while using Windows 3.1, you may
  4889.             be using a disk cache program that interferes
  4890.             with program operation, or you may need to
  4891.             increase the number of BUFFERS in your
  4892.             CONFIG.SYS file.
  4893.             
  4894.  
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902.  
  4903.  
  4904.  
  4905.  
  4906.  
  4907.  
  4908.  
  4909.  
  4910.  
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.            Using VirusScan (Version 2.1.1)                           89            
  4936.             
  4937.             TROUBLESHOOTING SCAN
  4938.             
  4939.             FALSE ALARMS
  4940.             
  4941.             Scan may incorrectly report viruses in the boot
  4942.             sector or master boot record (MBR) of certain
  4943.             copy-protected diskettes. Contact technical
  4944.             support if you're unsure (see "Technical
  4945.             support" in Chapter 1).
  4946.             
  4947.             TROUBLESHOOTING VSHIELD
  4948.             
  4949.             PROGRAM LOCKS WITH /SWAP
  4950.             
  4951.             When VShield is running with the /SWAP option,
  4952.             certain programs may lock up the computer. These
  4953.             programs may use memory without allocating it
  4954.             first, including older versions Lotus 1-2-3,
  4955.             pfs:Write and Professional Write, OfficeWrite,
  4956.             and DisplayWrite4. To correct, restart your
  4957.             computer and run VShield without the /SWAP
  4958.             option.
  4959.             
  4960.             UNABLE TO REMOVE VSHIELD
  4961.             
  4962.             If the /REMOVE option doesn't successfully
  4963.             remove VShield from memory, you have probably
  4964.             loaded other terminate-and-stay-resident (TSR)
  4965.             programs after VShield. VShield can't be removed
  4966.             until the other TSRs are removed. If you need to
  4967.             unload VShield often, load it last.
  4968.             
  4969.  
  4970.  
  4971.  
  4972.  
  4973.  
  4974.  
  4975.  
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.  
  4988.  
  4989.  
  4990.            Using VirusScan (Version 2.1.1)                           90            
  4991.             
  4992.             APPENDIX A:  
  4993.             RETRIEVING MCAFEE PROGRAMS WITH COMMUNICATIONS SOFTWARE
  4994.             
  4995.             You can use your communications software to dial
  4996.             up the McAfee bulletin board system (BBS) and
  4997.             retrieve (download) McAfee software by following
  4998.             these steps.
  4999.             
  5000.             DIAL UP
  5001.             
  5002.             o The McAfee BBS phone number is (408) 988-4004.
  5003.  
  5004.             o The BBS operates at up to 14,400 bps (baud).
  5005.               Set your communications parameters to 8 data
  5006.               bits, 1 stop bit, no parity, and your
  5007.               terminal emulation to ANSI or TTY.
  5008.  
  5009.             o The BBS is Bell- and ITU- (formerly CCITT)
  5010.               compatible.
  5011.  
  5012.             LOG ON
  5013.             
  5014.             After receiving the CONNECT message from your
  5015.             modem, enter your name, geographic location, and
  5016.             password.
  5017.             
  5018.             To retrieve VirusScan programs, type
  5019.             
  5020.             guest   (for first name)
  5021.             user    (for last name)
  5022.             
  5023.             Or, if you want personal answers or feedback,
  5024.             create your own account by entering your first
  5025.             and last name and a password. Passwords should
  5026.             be 3-8 characters long and are case-sensitive.
  5027.             
  5028.             THE MAIN MENU
  5029.             
  5030.             Here are some of the important functions on the
  5031.             main menu:
  5032.             
  5033.             F  File transfer area (download McAfee updates)
  5034.             
  5035.             M  Message area (read and write messages in all
  5036.                sections and e-mail)
  5037.             
  5038.             G  Goodbye (hang up and leave the BBS)
  5039.             
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045.            Using VirusScan (Version 2.1.1)                           91            
  5046.             
  5047.             DOWNLOADING MCAFEE PROGRAMS
  5048.  
  5049.             1. Select F from the Main Menu to go to the File
  5050.                transfer area. This is the area from which
  5051.                you can download McAfee programs.
  5052.  
  5053.             2. Select 1 for the McAfee Antivirus Files. A
  5054.                sorted directory listing of files available
  5055.                for download will be displayed.
  5056.  
  5057.             3. Type D for download, then type in the filename
  5058.                as found in the directory.
  5059.  
  5060.             4. The BBS will prompt you to select a protocol.
  5061.                If possible, use an error-correcting protocol
  5062.                such as ZMODEM, YMODEM or XMODEM.
  5063.  
  5064.             5. You'll see the message Awaiting start signal.
  5065.                Tell your software to receive files. With
  5066.                PROCOMM for DOS or TELIX, press the [Page
  5067.                Down] key, with BITCOM, press the [F2] key.
  5068.                For other communications programs, check your
  5069.                manual.
  5070.  
  5071.             6. Your software will prompt you to select a
  5072.                protocol and file name to receive the file.
  5073.                Select the same protocol and name.
  5074.  
  5075.  
  5076.  
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091.  
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097.  
  5098.  
  5099.  
  5100.            Using VirusScan (Version 2.1.1)                           92            
  5101.             
  5102.             APPENDIX B:
  5103.             OPTIONS COMPARISON BETWEEN VIRUSSCAN VERSIONS 1.5 AND 2.1.1
  5104.             
  5105.             COMPARISON OF SCAN VERSIONS 1.5 and 2.1.1
  5106.  
  5107.                Scan        │ Scan         │
  5108.                Version 1.5 │ Version 2.1.1 │ Option Description
  5109.             ═══════════════╪══════════════╪══════════════════════════             
  5110.               /? /H or     │ /? or /HELP  │ Display help screen.
  5111.               /HELP        │              │
  5112.             ───────────────┼──────────────┼──────────────────────────
  5113.               /A           │ /ALL         │ Scan all files,
  5114.                            │              │ including data files.
  5115.             ───────────────┼──────────────┼──────────────────────────
  5116.               /AD{x}       │ /AD{x}       │ Scan all drives
  5117.                            │              │ {L=Local, N=Network}.
  5118.                            │              │ Leave blank for both
  5119.                            │              │ (version 1.5 only).
  5120.             ───────────────┼──────────────┼──────────────────────────
  5121.               /AF          │ /AF          │ Store
  5122.              {filename}    │ {filename}   │ validation/recovery
  5123.                            │              │ codes in filename.
  5124.             ───────────────┼──────────────┼──────────────────────────
  5125.               /AG          │              │ Add recovery/validation
  5126.               {filename}   │              │ data to files except
  5127.                            │              │ those listed in {filename}.
  5128.             ───────────────┼──────────────┼──────────────────────────
  5129.               /AV          │ /AV          │ Add validation/recovery
  5130.               {filename}   │              │ data to program files.
  5131.                            │              │ Exclude those listed in
  5132.                            │              │ {filename} (version 1.5
  5133.                            │              │ only); exclude those
  5134.                            │              │ listed in /EXCLUDE
  5135.                            │              │ option (version 2.1.1 only).
  5136.             ───────────────┼──────────────┼──────────────────────────
  5137.               /BELL        │ default      │ Beep whenever a virus
  5138.                            │              │ is found.
  5139.             ───────────────┼──────────────┼──────────────────────────
  5140.               /BMP         │ default      │ Scan OS/2 Boot Manager
  5141.                            │              │ partition only.
  5142.             ───────────────┼──────────────┼──────────────────────────             
  5143.                            │ /BOOT        │ Scan master boot record
  5144.                            │              │ and boot sector only.
  5145.             ───────────────┼──────────────┼──────────────────────────
  5146.               /CERTIFY     │              │ List files not having a
  5147.                            │              │ validation code.
  5148.             ───────────────┼──────────────┼──────────────────────────                           
  5149.               /CF          │ /CF          │ Check
  5150.               {filename}   │ {filename}   │ validation/recovery
  5151.                            │              │ codes in filename.
  5152.             ───────────────┼──────────────┼──────────────────────────
  5153.             
  5154.             
  5155.            Using VirusScan (Version 2.1.1)                           93            
  5156.             
  5157.             VERSION COMPARISON OF SCAN OPTIONS (continued)
  5158.  
  5159.                Scan        │ Scan         │
  5160.                Version 1.5 │ Version 2.1.1 │ Option Description
  5161.             ═══════════════╪══════════════╪══════════════════════════             
  5162.               /CG          │              │ Check
  5163.                            │              │ recovery/validation
  5164.                            │              │ data in files.
  5165.             ───────────────┼──────────────┼──────────────────────────
  5166.               /CHKHI       │              │ Check memory from 0Kb
  5167.                            │              │ to 1,088Kb (not
  5168.                            │              │ applicable to OS/2).
  5169.             ───────────────┼──────────────┼──────────────────────────
  5170.               (CLEAN.EXE)  │ /CLEAN       │ Clean up infections in
  5171.                            │              │ master boot records,
  5172.                            │              │ boot sectors, and files
  5173.                            │              │ when possible.
  5174.             ───────────────┼──────────────┼──────────────────────────
  5175.               /CV          │ /CV          │ Check
  5176.                            │              │ validation/recovery
  5177.                            │              │ data in files.
  5178.             ───────────────┼──────────────┼──────────────────────────
  5179.               /D           │ /DEL         │ Overwrite and delete
  5180.                            │              │ infected files.
  5181.                            │              │ Save date and time
  5182.                            │              │ VirusScan was last run
  5183.                            │              │ in SCAN.LOG.
  5184.             ───────────────┼──────────────┼──────────────────────────
  5185.               /DATE        │ /LOG         │ Save date and time
  5186.                            │              │ VirusScan was last run.
  5187.                            │              │ Save in SCAN.LOG file
  5188.                            │              │ (version 2.1.1 only).
  5189.             ───────────────┼──────────────┼──────────────────────────             
  5190.                            │ /EXCLUDE     │ Exclude from scan any
  5191.                            │ {filename}   │ files listed in
  5192.                            │              │ filename. Typically
  5193.                            │              │ used in conjunction
  5194.                            │              │ with the /AV option.
  5195.             ───────────────┼──────────────┼──────────────────────────
  5196.               EXT          │              │ Scan using external
  5197.               {filename}   │              │ virus information from
  5198.                            │              │ filename.
  5199.             ───────────────┼──────────────┼──────────────────────────
  5200.               /FAST        │ /FAST        │ Speed up VirusScan's
  5201.                            │              │ scanning; may detect
  5202.                            │              │ fewer viruses.
  5203.             ───────────────┼──────────────┼──────────────────────────
  5204.               /HISTORY     │ /APPEND      │ Append Scan report to
  5205.               filename     │              │ filename (version 1.5).
  5206.                            │              │ Append to, rather than
  5207.                            │              │ overwrite, the report
  5208.                            │              │ file (/REPORT, version 2.1.1)
  5209.             
  5210.            Using VirusScan (Version 2.1.1)                           94            
  5211.             
  5212.             VERSION COMPARISON OF SCAN OPTIONS (continued)
  5213.  
  5214.                Scan        │ Scan         │
  5215.                Version 1.5 │ Version 2.1.1 │ Option Description
  5216.             ═══════════════╪══════════════╪══════════════════════════             
  5217.               /M           │              │ Scan memory for all
  5218.                            │              │ viruses (not applicable
  5219.                            │              │ to OS/2).
  5220.             ───────────────┼──────────────┼──────────────────────────
  5221.               /MANY        │ /MANY        │ Scan multiple floppy
  5222.                            │              │ disks (diskettes).
  5223.             ───────────────┼──────────────┼──────────────────────────             
  5224.                            │ /MOVE        │ Move infected files to
  5225.                            │ {directory}  │ directory.
  5226.             ───────────────┼──────────────┼──────────────────────────
  5227.               /NLZ         │ /NOCOMP      │ Skip internal scan of
  5228.                            │              │ LZEXE compressed files.
  5229.             ───────────────┼──────────────┼──────────────────────────                           
  5230.               /NOBREAK     │ /NOBREAK     │ Disable Ctrl-C and
  5231.                            │              │ Ctrl-Break during scan.
  5232.             ───────────────┼──────────────┼──────────────────────────
  5233.               /NOEXPIRE    │              │ Do not display
  5234.                            │              │ expiration notice.
  5235.             ───────────────┼──────────────┼──────────────────────────
  5236.               /NOMEM       │ /NOMEM       │ Skip memory checking
  5237.                            │              │ (not applicable to OS/2).
  5238.             ───────────────┼──────────────┼──────────────────────────
  5239.               /NOPAUSE     │ /PAUSE       │ Disable screen pause
  5240.                            │              │ (version 1.5 only).
  5241.                            │              │ Enable screen pause
  5242.                            │              │ (version 2.1.1 only).
  5243.             ───────────────┼──────────────┼──────────────────────────
  5244.               /NPKL        │ /NOCOMP      │ Skip internal scan of
  5245.                            │              │ PKLITE compressed files.
  5246.             ───────────────┼──────────────┼──────────────────────────             
  5247.                            │ /PLAD        │ Preserve Last-Access
  5248.                            │              │ date of scanned files
  5249.                            │              │ on Novell drives.
  5250.             ───────────────┼──────────────┼──────────────────────────
  5251.               /REPORT      │ /REPORT      │ Create report of
  5252.               {filename}   │ {filename}   │ infected files found
  5253.                            │              │ during scan in filename.
  5254.             ───────────────┼──────────────┼──────────────────────────
  5255.               /RF          │ /RF          │ Remove
  5256.               {filename}   │ {filename}   │ validation/recovery
  5257.                            │              │ codes in filename.
  5258.             ───────────────┼──────────────┼──────────────────────────
  5259.               /RG          │ /RG          │ Remove
  5260.                            │              │ recovery/validation
  5261.                            │              │ data from files.
  5262.  
  5263.  
  5264.  
  5265.            Using VirusScan (Version 2.1.1)                            95
  5266.              
  5267.             VERSION COMPARISON OF SCAN OPTIONS (continued)
  5268.  
  5269.                Scan        │ Scan         │
  5270.                Version 1.5 │ Version 2.1.1 │ Option Description
  5271.             ═══════════════╪══════════════╪══════════════════════════             
  5272.                            │ /RPTCOR      │ Add list of corrupted
  5273.                            │              │ files to the report
  5274.                            │              │ file (/REPORT).
  5275.             ───────────────┼──────────────┼──────────────────────────             
  5276.                            │ /RPTERR      │ Add list of system
  5277.                            │              │ errors to the report
  5278.                            │              │ file (/REPORT).
  5279.             ───────────────┼──────────────┼──────────────────────────             
  5280.                            │ /RPTMOD      │ Add list of modified
  5281.                            │              │ files to the report
  5282.                            │              │ file (/REPORT).
  5283.             ───────────────┼──────────────┼──────────────────────────
  5284.               /RV          │ /RV          │ Remove
  5285.                            │              │ validation/recovery
  5286.                            │              │ data from files.
  5287.             ───────────────┼──────────────┼──────────────────────────
  5288.               /SAVE        │ /SAVE        │ Save specified options
  5289.                            │              │ as new defaults (not
  5290.                            │              │ available in Windows).
  5291.             ───────────────┼──────────────┼──────────────────────────
  5292.               /SHOWDATE    │ /SHOWLOG     │ Show date and time of
  5293.                            │              │ last scan (version 1.5
  5294.                            │              │ only). Display
  5295.                            │              │ information in SCAN.LOG
  5296.                            │              │ (version 2.1.1 only)
  5297.             ───────────────┼──────────────┼──────────────────────────
  5298.               /SUB         │ /SUB         │ Scan subdirectories
  5299.                            │              │ inside a directory.
  5300.             ───────────────┼──────────────┼──────────────────────────                           
  5301.                            │ /VIRLIST     │ Display list of viruses
  5302.                            │              │  detected by VirusScan.
  5303.             ───────────────┼──────────────┼──────────────────────────
  5304.                @filename   │  /LOAD       │  Use Scan settings
  5305.                            │  {filename}  │  stored in filename.
  5306.                            │              │
  5307.            
  5308.         
  5309.  
  5310.  
  5311.  
  5312.  
  5313.  
  5314.  
  5315.  
  5316.  
  5317.  
  5318.  
  5319.  
  5320.            Using VirusScan (Version 2.1.1)                           96
  5321.             
  5322.             COMPARISON OF VSHIELD VERSIONS 1.5 and 2.1.1
  5323.  
  5324.                VShield     │ VShield      │
  5325.                Version 1.5 │ Version 2.1.1 │ Option Description
  5326.             ═══════════════╪══════════════╪══════════════════════════             
  5327.                /? or /HELP │ /? or /HELP  │ Display a list of valid
  5328.                            │              │ VShield command line
  5329.                            │              │ options.
  5330.             ───────────────┼──────────────┼──────────────────────────
  5331.                /ACCESS     │              │ Check for viruses when
  5332.                            │              │ files are opened and
  5333.                            │              │ diskettes are accessed.
  5334.             ───────────────┼──────────────┼──────────────────────────             
  5335.                            │ /ANYACCESS   │ Scan the diskette boot
  5336.                            │              │ sector for viruses
  5337.                            │              │ whenever a diskette is
  5338.                            │              │ accessed (including any
  5339.                            │              │ read and write
  5340.                            │              │ operations); scan .EXE,
  5341.                            │              │ .COM, .DLL, .OVL, .BIN,
  5342.                            │              │ and .SYS files whenever
  5343.                            │              │ the file is opened,
  5344.                            │              │ read, or updated; scan
  5345.                            │              │ .EXE and .COM files
  5346.                            │              │ upon execution; scan
  5347.                            │              │ any newly created file,
  5348.                            │              │ regardless of extension.
  5349.             ───────────────┼──────────────┼──────────────────────────
  5350.               /BOOT        │ /BOOTACCESS  │ Scan the diskette boot
  5351.                            │              │ sector for viruses
  5352.                            │              │ whenever a diskette is
  5353.                            │              │ accessed (including any
  5354.                            │              │ read and write
  5355.                            │              │ operations); individual
  5356.                            │              │ files on a diskette are
  5357.                            │              │ not scanned when a
  5358.                            │              │ diskette is accessed.
  5359.             ───────────────┼──────────────┼──────────────────────────
  5360.               /CERTIFY     │ /CERTIFY     │ Prevent files without
  5361.               {filename}   │              │ validation codes from
  5362.                            │              │ running. {filename} is
  5363.                            │              │ an optional exception
  5364.                            │              │ list (version 1.5 only)
  5365.             ───────────────┼──────────────┼──────────────────────────
  5366.               /CF          │ /CF          │ Check for viruses using
  5367.               {filename}   │ {filename}   │ validation and recovery
  5368.                            │              │ data stored by Scan /AF
  5369.                            │              │ in the specified filename.
  5370.             ───────────────┼──────────────┼──────────────────────────
  5371.               /CG          │              │ Check for viruses using
  5372.               {filename}   │              │ validation and recovery
  5373.                            │              │ data stored by Scan /AG
  5374.                            │              │ 
  5375.            Using VirusScan (Version 2.1.1)                           97 
  5376.  
  5377.             VERSION COMPARISON OF VSHIELD OPTIONS (continued)
  5378.  
  5379.                VShield     │ VShield      │
  5380.                Version 1.5 │ Version 2.1.1 │ Option Description
  5381.             ═══════════════╪══════════════╪══════════════════════════             
  5382.               /CHKHI       │ default      │ Check memory from 0Kb-
  5383.                            │              │ 1088Kb when VShield loads.
  5384.             ───────────────┼──────────────┼──────────────────────────
  5385.               /CONTACT     │ /CONTACT     │ Display specified
  5386.               {message}    │ {message}    │ message when a virus is
  5387.                            │              │ found.
  5388.             ───────────────┼──────────────┼──────────────────────────                                         found.
  5389.                            │ /CONTACTFILE │ Display message stored
  5390.                            │ {filename}   │ in filename when a
  5391.                            │              │ virus is found.
  5392.             ───────────────┼──────────────┼──────────────────────────
  5393.               /CV          │ /CV          │ Check validation codes
  5394.                            │              │ added to files by Scan.
  5395.             ───────────────┼──────────────┼──────────────────────────             
  5396.                            │ /EXCLUDE     │ Don't check files
  5397.                            │ {filename}   │ listed in filename for
  5398.                            │              │ validation codes (/CF
  5399.                            │              │ and /CV options).
  5400.             ───────────────┼──────────────┼──────────────────────────
  5401.               /F           │              │ Use with /SWAP for DOS
  5402.              {pathname}    │              │ 2.0 systems ONLY.
  5403.             ───────────────┼──────────────┼──────────────────────────             
  5404.                            │ /FILEACCESS  │ Scan .EXE, .COM, .DLL,
  5405.                            │              │ .OVL, .BIN, and .SYS
  5406.                            │              │ files whenever the file
  5407.                            │              │ is opened, read, or
  5408.                            │              │ updated; scan .EXE and
  5409.                            │              │ .COM files upon
  5410.                            │              │ execution; the diskette
  5411.                            │              │ boot sector is not
  5412.                            │              │ checked when a diskette
  5413.                            │              │ is accessed.
  5414.             ───────────────┼──────────────┼──────────────────────────
  5415.              /IGNORE       │ /IGNORE      │ Don't check programs
  5416.              {drive(s)}    │ {drive(s)}   │ loaded from the
  5417.                            │              │ specified drive(s).
  5418.             ───────────────┼──────────────┼──────────────────────────
  5419.              /LH           │              │ Load VShield into upper
  5420.                            │              │ memory area.
  5421.             ───────────────┼──────────────┼──────────────────────────
  5422.              /LOCK         │ /LOCK        │ Halt the system when a
  5423.                            │              │ file that is infected
  5424.                            │              │ or not certified loads
  5425.                            │              │ and attempts to execute.
  5426.  
  5427.             
  5428.  
  5429.  
  5430.            Using VirusScan (Version 2.1.1)                           98
  5431.             
  5432.             VERSION COMPARISON OF VSHIELD OPTIONS (continued)
  5433.  
  5434.                VShield     │ VShield      │
  5435.                Version 1.5 │ Version 2.1.1 │ Option Description
  5436.             ═══════════════╪══════════════╪══════════════════════════             
  5437.              /M            │              │ Scan base memory for
  5438.                            │              │ viruses when VShield loads.
  5439.             ───────────────┼──────────────┼──────────────────────────
  5440.              /NB           │ /NOWARMBOOT  │ Disable boot sector
  5441.                            │              │ check during install
  5442.                            │              │ and reboot.
  5443.             ───────────────┼──────────────┼──────────────────────────
  5444.              /NI6510       │              │ Fixes Racal Datacomm
  5445.                            │              │ NI6510 conflict.
  5446.             ───────────────┼──────────────┼──────────────────────────
  5447.              /NOBREAK      │              │ Prevent [Ctrl]+[C] /
  5448.                            │              │ [Ctrl]+[Break] from
  5449.                            │              │ working during install.
  5450.             ───────────────┼──────────────┼──────────────────────────
  5451.              /NOCONT       │              │ Prevent non-certified
  5452.                            │              │ programs from running.
  5453.             ───────────────┼──────────────┼──────────────────────────
  5454.              /NODISK       │              │ Turn off the boot
  5455.                            │              │ sector check when
  5456.                            │              │ VShield is loading.
  5457.             ───────────────┼──────────────┼──────────────────────────
  5458.              /NOEMS        │ /NOEMS       │ Prevent VShield from
  5459.                            │              │ using expanded memory
  5460.                            │              │ (EMS) when it loads.
  5461.             ───────────────┼──────────────┼──────────────────────────
  5462.              /NOFLOPPY     │              │ Turn off the boot sector
  5463.                            │              │ check for floppy drives.
  5464.             ───────────────┼──────────────┼──────────────────────────
  5465.              /NOMEM        │ /NOMEM       │ Do not check memory for
  5466.                            │              │ viruses upon running.
  5467.             ───────────────┼──────────────┼──────────────────────────
  5468.              /NOREMOVE     │ /NOREMOVE    │ Prevent VShield from
  5469.                            │              │ being removed from
  5470.                            │              │ memory with the /REMOVE
  5471.                            │              │ switch.
  5472.             ───────────────┼──────────────┼──────────────────────────             
  5473.                            │ /NOUMB       │ Prevent VShield from
  5474.                            │              │ using upper memory
  5475.                            │              │ blocks (UMB) when it
  5476.                            │              │ loads.
  5477.             ───────────────┼──────────────┼──────────────────────────             
  5478.                            │ /NOXMS       │ Prevent VShield from
  5479.                            │              │ using extended memory
  5480.                            │              │ (XMS) when it loads.
  5481.             
  5482.             
  5483.             
  5484.             
  5485.            Using VirusScan (Version 2.1.1)                           99            
  5486.  
  5487.             VERSION COMPARISON OF VSHIELD OPTIONS (continued)
  5488.  
  5489.                VShield     │ VShield      │
  5490.                Version 1.5 │ Version 2.1.1 │ Option Description
  5491.             ═══════════════╪══════════════╪══════════════════════════             
  5492.                /ONLY       │ /ONLY        │ Check programs loaded
  5493.               {drive(s)}   │ {drive(s)}   │ only from the specified
  5494.                            │              │ drive(s).
  5495.             ───────────────┼──────────────┼──────────────────────────              
  5496.                            │ /POLY        │ Check for polymorphic
  5497.                            │              │ viruses.
  5498.             ───────────────┼──────────────┼──────────────────────────              
  5499.               /RECONNECT   │ /RECONNECT   │ Restore VShield after
  5500.                            │              │ certain drivers or TSRs
  5501.                            │              │ have disabled it.
  5502.             ───────────────┼──────────────┼──────────────────────────
  5503.               /REMOVE      │ /REMOVE      │ Unload VShield from
  5504.                            │              │ memory.
  5505.             ───────────────┼──────────────┼──────────────────────────
  5506.               /SAVE        │ /SAVE        │ Save specified options
  5507.                            │              │ as new defaults
  5508.                            │              │ (version 1.5 only).
  5509.                            │              │ Save the command line
  5510.                            │              │ options to the VSHIELD.INI
  5511.                            │              │ file (version 2.1.1 only).
  5512.             ───────────────┼──────────────┼──────────────────────────
  5513.               /SWAP        │ /SWAP        │ Load VShield kernel
  5514.               [pathname]   │ [pathname]   │ only (5Kb in version
  5515.                            │              │ 1.5; 7Kb in version
  5516.                            │              │ 2.1.1); swap the rest
  5517.                            │              │ from pathname.
  5518.                             
  5519.  
  5520.  
  5521.  
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533.  
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.            Using VirusScan (Version 2.1.1)                           100
  5541.              
  5542.             VERSION COMPARISON OF VSHIELD1/VSHIELDCRC OPTIONS
  5543.  
  5544.                VShield1    │ VShieldCRC   │
  5545.                Version 1.5 │ Version 2.1.1 │ Option Description
  5546.             ═══════════════╪══════════════╪══════════════════════════             
  5547.                            │ /? or /HELP  │ Display a list of valid
  5548.                            │              │ VShieldCRC command line
  5549.                            │              │ options.
  5550.             ───────────────┼──────────────┼──────────────────────────             
  5551.                            │ /CERTIFY     │ Prevent files without
  5552.                            │              │ validation codes from
  5553.                            │              │ running.
  5554.             ───────────────┼──────────────┼──────────────────────────             
  5555.                            │ /CF          │ Check for viruses using
  5556.                            │ {filename}   │ validation and recovery
  5557.                            │              │ data stored by Scan /AF
  5558.                            │              │ in the specified filename.
  5559.             ───────────────┼──────────────┼──────────────────────────                           
  5560.                            │ /CONTACT     │ Display specified message
  5561.                            │ {message}    │ when a virus is found.
  5562.             ───────────────┼──────────────┼──────────────────────────            
  5563.                            │ /CONTACTFILE │ Display message stored
  5564.                            │ {filename}   │ in specified filename
  5565.                            │              │ when a virus is found.
  5566.             ───────────────┼──────────────┼──────────────────────────             
  5567.                            │ /CV          │ Check validation codes
  5568.                            │              │ added to files by Scan.
  5569.             ───────────────┼──────────────┼──────────────────────────             
  5570.                            │ /EXCLUDE     │ Don't check files
  5571.                            │ {filename}   │ listed in filename for
  5572.                            │              │ validation codes (used
  5573.                            │              │ with /CF and /CV options).
  5574.             ───────────────┼──────────────┼──────────────────────────             
  5575.                            │ /FILEACCESS  │ Checks validated files
  5576.                            │              │ whenever the file is
  5577.                            │              │ accessed or executed.
  5578.                            │              │ Whenever a validated
  5579.                            │              │ .EXE, .COM, .DLL, .OVL,
  5580.                            │              │ .BIN, or .SYS file is
  5581.                            │              │ opened, read, or
  5582.                            │              │ updated, Scan checks
  5583.                            │              │ the accessed file.
  5584.                            │              │ Whenever a validated
  5585.                            │              │ .EXE or .COM file
  5586.                            │              │ executes, Scan checks
  5587.                            │              │ the file for viruses as
  5588.                            │              │ it loads and prevents
  5589.                            │              │ execution if the file
  5590.                            │              │ is infected.
  5591.  
  5592.  
  5593.  
  5594.  
  5595.            Using VirusScan (Version 2.1.1)                           101
  5596.              
  5597.             VERSION COMPARISON OF VSHIELD1/VSHIELDCRC OPTIONS (continued)
  5598.  
  5599.                VShield1    │ VShieldCRC   │
  5600.                Version 1.5 │ Version 2.1.1 │ Option Description
  5601.             ═══════════════╪══════════════╪══════════════════════════             
  5602.                            │ /IGNORE      │ Don't check programs
  5603.                            │ {drive(s)}   │ loaded from specified
  5604.                            │              │ drive(s).
  5605.             ───────────────┼──────────────┼──────────────────────────             
  5606.                            │ /LOCK        │ Halt the system when a
  5607.                            │              │ file that is not
  5608.                            │              │ certified attempts to
  5609.                            │              │ load and execute.
  5610.             ───────────────┼──────────────┼──────────────────────────                 
  5611.                            │ /LOGFILE     │ Write error information
  5612.                            │ {filename}   │ to filename.
  5613.             ───────────────┼──────────────┼──────────────────────────
  5614.                  /NB       │              │ Disable boot sector
  5615.                            │              │ checking during install
  5616.                            │              │ and reboot.
  5617.             ───────────────┼──────────────┼──────────────────────────                                            and reboot.
  5618.                            │ /NOREMOVE    │ Prevent VShieldCRC from
  5619.                            │              │ being removed from memory 
  5620.                            │              │ with a subsequent VShieldCRC
  5621.                            │              │ command using /REMOVE.
  5622.             ───────────────┼──────────────┼──────────────────────────             
  5623.                            │ /NOUMB       │ Prevent VShieldCRC from
  5624.                            │              │ using upper memory
  5625.                            │              │ blocks (UMB) when it loads.
  5626.             ───────────────┼──────────────┼──────────────────────────             
  5627.                            │ /ONLY        │ Check programs loaded
  5628.                            │ {drive(s)}   │ only from the specified
  5629.                            │              │ drive(s).
  5630.             ───────────────┼──────────────┼──────────────────────────
  5631.                  /REMOVE   │ /REMOVE      │ Unload VShieldCRC from
  5632.                            │              │ memory.
  5633.                                           
  5634.  
  5635.  
  5636.  
  5637.  
  5638.  
  5639.  
  5640.  
  5641.  
  5642.  
  5643.  
  5644.  
  5645.  
  5646.  
  5647.  
  5648.  
  5649.  
  5650.            Using VirusScan (Version 2.1.1)                           102            
  5651.             VIRUSCAN GLOSSARY
  5652.             
  5653.             ARCHIVED FILE  A file that has been archived
  5654.             using either LZEXE or PKLITE, file compression
  5655.             utilities.
  5656.             
  5657.             BOOT  To start a computer. The first step is to
  5658.             load startup instructions from the boot ROM or
  5659.             boot sector of a disk.
  5660.             
  5661.             BIOS  A read-only memory chip that contains the
  5662.             coded instructions for the operating system to
  5663.             start the computer. Always present in portable
  5664.             computers, a BIOS (boot ROM) is not susceptible
  5665.             to infection (unlike the boot sector on a disk).
  5666.             However, it is harder to update.
  5667.             
  5668.             BOOT SECTOR  A portion of a disk that contains
  5669.             the coded instructions for the operating system
  5670.             to start the computer.
  5671.             
  5672.             BOOT SECTOR INFECTIONS  Contamination of the
  5673.             boot sector by a virus. Particularly serious
  5674.             because information in the boot sector is loaded
  5675.             into memory first, before virus protection code
  5676.             can be executed. The only certain way to
  5677.             eliminate boot sector infections is to restart
  5678.             from a disk known to be uninfected, then clean
  5679.             up the infection.
  5680.             
  5681.             CLEAN STARTUP DISKETTE  A diskette known to be
  5682.             uninfected, that contains the coded instructions
  5683.             from which the computer can be started. See
  5684.             Chapter 2 for instructions on preparing one.
  5685.             
  5686.             COLD BOOT  To start a computer from power-off
  5687.             state.
  5688.             
  5689.             COMPRESSED FILE  A file (usually with a .ZIP
  5690.             extension) that has been compressed using the
  5691.             PKZIP file compression utility.
  5692.             
  5693.             CONVENTIONAL MEMORY  Up to 640Kb of main memory
  5694.             in which DOS executes programs.
  5695.             
  5696.             CORRUPTED FILE  A file that has been damaged.
  5697.             About 10% to 20% of viral infections involve
  5698.             viruses that damage files beyond repair.
  5699.             
  5700.             DETECTION  Scanning memory and disks for
  5701.             telltale marks or changes indicating that a
  5702.             virus might be present.
  5703.             
  5704.  
  5705.            Using VirusScan (Version 2.1.1)                           103
  5706.             
  5707.             DISINFECT  To eradicate a virus so that it can
  5708.             no longer spread or cause damage to a system.
  5709.             
  5710.             EXCEPTION LIST  List of files to which
  5711.             validation codes should not be added because
  5712.             they are immunized against viruses or contain
  5713.             self-modifying code. Scans /AV option uses the
  5714.             list to avoid adding codes to inappropriate
  5715.             files; VShield's /CERTIFY option can use it to
  5716.             allow certain unvalidated files to be run.
  5717.             
  5718.             EXECUTABLE (FILE)  A file containing coded
  5719.             instructions to be executed by the computer.
  5720.             Executable files include programs and overlays.
  5721.             
  5722.             EXPANDED MEMORY  Memory above the DOS 640Kb
  5723.             limit of conventional memory that is accessed by
  5724.             memory paging. You need special software,
  5725.             conforming to an expanded memory specification,
  5726.             to take advantage of expanded memory.
  5727.             
  5728.             EXTENDED MEMORY  Linear memory above the DOS
  5729.             640Kb limit of conventional memory. Often used
  5730.             for RAM disks and print spoolers.
  5731.             
  5732.             FALSE ALARM  Detecting a virus when none is
  5733.             present.
  5734.             
  5735.             INFECTED FILE  A file contaminated by a virus.
  5736.             
  5737.             MASTER BOOT RECORD (MBR)  A portion of a hard
  5738.             disk that contains a partition table that
  5739.             divides the drive into chunks, some of which may
  5740.             be assigned to operating systems other than DOS.
  5741.             
  5742.             MEMORY  A storage medium where data or program
  5743.             code are kept temporarily while being used by
  5744.             the computer. DOS supports up to 640Kb of
  5745.             conventional memory. Beyond that limit may be
  5746.             accessed as expanded memory, extended memory, or
  5747.             an upper memory block (UMB).
  5748.             
  5749.             MEMORY INFECTION  Contamination of memory by a
  5750.             virus. The only certain way to eliminate memory
  5751.             infections is to restart from a disk known to be
  5752.             uninfected, then clean up the source of
  5753.             infection.
  5754.             
  5755.             MODIFIED FILE  A file that has changed after
  5756.             validation/recovery codes have been added.
  5757.             
  5758.             
  5759.  
  5760.            Using VirusScan (Version 2.1.1)                           104            
  5761.             
  5762.             OVERLAY INFECTION  Virus contamination of a file
  5763.             containing auxiliary program code that is loaded
  5764.             by the main program.
  5765.             
  5766.             PARTITION TABLE  See MASTER BOOT RECORD.
  5767.             
  5768.             POLYMORPHIC VIRUS  A virus that attempts to
  5769.             evade detection by changing its internal
  5770.             structure or its encryption techniques.
  5771.             
  5772.             PROGRAM  Software that performs a defined
  5773.             function on a computer. See executable.
  5774.             
  5775.             READ OPERATION  Any operation in which
  5776.             information is read from a disk. DOS commands
  5777.             that perform read operations include dir
  5778.             (directory listing), type (display contents of a
  5779.             file), and copy (copy files). See also write
  5780.             operation.
  5781.             
  5782.             RECOVERY CODES  Information that Scan records
  5783.             about an executable file in order to recover if
  5784.             it is infected by a virus. See also validation
  5785.             codes.
  5786.             
  5787.             SELF-MODIFYING PROGRAM  Software that
  5788.             deliberately changes its own program file, often
  5789.             to protect against viruses or illegal copying,
  5790.             and is therefore difficult to validate in
  5791.             conventional ways.
  5792.             
  5793.             STANDARD EXTENSIONS  Filename extensions
  5794.             (suffixes) that signify executable files--.EXE,
  5795.             .COM, .SYS, .DLL, .BIN, and .OVL--which Scan
  5796.             checks by default.
  5797.             
  5798.             SYSTEM ERRORS  Errors that can prevent Scan from
  5799.             completing its job successfully. System error
  5800.             conditions include disk format errors (such as
  5801.             unformatted disks), media errors (bad sectors),
  5802.             file system errors (unreadable files), network
  5803.             errors (unable to log in), file access errors
  5804.             (access permission denied), device access errors
  5805.             (printer out of paper), and report failures.
  5806.             
  5807.             TERMINATE-AND-STAY-RESIDENT (TSR)  A program,
  5808.             like VShield,  that remains active in memory
  5809.             while you run other programs.
  5810.             
  5811.             TURBO  A scanning option that is faster than
  5812.             normal but less comprehensive (because it checks
  5813.             a smaller portion of each file).
  5814.             
  5815.            Using VirusScan (Version 2.1.1)                           105            
  5816.  
  5817.             UNKNOWN VIRUS  A virus not yet identified and
  5818.             listed in SCAN.DAT. VirusScan can detect unknown
  5819.             viruses by observing changes in files that could
  5820.             result from infection.
  5821.             
  5822.             UPPER MEMORY BLOCK (UMB)  Memory in the range
  5823.             640-1024Kb, just above the DOS 640Kb limit of
  5824.             conventional memory.
  5825.             
  5826.             VALIDATE  To check that a file is authentic and
  5827.             has not been altered. Most validation methods
  5828.             rely on computing a statistic based on all the
  5829.             data in the file, which is unlikely to remain
  5830.             constant if the file itself is changed.
  5831.             
  5832.             VALIDATION CODES  Information that Scan records
  5833.             about an executable file in order to detect
  5834.             subsequent infection by a virus. See also
  5835.             recovery codes.
  5836.             
  5837.             VIRUS  A software program that attaches itself
  5838.             to another program in computer memory or on a
  5839.             disk, and spreads from one program to another.
  5840.             Viruses may damage data, cause the computer to
  5841.             crash, display messages, or lie dormant.
  5842.             
  5843.             WARM BOOT  To restart (reset) a running
  5844.             computer, in DOS by pressing [Ctrl]+[Alt]+[Del].
  5845.             
  5846.             WRITE OPERATION  Any operation in which
  5847.             information is recorded on a disk. Commands that
  5848.             perform write operations include those that
  5849.             save, move, and copy files. Most write
  5850.             operations are also read operations because the
  5851.             system verifies that the data have been written
  5852.             correctly. See also read operation.
  5853.             
  5854.             WRITE PROTECTION  A mechanism to protect files
  5855.             or disks from being changed. A 3.5" diskette may be 
  5856.             write-protected by sliding its corner tab so that 
  5857.             the square hole is open; a 5.25" diskette by covering 
  5858.             its corner notch with a write-protect tab. A file 
  5859.             may be write-protected by changing its system attributes.
  5860.             
  5861.             
  5862.             
  5863.