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