Skip to content

Add networking and security baseline audit evidence - #7

Merged
Daemon-linux merged 30 commits into
mainfrom
docs/networking-security-audit
Nov 17, 2026
Merged

Daemon-linux merged 30 commits into
mainfrom
docs/networking-security-audit

Conversation

@Daemon-linux

@Daemon-linux Daemon-linux commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds a read-only networking and security baseline audit for the LFS 13.1-systemd build.

Repository navigation

The historical screenshots/ directory name is retained for link stability; it contains text evidence and other artifacts in addition to images.

Included

  • 30 individual Phase 2 and Phase 3 command-output captures, plus collection metadata.
  • An audit report covering network configuration, DNS/resolver state, systemd services, listening sockets, account-file permissions, selected kernel parameters, login defaults, and evidence limitations.
  • A read-only collector with correct command exit-status capture and SHA-256 manifest generation when sha256sum is available.
  • An anonymization helper that preserves originals and replaces MAC addresses, MAC-derived IPv6 link-local identifiers, Machine/Boot IDs, Product UUIDs, and systemd Invocation IDs.
  • Eight regression tests for anonymization, IPv6 prefix preservation, original-file preservation, and safe source/destination separation.
  • Documentation index and README updates connecting the audit report to its raw evidence.

Validation

  • GitHub Actions on ubuntu-latest: Bash syntax validation — passed.
  • Collector smoke test — passed; generated 30 command captures plus metadata and verified the 31-file SHA-256 manifest.
  • Python syntax validation — passed.
  • Anonymizer regression tests — passed (8 tests).
  • Manual review of all 30 evidence files for residual identifying MAC, IPv6 link-local interface identifiers, and UUID/Invocation ID values. The standard all-zero loopback MAC remains unchanged.

Latest GitHub Actions run

Interpretation and limitations

  • This is a point-in-time baseline, not a penetration test, vulnerability scan, security certification, or production-readiness assessment.
  • Firewall state remains unverified because the captured nft and iptables-save commands were unavailable.
  • The Phase 3 collector's historical exit-status annotations are documented as unreliable.
  • Private RFC1918 IPv4 addresses, interface names, and the non-unique lab hostname lfs are retained to keep the virtual-network evidence understandable.
  • No hardening or system configuration changes are proposed or applied.

The README and evidence indexes provide the intended navigation path. Existing historical directory paths are preserved to avoid breaking links.

@Daemon-linux
Daemon-linux marked this pull request as ready for review November 17, 2026 14:37
@Daemon-linux
Daemon-linux merged commit bbaa1f2 into main Nov 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant