Repository navigation
Security hardening release following v1.5.0, closing the cross-user cleanup trust boundary, eliminating all unsolicited sensor container egress, adding a pre-teardown host-integrity audit playbook, and tightening host disk-fill safeguards with zero intelligence loss.
Strict One-Way Isolation (stigma -> vector -> nectar)
- Collector lockout from sensor scratch: Permanently removed
lantana-grant-read, nightlystigmaPOSIX ACL grants, and allnectarreads/writes under/var/lib/lantana/sensor/(tightened to0700 stigma:stigma). - Self-pruning sensor scratch (
User=stigma): Added root-owned hourlylantana-sensor-prune.timerexecuting/usr/local/libexec/lantana-sensor-pruneasUser=stigmainside a hardened systemd unit, usingO_DIRECTORY | O_NOFOLLOW+dir_fdfor symlink/TOCTOU-safe 14d retention (3d emergency>80%). - Datalake-only collector scope: Restricted
lantana-prunestrictly tonectar-owned Bronze/Silver/Gold tiers and scopedenrichment/{ioc,runner}.pyto Bronze NDJSON only.
Non-Egressing :v1.5.1 Container Images & Offline Delivery
- Offline
ghcr.io/lopes/lantana-cowrie:v1.5.1&ghcr.io/lopes/lantana-dionaea:v1.5.1: Addedcontainers/cowrie/patch_offline.py+out_addr = 127.0.0.1so Cowrie logs download URLs while failing locally without opening outbound sockets, and restricted Dionaea tomodules=python,emupluscontainers/dionaea/patch_ftp.py(rejecting active-mode FTPPORTwith502), verified in CI smoke tests. - Air-gapped container runtime (
Pull=never): Pinned Cowrie and Dionaea Podman Quadlets to:v1.5.1withPull=neverand addedimport_sensor_image.yml(rootpodman pull+podman save | runuser -u stigma -- podman load) sostigmanever needs registry or internet access.
100% Dark stigma Firewall & OPSEC-Safe Egress Observability
- Unconditional
skuid stigmaegress containment: Blocked and logged allmeta skuid stigma ct state newtraffic across WAN, loopback (lo), andltn0infirewall-single.nft.j2, eliminating outbound53/80/443piggybacking from rootlesspastasockets. - Kernel-only egress log isolation: Routed
LANTANA_STIGMA_EGRESSkernel events via rsyslog (10-nftables.conf) to dedicated/var/log/lantana/sensor-egress.log(0640), added an unconditionalOUTPUTdrop guard infirewall.vector.yaml.j2, and strippedSRC=/ WAN IPs before ingestion or reporting. - Critical egress alerting & Vigil
/health: Addednotify/egress.pyfor Criticalsensor_egress_blockedDiscord alerts inlantana-reportand live same-day egress checks on Vigil/health(filtering out the intentional127.0.0.1:1validation canary).
Pre-Teardown Host-Integrity Audit, Storage Hygiene & Docs
- Pre-teardown host audit & validation: Added
config/ansible/tests/audit-host-integrity.ymlto audit non-package systemd user units/timers, shell RC persistence, SSHauthorized_keys, listening sockets, crontabs, non-overlay SUID binaries, and egress drops; expandedvalidate-{single-node,sensor-runtime,canaries,multi-node}.ymland the test suite (624passing tests). - Zero-intel-loss disk hygiene: Disabled Suricata raw alert
payload/packetdumps by default while preserving full alert metadata, cappedsystemd-journaldatSystemMaxUse=200M, addedmaxsize 100Mlogrotate bounds with an hourly safety check, refreshed Vigil screenshots and operational docs (#55), and bumped GitHub Actions Docker build dependencies (#52–#54).
Full Changelog: v1.5.0...v1.5.1