#-a entry,always -S semctl
#-a entry,always -S semget
#-a entry,always -S semop
#-a entry,always -S semtimedop
❸
## shmctl
-a entry,always -S ipc -F a0=24
## shmget
-a entry,always -S ipc -F a0=23
## Use these lines on x86_64, ia64 instead
#-a entry,always -S shmctl
#-a entry,always -S shmget
❶
Audit system calls related to IPC SYSV message queues. In this case, the
a0
values specify that auditing is added for the msgctl and msgget system calls (
14
and
13
). 64-bit platforms, like x86_64 and ia64, do not use multiplexing on ipc
system calls. For these platforms, comment the first two rules and add the plain
system call rules without argument filtering.
❷
Audit system calls related to IPC SYSV message semaphores. In this case, the
a0
values specify that auditing is added for the semctl, semget, semop, and sem-
timedop system calls (
3
,
2
,
1
, and
4
). 64-bit platforms, like x86_64 and ia64, do
not use multiplexing on ipc system calls. For these platforms, comment the first
four rules and add the plain system call rules without argument filtering.
❸
Audit system calls related to IPC SYSV shared memory. In this case, the
a0
values
specify that auditing is added for the shmctl and shmget system calls (
24
,
23
).
64-bit platforms, like x86_64 and ia64, do not use multiplexing on ipc system
calls. For these platforms, comment the first two rules and add the plain system
call rules without argument filtering.
32.7 Managing Audit Event Records
Using Keys
After configuring a few rules generating events and populating the logs, you need to
find a way to tell one event from the others. Using the
ausearch
command, you can
filter the logs for various criteria. Using
ausearch -m
message_type
, you can
at least filter for events of a certain type. However, to be able to filter for events related
to a particular rule, you need to add a key to this rule in the
/etc/audit/audit
.rules
file. This key is then added to the event record every time the rule logs an
Introducing an Audit Rule Set
433
Содержание 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: ......