Overview
TheHive is an open-source Security Incident Response Platform (SIRP) designed for SOC and DFIR teams to manage and investigate security incidents. It provides case management, alert triage, observable/IOC tracking, MITRE ATT&CK TTP mapping, and analyst task workflows in a centralized web interface. Developed and maintained by StrangeBee; current major version is TheHive 5, which introduced a full UI rewrite with improved dashboards, alert preprocessing, and integrated ATT&CK mapping.
Target / Context
SOC analysts and incident responders managing active security incidents. Integrates with Cortex (automated observable analysis) and MISP (threat intelligence sharing). Relevant to CJCA certification prep.
Installation
Installation (Docker Compose):
docker compose up -d
Access the web UI at http://localhost:9000 after 60-90 seconds. Default credentials: [email protected] / secret — change immediately.
Stack requirements:
- TheHive 5 application container
- Elasticsearch (data backend)
- MinIO (file and attachment storage)
Basic Usage
Login and Initial Setup:
- Navigate to http://localhost:9000
- Log in with default admin credentials
- Change the default password immediately
- Create an organization under Admin → Organizations
- Add analyst user accounts and assign roles (analyst, org-admin)
Flags & Options
Key Interface Sections:
| Section | Purpose |
|---|---|
| Alerts | Incoming detections from connected tools awaiting analyst triage |
| Cases | Full investigations — each case bundles tasks, observables, timelines, and evidence |
| Tasks | Individual work items assigned to analysts within a case |
| Observables | IOCs and artifacts (IPs, hashes, domains, URLs, emails) linked to alerts or cases |
| Dashboards | Metrics, open case counts, and investigation status overview |
| MITRE ATT&CK | TTP mapping panel — add observed techniques to alerts and cases |
Common Use Cases
Creating a Case from an Alert
Promote Alert to Case:
- Navigate to Alerts → select the relevant alert
- Review auto-extracted observables and severity
- Click “Create Case from Alert” to promote to full investigation
- Set severity (Low / Medium / High / Critical) and assign to an analyst
- Add tasks for each investigation step (triage, containment, eradication, reporting)
- Attach evidence files, screenshots, and logs
Managing Observables (IOCs)
Adding and Tracking Observables:
- Inside a Case, go to the Observables tab
- Click “Add Observable” and select the type: ip, domain, url, hash, mail, filename, etc.
- Enter the value — mark as IOC if it confirms compromise
- Add tags and a description for context
- Run Cortex analyzers on the observable if Cortex is connected (VirusTotal, Shodan, DNS enrichment, etc.)
- Review analyzer reports and mark relevant findings as important
Mapping MITRE ATT&CK TTPs
Linking Techniques to a Case:
- Open a Case and navigate to the MITRE ATT&CK panel
- Browse or search the ATT&CK matrix by tactic or technique name
- Select the observed technique (e.g., Persistence → T1543.003 — Windows Service)
- Link it to the case — included in the case summary and exportable for reporting
- Repeat for all observed adversary behaviors throughout the investigation
Running Cortex Analysis
Automated Observable Enrichment:
Requires Cortex connected to TheHive via API key.
- Select an observable in a case or alert
- Click “Run Analyzers”
- Select analyzers: VirusTotal_GetReport, MISPWarningLists, Shodan_Host, etc.
- View enriched report inline on the observable
- Promote high-value findings to case-level observables
Exporting to MISP
Threat Intelligence Sharing:
Requires MISP connector configured in TheHive settings.
- Inside a finalized Case, use the MISP export option
- TheHive exports IOCs and ATT&CK mappings as a MISP event
- MISP distributes the event to connected threat intelligence sharing communities
Related Techniques
Related Playbooks
References / Images
- TheHive Documentation — https://docs.strangebee.com/thehive/
- TheHive GitHub — https://github.com/TheHive-Project/TheHive
- Cortex (analysis engine) — https://github.com/TheHive-Project/Cortex
- MISP (threat intelligence platform) — https://www.misp-project.org/