Ghidra Tip 0x0A: Comments

This article is based on the public release of Ghidra 11.2. Documentation in code is great to have, although it is not as great a task to write it. When reverse engineering a binary with Ghidra, comments are your documentation. You might write down some notes for your future self, or for your colleagues or … Read more

Ghidra Tip 0x09: TaskMonitor

This article is based on the public release of Ghidra 11.2. While scripts are generally used to automatically (and/or automagically) perform repeatable and mundane actions, that is not to say that their runtime cannot take a while. If the wrong script is started by accident, or if the chosen approach is too time consuming, the … Read more

Ghidra Tip 0x06: DomainFiles in Projects

This article is based on the public release of Ghidra 11.2. Ghidra’s project based nature allows one to include multiple files into a project. These files can be split into different folders within the project. When running Ghidra headless, one can ingest files (recursively) from a given folder. The ingested files and related folder structure … Read more

Ghidra Tip 0x04: Script Hotkeys

This article is based on the public release of Ghidra 11.0.1. Customising Ghidra to make it fit your workflow is a lot easier than one might assume! Ghidra scripts extend the framework to perform specific actions. The automation can be done for a variety of reasons: to avoid repetitive (manual) actions, to search for a … Read more

Ghidra Tip 0x03: Dark Theme

This article is based on the public release of Ghidra 11.0.1. The demand for a dark theme in tooling is overwhelming, and the National Security Agency has heard the community’s requests. Since Ghidra 10.3, released on the 11th of May 2023, themes are supported within the framework. This tip focuses on how to enable the … Read more

Ghidra Tip 0x02: BSim

This article is based on the public release of Ghidra 11.0.1. In 2023, just before Christmas, the NSA released a new feature for Ghidra called BSim. This feature is best explained by stating the feature’s name in full: Behavior Similarity. The comparison of functions is useful for a variety of purposes, such as but not … Read more