leonjza / PHP-ShockPot

Poor Man's Shellshock Honeypot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP-ShockPot

bashbug

PHP-ShockPot is a small honeypot aimed at showing you the interesting attempts made trying to exploit your host using the now famous "Shellshock" (also known as bashbug) bug.

Description

The 'honeypot' itself is simply a Laravel 4 application, listening on any url, checking the request headers for the presence of () {. Once this is present, its logged to a sqlite database. You can easily change this to a different database instance, provided that you configure app/config/database.php accordingly.

Installation

Installation should be relatively fast. Most of the steps are very well documented elsewhere on the interwebz, but this should serve as small guideline:

  1. Clone the repository with git clone https://github.com/leonjza/PHP-ShockPot.git.
  2. Setup a web server (Apache/Nginx doesn't matter) to serve the contents of the public/ folder to the world.
  3. Ensure the web server can write to the storage/ directory.
  4. Run the database migrations with php artisan migrate.
  5. Get composer installed and run composer install to install all of the required dependencies.
  6. Test by browsing to your instance!

Contact

@leonjza

About

Poor Man's Shellshock Honeypot

License:MIT License


Languages

Language:PHP 96.4%Language:CSS 3.6%