Scanning and Reviewing your LAN Regularly

A starting guide and some useful tools.

Scanning and reviewing your network on a regular basis can provide you with important information, not only to locate security problems, but know (at least to some extent) when you don't have problems.

Getting started can often be intimidating, due to the large and complex nature of most products out there that perform security scanning. Taking a simple walk before you can run approach is often best. Your goal is to give yourself baseline knowledge of what is running on your network and where, as well as to get yourself a documented procedure in place stating what you do run and how often to obtain this knowledge. Having such a thing in place goes a long way in terms of answering questions about your network, or your network's security.

In all cases, pick something and run it on a regular basis. You may not have time to learn the most sophisticated tools at first, so start simple. Document what you are running, how often you are running it, and what you do to notice and react to what you see.

Make sure what you see makes sense. If you run a port scan, or vulnerability scan over your network, you should see the servers you know about showing up as servers. If a desktop machine shows up running server software, investigate! does it make sense to be running this there?

Notice changes. If a new server crops up, does this make sense? did you or someone else install a real server there, or has something been compromised. Are large amounts of network traffic to be expected from particular machines, or not.

When you notice a change, investigate and react to it.

Your goal is not to find as many problems as possible, your goal is to firstly, familiarize yourself with the "picture" of your environment the tools you run paint for you. Once you have done that, your goal is to notice when the picture changes. With this in place and this procedure documented you have something which can be used when you are asked questions like "How do you know XXXX is or is not happening on the network" - you pull out your documentation of the tools you are using, their output and your procedure for reviewing the output and changes in it on a regular basis.

It is far more important to do regular basic scanning and document what you do, and how you react, than it is to perform the most detailed vulnerability scanning available. Below are some of the most common available tools that can do the job for you if you familiarize yourself with them. This list is far from exhaustive, but rather a list of the most commonly used tools and tools we in CNS use for these purposes.

Network Scanning Tools

Traffic Monitoring

In addition to the netuse.cns.ualberta.ca traffic page, its helpful to regularly monitor the traffic going on and off your network. If you lan uses managed switches, you may be able to obtain statistics on a regular basis directly from the switch on a port by port basis. Alternatively, or in addition to this, you can install a host to monitor inbound and outbound traffic to and from your network.

Wireless Scanning

More and more you may need to be aware of what wireless connectivity is available in your area, both to ensure that any your provide is working correctly, and to ensure that rogue access points aren't being used or bridged onto your network. Regular use of a tool such as below will enable you know when new wireless access shows up:

Password Cracking and Sniffing

If you run your own authentication source, you probably should have something running on a regular basis to both look for poorly chosen passwords, as well as watching for password exposure. Be sure to document where you are running such a thing, why, and what you do when you find an exposed or poor password. When running such tools you should make sure that persons of responsible authority in your area are aware that you are running them and know why.

Host tools

The standard Virus Detection and prevention software toolkits for windows should always be considered. Use what comes with your anti-virus software. however, some more generic tools exist.

These tools are often useful when you want to know why a machine is doing what it's doing. Usually, you will want to download these tools and run them on a machine that you know what it is doing, so you gain the ability to recognize what to expect and what processes are normal.