Home > Enterprise Desktop Tips > > Null session attacks: Who's still vulnerable?
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Null session attacks: Who's still vulnerable?


Kevin Beaver
09.29.2004
Rating: -3.33- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


In part one of this two-part series below, Windows Security Threats site expert Kevin Beaver explains where and why null session vulnerabilities continue to run rampant. Part two will discuss solutions to prevent null session attacks.


Ever wonder what could be considered the biggest security vulnerability in Windows history? It's arguably the null session. There are hundreds of others, but this is truly an oldie but goodie. Null session attacks were all we heard about during Windows NT 4.0's heyday. But where does this vulnerability stand now? It's still running rampant throughout many Windows-based networks.

The problem
To bring you up to speed, null sessions are a type of Windows Server Message Block (SMB) communication that provides the foundation of network file and print sharing services. The null session vulnerability allows an attacker from across a network -- or the Internet -- to connect to an unsecured Windows system's IPC$ (interprocess communication) share.

A null session can be created by using the Windows net program to map a connection using a blank username and password. On Windows systems that are vulnerable, you simply have to enter:
net use \\ip_address\ipc$ "" "/user:" at a Windows command prompt.

Once a null session has been manually established (some tools can do this for you automatically), an attacker can use programs such as Winfo, Walksam, certain Windows Resource Kit tools and even the net program that's built into Windows to glean tons of information off a Windows system -- all without having to log in. Information that can be obtained includes user IDs, share names, security policy settings, users currently logged in and more. The Windows registry can even be tapped remotely with the right tools.

Good news, bad news
The good news is that, by default, Windows XP and Windows Server 2003 (excluding domain controllers) are not vulnerable to null session attacks. The bad news is that all (dare I say millions) of the Windows 2000 and NT systems still running are vulnerable to null session attacks unless they've been properly configured to keep this from happening. This leaves the door to a very large number of networks wide open -- just what the hackers want. Interestingly XP and Server 2003 can be tweaked by someone who knows just enough to do damage, making them vulnerable as well.

To this day, the null session issue poses a serious security threat. Patches won't fix the problem and most Windows hardening techniques don't even come close to keeping it from being exploited. Every network I've ever performed a security assessment on has contained both workstations and servers that are vulnerable to this attack. Fortunately, for Microsoft's shareholders and the information security cause, more and more systems are being upgraded to Windows XP and Server 2003 every month.

Click for part two to get help preventing null session attacks.


About the author
Kevin Beaver is founder and principal consultant of Atlanta-based Principle Logic LLC, as well as a resident expert on SearchWindowsSecurity.com. He specializes in information security assessments and incident response and is the author of the new book "Hacking for dummies" by John Wiley and Sons. Kevin can be reached at kbeaver@principlelogic.com or ask him a question on Windows security threats today.

For More Information

Get eight ways to protect Windows from perimeter threats

Ask expert Kevin Beaver your Windows security threats questions

Share your best practices for handling Windows vulnerabilities



Rate this Tip
To rate tips, you must be a member of SearchEnterpriseDesktop.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Network intrusion detection and prevention and malware removal
20 days to a more secure enterprise
Improvements to offline file synchronization in Windows 7
Underlying causes of inconsistent patch management
Windows security tools for the busy desktop administrator
Check IT List: Five steps for rootkit detection
Top Windows client security tools for end users
Hacking Exposed Windows: Windows security features and tools
Tools for virus removal and detection
Windows security testing: Five tips for the summer
Buffer overflows can be prevented by GS cookies

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Enterprise Desktop Security - Virus Protection, Malware Protection, Intrusion Detection
HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2008 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts