Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Some setup scripts for security research tools.

NotificationsYou must be signed in to change notification settings

peara/ctf-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusIRC

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.The install-scripts for these tools are checked regularly, the results can be found onthe build status page.

Installers for the following tools are included:

CategoryToolDescription
binaryaflState-of-the-art fuzzer.
binaryangrNext-generation binary analysis engine from Shellphish.
binarybarfBinary Analysis and Reverse-engineering Framework.
binarybindeadA static analysis tool for binaries.
binarychecksecCheck binary hardening settings.
binarycodereasonSemantic Binary Code Analysis Framework.
binarycrosstool-ngCross-compilers and cross-architecture tools.
binarycross2A set of cross-compilation tools from a Japanese book on C.
binaryelfkickersA set of utilities for working with ELF files.
binaryelfparserQuickly determine the capabilities of an ELF binary through static analysis.
binaryevilizeTool to create MD5 colliding binaries
binarygdbUp-to-date gdb with python2 bindings.
binarygdb-heapgdb extension for debugging heap issues.
binarygefEnhanced environment for gdb.
binaryhongfuzzA general-purpose, easy-to-use fuzzer with interesting analysis options.
binarylibheapgdb python library for examining the glibc heap (ptmalloc)
binarymiasmReverse engineering framework in Python.
binarypandaPlatform for Architecture-Neutral Dynamic Analysis.
binarypathgrindPath-based, symbolically-assisted fuzzer.
binarypedaEnhanced environment for gdb.
binarypreenyA collection of helpful preloads (compiled for many architectures!).
binarypwndbgEnhanced environment for gdb. Especially for pwning.
binarypwntoolsUseful CTF utilities.
binarypython-pinPython bindings for pin.
binaryqemuLatest version of qemu!
binaryqiraParallel, timeless debugger.
binaryradare2Some crazy thing crowell likes.
binaryropperAnother gadget finder.
binaryrp++Another gadget finder.
binaryrrRecord and Replay Debugging Framework
binaryshellnoobShellcode writing helper.
binaryshellsploitShellcode development kit.
binarysnowmanCross-architecture decompiler.
binarytaintgrindA valgrind taint analysis tool.
binaryvillocVisualization of heap operations.
binaryvirtualsocketA nice library to interact with binaries.
binarywccThe Witchcraft Compiler Collection is a collection of compilation tools to perform binary black magic on the GNU/Linux and other POSIX platforms.
binaryxropGadget finder.
forensicsbinwalkFirmware (and arbitrary file) analysis tool.
forensicsdislockerTool for reading Bitlocker encrypted partitions.
forensicsexetractorUnpacker for packed Python executables. Supports PyInstaller and py2exe.
forensicsfirmware-mod-kitTools for firmware packing/unpacking.
forensicspdf-parserTool for digging in PDF files
forensicspeepdfPowerful Python tool to analyze PDF documents.
forensicsscrdecA decoder for encoded Windows Scripts.
forensicstestdiskTestdisk and photorec for file recovery.
cryptocribdragInteractive crib dragging tool (for crypto).
cryptofastcollAn md5sum collision generator.
cryptoforesightA tool for predicting the output of random number generators. To run, launch "foresee".
cryptofeatherdusterAn automated, modular cryptanalysis tool.
cryptohashkillHash cracker.
cryptohashpumpA tool for performing hash length extension attaacks.
cryptohashpump-partialhashHashpump, supporting partially-unknown hashes.
cryptohash-identifierSimple hash algorithm identifier.
cryptolittleblackboxDatabase of private SSL/SSH keys for embedded devices.
cryptomsieveMsieve is a C library implementing a suite of algorithms to factor large integers.
cryptopemcrackSSL PEM file cracker.
cryptopkcrackPkZip encryption cracker.
cryptopython-paddingoraclePadding oracle attack automation.
cryptorevengCRC finder.
cryptossh_decoderA tool for decoding ssh traffic. You will needruby1.8 fromhttps://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng to run this. Run withssh_decoder --help for help, as running it with no arguments causes it to crash.
cryptosslsplitSSL/TLS MITM.
cryptoxortoolXOR analysis tool.
cryptoyafuAutomated integer factorization.
webburpsuiteWeb proxy to do naughty web stuff.
webcommixCommand injection and exploitation tool.
webdirbWeb path scanner.
webdirsearchWeb path scanner.
webmitmproxyCLI Web proxy and python library.
websqlmapSQL injection automation engine.
websubbruteA DNS meta-query spider that enumerates DNS records, and subdomains.
stegosound-visualizerAudio file visualization.
stegosteganabaraAnother image steganography solver.
stegostegdetectSteganography detection/breaking tool.
stegostegsolveImage steganography solver.
stegozstegdetect stegano-hidden data in PNG & BMP.
androidapktoolDissect, dis-assemble, and re-pack Android APKs
androidandroid-sdkThe android SDK (adb, emulator, etc).
miscxspyTiny tool to spy on X sessions.
miscz3Theorem prover from Microsoft Research.
miscjdguiJava decompiler.
miscvelesBinary data analysis and visulalization tool.

