diff --git a/README.md b/README.md index 157d0bb..72731ca 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Installers for the following tools are included: | binary | [elfparser](http://www.elfparser.com/) | Quickly determine the capabilities of an ELF binary through static analysis. | | binary | [evilize](http://www.mathstat.dal.ca/~selinger/md5collision/) | Tool to create MD5 colliding binaries | | binary | [gdb](http://www.gnu.org/software/gdb/) | Up-to-date gdb with python2 bindings. | +| binary | [panda](https://github.com/moyix/panda) | Platform for Architecture-Neutral Dynamic Analysis. | | binary | [pathgrind](https://github.com/codelion/pathgrind) | Path-based, symbolically-assisted fuzzer. | | binary | [peda](https://github.com/longld/peda) | Enhanced environment for gdb. | | binary | [preeny](https://github.com/zardus/preeny) | A collection of helpful preloads (compiled for many architectures!). | diff --git a/panda/install b/panda/install new file mode 100755 index 0000000..5f1cf0a --- /dev/null +++ b/panda/install @@ -0,0 +1,34 @@ +#!/bin/bash -e + +[ -e panda ] || git clone --depth 1 https://github.com/moyix/panda + +curl -O http://ragestorm.net/distorm/distorm3.3-package.zip +rm -rf distorm3 +unzip distorm3.3-package.zip +make -C distorm3/make/linux -j +mkdir -p lib +cp distorm3/make/linux/*.so distorm3/*.a lib +mkdir -p include +cp distorm3/include/*.h include + +pip install -U pycparser + +sed -i -e "s|/usr/local|$PWD|" panda/qemu/build.sh +export QEMU_CFLAGS="-I $PWD/include -L $PWD/lib" +export QEMU_CXXFLAGS="-I $PWD/include -L $PWD/lib" +#export LDFLAGS="-L $PWD/lib" +cd panda/qemu +./build.sh +cd ../../ + +# link binaries +mkdir -p bin +cd bin +ln -s ../panda/qemu/i386-softmmu/qemu-system-i386 ./panda-qemu-system-i386 +ln -s ../panda/qemu/arm-softmmu/qemu-system-arm ./panda-qemu-system-arm +ln -s ../panda/qemu/x86_64-softmmu/qemu-system-x86_64 ./panda-qemu-system-x86_64 +for i in ../panda/scripts/*.py +do + ln -s $i ./panda-$(basename $i) +done +cd .. diff --git a/panda/install-root b/panda/install-root new file mode 100755 index 0000000..0bdd410 --- /dev/null +++ b/panda/install-root @@ -0,0 +1 @@ +apt-get -y install nasm libssl-dev libpcap-dev subversion curl autoconf libtool libc++-dev llvm-3.3-dev clang-3.3 unzip