home *** CD-ROM | disk | FTP | other *** search
- Virus Protection and 386 Extended Software
-
- Bill Davidsen
-
- Moderator of comp.binaries.ibm.pc
- The USEnet MS-DOS binaries exchange group
-
- Recently D. J. Delorie released a version of gcc (a free distribution
- C and C++ compiler) for MS-DOS. It allows anyone with a 386 or better
- CPU to compile and run programs using 32 bit integers, 128MB of real or
- virtual memory, and wonderful 256 color graphics if the hardware
- supports it.
-
- The problem is that this new power opens up a whole new field of
- capabilities for virus infection. None of the existing file scanning
- virus checking software knows about 32 bit code, or what may lurk
- therein; a virus, trojan, or the ghost of Elvis Presley. Moreover, since
- these programs take over the machine in protected mode, they have the
- theoretical possibility of running DOS as a subtask in virtual 86 mode
- (like Windows and QEMM). This could allow a virus fighting TSR program
- to remain totally ignorant of what is happening in the real machine.
-
- Where we are in March 1991
-
- At the moment I have not even heard of the first super virus. I am
- writing this as I prepare to post the first program which actually runs
- in the 386 protected mode other than the compiler itself. It seems that
- for the moment we are ahead of the forces of evil, if only for a moment.
-
- There are other programs which have been compiled using this compiler,
- and I hope to be posting some super new editing tools later this year.
-
- And where we may be going
-
- Since these protected mode programs are loaded and started by DOS,
- traditional virus fighting methods are effective against any virus which
- attaches itself to the program after creation. However, a virus which is
- either deliberately embedded in the program, or which manages to attach
- itself to the protected (32 bit) portion of the program would not be
- visible to current antiviral technology.
-
- Hopefully the sources of current antiviral software will look into
- this new technology and provide some new capability for the users. On
- the other hand, there are few people using this technology, so while the
- people doing virus fighting because they feel good about it might
- dedicate resources, or the person looking for a good thesis topic might,
- the commercial vendors may find the market is far too small to justify
- the effort. Perhaps the ability to boast of 32 bit protection will
- result in some developments in this area.
-
- Why use these programs at all?
-
- Since these programs allow you to use all of the memory in the machine
- and virtual memory on top of that, these programs not only can handle
- larger data structures, but in most cases run faster than the versions
- which run on lesser processors. In some cases up to four times faster,
- although twice as fast is more typical.
-
- Another reason for using this compiler is that it's free, in these
- days of software dealers offering home equity loans for major
- applications. You can upgrade your old 286 system with a new motherboard
- for less than the street price of the top of the line compilers, and get
- better performance and freedom from memory models, too.
-
- How to protect yourself
-
- Right now the only way to protect yourself is to compile from source,
- not as hard as it might be, since the license for the DOS extender
- requires source availability in most cases. Alternatively, know your
- source! Established and well run bulletin board systems, major
- networks, or information services take the time to test software before
- posting.
-
- The other thing to look for is the match between the software and the
- use of protected mode. Unless I compiled it from source I wouldn't run
- a command line editor or other small program on a bet if it used
- protected mode, because these programs are traditionally tiny and use
- only a few K. Games and utilities? Let someone else try them for you,
- because these programs shouldn't need huge data memory to run, and the
- code was small enough to download, right?
-
-
- Copyright 1991 by Bill Davidsen, all rights reserved. This information
- may be distributed complete and unmodified by anyone, but redistribution
- may not be restricted. For other use please contact:
-
- Bill Davidsen
- Box 85
- Rexford NY 12148-0085
- davidsen@sixhub.UUCP
-