PasteHunter is a python3 application that is designed to query a collection of sites that host publicly pasted data. For all the pastes it finds it scans the raw contents against a series of Yara rules looking for information that can be used by an organisation or a researcher.
Pastebin API Deprecated
We are aware that the pastebin scraping API has been deprectated and are reviewing.
For setup instructions please see the official documentation https://pastehunter.readthedocs.io/en/latest/installation.html
Pastehunter currently has support for the following sites:
- gist.github.com # Gists
- github.com # Public commit activity feed
- stackexchange # There are about 176!
Pastehunter supports several output modules:
- dump to ElasticSearch DB (default).
- Email alerts (SMTP).
- Slack Channel notifications.
- Dump to JSON file.
- Dump to CSV file.
- Send to syslog.
- POST to URL
Pastehunter supports several sandboxes that decoded data can be sent to:
For examples of data discovered using pastehunter check out my posts https://techanarchy.net/blog/hunting-pastebin-with-pastehunter and https://techanarchy.net/blog/pastehunter-the-results