☼
⌃
☰

Accountability

Table of Contents

The fourth pillar of IAAA. While the first three pillars (Identification, Authentication, Authorisation) control access, Accountability records what happens after access is granted — creating the audit trail needed for incident response, forensics, and compliance.

Related: IAAA Incident Response Windows Event Logs windows client DFIR

Why the Previous Pillars Matter

Accountability is only meaningful if identification and authentication are properly enforced:

  • Shared accounts destroy accountability — if three people share an admin password, a log entry for that account cannot be attributed to any individual
  • Weak authentication means a log entry may represent an attacker, not a legitimate user

Key Components

Logging

Automated recording of events — the raw data that accountability depends on. A log entry should capture: who, what, when, and from where.

TEXT
2025-12-18 14:22:01  User: b_wayne  Action: Download
File: /secret/blueprints.pdf  Source IP: 192.168.1.42

Auditing

Independent review of logs and records to assess whether controls are working and whether policy is being followed. Audit findings drive control improvements.

Non-Repudiation

A user cannot credibly deny having performed an action because evidence of their specific participation exists — a digital signature, a unique session token tied to their credential, or a tamper-evident log entry.

Common Log Sources

Linux

SHELL
# Authentication events — logins, sudo, failed attempts
tail -f /var/log/auth.log
tail -f /var/log/secure           # RHEL/CentOS equivalent

# sudo usage
grep "sudo" /var/log/auth.log

# Failed login attempts
grep "Failed password" /var/log/auth.log

# Last logins
last
lastb                             # failed logins

Windows

TEXT
Security event log — primary accountability source
Key Event IDs:
4624  Successful logon
4625  Failed logon
4634  Logoff
4648  Logon using explicit credentials
4672  Special privileges assigned (admin logon)
4698  Scheduled task created
4732  User added to security group

See Windows Event Logs for full Event ID reference.

Accountability in Practice

Forensic investigation

Logs allow reconstruction of an attacker's timeline — what was accessed, when, and from which account. The quality of that reconstruction depends entirely on what was logged and whether the logs were tamper-proof.

Compliance

Regulations (GDPR, PCI DSS, SOC 2) require demonstrable audit trails for access to sensitive data. Accountability mechanisms are the technical evidence that compliance is real rather than nominal.

Insider threat detection

Unusual access patterns — a user downloading files at 2am, accessing systems outside their normal scope — are only detectable if access events are logged and reviewed.

Tips

  • Logs are only useful if they are stored securely and cannot be tampered with by the person being audited — centralise logs to a system the monitored user cannot access
  • Log retention policy matters — a breach discovered six months after the fact requires logs that go back that far; ensure retention periods match your IR and compliance requirements
  • Logging everything creates noise; logging too little misses incidents — tune logging to capture privilege escalation, authentication events, and sensitive data access at minimum