Skip to main content

Echidra — Deception Platform & Attacker Behavior Classifier

Echidra open-source deception platform and attacker behavior classifier banner.

License: AGPL v3 Python 3.11+ OpenSSF Best Practices

Echidra is an open-source deception platform and threat-intelligence engine, built around multi-protocol honeypot listeners, that simulates attacker-facing SSH, HTTP, FTP, and Telnet services, captures real attacker behavior, classifies it against MITRE ATT&CK techniques, and surfaces the result in a web dashboard — without ever executing real commands or exposing real data.

Docs & full setup guide · Console guide


Echidra Intelligence dashboard aggregating recurring attacker sessions by actor profile and MITRE ATT&CK technique.


Why Echidra

On your own network, nobody legitimate touches a decoy, so an Echidra alert is worth reading. Instead of raw logs, you get findings: attacker sessions grouped by behavior, mapped to MITRE ATT&CK, each with a recommended fix. Every classification traces back to a YAML rule you can read and change. It's one install, light enough for a small VPS, and it exports attacker IPs as a list for your firewall, fail2ban, or Cloudflare.

Echidra T-Pot Cowrie Thinkst Canary
What you get Findings with ATT&CK techniques and fixes Kibana dashboards and attack map over many honeypots Very realistic SSH/Telnet session logs Polished alerting on many decoy services
Protocols SSH, HTTP, FTP, Telnet 20+ honeypots SSH, Telnet Many services
Footprint ~50 MB RAM at idle for decoys + dashboard, PostgreSQL separate (measured) Elastic stack, several GB of RAM Light Hardware, VM or cloud decoys with a hosted console
Detection logic Readable YAML rules Per-honeypot tools Log output for your own tooling Closed
Price Free, open source (AGPL) Free, open source Free, open source Commercial

What Is Echidra?

Echidra pretends to be a Linux server. Attackers connect over SSH, HTTP, FTP, or Telnet and see a believable, persona-driven system: real-looking banners, users, files, running processes, and (for the shell) an interactive fake command set. Nothing they type touches the real host or filesystem.

Every completed session is logged, classified (actor type, risk, MITRE ATT&CK technique, intent), geolocated, and stored in PostgreSQL — or logs/sessions.jsonl if PostgreSQL isn't configured, for echidra import to store later — for review in the dashboard.

Features

  • Honeypot listeners — SSH server with an interactive fake shell, matching the OpenSSH version it announces, HTTP (fake Apache/nginx/WordPress/phpMyAdmin), and FTP and Telnet login prompts that record every credential tried, each independently enabled/disabled by port
  • Classification — deterministic YAML rules turn session features into an actor label, risk score, behavior stage, intent, and MITRE ATT&CK tags, plus a knowledge-base of recommended fixes
  • Storage & API — PostgreSQL schema for sessions/events/classifier runs, always mirrored to logs/sessions.jsonl; sessions captured while the database is unreachable are stored automatically once it's back, and echidra import stores any session log; FastAPI backend serves the classifier endpoints and dashboard
  • Dashboard — Intelligence (recurring issues + fixes), Sessions, Analytics, Personas, and Alerts (email/Slack) that lead with the recommended fix, with repeats grouped
  • Blocklist export — echidra blocklist or Analytics → Export Blocklist lists attacker IPs for your firewall, fail2ban, or Cloudflare

See the Console guide for a full field-by-field reference.

Quick Start

git clone https://github.com/Qyleron/EchidraOSS.git
cd EchidraOSS
pip install -e .    # installs Echidra + puts the `echidra` command on your PATH
echidra init         # creates .env, generates the ingest key and alert secret, and sets up the database if ECHIDRA_DATABASE_URL is set
echidra start        # runs the honeypot listeners and the API/dashboard together until Ctrl+C

Method B: Docker Compose

Set ECHIDRA_DB_PASSWORD, ECHIDRA_INGEST_API_KEY, and ECHIDRA_SESSION_SECRET in a .env file, plus ECHIDRA_ALERT_SECRET if you'll use email alerts (see docker-compose.yml for the full list of environment variables), then:

docker compose up -d