There are also a couple of installers for useful libraries included. Currentlyonly the python bindings for these libraries are installed.

CategoryLibraryDescription
binarycapstoneMulti-architecture disassembly framework.
binarykeystoneLightweight multi-architecture assembler framework.
binaryunicornMulti-architecture CPU emulator framework.
binaryliefLibrary to Instrument Executable Formats.

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

CategoryToolDescription
gameDwarf FortressSomething to help you relax after a CTF!
tor-browsertor-browserUseful when you need to hit a web challenge from different IPs.
pyvmmonitorpyvmmonitorPyVmMonitor is a profiler with a simple goal: being the best way to profile a Python program.

Usage

To use, do:

# set up the path/path/to/ctf-tools/bin/manage-tools setupsource~/.bashrc# list the available toolsmanage-tools list# install gdb, allowing it to try to sudo install dependenciesmanage-tools -s install gdb# install pwntools, but don't let it sudo install dependenciesmanage-tools install pwntools# uninstall gdbmanage-tools uninstall gdb# uninstall all toolsmanage-tools uninstall all# search for a toolmanage-tools search preload

Where possible, the tools keep the installs very self-contained (i.e., in to tool/ directory), and most uninstalls are just calls togit clean (NOTE, this isNOT careful; everything under the tool directory, including whatever you were working on, is blown away during an uninstall).One exception to this are python tools, which are installed using thepippackage manager if possible. Actftools virtualenv is created during themanage-tools setup command and can be accessed using the commandworkon ctftools.

Help!

Something not working?I didn't write (almost) any of these tools, but hit up#ctf-tools on freenode if you're desperate.Maybe some kind soul will help!

Docker (version 1.7+)

By popular demand, a Dockerfile has been included.You can build a docker image with:

git clone https://github.com/zardus/ctf-toolsdocker build -t ctf-tools.

And run it with:

docker run -it ctf-tools

The built image will have ctf-tools cloned and ready to go, but you will still need to install the tools themselves (see above).

Alternatively, you can also pull ctf-tools (with some tools preinstalled) from dockerhub:

docker run -it zardus/ctf-tools

Vagrant

You can build a Vagrant VM with:

wget https://raw.githubusercontent.com/zardus/ctf-tools/master/Vagrantfilevagrant up

And connect to it via:

vagrant ssh

Kali Linux

Kali Linux (Sana and Rolling), due to manually setting certain libraries to not use the latest version available (sometimes being out of date by years) causes some tools to not install at all, or fail in strange ways. AFL and Panda comes to mind, in fact any tool that uses QEMU 2.30 will probably fail during compilation under Kali.Overriding these libraries breaks other tools included in Kali so your only solution is to either live with some of Kali's tools being broken, or running another distribution seperately such as Ubuntu.

Most tools aren't affected though.

Adding Tools

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

  1. Create atoolname directory.
  2. Create aninstall script.
  3. (optional) if special uninstall steps are required, create anuninstall script.

Install Scripts

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

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

License

The individual tools are all licensed under their own licenses.As for ctf-tools itself, it is "starware".If you find it useful, star it on github (https://github.com/zardus/ctf-tools).

Good luck!

See Also

There's a curated list of CTF tools, but without installers, here:https://github.com/apsdehal/aWEsoMe-cTf.

There's a Vagrant config with a lot of the bigger frameworks here:https://github.com/thebarbershopper/epictreasure.

Tools in the official Debian/Ubuntu repos

These tools are present in the Debian or Ubuntu repos (in an adequately new version).They're not included in ctf-tools, but are included here as notes for the author.

CategoryPackageDescriptionPackage
forensicsforemostFile carver.foremost
dsniffdsniffGrabs passwords and other data from pcaps/network streams.dsniff
stegopngtoolsPNG's analysis tool.

Tools with unofficial Debian/Ubuntu repos or debs

CategoryPackageDescriptionRepo/deb
stegosound-visualizerAudio file visualization.deb

About

Some setup scripts for security research tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell94.7%
  • Python5.3%

[8]ページ先頭

©2009-2025 Movatter.jp