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.

Infrastructure Security

3/7/2019
06:00 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

InfoSec Community Excited as NSA Releases Ghidra 9.0 to the Public

At the RSA Conference in San Francisco this week, the National Security Agency released to the public one of its internal tools, Ghidra 9.0, which is used for software reverse engineering. The NSA has been using it internally for a decade.

At the RSA Conference in San Francisco this week, the National Security Agency released to the public one of its internal tools, Ghidra 9.0, which is used for software reverse engineering. The NSA has been using it internally for a decade.

Reverse engineering software changes the ones and zeros computers understand back into a human-readable structure. The point is to show what that clump of binary code actually does.

It is currently available at the official website, along with supporting documentation. NSA says that it will release the source code under an open source license on GitHub.

Ghidra is written in Java, and requires 4 GB RAM along with 1 GB storage for installed Ghidra binaries. It works on Windows, Mac and Linux.

It will work on the following processors at the moment: X86 16/32/64, ARM/AARCH64, PowerPC 32/64, VLE, MIPS 16/32/64,micro, 68xxx, Java/DEX bytecode, PA-RISC, PIC 12/16/17/18/24, Sparc 32/64, CR16C, Z80, 6502, 8051, MSP430, AVR8 and AVR32.

Ghidra is developed and tested against the OpenJDK (Java development kit) that is distributed from jdk.java.net. The NSA says that using this OpenJDK distribution gives the most stable experience. Ghidra is a direct competitor to IDA Pro, a commercial program that has required usage fees in the thousands of dollars per year besides having an intrusive buyer qualification process. IDA -- which has a debugger not yet present in Ghidra -- has been the only real game in town until now. Yet, Ghidra supports MIPS (Microprocessor without Interlocked Pipelined Stages) decompiling for RISC computers which IDA Pro does not.

Response to the release by the infosec community as expressed on Twitter, has been overwhelmingly positive.

Maddie Stone, who reverse engineers for Google, was positively giddy there. "Ghidra's out and we've got those ARM proc modules, the UNDO button, and the ability to collaborate on analysis... for FREE!" she said.

The Undo/redo functionality seems to be a particular favorite of many. It allows someone to try out an idea without messing up what they have previously saved.

Of course, the community came up with an initial bug. A London-based hacker found what could be a way to backdoor the tool. "Ghidra opens up JDWP in debug mode listening on port 18001, you can use it to execute code remotely," he said on Twitter.

But, this behavior seems to be a condition that only happens in debug mode. It does not happen when Ghidra is in normal mode. It can be easily fixed by changing one line of code as well.

The NSA has previously made tools available to the public through its Technology Transfer Program (TTP). Security-Enhanced Linux and Security-Enhanced Android are but two of the examples.

Having Ghidra available to the public at no cost may well be a decisive marker in cybersecurity defense. This will widely distribute a professional quality analytic tool that gives the community a way to fight back at attacks by understanding them.

This isn't done yet, not by a long shot.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/25/2020
9 Tips to Prepare for the Future of Cloud & Network Security
Kelly Sheridan, Staff Editor, Dark Reading,  9/28/2020
Attacker Dwell Time: Ransomware's Most Important Metric
Ricardo Villadiego, Founder and CEO of Lumu,  9/30/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-20902
PUBLISHED: 2020-10-01
Upgrading Crowd via XML Data Transfer can reactivate a disabled user from OpenLDAP. The affected versions are from before version 3.4.6 and from 3.5.0 before 3.5.1.
CVE-2019-20903
PUBLISHED: 2020-10-01
The hyperlinks functionality in atlaskit/editor-core in before version 113.1.5 allows remote attackers to inject arbitrary HTML or JavaScript via a Cross-Site Scripting (XSS) vulnerability in link targets.
CVE-2020-25288
PUBLISHED: 2020-09-30
An issue was discovered in MantisBT before 2.24.3. When editing an Issue in a Project where a Custom Field with a crafted Regular Expression property is used, improper escaping of the corresponding form input's pattern attribute allows HTML injection and, if CSP settings permit, execution of arbitra...
CVE-2020-25781
PUBLISHED: 2020-09-30
An issue was discovered in file_download.php in MantisBT before 2.24.3. Users without access to view private issue notes are able to download the (supposedly private) attachments linked to these notes by accessing the corresponding file download URL directly.
CVE-2020-25830
PUBLISHED: 2020-09-30
An issue was discovered in MantisBT before 2.24.3. Improper escaping of a custom field's name allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript when attempting to update said custom field via bug_actiongroup_page.php.