Skip to content

Releases

v0.2.0

v0.2.0 Pre-release
Pre-release

Choose a tag to compare

@FluffyHorizon1 FluffyHorizon1 released this 03 Dec 00:46
4d0cbca

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 profile setting now selects a built-in generic profile: generic-router (default), generic-switch, generic-camera and generic-linux-server for Telnet, and generic-router-admin (default), generic-camera-web, generic-nas-web and generic-printer-web for HTTP. A profile sets the presented text only: hostname, banner, prompts, failure message, page title and Server header. Explicit telnet.hostname, telnet.banner, http.server_header and http.title settings 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.attempt event (#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

  • base64 0.23, without its SIMD default feature (PR #140).
  • sha2 0.11.3 (PR #137) and pin-project-lite 0.2.19 (PR #143), replacing versions that were yanked upstream.
  • toml 1.x for configuration parsing (PR #148). Existing configuration files parse the same way, and a new test pins the parser's strictness.
  • actions/checkout v7 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

  1. Persona settings are optional (Rust API). TelnetConfig::hostname and banner, and HttpConfig::server_header and title, are now Option<String>; unset means the profile's value. Use TelnetConfig::persona(), HttpConfig::server_header() and HttpConfig::title() for the effective values (PR #135).
  2. New event kind and variants (Rust API). EventBody::CommandAttempt and EnvelopeError::InvalidCommand are new variants, so exhaustive matches need an arm. siem_mapping::RepeatRule has a new feeds_critical field, and REPEAT_RULES now has four entries (PR #146). On the wire, command.attempt is an additional kind that sensors send only when telnet.command_events = true.
  3. Version string. The workspace crates are 0.2.0 (they stayed at 0.1.0 through v0.1.1), so sensor.software in events changes from chimera-sensor 0.1.0 to chimera-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.attempt records 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

v0.1.1 Pre-release
Pre-release

Choose a tag to compare

@FluffyHorizon1 FluffyHorizon1 released this 30 Nov 08:42
ee69731

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-sensor and chimera-ship can expose counters and gauges in
    Prometheus text format on a local HTTP endpoint (GET /metrics only) 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 needs expose = true. See
    docs/METRICS.md.
  • sensor.health event (#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 without session.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 to low,
    category deception.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) and data always
    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-required Fuzz workflow builds every target and replays the
    seeds and regression inputs. See
    docs/FUZZING.md.
  • Stricter RFC 3339 timestamp validation (PR #129). parse_rfc3339 now rejects timestamps whose UTC
    equivalent falls outside years 0000–9999, so every accepted ts can be written back as a valid RFC 3339
    timestamp.
  • events_dropped_oversized agreed (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

  1. New EventBody::SensorHealth variant. In the chimera-event crate, EventBody gains a SensorHealth
    variant for the new sensor.health kind (#123, PR #128). Rust code that matches EventBody exhaustively 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).
  2. Event construction and parsing (Rust API). Event::new now returns Result<Event, EnvelopeError> and is
    for decoy events only; build health reports with Event::sensor_health. ParseError gains an Envelope
    variant: Event::from_json rejects a sensor.health whose envelope or data breaks the agreed rules, and any
    other kind that uses the reserved sensor decoy or profile (#123, PR #131).
  3. Reserved profile name. A decoy profile = "sensor" is now a configuration error (PR #131).
  4. sensor.health on by default. Sensors upgraded with an existing chimera.toml that has no [health]
    section start sending sensor.health every 300 s when events are lost. Set [health] event_interval_secs = 0
    to keep it off.
  5. Stricter RFC 3339 timestamp validation. parse_rfc3339 (and so ts deserialisation) 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 add CHANGELOG.md (PR #127). PR #131 updates the sensor.health schema 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.toml and chimera-ship.toml.
  • [health]: event_interval_secs (60–86400; 0 = off; default 300). Available in chimera.toml only.

Both example configuration files include the new sections: metrics off, [health] event_interval_secs = 300.

Known limitations

  • Sessions that never emit session.end report their oversized-event drops through sensor.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

v0.1.0 Pre-release
Pre-release

Choose a tag to compare

@FluffyHorizon1 FluffyHorizon1 released this 29 Nov 22:25
03d40de

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-sensor and chimera-ship, with required CI on main: rustfmt, clippy, tests on Ubuntu and Windows, cargo-audit, cargo-deny, and msrv (Rust 1.89).
  • chimera.event/1 published with JSON Schema, examples and compatibility tests. Required tenant, per-event Ed25519 signatures, and a persisted UUID sensor_id with an operator display name.
  • Shipper (chimera-ship) sends CHIMERA-DECEPTION/1 batches 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 = 60 by default; other captured data stays at 30 days).
  • SIEM mapping agreed: a single credential attempt is medium; high comes only from the two SIEM repeat rules; critical needs a verified high from at least two enrolled sensors of the same tenant within 300 s. Sensors never emit critical.
  • 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; none is length only; plain needs explicit opt-in.
  • Pending signing keys expire after 7 days (#79).
  • session.end may include events_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

  1. Root refusal. The sensor refuses to run as root (or Administrator) unless --allow-root is passed. That override is for short lab diagnosis only. See ADR 0003 and #17 / PR #106.
  2. 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.
  3. Windows storage permissions. State and spool files get a protected owner-only ACL by default. Separate sensor and shipper accounts must set share_with_group and grant NTFS permissions by hand; the programs then leave those ACLs alone (#80, #21, PR #116). See DEPLOYMENT.md.
  4. Signing-key created_at. Pending key files written since #79 (PR #118) include a created_at= line, and activate keeps 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 the created_at= line by hand from signing-key and/or signing-key.next. See SIGNING.md.
  5. Rust type of events_dropped_oversized. In the chimera-event crate, SessionEnd::events_dropped_oversized changed from u64 to Option<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 as oversized_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 SHA256SUMS are 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.