Code Monkey home page Code Monkey logo

efiseek's Introduction

efiSeek for Ghidra

About

The analyzer automates the process of researching EFI files, helps to discover and analyze well-known protocols, smi handlers, etc.

Features

Finds known EFI GUID's

guids

Identifies protocols located with LOCATE_PROTOCOL function

locateProtocols

Identifies functions used as the NOTIFY function

notify

Identifies protocols installed in the module through INSTALL_PROTOCOL_INTERFACE

install

Identifies functions used as an interrupt function (like some hardware, software/child interrupt)

ioTrap

sx

child

sw

Script for loading efi modules to relevant directories in Headless mode

Sorting smm modules relying on meta information into next folders:

  • SwInterrupts
  • ChildInterrupts
  • HwInterrupts
  • UnknownInterrupts

sort

Installation

Set GHIDRA_INSTALL_DIR environment variable to ghidra path.

Start gradlew.bat, after the completion of building a copy archive from the dist directory to GHIDRA_HOME_DIR/Extensions/Ghidra/. And turn on this extention in your ghidra.

Usage

After installation you are free to use this analyzer. If you open a EFI file, the analyzer appears selected automatically. To start the analyzer, press A or Analysis/Auto Analyze and press Analyze.

References

efiseek's People

Contributors

retrage avatar tandasat avatar thejokiv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

efiseek's Issues

Does not show up on Ghidra, no matter the OS

I have Ghidra on Ubuntu 22, Windows 10, and Windows 11.

Whatever I do, I cannot get efiseek to show up in the auto analyzer. I can, however, see it in my extensions list in Ghidra.

The steps I've followed:

  • Set GHIDRA_INSTALL_DIR environment variable to ghidra path.
  • Start gradlew.bat (./gradlew in Linux), after the completion of building a copy archive from the dist directory to GHIDRA_HOME_DIR/Extensions/Ghidra. And turn on this extention in ghidra.
  • No compilation errors.
  • Import a file, start auto analyze.
  • It's not listed here.

Any ideas?

 TransferEfiFilesToProject.java usage

I may be dumb here, but exactly how is one supposed to invoke this tool? I've tried passing it a bios file,
a dir containing efi modules, a single efi module, and nothing at all (though I know that's wrong, since
you check for args.length

Commit Related ghidra 10.2_dev Should be explicitly Spelt Out its Dependency

Commit: 573f4b9
Problem: Currently there are 2 ghidra githubs

  1. 10.1.3 => https://github.com/NationalSecurityAgency/ghidra
    compatible with: ntHeader = NTHeader.createNTHeader ....

  2. 10.2dev => https://github.com/garyttierney/ghidra-batteries-included/releases
    compatible with: ntHeader = new NTHeader

The latest commit will break the 10.1.3. As I'm new to this tool, basically any background sharing about both revision are welcome.

Not compatible with 9.2.2

Hi, thank you for maintaining this great project.

Ghidra v9.2.2 refuses to load this extension due to extension.properties hard-coding the version for 9.2. Could we make it version=@extversion@ so that the minor version change does not break this extension?

How can I use this extension?

image

image

I enabled this extension in the extension settings but I still cannot see it in the analyzer list.
Can anybody help me?

Thanks a lot.<3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.