·Cyber Security › Threat Intelligence

Setting up MISP at home: a step-by-step guide

Deploy MISP with Docker in under 30 minutes, lock down the default credentials, and start syncing with public threat-sharing communities.

MISP (Malware Information Sharing Platform) is an open-source platform for sharing structured threat information. Where OpenCTI gives you a knowledge graph, MISP gives you a sharing fabric: events, attributes, and galaxies you exchange with other defenders.

This is a step-by-step guide to running MISP at home.

Prerequisites

  • A Linux host (VPS or home server) with 4 GB RAM minimum. MISP is lighter than OpenCTI — a 4-core / 4 GB box handles a solo instance comfortably.
  • Docker and Docker Compose v2. On Ubuntu:
sudo apt update && sudo apt install -y docker.io docker-compose-v2
sudo usermod -aG docker $USER

Log out and back in.

  • About 10 GB of free disk for the initial dataset.

1. Clone the maintained Docker image

The MISP Docker repo is actively maintained and ships MISP, MariaDB, Redis, and Mail in one Compose file.

git clone https://github.com/MISP/misp-docker.git
cd misp-docker
cp template.env .env

2. Edit the .env file

Open .env and set these at minimum:

BASE_URL=https://misp.yourdomain.com
MYSQL_ROOT_PASSWORD=<strong-password>
MYSQL_PASSWORD=<another-strong-password>
ADMIN_EMAIL=you@example.com
ADMIN_PASSWORD=<a-third-strong-password>
ADMIN_KEY=
ADMIN_ORG=Home
GPG_PASSPHRASE=<yet-another>

Leave ADMIN_KEY blank — MISP generates one on first boot and prints it in the logs.

3. Boot the stack

docker compose up -d

First boot takes about 5 minutes. Follow the logs:

docker compose logs -f misp-core

Wait for INIT | Done or similar in the output.

4. First login

Open the BASE_URL you configured (or http://<host> locally). The default admin login is the email and password from your .env. MISP forces a password change on first login — do it.

5. Grab the admin API key

Go to Administration → List Users → admin → Edit and note the Auth key. Add it to your local .env so re-provisioning doesn’t regenerate:

ADMIN_KEY=<paste-the-key>

6. Enable the default feeds

Feeds are what populates MISP with actual indicators. Go to Sync Actions → List Feeds. You’ll see a long list disabled by default. The cheap wins to enable first:

  • CIRCL OSINT — high signal, no key needed.
  • abuse.ch URLhaus / Feodo Tracker — public, no key.
  • Botvrij.eu — curated.

Tick the Enabled box, then click Fetch and store all feed data to backfill. Subsequent updates run on a cron inside the container.

7. Enable background workers

MISP uses background workers for feed fetches and correlation. Check they’re running:

docker compose exec misp-core supervisorctl status

All four workers (default, prio, email, cache) should be RUNNING. If not:

docker compose exec misp-core supervisorctl restart all

8. Exposing it safely

MISP has web auth built in, but the default install is still not something you want on the open internet. The safer approach is the same as with OpenCTI:

  • Cloudflare Tunnel + Access, limiting logins to your email.
  • Or Tailscale/WireGuard, keeping it on a private overlay.

If you must expose it directly, put it behind a proper reverse proxy (nginx or Caddy) with HTTPS, fail2ban watching the MISP logs, and 2FA enabled under Administration → Server Settings → Security.

9. Pairing MISP with OpenCTI

Both platforms play well together. OpenCTI has a first-class MISP connector that imports your MISP events as STIX objects. See the earlier post on setting up OpenCTI and then enable connector-misp in its Compose file, pointing at your MISP URL and the admin key you saved in step 5.

With both running, OpenCTI becomes your knowledge graph and MISP your sharing substrate — the pairing I’ve found most useful for a home-lab SOC setup.