Repository navigation
Releases
v0.2.0
Chimera v0.2.0 (pre-release)
GitHub pre-release. Nothing is published to crates.io or any other registry.
These notes cover main from v0.1.1 (ee69731dda1447f96550b0961b4c10a0aa2b2514) to the merge of the CHANGELOG heading PR (#150): PRs #132, #135, #96, #137, #141, #138, #140, #136, #143, #144, #146, #147, #148 and #150. The workspace crate version is 0.2.0, so sensor.software reads chimera-sensor 0.2.0.
When this pre-release is published, .github/workflows/release.yml attaches the Linux and Windows chimera-sensor and chimera-ship binaries, a CycloneDX 1.5 SBOM per binary and target, and SHA256SUMS, as for v0.1.1.
Highlights
- Decoy profiles (#23, PR #135). Each decoy's
profilesetting now selects a built-in generic profile:generic-router(default),generic-switch,generic-cameraandgeneric-linux-serverfor Telnet, andgeneric-router-admin(default),generic-camera-web,generic-nas-webandgeneric-printer-webfor HTTP. A profile sets the presented text only: hostname, banner, prompts, failure message, page title andServerheader. Explicittelnet.hostname,telnet.banner,http.server_headerandhttp.titlesettings still win, and a profile name outside the catalogue is recorded as configured and uses the default text, so existing configurations behave as before. Profiles imitate classes of device, never a vendor or product. Limits, timeouts, capture rules and events are the same for every profile, and every login still fails. See docs/PROFILES.md. - New optional Telnet
command.attemptevent (#103, PR #146), field rev 1, off by default (telnet.command_events = false). When turned on, shell-like lines typed at the Telnet username prompt are recorded; URLs in them are recorded as text only and never fetched. See docs/EVENT_SCHEMA.md. - ADR 0005: decoy artifacts (#58, PR #132), proposed. It records how decoys would represent artifacts such as URLs named in captured input: as bounded, inert metadata inside events, never fetched, with no separate file store. It is a design record only and is not implemented.
Fixes
- Windows storage-permission test (#133, PR #138). A Windows file-permission test could fail intermittently because its diagnostic files shared names. They now get unique names, and each permission step reports which step failed.
Dependency and CI updates
base640.23, without its SIMD default feature (PR #140).sha20.11.3 (PR #137) andpin-project-lite0.2.19 (PR #143), replacing versions that were yanked upstream.toml1.x for configuration parsing (PR #148). Existing configuration files parse the same way, and a new test pins the parser's strictness.actions/checkoutv7 in every workflow (PR #96).- CI aligned with the SCS CI and Security Standard v1.0 (PR #136), and a non-required
secret-scan (gitleaks)job over the full git history (PR #147). The seven required checks are unchanged.
Breaking changes
- Persona settings are optional (Rust API).
TelnetConfig::hostnameandbanner, andHttpConfig::server_headerandtitle, are nowOption<String>; unset means the profile's value. UseTelnetConfig::persona(),HttpConfig::server_header()andHttpConfig::title()for the effective values (PR #135). - New event kind and variants (Rust API).
EventBody::CommandAttemptandEnvelopeError::InvalidCommandare new variants, so exhaustive matches need an arm.siem_mapping::RepeatRulehas a newfeeds_criticalfield, andREPEAT_RULESnow has four entries (PR #146). On the wire,command.attemptis an additional kind that sensors send only whentelnet.command_events = true. - Version string. The workspace crates are
0.2.0(they stayed at0.1.0through v0.1.1), sosensor.softwarein events changes fromchimera-sensor 0.1.0tochimera-sensor 0.2.0.
Upgrade notes
The upgrade notes of v0.1.1 and v0.1.0 still apply when upgrading from earlier builds.
Configuration
No new required settings. Existing configuration files still parse. profile now selects from the built-in catalogue; the example configuration lists the profile names. [telnet] command_events (default false) turns on command.attempt events.
Known limitations
- Policy gates #39 (DPIA before a third-party pilot) and #49 (first pilot and any internet exposure) remain open.
- The SSH decoy (#22) is later work. ADR 0005 is proposed and not implemented;
command.attemptrecords URLs as event text only. - CI builds the fuzz targets and replays committed inputs but doesn't run continuous fuzzing.
- A fixed set of profiles is itself a fingerprint: vary hostnames and banners per deployment.
Publish
The release is created as a GitHub pre-release (not latest) for the v0.2.0 tag at the merge commit of the CHANGELOG heading PR (#150); release.yml then attaches the assets. Nothing is published to crates.io. Do not create the tag beforehand.
v0.1.1
Chimera v0.1.1 (pre-release)
GitHub pre-release at ee69731dda1447f96550b0961b4c10a0aa2b2514. Nothing is published to crates.io or any other
registry.
These notes cover main from v0.1.0 (03d40de8c74cb4f08b68c308bc90b4d793640a24) to
ee69731dda1447f96550b0961b4c10a0aa2b2514 (PRs #128, #129, #127 and #131).
When this pre-release is published, .github/workflows/release.yml attaches the Linux and Windows
chimera-sensor and chimera-ship binaries, a CycloneDX 1.5 SBOM per binary, and SHA256SUMS, as for v0.1.0.
Highlights
- Runtime metrics (#25, PR #128).
chimera-sensorandchimera-shipcan expose counters and gauges in
Prometheus text format on a local HTTP endpoint (GET /metricsonly) and/or log them periodically. This includes
rejected connections, events written and dropped by reason, queue depth, spool bytes, signing failures, retention
and shipping progress. Counters only: no event content or addresses. It is controlled by a new[metrics]section
and is off by default. The listen address must differ from every decoy listener, and any address other than
loopback needsexpose = true. See
docs/METRICS.md. sensor.healthevent (#123, PRs #128 and #131): agreed with the SIEM, counter set field rev 1, on by
default. This is a sensor-wide event kind that reports dropped-event counts since the previous written report:
queue full, daily cap, error, oversized but unreported (sessions withoutsession.end), and budget. It is sent
at most once per interval (default 300 s;[health] event_interval_secs, 60–86400, 0 turns it off) and only when
something was dropped, plus once at shutdown. It is not counted against the daily cap. The SIEM maps it tolow,
categorydeception.sensor.health, in its health view only: never correlation, alerts or severity changes. The
envelope is fixed (src=dst=0.0.0.0:0,sensor.decoy=sensor.profile=sensor) anddataalways
has at least one counter. Both rules are enforced when events are built and parsed, and in the JSON Schema.- Fuzzing (#29, #78, PR #129). Eight cargo-fuzz targets under
fuzz/, outside the workspace: Telnet input,
HTTP requests, event parsing, batch decoding, signed-record verification, public-key decoding, timestamps and
configuration. Seeds are synthetic, and a new non-requiredFuzzworkflow builds every target and replays the
seeds and regression inputs. See
docs/FUZZING.md. - Stricter RFC 3339 timestamp validation (PR #129).
parse_rfc3339now rejects timestamps whose UTC
equivalent falls outside years 0000–9999, so every acceptedtscan be written back as a valid RFC 3339
timestamp. events_dropped_oversizedagreed (field rev 1; #86, PR #121). The field itself shipped in v0.1.0. Docs in
this range record it as agreed and informational.
Breaking changes and upgrade notes
- New
EventBody::SensorHealthvariant. In thechimera-eventcrate,EventBodygains aSensorHealth
variant for the newsensor.healthkind (#123, PR #128). Rust code that matchesEventBodyexhaustively needs
a new arm. On the wire this is an additional event kind, and sensors emit it by default when events are
lost, so consumers must accept it (the SIEM's v5.2 parser does, as agreed). - Event construction and parsing (Rust API).
Event::newnow returnsResult<Event, EnvelopeError>and is
for decoy events only; build health reports withEvent::sensor_health.ParseErrorgains anEnvelope
variant:Event::from_jsonrejects asensor.healthwhose envelope ordatabreaks the agreed rules, and any
other kind that uses the reservedsensordecoy or profile (#123, PR #131). - Reserved profile name. A decoy
profile = "sensor"is now a configuration error (PR #131). sensor.healthon by default. Sensors upgraded with an existingchimera.tomlthat has no[health]
section start sendingsensor.healthevery 300 s when events are lost. Set[health] event_interval_secs = 0
to keep it off.- Stricter RFC 3339 timestamp validation.
parse_rfc3339(and sotsdeserialisation) now returns an error
for a timestamp whose UTC equivalent falls outside years 0000–9999 (PR #129). Timestamps written by Chimera are
always UTC (Z) and are unaffected.
The Rust type change of SessionEnd::events_dropped_oversized (u64 to Option<NonZeroU32>) shipped in v0.1.0
(#86, PR #121). The wire format is unchanged for valid values. v0.1.0's other upgrade notes (root refusal,
synthetic personas, Windows storage permissions, and signing-key created_at) still apply when upgrading from
earlier builds.
Agreed field: events_dropped_oversized
session.end may include events_dropped_oversized (agreed for 0.1.0, field rev 1). It is a sensor-health
signal, not a security one. The SIEM indexes it as a counter, shows it in detail only when non-zero, and never
uses it to change severity.
It is valid only on session.end, as a JSON integer from 1 to 2^32−1. Absent means 0. An explicit 0, a negative, a
float, a string or an out-of-range value fails strict parse and is not coerced.
Documentation
- Docs record v0.1.0, the agreed
events_dropped_oversized(field rev 1), metrics, fuzzing and the SIEM's
strict-parse rules, and addCHANGELOG.md(PR #127). PR #131 updates thesensor.healthschema and mapping to
agreed, field rev 1, and on by default.
Configuration
Both new sections are optional. When omitted, metrics are off and sensor.health is on every 300 s. Existing
configuration files still parse, unless a decoy uses profile = "sensor".
[metrics]:listen(unset = no endpoint),expose,log_interval_secs(10–86400; 0 = off). Available in
chimera.tomlandchimera-ship.toml.[health]:event_interval_secs(60–86400; 0 = off; default 300). Available inchimera.tomlonly.
Both example configuration files include the new sections: metrics off, [health] event_interval_secs = 300.
Known limitations
- Sessions that never emit
session.endreport their oversized-event drops throughsensor.health, and they are
also counted locally and in metrics. - The metrics endpoint has no authentication. Keep it on loopback or a management network.
- A shipper cursor-lag metric is not included (#130).
- CI builds the fuzz targets and replays committed inputs but does not run continuous fuzzing. Scheduled fuzzing
is #30. - Policy gates #39 (DPIA before a third-party pilot) and #49 (first pilot and any internet exposure) remain open.
Artefact signing (#45) and automated draft creation (#46) are later work. - The SSH decoy, decoy profiles, artifacts and a command event kind are Post-0.1.0 features.
Publish
Publishing this pre-release creates the v0.1.1 tag and starts the release workflow, which uploads the assets.
Do not push the tag beforehand. Nothing is published to crates.io or any other registry.
v0.1.0
Chimera v0.1.0 (pre-release)
Draft GitHub pre-release. This tag is created only when the project owner publishes the release. Nothing is published to crates.io or any other registry.
This draft targets main at 03d40de8c74cb4f08b68c308bc90b4d793640a24 (PR #126, which also includes #121). events_dropped_oversized is agreed and informational.
When this pre-release is published, .github/workflows/release.yml attaches the Linux and Windows chimera-sensor and chimera-ship binaries, a CycloneDX 1.5 SBOM per binary, and SHA256SUMS. A manual workflow_dispatch against a still-draft release will not find a published release, so rely on the publish trigger. Do not push the tag beforehand.
The in-tree docs/EVENT_SCHEMA.md at this tag still marks events_dropped_oversized as provisional. The field is agreed (field rev 1, agreed for 0.1.0); that status is recorded in #121 and on main.
Highlights (M0–M2)
M0 (Foundations & CI), M1 (Event schema & SIEM) and M2 (Decoy hardening & isolation) are closed. Policy gates #39 (DPIA before a third-party pilot) and #49 (first pilot and any internet exposure) stay open in M5 and M6.
- Workspace of
chimera-event,chimera-sensorandchimera-ship, with required CI onmain: rustfmt, clippy, tests on Ubuntu and Windows, cargo-audit, cargo-deny, andmsrv(Rust 1.89). chimera.event/1published with JSON Schema, examples and compatibility tests. Requiredtenant, per-event Ed25519 signatures, and a persisted UUIDsensor_idwith an operator display name.- Shipper (
chimera-ship) sendsCHIMERA-DECEPTION/1batches on agent-protocol message type 0x0D. Unknown header keys are rejected. The shipper skips unsigned production records. Optional fail-closed CRL checking. Read-level delivery confirmation is accepted. Shipping-aware spool retention (unshipped_max_days = 60by default; other captured data stays at 30 days). - SIEM mapping agreed: a single credential attempt is
medium;highcomes only from the two SIEM repeat rules;criticalneeds a verifiedhighfrom at least two enrolled sensors of the same tenant within 300 s. Sensors never emitcritical. - Low-interaction Telnet and HTTP decoys, with bind opt-in (
expose = true), per-source limits, hardened systemd units, egress guidance, synthetic-data persona checks, and storage permissions on Unix and Windows. - Credential capture defaults to keyed HMAC-SHA256;
noneis length only;plainneeds explicit opt-in. - Pending signing keys expire after 7 days (#79).
session.endmay includeevents_dropped_oversized(agreed for 0.1.0, field rev 1; #86, PR #121): an informational sensor-health counter, shown when non-zero, and never used to change severity.
The SSH decoy, decoy profiles, artifacts and a command event kind are deferred to Post-0.1.0 features.
Breaking changes and upgrade notes
- Root refusal. The sensor refuses to run as root (or Administrator) unless
--allow-rootis passed. That override is for short lab diagnosis only. See ADR 0003 and #17 / PR #106. - Synthetic personas only. Persona text that looks like a real credential is refused at start-up (#19, PRs #108 and #109). Use synthetic banners and personas; see CONTRIBUTING.md, Synthetic data only.
- Windows storage permissions. State and spool files get a protected owner-only ACL by default. Separate sensor and shipper accounts must set
share_with_groupand grant NTFS permissions by hand; the programs then leave those ACLs alone (#80, #21, PR #116). See DEPLOYMENT.md. - Signing-key
created_at. Pending key files written since #79 (PR #118) include acreated_at=line, andactivatekeeps that line on the new active key. Binaries from before #79 reject any key file that carries that line. To downgrade after a rotation, remove thecreated_at=line by hand fromsigning-keyand/orsigning-key.next. See SIGNING.md. - Rust type of
events_dropped_oversized. In thechimera-eventcrate,SessionEnd::events_dropped_oversizedchanged fromu64toOption<NonZeroU32>(#86, PR #121). The wire format is unchanged for valid values: the field is omitted when 0, and otherwise a JSON integer from 1 to 2^32−1. Dependents that construct or match on this field in Rust need a type update.
Agreed field: events_dropped_oversized
session.end may include events_dropped_oversized (agreed for 0.1.0, field rev 1). It is a sensor-health signal, not a security one. The SIEM indexes it as a counter, shows it in detail only when non-zero, and never uses it to change severity.
It is valid only on session.end, as a JSON integer from 1 to 2^32−1. Absent means 0. An explicit 0, a negative, a float, a string or an out-of-range value fails strict parse and is not coerced.
Known limitations
- The first pilot needs the project owner's sign-off. There is no internet exposure until M2 and M5 close, and the first pilot runs on an isolated lab server (#49). A DPIA is required before any third-party pilot (#39). Both gates remain open.
- Sessions that never emit
session.end(for example a crash or a killed connection) do not report their oversized-event drops in the event stream. Those drops are counted locally asoversized_unreported. A sensor-wide health event to cover that gap is later work under #25. - Operator documentation, metrics, fuzzing, the internal security review, artefact signing (#45) and automated draft creation (#46) are still in later milestones.
- Binaries, CycloneDX 1.5 SBOMs and
SHA256SUMSare attached automatically when this pre-release is published.
Publish
The project owner publishes this pre-release. Publishing will create the v0.1.0 tag and start the release workflow, which uploads the assets. Do not push the tag beforehand.