What the recorded lab verified
The original tests ran on November 27, 2026 in the Asia/Taipei time zone. The local Docker environment was recreated with clean lab volumes before running the recorded checks. The data is fictional and uses reserved addresses.
Coverage includes bringing up the five services, password and API authentication, event modeling and correlation, publication and detection queries, two formats of import, STIX export, workers and modules, Warninglists, PyMISP and Sightings, local organization visibility, persistence, and a MariaDB-only restore.
The recorded run was a single instance. Cross-instance synchronization, live external feeds, HTTPS or SSO, cross-version upgrades, and full disaster recovery were outside the run.
Align the environment before comparing results
| Component | Tested setup |
|---|---|
| MISP core and nginx | 2.5.53 from the official MISP Docker images |
| misp-modules | 3.1.6, with 358 modules available |
| PyMISP | 3.0.0 in the core image |
| MariaDB / Valkey | 10.11.20 / 7.2.16 |
| Architecture | Apple Silicon arm64, with native arm64 images |
| Docker / Compose | Engine 29.5.2 / Compose 5.6.1 |
| Colima VM | 4 CPUs, 8 GiB RAM, 40 GiB data disk |
| Startup | 73 seconds from a clean start with images cached, and 22 seconds after down/up |
| Host endpoint | http://localhost:18081, loopback only |
See the recorded environment and image digests. Pinning the image label makes the lab practical to reproduce. Use the matching digest and architecture when you need the exact image bytes.
SERVICE IMAGE STATUS PORTS
db ghcr.io/mariadb/mariadb:10.11.20 Up About a minute (healthy) 3306/tcp
misp-core ghcr.io/misp/misp-docker/misp-core:v2.5.53 Up About a minute (healthy)
misp-modules ghcr.io/misp/misp-docker/misp-modules:v3.1.6 Up About a minute (healthy)
misp-nginx ghcr.io/misp/misp-docker/misp-nginx:v2.5.53 Up 5 seconds (healthy) 8443/tcp, 127.0.0.1:18081->8080/tcp
redis ghcr.io/valkey-io/valkey:7.2.16 Up About a minute (healthy) 6379/tcp
Login form, session authentication, and Auth key
The checker follows the login redirect, submits the password with a CSRF token, verifies the session’s role and organization, and requests the version through the API. It keeps the credentials and session value out of the output.
python3 http-check.pyPASS homepage: HTTP 200, unauthenticated visitor redirected to /users/login
PASS administrator password login: accepted with CSRF token; session value hidden
PASS authenticated cookie session: admin / SecTools Lab
PASS API auth key: MISP 2.5.53; perm_sync=True
Write, read back, and rerun
python3 verify.pyPASS taxonomies, galaxies + object templates loaded locally; tlp taxonomy enabled
PASS write/read: event + 4 attributes + domain-ip object (created)
PASS context: tlp:clear tag + ATT&CK galaxy cluster Phishing - T1566
PASS correlation: 192.0.2.10 links the case to the follow-up event
PASS rerun: fixed UUID keeps one event
PASS publish + to_ids search: 3 detection-ready attributes; login.example stays context-only
PASS STIX 2.1 export: report + indicator + attack-pattern; objects=25
RESULT {"event_uuid": "99f6f54e-d6ce-5b2a-bea3-bdbf6fda1b87", "follow_up_uuid": "91201a08-fffe-5d52-8548-deba87937598", "stix_objects": 25}
PASS taxonomies, galaxies + object templates loaded locally; tlp taxonomy enabled
PASS write/read: event + 4 attributes + domain-ip object (reused)
PASS context: tlp:clear tag + ATT&CK galaxy cluster Phishing - T1566
PASS correlation: 192.0.2.10 links the case to the follow-up event
PASS rerun: fixed UUID keeps one event
PASS publish + to_ids search: 3 detection-ready attributes; login.example stays context-only
PASS STIX 2.1 export: report + indicator + attack-pattern; objects=25
RESULT {"event_uuid": "99f6f54e-d6ce-5b2a-bea3-bdbf6fda1b87", "follow_up_uuid": "91201a08-fffe-5d52-8548-deba87937598", "stix_objects": 25}
The two runs show the same Event UUID. The second reuses the Object and still finds one matching Event. The catalogs load from local files supplied by the image.
MISP JSON and STIX 2.1 import
Use the MISP JSON fixture and STIX 2.1 fixture. Each run imports two sample Events using fresh UUIDs, then queries those UUIDs so that earlier data cannot make the check pass.
python3 import-check.pyPASS MISP JSON import: new event ee1e116d… with 2 attributes + tlp:clear
PASS STIX 2.1 import: report 3ea222cd… became event 4; indicator stix-import.example present
RESULT {"misp_json_event": "ee1e116d-cea0-4be6-9fb9-0b2416f97858", "stix_event": "3ea222cd-af40-4144-b32b-669cb3ecc756"}
Workers, modules, and Warninglists
python3 modules-check.pyPASS background workers alive: cache=5, default=5, email=5, prio=5, scheduler=1, update=1
PASS misp-modules reachable from misp-core: 1 enabled module(s) listed
PASS enrichment module round trip: valid rule accepted, broken rule rejected
PASS warninglists: 232 shipped, 0 enabled before this run; after enabling RFC 5735 + RFC 6761, both training values are flagged as reserved
An offline YARA syntax check verifies round-trip module communication. The exercise also checks that the two enabled lists flag documentation values. Already enabled lists may change the initial count on a subsequent run.
PyMISP query, pagination, and Sighting
docker compose exec -T misp-core python3 < pymisp-check.pyPASS PyMISP 3.0.0 connected: MISP 2.5.53
PASS get_event by UUID: SecTools Lab — 釣魚事件建模練習(虛構) (4 attributes, 1 object)
PASS search attributes(ip-dst, to_ids, published, tlp:clear): 2 hit(s)
PASS stable pagination (order=Event.id ASC): pages = [2, 2, 2, 0], no overlap
PASS sighting recorded on 192.0.2.10: total sightings = 1
The script adds one Sighting for 192.0.2.10 each time. Import runs also change the number of available Events, so compare the behavior rather than expecting identical counts.
Read existing data after recreating containers
This interrupts the local lab. The plain down command below retains named volumes. The read-only check fails if the expected Event has disappeared.
docker compose down
docker compose up -d --wait --wait-timeout 900
python3 persistence-check.pyPASS persisted after rebuild: event 99f6f54e…, 4 attributes, tags, galaxy, correlation
Restore a MariaDB dump into a new database
python3 backup-drill.pyPASS dump: /backups/misp-20261127T105834Z.sql.gz (119322944 bytes, --single-transaction)
PASS restore: dump loaded into new database misp_restore_drill
PASS row counts match: events=6, attributes=14, objects=2, tags=84, organisations=2, correlation_values=1
PASS restored training event found by UUID: 99f6f54e…
The test matches key table counts and finds the original training Event by UUID. A full recovery exercise also needs attachments, configuration, GPG material, secrets, and the restarted application.
What changed during testing
- The nginx probe switched from unavailable
wgetto image-providedcurl. - TLP tags had to be initialized after enabling the taxonomy.
- HTTP 200 alone was insufficient. A write can return
saved: falseorerrors. - Object Templates had to be loaded and the Object Attribute flags set deliberately.
- Warninglists had to be enabled before the expected matches appeared.
- Stable pagination needed an explicit sort order.
- The read/edit permission check was changed to avoid producing unrelated Events.
Download the fixtures and scripts
- Docker Compose, environment initializer, and lab README.
- shared API helper, HTTP check, and Event verification.
- MISP JSON fixture, STIX 2.1 fixture, and import checker.
- modules and workers, PyMISP check, and sharing check.
- persistence check and MariaDB drill.
- image digests and environment, raw import output, and raw restore output.
Use docker compose stop when taking a break. If using the dedicated VM, you can stop it with colima stop --profile misp-tutorial.
Screenshots from the local instance
On December 2, 2026, the lab was restarted and its health, password login, and API version were checked again. The screenshots show the original interface and fictional training event.
See the screenshot provenance and hashes.
Handbook release history
v1.3.0 · 2026-12-02
Added one-command deployment, a MISP to OpenCTI connector lab, and an isolated 3.0 database migration and 2.5 restore rehearsal. Quickstart · Connector results · Migration evidence
v1.2.0 · 2026-12-02
Added the English edition, matching language links, site planning credit, privacy and disclaimer pages, and licensing for original teaching content and software.
v1.1.0 · 2026-12-02
Redesigned the handbook, introduced section-level search, reading progress, interactive Event and Distribution examples, an official reference index, and local screenshots.
v1.0.0 · 2026-11-27
Published the first 14 chapters in Traditional Chinese with the pinned MISP 2.5.53 lab and original evidence.
The handbook version tracks editorial and website changes. The MISP version identifies the software used in the lab.
Your reading progress is saved in this browser.
This browser blocked storage. Reloading may clear this session’s progress.