Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


August 18, 2003

Access Denied: Using Passwords with Kerberos

RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In upgrading the last of our pre­Windows 2000 computers for security reasons, we want to address the cracking of user passwords by possible eavesdroppers on the network who could sniff and crack Windows NT LAN Manager (NTLM) authentication packets. In a pure Win2K network that uses Active Directory (AD) domain accounts, Kerberos replaces NTLM to eliminate the risks associated with NTLM authentication. However, someone claimed that Kerberos is also vulnerable to sniffing and subsequent cracking. Is that true? If it is, how can we avoid the problem?

Any protocol can be sniffed. Kerberos's overall design and use of encryption and hashing technology makes it less vulnerable than NTLM to sniffing. However, Kerberos ultimately bases its ticket encryption on the security principal's key (i.e., the user's password), so weak passwords expose Kerberos to cracking.

Kerberos-cracking software is readily available on the Internet. Arne Vidstrom's KerbCrack, for example, uses a word list and brute force to provide sniffing and cracking functionality. KerbCrack can process a word list in a few seconds and a brute-force attack that uses a restricted character set in a matter of hours. As long as we use passwords, we'll need to keep them complex and avoid the use of words or other simple patterns. A fully switched network reduces the risk of someone capturing Kerberos credentials from a network drop, but switches can be tricked into rerouting traffic, and switches don't prevent network administrators from sniffing Kerberos or any other traffic from the switch itself.

If your company is willing to deploy smart cards, you can eliminate passwords from your AD domain. When a user authenticates through a smart card, Win2K automatically switches to PKINIT mode. PKINIT is a Kerberos extension that bases initial authentication on the certificate for the user whose private key is stored on the smart card. It protects all Kerberos exchanges with at least 128 bits of entropy and effectively eliminates cracking risks from today's technology.

If smart cards aren't an option, you'll need to rely on written and configured policies. Require a password at least seven characters long, and require complex passwords (e.g., passwords that include characters from at least three of four character sets—a­z, A­Z, 0­9, symbols). You can configure both these options in the Default Domain Policy Group Policy Object's (GPO's) Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy folder. If you use this configuration, an attacker who has a 1.5GHz Pentium processor would need as much as a year to brute force every possible character set. If you bump the password to eight characters that come from the a­z, A­Z, and 0­9 character sets, an attacker with 1 processor could spend as many as 67 years cracking the password; someone with 100 processors at his or her disposal 24 x 7 could spend as long as 8 months.

Lockout policy provides no protection for offline cracking attacks, but having a good password policy and requiring password changes every few months helps you defend against cracking attempts. For example, if you require passwords to consist of at least seven characters drawn from the a­z, A­Z, and 0­9 character sets and require users to change their passwords every 60 days, the passwords would change before the attacker had worked through a quarter of the problem set. In conjunction with your domain's password policy, get management to back a written password policy that addresses the need for hard-to-guess passwords. Until you can upgrade everyone's computer to Win2K or later, you might want to implement NTLMv2—a "bandage" for NTLM that strengthens network authentication and defeats the current version of @stake's L0phtCrack.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Windows 7 Sets Sales Record

Microsoft CEO Steve Ballmer described Windows 7's first ten days of sales as "fantastic" while in Japan yesterday. ...


Active Directory (AD) Whitepapers Meeting Compliance Objectives in SharePoint

Email Controls and Regulatory Compliance

Solving Desktop Management Challenges in Education

Related Events Troubleshooting Active Directory

Troubleshooting Group Policy, eLearning series

Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Check out our list of Free Email Newsletters!

Active Directory (AD) eBooks The Essentials Series: Active Directory 2008 Operations

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement