3. 16/02/09 17:45:02 mkdir 20351 mkdir root 2285
...
The first thing that the visualization script needs to do on this report is to extract only
those columns that are of interest, in this example, the
syscall
and the
comm
columns.
The output is sorted and duplicates removed then the final output is piped into the visu-
alization program itself:
LC_ALL=C aureport -s -i | awk '/^[0-9]/ { print $6" "$4 }' | sort | uniq |
mkgraph
NOTE: Adjusting the Locale
Depending on your choice of locale in
/etc/sysconfig/auditd
, your au-
report output might contain an additional data column for AM/PM on time
stamps. To avoid having this confuse your scripts, precede your script calls with
LC_ALL=C
to reset the locale and use the 24 hour time format.
Figure 30.2
Flow Graph—Program versus System Call Relationship
The second example illustrates the different types of events and how many of each type
have been logged. The appropriate
aureport
command to extract this kind of infor-
mation is
aureport -e
:
aureport -e -i --summary
Event Summary Report
======================
total
type
======================
2434
SYSCALL
816
USER_START
816
USER_ACCT
814
CRED_ACQ
810
LOGIN
806
CRED_DISP
779
USER_END
99
CONFIG_CHANGE
52
USER_LOGIN
Understanding Linux Audit
409
Содержание LINUX ENTERPRISE DESKTOP 11
Страница 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Страница 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Страница 10: ......
Страница 29: ...Part I Authentication...
Страница 30: ......
Страница 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Страница 126: ......
Страница 127: ...Part II Local Security...
Страница 128: ......
Страница 158: ......
Страница 173: ...Part III Network Security...
Страница 174: ......
Страница 194: ......
Страница 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Страница 210: ......
Страница 228: ......
Страница 229: ...Part IV Confining Privileges with Novell AppArmor...
Страница 230: ......
Страница 274: ......
Страница 300: ......
Страница 328: ......
Страница 340: ......
Страница 342: ......
Страница 386: ......
Страница 387: ...Part V The Linux Audit Framework...
Страница 388: ......