No description
Find a file
Yan 08c02a9a33 Merge pull request #12 from rhelmot/master
Added two tools, fix two issues
2015-05-15 16:37:00 -07:00
afl bigfix :-) 2015-05-07 17:00:45 -07:00
apktool Fix minor issues with APKTool and pdf-parser 2015-05-10 22:42:10 -07:00
barf added BARF 2015-05-13 22:29:52 -07:00
bin Change number of deps required 6->5 2015-05-15 16:08:57 -07:00
bindead apparently needs jdk? 2015-05-14 18:13:03 -07:00
binwalk binwalk 2015-05-07 19:50:13 -07:00
burp java deps 2015-05-14 18:12:30 -07:00
checksec changed the install system 2015-05-07 11:54:16 -07:00
cribdrag changed the install system 2015-05-07 11:54:16 -07:00
crosstool Update uninstall 2015-05-14 18:44:22 -07:00
df very important tool 2015-05-14 12:59:11 -07:00
dirs3arch changed the install system 2015-05-07 11:54:16 -07:00
dislocker added dislocker 2015-05-10 00:19:14 -07:00
elfkickers add elfkickers 2015-05-15 16:18:27 -07:00
firmware-mod-kit Fixes #9 - add liblzma-dev to install-root 2015-05-13 17:21:36 -07:00
gdb do some pre-checking for dependencies at setup time 2015-05-14 17:56:48 -07:00
hash-identifier hash identifier 2015-05-07 13:54:42 -07:00
hashpump install the python bindings 2015-05-08 13:09:39 -07:00
hashpump-partialhash hashpump with partial hashes 2015-05-07 22:14:51 -07:00
littleblackbox littleblackbox 2015-05-07 20:06:53 -07:00
msieve Needs to be executable 2015-05-15 16:10:48 -07:00
pdf-parser Fix minor issues with APKTool and pdf-parser 2015-05-10 22:42:10 -07:00
peda changed the install system 2015-05-07 11:54:16 -07:00
pemcrack pemcrack 2015-05-07 20:25:38 -07:00
preeny accidentally left some stuff commented out 2015-05-10 21:10:17 -07:00
pwntools root requirements 2015-05-07 20:07:00 -07:00
python-paddingoracle python-paddingoracle 2015-05-07 19:44:48 -07:00
python-pin python bindings for pin 2015-05-08 01:50:50 -07:00
qemu accidentally left some stuff commented out 2015-05-10 21:10:17 -07:00
qira added qira 2015-05-07 16:55:04 -07:00
radare2 did I even test this? 2015-05-11 00:44:49 -07:00
reveng reveng 2015-05-07 20:37:57 -07:00
rp++ Add rp++ as an installable tool 2015-05-11 17:15:36 -07:00
shellnoob shellnoob 2015-05-07 12:01:40 -07:00
sonic-visualizer added libmad and qmake for sonic visualizer 2015-05-13 20:21:44 -07:00
sqlmap root requirements 2015-05-07 20:07:00 -07:00
sslsplit sslsplit 2015-05-07 20:28:48 -07:00
steganabara steganabara 2015-05-10 21:07:46 -07:00
stegdetect added stegdetect 2015-05-13 21:36:14 -07:00
stegsolve added stegsolve 2015-05-10 00:18:56 -07:00
taintgrind taintgrind 2015-05-08 01:38:42 -07:00
testdisk testdisk 2015-05-07 14:14:46 -07:00
villoc villoc 2015-05-07 23:08:30 -07:00
xortool uninstall 2015-05-07 13:34:36 -07:00
xrop disable install since it's broken 2015-05-11 02:52:57 -07:00
.gitignore gitignore 2015-05-07 12:11:08 -07:00
README.md burp 2015-05-14 14:37:56 -07:00
TODO reveng 2015-05-07 20:37:57 -07:00

ctf-tools

This is a collection of setup scripts to create an install of various security research tools. Of course, this isn't a hard problem, but it's really nice to have them in one place that's easily deployable to new machines and so forth.

Installers for the following tools are included:

Category Tool Description
binary afl State-of-the-art fuzzer.
binary barf Binary Analysis and Reverse-engineering Framework.
binary bindead A static analysis tool for binaries.
binary checksec Check binary hardening settings.
binary crosstool-ng Cross-compilers and cross-architecture tools.
binary gdb Up-to-date gdb with python2 bindings.
binary peda Enhanced environment for gdb.
binary preeny A collection of helpful preloads (compiled for many architectures!).
binary villoc Visualization of heap operations.
binary qemu Latest version of qemu!
binary pwntools Useful CTF utilities.
binary python-pin Python bindings for pin.
binary radare2 Some crazy thing crowell likes.
binary shellnoob Shellcode writing helper.
binary taintgrind A valgrind taint analysis tool.
binary qira Parallel, timeless debugger.
binary xrop Gadget finder.
binary rp++ Another gadget finder.
forensics binwalk Firmware (and arbitrary file) analysis tool.
forensics dislocker Tool for reading Bitlocker encrypted partitions.
forensics firmware-mod-kit Tools for firmware packing/unpacking.
forensics testdisk Testdisk and photorec for file recovery.
forensics pdf-parser Tool for digging in PDF files
crypto cribdrag Interactive crib dragging tool (for crypto).
crypto hashpump A tool for performing hash length extension attaacks.
crypto hashpump-partialhash Hashpump, supporting partially-unknown hashes.
crypto hash-identifier Simple hash algorithm identifier.
crypto littleblackbox Database of private SSL/SSH keys for embedded devices.
crypto pemcrack SSL PEM file cracker.
crypto reveng CRC finder.
crypto sslsplit SSL/TLS MITM.
crypto python-paddingoracle Padding oracle attack automation.
crypto xortool XOR analysis tool.
web burp Web proxy to do naughty web stuff.
web dirs3arch Web path scanner.
web sqlmap SQL injection automation engine.
stego sound-visualizer Audio file visualization.
stego stegdetect Steganography detection/breaking tool.
stego steganabara Antoher image steganography solver.
stego stegsolve Image steganography solver.
android APKTool Dissect, dis-assemble, and re-pack Android APKs

There are also some installers for non-CTF stuff to break the monotony!

Category Tool Description
game Dwarf Fortress Something to help you relax after a CTF!

Usage

To use, do:

# set up the path
/path/to/ctf-tools/bin/manage-tools setup
source ~/.bashrc

# list the available tools
manage-tools list

# install gdb, allowing it to try to sudo install dependencies
manage-tools -s install gdb

# install pwntools, but don't let it sudo install dependencies
manage-tools install pwntools

# uninstall gdb
manage-tools uninstall gdb

# uninstall all tools
manage-tools uninstall all

Where possible, the tools keep the installs very self-contained (i.e., in to tool/ directory), and most uninstalls are just calls to git clean (NOTE, this is NOT careful; everything under the tool directory, including whatever you were working on, is blown away during an uninstall). To support python dependencies, however, make sure to create a virtualenv before installing and using tools (i.e., mkvirtualenv ctf).

Adding Tools

To add a tool (say, named toolname), do the following:

  1. Create a toolname directory.
  2. Create an install script.
  3. (optional) if special uninstall steps are reuired, create an uninstall script.

Install Scripts

The install script will be run with $PWD being toolname. It should install the tool into this directory, in as contained a manner as possible. Ideally, full uninstallation should be possible with a git clean.

The install script should create a bin directory and put its executables there. These executables will be automatically linked into the main bin directory for the repo. They could be launched from any directory, so don't make assumptions about the location of $0!