home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
util
/
viru
/
013
/
hs.txt
< prev
next >
Wrap
Text File
|
1992-12-18
|
15KB
|
447 lines
HS v3.2, Boot Virus detection and repair
Contents
1. What is HS?
2. Why use this program?
3. Compatibility
4. Installation
5. Features
6. How good is HS?
7. Error messages, and other messages from HS.COM
8. Disclaimer, Licensing, Prices, Address
1. What is HS?
HS.COM is a small program written to protect against boot viruses.
It checks for differences in the boot sectors of your harddisk. It
will catch almost any boot virus, notify you of the virus, and
cold boot your machine after first having removed the virus. A copy
of the infected boot sector is stored for later examination.
I wrote the program because I couldn't find the virus protection
setup I wanted. My program executes in less than a second, and
generates no output to the screen, as long as no virus is detected.
You will no longer waste your time with boot virus infections!
2. Why use this program?
A) Very fast
B) Easy to install
C) Catches almost any boot virus
D) Small (less than 4 Kb.)
E) Works with stealth viruses
F) Automatic removal of detected viruses
G) Do not need to be upgraded often
H) Inexpensive
3. Compatibility
HS supports:
PC's and PS/2's
DOS 3.2 --> 6.0
DR-DOS 6.0
OS/2 2.0's Boot Manager
Windows NT's FlexBoot
(It will not work under OS/2 or Windows NT, but with their possibility
of booting more than one operating system! Like DOS & NT or DOS & OS/2.
So it is possible to use HS when booting DOS from these systems.)
4. Installation
1) Make sure your machine is virus free
2) Copy HS.COM to your harddisk
3) Run HS /M [Savefile]
Where Savefile is an optional filename for the file
containing a copy of the original Master Boot Record
and the DOS Boot Record of the active drive.
Default name for the Savefile is C:\BOOT.HS
4) Insert a line like:
path\HS.COM [Filename]
near the top of your C:\AUTOEXEC.BAT
Or, if you have DOS 4 or newer, a line like:
Install=path\HS.COM [Filename]
in your C:\CONFIG.SYS
5) Run the path\HS.COM [Savefile] from the command line to check
that everything works.
6) Reboot your machine to check that it boots without problems.
This is especially important if you try to invoke HS.COM from
your C:\CONFIG.SYS file. This will i.e. not work very well with
DR-DOS 6.0!
7) If everything works smoothly, without any error messages, you are
through with installing HS.
8) If there is a problem you can try to solve it by checking out
the explanation of the error messages, described later in this
document, or you can contact me by E-Mail. See end of document.
5. Features
*) /M [Savefile]
The /M option have to be used the first time you run HS, and
again each time you have repartioned your harddisk, or installed
a new version of any operating system you are running on your
computer. Like when you upgrade to a newer version of DOS.
*) When a difference in one of your boot sectors is found, HS will
assume it is a boot virus. It will notify the user, and ask for
a key press from the user as a confirmation that the user want to
get rid of the virus. It will cold boot the machine after having
removed the virus, aswell as dumped the infected boot sector to
the file C:\INF.HS.
*) At any time you can do a:
Type C:\INF.HS
to get information about past infections.
If no infections have occured since HS was installed on the
machine, no C:\INF.HS file will exist. The file contains a
header with time & date of detection, and type of infector
(MBR or DBR). Below the header are all the infected boot sectors
stored (Max. 13).
*) If you reach 13 infections you will be asked to insert a
write-enabled, and pre-formatted, diskette in drive a:, and the
file C:\INF.HS will be copied to the diskette, and removed from
your harddisk. A request, for you to send the diskette to me,
will appear on the screen. Then your machine will cold boot after
you have pressed a key. By sending me the diskette with the INF.HS
file, I will have a greater chance of improving my program.
However, most people will never reach 13 boot virus infections.
*) HS has only three components:
HS.COM ; The program
BOOT.HS [Savefile] ; Copy of the MBR/DBR
INF.HS ; Dump of infected boot sectors
*) HS uses only direct calls to the ROM disk BIOS, and never
interrupts, when reading the boot sectors on your harddisk.
Because a virus can trap interrupts and trick programs requesting
information about the contents of the sectors where the virus
resides. Direct calls to "Read Only Memory" can't possibly be
trapped by a virus, so HS should never be tricked by a stealth
virus.
*) The Savefile (C:\BOOT.HS by default) will always be checked for
validity, so if it is destroyed or tampered with, the user will
be notified, and HS will not try to use it.
*) If you forgot to disable HS in your C:\CONFIG.SYS or
C:\AUTOEXEC.BAT before you ran FDISK and made changes to the
partition table, HS will ask you if you just repartioned your
disk, and if you reply positive it will give you a chance to
boot from a certified virus free system diskette and update the
Savefile of HS by doing a HS/M [Savefile].
6. How good is HS?
HS v3.2 has successfully detected and removed all viruses I have
tested it against. I don't have all known boot viruses (far from it!),
so I can't claim a 100% detection, because it is not tested against
all known viruses, on all possible machines, running all possible
configurations. Also new viruses are created every day, so it is NOT
possible to prove a 100% detection of all viruses or, in this case,
100% detection of all boot viruses. But I don't know of any boot virus
that will not be successfully detected and removed by HS, and it
should be quite difficult to write a virus that bypasses it. However,
in theory, it is possible.
7. Error messages, and other messages from HS.COM
---
Unknown partition table format, aborting!
---
None of the four entries in the partition table is set active, making
it a non-standard format which HS will not try to handle.
---
Unknown DOS boot record format, aborting!
---
No IO.SYS or IBMBIO.COM filename was found in the boot sector. These filenames
are always present in MSDOS or PC-DOS boot sectors. If you use any other
boot sector, as Windows NT's FlexBoot or OS/2 2.0's Boot Manager does, HS will
try to make a valid Savefile anyway. This will fail if the double word at
offset 1F8h in the boot sector is non-zero.
---