Giter Club home page Giter Club logo

docker-idapro's Introduction

IDA Logo

docker-idapro

IDA Pro Docker Image

Why?

For use as an ipsw pipeline.

Dependencies

Image Tags

REPOSITORY              TAG                 SIZE
blacktop/idapro         latest              804MB
blacktop/idapro         7.7                 804MB

Getting Started

On macOS

  1. Install XQuartz brew install --cask xquartz
  2. open -a XQuartz and make sure you "Allow connections from network clients"
  3. Now add the IP using Xhost with: xhost + 127.0.0.1 or xhost + $(ipconfig getifaddr en0)
  4. Start up IDA Pro
docker run --init -it --rm \
           --name idafree \
           -v `pwd`:/data \
           -e DISPLAY=host.docker.internal:0 \
           blacktop/idapro /data/bin

Build IDA Pro

  1. Put a copy of the linux installer in the pro folder and name it idapro.run
IDAPW="your-install-pw-here" make build
  1. Enter image container:
make ssh
root@add3b0fd6966:/ida# ./ida64
  1. This will open the GUI; Now accept the license agreement and close the window.

  2. Copy the ida.reg file to the /data directory and exit container:

root@add3b0fd6966:/ida# cp ~/.idapro/ida.reg /data
root@add3b0fd6966:/ida# exit
  1. Move the ida.reg file to the pro folder:
mv data/ida.reg pro/
  1. Rebuild the IDA Pro image with the new ida.reg file:
make build-reg

Congratulations! You now have a registered IDA Pro image that you can perform headless analysis with ๐ŸŽ‰

Headless

Batch mode (creates idb and asm files)

docker run --init -it --rm \
           --name idapro \
           -v `pwd`:/data \
           blacktop/idapro -B -P+ /data/bin

Autonomous mode

docker run --init -it --rm \
           --name idapro \
           -v `pwd`:/data \
           blacktop/idapro -A -Sanalysis.py /data/bin

NOTE: Here are a list of other CLI options

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue

License

MIT License Copyright (c) 2022 blacktop

docker-idapro's People

Contributors

blacktop avatar

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.