home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / oscan107.zip / OSCN107.DOC < prev    next >
Text File  |  1993-08-26  |  44KB  |  1,150 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                       OS2SCAN FOR OS/2 Version 9.18V107
  19.                 Copyright (C) 1989 - 1993 by McAfee Associates
  20.                              All rights reserved.
  21.  
  22.                        Documentation by Aryeh Goretsky.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.           McAfee Associates                (408) 988-3832 office
  48.           3350 Scott Blvd, Bldg. 14        (408) 970-9727 fax
  49.           Santa Clara, CA  95054           (408) 988-4004 BBS (25 lines)
  50.           U.S.A.                           USR HST/v.32/v.42bis/MNP1-5
  51.                                            CompuServe        GO MCAFEE
  52.                                            InterNet support@mcafee.COM
  53.                                            America OnLine       MCAFEE
  54.  
  55.  
  56.  
  57.  
  58.                               TABLE OF CONTENTS:
  59.  
  60.  
  61.           WHAT'S NEW . . . . . . . . . . . . . . . . . . . . . . . . . .2
  62.             - New features added in this release
  63.             - System Requirements
  64.  
  65.           OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . .3
  66.             - Detection of known viruses
  67.             - Detection of new and unknown viruses
  68.  
  69.           AUTHENTICITY . . . . . . . . . . . . . . . . . . . . . . . . .5
  70.             - How to verify the OS2SCAN.EXE program file
  71.  
  72.           COMMAND SUMMARY. . . . . . . . . . . . . . . . . . . . . . . .6
  73.             - One-line description of switches
  74.  
  75.           OPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . .8
  76.             - Detailed explanation of switches
  77.  
  78.           EXIT CODES . . . . . . . . . . . . . . . . . . . . . . . . . .13
  79.             - ERRORLEVEL's returned by OS2SCAN for REXX scripts
  80.  
  81.           EXAMPLES . . . . . . . . . . . . . . . . . . . . . . . . . . .14
  82.             - Samples of frequently-used options
  83.  
  84.           VIRUS REMOVAL. . . . . . . . . . . . . . . . . . . . . . . . .15
  85.             - How to manually remove a virus
  86.  
  87.           REGISTRATION . . . . . . . . . . . . . . . . . . . . . . . . .16
  88.             - How to register OS2SCAN
  89.  
  90.           TECHNICAL SUPPORT INFORMATION  . . . . . . . . . . . . . . . .17
  91.            - Information you should have ready when calling
  92.  
  93.           OBTAINING THE LATEST VERSION OF OS2SCAN. . . . . . . . . . . .18
  94.            - BBS, CompuServe, and Internet access to OS2SCAN
  95.  
  96.           APPENDIX A . . . . . . . . . . . . . . . . . . . . . . . . . .19
  97.            - Creating a virus string file with the /EXT option
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.                                     Page 1
  109.  
  110. OS2SCAN FOR OS/2 Version 9.18V107                         Page 2
  111.  
  112.  
  113.           WHAT'S NEW (V107 RELEASE)
  114.  
  115.                This is version 9.18V107 of VIRUSCAN (OS2SCAN.EXE).
  116.           This release adds detection of 160 new virus, bringing the
  117.           total number of known viruses to 1,613, or counting variants,
  118.           2,309 viruses.
  119.  
  120.           Like it's DOS-based counterpart, VIRUSCAN (for DOS), OS2SCAN
  121.           searches PC's for computer viruses in memory, the master boot
  122.           record (partition table), boot sector, and files.  However,
  123.           OS2SCAN contains several important differences:
  124.  
  125.           ·     Since OS/2 operates in a protected mode environment it can
  126.                 only check its own area of memory or "memory image" for
  127.                 viruses.  Viruses in a DOS session or VDM will not be
  128.                 detected in memory by OS2SCAN.  To protect against viruses
  129.                 in a DOS session or VDM, use the VSHIELD (for DOS) virus
  130.                 prevention TSR.
  131.  
  132.           ·     OS2SCAN does not have the /CHKHI, /M, /MAINT, /NOMEM,
  133.                 or /UNATTEND switches that VIRUSCAN does.
  134.  
  135.           ·     The /SAVE switch does not modify the OS2SCAN.EXE file.
  136.                 Instead, it creates an OS2SCAN.INI file.
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159. OS2SCAN FOR OS/2 Version 9.18V107                         Page 3
  160.  
  161.  
  162.           SYSTEM REQUIREMENTS
  163.  
  164.                OS2SCAN requires IBM OS/2 Version 2.00(GA) or above.  Use
  165.           the SYSLEVEL command to determine what version of OS/2 you are
  166.           running.
  167.  
  168.                OS2SCAN is designed to check PC's and file servers for
  169.           viruses and is compatible with all network operating systems
  170.           including 3Com, Artisoft LanTastic, AT&T StarLAN, DEC Pathworks
  171.           IBM LAN Server, Microsoft LAN Manager, and Novell NetWare.
  172.           Contact McAfee Associates if you do not see your NOS listed.
  173.           If you have a Novell NetWare/386 server, you may wish to use
  174.           the NETSHIELD NetWare Loadable Module for virus prevention in
  175.           conjunction with OS2SCAN.
  176.  
  177.           NOTE:  WRITE-PROTECT THE FLOPPY DISK CONTAINING THE OS2SCAN FOR
  178.                  OS/2 (OS2SCAN.EXE) PROGRAM BEFORE SCANNING TO PREVENT IT
  179.                  FROM BECOMING INFECTED BY A COMPUTER VIRUS.
  180.  
  181.  
  182.           OVERVIEW (Known Virus Detection)
  183.  
  184.                OS2SCAN FOR OS/2 Version 9.18V107 (filename OS2SCAN.EXE)
  185.           identifies all 1,613 known computer viruses and their variants.
  186.           Some viruses have been modified so that more than one "strain"
  187.           exists.  Counting such modifications, 2,309 viruses exist.
  188.  
  189.                All known viruses infect one or more of the following
  190.           areas: the hard disk partition table (alias Master Boot Record);
  191.           the Boot Sector of disks; or one or more executable files on
  192.           the system.  Executable files include operating system files,
  193.           .COM files, .EXE files, overlay files, or any other files
  194.           containing program code.  A virus that infects more than one
  195.           area, such as a boot sector and an executable file is called
  196.           a multipartite virus.
  197.  
  198.                OS2SCAN checks files, subdirectories, diskettes or entire
  199.           systems for pre-existing computer virus infections.  It will
  200.           identify the virus infecting the system and the area where it
  201.           was found, giving the name of the virus as well as the I.D.
  202.           code used with CLEAN-UP to remove it.
  203.  
  204.                Infected files can be removed using the /D switch in OS2SCAN
  205.           to erase the file, or with the CLEAN-UP universal virus removal
  206.           (disinfection) program.  CLEAN-UP is recommended because in most
  207.           cases it will eliminate the virus and fully restore infected
  208.           programs or system areas to normal operation.  CLEAN-UP is
  209.           available in both DOS and OS/2 versions.
  210.  
  211.                The accompanying VIRLIST.TXT file lists describes all
  212.           viruses identified by OS2SCAN and their associated I.D. codes
  213.           for removal by CLEAN-UP.
  214. OS2SCAN FOR OS/2 Version 9.18V107                         Page 4
  215.  
  216.  
  217.           OVERVIEW (Unknown Virus Detection)
  218.  
  219.               OS2SCAN checks for new or unknown viruses by comparing
  220.           files against previously-recorded validation (checksum) data.
  221.           OS2SCAN has two levels of validation which are stored in three
  222.           separate ways:
  223.  
  224.           ·     A simple 10-byte long validation checksum may be appended
  225.                 to .COM and .EXE files.  If a file has been modified, it
  226.                 no longer matches the checksum and OS2SCAN reports the
  227.                 file may be infected.  (/AV, /CV, /RV switches)
  228.  
  229.           ·     An enhanced 52-byte validation and recovery data checksum
  230.                 can also be created.  This can be appended to the end of
  231.                 files like the 10-byte checksum, or stored in a separate
  232.                 log file which can be offline (e.g., on floppies) for
  233.                 recovery purposes.  CLEAN-UP can restore infected files,
  234.                 partition tables, or boot sectors using this information.
  235.                 (/AG, /CG, /RG switches and /AF, /CF, /RF switches)
  236.  
  237.           NOTE:  OS2SCAN does NOT add codes to the partition table, boot
  238.                  sector, or system files.  Instead, a separate hidden file
  239.                  will be created in the root directory named SCANVAL.VAL
  240.                  containing data for these areas.
  241.  
  242.           NOTE:  Files which are self-checking (e.g., Lotus 1-2-3) should
  243.                  not be validated with the /AV (Add Validation) or /AG
  244.                  (Add Generic) switches which modify files.  Instead, use
  245.                  the /AF (Add File) switch.
  246.  
  247.                OS2SCAN also checks for new or unknown viruses by searching
  248.           for Generic or Family virus strings.  These are strings that
  249.           have been found repeatedly in different viruses.  Since virus
  250.           writers may use the older pieces of code for new viruses, this
  251.           allows OS2SCAN to detect viruses which have not been written yet.
  252.  
  253.                OS2SCAN can be updated to search for new viruses by an
  254.           External Virus Data File, which allows the user to input new
  255.           search strings for viruses. (/EXT switch)
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. OS2SCAN FOR OS/2 Version 9.18V107                         Page 5
  270.  
  271.  
  272.           AUTHENTICITY
  273.  
  274.                Before using OS2SCAN for the first time, verify that it has
  275.           not been tampered with or infected by a virus by using the
  276.           enclosed VALIDATE for OS/2 (OS2VAL.EXE) program.  For
  277.           instructions on using OS2VAL, please read the OS2VAL.DOC file.
  278.  
  279.                The validation results for Version 9.18V107 should be:
  280.  
  281.                         FILE NAME: OS2SCAN.EXE
  282.                              SIZE: 234,352
  283.                              DATE: 08-25-1993
  284.               FILE AUTHENTICATION
  285.                    Check Method 1: FD6A
  286.                    Check Method 2: 1839
  287.  
  288.           NOTE:  If you run VALIDATE.COM for DOS against OS2SCAN.EXE, a
  289.                  different Check Method 1 value will be returned.  Do not
  290.                  use VALIDATE.COM to validate OS2SCAN.EXE
  291.  
  292.           If your copy of OS2SCAN differs, it may have been damaged.
  293.           Always obtain your copy of OS2SCAN from a known source.  The
  294.           latest version of OS2SCAN and validation data for OS2SCAN.EXE
  295.           can be obtained from McAfee Associates' bulletin board system
  296.           at (408) 988-4004 or from the McAfee Virus Help Forum on
  297.           CompuServe (GO MCAFEE), or the mcafee.COM anonymous ftp site
  298.           on the Internet.
  299.  
  300.                OS2SCAN performs a self-check when run.  If OS2SCAN has
  301.           been modified in any way, a warning will be displayed and the
  302.           user will be prompted to either continue or quit.  OS2SCAN can
  303.           still check for viruses.  However, if OS2SCAN reports that it
  304.           has been damaged, it is recommended that a new copy be obtained.
  305.  
  306.                All of McAfee Associates' programs are archived with
  307.           Version 1.10 of PKWare's PKZIP Authentic File Verification.
  308.           When unzipped with Version 1.10 of PKWare's PKUNZIP program,
  309.           an "-AV" will be displayed after each file is unzipped and an
  310.           "Authentic Files Verified! # NWN405  Zip Source: McAFEE
  311.           ASSOCIATES" will appear once all files are unzipped.
  312.  
  313.           NOTE:  If you do not receive the Authentic File Verification
  314.                  messages, you may be using a different version of
  315.                  PKUNZIP, such as V1.93α or V2.04.  Use PKUNZIP Version
  316.                  1.10 to unzip files if you wish to have Authenticity
  317.                  Verification displayed as files are unzipped.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324. OS2SCAN FOR OS/2 Version 9.18V107                         Page 6
  325.  
  326.  
  327.           COMMAND SUMMARY
  328.  
  329.           IMPORTANT NOTE:  WRITE PROTECT YOUR FLOPPY DISK BEFORE SCANNING
  330.                            TO PREVENT INFECTION OF THE OS2SCAN PROGRAM.
  331.  
  332.                OS2SCAN checks files and other areas of the system that
  333.           can contain a computer virus.  When a virus is found, OS2SCAN
  334.           identifies the virus and the file or system area where it was
  335.           found.
  336.                OS2SCAN examines files based on their extension.  The default
  337.           extensions supported by OS2SCAN are .APP, .BIN, .COM, .EXE,
  338.           .OV?, .PGM, .PIF, .PRG, .SWP, .SYS, and .XTP.  Additional
  339.           extensions can be added with the /E option, or use the /A to
  340.           check all files.
  341.  
  342.  
  343.           Valid options for OS2SCAN are:
  344.  
  345.                            OS2SCAN {drive(s)} {options}
  346.  
  347.           {drive(s)}       - Indicates a drive or drives to be scanned
  348.  
  349.           Options are:
  350.  
  351.           \                - Scan root directory and boot area only
  352.           /? /H or /HELP   - Displays help screen
  353.           /A               - Scan all files, including data, for viruses
  354.           /AD              - Scan all local drives for viruses
  355.           /AF {filename}   - Store recovery & validation data to {filename}
  356.           /AG {filename}   - Add recovery & validation data to files
  357.                               EXCEPT for those listed in {filename}
  358.           /AV {filename}   - Add validation codes to files EXCEPT for
  359.                               those listed in {filename}
  360.           /BELL            - Beep whenever a virus is found
  361.           /BMP             - Scan OS/2 Boot Manager Partition ONLY
  362.           /CERTIFY         - List files that do not have a validation code
  363.           /CF {filename}   - Check for viruses using recovery & validation
  364.                               data stored in {filename}
  365.           /CG              - Check recovery & validation data on files
  366.           /CV              - Check validation codes on files
  367.           /D               - Overwrite and delete infected files
  368.           /DATE            - Save the date and time OS2SCAN was last run
  369.                               (use /SHOWDATE to display)
  370.           /E .xxx .yyy     - Scan overlay extensions .XXX and .YYY
  371.           /EXT {filename}  - Scan using external virus data from {filename}
  372.           /FAST            - Speed up OS2SCAN's output
  373.                               (see below for specifics)
  374.           /HISTORY {fname} - Create infection log {fname} appending to old log
  375.  
  376.  
  377.  
  378.  
  379. OS2SCAN FOR OS/2 Version 9.18V107                         Page 7
  380.  
  381.  
  382.           /MANY            - Scan multiple disks
  383.           /NLZ             - Skip internal scan of LZEXE-compressed files
  384.                               (DOS executables only)
  385.           /NOBREAK         - Disable Ctrl-C and Ctrl-Brk during scanning
  386.           /NOEXPIRE        - Do not display expiration notice
  387.           /NOPAUSE         - Disable screen pause when scanning
  388.           /NPKL            - Skip internal scan of PKLITE-compressed files
  389.                               (DOS executables only)
  390.           /REPORT {fname}  - Create infection log {fname} deleting the old log
  391.           /RF filename     - Remove recovery & validation data stored
  392.           /RG              - Remove recovery & validation data from files
  393.           /RV              - Remove validation codes from specified files
  394.           /SAVE            - Save specified options as new default options
  395.           /SHOWDATE        - Display the date and time OS2SCAN was last run
  396.                               (use /DATE to save date and time)
  397.           /SUB             - Scan all subdirectories inside a subdirectory
  398.           @{filename}      - Scan using options from {filename}
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.           *Denotes new option added in this release
  430.  
  431.  
  432.  
  433.  
  434. OS2SCAN FOR OS/2 Version 9.18V107                         Page 8
  435.  
  436.  
  437.           OPTIONS
  438.  
  439.                Following is a detailed description of OS2SCAN's options.
  440.           Please note the /AF and /AG switches modify executable files.
  441.           This may cause other anti-viral programs to generate a warning.
  442.  
  443.           /A - This option checks all files on the drive scanned and also
  444.           examines a greater portion of files.  This substantially
  445.           increases the time required to scan disks and also increases
  446.           OS2SCAN's ability to detect viruses in overlay files.  It is
  447.           recommended this switch only be used when installing software
  448.           or if a file-infecting virus has been found.  This option takes
  449.           priority over the /E option.
  450.  
  451.           /AD - This option scans all local hard disk drives for viruses.
  452.           No drives need to be listed when the /AD switch is used.
  453.  
  454.           NOTE:  If network drives exist, OS2SCAN will attempt to access
  455.                  them when run with the /AD switch and fail.
  456.  
  457.           /AF {filename} - This option logs recovery and validation
  458.           data for .COM and .EXE files, boot sector, and partition table
  459.           of a disk to a user-specified file.  The log file size is about
  460.           20Kb per 1,000 files validated.  Recovery from a virus using the
  461.           /AF information requires the CLEAN-UP program.
  462.  
  463.           /AG {filename} - This option allows the user to store recovery
  464.           and validation data for .COM and .EXE files, boot sector, and
  465.           partition table of a disk.  Recovery information adds 52 bytes
  466.           to files.  The recovery information for the partition table,
  467.           boot sector, COMMAND.COM and system files is stored separately
  468.           in a hidden file called SCANVAL.VAL in the root directory of the
  469.           drive being scanned.  {filename} is an optional ASCII text file
  470.           listing files NOT to add recovery and validation data to (see
  471.           NOTE below).  Recovery from a virus using the /AG information
  472.           requires the CLEAN-UP (CLEAN.EXE) program.
  473.  
  474.           /AV {filename} - This option allows the user to store validation
  475.           codes for .COM and .EXE files, boot sector, and partition table
  476.           of a disk.  Validation information adds 10 bytes to files.  The
  477.           validation codes for the partition table, boot sector, system
  478.           files and COMMAND.COM is stored separately in a hidden file
  479.           named SCANVAL.VAL in the root directory of the drive being
  480.           scanned.  {filename} is an optional ASCII text file listing the
  481.           files NOT to add validation codes to (see note below).
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489. OS2SCAN FOR OS/2 Version 9.18V107                         Page 9
  490.  
  491.  
  492.           NOTE:  Files which are immunized against viruses or contain
  493.                  self-modifying code should not have validation codes
  494.                  added to them.  To prevent OS2SCAN from adding validation
  495.                  codes to these files, a validation exception list must be
  496.                  created with the path and filename of each file NOT to be
  497.                  validated listed on each line (only one filename for each
  498.                  line).  To put a comment in, start the line with an "*"
  499.                  character.  This sample file contains a list of programs
  500.                  NOT to validate:
  501.  
  502.           *LIST OF FILES NOT TO USE /AV OR /AG OPTIONS WITH
  503.           *
  504.           *This is Nantucket Corp's database program, Clipper
  505.           D:\CLIPPER\BIN\CLIPPER.EXE
  506.           *This is Lotus Development Corp's spreadsheet program, 1-2-3
  507.           D:\123\123.COM
  508.           *This is MS-DOS 5.00's self-modifying program, SETVER
  509.           D:\DOS\SETVER.EXE
  510.           *PKWare's data compression programs already perform a self-check
  511.           D:\PKWARE\PKLITE.EXE
  512.           D:\PKWARE\PKZIP.EXE
  513.           D:\PKWARE\PKUNZIP.EXE
  514.           *Stac Technologies hard disk swapping program
  515.           D:\SWAPVOL.COM
  516.           *Symantec's Norton Utilities V6.01 disk caching program
  517.           D:\NORTON\NCACHE.EXE
  518.           *WordStar Corp's word processor is self-modifying
  519.           D:\WORDSTAR\WS.EXE
  520.  
  521.                The validation exception list should be an ASCII or DOS
  522.           text file.  If a word processor is used to create the list, be
  523.           sure to save the file as ASCII or DOS Text.
  524.  
  525.           /BELL - This option tells OS2SCAN to beep when a virus is found.
  526.  
  527.           /BMP - This option tells OS2SCAN to check the OS/2 Boot Manager
  528.           partition.  When run with this option, OS2SCAN will check the
  529.           Boot Manager partition and boot sector.
  530.  
  531.           /CERTIFY -  This option will audit a system for files that have
  532.           validation codes added to them with the /AG or /AV switches.
  533.           Files that have no validation code will be reported as being
  534.           uncertified by OS2SCAN.
  535.  
  536.           /CF {filename} - This option checks recovery and validation data
  537.           stored by the /AF option in {filename}.  If a file or system
  538.           area has changed, OS2SCAN reports that a viral infection may
  539.           have occurred.  Using the /CG option adds about 25% more time to
  540.           scanning.
  541.  
  542.  
  543.  
  544. OS2SCAN FOR OS/2 Version 9.18V107                         Page 10
  545.  
  546.  
  547.           /CG - This options checks recovery and validation data added by
  548.           the /AG option.  If a file or system area has changed, OS2SCAN
  549.           reports that a viral infection may have occurred.  Using the /CG
  550.           option adds about 25% more time to scanning.  This option takes
  551.           priority over the /CV option.
  552.  
  553.           /CV - This option checks validation codes inserted by the /AV
  554.           option.  If a file or system area has been changed, OS2SCAN will
  555.           report that the file or system area has been modified and a
  556.           viral infection may have occurred.  Using the /CV option adds
  557.           about 20% more time to scanning.
  558.  
  559.           NOTE:  Dual Boot systems change the Boot Sector between DOS and
  560.                  OS/2 depending on which operating system is currently
  561.                  active.  This will cause OS2SCAN to report that the boot
  562.                  sector has been modified.
  563.  
  564.           /D - This option tells OS2SCAN to prompt the user to overwrite
  565.           and delete an infected files.  Files erased by the /D option
  566.           can not be recovered.  If the CLEAN-UP program is available,
  567.           it can be used to disinfect the file.  Partition table and boot
  568.           sector viruses can not be removed by the /D option and require
  569.           the CLEAN-UP virus removal program.
  570.  
  571.           /DATE - This option stores the time and date OS2SCAN was last
  572.           executed.  This is done by changing the date on the SCANVAL.VAL
  573.           file.  If no SCANVAL.VAL file exists, OS2SCAN will create a 0-byte
  574.           long file in the currently-logged directory.
  575.  
  576.           /E .xxx .yyy - This option allows an additional extension or set
  577.           extensions to be scanned.  Extensions should include a period "."
  578.           character and be separated by a space after the /E.  Up to three
  579.           extensions may be added with the /E.  For more extensions, use
  580.           the /A option instead.
  581.  
  582.           /EXT {filename} - This option tells OS2SCAN to search for viruses
  583.           using virus search strings from ASCII text file {filename}, in
  584.           addition to the viruses that OS2SCAN looks for.  For instructions
  585.           creating an external virus data file, refer to Appendix A.
  586.  
  587.           NOTE:  The /EXT option provides users with the ability to add
  588.                  strings for detection of viruses on an interim or
  589.                  emergency basis.  When used with the /D option, it will
  590.                  overwrite-and-delete infected files.  This option is not
  591.                  for general use and should be used with caution.
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599. OS2SCAN FOR OS/2 Version 9.18V107                         Page 11
  600.  
  601.  
  602.           /FAST - This option speeds OS2SCAN up by displaying less on the
  603.           the screen, skipping checking inside of LZEXE- and PKLITE-
  604.           compressed files (DOS only), and examining a smaller portion of
  605.           files during scanning.  This may reduce the accuracy of OS2SCAN.
  606.  
  607.           /HISTORY {filename} - This option saves the output of OS2SCAN
  608.           to {filename} in ASCII text file format.  If {filename} exists,
  609.           OS2SCAN will add the results of the current scan to the end.
  610.  
  611.           /MANY - This option is used to scan multiple diskettes placed
  612.           in a given drive.  If the user has more than one floppy disk to
  613.           check for viruses, the /MANY option will allows the user to
  614.           check disks without having to re-run OS2SCAN multiple times. 
  615.  
  616.           /NLZ - This option tells OS2SCAN not to look inside files
  617.           compressed with LZEXE, a file compression program for DOS
  618.           .EXE files.  OS2SCAN will still check LZEXE-compressed files for
  619.           viruses that may have become infected after LZEXE compression.
  620.  
  621.           /NOBREAK - This option prevents Ctrl-C or Ctrl-Brk from aborting
  622.           the scanning process.
  623.  
  624.           /NOEXPIRE - This option prevents OS2SCAN from displaying a
  625.           warning message after 7 months warning that it may no longer be
  626.           current with respect to known computer viruses.
  627.  
  628.           /NOPAUSE - This option disables the "More? (H = Help )" prompt
  629.           displayed when OS2SCAN fills up a screen with 24 lines of text.
  630.           This allows OS2SCAN to run on PC's with severe infections without
  631.           requiring operator assistance.
  632.  
  633.           /NPKL - This option tells OS2SCAN not to look inside files
  634.           compressed with PKLITE, a file compression program for DOS .EXE
  635.           files.  OS2SCAN will still check PKLITE-compressed files for
  636.           viruses that may have become infected after PKLITE compression.
  637.  
  638.           /REPORT {filename} - This option saves the output of OS2SCAN
  639.           to {filename} in ASCII text file format.  If {filename} exists,
  640.           OS2SCAN will erase it and replace with the current scan results.
  641.  
  642.           /RF {filename} - This option removes recovery and validation
  643.           data from log file {filename} created by the /AF option.
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654. OS2SCAN FOR OS/2 Version 9.18V107                         Page 12
  655.  
  656.  
  657.           /RG - This option removes validation and recovery data from a
  658.           file or files validated with the /AG option.  Using the /RG
  659.           switch against a drive removes the SCANVAL.VAL file.  This
  660.           option can not be used with the /AG option.
  661.  
  662.           /RV - This option removes validation codes from a file or files
  663.           validated with the /AV option.  Using the /RV switch against a
  664.           drive removes the SCANVAL.VAL file.  This option can not
  665.           be used with the /AV option.
  666.  
  667.           /SAVE - This option stores any listed options for subsequent
  668.           executions of OS2SCAN.  The options are stored by creating a
  669.           file named OS2SCAN.INI in the same directory as OS2SCAN.EXE.  For
  670.           example, the command:
  671.  
  672.                OS2SCAN /NOMEM /REPORT C:\OS2SCAN.LOG /NOPAUSE /SAVE
  673.  
  674.           saves the default options to /NOMEM, /REPORT C:\OS2SCAN.LOG and
  675.           /NOPAUSE and will cause OS2SCAN to use these options the next
  676.           time it is run.  If OS2SCAN is run with only the /SAVE switch,
  677.           the OS2SCAN.INI file is removed.  If you wish to use more than one
  678.           set of switches with OS2SCAN, use the @{filename} option
  679.           instead.
  680.  
  681.           /SHOWDATE - This option displays the time and date OS2SCAN was
  682.           last run.  No virus checking is performed.
  683.  
  684.           NOTE:  When run with /SHOWDATE, OS2SCAN only displays the last run
  685.                  date.  Viruses will *NOT* be checked for.
  686.  
  687.           /SUB - This option scans all subdirectories inside a
  688.           subdirectory.  Previously, OS2SCAN would only recursively check
  689.           subdirectories if a drive was scanned at the root level (e.g.,
  690.           C:).  Do not use the /SUB switch if you are scanning a drive
  691.           from the root level.
  692.  
  693.           @{filename} - This option allows the user to run OS2SCAN with
  694.           a configuration file listing the options and drives OS2SCAN is
  695.           to check.  Options need to be separated by a space, while drives
  696.           (disks, subdirectories, or files) need to be listed on separate
  697.           lines.  A sample file might look like this:
  698.  
  699.           /A /BELL /CV /REPORT C:\OS2SCAN\OS2SCAN.LOG
  700.           C:
  701.  
  702.           The first line contains the OS2SCAN options while other lines
  703.           list the names of disks, subdirectories, or files to scan.  The
  704.           file should be an ASCII text file.  
  705.  
  706.  
  707.  
  708.  
  709. OS2SCAN FOR OS/2 Version 9.18V107                         Page 13
  710.  
  711.  
  712.           EXIT CODES
  713.  
  714.                After OS2SCAN has finished running, it will set the
  715.           ERRORLEVEL.  ERRORLEVEL's are used in REXX scripts to pass on
  716.           the results of a program's actions.  The ERRORLEVEL's returned
  717.           by OS2SCAN are:
  718.  
  719.                ERRORLEVEL │ DESCRIPTION
  720.                ═══════════╪══════════════════════════════════════════════
  721.                    0      │ No viruses found
  722.                    1      │ One or more viruses found
  723.                    2      │ Abnormal termination (program error)
  724.                    3      │ One or more uncertified files found
  725.                    4      │ Ctrl-C or Ctrl-Break aborted scan
  726.  
  727.           If a user stops the scanning process, OS2SCAN will set the
  728.           ERRORLEVEL to 4.  If you wish to prevent users from stopping the
  729.           scanning process, then run OS2SCAN with the /NOBREAK option.
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764. OS2SCAN FOR OS/2 Version 9.18V107                         Page 14
  765.  
  766.  
  767.           EXAMPLES
  768.  
  769.                The following examples show different option settings:
  770.  
  771.                OS2SCAN C:
  772.                    To scan drive C:
  773.  
  774.                OS2SCAN A:R-HOOPER.EXE
  775.                    Scans file "R-HOOPER.EXE" on drive A:
  776.  
  777.                OS2SCAN A: /A /CV
  778.                    Scans all files and checks validation codes for unknown
  779.                    viruses on drive A:.
  780.  
  781.                OS2SCAN B: /D /A
  782.                    Scans all files on drive B: and prompt for erasure of
  783.                    any infected files, if found.
  784.  
  785.                OS2SCAN C: D: E: /AV
  786.                    Scan for viruses, add validation codes to files on
  787.                    drives C:, D:, and E:.
  788.  
  789.                OS2SCAN C: D: /A /FR
  790.                    Scan all files on drives C: and D: for viruses, and
  791.                    display all messages in French.
  792.  
  793.                OS2SCAN C: D: /E .WPM .COD
  794.                    Scans drives C: and D:, including .WPM and .COD files 
  795.  
  796.                OS2SCAN C: /EXT D:\SAMPLE_VIRUSSTRING.TXT /BELL
  797.                    To scan drive C: for known computer viruses and also
  798.                    for viruses added by the user via the external virus
  799.                    data file option, and beep whenever a virus is found.
  800.  
  801.                OS2SCAN C: /NOPAUSE /REPORT G:INFECTION_REPORT.DRIVEC
  802.                    To scan drive C: without stopping, and create a log
  803.                    file INFECTION_REPORT.DRIVEC on drive G:
  804.  
  805.                OS2SCAN E:\DOWNLOADS /SUB
  806.                    To scan all subdirectories under the directory
  807.                    DOWNLOADS on drive E:
  808.  
  809.                OS2SCAN C: D: E: /FAST /CERTIFY
  810.                    To perform a fast scan of drives C:, D:, and E: and
  811.                    check for any files that do not have validation codes.
  812.  
  813.                OS2SCAN @C:\SCANOPTN.LST
  814.                    To run OS2SCAN using configuration file SCANOPTN.LST
  815.                    located in the root directory of drive C:.
  816.  
  817.                OS2SCAN /AD
  818.                     Scan all hard drive partitions for viruses.
  819. OS2SCAN FOR OS/2 Version 9.18V107                         Page 15
  820.  
  821.  
  822.           VIRUS REMOVAL
  823.  
  824.                What do you do if a virus is found?  You can contact McAfee
  825.           Associates for help, their authorized agents, or use the CLEAN-UP
  826.           program.  CLEAN-UP is available for DOS (CLEAN.EXE) and OS/2
  827.           (OS2CLEAN.EXE).
  828.  
  829.                McAfee Associates can be reached by BBS, CompuServe, FAX,
  830.           Internet, or Telephone and there is no charge for support calls
  831.           to McAfee Associates (Authorized agents may charge normal McAfee
  832.           Associates consulting rates.).
  833.  
  834.                The CLEAN-UP universal virus disinfection program can
  835.           disinfect virtually all reported computer viruses.  It is
  836.           updated with each release of the OS2SCAN program to remove new
  837.           viruses.  CLEAN-UP can be downloaded from McAfee Associates'
  838.           BBS, the McAfee Virus Help Forum on CompuServe, and the
  839.           mcafee.COM and WSMR-SIMTEL20.Army.Mil sites on the Internet, or
  840.           from any of the agents' BBSes listed in the enclosed AGENTS.TXT
  841.           text file.
  842.  
  843.                It is strongly recommended that you get experienced help in
  844.           dealing with viruses if you are unfamiliar with anti-virus
  845.           software and methods.  This is especially true for 'critical'
  846.           viruses and partition table/boot sector infecting viruses as
  847.           improper removal of these viruses can result in the loss of
  848.           all data and the use of the infected disk(s).  
  849.  
  850.                Before removing a boot sector or partition table-infecting
  851.           virus, it is recommended that you cold boot the infected PC from
  852.           a clean DOS disk and backup any critical data.
  853.  
  854.                For qualified assistance in removing a virus, contact
  855.           McAfee Associates directly or any of the Authorized Agents in
  856.           your area.  Agents may charge McAfee Associates' normal consult
  857.           rates for their services.
  858.  
  859.                If you wish to remove a file-infecting virus manually, cold
  860.           boot the PC from a clean (virus-free) OS/2 boot diskette and run
  861.           OS2SCAN with the /A and /D switches to erase all infected files.
  862.           Any files removed in this manner can not be recovered.
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874. OS2SCAN FOR OS/2 Version 9.18V107                         Page 16
  875.  
  876.  
  877.           REGISTRATION
  878.  
  879.                A registration fee of US$35.00 is required for the use of
  880.           OS2SCAN by individual home users.  Registration entitles the
  881.           holder to unlimited free upgrades from McAfee Associates' BBS,
  882.           the Internet, and the McAfee Virus Help Forum on CompuServe as
  883.           well as technical support for one year.  When registering, a
  884.           diskette containing the latest version may be requested for an
  885.           additional US$9.00.  Only one diskette mailing will be made.
  886.  
  887.                Registration is for home users only and does not apply to
  888.           businesses, corporations, organizations, government agencies, or
  889.           schools, which must obtain a license for use.  Contact McAfee
  890.           Associates directly or an Authorized Agent for more information.
  891.  
  892.  
  893.           TECH SUPPORT
  894.  
  895.                For fast and accurate help, please have the following
  896.           information ready when you contact McAfee Associates:
  897.  
  898.                -    Program name and version number.
  899.  
  900.                -    Type and brand of computer, hard disk, plus any
  901.                     peripherals.
  902.  
  903.                -    Version of OS/2 (use the SYSLEVEL command to determine)
  904.                     plus any device drivers in use.
  905.  
  906.                -    Printouts of your AUTOEXEC.BAT and CONFIG.SYS files.
  907.  
  908.                -    The exact problem you are having.  Please be as
  909.                     specific as possible.  Having a printout of the
  910.                     screen and/or being at your computer will be helpful.
  911.  
  912.           McAfee Associates can be contacted by BBS, CompuServe, FAX, or
  913.           InterNet 24 hours a day, or by telephone at (408) 988-3832,
  914.           Monday through Friday, 7:00AM to 5:30PM Pacific Time.
  915.  
  916.                If you are overseas, you can contact a McAfee Associates
  917.           Authorized Agent.  Agents are located in over 50 countries
  918.           around the world and provide local sales and support for our
  919.           software.  Please refer to the AGENTS.TXT file for a complete
  920.           list of McAfee Associates Agents.
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929. OS2SCAN FOR OS/2 Version 9.18V107                         Page 17
  930.  
  931.  
  932.           OBTAINING THE LATEST VERSION OF McAFEE ASSOCIATES PROGRAMS
  933.  
  934.                McAfee Associates regularly updates the OS2SCAN series
  935.           of programs every 4 to 6 weeks to add new virus detectors,
  936.           new options, and fix reported bugs.  To distribute these new
  937.           versions, we run a multi-line BBS, CompuServe Forum, and
  938.           Internet node.
  939.  
  940.           BBS ACCESS
  941.  
  942.                Our 25-line BBS is accessible 24 hours a day, 365 days a
  943.           year, except for scheduled downtime and maintenance.  All lines
  944.           run US Robotics Courier HST Dual Standard ASL modems operating
  945.           from 1,200bps to 14,400bps with line settings of 8 data bits, no
  946.           parity, and one stop bit.
  947.  
  948.  
  949.           THE McAFEE VIRUS HELP FORUM ON COMPUSERVE
  950.  
  951.                We are now sponsoring the McAfee Virus Help Forum on
  952.           CompuServe.  To reach the McAfee Virus Help Forum type GO MCAFEE
  953.           at any CompuServe prompt.  A free introductory membership is
  954.           available.  For more information, please read the enclosed
  955.           COMPUSER.NOT file.
  956.  
  957.  
  958.           INTERNET ACCESS TO McAFEE ASSOCIATES SOFTWARE
  959.  
  960.                The latest versions of McAfee Associates' anti-viral
  961.           software is now available by anonymous ftp (file transfer
  962.           protocol) over the Internet from the site mcafee.COM.  If
  963.           your domain resolver does not support names, use the IP#
  964.           192.187.128.1.  Enter "anonymous" for your user I.D. and
  965.           your own email address for the password.  Programs are
  966.           located in the pub/antivirus directory.  If you have any
  967.           questions, please send email to support@mcafee.COM
  968.  
  969.                 McAfee Associates' DOS-based anti-viral software may also
  970.           be found at the Simtel20 archive site WSMR-SIMTEL20.Army.MIL
  971.           in the PD1:<MSDOS.VIRUS> directory and its associated
  972.           mirror sites WUARCHIVE.WUSTL.EDU (US), NIC.SWITCH.CH (Swiss),
  973.           NIC.FUNET.FI (Finland), SRC.DOC.IC.AC (UK), and
  974.           RANA.CC.DEAK.OZ.AU (Australia).
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984. OS2SCAN FOR OS/2 Version 9.18V107                         Page 18
  985.  
  986.  
  987.           APPENDIX A:  Creating a Virus String File with the /EXT Option
  988.  
  989.           NOTE:  The /EXT option is intended for emergency and research
  990.                  use only.  It is a temporary method for identifying new
  991.                  viruses prior to the subsequent release of OS2SCAN.  A
  992.                  thorough understanding of viruses and string-search
  993.                  techniques is advised for using this option.  A string
  994.                  length of 10 to 15 bytes is recommended.
  995.  
  996.                The External Virus Data file should be created with an
  997.           editor or a word processor and saved as an ASCII text file.  Be
  998.           sure each line ends with a Carriage Return/Line Feed pair.
  999.  
  1000.  
  1001.                The virus string file uses the following format:
  1002.  
  1003.           #Comment about Virus_1
  1004.           "aabbccddeeff..." Virus_1_Name
  1005.           #Comment about Virus_2
  1006.           "gghhiijjkkll..." Virus_2_Name
  1007.                .
  1008.                .
  1009.           "uuvvwwxxyyzz..." Virus_n_Name
  1010.  
  1011.  
  1012.           Where aa, bb, cc, etc. are the hexadecimal bytes that you wish
  1013.           to scan for.  Each line in the file represents one virus.  The
  1014.           Virus Name for each virus is mandatory, and may be up to 25
  1015.           characters in length.  The double quotes (") are required at the
  1016.           beginning and end of each hexadecimal string.
  1017.                OS2SCAN will use the string file to search the Master Boot
  1018.           Record (partition table), Boot Sector, System files, all .COM
  1019.           and .EXE files, and overlay files with the extension .APP, .BIN,
  1020.           .COM, .EXE, .OV?, .PGM, .PIF, .PRG, .SWP, .SYS, and .XTP.
  1021.                Virus strings may contain wild cards.  The two wildcard
  1022.           options are:
  1023.  
  1024.           FIXED POSITION WILDCARD
  1025.                The question mark "?" may be used to represent a wildcard
  1026.           in a fixed position within the string.  For example, the string:
  1027.  
  1028.                              "E9 7C 00 10 ? 37 CB"
  1029.  
  1030.           would match "E9 7C 00 10 27 37 CB", "E9 7C 00 10 9C 37 CB", or
  1031.           any other similar string, regardless of the fifth byte.
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039. OS2SCAN FOR OS/2 Version 9.18V107                         Page 19
  1040.  
  1041.  
  1042.           RANGE WILDCARD
  1043.  
  1044.                The asterisk "*", followed by range number in parentheses
  1045.           "(" and ")" is used to represent a variable number of adjoining
  1046.           random bytes.  For example, the string:
  1047.  
  1048.                              "E9 7C *(4) 37 CB"
  1049.  
  1050.           would match "E9 7C 00 37 CB", "E9 7C 00 11 37 CB", and
  1051.           "E9 7C 00 11 22 37 CB".  The string "E9 7C 00 11 22 33 44 37 CB"
  1052.           would not match since the distance between 7C and 37 is greater
  1053.           than four bytes.  You may specify a range of up to 99 bytes.
  1054.           Up to 10 different wildcards of either kind may be used in one
  1055.           virus string.
  1056.  
  1057.  
  1058.           COMMENTS
  1059.                A pound sign "#" at the beginning of a line will denote a
  1060.           comment.  Use this for adding notes to the external virus data
  1061.           file.  For example:
  1062.  
  1063.                              #New .COM virus found in file FRITZ.EXE from
  1064.                              #Schneiderland on 01-22-91
  1065.                              "53 48 45 45 50" Fritz-1 [F-1]
  1066.  
  1067.           gives a description of the virus, name of the infected file,
  1068.           where and when it was found, etc.
  1069.  
  1070.  
  1071.           APPENDIX B:  Miscellaneous Application Notes
  1072.  
  1073.  
  1074.           OS2SCAN VALIDATION CODES
  1075.  
  1076.                If you have installed any new software or programs on your
  1077.           system, and are running OS2SCAN or VSHIELD for DOS with the /CF,
  1078.           /CG, or /CV validation codes options, you will need to reinstall
  1079.           validation codes to the new files with the /AF, /AG, or /AV
  1080.           add validation codes options of OS2SCAN.  In addition, the
  1081.           SCANVAL.VAL hidden file containing validation codes for the
  1082.           partition table, boot sector, COMMAND.COM, and system files may
  1083.           have to be replaced (unhide the file with the ATTRIB command
  1084.           and then delete it).
  1085.                The quickest way to update the validation codes is to
  1086.           remove all validation codes from the hard disk and then add them
  1087.           back by running OS2SCAN with the /RV and then the /AV options.
  1088.  
  1089.           NOTE: This applies to any new version of DOS, as well as any
  1090.                 programs which you install on your system.
  1091.  
  1092.  
  1093.  
  1094. OS2SCAN FOR OS/2 Version 9.18V107                                Page 20
  1095.  
  1096.  
  1097. IMPORTANT NOTICE - PLEASE READ!
  1098.  
  1099.           Due to the nature of anti-virus software, the slight chance
  1100.           exists that a virus may be reported in a file that is not
  1101.           infected by that virus.
  1102.  
  1103.           If you receive a report of a virus infection which you believe
  1104.           may be in error, please contact McAfee Associates by telephone
  1105.           at (408) 988-3832, by fax at (408) 970-9727, or upload the file
  1106.           to our BBS at (408) 988-4004 along with your name, address,
  1107.           daytime telephone number, and electronic mail address, if any.
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.