[comp.sys.ibm.pc] HD 'Trojan' Protector

mike2@lcuxa.UUCP (02/12/87)

		[munch, munch]

I was given the following gem recently, apparently from a bulletin
board.  It obviously will not protect against the more subtle time
bombs that seem to show up occasionally (i.e., those that wait for
some time before doing us in), but it appears to be totally effective
against the trojans that will immediately erase/reformat the hard
disk.  What it does is to totally block access to the hard disk.  When
run, there is no hard disk on the computer, so far as it is concerned.
I thought I'd share it with you.

-----------------------------CUT HERE-------------------------------

#! /bin/sh
# This is a shell archive, meaning:
# 1.  Remove everything above the #! /bin/sh line.
# 2.  Save the resulting text in a file
# 3.  Execute the file with /bin/sh (not csh) to create the files:
#
#		hardoff.doc
#		hardoff.uu
#
# Created by  () on Thu Feb 12 09:16:21 EST 1987
#
if test -f 'hardoff.doc'
then
	echo shar: will not over-write existing file "'hardoff.doc'"
else
echo extracting "'hardoff.doc'"
sed 's/^X//' >hardoff.doc <<'SHAR_EOF'
X        [[  [[    [[    [[[[[[  [[[[[             [[[   [[[[[[[ [[[[[[[
X        [[  [[   [[[[    [[  [[  [[ [[           [[ [[   [[   [  [[   [
X        [[  [[  [[  [[   [[  [[  [[  [[         [[   [[  [[ [    [[ [
X        [[[[[[  [[  [[   [[[[[   [[  [[         [[   [[  [[[[    [[[[
X        [[  [[  [[[[[[   [[ [[   [[  [[         [[   [[  [[ [    [[ [
X        [[  [[  [[  [[   [[  [[  [[ [[           [[ [[   [[      [[
X        [[  [[  [[  [[  [[[  [[ [[[[[             [[[   [[[[    [[[[
X
X
XThis utility program is great for avoiding the dangers of those TROJAN HORSE
Xprograms that we BBS users live in fear of.  When you run HARDOFF.COM, your
Xhard disk is temporarily turned off (inacessible).  Also hardoff.com creates
Xanother program called hardon.com.  Running this turns your hard drive back
Xon.
X
XWhen your hard disk is turned off, you can feel at ease running any
Xdownloaded software from your floppy disks knowing that no reading or writing
Xto C: drive can occur.
X
XNOTE : HARDOFF.COM & HARDON.COM MUST BE RUN FROM THE FLOPPY DISKS.  If by
X       chance you have a problem, simply reboot your machine and the lock
X       will be removed.
X
XMetal Man 10/09/86
X
SHAR_EOF
if test 1192 -ne "`wc -c < 'hardoff.doc'`"
then
	echo shar: error transmitting "'hardoff.doc'" '(should have been 1192 characters)'
fi
fi
if test -f 'hardoff.uu'
then
	echo shar: will not over-write existing file "'hardoff.uu'"
else
echo extracting "'hardoff.uu'"
sed 's/^X//' >hardoff.uu <<'SHAR_EOF'
Xbegin 600 hardoff.com
XMZS20ZP0`````N00`N```CL"_3`"^`@'SI.L+:&%R9&]N+F-O;0"Z&`&X`4.Q
XM`,TAM$'-(<T@NAL!N0$`M#S-(8O8L3.Z`P&T0,TAL0"Z`@"X`$+-(;@``+$$
XFCMBR3+1`S2&X``".P([8_+$$O@`!OTP`K*KB_+0^S2'-(`````#-
X`
Xend
SHAR_EOF
if test 206 -ne "`wc -c < 'hardoff.uu'`"
then
	echo shar: error transmitting "'hardoff.uu'" '(should have been 206 characters)'
fi
fi
# end of shell archive
exit 0
 -----

No warranties whatsoever, express or implied.  I'm sending it as I
received it .........