-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsamhainrc.aix5.2.0
236 lines (217 loc) · 5.47 KB
/
samhainrc.aix5.2.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
#####################################################################
#
# AIX 5.2.0 configuration file for Samhain.
#
####################################################################
#
# Date : 23.10.2003
# Author : Christoph Kiefer ([email protected])
# Comment : Samhain client configuration file. Should work
# for AIX 5.1.0. The Samhain version is 1.7.12
# This configuration fits MY needs, YOU will
# probably have to modify it.
#
# Changes : Date Name Remarks
# 23.10.2003 Christoph Kiefer Initial Version
#
#####################################################################
#
# -- empty lines and lines starting with '#', ';' or '//' are ignored
# -- boolean options can be Yes/No or True/False or 1/0
# -- you can PGP clearsign this file -- samhain will check (if compiled
# with support) or otherwise ignore the signature
# -- CHECK mail address
#
# To each log facility, you can assign a threshold severity. Only
# reports with at least the threshold severity will be logged
# to the respective facility (even further below).
#
#####################################################################
# SETUP for file system checking:
# (i) There are several policies, each has its own section. Put files
# into the section for the appropriate policy (see below).
# (ii) Section [EventSeverity]:
# To each policy, you can assign a severity (further below).
# (iii) Section [Log]:
# To each log facility, you can assign a threshold severity. Only
# reports with at least the threshold severity will be logged
# to the respective facility (even further below).
#####################################################################
#####################################################################
#
# Files are defined with: file = /absolute/path
#
# Directories are defined with: dir = /absolute/path
# or with an optional recursion depth (N <= 99): dir = N/absolute/path
#
# Directory inodes are checked. If you only want to check files
# in a directory, but not the directory inode itself, use (e.g.):
#
# [ReadOnly]
# dir = /some/directory
# [IgnoreAll]
# file = /some/directory
#
# You can use shell-style globbing patterns, like: file = /path/foo*
#
######################################################################
[Misc]
MessageHeader=""
RedefLogFiles=-INO
SetFilecheckTime=3600
SetLoopTime=3600
SetRecursionLevel=99
DigestAlgo=SHA1
ChecksumTest=check
SetTimeServer=localhost
ReportFullDetail=no
Daemon=yes
HideSetup=yes
ReportOnlyOnce=yes
UseLocalTime=yes
## The Prelude-IDS profile to use for reporting
## default value is "samhain"
#
# PreludeProfile = samhain
## Map these samhain severities to impact severity 'info' severity
#
# PreludeMapToInfo =
## Map these samhain severities to impact severity 'low' severity
#
# PreludeMapToLow = debug info
## Map these samhain severities to impact severity 'medium' severity
#
# PreludeMapToMedium = notice warn err
## Map these samhain severities to impact severity 'high' severity
#
# PreludeMapToHigh = crit alert
[IgnoreAll]
dir=-1/etc/objrepos
dir=-1/etc/vg
dir=-1/dev/.SRC-unix
dir=-1/dev/pts
dir=-1/opt
dir=-1/tmp
dir=-1/usr/share/lib/objrepos
dir=-1/usr/share/man
dir=-1/var/adm/cron
dir=-1/var/tmp
file=/dev/log*
[Attributes]
file=/etc/lpp/diagnostics/data/*
file=/audit/auditb
file=/dev
# file=/etc/bootpd.dump
file=/etc/bootptab
file=/etc/inittab
file=/etc/xtab
dir=/dev
dir=/usr/dt
dir=/usr/lib/instl
dir=/usr/lib/lpd
dir=/usr/lib/mh
dir=/usr/lib/sa
dir=/usr/lpp
[LogFiles]
file=/etc/rmtab
file=/etc/security/failedlogin
file=/etc/security/lastlog
file=/etc/security/portlog
file=/etc/utmp
# file=/smit.log
file=/var/adm/*log*
file=/var/adm/ras/*log*
file=/var/adm/wtmp
file=/var/log/*log*
[IgnoreNone]
file=/etc/tsh_profile
[ReadOnly]
dir=/etc/security/ldap
file=/etc/*.cnf
file=/etc/*conf*
file=/etc/aliases
file=/etc/dumpdates
file=/etc/environment
file=/etc/exports
file=/etc/filesystems
file=/etc/ftpusers
file=/etc/group
file=/etc/hosts*
file=/etc/motd
file=/etc/passwd
file=/etc/profile
file=/etc/protocols
file=/etc/publickey
file=/etc/rc.*
file=/etc/rpc
file=/etc/security/acl
file=/etc/security/environ
file=/etc/security/group
file=/etc/security/limits
file=/etc/security/login.cfg
file=/etc/security/passwd
file=/etc/security/roles
file=/etc/security/smitacl.*
file=/etc/security/user*
file=/etc/sendmail.cf
file=/etc/services
file=/etc/sudoers
file=/etc/swapspaces
file=/etc/vfs
# file=/smit.script
dir=/etc/mail
dir=/etc/rc.d
dir=/etc/security/audit
dir=/home/root
dir=/sbin
dir=/usr/X11R6
dir=/usr/bin
dir=/usr/ccs
dir=/usr/etc
dir=/usr/include
dir=/usr/lib/boot
dir=/usr/lib/methods
dir=/usr/lib/microcode
dir=/usr/lib/security
dir=/usr/lib/smit
dir=/usr/local/bin
dir=/usr/sbin
dir=/usr/share
dir=/usr/ucb
[EventSeverity]
SeverityAttributes=crit
SeverityDirs=err
SeverityFiles=err
SeverityGrowingLogs=warn
SeverityIgnoreNone=crit
SeverityLogFiles=crit
SeverityReadOnly=crit
SeverityIgnoreAll=info
SeverityNames=info
[Log]
ExportClass=RUN FIL PANIC ERR ENET EINPUT
LogSeverity=none
MailSeverity=none
PrintSeverity=none
ExportSeverity=warn
SyslogSeverity=warn
## Logging to a Prelude-IDS
##
# PreludeSeverity = crit
[SuidCheck]
SuidCheckExclude=/proc
SuidCheckActive=1
SuidCheckInterval=1800
SuidCheckFps=250
#SuidCheckYield=no
SeveritySuidCheck=alert
#SuidCheckQuarantineFiles=yes
#SuidCheckQuarantineMethod=0
# SuidCheckQuarantineDelete = yes
[Utmp]
LoginCheckActive=1
LoginCheckInterval=30
SeverityLogin=info
SeverityLogout=info
SeverityLoginMulti=warn
[EOF]