Slashdot Mirror


NSA Releases Ghidra, a Free Software Reverse Engineering Toolkit (zdnet.com)

An anonymous reader writes: At the RSA security conference this week, the National Security Agency released Ghidra, a free software reverse engineering tool that the agency had been using internally for well over a decade. The tool is ideal for software engineers, but will be especially useful for malware analysts first and foremost, being similar to other reverse engineering tools like IDA Pro, Hopper, HexRays, and others.

The NSA's general plan was to release Ghidra so security researchers can get used to working with it before applying for positions at the NSA or other government intelligence agencies with which the NSA has previously shared Ghidra in private. Ghidra is currently available for download only through its official website, but the NSA also plans to release its source code under an open source license in the coming future.


64 comments

  1. Translate machine code into language by XXongo · · Score: 1

    So, basically, this is google translate, but for software!

    1. Re: Translate machine code into language by Anonymous Coward · · Score: 0

      Shut up

    2. Re: Translate machine code into language by Anonymous Coward · · Score: 0

      Kek

    3. Re:Translate machine code into language by Anonymous Coward · · Score: 0

      In other words a reverse compiler like we've had available for decades?

  2. No thank you by Anonymous Coward · · Score: 0

    I don't want any software from the NSA. I'll run that North Korean Linux before I run anything from the NSA.

    1. Re:No thank you by Anonymous Coward · · Score: 0

      Even if the software was 100% clean and trustworthy, just clicking on that link would probably put you on some kind of list.

    2. Re:No thank you by Anonymous Coward · · Score: 0

      You are already running things from the NSA...

    3. Re:No thank you by Anonymous Coward · · Score: 0

      Seriously, where do people think SELinux came from?

    4. Re:No thank you by Anonymous Coward · · Score: 0

      I run a custom kernel with SE Linux disabled.

    5. Re: No thank you by Anonymous Coward · · Score: 0

      Yet, you willingly use a phone you know was made in China with special hacks n add ons they didnt advertise on the box.

      *eye roll*

    6. Re:No thank you by gweihir · · Score: 2

      Makes you stupid, but be my guest. You are hardly alone.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    7. Re:No thank you by Anonymous Coward · · Score: 0

      An Anonymous Coward cautioned:

      Even if the software was 100% clean and trustworthy, just clicking on that link would probably put you on some kind of list.

      A list of people who use VPNs ... ?

      (Posting as AC only so as not to undo prior upmods in this thread.)

      --

      Check out my novel ...

    8. Re:No thank you by AHuxley · · Score: 1

      Recall "NSA likely targets anybody who's 'Tor-curious'" https://www.cnet.com/news/nsa-... (July 3, 2014)

      --
      Domestic spying is now "Benign Information Gathering"
    9. Re: No thank you by Anonymous Coward · · Score: 0

      Makes him "stupid" in your opinion only. And nobody cares about your opinion, it's worth the price you charge for it.

    10. Re:No thank you by Anonymous Coward · · Score: 0

      like SE linuX

    11. Re:No thank you by Anonymous Coward · · Score: 0

      Then you're not running ANY linux, or any windows for that matter.

      CAPTCHA: reality

  3. Q!!!!! by Anonymous Coward · · Score: 0

    Q sent me!!!!!!!

  4. Is it Open Source? by 3seas · · Score: 2

    Wait till it is, otherwise no telling what it contains unless you use it to revers engineer itself.

    1. Re:Is it Open Source? by Anonymous Coward · · Score: 1

      https://ghidra-sre.org/ghidra_9.0_PUBLIC_20190228.zip

      direct download link, fwiw...

      it's only 272MB.

      what could possibly go wrong.

      captcha : intercom

    2. Re:Is it Open Source? by PPH · · Score: 1

      Is that source or a binary? Does it run on Linux?

      Uh uh. I ain't clickin' that sh*.

      --
      Have gnu, will travel.
    3. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      Is that source or a binary? Does it run on Linux?

      Uh uh. I ain't clickin' that sh*.

      just pretend it is from the Chinese government. then you'd have no problem with it you hypocrite

    4. Re:Is it Open Source? by gweihir · · Score: 1

      It is FOSS. The NSA will not place any exploits in there. First, they would be found and second, they would be all over the world pretty fast, making this an utter PR disaster.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    5. Re:Is it Open Source? by gweihir · · Score: 2

      You seriously think the NSA would do an untargeted attack on the whole world with this? Maybe you should have your paranoia looked at professionally.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    6. Re:Is it Open Source? by gweihir · · Score: 1

      Bullshit. If this is back-doored, it will have networking code that has no place in there. And that code will be found. Also, what purpose would an _untargeted_ attack against the whole world have? Right, none at all.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    7. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      It is FOSS.

      Is it, though? If the software was written by the NSA, doesn't that constitute a work of the United States government and thus make it public domain by default?

    8. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      They posted a Free software license, but no code so far. I smell trap.

    9. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      Why not? They did it with all electronic communications: text messages, chat rooms, you name it. And no, I'm not obligated to do your research for you. You must have been living under a rock for the past several years.

    10. Re:Is it Open Source? by ZoomieDood · · Score: 1

      Well, I'll certainly use a tool like this to aim it at a piece of software I have to use with a CZURtek book scanner I purchased from a kickstarter campaign years ago that appears to be scanning across my hard drive in unrelated areas and opening a port to china while in the middle of scanning.

    11. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      Who ever said anything about it phoning home? All that code would have to do is make it easier for an external entry which could be done by corrupting running services.

    12. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      Is that source or a binary?

      Both source and binary. Source is under the Apache 2.0 licence, at least the non-third-party parts.

      Does it run on Linux?

      It seems to be Java, so perhaps. It comes with a Bash launch script at least.

      ~350 MB of the archive seems to be processor support. It supports around 20 different CPU architectures, I think. All the major ones (68k, ARM, MIPS, PA-RISC, PowerPC, SPARC, x86) are there.

    13. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      I have downloaded the archive and in the archive there are many archive containing the sources of the modules forming the application, it is not a convenient way to distribute the sources but it is compliant with the GPL...

    14. Re: Is it Open Source? by Anonymous Coward · · Score: 1

      cough EternalBlue cough

      It's not as if they are lacking a past of untargetted world wide attacks. They invented the concept of untargetted world wide attacks.

    15. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      I thought that whole attack of dissent by psychiatry went out with the fall of the Soviet Union.

      You Stalinist boot-licker.

    16. Re:Is it Open Source? by gweihir · · Score: 1

      So corrupting other services with exploit code that is worth quite a bit? Not really harder to spot. You really have no clue what you are talking about.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    17. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      I pity you. You think you are smarter than all the professional spooks who do this 24x7.

      If I was the NSA, here's what I'd do. Have this software use the network in an identifiable way, a traffic fingerprint. Drop some vulnerabilities in there 'by accident'. When the users run the application they can be found on the 'net and there are Zero Day exploits to allow access to their systems.

      Why go to all this trouble? Well it seems to me that a self-selected group of hackers and reverse engineers are pretty interesting on just those merits. Maybe the NSA doesn't even go after all of them. Maybe they wait for a name to come up in connection with something else; if the NSA can make the connection, suddenly they have a channel directly to their target of interest.

    18. Re:Is it Open Source? by gweihir · · Score: 1

      Paranoia and insight do not mix. Your statement is a nice example of that.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    19. Re:Is it Open Source? by Anonymous Coward · · Score: 0

      Just because you're not paranoid, doesn't mean they aren't out to get you.

  5. A Quick Example by chill · · Score: 4, Informative

    http://www.peppermalware.com/2019/03/quick-analysis-of-trickbot-sample-with.html

    That's a quick review of using Ghidra to analyze Trickbot. It shows the interface and many of the features, with a brief comparison to IDA.

    --
    Learning HOW to think is more important than learning WHAT to think.
    1. Re:A Quick Example by phantomfive · · Score: 2

      Looks like it is really similar to IDA, but open source (eventually) and free.

      --
      "First they came for the slanderers and i said nothing."
    2. Re: A Quick Example by eatvegetables · · Score: 1

      Thanks for posting link. Nice overview.

  6. Here, eat this root! by Anonymous Coward · · Score: 0

    We'll release the source code Real Soon Now (tm), but for now, here, run this NSA black box on your computer.

    Do they really think we're that grotesquely fucking stupid?

    Or is that actually the first test to get one of those jobs they spoke of?

  7. Zero flies again! by Anonymous Coward · · Score: 0

    Ghidra is released just in time for the Godzilla movie!

  8. Better Ghidra than King Ghidorah by Mspangler · · Score: 1

    With a Three Letter Agency you are never quite sure what they are plotting.

    1. Re:Better Ghidra than King Ghidorah by omfglearntoplay · · Score: 1

      That's the first thing that came to mind. I still think that's how they got the name.

    2. Re:Better Ghidra than King Ghidorah by K.+S.+Kyosuke · · Score: 1

      Isn't it "Hydra" in Russian?

      --
      Ezekiel 23:20
  9. DRM by Anonymous Coward · · Score: 0

    Will this help people remove DRM from software as well? Inquiring minds want to know.

  10. What happens if you run in on Slashcode? by Anonymous Coward · · Score: 1

    Will the world implode if this were run on Slashcode?

  11. Hide in plain sight by tepples · · Score: 0

    Then let's get everybody we can to click the link, in order to destroy the value of the information that someone happens to have clicked the link.

    1. Re: Hide in plain sight by LifesABeach · · Score: 1

      / . The NSA? Cool, if course it's my tax dollars that will used to fix it, but cool.

  12. More details by Anonymous Coward · · Score: 0

    Reverse engineers in what form? And is it limited to specific languages?

    1. Re:More details by fibonacci8 · · Score: 2

      It takes any compiled binary and reverse engineers it into Brainfuck.

      --
      Inheritance is the sincerest form of nepotism.
  13. Work on Intel ME? by Anonymous Coward · · Score: 0

    I *really* need the NSA's toolkit to fix all my backdoored Intel procesors!!

  14. Bad Guys Too! by nuckfuts · · Score: 1

    The tool is ideal for software engineers...

    Yes, there will be good guys who will use this to reverse-engineer malware to design patches. There will also be bad guys who will use it to reverse-engineer patches to design malware.

    Here's a scenario: A security researcher discovers a critical vulnerability in Microsoft Windows. Remotely executable. Root-level access. Being a responsible researcher, the information is provided quietly to Microsoft before being announced publicly, so they are given a chance to develop a patch. Somewhere down the road, Microsoft releases a patch.

    What happens immediately is that people start reverse-engineering the patch. What modules is it touching? Let's look very closely at those modules, maybe do some fuzzing, see if we can figure out what's exploitable. I once saw Halvar Flake give a talk on this that was both impressive and frightening. A person with his level of skill could potentially develop an exploit by reverse-engineering a patch in a matter of hours. Much faster than many people would be deploying the patch.

  15. does anyone know list of platforms. G85ware only? by yfeefy · · Score: 1

    I guess we'll find out soon enough. People afraid of it could always run it in a sandboxed area. I wouldn't worry too much about being on a list, you are probably already on it. If the download consists of a stub that downloads a "downloader" like so much crapware today, maybe start to worry :-)

  16. Run at your own risk by hermi · · Score: 1

    unless you want a TCP port opened that is reachable via internet with remote code execution source

  17. I feel like someone in Strugatskys Roadside Picnic by Dirk+Becher · · Score: 1

    With the NSA in the role of the super-advanced aliens and the rest of humanity as the strugglers in the zone who feast on their junk.

  18. Fuck you by Anonymous Coward · · Score: 0

    And your three-headed kaiju.

  19. Reverse engineer it by Anonymous Coward · · Score: 0

    Has anybody reverse engineered it yet, using Ghidra?

  20. This is just a recruiting tool by Nocturrne · · Score: 1

    You can be sure, this is not considered an advanced tool, worthy of protection. If you are able to use this tool to do something interesting, you might find yourself being contacted by a recruiter from a contractor with a strange name. If government salaries were not borderline poverty level, it might be fun.

  21. "They would never do that" by Anonymous Coward · · Score: 0
  22. Try Reko. by cheesybagel · · Score: 1

    Reko is already open source. It has a disassembler and a GUI.
    https://uxmal.github.io/reko/
    https://github.com/uxmal/reko