Attacks/Breaches

12/13/2017
08:20 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Malware Decompiler Tool Goes Open Source

Avast's RetDec machine-code decompiler now available for free on Github.

Anti-malware vendor Avast has donated its homegrown malware decompiler tool to the open-source community.

Avast's RetDec basically converts a piece of malware into a higher-level programming language and helps malware analysts unmask the inner workings and functions of its code. "It turns it into something that looks like the original source code," says Jakub Kroustek, threat lab team lead at Avast. "It's much easier" and more efficient to sleuth just what the malware can do when it's decompiled, he notes.

"We're facing millions of new samples of malware each day. We're not deeply analyzing all of them, but by using decompilation we can handle some" more closely and quickly, says Kroustek, founder of the tool.

Researchers at Avast used the tool to decompile ransomware strains including Apocalypse, BadBlock, Bart, CrySIS, and TeslaCrypt, and then offer free decryption tools for the ransomware.

Decompiler tools provide static analysis of code, where researchers don't actually run the code but instead study it, up close. Dynamic analysis is another method, where a researcher executes malicious code in the safety of a sandbox environment to study how it runs in action. "Sometimes it's right to use a sandbox, and other times it's beneficial to use a decompiler," he says. "In my case, I usually use both. When you're fighting bad guys, you trying using every leverage" you can, he says.

RetDec was first created in 2011 by researchers at the Czech Republic's Brno University of Technology and AVG Technologies, and the tool became Avast's last year after it acquired AVG. Kroustek says Avast hopes to get other security experts to help further its development as an open source tool, which is aimed at researchers and reverse-engineers.  

Decompilation tools are nothing new. There are commercial products, which can be pricey and limited in customization, Kroustek says, while there are other open-source decompiler tools such as DCC, Boomerang, and Snowman, for example.

"While good decompilation tools are available that deliver good results, many are paid products, however, these cannot be easily extended with custom features," he says. "On the other hand, users can utilize existing, free, open-source decompilers, but these do not always achieve proper stability, code readability and quality."

John Bambanek, threat systems manager with Fidelis Cybersecurity, who also teaches at the University of Illinois at Urbana-Champaign, says an open-source decompiler such as Avast's can be especially helpful for academia. "I have limited funds and buying a bunch of IDA [Hex-Rays decompiler product] seats isn't going to happen. With something open-source, assuming it can get the job done, [the tool can] "provide a great resource for me to produce more reverse engineers," he says.

Avast says the now open-source tool works on multiple architectures, file formats, and operating systems, and can be used for more than decompilation, too. It uses C and Python-type language for output, and runs on Linux and Windows platforms. RetDec source code and related tools are available now on GitHub, under an MIT license.

"If someone isn't focused on decompilers, he or she can just use the libraries for detection of particular patterns" in the malware, for example, Kroustek says.

Related Content:

Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
REISEN1955
50%
50%
REISEN1955,
User Rank: Ninja
12/15/2017 | 8:29:48 AM
Shareware
Had to laugh at this --- when malware scripting tools show up as shareware (anybody here remember a wonderful catalog PUBLIC BRAND SOFTWARE ) then we are ALL in trouble. 
White House Cybersecurity Strategy at a Crossroads
Kelly Jackson Higgins, Executive Editor at Dark Reading,  7/17/2018
The Fundamental Flaw in Security Awareness Programs
Ira Winkler, CISSP, President, Secure Mentem,  7/19/2018
Number of Retailers Impacted by Breaches Doubles
Ericka Chickowski, Contributing Writer, Dark Reading,  7/19/2018
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-1503
PUBLISHED: 2018-07-23
IBM WebSphere MQ 7.5, 8.0, and 9.0 could allow a remotely authenticated attacker to to send invalid or malformed headers that could cause messages to no longer be transmitted via the affected channel. IBM X-Force ID: 141339.
CVE-2018-1513
PUBLISHED: 2018-07-23
IBM Sterling B2B Integrator Standard Edition 5.2.0 through 5.2.6 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IB...
CVE-2018-6677
PUBLISHED: 2018-07-23
Directory Traversal vulnerability in the administrative user interface in McAfee Web Gateway (MWG) MWG 7.8.1.x allows authenticated administrator users to gain elevated privileges via unspecified vectors.
CVE-2018-6678
PUBLISHED: 2018-07-23
Configuration/Environment manipulation vulnerability in the administrative interface in McAfee Web Gateway (MWG) MWG 7.8.1.x allows authenticated administrator users to execute arbitrary commands via unspecified vectors.
CVE-2018-14512
PUBLISHED: 2018-07-23
An XSS vulnerability was discovered in WUZHI CMS 4.1.0. There is persistent XSS that allows remote attackers to inject arbitrary web script or HTML via the form[nickname] parameter to the index.php?m=core&f=set&v=sendmail URI. When the administrator accesses the "system settings - mail ...