Skip to main content

Trapster Daemon

Project description

Trapster Community

License Python Status

Trapster Community is a low-interaction honeypot designed to be deployed on internal networks. It is built to monitor and detect suspicious activities, providing a deceptive layer to network security.

Visit the Trapster website to learn more about our commercial product, which includes advanced features like pre-configured hardened OS, automatic deployment, webhook, SIEM integration and much more...

Features

  • Deceptive Security: Mimics network services to lure and detect potential intruders.
  • Asynchronous Framework: Utilizes Python's asyncio for efficient, non-blocking operations.
  • Configuration Management: Easily configurable through trapster.conf.
  • Expandable Services: Add and configure as many services as needed with minimal effort.
  • HTTP Honeypot Engine with AI capabilities: Clone any website using YAML configuration, and use AI to generate responses to some HTTP requests.

Supported Protocols

Protocol Notes
DNS Works as a proxy to a real DNS server
HTTP/HTTPS Features custom YAML configuration templating engine
FTP Capture FTP login attempts
LDAP Capture LDAP login attempts
MSSQL Capture MSSQL login attempts
POSTGRES Capture POSTGRES login attempts
RDP Capture RDP login attempts
SNMP Capture SNMP login attempts
SSH Capture SSH login attempts
TELNET Capture Telnet login attempts
VNC Capture VNC login attempts
RSYNC Capture RSYNC login attempts

Documentation and installation guide

https://docs.trapster.cloud/community/

Logs

Format

Each module can generate up to four types of logs: connection, data, login, and query.

  • connection: Indicates that a connection has been made to the module.
  • data: Represents raw data that has been sent, logged in HEX format. This data is unprocessed.
  • login: Captures login attempts to the module. The data field is in JSON format and contains processed information.
  • query: Logs data that has been processed and does not correspond to an authentication attempt. The data field is in JSON format and contains processed information.

HTTP Engine with AI capabilities

The HTTP module can emulate any website. It works with YAML configuration files to match requests using regular expressions, and can generate responses using either a template or an AI model.

The configuration are stored in trapster/data/http, each folder represent a website. An example of the functionnalities can be found at trapster/data/http/demo_api/config.yaml

Structure:

  • config.yaml: contains the configuration for the website.
  • files/: contains the static files for the website.
  • templates/: contains the templates for the website, it supports jinja2 syntax.

AI ALPHA support

To generate responses, you can use the ai field in the configuration. For now, it uses OVHCloud AI Endpoints as it is still free, and in alpha. The file trapster/modules/libs/ai.py contains the code to generate responses using the AI model. It is still very basic, and will be improved in the near future.

For example, this image show a request to capture SQLi attempts, and the response generated by the AI model.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Create a pull request.

License

Trapster is licensed under the GNU Affero General Public License v3 or later (AGPLv3+). See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trapster-1.0.22.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trapster-1.0.22-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file trapster-1.0.22.tar.gz.

File metadata

  • Download URL: trapster-1.0.22.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for trapster-1.0.22.tar.gz
Algorithm Hash digest
SHA256 fba8f33a338653b1081484201a5c11a55efcee1c17e2339e3cddcbbb799cb4fb
MD5 07643044a7b151d219c73b9f66d719ce
BLAKE2b-256 0b8091315c8d97a3fd674876899dd4a1b82f2bb482f17692ca042313104933d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for trapster-1.0.22.tar.gz:

Publisher: publish.yml on 0xBallpoint/trapster-community

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trapster-1.0.22-py3-none-any.whl.

File metadata

  • Download URL: trapster-1.0.22-py3-none-any.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for trapster-1.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 06e5ef0b85773fa389dc45f1762c2c1c38a712392599c22a98fbf2d09a572c34
MD5 d76ffb2e714dbd87ed8dc8b4280c1023
BLAKE2b-256 52aed8c3e97c9f1aa8f7d593957301c1bf3a3cd2cddf6670c843a38c2b9245f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for trapster-1.0.22-py3-none-any.whl:

Publisher: publish.yml on 0xBallpoint/trapster-community

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page