Open http://localhost:8000 — it takes you straight to the dashboard (sign up on first visit; only the first signup succeeds by default).

No PostgreSQL yet? echidra init skips the database step and tells you so — the honeypot still runs and logs to logs/sessions.jsonl without it.

For PostgreSQL setup, .env configuration, Docker Compose / systemd deployment, and troubleshooting, see the full Setup Guide.

Safety Model

Echidra never runs attacker input on the host. Shell commands, HTTP requests, and FTP/Telnet credentials are parsed and answered with fake, persona-scoped data only, reconstructed from an in-memory persona, never the real filesystem. Echidra never itself blocks IPs, changes firewalls, or touches production systems; echidra blocklist only exports a list for you to apply.

Benchmarks

Reproduce the load test used in the demo video and blog post yourself.

Terminal 1, watch CPU and RSS on the honeypot and classifier processes. If Echidra was started with echidra start, this reads its PIDs automatically from logs/echidra.pid:

./benchmarks/monitor.sh

Running under systemd, Docker, or anything else that doesn't write that pidfile? Pass the PIDs directly instead:

./benchmarks/monitor.sh <honeypot_pid>,<classifier_pid>

Terminal 2, run the flood:

pip install aiohttp
python3 benchmarks/flood_test.py

Reference result from our own run, on an idle instance with no internet exposure, using the default 100 req/s for 10 seconds:

Honeypot RSS Total RSS (honeypot + API)
Before the flood 24 MB 50 MB
After the flood 133 MB 156 MB

RSS steps up once on first traffic, then stays flat: two further floods added about 60 KB each. No restarts.

CPU is bursty, not flat. Each request becomes a full session that is classified and stored, so the honeypot's CPU spiked to a peak of about 135% (more than one core) for roughly a second, then rose and fell repeatedly for about 79 seconds while it worked through the backlog, and returned to idle (0 to 1%). That was on a VirtualBox VM; on a single-vCPU host the peak is capped at 100% and the backlog takes longer to clear. Actual numbers depend on your hardware; this reproduces the methodology, not a guaranteed result.

Running under Docker Compose instead? Use docker stats to watch the same two containers' CPU/memory while flood_test.py runs.

Full writeup: Defending Against Automated Botnet Floods Without Degrading Container CPU Footprints

Tech Stack

Python 3.11+ (asyncio) · FastAPI · YAML rule engine · Pydantic · PostgreSQL (optional) · geoip2fast · HTML/CSS/JS dashboard

Get in Touch

Found a bug or have a feature request? See ISSUES.md for how to report it. Want to contribute? See CONTRIBUTING.md. Otherwise, follow @qyleron on X, or contact us with questions.

License

Licensed under AGPLv3. See LICENSE.md for details.

Metadata

Release files for echidra-oss 1.1.0

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

Source distribution (sdist)

Source distribution for echidra-oss 1.1.0
File Size Uploaded Provenance Actions
echidra_oss-1.1.0.tar.gz 613.1 kB With provenance Details for echidra_oss-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for echidra-oss 1.1.0
File Interpreter ABI Platform Actions
echidra_oss-1.1.0-py3-none-any.whl Python 3 none any Details for echidra_oss-1.1.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / echidra_oss-1.1.0.tar.gz

Download URL echidra_oss-1.1.0.tar.gz
Size 613.1 kB
Tags Source
SHA-256 checksum
How to use checksums
efcf3d32ab6c6f51bdc1b3526f64ad00a136b13b16eae25c4b0c7fcac06aee72
BLAKE2b-256 checksum
How to use checksums
4e91df7ba05dbb0e009782a2ed4bfd07d6dbb4ee0f3c36414db8defb476cf1b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / echidra_oss-1.1.0-py3-none-any.whl

Download URL echidra_oss-1.1.0-py3-none-any.whl
Size 507.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bda83cb1bb001afe6002c2f77e63c545d046c66df9dc63f6a546fd5fda34596
BLAKE2b-256 checksum
How to use checksums
d918e5407dd2f55b39d5e077d593b25da5d987af8ced6afa57e8e92629e14685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for echidra-oss 1.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for echidra_oss-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files Full provenance

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