MISP expansion and export modules for Flowtriq DDoS intelligence.
Enriches IP address attributes with DDoS attack intelligence from Flowtriq. When MISP users hover over or expand an IP, the module queries Flowtriq to check whether the IP has been observed as a DDoS attack source.
Returns:
- Risk score (0-100)
- IP reputation (attack count, networks seen, first/last seen, ASN, country)
- Incident history (attack families, severity, peak PPS/BPS, duration, spoofing/botnet flags)
- Related attacker IPs (co-occurring source IPs from the same incidents)
- Threat intel feed matches (Spamhaus, etc.)
Supported input types: ip-src, ip-dst
Exports ip-src attributes from MISP events back to Flowtriq's threat intelligence pipeline. This lets MISP sharing communities feed curated attacker IPs into Flowtriq, where they inform real-time attack classification and blocking decisions.
Only attributes with to_ids=True are exported. The module derives threat type and confidence from MISP event context (info field, tags, threat level).
These modules require a Flowtriq account with API access. The modules call two Flowtriq API endpoints:
- Expansion module calls
POST /api/ip-lookup.phpfor IP enrichment. This endpoint is available on all Flowtriq plans. - Export module calls
POST /api/v1/threat-intel/importfor pushing indicators back to Flowtriq. This endpoint requires a Flowtriq plan with threat intelligence import enabled.
Both modules handle API errors gracefully. If the Flowtriq API is unreachable, returns a non-200 status, or the endpoint is not available, the module returns a descriptive error message to MISP without crashing.
Get your API key from Dashboard > Settings > API at flowtriq.com.
Copy the module files into your existing MISP modules installation:
# Expansion module
cp misp_modules/modules/expansion/flowtriq.py \
/var/www/MISP/misp-modules/misp_modules/modules/expansion/
# Export module
cp misp_modules/modules/export/flowtriq_export.py \
/var/www/MISP/misp-modules/misp_modules/modules/export/
# Logo (optional)
cp logo/flowtriq.png \
/var/www/MISP/misp-modules/misp_modules/modules/expansion/logos/
# Restart misp-modules
sudo systemctl restart misp-modulesln -s $(pwd)/misp_modules/modules/expansion/flowtriq.py \
/var/www/MISP/misp-modules/misp_modules/modules/expansion/flowtriq.py
ln -s $(pwd)/misp_modules/modules/export/flowtriq_export.py \
/var/www/MISP/misp-modules/misp_modules/modules/export/flowtriq_export.py
sudo systemctl restart misp-modulesIn MISP, go to Administration > Server Settings & Maintenance > Plugin Settings > Enrichment and configure:
| Setting | Description |
|---|---|
api_key |
Your Flowtriq API key (from Dashboard > Settings > API) |
api_url |
Flowtriq API base URL (default: https://flowtriq.com) |
The same settings apply to both the expansion and export modules.
Place a flowtriq.png file (128x128 recommended) at:
misp-modules/misp_modules/modules/expansion/logos/flowtriq.png
A logo file should be added at logo/flowtriq.png in this repository.
- User views an IP attribute in MISP and clicks "Enrich" (or hovers)
- MISP calls the Flowtriq expansion module with the IP
- Module queries
POST /api/ip-lookup.phpon the Flowtriq API - Flowtriq checks:
ip_reputationtable (aggregated attack history)threat_intel_feedtable (curated feed matches)incidentstable (last 90 days of DDoS incidents involving this IP)
- Module returns structured MISP attributes with the enrichment data
- User selects events in MISP and chooses "Export as Flowtriq"
- Module extracts all
ip-srcattributes withto_ids=True - For each IP, derives threat type from event info/tags and confidence from severity
- Batch-pushes indicators to
POST /api/v1/threat-intel/importon Flowtriq - Flowtriq ingests the IPs into its threat intel pipeline for real-time use
Flowtriq's dashboard already has a built-in MISP integration that pushes DDoS incidents to MISP as events (configured under Dashboard > Integrations). These modules provide the reverse direction, letting MISP users query and export data back to Flowtriq.
pip install -e ".[test]"
pytest tests/ -vflowtriq-misp/
misp_modules/
modules/
expansion/
flowtriq.py # IP enrichment module
export/
flowtriq_export.py # Event export module
tests/
test_expansion.py
test_export.py
logo/
flowtriq.png # Module logo (to be added)
.github/
workflows/
test.yml # CI pipeline
pyproject.toml
README.md
Start your free 14-day trial at flowtriq.com/signup.
MIT
Built by Flowtriq - Real-time DDoS detection and mitigation.