|
|
NT Security, By the Book |
| Author: Stephen
Cobb Status: An earlier version of this article first appeared in Internet Advisor in 1997. This revised version features updated links. |
|
Several reader requests have presented a serious dilemma. You have asked for more information about securing Windows NT. The dilemma is: how do I cover all the important points of this broad and complex subject, within the confines of a magazine column, without neglecting the one thing that might save your network from penetration or abuse? My answer, for now at least, is to pass along my assessment of the available sources for more detailed information, while highlighting some of the more obvious steps you should be taking to tighten up NT (see the two lists in the sidebar and the three NT security books reviewed later in the columm). Out of the BoxA very basic point, but one which is all to often overlooked, is that NT is "not locked down out of the box, especially on Windows NT Workstation." These are Microsoft's words, not mine. They are important to note because one of the biggest NT security problems that I encounter does not arise from complex questions of hardware and software configuration. It is a matter of understanding, or lack thereof.NT security actually means many things to many people, depending on how they are using NT. For some offices NT means peer-to-peer networking with NT Workstation, among trusted colleagues whose main security concerns might be virus infections from downloaded files and attacks over the network's Internet connection. For some companies, NT Server is the main platform for multiple mission critical networks that must be protected from all manner of attacks, including insider abuse. In some cases, NT Server is the platform for the company's Web server, requiring a particular blend of security settings that allow restricted public access. Some offices decided to grow into NT from Windows for Workgroups, others opted to migrate to NT from Novell NetWare 3.x, yet others chose NT for a new network built from scratch. I have heard people cite the security of NT as a major factor in all three scenarios, frequently referring to its "Department of Defense C2 security" (C2 is a red herring to which I will return later). So it is worth repeating that NT is "not locked down out of the box, especially on Windows NT Workstation." The books, tips, and sources cited here will help you lock it down. NT Security BooksCharles B. Rutstein, the author of the NCSA Guide to Windows NT Security (McGraw-Hill, $34.95) is a leading systems security expert who has had, as a principal consultant with Price Waterhouse, a lot of practical experience with Windows NT. Charles was one of the first people that I know to finger NT as a serious enterprise platform. Consequently, he invested a lot of time in understanding its security architecture, which this book very clearly explains. His description of the basic NT security model will help you design and administer secure NT networks, minimizing data loss from system failures, and maximizing the security features of the Registry.One example is the Display Last Logged-on User setting. By default, Windows NT displays, in the logon dialog box, the username of the last user logged into the system. Charles notes that, while this is helpful for users, "This could, however, be a security risk in that the username of a valid user might be leaked to an intruder. Though such an intruder would still have to determine the corresponding password, it would be more secure to hide the name of the last user." In order to do so, he recommends setting the following registry key: HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\ Setting a value of 1 for this key will not permit the system to display the last user name. He also notes that this key can be set using the Microsoft C2 configuration utility within the Windows NT resource kit. Charles shows you how to protect files, printers, and user accounts, and solve problems with servers, workstations and popular NT add-ons. NT's auditing features are well-covered, as are the tricky issues of remote access with RAS. He describes how to use NT as an Internet host and assess the security of an existing NT system. Charles is both articulate and readable and he is no stranger to writing about security issues, having written and presented many papers on computer viruses. While this book is based on NT 3.51, almost all of the content applies directly to NT 4.0, making this a good choice for administrators working with both versions. Approaching the problem from a slightly different perspective, Tom Sheldon's Windows NT Security Handbook (Osborne McGraw-Hill, $34.99) is firmly rooted in the author's network design and management experience, which parallels that of many people who now find themselves charged with securing NT networks. Tom looks at security as a certified network engineer, who also happens to be a very good writer and teacher, with numerous networking books and seminars to his credit. While some security professionals, approaching the subject from a broad security perspective and viewing NT security as a narrow subset of a larger problem, might quibble with some of Tom's observations about security in general, there is no faulting his grasp of the subject. He takes you through the issues with the confidence that comes from practical experience and he speaks NT security in terms that NT administrators will readily understand. The book is very thorough and includes chapters on firewalls and NT web server security. The building blocks of security, such as public key encryption, are clearly explained and Appendix E makes a great security checklist for administrators. There is another good checklist in Windows NT Security Guide by Stephen A. Sutton (Addison-Wesley, $29.95). In fact, there is so much to learn about NT security that buying two, or even all three, of the books reviewed here, would not be overkill. With Sutton's book you get much more of the traditional system security perspective, including one of the best explications of the trusted computing base and government security evaluation that I have come across. If you ever wondered what C2 really means and why it is important, but not that important, this is the book to read. Sutton is president of Trusted Systems Services, an Illinois-based security consultancy which maintains a very helpful web site at www.trustedsystems.com. He approaches NT as "A time-worn veteran of high-end secure systems for the Defense community." For readers who share all or part of that background, this would be the NT security book to start with. But it also works as a text for the regular NT user who needs to be brought up to speed on security, and administrators looking to assess and review the security of their NT systems. Where to begin?To get started on securing your NT we suggest, in addition to the tips above, the following 10 items, some of which come from the white paper, "Windows NT Security Overview & Guidelines," the full text of which used to be available at www.microsoft.com.1. Legal Logon Warnings
To set this up assign the following Registry key values on the system to be protected (before editing the Registry be sure to back it up -- if you are not clear on how to do this, run and read regedit.hlp). You can also accomplish this particular task with the System Policy Editor in Windows NT 4.0 or the C2CONFIG.EXE program. Key: HKLM\SOFTWARE\Microsoft\Windows
NT\Current Version\Winlogon Key: HKLM\SOFTWARE\Microsoft\Windows
NT\Current Version\Winlogon 2. Don't Use Admin Accounts for General
Work 3. Rename the Administrator Account
4. Track a Dummy Administrator Account
5. Account Lockout on Administrator
Account PASSPROP /ADMINLOCKOUT Even if the Administrator account is locked out, it can still be used to logon interactively to any domain controller, which prevents total lockout of the system. 6. Log off Domain Controllers
7. The Guest Account
8. The Secure Attention Sequence
9. Logging Off and Locking Down
10. Do Not Rest Yet
a. Regularly check that all of NT's password control features have been implemented, including password strength, length, and freshness. b. Periodically check for and disable inactive user accounts. c. Be sure you are auditing failed and successful security events, such as login and logoff attempts, file and object access, use of user rights, account management, security policy changes, restart and shutdown, and process tracking. d. Keep the number of users with administrator privileges to a minimum. e. Regularly check trust relationships to make sure users in all domains are abiding by your security policy. Top 10 NT Security Resources1. Check www.microsoft.com/security/ on a regular basis and click on the Windows NT link in the "Information by Product" section.2. Read Microsoft's take on NT security
by downloading and viewing all 95 slides in the PowerPoint presentation
at: 3. Read the parallel whitepaper, "Securing Windows NT Installation" which can be seen at, or downloaded from, www.microsoft.com/workshop/prog/security/guidesecnt.htm 4. Join the relevant security mailing lists. Internet Security Systems has done the world a big favor by pulling together a bunch of list info at www.iss.net/vd/maillist.html. ISS hosts several lists including one called NT Security that is a "must read" for NT security administrators. However, you might want to start with the Digest version to prevent excessive mail volume. As with most lists it is a good idea to get a feel for the participants before posting your own messages to the list. 5. Visit www.somarsoft.com and read their NT security white paper, then download and use their DumpAcl product. 6. Check out the tools at www.securityserver.com/category/@winnt5.htm. 7. Check out the detailed analysis of password cracking issues, relative to reports of NT password hacking, at: www.osp.nl/infobase/ntpass.html 8. Read at least one of the books reviewed in the article and use its security checklist, plus the C2CONFIG.EXE program, that comes with the NT Resource Kit, to adjust security settings. 9. Read Microsoft's response to some NT security scares: www.microsoft.com/ntserver/info/securityupdate.htm 10. Check the updated list of NT vulnerabilities at www.infilsec.com And Even More Help Is Available:http://www.trustedsystems.com/NSAGuide.htm |
|
|
|
|
|
|