Understanding Computer Attacks
There are many ways to divide up the types of computer attacks, but perhaps the
It's that outside world that you must worry about most. In a world—and Internet—filled with millions upon millions of people, some percentage (usually small) will be evil. The Internet makes it possible for machines to connect on a vast scale, and any single machine can be attacked by people located
This situation is not a result of malicious users lying in wait for your IP address to do something interesting. Instead, canny virus writers have created worms that exploit a vulnerability, take control of a machine, and then spread it to other machines around them. As a result, more attacks today are the result of these autohacking tools. There are really only a handful of the truly evil out there; however, as with most human endeavors, if you're really the target of someone's attack, you probably cannot prevent it without a massive effort.
Scripts come in another flavor as well: prewritten code that exploits a vulnerability and gives its users special privileges on the compromised machine. These scripts are rarely used by their
Your job as a system administrator is to keep your computers and local networks from being compromised by worms, script kiddies, and the more serious attacks
Regardless of the source of the attack, you can follow a
You'll learn more about each step in the following sections. You must implement all the steps. |
Assessing Your VulnerabilityIt is a common mistake for people to assume that switching on a firewall makes them safe. Although there's no question that switching on a firewall is an important step to take, it is not a solution and never has been. Each system has distinct security needs, and taking the time to customize its security layout will give you maximum protection and best performance. Following are the most common security mistakes people make:
After you have
The best way to find answers to these questions is through the
Nmap
networking utility. This little tool will scan the ports of any machine on your network, or all of them, and tell you which ones are open at that moment. Any service you have installed that responds to
Nmap
's query is pointed out, and you may, in
SUSE Linux does not install
Nmap
by default, but you can install the command-line version and a GUI front-end called
Nmap-gtk
through YaST. Other GUIs are available at the Nmap website, http://www.
Although you can use the shell version, it is much easier to configure and see the results of Nmap 's work in the GUI (Figure 23.1). It is also better to run Nmap as the SuperUser, because you will get more information that way. To launch Nmap-gtk , log in as the SuperUser and type xnmap & .
Figure 23.1.
Nmap
|