"Auditing all the things": The future of smarter monitoring and detection
summary
Argues for treating each host as the audit perimeter and logging everything: Linux auditd to JSON for readable syscall, file and exec events; parse WTMP and use pam_log_uid to tie sudo sessions into a session ID; capture netflow via conntrack/netfilter and correlate flows to processes by port; ship events to Elasticsearch for alerts. Notes auditd’s queue/blocking, weird formats and need for rate‑limiting; a custom listener and state‑machine parser cuts CPU and handles ~10k conn/s.
AI-written summary · about
chapters (16)
- 0:00Introduction and premise
- 1:04Why audit everything
- 4:54Cloud security challenges
- 5:58Continuous security monitoring
- 8:29Host-based auditing approach
- 9:33Linux audit system overview
- 13:30Challenges with auditd
- 15:59Improving audit logs with custom tools
- 17:46Tracking authentications and sessions
- 19:51Network flow data collection
- 22:21Correlating system and network data
- 23:23Forensic logging benefits
- 24:50Detecting attacks with valid credentials
- 26:36Simple detection rules
- 27:20Network capture alternatives
- 28:26Legal and compliance impact
