enodia-sentinal/enodia_sentinel
Luna 69798b26e4 Add systemd unit posture checks
Close the remaining v0.8 posture bullet: flag enabled systemd units with
group/world-writable unit files (systemd_unit_writable, sid 100050) and
units whose ExecStart binary runs from a writable/unsafe path such as
/tmp, /dev/shm, /var/tmp, /home, or /run/user (systemd_exec_unsafe_path,
sid 100051).

- posture.systemd_findings/parse_systemctl_show/read_systemd_units, wired
  into posture.run() behind the new posture_systemd config knob.
- read_systemd_units shells out to systemctl with timeouts and fails closed
  on non-systemd hosts; the dashboard /api/posture surfaces findings for free.
- Unit tests for the parser and evaluator; TestRunIntegration patches the
  new reader so run() never touches live systemctl.
- Docs: COMMAND_REFERENCE posture list, ROADMAP v0.8 bullet, RUNBOOKS
  Runbook 2 triggers, config TOML knob.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 02:27:19 -07:00
..
detectors Add memory obfuscation and ps-hidden process detection 2026-06-13 03:55:09 -07:00
events Add event-driven memory syscall telemetry 2026-06-13 05:45:30 -07:00
notify Add read-only web dashboard and phone push notifications 2026-05-31 16:18:00 -07:00
static Add dashboard integrity/watchdog console 2026-06-18 17:39:53 -07:00
__init__.py Frame Sentinel as IDS IPS and EDR 2026-06-13 05:59:03 -07:00
alert.py Add event-driven eBPF execve layer with a Snort-style rule engine 2026-05-31 07:16:53 -07:00
cli.py Add stable v1 schema IDs and docs 2026-06-16 04:05:12 -07:00
config.py Add systemd unit posture checks 2026-06-19 02:27:19 -07:00
daemon.py Add event-driven memory syscall telemetry 2026-06-13 05:45:30 -07:00
fim.py Add file integrity monitoring (Tripwire-style), auto-refreshed via pacman hook 2026-05-31 22:18:42 -07:00
incident.py Add stable v1 schema IDs and docs 2026-06-16 04:05:12 -07:00
netutil.py Relicense under GPL-3.0-or-later 2026-05-31 06:52:34 -07:00
pkgdb.py Add platform docs; reposition as host security platform 2026-06-10 04:03:06 -07:00
posture.py Add systemd unit posture checks 2026-06-19 02:27:19 -07:00
provenance.py Add false-positive triage via package-ownership provenance 2026-05-31 22:05:00 -07:00
respond.py Add stable v1 schema IDs and docs 2026-06-16 04:05:12 -07:00
rootcheck.py Add memory obfuscation and ps-hidden process detection 2026-06-13 03:55:09 -07:00
ruleops.py Generate event rule documentation 2026-06-15 18:52:28 -07:00
schemas.py Add dashboard integrity/watchdog console 2026-06-18 17:39:53 -07:00
selfprotect.py Add HTTPS management console and response planning 2026-06-12 02:39:53 -07:00
snapshot.py Add stable v1 schema IDs and docs 2026-06-16 04:05:12 -07:00
system.py Add memory obfuscation and ps-hidden process detection 2026-06-13 03:55:09 -07:00
triage.py Add false-positive triage via package-ownership provenance 2026-05-31 22:05:00 -07:00
web.py Add dashboard integrity/watchdog console 2026-06-18 17:39:53 -07:00