Repository navigation
Added
- Seven workspace crates arranged in layers that know only the shared event format:
koru-event,koru-pulsar(eBPF sensor bridge),koru-decoy,koru-detect,koru-store,
koru-notifyand thekorucrate, which builds thekorucommand-line tool and the
koru-agentbinary. See docs/architecture.md. koru-agent: the Pulsar bridge, detection, store and notification in one process, driven by a
single TOML configuration, with a clean shutdown and a "stopped" event onSIGTERM.korucommands:decoy validate|plant|list|integrity|uninstall,
rule validate|export|coverage,event ingest,report data-quality|threat,
export,store freeze,install,uninstall,upgrade,rollbackandversion.- Event schema v1 (
schemas/event.v1.json), together with schemas for decoy templates
(schemas/decoy-template.v1.json), rule packs (schemas/rule-pack.v1.json) and agent
signatures (schemas/agent-signature.v1.json). Events that are corrupt, untagged or duplicated
are rejected and counted by reason. - Decoy and breadcrumb packages as data files: 13 decoy and breadcrumb templates in
packages/decoys/(SSH keys,.envfiles, cloud credentials, database dumps, LLM API keys,
MCP configuration files, AI-bait notes, shell history, SSH configuration andknown_hosts
entries). Decoys are generated uniquely per host, integrity-checked and removed cleanly. - AI-agent attribution through process lineage, with 14 agent signatures in
packages/agents/
and a "suspected hijacked agent" class. - 18 Sigma-compatible detection rules in
packages/rules/, including self-protection rules for
stopping Koru or modifying its binary, configuration, decoys, service unit or event store.
The rules cover 12 MITRE ATT&CK Enterprise v20.0 techniques; the coverage table and the
ATT&CK Navigator layer are generated into
docs/reports/attack-coverage.md and
docs/reports/attack-layer.json. - Event store on SQLite with a data-quality report, JSONL and OCSF 1.9.0 export, IP address
masking (--mask) and retention (koru store freeze, 90 days by default). - Notification channels: ntfy, Telegram, SMTP and a heartbeat, with a persistent queue, retry
back-off and rate limiting. - Signed distribution in
distribution/:install.sh,sign.sh,prepare-release.sh, a
systemd unit template hardened to asystemd-analyze securityscore of 2.5 or lower, an
nftables egress lock and the release signing public key. koru install,koru uninstall,koru upgradeandkoru rollback: signature and SHA-256
verified installation, versioned directories, automatic rollback and clean removal. The
process name, service name and directories are configurable, and the defaults do not reveal
Koru.- Lab in
lab/: a Lima VM, a 100-scenario end-to-end suite (lab/scenarios/list.toml) with
golden data replayed in CI, and performance and resilience measurements. Results are generated
into docs/reports/metrics.md. - Seven cargo-fuzz targets in
fuzz/: Pulsar event translation, configuration, decoy template,
rule pack, CLI input, JSONL import and the persistent notification queue. - Continuous integration with the
testandsupply-chainjobs on x86_64 and arm64, an SBOM
(CycloneDX), a devcontainer, architecture decision records indocs/adr/and the threat model
indocs/threat-model.md. - Community files:
CONTRIBUTING.md,CODE_OF_CONDUCT.md,GOVERNANCE.md,SECURITY.md, a
Developer Certificate of Origin and a documentation site indocs-site/.
Security
- Intermediate path components of
.envand the queue path are checked for symlinks and writable
parent directories. - Stop detection recognizes bracketed globs, init scripts,
invoke-rc.d,rc-serviceand
abbreviated long options. koru event ingestvalidates thehostandsensor.*fields against strict formats.
Full changelog: https://github.com/korusecurity/koru/blob/v0.1.0/CHANGELOG.md