Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ghidra-mtk-loader — Ghidra loader for the MediaTek md1img modem firmware image format | Kitploit
Tools/GitHubGitHub/nccgroup/ghidra-mtk-loader
Embedded Systems SecurityIoT SecurityReverse EngineeringHardware & IoT SecurityBinary AnalysisFirmware Analysis
GitHubnccgroup/ghidra-mtk-loader

ghidra-mtk-loader

Ghidra loader for the MediaTek md1img modem firmware image format

View Repository
42 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

MediaTek md1img Loader for Ghidra

Ghidra loader for the MediaTek md1img modem firmware image format. Currently, only nanoMIPS-based firmware is supported, but basic features may still work if you manually choose a different architecture (e.g., MIPS) when loading an image.

Setup

For nanoMIPS-based modems, install the nanoMIPS ISA Ghidra plugin along with this loader before attempting to load the firmware image.

Usage

In Ghidra, simply import an md1img format file into the project. The loader will extract the modem firmware and apply any debug symbols.

After initially loading the firmware and identifying the INT_InitRegions_C, memcpy, and memset functions, run the MtkInitRegions.java and emulate_custom_mk_ram_info.py scripts from the Script Manager (in that order) to automatically define further memory regions.

Development

Ensure the GHIDRA_INSTALL_DIR environment variable or project property is defined in order for Gradle to work properly in Eclipse. See https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties for where to place the gradle.properties file containing this property definition.

If modifying this project in tandem with the nanoMIPS ISA plugin, add the nanoMIPS plugin project directory to the loader's Eclipse project build path.

Build

Use your local Gradle install or in the included Gradle wrapper to build the project from source. Make sure to specify the correct Ghidra install directory in the GHIDRA_INSTALL_DIR property.

root@kitploit:~
$ ./gradlew -PGHIDRA_INSTALL_DIR=<ghidra_path>
Download Tool