Echidra — Deception Platform & Attacker Behavior Classifier
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
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, andechidra importstores 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 blocklistor 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
Method A: Native (Recommended for trying it out)
From PyPI:
pipx install echidra-oss
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
A PyPI install keeps its .env, logs and SSH host keys in ~/.echidra. Set
ECHIDRA_HOME in your shell to use another folder.
From source, to read or change the code:
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.
See Data handling for what's stored, where, and what leaves your server.
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. Every published release stays available under that licence. See LICENSE.md for details.
Metadata
Release files for echidra-oss 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| echidra_oss-1.1.1.tar.gz | 596.1 kB | With provenance | Details for echidra_oss-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| echidra_oss-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for echidra_oss-1.1.1-py3-none-any.whl |
Total release size: 1.1 MB
Release files / echidra_oss-1.1.1.tar.gz
| Download URL | echidra_oss-1.1.1.tar.gz |
|---|---|
| Size | 596.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ee74afeac0612dc69f3d4ea47a2b5bdbd7e5d06c298b7bee25ae70f24f129af
|
|
BLAKE2b-256 checksum How to use checksums |
19204b1854cffca71f484601f199921677683f54b04ff5822f5c245d44c35978
|
| 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 27, 2026.
Transparency logRelease files / echidra_oss-1.1.1-py3-none-any.whl
| Download URL | echidra_oss-1.1.1-py3-none-any.whl |
|---|---|
| Size | 497.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e52d4c9a73a790e11a99da814574dae12792154584ae786d3143d8a12e0a10b2
|
|
BLAKE2b-256 checksum How to use checksums |
cc4212404c21e2127fe65bd92f1a1446645a5358d2a9cb8974a09757ca775938
|
| 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 27, 2026.
Transparency logSecurity for echidra-oss 1.1.1
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.
Attestation for echidra_oss-1.1.1.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 27, 2026.
Transparency logA 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.