auditd for the masses
play

Auditd for the Masses Philipp Krenn @xeraa Learn about a breach - PowerPoint PPT Presentation

Auditd for the Masses Philipp Krenn @xeraa Learn about a breach From the press or users Learn about a breach Attackers asking for a ransom Learn about a breach Cloud provider's bill Learn about a breach Yourself after the


  1. Auditd for the Masses Philipp Krenn ����� @xeraa

  2. Learn about a breach From the press or users

  3. Learn about a breach Attackers asking for a ransom

  4. Learn about a breach Cloud provider's bill

  5. Learn about a breach Yourself after the fact

  6. Learn about a breach Yourself but unsure about harm

  7. Learn about a breach Yourself & you can prove no harm

  8. No silver bullet

  9. Questions: https://sli.do/xeraa Answers: https://twitter.com/xeraa

  10. uditd https://github.com/linux-audit

  11. "auditd is the userspace component to the Linux Auditing System. It's responsible for writing audit records to the disk. Viewing the logs is done with the ausearch or aureport utilities."

  12. Watching file access Monitoring system calls Recording commands run by a user Recording security events Monitoring network access

  13. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/chap-system_auditing

  14. Demo

  15. More Rules https://github.com/linux-audit/audit- userspace/tree/master/rules

  16. Namespaces WIP https://github.com/linux-audit/audit- kernel/issues/ 32#issuecomment-395052938

  17. Problem How to centralize?

  18. Infrastructure | Developer

  19. Disclaimer I build highly monitored Hello World apps

  20. Filebeat Module: Auditd

  21. Demo

  22. Auditbeat

  23. Auditd Module Correlate related events Resolve UIDs to user names Native Elasticsearch integration

  24. Auditd Module eBPF powers on older kernels Run side by side with Auditd Easier configuration

  25. Docker metadata enrichment

  26. Demo

  27. File Integrity Module inotify (Linux) fsevents (macOS) ReadDirectoryChangesW (Windows)

  28. hash_types blake2b_256 , blake2b_384 , blake2b_512 , md5 , sha1 , sha224 , sha256 , sha384 , sha512 , sha512_224 , sha512_256 , sha3_224 , sha3_256 , sha3_384 , sha3_512 , xxh64

  29. Demo

  30. See moar Kibana visualizations & dashboards

  31. Demo

  32. PS: Machine Learning

  33. Conclusion

  34. Auditd Auditbeat Logs, Dashboards,...

  35. !

  36. !"

  37. https://cloud.elastic.co

  38. Next Steps https://dashboard.xeraa.wtf SSH: elastic-user@xeraa.wtf secret

  39. Questions? Philipp Krenn ����� @xeraa PS: Sticker

Recommend


More recommend