8000 GitHub - cstrotm/audit-visualize: Scripts to visualize linux audit daemon data
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cstrotm/audit-visualize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains scripts that visualize data coming from the Linux audit subsystem. The scripts are originally from Steve Grubb <sgrubb@redhat.com> and can be found at https://people.redhat.com/sgrubb/audit/visualize/.

This scripts have been adapted to work with modern versions of GNUPlot and to write png files instead of Postscript.

Examples

mkbar

$ sudo aureport -s -i --summary  | bash ./mkbar syscall
$ sudo aureport -f -i --summary --failed | bash ./mkbar failed-access
$ sudo aureport -e -i --summary | egrep -vi '(syscall|change)'
$ sudo aureport -e -i --summary | egrep -vi '(syscall|change)' | bash ./mkbar events2

Results

  • Syscalls

./syscall.png

  • Failed Filesystem Access

./failed-access.png

  • Audit Events

./events2.png

mkgraph

  • Syscall usage of processes
$ sudo aureport -s -i | awk '/^[0-9]/ { printf "%s %s\n", $6, $4 }' | sort | uniq | bash ./mkgraph
Graph was written to gr.png
  • which user executes which processes
sudo aureport -u -i | awk '/^[0-9]/ { printf "%s %s\n", $4, $7 }' | sort | uniq | bash ./mkgraph
  • who accesses which files
sudo aureport -f -i | awk '/^[0-9]/ { printf "%s %s\n", $8, $4 }' | sort | uniq | bash ./mkgraph
  • Example

./gr.png

About

Scripts to visualize linux audit daemon data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0