Skip to main content

PasteHunter

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.

Setup

For setup instructions please see the official documentation https://pastehunter.readthedocs.io/en/latest/installation.html

PyPI version

Build Status

Supported Inputs

Pastehunter currently has support for the following sites:

  • pastebin.com
  • gist.github.com # Gists
  • github.com # Public commit activity feed
  • slexy.org
  • stackexchange # There are about 176!

Supported Outputs

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

Supported Sandboxes

Pastehunter supports several sandboxes that decoded data can be sent to:

  • Cuckoo
  • Viper

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

Metadata

Release files for pastehunter 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pastehunter 1.4.2
File Size Uploaded Provenance
pastehunter-1.4.2.tar.gz 28.5 kB Without provenance Details

Release files / pastehunter-1.4.2.tar.gz

Download URL pastehunter-1.4.2.tar.gz
Size 28.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c4fa5acaa22d9b18157f9d83a6ca073fdea0c0f62af987edf3e36554ec25e799
BLAKE2b-256 checksum
How to use checksums
44b68b4aa2c4202cff5e8d39bd9a8a3b30b45d18d038d576c7133ab4e6ba6f56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.10

Security for pastehunter 1.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page