IDA Pro Docker Image
For use as an ipsw pipeline.
REPOSITORY TAG SIZE
blacktop/idapro latest 804MB
blacktop/idapro 7.7 804MB
brew install --cask xquartzopen -a XQuartz and make sure you "Allow connections from network clients"xhost + 127.0.0.1 or xhost + $(ipconfig getifaddr en0)docker run --init -it --rm \
--name idafree \
-v `pwd`:/data \
-e DISPLAY=host.docker.internal:0 \
blacktop/idapro /data/bin
NOTE: ⚠️ This is the IDA Free version and does not seem to be able to do headless analysis.
To persist settings across sessions:
docker run --init -it --rm \
--name idafree \
-v `pwd`:/data \
-v $HOME/.idapro:/root/.idapro \
-e DISPLAY=host.docker.internal:0 \
blacktop/idapro /data/bin
pro folder and name it idapro.runIDAPW="your-install-pw-here" make build-pro
make ssh
root@add3b0fd6966:/ida# ./ida64
This will open the GUI; Now accept the license agreement and close the window.
Copy the ida.reg file to the /data directory and exit container:
root@add3b0fd6966:/ida# cp ~/.idapro/ida.reg /data
root@add3b0fd6966:/ida# exit
ida.reg file to the pro folder:mv data/ida.reg pro/
ida.reg file:make build-reg
Congratulations! You now have a registered IDA Pro image that you can perform headless analysis with 🎉
Batch mode (creates idb and asm files)
docker run --init -it --rm \
--name idapro \
-v `pwd`/files:/files \
-v `pwd`/logs:/logs \ # you can pipe the logs out
--entrypoint=idat64 \ # idat64 uses less resources than ida64
blacktop/idapro -B -a- -P+ -L/logs/ida.log /files/kernelcache.release.iPhone11,8
tail -f logs/ida.log
Possible file format: Apple XNU kernelcache for ARM64e (kernel + all kexts) (/ida/loaders/macho64.so)
Possible file format: Apple XNU kernelcache for ARM64e (kernel only) (/ida/loaders/macho64.so)
Possible file format: Apple XNU kernelcache for ARM64e (single kext) (/ida/loaders/macho64.so)
Possible file format: Apple XNU kernelcache for ARM64e (normal mach-o file) (/ida/loaders/macho64.so)
bytes pages size description
--------- ----- ---- --------------------------------------------
134217728 16384 8192 allocating memory for b-tree...
191143936 23333 8192 allocating memory for virtual array...
262144 32 8192 allocating memory for name pointers...
<SNIP>
Autonomous mode
docker run --init -it --rm \
--name idapro \
-v `pwd`/samples:/samples \
-v `pwd`/py:/ida/python \
-v `pwd`/scripts:/ida/idc \ # add local scripts to IDA
--entrypoint=idat64 \
blacktop/idapro -A -Sanalysis.idc /samples/bin
NOTE: Here are a list of other CLI options
Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue
MIT License Copyright (c) 2022 blacktop
Content type
Image
Digest
sha256:cfbb7c464…
Size
388.1 MB
Last updated
about 1 year ago
docker pull blacktop/idapro