home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / virus / zerovir2.lha / Zerovirus.Doc < prev    next >
Text File  |  1989-11-15  |  19KB  |  340 lines

  1. -------------------------
  2. ZEROVIRUS 2.0
  3. © 1989 by Jonathan Potter
  4. -------------------------
  5.  
  6.      ZeroVirus is a complete virus detection, removal and protection system.
  7. With it you can check the bootblock of any disk. You can install the disk,
  8. removing any virus that is present, with one of four different bootblocks,
  9. and back up the bootblocks of your commercial programs to ensure recovery
  10. from any future viruses that overwrite required bootblock data.
  11.      You can also use ZeroVirus to check a directory or a whole disk for any
  12. known file (link) viruses.
  13.      ZeroVirus uses BrainFiles to make updating easier. The BrainFiles
  14. contain information the program uses to identify viruses and other
  15. bootblocks.
  16.      ZeroVirus has a LEARN option, whereby you may include in the BrainFile
  17. the data necessary to recognize a certain bootblock in the future. ZeroVirus
  18. also has "on-line" BrainFile editing to make the procedure even easier.
  19.      You can iconify ZeroVirus to a small window on the Workbench screen.
  20. Here, it runs in the background, checking every disk you insert in the
  21. drives.
  22.  
  23. STARTING ZEROVIRUS
  24.      To start ZeroVirus, double-click the icon or from the CLI or Shell type:
  25.      [path]zerovirus    (press Return)
  26.  
  27.      ZeroVirus looks for the file called "ZeroVirus.BrainFile" in either the
  28. current directory or in the S: directory. If found, it will be read in.
  29.      The program then looks for the Palette file called "ZeroVirus.Palette"
  30. in the same places and will read in your custom colors from that file if it
  31. can be found.
  32.  
  33. MEMORY CHECKING
  34.      Once ZeroVirus has finished the above operations, memory is checked for any
  35. known viruses. If any are found they are automatically removed and you are
  36. notified of their presence.
  37.      After this, ZeroVirus checks a number of system vectors. The vectors
  38. checked are WarmCapture, CoolCapture, ColdCapture, KickTagPtr (or RomTags),
  39. KickMemPtr and KickCheckSum vectors. These should all normally be zero
  40. ($000000). One sign of a virus in memory is these vectors pointing somewhere
  41. else. If their value is not $000000, you will be given the option to restore
  42. them to $000000.
  43.      Be careful here, because some legitimate programs, like Guardian,
  44. modify these for their own purposes.
  45.      Next you are prompted to press the left mouse button to continue.
  46.  
  47. MAIN MENU
  48.     Several options are available from the main menu.
  49.     The BOOTBLOCKS gadget or "BootBlocks" from the pulldown menu takes you
  50. into the bootblock-checking part of the program.
  51.      Similarly, the FILES gadget or "Files" from the pulldown menu takes
  52. you into the file-checking part of ZeroVirus.
  53.      The BRAINFILES gadget or "BrainFiles" from the pulldown takes you into
  54. the on-line BrainFile editor.
  55.      The LEAVE gadget gives you the option of either quitting or iconifying
  56. ZeroVirus.
  57.     "Palette" from the pulldown allows editing the colors ZeroVirus uses and
  58. "Save Palette" saves them for future use.
  59.      "About" displays some information about the program.
  60.      "Iconify" iconifies ZeroVirus.
  61.      "Quit" exits ZeroVirus.
  62.  
  63. BOOTBLOCKS
  64.      This section of ZeroVirus allows you to work with the bootblocks of
  65. disks.
  66.      To check the bootblock of a disk, click on the icon of the drive the
  67. disk is in. If no errors occur, the bootblock will be read and checked. If
  68. the bootblock is recognized, its name and description will be displayed.
  69.      Here are some of the messages you may see:
  70.  
  71.      "Normal DOS bootblock."
  72.      "This disk is okay. Insert another disk to keep checking."
  73.      "ZeroVirus BigScreenTest bootblock"
  74.      "Check for PAL sized screen on bootup"
  75.      "SCA virus recognised!"
  76.      "This disk contains a virus! INSTALL it immediately!"
  77.  
  78.     If the bootblock is not recognized, you will see:
  79.  
  80.      "Non-standard bootblock"
  81.      "Suggestion : BACKUP and INSTALL"
  82.  
  83.      Under the description, the bootblock is displayed. Characters in white
  84. represent standard bootblock characters. Those in red represent non-standard
  85. bootblock characters.
  86.      ZeroVirus detects disk changes, so to check another disk in the same
  87. drive, eject the current disk and insert the new one.
  88.  
  89. PULLING DOWN OPTIONS
  90.      Several options are available from a pulldown menu.
  91.      A "-->" in menu names indicates the presence of sub-menus. From top to
  92. bottom, the menu options are :
  93.  
  94.      BootBlock     --> - This option allows you to select the bootblock that
  95. will be written to disks when you install them.
  96.      Standard - This is the standard AmigaDOS 1.3 bootblock.
  97.      NoFastMem - This bootblock allows you to turn off all auto-configuring
  98. expansion memory on bootup.
  99.      BigScreenTest - All PAL Amigas have a bug that causes an NTSC (200
  100. line) screen to occasionally open on bootup, instead of one the normal PAL
  101. size (256 lines). This bootblock checks the size of the screen you are about
  102. to boot into, and if it is less than 256 lines, will give you a chance to
  103. reset the computer. This eliminates the possibility of going through a long
  104. startup-sequence only to find at the end you must reboot because of a short
  105. screen.
  106.      AutoAddRAM - This bootblock allows you to automatically add one chunk
  107. of non-autoconfiguring memory on bootup. When you install a disk with this
  108. bootblock, you are prompted for the starting and ending addresses of the
  109. chunk, in hexadecimal. If you give no input to this, the RAM from $f80000 to
  110. $fbfffe present in Amiga 1000s with Kickstart in ROM is assumed.
  111.      Install - This option installs the disk in the currently selected drive
  112. with the selected bootblock.
  113.      Learn - This option allows you to learn the bootblock of the disk in
  114. the currently selected drive. ZeroVirus recognizes bootblocks by checking
  115. eight characters. If all characters match the required characters, ZeroVirus
  116. recognizes the bootblock. When you select learn, eight characters in the
  117. bootblock view are highlighted. These are the eight characters ZeroVirus has
  118. chosen to use to recognize the bootblock. Unfortunately, ZeroVirus cannot
  119. distinguish between code and text. Since text in a bootblock can be changed
  120. relatively easily, it is not a good idea to learn text bytes.
  121.       If it is obvious ZeroVirus has picked some text bytes to learn, you
  122. may reselect the bytes yourself.
  123.      A maximum of eight characters may be highlighted at once. To toggle a
  124. character on or off, click on it with the left mouse button. You may choose
  125. eight or fewer characters. Once you have finished picking characters, click
  126. in the center of the screen where you are told to. You are then prompted for
  127. the name of the bootblock.
  128.      To cancel the learn operation, press Return. Once you have entered the
  129. name, you are asked for a description. If the bootblock you have just
  130. learned is a virus, press Return. Names and descriptions may be 80
  131. characters at the most.
  132.      Learn only learns to memory - the bootblock is not recorded to the
  133. BrainFile on disk until you do so from the BrainFile editing menu.
  134.      Force Learn - It may happen occasionally that the bootblock of the disk
  135. you wish to learn has the same bytes in the same places as a bootblock
  136. ZeroVirus has learned previously. In this case, Learn will complain
  137. ZeroVirus already knows the bootblock. You may now learn the bootblock with
  138. Force Learn and pick some different bytes. The bootblock will still not be
  139. recognized, however, as the first bootblock is before this one in the list.
  140. To overcome this problem, you may rearrange the order of bootblocks in the
  141. BrainFile from the BrainFile editing menu.
  142.  
  143. BACKING IT UP
  144.      Backup --> - These options allow you to manipulate bootblocks as disk
  145. files.
  146.      Backup - Many programs employ custom bootblocks. These bootblocks may
  147. be for fast loaders, intros, etc. Many of these programs depend on custom
  148. bootblocks. If this bootblock is overwritten with a virus, the program will
  149. no longer work. Backup allows you to back up a bootblock to a disk file for
  150. future retrieval.
  151.      When Backup is selected, a file requester appears for you to enter the
  152. name by which you wish to save the bootblock. The name of the disk is
  153. automatically entered as the filename, but this may be edited. Once you have
  154. chosen the name, you are asked to enter an optional comment for the
  155. bootblock (maximum 40 characters). Providing no errors occur, the bootblock
  156. will be saved to the file.
  157.      It is a good idea to keep all bootblocks in the same directory and an
  158. even better idea to keep a backup of the disk containing the bootblocks.
  159.      Restore - Restore allows you to restore a previously backed-up
  160. bootblock to the disk in the selected drive. Selecting this opens the file
  161. requester, prompting you for the name of the bootblock you wish to restore.
  162.      Catalogue - Generate a catalogue of all the backed-up bootblocks in a
  163. specified directory. Selecting this opens a requester with various gadgets,
  164. allowing you to configure the catalogue.
  165.      CATALOGUE TO FILE and CATALOGUE TO PRINTER allow you to send the
  166. generated catalogue to a disk file, or to the printer (PRT:).
  167.      INCLUDE COMMENTS and INCLUDE DATES allow you to select whether comments
  168. and dates are included in the catalogue.
  169.      SORT BY NAME, COMMENT and DATE allow you to turn catalogue sorting on
  170. or off, and select which item the catalogue is sorted by.
  171.      GENERATE CATALOGUE opens the file requester, allowing you to select the
  172. directory containing the bootblocks you wish to catalogue. Only bootblocks
  173. saved with ZeroVirus are included in the catalogue.
  174.      View Saved - This allows you to view a saved bootblock. Selecting it
  175. opens the file requester, prompting you for the name of the bootblock you
  176. wish to view.
  177.      Compare Saved - Compares the bootblock of the disk in the selected
  178. drive with a bootblocks saved to a disk file. The saved bootblock is the one
  179. actually shown. Conflicting characters are shown in red; identical characters are shown in white.
  180.      Print Saved - This allows you to dump a saved bootblock to the printer
  181. (PRT:). The bootblock is printed in both hexadecimal and ASCII.
  182.      Print - This allows you to dump the bootblock of the disk in the
  183. selected drive to the printer (PRT:).
  184.      Toolkit --> - These options allow you to manipulate bootblocks in
  185. special ways.
  186.      UnInstall - UnInstall un-installs a disk, leaving the bootblock the
  187. same as if the disk had just been formatted.
  188.      Fix Checksum - Fixes checksum of bootblock and makes it bootable.
  189.      No Checksum - Zeroes the checksum of the bootblock and makes it
  190. non-bootable.
  191.      Copy Block - Copies bootblock of the disk in the selected drive to a
  192. disk in another drive. After selecting this, click on the drive to which you
  193. want to copy the bootblock or click on the same drive to cancel the operation.
  194.      Main Menu - Returns to the main menu.
  195.  
  196. FILES
  197.      This section of ZeroVirus allows you to check files for file (link)
  198. viruses. When selected, the screen clears and the file requester opens. You
  199. may now select the directory you wish to check. Don't worry about the file
  200. name. When the directory has been chosen, you are asked if you wish to check
  201. all the sub-directories as well. This allows you to check an entire disk at
  202. once, if necessary.
  203.      You are now asked if you want any viruses to be automatically removed.
  204. If you answer positively to this, any file viruses found will be removed
  205. automatically, unless a user action is unavoidable, such as an error. The
  206. files are now checked. The file names are displayed on the screen as they
  207. are being checked.
  208.      File viruses are not learned in BrainFiles. Therefore, ZeroVirus will
  209. be updated if and when new file viruses appear.
  210.  
  211. VIRUSES I HAVE KNOWN
  212.      Currently recognized file viruses are listed:
  213.      IRQ virus - Attaches itself to the first command in the
  214. startup-sequence.
  215.      TTV1 virus - Also known as the BGS9 virus, this one replaces the
  216. first command in the startup-sequence with itself and places the original
  217. file in a hidden file in DEVS:.  If this virus is found, ZeroVirus will also
  218. give you the option of trying to replace the original file. Even if
  219. automatic virus removal is on, user input is required here, as ZeroVirus has
  220. no idea of the location of the DEVS: directory on that disk in relation to
  221. the current directory. The file requester is opened for this.
  222.      LAMER virus  - Usually disguised as a hidden file and inserts a line
  223. calling itself in the startup-sequence. If a file called "startup-sequence"
  224. is found, it will be checked to see if it calls this virus. The virus calls
  225. itself a name consisting of (in hex) A0 (160 decimal). These are invisible
  226. as normal ASCII. If any of these are found in the "startup-sequence"
  227. ZeroVirus can remove them.
  228.  
  229. BRAINFILES
  230.      The "on-line" BrainFile editor allows you to easily edit the current
  231. BrainFile.
  232.      The name of all bootblocks known by the current BrainFile are displayed
  233. on the screen, along with their comments.
  234.      You may scroll the selector-bar up and down the list of bootblocks with the
  235. UP and DOWN gadgets at the bottom of the screen, or with the Move menu.
  236.      Several options are available from a pulldown menu:
  237.      New - Discards the BrainFile in memory at the moment and begins a new
  238. one. Be careful with this; there is no undo feature.
  239.      Load - Loads a BrainFile from disk into memory, replacing the BrainFile
  240. in memory at the moment. The file requester is used to allow you to select
  241. the BrainFile.
  242.      Save - This option allows you to save the BrainFile in memory to disk.
  243. The file requester is used to allow you to select the name. The User Update
  244. count of the current BrainFile is incremented every time you Save.
  245.  
  246. EDITING
  247.      Edit --> - These options allow you to make changes to the entries
  248. in the BrainFile.
  249.      Move - Move allows you to reposition an entry in the BrainFile. When it
  250. is selected, you may move the selector-bar to the position where you wish
  251. the entry to be. Press the right mouse button when the bar is in the correct
  252. position. You are then asked if you wish the entry to be moved above or
  253. below the current position. To cancel this, press the right mouse button
  254. without moving the bar.
  255.      Rename - Changes the name and description of the highlighted entry.
  256.      Delete - Deletes the highlighted entry from the BrainFile.
  257.      Merge - Lets you include your own bootblocks in the BrainFile. However,
  258. new BrainFiles issued by the author will not, of course, contain these, and
  259. so you would have had to Learn them all again. Merge allows you to,
  260. effectively, join the current BrainFile with one on disk. However, the "new"
  261. BrainFile will not contain any repeated entries.
  262.  
  263. MOVING
  264.      Move  --> - These options allow you to move the current BrainFile.
  265.      Entry Up - Moves one entry up. Identical to pressing the UP gadget.
  266.      Entry Down - Moves one entry down. Identical to pressing DOWN gadget.
  267.      Page Up - Moves one page (13 entries) up.
  268.      Page Down - Moves one page (13 entries) down.
  269.      Top - Moves to the top of the BrainFile.
  270.      Bottom - Moves to the bottom of the BrainFile.
  271.      Main Menu - Returns to the main menu.
  272.  
  273. PALETTE
  274.      The palette requester has several gadgets to enable you to set the
  275. colors of the screen. The colored squares at the top of the window let you
  276. select which color to work. Underneath these is a window-wide bar, which is
  277. filled with the current color and displays hex value of the color. Under
  278. this are six slider gadgets. The first three, R, G and B enable you to
  279. set the red, green and blue content of the current color. The next three,
  280. H, S and L, enable you to set the hue, saturation and luminance of the
  281. current color. Under these are six other gadgets.
  282.      -  COPY -  Copy the current color to the next selected color.
  283.      -  SPREAD - Evenly spread the colors between the current color and the
  284. next selected color.
  285.      -  RESET - Reset to the palette in use when the Palette Requester was
  286. first invoked. Also, pressing the ESCape key has this effect, so if you
  287. accidentally set all the colors to black, press ESC.
  288.      -  DEFAULT - Returns colors to their default settings.
  289.      -  OKAY - Accepts current color settings and exits palette requester.
  290.      -  CANCEL rejects color settings and exits the requester. Clicking the
  291. close gadget also has this effect.
  292.  
  293. ICONIFY
  294.      Iconify closes the ZeroVirus window and screen and opens a small
  295. window on the Workbench screen. ZeroVirus now behaves very much like the PD
  296. program VirusX. Unlike VirusX, however, it also contains a title bar clock
  297. and memory monitor. The current time is displayed (and updated) along with
  298. the amount of chip and fast memory available in the system.
  299.       When the iconified window first opens, all disks present are checked
  300. for viruses or non-standard bootblocks. If such are found, a requester
  301. appears, asking you if you wish to return to ZeroVirus. If the bootblock is
  302. a virus, you are not told which virus it is. You will find this out when you
  303. return to ZeroVirus. You are only notified if the bootblock is a virus, or
  304. if it is an unknown, non-standard bootblock.
  305.      After all disks are checked, the clock starts and continues updating.
  306. Each time a disk is changed, it is automatically checked and the same
  307. procedure as above follows.
  308.      To return to ZeroVirus from the iconified window, activate the window
  309. and press the right mouse button. To exit ZeroVirus without returning to the
  310. main program, click the close gadget.
  311.      If, from the CLI, ZeroVirus is run with the "-i" option, that is:
  312.  
  313. ZeroVirus -i  (press Return)
  314.  
  315. . . .it will start up in the iconified mode.
  316.      You may also, from the CLI, specify the x and y locations of the
  317. iconified window:
  318.  
  319. ZeroVirus -xnum1 -ynum2  (press Return)
  320.  
  321. .  . . will set the left edge of the window to num1, and top edge to num2.
  322. You may use -i, -x and -y in any order, and they are all optional.
  323.  
  324. ABOUT
  325.      ZeroVirus is NOT public domain. It is under NO circumstances to be
  326. sold or included on any product for profit without prior permission from me.
  327.      ZeroVirus may be copied and used freely. A $25 donation will get you
  328. the latest version of program and BrainFile, a printed manual that is much
  329. more detailed than these instructions, and a satisfied conscience.
  330.      Also, if you have any comments or bug reports, or find any new viruses,
  331. please send them to me.
  332.      It is an easy program to use. I hope it becomes a program you use
  333. regularly to guard against the battery of viruses on the Amiga. If programs
  334. like this are used regularly by everyone, viruses on the Amiga could one day
  335. become a thing of the past.
  336.      To contact the author, write Jonathan Potter, 3 William St., Clarence
  337. Park S.A. 5034, Australia. Phone (08) 2932788.
  338.  
  339. END OF TEXT
  340.