![]() ![]() |
|||
|
|||
![]() |
WINDOWS PATCHING AND SECURITY Windows is a popular operating system on campus but sometimes poses some specific administrative challenges. This section identifies some of the more important ones for system administrators to focus on. For more information and some specific and step-by-step instructions, see also MSSG's recommendations. Security
Stay patched Patching your systems in a timely manner is probably the most important thing you can do to maintain secure, stable machines. This is true for any operating system, but Windows' pervasiveness makes it a prime target for abuse. Fortunately, modern Windows OS's make this easy by providing a built-in mechanism for automatically installing critical patches: the Automatic Updates service. At the very least, you should configure your machine to notify you when there are critical patches available and make sure these patches make it to the machines you manage. However, wherever possible, it is recommended that machines be configured to automatically download and install patches and reboot immediately if necessary. (Tip: 12pm-1pm may be an ideal time to schedule automatic updates to occur since machines are likely to be online but not in use.) For instructions on how to manually configure the Windows Automatic Update service, you may refer to MSSG's documentation. To automate the process, you may use Active Directory group policy (if your machines are part of a Windows domain) or possibly script it. If you wish to have complete control over which updates are applied and when, running your own Software Updates server in conjuction with Automatic Updates is also a possibility. Remember that computers are especially vulnerable while they are being set up for the first time. If you are not installing from a fully patched set of source files (like a Windows XP distribution folder with the latest service pack and hotfixes slipstreamed in), you need to take extra care that the machine is not compromised before setup is complete and all patches applied. In this scenario, you have a few options:
Maintain updated antivirus software The extensive presence of viruses and worms on the internet makes antivirus software an absolute necessity. Every machine connecting to the University network should therefore be running updated antivirus software. Fortunately, the University has a site license for McAfee antivirus software. Since this software is "available for free use by Rutgers faculty, staff, and students," it is easy to meet this requirement. Please see the University Software Portal for licensing details, download options, and configuration information. The University also offers a customized McAfee option nicknamed RADS: the Rutgers Antivirus Delivery System. This package takes all the guesswork out of antivirus protection by automatically providing regular and emergency definition file deployments and scanning schedules. It is the preferred method of protection on campus. Block unwanted traffic You can significantly reduce the surface area of attack on the workstations you manage by limiting the traffic they accept. There are several mechanisms for doing this. Host-based firewalls are a popular one, especially since the latest Windows operating systems have one built-in. With the advent of Windows XP SP2, the Windows Firewall (WF) is enabled by default. However, if you want to selectively allow some traffic (e.g., you want to manage your machines using Microsoft file sharing, WMI, or the Microsoft Management Console), there are a variety of mechanisms for managing WF settings. Besides Group Policy, the netsh command line tool is available for a scripting approach, or you can set the appropriate registry settings via script. See the Sample Scripts page for some ideas or read Microsoft's documentation. While the WF is a powerful tool, it has some limitations: it can not block outgoing traffic and offers no choice between the "block all except some" and "accept all except some" approaches to traffic filtering. If you desire more flexibility, or if you are still using Windows 2000 Professional, IPSec is another possibility. IPSec filters are not stateful (dynamic) but they allow for very flexible configurations and can control both incoming and outgoing traffic (useful, for instance, in slowing the spread of viruses or software that "phones home"). IPSec policies can be managed via Group Policy or by using the ipseccmd.exe command line tool from the XP Support Tools. (Windows 2000's corresponding tool is ipsecpol.exe.) The Sample Scripts page also has some ipseccmd.exe syntax examples. Note that IPSec and WF are not mutually exclusive: they can be used to complement each other. What if you are using a version of Windows that does not include IPSec filtering or a built-in firewall, or if you simply don't like these mechanisms? You'll have to use a third party utility like McAfee Desktop Firewall or Zone Alarm, both of which are available from the Software Portal. However, please note that the use of the latest operating systems is strongly recommended in most cases. Some useful links: Disable unnecessary services
A good starting point for deciding which services you can safely disable can be found here: These services might be good first candidates for disabling: Alerter, ClipBook, Error Reporting Service, NetMeeting, Remote Desktop Sharing, Performance Logs and Alerts, Portable Media Serial Number, Portable Media Serial Number Service, QoS RSVP, Smart Card, Smart Card Helper, SSDP Discovery Service, System Restore Service, Telnet, Uninterruptible Power Supply, Universal Plug and Play Device Host. Refer to the sample scripts section for a script that disables these services. Desktop Management A systematic approach to workstation configuration, deployment, and ongoing management is necessary to maintain an organized, controlled environment. Standardize!
Here are some examples of ways to approach standardization:
Lock it down
Therefore, wherever possible you should "lock down" the machines and withhold administrative access from the people who ordinarily use the machines. For those environments where it is politically troublesome to restrict users' rights, you can invoke the "best practices" explanation for why it is necessary: e.g., besides limiting "accidental" damage, computing in a restricted security context limits the damage that viruses and other malware can do. It also promotes a more stable and therefore reliable computing environment. Some recommenations for achieving and maintaining lock-down:
If you are not able to withhold administrative rights, you might still help maintain system stability by implementing various Group Policy settings. From a user's point of view, these are not easily modified (accidentally or otherwise) since they tend to override the more accessible graphical control panels. On XP Pro, try running gpedit.msc for some ideas. Automate
For instance, learn a scripting language like VBScript, JScript, or even just NT-style shell scripting, or use an installer product like InstallShield or InnoSetup (free) to create a customized set of changes that work without user intervention. Then deliver those "packages" to the machines with a professional management suite like ZENworks or SMS, or even more humble methods like the AT command line scheduler (at.exe), Task Scheduler (schtasks.exe), or WMI. See the Sample Scripts page for some examples. Resources for System Administrators
|
||
|
© 2005 Rutgers, The State University of New Jersey. All rights reserved. |
|||