home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / trojanpr / dirtyd9c.arc / TRECOVER.DD < prev    next >
Text File  |  1989-12-16  |  7KB  |  138 lines

  1.  
  2. ------------------------------------------------------------------
  3. |                                                                |
  4. |                     TROJAN HORSE RECOVERY                      |
  5. |                                                                |
  6. ------------------------------------------------------------------
  7. |                                    Issue #9: December 17, 1989 |
  8. |                                    Revision Stage: C           |
  9. |                                                                |
  10. |   Written by Eric Newhouse                                     |
  11. ------------------------------------------------------------------
  12.  
  13.  While reading this, bear in mind that there is no better remedy
  14. for a drive that has run a trojan horse than a recent backup..
  15.  
  16.  AARGH!  Perhaps your hard disk sounds like a sick moose.  Perhaps
  17. your drive light starts flashing repeatedly, like a police car's
  18. lights.  Perhaps your drive just sits in the computer, and the
  19. computer doesn't acknowledge its presence.
  20.  
  21.  Having watched my drive crash many times, I can understand the
  22. frustration you will feel after your hard disk conks out.  While a
  23. faulty hard drive, disk controller, or cable can make these
  24. ailments uncurable without spending a lot of money, usually you
  25. CAN recover from a trojan horse with only investing a little time.
  26.  
  27.  After running a trojan horse, the first thing to do is calm down.
  28. Face the situation stoicly; it may prevent your hair from turning
  29. gray.  Diagnose the damage.  Was your [hard] drive formatted?
  30. Did the trojan scramble your FAT table?  Did it erase every file?
  31. Did it erase or format your [hard] drive's boot sector?  The odds
  32. are that the trojan incurred one of these four disasters..  After
  33. a successful diagnosis, you are ready to remedy the problem.
  34.  
  35.  
  36.     1)   If the trojan low-level formatted your [hard] disk:
  37.  
  38.          Hope that you have a recent backup; that's the only remedy
  39.         for this disease.
  40.  
  41.     2)   If the trojan high-level formatted your [hard] disk:
  42.  
  43.          In 1987 Paul Mace introduced a way to recover formatted
  44.         data.  Unfortunately, most programs can only recover
  45.         formatted data COMPLETELY if you run a "snapshot" program
  46.         right before the format.  The reason: DOS fragments large
  47.         files and without an accurate map of the formatted disk,
  48.         unformatters have problems dealing with such files.  You
  49.         will need one of these three programs to recover your disk
  50.         if the trojan formatted it:
  51.  
  52.           1. PC-Tools Deluxe           (Central Point, $79.95)
  53.           2. Mace+ Utilities/Gold      (Paul Mace $99.95)
  54.           3. Advanced Norton Utilities (Peter Norton, $150.00)
  55.               retail)
  56.  
  57.          There is at least one other program that can unformat
  58.         disks, but the name of it is slipping my mind.  As of this
  59.         printing, PC-Tools probably has the best unformatter.  It
  60.         can reputedly reconstruct formatted disks regardless of
  61.         the disk's state of fragmentation.  PC-Tools may not be
  62.         right for your other disk management needs, however, so
  63.         you should talk to a salesmen about these products before
  64.         making a purchase.
  65.  
  66.     3)   If the trojan scrambled your FAT table:
  67.  
  68.          Sector editors such as those included in the Norton
  69.         Utililites, PC-Tools, and a host of other popular utility
  70.         packages (not Mace+) allow experienced users to piece
  71.         their FAT backtogether from Gibberish.  This avenue of
  72.         recovery is only open to extremely proficient users,
  73.         however.  Everyone else, including myself, must rely on a
  74.         FAT backup program to provide a feeling of security.
  75.         DBACK10.ZIP (available on my board) will back up your FAT
  76.         table in under a minute to floppy.  DBACK makes FAT
  77.         backup easy and non time consuming.
  78.  
  79.     4)  If the trojan erased file(s), and the FAT table is
  80.         undamaged:
  81.  
  82.          There are many commercial and public domain packages
  83.         available that undelete deleted files.  Norton Utilities,
  84.         PC-Tools, MACE+, and UNDEL.COM will all do the job.  The
  85.         commercial products are all more reliable in undeleting,
  86.         but they are also more expensive that the Public-Domain
  87.         UNDEL.  Always undelete your most recent files first; that
  88.         is, undelete files in the order of last time written to
  89.         disk.  I know that PC-Tools and Mace automatically list
  90.         undeletable files in the correct order, but the other
  91.         two may not.
  92.  
  93.     5)  If the boot sector on your hard disk gets
  94.         erased/formatted:
  95.  
  96.          There are four things to do if this happens, and the
  97.         worst that can happen is that you will go without a hard
  98.         disk for a while.  Backup before proceeding with any of
  99.         the steps here, for you may have to destroy some files to
  100.         restore your hard disk to boot status.
  101.  
  102.           A)   Try doing a "SYS C:" (or "SYS A:") from your
  103.               original DOS disk. Then copy COMMAND.COM back onto
  104.               the hard drive.  If your hard drive still won't boot
  105.               then try step B.
  106.  
  107.           B)   If you have the MACE+ utilities go to the "other
  108.               utilities" section and "restore boot sector."  This
  109.               should do the job if you have been using MACE+
  110.               correctly.
  111.  
  112.           C)   If you are still stuck, BACK EVERYTHING UP and
  113.               proceed to do a low level format.  Instructions on
  114.               how to perform a low-level format should come with
  115.               your hard disk controller card.  Be sure to map out
  116.               bad sectors using either SCAV.COM by Chris Dunford
  117.               or by manually entering the locations of bad sectors
  118.               into the low level format program.  After the low
  119.               level format run FDISK.COM (it comes with DOS) to
  120.               create a DOS partition.  Refer to your DOS manual
  121.               for help in using FDISK.  Then put your original DOS
  122.               diskette in drive A: and type FORMAT <drive
  123.               letter>:/S/V.  <Drive letter> represents the letter
  124.               of the disk you are formatting.  Try rebooting
  125.               again.
  126.  
  127.           D)   If you are still stuck, either employ some
  128.               professional computer repairmen to fix your drive,
  129.               or live with a non-bootable hard drive..
  130.  
  131.  
  132.      Mace+/Gold, PC-Tools, and Norton's Utilities are all fine
  133. programs.  However, there's one more program worth mentioning, and
  134. that's SpinRite (tm) by Steve Gibson.  SpinRite advertises itself
  135. by saying that it prevents ALL hard disk crashes before they
  136. happen.  I don't have any experience with the program, but I know
  137. some colleagues who love it.  SpinRite may be worth a look.
  138.