next up previous
Next: Sniffing Network Traffic Up: How can I reduce Previous: Writing Scripts

Minimising Damage

As well as preventing exploit it's worth ensuring that if your machine is exploited the cracker can do as little damage as possible: avoid running processes with unnecessary privilege and try to split things into compartments - for example don't run all services as `nobody' because that way cracking one service can lead to control over the other services that are running. Instead try to run different services each as their own user.

As I've already said, the best way to minimize the risk is not to run the service at all!

The same principle applies not only to the services you run but also software you run. When you run Netscape each page you download comes from an untrusted third party and could contain code to try and exploit bugs Netscape - and there have been many examples of such bugs. Of course you may feel you can't get on without Netscape, so you have to try to minimize the risks:

Some good Not doing things as root/administrator:


next up previous
Next: Sniffing Network Traffic Up: How can I reduce Previous: Writing Scripts
Stephen White
2001-01-16