Pcornel
Security · Logging & Monitoring

Log Integrity

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

Back to the Topic

Answer

Log Integrity protects security records from unauthorized alteration, deletion and ambiguity through access control, append-only or immutable storage where appropriate, cryptographic verification, trusted time, provenance and monitored collection paths.

Remember

  • Hash match ≠ complete provenance, trustworthy generation or chain of custody.
  • Immutable storage ≠ complete logs if events were never generated or were dropped before preservation.
  • Source configured ≠ required event generated, transported, retained and queryable.
  • Telemetry observation ≠ root cause, intent or complete security state without independent context.

First checks

  • WORM/immutable log storage — tamper resistance
  • Hash chains or signed logs — integrity
  • Access to delete logs restricted — privileged control

Verify in this order

event → forwarded off-host → immutable store

Where it usually breaks

First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.

Logging & Monitoring → Log Integrity proof map

BoundaryEstablishDoes not establish
SourceRequired asset/service, audit policy, provider/channel and event classSource inventory alone does not prove event generation
DeliveryLocal queue, transport, collector receipt and timestampsConfigured destination does not prove lossless delivery
PreservationRetention, access, raw record, integrity and provenanceStored record does not prove source truth or complete coverage
InterpretationProvider fields, identity, policy/result and adjacent evidenceEvent presence does not prove intent, causation or root cause
MonitoringQuery/detection plus source and pipeline healthNo alert does not prove no activity or compromise

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

Confirmation

Confirm action

Continue?