Skip to main content

CTI as a Code

A full Linux Cyber Threat Intelligence lab and structured CTI methodology framework, running on Docker Compose.

CTI as Code treats threat intelligence investigations like software engineering projects — version-controlled, template-driven, evidence-traced claims, reproducible analysis, deployable Sigma rules.

What's in this project

ComponentWhat it is
Docker Compose labOpenCTI · TheHive 5 · Cortex · Elastic SIEM · Logstash — spin up a full CTI platform on one Linux host
8 training assignmentsReactive, proactive, full-cycle, and adversary emulation methodology — across private sector and government scenarios
3 blank methodology templatesReactive / proactive / full-cycle scaffolds for starting new investigations
194 analytical filesDistributed across 8 populated case folders — timelines, claims ledgers, Sigma rules, coverage matrices, compliance reports

Lab stack

ServiceRolePort
OpenCTIThreat intelligence platform — STIX2 actors, TTPs, IOC graph:8080
TheHive 5Incident response case management:9100
CortexAutomated enrichment engine:9002
Kibana / SIEMDetection dashboards, alert triage, timeline investigation:5601
Elasticsearch 8Shared data store:9200
LogstashLog ingestion pipeline:5044

8 training assignments

Assignments 1–4 cover the Israeli private sector. Assignments 5–8 form a connected government narrative arc centered on the fictional National Digital Services Authority (NDSA).

#ModeOrganizationCore Challenge
A01ReactiveLifeTech Pharma52-hour Iranian-nexus breach, 0/12 detection coverage
A02ProactiveCelltronX TelecomNation-state contractor supply chain targeting
A03Full CycleTechPay FinTechBuild a CTI program from scratch under BoI-CD 362
A04EmulationTechPay FinTechValidate detections against Operation Desert Cipher TTPs
A05Reactive (Gov)NDSAContractor breach — 340K biometric records, INCD notification
A06Proactive (Gov)NDSA GovID 2.0National biometric gateway pre-launch — go/no-go
A07Full Cycle (Gov)NDSABuild a CTI program under INCD Remediation Directive
A08Emulation (Gov)NDSAINCD Section 8 annual detection validation
  • Quick Start — lab up and running in 10 minutes
  • Architecture — design decisions and data flows
  • Training — all 8 assignments with objectives and deliverables
  • Ecosystem — how this project fits with the Field Manual and other CTI projects

This project is part of a practitioner CTI ecosystem: