Web Application Honeypot
Python HTML PHP Other


Glastopf Build Status


Glastopf is a Python web application honeypot founded by Lukas Rist.

General approach:

  • Vulnerability type emulation instead of vulnerability emulation. Once a vulnerability type is emulated, Glastopf can handle unknown attacks of the same type. While implementation may be slower and more complicated, we remain ahead of the attackers until they come up with a new method or discover a new flaw in our implementation.
  • Modular design to add new logging capabilities or attack type handlers. Various database capabilities are already in place. HPFeeds logging is supported for centralized data collection.
  • Popular attack type emulation is already in place: Remote File Inclusion via a build-in PHP sandbox, Local File Inclusion providing files from a virtual file system and HTML injection via POST requests.
  • Adversaries usually use search engines and special crafted search requests to find their victims. In order to attract them, Glastopf provides those keywords (AKA "dork") and additionally extracts them from requests, extending its attack surface automatically. As a result, the honeypot gets more and more attractive with each new attack attempted on it.
  • We will make the SQL injection emulator public, provide IP profiling for crawler recognition and intelligent dork selection.


The honeypot has hpfeeds, our central logging feature, enabled by default. If you don't want to report your events, turn off hpfeeds in glastopf.cfg. By sending your data via hpfeeds you consent to sharing your data with third parties. If you are interested in the data collected by Glastopf instances, please contact Lukas at glaslos@gmail.com


Thanks to JetBrains for free PyCharm licenses!


Installation instructions can be found here.