Pcornel
Security · Security Fundamentals

Accounting

Cheat sheet · https://pcornel.dk/topic.php?topic=4417

Back to the Topic

Answer

Accounting begins at authoritative event sources, preserves identity and time context, transports and normalizes records, protects retention and access, correlates events and validates that required activity is actually observable.

Remember

  • Log present ≠ event complete or true.
  • No event found ≠ action did not occur unless source, collection, retention and query coverage are proven.
  • Timestamp ≠ trustworthy sequence when clocks or time zones differ.
  • Accounting evidence ≠ automatic non-repudiation or causation.

First checks

  • journalctl --since -1h — Linux logs
  • auditctl -l — audit rules
  • Get-WinEvent -LogName Security -MaxEvents 50 — Windows audit

Verify in this order

action → log record → central storage → review

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Security Fundamentals → Accounting proof map

Evidence boundaryWhat to establishWhat it does not establish
Scope and contextAsset, owner, subject, action, data flow, time and expected security outcomeDoes not prove the inventory, threat model or business assumptions are complete
Design and effective stateIntended policy/control plus the identity, configuration, coverage and dependencies actually in forceConfiguration presence does not prove consistent enforcement or operating effectiveness
Outcome evidenceAllowed, denied, failure and recovery tests correlated with telemetryOne successful test does not prove every path, time or attacker condition
AcceptanceGap, residual risk, owner, review trigger and retest result are recordedAcceptance does not remove the risk or make it permanent

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4417

Confirmation

Confirm action

Continue?