home *** CD-ROM | disk | FTP | other *** search
/ Chip Special: Netware / Chip-Special_1996-08_NetWare_cd2.bin / content / support / lansoft / 1 / asci.exe / CHAP3.ASC < prev    next >
Encoding:
Text File  |  1992-07-28  |  18.2 KB  |  259 lines

  1.  
  2. Configuring and Performing LPScan
  3.                    LPSCAN.EXE is an on-demand scan that detects viruses residing on
  4.                    workstation local drives and deletes or cleans the files that contain
  5.                    viruses.  When LPSCAN.EXE finds a virus, you can delete it and
  6.                    restore the unblemished original or clean it.  A password is required to
  7.                    scan and clean viruses from files on network drives with LPScan.  The
  8.                    default password is LPCLEAN and it is not case sensitive.
  9.  
  10.                    LPSCAN.EXE is a DOS executable file and can only be executed from
  11.                    a DOS workstation.  However, the scan draws upon the LANProtect
  12.                    virus pattern file, located in the LANProtect directory on the file
  13.                    server, to detect viruses.  Therefore, you must be logged in to the
  14.                    server and have LANProtect loaded when you run LPSCAN.EXE.
  15.  
  16.                    LPScan Command Line Options
  17.                    LPSCAN.EXE has several options (listed below) that can be entered
  18.                    from the command line.  LPSCAN.EXE displays most of these options
  19.                    when you run it with the /? option or when an invalid option or
  20.                    parameter is used.
  21.                    Option                 Description
  22.                    Drive:[path[filename]] This parameter is required in order for
  23.                                           LPSCAN.EXE to know where and what to
  24.                                           scan.
  25.                    /A                     Specifies all the files in the current directory
  26.                                           on the specified drive, instead of using *.*.
  27.                    /D                     Deletes the infected file after prompting for
  28.                                           confirmation on each virus found.  The
  29.                                           process overwrites and deletes the file.
  30.                    /L=                    Records all the events with the current scan
  31.                                           to the specified file.  If the file name is not
  32.                                           specified, an auto-incrementing file name
  33.                                           (WS$*.*) is opened and written to the
  34.                                           current directory.
  35.                    /M                     Scans memory only.
  36.                    /NB                    Cancels scanning of the boot and partition
  37.                                           area of the boot disk.
  38.                    /NC                    Cancels the cleaning option prompts (Clean
  39.                                           and Leave Alone) when LPSCAN.EXE is 
  40.                                           run.
  41.                    /NM                    Cancels scanning of the workstations
  42.                                           memory.  You should verify that memory is
  43.                                           clean before using this option.
  44.                    /NS                    Cancels scanning of subdirectories below the
  45.                                           current directories of the specified drive(s).
  46.                    /RP                    Restores the original partition table if
  47.                                           LPScan was not able to clean it correctly.
  48.                    /V                     Scan all local volumes (both floppy and hard
  49.                                           disks).
  50.                    /W                     Requires users without supervisory rights to
  51.                                           enter a password in order to scan network
  52.                                           drives.  The default password is LPCLEAN.
  53.                    To run LPSCAN.EXE immediately when a user logs in:
  54.                    1.  Enter the LPSCAN.EXE scan parameters in the system login script. 
  55.                        For example:
  56.                    IF HOUR < 10 THEN BEGIN
  57.                    # LPSCAN.EXE /V
  58.                    END
  59.                        The first line of the script stops LPSCAN.EXE from scanning after
  60.                        10 A.M..  Users logging in or relogging in after 10 A.M. will not
  61.                        have their local disks scanned with LPSCAN.EXE.
  62.              Note: Pressing <Esc> during the scan will abort the scan.
  63.                    To scan and clean files with LPSCAN.EXE:
  64.                    1.  Login to the network at the workstation whose local drives you want
  65.                        to scan.
  66.              Note: If you think you have a boot sector virus, the recommended approach
  67.                    is to back up the partition table before scanning the hard disk.
  68.                    2.  Go to the directory where LANProtect is installed or map a drive to
  69.                        the directory where LANProtect is installed.
  70.                    3.  Run LPSCAN.EXE with the appropriate options.  For example:
  71.                    J:\LPROTECT>LPSCAN /A
  72.                        LPSCAN.EXE cleans the infected files unless the parameter /NC is
  73.                        used to stop the cleaning.  You will receive notification if a virus
  74.                        is found.  You will be prompted to either clean the virus or will
  75.                        receive notification if the file cannot be cleaned.   When cleaning
  76.                        is complete, data on the cleaning will be added to the LANProtect
  77.                        log file.
  78.              Note: Any damage done to the files by the virus cannot be repaired by
  79.                    LPScan.
  80.                    To clean infected network files:
  81.                    1.  Select Virus Utilities/Exception Lists/Exception File.
  82.                    2.  Press <Ins> to add the new exception file.
  83.                    3.  Enter the infected files to be cleaned on the Exception File list.
  84.                    4.  Go to the directory where the infected file is.
  85.                    5.  Run LPSCAN.EXE and specify the full path to the directory where
  86.                        the file resides.
  87.                        LPScan scans and cleans the network files.
  88.                        If you are aware of a virus that is not on the LANProtect virus
  89.                        pattern list, upgrade to the latest pattern file.  If you have the latest
  90.                        update, call Intel customer support to report the virus.
  91.  
  92.                    Cleaning Boot Sector Viruses
  93.                    In the event that LANProtect finds a boot sector virus on a hard or
  94.                    floppy disk, it will attempt to clean the boot sector by replacing it with
  95.                    a generic boot sector.  Depending on the virus, the partition table may
  96.                    not be able to be restored during the cleaning of the boot sector. 
  97.                    Follow the instructions below to restore the partition table and purge
  98.                    the virus from your hard disk.
  99.                    To restore the partition table and remove the virus:
  100.                    1.  Run LPScan with the /RP option.
  101.                    2.  Reboot from a clean bootable diskette.
  102.                    3.  Backup all files on your hard disk.
  103.                    4.  Reformat the hard disk with a low-level format.
  104.                    5.  Scan all the floppy disks that you used to backup the files on your
  105.                        hard disk.
  106.                        Scanning the backed-up files will help you know which  files are
  107.                        currently infected.  Clean or delete the files that are infected so
  108.                        that you do not re-infect your hard disk.
  109.  
  110.                    LPSCAN.EXE DOS Error Levels
  111.                    There are several DOS errors that LPSCAN.EXE returns if a virus is
  112.                    found or if an error was made in executing LPSCAN.EXE.  The 
  113.                    following table lists the DOS errors and what they mean.  If more than
  114.                    one error occurred, the sum of the errors will indicate which errors
  115.                    occurred.
  116.                    DOS Error              Error Encountered
  117.                    0                      No Error
  118.                    1                      Error in the command line option.
  119.                    2                      LPSCAN.EXE was unable to locate a valid
  120.                                           Virus Pattern File.  Map a drive to the
  121.                                           server that LANProtect was installed on.
  122.                    4                      A virus was found in the computer■s
  123.                                           memory.  Remove it by turning the machine
  124.                                           off and then boot from a clean diskette.
  125.                    8                      A boot sector or file virus was found on the
  126.                                           drive that was scanned.  Review the scan
  127.                                           report to find out which file was infected.
  128.                    16                     LANProtect was unable to locate the
  129.                                           specified drive.
  130.                    32                     LPScan was aborted by the user pressing
  131.                                           <Esc>.  A message saying that the user
  132.                                           broke the scan is recored in LPLOG.RPT.
  133.                                           Refer to the SAMPLE.BAT file on
  134.                                           LANProtect■s distribution diskette for
  135.                                           information on how to use the error
  136.                                           levels.
  137. PCScan
  138.                    PCScan scans executed files only at the workstation level.  It does not
  139.                    scan data files or files copied from one directory to another via the
  140.                    DOS copy command.  PCScan can be loaded upon bootup of the
  141.                    workstation and remains in base memory at the workstation.  It can be
  142.                    loaeded into either base memory or high memory.  When files are
  143.                    executed, PCScan scans them, drawing upon the pattern file of
  144.                    LANProtect which is located at the file server.  However, if the
  145.                    LANProtect NLM is not loaded or the Real Time File scan is turned
  146.                    off, PCScan cannot scan executed files at the workstation.
  147.                    There are two ways to execute PCScan; from the login script or from a
  148.                    batch file.  Executing PCScan from the login script has some
  149.                    disadvantages, however.  If it is executed as part of the login script, it
  150.                    may fragment the base memory.  Typically, TSRs loaded from within
  151.                    login scripts can fragment base memory.  When you load the TSR
  152.                    from the login script, it will locate itself in the lowest available spot in
  153.                    base memory unless you load it into high memory.
  154.                    PCScan can be loaded from a batch file either before or after the user
  155.                    logs in.  If PCScan is loaded before the user logs in, the entire
  156.                    LANProtect program must be installed in a subdirectory of the login
  157.                    directory.  If PCScan is executed after the user logs in, it may never be
  158.                    executed if the login script exits to a menu.
  159.                    To load PCScan from the login script:
  160.                    1.  Enter NetWare■s system login script in SYSCON.
  161.                    2.  Enter a command line for PCScan.  For example:
  162.                    # [PATH] PCSCAN.COM
  163.                    To load PCScan from a batch file before the user logs in:
  164.                    1.  Create a subdirectory in the login directory.
  165.                    2.  Install the entire LANProtect program into that directory.
  166.                    3.  Type PCSCAN.COM after the NETX line and before the login
  167.                        command in the AUTOEXEC.BAT file.
  168.                    To load PCScan from a batch file after the user logs in:
  169.                    1.  Put the PCScan command after the login command in the
  170.                        AUTOEXEC.BAT file. MacScan
  171.                    MacScan is similar to LPScan because it scans the files on the local
  172.                    drives of the Macintosh.  It also has the capability of scanning network
  173.                    drives.  However, it cannot clean the files.  Options for the MacScan
  174.                    are listed on the Selection Screen.  Click on the appropriate buttons or
  175.                    boxes to make file selections.
  176.                     
  177.                    Item                   Description
  178.                    List of Directories    Open the volume, directory, or folder whose
  179.                                           folders or files you want to appear in the file
  180.                                           selection list box.
  181.                    Scan Selected Item     Scan the selected item.
  182.                    Create Scan Report     Place an ■X■ in the check box to generate a
  183.                                           report upon completion of the scan.  Each
  184.                                           time you run the MacScan, a report is
  185.                                           appended to the previous reports.  The
  186.                                           report is stored in the MacScan application
  187.                                           directory and can be formatted and printed
  188.                                           in another Macintosh application.  The
  189.                                           report is also appended in the LPLOG
  190.                                           directory under the LANProtect directory in
  191.                                           DOS.
  192.                    Eject                  Ejects a disk from the floppy disk drive. 
  193.                    Desktop                Places items on the desktop into the selection
  194.                                           list box.
  195.                    Open                   Opens the directory or folder highlighted in
  196.                                           the list box.
  197.                    Cancel                 Returns you to the main screen.
  198.                                           If you have System 7.0 on your
  199.                                           Macintosh, you can make an alias of the
  200.                                           MacScan.  The MacScan can then be
  201.                                           automatically launched at bootup if the
  202.                                           MacScan alias is placed in the ■start-up
  203.                                           items folder■ of the Macintosh.  When
  204.                                           users log in to the server, they can
  205.                                           double click on the alias and scan their
  206.                                           Macintoshes.
  207.                    To make an alias of MacScan:
  208.                    1.  Select the MacScan application  from the desktop folder.
  209.                    2.  Copy MacScan to a file server you are logged in to.
  210.                    3.  Highlight MacScan on the server directory.
  211.                    4.  Select Make Alias from the pull-down File menu.
  212.                    5.  Copy the alias to the local workstation.
  213.                        The MacScan alias appears on the desktop.
  214.  
  215.                    To scan Macintosh files:
  216.                    1.  Login to the network at the workstation you want to scan.
  217.                    2.  Double click the MacScan alias or go to the directory where the
  218.                        MacScan application is stored and select it.
  219.                        The MacScan program appears.
  220.  
  221.                    3.  Click Scan.
  222.                        The Selection screen appears.
  223.                    4.  Click on the field with the down arrow to begin the selection process.
  224.                    5.  Release the mouse button on the file or directory you want to scan.
  225.                    6.  Click Open to open the directory to select a specific file for scanning.
  226.                    7.  Click Scan Selected Item to scan the file or directory you highlighted.
  227.                        The program reverts to the first screen you saw and lists each file
  228.                        as it is scanned.  If there is a virus, LANProtect displays the virus
  229.                        name.  To stop the scan before it is finished, click Stop.
  230.  
  231.                        If LANProtect finds a virus, a message appears stating the name of
  232.                        the virus and asks, ■Do you want to delete the file?■
  233.  
  234.                        You can select either No, Delete, or Abort.  The following table
  235.                        describes the options.
  236.                    Option                  Description
  237.                    No                     The file is left alone.
  238.                    Delete                 Deletes the file from the local disk.  The file
  239.                                           is no longer accessible.
  240.                    Abort                  Aborts MacScan.  The initial program
  241.                                           screen appears.
  242.                    8.  Click Quit to exit MacScan.
  243.  
  244.                    MacScan Reports
  245.                    The MacScan application includes a reporting utility for generating
  246.                    reports each time you  run MacScan.  As reports are generated, they
  247.                    will append to the previous reports.  Report are stored in the MacScan
  248.                    application directory and can be formatted and printed from another
  249.                    Macintosh application.  They also append to the LPLOG.RPT file in
  250.                    the LPROTECT/LPLOG directory with reports generated by LPScan
  251.                    and can be viewed and edited in the DOS Editor.  Note that path
  252.                    conventions for Macintosh files differ from DOS path conventions.
  253.                    To generate a report about the scan:
  254.                    1.  Click the Create Scan Report check box so an ■X■ appears in the
  255.                        box.
  256.                    2.  Run MacScan.
  257.                        A report is generated.
  258.                    3.  View the report in another Macintosh application or in the
  259.                        LPLOG.RPT file.