home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk412.lzh / ZeroVirus / ZeroVirus.doc < prev    next >
Text File  |  1990-12-14  |  26KB  |  476 lines

  1. *******************************************************************************
  2.  
  3.                                 ZeroVirus v2.0
  4.  
  5.                   (c) Copyright 1989,1990 by Jonathan Potter
  6.  
  7. *******************************************************************************
  8.  
  9.                    See the bottom of this file for changes
  10.  
  11.  
  12.                                  INTRODUCTION
  13.                                  ------------
  14.  
  15.   Welcome to ZeroVirus!
  16.   This program is a complete virus detection, removal, and protection system.
  17.   Using ZeroVirus, you can check the bootblock of any disc. You can install
  18. the disc (removing any virus that is present) with one of four different
  19. bootblocks, and backup the bootblocks of your commercial programs to ensure
  20. recovery from any viruses in the future.
  21.   You can also use ZeroVirus to check a directory or a whole disc for any known
  22. file (link) viruses.
  23.   ZeroVirus uses BrainFiles to make updating easier. The BrainFiles contain
  24. information that ZeroVirus uses to identify viruses and other bootblocks.
  25. ZeroVirus has a LEARN option, whereby you may include in the BrainFile the data
  26. necessary to recognise a certain bootblock in the future. ZeroVirus also has
  27. "on-line" BrainFile editing, to make the procedure even easier.
  28.   You can iconify ZeroVirus to a small window on the Workbench screen. Here, it
  29. runs in the background, checking every disc you insert in the drives.
  30.  
  31.  
  32.                               STARTING ZEROVIRUS
  33.                               ------------------
  34.  
  35.   To start ZeroVirus, double-click on the icon from Workbench, or type
  36. "ZeroVirus" from the CLI.
  37.   ZeroVirus looks for the BrainFile (called "ZeroVirus.BrainFile") in either
  38. the current directory, or in the S: directory, and if it is found, it will be
  39. read in.
  40.   ZeroVirus then looks for the Palette file (called "ZeroVirus.Palette") in the
  41. same places, and will read in your custom colours from that file if it can be
  42. found.
  43.  
  44.  
  45.                                 MEMORY CHECKING
  46.                                 ---------------
  47.  
  48.   Once ZeroVirus has finished the above operations, memory is checked for any
  49. known viruses. If any are found, they are automatically removed, and you are
  50. notified of their presence.
  51.   After this, ZeroVirus checks a number of system vectors. The vectors checked
  52. are WarmCapture, CoolCapture, ColdCapture, KickTagPtr (or RomTags), KickMemPtr
  53. and KickCheckSum vectors. These should all normally be zero ($000000), and one
  54. sign of a virus in memory is these vectors pointing somewhere else. If their
  55. value is not $000000, you will be given the option to restore them to $000000.
  56.   Be careful here, because some legitimate programs, like Guardian, modify these
  57. to their own purposes.
  58.   After this, you are prompted to press the left mouse button to continue.
  59.  
  60.  
  61.                                    MAIN MENU
  62.                                    ---------
  63.  
  64.   Several options are available from the main menu.
  65.   The BOOTBLOCKS gadget, or "BootBlocks" from the pull-down menu takes you into
  66. the bootblock checking part of ZeroVirus.
  67.   Likewise, the FILES gadget, or "Files" from the pull-down menu takes you into
  68. the file checking part of ZeroVirus.
  69.   The BRAINFILES gadget, or "BrainFiles" from the pull-down menu takes you into
  70. the "on-line" BrainFile editor.
  71.   The LEAVE gadget gives you the option of either quitting or iconifying
  72. ZeroVirus.
  73.   "Palette" from the pull-down menu allows you to edit the colours ZeroVirus
  74. uses, and "Save Palette" allows you to save them for future use.
  75.   "About" displays some information about the program.
  76.   "Iconify" iconifies ZeroVirus.
  77.   "Quit" exits ZeroVirus.
  78.  
  79.  
  80.                                   BOOTBLOCKS
  81.                                   ----------
  82.  
  83.   This section of ZeroVirus allows you to work with the bootblocks of discs.
  84.   To check the bootblock of a disc, click on the icon of the drive the disc is
  85. in. If no errors occur, the bootblock will be read and checked. If the
  86. bootblock is recognised, its name and description will be displayed.
  87.  
  88.     eg       "Normal DOS bootblock."
  89.              "This disc is okay. Insert another disc to keep checking."
  90.  
  91.              "ZeroVirus BigScreenTest bootblock"
  92.              "Check for PAL sized screen on bootup"
  93.  
  94.              "SCA virus recognised!"
  95.              "This disc contains a virus! INSTALL it immediately!"
  96.  
  97.   If the bootblock is not recognised, you will see
  98.  
  99.              "Non-standard bootblock"
  100.              "Suggestion : BACKUP and INSTALL"
  101.  
  102.   Under the description, the bootblock is displayed. Characters in white
  103. represent standard bootblock characters; those in red represent non-standard
  104. bootblock characters.
  105.   ZeroVirus detects disc changes, so to check another disc in the same drive,
  106. simple eject the current disc and insert the new one.
  107.   Several options are available from a pull-down menu.
  108.   A "-->" in menu names indicates the presence of sub-menus. From top to bottom,
  109. the menu options are :
  110.  
  111.      BootBlock     --> - This option allows you to select the bootblock that
  112.                          will be written to discs when you install them.
  113.        Standard        - This is the standard AmigaDOS 1.3 bootblock.
  114.        NoFastMem       - This bootblock allows you to turn off all
  115.                          auto-configuring expansion memory on bootup.
  116.        BigScreenTest   - All PAL Amigas have a bug that causes an NTSC (200
  117.                          line) screen to occasionally open on bootup,
  118.                          instead of one the normal PAL size (256 lines).
  119.                          This bootblock checks the size of the screen you
  120.                          are about to boot into, and if it is <256 lines,
  121.                          will give you a chance to reset the computer.
  122.                          This eliminates the possibility of going through
  123.                          a half hour long startup-sequence only to find at
  124.                          the end that you have to reboot because of a short
  125.                          screen.
  126.        AutoAddRAM      - This bootblock allows you to automatically add one
  127.                          chunk of non-autoconfiguring memory on bootup. When
  128.                          you install a disc with this bootblock, you are
  129.                          prompted for the starting and ending addresses of
  130.                          the chunk, in hexadecimal. If you give no input to
  131.                          this, the RAM from $f80000 to $fbfffe present in
  132.                          Amiga 1000s with Kickstart in ROM is assumed.
  133.      Install           - This option installs the disc in the currently
  134.                          selected drive, with the selected bootblock.
  135.      Learn             - This option allows you to learn the bootblock of the
  136.                          disc in the currently selected drive.
  137.                          ZeroVirus recognises bootblocks by checking eight
  138.                          characters. If all characters match the required
  139.                          characters, ZeroVirus recognises the bootblock.
  140.                          When you select learn, eight characters in the
  141.                          bootblock view are highlighted. These are the eight
  142.                          characters ZeroVirus has picked to recognise the
  143.                          bootblock by. Unfortunately, ZeroVirus cannot
  144.                          distinguish between code and text. Since text in
  145.                          a bootblock can be changed relatively easily, it is
  146.                          not a good idea to learn text bytes.
  147.                          If it is obvious that ZeroVirus has picked some
  148.                          text bytes to learn, you may reselect the bytes
  149.                          yourself.
  150.                          A maximum of eight characters may be highlighted at
  151.                          once.
  152.                          To toggle a character on or off, click on it with
  153.                          the left mouse button.
  154.                          You may pick eight or less characters.
  155.                          Once you have finished picking characters, click
  156.                          in the centre of the screen where you are told to.
  157.                          You are now prompted for the name of the bootblock.
  158.                          To cancel the learn operation, just press return
  159.                          for this.
  160.                          Once you have entered the name, you are asked
  161.                          for a description. If the bootblock you have just
  162.                          learnt is a virus, just press return for this.
  163.                          Names and descriptions may be 80 characters at the
  164.                          most.
  165.                          Learn only learns to memory - the bootblock is
  166.                          not recorded to the BrainFile on disc until you
  167.                          do so from the BrainFile editing menu.
  168.  
  169.      Force Learn       - It may happen occasionally that the bootblock of the
  170.                          disc you wish to learn has the same bytes in the same
  171.                          places as a bootblock ZeroVirus has learnt previously.
  172.                          In this case, Learn will complain that ZeroVirus
  173.                          already knows this bootblock.
  174.                          You may now learn the bootblock with Force Learn,
  175.                          and pick some different bytes.
  176.                          The bootblock will still not be recognised, however,
  177.                          as the first bootblock is before this one in the list.
  178.                          To overcome this problem, you may re-arrange the order
  179.                          of bootblocks in the BrainFile from the BrainFile
  180.                          editing menu.
  181.  
  182.      Backup        --> - These options allow you to manipulate bootblocks
  183.                          as disc files.
  184.        Backup          - Many programs employ custom bootblocks. These
  185.                          bootblocks may be for fast loaders, intros, etc.
  186.                          Many of these programs depend on their custom
  187.                          bootblock. If this bootblock is overwritten with a
  188.                          virus, the program will no longer work.
  189.                          Backup allows you to backup a bootblock to a disc
  190.                          file, for future retrieval.
  191.                          When Backup is selected, a file requester appears for
  192.                          you to enter the name you wish to save the bootblock
  193.                          as. The name of the disc is automatically entered as
  194.                          the filename, but this may be edited.
  195.                          Once you have chosen the name, you are asked to
  196.                          enter an optional comment for the bootblock (maximum
  197.                          40 characters).
  198.                          Providing no errors occur, the bootblock will be
  199.                          saved to the file.
  200.                          It is a good idea to keep all bootblocks in the same
  201.                          directory, and an even better idea to keep a backup
  202.                          of the disc containing the bootblocks.
  203.        Restore         - Restore allows you to restore a previously backed-up
  204.                          bootblock to the disc in the selected drive.
  205.                          Selecting this opens the file requester, prompting
  206.                          you for the name of the bootblock you wish to restore.
  207.        Catalogue       - Catalogue allows you to generate a catalogue of all
  208.                          the backed-up bootblocks in a specified directory.
  209.                          Selecting this opens a requester with various gadgets
  210.                          allowing you to configure the catalogue.
  211.                          CATALOGUE TO FILE and CATALOGUE TO PRINTER allow you
  212.                          to send the generated catalogue to a disc file, or to
  213.                          the printer (PRT:).
  214.                          INCLUDE COMMENTS and INCLUDE DATES allow you to
  215.                          select whether comments and dates are included in the
  216.                          catalogue.
  217.                          SORT BY NAME, COMMENT and DATE allow you to turn
  218.                          catalogue sorting on or off, and select which
  219.                          item the catalogue is sorted by.
  220.                          GENERATE CATALOGUE opens the file requester, allowing
  221.                          you to select the directory containing the bootblocks
  222.                          you wish to catalogue. Only bootblocks saved with
  223.                          ZeroVirus are included in the catalogue.
  224.        View Saved      - This allows you to view a saved bootblock. Selecting
  225.                          it opens the file requester, prompting you for the
  226.                          name of the bootblock you wish to view.
  227.        Compare Saved   - This allows you to compare the bootblock of the disc
  228.                          in the selected drive with a bootblocks saved to a
  229.                          disc file. The saved bootblock is the one actually
  230.                          shown. Conflicting characters are shown in red;
  231.                          identical characters are shown in white.
  232.        Print Saved     - This allows you to dump a saved bootblock to the
  233.                          printer (PRT:). The bootblock is printed in both
  234.                          hexadecimal and ASCII.
  235.  
  236.      Print             - This allows you to dump the bootblock of the disc in
  237.                          the selected drive to the printer (PRT:).
  238.  
  239.      Toolkit       --> - These options allow you to manipulate bootblocks in
  240.                          special ways.
  241.        UnInstall       - UnInstall un-installs a disc, leaving the bootblock
  242.                          the same as if the disc had just been formatted.
  243.        Fix Checksum    - This fixes the checksum of the bootblock, and makes
  244.                          it bootable.
  245.        No Checksum     - This zeroes the checksum of the bootblock, and makes
  246.                          it non-bootable.
  247.        Copy Block      - This allows you to copy the bootblock of the disc
  248.                          in the selected drive to a disc in another drive.
  249.                          After selecting this, click on the drive that you
  250.                          want to copy the bootblock to, or click on the same
  251.                          drive to cancel the operation.
  252.  
  253.      Main Menu         - This option returns you to the main menu.
  254.  
  255.  
  256.                                      FILES
  257.                                      -----
  258.  
  259.   This section of ZeroVirus allows you to check files for file (link) viruses.
  260. When selected, the screen clears and the file requester opens. You may now
  261. select the directory you wish to check (don't worry about the filename).
  262.   When the directory has been chosen, you are asked if you wish to check all
  263. the sub-directories as well. This allows you to check a whole disc at once, if
  264. necessary.
  265.   You are now asked if you want any viruses to be automatically removed. If you
  266. answer positively to this, any file viruses found will be removed
  267. automatically, unless a user action is unavoidable (eg an error occurs).
  268.   The files are now checked. The filenames are displayed on the screen as they
  269. are being checked.
  270.   File viruses are not learnt in BrainFiles. Therefore, ZeroVirus will be
  271. updated if and when new file viruses appear.
  272.   Currently recognised file viruses are :
  273.  
  274.         IRQ virus    - This virus attaches itself to the first command in the
  275.                        startup-sequence.
  276.         BGS9 virus   - Also known as the TTV1 virus, this one replaces the
  277.                        first command in the startup-sequence with itself, and
  278.                        places the original file in a hidden file in DEVS:
  279.                        If this virus is found, ZeroVirus will also give you
  280.                        the option of trying to replace the original file.
  281.                        Even if automatic virus removal is on, user input is
  282.                        required here, as ZeroVirus has no idea where the DEVS:
  283.                        directory on that disc is (in relation to the current
  284.                        directory). The file requester is opened for this.
  285.         LAMER virus  - This virus is usually disguised as a hidden file, and
  286.                        inserts a line calling itself in the startup-sequence.
  287.                        If a file called "startup-sequence" is found, it will
  288.                        be checked to see if it calls this virus. The virus
  289.                        calls itself a name consisting of (in hex) A0
  290.                        (160 decimal). These are invisible as normal ASCII.
  291.                        If any of these are found in the "startup-sequence",
  292.                        ZeroVirus can remove them.
  293.  
  294.  
  295.                                   BRAINFILES
  296.                                   ----------
  297.  
  298.   The "on-line" BrainFile editor allows you to easily edit the current
  299. BrainFile.
  300.   The name of all bootblocks known by the current BrainFile are displayed on
  301. the screen, along with their comments.
  302.   You may scroll the selector-bar up and down the list of bootblocks with the
  303. UP and DOWN gadgets at the bottom of the screen, or with the Move menu.
  304.   Several options are available from a pull-down menu; these are :
  305.  
  306.      New             - This option discards the BrainFile in memory at the
  307.                        moment, and begins a new one. Be careful with this;
  308.                        there is no undo feature.
  309.  
  310.      Load            - This option allows you to load a BrainFile from disc
  311.                        into memory, replacing the BrainFile in memory at the
  312.                        moment. The file requester is used to allow you to
  313.                        select the BrainFile.
  314.                        Note that BrainFiles need not be called
  315.                        "ZeroVirus.BrainFile" - they may be called anything, and
  316.                        kept anywhere. However, they will not be read in
  317.                        automatically when ZeroVirus is run unless they are.
  318.  
  319.      Save            - This option allows you to save the BrainFile in
  320.                        memory to disc. The file requester is used to allow
  321.                        you to select the name.
  322.                        The User Update count of the current BrainFile is
  323.                        incremented everytime you Save.
  324.  
  325.      Edit        --> - These options allow you to make changes to the entries
  326.                        in the BrainFile.
  327.        Move          - Move allows you to reposition an entry in the BrainFile.
  328.                        When selected, you may move the selector-bar to the
  329.                        position you wish the entry to be moved to.
  330.                        Press the right mouse button when the bar is in the
  331.                        correct position. You are then asked if you wish the
  332.                        entry to be moved above or below the current position.
  333.                        To cancel this, press the right mouse button without
  334.                        moving the bar.
  335.        Rename        - This allows you to change the name and description of
  336.                        the highlighted entry.
  337.        Delete        - This allows you to delete the highlighted entry from
  338.                        the BrainFile.
  339.        Merge         - The Learn option allows you to include your own
  340.                        bootblocks in the BrainFile. However, new BrainFiles
  341.                        issued by the author will not, of course, contain these,
  342.                        and so you would have had to Learn them all again.
  343.                        Merge allows you to, effectively, join the current
  344.                        BrainFile with one on disc. However, the "new" BrainFile
  345.                        will not contain any repeated entries.
  346.  
  347.      Move        --> - These options allow you to move around the current
  348.                        BrainFile.
  349.        Entry Up      - Moves you one entry up. Identical to pressing the UP
  350.                        gadget.
  351.        Entry Down    - Moves you one entry down. Identical to pressing the DOWN
  352.                        gadget.
  353.        Page Up       - Moves you one page (13 entries) up.
  354.        Page Down     - Moves you one page (13 entries) down.
  355.        Top           - Moves you to the top of the BrainFile.
  356.        Bottom        - Moves you to the bottom of the BrainFile.
  357.  
  358.      Main Menu         - This option returns you to the main menu.
  359.  
  360.  
  361.                                     PALETTE
  362.                                     -------
  363.  
  364. The palette requester has several gadgets to enable you to set the colours of
  365. the screen. The coloured squares at the top of the window let you select
  366. which colour you wish to work with. Underneath these is a window-wide bar,
  367. which is filled with the current colour, and displays (in hex) the value of
  368. the colour.
  369. Under this are six slider gadgets. The first three, R, G and B enable you to
  370. set the red, green and blue content of the current colour. The next three,
  371. H, S and L enable you to set the hue, saturation and luminance of the
  372. current colour.
  373. Under these are six other gadgets.
  374.   -  COPY allows you to copy the current colour to the next selected colour.
  375.   -  SPREAD allows you to evenly spread the colours between the current
  376.      colour and the next selected colour.
  377.   -  RESET allows you to reset to the palette in use when the Palette
  378.      Requester was first invoked. Also, pressing the ESCape key has this
  379.      effect, so if you accidentally set all the colours to black (or
  380.      something), just press ESCape.
  381.   -  DEFAULT returns the colours to their default settings.
  382.   -  OKAY accepts the current colour settings and exits the palette requester.
  383.   -  CANCEL rejects the colour settings and exits the palette requester.
  384.      Clicking the close gadget also has this effect.
  385.  
  386.  
  387.                                     ICONIFY
  388.                                     -------
  389.  
  390.   Iconify closes the ZeroVirus window and screen, and opens a small window on
  391. the Workbench screen. ZeroVirus now behaves very much like the PD program
  392. VirusX. Unlike VirusX, however, it also contains a title bar clock and memory
  393. monitor. The current time is displayed (and updated) along with the amount of
  394. chip and fast memory available in the system.
  395.   When the iconified window first opens, all discs present are checked for
  396. viruses or non-standard bootblocks. If they have viruses or other non-standard
  397. bootblocks on them, a requester appears, asking you if you wish to return to
  398. ZeroVirus. If the bootblock is a virus, you are not told which virus it is.
  399. You will find this out when you return to ZeroVirus.
  400.   You are only notified if the bootblock is a virus, or if it is an unknown,
  401. non-standard bootblock.
  402.   After all discs have been checked, the clock starts and continues updating.
  403.   Every time a disc is changed, that disc is automatically checked, and the
  404. same procedure as above follows.
  405.   To return to ZeroVirus from the iconified window, activate the window and
  406. press the right mouse button. To exit ZeroVirus without returning to the main
  407. program, click the close gadget.
  408.  
  409. If, from the CLI, ZeroVirus is run with the "-i" option, ie
  410.  
  411.               ZeroVirus -i
  412.  
  413. it will start up in the iconified mode.
  414. You may also, from the CLI, specify the x and y locations of the iconified
  415. window.
  416.  
  417.               ZeroVirus -xnum1 -ynum2
  418.  
  419. will set the left edge of the window to num1, and top edge to num2. You may
  420. use -i, -x and -y in any order, and they are all optional.
  421.  
  422.  
  423.                                      ABOUT
  424.                                      -----
  425.  
  426.   ZeroVirus is NOT public domain, although it is freely redistributable. It is
  427. under NO circumstances to be sold, or included on any product for profit,
  428. without prior permission from me. ZeroVirus may be copied and used freely.
  429.   If you have any comments or bug reports, or find any new viruses, please
  430. send them to me.
  431.  
  432.  
  433.                                     THE END
  434.                                     -------
  435.  
  436. ZeroVirus is an easy program to use. I hope it becomes a program you use
  437. regularly to guard against the battery of viruses on the Amiga. If programs
  438. like this are used regularly by everyone, viruses on the Amiga could one day
  439. become a thing of the past.
  440.  
  441. PLEASE send any new viruses, or suspected viruses, to me at the address below.
  442. Or, if you live in Europe, send them to
  443.  
  444.                                Erik Løvendahl Sørensen
  445.                                Snaphanevej 10
  446.                                4720 Præstø
  447.                                Denmark
  448.  
  449.                                          and Erik will pass them along to me.
  450.  
  451.  
  452.                         To contact the author, write to
  453.  
  454.                           Jonathan Potter
  455.                           3 William Street
  456.                           Clarence Park S.A. 5034
  457.                           Australia
  458.                      ph : (08) 2932788
  459.  
  460. ------------------------------------------------------------------------------
  461.  
  462.                      Changes ZeroVirus v2.27 21-Jan-1990
  463.  
  464. 1. About ZeroVirus III menu added (see accompanying doc file)
  465. 2. Fixed various problems to do with memory checking. Byte Bandit is now
  466.    killed properly, as are at least two strains of Lamer.
  467. 3. Added XENO virus checking.
  468.    The XENO virus is a file virus that hooks itself onto certain ROM routines,
  469.    which result in it being able to attach itself to almost every file. This
  470.    means, of course, that it can spread very quickly. ZeroVirus does not remove
  471.    the XENO code from an infected program, but it does disable it, rendering it
  472.    harmless.
  473.  
  474. ------------------------------------------------------------------------------
  475.  
  476.