Q

How to use RAT security flaws to turn the table on attackers

Nick Lewis discusses how to learn from RAT security flaws not only for defense, but also to find out more about attackers via offensive security.

Two interns at Matasano Security exposed security flaws in some of the most widely used remote administration tools,

which can supposedly be used to defend against the attackers. Can you explain the RAT security flaws that were discovered and how they can be used for defense purposes?

Ask the Expert

Have questions about enterprise information security threats for expert Nick Lewis? Send them via email today! (All questions are anonymous.)

Remote administration tools (RATs), the common name for the broad category of software tools hackers develop and use for malicious purposes, are a potential weak link in enterprise security, regardless of whether any particular tool was designed for legitimate use or for use in an attack. The fact that some of the most widely used malicious RATs had security flaws is not a surprise, given the immaturity of the software development practices used by most attackers. Some RATs, like BackOrifice and Dameware, were created using more secure software development practices, and the quality of the tools typically reflect that, but for the most part, RATs are not developed using these more sophisticated practices.

The RAT security vulnerabilities discovered by the Matasano interns included SQL injection, unauthorized reading of arbitrary files, vulnerabilities in included third-party files and man-in-the-middle attacks. These attacks could allow an attacker to gain access to the system by exploiting a vulnerability in the RAT, allowing access to a potential new attacker.

Exploiting these vulnerabilities for defensive purposes on internal hosts owned by your enterprise and where your enterprise is responsible for the system is one potential option to remediate the system and defeat an attacker. However, to be clear, many would consider such a tactic to be "hacking back," and such aggressive methods of offensive security are at best highly controversial, and at worst illegal if performed against a system your enterprise doesn't own. A much better option is to use established support tools to remediate a system where one of the vulnerable RATs was installed without authorization. In such cases, the system would most likely be compromised, so you might still need to reimage the system after backing up its data.

This was first published in April 2013

Dig deeper on Security Testing and Ethical Hacking

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchCloudSecurity

SearchNetworking

SearchCIO

SearchConsumerization

SearchEnterpriseDesktop

SearchCloudComputing

ComputerWeekly

Close