Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Perimeter

9/28/2009
06:43 PM
John H. Sawyer
John H. Sawyer
Commentary
50%
50%

Metasploit Adds Exploit For Unpatched Windows SMBv2 Bug

The upcoming stable release of Metasploit Framework version 3.3 is brimming with awesome new features that will make a lot of penetration testers happy. New features include the ability to take screenshots of exploited systems, while others add raw power, like being able to exploit the unpatched SMBv2 vulnerability in Windows Vista and Server 2008.

The upcoming stable release of Metasploit Framework version 3.3 is brimming with awesome new features that will make a lot of penetration testers happy. New features include the ability to take screenshots of exploited systems, while others add raw power, like being able to exploit the unpatched SMBv2 vulnerability in Windows Vista and Server 2008.We've all heard the saying, "A picture is worth a thousand words," and in the world of penetration testing, that still holds true. There's nothing like being able to include in the final report a screenshot of the CEO's desktop while he was playing Solitaire, or a screenshot of the CFO's desktop with Excel open showing the monthly production numbers.

In Metasploit Framework version 3.3, a new feature of the Windows Meterpreter payload allows screenshots. While you may think that having the ability to take screenshots of a remote machine isn't a big deal, you'd be surprised about just how useful it can be; you never know what juicy info might be on-screen while you have access. One example I've heard was a pen test in which a network administrator's system was compromised and a spreadsheet was opened with IP addresses and passwords to all the network equipment. (I've never been quite that lucky.)

Something that HD Moore, founder of the Metasploit Project, mentions in his blog post this morning about the screenshot process is that meterpreter must be loaded in a process that has access to the active desktop such as "explore.exe." When I was testing earlier today, it was something I forgot about when exploiting a Windows 2008 server that had no logged on users -- there was no desktop to take a screenshot of. It worked fine, however, on a Windows Vista system with someone actively logged on.

Speaking of Windows 2008 Server, there is a new, highly anticipated exploit for the SMBv2 vulnerability that works on Windows Vista Service Pack 1 and 2, and Windows Server 2008 Service Pack 1 and 2. It works great and was the exploit tested when trying out the screenshot function above. It worked against both versions of Windows that are fully patched according to Microsoft Update, and I was able to get a remote command prompt on each.

I don't know about you, but I'm excited about the new SMBv2 exploit. Just 20 days after Microsoft issued Security Advisory 975497, there is an exploit in the free, open source Metasploit Framework that works like a charm. But you don't have anything to worry about, right? You're employing firewall rules that follow best practices by blocking inbound TCP port 135 and 445, which just happens to be one of the workarounds discussed in the Microsoft Security Advisory.

Think again. Remember my post about a client-side attack using Metasploit? Follow those exact same steps, but replace steps 3 to 5 with "Exploit MS Active Directory Domain Controller with SMBv2 Exploit," and you've got GAME OVER!

As HD said, "Voila! A great way to justify disabling SMB2 across your network." Now, get to rolling out the Group Policy to disable SMBv2 (if you haven't already).

Take a look at the Metasploit blog for more information about the new features and when the stable release will released. For those using the version within Subversion, many of the features are already there.

John H. Sawyer is a senior security engineer on the IT Security Team at the University of Florida. The views and opinions expressed in this blog are his own and do not represent the views and opinions of the UF IT Security Team or the University of Florida. When John's not fighting flaming, malware-infested machines or performing autopsies on blitzed boxes, he can usually be found hanging with his family, bouncing a baby on one knee and balancing a laptop on the other. Special to Dark Reading.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Zero-Factor Authentication: Owning Our Data
Nick Selby, Chief Security Officer at Paxos Trust Company,  2/19/2020
44% of Security Threats Start in the Cloud
Kelly Sheridan, Staff Editor, Dark Reading,  2/19/2020
Firms Improve Threat Detection but Face Increasingly Disruptive Attacks
Robert Lemos, Contributing Writer,  2/20/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
6 Emerging Cyber Threats That Enterprises Face in 2020
This Tech Digest gives an in-depth look at six emerging cyber threats that enterprises could face in 2020. Download your copy today!
Flash Poll
How Enterprises Are Developing and Maintaining Secure Applications
How Enterprises Are Developing and Maintaining Secure Applications
The concept of application security is well known, but application security testing and remediation processes remain unbalanced. Most organizations are confident in their approach to AppSec, although others seem to have no approach at all. Read this report to find out more.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-9351
PUBLISHED: 2020-02-23
An issue was discovered in SmartClient 12.0. If an unauthenticated attacker makes a POST request to /tools/developerConsoleOperations.jsp or /isomorphic/IDACall with malformed XML data in the _transaction parameter, the server replies with a verbose error showing where the application resides (the a...
CVE-2020-9352
PUBLISHED: 2020-02-23
An issue was discovered in SmartClient 12.0. Unauthenticated exploitation of blind XXE can occur in the downloadWSDL feature by sending a POST request to /tools/developerConsoleOperations.jsp with a valid payload in the _transaction parameter.
CVE-2020-9353
PUBLISHED: 2020-02-23
An issue was discovered in SmartClient 12.0. The Remote Procedure Call (RPC) loadFile provided by the console functionality on the /tools/developerConsoleOperations.jsp (or /isomorphic/IDACall) URL is affected by unauthenticated Local File Inclusion via directory-traversal sequences in the elem XML ...
CVE-2020-9354
PUBLISHED: 2020-02-23
An issue was discovered in SmartClient 12.0. The Remote Procedure Call (RPC) saveFile provided by the console functionality on the /tools/developerConsoleOperations.jsp (or /isomorphic/IDACall) URL allows an unauthenticated attacker to overwrite files via vectors involving an XML comment and /.. pat...
CVE-2020-9355
PUBLISHED: 2020-02-23
danfruehauf NetworkManager-ssh before 1.2.11 allows privilege escalation because extra options are mishandled.