Debian Codegraph @

tests/DS/validate/sds-invalid-xccdf.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_scap-fedora14-xccdf.xml" schematron-version="1.2"><ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_scap-fedora14-xccdf.xml" scap-version="1.2" use-case="OTHER"><ds:checklists><ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-xccdf.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-xccdf.xml"><cat:catalog><cat:uri name="scap-fedora14-oval.xml" uri="#scap_org.open-scap_cref_scap-fedora14-oval.xml"/></cat:catalog></ds:component-ref></ds:checklists><ds:checks><ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-oval.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-oval.xml"/></ds:checks></ds:data-stream><ds:component id="scap_org.open-scap_comp_scap-fedora14-xccdf.xml" timestamp="2012-07-20T12:22:58"><xccdf:Benchmark xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_cdf_benchmark_scap-fedora14-xccdf.xml" resolved="1" style="SCAP_1.2" xml:lang="en" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.2 http://scap.nist.gov/schema/xccdf/1.2/xccdf_1.2.xsd http://cpe.mitre.org/dictionary/2.0 http://scap.nist.gov/schema/cpe/2.3/cpe-dictionary_2.3.xsd">
3 <xccdf:title>Example of SCAP Security Guidance</xccdf:title>
4 <xccdf:description>This example security guidance has been created to demonstrate SCAP functionality
5 on Linux.</xccdf:description>
6 <xccdf:version>0.1</xccdf:version>
7 <xccdf:model system="urn:xccdf:scoring:default"/>
8 <xccdf:model system="urn:xccdf:scoring:flat"/>
9 <!-- ==================================================================================================== -->
10 <!-- ============================================ PROFILES ============================================= -->
11 <!-- ==================================================================================================== -->
12 <!-- -->
13 <!-- These profiles outline the specific guidance outlined by this document. -->
14 <!-- Each defines the set of XCCDF rules that are applicable for that guidance as well as specific values -->
15 <!-- to be used when determining complinace. -->
16 <!-- -->
17 <xccdf:Profile abstract="false" id="xccdf_cdf_profile_F14-Default">
18 <xccdf:title xml:lang="en">Default install settings</xccdf:title>
19 <xccdf:description xml:lang="en">This profile is an example policy that simply checks if some of Fedora 14 default
20 install settings have been modified. It is not comprehensive nor checks security hardening. It is just for testing
21 purposes.</xccdf:description>
22 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false"/>
23 <!-- DONE -->
24 <!-- Separate Partition or Logical Volume for /tmp -->
25 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false"/>
26 <!-- DONE -->
27 <!-- Minimum size of /tmp -->
28 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false"/>
29 <!-- DONE -->
30 <!-- Separate Partition or Logical Volume for /var -->
31 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false"/>
32 <!-- DONE -->
33 <!-- Minimum size of /var -->
34 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false"/>
35 <!-- DONE -->
36 <!-- Separate Partition or Logical Volume for /var/log -->
37 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false"/>
38 <!-- DONE -->
39 <!-- Separate Partition or Logical Volume for /var/log/audit -->
40 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false"/>
41 <!-- DONE -->
42 <!-- Separate Partition or Logical Volume for /home -->
43 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="true"/>
44 <!-- READY+ -->
45 <!-- Ensure that GPG Key for Fedora is installed -->
46 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false"/>
47 <!-- DONE -->
48 <!-- Disable the yum-updatesd daemon -->
49 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false"/>
50 <!-- DONE -->
51 <!-- Automatic Update Retrieval should be scheduled with Cron -->
52 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="true"/>
53 <!-- READY+ -->
54 <!-- Ensure gpgcheck is Globally Activated -->
55 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="true"/>
56 <!-- READY+ -->
57 <!-- Ensure Package Signature Checking is Not Disabled For Any Repos -->
58 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false"/>
59 <!-- DONE -->
60 <!-- Ensure Repodata Signature Checking is Globally Activated -->
61 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="true"/>
62 <!-- READY+ -->
63 <!-- Ensure Repodata Signature Checking is Not Disabled For Any Repos -->
64 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false"/>
65 <!-- DONE -->
66 <!-- Install AIDE -->
67 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.4.a" selected="false"/>
68 <!-- DONE -->
69 <!-- run AIDE (integrity check) periodically -->
70 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false"/>
71 <!-- DONE (unknown)-->
72 <!-- Verify Package Integrity Using RPM -->
73 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.1.a" selected="false"/>
74 <!-- DONE -->
75 <!-- Add nodev Option to Non-Root Local Partitions -->
76 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false"/>
77 <!-- DONE (unknown)-->
78 <!-- Add nodev Option to Removable Media Partitions -->
79 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false"/>
80 <!-- DONE (unknown)-->
81 <!-- Add noexec Option to Removable Media Partitions -->
82 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false"/>
83 <!-- DONE (unknown)-->
84 <!-- Add nosuid Option to Removable Media Partitions -->
85 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false"/>
86 <!-- DONE -->
87 <!-- Disable Modprobe Loading of USB Storage Driver -->
88 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false"/>
89 <!-- DONE -->
90 <!-- Remove USB Storage Driver -->
91 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false"/>
92 <!-- DONE -->
93 <!-- Disable Kernel Support for USB via Bootloader Configuration (will disable all USB devices including keyboards, mice, etc) -->
94 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false"/>
95 <!-- READY (unknown)-->
96 <!-- Disable Booting from USB Devices -->
97 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false"/>
98 <!-- DONE -->
99 <!-- Disable the Automounter if Possible -->
100 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false"/>
101 <!-- BUG? -->
102 <!-- Disable GNOME Automounting if Possible -->
103 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false"/>
104 <!-- READY -->
105 <!-- Disable Mounting of cramfs -->
106 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false"/>
107 <!-- READY -->
108 <!-- Disable Mounting of freevxfs -->
109 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false"/>
110 <!-- READY -->
111 <!-- Disable Mounting of jffs2 -->
112 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false"/>
113 <!-- READY -->
114 <!-- Disable Mounting of hfs -->
115 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false"/>
116 <!-- READY -->
117 <!-- Disable Mounting of hfsplus -->
118 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false"/>
119 <!-- READY -->
120 <!-- Disable Mounting of squashfs -->
121 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false"/>
122 <!-- READY -->
123 <!-- Disable Mounting of udf -->
124 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.a" selected="true"/>
125 <!-- READY+ -->
126 <!-- Verify user who owns '/etc/shadow' file -->
127 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.b" selected="true"/>
128 <!-- READY+ -->
129 <!-- Verify group who owns '/etc/shadow' file -->
130 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.c" selected="true"/>
131 <!-- READY+ -->
132 <!-- Verify user who owns '/etc/group' file -->
133 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.d" selected="true"/>
134 <!-- READY+ -->
135 <!-- Verify group who owns '/etc/group' file -->
136 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.e" selected="true"/>
137 <!-- READY+ -->
138 <!-- Verify user who owns '/etc/gshadow' file -->
139 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.f" selected="true"/>
140 <!-- READY+ -->
141 <!-- Verify group who owns '/etc/gshadow' file -->
142 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.g" selected="true"/>
143 <!-- READY+ -->
144 <!-- Verify user who owns '/etc/passwd' file -->
145 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.h" selected="true"/>
146 <!-- READY+ -->
147 <!-- Verify group who owns '/etc/passwd' file -->
148 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.i" selected="true"/>
149 <!-- READY+ -->
150 <!-- Verify permissions on '/etc/shadow' file -->
151 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.j" selected="true"/>
152 <!-- READY+ -->
153 <!-- Verify permissions on '/etc/group' file -->
154 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.k" selected="true"/>
155 <!-- READY+ -->
156 <!-- Verify permissions on '/etc/gshadow' file -->
157 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.l" selected="true"/>
158 <!-- READY+ -->
159 <!-- Verify permissions on '/etc/passwd' file -->
160 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.2.a" selected="true"/>
161 <!-- READY+ -->
162 <!-- Verify that All World-Writable Directories Have Sticky Bits Set -->
163 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.3.a" selected="true"/>
164 <!-- READY+ -->
165 <!-- Find Unauthorized World-Writable Files -->
166 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.a" selected="true"/>
167 <!-- READY+ -->
168 <!-- Find Unauthorized SGID System Executables -->
169 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.b" selected="true"/>
170 <!-- READY+ -->
171 <!-- Find Unauthorized SUID System Executables -->
172 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.a" selected="true"/>
173 <!-- READY+ -->
174 <!-- Find files unowned by a user -->
175 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.b" selected="true"/>
176 <!-- READY+ -->
177 <!-- Find files unowned by a group -->
178 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.6.a" selected="true"/>
179 <!-- READY+ -->
180 <!-- Find world writable directories not owned by a system account-->
181 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.1.a" selected="true"/>
182 <!-- READY+ -->
183 <!-- Set Daemon umask -->
184 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false"/>
185 <!-- DONE -->
186 <!-- Disable Core Dumps for all users -->
187 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.b" selected="true"/>
188 <!-- READY+ -->
189 <!-- Disable Core Dumps for SUID programs -->
190 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.a" selected="true"/>
191 <!-- READY+ -->
192 <!-- Enable ExecShield -->
193 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.b" selected="true"/>
194 <!-- READY+ -->
195 <!-- Enable ExecShield randomized placement of virtual memory regions -->
196 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false"/>
197 <!-- DONE (unknown) -->
198 <!-- Enable NX or XD Support in the BIOS -->
199 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false"/>
200 <!-- DONE -->
201 <!-- Restrict Root Logins to System Console -->
202 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false"/>
203 <!-- DONE -->
204 <!-- Restrict virtual console Root Logins -->
205 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false"/>
206 <!-- DONE -->
207 <!-- Restrict deprecated virtual console Root Logins -->
208 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.d" selected="true"/>
209 <!-- READY+ -->
210 <!-- Restrict serial port Root Logins -->
211 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false"/>
212 <!-- DONE -->
213 <!-- Limit su Access to the Root Account -->
214 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false"/>
215 <!-- DONE -->
216 <!-- Limit su Access to the wheel group -->
217 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false"/>
218 <!-- DONE -->
219 <!-- Configure sudo to Improve Auditing of Root Access -->
220 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false"/>
221 <!-- DONE -->
222 <!-- Block Shell and Login Access for Non-Root System Accounts -->
223 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="true"/>
224 <!-- READY+ -->
225 <!-- Verify that No Accounts Have Empty Password Fields -->
226 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="true"/>
227 <!-- READY+ -->
228 <!-- Verify that all Account Password Hashes are Shadowed -->
229 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.6.a" selected="true"/>
230 <!-- READY+ -->
231 <!-- Verify that No Non-Root Accounts Have UID 0 -->
232 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.a" selected="true"/>
233 <!-- READY+ -->
234 <!-- Set password minimum length -->
235 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false"/>
236 <!-- DONE -->
237 <!-- Set minimum password age -->
238 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false"/>
239 <!-- DONE -->
240 <!-- Set maximum password age -->
241 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.d" selected="true"/>
242 <!-- READY+ -->
243 <!-- Set password warn age -->
244 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false"/>
245 <!-- DONE -->
246 <!-- Remove Legacy + Entries from /etc/shadow -->
247 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false"/>
248 <!-- DONE -->
249 <!-- Remove Legacy + Entries from /etc/group -->
250 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false"/>
251 <!-- DONE -->
252 <!-- Remove Legacy + Entries from /etc/passwd -->
253 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false"/>
254 <!-- DONE -->
255 <!-- Set Password Quality Requirements using pam_cracklib -->
256 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false"/>
257 <!-- DONE -->
258 <!-- Set Password Quality Requirements using pam_passwdqc -->
259 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false"/>
260 <!-- DONE -->
261 <!-- Set Lockouts for Failed Password Attempts -->
262 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false"/>
263 <!-- DONE (unknown) -->
264 <!-- Do not leak information on authorization failure -->
265 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false"/>
266 <!-- DONE -->
267 <!-- Restrict Execution of userhelper to Console Users -->
268 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false"/>
269 <!-- DONE -->
270 <!-- Restrict File permissions of userhelper -->
271 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.5.a" selected="true"/>
272 <!-- READY+ -->
273 <!-- Set Password hashing algorithm -->
274 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false"/>
275 <!-- DONE -->
276 <!-- Limit password reuse -->
277 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.a" selected="true"/>
278 <!-- READY+ -->
279 <!-- Ensure that No Dangerous Directories Exist in Root's Path -->
280 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.b" selected="true"/>
281 <!-- READY+ -->
282 <!-- Write permissions are disabled for group and other in all directories in Root's Path -->
283 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.2.a" selected="true"/>
284 <!-- READY+ -->
285 <!-- Ensure that User Home Directories are not Group-Writable or World-Readable -->
286 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.a" selected="true"/>
287 <!-- READY+ -->
288 <!-- Ensure that Users Have Sensible Umask Values in /etc/bashrc -->
289 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.b" selected="true"/>
290 <!-- READY+ -->
291 <!-- Ensure that Users Have Sensible Umask Values in /etc/cshrc -->
292 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false"/>
293 <!-- DONE (unknown) -->
294 <!-- Check for existance of .netrc file -->
295 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.a" selected="true"/>
296 <!-- READY+ -->
297 <!-- Set Boot Loader user owner -->
298 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.b" selected="true"/>
299 <!-- READY+ -->
300 <!-- Set Boot Loader group owner -->
301 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.c" selected="true"/>
302 <!-- READY+ -->
303 <!-- Set permission on /etc/grub.conf -->
304 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false"/>
305 <!-- DONE -->
306 <!-- Set Boot Loader Password -->
307 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false"/>
308 <!-- ToDo -->
309 <!-- Require Authentication for Single-User Mode -->
310 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false"/>
311 <!-- DONE -->
312 <!-- Disable Interactive Boot -->
313 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false"/>
314 <!-- DONE -->
315 <!-- Implement Inactivity Time-out for csh Shell -->
316 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false"/>
317 <!-- DONE (unknown) -->
318 <!-- Implement Inactivity Time-out for bash Shell -->
319 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false"/>
320 <!-- DONE -->
321 <!-- Implement Inactivity Time-out for Login Shells -->
322 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false"/>
323 <!-- DONE -->
324 <!-- Implement idle activation of screen saver -->
325 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false"/>
326 <!-- DONE -->
327 <!-- Implement idle activation of screen lock -->
328 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false"/>
329 <!-- DONE -->
330 <!-- Implement blank screen saver -->
331 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false"/>
332 <!-- DONE -->
333 <!-- Configure console screen locking -->
334 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false"/>
335 <!-- DONE -->
336 <!-- Modify the System Login Banner -->
337 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false"/>
338 <!-- BUG -->
339 <!-- Implement a GUI Warning Banner -->
340 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.a" selected="true"/>
341 <!-- READY+ -->
342 <!-- Enable SELinux in /etc/grub.conf -->
343 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.b" selected="false"/>
344 <!-- DONE -->
345 <!-- Enable SELinux enforcement in /etc/grub.conf -->
346 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.c" selected="true"/>
347 <!-- READY+ -->
348 <!-- Set the SELinux state -->
349 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.d" selected="true"/>
350 <!-- READY+ -->
351 <!-- Set the SELinux policy -->
352 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false"/>
353 <!-- DONE (unknown) -->
354 <!-- Ensure SELinux is Properly Enabled -->
355 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false"/>
356 <!-- DONE -->
357 <!-- Disable MCS Translation Service (mcstrans) if Possible -->
358 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false"/>
359 <!-- DONE -->
360 <!-- Restorecon Service (restorecond) -->
361 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.5.a" selected="false"/>
362 <!-- DONE (unknown) -->
363 <!-- Check for Unconfined Daemons -->
364 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false"/>
365 <!-- DONE -->
366 <!-- Disable net.ipv4.conf.default.send_redirects for Hosts Only -->
367 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false"/>
368 <!-- DONE -->
369 <!-- Disable net.ipv4.conf.all.send_redirects for Hosts Only -->
370 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false"/>
371 <!-- DONE -->
372 <!-- Disable net.ipv4.ip forward for Hosts Only -->
373 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false"/>
374 <!-- DONE -->
375 <!-- Set net.ipv4.conf.all.accept_source_route for Hosts and Routers -->
376 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false"/>
377 <!-- DONE -->
378 <!-- Set net.ipv4.conf.all.accept_redirects for Hosts and Routers -->
379 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false"/>
380 <!-- DONE -->
381 <!-- Set net.ipv4.conf.all.secure_redirects for Hosts and Routers -->
382 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false"/>
383 <!-- DONE -->
384 <!-- Set net.ipv4.conf.all.log_martians for Hosts and Routers -->
385 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false"/>
386 <!-- DONE -->
387 <!-- Set net.ipv4.conf.default.accept_source_route for Hosts and Routers -->
388 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false"/>
389 <!-- DONE -->
390 <!-- Set net.ipv4.conf.default.accept_redirects for Hosts and Routers -->
391 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false"/>
392 <!-- DONE -->
393 <!-- Set net.ipv4.conf.default.secure_redirects for Hosts and Routers -->
394 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false"/>
395 <!-- DONE -->
396 <!-- Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers -->
397 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false"/>
398 <!-- DONE -->
399 <!-- Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers -->
400 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false"/>
401 <!-- DONE -->
402 <!-- Set net.ipv4.tcp_syncookies for Hosts and Routers -->
403 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false"/>
404 <!-- DONE -->
405 <!-- Set net.ipv4.conf.all.rp_filter for Hosts and Routers -->
406 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false"/>
407 <!-- DONE -->
408 <!-- Set net.ipv4.conf.default.rp_filter for Hosts and Routers -->
409 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false"/>
410 <!-- DONE -->
411 <!-- Disable Wireless in BIOS -->
412 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false"/>
413 <!-- DONE -->
414 <!-- Deactivate Wireless Interfaces -->
415 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false"/>
416 <!-- DONE -->
417 <!-- Disable Wireless Drivers -->
418 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false"/>
419 <!-- DONE -->
420 <!-- Disable Automatic Loading of IPv6 Kernel Module -->
421 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false"/>
422 <!-- DONE -->
423 <!-- Disable NETWORKING_IPV6 in /etc/sysconfig/network -->
424 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false"/>
425 <!-- DONE -->
426 <!-- Disable IPV6INIT in /etc/sysconfig/network -->
427 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false"/>
428 <!-- DONE -->
429 <!-- Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-* -->
430 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false"/>
431 <!-- DONE -->
432 <!-- Disable IPV6_AUTOCONF in /etc/sysconfig/network -->
433 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false"/>
434 <!-- DONE -->
435 <!-- Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra) -->
436 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false"/>
437 <!-- DONE -->
438 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects) -->
439 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false"/>
440 <!-- DONE -->
441 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects) -->
442 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false"/>
443 <!-- DONE -->
444 <!-- Use Privacy Extensions for Address if Necessary -->
445 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false"/>
446 <!-- DONE -->
447 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations -->
448 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false"/>
449 <!-- DONE -->
450 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref -->
451 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false"/>
452 <!-- DONE -->
453 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo -->
454 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false"/>
455 <!-- DONE -->
456 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr -->
457 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false"/>
458 <!-- DONE -->
459 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf -->
460 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false"/>
461 <!-- DONE -->
462 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits -->
463 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false"/>
464 <!-- DONE -->
465 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses -->
466 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.a" selected="true"/>
467 <!-- READY+ -->
468 <!-- Verify ip6tables is enabled -->
469 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.b" selected="true"/>
470 <!-- READY+ -->
471 <!-- Verify iptables is enabled -->
472 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false"/>
473 <!-- DONE -->
474 <!-- Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain -->
475 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false"/>
476 <!-- DONE -->
477 <!-- Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain -->
478 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false"/>
479 <!-- ERASE -->
480 <!-- Disable Support for DCCP -->
481 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false"/>
482 <!-- ERASE -->
483 <!-- Disable Support for SCTP -->
484 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false"/>
485 <!-- ERASE -->
486 <!-- Disable Support for RDS -->
487 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false"/>
488 <!-- ERASE -->
489 <!-- Disable Support for TIPC -->
490 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.a" selected="true"/>
491 <!-- DONE+ -->
492 <!-- Configure Syslog -->
493 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.a" selected="true"/>
494 <!-- DONE+ -->
495 <!-- Confirm user that owns System Log Files -->
496 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.b" selected="true"/>
497 <!-- DONE+ -->
498 <!-- Confirm group that owns System Log Files -->
499 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.c" selected="true"/>
500 <!-- DONE+ -->
501 <!-- Confirm Permissions of System Log Files -->
502 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false"/>
503 <!-- OK -->
504 <!-- Send Logs to a Remote Loghost -->
505 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false"/>
506 <!-- F14 test needed-->
507 <!-- Disable syslogd from Accepting Remote Messages on Loghosts Only -->
508 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false"/>
509 <!-- missing -->
510 <!-- Ensure All Logs are Rotated by logrotate -->
511 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false"/>
512 <!-- DONE (unknown) -->
513 <!-- Monitor Suspicious Log Messages using Logwatch -->
514 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.1.a" selected="true"/>
515 <!-- DONE+ -->
516 <!-- Enable the auditd Service -->
517 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false"/>
518 <!-- DONE -->
519 <!-- Enable Auditing for Processes Which Start Prior to the Audit Daemon -->
520 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false"/>
521 <!-- DONE -->
522 <!-- Records Events that Modify Date and Time Information -->
523 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false"/>
524 <!-- DONE -->
525 <!-- Record Events that Modify User/Group Information -->
526 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false"/>
527 <!-- DONE -->
528 <!-- Record Events that Modify the System’s Network Environment -->
529 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false"/>
530 <!-- DONE -->
531 <!-- Record Events that Modify the System’s Mandatory Access Controls -->
532 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false"/>
533 <!-- DONE -->
534 <!-- Ensure auditd Collects Logon and Logout Events -->
535 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false"/>
536 <!-- DONE -->
537 <!-- Ensure auditd Collects Process and Session Initiation Information -->
538 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false"/>
539 <!-- DONE -->
540 <!-- Ensure auditd Collects Discretionary Access Control Permission Modification Events -->
541 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false"/>
542 <!-- DONE -->
543 <!-- Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful -->
544 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false"/>
545 <!-- DONE -->
546 <!-- Ensure auditd Collects Information on the Use of Privileged Commands -->
547 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false"/>
548 <!-- DONE -->
549 <!-- Ensure auditd Collects Information on Exporting to Media (successful) -->
550 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false"/>
551 <!-- DONE -->
552 <!-- Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful) -->
553 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false"/>
554 <!-- DONE -->
555 <!-- Ensure auditd Collects System Administrator Actions -->
556 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false"/>
557 <!-- DONE -->
558 <!-- Ensure auditd Collects Information on Kernel Module Loading and Unloading -->
559 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false"/>
560 <!-- DONE -->
561 <!-- Make the auditd Configuration Immutable -->
562 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.a" selected="false"/>
563 <!-- DONE -->
564 <!-- Disable Inetd -->
565 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.b" selected="false"/>
566 <!-- DONE -->
567 <!-- Disable Xinetd -->
568 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.c" selected="false"/>
569 <!-- DONE -->
570 <!-- Uninstall Inetd -->
571 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.d" selected="false"/>
572 <!-- DONE -->
573 <!-- Uninstall Xinetd -->
574 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.a" selected="false"/>
575 <!-- DONE -->
576 <!-- Telnet server package is uninstalled -->
577 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.b" selected="false"/>
578 <!-- DONE -->
579 <!-- Disable telnet service -->
580 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false"/>
581 <!-- DONE -->
582 <!-- Remove the telnet client command from the System -->
583 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false"/>
584 <!-- DONE -->
585 <!-- Remove the kerberos telnet client from the System -->
586 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false"/>
587 <!-- DONE -->
588 <!-- Remove the Rsh Server Commands from the System -->
589 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false"/>
590 <!-- ERASE -->
591 <!-- disable rcp -->
592 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false"/>
593 <!-- DONE -->
594 <!-- disable rsh -->
595 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false"/>
596 <!-- DONE -->
597 <!-- disable rlogin -->
598 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false"/>
599 <!-- DONE -->
600 <!-- Remove .rhosts Support from PAM Configuration Files -->
601 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false"/>
602 <!-- DONE -->
603 <!-- Remove the Rsh Client Commands from the System -->
604 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.a" selected="false"/>
605 <!-- DONE -->
606 <!-- Uninstall NIS -->
607 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.b" selected="false"/>
608 <!-- DONE -->
609 <!-- Disable NIS -->
610 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.a" selected="false"/>
611 <!-- DONE -->
612 <!-- Uninstall TFTP Server -->
613 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.b" selected="false"/>
614 <!-- DONE -->
615 <!-- disable TFTP Server -->
616 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.1.a" selected="false"/>
617 <!-- DONE -->
618 <!-- Installation Helper Service (firstboot) -->
619 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.2.a" selected="false"/>
620 <!-- DONE -->
621 <!-- Console Mouse Service (gpm) -->
622 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.3.a" selected="false"/>
623 <!-- DONE -->
624 <!-- Interrupt Distribution on Multiprocessor Systems (irqbalance) -->
625 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.4.a" selected="false"/>
626 <!-- DONE -->
627 <!-- ISDN Support (isdn) -->
628 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.5.a" selected="false"/>
629 <!-- DONE -->
630 <!-- Kdump Kernel Crash Analyzer (kdump) -->
631 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.6.a" selected="false"/>
632 <!-- DONE -->
633 <!-- Kudzu Hardware Probing Utility (kudzu) -->
634 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.7.a" selected="false"/>
635 <!-- DONE -->
636 <!-- Software RAID Monitor (mdmonitor) -->
637 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.8.a" selected="false"/>
638 <!-- DONE -->
639 <!-- A32 Microcode Utility(microcodectl) -->
640 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false"/>
641 <!-- DONE -->
642 <!-- Disable All Networking if Not Needed) -->
643 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false"/>
644 <!-- DONE -->
645 <!-- Disable All External Network Interfaces if Not Needed -->
646 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false"/>
647 <!-- DONE -->
648 <!-- Disable Zeroconf Networking -->
649 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.10.a" selected="false"/>
650 <!-- DONE -->
651 <!-- Smart Card Support (pcscd) -->
652 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.11.a" selected="false"/>
653 <!-- DONE -->
654 <!-- SMART Disk Monitoring Support (smartd) -->
655 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.a" selected="false"/>
656 <!-- DONE -->
657 <!-- Boot Caching (readahead early/readahead later) -->
658 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.b" selected="false"/>
659 <!-- DONE -->
660 <!-- Boot Caching (readahead early/readahead later) -->
661 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false"/>
662 <!-- DONE -->
663 <!-- D-Bus IPC Service (messagebus) -->
664 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false"/>
665 <!-- DONE -->
666 <!-- HAL Daemon (haldaemon) -->
667 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false"/>
668 <!-- DONE -->
669 <!-- Bluetooth Host Controller Interface Daemon (bluetooth) -->
670 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false"/>
671 <!-- DONE -->
672 <!-- Bluetooth Input Devices (hidd) -->
673 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false"/>
674 <!-- TODO -->
675 <!-- Disable Bluetooth Kernel Modules -->
676 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false"/>
677 <!-- DONE -->
678 <!-- Advanced Power Management Subsystem (apmd) -->
679 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false"/>
680 <!-- DONE -->
681 <!-- Advanced Configuration and Power Interface (acpid) -->
682 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false"/>
683 <!-- DONE -->
684 <!-- CPU Throttling (cpuspeed) -->
685 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.a" selected="false"/>
686 <!-- DONE -->
687 <!-- Enable Cron Daemon -->
688 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.a" selected="false"/>
689 <!-- DONE -->
690 <!-- Disable anacron if Possible -->
691 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.b" selected="false"/>
692 <!-- DONE -->
693 <!-- Uninstall anacron if Possible -->
694 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.a" selected="true"/>
695 <!-- DONE -->
696 <!-- Set group owner on /etc/crontab -->
697 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.b" selected="true"/>
698 <!-- DONE -->
699 <!-- Set user owner on /etc/crontab -->
700 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.c" selected="true"/>
701 <!-- DONE -->
702 <!-- Set Permissions on /etc/crontab -->
703 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.a" selected="true"/>
704 <!-- DONE -->
705 <!-- Set group owner on /etc/anacrontab -->
706 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.b" selected="true"/>
707 <!-- DONE -->
708 <!-- Set user owner on /etc/anacrontab -->
709 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.c" selected="true"/>
710 <!-- DONE -->
711 <!-- Set Permissions on /etc/anacrontab -->
712 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.a" selected="true"/>
713 <!-- DONE -->
714 <!-- Set group owner on /etc/cron.hourly -->
715 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.b" selected="true"/>
716 <!-- DONE -->
717 <!-- Set group owner on /etc/cron.daily -->
718 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.c" selected="true"/>
719 <!-- DONE -->
720 <!-- Set group owner on /etc/cron.weekly -->
721 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.d" selected="true"/>
722 <!-- DONE -->
723 <!-- Set group owner on /etc/cron.monthly -->
724 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.e" selected="true"/>
725 <!-- DONE -->
726 <!-- Set group owner on /etc/cron.d -->
727 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.f" selected="true"/>
728 <!-- DONE -->
729 <!-- Set user owner on /etc/cron.hourly -->
730 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.g" selected="true"/>
731 <!-- DONE -->
732 <!-- Set user owner on /etc/cron.daily -->
733 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.h" selected="true"/>
734 <!-- DONE -->
735 <!-- Set user owner on /etc/cron.weekly -->
736 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.i" selected="true"/>
737 <!-- DONE -->
738 <!-- Set user owner on /etc/cron.monthly -->
739 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.j" selected="true"/>
740 <!-- DONE -->
741 <!-- Set user owner on /etc/cron.d -->
742 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.k" selected="true"/>
743 <!-- DONE -->
744 <!-- Set permissions on /etc/cron.hourly -->
745 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.l" selected="true"/>
746 <!-- DONE -->
747 <!-- Set permissions on /etc/cron.daily -->
748 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.m" selected="true"/>
749 <!-- DONE -->
750 <!-- Set permissions on /etc/cron.weekly -->
751 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.n" selected="true"/>
752 <!-- DONE -->
753 <!-- Set permissions on /etc/cron.monthly -->
754 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.o" selected="true"/>
755 <!-- DONE -->
756 <!-- Set permissions on /etc/cron.d -->
757 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.a" selected="true"/>
758 <!-- DONE -->
759 <!-- Restrict group owner on /var/spool/cron file -->
760 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.b" selected="true"/>
761 <!-- DONE -->
762 <!-- Restrict user owner on /var/spool/cron file -->
763 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.c" selected="true"/>
764 <!-- DONE -->
765 <!-- Restrict Permissions on /var/spool/cron file -->
766 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.a" selected="false"/>
767 <!-- DONE -->
768 <!-- Disable at Daemon if possible -->
769 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.b" selected="false"/>
770 <!-- DONE -->
771 <!-- uninstall at Daemon -->
772 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.a" selected="false"/>
773 <!-- DONE -->
774 <!-- Remove /etc/cron.deny -->
775 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.b" selected="false"/>
776 <!-- DONE -->
777 <!-- Remove /etc/at.deny -->
778 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false"/>
779 <!-- DONE -->
780 <!-- Disable OpenSSH Software -->
781 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false"/>
782 <!-- DONE -->
783 <!-- Remove OpenSSH Software -->
784 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false"/>
785 <!-- DONE -->
786 <!-- Remove SSH Server iptables Firewall Exception -->
787 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false"/>
788 <!-- DONE -->
789 <!-- Remove SSH Server ip6tables Firewall Exception -->
790 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false"/>
791 <!-- DONE -->
792 <!-- Ensure Only Protocol 2 Connections Allowed -->
793 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false"/>
794 <!-- DONE -->
795 <!-- Set Idle Timeout Interval for User Logins -->
796 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false"/>
797 <!-- DONE -->
798 <!-- Set ClientAliveCountMax for User Logins -->
799 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false"/>
800 <!-- DONE -->
801 <!-- Disable .rhosts Files -->
802 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false"/>
803 <!-- DONE -->
804 <!-- Disable Host-Based Authentication -->
805 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false"/>
806 <!-- DONE -->
807 <!-- Disable root Login via SSH -->
808 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false"/>
809 <!-- DONE -->
810 <!-- Disable Empty Passwords -->
811 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false"/>
812 <!-- DONE -->
813 <!-- Enable a Warning Banner -->
814 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false"/>
815 <!-- DONE -->
816 <!-- Do not allow users to set Environment options -->
817 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false"/>
818 <!-- TODO -->
819 <!-- Use Only Approved Ciphers -->
820 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false"/>
821 <!-- Disable X Windows at System Boot -->
822 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false"/>
823 <!-- Remove X Windows from the System if Possible -->
824 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false"/>
825 <!-- Disable X Window System Listening -->
826 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false"/>
827 <!-- Create Warning Banners for GUI Login Users -->
828 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false"/>
829 <!-- Disable Avahi Server Software -->
830 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false"/>
831 <!-- Do not serve ipv6 Protocol -->
832 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false"/>
833 <!-- Do not serve ipv4 Protocol -->
834 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false"/>
835 <!-- Check Responses' TTL Field -->
836 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false"/>
837 <!-- Prevent Other Programs from Using Avahi's Port -->
838 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false"/>
839 <!-- Disable Publishing if Possible -->
840 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false"/>
841 <!-- Restrict disable-user-service-publishing -->
842 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false"/>
843 <!-- Restrict publish-addresses -->
844 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false"/>
845 <!-- Restrict publish-hinfo -->
846 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false"/>
847 <!-- Restrict publish-workstation -->
848 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false"/>
849 <!-- Restrict publish-domain -->
850 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.1.a" selected="false"/>
851 <!-- Disable the CUPS Service if Possible -->
852 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.a" selected="false"/>
853 <!-- Disable Firewall Access to Printing Service over IPv4 if Possible -->
854 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.b" selected="false"/>
855 <!-- Disable Firewall Access to Printing Service over IPv6 if Possible -->
856 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false"/>
857 <!-- Disable Printer Browsing Entirely if Possible -->
858 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false"/>
859 <!-- Deny CUPS ability to listen for Incoming printer information -->
860 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false"/>
861 <!-- Disable HPLIP Service if Possible -->
862 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.1.a" selected="false"/>
863 <!-- Disable DHCP Client if Possible -->
864 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.a" selected="false"/>
865 <!-- Disable DHCP Server if Possible -->
866 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.b" selected="false"/>
867 <!-- Uninstall DHCP Server if possible -->
868 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false"/>
869 <!-- Do Not Use Dynamic DNS -->
870 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false"/>
871 <!-- Deny Decline Messages -->
872 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false"/>
873 <!-- Deny BOOTP Queries -->
874 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false"/>
875 <!-- DHCP should not send domain-name -->
876 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false"/>
877 <!-- DHCP should not send domain-name-servers -->
878 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false"/>
879 <!-- DHCP should not send nis-domain -->
880 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false"/>
881 <!-- DHCP should not send nis-servers -->
882 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false"/>
883 <!-- DHCP should not send ntp-servers -->
884 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false"/>
885 <!-- DHCP should not send routers -->
886 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false"/>
887 <!-- DHCP should not send time-offset -->
888 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false"/>
889 <!-- Configure DHCP Logging -->
890 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false"/>
891 <!-- Enable the NTP Daemon -->
892 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false"/>
893 <!-- Deny All Access to ntpd by Default -->
894 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false"/>
895 <!-- Specify a Remote NTP Server for Time Data -->
896 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false"/>
897 <!-- Obtain NTP Software -->
898 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false"/>
899 <!-- Enable the NTP Daemon -->
900 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false"/>
901 <!-- Configure the Client NTP Daemon to Use the Local Server -->
902 <xccdf:select idref="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false"/>
903 <!-- Disable the Listening Sendmail Daemon -->
904 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false"/>
905 <!-- Configure LDAP to Use TLS for All Transactions -->
906 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false"/>
907 <!-- Disable OpenLDAP service -->
908 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false"/>
909 <!-- Disable nfslock -->
910 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false"/>
911 <!-- Disable rpcgssd -->
912 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false"/>
913 <!-- Disable rpcidmapd -->
914 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false"/>
915 <!-- Disable netfs if Possible -->
916 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false"/>
917 <!-- Configure lockd to Use Fixed Ports for TCP -->
918 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false"/>
919 <!-- Configure statd to Use a outgoing static port-->
920 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false"/>
921 <!-- Configure statd to Use a static port -->
922 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false"/>
923 <!-- Configure lockd to Use a static port for UDP -->
924 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false"/>
925 <!-- Configure mountd to Use a static port -->
926 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false"/>
927 <!-- Configure rquotad to Use Fixed Ports -->
928 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false"/>
929 <!-- Disable nfs service -->
930 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false"/>
931 <!-- Disable rpcsvcgssd service -->
932 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false"/>
933 <!-- INCOMPLETE OVAL -->
934 <!-- Mount Remote Filesystems with nodev -->
935 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false"/>
936 <!-- Mount Remote Filesystems with nosuid -->
937 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false"/>
938 <!-- Mount Remote Filesystems with noexec -->
939 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false"/>
940 <!-- Use Root-Squashing on All Exports -->
941 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false"/>
942 <!-- Restrict NFS Clients to Privileged Ports -->
943 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false"/>
944 <!-- Export Filesystems Read-Only if Possible -->
945 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.a" selected="false"/>
946 <!-- Disable DNS Server if Possible -->
947 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.b" selected="false"/>
948 <!-- Uninstall bind if Possible -->
949 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false"/>
950 <!-- Run DNS Software in a chroot Jail owned by root group -->
951 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false"/>
952 <!-- Run DNS Software in a chroot Jail owned by root user -->
953 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false"/>
954 <!-- Set permissions on chroot Jail for DNS -->
955 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false"/>
956 <!-- Disable DNS Dynamic Updates if Possible -->
957 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.a" selected="false"/>
958 <!-- Disable vsftpd if Possible -->
959 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.b" selected="false"/>
960 <!-- Uninstall vsftpd if Possible -->
961 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false"/>
962 <!-- Enable Logging of All FTP Transactions -->
963 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false"/>
964 <!-- Create Warning Banners for All FTP Users -->
965 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false"/>
966 <!-- Restrict Access to Anonymous Users if Possible -->
967 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false"/>
968 <!-- Disable FTP Uploads if Possible -->
969 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.a" selected="false"/>
970 <!-- Disable Apache if Possible -->
971 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.b" selected="false"/>
972 <!-- Uninstall Apache if Possible -->
973 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false"/>
974 <!-- Restrict Information Leakageusing ServerTokens -->
975 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false"/>
976 <!-- Restrict Information Leakage using ServerSignature -->
977 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false"/>
978 <!-- Restrict permissions on /etc/httpd/conf -->
979 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false"/>
980 <!-- Restrict permissions on /etc/httpd/conf/* -->
981 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false"/>
982 <!-- Restrict permissions on /usr/sbin/httpd -->
983 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false"/>
984 <!-- Restrict group access to /etc/httpd/conf/* -->
985 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false"/>
986 <!-- Restrict permissions on /var/log/httpd -->
987 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.a" selected="false"/>
988 <!-- Disable Dovecot if Possible -->
989 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.b" selected="false"/>
990 <!-- Uninstall Dovecot if Possible -->
991 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false"/>
992 <!-- Dovecot should not support imaps -->
993 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false"/>
994 <!-- Dovecot should not support pop3s -->
995 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false"/>
996 <!-- Dovecot should not support pop3 -->
997 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false"/>
998 <!-- Dovecot should not support imap -->
999 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false"/>
1000 <!-- Disable Plaintext Authentication -->
1001 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false"/>
1002 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1003 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false"/>
1004 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1005 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.1.a" selected="false"/>
1006 <!-- Disable smb if Possible -->
1007 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false"/>
1008 <!-- Disable Guest Access and Local Login Support -->
1009 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false"/>
1010 <!-- Require Client SMB Packet Signing, if using smbclient -->
1011 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false"/>
1012 <!-- NO OVAL 5.5 test -->
1013 <!-- Require Client SMB Packet Signing, if using mount.cifs -->
1014 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.a" selected="false"/>
1015 <!-- DONE -->
1016 <!-- Disable squid if Possible -->
1017 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.b" selected="false"/>
1018 <!-- DONE -->
1019 <!-- Uninstall squid if Possible -->
1020 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false"/>
1021 <!-- DONE -->
1022 <!-- Verify ftp_passive setting -->
1023 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false"/>
1024 <!-- DONE -->
1025 <!-- Verify ftp_sanitycheck setting -->
1026 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false"/>
1027 <!-- DONE -->
1028 <!-- Verify check_hostnames stting -->
1029 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false"/>
1030 <!-- DONE -->
1031 <!-- Verify request_header_max_size setting -->
1032 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false"/>
1033 <!-- DONE -->
1034 <!-- Verify reply_header_max_size setting -->
1035 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false"/>
1036 <!-- DONE -->
1037 <!-- Verify cache_effective_user setting -->
1038 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false"/>
1039 <!-- DONE -->
1040 <!-- Verify cache_effective_group setting -->
1041 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false"/>
1042 <!-- DONE -->
1043 <!-- Verify ignore_unknown_nameservers setting -->
1044 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false"/>
1045 <!-- DONE -->
1046 <!-- Check allow_underscore setting -->
1047 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false"/>
1048 <!-- DONE -->
1049 <!-- Check httpd_suppress_version setting -->
1050 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false"/>
1051 <!-- DONE -->
1052 <!-- Check forwarded_for setting -->
1053 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false"/>
1054 <!-- DONE -->
1055 <!-- Check log_mime_hdrs setting -->
1056 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false"/>
1057 <!-- DONE -->
1058 <!-- Restrict gss-http traffic -->
1059 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false"/>
1060 <!-- DONE -->
1061 <!-- Restrict https traffic -->
1062 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false"/>
1063 <!-- DONE -->
1064 <!-- Restrict wais traffic -->
1065 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false"/>
1066 <!-- DONE -->
1067 <!-- Restrict multiling http traffic -->
1068 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false"/>
1069 <!-- DONE -->
1070 <!-- Restrict http traffic -->
1071 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false"/>
1072 <!-- DONE -->
1073 <!-- Restrict ftp traffic -->
1074 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false"/>
1075 <!-- DONE -->
1076 <!-- Restrict gopher traffic -->
1077 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false"/>
1078 <!-- DONE -->
1079 <!-- Restrict filemaker traffic -->
1080 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false"/>
1081 <!-- DONE -->
1082 <!-- Restrict proxy access to localhost -->
1083 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false"/>
1084 <!-- DONE -->
1085 <!-- Restrict http-mgmt traffic -->
1086 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.a" selected="false"/>
1087 <!-- DONE -->
1088 <!-- Disable snmpd if Possible -->
1089 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.b" selected="false"/>
1090 <!-- DONE -->
1091 <!-- Uninstall net-snmp if Possible -->
1092 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.i" selector="000"/>
1093 <!-- Permissions for shadow -->
1094 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.j" selector="644"/>
1095 <!-- Permissions for group -->
1096 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.k" selector="000"/>
1097 <!-- Permissions for gshadow -->
1098 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.l" selector="644"/>
1099 <!-- Permissions for passwd -->
1100 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.4.1.a" selector="022"/>
1101 <!-- daemon umask -->
1102 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.a" selector="5"/>
1103 <!-- password minimum length -->
1104 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.b" selector="1_day"/>
1105 <!-- minimum password age (days) -->
1106 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.c" selector="60_days"/>
1107 <!-- maximum password age -->
1108 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.d" selector="7_days"/>
1109 <!-- password warn age -->
1110 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.retry" selector="3"/>
1111 <!-- Number of retry attempts before erroring out -->
1112 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.minlen" selector="14"/>
1113 <!-- Minimum number of characters in password -->
1114 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit" selector="2"/>
1115 <!-- Mininum number of digits in password -->
1116 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit" selector="2"/>
1117 <!-- Mininum number of upper case in password -->
1118 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit" selector="2"/>
1119 <!-- Mininum number of other (special characters) in password< -->
1120 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit" selector="2"/>
1121 <!-- Mininum number of lower case in password -->
1122 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.difok" selector="3"/>
1123 <!-- Mininum number of characters not present in old password -->
1124 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.deny" selector="3"/>
1125 <!-- Deny access if tally for this user exceeds n. -->
1126 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.lock_time" selector="3"/>
1127 <!-- Always deny for n seconds after failed attempt -->
1128 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.unlock_time" selector="none"/>
1129 <!-- Allow access after n seconds after failed attempt -->
1130 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.a" selector="usergroup"/>
1131 <!-- Name of group containing human users -->
1132 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.b" selector="4710"/>
1133 <!-- userhelper file permissions -->
1134 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.5.a" selector="SHA-512"/>
1135 <!-- Password hashing algorithm -->
1136 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.6.a" selector="5"/>
1137 <!-- Passwords to remember -->
1138 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.4.4" selector="002"/>
1139 <!-- Sensible umask -->
1140 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.a" selector="root"/>
1141 <!-- User that owns /etc/grub.conf -->
1142 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.b" selector="root"/>
1143 <!-- Group that owns /etc/grub.conf -->
1144 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.c" selector="600"/>
1145 <!-- permissions on /etc/hrub.conf -->
1146 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.5" selector="15_minutes"/>
1147 <!-- Inactivity timout -->
1148 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.7" selector="Empty_text"/>
1149 <!-- login banner verbiage -->
1150 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.c" selector="enforcing"/>
1151 <!-- SELinux state -->
1152 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.d" selector="targeted"/>
1153 <!-- SELinux policy -->
1154 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.a" selector="disabled"/>
1155 <!-- net.ipv4.conf.all.accept_source_route -->
1156 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.b" selector="disabled"/>
1157 <!-- net.ipv4.conf.all.accept_redirectse -->
1158 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.c" selector="disabled"/>
1159 <!-- net.ipv4.conf.all.secure_redirects -->
1160 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.d" selector="enabled"/>
1161 <!-- net.ipv4.conf.all.log_martians -->
1162 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.e" selector="disabled"/>
1163 <!-- net.ipv4.conf.default.accept_source_route -->
1164 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.f" selector="disabled"/>
1165 <!-- net.ipv4.conf.default.accept_redirects -->
1166 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.g" selector="disabled"/>
1167 <!-- net.ipv4.conf.default.secure_redirects -->
1168 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.h" selector="enabled"/>
1169 <!-- net.ipv4.icmp_echo_ignore_broadcast -->
1170 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.i" selector="enabled"/>
1171 <!-- net.ipv4.icmp_ignore_bogus_error_messages -->
1172 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.j" selector="enabled"/>
1173 <!-- net.ipv4.tcp_syncookie -->
1174 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.k" selector="enabled"/>
1175 <!-- net.ipv4.conf.all.rp_filtere -->
1176 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.b" selector="disabled"/>
1177 <!-- accept default router advertisements -->
1178 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.c" selector="disabled"/>
1179 <!-- accept default router advertisements -->
1180 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.l" selector="enabled"/>
1181 <!-- net.ipv4.conf.default.rp_filter -->
1182 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.a" selector="root"/>
1183 <!-- user that owns system log files -->
1184 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.b" selector="root"/>
1185 <!-- group that owns system log files -->
1186 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.c" selector="600"/>
1187 <!-- permissions of system log files -->
1188 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" selector="root"/>
1189 <!-- group owner of /etc/crontab -->
1190 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" selector="root"/>
1191 <!-- user owner of /etc/crontab -->
1192 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" selector="644"/>
1193 <!-- permissions on /etc/crontab file -->
1194 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" selector="root"/>
1195 <!-- group owner of /etc/anacrontab -->
1196 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" selector="root"/>
1197 <!-- user owner of /etc/anacrontab -->
1198 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" selector="644"/>
1199 <!-- permissions on /etc/anacrontab file -->
1200 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" selector="root"/>
1201 <!-- group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1202 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" selector="root"/>
1203 <!-- user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1204 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" selector="755"/>
1205 <!-- permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1206 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.a" selector="5_minutes"/>
1207 <!-- SSH session Idle time -->
1208 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.b" selector="0"/>
1209 <!-- SSH session ClientAliveCountMax -->
1210 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.group" selector="root"/>
1211 <!-- Group owner of /var/spool/cron -->
1212 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.user" selector="root"/>
1213 <!-- User owner of /var/spool/cron -->
1214 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" selector="700"/>
1215 <!-- Permissions on /var/spool/cron -->
1216 </xccdf:Profile>
1217 <!-- ==================================================================================================== -->
1218 <!-- ======================================== SECURITY GUIDANCE ======================================= -->
1219 <!-- ==================================================================================================== -->
1220 <!-- -->
1221 <!-- The following groups represent the collection of guidance for this document. For -->
1222 <!-- specific recommendations regarding which rules to enable and which values to use, please refer to -->
1223 <!-- the XCCDF profiles above. -->
1224 <!-- -->
1225 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1">
1226 <xccdf:title xml:lang="en">Introduction</xccdf:title>
1227 <xccdf:description xml:lang="en">
1228 The purpose of this guide is to provide security configuration
1229 recommendations for Fedora Linux. Recommended settings for the basic
1230 operating system are provided, as well as for many commonly-used services
1231 that the system can host in a network environment.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1232 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1233 The guide is intended for system administrators. Readers are
1234 assumed to possess basic system administration skills for Unix-like systems, as well as some
1235 familiarity with Red Hat's documentation and administration conventions. Some instructions
1236 within this guide are complex. All directions should be followed completely and with
1237 understanding of their effects in order to avoid serious adverse effects on the system and its
1238 security.
1239 </xccdf:description>
1240 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1">
1241 <xccdf:title xml:lang="en">General Principles</xccdf:title>
1242 <xccdf:description xml:lang="en">
1243 The following general principles motivate much of the advice in
1244 this guide and should also influence any configuration decisions that are not explicitly
1245 covered.</xccdf:description>
1246 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.1" weight="1.0">
1247 <xccdf:title xml:lang="en">Encrypt Transmitted Data Whenever Possible</xccdf:title>
1248 <xccdf:description xml:lang="en">
1249 Data transmitted over a network, whether wired or wireless, is
1250 susceptible to passive monitoring. Whenever practical solutions for encrypting such data
1251 exist, they should be applied. Even if data is expected to be transmitted only over a
1252 local network, it should still be encrypted. Encrypting authentication data, such as
1253 passwords, is particularly important. Networks of machines can and should be
1254 configured so that no unencrypted authentication data is ever transmitted between
1255 machines.</xccdf:description>
1256 </xccdf:Group>
1257 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.2">
1258 <xccdf:title xml:lang="en">Minimize Software to Minimize Vulnerability</xccdf:title>
1259 <xccdf:description xml:lang="en">
1260 The simplest way to avoid vulnerabilities in software is to avoid
1261 installing that software. The RPM Package Manager allows for careful management of the
1262 set of software packages installed on a system. Installed software contributes to system
1263 vulnerability in several ways. Packages that include setuid programs may provide local
1264 attackers a potential path to privilege escalation. Packages that include network services
1265 may give this opportunity to network-based attackers. Packages that include programs
1266 which are predictably executed by local users (e.g. after graphical login) may provide
1267 opportunities for trojan horses or other attack code to be run undetected. The number of
1268 software packages installed on a system can almost always be significantly pruned to include only
1269 the software for which there is an environmental or operational need.</xccdf:description>
1270 </xccdf:Group>
1271 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.3">
1272 <xccdf:title xml:lang="en">Run Different Network Services on Separate Systems</xccdf:title>
1273 <xccdf:description xml:lang="en">
1274 Whenever possible, a server should be dedicated to serving
1275 exactly one network service. This limits the number of other services that can be
1276 compromised in the event that an attacker is able to successfully exploit a software flaw
1277 in one network service.</xccdf:description>
1278 </xccdf:Group>
1279 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.4">
1280 <xccdf:title xml:lang="en">Configure Security Tools to Improve System Robustness</xccdf:title>
1281 <xccdf:description xml:lang="en">
1282 Several tools exist which can be effectively used to improve a
1283 system's resistance to and detection of unknown attacks. These tools can improve
1284 robustness against attack at the cost of relatively little configuration effort. In
1285 particular, this guide recommends and discusses the use of Iptables for host-based
1286 firewalling, SELinux for protection against vulnerable services, and a logging and
1287 auditing infrastructure for detection of problems.</xccdf:description>
1288 </xccdf:Group>
1289 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.5">
1290 <xccdf:title xml:lang="en">Least Privilege</xccdf:title>
1291 <xccdf:description xml:lang="en">
1292 Grant the least privilege necessary for user accounts and
1293 software to perform tasks. For example, do not allow users except those that need
1294 administrator access to use sudo. Another example is to limit logins on server
1295 systems to only those administrators who need to log into them in order to perform
1296 administration tasks. Using SELinux also follows the principle of least privilege:
1297 SELinux policy can confine software to perform only actions on the system that are
1298 specifically allowed. This can be far more restrictive than the actions permissible
1299 by the traditional Unix permissions model.</xccdf:description>
1300 </xccdf:Group>
1301 </xccdf:Group>
1302 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2">
1303 <xccdf:title xml:lang="en">How to Use This Guide</xccdf:title>
1304 <xccdf:description xml:lang="en">Readers should heed the following points when using the guide.</xccdf:description>
1305 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.1">
1306 <xccdf:title xml:lang="en">Read Sections Completely and in Order</xccdf:title>
1307 <xccdf:description xml:lang="en">
1308 Each section may build on information and recommendations
1309 discussed in prior sections. Each section should be read and understood completely;
1310 instructions should never be blindly applied. Relevant discussion will occur after
1311 instructions for an action. The system-level configuration guidance in Chapter 2 must be
1312 applied to all machines. The guidance for individual services in Chapter 3 must be
1313 considered for all machines as well: apply the guidance if the machine is either a server
1314 or a client for that service, and ensure that the service is disabled according to the
1315 instructions provided if the machine is neither a server nor a client.</xccdf:description>
1316 </xccdf:Group>
1317 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.2">
1318 <xccdf:title xml:lang="en">Test in Non-Production Environment</xccdf:title>
1319 <xccdf:description xml:lang="en">
1320 This guidance should always be tested in a non-production
1321 environment before deployment. This test environment should simulate the setup in which
1322 the system will be deployed as closely as possible.</xccdf:description>
1323 </xccdf:Group>
1324 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.3">
1325 <xccdf:title xml:lang="en">Root Shell Environment Assumed</xccdf:title>
1326 <xccdf:description xml:lang="en">
1327 Most of the actions listed in this document are written with the
1328 assumption that they will be executed by the root user running the /bin/bash shell. Any
1329 commands preceded with a hash mark (#) assume that the administrator will execute the
1330 commands as root, i.e. apply the command via sudo whenever possible, or use su to gain
1331 root privileges if sudo cannot be used.</xccdf:description>
1332 </xccdf:Group>
1333 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.4">
1334 <xccdf:title xml:lang="en">Formatting Conventions</xccdf:title>
1335 <xccdf:description xml:lang="en">
1336 Commands intended for shell execution, as well as configuration
1337 file text, are featured in a monospace font. Italics are used to indicate instances where
1338 the system administrator must substitute the appropriate information into a command or
1339 configuration file.</xccdf:description>
1340 </xccdf:Group>
1341 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.5">
1342 <xccdf:title xml:lang="en">Reboot Required</xccdf:title>
1343 <xccdf:description xml:lang="en">
1344 A system reboot is implicitly required after some actions in
1345 order to complete the reconfiguration of the system. In many cases, the changes will not
1346 take effect until a reboot is performed. In order to ensure that changes are applied
1347 properly and to test functionality, always reboot the system after applying a set of
1348 recommendations from this guide.</xccdf:description>
1349 </xccdf:Group>
1350 </xccdf:Group>
1351 </xccdf:Group>
1352 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2">
1353 <xccdf:title xml:lang="en">System-wide Configuration</xccdf:title>
1354 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1">
1355 <xccdf:title xml:lang="en">Installing and Maintaining Software</xccdf:title>
1356 <xccdf:description xml:lang="en">
1357 The following sections contain information on security-relevant
1358 choices during the initial operating system installation process and the setup of software
1359 updates.</xccdf:description>
1360 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1">
1361 <xccdf:title xml:lang="en">Initial Installation Recommendations</xccdf:title>
1362 <xccdf:description xml:lang="en">
1363 The recommendations here apply to a clean installation of the
1364 system, where any previous installations are wiped out. The sections presented here are in
1365 the same order that the installer presents, but only installation choices with security
1366 implications are covered. Many of the configuration choices presented here can also be
1367 applied after the system is installed. The choices can also be automatically applied via
1368 Kickstart files.</xccdf:description>
1369 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1">
1370 <xccdf:title xml:lang="en">Disk Partitioning</xccdf:title>
1371 <xccdf:description xml:lang="en">
1372 Some system directories should be placed on their own partitions
1373 (or logical volumes). This allows for better separation and protection of data.
1374 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1375 The installer’s default partitioning scheme creates separate partitions (or logical volumes)
1376 for /, /boot, and swap.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1377 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
1378 <xhtml:li>If starting with any of the default layouts, check the box to “Review and modify
1379 partitioning.” This allows for the easy creation of additional logical volumes inside
1380 the volume group already created, though it may require making /’s logical volume smaller
1381 to create space. In general, using logical volumes is preferable to using partitions
1382 because they can be more easily adjusted later.</xhtml:li>
1383 <xhtml:li>If creating a custom layout, create the partitions mentioned in the previous paragraph
1384 (which the installer will require anyway), as well as separate ones described in the
1385 following sections.</xhtml:li>
1386 </xhtml:ul>
1387 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1388 If a system has already been installed, and the default partitioning scheme was
1389 used, it is possible but nontrivial to modify it to create separate logical volumes for the
1390 directories listed above. The Logical Volume Manager (LVM) makes this possible. See the LVM
1391 HOWTO at http://tldp.org/HOWTO/LVM-HOWTO/ for more detailed information on LVM.
1392 </xccdf:description>
1393 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.1">
1394 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /tmp</xccdf:title>
1395 <xccdf:description xml:lang="en">
1396 The /tmp directory is a world-writable directory used for
1397 temporary file storage. Ensure that it has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1398 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1399 Because software may need to use /tmp to temporarily store large files, ensure
1400 that it is of adequate size. For a modern, general-purpose system, 10GB should be adequate. Smaller or larger sizes could be used, depending on
1401 the availability of space on the drive and the system’s operating requirements
1402 </xccdf:description>
1403 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.1.b" operator="equals" type="string">
1404 <xccdf:title>Minimum size for /tmp</xccdf:title>
1405 <xccdf:question xml:lang="en">Choose minimum size of /tmp</xccdf:question>
1406 <xccdf:value>2G</xccdf:value>
1407 <xccdf:value selector="125M">125M</xccdf:value>
1408 <xccdf:value selector="500M">500M</xccdf:value>
1409 <xccdf:value selector="2G">2G</xccdf:value>
1410 <xccdf:value selector="10G">10G</xccdf:value>
1411 <xccdf:value selector="40G">40G</xccdf:value>
1412 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1413 </xccdf:Value>
1414 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false" weight="10.0">
1415 <xccdf:title xml:lang="en">Ensure that /tmp has its own partition or logical volume</xccdf:title>
1416 <xccdf:description xml:lang="en">The /tmp directory is a world-writable directory used for temporary file storage. Ensure that it has its own partition or logical volume.</xccdf:description>
1417 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1418 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20000"/>
1419 </xccdf:check>
1420 </xccdf:Rule>
1421 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false" weight="2.0">
1422 <xccdf:title xml:lang="en">Ensure that /tmp is of adequate size</xccdf:title>
1423 <xccdf:description xml:lang="en">Because software may need to use /tmp to temporarily store large files, ensure that it is of adequate size.</xccdf:description>
1424 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1425 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20001"/>
1426 </xccdf:check>
1427 </xccdf:Rule>
1428 </xccdf:Group>
1429 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.2">
1430 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var</xccdf:title>
1431 <xccdf:description xml:lang="en">
1432 The /var directory is used by daemons and other system
1433 services to store frequently-changing data. It is not uncommon for the /var directory
1434 to contain world-writable directories, installed by other software packages.
1435 Ensure that /var has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1437 Because the yum package manager and other software uses /var to temporarily store
1438 large files, ensure that it is of adequate size. For a modern, general-purpose system,
1439 10GB should be adequate.
1440 </xccdf:description>
1441 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.2.b" operator="equals" type="string">
1442 <xccdf:title>Minimum size of /var</xccdf:title>
1443 <xccdf:description>Choose minimum size of /var</xccdf:description>
1444 <xccdf:question xml:lang="en">Choose minimum size of /var</xccdf:question>
1445 <xccdf:value>5G</xccdf:value>
1446 <xccdf:value selector="500k">500K</xccdf:value>
1447 <xccdf:value selector="1G">1G</xccdf:value>
1448 <xccdf:value selector="5G">5G</xccdf:value>
1449 <xccdf:value selector="10G">10G</xccdf:value>
1450 <xccdf:value selector="15G">15G</xccdf:value>
1451 <xccdf:value selector="20G">20G</xccdf:value>
1452 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1453 </xccdf:Value>
1454 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false" severity="low" weight="10.0">
1455 <xccdf:title xml:lang="en">Ensure that /var has its own partition or logical volume</xccdf:title>
1456 <xccdf:description xml:lang="en">The /var directory is used by daemons and other system services to store frequently-changing data. It is not uncommon for the /var directory to contain world-writable directories, installed by other software packages. Ensure that /var has its own partition or logical volume.</xccdf:description>
1457 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1458 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20002"/>
1459 </xccdf:check>
1460 </xccdf:Rule>
1461 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false" weight="10.0">
1462 <xccdf:title xml:lang="en">Ensure that /var is of adequate size</xccdf:title>
1463 <xccdf:description xml:lang="en">Because the yum package manager and other software uses /var to temporarily store large files, ensure that it is of adequate size. For a modern, general-purpose system, 10GB should be adequate.</xccdf:description>
1464 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1465 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20003" value-id="xccdf_cdf_value_var-2.1.1.1.2.b"/>
1466 <!-- TBD -->
1467 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20003"/>
1468 </xccdf:check>
1469 </xccdf:Rule>
1470 </xccdf:Group>
1471 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.3">
1472 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log</xccdf:title>
1473 <xccdf:description xml:lang="en">
1474 System logs are stored in the /var/log directory.
1475 Ensure that it has its own partition or logical volume.
1476 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1477 See 2.6 for more information about logging and auditing.</xccdf:description>
1478 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false" weight="10.0">
1479 <xccdf:title xml:lang="en">Ensure that /var/log has its own partition or logical volume</xccdf:title>
1480 <xccdf:description xml:lang="en">
1481 System logs are stored in the /var/log directory.
1482 Ensure that it has its own partition or logical volume.</xccdf:description>
1483 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1484 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20004"/>
1485 </xccdf:check>
1486 </xccdf:Rule>
1487 </xccdf:Group>
1488 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.4">
1489 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log/audit</xccdf:title>
1490 <xccdf:description xml:lang="en">
1491 Audit logs are stored in the /var/log/audit directory.
1492 Ensure that it has its own partition or logical volume. Make absolutely certain
1493 that it is large enough to store all audit logs that will be created by the auditing
1494 daemon.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1495 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1496 See 2.6.2.2 for discussion on deciding on an appropriate size for the volume.</xccdf:description>
1497 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false" weight="10.0">
1498 <xccdf:title xml:lang="en">Ensure that /var/log/audit has its own partition or logical volume</xccdf:title>
1499 <xccdf:description xml:lang="en">
1500 Audit logs are stored in the /var/log/audit directory.
1501 Ensure that it has its own partition or logical volume.
1502 Make absolutely certain that it is large enough to store
1503 all audit logs that will be created by the auditing daemon.</xccdf:description>
1504 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1505 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20005"/>
1506 </xccdf:check>
1507 </xccdf:Rule>
1508 </xccdf:Group>
1509 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.5">
1510 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /home if Using Local Home Directories</xccdf:title>
1511 <xccdf:description xml:lang="en">
1512 If user home directories will be stored locally, create a separate
1513 partition for /home. If /home will be mounted from another system such as an NFS server, then
1514 creating a separate partition is not necessary at this time, and the mountpoint can
1515 instead be configured later.</xccdf:description>
1516 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false" severity="low" weight="10.0">
1517 <xccdf:title xml:lang="en">Ensure that /home has its own partition or logical volume</xccdf:title>
1518 <xccdf:description xml:lang="en">
1519 If user home directories will be stored locally, create a separate partition for /home.
1520 If /home will be mounted from another system such as an NFS server, then creating a
1521 separate partition is not necessary at this time, and the mountpoint can instead be
1522 configured later.</xccdf:description>
1523 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1524 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20006"/>
1525 </xccdf:check>
1526 </xccdf:Rule>
1527 </xccdf:Group>
1528 </xccdf:Group>
1529 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.2">
1530 <xccdf:title xml:lang="en">Boot Loader Configuration</xccdf:title>
1531 <xccdf:description xml:lang="en">
1532 Check the box to "Use a boot loader password" and create a
1533 password. Once this password is set, anyone who wishes to change the boot loader
1534 configuration will need to enter it. More information is available in Section
1535 2.3.5.2.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1537 Assigning a boot loader password prevents a local user
1538 with physical access from altering the boot loader configuration at system startup.
1539 </xccdf:description>
1540 </xccdf:Group>
1541 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.3">
1542 <xccdf:title xml:lang="en">Network Devices</xccdf:title>
1543 <xccdf:description xml:lang="en">
1544 The default network device configuration uses DHCP, which is
1545 not recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1546 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1547 Unless use of DHCP is absolutely necessary, click
1548 the "Edit" button and:
1549 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
1550 <xhtml:li>
1551 Uncheck "Use Dynamic IP configuration
1552 (DHCP)".Uncheck "Enable IPv4 Support" if the system does not require IPv4. (This is
1553 uncommon.)
1554 </xhtml:li>
1555 <xhtml:li>
1556 Uncheck "Enable IPv6 Support" if the system does not require
1557 IPv6.
1558 </xhtml:li>
1559 <xhtml:li>
1560 Enter appropriate IPv4 and IPv6 addresses and prefixes as
1561 required.
1562 </xhtml:li>
1563 </xhtml:ul>
1564 With the DHCP setting disabled, the hostname, gateway, and DNS
1565 servers should then be assigned on the main screen.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1567 Sections 3.9.1
1568 and 3.9.2 contain more information on network configuration and the use of DHCP.
1569 </xccdf:description>
1570 </xccdf:Group>
1571 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.4">
1572 <xccdf:title xml:lang="en">Root Password</xccdf:title>
1573 <xccdf:description xml:lang="en">
1574 The security of the entire system depends on the strength of
1575 the root password. The password should be at least 12 characters long, and should
1576 include a mix of capitalized and lowercase letters, special characters, and numbers. It
1577 should also not be based on any dictionary word.</xccdf:description>
1578 </xccdf:Group>
1579 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.5">
1580 <xccdf:title xml:lang="en">Software Packages</xccdf:title>
1581 <xccdf:description xml:lang="en">
1582 Uncheck all package groups, including the package groups
1583 "Software Development" and "Web Server", unless there is a specific requirement to
1584 install software using the system installer. If the machine will be used as a web
1585 server, it is preferable to manually install the necessary RPMs instead of installing
1586 the full "Web Server" package group. See Section 3.16 for installation and configuration
1587 details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1588 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1589 Use the "Customize now" radio box to prune package groups
1590 as much as possible. This brings up a two-column view of categories and package groups.
1591 If appropriate, uncheck "X Window System" in the "Base System" category to avoid
1592 installing X entirely. Any other package groups not necessary for system operation
1593 should also be unchecked.
1594 </xccdf:description>
1595 </xccdf:Group>
1596 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.6">
1597 <xccdf:title xml:lang="en">First-boot Configuration</xccdf:title>
1598 <xccdf:description xml:lang="en">
1599 The system presents more configuration options during the first
1600 boot after installation. For the screens listed, implement the security-related
1601 recommendations:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1602 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1603 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
1604 <xhtml:li>
1605 Firewall - Leave set to
1606 'Enabled.' Only check the 'Trusted Services' that this system needs to serve. Uncheck
1607 the default selection of SSH if the system does not need to serve
1608 SSH.
1609 </xhtml:li>
1610 <xhtml:li>
1611 SELinux - Leave SELinux set to 'Enforcing' mode.
1612 </xhtml:li>
1613 <xhtml:li>
1614 Kdump -
1615 Leave Kdump off unless the feature is required, such as for kernel development and
1616 testing.
1617 </xhtml:li>
1618 <xhtml:li>
1619 Set Up Software Updates - If the system is connected to the
1620 Internet now, click 'Yes, I'd like to register now.' This will require a connection to
1621 either the Red Hat Network servers or their proxies or satellites. This can also be
1622 configured later as described in Section 2.1.2.1.
1623 </xhtml:li>
1624 <xhtml:li>
1625 Create User - If the
1626 system will require a local user account, it can be created here. Even if the system
1627 will be using a network-wide authentication system as described in Section 2.3.6, do
1628 not click on the 'Use Network Login...' button. Manually applying configuration later
1629 is preferable.
1630 </xhtml:li>
1631 </xhtml:ul>
1632 </xccdf:description>
1633 </xccdf:Group>
1634 </xccdf:Group>
1635 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2">
1636 <xccdf:title xml:lang="en">Security Updates</xccdf:title>
1637 <xccdf:description xml:lang="en">
1638 As security vulnerabilities are discovered, the affected software must be updated in order
1639 to limit any potential security risks. If the software is part of a package within a Fedora
1640 distribution that is currently supported, Fedora is committed to releasing updated packages
1641 that fix the vulnerability as soon as is possible. Often, announcements about a given
1642 security exploit are accompanied with a patch (or source code that fixes the problem).
1643 This patch is then applied to the Fedora package and tested and released as an errata update.
1644 However, if an announcement does not include a patch, a developer first works with the maintainer
1645 of the software to fix the problem. Once the problem is fixed, the package is tested
1646 and released as an errata update.
1647 </xccdf:description>
1648 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1">
1649 <xccdf:title xml:lang="en">Updating Software</xccdf:title>
1650 <xccdf:description xml:lang="en">
1651 The yum command line tool is used to install and update software
1652 packages. The system also provides package management service called PackageKit
1653 that allows the session users to manage packages in a secure way. There are several
1654 graphical utilities designed for installing, updating and removing packages on your
1655 system that use PackageKit API. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1656 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1657 It is recommended to use these mechanisms to keep systems up to date with the latest
1658 security patches.
1659 </xccdf:description>
1660 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1.1">
1661 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1662 <xccdf:description xml:lang="en">
1663 To ensure that the system can cryptographically verify update packages run the following command to verify
1664 that the system has the Fedora GPG properly installed:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1665 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1666 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -q --queryformat "%{SUMMARY}\n" gpg-pubkey</xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1667 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1668 The command should return the string:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1669 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1670 gpg(Fedora (14) &lt;[email protected]&gt;)</xccdf:description>
1671 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="false" weight="10">
1672 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1673 <xccdf:description>The GPG key should be installed.</xccdf:description>
1674 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1675 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200065"/>
1676 </xccdf:check>
1677 </xccdf:Rule>
1678 </xccdf:Group>
1679 </xccdf:Group>
1680 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3">
1681 <xccdf:title xml:lang="en">Obtain Software Package Updates with yum</xccdf:title>
1682 <xccdf:description xml:lang="en">
1683 The yum update utility can be run by hand from the command
1684 line, called through one of the provided front-end tools, or configured to run
1685 automatically at specified intervals.</xccdf:description>
1686 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.2">
1687 <xccdf:title xml:lang="en">Configure Automatic Update Retrieval and Installation with Cron</xccdf:title>
1688 <xccdf:description xml:lang="en">
1689 The yum-updatesd service is not mature enough for an
1690 enterprise environment, and the service may introduce unnecessary overhead. When
1691 possible, replace this service with a cron job that calls yum
1692 directly.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1693 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1694 Create the file yum.cron, make it executable, and place it in
1695 /etc/cron.daily:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1696 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1697 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#!/bin/sh<xhtml:br/>
1698 <xhtml:br/>
1699 /usr/bin/yum -R 120 -e 0 -d 0 -y update yum
1700 <xhtml:br/>
1701 /usr/bin/yum -R 10 -e 0 -d 0 -y update<xhtml:br/></xhtml:code>
1702 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1703 This particular script instructs yum to update any
1704 packages it finds. Placing the script in /etc/cron.daily ensures its daily execution.
1705 To only apply updates once a week, place the script in /etc/cron.weekly instead.
1706 </xccdf:description>
1707 <xccdf:Value id="xccdf_cdf_value_var-2.1.2.3.2.b" operator="equals" type="string">
1708 <xccdf:title>Schedule yum update using cron</xccdf:title>
1709 <xccdf:description>Enter frequency of with which to invoke yum update</xccdf:description>
1710 <xccdf:question xml:lang="en">Select frequency of yum update</xccdf:question>
1711 <xccdf:value>daily</xccdf:value>
1712 <xccdf:value selector="hourly">hourly</xccdf:value>
1713 <xccdf:value selector="daily">daily</xccdf:value>
1714 <xccdf:value selector="weekly">weekly</xccdf:value>
1715 <xccdf:value selector="monthly">monthly</xccdf:value>
1716 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1717 <xccdf:choices mustMatch="1">
1718 <xccdf:choice>hourly</xccdf:choice>
1719 <xccdf:choice>daily</xccdf:choice>
1720 <xccdf:choice>weekly</xccdf:choice>
1721 <xccdf:choice>monthly</xccdf:choice>
1722 </xccdf:choices>
1723 </xccdf:Value>
1724 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false" severity="low" weight="10.0">
1725 <xccdf:title>yum-updatesd service should be disabled</xccdf:title>
1726 <xccdf:description>The yum-updatesd service should be disabled</xccdf:description>
1727 <xccdf:ident system="http://cce.mitre.org">CCE-4218-4</xccdf:ident>
1728 <xccdf:fix># chkconfig yum-updatesd off</xccdf:fix>
1729 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1730 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20008"/>
1731 </xccdf:check>
1732 </xccdf:Rule>
1733 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false" severity="medium" weight="10.0">
1734 <xccdf:title>Automatic Update Retrieval should be scheduled with Cron</xccdf:title>
1735 <xccdf:description>Place the yum.cron script somewhere in /etc/cron.*/</xccdf:description>
1736 <xccdf:fix>echo -e "/usr/bin/yum -R 120 -e 0 -d 0 -y update yum\n/usr/bin/yum -R 10 -e 0 -d 0 -y update" &gt; /etc/cron.weekly/yum.cron</xccdf:fix>
1737 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1738 <xccdf:check-export export-name="oval:org.open-scap.f14.dcb:var:20009" value-id="xccdf_cdf_value_var-2.1.2.3.2.b"/>
1739 <!-- TBD -->
1740 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20009"/>
1741 </xccdf:check>
1742 </xccdf:Rule>
1743 </xccdf:Group>
1744 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.3">
1745 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Globally Activated</xccdf:title>
1746 <xccdf:description xml:lang="en">
1747 The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
1748 to its installation.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1750 To force yum to check package signatures before installing them, ensure that the following line appears in
1751 /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1752 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1753 gpgcheck=1
1754 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1755 </xccdf:description>
1756 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="false" weight="10.0">
1757 <xccdf:title>Ensure gpgcheck is Globally Activated</xccdf:title>
1758 <xccdf:description>
1759 The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior to its installation.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>To force yum to check package signatures before installing them, ensure that the following line appears in /etc/yum.conf in the [main] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1761 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1762 gpgcheck=1</xccdf:description>
1763 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1764 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20010"/>
1765 </xccdf:check>
1766 </xccdf:Rule>
1767 </xccdf:Group>
1768 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.4">
1769 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1770 <xccdf:description xml:lang="en">
1771 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1772 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1773 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1774 gpgcheck=0
1775 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1776 </xccdf:description>
1777 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="false" weight="10.0">
1778 <xccdf:title>Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1779 <xccdf:description>
1780 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1781 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1782 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1783 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20011"/>
1784 </xccdf:check>
1785 </xccdf:Rule>
1786 </xccdf:Group>
1787 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.5">
1788 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1789 <xccdf:description xml:lang="en">
1790 The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
1791 to using it.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1792 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1793 To force yum to check the signature on repodata sent by a repository prior to using it, ensure that the
1794 following line appears in /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1795 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1796 repo_gpgcheck=1
1797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1798 </xccdf:description>
1799 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false" weight="10.0">
1800 <xccdf:title>Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1801 <xccdf:description>
1802 The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior to using it.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>To force yum to check the signature on repodata sent by a repository prior to using it, ensure that the following line appears in /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1804 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>repo_gpgcheck=1</xccdf:description>
1805 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1806 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20012"/>
1807 </xccdf:check>
1808 </xccdf:Rule>
1809 </xccdf:Group>
1810 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.6">
1811 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1812 <xccdf:description xml:lang="en">
1813 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1814 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1816 gpgcheck=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1817 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1818 Note: Red Hat’s repositories support signatures on repodata, but some public repositories do not. If a repository
1819 does not support signature checking on repodata, then this risk must be weighed against the value of using the
1820 repository.
1821 </xccdf:description>
1822 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="false" weight="10.0">
1823 <xccdf:title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1824 <xccdf:description>
1825 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT appear in any repo configuration files in /etc/yum.repos.d or elsewhere: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1826 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1827 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1828 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20013"/>
1829 </xccdf:check>
1830 </xccdf:Rule>
1831 </xccdf:Group>
1832 </xccdf:Group>
1833 </xccdf:Group>
1834 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3">
1835 <xccdf:title xml:lang="en">Software Integrity Checking</xccdf:title>
1836 <xccdf:description xml:lang="en">
1837 The AIDE (Advanced Intrusion Detection Environment) software is
1838 included with the system to provide software integrity checking. It is designed to be a
1839 replacement for the well-known Tripwire integrity checker. Integrity checking cannot
1840 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">prevent</xhtml:em>
1841 intrusions into your system, but can detect that they have occurred.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1843 Any integrity checking software should be configured before
1844 the system is deployed and able to provides services to users. Ideally, the integrity
1845 checking database would be built before the system is connected to any network, though
1846 this may prove impractical due to registration and software updates.
1847 </xccdf:description>
1848 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1">
1849 <xccdf:title xml:lang="en">Configure AIDE</xccdf:title>
1850 <xccdf:description xml:lang="en">
1851 Requirements for software integrity checking should be defined
1852 by policy, and this is highly dependent on the environment in which the system will be
1853 used. As such, a general strategy for implementing integrity checking is provided, but
1854 precise recommendations (such as to check a particular file) cannot be. Documentation
1855 for AIDE, including the quick-start on which this advice is based, is available in
1856 /usr/share/doc/aide-0.12.</xccdf:description>
1857 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.1">
1858 <xccdf:title xml:lang="en">Install AIDE</xccdf:title>
1859 <xccdf:description xml:lang="en">AIDE is not installed by default.</xccdf:description>
1860 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false" severity="medium" weight="10.0">
1861 <xccdf:title>Install AIDE</xccdf:title>
1862 <xccdf:description>The AIDE package should be installed</xccdf:description>
1863 <xccdf:ident system="http://cce.mitre.org">CCE-4209-3</xccdf:ident>
1864 <xccdf:fix>yum install aide</xccdf:fix>
1865 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1866 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20014"/>
1867 </xccdf:check>
1868 </xccdf:Rule>
1869 </xccdf:Group>
1870 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.2">
1871 <xccdf:title xml:lang="en">Customize Configuration File</xccdf:title>
1872 <xccdf:description xml:lang="en">
1873 Customize /etc/aide.conf to meet your requirements. The
1874 default configuration is acceptable for many environments.
1875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1876 The man page aide.conf(5)
1877 provides detailed information about the configuration file format.
1878 </xccdf:description>
1879 </xccdf:Group>
1880 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.3">
1881 <xccdf:title xml:lang="en">Build, Store, and Test Database</xccdf:title>
1882 <xccdf:description xml:lang="en">
1883 Generate a new database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1884 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1885 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --init<xhtml:br/></xhtml:code>
1886 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1887 By default, the database will be written to
1888 the file /var/lib/aide/aide.db.new.gz. The database, as well as the configuration file
1889 /etc/aide.conf and the binary /usr/sbin/aide (or hashes of these files) should be
1890 copied and stored in a secure location. Storing these copies or hashes on read-only
1891 media may provide further confidence that they will not be
1892 altered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1893 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1894 Install the newly-generated database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1896 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz<xhtml:br/></xhtml:code>
1897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1898 Run a manual check:
1899 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1901 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --check<xhtml:br/></xhtml:code>
1902 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1903 If this check produces any unexpected output, investigate.
1904 </xccdf:description>
1905 </xccdf:Group>
1906 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.4">
1907 <xccdf:title xml:lang="en">Implement Periodic Execution of Integrity Checking</xccdf:title>
1908 <xccdf:description xml:lang="en">
1909 By default, AIDE does not install itself for periodic execution.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1910 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1911 Implement checking with whatever frequency is required
1912 by your security policy. A once-daily check may be suitable for many environments. For
1913 example, to implement a daily execution of AIDE at 4:05am, add the following line to
1914 /etc/crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1915 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1916 05 4 * * * root /usr/sbin/aide --check<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1917 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1918 AIDE output may be an indication of an attack against
1919 your system, or it may be the result of something innocuous such as an administrator's
1920 configuration change or a software update. The steps in Section 2.1.3.1.3 should be
1921 repeated when configuration changes or software updates necessitate. This will
1922 certainly be necessary after applying guidance later in this guide.
1923 </xccdf:description>
1924 <xccdf:Value id="xccdf_cdf_value_var-2.1.3.1.4.a" operator="equals" type="string">
1925 <xccdf:title>Schedule AIDE check using cron</xccdf:title>
1926 <xccdf:description>Frequency with which to run AIDE check</xccdf:description>
1927 <xccdf:question xml:lang="en">Select frequency with which to run AIDE check</xccdf:question>
1928 <xccdf:value>daily</xccdf:value>
1929 <xccdf:value selector="hourly">hourly</xccdf:value>
1930 <xccdf:value selector="daily">daily</xccdf:value>
1931 <xccdf:value selector="weekly">weekly</xccdf:value>
1932 <xccdf:value selector="monthly">monthly</xccdf:value>
1933 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1934 <xccdf:choices mustMatch="1">
1935 <xccdf:choice>hourly</xccdf:choice>
1936 <xccdf:choice>daily</xccdf:choice>
1937 <xccdf:choice>weekly</xccdf:choice>
1938 <xccdf:choice>monthly</xccdf:choice>
1939 </xccdf:choices>
1940 </xccdf:Value>
1941 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.4.a" role="full" selected="false" severity="medium" weight="10.0">
1942 <xccdf:title>Run AIDE periodically</xccdf:title>
1943 <xccdf:description>Setup cron to run AIDE periodically using cron.</xccdf:description>
1944 <!-- note that anything periodic will pass including monthly -->
1945 <xccdf:fix>echo -e "/usr/sbin/aide --check" &gt; /etc/cron.daily/aide.cron</xccdf:fix>
1946 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1947 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20015" value-id="xccdf_cdf_value_var-2.1.3.1.4.a"/>
1948 <!-- TBD -->
1949 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20015"/>
1950 </xccdf:check>
1951 </xccdf:Rule>
1952 </xccdf:Group>
1953 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.5">
1954 <xccdf:title xml:lang="en">Manually Verify Integrity of AIDE</xccdf:title>
1955 <xccdf:description xml:lang="en">
1956 Because integrity checking is a means of intrusion detection
1957 and not intrusion prevention, it cannot be guaranteed that the AIDE binaries,
1958 configuration files, or database have not been tampered with. An attacker could
1959 disable or alter these files after a successful intrusion. Because of this, manual and
1960 frequent checks on these files is recommended. The safely stored copies (or hashes) of
1961 the database, binary, and configuration file were created earlier for this
1962 purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1963 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1964 Manually verify the integrity of the AIDE binaries,
1965 configuration file, and database. Possibilities for doing so include:
1966 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
1967 <xhtml:li>Use sha1sum or md5sum to generate checksums on the
1968 files and then visually compare them to those generated from the safely stored
1969 versions. This does not, of course, preclude the possibility that such output could
1970 also be faked.</xhtml:li>
1971 <xhtml:li>Mount the stored versions on read-only media and run
1972 /bin/diff to verify that there are no differences between the
1973 files.</xhtml:li>
1974 <xhtml:li>Copying the files to another system and performing the hash or file
1975 comparisons there may impart additional confidence that the manual verification
1976 process is not being interfered with.</xhtml:li>
1977 </xhtml:ol>
1978 </xccdf:description>
1979 </xccdf:Group>
1980 </xccdf:Group>
1981 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.2">
1982 <xccdf:title xml:lang="en">Verify Package Integrity Using RPM</xccdf:title>
1983 <xccdf:description xml:lang="en">
1984 The RPM package management system includes the ability to
1985 verify the integrity of installed packages by comparing the installed files with
1986 information about the files taken from the package metadata stored in the RPM
1987 database. Although an attacker could corrupt the RPM database (analogous to
1988 attacking the AIDE database as described above), this check can still reveal
1989 modification of important files.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1990 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1991 To determine which files on the system differ from what is expected by the RPM
1992 database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1994 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa<xhtml:br/></xhtml:code>
1995 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1996 A “c” in the second column indicates that a file is a configuration file (and may be
1997 expected to change). In order to exclude configuration files from this list, run:
1998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1999 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa | awk '$2!="c" {print $0}'<xhtml:br/></xhtml:code>
2000 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2001 The man page rpm(8) describes the format of the output. Any files that do not
2002 match the expected output demand further investigation if the system is being
2003 seriously examined. This check could also be run as a cron job.
2004 </xccdf:description>
2005 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false" weight="10.0">
2006 <xccdf:title>Verify Package Integrity Using RPM</xccdf:title>
2007 <xccdf:description>Verify the integrity of installed packages by comparing the installed files with information about the files taken from the package metadata stored in the RPM database.</xccdf:description>
2008 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2009 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200155"/>
2010 </xccdf:check>
2011 </xccdf:Rule>
2012 </xccdf:Group>
2013 </xccdf:Group>
2014 </xccdf:Group>
2015 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2">
2016 <xccdf:title xml:lang="en">File Permissions and Masks</xccdf:title>
2017 <xccdf:description xml:lang="en">
2018 Traditional Unix security relies heavily on file and directory
2019 permissions to prevent unauthorized users from reading or modifying files to which they
2020 should not have access. Adhere to the principle of least privilege — configure each file,
2021 directory, and filesystem to allow only the access needed in order for that file to serve
2022 its purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2023 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2024 However, Linux systems contain a large number of files, so
2025 it is often prohibitively time-consuming to ensure that every file on a machine has exactly
2026 the permissions needed. This section introduces several permission restrictions which are
2027 almost always appropriate for system security, and which are easy to test and
2028 correct. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2029 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2030 Note: Several of the commands in this section search
2031 filesystems for files or directories with certain characteristics, and are intended to be
2032 run on every local ext2, ext3 and ext4 partition on a given machine. When the variable
2033 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2034 appears in one of the commands below, it means that the command
2035 is intended to be run repeatedly, with the name of each local partition substituted for
2036 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2037 in turn.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2038 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2039 The following command prints a
2040 list of ext2, ext3 and ext4 partitions on a given machine:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2041 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2042 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ mount -t ext2,ext3,ext4 | awk '{print $3}'<xhtml:br/></xhtml:code>
2043 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2044 If your site uses a local filesystem type other than ext{234}, you will need to modify
2045 this command.
2046 </xccdf:description>
2047 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1">
2048 <xccdf:title xml:lang="en">Restrict Partition Mount Options</xccdf:title>
2049 <xccdf:description xml:lang="en">
2050 System partitions can be mounted with certain options which limit
2051 what files on those partitions can do. These options are set in the file /etc/fstab, and
2052 can be used to make certain types of malicious behavior more difficult.</xccdf:description>
2053 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.1" weight="1.0">
2054 <xccdf:title xml:lang="en">Add nodev Option to Non-Root Local Partitions</xccdf:title>
2055 <xccdf:description xml:lang="en">
2056 The nodev option prevents users from mounting unauthorized
2057 devices on any partition which is known not to contain any authorized devices. The root
2058 partition typically contains the /dev partition, which is the primary location for
2059 authorized devices, so this option should not be set on /. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2060 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2061 However, if system programs are being run in chroot jails, this advice may need to be
2062 modified further, since it is often necessary to create device files inside the chroot
2063 directory for use by the restricted program.
2064 </xccdf:description>
2065 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.1.a" role="full" selected="false" severity="unknown" weight="10.0">
2066 <xccdf:title>Add nodev Option to Non-Root Local Partitions</xccdf:title>
2067 <xccdf:description>The nodev option should be disabled as appropriate for all non-root partitions.</xccdf:description>
2068 <xccdf:ident system="http://cce.mitre.org">CCE-4249-9</xccdf:ident>
2069 <xccdf:fixtext>
2070 Edit the file /etc/fstab. The important columns for purposes of
2071 this section are column 2 (mount point), column 3 (filesystem type), and column 4 (mount
2072 options). For any line which satisfies all of the conditions:
2073 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
2074 <xhtml:li>The filesystem type is ext2, ext3 or ext4</xhtml:li>
2075 <xhtml:li>The mount point is not /</xhtml:li>
2076 </xhtml:ul>
2077 add the text “,nodev” to the list of mount options in column 4. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2078 </xccdf:fixtext>
2079 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2080 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20016"/>
2081 </xccdf:check>
2082 </xccdf:Rule>
2083 </xccdf:Group>
2084 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.2">
2085 <xccdf:title xml:lang="en">Add nodev, nosuid, and noexec Options to Removable Media Partitions</xccdf:title>
2086 <xccdf:description xml:lang="en">
2087 Users should not be allowed to introduce arbitrary devices or
2088 setuid programs to a system. These options are used to prevent that. In addition, while
2089 users are usually allowed to add executable programs to a system, the noexec option
2090 prevents code from being executed directly from the media itself, and may therefore
2091 provide a line of defense against certain types of worms or malicious code.</xccdf:description>
2092 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false" weight="10.0">
2093 <xccdf:title>Add nodev Option to Removable Media Partitions</xccdf:title>
2094 <xccdf:description>The nodev option should be disabled for all removable media.</xccdf:description>
2095 <xccdf:ident system="http://cce.mitre.org">CCE-3522-0</xccdf:ident>
2096 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2097 located by finding lines whose mount points contain strings like floppy or cdrom, or
2098 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2099 mountpoint, add the text ',nodev' to the list of mount options in column 4.</xccdf:fixtext>
2100 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2101 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20017"/>
2102 </xccdf:check>
2103 </xccdf:Rule>
2104 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false" weight="10.0">
2105 <xccdf:title>Add noexec Option to Removable Media Partitions</xccdf:title>
2106 <xccdf:description>The noexec option should be disabled for all removable media.</xccdf:description>
2107 <xccdf:ident system="http://cce.mitre.org">CCE-4275-4</xccdf:ident>
2108 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2109 located by finding lines whose mount points contain strings like floppy or cdrom, or
2110 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2111 mountpoint, add the text ',noexec' to the list of mount options in column 4.</xccdf:fixtext>
2112 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2113 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20018"/>
2114 </xccdf:check>
2115 </xccdf:Rule>
2116 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false" severity="medium" weight="10.0">
2117 <xccdf:title>Add nosuid Option to Removable Media Partitions</xccdf:title>
2118 <xccdf:description>The nosuid option should be disabled for all removable media.</xccdf:description>
2119 <xccdf:ident system="http://cce.mitre.org">CCE-4042-8</xccdf:ident>
2120 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2121 located by finding lines whose mount points contain strings like floppy or cdrom, or
2122 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2123 mountpoint, add the text ',nosuid' to the list of mount options in column 4.</xccdf:fixtext>
2124 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2125 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20019"/>
2126 </xccdf:check>
2127 </xccdf:Rule>
2128 </xccdf:Group>
2129 </xccdf:Group>
2130 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2">
2131 <xccdf:title xml:lang="en">Restrict Dynamic Mounting and Unmounting of Filesystems</xccdf:title>
2132 <xccdf:description xml:lang="en">
2133 Linux includes a number of facilities for the automated addition
2134 and removal of filesystems on a running system. These facilities may increase convenience,
2135 but they all bring some risk, whether direct risk from allowing unprivileged users to
2136 introduce arbitrary filesystems to a machine, or risk that software flaws in the automated
2137 mount facility itself will allow an attacker to compromise the
2138 system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2139 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2140 Use caution when enabling any such facility, and find out
2141 whether better configuration management or user education might solve the same problem
2142 with less risk.
2143 </xccdf:description>
2144 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1">
2145 <xccdf:title xml:lang="en">Disable USB Device Support</xccdf:title>
2146 <xccdf:description xml:lang="en">USB flash or hard drives allow an attacker with physical access to a system to quickly copy an enormous amount of data from it.</xccdf:description>
2147 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.1">
2148 <xccdf:title xml:lang="en">Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2149 <xccdf:description xml:lang="en">
2150 If USB storage devices should not be used, the modprobe
2151 program used for automatic kernel module loading should be configured to not load the
2152 USB storage driver upon demand. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2153 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2154 This will prevent the modprobe program from loading the usb-storage module, but will
2155 not prevent an administrator (or another program) from using the insmod program to
2156 load the module manually.
2157 </xccdf:description>
2158 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false" weight="10.0">
2159 <xccdf:title>Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2160 <xccdf:description>The USB device support module should not be loaded</xccdf:description>
2161 <xccdf:ident system="http://cce.mitre.org">CCE-4187-1</xccdf:ident>
2162 <xccdf:fix>echo -e "\ndenylist usb_storage" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2163 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2164 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20021"/>
2165 </xccdf:check>
2166 </xccdf:Rule>
2167 </xccdf:Group>
2168 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.2">
2169 <xccdf:title xml:lang="en">Remove USB Storage Driver</xccdf:title>
2170 <xccdf:description xml:lang="en">
2171 If your system never requires the use of USB storage devices,
2172 then the supporting driver can be removed. Though more effective (as USB storage
2173 certainly cannot be used if the driver is not available at all), this is less elegant
2174 than the method described in Section 2.2.2.1.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2175 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2176 Note that this guidance will not prevent USB storage devices from being mounted if a
2177 custom kernel (i.e., not the one supplied with the system) with built-in USB support
2178 is used.
2179 </xccdf:description>
2180 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false" weight="10.0">
2181 <xccdf:title>Remove USB Storage Driver</xccdf:title>
2182 <xccdf:description>
2183 The USB device support module should not be installed. The command in
2184 the FIX will need to be repeated every time the kernel is updated. This command
2185 will also cause the command rpm -q --verify kernel to fail, which may be an
2186 undesirable side effect.</xccdf:description>
2187 <xccdf:ident system="http://cce.mitre.org">CCE-4006-3</xccdf:ident>
2188 <xccdf:fix>rm /lib/modules/2.6.*/kernel/drivers/usb/storage/usb-storage.ko</xccdf:fix>
2189 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2190 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20022"/>
2191 </xccdf:check>
2192 </xccdf:Rule>
2193 </xccdf:Group>
2194 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.3">
2195 <xccdf:title xml:lang="en">Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2196 <xccdf:description xml:lang="en">
2197 Another means of disabling USB storage is to disable all USB
2198 support provided by the operating system. This can be accomplished by adding the
2199 'nousb' argument to the kernel's boot loader configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2201 NOTE
2202 - Disabling all kernel support for USB will cause problems for systems with USB-based
2203 keyboards, mice, or printers. This guidance is inappropriate for systems which require
2204 USB connectivity.
2205 </xccdf:description>
2206 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false" weight="10.0">
2207 <xccdf:title>Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2208 <xccdf:description>USB kernel support should be disabled.</xccdf:description>
2209 <xccdf:ident system="http://cce.mitre.org">CCE-4173-1</xccdf:ident>
2210 <xccdf:fixtext>To disable kernel support for USB, append 'nousb' to the kernel line in
2211 /etc/grub.conf as follows: kernel /vmlinuz-version ro vga=ext
2212 root=/dev/VolGroup00/LogVol00 rhgb quiet nousb</xccdf:fixtext>
2213 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2214 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20023"/>
2215 </xccdf:check>
2216 </xccdf:Rule>
2217 </xccdf:Group>
2218 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.4">
2219 <xccdf:title xml:lang="en">Disable Booting from USB Devices</xccdf:title>
2220 <xccdf:description xml:lang="en">
2221 An attacker with physical access could try to boot the system
2222 from a USB flash drive and then access any data on the system's hard drive,
2223 circumventing the normal operating system's access controls. To prevent this,
2224 configure the BIOS to disallow booting from USB drives. Also configure the BIOS or
2225 firmware password as described in Section 2.3.5.1 to prevent unauthorized
2226 configuration changes.</xccdf:description>
2227 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false" severity="high" weight="10.0">
2228 <xccdf:title>Disable Booting from USB Devices in the BIOS</xccdf:title>
2229 <xccdf:description>The ability to boot from USB devices should be disabled</xccdf:description>
2230 <xccdf:ident system="http://cce.mitre.org">CCE-3944-6</xccdf:ident>
2231 <xccdf:fixtext>BIOS settings</xccdf:fixtext>
2232 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2233 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20024"/>
2234 </xccdf:check>
2235 </xccdf:Rule>
2236 </xccdf:Group>
2237 </xccdf:Group>
2238 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.2">
2239 <xccdf:title xml:lang="en">Disable the Automounter if Possible</xccdf:title>
2240 <xccdf:description xml:lang="en">
2241 If the autofs service is not needed to dynamically mount NFS
2242 filesystems or removable media, disable the service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2243 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2244 The autofs daemon mounts and unmounts filesystems, such as user home directories shared
2245 via NFS, on demand. In addition, autofs can be used to handle removable media, and the
2246 default configuration provides the cdrom device as /misc/cd. However, this method of
2247 providing access to removable media is not common, so autofs can almost always be
2248 disabled if NFS is not in use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2249 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2250 Even if NFS is required, it is almost always
2251 possible to configure filesystem mounts statically by editing /etc/fstab rather than
2252 relying on the automounter.
2253 </xccdf:description>
2254 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false" severity="medium" weight="10.0">
2255 <xccdf:title>Disable the Automounter if Possible</xccdf:title>
2256 <xccdf:description>The autofs service should be disabled.</xccdf:description>
2257 <xccdf:ident system="http://cce.mitre.org">CCE-4072-5</xccdf:ident>
2258 <xccdf:fix>chkconfig autofs off</xccdf:fix>
2259 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2260 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20025"/>
2261 </xccdf:check>
2262 </xccdf:Rule>
2263 </xccdf:Group>
2264 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.3">
2265 <xccdf:title xml:lang="en">Disable GNOME Automounting if Possible</xccdf:title>
2266 <xccdf:description xml:lang="en">
2267 The system's default desktop environment, GNOME, runs the
2268 program gnome-volume-manager to mount devices and removable media (such as DVDs, CDs and
2269 USB flash drives) whenever they are inserted into the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2270 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2271 The system's capabilities for automatic mounting should be configured to match whatever
2272 is defined by security policy. Disabling USB storage as described in Section 2.2.2.2.1
2273 will prevent the use of USB storage devices, but this step can also be taken as an
2274 additional layer of prevention and to prevent automatic mounting of CDs and DVDs if
2275 required. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2276 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2277 Particularly for kiosk-style systems, where users should
2278 have extremely limited access to the system, more detailed information can be found in
2279 Red Hat Desktop: Deployment Guide. The gconf-editor program, available in an RPM of the
2280 same name, can be used to explore other settings available in the GNOME environment.
2281 </xccdf:description>
2282 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false" severity="medium" weight="10.0">
2283 <xccdf:title>Disable GNOME Automounting if Possible</xccdf:title>
2284 <xccdf:description>The GNOME automounter (gnome-volume-manager) should be disabled if possible</xccdf:description>
2285 <xccdf:ident system="http://cce.mitre.org">CCE-4231-7</xccdf:ident>
2286 <xccdf:fixtext>Execute the following commands to prevent gnome-volume-manager from automatically
2287 mounting devices and media: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2289 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
2290 # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2291 --type bool --set /desktop/gnome/volume_manager/automount_media false
2292 <xhtml:br/> <xhtml:br/>
2293 # gconftool-2 --direct
2294 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2295 --type bool
2296 --set /desktop/gnome/volume_manager/automount_drives false
2297 </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2299 Verify the changes by executing
2300 the following command, which should return a list of settings: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2301 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2302 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># gconftool-2 -R /desktop/gnome/volume_manager <xhtml:br/></xhtml:code>
2303 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2304 The automount drives and automount media settings should
2305 be set to false. Survey the list for any other options that should be adjusted.</xccdf:fixtext>
2306 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2307 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20026"/>
2308 </xccdf:check>
2309 </xccdf:Rule>
2310 </xccdf:Group>
2311 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.4">
2312 <xccdf:title xml:lang="en">Disable Mounting of Uncommon Filesystem Types</xccdf:title>
2313 <xccdf:description xml:lang="en">
2314 Specifying kernel module in /etc/modprobe.d/denylist.conf will prevent
2315 kernel module loading system from inserting the modele into the kernel.
2316 This mechanism effectively prevents usage of these uncommon filesystems.</xccdf:description>
2317 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false" weight="10.0">
2318 <xccdf:title>Disable Mounting of cramfs</xccdf:title>
2319 <xccdf:description>cramfs is uncommon filesystems</xccdf:description>
2320 <xccdf:fix>echo "denylist cramfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2321 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2322 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20027"/>
2323 </xccdf:check>
2324 </xccdf:Rule>
2325 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false" weight="10.0">
2326 <xccdf:title>Disable Mounting of freevxfs</xccdf:title>
2327 <xccdf:description>freevxfs is uncommon filesystems</xccdf:description>
2328 <xccdf:fix>echo "denylist freevxfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2329 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2330 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20028"/>
2331 </xccdf:check>
2332 </xccdf:Rule>
2333 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false" weight="10.0">
2334 <xccdf:title>Disable Mounting of jffs2</xccdf:title>
2335 <xccdf:description>jffs2 is uncommon filesystems</xccdf:description>
2336 <xccdf:fix>echo "denylist jffs2" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2337 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2338 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20029"/>
2339 </xccdf:check>
2340 </xccdf:Rule>
2341 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false" weight="10.0">
2342 <xccdf:title>Disable Mounting of hfs</xccdf:title>
2343 <xccdf:description>hfs is uncommon filesystems</xccdf:description>
2344 <xccdf:fix>echo "denylist hfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2345 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2346 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20030"/>
2347 </xccdf:check>
2348 </xccdf:Rule>
2349 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false" weight="10.0">
2350 <xccdf:title>Disable Mounting of hfsplus</xccdf:title>
2351 <xccdf:description>hfsplus is uncommon filesystems</xccdf:description>
2352 <xccdf:fix>echo "denylist hfsplus" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2353 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2354 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20031"/>
2355 </xccdf:check>
2356 </xccdf:Rule>
2357 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false" weight="10.0">
2358 <xccdf:title>Disable Mounting of squashfs</xccdf:title>
2359 <xccdf:description>squashfs is uncommon filesystems</xccdf:description>
2360 <xccdf:fix>echo "denylist squashfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2361 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2362 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20032"/>
2363 </xccdf:check>
2364 </xccdf:Rule>
2365 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false" weight="10.0">
2366 <xccdf:title>Disable Mounting of udf</xccdf:title>
2367 <xccdf:description>udf is uncommon filesystems</xccdf:description>
2368 <xccdf:fix>echo "denylist udf" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2369 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2370 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20033"/>
2371 </xccdf:check>
2372 </xccdf:Rule>
2373 </xccdf:Group>
2374 </xccdf:Group>
2375 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3">
2376 <xccdf:title xml:lang="en">Verify Permissions on Important Files and Directories</xccdf:title>
2377 <xccdf:description xml:lang="en">
2378 Permissions for many files on a system should be set to conform
2379 to system policy. This section discusses important permission restrictions which
2380 should be checked on a regular basis to ensure that no harmful discrepancies have arisen.
2381 </xccdf:description>
2382 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.1">
2383 <xccdf:title xml:lang="en">Verify Permissions on passwd, shadow, group and gshadow Files</xccdf:title>
2384 <xccdf:description xml:lang="en">
2385 These are the default permissions for these files. Many
2386 utilities need read access to the passwd file in order to function properly, but read
2387 access to the shadow file allows malicious attacks against system passwords, and should
2388 never be enabled.</xccdf:description>
2389 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.i" operator="equals" type="string">
2390 <xccdf:title>Permissions for shadow</xccdf:title>
2391 <xccdf:description>File permissions for /etc/shadow</xccdf:description>
2392 <xccdf:question xml:lang="en">Select permissions for /etc/shadow</xccdf:question>
2393 <xccdf:value>000000000</xccdf:value>
2394 <xccdf:value selector="000">000000000</xccdf:value>
2395 <xccdf:value selector="400">100000000</xccdf:value>
2396 <xccdf:value selector="644">110100100</xccdf:value>
2397 <xccdf:match>^[10]+$</xccdf:match>
2398 </xccdf:Value>
2399 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.j" operator="equals" type="string">
2400 <xccdf:title>Permissions for group</xccdf:title>
2401 <xccdf:description>File permissions for /etc/group</xccdf:description>
2402 <xccdf:question xml:lang="en">Select permissions for /etc/group</xccdf:question>
2403 <xccdf:value>110100100</xccdf:value>
2404 <xccdf:value selector="400">100000000</xccdf:value>
2405 <xccdf:value selector="644">110100100</xccdf:value>
2406 <xccdf:value selector="700">111000000</xccdf:value>
2407 <xccdf:match>^[10]+$</xccdf:match>
2408 </xccdf:Value>
2409 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.k" operator="equals" type="string">
2410 <xccdf:title>Permissions for gshadow</xccdf:title>
2411 <xccdf:description>File permissions for /etc/gshadow</xccdf:description>
2412 <xccdf:question xml:lang="en">Select permissions for /etc/gshadow</xccdf:question>
2413 <xccdf:value>000000000</xccdf:value>
2414 <xccdf:value selector="000">000000000</xccdf:value>
2415 <xccdf:value selector="400">100000000</xccdf:value>
2416 <xccdf:value selector="644">110100100</xccdf:value>
2417 <xccdf:match>^[10]+$</xccdf:match>
2418 </xccdf:Value>
2419 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.l" operator="equals" type="string">
2420 <xccdf:title>Permissions for passwd</xccdf:title>
2421 <xccdf:description>File permissions for /etc/password</xccdf:description>
2422 <xccdf:question xml:lang="en">Select permissions for /etc/password</xccdf:question>
2423 <xccdf:value>110100100</xccdf:value>
2424 <xccdf:value selector="400">100000000</xccdf:value>
2425 <xccdf:value selector="644">110100100</xccdf:value>
2426 <xccdf:value selector="700">111000000</xccdf:value>
2427 <xccdf:match>^[10]+$</xccdf:match>
2428 </xccdf:Value>
2429 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.a" selected="false" severity="medium" weight="10.0">
2430 <xccdf:title>Verify user who owns 'shadow' file</xccdf:title>
2431 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2432 <xccdf:ident system="http://cce.mitre.org">CCE-3918-0</xccdf:ident>
2433 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2434 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20034"/>
2435 </xccdf:check>
2436 </xccdf:Rule>
2437 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.b" selected="false" severity="medium" weight="10.0">
2438 <xccdf:title>Verify group who owns 'shadow' file</xccdf:title>
2439 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2440 <xccdf:ident system="http://cce.mitre.org">CCE-3988-3</xccdf:ident>
2441 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2442 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20035"/>
2443 </xccdf:check>
2444 </xccdf:Rule>
2445 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.c" selected="false" severity="medium" weight="10.0">
2446 <xccdf:title>Verify user who owns 'group' file</xccdf:title>
2447 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2448 <xccdf:ident system="http://cce.mitre.org">CCE-3276-3</xccdf:ident>
2449 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2450 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20036"/>
2451 </xccdf:check>
2452 </xccdf:Rule>
2453 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.d" selected="false" severity="medium" weight="10.0">
2454 <xccdf:title>Verify group who owns 'group' file</xccdf:title>
2455 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2456 <xccdf:ident system="http://cce.mitre.org">CCE-3883-6</xccdf:ident>
2457 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2458 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20037"/>
2459 </xccdf:check>
2460 </xccdf:Rule>
2461 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.e" selected="false" severity="medium" weight="10.0">
2462 <xccdf:title>Verify user who owns 'gshadow' file</xccdf:title>
2463 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2464 <xccdf:ident system="http://cce.mitre.org">CCE-4210-1</xccdf:ident>
2465 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2466 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20038"/>
2467 </xccdf:check>
2468 </xccdf:Rule>
2469 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.f" selected="false" severity="medium" weight="10.0">
2470 <xccdf:title>Verify group who owns 'gshadow' file</xccdf:title>
2471 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2472 <xccdf:ident system="http://cce.mitre.org">CCE-4064-2</xccdf:ident>
2473 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2474 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20039"/>
2475 </xccdf:check>
2476 </xccdf:Rule>
2477 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.g" selected="false" severity="medium" weight="10.0">
2478 <xccdf:title>Verify user who owns 'passwd' file</xccdf:title>
2479 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2480 <xccdf:ident system="http://cce.mitre.org">CCE-3958-6</xccdf:ident>
2481 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2482 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20040"/>
2483 </xccdf:check>
2484 </xccdf:Rule>
2485 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.h" selected="false" severity="medium" weight="10.0">
2486 <xccdf:title>Verify group who owns 'passwd' file</xccdf:title>
2487 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2488 <xccdf:ident system="http://cce.mitre.org">CCE-3495-9</xccdf:ident>
2489 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2490 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20041"/>
2491 </xccdf:check>
2492 </xccdf:Rule>
2493 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.i" selected="false" severity="medium" weight="10.0">
2494 <xccdf:title>Verify permissions on 'shadow' file</xccdf:title>
2495 <xccdf:description>File permissions for /etc/shadow should be set correctly.</xccdf:description>
2496 <xccdf:ident system="http://cce.mitre.org">CCE-4130-1</xccdf:ident>
2497 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2498 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20042" value-id="xccdf_cdf_value_var-2.2.3.1.i"/>
2499 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20042"/>
2500 </xccdf:check>
2501 </xccdf:Rule>
2502 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.j" selected="false" severity="medium" weight="10.0">
2503 <xccdf:title>Verify permissions on 'group' file</xccdf:title>
2504 <xccdf:description>File permissions for /etc/group should be set correctly.</xccdf:description>
2505 <xccdf:ident system="http://cce.mitre.org">CCE-3967-7</xccdf:ident>
2506 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2507 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20043" value-id="xccdf_cdf_value_var-2.2.3.1.j"/>
2508 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20043"/>
2509 </xccdf:check>
2510 </xccdf:Rule>
2511 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.k" selected="false" severity="medium" weight="10.0">
2512 <xccdf:title>Verify permissions on 'gshadow' file</xccdf:title>
2513 <xccdf:description>File permissions for /etc/gshadow should be set correctly.</xccdf:description>
2514 <xccdf:ident system="http://cce.mitre.org">CCE-3932-1</xccdf:ident>
2515 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2516 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20044" value-id="xccdf_cdf_value_var-2.2.3.1.k"/>
2517 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20044"/>
2518 </xccdf:check>
2519 </xccdf:Rule>
2520 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.l" selected="false" severity="medium" weight="10.0">
2521 <xccdf:title>Verify permissions on 'passwd' file</xccdf:title>
2522 <xccdf:description>File permissions for /etc/passwd should be set correctly.</xccdf:description>
2523 <xccdf:ident system="http://cce.mitre.org">CCE-3566-7</xccdf:ident>
2524 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2525 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20045" value-id="xccdf_cdf_value_var-2.2.3.1.l"/>
2526 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20045"/>
2527 </xccdf:check>
2528 </xccdf:Rule>
2529 </xccdf:Group>
2530 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.2">
2531 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2532 <xccdf:description xml:lang="en">
2533 When the so-called 'sticky bit' is set on a directory, only the
2534 owner of a given file may remove that file from the directory. Without the sticky bit,
2535 any user with write access to a directory may remove any file in the directory. Setting
2536 the sticky bit prevents users from removing each other's files. In cases where there is
2537 no reason for a directory to be world-writable, a better solution is to remove that
2538 permission rather than to set the sticky bit. However, if a directory is used by a
2539 particular application, consult that application's documentation instead of blindly
2540 changing modes.</xccdf:description>
2541 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.2.a" selected="false" severity="low" weight="10.0">
2542 <xccdf:title>Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2543 <xccdf:description>The sticky bit should be set for all world-writable directories.</xccdf:description>
2544 <xccdf:ident system="http://cce.mitre.org">CCE-3399-3</xccdf:ident>
2545 <xccdf:fixtext>Locate any directories in local partitions which are world-writable and do not have
2546 their sticky bits set. The following command will discover and print these. Run it
2547 once for each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/> <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># find PART -xdev -type d \( -perm -0002 -a !
2549 -perm -1000 \) -print </xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2551 If this command produces any output, fix each reported directory
2552 /dir using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2553 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2554 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod +t /dir</xhtml:code></xccdf:fixtext>
2555 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2556 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20046"/>
2557 </xccdf:check>
2558 </xccdf:Rule>
2559 </xccdf:Group>
2560 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.3">
2561 <xccdf:title xml:lang="en">Find Unauthorized World-Writable Files</xccdf:title>
2562 <xccdf:description xml:lang="en">
2563 Data in world-writable files can be modified by any user on the
2564 system. In almost all circumstances, files can be configured using a combination of user
2565 and group permissions to support whatever legitimate access is needed without the risk
2566 caused by world-writable files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2568 It is generally a good idea to
2569 remove global (other) write access to a file when it is discovered. However, check with
2570 documentation for specific applications before making changes. Also, monitor for
2571 recurring world-writable files, as these may be symptoms of a misconfigured application
2572 or user account.
2573 </xccdf:description>
2574 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.3.a" selected="false" severity="medium" weight="10.0">
2575 <xccdf:title>Find Unauthorized World-Writable Files</xccdf:title>
2576 <xccdf:description>The world-write permission should be disabled for all files.</xccdf:description>
2577 <xccdf:ident system="http://cce.mitre.org">CCE-3795-2</xccdf:ident>
2578 <xccdf:fixtext>The following command discovers and prints any world-writable files in local
2579 partitions. Run it once for each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2580 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2581 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">find PART -xdev -type f -perm -0002 -print | xargs chmod o-w</xhtml:code></xccdf:fixtext>
2582 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2583 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20047"/>
2584 </xccdf:check>
2585 </xccdf:Rule>
2586 </xccdf:Group>
2587 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.4">
2588 <xccdf:title xml:lang="en">Find Unauthorized SUID/SGID System Executables</xccdf:title>
2589 <xccdf:description xml:lang="en">
2590 The following command discovers and prints any setuid or setgid
2591 files on local partitions. Run it once for each local partition : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2592 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2593 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"> # for PART in `mount -t ext2,ext3,ext4 | awk '{print $3}'`;
2594 do find $PART -xdev \( -perm -4000 -o -perm -2000 \) -type f -print;
2595 done </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2597 If the file does not require a setuid or
2598 setgid bit as discussed below, then these bits can be removed with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2600 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"> # chmod -s file </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2601 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2602 The following table contains all setuid and setgid files which are expected to
2603 be on a stock system. The setuid or setgid bit on these files may be disabled to reduce
2604 system risk if only an administrator requires their functionality. The table indicates
2605 those files which may not be needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2607 Note: Several of these files are used for applications which are unlikely to be
2608 relevant to most production environments, such as ISDN networking, SSH hostbased
2609 authentication, or modification of network interfaces by unprivileged users. It is
2610 extremely likely that your site can disable a subset of these files with no loss of
2611 functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2612 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2613 Any files found by the above command which are not in the table should be examined.
2614 If the files are not authorized, they should have permissions removed, and further
2615 investigation may be warranted.
2616 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2617 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml">
2618 <xhtml:tr>
2619 <xhtml:td>File</xhtml:td><xhtml:td>Set-ID</xhtml:td><xhtml:td>Package</xhtml:td>
2620 </xhtml:tr>
2621 <xhtml:tr>
2622 <xhtml:td>/bin/mount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2623 </xhtml:tr>
2624 <xhtml:tr>
2625 <xhtml:td>/bin/ping</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>iputils</xhtml:td>
2626 </xhtml:tr>
2627 <xhtml:tr>
2628 <xhtml:td>/bin/ping6</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>iputils</xhtml:td>
2629 </xhtml:tr>
2630 <xhtml:tr>
2631 <xhtml:td>/bin/su</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>coreutils</xhtml:td>
2632 </xhtml:tr>
2633 <xhtml:tr>
2634 <xhtml:td>/bin/umount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2635 </xhtml:tr>
2636 <xhtml:tr>
2637 <xhtml:td>/bin/fusermount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>fuse</xhtml:td>
2638 </xhtml:tr>
2639 <xhtml:tr>
2640 <xhtml:td>/bin/cgexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>libcgroup</xhtml:td>
2641 </xhtml:tr>
2642 <xhtml:tr>
2643 <xhtml:td>/sbin/mount.nfs</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nfs-utils</xhtml:td>
2644 </xhtml:tr>
2645 <xhtml:tr>
2646 <xhtml:td>/sbin/umount.nfs</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nfs-utils</xhtml:td>
2647 </xhtml:tr>
2648 <xhtml:tr>
2649 <xhtml:td>/sbin/netreport</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>initscripts</xhtml:td>
2650 </xhtml:tr>
2651 <xhtml:tr>
2652 <xhtml:td>/sbin/pam_timestamp_check</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam</xhtml:td>
2653 </xhtml:tr>
2654 <xhtml:tr>
2655 <xhtml:td>/sbin/unix_chkpwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam</xhtml:td>
2656 </xhtml:tr>
2657 <xhtml:tr>
2658 <xhtml:td>/usr/bin/at</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>at</xhtml:td>
2659 </xhtml:tr>
2660 <xhtml:tr>
2661 <xhtml:td>/usr/bin/chage</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td>
2662 </xhtml:tr>
2663 <xhtml:tr>
2664 <xhtml:td>/usr/bin/chfn</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2665 </xhtml:tr>
2666 <xhtml:tr>
2667 <xhtml:td>/usr/bin/chsh</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2668 </xhtml:tr>
2669 <xhtml:tr>
2670 <xhtml:td>/usr/bin/crontab</xhtml:td><xhtml:td>uid/gid root</xhtml:td><xhtml:td>cronie</xhtml:td>
2671 </xhtml:tr>
2672 <xhtml:tr>
2673 <xhtml:td>/usr/bin/gpasswd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td>
2674 </xhtml:tr>
2675 <xhtml:tr>
2676 <xhtml:td>/usr/bin/locate</xhtml:td><xhtml:td>gid slocate</xhtml:td><xhtml:td>mlocate</xhtml:td>
2677 </xhtml:tr>
2678 <xhtml:tr>
2679 <xhtml:td>/usr/bin/lockfile</xhtml:td><xhtml:td>gid mail</xhtml:td><xhtml:td>procmail</xhtml:td>
2680 </xhtml:tr>
2681 <xhtml:tr>
2682 <xhtml:td>/usr/bin/gnomine</xhtml:td><xhtml:td>gid games</xhtml:td><xhtml:td>gnome-games</xhtml:td>
2683 </xhtml:tr>
2684 <xhtml:tr>
2685 <xhtml:td>/usr/bin/iagno</xhtml:td><xhtml:td>gid games</xhtml:td><xhtml:td>gnome-games</xhtml:td>
2686 </xhtml:tr>
2687 <xhtml:tr>
2688 <xhtml:td>/usr/bin/newgrp</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td>
2689 </xhtml:tr>
2690 <xhtml:tr>
2691 <xhtml:td>/usr/bin/passwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>passwd</xhtml:td>
2692 </xhtml:tr>
2693 <xhtml:tr>
2694 <xhtml:td>/usr/bin/pkexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>polkit</xhtml:td>
2695 </xhtml:tr>
2696 <xhtml:tr>
2697 <xhtml:td>/usr/bin/rcp</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td>
2698 </xhtml:tr>
2699 <xhtml:tr>
2700 <xhtml:td>/usr/bin/rlogin</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td>
2701 </xhtml:tr>
2702 <xhtml:tr>
2703 <xhtml:td>/usr/bin/rsh</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td>
2704 </xhtml:tr>
2705 <xhtml:tr>
2706 <xhtml:td>/usr/bin/staprun</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>systemtap-runtime</xhtml:td>
2707 </xhtml:tr>
2708 <xhtml:tr>
2709 <xhtml:td>/usr/bin/ssh-agent</xhtml:td><xhtml:td>gid nobody</xhtml:td><xhtml:td>openssh-clients</xhtml:td>
2710 </xhtml:tr>
2711 <xhtml:tr>
2712 <xhtml:td>/usr/bin/sudo</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>sudo</xhtml:td>
2713 </xhtml:tr>
2714 <xhtml:tr>
2715 <xhtml:td>/usr/bin/sudoedit</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>sudo</xhtml:td>
2716 </xhtml:tr>
2717 <xhtml:tr>
2718 <xhtml:td>/usr/bin/wall</xhtml:td><xhtml:td>gid tty</xhtml:td><xhtml:td>sysvinit-tools</xhtml:td>
2719 </xhtml:tr>
2720 <xhtml:tr>
2721 <xhtml:td>/usr/bin/write</xhtml:td><xhtml:td>gid tty</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2722 </xhtml:tr>
2723 <xhtml:tr>
2724 <xhtml:td>/usr/bin/screen</xhtml:td><xhtml:td>gid screen</xhtml:td><xhtml:td>screen</xhtml:td>
2725 </xhtml:tr>
2726 <xhtml:tr>
2727 <xhtml:td>/usr/bin/jwhois</xhtml:td><xhtml:td>gid jwhois</xhtml:td><xhtml:td>jwhois</xhtml:td>
2728 </xhtml:tr>
2729 <xhtml:tr>
2730 <xhtml:td>/usr/bin/Xorg</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>xorg-x11-server-Xorg</xhtml:td>
2731 </xhtml:tr>
2732 <xhtml:tr>
2733 <xhtml:td>/usr/bin/ksu</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>krb5-workstation</xhtml:td>
2734 </xhtml:tr>
2735 <xhtml:tr>
2736 <xhtml:td>/usr/sbin/lockdev</xhtml:td><xhtml:td>gid lock</xhtml:td><xhtml:td>lockdev</xhtml:td>
2737 </xhtml:tr>
2738 <xhtml:tr>
2739 <xhtml:td>/usr/sbin/sendmail.sendmail</xhtml:td><xhtml:td>gid smmsp</xhtml:td><xhtml:td>sendmail</xhtml:td>
2740 </xhtml:tr>
2741 <xhtml:tr>
2742 <xhtml:td>/usr/sbin/suexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>httpd</xhtml:td>
2743 </xhtml:tr>
2744 <xhtml:tr>
2745 <xhtml:td>/usr/sbin/seunshare</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>policycoreutils</xhtml:td>
2746 </xhtml:tr>
2747 <xhtml:tr>
2748 <xhtml:td>/usr/sbin/userhelper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>usermode</xhtml:td>
2749 </xhtml:tr>
2750 <xhtml:tr>
2751 <xhtml:td>/usr/sbin/userisdnctl</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>isdn4k-utils</xhtml:td>
2752 </xhtml:tr>
2753 <xhtml:tr>
2754 <xhtml:td>/usr/sbin/mtr</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>mtr</xhtml:td>
2755 </xhtml:tr>
2756 <xhtml:tr>
2757 <xhtml:td>/usr/sbin/usernetctl</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>initscripts</xhtml:td>
2758 </xhtml:tr>
2759 <xhtml:tr>
2760 <xhtml:td>/usr/sbin/ccreds_chkpwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam_ccreds</xhtml:td>
2761 </xhtml:tr>
2762 <xhtml:tr>
2763 <xhtml:td>/usr/libexec/openssh/ssh-keysign</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>ssh</xhtml:td>
2764 </xhtml:tr>
2765 <xhtml:tr>
2766 <xhtml:td>/usr/libexec/kde4/kpac_dhcp_helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>kdelibs</xhtml:td>
2767 </xhtml:tr>
2768 <xhtml:tr>
2769 <xhtml:td>/usr/libexec/polkit-1/polkit-agent-helper-1</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>polkit</xhtml:td>
2770 </xhtml:tr>
2771 <xhtml:tr>
2772 <xhtml:td>/usr/libexec/pt_chown</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>glibc-common</xhtml:td>
2773 </xhtml:tr>
2774 <xhtml:tr>
2775 <xhtml:td>/usr/libexec/pulse/proximity-helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pulseaudio-module-bluetooth</xhtml:td>
2776 </xhtml:tr>
2777 <xhtml:tr>
2778 <xhtml:td>/usr/libexec/news/innbind</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>inn</xhtml:td>
2779 </xhtml:tr>
2780 <xhtml:tr>
2781 <xhtml:td>/usr/libexec/news/rnews</xhtml:td><xhtml:td>uid uucp</xhtml:td><xhtml:td>inn</xhtml:td>
2782 </xhtml:tr>
2783 <xhtml:tr>
2784 <xhtml:td>/usr/libexec/utempter/utempter</xhtml:td><xhtml:td>gid utmp</xhtml:td><xhtml:td>libutempter</xhtml:td>
2785 </xhtml:tr>
2786 <xhtml:tr>
2787 <xhtml:td>/usr/lib/nspluginwrapper/plugin-config</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nspluginwrapper</xhtml:td>
2788 </xhtml:tr>
2789 <xhtml:tr>
2790 <xhtml:td>/usr/lib/vte/gnome-pty-helper</xhtml:td><xhtml:td>gid utmp</xhtml:td><xhtml:td>vte</xhtml:td>
2791 </xhtml:tr>
2792 <xhtml:tr>
2793 <xhtml:td>/usr/share/BackupPC/sbin/BackupPC_Admin</xhtml:td><xhtml:td>uid backuppc</xhtml:td><xhtml:td>BackupPC</xhtml:td>
2794 </xhtml:tr>
2795 <xhtml:tr>
2796 <xhtml:td>/var/cache/jwhois/jwhois.db</xhtml:td><xhtml:td>gid jwhois</xhtml:td><xhtml:td>jwhois</xhtml:td>
2797 </xhtml:tr>
2798 <xhtml:tr>
2799 <xhtml:td>/lib/dbus-1/dbus-daemon-launch-helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>dbus</xhtml:td>
2800 </xhtml:tr>
2801 </xhtml:table>
2802 </xccdf:description>
2803 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.a" selected="false" severity="medium" weight="10.0">
2804 <xccdf:title>Find Unauthorized SGID System Executables</xccdf:title>
2805 <xccdf:description>The sgid bit should not be set for all files.</xccdf:description>
2806 <xccdf:ident system="http://cce.mitre.org">CCE-4178-0</xccdf:ident>
2807 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2808 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20048"/>
2809 </xccdf:check>
2810 </xccdf:Rule>
2811 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.b" selected="false" severity="high" weight="10.0">
2812 <xccdf:title>Find Unauthorized SUID System Executables</xccdf:title>
2813 <xccdf:description>The suid bit should not be set for all files.</xccdf:description>
2814 <xccdf:ident system="http://cce.mitre.org">CCE-3324-1</xccdf:ident>
2815 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2816 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20049"/>
2817 </xccdf:check>
2818 </xccdf:Rule>
2819 </xccdf:Group>
2820 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.5">
2821 <xccdf:title xml:lang="en">Find and Repair Unowned Files</xccdf:title>
2822 <xccdf:description xml:lang="en">
2823 The following command will discover and print any files on
2824 local partitions which do not belong to a valid user and a valid group. Run it once for
2825 each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2826 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2827 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># find PART -xdev \( -nouser -o -nogroup \) -print </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2829 If this command prints any results, investigate each reported file and either assign it to an
2830 appropriate user and group or remove it. Unowned files are not directly exploitable, but
2831 they are generally a sign that something is wrong with some system process. They may be
2832 caused by an intruder, by incorrect software installation or incomplete software
2833 removal, or by failure to remove all files belonging to a deleted account. The files
2834 should be repaired so that they will not cause problems when accounts are created in the
2835 future, and the problem which led to unowned files should be discovered and addressed.</xccdf:description>
2836 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.a" selected="false" severity="medium" weight="10.0">
2837 <xccdf:title>Find files unowned by a user</xccdf:title>
2838 <xccdf:description>All files should be owned by a user</xccdf:description>
2839 <xccdf:ident system="http://cce.mitre.org">CCE-4223-4</xccdf:ident>
2840 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2841 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20050"/>
2842 </xccdf:check>
2843 </xccdf:Rule>
2844 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.b" selected="false" severity="medium" weight="10.0">
2845 <xccdf:title>Find files unowned by a group</xccdf:title>
2846 <xccdf:description>All files should be owned by a group</xccdf:description>
2847 <xccdf:ident system="http://cce.mitre.org">CCE-3573-3</xccdf:ident>
2848 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2849 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20051"/>
2850 </xccdf:check>
2851 </xccdf:Rule>
2852 </xccdf:Group>
2853 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.6">
2854 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Proper Ownership</xccdf:title>
2855 <xccdf:description xml:lang="en">
2856 Locate any directories in local partitions which are world-writable and
2857 ensure that they are owned by root or another system account. The following command will discover
2858 and print these (assuming only system accounts have a uid lower than 500). Run it once for each
2859 local partition PART:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2860 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2861 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># find PART -xdev -type d -perm -0002 -uid +500 -print<xhtml:br/></xhtml:code>
2862 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2863 If this command produces any output, investigate why the current owner is not root or another
2864 system account.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2866 Allowing a user account to own a world-writeable directory is undesirable because it allows the
2867 owner of that directory to remove or replace any files that may be placed in the directory by
2868 other users.</xccdf:description>
2869 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.6.a" selected="false" severity="medium" weight="10.0">
2870 <xccdf:title>Find world writable directories not owned by a system account</xccdf:title>
2871 <xccdf:description>All world writable directories should be owned by a system user</xccdf:description>
2872 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2873 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20052"/>
2874 </xccdf:check>
2875 </xccdf:Rule>
2876 </xccdf:Group>
2877 </xccdf:Group>
2878 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4">
2879 <xccdf:title xml:lang="en">Restrict Programs from Dangerous Execution Patterns</xccdf:title>
2880 <xccdf:description xml:lang="en">
2881 The recommendations in this section provide broad protection
2882 against information disclosure or other misbehavior. These protections are applied at the
2883 system initialization or kernel level, and defend against certain types of
2884 badly-configured or compromised programs.</xccdf:description>
2885 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.1">
2886 <xccdf:title xml:lang="en">Set Daemon umask</xccdf:title>
2887 <xccdf:description xml:lang="en">
2888 The system umask for scripts in /etc/init.d must be set to at least 022, or daemon
2889 processes may create world-writable files. The more restrictive setting
2890 027 protects files, including temporary files and log files, from unauthorized reading
2891 by unprivileged users on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2892 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2893 If a particular daemon needs a
2894 less restrictive umask, consider editing the startup script or sysconfig file of that
2895 daemon to make a specific exception.
2896 </xccdf:description>
2897 <xccdf:Value id="xccdf_cdf_value_var-2.2.4.1.a" operator="equals" type="string">
2898 <xccdf:title>daemon umask</xccdf:title>
2899 <xccdf:description>Enter umask for daemons</xccdf:description>
2900 <xccdf:question xml:lang="en">Enter umask which will be used for new files created by daemons</xccdf:question>
2901 <xccdf:value>022</xccdf:value>
2902 <xccdf:value selector="022">022</xccdf:value>
2903 <xccdf:value selector="027">027</xccdf:value>
2904 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
2905 </xccdf:Value>
2906 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.1.a" selected="false" severity="medium" weight="10.0">
2907 <xccdf:title>Set Daemon umask</xccdf:title>
2908 <xccdf:description>The daemon umask should be set to profile value</xccdf:description>
2909 <xccdf:ident system="http://cce.mitre.org">CCE-4220-0</xccdf:ident>
2910 <xccdf:fixtext>Edit the file /etc/rc.d/init.d/functions, and add or correct the following line: umask
2911 <xccdf:sub idref="xccdf_cdf_value_var-2.2.4.1.a"/></xccdf:fixtext>
2912 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2913 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20053" value-id="xccdf_cdf_value_var-2.2.4.1.a"/>
2914 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20053"/>
2915 </xccdf:check>
2916 </xccdf:Rule>
2917 </xccdf:Group>
2918 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.2">
2919 <xccdf:title xml:lang="en">Disable Core Dumps</xccdf:title>
2920 <xccdf:description xml:lang="en">
2921 A core dump file is the memory image of an executable program
2922 when it was terminated by the operating system due to errant behavior. In most cases,
2923 only software developers would legitimately need to access these files. The core dump
2924 files may also contain sensitive information, or unnecessarily occupy large amounts of
2925 disk space. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2926 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2927 By default, the system sets a soft limit to stop the
2928 creation of core dump files for all users. This is accomplished in /etc/profile with the
2929 line: ulimit -S -c 0 &gt; /dev/null 2&gt;&amp;1 However, compliance with this
2930 limit is voluntary; it is a default intended only to protect users from the annoyance of
2931 generating unwanted core files. Users can increase the allowed core file size up to the
2932 hard limit, which is unlimited by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2933 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2934 Once a hard limit is set
2935 in /etc/security/limits.conf, the user cannot increase that limit within his own
2936 session. If access to core dumps is required, consider restricting them to only certain
2937 users or groups. See the limits.conf man page for more
2938 information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2939 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2940 The core dumps of setuid programs are further
2941 protected. The sysctl variable fs.suid_dumpable controls whether the kernel allows core
2942 dumps from these programs at all. The default value of 0 is recommended.
2943 </xccdf:description>
2944 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false" severity="low" weight="10.0">
2945 <xccdf:title>Disable Core Dumps for all users</xccdf:title>
2946 <xccdf:description>Core dumps for all users should be disabled</xccdf:description>
2947 <xccdf:ident system="http://cce.mitre.org">CCE-4225-9</xccdf:ident>
2948 <xccdf:fixtext>To disable core dumps for all users, add or correct the following line in
2949 /etc/security/limits.conf: * hard core 0</xccdf:fixtext>
2950 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2951 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20055"/>
2952 </xccdf:check>
2953 </xccdf:Rule>
2954 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.b" selected="false" severity="low" weight="10.0">
2955 <xccdf:title>Disable Core Dumps for SUID programs</xccdf:title>
2956 <xccdf:description>Core dumps for setuid programs should be disabled</xccdf:description>
2957 <xccdf:ident system="http://cce.mitre.org">CCE-4247-3</xccdf:ident>
2958 <xccdf:fixtext>To ensure that core dumps can never be made by setuid programs, edit
2959 /etc/sysctl.conf and add or correct the line: fs.suid_dumpable = 0</xccdf:fixtext>
2960 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2961 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20056"/>
2962 </xccdf:check>
2963 </xccdf:Rule>
2964 </xccdf:Group>
2965 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.3">
2966 <xccdf:title xml:lang="en">Enable ExecShield</xccdf:title>
2967 <xccdf:description xml:lang="en">
2968 ExecShield comprises a number of kernel features to provide
2969 protection against buffer overflows. These features include random placement of the
2970 stack and other memory regions, prevention of execution in memory that should only hold
2971 data, and special handling of text buffers. This protection is enabled by default, but
2972 the sysctl variables kernel.exec-shield and kernel.randomize va space should be checked
2973 to ensure that it has not been disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2974 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2975 ExecShield uses the
2976 segmentation feature on all x86 systems to prevent execution in memory higher than a
2977 certain address. It writes an address as a limit in the code segment descriptor, to
2978 control where code can be executed, on a per-process basis. When the kernel places a
2979 process's memory regions such as the stack and heap higher than this address, the
2980 hardware prevents execution there. However, this cannot always be done for all memory
2981 regions in which execution should not occur, so follow guidance in Section 2.2.4.4 to
2982 further protect the system.
2983 </xccdf:description>
2984 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.a" selected="false" weight="10.0">
2985 <xccdf:title>Enable ExecShield</xccdf:title>
2986 <xccdf:description>ExecShield should be enabled</xccdf:description>
2987 <xccdf:ident system="http://cce.mitre.org">CCE-4168-1</xccdf:ident>
2988 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
2989 activated at boot, add or correct the following settings in /etc/sysctl.conf:
2990 kernel.exec-shield = 1</xccdf:fixtext>
2991 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2992 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20057"/>
2993 </xccdf:check>
2994 </xccdf:Rule>
2995 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.b" selected="false" weight="10.0">
2996 <xccdf:title>Enable ExecShield randomized placement of virtual memory regions</xccdf:title>
2997 <xccdf:description>ExecShield randomized placement of virtual memory regions should be enabled</xccdf:description>
2998 <xccdf:ident system="http://cce.mitre.org">CCE-4146-7</xccdf:ident>
2999 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
3000 activated at boot, add or correct the following settings in /etc/sysctl.conf:
3001 kernel.randomize_va_space = 2</xccdf:fixtext>
3002 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3003 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20058"/>
3004 </xccdf:check>
3005 </xccdf:Rule>
3006 </xccdf:Group>
3007 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4">
3008 <xccdf:title xml:lang="en">Enable Execute Disable (XD) or No Execute (NX) Support on x86 Systems</xccdf:title>
3009 <xccdf:description xml:lang="en">
3010 Recent processors in the x86 family support the ability to
3011 prevent code execution on a per memory page basis. Generically and on AMD processors,
3012 this ability is called No Execute (NX), while on Intel processors it is called Execute
3013 Disable (XD). This ability can help prevent exploitation of buffer overflow
3014 vulnerabilities and should be activated whenever possible. Extra steps must be taken to
3015 ensure that this protection is enabled, particularly on 32-bit x86 systems. Other
3016 processors, such as Itanium and POWER, have included such support since inception and
3017 the standard kernel for those platforms supports the feature.</xccdf:description>
3018 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.1">
3019 <xccdf:title xml:lang="en">Check for Processor Support on x86 Systems</xccdf:title>
3020 <xccdf:description xml:lang="en">
3021 Check to see if the processor supports the PAE and NX
3022 features: <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ cat /proc/cpuinfo</xhtml:code> If supported, the flags field will contain pae and nx.</xccdf:description>
3023 </xccdf:Group>
3024 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.2">
3025 <xccdf:title xml:lang="en">Enable NX or XD Support in the BIOS</xccdf:title>
3026 <xccdf:description xml:lang="en">
3027 Computers with the ability to prevent this type of code
3028 execution frequently put an option in the BIOS that will allow users to turn the
3029 feature on or off at will. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3031 See Section 2.3.5.1 for information on protecting this and
3032 other BIOS settings.</xccdf:description>
3033 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false" weight="10.0">
3034 <xccdf:title>Enable NX or XD Support in the BIOS</xccdf:title>
3035 <xccdf:description>The XD/NX processor feature should be enabled in the BIOS</xccdf:description>
3036 <xccdf:ident system="http://cce.mitre.org">CCE-4177-2</xccdf:ident>
3037 <xccdf:fixtext>Reboot the system and enter the BIOS or 'Setup' configuration menu. Navigate the
3038 BIOS configuration menu and make sure that the option is enabled. The setting may be
3039 located under a 'Security' section. Look for Execute Disable (XD) on Intel-based
3040 systems and No Execute (NX) on AMD-based systems.</xccdf:fixtext>
3041 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3042 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20060"/>
3043 </xccdf:check>
3044 </xccdf:Rule>
3045 </xccdf:Group>
3046 </xccdf:Group>
3047 </xccdf:Group>
3048 </xccdf:Group>
3049 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3">
3050 <xccdf:title xml:lang="en">Account and Access Control</xccdf:title>
3051 <xccdf:description xml:lang="en">
3052 In traditional Unix security, if an attacker gains shell access to
3053 a certain login account, he can perform any action or access any file to which that account
3054 has access. Therefore, making it more difficult for unauthorized people to gain shell access
3055 to accounts, particularly to privileged accounts, is a necessary part of securing a system.
3056 This section introduces mechanisms for restricting access to login accounts.</xccdf:description>
3057 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1">
3058 <xccdf:title xml:lang="en">Protect Accounts by Restricting Password-Based Login</xccdf:title>
3059 <xccdf:description xml:lang="en">
3060 Conventionally, Unix shell accounts are accessed by providing a
3061 username and password to a login program, which tests these values for correctness using
3062 the /etc/passwd and /etc/shadow files. Password-based login is vulnerable to guessing of
3063 weak passwords, and to sniffing and man-in-the-middle attacks against passwords entered
3064 over a network or at an insecure console. Therefore, mechanisms for accessing accounts by
3065 entering usernames and passwords should be restricted to those which are operationally
3066 necessary.</xccdf:description>
3067 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.1">
3068 <xccdf:title xml:lang="en">Restrict Root Logins to System Console</xccdf:title>
3069 <xccdf:description xml:lang="en">
3070 Edit the file /etc/securetty. Ensure that the file contains
3071 only the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3072 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
3073 <xhtml:li>The primary system console device: <xhtml:br/>console</xhtml:li>
3074 <xhtml:li>The virtual console devices: <xhtml:br/>tty1 tty2 tty3 tty4 tty5
3075 tty6 ... </xhtml:li>
3076 <xhtml:li>If required by your organization, the deprecated virtual console interface
3077 may be retained for backwards compatibility:<xhtml:br/>vc/1 vc/2 vc/3 vc/4 vc/5
3078 vc/6 ...</xhtml:li>
3079 <xhtml:li>If required by your organization, the serial consoles may be added:<xhtml:br/>
3080 ttyS0 ttyS1</xhtml:li>
3081 </xhtml:ul>
3082 Direct root logins should be allowed only for
3083 emergency use. In normal situations, the administrator should access the system via a
3084 unique unprivileged account, and use su or sudo to execute privileged commands.
3085 Discouraging administrators from accessing the root account directly ensures an audit
3086 trail in organizations with multiple administrators. Locking down the channels through
3087 which root can connect directly reduces opportunities for password-guessing against the
3088 root account. The login program uses the file /etc/securetty to determine which
3089 interfaces should allow root logins. The virtual devices /dev/console and /dev/tty*
3090 represent the system consoles (accessible via the Ctrl-Alt-F1 through Ctrl-Alt-F6
3091 keyboard sequences on a default installation). The default securetty file also contains
3092 /dev/vc/*. These are likely to be deprecated in most environments, but may be retained
3093 for compatibility. Root should also be prohibited from connecting via network protocols.
3094 See Section 3.5 for instructions on preventing root from logging in via SSH.</xccdf:description>
3095 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false" severity="medium" weight="10.0">
3096 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
3097 <xccdf:description>Logins through the specified virtual console interface should be disabled
3098 </xccdf:description>
3099 <xccdf:ident system="http://cce.mitre.org">CCE-3820-8</xccdf:ident>
3100 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
3101 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3102 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20061"/>
3103 </xccdf:check>
3104 </xccdf:Rule>
3105 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false" severity="medium" weight="10.0">
3106 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
3107 <xccdf:description>Logins through the specified virtual console device should be disabled</xccdf:description>
3108 <xccdf:ident system="http://cce.mitre.org">CCE-3485-0</xccdf:ident>
3109 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
3110 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3111 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20062"/>
3112 </xccdf:check>
3113 </xccdf:Rule>
3114 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false" severity="medium" weight="10.0">
3115 <xccdf:title>Restrict virtual console Root Logins</xccdf:title>
3116 <xccdf:description>Logins through the virtual console devices should be disabled</xccdf:description>
3117 <xccdf:ident system="http://cce.mitre.org">CCE-4111-1</xccdf:ident>
3118 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
3119 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3120 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20063"/>
3121 </xccdf:check>
3122 </xccdf:Rule>
3123 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.d" selected="false" severity="medium" weight="10.0">
3124 <xccdf:title>Restrict serial port Root Logins</xccdf:title>
3125 <xccdf:description>Login prompts on serial ports should be disabled.</xccdf:description>
3126 <xccdf:ident system="http://cce.mitre.org">CCE-4256-4</xccdf:ident>
3127 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
3128 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3129 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20064"/>
3130 </xccdf:check>
3131 </xccdf:Rule>
3132 </xccdf:Group>
3133 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.2">
3134 <xccdf:title xml:lang="en">Limit su Access to the Root Account</xccdf:title>
3135 <xccdf:description xml:lang="en">
3136 The su command allows a user to gain the privileges of another user by entering the
3137 password for that user's account. It is desirable to restrict the root user so that only
3138 known administrators are ever allowed to access the root account. This restricts
3139 password-guessing against the root account by unauthorized users or by accounts which
3140 have been compromised. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3141 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3142 By convention, the group wheel contains all users who are allowed to run privileged
3143 commands. The PAM module pam_wheel.so is used to restrict root access to this set of
3144 users.</xccdf:description>
3145 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false" severity="medium" weight="10.0">
3146 <xccdf:title>Limit su Access to the Root Account</xccdf:title>
3147 <xccdf:description>The wheel group should exist</xccdf:description>
3148 <xccdf:fixtext> Ensure that the group wheel exists, and that the usernames of all administrators
3149 who should be allowed to execute commands as root are members of that group.
3150 </xccdf:fixtext>
3151 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3152 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20065"/>
3153 </xccdf:check>
3154 </xccdf:Rule>
3155 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false" severity="medium" weight="10.0">
3156 <xccdf:title>Limit su Access to the wheel group</xccdf:title>
3157 <xccdf:description>Command access to the root account should be restricted to the wheel group.</xccdf:description>
3158 <xccdf:fixtext> Edit the file /etc/pam.d/su. Add, uncomment, or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3160 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">auth required pam_wheel.so use_uid</xhtml:code>
3161 </xccdf:fixtext>
3162 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3163 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20066"/>
3164 </xccdf:check>
3165 </xccdf:Rule>
3166 </xccdf:Group>
3167 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.3">
3168 <xccdf:title xml:lang="en">Configure sudo to Improve Auditing of Root Access</xccdf:title>
3169 <xccdf:description xml:lang="en">
3170 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
3171 <xhtml:li>Ensure that the group wheel exists, and that the usernames
3172 of all administrators who should be allowed to execute commands as root are members of
3173 that group. <xhtml:br/>
3174 <xhtml:br/>
3175 <xhtml:code># grep ^wheel /etc/group</xhtml:code></xhtml:li>
3176 <xhtml:li>Edit the file /etc/sudoers. Add, uncomment, or
3177 correct the line: <xhtml:br/>
3178 <xhtml:br/>
3179 %wheel ALL=(ALL) ALL</xhtml:li>
3180 </xhtml:ol>
3181 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3182 The sudo command allows fine-grained control over
3183 which users can execute commands using other accounts. The primary benefit of sudo when
3184 configured as above is that it provides an audit trail of every command run by a
3185 privileged user. It is possible for a malicious administrator to circumvent this
3186 restriction, but, if there is an established procedure that all root commands are run
3187 using sudo, then it is easy for an auditor to detect unusual behavior when this
3188 procedure is not followed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3189 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3190 Editing /etc/sudoers by hand can be dangerous, since a configuration error may make it
3191 impossible to access the root account remotely. The recommended means of editing this
3192 file is using the visudo command, which checks the file's syntax for correctness before
3193 allowing it to be saved.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3194 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3195 Note that sudo allows any attacker who gains access to the password of an administrator
3196 account to run commands as root. This is a downside which must be weighed against the
3197 benefits of increased audit capability and of being able to heavily restrict the use of
3198 the high-value root password (which can be logistically difficult to change often). As
3199 a basic precaution, never use the NOPASSWD directive, which would allow anyone with
3200 access to an administrator account to execute commands as root without knowing the
3201 administrator's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3202 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3203 The sudo command has many options which can be used to further customize its behavior.
3204 See the sudoers(5) man page for details.</xccdf:description>
3205 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false" severity="medium" weight="10.0">
3206 <xccdf:title>Configure sudo to Improve Auditing of Root Access</xccdf:title>
3207 <xccdf:description>Sudo privileges should granted to the wheel group</xccdf:description>
3208 <xccdf:ident system="http://cce.mitre.org">CCE-4044-4</xccdf:ident>
3209 <xccdf:fix>echo "%wheel ALL=(ALL) ALL" &gt;&gt; /etc/sudoers</xccdf:fix>
3210 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3211 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20067"/>
3212 </xccdf:check>
3213 </xccdf:Rule>
3214 </xccdf:Group>
3215 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.4">
3216 <xccdf:title xml:lang="en">Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3217 <xccdf:description xml:lang="en">
3218 Using /etc/passwd, obtain a listing of all users, their UIDs,
3219 and their shells, for instance by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3220 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3221 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '{print $1 ":" $3 ":" $7}' /etc/passwd<xhtml:br/></xhtml:code>
3222 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3223 Identify the system accounts from this listing. These will primarily be the accounts
3224 with UID numbers less than 500, other than root.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3226 For each identified system account SYSACCT , lock the account: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3227 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3228 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># usermod -L SYSACCT <xhtml:br/></xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3229 and disable its shell: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3230 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3231 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># usermod -s /sbin/nologin SYSACCT <xhtml:br/></xhtml:code>
3232 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3233 These are the accounts which are
3234 not associated with a human user of the system, but which exist to perform some
3235 administrative function. Make it more difficult for an attacker to use these accounts by
3236 locking their passwords and by setting their shells to some non-valid shell. The Fedora
3237 default non-valid shell is /sbin/nologin, but any command which will exit with a failure
3238 status and disallow execution of any further commands, such as /bin/false or /dev/null,
3239 will work.</xccdf:description>
3240 <xccdf:warning category="functionality" xml:lang="en">Do not perform the steps in this section on the root account.
3241 Doing so might cause the system to become inaccessible.</xccdf:warning>
3242 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false" severity="medium" weight="10.0">
3243 <xccdf:title>Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3244 <xccdf:description>Login access to non-root system accounts should be disabled</xccdf:description>
3245 <xccdf:ident system="http://cce.mitre.org">CCE-3987-5</xccdf:ident>
3246 <xccdf:fixtext>Edit /etc/passwd</xccdf:fixtext>
3247 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3248 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20068"/>
3249 </xccdf:check>
3250 </xccdf:Rule>
3251 </xccdf:Group>
3252 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5">
3253 <xccdf:title xml:lang="en">Verify Proper Storage and Existence of Password Hashes</xccdf:title>
3254 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.1">
3255 <xccdf:title xml:lang="en">Verify that No Accounts Have Empty Password Fields</xccdf:title>
3256 <xccdf:description xml:lang="en">
3257 Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3258 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3259 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 == "") {print}' /etc/shadow <xhtml:br/></xhtml:code>
3260 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3261 If this produces any output, fix the problem by locking each account
3262 (see Section 2.3.1.4 above) or by setting a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3263 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3264 If an account has an empty password, anybody may log in and run commands with the
3265 privileges of that account. Accounts with empty passwords should never be used in
3266 operational environments.</xccdf:description>
3267 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="false" severity="medium" weight="10.0">
3268 <xccdf:title>Verify that No Accounts Have Empty Password Fields</xccdf:title>
3269 <xccdf:description>Login access to accounts without passwords should be disabled</xccdf:description>
3270 <xccdf:ident system="http://cce.mitre.org">CCE-4238-2</xccdf:ident>
3271 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3272 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20069"/>
3273 </xccdf:check>
3274 </xccdf:Rule>
3275 </xccdf:Group>
3276 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.2">
3277 <xccdf:title xml:lang="en">Verify that All Account Password Hashes are Shadowed</xccdf:title>
3278 <xccdf:description xml:lang="en">
3279 To ensure that no password hashes are stored in /etc/passwd, the following command should have no output:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3280 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3281 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 != "x") {print}' /etc/passwd<xhtml:br/></xhtml:code>
3282 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3283 The hashes for all user account passwords should be stored in the file /etc/shadow and never in /etc/passwd,
3284 which is readable by all users.
3285 </xccdf:description>
3286 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="false" severity="medium" weight="10.0">
3287 <xccdf:title>Verify that All Account Password Hashes are Shadowed</xccdf:title>
3288 <xccdf:description>Check that passwords are shadowed</xccdf:description>
3289 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3290 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200695"/>
3291 </xccdf:check>
3292 </xccdf:Rule>
3293 </xccdf:Group>
3294 </xccdf:Group>
3295 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.6">
3296 <xccdf:title xml:lang="en">Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3297 <xccdf:description xml:lang="en">
3298 This command will print all password file entries for accounts
3299 with UID 0: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3300 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3301 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($3 == "0") {print}' /etc/passwd <xhtml:br/></xhtml:code>
3302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3303 This should print only one line, for the user root. If any other lines appear, ensure
3304 that these additional UID-0 accounts are authorized, and that there is a good reason for
3305 them to exist. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3307 In general, the best practice solution for auditing use of the root account is to restrict
3308 the set of cases in which root must be accessed anonymously by requiring use of su or sudo
3309 in almost all cases. Some sites choose to have more than one account with UID 0 in order
3310 to differentiate between administrators, but this practice may have unexpected side
3311 effects, and is therefore not recommended.</xccdf:description>
3312 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.6.a" selected="false" severity="medium" weight="10.0">
3313 <xccdf:title>Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3314 <xccdf:description>Anonymous root logins should be disabled</xccdf:description>
3315 <xccdf:ident system="http://cce.mitre.org">CCE-4009-7</xccdf:ident>
3316 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3317 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20070"/>
3318 </xccdf:check>
3319 </xccdf:Rule>
3320 </xccdf:Group>
3321 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.7">
3322 <xccdf:title xml:lang="en">Set Password Expiration Parameters</xccdf:title>
3323 <xccdf:description xml:lang="en">
3324 Edit the file /etc/login.defs to specify password expiration
3325 settings for new accounts. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3326 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
3327 PASS_MAX_DAYS=180<xhtml:br/>
3328 PASS_MIN_DAYS=7 <xhtml:br/>
3329 PASS_MIN_LEN=8 <xhtml:br/>
3330 PASS_WARN_AGE=7 <xhtml:br/></xhtml:code>
3331 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3332 For each existing human user USER , modify the current expiration settings to match
3333 these: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3334 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chage -M 180 -m 7 -W 7 USER<xhtml:br/></xhtml:code>
3335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3336 Users should be forced to change their passwords, in order to decrease the utility of
3337 compromised passwords. However, the need to change passwords often should be balanced
3338 against the risk that users will reuse or write down passwords if forced to change them
3339 too often. Forcing password changes every 90-360 days, depending on the environment, is
3340 recommended. Set the appropriate value as PASS_MAX_DAYS and apply it to existing
3341 accounts with the -M flag. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3342 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3343 The PASS_MIN_DAYS (-m) setting prevents password changes for 7 days after the first
3344 change, to discourage password cycling. If you use this setting, train users to contact
3345 an administrator for an emergency password change in case a new password becomes
3346 compromised. The PASS_WARN_AGE (-W) setting gives users 7 days of warnings at login time
3347 that their passwords are about to expire.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3348 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3349 The PASS_MIN_LEN setting, which controls minimum password length, should be set to
3350 whatever is required by your site or organization security policy. The example value of
3351 8 provided here may be inadequate for many environments. See Section 2.3.3 for
3352 information on how to enforce more sophisticated requirements on password length and
3353 quality
3354 </xccdf:description>
3355 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.a" operator="equals" type="string">
3356 <xccdf:title xml:lang="en">minimum password length</xccdf:title>
3357 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3358 <xccdf:warning>This will only check new passwords</xccdf:warning>
3359 <xccdf:question xml:lang="en">Select minimum number of characters in password</xccdf:question>
3360 <xccdf:value>14</xccdf:value>
3361 <xccdf:value selector="5">5</xccdf:value>
3362 <xccdf:value selector="6">6</xccdf:value>
3363 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3364 <xccdf:value selector="8">8</xccdf:value>
3365 <xccdf:value selector="10">10</xccdf:value>
3366 <xccdf:value selector="14">14</xccdf:value>
3367 <xccdf:match>^[\d]+$</xccdf:match>
3368 </xccdf:Value>
3369 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.b" operator="equals" type="string">
3370 <xccdf:title>minimum password age</xccdf:title>
3371 <xccdf:description xml:lang="en">Enter minimum duration before allowing a password change</xccdf:description>
3372 <xccdf:question xml:lang="en">Select minimum duration (in days) before allowing a password change</xccdf:question>
3373 <xccdf:value>1</xccdf:value>
3374 <xccdf:value selector="1_day">1</xccdf:value>
3375 <xccdf:value selector="7_days">7</xccdf:value>
3376 <xccdf:match>^[\d]+$</xccdf:match>
3377 </xccdf:Value>
3378 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.c" operator="equals" type="string">
3379 <xccdf:title>maximum password age</xccdf:title>
3380 <xccdf:description xml:lang="en">Enter age before which a password must be changed</xccdf:description>
3381 <xccdf:question xml:lang="en">Select age (in days) before which a password must be changed</xccdf:question>
3382 <xccdf:value>60</xccdf:value>
3383 <xccdf:value selector="0_days">0</xccdf:value>
3384 <xccdf:value selector="30_days">30</xccdf:value>
3385 <xccdf:value selector="60_days">60</xccdf:value>
3386 <xccdf:value selector="90_days">90</xccdf:value>
3387 <xccdf:value selector="120_days">120</xccdf:value>
3388 <xccdf:value selector="150_days">150</xccdf:value>
3389 <xccdf:value selector="180_days">180</xccdf:value>
3390 <xccdf:match>^[\d]+$</xccdf:match>
3391 </xccdf:Value>
3392 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.d" operator="equals" type="string">
3393 <xccdf:title>password warn age</xccdf:title>
3394 <xccdf:description xml:lang="en">
3395 The number of days warning given before a password expires. A zero
3396 means warning is given only upon the day of expiration, a negative
3397 value means no warning is given. If not specified, no warning will
3398 be provided.</xccdf:description>
3399 <xccdf:question xml:lang="en">Select number of days warning is given before a password expires</xccdf:question>
3400 <xccdf:value>14</xccdf:value>
3401 <xccdf:value selector="7_days">7</xccdf:value>
3402 <xccdf:value selector="8_days">8</xccdf:value>
3403 <xccdf:value selector="14_days">14</xccdf:value>
3404 <xccdf:match>^[\d]+$</xccdf:match>
3405 </xccdf:Value>
3406 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.a" selected="false" severity="medium" weight="10.0">
3407 <xccdf:title>Set password minimum length</xccdf:title>
3408 <xccdf:description xml:lang="en">The password minimum length should be set to:
3409 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.a"/></xccdf:description>
3410 <xccdf:ident system="http://cce.mitre.org">CCE-4154-1</xccdf:ident>
3411 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3412 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20071" value-id="xccdf_cdf_value_var-2.3.1.7.a"/>
3413 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20071"/>
3414 </xccdf:check>
3415 </xccdf:Rule>
3416 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false" severity="medium" weight="10.0">
3417 <xccdf:title>Set minimum password age</xccdf:title>
3418 <xccdf:description>The minimum password age should be set to:
3419 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.b"/></xccdf:description>
3420 <xccdf:ident system="http://cce.mitre.org">CCE-4180-6</xccdf:ident>
3421 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3422 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20072" value-id="xccdf_cdf_value_var-2.3.1.7.b"/>
3423 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20072"/>
3424 </xccdf:check>
3425 </xccdf:Rule>
3426 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false" severity="medium" weight="10.0">
3427 <xccdf:title>Set maximum password age</xccdf:title>
3428 <xccdf:description>The maximum password age should be set to:
3429 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.c"/></xccdf:description>
3430 <xccdf:ident system="http://cce.mitre.org">CCE-4092-3</xccdf:ident>
3431 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3432 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20073" value-id="xccdf_cdf_value_var-2.3.1.7.c"/>
3433 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20073"/>
3434 </xccdf:check>
3435 </xccdf:Rule>
3436 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.d" selected="false" severity="medium" weight="10.0">
3437 <xccdf:title>Set password warn age</xccdf:title>
3438 <xccdf:description>The password warn age should be set to:
3439 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.d"/></xccdf:description>
3440 <xccdf:ident system="http://cce.mitre.org">CCE-4097-2</xccdf:ident>
3441 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3442 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20074" value-id="xccdf_cdf_value_var-2.3.1.7.d"/>
3443 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20074"/>
3444 </xccdf:check>
3445 </xccdf:Rule>
3446 </xccdf:Group>
3447 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.8">
3448 <xccdf:title xml:lang="en">Remove Legacy + Entries from Password Files</xccdf:title>
3449 <xccdf:description xml:lang="en">
3450 The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3451 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3452 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep "^+:" /etc/passwd /etc/shadow /etc/group<xhtml:br/></xhtml:code>
3453 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3454 should produce no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3455 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3456 The + symbol was used by systems to include data from NIS maps
3457 into existing files. However, a certain configuration error in which a NIS inclusion
3458 line appears in /etc/passwd, but NIS is not running, could lead to anyone being able to
3459 access the system with the username + and no password. Therefore, it is important to
3460 verify that no such line appears in any of the relevant system files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3462 The correct way to
3463 tell the local system to consult network databases such as LDAP or NIS for user
3464 information is to make appropriate modifications to /etc/nsswitch.conf.</xccdf:description>
3465 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false" severity="medium" weight="10.0">
3466 <xccdf:title>Remove Legacy + Entries from /etc/shadow</xccdf:title>
3467 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/shadow file</xccdf:description>
3468 <xccdf:fixtext>(1) via /etc/shadow</xccdf:fixtext>
3469 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3470 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20075"/>
3471 </xccdf:check>
3472 </xccdf:Rule>
3473 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false" severity="medium" weight="10.0">
3474 <xccdf:title>Remove Legacy + Entries from /etc/group</xccdf:title>
3475 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/group file</xccdf:description>
3476 <xccdf:fixtext>(1) via /etc/group</xccdf:fixtext>
3477 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3478 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20076"/>
3479 </xccdf:check>
3480 </xccdf:Rule>
3481 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false" severity="medium" weight="10.0">
3482 <xccdf:title>Remove Legacy + Entries from /etc/passwd</xccdf:title>
3483 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/passwd file</xccdf:description>
3484 <xccdf:ident system="http://cce.mitre.org">CCE-4114-5</xccdf:ident>
3485 <xccdf:fixtext>(1) via /etc/passwd</xccdf:fixtext>
3486 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3487 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20077"/>
3488 </xccdf:check>
3489 </xccdf:Rule>
3490 </xccdf:Group>
3491 </xccdf:Group>
3492 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2">
3493 <xccdf:title xml:lang="en">Use Unix Groups to Enhance Security</xccdf:title>
3494 <xccdf:description xml:lang="en">
3495 The access control policies which can be enforced by standard
3496 Unix permissions are limited, and configuring SELinux (Section 2.4) is frequently a better
3497 choice. However, this guide recommends that security be enhanced to the extent possible by
3498 enforcing the Unix group policies outlined in this section.</xccdf:description>
3499 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.1" weight="1.0">
3500 <xccdf:title xml:lang="en">Create a Unique Default Group for Each User</xccdf:title>
3501 <xccdf:description xml:lang="en">
3502 When running useradd, do not use the -g flag or otherwise
3503 override the default group. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3504 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3505 The Red Hat default is that each new user account should
3506 have a unique primary group whose name is the same as that of the account. This default
3507 is recommended, in order to provide additional protection against files which are
3508 created with group write permission enabled.</xccdf:description>
3509 </xccdf:Group>
3510 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.2">
3511 <xccdf:title xml:lang="en">Create and Maintain a Group Containing All Human Users</xccdf:title>
3512 <xccdf:description xml:lang="en">
3513 Identify all user accounts on the system which correspond to
3514 human users. Depending on your system configuration, this may be all entries in
3515 /etc/passwd with UID values of at least 500. Once, you have identified such a set of
3516 users, create a group named usergroup (substitute some name appropriate to your
3517 environment) and populate it with each human user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3518 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3519 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># groupadd usergroup <xhtml:br/>
3520 # usermod -G usergroup human1 <xhtml:br/>
3521 # usermod -G usergroup human2 ... <xhtml:br/>
3522 # usermod -G usergroup humanN <xhtml:br/></xhtml:code>
3523 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3524 Then modify your procedure for creating new user accounts by adding -G usergroup to the
3525 set of flags with which useradd is invoked, so that new human users will be placed in
3526 the correct group by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3527 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3528 Creating a group of human users does not, by itself, enhance
3529 system security. However, as you work on securing your system, you will often find
3530 commands which never need to be run by system accounts, or which are only ever needed by
3531 users logged into the graphical console (which should only ever be available to human
3532 users, even on workstations). Once a group of users has been created, it is easy to
3533 restrict access to a given command, for instance /path/to/graphical/command , to
3534 authorized users: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3535 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3536 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /path/to/graphical/command <xhtml:br/>
3537 # chmod 750 /path/graphical/command <xhtml:br/></xhtml:code>
3538 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3539 Without a group of human users, it is necessary to restrict
3540 access by somehow preventing each system account from running the command, which is an
3541 error-prone process even when it is possible at all.</xccdf:description>
3542 </xccdf:Group>
3543 </xccdf:Group>
3544 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3">
3545 <xccdf:title xml:lang="en">Protect Accounts by Configuring PAM</xccdf:title>
3546 <xccdf:description xml:lang="en">
3547 PAM, or Pluggable Authentication Modules, is a system which
3548 implements modular authentication for Linux programs. PAM is well-integrated into Linux's
3549 authentication architecture, making it difficult to remove, but it can be configured to
3550 minimize your system's exposure to unnecessary risk. This section contains guidance on how
3551 to accomplish that, and how to ensure that the modules used by your PAM configuration do
3552 what they are supposed to do. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3553 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3554 PAM is implemented as a set of shared objects which are
3555 loaded and invoked whenever an application wishes to authenticate a user. Typically, the
3556 application must be running as root in order to take advantage of PAM. Traditional
3557 privileged network listeners (e.g. sshd) or SUID programs (e.g. sudo) already meet this
3558 requirement. An SUID root application, userhelper, is provided so that programs which are
3559 not SUID or privileged themselves can still take advantage of PAM. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3560 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3561 PAM looks in the
3562 directory /etc/pam.d for application-specific configuration information. For instance, if
3563 the program login attempts to authenticate a user, then PAM's libraries follow the
3564 instructions in the file /etc/ pam.d/login to determine what actions should be taken.
3565 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>One
3567 very important file in /etc/pam.d is /etc/pam.d/system-auth. This file, which is included
3568 by many other PAM configuration files, defines 'default' system authentication measures.
3569 Modifying this file is a good way to make far-reaching authentication changes, for
3570 instance when implementing a centralized authentication service.
3571 </xccdf:description>
3572 <xccdf:warning xml:lang="en">
3573 Be careful when making changes to PAM's configuration files. The syntax for these files
3574 is complex, and modifications can have unexpected consequences.1 The default
3575 configurations shipped with applications should be sufficient for most users.
3576 </xccdf:warning>
3577 <xccdf:warning xml:lang="en">
3578 Running authconfig or system-config-authentication will re-write the PAM configuration
3579 files, destroying any manually made changes and replacing them with a series of system
3580 defaults. 1One reference to the configuration file syntax can be found at
3581 http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/ sag-configuration-file.html.
3582 </xccdf:warning>
3583 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1">
3584 <xccdf:title xml:lang="en">Set Password Quality Requirements</xccdf:title>
3585 <xccdf:description xml:lang="en">
3586 The default pam_cracklib PAM module provides strength checking
3587 for passwords. It performs a number of checks, such as making sure passwords are not
3588 similar to dictionary words, are of at least a certain length, are not the previous
3589 password reversed, and are not simply a change of case from the previous password. It
3590 can also require passwords to be in certain character classes.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3591 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3592 The pam_passwdqc PAM module provides the ability to enforce even more stringent
3593 password strength requirements. It is provided in an RPM of the same name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3595 The man pages pam_cracklib(8) and pam_passwdqc(8) provide information on the
3596 capabilities and configuration of each.
3597 </xccdf:description>
3598 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.1">
3599 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_cracklib</xccdf:title>
3600 <xccdf:description xml:lang="en">
3601 The pam_cracklib PAM module can be configured to meet
3602 recommendations for DoD systems as stated in [12].<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3604 To configure pam_cracklib to require at least one uppercase character, lowercase
3605 character, digit, and other (special) character, locate the following line in
3606 /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3608 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3609 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3610 and then alter it to read:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3612 password required pam_cracklib.so try_first_pass retry=3 minlen=14 dcredit=-1 /
3613 ucredit=-1 ocredit=-1 lcredit=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3614 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3615 If necessary, modify the arguments to ensure compliance with your organization’s
3616 security policy.
3617 </xccdf:description>
3618 <xccdf:warning xml:lang="en">Note that the password quality requirements are not enforced
3619 for the root account for some reason.
3620 </xccdf:warning>
3621 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.retry">
3622 <xccdf:title xml:lang="en">retry</xccdf:title>
3623 <xccdf:description xml:lang="en">Number of retry attempts before erroring out</xccdf:description>
3624 <xccdf:question xml:lang="en">Select number of password retry attempts before erroring out</xccdf:question>
3625 <xccdf:value>3</xccdf:value>
3626 <xccdf:value selector="1">1</xccdf:value>
3627 <xccdf:value selector="2">2</xccdf:value>
3628 <xccdf:value selector="3">3</xccdf:value>
3629 <xccdf:match>^[\d]+$</xccdf:match>
3630 </xccdf:Value>
3631 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.difok">
3632 <xccdf:title xml:lang="en">difok</xccdf:title>
3633 <xccdf:description xml:lang="en">Mininum number of characters not present in old password</xccdf:description>
3634 <xccdf:warning xml:lang="en">Keep this high for short passwords</xccdf:warning>
3635 <xccdf:question xml:lang="en">Select minimum number of characters not present in old password</xccdf:question>
3636 <xccdf:value>5</xccdf:value>
3637 <xccdf:value selector="2">2</xccdf:value>
3638 <xccdf:value selector="3">3</xccdf:value>
3639 <xccdf:value selector="4">4</xccdf:value>
3640 <xccdf:value selector="5">5</xccdf:value>
3641 <xccdf:match>^[\d]+$</xccdf:match>
3642 </xccdf:Value>
3643 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.minlen">
3644 <xccdf:title xml:lang="en">minlen</xccdf:title>
3645 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3646 <xccdf:question xml:lang="en">Select minimum number of characters in pasword</xccdf:question>
3647 <xccdf:value>14</xccdf:value>
3648 <xccdf:value selector="6">6</xccdf:value>
3649 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3650 <xccdf:value selector="8">8</xccdf:value>
3651 <xccdf:value selector="10">10</xccdf:value>
3652 <xccdf:value selector="14">14</xccdf:value>
3653 <xccdf:value selector="15">15</xccdf:value>
3654 <xccdf:match>^[\d]+$</xccdf:match>
3655 </xccdf:Value>
3656 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit">
3657 <xccdf:title xml:lang="en">dcredit</xccdf:title>
3658 <xccdf:description xml:lang="en">Mininum number of digits in password</xccdf:description>
3659 <xccdf:question xml:lang="en">Select number of digits in password</xccdf:question>
3660 <xccdf:value>-2</xccdf:value>
3661 <xccdf:value selector="2">-2</xccdf:value>
3662 <xccdf:value selector="1">-1</xccdf:value>
3663 <xccdf:value selector="0">0</xccdf:value>
3664 <xccdf:match>^-?[\d]+$</xccdf:match>
3665 </xccdf:Value>
3666 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit">
3667 <xccdf:title xml:lang="en">ocredit</xccdf:title>
3668 <xccdf:description xml:lang="en">Mininum number of other (special characters) in password</xccdf:description>
3669 <xccdf:question xml:lang="en">Select number of special characters in password</xccdf:question>
3670 <xccdf:value>-2</xccdf:value>
3671 <xccdf:value selector="2">-2</xccdf:value>
3672 <xccdf:value selector="1">-1</xccdf:value>
3673 <xccdf:value selector="0">0</xccdf:value>
3674 <xccdf:match>^-?[\d]+$</xccdf:match>
3675 </xccdf:Value>
3676 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit">
3677 <xccdf:title xml:lang="en">lcredit</xccdf:title>
3678 <xccdf:description xml:lang="en">Mininum number of lower case in password</xccdf:description>
3679 <xccdf:question xml:lang="en">Select minimum number of lower case in password</xccdf:question>
3680 <xccdf:value>-2</xccdf:value>
3681 <xccdf:value selector="2">-2</xccdf:value>
3682 <xccdf:value selector="1">-1</xccdf:value>
3683 <xccdf:value selector="0">0</xccdf:value>
3684 <xccdf:match>^-?[\d]+$</xccdf:match>
3685 </xccdf:Value>
3686 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit">
3687 <xccdf:title xml:lang="en">ucredit</xccdf:title>
3688 <xccdf:description xml:lang="en">Mininum number of upper case in password</xccdf:description>
3689 <xccdf:question xml:lang="en">Select minimum number of upper case in password</xccdf:question>
3690 <xccdf:value>-2</xccdf:value>
3691 <xccdf:value selector="2">-2</xccdf:value>
3692 <xccdf:value selector="1">-1</xccdf:value>
3693 <xccdf:value selector="0">0</xccdf:value>
3694 <xccdf:match>^-?[\d]+$</xccdf:match>
3695 </xccdf:Value>
3696 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false" severity="medium" weight="10.0">
3697 <xccdf:title>Set Password Quality Requirements</xccdf:title>
3698 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3699 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3700 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3701 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3702 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200781" value-id="xccdf_cdf_value_var-2.3.3.1.1.a.retry"/>
3703 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200782" value-id="xccdf_cdf_value_var-2.3.3.1.1.a.minlen"/>
3704 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200783" value-id="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit"/>
3705 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200784" value-id="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit"/>
3706 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200785" value-id="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit"/>
3707 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200786" value-id="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit"/>
3708 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200787" value-id="xccdf_cdf_value_var-2.3.3.1.1.a.difok"/>
3709 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20078"/>
3710 <!-- TBD -->
3711 </xccdf:check>
3712 </xccdf:Rule>
3713 </xccdf:Group>
3714 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.2">
3715 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_passwdqc</xccdf:title>
3716 <xccdf:description xml:lang="en">
3717 If password strength stronger than that guaranteed by
3718 pam_cracklib is required, configure PAM to use pam_passwdqc.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3719 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3720 To activate pam_passwdqc, locate the following line in /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3721 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3722 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3723 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3724 and then replace it with the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3725 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3726 password requisite pam_passwdqc.so min=disabled,disabled,16,12,8<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3727 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3728 If necessary, modify the arguments (min=disabled,disabled,16,12,8) to ensure
3729 compliance with your organization’s security policy. Configuration options are
3730 described in the man page pam_passwdqc(8) and also in /usr/share/doc/pam_passwdqc-version.
3731 The minimum lengths provided here supercede that specified
3732 by the argument PASS MIN LEN as described in Section 2.3.1.7.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3733 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3734 The options given in the example above set a minimum length for each of the
3735 password “classes” that pam_passwdqc recognizes. Setting a particular minimum
3736 value to disabled will stop users from choosing a password that falls into
3737 that category alone.
3738 </xccdf:description>
3739 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N0">
3740 <!-- TODO -->
3741 <xccdf:title xml:lang="en">N0</xccdf:title>
3742 <xccdf:description xml:lang="en">
3743 N0 is used for passwords consisting of characters
3744 from one character class only. The character classes are: digits,
3745 lower-case letters, upper-case letters, and other characters. There is
3746 also a special class for non-ASCII characters which could not be
3747 classified, but are assumed to be non-digits. </xccdf:description>
3748 <xccdf:value>24</xccdf:value>
3749 <xccdf:value selector="disabled">disabled</xccdf:value>
3750 <xccdf:value selector="24">24</xccdf:value>
3751 <xccdf:value selector="30">30</xccdf:value>
3752 </xccdf:Value>
3753 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N1">
3754 <!-- TODO -->
3755 <xccdf:title xml:lang="en">N1</xccdf:title>
3756 <xccdf:description xml:lang="en">
3757 N1 is used for passwords consisting of characters
3758 from two character classes which do not meet the requirements for a
3759 passphrase.</xccdf:description>
3760 <xccdf:value>16</xccdf:value>
3761 <xccdf:value selector="disabled">disabled</xccdf:value>
3762 <xccdf:value selector="18">18</xccdf:value>
3763 <xccdf:value selector="24">24</xccdf:value>
3764 </xccdf:Value>
3765 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N2">
3766 <!-- TODO -->
3767 <xccdf:title xml:lang="en">N2</xccdf:title>
3768 <xccdf:description xml:lang="en">
3769 N2 is used for passphrases. Note that besides
3770 meeting this length requirement, a passphrase must also consist of a
3771 sufficient number of words (see the "passphrase" option below). </xccdf:description>
3772 <xccdf:value>16</xccdf:value>
3773 <xccdf:value selector="disabled">disabled</xccdf:value>
3774 <xccdf:value selector="16">16</xccdf:value>
3775 <xccdf:value selector="17">17</xccdf:value>
3776 <xccdf:value selector="18">18</xccdf:value>
3777 </xccdf:Value>
3778 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N3">
3779 <!-- TODO -->
3780 <xccdf:title xml:lang="en">N3</xccdf:title>
3781 <xccdf:description xml:lang="en">N3 is the number of characters required for a password that uses characters from 3 character classes.</xccdf:description>
3782 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 3 character classes</xccdf:question>
3783 <xccdf:value>16</xccdf:value>
3784 <xccdf:value selector="disabled">disabled</xccdf:value>
3785 <xccdf:value selector="14">14</xccdf:value>
3786 <xccdf:value selector="15">15</xccdf:value>
3787 <xccdf:value selector="16">16</xccdf:value>
3788 </xccdf:Value>
3789 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N4">
3790 <!-- TODO -->
3791 <xccdf:title xml:lang="en">N4</xccdf:title>
3792 <xccdf:description xml:lang="en">N4 is the number of characters required for a password that uses characters from 4 character classes.</xccdf:description>
3793 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 4 character classes</xccdf:question>
3794 <xccdf:value>14</xccdf:value>
3795 <xccdf:value selector="10">10</xccdf:value>
3796 <xccdf:value selector="12">12</xccdf:value>
3797 <xccdf:value selector="14">14</xccdf:value>
3798 </xccdf:Value>
3799 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.passphrase">
3800 <!-- TODO -->
3801 <xccdf:title xml:lang="en">passphrase</xccdf:title>
3802 <xccdf:description xml:lang="en">The number of words required for a passphrase, or 0 to disable the support for user-chosen passphrases. </xccdf:description>
3803 <xccdf:question xml:lang="en">Select the number of words required for a passphrase</xccdf:question>
3804 <xccdf:value>3</xccdf:value>
3805 <xccdf:value selector="disabled">0</xccdf:value>
3806 <xccdf:value selector="3">3</xccdf:value>
3807 <xccdf:value selector="5">5</xccdf:value>
3808 <xccdf:match>^[\d]+$</xccdf:match>
3809 </xccdf:Value>
3810 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.match">
3811 <!-- TODO -->
3812 <xccdf:title xml:lang="en">match</xccdf:title>
3813 <xccdf:description xml:lang="en">
3814 The length of common substring required to
3815 conclude that a password is at least partially based on information
3816 found in a character string, or 0 to disable the substring search.
3817 Note that the password will not be rejected once a weak substring is
3818 found; it will instead be subjected to the usual strength requirements
3819 with the weak substring removed.</xccdf:description>
3820 <xccdf:question xml:lang="en">Enter the length of common substring required to conclude that a password is at least partially based on information found in a character string</xccdf:question>
3821 <xccdf:value>5</xccdf:value>
3822 <xccdf:value selector="disable">0</xccdf:value>
3823 <xccdf:value selector="3">3</xccdf:value>
3824 <xccdf:value selector="4">4</xccdf:value>
3825 <xccdf:value selector="5">5</xccdf:value>
3826 <xccdf:match>^[\d]+$</xccdf:match>
3827 </xccdf:Value>
3828 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.retry">
3829 <!-- TODO -->
3830 <xccdf:title xml:lang="en">retry</xccdf:title>
3831 <xccdf:description xml:lang="en">
3832 The number of times the module will ask for a
3833 new password if the user fails to provide a sufficiently strong
3834 password and enter it twice the first time. </xccdf:description>
3835 <xccdf:question xml:lang="en">Enter the number of times the module will ask for a new password if user fail to provide a sufficiently strong password</xccdf:question>
3836 <xccdf:value>3</xccdf:value>
3837 <xccdf:value selector="2">2</xccdf:value>
3838 <xccdf:value selector="3">3</xccdf:value>
3839 <xccdf:value selector="4">4</xccdf:value>
3840 <xccdf:match>^[\d]+$</xccdf:match>
3841 </xccdf:Value>
3842 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false" weight="10.0">
3843 <xccdf:title>Set Password Quality Requirements using pam_passwdqc</xccdf:title>
3844 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3845 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3846 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3847 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3848 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200790" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.N0"/>
3849 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200791" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.N1"/>
3850 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200792" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.N2"/>
3851 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200793" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.N3"/>
3852 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200794" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.N4"/>
3853 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200795" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.passphrase"/>
3854 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200796" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.match"/>
3855 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200797" value-id="xccdf_cdf_value_var-2.3.3.1.2.a.retry"/>
3856 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20079"/>
3857 </xccdf:check>
3858 </xccdf:Rule>
3859 </xccdf:Group>
3860 </xccdf:Group>
3861 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.2">
3862 <xccdf:title xml:lang="en">Set Lockouts for Failed Password Attempts</xccdf:title>
3863 <xccdf:description xml:lang="en">
3864 The pam_tally2 PAM module provides the capability to lock out
3865 user accounts after a number of failed login attempts. Its documentation is available in
3866 /usr/share/doc/pam-version/txts/README.pam_tally2. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3868 If locking out accounts after a number of incorrect login attempts is required by your
3869 security policy, implement use of pam_tally2.so for the relevant PAM-aware programs
3870 such as login, sshd, and vsftpd. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3871 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3872 Find the following line in /etc/pam.d/system-auth: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3873 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3874 auth sufficient pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3876 and then change it so that it reads as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3878 auth required pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3879 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3880 In the same file, comment out or delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3881 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3882 auth requisite pam_succeed_if.so uid &gt;= 500 quiet <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3883 auth required pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3884 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3885 To enforce password lockout, add the following to the individual programs'
3886 configuration files in /etc/pam.d. First, add to end of the auth lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3887 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3888 auth required pam_tally2.so deny=5 onerr=fail <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3889 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3890 Second, add to the end of the account lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3891 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3892 account required pam_tally2.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3893 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3894 Adjust the deny argument to conform to your system security policy. The pam_tally2
3895 utility can be used to unlock user accounts as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3896 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3897 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /sbin/pam_tally2 --user username --reset <xhtml:br/></xhtml:code>
3898 </xccdf:description>
3899 <xccdf:warning xml:lang="en">
3900 Locking out user accounts presents the risk of a denial-of-service attack. The security
3901 policy regarding system lockout must weigh whether the risk of such a denial-of-service
3902 attack outweighs the benefits of thwarting password guessing attacks. The pam_tally2
3903 utility can be run from a cron job on a hourly or daily basis to try and offset this
3904 risk.
3905 </xccdf:warning>
3906 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.deny">
3907 <!-- TODO -->
3908 <xccdf:title xml:lang="en">deny</xccdf:title>
3909 <xccdf:description xml:lang="en">Deny access if tally for this user exceeds n.</xccdf:description>
3910 <xccdf:value>3</xccdf:value>
3911 <xccdf:value selector="1">1</xccdf:value>
3912 <xccdf:value selector="3">3</xccdf:value>
3913 <xccdf:value selector="5">5</xccdf:value>
3914 <xccdf:value selector="10">10</xccdf:value>
3915 <xccdf:match>^[\d]+$</xccdf:match>
3916 </xccdf:Value>
3917 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.lock_time">
3918 <xccdf:title xml:lang="en">lock_time</xccdf:title>
3919 <xccdf:description xml:lang="en">Always deny for n seconds after failed attempt.</xccdf:description>
3920 <xccdf:value>5</xccdf:value>
3921 <xccdf:value selector="1">1</xccdf:value>
3922 <xccdf:value selector="3">3</xccdf:value>
3923 <xccdf:value selector="5">5</xccdf:value>
3924 <xccdf:value selector="10">10</xccdf:value>
3925 <xccdf:match>^[\d]+$</xccdf:match>
3926 </xccdf:Value>
3927 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.unlock_time">
3928 <xccdf:title xml:lang="en">unlock_time</xccdf:title>
3929 <xccdf:description xml:lang="en">
3930 Allow access after n seconds after failed attempt. If this
3931 option is used the user will be locked out for the specified amount of time after
3932 he exceeded his maximum allowed attempts. Otherwise the account is locked until the
3933 lock is removed by a manual intervention of the system administrator.</xccdf:description>
3934 <xccdf:question xml:lang="en">Select time (in seconds) user will be locked out after he exceeded his maximum allowed attempts</xccdf:question>
3935 <xccdf:value>0</xccdf:value>
3936 <xccdf:value selector="none">1</xccdf:value>
3937 <xccdf:value selector="15_minutes">900</xccdf:value>
3938 <xccdf:value selector="30_minutes">1800</xccdf:value>
3939 <xccdf:value selector="1_hour">3600</xccdf:value>
3940 <xccdf:match>^[\d]+$</xccdf:match>
3941 </xccdf:Value>
3942 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false" severity="medium" weight="10.0">
3943 <xccdf:title>Set Lockouts for Failed Password Attempts</xccdf:title>
3944 <xccdf:description>The "account lockout threshold" policy should meet minimum requirements.</xccdf:description>
3945 <xccdf:ident system="http://cce.mitre.org">CCE-3410-8</xccdf:ident>
3946 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3947 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3948 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200801" value-id="xccdf_cdf_value_var-2.3.3.2.a.deny"/>
3949 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200802" value-id="xccdf_cdf_value_var-2.3.3.2.a.lock_time"/>
3950 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200803" value-id="xccdf_cdf_value_var-2.3.3.2.a.unlock_time"/>
3951 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20080"/>
3952 <!-- TBD -->
3953 </xccdf:check>
3954 </xccdf:Rule>
3955 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false" weight="10.0">
3956 <xccdf:title>Do not leak information on authorization failure</xccdf:title>
3957 <xccdf:description>Authorization failures should not alert attackers as to what went wrong.</xccdf:description>
3958 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3959 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3960 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200805"/>
3961 <!-- TBD -->
3962 </xccdf:check>
3963 </xccdf:Rule>
3964 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.c" selected="false" severity="medium" weight="10.0">
3965 <xccdf:title>Do not log authorization failures and successes</xccdf:title>
3966 <xccdf:description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</xccdf:description>
3967 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3968 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3969 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200806"/>
3970 <!-- TBD -->
3971 </xccdf:check>
3972 </xccdf:Rule>
3973 </xccdf:Group>
3974 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.3">
3975 <xccdf:title xml:lang="en">Use pam_deny.so to Quickly Deny Access to a Service</xccdf:title>
3976 <xccdf:description xml:lang="en">
3977 In order to deny access to a service SVCNAME via PAM, edit the
3978 file /etc/pam.d/SVCNAME . Prepend this line to the beginning of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3979 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3980 auth requisite pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3981 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3982 Under most circumstances, there are better ways to disable a service than to
3983 deny access via PAM. However, this should suffice as a way to quickly make a service
3984 unavailable to future users (existing sessions which have already been authenticated,
3985 are not affected). The requisite tag tells PAM that, if the named module returns
3986 failure, authentication should fail, and PAM should immediately stop processing the
3987 configuration file. The pam_deny.so module always returns failure regardless of its
3988 input.</xccdf:description>
3989 </xccdf:Group>
3990 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.4">
3991 <xccdf:title xml:lang="en">Restrict Execution of userhelper to Console Users</xccdf:title>
3992 <xccdf:description xml:lang="en">
3993 If your environment has defined a group, usergroup containing
3994 all the human users of your system, restrict execution of the userhelper program to only
3995 that group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3997 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /usr/sbin/userhelper <xhtml:br/>
3998 # chmod 4710 /usr/sbin/userhelper <xhtml:br/></xhtml:code>
3999 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4000 The userhelper program provides authentication for graphical services which must run
4001 with root privileges, such as the system-config- family of graphical configuration
4002 utilities. Only human users logged into the system console are likely to ever have a
4003 legitimate need to run these utilities. This step provides some protection against
4004 possible flaws in userhelper's implementation, and against further privilege escalation
4005 when system accounts are compromised. See Section 2.3.2.2 for more information on
4006 creating a group of human users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4007 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4008 The userhelper program is configured by the files in /etc/security/console.apps/. Each
4009 file specifies, for some program, what user the program should run as, and what program
4010 should be executed after successful authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4011 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4012 Note: The configuration in /etc/security/console.apps/ is applied in
4013 combination with the PAM configuration of the service defined in /etc/pam.d/. First,
4014 userhelper determines what user the service should run as. (Typically, this will be
4015 root.) Next, userhelper uses the PAM API to allow the user who ran the program to
4016 attempt to authenticate as the desired user. The PAM API exchange is wrapped in a GUI if
4017 the application's configuration requests one.</xccdf:description>
4018 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.a" operator="equals" type="string">
4019 <xccdf:title>Name of group containing human users</xccdf:title>
4020 <xccdf:description xml:lang="en">Enter group to aggregate human users</xccdf:description>
4021 <xccdf:value>usergroup</xccdf:value>
4022 <xccdf:value selector="usergroup">usergroup</xccdf:value>
4023 </xccdf:Value>
4024 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.b" operator="equals" type="string">
4025 <xccdf:title>userhelper file permissions</xccdf:title>
4026 <xccdf:description xml:lang="en">Enter file permissions for /usr/sbin/userhelper</xccdf:description>
4027 <xccdf:question xml:lang="en">Enter file permission for /usr/bin/userhelper</xccdf:question>
4028 <xccdf:value>100111001000</xccdf:value>
4029 <xccdf:value selector="4710">100111001000</xccdf:value>
4030 <xccdf:match>^[10]+$</xccdf:match>
4031 </xccdf:Value>
4032 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false" weight="10.0">
4033 <xccdf:title>Restrict Execution of userhelper to Console Users</xccdf:title>
4034 <xccdf:description>The /usr/sbin/userhelper file should be owned by the appropriate group.</xccdf:description>
4035 <xccdf:ident system="http://cce.mitre.org">CCE-4185-5</xccdf:ident>
4036 <xccdf:fix># chgrp usergroup /usr/sbin/userhelper</xccdf:fix>
4037 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4038 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20081" value-id="xccdf_cdf_value_var-2.3.3.4.a"/>
4039 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20081"/>
4040 </xccdf:check>
4041 </xccdf:Rule>
4042 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false" weight="10.0">
4043 <xccdf:title>Restrict File permissions of userhelper</xccdf:title>
4044 <xccdf:description>File permissions for /usr/sbin/userhelper should be set correctly.</xccdf:description>
4045 <xccdf:ident system="http://cce.mitre.org">CCE-3952-9</xccdf:ident>
4046 <xccdf:fix># chmod 4710 /usr/sbin/userhelper</xccdf:fix>
4047 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4048 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20082" value-id="xccdf_cdf_value_var-2.3.3.4.b"/>
4049 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20082"/>
4050 </xccdf:check>
4051 </xccdf:Rule>
4052 </xccdf:Group>
4053 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.5">
4054 <xccdf:title xml:lang="en">Password Hashing Algorithm</xccdf:title>
4055 <xccdf:description xml:lang="en">
4056 The default algorithm for storing password hashes should be SHA-512.
4057 </xccdf:description>
4058 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.5.a" operator="equals" type="string">
4059 <xccdf:title>Password hashing algorithm</xccdf:title>
4060 <xccdf:description xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:description>
4061 <xccdf:question xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:question>
4062 <xccdf:value>sha512</xccdf:value>
4063 <xccdf:value selector="MD5">md5</xccdf:value>
4064 <xccdf:value selector="SHA-256">sha256</xccdf:value>
4065 <xccdf:value selector="SHA-512">sha512</xccdf:value>
4066 <xccdf:choices>
4067 <xccdf:choice>md5</xccdf:choice>
4068 <xccdf:choice>sha256</xccdf:choice>
4069 <xccdf:choice>sha512</xccdf:choice>
4070 </xccdf:choices>
4071 </xccdf:Value>
4072 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.5.a" selected="false" severity="medium" weight="10.0">
4073 <xccdf:title>Password hashing algorithm</xccdf:title>
4074 <xccdf:description>The password hashing algorithm should be set to SHA-512</xccdf:description>
4075 <xccdf:fix>/usr/sbin/authconfig --passalgo=sha512 --update</xccdf:fix>
4076 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4077 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20083" value-id="xccdf_cdf_value_var-2.3.3.5.a"/>
4078 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20083"/>
4079 </xccdf:check>
4080 </xccdf:Rule>
4081 </xccdf:Group>
4082 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.6">
4083 <xccdf:title xml:lang="en">Limit Password Reuse</xccdf:title>
4084 <xccdf:description xml:lang="en">
4085 Do not allow users to reuse recent passwords. This can be
4086 accomplished by using the remember option for the pam_unix PAM module. In order to
4087 prevent a user from re-using any of his or her last <xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/> passwords,
4088 append remember=<xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/> to the password line which uses the
4089 pam_unix module in the file /etc/pam.d/system-auth, as shown:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4090 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4091 password sufficient pam_unix.so existing_options remember=<xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4092 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4093 Old (and thus no longer valid) passwords are stored in the file /etc/security/opasswd.
4094 </xccdf:description>
4095 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.6.a" operator="equals" type="string">
4096 <xccdf:title>remember</xccdf:title>
4097 <xccdf:description xml:lang="en">
4098 The last n passwords for each user are saved in
4099 /etc/security/opasswd in order to force password change history and keep the user from
4100 alternating between the same password too frequently. </xccdf:description>
4101 <xccdf:question xml:lang="en">Enter how many last passwords will be saved to keep the user from alternating between the same password too frequently</xccdf:question>
4102 <xccdf:value>5</xccdf:value>
4103 <xccdf:value selector="5">5</xccdf:value>
4104 <xccdf:value selector="10">10</xccdf:value>
4105 <xccdf:match>^[\d]+$</xccdf:match>
4106 </xccdf:Value>
4107 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false" severity="medium" weight="10.0">
4108 <xccdf:title>Limit password reuse</xccdf:title>
4109 <xccdf:description>The passwords to remember should be set to: <xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/></xccdf:description>
4110 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4111 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20084" value-id="xccdf_cdf_value_var-2.3.3.6.a"/>
4112 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20084"/>
4113 <!-- TBD -->
4114 </xccdf:check>
4115 </xccdf:Rule>
4116 </xccdf:Group>
4117 </xccdf:Group>
4118 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4">
4119 <xccdf:title xml:lang="en">Secure Session Configuration Files for Login Accounts</xccdf:title>
4120 <xccdf:description xml:lang="en">
4121 When a user logs into a Unix account, the system configures the
4122 user's session by reading a number of files. Many of these files are located in the user's
4123 home directory, and may have weak permissions as a result of user error or
4124 misconfiguration. If an attacker can modify or even read certain types of account
4125 configuration information, he can often gain full access to the affected user's account.
4126 Therefore, it is important to test and correct configuration file permissions for
4127 interactive accounts, particularly those of privileged users such as root or system
4128 administrators.</xccdf:description>
4129 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.1">
4130 <xccdf:title xml:lang="en">Ensure that No Dangerous Directories Exist in Roots Path '</xccdf:title>
4131 <xccdf:description xml:lang="en">
4132 The active path of the root account can be obtained by starting
4133 a new root shell and running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4135 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># echo $PATH <xhtml:br/></xhtml:code>
4136 This will produce a colon-separated list of directories in the path. For each directory
4137 DIR in the path, ensure that DIR is not equal to a single . character. Also ensure that
4138 there are no 'empty' elements in the path, such as in these examples: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4139 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4140 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH=:/bin <xhtml:br/>
4141 PATH=/bin: <xhtml:br/>
4142 PATH=/bin::/sbin <xhtml:br/></xhtml:code>
4143 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4144 These empty elements have the same effect as a single . character. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4145 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4146 For each element in the path, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4147 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4148 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld DIR <xhtml:br/></xhtml:code>
4149 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4150 and ensure that write permissions are disabled for group and other. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4151 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4152 It is important to prevent root from executing unknown or untrusted programs, since such
4153 programs could contain malicious code. Therefore, root should not run programs installed
4154 by unprivileged users. Since root may often be working inside untrusted directories, the
4155 . character, which represents the current directory, should never be in the root path,
4156 nor should any directory which can be written to by an unprivileged or semi-privileged
4157 (system) user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4158 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4159 It is a good practice for administrators to always execute privileged
4160 commands by typing the full path to the command.</xccdf:description>
4161 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.a" selected="false" severity="medium" weight="10.0">
4162 <xccdf:title>Ensure that No Dangerous Directories Exist in Root's Path</xccdf:title>
4163 <xccdf:description>The PATH variable should be set correctly for user root</xccdf:description>
4164 <xccdf:ident system="http://cce.mitre.org">CCE-3301-9</xccdf:ident>
4165 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4166 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20085"/>
4167 </xccdf:check>
4168 </xccdf:Rule>
4169 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.b" selected="false" severity="medium" weight="10.0">
4170 <xccdf:title>Write permissions are disabled for group and other in all directories in Root's Path</xccdf:title>
4171 <xccdf:description>Check each directory in root's path and make use it does not grant write permission to group and other</xccdf:description>
4172 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4173 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200855"/>
4174 </xccdf:check>
4175 </xccdf:Rule>
4176 </xccdf:Group>
4177 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.2">
4178 <xccdf:title xml:lang="en">Ensure that User Home Directories are not Group-Writable or
4179 World-Readable</xccdf:title>
4180 <xccdf:description xml:lang="en">
4181 For each human user USER of the system, view the permissions of the
4182 user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4183 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4184 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER <xhtml:br/></xhtml:code>
4185 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4186 Ensure that the directory is not group-writable and that it is not world-readable. If
4187 necessary, repair the permissions:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4188 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4189 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod g-w /home/USER <xhtml:br/>
4190 # chmod o-rwx /home/USER <xhtml:br/></xhtml:code>
4191 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4192 User home directories contain many
4193 configuration files which affect the behavior of a user's account. No user should ever
4194 have write permission to another user's home directory. Group shared directories can be
4195 configured in subdirectories or elsewhere in the filesystem if they are needed.
4196 Typically, user home directories should not be world-readable. If a subset of users need
4197 read access to one another's home directories, this can be provided using groups.</xccdf:description>
4198 <xccdf:warning xml:lang="en">Sections 2.3.4.2–2.3.4.5 recommend modifying user home
4199 directories. Notify your user community, and solicit input if appropriate, before making
4200 this type of change. </xccdf:warning>
4201 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.2.a" selected="false" severity="medium" weight="10.0">
4202 <xccdf:title>Ensure that User Home Directories are not Group-Writable or World-Readable</xccdf:title>
4203 <xccdf:description>File permissions should be set correctly for the home directories for all user accounts.</xccdf:description>
4204 <xccdf:ident system="http://cce.mitre.org">CCE-4090-7</xccdf:ident>
4205 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4206 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20086"/>
4207 </xccdf:check>
4208 </xccdf:Rule>
4209 </xccdf:Group>
4210 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.3">
4211 <xccdf:title xml:lang="en">Ensure that User Dot-Files are not World-writable</xccdf:title>
4212 <xccdf:description xml:lang="en">
4213 For each human user USER of the system, view the permissions of
4214 all dot-files in the user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4215 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4216 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER /.[A-Za-z0-9]* <xhtml:br/></xhtml:code>
4217 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4218 Ensure that none of these files are group- or world-writable. Correct each misconfigured file
4219 FILE by executing: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4220 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4221 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod go-w /home/USER /FILE <xhtml:br/></xhtml:code>
4222 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4223 A user who can modify another user's configuration files can likely execute commands
4224 with the other user's privileges, including stealing data, destroying files, or
4225 launching further attacks on the system.</xccdf:description>
4226 </xccdf:Group>
4227 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.4">
4228 <xccdf:title xml:lang="en">Ensure that Users Have Sensible Umask Values</xccdf:title>
4229 <xccdf:description xml:lang="en">
4230 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4231 <xhtml:li>Edit the global configuration files /etc/bashrc and /etc/csh.cshrc.
4232 Add or correct the line: umask <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xhtml:li>
4233 <xhtml:li>View the additional configuration files /etc/csh.login and /etc/profile.d/*,
4234 and ensure that none of these files redefine the umask to a more permissive value
4235 unless there is a good reason for it.</xhtml:li>
4236 </xhtml:ol>
4237 With a default umask setting of 077, files and directories created by users will not be
4238 readable by any other user on the system. Users who wish to make specific files group-
4239 or world-readable can accomplish this using the chmod command. Additionally, users can
4240 make all their files readable to their group by default by setting a umask of 027 in
4241 their shell configuration files. If default per-user groups exist (that is, if every
4242 user has a default group whose name is the same as that user's username and whose only
4243 member is the user), then it may even be safe for users to select a umask of 007, making
4244 it very easy to intentionally share files with group s of which the user is a member. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4245 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4246 In addition, it may be necessary to change root's umask temporarily in order to install
4247 software or files which must be readable by other users, or to change the default umasks
4248 of certain service accounts such as the FTP user. However, setting a restrictive default
4249 protects the files of users who have not taken steps to make their files more available,
4250 and preventing files from being inadvertently shared.</xccdf:description>
4251 <xccdf:Value id="xccdf_cdf_value_var-2.3.4.4" operator="equals" type="string">
4252 <xccdf:title>Sensible umask</xccdf:title>
4253 <xccdf:description xml:lang="en">Enter default user umask</xccdf:description>
4254 <xccdf:question xml:lang="en">Enter default user umask</xccdf:question>
4255 <xccdf:value>002</xccdf:value>
4256 <xccdf:value selector="002">002</xccdf:value>
4257 <xccdf:value selector="007">007</xccdf:value>
4258 <xccdf:value selector="022">022</xccdf:value>
4259 <xccdf:value selector="027">027</xccdf:value>
4260 <xccdf:value selector="077">077</xccdf:value>
4261 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
4262 </xccdf:Value>
4263 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.a" selected="false" severity="medium" weight="10.0">
4264 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/bashrc</xccdf:title>
4265 <xccdf:description>The default umask for all users for the bash shell should be set to:
4266 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4267 <xccdf:ident system="http://cce.mitre.org">CCE-3844-8</xccdf:ident>
4268 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4269 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4270 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20087"/>
4271 </xccdf:check>
4272 </xccdf:Rule>
4273 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.b" selected="false" severity="medium" weight="10.0">
4274 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/csh.cshrc</xccdf:title>
4275 <xccdf:description>The default umask for all users for the csh shell should be set to:
4276 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4277 <xccdf:ident system="http://cce.mitre.org">CCE-4227-5</xccdf:ident>
4278 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4279 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4280 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20088"/>
4281 </xccdf:check>
4282 </xccdf:Rule>
4283 </xccdf:Group>
4284 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.5">
4285 <xccdf:title xml:lang="en">Ensure that Users do not Have .netrc Files</xccdf:title>
4286 <xccdf:description xml:lang="en">
4287 For each human user USER of the system, ensure that the user
4288 has no .netrc file. The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4290 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -l /home/USER /.netrc <xhtml:br/></xhtml:code>
4291 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4292 should return the error 'No such file or directory'. If any user has such a file,
4293 approach that user to discuss removing this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4294 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4295 The .netrc file is a configuration file used to make unattended
4296 logins to other systems via FTP. When this file exists, it frequently contains
4297 unencrypted passwords which may be used to attack other systems.</xccdf:description>
4298 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false" severity="medium" weight="10.0">
4299 <xccdf:title xml:lang="en">Check for existance of .netrc file</xccdf:title>
4300 <xccdf:description xml:lang="en">No user directory should contain file .netrc</xccdf:description>
4301 <xccdf:fix>rm .netrc</xccdf:fix>
4302 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4303 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20091"/>
4304 </xccdf:check>
4305 </xccdf:Rule>
4306 </xccdf:Group>
4307 </xccdf:Group>
4308 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5">
4309 <xccdf:title xml:lang="en">Protect Physical Console Access</xccdf:title>
4310 <xccdf:description xml:lang="en">
4311 It is impossible to fully protect a system from an attacker with
4312 physical access, so securing the space in which the system is located should be considered
4313 a necessary step. However, there are some steps which, if taken, make it more difficult
4314 for an attacker to quickly or undetectably modify a system from its console.</xccdf:description>
4315 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.1">
4316 <xccdf:title xml:lang="en">Set BIOS Password</xccdf:title>
4317 <xccdf:description xml:lang="en">
4318 The BIOS (on x86 systems) is the first code to execute during
4319 system startup and controls many important system parameters, including which devices
4320 the system will try to boot from, and in which order. Assign a password to prevent any
4321 unauthorized changes to the BIOS configuration. The exact steps will vary depending on
4322 your machine, but are likely to include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4323 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4324 <xhtml:li>Reboot the machine.</xhtml:li>
4325 <xhtml:li>Press the appropriate key during the initial boot screen (F2 is typical)</xhtml:li>
4326 <xhtml:li>Navigate the BIOS configuration menu to add a password.</xhtml:li>
4327 </xhtml:ol>
4328 The exact process will be system-specific and the system's
4329 hardware manual may provide detailed instructions. This password should prevent
4330 attackers with physical access from attempting to change important parameters, such as
4331 those described in Sections 2.5.2.2.1 and 2.2.2.2.4. However, an attacker with physical
4332 access can usually clear the BIOS password. The password should be written down and
4333 stored in a physically-secure location, such as a safe, in the event that it is
4334 forgotten and must be retrieved.</xccdf:description>
4335 </xccdf:Group>
4336 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.2">
4337 <xccdf:title xml:lang="en">Set Boot Loader Password</xccdf:title>
4338 <xccdf:description xml:lang="en">
4339 During the boot process, the boot loader is responsible for
4340 starting the execution of the kernel and passing options to it. The boot loader allows
4341 for the selection of different kernels – possibly on different partitions or media.
4342 Options it can pass to the kernel include 'single-user mode,' which provides root access
4343 without any authentication, and the ability to disable SELinux. To prevent local users
4344 from modifying the boot parameters and endangering security, the boot loader
4345 configuration should be protected with a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4346 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4347 The default Fedora boot loader for x86 systems is called GRUB. To protect its
4348 configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4349 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4350 <xhtml:li>Select a password and then generate a hash from it by running: <xhtml:br/>
4351 <xhtml:br/>
4352 <xhtml:code># grub-md5-crypt </xhtml:code> <xhtml:br/> <xhtml:br/> </xhtml:li>
4353 <xhtml:li>Insert the following line into /etc/grub.conf immediately after the header
4354 comments. (Use the output from grub-md5-crypt as the value of password-hash ): <xhtml:br/>
4355 <xhtml:br/>
4356 <xhtml:code>password --md5 password-hash </xhtml:code> <xhtml:br/> <xhtml:br/> </xhtml:li>
4357 <xhtml:li>Verify the permissions on /etc/grub.conf (which is a symlink to ../boot/grub/grub.conf):
4358 <xhtml:br/>
4359 <xhtml:br/>
4360 <xhtml:code># chown root:root /boot/grub/grub.conf <xhtml:br/>
4361 # chmod 600 /boot/grub/grub.conf</xhtml:code></xhtml:li>
4362 </xhtml:ol>
4363 Boot loaders for other platforms should offer a similar password protection feature.</xccdf:description>
4364 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.a" operator="equals" type="string">
4365 <xccdf:title>User that owns /boot/grub/grub.conf</xccdf:title>
4366 <xccdf:description xml:lang="en">Choose user that should own /boot/grub/grub.conf</xccdf:description>
4367 <xccdf:value>root</xccdf:value>
4368 <xccdf:value selector="root">root</xccdf:value>
4369 </xccdf:Value>
4370 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.b" operator="equals" type="string">
4371 <xccdf:title>Group that owns /boot/grub/grub.conf</xccdf:title>
4372 <xccdf:description xml:lang="en">Choose group that should own /boot/grub/grub.conf</xccdf:description>
4373 <xccdf:value>root</xccdf:value>
4374 <xccdf:value selector="root">root</xccdf:value>
4375 </xccdf:Value>
4376 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.c" operator="equals" type="string">
4377 <xccdf:title>permissions on /boot/grub/grub.conf</xccdf:title>
4378 <xccdf:description xml:lang="en">Choose file permissions on /boot/grub/grub.conf</xccdf:description>
4379 <xccdf:value>110000000</xccdf:value>
4380 <xccdf:value selector="600">110000000</xccdf:value>
4381 <xccdf:match>^[01]+$</xccdf:match>
4382 </xccdf:Value>
4383 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.a" selected="false" severity="medium" weight="10.0">
4384 <xccdf:title>Set Boot Loader user owner</xccdf:title>
4385 <xccdf:description>The /boot/grub/grub.conf file should be owned by root.</xccdf:description>
4386 <xccdf:ident system="http://cce.mitre.org">CCE-4144-2</xccdf:ident>
4387 <xccdf:fix>chown root /boot/grub/grub.conf</xccdf:fix>
4388 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4389 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20092" value-id="xccdf_cdf_value_var-2.3.5.2.a"/>
4390 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20092"/>
4391 </xccdf:check>
4392 </xccdf:Rule>
4393 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.b" selected="false" severity="medium" weight="10.0">
4394 <xccdf:title>Set Boot Loader group owner</xccdf:title>
4395 <xccdf:description>The /boot/grub/grub.conf file should be owned by group root.</xccdf:description>
4396 <xccdf:ident system="http://cce.mitre.org">CCE-4197-0</xccdf:ident>
4397 <xccdf:fix>chown :root /boot/grub/grub.conf</xccdf:fix>
4398 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4399 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20093" value-id="xccdf_cdf_value_var-2.3.5.2.b"/>
4400 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20093"/>
4401 </xccdf:check>
4402 </xccdf:Rule>
4403 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.c" selected="false" severity="medium" weight="10.0">
4404 <xccdf:title>Set permission on /boot/grub/grub.conf</xccdf:title>
4405 <xccdf:description>File permissions for /boot/grub/grub.conf should be set correctly.</xccdf:description>
4406 <xccdf:ident system="http://cce.mitre.org">CCE-3923-0</xccdf:ident>
4407 <xccdf:fix>chmod 600 /boot/grub/grub.conf</xccdf:fix>
4408 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4409 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20094" value-id="xccdf_cdf_value_var-2.3.5.2.c"/>
4410 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20094"/>
4411 </xccdf:check>
4412 </xccdf:Rule>
4413 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false" severity="high" weight="10.0">
4414 <xccdf:title>Set Boot Loader Password</xccdf:title>
4415 <xccdf:description>The grub boot loader should have password protection enabled</xccdf:description>
4416 <xccdf:ident system="http://cce.mitre.org">CCE-3818-2</xccdf:ident>
4417 <xccdf:fixtext>Edit /boot/grub/grub.conf</xccdf:fixtext>
4418 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4419 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20095"/>
4420 </xccdf:check>
4421 </xccdf:Rule>
4422 </xccdf:Group>
4423 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.3">
4424 <xccdf:title xml:lang="en">Require Authentication for Single-User Mode</xccdf:title>
4425 <xccdf:description xml:lang="en">
4426 Single-user mode is intended as a system recovery method,
4427 providing a single user root access to the system by providing a boot option at startup.
4428 By default, no authentication is performed if single-user mode is selected. This
4429 provides a trivial mechanism of bypassing security on the machine and gaining root
4430 access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4431 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4432 To require entry of the root password even if the system is started in
4433 single-user mode, add the following line to the /etc/inittab file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4435 ~~:S:wait:/sbin/sulogin</xccdf:description>
4436 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false" severity="medium" weight="10.0">
4437 <xccdf:title>Require Authentication for Single-User Mode</xccdf:title>
4438 <xccdf:description>The requirement for a password to boot into single-user mode should be enabled.</xccdf:description>
4439 <xccdf:ident system="http://cce.mitre.org">CCE-4241-6</xccdf:ident>
4440 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
4441 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4442 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20096"/>
4443 </xccdf:check>
4444 </xccdf:Rule>
4445 </xccdf:Group>
4446 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.4">
4447 <xccdf:title xml:lang="en">Disable Interactive Boot</xccdf:title>
4448 <xccdf:description xml:lang="en">
4449 Edit the file /etc/sysconfig/init. Add or correct the setting:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4450 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4451 PROMPT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4452 The PROMPT option allows the console user to perform an interactive system
4453 startup, in which it is possible to select the set of services which are started on
4454 boot. Using interactive boot, the console user could disable auditing, firewalls, or
4455 other services, weakening system security.</xccdf:description>
4456 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false" severity="medium" weight="10.0">
4457 <xccdf:title>Disable Interactive Boot</xccdf:title>
4458 <xccdf:description>The ability for users to perform interactive startups should be disabled.</xccdf:description>
4459 <xccdf:ident system="http://cce.mitre.org">CCE-4245-7</xccdf:ident>
4460 <xccdf:fixtext>(1) via /etc/sysconfig/init</xccdf:fixtext>
4461 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4462 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20097"/>
4463 </xccdf:check>
4464 </xccdf:Rule>
4465 </xccdf:Group>
4466 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.5">
4467 <xccdf:title xml:lang="en">Implement Inactivity Time-out for Login Shells</xccdf:title>
4468 <xccdf:description xml:lang="en">
4469 If the system does not run X Windows, then the login shells can
4470 be configured to automatically log users out after a period of inactivity. The following
4471 instructions are not practical for systems which run X Windows, as they will close
4472 terminal windows in the X environment. For information on how to automatically lock
4473 those systems, see Section 2.3.5.6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4474 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4475 To implement a 15-minute idle time-out for the
4476 default /bin/bash shell, create a new file tmout.sh in the directory /etc/profile.d with
4477 the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4478 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4479 TMOUT=900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4480 readonly TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4481 export TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4482 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4483 To implement a 15-minute idle
4484 time-out for the tcsh shell, create a new file autologout.csh in the directory
4485 /etc/profile.d with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4486 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4487 set -r autologout 15 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4488 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4489 Similar actions should be taken for any other login shells used. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4490 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4491 The example time-out here of 15 minutes should be
4492 adjusted to whatever your security policy requires. The readonly line for bash and the
4493 -r option for tcsh can be omitted if policy allows users to override the value. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4494 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4495 The automatic shell logout only occurs when the shell is the foreground process. If, for
4496 example, a vi session is left idle, then automatic logout would not occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4497 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4498 When logging in through a remote connection, as with SSH, it may be more effective to set
4499 the timeout value directly through that service. To learn how to set automatic timeout
4500 intervals for SSH, see Section 3.5.2.3.</xccdf:description>
4501 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.5" operator="equals" type="string">
4502 <xccdf:title>Inactivity timout</xccdf:title>
4503 <xccdf:description xml:lang="en">Choose allowed duration of inactive SSH connections, shells, and X sessions</xccdf:description>
4504 <xccdf:question xml:lang="en">Choose allowed duration of inactive SSH connections, shells and X sessions in minutes</xccdf:question>
4505 <xccdf:value>15</xccdf:value>
4506 <xccdf:value selector="0_minutes">0</xccdf:value>
4507 <xccdf:value selector="10_minutes">10</xccdf:value>
4508 <xccdf:value selector="15_minutes">15</xccdf:value>
4509 <xccdf:match>^[\d]+$</xccdf:match>
4510 </xccdf:Value>
4511 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false" severity="medium" weight="10.0">
4512 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4513 <xccdf:description>The idle time-out value for the default /bin/tcsh shell should be:
4514 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4515 <xccdf:ident system="http://cce.mitre.org">CCE-3689-7</xccdf:ident>
4516 <xccdf:fixtext>(1) via /etc/profile.d/autologout.csh</xccdf:fixtext>
4517 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4518 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4519 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20098"/>
4520 </xccdf:check>
4521 </xccdf:Rule>
4522 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false" severity="medium" weight="10.0">
4523 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4524 <xccdf:description>The idle time-out value for the default /bin/bash shell should be:
4525 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4526 <xccdf:warning xml:lang="en">Time out is in seconds</xccdf:warning>
4527 <xccdf:ident system="http://cce.mitre.org">CCE-3707-7</xccdf:ident>
4528 <xccdf:fixtext>(1) via /etc/profile.d/tmout.sh</xccdf:fixtext>
4529 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4530 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20099" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4531 <!-- turn minutes into seconds -->
4532 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20099"/>
4533 </xccdf:check>
4534 </xccdf:Rule>
4535 </xccdf:Group>
4536 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6">
4537 <xccdf:title xml:lang="en">Configure Screen Locking</xccdf:title>
4538 <xccdf:description xml:lang="en">
4539 When a user must temporarily leave an account logged-in, screen
4540 locking should be employed to prevent passersby from abusing the account. User education
4541 and training is particularly important for screen locking to be effective. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4542 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4543 A policy should be implemented that trains all users to lock the screen when they plan to
4544 temporarily step away from a logged-in account. Automatic screen locking is only meant
4545 as a safeguard for those cases where a user forgot to lock the screen.</xccdf:description>
4546 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.1">
4547 <xccdf:title xml:lang="en">Configure GUI Screen Locking</xccdf:title>
4548 <xccdf:description xml:lang="en">
4549 In the default GNOME desktop, the screen can be locked by
4550 choosing Lock Screen from the System menu. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4551 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4552 The gconftool-2 program can be used to
4553 enforce mandatory screen locking settings for the default GNOME environment. Run the
4554 following commands to enforce idle activation of the screen saver, screen locking, a
4555 blank-screen screensaver, and 15-minute idle activation time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4556 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:code>
4557 # gconftool-2 --direct \
4558 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4559 --type bool \
4560 --set /apps/gnome-screensaver/idle_activation_enabled true
4561 # gconftool-2 --direct \
4562 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4563 --type bool \
4564 --set /apps/gnome-screensaver/lock_enabled true
4565 # gconftool-2 --direct \
4566 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4567 --type string \
4568 --set /apps/gnome-screensaver/mode blank-only
4569 # gconftool-2 --direct \
4570 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4571 --type int \
4572 --set /apps/gnome-screensaver/idle_delay 15
4573 </xhtml:code></xhtml:pre>
4574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4575 The default setting of 15 minutes for idle
4576 activation is reasonable for many office environments, but the setting should conform
4577 to whatever policy is defined. The screensaver mode blank-only is selected to conceal
4578 the contents of the display from passersby. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4579 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4580 Because users should be trained to lock
4581 the screen when they step away from the computer, the automatic locking feature is
4582 only meant as a backup. The Lock Screen icon from the System menu can also be dragged
4583 to the taskbar in order to facilitate even more convenient screen-locking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4585 The root
4586 account cannot be screen-locked, but this should have no practical effect as the root
4587 account should never be used to log into an X Windows environment, and should only be
4588 used to for direct login via console in emergency circumstances. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4589 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4590 For more information
4591 about configuring GNOME screensaver, see http://live.gnome.org/GnomeScreensaver. For
4592 more information about enforcing preferences in the GNOME environment using the GConf
4593 configuration system, see http://www.gnome.org/projects/gconf and the man page
4594 gconftool-2(1).</xccdf:description>
4595 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false" severity="medium" weight="10.0">
4596 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4597 <xccdf:description>The idle time-out value for period of inactivity gnome desktop lockout should be 15 minutes</xccdf:description>
4598 <xccdf:ident system="http://cce.mitre.org">CCE-3315-9</xccdf:ident>
4599 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4600 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4601 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4602 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20100"/>
4603 </xccdf:check>
4604 </xccdf:Rule>
4605 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false" severity="medium" weight="10.0">
4606 <xccdf:title>Implement idle activation of screen saver</xccdf:title>
4607 <xccdf:description>Idle activation of the screen saver should be enabled</xccdf:description>
4608 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4609 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4610 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201005"/>
4611 </xccdf:check>
4612 </xccdf:Rule>
4613 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false" severity="medium" weight="10.0">
4614 <xccdf:title>Implement idle activation of screen lock</xccdf:title>
4615 <xccdf:description>Idle activation of the screen lock should be enabled</xccdf:description>
4616 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4617 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4618 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201006"/>
4619 </xccdf:check>
4620 </xccdf:Rule>
4621 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false" severity="medium" weight="10.0">
4622 <xccdf:title>Implement blank screen saver</xccdf:title>
4623 <xccdf:description>The screen saver should be blank</xccdf:description>
4624 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4625 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4626 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201007"/>
4627 </xccdf:check>
4628 </xccdf:Rule>
4629 </xccdf:Group>
4630 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.2">
4631 <xccdf:title xml:lang="en">Configure Console Screen Locking</xccdf:title>
4632 <xccdf:description xml:lang="en">
4633 A console screen locking mechanism is provided in the vlock
4634 package, which is not installed by default. If the ability to lock console screens is
4635 necessary, install the vlock package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4636 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4637 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install vlock <xhtml:br/></xhtml:code>
4638 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4639 Instruct users to invoke the
4640 program when necessary, in order to prevent passersby from abusing their login: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4641 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ vlock <xhtml:br/></xhtml:code>
4642 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4643 The -a option can be used to prevent switching to other virtual consoles.</xccdf:description>
4644 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false" severity="medium" weight="10.0">
4645 <xccdf:title>Configure console screen locking</xccdf:title>
4646 <xccdf:description>The vlock package should be installed</xccdf:description>
4647 <xccdf:ident system="http://cce.mitre.org">CCE-3910-7</xccdf:ident>
4648 <xccdf:fix>yum install vlock</xccdf:fix>
4649 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4650 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20101"/>
4651 </xccdf:check>
4652 </xccdf:Rule>
4653 </xccdf:Group>
4654 </xccdf:Group>
4655 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.7">
4656 <xccdf:title xml:lang="en">Disable Unnecessary Ports</xccdf:title>
4657 <xccdf:description xml:lang="en">
4658 Though unusual, some systems may be managed only remotely and yet
4659 also exposed to risk from attackers with direct physical access to them. In these cases,
4660 reduce an attacker’s access to the system by disabling unnecessary external ports (e.g.
4661 USB, FireWire, NIC) in the system’s BIOS.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4662 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4663 Disable ports on the system which are not necessary for normal system operation. The exact
4664 steps will vary depending on your machine, but are likely to include:
4665 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4666 <xhtml:li>Reboot the machine.</xhtml:li>
4667 <xhtml:li>Press the appropriate key during the initial boot screen (F2 is typical). </xhtml:li>
4668 <xhtml:li>Navigate the BIOS conguration menu to disable ports, such as USB, FireWire, and NIC.</xhtml:li>
4669 </xhtml:ol>
4670 </xccdf:description>
4671 <xccdf:warning xml:lang="en">Disabling USB ports is particularly unusual and will cause problems
4672 for important input devices such as keyboards or mice attached to the system.</xccdf:warning>
4673 </xccdf:Group>
4674 </xccdf:Group>
4675 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.6">
4676 <xccdf:title xml:lang="en">Use a Centralized Authentication Service</xccdf:title>
4677 <xccdf:description xml:lang="en">
4678 A centralized authentication service is any method of maintaining
4679 central control over account and authentication data and of keeping this data synchronized
4680 between machines. Such services can range in complexity from a script which pushes
4681 centrally-generated password files out to all machines, to a managed scheme such as LDAP
4682 or Kerberos. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4684 If authentication information is not centrally managed, it quickly becomes
4685 inconsistent, leading to out-of-date credentials and forgotten accounts which should have
4686 been deleted. In addition, many older protocols (such as NFS) make use of the UID to
4687 identify users over a network. This is not a good practice, and these protocols should be
4688 avoided if possible. However, since most sites must still make use of some older
4689 protocols, having consistent UIDs and GIDs site-wide is a significant benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4690 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4691 Centralized
4692 authentication services do have the disadvantage that authentication information must be
4693 transmitted over a network, leading to a risk that credentials may be intercepted or
4694 manipulated. Therefore, these services must be deployed carefully. The following
4695 precautions should be taken when configuring any authentication service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4696 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
4697 <xhtml:li>Ensure that authentication information and any sensitive account information
4698 are never sent over the network unencrypted.</xhtml:li>
4699 <xhtml:li>Ensure that the root account has a local password, to allow recovery in case
4700 of network outage or authentication server failure.</xhtml:li>
4701 </xhtml:ul>
4702 This guide recommends
4703 the use of LDAP. Secure configuration of OpenLDAP for clients and servers is described in
4704 Section 3.12. Kerberos is also a good choice for a centralized authentication service, but
4705 a description of its configuration is beyond the scope of this guide. The NIS service is
4706 not recommended, and should be considered obsolete. (See Section 3.2.4.)</xccdf:description>
4707 </xccdf:Group>
4708 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7">
4709 <xccdf:title xml:lang="en">Warning Banners for System Accesses</xccdf:title>
4710 <xccdf:description xml:lang="en">
4711 Each system should expose as little information about itself as
4712 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4713 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4714 System banners, which are typically displayed just before a login prompt, give
4715 out information about the service or the host's operating system. This might include the
4716 distribution name and the system kernel version, and the particular version of a network
4717 service. This information can assist intruders in gaining access to the system as it can
4718 reveal whether the system is running vulnerable software. Most network services can be
4719 configured to limit what information is displayed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4720 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4721 Many organizations implement security
4722 policies that require a system banner provide notice of the system's ownership, provide
4723 warning to unauthorized users, and remind authorized users of their consent to monitoring.</xccdf:description>
4724 <xccdf:Value id="xccdf_cdf_value_var-2.3.7" operator="equals" type="string">
4725 <xccdf:title>login banner verbiage</xccdf:title>
4726 <xccdf:description xml:lang="en">Enter an appropriate login banner for your organization</xccdf:description>
4727 <xccdf:question xml:lang="en">Enter an appropriate login banner for your organization</xccdf:question>
4728 <xccdf:value/>
4729 <xccdf:value selector="Empty_text"/>
4730 </xccdf:Value>
4731 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.1">
4732 <xccdf:title xml:lang="en">Modify the System Login Banner</xccdf:title>
4733 <xccdf:description xml:lang="en">
4734 The contents of the file /etc/issue are displayed on the screen
4735 just above the login prompt for users logging directly into a terminal. Remote login
4736 programs such as SSH or FTP can be configured to display /etc/issue as well.
4737 Instructions for configuring each server daemon to show this file can be found in the
4738 relevant sections of Chapter 3. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4739 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4740 By default, the system will display the version of the
4741 OS, the kernel version, and the host name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4742 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4743 Edit /etc/issue. Replace the default text
4744 with a message compliant with the local site policy or a legal disclaimer.</xccdf:description>
4745 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false" severity="medium" weight="10.0">
4746 <xccdf:title>Modify the System Login Banner</xccdf:title>
4747 <xccdf:description>The system login banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4748 <xccdf:ident system="http://cce.mitre.org">CCE-4060-0</xccdf:ident>
4749 <xccdf:fixtext>Take value of DOD_text and put it in /etc/issue</xccdf:fixtext>
4750 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4751 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4752 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20102"/>
4753 <!-- TBD -->
4754 </xccdf:check>
4755 </xccdf:Rule>
4756 </xccdf:Group>
4757 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.2">
4758 <xccdf:title xml:lang="en">Implement a GUI Warning Banner</xccdf:title>
4759 <xccdf:description xml:lang="en">
4760 In the default graphical environment, users logging directly
4761 into the system are greeted with a login screen provided by the GNOME display manager.
4762 The warning banner should be displayed in this graphical environment for these
4763 users.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4765 The files for the default RHEL theme can be found in
4766 /usr/share/gdm/themes/RHEL. Add the following sample block of XML to
4767 /usr/share/gdm/themes/RHEL/RHEL.xml after the first two "pixmap"
4768 entries:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4769 <xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml">
4770 &lt;item type="rect"&gt;
4771 &lt;pos anchor="n" x="50%" y="10" width="box" height="box"/&gt;
4772 &lt;box&gt;
4773 &lt;item type="label"&gt;
4774 &lt;normal font="Sans 14" color="#ffffff"/&gt;
4775 &lt;text&gt;Insert the text of your warning banner here.&lt;/text&gt;
4776 &lt;/item&gt;
4777 &lt;/box&gt;
4778 &lt;/item&gt;
4779 </xhtml:pre>
4780 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4781 The
4782 full syntax that GDM theme files expect is documented elsewhere, but the above XML will
4783 create a text box centered at the top of the screen. The font, text color, and exact
4784 positioning can all be easily modified by editing the appropriate values. The latest
4785 current GDM theme manual can be found at http://www.gnome.org/
4786 projects/gdm/docs/thememanual.html.
4787 </xccdf:description>
4788 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false" severity="medium" weight="10.0">
4789 <xccdf:title>Implement a GUI Warning Banner</xccdf:title>
4790 <xccdf:description>The direct gnome login warning banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4791 <xccdf:ident system="http://cce.mitre.org">CCE-4188-9</xccdf:ident>
4792 <xccdf:fixtext>(1) via RHEL.xml</xccdf:fixtext>
4793 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4794 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4795 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20103"/>
4796 <!-- TBD -->
4797 </xccdf:check>
4798 </xccdf:Rule>
4799 </xccdf:Group>
4800 </xccdf:Group>
4801 </xccdf:Group>
4802 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4">
4803 <xccdf:title xml:lang="en">SELinux</xccdf:title>
4804 <xccdf:description xml:lang="en">
4805 SELinux is a feature of the Linux kernel which can be used to guard
4806 against misconfigured or compromised programs. SELinux enforces the idea that programs
4807 should be limited in what files they can access and what actions they can take. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4808 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4809 The default
4810 SELinux policy, as configured on RHEL5, has been sufficiently developed and debugged that it
4811 should be usable on almost any Red Hat machine with minimal configuration and a small amount
4812 of system administrator training. This policy prevents system services — including most of
4813 the common network-visible services such as mail servers, ftp servers, and DNS servers —
4814 from accessing files which those services have no valid reason to access. This action alone
4815 prevents a huge amount of possible damage from network attacks against services, from
4816 trojaned software, and so forth. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4817 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4818 This guide recommends that SELinux be enabled using the
4819 default (targeted) policy on every Red Hat system, unless that system has requirements which
4820 make a stronger policy appropriate.</xccdf:description>
4821 <xccdf:reference>Frank Mayer, K. M., and Caplan, D. SELinux by Example: Using Security Enhanced Linux</xccdf:reference>
4822 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.1">
4823 <xccdf:title xml:lang="en">How SELinux Works</xccdf:title>
4824 <xccdf:description xml:lang="en">
4825 In the traditional Linux/Unix security model, known as
4826 Discretionary Access Control (DAC), processes run under a user and group identity, and
4827 enjoy that user and group's access rights to all files and other objects on the system.
4828 This system brings with it a number of security problems, most notably: that processes
4829 frequently do not need and should not have the full rights of the user who ran them; that
4830 user and group access rights are not very granular, and may require administrators to
4831 allow too much access in order to allow the access that is needed; that the Unix
4832 filesystem contains many resources (such as temporary directories and world-readable
4833 files) which are accessible to users who have no legitimate reason to access them; and
4834 that legitimate users can easily provide open access to their own resources through
4835 confusion or carelessness. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4836 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4837 SELinux provides a Mandatory Access Control (MAC) system that
4838 greatly augments the DAC model. Under SELinux, every process and every object (e.g. file,
4839 socket, pipe) on the system is given a security context, a label which include detailed
4840 type information about the object. The kernel allows processes to access objects only if
4841 that access is explicitly allowed by the policy in effect. The policy defines transitions,
4842 so that a user can be allowed to run software, but the software can run under a different
4843 context than the user's default. This automatically limits the damage that the software
4844 can do to files accessible by the calling user — the user does not need to take any action
4845 to gain this benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4847 For an action to occur, both the traditional DAC permissions must be
4848 satisifed as well as SELinux's MAC rules. If either do not permit the action, then it will
4849 not be allowed. In this way, SELinux rules can only make a system's permissions more
4850 restrictive and secure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4851 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4852 SELinux requires a complex policy in order to allow all the
4853 actions required of a system under normal operation. Three such policies have been
4854 designed for use with RHEL5, and are included with the system. In increasing order of
4855 power and complexity, they are: targeted, strict, and mls. The targeted SELinux policy
4856 consists mostly of Type Enforcement (TE) rules, and a small number of Role-Based Access
4857 Control (RBAC) rules. It restricts the actions of many types of programs, but leaves
4858 interactive users largely unaffected. The strict policy also uses TE and RBAC rules, but
4859 on more programs and more aggressively. The mls policy implements Multi-Level Security
4860 (MLS), which introduces even more kinds of labels — sensitivity and category — and rules
4861 that govern access based on these. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4862 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4863 The remainder of this section provides guidance for the
4864 configuration of the targeted policy and the administration of systems under this policy.
4865 Some pointers will be provided for readers who are interested in further strengthening
4866 their systems by using one of the stricter policies provided with RHEL5 or in writing
4867 their own policy.</xccdf:description>
4868 </xccdf:Group>
4869 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2">
4870 <xccdf:title xml:lang="en">Enable SELinux</xccdf:title>
4871 <xccdf:description xml:lang="en">
4872 Edit the file /etc/selinux/config. Add or correct the following
4873 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4874 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4875 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUX=enforcing <xhtml:br/>
4876 SELINUXTYPE=targeted <xhtml:br/></xhtml:code>
4877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4878 Edit the file /etc/grub.conf. Ensure that
4879 the following arguments DO NOT appear on any kernel command line in the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4880 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4881 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">selinux=0 <xhtml:br/>
4882 enforcing=0 <xhtml:br/></xhtml:code>
4883 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4884 The directive SELINUX=enforcing enables SELinux at boot time. If SELinux is
4885 causing a lot of problems or preventing the system from booting, it is possible to boot
4886 into the warning-only mode SELINUX=permissive for debugging purposes. Make certain to
4887 change the mode back to enforcing after debugging, set the filesystems to be relabelled
4888 for consistency using the command touch /.autorelabel, and reboot. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4889 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4890 However, the RHEL5
4891 default SELinux configuration should be sufficiently reasonable that most systems will
4892 boot without serious problems. Some applications that require deep or unusual system
4893 privileges, such as virtual machine software, may not be compatible with SELinux in its
4894 default configuration. However, this should be uncommon, and SELinux's application support
4895 continues to improve. In other cases, SELinux may reveal unusual or insecure program
4896 behavior by design. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4898 The directive SELINUXTYPE=targeted configures SELinux to use the
4899 default targeted policy. See Section 2.4.6 if a stricter policy is appropriate for your
4900 site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4902 The SELinux boot mode specified in /etc/selinux/config can be overridden by
4903 command-line arguments passed to the kernel. It is necessary to check grub.conf to ensure
4904 that this has not been done and to protect the bootloader as described in Section 2.3.5.2.</xccdf:description>
4905 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.c" operator="equals" type="string">
4906 <xccdf:title>SELinux state</xccdf:title>
4907 <xccdf:description xml:lang="en">
4908 enforcing - SELinux security policy is enforced. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4909 permissive - SELinux prints warnings instead of enforcing.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4910 disabled - SELinux is fully disabled.
4911 </xccdf:description>
4912 <xccdf:question xml:lang="en">Set the SELinux state</xccdf:question>
4913 <xccdf:value>enforcing</xccdf:value>
4914 <xccdf:value selector="enforcing">enforcing</xccdf:value>
4915 <xccdf:value selector="permissive">permissive</xccdf:value>
4916 <xccdf:value selector="disabled">disabled</xccdf:value>
4917 <xccdf:match>enforcing|permissive|disabled</xccdf:match>
4918 <xccdf:choices mustMatch="1">
4919 <xccdf:choice>enforcing</xccdf:choice>
4920 <xccdf:choice>permissive</xccdf:choice>
4921 <xccdf:choice>disabled</xccdf:choice>
4922 </xccdf:choices>
4923 </xccdf:Value>
4924 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.d" operator="equals" type="string">
4925 <xccdf:title>SELinux policy</xccdf:title>
4926 <xccdf:description xml:lang="en">
4927 Type of policy in use. Possible values are:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4928 targeted - Only targeted network daemons are protected.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4929 strict - Full SELinux protection.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4930 mls - Multiple levels of security</xccdf:description>
4931 <xccdf:question xml:lang="en">Set the SELinux policy</xccdf:question>
4932 <xccdf:value>targeted</xccdf:value>
4933 <xccdf:value selector="targeted">targeted</xccdf:value>
4934 <xccdf:value selector="strict">strict</xccdf:value>
4935 <xccdf:value selector="mls">mls</xccdf:value>
4936 <xccdf:match>targeted|strict|mls</xccdf:match>
4937 <xccdf:choices mustMatch="1">
4938 <xccdf:choice>targeted</xccdf:choice>
4939 <xccdf:choice>strict</xccdf:choice>
4940 <xccdf:choice>mls</xccdf:choice>
4941 </xccdf:choices>
4942 </xccdf:Value>
4943 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2.1">
4944 <xccdf:title xml:lang="en">Ensure SELinux is Properly Enabled</xccdf:title>
4945 <xccdf:description xml:lang="en">
4946 Run the command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4948 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ /usr/sbin/sestatus<xhtml:br/></xhtml:code>
4949 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4950 If the system is properly configured, the output should indicate:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4951 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
4952 <xhtml:li>SELinux status: enabled</xhtml:li>
4953 <xhtml:li>Current mode: enforcing</xhtml:li>
4954 <xhtml:li>Mode from config file: enforcing</xhtml:li>
4955 <xhtml:li>Policy from config file: targeted</xhtml:li>
4956 </xhtml:ul></xccdf:description>
4957 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false" severity="medium" weight="10.0">
4958 <xccdf:title>Ensure SELinux is Properly Enabled</xccdf:title>
4959 <xccdf:description>Check output of /usr/sbin/sestatus</xccdf:description>
4960 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4961 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201035"/>
4962 </xccdf:check>
4963 </xccdf:Rule>
4964 </xccdf:Group>
4965 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.a" selected="false" severity="medium" weight="10.0">
4966 <xccdf:title>Enable SELinux in /etc/grub.conf</xccdf:title>
4967 <xccdf:description>SELinux should NOT be disabled in /etc/grub.conf. Check that selinux=0 is not found</xccdf:description>
4968 <xccdf:ident system="http://cce.mitre.org">CCE-3977-6</xccdf:ident>
4969 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4970 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4971 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20104"/>
4972 </xccdf:check>
4973 </xccdf:Rule>
4974 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.b" selected="false" severity="medium" weight="10.0">
4975 <xccdf:title>Enable SELinux enforcement in /etc/grub.conf</xccdf:title>
4976 <xccdf:description>SELinux enforcement should NOT be disabled in /etc/grub.conf. Check that enforcing=0 is not found.</xccdf:description>
4977 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4978 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4979 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20105"/>
4980 </xccdf:check>
4981 </xccdf:Rule>
4982 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.c" selected="false" severity="medium" weight="10.0">
4983 <xccdf:title>Set the SELinux state</xccdf:title>
4984 <xccdf:description>The SELinux state should be: <xccdf:sub idref="xccdf_cdf_value_var-2.4.2.c"/></xccdf:description>
4985 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4986 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4987 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20106" value-id="xccdf_cdf_value_var-2.4.2.c"/>
4988 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20106"/>
4989 <!-- TBD -->
4990 </xccdf:check>
4991 </xccdf:Rule>
4992 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.d" selected="false" severity="medium" weight="10.0">
4993 <xccdf:title>Set the SELinux policy</xccdf:title>
4994 <xccdf:description>The SELinux policy should be set appropriately.</xccdf:description>
4995 <xccdf:ident system="http://cce.mitre.org">CCE-3624-4</xccdf:ident>
4996 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4997 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4998 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20107" value-id="xccdf_cdf_value_var-2.4.2.d"/>
4999 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20107"/>
5000 </xccdf:check>
5001 </xccdf:Rule>
5002 </xccdf:Group>
5003 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3">
5004 <xccdf:title xml:lang="en">Disable Unnecessary SELinux Daemons</xccdf:title>
5005 <xccdf:description xml:lang="en">
5006 Several daemons are installed by default as part of the RHEL5
5007 SELinux support mechanism. These daemons may improve the system's ability to enforce
5008 SELinux policy in a useful fashion, but may also represent unnecessary code running on the
5009 machine, increasing system risk. If these daemons are not needed on your system, they
5010 should be disabled.</xccdf:description>
5011 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.1">
5012 <xccdf:title xml:lang="en">Disable and Remove SETroubleshoot if Possible</xccdf:title>
5013 <xccdf:description xml:lang="en">
5014 Is there a mission-critical reason to allow users to view
5015 SELinux denial information using the sealert GUI? If not, disable the service and remove
5016 the RPM: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5017 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5018 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig setroubleshoot off <xhtml:br/>
5019 # yum erase setroubleshoot <xhtml:br/></xhtml:code>
5020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5021 The setroubleshoot
5022 service is a facility for notifying the desktop user of SELinux denials in a
5023 user-friendly fashion. SELinux errors may provide important information about intrusion
5024 attempts in progress, or may give information about SELinux configuration problems which
5025 are preventing correct system operation. In order to maintain a secure and usable
5026 SELinux installation, error logging and notification is necessary. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5027 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5028 However,
5029 setroubleshoot is a service which has complex functionality, which runs a daemon and
5030 uses IPC to distribute information which may be sensitive, or even to allow users to
5031 modify SELinux settings, and which does not yet implement real authentication
5032 mechanisms. This guide recommends disabling setroubleshoot and using the kernel audit
5033 functionality to monitor SELinux's behavior. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5034 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5035 In addition, since setroubleshoot
5036 automatically runs client-side code whenever a denial occurs, regardless of whether the
5037 setroubleshootd daemon is running, it is recommended that the program be removed
5038 entirely unless it is needed.</xccdf:description>
5039 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.a" selected="false" weight="10.0">
5040 <xccdf:title>Remove SETroubleshoot if Possible</xccdf:title>
5041 <xccdf:description>The setroubleshoot package should be uninstalled.</xccdf:description>
5042 <xccdf:ident system="http://cce.mitre.org">CCE-4148-3</xccdf:ident>
5043 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
5044 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5045 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20108"/>
5046 </xccdf:check>
5047 </xccdf:Rule>
5048 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.b" selected="false" severity="low" weight="10.0">
5049 <xccdf:title>Disable SETroubleshoot if Possible</xccdf:title>
5050 <xccdf:description>The setroubleshoot service should be disabled.</xccdf:description>
5051 <xccdf:ident system="http://cce.mitre.org">CCE-4254-9</xccdf:ident>
5052 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5053 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5054 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20109"/>
5055 </xccdf:check>
5056 </xccdf:Rule>
5057 </xccdf:Group>
5058 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.2">
5059 <xccdf:title xml:lang="en">Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
5060 <xccdf:description xml:lang="en">
5061 Unless there is some overriding need for the convenience of
5062 category label translation, disable the MCS translation service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5063 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5064 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mcstrans off <xhtml:br/></xhtml:code>
5065 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5066 The mcstransd daemon provides the category label translation information defined in
5067 /etc/selinux/targeted/ setrans.conf to client processes which request this information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5068 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5069 Category labelling is unlikely to be used except in sites with special requirements.
5070 Therefore, it should be disabled in order to reduce the amount of potentially vulnerable
5071 code running on the system. See Section 2.4.6 for more information about systems which
5072 use category labelling.</xccdf:description>
5073 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false" severity="low" weight="10.0">
5074 <xccdf:title>Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
5075 <xccdf:description>The mcstrans service should be disabled.</xccdf:description>
5076 <xccdf:ident system="http://cce.mitre.org">CCE-3668-1</xccdf:ident>
5077 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5078 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5079 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20110"/>
5080 </xccdf:check>
5081 </xccdf:Rule>
5082 </xccdf:Group>
5083 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.3">
5084 <xccdf:title xml:lang="en">Restorecon Service (restorecond)</xccdf:title>
5085 <xccdf:description xml:lang="en">
5086 The restorecond daemon monitors a list of files which are
5087 frequently created or modified on running systems, and whose SELinux contexts are not
5088 set correctly. It looks for creation events related to files listed in /etc/
5089 selinux/restorecond.conf, and sets the contexts of those files when they are discovered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5090 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5091 The restorecond program is fairly simple, so it brings low risk, but, in its default
5092 configuration, does not add much value to a system. An automated program such as
5093 restorecond may be used to monitor problematic files for context problems, or system
5094 administrators may be trained to check file contexts of newly-created files using the
5095 command ls -lZ, and to repair contexts manually using the restorecon command. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5096 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5097 This guide
5098 makes no recommendation either for or against the use of restorecond.</xccdf:description>
5099 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false" severity="low" weight="10.0">
5100 <xccdf:title>Disable restorecon Service (restorecond)</xccdf:title>
5101 <xccdf:description>The restorecond service should be disabled.</xccdf:description>
5102 <xccdf:ident system="http://cce.mitre.org">CCE-4129-3</xccdf:ident>
5103 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5104 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5105 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20111"/>
5106 </xccdf:check>
5107 </xccdf:Rule>
5108 </xccdf:Group>
5109 </xccdf:Group>
5110 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.4">
5111 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
5112 <xccdf:description xml:lang="en">
5113 Daemons that SELinux policy does not know about will inherit the
5114 context of the parent process. Because daemons are launched during startup and descend
5115 from the init process, they inherit the initrc t context. This is a problem because it may
5116 cause AVC denials, or it could allow privileges that the daemon does not require. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5117 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5118 To check for unconfined daemons, run the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5120 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ps -eZ | egrep "initrc" | egrep -vw "tr|ps|egrep|bash|awk" | tr ':' ' ' | awk '{ print $NF }'<xhtml:br/></xhtml:code>
5121 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5122 It should produce no output in a well-configured system.</xccdf:description>
5123 </xccdf:Group>
5124 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.5">
5125 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
5126 <xccdf:description xml:lang="en">
5127 Device files are used for communication with important system
5128 resources. SELinux contexts should exist for these. If a device file is not labeled, then
5129 misconfiguration is likely.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5130 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5131 To check for unlabeled device files, run the following command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5132 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z | grep unlabeled_t<xhtml:br/></xhtml:code>
5133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5134 It should produce no output in a well-configured system.</xccdf:description>
5135 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.5.a" selected="false" severity="medium" weight="10.0">
5136 <xccdf:title>Check for Unconfined Daemons</xccdf:title>
5137 <xccdf:description>Check for device file that is not labeled.</xccdf:description>
5138 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5139 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5140 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201115"/>
5141 </xccdf:check>
5142 </xccdf:Rule>
5143 </xccdf:Group>
5144 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.6">
5145 <xccdf:title xml:lang="en">Debugging SELinux Policy Errors</xccdf:title>
5146 <xccdf:description xml:lang="en">
5147 SELinux's default policies have improved significantly over time,
5148 and most systems should have few problems using the targeted SELinux policy. However,
5149 policy problems may still occasionally prevent accesses which should be allowed. This is
5150 especially true if your site runs any custom or heavily modified applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5151 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5152 This section gives some brief guidance on discovering and repairing SELinux-related access
5153 problems. Guidance given here is necessarily incomplete, but should provide a starting
5154 point for debugging. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5155 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5156 If you suspect that a permission error or other failure may be caused
5157 by SELinux (and are certain that misconfiguration of the traditional Unix permissions are
5158 not the cause of the problem), search the audit logs for AVC events: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5160 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch -m AVC,USER_AVC -sv no <xhtml:br/></xhtml:code>
5161 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5162 The output of this command will be a set of events. The timestamp,
5163 along with the comm and pid fields, should indicate which line describes the problem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5164 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5165 Look
5166 up the context under which the process is running. Assuming the process ID is PID , find
5167 the context by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5168 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5169 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ps -p PID -Z <xhtml:br/></xhtml:code>
5170 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5171 The AVC denial message should identify the
5172 offending file or directory. The name field should contain the filename (not the full
5173 pathname by default), and the ino field can be used to search by inode, if necessary.
5174 Assuming the file is FILE , find its SELinux context: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5175 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5176 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z FILE <xhtml:br/></xhtml:code>
5177 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5178 An administrator should
5179 suspect an SELinux misconfiguration whenever a program gets a 'permission denied' error
5180 but the standard Unix permissions appear to be correct, or a program fails mysteriously on
5181 a task which seems to involve file access or network communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5182 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5183 As described in
5184 Section 2.4.1, SELinux augments each process with a context providing detailed type
5185 information about that process. The contexts under which processes run may be referred to
5186 as subject contexts. Similarly, each filesystem object is given a context. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5187 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5188 The targeted
5189 policy consists of a set of rules, each of which allows a subject type to perform some
5190 operation on a given object type. The kernel stores information about these access
5191 decisions in an structure known as an Access Vector Cache (AVC), so authorization
5192 decisions made by the system are audited with the type AVC. It is also possible for
5193 userspace modules to implement their own policies based on SELinux, and these decisions
5194 are audited with the type USER_AVC. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5196 AVC denials are logged by the kernel audit facility
5197 (see Section 2.6.2 for configuration guidance on this subsystem) and may also be visible
5198 via setroubleshoot. This guide recommends the use of the audit userspace utilities to find
5199 AVC errors. It is possible to manually locate these errors by looking in the file
5200 /var/log/audit/audit.log or in /var/log/messages (depending on the syslog configuration in
5201 effect), but the ausearch tool allows finegrained searching on audit event types, which
5202 may be necessary if system call auditing is enabled as well. The command line above tells
5203 ausearch to look for kernel or userspace AVC messages (-m AVC,USER AVC) where the access
5204 attempt did not succeed (-sv no). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5205 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5206 If an AVC denial occurs when it should not have, the
5207 problem is generally one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5208 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
5209 <xhtml:li>The program is running with the wrong subject
5210 context. This could happen as a result of an incorrect context on the program's executable
5211 file, which could happen if 3rd party software is installed and not given appropriate
5212 SELinux file contexts. </xhtml:li>
5213 <xhtml:li>The file has the wrong object context because the current file's
5214 context does not match the specification. This can occur when files are created or
5215 modified in certain ways. It is not atypical for configuration files to get the wrong
5216 contexts after a system configuration change performed by an administrator. To repair the
5217 file, use the command: <xhtml:br/>
5218 <xhtml:br/>
5219 <xhtml:code># restorecon -v FILE <xhtml:br/></xhtml:code>
5220 <xhtml:br/>
5221 This should produce output indicating that the
5222 file's context has been changed. The /usr/bin/chcon program can be used to manually change
5223 a file's context, but this is problematic because the change will not persist if it does
5224 not agree with the policy-defined contexts applied by restorecon.</xhtml:li>
5225 <xhtml:li>The file has the wrong
5226 object context because the specification is either incorrect or does not match the way the
5227 file is being used on this system. In this case, it will be necessary to change the system
5228 file contexts. <xhtml:br/>
5229 <xhtml:br/>
5230 Run the system-config-selinux tool, and go to the 'File Labeling' menu.
5231 This will give a list of files and wildcards corresponding to file labelling rules on the
5232 system. Add a rule which maps the file in question to the desired context. As an
5233 alternative, file contexts can be modified from the command line using the semanage(8)
5234 tool.</xhtml:li>
5235 <xhtml:li>The program and file have the correct contexts, but the policy should allow some
5236 operation between those two contexts which is currently not allowed. In this case, it will
5237 be necessary to modify the SELinux policy. <xhtml:br/>
5238 <xhtml:br/>
5239 Run the system-config-selinux tool, and go to
5240 the 'Boolean' menu. If your configuration is supported, but is not the Red Hat default,
5241 then there will be a boolean allowing real-time modification of the SELinux policy to fix
5242 the problem. Browse through the items in this menu, looking for one which is related to
5243 the service which is not working. As an alternative, SELinux booleans can be modified from
5244 the command line using the getsebool(8) and setsebool(8) tools. <xhtml:br/>
5245 <xhtml:br/>
5246 If there is no boolean, it
5247 will be necessary to create and load a policy module. A simple way to build a policy
5248 module is to use the audit2allow tool. This tool can take input in the format of AVC
5249 denial messages, and generate syntactically correct Type Enforcement rules which would be
5250 sufficient to prevent those denials. For example, to generate and display rules which
5251 would allow all kernel denials seen in the past five minutes, run: <xhtml:br/>
5252 <xhtml:br/>
5253 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow <xhtml:br/></xhtml:code>
5254 <xhtml:br/>
5255 It is possible to use audit2allow to directly create a module
5256 package suitable for loading into the kernel policy. To do this, invoke audit2allow with
5257 the -M flag: <xhtml:br/>
5258 <xhtml:br/>
5259 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow -M localmodule <xhtml:br/></xhtml:code>
5260 <xhtml:br/>
5261 If this is
5262 successful, several lines of output should appear. Review the generated TE rules in the
5263 file localmodule .te and ensure that they express what you wish to allow. <xhtml:br/>
5264 <xhtml:br/>
5265 The file
5266 localmodule .pp should also have been created. This file is a policy module package that
5267 can be loaded into the kernel. To do so, use system-config-selinux, go to the 'Policy
5268 Module' menu and use the 'Add' button to enable your module package in SELinux, or load it
5269 from the command line using semodule(8): <xhtml:br/>
5270 <xhtml:br/>
5271 <xhtml:code># semodule -i localmodule .pp <xhtml:br/></xhtml:code>
5272 <xhtml:br/>
5273 Section 45.2 of [9] covers this procedure in detail.</xhtml:li>
5274 </xhtml:ul></xccdf:description>
5275 </xccdf:Group>
5276 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7">
5277 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
5278 <xccdf:description xml:lang="en">
5279 The recommendations up to this point have discussed how to
5280 configure and maintain a system under the default configuration of the targeted policy,
5281 which constrains only the actions of daemons and system software. This guide strongly
5282 recommends that any site which is not currently using SELinux at all transition to the
5283 targeted policy, to gain the substantial security benefits provided by that policy.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5284 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5285 However, the default policy provides only a subset of the full security gains available
5286 from using SELinux. In particular, the SELinux policy is also capable of constraining the
5287 actions of interactive users, of providing compartmented access by sensitivity level (MLS)
5288 and/or category (MCS), and of restricting certain types of system actions using booleans
5289 beyond the RHEL5 defaults. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5290 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5291 This section introduces other uses of SELinux which may be
5292 possible, and provides links to some outside resources about their use. Detailed
5293 description of how to implement these steps is beyond the scope of this guide.</xccdf:description>
5294 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.1">
5295 <xccdf:title xml:lang="en">Strengthen the Default SELinux Boolean Configuration</xccdf:title>
5296 <xccdf:description xml:lang="en">
5297 SELinux booleans are used to enable or disable segments of
5298 policy to comply with site policy. Booleans may apply to the entire system or to an
5299 individual daemon. For instance, the boolean allow execstack, if enabled, allows
5300 programs to make part of their stack memory region executable. This would apply to all
5301 programs on the system. The boolean ftp home dir allows ftpd processes to access user
5302 home directories, and applies only to daemons which implement FTP. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5303 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5304 The command <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5306 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ getsebool -a <xhtml:br/></xhtml:code>
5307 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5308 lists the values of all SELinux booleans on the system. Section 2.4.5
5309 discussed loosening boolean values in order to debug functionality problems which occur
5310 under more restrictive defaults. It is also useful to examine and strengthen the boolean
5311 settings, to disable functionality which is not required by legitimate programs on your
5312 system, but which might be symptomatic of an attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5313 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5314 See the manpages booleans(8),
5315 getsebool(8), and setsebool(8) for general information about booleans. There are also
5316 manual pages for several subsystems which discuss the use of SELinux with those systems.
5317 Examples include ftpd selinux(8), httpd selinux(8), and nfs selinux(8). Another good
5318 reference is the html documentation distributed with the selinux-policy RPM. This
5319 documentation is stored under <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5320 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5321 /usr/share/doc/selinux-policy-version/html/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5322 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5323 The pages
5324 global tunables.html and global booleans.html may be useful when examining booleans.</xccdf:description>
5325 </xccdf:Group>
5326 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.2">
5327 <xccdf:title xml:lang="en">Use a Stronger Policy</xccdf:title>
5328 <xccdf:description xml:lang="en">
5329 Using a stronger policy can greatly enhance security, but will
5330 generally require customization to be compatible with the particular system's purpose,
5331 and this may be costly or time consuming. Under the targeted policy, interactive
5332 processes are given the type unconfined t, so interactive users are not constrained by
5333 SELinux even if they attempt to take strange or malicious actions. The first alternative
5334 policy available with RHEL5's SELinux distribution, called strict, extends the
5335 protections offered by the default policy from daemons and system processes to all
5336 processes. To use the strict policy, first ensure that the policy module is installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5337 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5338 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install selinux-policy-strict <xhtml:br/></xhtml:code>
5339 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5340 Then edit /etc/selinux/config and correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5342 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=strict <xhtml:br/></xhtml:code>
5343 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5344 The mls policy type can be used to enforce sensitivity or category
5345 labelling, and requires site-specific configuration of these labels in order to be
5346 useful. To use this policy, install the appropriate policy module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5347 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5348 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install selinux-policy-mls <xhtml:br/></xhtml:code>
5349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5350 Then edit /etc/selinux/config and correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5352 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=mls</xhtml:code></xccdf:description>
5353 <xccdf:warning xml:lang="en">
5354 Note: Switching between policies typically requires the entire disk to be relabelled, so
5355 that files get the appropriate SELinux contexts under the new policy. Boot with the
5356 additional grub command-line options <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5357 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5358 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">enforcing=0 single autorelabel </xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5359 to relabel the disk in single-user mode, then reboot normally.</xccdf:warning>
5360 </xccdf:Group>
5361 </xccdf:Group>
5362 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.8">
5363 <xccdf:title xml:lang="en">SELinux References</xccdf:title>
5364 <xccdf:description xml:lang="en">
5365 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
5366 <xhtml:li>NSA SELinux resources:<xhtml:br/>
5367 <xhtml:ul>
5368 <xhtml:li>Web page: http://www.nsa.gov/selinux/</xhtml:li>
5369 <xhtml:li>Mailing list: [email protected] <xhtml:br/>
5370 List information at: http://www.nsa.gov/selinux/info/list.cfm</xhtml:li>
5371 </xhtml:ul>
5372 </xhtml:li>
5373 <xhtml:li>Fedora SELinux resources:<xhtml:br/>
5374 <xhtml:ul>
5375 <xhtml:li>FAQ: http://docs.fedoraproject.org/selinux-faq/</xhtml:li>
5376 <xhtml:li>Wiki: http://fedoraproject.org/wiki/SELinux/</xhtml:li>
5377 <xhtml:li>Mailing list: [email protected] <xhtml:br/>
5378 List information at:
5379 https://www.redhat.com/mailman/listinfo/fedora-selinux-list</xhtml:li>
5380 </xhtml:ul>
5381 </xhtml:li>
5382 <xhtml:li>Chapters 43–45 of Red Hat Enterprise Linux 5: Deployment Guide [9]</xhtml:li>
5383 <xhtml:li>The book SELinux by Example: Using Security Enhanced Linux [13]</xhtml:li>
5384 </xhtml:ul>
5385 </xccdf:description>
5386 </xccdf:Group>
5387 </xccdf:Group>
5388 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5">
5389 <xccdf:title xml:lang="en">Network Configuration and Firewalls</xccdf:title>
5390 <xccdf:description xml:lang="en">
5391 Most machines must be connected to a network of some sort, and this
5392 brings with it the substantial risk of network attack. This section discusses the security
5393 impact of decisions about networking which must be made when configuring a system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5394 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5395 This section also discusses firewalls, network access controls, and other network security
5396 frameworks, which allow system-level rules to be written that can limit attackers' ability
5397 to connect to your system. These rules can specify that network traffic should be allowed or
5398 denied from certain IP addresses, hosts, and networks. The rules can also specify which of
5399 the system's network services are available to particular hosts or networks.</xccdf:description>
5400 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1">
5401 <xccdf:title xml:lang="en">Kernel Parameters which Affect Networking</xccdf:title>
5402 <xccdf:description xml:lang="en">
5403 The sysctl utility is used to set a number of parameters which
5404 affect the operation of the Linux kernel. Several of these parameters are specific to
5405 networking, and the configuration options in this section are recommended.</xccdf:description>
5406 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.1">
5407 <xccdf:title xml:lang="en">Network Parameters for Hosts Only</xccdf:title>
5408 <xccdf:description xml:lang="en">
5409 Is this system going to be used as a firewall or gateway to
5410 pass IP traffic between different networks? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5411 If not, edit the file /etc/sysctl.conf and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5412 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5413 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">net.ipv4.ip_forward = 0 <xhtml:br/>
5414 net.ipv4.conf.all.send_redirects = 0 <xhtml:br/>
5415 net.ipv4.conf.default.send_redirects = 0 <xhtml:br/></xhtml:code>
5416 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5417 These settings disable hosts from
5418 performing network functionality which is only appropriate for routers.</xccdf:description>
5419 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false" severity="medium" weight="10.0">
5420 <xccdf:title>Disable net.ipv4.conf.default.send_redirects for Hosts Only</xccdf:title>
5421 <xccdf:description>The default setting for sending ICMP redirects should be disabled for network interfaces.</xccdf:description>
5422 <xccdf:ident system="http://cce.mitre.org">CCE-4151-7</xccdf:ident>
5423 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.send_redirects</xccdf:fixtext>
5424 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5425 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20112"/>
5426 </xccdf:check>
5427 </xccdf:Rule>
5428 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false" severity="medium" weight="10.0">
5429 <xccdf:title>Disable net.ipv4.conf.all.send_redirects for Hosts Only</xccdf:title>
5430 <xccdf:description>Sending ICMP redirects should be disabled for all interfaces.</xccdf:description>
5431 <xccdf:ident system="http://cce.mitre.org">CCE-4155-8</xccdf:ident>
5432 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.send_redirects</xccdf:fixtext>
5433 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5434 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20113"/>
5435 </xccdf:check>
5436 </xccdf:Rule>
5437 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false" severity="medium" weight="10.0">
5438 <xccdf:title>Disable net.ipv4.ip forward for Hosts Only</xccdf:title>
5439 <xccdf:description>IP forwarding should be disabled.</xccdf:description>
5440 <xccdf:ident system="http://cce.mitre.org">CCE-3561-8</xccdf:ident>
5441 <xccdf:fixtext>(1) via sysctl - net.ipv4.ip_forward</xccdf:fixtext>
5442 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5443 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20114"/>
5444 </xccdf:check>
5445 </xccdf:Rule>
5446 </xccdf:Group>
5447 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.2">
5448 <xccdf:title xml:lang="en">Network Parameters for Hosts and Routers</xccdf:title>
5449 <xccdf:description xml:lang="en">
5450 Edit the file /etc/sysctl.conf and add or correct the following
5451 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5452 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5453 net.ipv4.conf.all.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5454 net.ipv4.conf.all.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5455 net.ipv4.conf.all.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5456 net.ipv4.conf.all.log_martians = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5457 net.ipv4.conf.default.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5458 net.ipv4.conf.default.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5459 net.ipv4.conf.default.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5460 net.ipv4.icmp_echo_ignore_broadcasts = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5461 net.ipv4.icmp_ignore_bogus_error_messages = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5462 net.ipv4.tcp_syncookies = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5463 net.ipv4.conf.all.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5464 net.ipv4.conf.default.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5465 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5466 These options
5467 improve Linux's ability to defend against certain types of IPv4 protocol attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5468 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5469 The
5470 accept source route, accept redirects, and secure redirects options are turned off to
5471 disable IPv4 protocol features which are considered to have few legitimate uses and to
5472 be easy to abuse. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5473 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5474 The net.ipv4.conf.all.log martians option logs several types of
5475 suspicious packets, such as spoofed packets, source-routed packets, and redirects. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5476 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5477 The icmp echo ignore broadcasts icmp ignore bogus error messages options protect against
5478 ICMP attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5479 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5480 The tcp syncookies option uses a cryptographic feature called SYN cookies
5481 to allow machines to continue to accept legitimate connections when faced with a SYN
5482 flood attack. See [12] for further information on this option. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5483 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5484 The rp filter option
5485 enables RFC-recommended source validation. It should not be used on machines which are
5486 routers for very complicated networks, but is helpful for end hosts and routers serving
5487 small networks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5488 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5489 For more information on any of these, see the kernel source
5490 documentation file /Documentation/networking/ip-sysctl.txt.2</xccdf:description>
5491 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.a" operator="equals" type="boolean">
5492 <xccdf:title>Deactivating "source routed packets"</xccdf:title>
5493 <xccdf:description xml:lang="en">Trackers could be using source-routed packets to generate traffic that seems to be intra-net, but actually was created outside and has been redirected.</xccdf:description>
5494 <xccdf:question xml:lang="en">Enable/Disable source routed packets</xccdf:question>
5495 <xccdf:value>0</xccdf:value>
5496 <xccdf:value selector="enabled">1</xccdf:value>
5497 <xccdf:value selector="disabled">0</xccdf:value>
5498 </xccdf:Value>
5499 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.b" operator="equals" type="boolean">
5500 <xccdf:title>ICMP redirect messages</xccdf:title>
5501 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5502 <xccdf:question xml:lang="en">Enable/Disable ICMP redirect messages</xccdf:question>
5503 <xccdf:value>0</xccdf:value>
5504 <xccdf:value selector="enabled">1</xccdf:value>
5505 <xccdf:value selector="disabled">0</xccdf:value>
5506 </xccdf:Value>
5507 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.c" operator="equals" type="boolean">
5508 <xccdf:title>net.ipv4.conf.all.secure_redirects</xccdf:title>
5509 <xccdf:description xml:lang="en">Enable to prevent hijacking of routing path by only allowing redirects from gateways known in routing table. </xccdf:description>
5510 <xccdf:question xml:lang="en">Enable/Disable IPv4 prevent hijacking of routing paths</xccdf:question>
5511 <xccdf:value>1</xccdf:value>
5512 <xccdf:value selector="enabled">1</xccdf:value>
5513 <xccdf:value selector="disabled">0</xccdf:value>
5514 </xccdf:Value>
5515 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.d" operator="equals" type="boolean">
5516 <xccdf:title>net.ipv4.conf.all.log_martians</xccdf:title>
5517 <xccdf:description xml:lang="en">Disable so you don't Log Spoofed Packets, Source Routed Packets, Redirect Packets </xccdf:description>
5518 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging Spoofed packets, source routed packets and redirect packets</xccdf:question>
5519 <xccdf:value>0</xccdf:value>
5520 <xccdf:value selector="enabled">1</xccdf:value>
5521 <xccdf:value selector="disabled">0</xccdf:value>
5522 </xccdf:Value>
5523 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.e" operator="equals" type="boolean">
5524 <xccdf:title>net.ipv4.conf.default.accept_source_route</xccdf:title>
5525 <xccdf:description xml:lang="en">Disable IP source routing?</xccdf:description>
5526 <xccdf:question xml:lang="en">Enable/Disable IPv4 source routing</xccdf:question>
5527 <xccdf:value>0</xccdf:value>
5528 <xccdf:value selector="enabled">1</xccdf:value>
5529 <xccdf:value selector="disabled">0</xccdf:value>
5530 </xccdf:Value>
5531 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.f" operator="equals" type="boolean">
5532 <xccdf:title>net.ipv4.conf.default.accept_redirects</xccdf:title>
5533 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5534 <xccdf:question xml:lang="en">Enable/Disable default IPv4 ICMP Redirect Acceptance</xccdf:question>
5535 <xccdf:value>0</xccdf:value>
5536 <xccdf:value selector="enabled">1</xccdf:value>
5537 <xccdf:value selector="disabled">0</xccdf:value>
5538 </xccdf:Value>
5539 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.g" operator="equals" type="boolean">
5540 <xccdf:title>net.ipv4.conf.default.secure_redirects</xccdf:title>
5541 <xccdf:description xml:lang="en">Log packets with impossible addresses to kernel log?</xccdf:description>
5542 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging packets with impossible addresses to kernel log</xccdf:question>
5543 <xccdf:value>1</xccdf:value>
5544 <xccdf:value selector="enabled">1</xccdf:value>
5545 <xccdf:value selector="disabled">0</xccdf:value>
5546 </xccdf:Value>
5547 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.h" operator="equals" type="boolean">
5548 <xccdf:title>net.ipv4.icmp_echo_ignore_broadcast</xccdf:title>
5549 <xccdf:description xml:lang="en">Ignore all ICMP ECHO and TIMESTAMP requests sent to it via broadcast/multicast</xccdf:description>
5550 <xccdf:question xml:lang="en">Enable/Disable IPv4 ignoring ICMP ECHO and TIMESTAMP requests from broadcast/multicast</xccdf:question>
5551 <xccdf:value>1</xccdf:value>
5552 <xccdf:value selector="enabled">1</xccdf:value>
5553 <xccdf:value selector="disabled">0</xccdf:value>
5554 </xccdf:Value>
5555 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.i" operator="equals" type="boolean">
5556 <!-- TODO -->
5557 <xccdf:title>net.ipv4.icmp_ignore_bogus_error_messages</xccdf:title>
5558 <xccdf:description xml:lang="en">Enable to prevent certain types of attacks</xccdf:description>
5559 <xccdf:value>1</xccdf:value>
5560 <xccdf:value selector="enabled">1</xccdf:value>
5561 <xccdf:value selector="disabled">0</xccdf:value>
5562 </xccdf:Value>
5563 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.j" operator="equals" type="boolean">
5564 <xccdf:title>net.ipv4.tcp_syncookie</xccdf:title>
5565 <xccdf:description xml:lang="en">Enable to turn on TCP SYN Cookie Protection</xccdf:description>
5566 <xccdf:question xml:lang="en">Enable/Disable TCP SYN Cookie Protection</xccdf:question>
5567 <xccdf:value>1</xccdf:value>
5568 <xccdf:value selector="enabled">1</xccdf:value>
5569 <xccdf:value selector="disabled">0</xccdf:value>
5570 </xccdf:Value>
5571 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.k" operator="equals" type="boolean">
5572 <xccdf:title>net.ipv4.conf.all.rp_filter</xccdf:title>
5573 <xccdf:description xml:lang="en">Enable to enforce sanity checking, also called ingress filtering or egress filtering. The point is to drop a packet if the source and destination IP addresses in the IP header do not make sense when considered in light of the physical interface on which it arrived. </xccdf:description>
5574 <xccdf:question xml:lang="en">Enable/Disable all enforcing sanity checks</xccdf:question>
5575 <xccdf:value>1</xccdf:value>
5576 <xccdf:value selector="enabled">1</xccdf:value>
5577 <xccdf:value selector="disabled">0</xccdf:value>
5578 </xccdf:Value>
5579 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.l" operator="equals" type="boolean">
5580 <xccdf:title>net.ipv4.conf.default.rp_filter</xccdf:title>
5581 <xccdf:description xml:lang="en">Enables source route verification</xccdf:description>
5582 <xccdf:question xml:lang="en">Enable/Disable default source route verification</xccdf:question>
5583 <xccdf:value>1</xccdf:value>
5584 <xccdf:value selector="enabled">1</xccdf:value>
5585 <xccdf:value selector="disabled">0</xccdf:value>
5586 </xccdf:Value>
5587 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false" severity="medium" weight="10.0">
5588 <xccdf:title>Set net.ipv4.conf.all.accept_source_route for Hosts and Routers</xccdf:title>
5589 <xccdf:description>Accepting source routed packets should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.a"/> for all interfaces as appropriate.</xccdf:description>
5590 <xccdf:ident system="http://cce.mitre.org">CCE-4236-6</xccdf:ident>
5591 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_source_route</xccdf:fixtext>
5592 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5593 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20115" value-id="xccdf_cdf_value_var-2.5.1.2.a"/>
5594 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20115"/>
5595 </xccdf:check>
5596 </xccdf:Rule>
5597 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false" severity="medium" weight="10.0">
5598 <xccdf:title>Set net.ipv4.conf.all.accept_redirects for Hosts and Routers</xccdf:title>
5599 <xccdf:description>Accepting ICMP redirects should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.b"/> for all interfaces as appropriate.</xccdf:description>
5600 <xccdf:ident system="http://cce.mitre.org">CCE-4217-6</xccdf:ident>
5601 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_redirects</xccdf:fixtext>
5602 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5603 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20116" value-id="xccdf_cdf_value_var-2.5.1.2.b"/>
5604 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20116"/>
5605 </xccdf:check>
5606 </xccdf:Rule>
5607 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false" severity="medium" weight="10.0">
5608 <xccdf:title>Set net.ipv4.conf.all.secure_redirects for Hosts and Routers</xccdf:title>
5609 <xccdf:description>Accepting "secure" ICMP redirects (those from gateways listed in the default gateways list) should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.c"/> for all interfaces as appropriate.</xccdf:description>
5610 <xccdf:ident system="http://cce.mitre.org">CCE-3472-8</xccdf:ident>
5611 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.secure_redirects</xccdf:fixtext>
5612 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5613 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20117" value-id="xccdf_cdf_value_var-2.5.1.2.c"/>
5614 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20117"/>
5615 </xccdf:check>
5616 </xccdf:Rule>
5617 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false" severity="medium" weight="10.0">
5618 <xccdf:title>Set net.ipv4.conf.all.log_martians for Hosts and Routers</xccdf:title>
5619 <xccdf:description>Logging of "martian" packets (those with impossible addresses) should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.d"/> for all interfaces as appropriate.</xccdf:description>
5620 <xccdf:ident system="http://cce.mitre.org">CCE-4320-8</xccdf:ident>
5621 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.log_martians</xccdf:fixtext>
5622 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5623 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20118" value-id="xccdf_cdf_value_var-2.5.1.2.d"/>
5624 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20118"/>
5625 </xccdf:check>
5626 </xccdf:Rule>
5627 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false" severity="medium" weight="10.0">
5628 <xccdf:title>Set net.ipv4.conf.default.accept_source_route for Hosts and Routers</xccdf:title>
5629 <xccdf:description>The default setting for accepting source routed packets should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.e"/> for all interfaces as appropriate.</xccdf:description>
5630 <xccdf:ident system="http://cce.mitre.org">CCE-4091-5</xccdf:ident>
5631 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_source_route</xccdf:fixtext>
5632 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5633 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20119" value-id="xccdf_cdf_value_var-2.5.1.2.e"/>
5634 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20119"/>
5635 </xccdf:check>
5636 </xccdf:Rule>
5637 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false" severity="medium" weight="10.0">
5638 <xccdf:title>Set net.ipv4.conf.default.accept_redirects for Hosts and Routers</xccdf:title>
5639 <xccdf:description>The default setting for accepting ICMP redirects should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.f"/> for all interfaces as appropriate.</xccdf:description>
5640 <xccdf:ident system="http://cce.mitre.org">CCE-4186-3</xccdf:ident>
5641 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_redirects</xccdf:fixtext>
5642 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5643 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20120" value-id="xccdf_cdf_value_var-2.5.1.2.f"/>
5644 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20120"/>
5645 </xccdf:check>
5646 </xccdf:Rule>
5647 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false" severity="medium" weight="10.0">
5648 <xccdf:title>Set net.ipv4.conf.default.secure_redirects for Hosts and Routers</xccdf:title>
5649 <xccdf:description>The default setting for accepting "secure" ICMP redirects (those from gateways listed in the default gateways list) should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.g"/> for all interfaces as appropriate.</xccdf:description>
5650 <xccdf:ident system="http://cce.mitre.org">CCE-3339-9</xccdf:ident>
5651 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.secure_redirects</xccdf:fixtext>
5652 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5653 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20121" value-id="xccdf_cdf_value_var-2.5.1.2.g"/>
5654 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20121"/>
5655 </xccdf:check>
5656 </xccdf:Rule>
5657 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false" severity="medium" weight="10.0">
5658 <xccdf:title>Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers</xccdf:title>
5659 <xccdf:description>Ignoring ICMP echo requests (pings) sent to broadcast / multicast addresses should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.h"/> for all interfaces as appropriate.</xccdf:description>
5660 <xccdf:ident system="http://cce.mitre.org">CCE-3644-2</xccdf:ident>
5661 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_echo_ignore_broadcasts</xccdf:fixtext>
5662 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5663 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20122" value-id="xccdf_cdf_value_var-2.5.1.2.h"/>
5664 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20122"/>
5665 </xccdf:check>
5666 </xccdf:Rule>
5667 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false" severity="medium" weight="10.0">
5668 <xccdf:title>Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers</xccdf:title>
5669 <xccdf:description>Ignoring bogus ICMP responses to broadcasts should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.i"/> for all interfaces as appropriate.</xccdf:description>
5670 <xccdf:ident system="http://cce.mitre.org">CCE-4133-5</xccdf:ident>
5671 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_ignore_bogus_error_messages</xccdf:fixtext>
5672 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5673 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20123" value-id="xccdf_cdf_value_var-2.5.1.2.i"/>
5674 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20123"/>
5675 </xccdf:check>
5676 </xccdf:Rule>
5677 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false" severity="medium" weight="10.0">
5678 <xccdf:title>Set net.ipv4.tcp_syncookies for Hosts and Routers</xccdf:title>
5679 <xccdf:description>Sending TCP syncookies should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.j"/> for all interfaces as appropriate.</xccdf:description>
5680 <xccdf:ident system="http://cce.mitre.org">CCE-4265-5</xccdf:ident>
5681 <xccdf:fixtext>(1) via sysctl - net.ipv4.tcp_syncookies</xccdf:fixtext>
5682 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5683 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20124" value-id="xccdf_cdf_value_var-2.5.1.2.j"/>
5684 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20124"/>
5685 </xccdf:check>
5686 </xccdf:Rule>
5687 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false" severity="medium" weight="10.0">
5688 <xccdf:title>Set net.ipv4.conf.all.rp_filter for Hosts and Routers</xccdf:title>
5689 <xccdf:description>Performing source validation by reverse path should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.k"/> for all interfaces as appropriate.</xccdf:description>
5690 <xccdf:ident system="http://cce.mitre.org">CCE-4080-8</xccdf:ident>
5691 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.rp_filter</xccdf:fixtext>
5692 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5693 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20125" value-id="xccdf_cdf_value_var-2.5.1.2.k"/>
5694 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20125"/>
5695 </xccdf:check>
5696 </xccdf:Rule>
5697 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false" severity="medium" weight="10.0">
5698 <xccdf:title>Set net.ipv4.conf.default.rp_filter for Hosts and Routers</xccdf:title>
5699 <xccdf:description>The default setting for performing source validation by reverse path should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.1.2.l"/> for all interfaces as appropriate.</xccdf:description>
5700 <xccdf:ident system="http://cce.mitre.org">CCE-3840-6</xccdf:ident>
5701 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.rp_filter</xccdf:fixtext>
5702 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5703 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20126" value-id="xccdf_cdf_value_var-2.5.1.2.l"/>
5704 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20126"/>
5705 </xccdf:check>
5706 </xccdf:Rule>
5707 </xccdf:Group>
5708 </xccdf:Group>
5709 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2">
5710 <xccdf:title xml:lang="en">Wireless Networking</xccdf:title>
5711 <xccdf:description xml:lang="en">
5712 Wireless networking (sometimes referred to as 802.11 or Wi-Fi)
5713 presents a serious security risk to sensitive or classified systems and networks. Wireless
5714 networking hardware is much more likely to be included in laptop or portable systems than
5715 desktops or servers. See Section 3.3.14 for information on Bluetooth wireless support.
5716 Bluetooth serves a different purpose and possesses a much shorter range, but it still
5717 presents serious security risks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5718 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5719 Removal of hardware is the only way to absolutely ensure
5720 that the wireless capability remains disabled. If it is completely impractical to remove
5721 the wireless hardware, and site policy still allows the device to enter sensitive spaces,
5722 every effort to disable the capability via software should be made. In general,
5723 acquisition policy should include provisions to prevent the purchase of equipment that
5724 will be used in sensitive spaces and includes wireless capabilities.</xccdf:description>
5725 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.1">
5726 <xccdf:title xml:lang="en">Remove Wireless Hardware if Possible</xccdf:title>
5727 <xccdf:description xml:lang="en">
5728 Identifying the wireless hardware is the first step in removing
5729 it. The system's hardware manual should contain information on its wireless
5730 capabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5731 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5732 Wireless hardware included with a laptop typically takes the form of a
5733 mini-PCI card or PC card. Other forms include devices which plug into USB or Ethernet
5734 ports, but these should be readily apparent and easy to remove from the base system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5735 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5736 A PC Card (originally called a PCMCIA card) is designed to be easy to remove, though it
5737 may be hidden when inserted into the system. Frequently, there will be one or more
5738 buttons near the card slot that, when pressed, eject the card from the system. If no
5739 card is ejected, the slot is empty. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5740 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5741 A mini-PCI card is approximately credit-card sized
5742 and typically accessible via a removable panel on the underside of the laptop. Removing
5743 the panel may require simple tools. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5744 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5745 In addition to manually inspecting the hardware, it
5746 is also possible to query the system for its installed hardware devices. The commands
5747 /sbin/lspci and /sbin/lsusb will show a list of all recognized devices on their
5748 respective buses, and this may indicate the presence of a wireless device.</xccdf:description>
5749 </xccdf:Group>
5750 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2">
5751 <xccdf:title xml:lang="en">Disable Wireless Through Software Configuration</xccdf:title>
5752 <xccdf:description xml:lang="en">
5753 If it is impossible to remove the wireless hardware from the
5754 device in question, disable as much of it as possible through software. The following
5755 methods can disable software support for wireless networking, but note that these
5756 methods do not prevent malicious software or careless users from re-activating the
5757 devices.</xccdf:description>
5758 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.1">
5759 <xccdf:title xml:lang="en">Disable Wireless in BIOS</xccdf:title>
5760 <xccdf:description xml:lang="en">
5761 Some laptops that include built-in wireless support offer the
5762 ability to disable the device through the BIOS. This is system-specific; consult your
5763 hardware manual or explore the BIOS setup during boot. 2A recent version of this file
5764 can be found online at
5765 http://lxr.linux.no/source/Documentation/networking/ip-sysctl.txt.</xccdf:description>
5766 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false" severity="medium" weight="10.0">
5767 <xccdf:title>Disable Wireless in BIOS</xccdf:title>
5768 <xccdf:description>All wireless devices should be disabled in the BIOS.</xccdf:description>
5769 <xccdf:ident system="http://cce.mitre.org">CCE-3628-5</xccdf:ident>
5770 <xccdf:fixtext>(1) via BIOS menus</xccdf:fixtext>
5771 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5772 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20127"/>
5773 </xccdf:check>
5774 </xccdf:Rule>
5775 </xccdf:Group>
5776 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.2">
5777 <xccdf:title xml:lang="en">Deactivate Wireless Interfaces</xccdf:title>
5778 <xccdf:description xml:lang="en">
5779 Deactivating the wireless interfaces should prevent normal
5780 usage of the wireless capability. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5781 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5782 First, identify the interfaces available with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5783 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5784 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ifconfig -a <xhtml:br/></xhtml:code>
5785 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5786 Additionally,the following command may also be used to
5787 determine whether wireless support ('extensions') is included for a particular
5788 interface, though this may not always be a clear indicator: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5789 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5790 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># iwconfig <xhtml:br/></xhtml:code>
5791 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5792 After
5793 identifying any wireless interfaces (which may have names like wlan0, ath0, wifi0, or
5794 eth0), deactivate the interface with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5795 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5796 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ifdown interface <xhtml:br/></xhtml:code>
5797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5798 These changes
5799 will only last until the next reboot. To disable the interface for future boots,
5800 remove the appropriate interface file from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5802 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
5803 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false" severity="medium" weight="10.0">
5804 <xccdf:title>Deactivate Wireless Interfaces</xccdf:title>
5805 <xccdf:description>All wireless interfaces should be disabled.</xccdf:description>
5806 <xccdf:ident system="http://cce.mitre.org">CCE-4276-2</xccdf:ident>
5807 <xccdf:fixtext>rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fixtext>
5808 <xccdf:fixtext>ifdown interface</xccdf:fixtext>
5809 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5810 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20128"/>
5811 </xccdf:check>
5812 </xccdf:Rule>
5813 </xccdf:Group>
5814 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.3">
5815 <xccdf:title xml:lang="en">Disable Wireless Drivers</xccdf:title>
5816 <xccdf:description xml:lang="en">
5817 Removing the kernel drivers that provide support for wireless
5818 Ethernet devices will prevent users from easily activating the devices. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5819 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5820 To remove the wireless drivers from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5821 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5822 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm -r /lib/modules/kernelversion(s)/kernel/drivers/net/wireless <xhtml:br/></xhtml:code>
5823 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5824 This command must also be repeated every time the kernel is upgraded.</xccdf:description>
5825 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false" severity="medium" weight="10.0">
5826 <xccdf:title>Disable Wireless Drivers</xccdf:title>
5827 <xccdf:description>Device drivers for wireless devices should be excluded from the kernel.</xccdf:description>
5828 <xccdf:ident system="http://cce.mitre.org">CCE-4170-7</xccdf:ident>
5829 <xccdf:fixtext>(1) via modprobe</xccdf:fixtext>
5830 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5831 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20129"/>
5832 </xccdf:check>
5833 </xccdf:Rule>
5834 </xccdf:Group>
5835 </xccdf:Group>
5836 </xccdf:Group>
5837 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3">
5838 <xccdf:title xml:lang="en">IPv6</xccdf:title>
5839 <xccdf:description xml:lang="en">
5840 The system includes support for Internet Protocol version 6. A
5841 major and often-mentioned improvement over IPv4 is its enormous increase in the number of
5842 available addresses. Another important feature is its support for automatic configuration
5843 of many network settings.</xccdf:description>
5844 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1">
5845 <xccdf:title xml:lang="en">Disable Support for IPv6 unless Needed</xccdf:title>
5846 <xccdf:description xml:lang="en">
5847 Because the IPv6 networking code is relatively new and complex,
5848 it is particularly important that it be disabled unless needed. Despite configuration
5849 that suggests support for IPv6 has been disabled, link-local IPv6 address
5850 autoconfiguration occurs even when only an IPv4 address is assigned. The only way to
5851 effectively prevent execution of the IPv6 networking stack is to prevent the kernel from
5852 loading the IPv6 kernel module.</xccdf:description>
5853 <xccdf:reference>MO3:S0-C1-1</xccdf:reference>
5854 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.1">
5855 <xccdf:title xml:lang="en">Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5856 <xccdf:description xml:lang="en">
5857 To prevent the IPv6 kernel module (ipv6) from being loaded,
5858 add the following line to /etc/modprobe.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5859 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5860 install ipv6 /bin/true <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5862 When the kernel requests the ipv6 module, this line will direct the system to run the
5863 program /bin/true instead.</xccdf:description>
5864 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false" severity="medium" weight="10.0">
5865 <xccdf:title>Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5866 <xccdf:description>Automatic loading of the IPv6 kernel module should be disabled.</xccdf:description>
5867 <xccdf:reference>MO3:S0-C1-1 MO3:S0-C1-2</xccdf:reference>
5868 <xccdf:ident system="http://cce.mitre.org">CCE-3562-6</xccdf:ident>
5869 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
5870 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5871 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20130"/>
5872 </xccdf:check>
5873 </xccdf:Rule>
5874 </xccdf:Group>
5875 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.2">
5876 <xccdf:title xml:lang="en">Disable Interface Usage of IPv6</xccdf:title>
5877 <xccdf:description xml:lang="en">
5878 To prevent configuration of IPv6 for all interfaces, add or
5879 correct the following lines in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5880 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5881 NETWORKING_IPV6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5882 IPV6INIT=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5883 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5884 For each network interface IFACE , add or correct the following lines in
5885 /etc/sysconfig/network-scripts/ifcfg-IFACE as an additional prevention mechanism:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5886 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5887 IPV6INIT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5888 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5889 If it becomes necessary later to configure IPv6, only the interfaces
5890 requiring it should be enabled.</xccdf:description>
5891 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false" severity="medium" weight="10.0">
5892 <xccdf:title>Disable NETWORKING_IPV6 in /etc/sysconfig/network</xccdf:title>
5893 <xccdf:description>The default setting for IPv6 configuration should be disabled</xccdf:description>
5894 <xccdf:ident system="http://cce.mitre.org">CCE-3381-1</xccdf:ident>
5895 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5896 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5897 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20131"/>
5898 </xccdf:check>
5899 </xccdf:Rule>
5900 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false" severity="medium" weight="10.0">
5901 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network</xccdf:title>
5902 <xccdf:description>Global IPv6 initialization should be disabled</xccdf:description>
5903 <xccdf:ident system="http://cce.mitre.org">CCE-3377-9</xccdf:ident>
5904 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5905 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5906 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20132"/>
5907 </xccdf:check>
5908 </xccdf:Rule>
5909 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false" severity="medium" weight="10.0">
5910 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-*</xccdf:title>
5911 <xccdf:description>IPv6 configuration should be disabled for all interfaces.</xccdf:description>
5912 <xccdf:ident system="http://cce.mitre.org">CCE-4296-0</xccdf:ident>
5913 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-*</xccdf:fixtext>
5914 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5915 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20133"/>
5916 </xccdf:check>
5917 </xccdf:Rule>
5918 </xccdf:Group>
5919 </xccdf:Group>
5920 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2">
5921 <xccdf:title xml:lang="en">Configure IPv6 Settings if Necessary</xccdf:title>
5922 <xccdf:description xml:lang="en">
5923 A major feature of IPv6 is the extent to which systems
5924 implementing it can automatically configure their networking devices using information
5925 from the network. From a security perspective, manually configuring important
5926 configuration information is always preferable to accepting it from the network in an
5927 unauthenticated fashion.</xccdf:description>
5928 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.1">
5929 <xccdf:title xml:lang="en">Disable Automatic Configuration</xccdf:title>
5930 <xccdf:description xml:lang="en">
5931 Disable the system's acceptance of router advertisements and
5932 redirects by adding or correcting the following line in /etc/sysconfig/network (note
5933 that this does not disable sending router solicitations): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5934 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5935 IPV6_AUTOCONF=no</xccdf:description>
5936 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.a" operator="equals" type="string">
5937 <xccdf:title>IPV6_AUTOCONF</xccdf:title>
5938 <xccdf:description xml:lang="en">Toggle global IPv6 autoconfiguration (only, if global forwarding is disabled)</xccdf:description>
5939 <xccdf:question xml:lang="en">Enable/Disable global IPv6 autoconfiguration</xccdf:question>
5940 <xccdf:value>disabled</xccdf:value>
5941 <xccdf:value selector="enabled">enabled</xccdf:value>
5942 <xccdf:value selector="disabled">disabled</xccdf:value>
5943 <xccdf:match>enabled|disabled</xccdf:match>
5944 </xccdf:Value>
5945 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.b" operator="equals" type="string">
5946 <xccdf:title>net.ipv6.conf.default.accept_ra</xccdf:title>
5947 <xccdf:description xml:lang="en">accept default router advertisements</xccdf:description>
5948 <xccdf:question xml:lang="en">Enable/Disable IPv6 accepting default router advertisements</xccdf:question>
5949 <xccdf:value>no</xccdf:value>
5950 <xccdf:value selector="enabled">yes</xccdf:value>
5951 <xccdf:value selector="disabled">no</xccdf:value>
5952 <xccdf:match>yes|no</xccdf:match>
5953 </xccdf:Value>
5954 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.c" operator="equals" type="string">
5955 <xccdf:title>net.ipv6.conf.default.accept_redirects</xccdf:title>
5956 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5957 <xccdf:question xml:lang="en">Enable/Disable IPv6 default ICMP Redirect Acceptance</xccdf:question>
5958 <xccdf:value>disabled</xccdf:value>
5959 <xccdf:value selector="enabled">enabled</xccdf:value>
5960 <xccdf:value selector="disabled">disabled</xccdf:value>
5961 <xccdf:match>enabled|disabled</xccdf:match>
5962 </xccdf:Value>
5963 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.d" operator="equals" type="string">
5964 <xccdf:title>net.ipv6.conf.all.accept_redirects</xccdf:title>
5965 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5966 <xccdf:question xml:lang="en">Enable/Disable all IPv6 ICMP Redirect Acceptance</xccdf:question>
5967 <xccdf:value>disabled</xccdf:value>
5968 <xccdf:value selector="enabled">enabled</xccdf:value>
5969 <xccdf:value selector="disabled">disabled</xccdf:value>
5970 <xccdf:match>enabled|disabled</xccdf:match>
5971 </xccdf:Value>
5972 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false" severity="medium" weight="10.0">
5973 <xccdf:title>Disable IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:title>
5974 <xccdf:description>Accepting IPv6 router advertisements should be disabled for all interfaces.</xccdf:description>
5975 <xccdf:ident system="http://cce.mitre.org">CCE-4269-7</xccdf:ident>
5976 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5977 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5978 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20134" value-id="xccdf_cdf_value_var-2.5.3.2.1.a"/>
5979 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20134"/>
5980 </xccdf:check>
5981 </xccdf:Rule>
5982 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false" severity="medium" weight="10.0">
5983 <xccdf:title>Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra)</xccdf:title>
5984 <xccdf:description>The default setting for accepting IPv6 router advertisements should be: for all interfaces.</xccdf:description>
5985 <xccdf:ident system="http://cce.mitre.org">CCE-4291-1</xccdf:ident>
5986 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5987 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5988 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20135" value-id="xccdf_cdf_value_var-2.5.3.2.1.b"/>
5989 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20135"/>
5990 </xccdf:check>
5991 </xccdf:Rule>
5992 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false" severity="medium" weight="10.0">
5993 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects)</xccdf:title>
5994 <xccdf:description>Accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
5995 <xccdf:ident system="http://cce.mitre.org">CCE-4313-3</xccdf:ident>
5996 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5997 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5998 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20136" value-id="xccdf_cdf_value_var-2.5.3.2.1.c"/>
5999 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20136"/>
6000 </xccdf:check>
6001 </xccdf:Rule>
6002 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false" severity="medium" weight="10.0">
6003 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects)</xccdf:title>
6004 <xccdf:description>The default setting for accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
6005 <xccdf:ident system="http://cce.mitre.org">CCE-4198-8</xccdf:ident>
6006 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
6007 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6008 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20137" value-id="xccdf_cdf_value_var-2.5.3.2.1.d"/>
6009 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20137"/>
6010 </xccdf:check>
6011 </xccdf:Rule>
6012 </xccdf:Group>
6013 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.2">
6014 <xccdf:title xml:lang="en">Manually Assign Global IPv6 Address</xccdf:title>
6015 <xccdf:description xml:lang="en">
6016 To manually assign an IP address for an interface IFACE, edit
6017 the file /etc/sysconfig/network-scripts/ ifcfg-IFACE. Add or correct the following
6018 line (substituting the correct IPv6 address): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6019 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6020 IPV6ADDR=2001:0DB8::ABCD/64 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6022 Manually
6023 assigning an IP address is preferable to accepting one from routers or from the
6024 network otherwise. The example address here is an IPv6 address reserved for
6025 documentation purposes, as defined by RFC3849.</xccdf:description>
6026 </xccdf:Group>
6027 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.3">
6028 <xccdf:title xml:lang="en">Use Privacy Extensions for Address if Necessary</xccdf:title>
6029 <xccdf:description xml:lang="en">
6030 To introduce randomness into the automatic generation of IPv6
6031 addresses, add or correct the following line in
6032 /etc/sysconfig/network-scripts/ifcfg-IFACE: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6034 IPV6_PRIVACY=rfc3041<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6035 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6036 Automatically-generated IPv6 addresses are based on the underlying hardware (e.g.
6037 Ethernet) address, and so it becomes possible to track a piece of hardware over its
6038 lifetime using its traffic. If it is important for a system's IP address to not
6039 trivially reveal its hardware address, this setting should be applied.</xccdf:description>
6040 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.3.a" operator="equals" type="string">
6041 <xccdf:title>IPV6_PRIVACY in /etc/sysconfig/network-scripts/ifcfg-IFACE</xccdf:title>
6042 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
6043 <xccdf:question xml:lang="en">Select control of IPv6 address creation privacy</xccdf:question>
6044 <xccdf:value>rfc3041</xccdf:value>
6045 <xccdf:value selector="disabled">disabled</xccdf:value>
6046 <xccdf:value selector="lightweight">lightweight</xccdf:value>
6047 <xccdf:value selector="rfc3041">rfc3041</xccdf:value>
6048 </xccdf:Value>
6049 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false" weight="10.0">
6050 <xccdf:title>Use Privacy Extensions for Address if Necessary</xccdf:title>
6051 <xccdf:description>IPv6 privacy extensions should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.3.a"/> for all interfaces.</xccdf:description>
6052 <xccdf:ident system="http://cce.mitre.org">CCE-3842-2</xccdf:ident>
6053 <xccdf:fixtext>(1) via IPV6_PRIVACY in
6054 /etc/sysconfig/network-scripts/ifcfg-&lt;interface&gt;</xccdf:fixtext>
6055 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6056 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20138" value-id="xccdf_cdf_value_var-2.5.3.2.3.a"/>
6057 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20138"/>
6058 </xccdf:check>
6059 </xccdf:Rule>
6060 </xccdf:Group>
6061 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.4">
6062 <xccdf:title xml:lang="en">Manually Assign IPv6 Router Address</xccdf:title>
6063 <xccdf:description xml:lang="en">
6064 Edit the file /etc/sysconfig/network-scripts/ifcfg-IFACE ,
6065 and add or correct the following line (substituting your gateway IP as appropriate):<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6066 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6067 IPV6_DEFAULTGW=2001:0DB8::0001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6068 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6069 Router addresses should be manually set and not
6070 accepted via any autoconfiguration or router advertisement.</xccdf:description>
6071 </xccdf:Group>
6072 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.5">
6073 <xccdf:title xml:lang="en">Limit Network-Transmitted Configuration</xccdf:title>
6074 <xccdf:description xml:lang="en">
6075 Add the following lines to /etc/sysctl.conf to limit the
6076 configuration information requested from other systems, and accepted from the network:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6077 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6078 net.ipv6.conf.default.router_solicitations = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6079 net.ipv6.conf.default.accept_ra_rtr_pref = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6080 net.ipv6.conf.default.accept_ra_pinfo = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6081 net.ipv6.conf.default.accept_ra_defrtr = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6082 net.ipv6.conf.default.autoconf = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6083 net.ipv6.conf.default.dad_transmits = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6084 net.ipv6.conf.default.max_addresses = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6085 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6086 The router solicitations setting determines how many router solicitations are sent
6087 when bringing up the interface. If addresses are statically assigned, there is no need
6088 to send any solicitations. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6090 The accept_ra_pinfo setting controls whether the system will
6091 accept prefix info from the router. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6092 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6093 The accept_ra_defrtr setting controls whether the
6094 system will accept Hop Limit settings from a router advertisement. Setting it to 0
6095 prevents a router from changing your default IPv6 Hop Limit for outgoing packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6096 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6097 The autoconf setting controls whether router advertisements can cause the system to
6098 assign a global unicast address to an interface. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6099 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6100 The dad_transmits setting determines how
6101 many neighbor solicitations to send out per address (global and link-local) when
6102 bringing up an interface to ensure the desired address is unique on the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6103 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6104 The max_addresses setting determines how many global unicast IPv6 addresses can be
6105 assigned to each interface. The default is 16, but it should be set to exactly the
6106 number of statically configured global addresses required.</xccdf:description>
6107 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.a" operator="equals" type="number">
6108 <xccdf:title> net.ipv6.conf.default.router_solicitations</xccdf:title>
6109 <xccdf:description xml:lang="en">
6110 Setting determines how many router solicitations are
6111 sent when bringing up the interface. If addresses are statically assigned, there
6112 is no need to send any solicitation</xccdf:description>
6113 <xccdf:question xml:lang="en">Select how many router solicitations are sent when bringing up the interface</xccdf:question>
6114 <xccdf:value>0</xccdf:value>
6115 <xccdf:value selector="0">0</xccdf:value>
6116 <xccdf:value selector="1">1</xccdf:value>
6117 </xccdf:Value>
6118 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.b" operator="equals" type="boolean">
6119 <xccdf:title>Accept Router Preference in Router Advertisements?</xccdf:title>
6120 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
6121 <xccdf:question xml:lang="en">Enable/Disable IPv6 router advertisements</xccdf:question>
6122 <xccdf:value>0</xccdf:value>
6123 <xccdf:value selector="enabled">1</xccdf:value>
6124 <xccdf:value selector="disabled">0</xccdf:value>
6125 </xccdf:Value>
6126 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.c" operator="equals" type="boolean">
6127 <xccdf:title>net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
6128 <xccdf:description xml:lang="en">Setting controls whether the system will accept prefix info from the router</xccdf:description>
6129 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of router prefix info</xccdf:question>
6130 <xccdf:value>0</xccdf:value>
6131 <xccdf:value selector="enabled">1</xccdf:value>
6132 <xccdf:value selector="disabled">0</xccdf:value>
6133 </xccdf:Value>
6134 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.d" operator="equals" type="boolean">
6135 <xccdf:title>net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
6136 <xccdf:description xml:lang="en">
6137 Setting controls whether the system will accept Hop Limit
6138 settings from a router advertisement. Setting it to 0 prevents a router from
6139 changing your default IPv6 Hop Limit for outgoing packets.</xccdf:description>
6140 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of Hop limits from router advertisement</xccdf:question>
6141 <xccdf:value>0</xccdf:value>
6142 <xccdf:value selector="enabled">1</xccdf:value>
6143 <xccdf:value selector="disabled">0</xccdf:value>
6144 </xccdf:Value>
6145 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.e" operator="equals" type="boolean">
6146 <xccdf:title>net.ipv6.conf.default.autoconf</xccdf:title>
6147 <xccdf:description>Setting controls whether router advertisements can cause the system to assign a global unicast address to an interface.</xccdf:description>
6148 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of global unicast address from router advertisement</xccdf:question>
6149 <xccdf:value>0</xccdf:value>
6150 <xccdf:value selector="enabled">1</xccdf:value>
6151 <xccdf:value selector="disabled">0</xccdf:value>
6152 </xccdf:Value>
6153 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.f" operator="equals" type="number">
6154 <xccdf:title>net.ipv6.conf.default.dad_transmits</xccdf:title>
6155 <xccdf:description xml:lang="en">
6156 Setting determines how many neighbor solicitations to
6157 send out per address (global and link-local) when bringing up an interface to
6158 ensure the desired address is unique on the network</xccdf:description>
6159 <xccdf:question xml:lang="en">Select how many neighbor solicitations send out per address to ensure uniqueness of desired address for IPv6</xccdf:question>
6160 <xccdf:value>0</xccdf:value>
6161 <xccdf:value selector="0">0</xccdf:value>
6162 <xccdf:value selector="1">1</xccdf:value>
6163 </xccdf:Value>
6164 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.g" operator="equals" type="number">
6165 <xccdf:title>net.ipv6.conf.default.max_addresses</xccdf:title>
6166 <xccdf:description>
6167 Setting determines how many global unicast IPv6 addresses can be
6168 assigned to each interface. The default is 16, but it should be set to exactly
6169 the number of statically configured global addresses required.</xccdf:description>
6170 <xccdf:question xml:lang="en">Select how many global unicast IPv6 addresses can be assigned to each interface</xccdf:question>
6171 <xccdf:value>16</xccdf:value>
6172 <xccdf:value selector="0">0</xccdf:value>
6173 <xccdf:value selector="1">1</xccdf:value>
6174 <xccdf:value selector="2">2</xccdf:value>
6175 <xccdf:value selector="4">4</xccdf:value>
6176 <xccdf:value selector="8">8</xccdf:value>
6177 <xccdf:value selector="16">16</xccdf:value>
6178 </xccdf:Value>
6179 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false" weight="10.0">
6180 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations</xccdf:title>
6181 <xccdf:description>The default number of IPv6 router solicitations for network interfaces to send should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.5.a"/></xccdf:description>
6182 <xccdf:ident system="http://cce.mitre.org">CCE-4159-0</xccdf:ident>
6183 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.router_solicitations</xccdf:fixtext>
6184 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6185 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20139" value-id="xccdf_cdf_value_var-2.5.3.2.5.a"/>
6186 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20139"/>
6187 </xccdf:check>
6188 </xccdf:Rule>
6189 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false" weight="10.0">
6190 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:title>
6191 <xccdf:description>The default setting for accepting router preference via IPv6 router advertisement should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.5.b"/> for interfaces.</xccdf:description>
6192 <xccdf:ident system="http://cce.mitre.org">CCE-4221-8</xccdf:ident>
6193 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:fixtext>
6194 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6195 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20140" value-id="xccdf_cdf_value_var-2.5.3.2.5.b"/>
6196 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20140"/>
6197 </xccdf:check>
6198 </xccdf:Rule>
6199 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false" weight="10.0">
6200 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
6201 <xccdf:description>The default setting for accepting prefix information via IPv6 router advertisement should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.5.c"/> for interfaces.</xccdf:description>
6202 <xccdf:ident system="http://cce.mitre.org">CCE-4058-4</xccdf:ident>
6203 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_pinfo</xccdf:fixtext>
6204 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6205 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20141" value-id="xccdf_cdf_value_var-2.5.3.2.5.c"/>
6206 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20141"/>
6207 </xccdf:check>
6208 </xccdf:Rule>
6209 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false" weight="10.0">
6210 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
6211 <xccdf:description>The default setting for accepting a default router via IPv6 router advertisement should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.5.d"/> for interfaces.</xccdf:description>
6212 <xccdf:ident system="http://cce.mitre.org">CCE-4128-5</xccdf:ident>
6213 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_defrtr</xccdf:fixtext>
6214 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6215 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20142" value-id="xccdf_cdf_value_var-2.5.3.2.5.d"/>
6216 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20142"/>
6217 </xccdf:check>
6218 </xccdf:Rule>
6219 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false" weight="10.0">
6220 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf</xccdf:title>
6221 <xccdf:description>The default setting for autoconfiguring network interfaces using prefix information in IPv6 router advertisements should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.5.e"/>.</xccdf:description>
6222 <xccdf:ident system="http://cce.mitre.org">CCE-4287-9</xccdf:ident>
6223 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.autoconf</xccdf:fixtext>
6224 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6225 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20143" value-id="xccdf_cdf_value_var-2.5.3.2.5.e"/>
6226 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20143"/>
6227 </xccdf:check>
6228 </xccdf:Rule>
6229 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false" weight="10.0">
6230 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits</xccdf:title>
6231 <xccdf:description>The default number of IPv6 duplicate address detection solicitations for network interfaces to send per configured address should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.5.f"/>.</xccdf:description>
6232 <xccdf:ident system="http://cce.mitre.org">CCE-3895-0</xccdf:ident>
6233 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.dad_transmits</xccdf:fixtext>
6234 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6235 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20144" value-id="xccdf_cdf_value_var-2.5.3.2.5.f"/>
6236 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20144"/>
6237 </xccdf:check>
6238 </xccdf:Rule>
6239 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false" weight="10.0">
6240 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses</xccdf:title>
6241 <xccdf:description>The default number of global unicast IPv6 addresses allowed per network interface should be: <xccdf:sub idref="xccdf_cdf_value_var-2.5.3.2.5.g"/>.</xccdf:description>
6242 <xccdf:ident system="http://cce.mitre.org">CCE-4137-6</xccdf:ident>
6243 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.max_addresses</xccdf:fixtext>
6244 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6245 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20145" value-id="xccdf_cdf_value_var-2.5.3.2.5.g"/>
6246 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20145"/>
6247 </xccdf:check>
6248 </xccdf:Rule>
6249 </xccdf:Group>
6250 </xccdf:Group>
6251 </xccdf:Group>
6252 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4">
6253 <xccdf:title xml:lang="en">TCP Wrapper</xccdf:title>
6254 <xccdf:description xml:lang="en">
6255 TCP Wrapper is a library which provides simple access control and
6256 standardized logging for supported applications which accept connections over a network.
6257 Historically, TCP Wrapper was used to support inetd services. Now that inetd is deprecated
6258 (see Section 3.2.1), TCP Wrapper supports only services which were built to make use of
6259 the libwrap library. To determine whether a given executable daemon /path/to/daemon
6260 supports TCP Wrapper, check the documentation, or run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6261 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6262 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ ldd /path/to/daemon | grep libwrap.so <xhtml:br/></xhtml:code>
6263 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6264 If this command returns any output, then the daemon probably supports TCP Wrapper. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6265 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6266 An alternative to TCP Wrapper support is packet filtering using iptables. Note
6267 that iptables works at the network level, while TCP Wrapper works at the application
6268 level. This means that iptables filtering is more efficient and more resistant to flaws in
6269 the software being protected, but TCP Wrapper provides support for logging, banners, and
6270 other application-level tricks which iptables cannot provide.</xccdf:description>
6271 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.1">
6272 <xccdf:title xml:lang="en">How TCP Wrapper Protects Services</xccdf:title>
6273 <xccdf:description xml:lang="en">
6274 TCP Wrapper provides access control for the system's network
6275 services using two configuration files. When a connection is attempted: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6276 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6277 <xhtml:li>The file
6278 /etc/hosts.allow is searched for a rule matching the connection. If one is found, the
6279 connection is allowed. </xhtml:li>
6280 <xhtml:li>Otherwise, the file /etc/hosts.deny is searched for a rule
6281 matching the connection. If one is found, the connection is rejected. </xhtml:li>
6282 <xhtml:li>If no matching
6283 rules are found in either file, then the connection is allowed. By default, TCP Wrapper
6284 does not block access to any services. </xhtml:li>
6285 </xhtml:ol>
6286 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6287 In the simplest case, each rule in /etc/hosts.allow and /etc/hosts.deny takes the form: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6289 daemon : client <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6290 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6291 where daemon is the
6292 name of the server process for which the connection is destined, and client is the
6293 partial or full hostname or IP address of the client. It is valid for daemon and client
6294 to contain one item, a comma-separated list of items, or a special keyword like ALL,
6295 which matches any service or client. (See the hosts access(5) manpage for a list of
6296 other keywords.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6297 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6298 Note: Partial hostnames start at the root domain and are delimited by
6299 the . character. So the client machine host03.dev.example.com, with IP address 10.7.2.3,
6300 could be matched by any of the specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6301 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6302 .example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6303 .dev.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6304 10.7.2.</xccdf:description>
6305 </xccdf:Group>
6306 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.2">
6307 <xccdf:title xml:lang="en">Reject All Connections From Other Hosts if Appropriate</xccdf:title>
6308 <xccdf:description xml:lang="en">
6309 Restrict all connections to non-public services to localhost
6310 only. Suppose pubsrv1 and pubsrv2 are the names of daemons which must be accessed
6311 remotely. Configure TCP Wrapper as follows. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6312 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6313 Edit /etc/hosts.allow. Add the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6314 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6315 pubsrv1 ,pubsrv2 : ALL<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6316 ALL: localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6317 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6318 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6319 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6320 ALL: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6321 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6322 These rules deny connections to all TCP Wrapper enabled services from any
6323 host other than localhost, but allow connections from anywhere to the services which
6324 must be publicly accessible. (If no public services exist, the first line in
6325 /etc/hosts.allow may be omitted.)</xccdf:description>
6326 </xccdf:Group>
6327 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.3">
6328 <xccdf:title xml:lang="en">Allow Connections Only From Hosts in This Domain if Appropriate</xccdf:title>
6329 <xccdf:description xml:lang="en">
6330 For each daemon, domainsrv , which only needs to be contacted
6331 from inside the local domain, example.com , configure TCP Wrapper to deny remote
6332 connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6333 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6334 Edit /etc/hosts.allow. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6336 domainsrv : .example.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6337 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6338 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6339 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6340 domainsrv : ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6342 There are many possible
6343 examples of services which need to communicate only within the local domain. If a
6344 machine is a local compute server, it may be necessary for users to connect via SSH from
6345 their desktop workstations, but not from outside the domain. In that case, you should
6346 protect the daemon sshd using this method. As another example, RPC-based services such
6347 as NFS might be enabled within the domain only, in which case the daemon portmap should
6348 be protected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6350 </xccdf:description>
6351 <xccdf:warning xml:lang="en">Note: This example protects only the service domainsrv . No filtering is
6352 done on other services unless a line is entered into /etc/hosts.deny which refers to
6353 those services by name, or which restricts the special service ALL.</xccdf:warning>
6354 </xccdf:Group>
6355 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.4">
6356 <xccdf:title xml:lang="en">Monitor Syslog for Relevant Connections and Failures</xccdf:title>
6357 <xccdf:description xml:lang="en">
6358 Ensure that the following line exists in /etc/syslog.conf.
6359 (This is the default, so it is likely to be correct if the configuration has not been
6360 modified): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6362 authpriv.* /var/log/secure <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6364 Configure logwatch or other log monitoring tools
6365 to periodically summarize failed connections reported by TCP Wrapper at the facility
6366 authpriv.info. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6368 By default, TCP Wrapper audits all rejected connections at the facility
6369 authpriv, level info. In the log file, TCP Wrapper rejections will contain the
6370 substring: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6371 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6372 daemon [pid ]: refused connect from ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6374 These lines can be used to detect
6375 malicious scans, and to debug failures resulting from an incorrect TCP Wrapper
6376 configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6377 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6378 If appropriate, it is possible to change the syslog facility and level
6379 used by a given TCP Wrapper rule by adding the severity option to each desired
6380 configuration line in /etc/hosts.deny: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6381 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6382 daemon : client : severity facility .level <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6383 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6384 By default, successful connections are not logged by TCP Wrapper. See Section 2.6 for
6385 more information about system auditing.</xccdf:description>
6386 </xccdf:Group>
6387 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.5">
6388 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6389 <xccdf:description xml:lang="en">
6390 For more information about TCP Wrapper, see the tcpd(8) and
6391 hosts access(5) manpages and the documentation directory /usr/share/doc/tcp
6392 wrappers-version. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6393 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6394 Some information may be available from the Tools section of the
6395 author's website, http://www.porcupine.org, and from the RHEL4 Reference Guide [6].</xccdf:description>
6396 </xccdf:Group>
6397 </xccdf:Group>
6398 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5">
6399 <xccdf:title xml:lang="en">Iptables and Ip6tables</xccdf:title>
6400 <xccdf:description xml:lang="en">
6401 A host-based firewall called Netfilter is included as part of the
6402 Linux kernel distributed with the system. It is activated by default. This firewall is
6403 controlled by the program iptables, and the entire capability is frequently referred to by
6404 this name. An analogous program called ip6tables handles filtering for IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6405 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6406 Unlike TCP
6407 Wrappers, which depends on the network server program to support and respect the rules
6408 written, Netfilter filtering occurs at the kernel level, before a program can even process
6409 the data from the network packet. As such, any program on the system is affected by the
6410 rules written. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6412 This section provides basic information about strengthening the iptables
6413 and ip6tables configurations included with the system. For more complete information that
6414 may allow the construction of a sophisticated ruleset tailored to your environment, please
6415 consult the references at the end of this section.</xccdf:description>
6416 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.1">
6417 <xccdf:title xml:lang="en">Inspect and Activate Default Rules</xccdf:title>
6418 <xccdf:description xml:lang="en">
6419 View the currently-enforced iptables rules by running the
6420 command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6422 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># iptables -nL --line-numbers <xhtml:br/></xhtml:code>
6423 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6424 The command is analogous for the ip6tables program. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6425 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6426 If the firewall does not appear to be active (i.e., no rules appear), activate
6427 it and ensure that it starts at boot by issuing the following commands (and analogously
6428 for ip6tables): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6429 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6430 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service iptables restart <xhtml:br/>
6431 # chkconfig iptables on <xhtml:br/></xhtml:code>
6432 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6433 The default iptables rules are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6435 Chain INPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6436 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6437 1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6438 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6439 Chain FORWARD (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6440 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6441 1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6442 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6443 Chain OUTPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6444 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6445 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6446 Chain RH-Firewall-1-INPUT (2 references) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6447 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6448 1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6449 2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6450 3 ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6451 4 ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6452 5 ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6453 6 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6454 7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6455 8 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6456 9 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6457 10 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6458 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6459 The ip6tables default rules are similar, with
6460 its rules 2 and 10 reflecting protocol naming and addressing differences. Instead of
6461 rule 8, however, ip6tables includes two rules that accept all incoming udp and tcp
6462 packets with a particular destination port range. This is because the current Netfilter
6463 implementation for IPv6 lacks reliable connection-tracking functionality.</xccdf:description>
6464 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.a" selected="false" severity="high" weight="10.0">
6465 <xccdf:title>Verify ip6tables is enabled</xccdf:title>
6466 <xccdf:description>The ip6tables service should be enabled.</xccdf:description>
6467 <xccdf:ident system="http://cce.mitre.org">CCE-4167-3</xccdf:ident>
6468 <xccdf:fix>chkconfig ip6tables on</xccdf:fix>
6469 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6470 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20146"/>
6471 </xccdf:check>
6472 </xccdf:Rule>
6473 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.b" selected="false" severity="high" weight="10.0">
6474 <xccdf:title>Verify iptables is enabled</xccdf:title>
6475 <xccdf:description>The iptables service should be enabled.</xccdf:description>
6476 <xccdf:ident system="http://cce.mitre.org">CCE-4189-7</xccdf:ident>
6477 <xccdf:fix>chkconfig iptables on</xccdf:fix>
6478 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6479 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20147"/>
6480 </xccdf:check>
6481 </xccdf:Rule>
6482 </xccdf:Group>
6483 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.2">
6484 <xccdf:title xml:lang="en">Understand the Default Ruleset</xccdf:title>
6485 <xccdf:description xml:lang="en">
6486 Understanding and creating firewall rules can be a challenging
6487 activity, filled with corner cases and difficult-todebug problems. Because of this,
6488 administrators should develop a thorough understanding of the default ruleset before
6489 carefully modifying it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6490 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6491 The default ruleset is divided into four sections, each of which
6492 is called a chain: INPUT, FORWARD, OUTPUT, and RH-Firewall-1-INPUT. INPUT, OUTPUT, and
6493 FORWARD are built-in chains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6494 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6495 <xhtml:li>The INPUT chain is activated on packets destined for
6496 (i.e., addressed to) the system. </xhtml:li>
6497 <xhtml:li>The OUTPUT chain is activated on packets which are
6498 originating from the system. </xhtml:li>
6499 <xhtml:li>The FORWARD chain is activated for packets that the
6500 system will process and send through another interface, if so configured. </xhtml:li>
6501 <xhtml:li>The
6502 RH-Firewall-1-INPUT chain is a custom (or user-defined) chain, which is used by the
6503 INPUT and FORWARD chains. </xhtml:li>
6504 </xhtml:ul>
6505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6506 A packet starts at the first rule in the appropriate chain and
6507 proceeds until it matches a rule. If a match occurs, then control will jump to the
6508 specified target. The default ruleset uses the built-in targets ACCEPT and REJECT, and
6509 also the user-defined target/chain RH-Firewall-1-INPUT. Jumping to the target ACCEPT
6510 means to allow the packet through, while REJECT means to drop the packet and send an
6511 error message to the sending host. A related target called DROP means to drop the packet
6512 on the floor without even sending an error message. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6513 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6514 The default policy for all of the
6515 built-in chains (shown after their names in the rule output above) is set to ACCEPT.
6516 This means that if no rules in the chain match the packets, they are allowed through.
6517 Because no rules at all are written for the OUTPUT chain, this means that iptables does
6518 not stop any packets originating from the system. The INPUT and FORWARD chains jump to
6519 the user-defined target RH-Firewall-1-INPUT for all packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6521 RH-Firewall-1-INPUT tries
6522 to match, in order, the following rules for both iptables and ip6tables: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6523 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6524 <xhtml:li>Rule 1
6525 appears to accept all packets. However, this appears true only because the rules are not
6526 presented in verbose mode. Executing the command <xhtml:br/>
6527 <xhtml:br/>
6528 <xhtml:code># iptables -vnL --line-numbers <xhtml:br/></xhtml:code>
6529 <xhtml:br/>
6530 reveals
6531 that this rule applies only to the loopback (lo) interface (see column in), while all
6532 other rules apply to all interfaces. Thus, packets not coming from the loopback
6533 interface do not match and proceed to the next rule. </xhtml:li>
6534 <xhtml:li>Rule 2 explicitly allows all icmp
6535 packet types; iptables uses the code 255 to mean all icmp types. </xhtml:li>
6536 <xhtml:li>Rule 3 explicitly
6537 allows all esp packets; these are packets which contain IPsec ESP headers.</xhtml:li>
6538 <xhtml:li>Rule 4
6539 explicitly allows all ah packets; these are packets which contain an IPsec
6540 authentication header SPI. </xhtml:li>
6541 <xhtml:li>Rule 5 allows inbound communication on udp port 5353
6542 (mDNS), which the avahi daemon uses. </xhtml:li>
6543 <xhtml:li>Rules 6 and 7 allows inbound communication on
6544 both tcp and udp port 631, which the cups daemon uses. </xhtml:li>
6545 <xhtml:li>Rule 8, in the iptables rules,
6546 allows inbound packets that are part of a session initiated by the system. In ip6tables,
6547 rules 8 and 9 allow any inbound packets with a destination port address between 32768
6548 and 61000. </xhtml:li>
6549 <xhtml:li>Rule 9 (10, for ip6tables) allows inbound connections in tcp port 22, which
6550 is the SSH protocol. </xhtml:li>
6551 <xhtml:li>Rule 10 (11, for ip6tables) rejects all other packets and sends
6552 an error message to the sender. Because this is the last rule and matches any packet, it
6553 effectively prevents any packet from reaching the chain's default ACCEPT target.
6554 Preventing the acceptance of any packet that is not explicitly allowed is proper design
6555 for a firewall.</xhtml:li>
6556 </xhtml:ul></xccdf:description>
6557 </xccdf:Group>
6558 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3">
6559 <xccdf:title xml:lang="en">Strengthen the Default Ruleset</xccdf:title>
6560 <xccdf:description xml:lang="en">
6561 The default rules can be strengthened. The system scripts that
6562 activate the firewall rules expect them to be defined in the configuration files
6563 iptables and ip6tables in the directory /etc/sysconfig. Many of the lines in these files
6564 are similar to the command line arguments that would be provided to the programs
6565 /sbin/iptables or /sbin/ip6tables – but some are quite different. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6567 The following recommendations describe how to strengthen the default
6568 ruleset configuration file. An alternative to editing this configuration file is to
6569 create a shell script that makes calls to the iptables program to load in rules, and
6570 then invokes service iptables save to write those loaded rules to
6571 /etc/sysconfig/iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6572 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6573 The following alterations can be made directly to
6574 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables. Instructions apply to both unless
6575 otherwise noted. Language and address conventions for regular iptables are used
6576 throughout this section; configuration for ip6tables will be either analogous or
6577 explicitly covered.</xccdf:description>
6578 <xccdf:warning xml:lang="en">The program
6579 system-config-securitylevel allows additional services to penetrate the default firewall
6580 rules and automatically adjusts /etc/ sysconfig/ iptables . This program is only useful
6581 if the default ruleset meets your security requirements. Otherwise, this program should
6582 not be used to make changes to the firewall configuration because it re-writes the saved
6583 configuration file. </xccdf:warning>
6584 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.1">
6585 <xccdf:title xml:lang="en">Change the Default Policies</xccdf:title>
6586 <xccdf:description xml:lang="en">
6587 Change the default policy to DROP (from ACCEPT) for the INPUT
6588 and FORWARD built-in chains: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6589 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6590 *filter <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6591 :INPUT DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6592 :FORWARD DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6593 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6594 Changing
6595 the default policy in this way implements proper design for a firewall, i.e. any
6596 packets which are not explicitly permitted should not be accepted.</xccdf:description>
6597 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false" severity="high" weight="10.0">
6598 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</xccdf:title>
6599 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</xccdf:description>
6600 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6601 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6602 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201474"/>
6603 </xccdf:check>
6604 </xccdf:Rule>
6605 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false" severity="high" weight="10.0">
6606 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</xccdf:title>
6607 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</xccdf:description>
6608 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6609 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6610 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201475"/>
6611 </xccdf:check>
6612 </xccdf:Rule>
6613 </xccdf:Group>
6614 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.2">
6615 <xccdf:title xml:lang="en">Restrict ICMP Message Types</xccdf:title>
6616 <xccdf:description xml:lang="en">
6617 In /etc/sysconfig/iptables, the accepted ICMP messages types
6618 can be restricted. To accept only ICMP echo reply, destination unreachable, and time
6619 exceeded messages, remove the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6620 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6621 -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6622 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6623 and insert the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6624 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-reply -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6625 -A RH-Firewall-1-INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6626 -A RH-Firewall-1-INPUT -p icmp --icmp-type time-exceeded -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6627 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6628 To allow the system to respond to pings, also insert the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6629 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6630 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-request -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6632 Ping responses can also be limited to certain
6633 networks or hosts by using the -s option in the previous rule. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6634 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6635 Because IPv6 depends so
6636 heavily on ICMPv6, it is preferable to deny the ICMPv6 packets you know you don't need
6637 (e.g. ping requests) in /etc/sysconfig/ip6tables, while letting everything else
6638 through: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6639 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6640 -A RH-Firewall-1-INPUT -p icmpv6 --icmpv6-type echo-request -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6641 If you
6642 are going to statically configure the machine's address, it should ignore Router
6643 Advertisements which could add another IPv6 address to the interface or alter
6644 important network settings: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6645 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6646 -A RH-Firewall-1-INPUT -p icmpv6 --icmpv6-type router-advertisement -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6647 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6648 Restricting other ICMPv6 message types in
6649 /etc/sysconfig/ip6tables is not recommended because the operation of IPv6 depends
6650 heavily on ICMPv6. Thus, more care must be taken when blocking ICMPv6 types.</xccdf:description>
6651 </xccdf:Group>
6652 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.3">
6653 <xccdf:title xml:lang="en">Remove IPsec Rules</xccdf:title>
6654 <xccdf:description xml:lang="en">
6655 If the system will not process IPsec traffic, then remove the
6656 following rules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6657 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6658 -A RH-Firewall-1-INPUT -p 50 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6659 -A RH-Firewall-1-INPUT -p 51 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/></xccdf:description>
6660 </xccdf:Group>
6661 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.4">
6662 <xccdf:title xml:lang="en">Log and Drop Packets with Suspicious Source Addresses</xccdf:title>
6663 <xccdf:description xml:lang="en">
6664 Packets with non-routable source addresses should be
6665 rejected, as they may indicate spoofing. Because the modified policy will reject
6666 non-matching packets, you only need to add these rules if you are interested in also
6667 logging these spoofing or suspicious attempts before they are dropped. If you do
6668 choose to log various suspicious traffic, add identical rules with a target of DROP
6669 after each LOG. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6671 To log and then drop these IPv4 packets, insert the following rules in
6672 /etc/sysconfig/iptables (excepting any that are intentionally used): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6673 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6674 -A INPUT -i eth0 -s 10.0.0.0/8 -j LOG --log-prefix "IP DROP SPOOF A: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6675 -A INPUT -i eth0 -s 172.16.0.0/12 -j LOG --log-prefix "IP DROP SPOOF B: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6676 -A INPUT -i eth0 -s 192.168.0.0/16 -j LOG --log-prefix "IP DROP SPOOF C: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6677 -A INPUT -i eth0 -s 224.0.0.0/4 -j LOG --log-prefix "IP DROP MULTICAST D: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6678 -A INPUT -i eth0 -s 240.0.0.0/5 -j LOG --log-prefix "IP DROP SPOOF E: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6679 -A INPUT -i eth0 -d 127.0.0.0/8 -j LOG --log-prefix "IP DROP LOOPBACK: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6680 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6681 Similarly, you might wish to log packets containing some IPv6
6682 reserved addresses if they are not expected on your network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6684 -A INPUT -i eth0 -s ::1 -j LOG --log-prefix "IPv6 DROP LOOPBACK: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6685 -A INPUT -s 2002:E000::/20 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6686 -A INPUT -s 2002:7F00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6687 -A INPUT -s 2002:0000::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6688 -A INPUT -s 2002:FF00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6689 -A INPUT -s 2002:0A00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6690 -A INPUT -s 2002:AC10::/28 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6691 -A INPUT -s 2002:C0A8::/32 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6692 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6693 If you are not expecting to see site-local multicast or auto-tunneled traffic, you
6694 can log those: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6695 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6696 -A INPUT -s FF05::/16 -j LOG --log-prefix "IPv6 SITE-LOCAL MULTICAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6697 -A INPUT -s ::0.0.0.0/96 -j LOG --log-prefix "IPv4 COMPATIBLE IPv6 ADDR: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6698 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6699 If you wish to block multicasts to all
6700 link-local nodes (e.g. if you are not using router autoconfiguration and do not plan
6701 to have any services that multicast to the entire local network), you can block the
6702 link-local all-nodes multicast address (before accepting incoming ICMPv6): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6703 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6704 -A INPUT -d FF02::1 -j LOG --log-prefix "Link-local All-Nodes Multicast: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6705 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6706 However, if you're
6707 going to allow IPv4 compatible IPv6 addresses (of the form ::0.0.0.0/96), you should
6708 then consider logging the non-routable IPv4-compatible addresses: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6709 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6710 -A INPUT -s ::0.0.0.0/104 -j LOG --log-prefix "IP NON-ROUTABLE ADDR: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6711 -A INPUT -s ::127.0.0.0/104 -j LOG --log-prefix "IP DROP LOOPBACK: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6712 -A INPUT -s ::224.0.0.0.0/100 -j LOG --log-prefix "IP DROP MULTICAST D: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6713 -A INPUT -s ::255.0.0.0/104 -j LOG --log-prefix "IP BROADCAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6714 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6715 If you are not expecting to see any IPv4 (or IPv4-compatible) traffic
6716 on your network, consider logging it before it gets dropped: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6717 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6718 -A INPUT -s ::FFFF:0.0.0.0/96 -j LOG --log-prefix "IPv4 MAPPED IPv6 ADDR: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6719 -A INPUT -s 2002::/16 -j LOG --log-prefix "IPv6 6to4 ADDR: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6720 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6721 The following rule will log all traffic
6722 originating from a site-local address, which is deprecated address space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6723 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6724 -A INPUT -s FEC0::/10 -j LOG --log-prefix "SITE-LOCAL ADDRESS TRAFFIC: "</xccdf:description>
6725 </xccdf:Group>
6726 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.5">
6727 <xccdf:title xml:lang="en">Log and Drop All Other Packets</xccdf:title>
6728 <xccdf:description xml:lang="en">
6729 To log before dropping all packets that are not explicitly
6730 accepted by previous rules, change the final lines from <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6731 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6732 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6733 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6734 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6735 to <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6736 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6737 -A RH-Firewall-1-INPUT -j LOG <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6738 -A RH-Firewall-1-INPUT -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6739 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6740 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6741 The rule to log all dropped packets must be used
6742 with care. Chatty but otherwise non-malicious network protocols (e.g. NetBIOS) may
6743 result in voluminous logs; insertion of earlier rules to explicitly drop their packets
6744 without logging may be appropriate.</xccdf:description>
6745 </xccdf:Group>
6746 </xccdf:Group>
6747 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.4">
6748 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
6749 <xccdf:description xml:lang="en">
6750 Further strengthening, particularly as a result of
6751 customization to a particular environment, is possible for the iptables rules. Consider
6752 the following options, though their practicality depends on the network environment and
6753 usage scenario: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6754 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6755 <xhtml:li>Restrict outgoing traffic. As shown above, the OUTPUT chain's default
6756 policy can be changed to DROP, and rules can be written to specifically allow only
6757 certain types of outbound traffic. Such a policy could prevent casual usage of insecure
6758 protocols such as ftp and telnet, or even disrupt spyware. However, it would still not
6759 prevent a sophisticated user or program from using a proxy to circumvent the intended
6760 effects, and many client programs even try to automatically tunnel through port 80 to
6761 avoid such restrictions.</xhtml:li>
6762 <xhtml:li>SYN flood protection. SYN flood protection can be provided by
6763 iptables, but might run into limiting issues for servers. For example, the iplimit match
6764 can be used to limit simultaneous connections from a given host or class. Similarly, the
6765 recent match allows the firewall to deny additional connections from any host within a
6766 given period of time (e.g. more than 3 –state NEW connections on port 22 within a minute
6767 to prevent dictionary login attacks). <xhtml:br/>
6768 <xhtml:br/>
6769 A more precise option for DoS protection is using
6770 TCP SYN cookies. (See Section 2.5.1.2 for more information.)</xhtml:li>
6771 </xhtml:ul></xccdf:description>
6772 </xccdf:Group>
6773 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.5">
6774 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6775 <xccdf:description xml:lang="en">
6776 More complex, restrictive, and powerful rulesets can be
6777 created, but this requires careful customization that relies on knowledge of the
6778 particular environment. The following resources provide more detailed information: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6779 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6780 <xhtml:li>The iptables(8) man page </xhtml:li>
6781 <xhtml:li>The Netfilter Project's documentation at http://www.netfilter.org</xhtml:li>
6782 <xhtml:li>The Red Hat Enterprise Linux Reference Guide</xhtml:li>
6783 </xhtml:ul></xccdf:description>
6784 </xccdf:Group>
6785 </xccdf:Group>
6786 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6">
6787 <xccdf:title xml:lang="en">Secure Sockets Layer Support</xccdf:title>
6788 <xccdf:description xml:lang="en">
6789 The Secure Sockets Layer (SSL) protocol provides encrypted and
6790 authenticated network communications, and many network services include support for it.
6791 Using SSL is recommended, especially to avoid any plaintext transmission of sensitive
6792 data, even over a local network. The SSL implementation included with the system is called
6793 OpenSSL. Recent implementations of SSL may also be referred to as Transport Layer Security
6794 (TLS). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6795 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6796 SSL uses public key cryptography to provide authentication and encryption. Public
6797 key cryptography involves two keys, one called the public key and the other called the
6798 private key. These keys are mathematically related such that data encrypted with one key
6799 can only be decrypted by the other, and vice versa. As their names suggest, public keys
6800 can be distributed to anyone while a private key must remain known only to its owner. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6802 SSL uses certificates, which are files that hold cryptographic data: a public key, and a
6803 signature of that public key. In SSL authentication, a server presents a client with its
6804 certificate as a means of demonstrating that it is who it claims it is. If everything goes
6805 correctly, the client can verify the server's certificate by determining that the
6806 signature inside the certificate could only have been generated by a third party whom the
6807 client trusts. This third party is called a Certificate Authority (CA). Each client system
6808 should also have certificates from trusted CAs, and the client uses these CA certificates
6809 to verify the authenticity of the server's certificate. After authenticating a server
6810 using its certificate and a CA certificate, SSL provides encryption by using the server
6811 certificate to securely negotiate a shared secret key. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6812 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6813 If your server must communicate
6814 using SSL with systems that might not be able to securely accept a new CA certificate
6815 prior to any SSL communication, then paying an established CA (whose certificates your
6816 clients already have) to sign your server certificates is recommended. The steps for doing
6817 this vary by vendor. Once the signed certificates have been obtained, configuration of the
6818 services is the same whether they were purchased from a vendor or signed by your own CA.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6819 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6820 For setting up an internal network and encrypting local traffic, creating your own CA to
6821 sign SSL certificates can be appropriate. The major steps in this process are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6822 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6823 <xhtml:li>Create a CA to sign certificates </xhtml:li>
6824 <xhtml:li>Create SSL certificates for servers using that CA</xhtml:li>
6825 <xhtml:li>Enableclient support by distributing the CA's certificate</xhtml:li>
6826 </xhtml:ol></xccdf:description>
6827 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.1">
6828 <xccdf:title xml:lang="en">Create a CA to Sign Certificates</xccdf:title>
6829 <xccdf:description xml:lang="en">
6830 The following instructions apply to OpenSSL since it is
6831 included with the system, but creating a CA is possible with any standards-compliant SSL
6832 toolkit. The security of certificates depends on the security of the CA that signed
6833 them, so performing these steps on a secure machine is critical. The system used as a CA
6834 should be physically secure and not connected to any network. It should receive any
6835 certificate signing requests (CSRs) via removable media and output certificates onto
6836 removable media. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6837 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6838 The script /etc/pki/tls/misc/CA is included to assist in the process of
6839 setting up a CA. This script uses many settings in /etc/pki/tls/openssl.cnf. The
6840 settings in this file can be changed to suit your needs and allow easier selection of
6841 default settings, particularly in the [req distinguished name] section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6843 To create the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6844 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6845 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/misc <xhtml:br/>
6846 # ./CA -newca <xhtml:br/></xhtml:code>
6847 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6848 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6849 <xhtml:li>When prompted, press enter to create a new CA key with the default name cakey.pem.</xhtml:li>
6850 <xhtml:li>When prompted, enter a password that will protect the private key, then enter the same password
6851 again to verify it.</xhtml:li>
6852 <xhtml:li>At the prompts, fill out as much of the CA information as is relevant for your site. You must specify
6853 a common name, or generation of the CA certificate will fail. </xhtml:li>
6854 <xhtml:li>Next, you will be prompted for the password, so that the script can re-open the private key in order
6855 to write the certificate.</xhtml:li>
6856 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6858 This step performs the following actions:
6859 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6860 <xhtml:li>creates the directory
6861 /etc/pki/CA (by default), which contains files necessary for the operation of a
6862 certificate authority. These are:</xhtml:li>
6863 <xhtml:ul>
6864 <xhtml:li>serial, which contains the current serial number for certificates signed by the CA</xhtml:li>
6865 <xhtml:li>index.txt, which is a text database file that contains information about certificates signed</xhtml:li>
6866 <xhtml:li>crl, which is a directory for holding revoked certificates</xhtml:li>
6867 <xhtml:li>private, a directory which stores the CA's private key</xhtml:li>
6868 </xhtml:ul>
6869 <xhtml:li>creates a public-private key pair for the CA in the file /etc/pki/CA/private/cakey.pem. The
6870 private key must be kept private in order to ensure the security of the certificates the CA will later sign.</xhtml:li>
6871 <xhtml:li>signs the public key (using the corresponding private key, in a process called self-signing) to create the CA
6872 certificate, which is then stored in /etc/pki/CA/cacert.pem. </xhtml:li>
6873 <xhtml:li/>
6874 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6876 When the CA later signs a server certificate using its private
6877 key, it means that it is vouching for the authenticity of that server. A client can then
6878 use the CA's certificate (which contains its public key) to verify the authenticity of
6879 the server certificate. To accomplish this, it is necessary to distribute the CA
6880 certificate to any clients as covered in Section 2.5.6.3.</xccdf:description>
6881 </xccdf:Group>
6882 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.2">
6883 <xccdf:title xml:lang="en">Create SSL Certificates for Servers</xccdf:title>
6884 <xccdf:description xml:lang="en">
6885 Creating an SSL certificate for a server involves the following steps: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6886 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6887 <xhtml:li>A public-private key pair for the server must be generated.</xhtml:li>
6888 <xhtml:li>A certificate signing request (CSR) must be created from the key pair.</xhtml:li>
6889 <xhtml:li>The CSR must be signed by a
6890 certificate authority (CA) to create the server certificate. If a CA has been set up as
6891 described in Section 2.5.6.1, it can sign the CSR.</xhtml:li>
6892 <xhtml:li>The server certificate and keys must be installed on the server. </xhtml:li>
6893 </xhtml:ol>
6894 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6895 Instructions on how to generate and sign SSL certificates are provided for the following
6896 common services:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6897 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6898 <xhtml:li>Mail server, in Section 3.11.4.6.</xhtml:li>
6899 <xhtml:li>Dovecot, in Section 3.17.2.2. </xhtml:li>
6900 <xhtml:li>Apache, in Section 3.16.4.1.</xhtml:li>
6901 </xhtml:ul></xccdf:description>
6902 </xccdf:Group>
6903 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3">
6904 <xccdf:title xml:lang="en">Enable Client Support</xccdf:title>
6905 <xccdf:description xml:lang="en">
6906 The system ships with certificates from well-known commercial
6907 CAs. If your server certificates were signed by one of these established CAs, then this
6908 step is not necessary since the clients should include the CA certificate already. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6909 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6910 If your servers use certificates signed by your own CA, some user applications will warn
6911 that the server's certificate cannot be verified because the CA is not recognized. Other
6912 applications may simply fail to accept the certificate and refuse to operate, or
6913 continue operating without ever having properly verified the server certificate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6914 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6915 To avoid this warning, and properly authenticate the servers, your CA certificate must be
6916 exported to every application on every client system that will be connecting to an
6917 SSL-enabled server.</xccdf:description>
6918 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.1">
6919 <xccdf:title xml:lang="en">Adding a Trusted CA for Firefox</xccdf:title>
6920 <xccdf:description xml:lang="en">
6921 Firefox needs to have a certificate from the CA that signed
6922 the web server's certificate, so that it can authenticate the web server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6923 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6924 To import a new CA certificate into Firefox 1.5:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6925 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6926 <xhtml:li>Launch Firefox and choose Preferences from the Edit menu. </xhtml:li>
6927 <xhtml:li>Click the Advanced button.</xhtml:li>
6928 <xhtml:li>Select the Security pane.</xhtml:li>
6929 <xhtml:li>Click the View Certificates button.</xhtml:li>
6930 <xhtml:li>Click the Authorities tab. </xhtml:li>
6931 <xhtml:li>Click the Import button at the bottom of the screen.</xhtml:li>
6932 <xhtml:li>Navigate to the CA certificate and import it.</xhtml:li>
6933 </xhtml:ol></xccdf:description>
6934 </xccdf:Group>
6935 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.2">
6936 <xccdf:title xml:lang="en">Adding a Trusted CA for Thunderbird</xccdf:title>
6937 <xccdf:description xml:lang="en">
6938 Thunderbird needs to have a certificate from the CA that
6939 signed the mail server's certificates, so that it can authenticate the mail server(s).<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6940 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6941 To import a new CA certificate into Thunderbird 2: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6942 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6943 <xhtml:li>Launch Thunderbird and choose Account Settings from the Edit menu.</xhtml:li>
6944 <xhtml:li>Click the Advanced button.</xhtml:li>
6945 <xhtml:li>Select the Certificates tab</xhtml:li>
6946 <xhtml:li>Click the View Certificates button.</xhtml:li>
6947 <xhtml:li>Select the Authorities tab.</xhtml:li>
6948 <xhtml:li>Click the Import button at the bottom of the screen.</xhtml:li>
6949 <xhtml:li>Navigate to the CA certificate and import it. Determine whether the CA should
6950 be used to identify web sites, e-mail users, and software developers and trust it for
6951 each accordingly.</xhtml:li>
6952 </xhtml:ol></xccdf:description>
6953 </xccdf:Group>
6954 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.3">
6955 <xccdf:title xml:lang="en">Adding a Trusted CA for Evolution</xccdf:title>
6956 <xccdf:description xml:lang="en">
6957 The Evolution e-mail client needs to have a certificate from
6958 the CA that signed the mail server's certificates, so that it can authenticate the
6959 mail server(s). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6961 To import a new CA certificate into Evolution: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6962 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6963 <xhtml:li>Launch Evolution and choose Preferences from the Edit menu.</xhtml:li>
6964 <xhtml:li>Select Certificates from the icon list on the left.</xhtml:li>
6965 <xhtml:li>Select the Authorities tab.</xhtml:li>
6966 <xhtml:li>Click the Import button.</xhtml:li>
6967 <xhtml:li/>
6968 <xhtml:li/>
6969 <xhtml:li>Navigate to the CA certificate and import it.</xhtml:li>
6970 </xhtml:ol></xccdf:description>
6971 </xccdf:Group>
6972 </xccdf:Group>
6973 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.4">
6974 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6975 <xccdf:description xml:lang="en">
6976 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6977 <xhtml:li>The OpenSSL Project home page at http://www.openssl.org</xhtml:li>
6978 <xhtml:li>The openssl(1) man page</xhtml:li>
6979 <xhtml:li>Jeremy Mates's how-to: http://sial.org/howto/openssl</xhtml:li>
6980 </xhtml:ul>
6981 </xccdf:description>
6982 </xccdf:Group>
6983 </xccdf:Group>
6984 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7">
6985 <xccdf:title xml:lang="en">Uncommon Network Protocols</xccdf:title>
6986 <xccdf:description xml:lang="en">
6987 The system includes support for several network protocols which are not commonly used. Although security vul-
6988 nerabilities in kernel networking code are not frequently discovered, the consequences can be dramatic. Ensuring
6989 uncommon network protocols are disabled reduces the system’s risk to attacks targeted at its implementation of
6990 those protocols.</xccdf:description>
6991 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.1">
6992 <xccdf:title xml:lang="en">Disable Support for DCCP</xccdf:title>
6993 <xccdf:description xml:lang="en">
6994 To prevent the DCCP kernel module from being loaded, add the following line to /etc/modprobe.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6995 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6996 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install dccp /bin/true<xhtml:br/></xhtml:code>
6997 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6998 The Datagram Congestion Control Protocol (DCCP) is a relatively new transport layer protocol, designed to
6999 support streaming media and telephony.</xccdf:description>
7000 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false" severity="medium" weight="10.0">
7001 <xccdf:title>Disable Support for DCCP</xccdf:title>
7002 <xccdf:description>Support for DCCP should be disabled.</xccdf:description>
7003 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7004 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7005 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201476"/>
7006 </xccdf:check>
7007 </xccdf:Rule>
7008 </xccdf:Group>
7009 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.2">
7010 <xccdf:title xml:lang="en">Disable Support for SCTP</xccdf:title>
7011 <xccdf:description xml:lang="en">
7012 To prevent the SCTP kernel module from being loaded, add the following line to /etc/modprobe.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7013 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7014 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install sctp /bin/true<xhtml:br/></xhtml:code>
7015 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7016 The Stream Control Transmission Protocol (SCTP) is a transport layer protocol, designed to support the idea
7017 of message-oriented communication, with several streams of messages within one connection.</xccdf:description>
7018 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false" severity="medium" weight="10.0">
7019 <xccdf:title>Disable Support for SCTP</xccdf:title>
7020 <xccdf:description>Support for SCTP should be disabled.</xccdf:description>
7021 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7022 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7023 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201477"/>
7024 </xccdf:check>
7025 </xccdf:Rule>
7026 </xccdf:Group>
7027 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.3">
7028 <xccdf:title xml:lang="en">Disable Support for RDS</xccdf:title>
7029 <xccdf:description xml:lang="en">
7030 To prevent the RDS kernel module from being loaded, add the following line to /etc/modprobe.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7031 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7032 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
7033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7034 The Reliable Datagram Sockets (RDS) protocol is a transport layer protocol designed to provide reliable high-
7035 bandwidth, low-latency communications between nodes in a cluster.</xccdf:description>
7036 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false" severity="medium" weight="10.0">
7037 <xccdf:title>Disable Support for RDS</xccdf:title>
7038 <xccdf:description>Support for RDS should be disabled.</xccdf:description>
7039 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7040 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7041 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201478"/>
7042 </xccdf:check>
7043 </xccdf:Rule>
7044 </xccdf:Group>
7045 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.4">
7046 <xccdf:title xml:lang="en">Disable Support for TIPC</xccdf:title>
7047 <xccdf:description xml:lang="en">
7048 To prevent the TIPC kernel module from being loaded, add the following line to /etc/modprobe.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7049 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7050 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
7051 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7052 The Transparent Inter-Process Communication (TIPC) protocol is designed to provide communications between
7053 nodes in a cluster..</xccdf:description>
7054 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false" severity="medium" weight="10.0">
7055 <xccdf:title>Disable Support for TIPC</xccdf:title>
7056 <xccdf:description>Support for TIPC should be disabled.</xccdf:description>
7057 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7058 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7059 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201479"/>
7060 </xccdf:check>
7061 </xccdf:Rule>
7062 </xccdf:Group>
7063 </xccdf:Group>
7064 </xccdf:Group>
7065 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6">
7066 <xccdf:title xml:lang="en">Logging and Auditing</xccdf:title>
7067 <xccdf:description xml:lang="en">
7068 Successful local or network attacks on systems do not necessarily
7069 leave clear evidence of what happened. It is necessary to build a configuration in advance
7070 that collects this evidence, both in order to determine that something anomalous has
7071 occurred, and in order to respond appropriately. In addition, a well-configured logging and
7072 audit infrastructure will show evidence of any misconfiguration which might leave the system
7073 vulnerable to attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7074 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7075 Logging and auditing take different approaches to collecting data. A
7076 logging infrastructure provides a framework for individual programs running on the system to
7077 report whatever events are considered interesting: the sshd program may report each
7078 successful or failed login attempt, while the sendmail program may report each time it sends
7079 an e-mail on behalf of a local or remote user. An auditing infrastructure, on the other
7080 hand, reports each instance of certain low-level events, such as entry to the setuid system
7081 call, regardless of which program caused the event to occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7082 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7083 Auditing has the advantage of
7084 being more comprehensive, but the disadvantage of reporting a large amount of information,
7085 most of which is uninteresting. Logging (particularly using a standard framework like
7086 syslog) has the advantage of being compatible with a wide variety of client applications,
7087 and of reporting only information considered important by each application, but the
7088 disadvantage that the information reported is not consistent between applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7090 A robust
7091 infrastructure will perform both logging and auditing, and will use configurable automated
7092 methods of summarizing the reported data, so that system administrators can remove or
7093 compress reports of events known to be uninteresting in favor of alert monitoring for events
7094 known to be interesting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7096 This section discusses how to configure logging, log monitoring,
7097 and auditing, using tools included with RHEL5. It is recommended that syslog be used for
7098 logging, with logwatch providing summarization, and that auditd be used for auditing, with
7099 aureport providing summarization.</xccdf:description>
7100 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1">
7101 <xccdf:title xml:lang="en">Configure Syslog</xccdf:title>
7102 <xccdf:description xml:lang="en">
7103 Syslog has been the default Unix logging mechanism for many years. This section
7104 discusses how to configure syslog for best effect, and how to use tools provided with the
7105 system to maintain and monitor your logs.</xccdf:description>
7106 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.a" selected="false" severity="medium" weight="10.0">
7107 <xccdf:title>Configure Rsyslog</xccdf:title>
7108 <xccdf:description>The rsyslog service should be enabled.</xccdf:description>
7109 <xccdf:ident system="http://cce.mitre.org">CCE-3679-8</xccdf:ident>
7110 <xccdf:fix>chkconfig rsyslog on</xccdf:fix>
7111 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7112 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20148"/>
7113 </xccdf:check>
7114 </xccdf:Rule>
7115 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.1">
7116 <xccdf:title xml:lang="en">Ensure All Important Messages are Captured</xccdf:title>
7117 <xccdf:description xml:lang="en"><xhtml:span xmlns:xhtml="http://www.w3.org/1999/xhtml">Edit the file /etc/syslog.conf. Add or correct whichever of the
7118 following lines are appropriate for your environment: <xhtml:br/>
7119 <xhtml:br/>
7120 auth,info.* /var/log/messages<xhtml:br/>
7121 kern.* /var/log/kern.log <xhtml:br/>
7122 daemon.* /var/log/daemon.log <xhtml:br/>
7123 syslog.* /var/log/syslog<xhtml:br/>
7124 lpr,news,uucp,local0,local1,local2,local3,local4,local5,local6.* /var/log/unused.log<xhtml:br/></xhtml:span>
7125 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7126 When a message is sent to syslog for logging, it is sent with a facility name (such as
7127 mail, auth, or local2), and a priority (such as debug, notice, or emerg). Each line of
7128 syslog's configuration file is a directive which specifies a set of facility/priority
7129 pairs, and then gives a filename or host to which log messages of matching types should
7130 be sent. In order for a message to match a type, the facility must match, and the
7131 priority must be the priority named in the rule or any higher priority. (See
7132 syslog.conf(5) for an ordered list of priorities.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7134 Older versions of syslog mandated a
7135 very restrictive format for the syslog.conf file. However, the version of syslog shipped
7136 with RHEL5 allows any sort of whitespace (spaces or tabs, not just tabs) to separate the
7137 selection criteria from the message disposition, and allows the use of facility.* as a
7138 wildcard matching a given facility at any priority. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7139 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7140 The default RHEL5 syslog
7141 configuration stores the facilities authpriv, cron, and mail in named logs. This guide
7142 describes the implementation of the following configuration, but any configuration which
7143 stores the important facilities and is usable by the administrators will suffice:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7144 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7145 <xhtml:li>Store each of the facilities kern, daemon, and syslog in its own log, so that it will be
7146 easy to access information about messages from those facilities. </xhtml:li>
7147 <xhtml:li>Restrict the
7148 information stored in /var/log/messages to only the facilities auth and user, and store
7149 all messages from those facilities. Messages can easily become cluttered otherwise. </xhtml:li>
7150 <xhtml:li>Store information about all facilities which should not be in use at this site in a file
7151 called /var/log/ unused.log. If any messages are logged to this file at some future
7152 point, this may be an indication that an unknown service is running, and should be
7153 investigated. In addition, if news and uucp are not in use at this site, remove the
7154 directive from the default syslog.conf which stores those facilities. </xhtml:li>
7155 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7156 Making use of the
7157 local facilities is also recommended. Specific configuration is beyond the scope of this
7158 guide, but applications such as SSH can easily be configured to log to a local facility
7159 which is not being used for anything else. If this is done, reconfigure /etc/syslog.conf
7160 to store this facility in an appropriate named log or in /var/log/messages, rather than
7161 in /var/log/unused.log.</xccdf:description>
7162 </xccdf:Group>
7163 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.2">
7164 <xccdf:title xml:lang="en">Confirm Existence and Permissions of System Log Files</xccdf:title>
7165 <xccdf:description xml:lang="en">
7166 For each log file LOGFILE referenced in /etc/syslog.conf, run
7167 the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7168 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7169 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># touch LOGFILE<xhtml:br/>
7170 # chown root:root LOGFILE <xhtml:br/>
7171 # chmod 0600 LOGFILE <xhtml:br/></xhtml:code>
7172 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7173 Syslog will
7174 refuse to log to a file which does not exist. All messages intended for that file will
7175 be silently discarded, so it is important to verify that all log files exist. Some logs
7176 may contain sensitive information, so it is better to restrict permissions so that only
7177 administrative users can read or write logfiles.</xccdf:description>
7178 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.a" operator="equals" type="string">
7179 <xccdf:title>User who owns log files</xccdf:title>
7180 <xccdf:description xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
7181 <xccdf:question xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
7182 <xccdf:value>root</xccdf:value>
7183 <xccdf:value selector="root">root</xccdf:value>
7184 </xccdf:Value>
7185 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.b" operator="equals" type="string">
7186 <xccdf:title>group who owns log files</xccdf:title>
7187 <xccdf:description xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
7188 <xccdf:question xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
7189 <xccdf:value>root</xccdf:value>
7190 <xccdf:value selector="root">root</xccdf:value>
7191 </xccdf:Value>
7192 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.c" operator="equals" type="string">
7193 <xccdf:title>File permissions on logfiles</xccdf:title>
7194 <xccdf:description xml:lang="en">Specify file permissions of all logfiles specified in /etc/syslog.conf.</xccdf:description>
7195 <xccdf:question xml:lang="en">Specify permissions of all logfiles specified in /etc/syslog.conf</xccdf:question>
7196 <xccdf:value>110000000</xccdf:value>
7197 <xccdf:value selector="400">100000000</xccdf:value>
7198 <xccdf:value selector="600">110000000</xccdf:value>
7199 <xccdf:value selector="700">111000000</xccdf:value>
7200 </xccdf:Value>
7201 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.a" selected="false" severity="medium" weight="10.0">
7202 <xccdf:title>Confirm user that owns System Log Files</xccdf:title>
7203 <xccdf:description>All syslog log files should be owned by root.</xccdf:description>
7204 <xccdf:ident system="http://cce.mitre.org">CCE-4366-1</xccdf:ident>
7205 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
7206 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7207 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20149" value-id="xccdf_cdf_value_var-2.6.1.2.a"/>
7208 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20149"/>
7209 </xccdf:check>
7210 </xccdf:Rule>
7211 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.b" selected="false" severity="medium" weight="10.0">
7212 <xccdf:title>Confirm group that owns System Log Files</xccdf:title>
7213 <xccdf:description>All syslog log files should be group owned by root.</xccdf:description>
7214 <xccdf:ident system="http://cce.mitre.org">CCE-3701-0</xccdf:ident>
7215 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
7216 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7217 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20150" value-id="xccdf_cdf_value_var-2.6.1.2.b"/>
7218 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20150"/>
7219 </xccdf:check>
7220 </xccdf:Rule>
7221 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.c" selected="false" severity="medium" weight="10.0">
7222 <xccdf:title>Confirm Permissions of System Log Files</xccdf:title>
7223 <xccdf:description>File permissions for all syslog log files should be set correctly.</xccdf:description>
7224 <xccdf:ident system="http://cce.mitre.org">CCE-4233-3</xccdf:ident>
7225 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
7226 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7227 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20151" value-id="xccdf_cdf_value_var-2.6.1.2.c"/>
7228 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20151"/>
7229 </xccdf:check>
7230 </xccdf:Rule>
7231 </xccdf:Group>
7232 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.3">
7233 <xccdf:title xml:lang="en">Send Logs to a Remote Loghost</xccdf:title>
7234 <xccdf:description xml:lang="en">
7235 Edit /etc/syslog.conf. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7236 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7237 *.* @loghost.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7238 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7239 where loghost.example.com is the name of your central log server.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7240 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7241 If system logs are to be useful in detecting malicious activities, it is necessary to
7242 send logs to a remote server. An intruder who has compromised the root account on a
7243 machine may delete the log entries which indicate that the system was attacked before
7244 they are seen by an administrator. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7245 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7246 However, it is recommended that logs be stored on the
7247 local host in addition to being sent to the loghost, because syslog uses the UDP
7248 protocol to send messages over a network. UDP does not guarantee reliable delivery, and
7249 moderately busy sites will lose log messages occasionally, especially in periods of high
7250 traffic which may be the result of an attack. In addition, remote syslog messages are
7251 not authenticated in any way, so it is easy for an attacker to introduce spurious
7252 messages to the central log server. Also, some problems cause loss of network
7253 connectivity, which will prevent the sending of messages to the central server. For all
7254 of these reasons, it is better to store log messages both centrally and on each host, so
7255 that they can be correlated if necessary.</xccdf:description>
7256 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false" severity="medium" weight="10.0">
7257 <xccdf:title>Send Logs to a Remote Loghost</xccdf:title>
7258 <xccdf:description>Syslog logs should be sent to a remote loghost</xccdf:description>
7259 <xccdf:ident system="http://cce.mitre.org">CCE-4260-6</xccdf:ident>
7260 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
7261 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7262 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20152"/>
7263 </xccdf:check>
7264 </xccdf:Rule>
7265 </xccdf:Group>
7266 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.4">
7267 <xccdf:title xml:lang="en">Enable syslogd to Accept Remote Messages on Loghosts Only</xccdf:title>
7268 <xccdf:description xml:lang="en">
7269 Is this machine the central log server for your organization?
7270 If so, edit the file /etc/sysconfig/syslog. Add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7272 SYSLOGD_OPTIONS="-m 0 -r -s example.com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7273 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7274 where example.com is the name of your domain.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7275 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7276 If the machine is not a log server, edit /etc/sysconfig/syslog, and instead add or
7277 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7278 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7279 SYSLOGD_OPTIONS="-m 0" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7280 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7281 By default, RHEL5's syslog does not listen over
7282 the network for log messages. The -r flag enables syslogd to listen over a network, and
7283 should be used only if necessary. The -s example.com flag strips the domain name
7284 example.com from each sending machine's hostname before logging messages from that host,
7285 to reduce the amount of redundant information placed in log files. See the syslogd(8)
7286 man page for further information.</xccdf:description>
7287 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false" severity="medium" weight="10.0">
7288 <xccdf:title>Disable syslogd from Accepting Remote Messages on Loghosts Only</xccdf:title>
7289 <xccdf:description>Syslogd should reject remote messages</xccdf:description>
7290 <xccdf:ident system="http://cce.mitre.org">CCE-3382-9</xccdf:ident>
7291 <xccdf:fixtext>(1) via /etc/sysconfig/syslog</xccdf:fixtext>
7292 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7293 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20153"/>
7294 </xccdf:check>
7295 </xccdf:Rule>
7296 </xccdf:Group>
7297 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.5">
7298 <xccdf:title xml:lang="en">Ensure All Logs are Rotated by logrotate</xccdf:title>
7299 <xccdf:description xml:lang="en">
7300 Edit the file /etc/logrotate.d/syslog. Find the first line,
7301 which should look like this (wrapped for clarity): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7303 /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler \
7304 /var/log/boot.log /var/log/cron { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7306 Edit this line so
7307 that it contains a one-space-separated listing of each log file referenced in
7308 /etc/syslog.conf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7309 All logs in use on a system must be rotated regularly, or the log
7310 files will consume disk space over time, eventually interfering with system operation.
7311 The file /etc/logrotate.d/syslog is the configuration file used by the logrotate program
7312 to maintain all log files written by syslog. By default, it rotates logs weekly and
7313 stores four archival copies of each log. These settings can be modified by editing
7314 /etc/logrotate.conf, but the defaults are sufficient for purposes of this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7315 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7316 Note
7317 that logrotate is run nightly by the cron job /etc/cron.daily/logrotate. If particularly
7318 active logs need to be rotated more often than once a day, some other mechanism must be
7319 used.</xccdf:description>
7320 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false" severity="medium" weight="10.0">
7321 <xccdf:title>Ensure All Logs are Rotated by logrotate</xccdf:title>
7322 <xccdf:description>The logrotate (syslog rotater) service should be enabled.</xccdf:description>
7323 <xccdf:ident system="http://cce.mitre.org">CCE-4182-2</xccdf:ident>
7324 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7325 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7326 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20154"/>
7327 </xccdf:check>
7328 </xccdf:Rule>
7329 </xccdf:Group>
7330 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6">
7331 <xccdf:title xml:lang="en">Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7332 <xccdf:description xml:lang="en">
7333 The system includes an extensible program called Logwatch for
7334 reporting on unusual items in syslog. Logwatch is valuable because it provides a parser
7335 for the syslog entry format and a number of signatures for types of lines which are
7336 considered to be mundane or noteworthy. Logwatch has a number of downsides: the
7337 signatures can be inaccurate and are not always categorized consistently, and you must
7338 be able to program in Perl in order to customize the signature database. However, it is
7339 recommended that all Linux sites which do not have time to deploy a third-party log
7340 monitoring application run Logwatch in its default configuration. This provides some
7341 useful information about system activity in exchange for very little administrator
7342 effort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7343 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7344 This guide recommends that Logwatch be run only on the central logserver, if
7345 your site has one, in order to focus administrator attention by sending all daily logs
7346 in a single e-mail.</xccdf:description>
7347 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false" severity="medium" weight="10.0">
7348 <xccdf:title>Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7349 <xccdf:description>The logwatch service should be enabled</xccdf:description>
7350 <xccdf:ident system="http://cce.mitre.org">CCE-4323-2</xccdf:ident>
7351 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7352 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7353 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20155"/>
7354 </xccdf:check>
7355 </xccdf:Rule>
7356 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.1">
7357 <xccdf:title xml:lang="en">Configure Logwatch on the Central Log Server</xccdf:title>
7358 <xccdf:description xml:lang="en">
7359 Is this machine the central log server? If so, edit the file
7360 /etc/logwatch/conf/logwatch.conf. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7362 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">HostLimit = no<xhtml:br/>
7363 SplitHosts = yes <xhtml:br/>
7364 MultiEmail = no <xhtml:br/></xhtml:code>
7365 Service = -zz-disk_space <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7366 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7367 Ensure that logwatch.pl is run nightly from cron. (This is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7368 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7369 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/cron.daily <xhtml:br/>
7370 # ln -s /usr/share/logwatch/scripts/logwatch.pl 0logwatch <xhtml:br/></xhtml:code>
7371 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7372 On a central logserver, you want
7373 Logwatch to summarize all syslog entries, including those which did not originate on
7374 the logserver itself. The HostLimit setting tells Logwatch to report on all hosts, not
7375 just the one on which it is running. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7376 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7377 If SplitHosts is set, Logwatch will separate
7378 entries by hostname. This makes the report longer but significantly more usable. If it
7379 is not set, then Logwatch will not report which host generated a given log entry, and
7380 that information is almost always necessary. If MultiEmail is set, then each host's
7381 information will be sent in a separate e-mail message. This is a matter of preference.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7382 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7383 The Service directive -zz-disk space tells Logwatch not to run the zz-disk space
7384 report, which reports on free disk space. Since all log monitoring is being done on
7385 the central logserver, the disk space listing will always be that of the logserver,
7386 regardless of which host is being monitored. This is confusing, so disable that
7387 service. Note that this does mean that Logwatch will not monitor disk usage
7388 information. Many workarounds are possible, such as running df on each host daily via
7389 cron and sending the output to syslog so that it will be reported to the logserver.</xccdf:description>
7390 </xccdf:Group>
7391 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.2">
7392 <xccdf:title xml:lang="en">Disable Logwatch on Clients if a Logserver Exists</xccdf:title>
7393 <xccdf:description xml:lang="en">
7394 Does your site have a central logserver which has been
7395 configured to report on logs received from all systems? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7396 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7397 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/cron.daily/0logwatch <xhtml:br/></xhtml:code>
7398 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7399 If no logserver exists, it will be necessary for each
7400 machine to run Logwatch individually. Using a central logserver provides the security
7401 and reliability benefits discussed earlier, and also makes monitoring logs easier and
7402 less time-intensive for administrators.</xccdf:description>
7403 </xccdf:Group>
7404 </xccdf:Group>
7405 </xccdf:Group>
7406 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2">
7407 <xccdf:title xml:lang="en">System Accounting with auditd</xccdf:title>
7408 <xccdf:description xml:lang="en">
7409 The audit service is the current Linux recommendation for
7410 kernel-level auditing. By default, the service audits about SELinux AVC denials and
7411 certain types of security-relevant events such as system logins, account modifications,
7412 and authentication events performed by programs such as sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7413 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7414 Under its default
7415 configuration, auditd has modest disk space requirements, and should not noticeably impact
7416 system performance. The audit service, in its default configuration, is strongly
7417 recommended for all sites, regardless of whether they are running SELinux. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7418 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7419 DoD or federal networks often have substantial auditing requirements and auditd can be
7420 configured to meet these requirements.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7422 Typical DoD requirements include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7423 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7424 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7425 <xhtml:li>Ensure Auditing is Configured to Collect Certain System Events
7426 <xhtml:ul>
7427 <xhtml:li>Information on the Use of Print Command (unsuccessful and successful)</xhtml:li>
7428 <xhtml:li>Startup and Shutdown Events (unsuccessful and successful)</xhtml:li>
7429 </xhtml:ul>
7430 </xhtml:li>
7431 <xhtml:li>Ensure the auditing software can record the following for each audit event:
7432 <xhtml:ul>
7433 <xhtml:li>Date and time of the event</xhtml:li>
7434 <xhtml:li>Userid that initiated the event</xhtml:li>
7435 <xhtml:li>Type of event</xhtml:li>
7436 <xhtml:li>Success or failure of the event</xhtml:li>
7437 <xhtml:li>For I&amp;A events, the origin of the request (e.g., terminal ID)</xhtml:li>
7438 <xhtml:li>For events that introduce an object into a user’s address space, and for object deletion events, the
7439 name of the object, and in MLS systems, the objects security level.</xhtml:li>
7440 </xhtml:ul>
7441 </xhtml:li>
7442 <xhtml:li>Ensure files are backed up no less than weekly onto a different system than the system being audited or
7443 backup media.</xhtml:li>
7444 <xhtml:li>Ensure old logs are closed out and new audit logs are started daily</xhtml:li>
7445 <xhtml:li>Ensure the configuration is immutable. With the -e 2 setting a reboot will be required to change any audit
7446 rules.</xhtml:li>
7447 <xhtml:li>Ensure that the audit data files have permissions of 640, or more restrictive.</xhtml:li>
7448 </xhtml:ul>
7449 </xccdf:description>
7450 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.1">
7451 <xccdf:title xml:lang="en">Enable the auditd Service</xccdf:title>
7452 <xccdf:description xml:lang="en">
7453 Ensure that the auditd service is enabled (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7454 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7455 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig auditd on <xhtml:br/></xhtml:code>
7456 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7457 By default, auditd logs only SELinux denials, which are
7458 helpful for debugging SELinux and discovering intrusion attempts, and certain types of
7459 security events, such as modifications to user accounts (useradd, passwd, etc), login
7460 events, and calls to sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7462 Data is stored in /var/log/audit/audit.log. By default,
7463 auditd rotates 4 logs by size (5MB), retaining a maximum of 20MB of data in total, and
7464 refuses to write entries when the disk is too full. This minimizes the risk of audit
7465 data filling its partition and impacting other services. However, it is possible to lose
7466 audit data if the system is busy.</xccdf:description>
7467 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.1.a" selected="false" severity="medium" weight="10.0">
7468 <xccdf:title>Enable the auditd Service</xccdf:title>
7469 <xccdf:description>The auditd service should be enabled.</xccdf:description>
7470 <xccdf:ident system="http://cce.mitre.org">CCE-4292-9</xccdf:ident>
7471 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7472 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7473 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20156"/>
7474 </xccdf:check>
7475 </xccdf:Rule>
7476 </xccdf:Group>
7477 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.2">
7478 <xccdf:title xml:lang="en">Configure auditd Data Retention</xccdf:title>
7479 <xccdf:description xml:lang="en">
7480 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7481 <xhtml:li>Determine STOREMB , the amount of audit data (in megabytes) which should be retained in each log
7482 file. Edit the file /etc/audit/auditd.conf. Add or modify the following line:<xhtml:br/>
7483 <xhtml:br/>
7484 max_log_file = STOREMB</xhtml:li>
7485 <xhtml:li>Use a dedicated partition (or logical volume) for log files. It is straightforward to create such a partition
7486 or logical volume during system installation time. The partition should be larger than the maximum
7487 space which auditd will ever use, which is the maximum size of each log file (max log file) multiplied
7488 by the number of log files (num logs). Ensure the partition is mounted on /var/log/audit.</xhtml:li>
7489 <xhtml:li>If your site requires that the machine be disabled when auditing cannot be performed, configure auditd
7490 to halt the system when disk space for auditing runs low. Edit /etc/audit/auditd.conf, and add or
7491 correct the following lines:<xhtml:br/>
7492 <xhtml:br/>
7493 space_left_action = email<xhtml:br/>
7494 action_mail_acct = root<xhtml:br/>
7495 admin_space_left_action = halt<xhtml:br/></xhtml:li>
7496 </xhtml:ul>
7497 The default action to take when the logs reach their maximum size is to rotate the log files, discarding the
7498 oldest one. If it is more important to retain all possible auditing information, even if that opens the possibility
7499 of running out of space and taking the action defined by admin space left action, add or correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7500 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7501 max_log_file_action = keep_logs<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7502 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7503 By default, auditd retains 4 log files of size 5Mb apiece. For a busy system or a system which is thoroughly
7504 auditing system activity, this is likely to be insufficient.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7506 The log file size needed will depend heavily on what types of events are being audited. First configure auditing
7507 to log all the events of interest. Then monitor the log size manually for awhile to determine what file size will
7508 allow you to keep the required data for the correct time period.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7509 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7510 Using a dedicated partition for /var/log/audit prevents the auditd logs from disrupting system functionality if
7511 they fill, and, more importantly, prevents other activity in /var from filling the partition and stopping the audit
7512 trail. (The audit logs are size-limited and therefore unlikely to grow without bound unless configured to do so.)
7513 Some machines may have requirements that no actions occur which cannot be audited. If this is the case, then
7514 auditd can be configured to halt the machine if it runs out of space.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7515 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7516 Note: Since older logs are rotated, configuring auditd this way does not prevent older logs from being rotated
7517 away before they can be viewed.
7518 </xccdf:description>
7519 <xccdf:warning xml:lang="en">If your system is configured to halt when logging cannot be performed, make sure this can never
7520 happen under normal circumstances! Ensure that /var/ log/ audit is on its own partition, and
7521 that this partition is larger than the maximum amount of data auditd will retain normally.</xccdf:warning>
7522 </xccdf:Group>
7523 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.3">
7524 <xccdf:title xml:lang="en">Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7525 <xccdf:description xml:lang="en">
7526 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the
7527 argument audit=1 to the kernel line in /etc/grub.conf, in the manner below:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7528 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7529 kernel /vmlinuz-version ro vga=ext root=/dev/VolGroup00/LogVol00 rhgb quiet audit=1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7530 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7531 Each process on the system carries an ”auditable” flag which indicates whether its activities can be audited.
7532 Although auditd takes care of enabling this for all processes which launch after it does, adding the kernel
7533 argument ensures that it is set for every process during boot.
7534 </xccdf:description>
7535 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false" severity="medium" weight="10.0">
7536 <xccdf:title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7537 <xccdf:description>
7538 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the argument audit=1
7539 to the kernel line in /etc/grub.conf, in the manner below:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7540 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>kernel /vmlinuz-version ro vga=ext root=/dev/VolGroup00/LogVol00 rhgb quiet audit=1</xccdf:description>
7541 <xccdf:fixtext>(1) via /etc/grub.conf add audit=1 to kernel line</xccdf:fixtext>
7542 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7543 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20157"/>
7544 </xccdf:check>
7545 </xccdf:Rule>
7546 </xccdf:Group>
7547 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4">
7548 <xccdf:title xml:lang="en">Configure auditd Rules for Comprehensive Auditing</xccdf:title>
7549 <xccdf:description xml:lang="en">
7550 The auditd program can perform comprehensive monitoring of system activity. This section describes rec-
7551 ommended configuration settings for comprehensive auditing, but a full description of the auditing system’s
7552 capabilities is beyond the scope of this guide. The mailing list [email protected] may be a good source
7553 of further information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7554 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7555 The audit subsystem supports extensive collection of events, including:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7556 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7557 <xhtml:li>Tracing of arbitrary system calls (identified by name or number) on entry or exit.</xhtml:li>
7558 <xhtml:li>Filtering by PID, UID, call success, system call argument (with some limitations), etc.</xhtml:li>
7559 <xhtml:li>Monitoring of specific files for modifications to the file’s contents or metadata.</xhtml:li>
7560 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7561 Auditing rules are controlled in the file /etc/audit/audit.rules. Add rules to it to meet the auditing re-
7562 quirements for your organization. Each line in /etc/audit/audit.rules represents a series of arguments that
7563 can be passed to auditctl and can be individually tested as such. See documentation in /usr/share/doc/
7564 audit-version and in the related man pages for more details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7565 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7566 Recommended audit rules are provided in /usr/share/doc/audit-version /stig.rules. In order to activate
7567 those rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7568 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7569 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp /usr/share/doc/audit-version /stig.rules /etc/audit/audit.rules<xhtml:br/></xhtml:code>
7570 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7571 and then edit /etc/audit/audit.rules and comment out the lines containing arch= which are not appropriate
7572 for your system’s architecture. Then review and understand the following rules, ensuring rules are activated as
7573 needed for the appropriate architecture.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7575 After reviewing all the rules, reading the following sections, and editing as needed, activate the new rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7576 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7577 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service auditd restart</xhtml:code></xccdf:description>
7578 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.1">
7579 <xccdf:title xml:lang="en">Records Events that Modify Date and Time Information</xccdf:title>
7580 <xccdf:description xml:lang="en">
7581 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7582 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7583 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7584 -a always,exit -F arch=ARCH -S adjtimex -S settimeofday -S stime -k time-change<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7585 -a always,exit -F arch=ARCH -S clock_settime -k time-change<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7586 -w /etc/localtime -p wa -k time-change
7587 </xccdf:description>
7588 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false" severity="medium" weight="10.0">
7589 <xccdf:title>Records Events that Modify Date and Time Information</xccdf:title>
7590 <xccdf:description>Audit rules about time</xccdf:description>
7591 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7592 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7593 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7594 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201575"/>
7595 </xccdf:check>
7596 </xccdf:Rule>
7597 </xccdf:Group>
7598 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.2">
7599 <xccdf:title xml:lang="en">Record Events that Modify User/Group Information</xccdf:title>
7600 <xccdf:description xml:lang="en">
7601 Add the following to /etc/audit/audit.rules, in order to capture events that modify account changes:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7602 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7603 -w /etc/group -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7604 -w /etc/passwd -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7605 -w /etc/gshadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7606 -w /etc/shadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7607 -w /etc/security/opasswd -p wa -k identity
7608 </xccdf:description>
7609 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false" severity="medium" weight="10.0">
7610 <xccdf:title>Record Events that Modify User/Group Information</xccdf:title>
7611 <xccdf:description>Audit rules about User/Group Information</xccdf:description>
7612 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7613 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7614 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7615 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20158"/>
7616 </xccdf:check>
7617 </xccdf:Rule>
7618 </xccdf:Group>
7619 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.3">
7620 <xccdf:title xml:lang="en">Record Events that Modify the System’s Network Environment</xccdf:title>
7621 <xccdf:description xml:lang="en">
7622 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7623 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7624 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7625 -a exit,always -F arch=ARCH -S sethostname -S setdomainname -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7626 -w /etc/issue -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7627 -w /etc/issue.net -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7628 -w /etc/hosts -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7629 -w /etc/sysconfig/network -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7630 </xccdf:description>
7631 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false" severity="medium" weight="10.0">
7632 <xccdf:title>Record Events that Modify the System’s Network Environment</xccdf:title>
7633 <xccdf:description>Audit rules about the System’s Network Environment</xccdf:description>
7634 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7635 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7636 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7637 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20159"/>
7638 </xccdf:check>
7639 </xccdf:Rule>
7640 </xccdf:Group>
7641 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.4">
7642 <xccdf:title xml:lang="en">Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7643 <xccdf:description xml:lang="en">
7644 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7645 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7646 -w /etc/selinux/ -p wa -k MAC-policy
7647 </xccdf:description>
7648 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false" severity="medium" weight="10.0">
7649 <xccdf:title>Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7650 <xccdf:description>Audit rules about the System’s Mandatory Access Controls</xccdf:description>
7651 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7652 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7653 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7654 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20160"/>
7655 </xccdf:check>
7656 </xccdf:Rule>
7657 </xccdf:Group>
7658 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.5">
7659 <xccdf:title xml:lang="en">Ensure auditd Collects Logon and Logout Events</xccdf:title>
7660 <xccdf:description xml:lang="en">
7661 At a minimum the audit system should collect login info for all users and root. Add the following to
7662 /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7663 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7664 -w /var/log/faillog -p wa -k logins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7665 -w /var/log/lastlog -p wa -k logins
7666 </xccdf:description>
7667 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false" severity="medium" weight="10.0">
7668 <xccdf:title>Ensure auditd Collects Logon and Logout Events</xccdf:title>
7669 <xccdf:description>Audit rules about the Logon and Logout Events</xccdf:description>
7670 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7671 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7672 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7673 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20161"/>
7674 </xccdf:check>
7675 </xccdf:Rule>
7676 </xccdf:Group>
7677 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.6">
7678 <xccdf:title xml:lang="en">Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7679 <xccdf:description xml:lang="en">
7680 At a minimum the audit system should collect process information for all users and root. Add the following
7681 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7683 -w /var/run/utmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7684 -w /var/log/btmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7685 -w /var/log/wtmp -p wa -k session
7686 </xccdf:description>
7687 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false" severity="medium" weight="10.0">
7688 <xccdf:title>Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7689 <xccdf:description>Audit rules about the Process and Session Initiation Information</xccdf:description>
7690 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7691 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7692 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7693 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20162"/>
7694 </xccdf:check>
7695 </xccdf:Rule>
7696 </xccdf:Group>
7697 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.7">
7698 <xccdf:title xml:lang="en">Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7699 <xccdf:description xml:lang="en">
7700 At a minimum the audit system should collect file permission changes for all users and root. Add the
7701 following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7702 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7703 -a always,exit -F arch=ARCH -S chmod -S fchmod -S fchmodat -F auid&gt;=500 \<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7704 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7705 -a always,exit -F arch=ARCH -S chown -S fchown -S fchownat -S lchown -F auid&gt;=500 \<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7706 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7707 -a always,exit -F arch=ARCH -S setxattr -S lsetxattr -S fsetxattr -S removexattr -S \<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7708 lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod
7709 </xccdf:description>
7710 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false" severity="medium" weight="10.0">
7711 <xccdf:title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7712 <xccdf:description>Audit rules about the Discretionary Access Control Permission Modification Events</xccdf:description>
7713 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7714 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7715 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7716 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20163"/>
7717 </xccdf:check>
7718 </xccdf:Rule>
7719 </xccdf:Group>
7720 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.8">
7721 <xccdf:title xml:lang="en">Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7722 <xccdf:description xml:lang="en">
7723 At a minimum the audit system should collect unauthorized file accesses for all users and root. Add the
7724 following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7725 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7726 -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate \<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7727 -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7728 -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate \<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7729 -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access
7730 </xccdf:description>
7731 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false" severity="medium" weight="10.0">
7732 <xccdf:title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7733 <xccdf:description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful)</xccdf:description>
7734 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7735 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7736 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7737 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20164"/>
7738 </xccdf:check>
7739 </xccdf:Rule>
7740 </xccdf:Group>
7741 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.9">
7742 <xccdf:title xml:lang="en">Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7743 <xccdf:description xml:lang="en">
7744 At a minimum the audit system should collect the execution of privileged commands for all users and root.
7745 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7746 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7747 -a always,exit -F path=/bin/ping -F perm=x -F auid&gt;=500 -F auid!=4294967295 \<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7748 -k privileged
7749 </xccdf:description>
7750 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false" severity="medium" weight="10.0">
7751 <xccdf:title>Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7752 <xccdf:description>Audit rules about the Information on the Use of Privileged Commands</xccdf:description>
7753 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7754 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7755 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7756 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20165"/>
7757 </xccdf:check>
7758 </xccdf:Rule>
7759 </xccdf:Group>
7760 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.10">
7761 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7762 <xccdf:description xml:lang="en">
7763 At a minimum the audit system should collect media exportation events for all users and root. Add the
7764 following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7765 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7766 -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export
7767 </xccdf:description>
7768 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false" severity="medium" weight="10.0">
7769 <xccdf:title>Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7770 <xccdf:description>Audit rules about the Information on Exporting to Media (successful)</xccdf:description>
7771 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7772 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7773 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7774 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20166"/>
7775 </xccdf:check>
7776 </xccdf:Rule>
7777 </xccdf:Group>
7778 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.11">
7779 <xccdf:title xml:lang="en">Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7780 <xccdf:description xml:lang="en">
7781 At a minimum the audit system should collect file deletion events for all users and root. Add the following
7782 to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7783 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7784 -a always,exit -F arch=ARCH -S unlink -S unlinkat -S rename -S renameat -F auid&gt;=500 \<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7785 -F auid!=4294967295 -k delete
7786 </xccdf:description>
7787 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false" severity="medium" weight="10.0">
7788 <xccdf:title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7789 <xccdf:description>Audit rules about the Files Deletion Events by User (successful and unsuccessful)</xccdf:description>
7790 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7791 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7792 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7793 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20167"/>
7794 </xccdf:check>
7795 </xccdf:Rule>
7796 </xccdf:Group>
7797 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.12">
7798 <xccdf:title xml:lang="en">Ensure auditd Collects System Administrator Actions</xccdf:title>
7799 <xccdf:description xml:lang="en">
7800 At a minimum the audit system should collect administrator actions for all users and root. Add the following
7801 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7802 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7803 -w /etc/sudoers -p wa -k actions</xccdf:description>
7804 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false" severity="medium" weight="10.0">
7805 <xccdf:title>Ensure auditd Collects System Administrator Actions</xccdf:title>
7806 <xccdf:description>Audit rules about the System Administrator Actions</xccdf:description>
7807 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7808 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7809 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7810 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20168"/>
7811 </xccdf:check>
7812 </xccdf:Rule>
7813 </xccdf:Group>
7814 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.13">
7815 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7816 <xccdf:description xml:lang="en">
7817 Add the following to /etc/audit/audit.rules in order to capture kernel module loading and unloading
7818 events:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7819 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7820 -w /sbin/insmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7821 -w /sbin/rmmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7822 -w /sbin/modprobe -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7823 -a always,exit -S init_module -S delete_module -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7824 </xccdf:description>
7825 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false" severity="medium" weight="10.0">
7826 <xccdf:title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7827 <xccdf:description>Audit rules about the Information on Kernel Module Loading and Unloading</xccdf:description>
7828 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7829 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7830 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7831 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201685"/>
7832 </xccdf:check>
7833 </xccdf:Rule>
7834 </xccdf:Group>
7835 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.14">
7836 <xccdf:title xml:lang="en">Make the auditd Configuration Immutable</xccdf:title>
7837 <xccdf:description xml:lang="en">
7838 Add the following to /etc/audit/audit.rules in order to make the configuration immutable:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7839 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7840 -e 2<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7841 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7842 With this setting, a reboot will be required to change any audit rules.
7843 </xccdf:description>
7844 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false" severity="medium" weight="10.0">
7845 <xccdf:title>Make the auditd Configuration Immutable</xccdf:title>
7846 <xccdf:description>Force a reboot to change audit rules</xccdf:description>
7847 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7848 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7849 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7850 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20169"/>
7851 </xccdf:check>
7852 </xccdf:Rule>
7853 </xccdf:Group>
7854 </xccdf:Group>
7855 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.5">
7856 <xccdf:title xml:lang="en">Summarize and Review Audit Logs using aureport</xccdf:title>
7857 <xccdf:description xml:lang="en">
7858 Familiarize yourself with the aureport(8) man page, then design a short series of audit reporting commands
7859 suitable for exploring the audit logs on a daily (or more frequent) basis. These commands can be added as a cron
7860 job by placing an appropriately named file in /etc/cron.daily. See the next section for information on how to
7861 ensure that the audit system collects all events needed.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7862 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7863 For example, to generate a daily report of every user to login to the machine, the following command could be
7864 run from cron:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7866 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport -l -i -ts yesterday -te today<xhtml:br/></xhtml:code>
7867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7868 To review all audited activity for unusual behavior, a good place to start is to see a summary of which audit
7869 rules have been triggering:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7870 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7871 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">aureport --key --summary<xhtml:br/></xhtml:code>
7872 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7873 If access violations stand out, review them with:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7874 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7875 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --raw | aureport --file --summary<xhtml:br/></xhtml:code>
7876 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7877 To review what executables are doing:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7878 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7879 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --raw | aureport -x --summary<xhtml:br/></xhtml:code>
7880 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7881 If access violations have been occurring on a particular file (such as /etc/shadow) and you want to determine
7882 which user is doing this:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7883 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7884 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --file /etc/shadow --raw | aureport --user --summary -i<xhtml:br/></xhtml:code>
7885 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7886 Check for anomalous activity (such as device changing to promiscuous mode, processes ending abnormally, login
7887 failure limits being reached) using:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7888 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7889 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport --anomaly<xhtml:br/></xhtml:code>
7890 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7891 The foundation to audit analysis is using keys to classify the events. Information about using ausearch to find
7892 an SELinux problem can be found in Section 2.4.6.
7893 </xccdf:description>
7894 </xccdf:Group>
7895 </xccdf:Group>
7896 </xccdf:Group>
7897 </xccdf:Group>
7898 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3">
7899 <xccdf:title xml:lang="en">Services</xccdf:title>
7900 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1">
7901 <xccdf:title xml:lang="en">Disable All Unneeded Services at Boot Time</xccdf:title>
7902 <xccdf:description xml:lang="en">
7903 The best protection against vulnerable software is running less
7904 software. This section describes how to review the software which Red Hat Enterprise Linux
7905 installs on a system and disable software which is not needed. It then enumerates the
7906 software packages installed on a default RHEL5 system and provides guidance about which ones
7907 can be safely disabled.</xccdf:description>
7908 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.1">
7909 <xccdf:title xml:lang="en">Determine which Services are Enabled at Boot</xccdf:title>
7910 <xccdf:description xml:lang="en">
7911 Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7912 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7913 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig --list | grep :on <xhtml:br/></xhtml:code>
7914 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7915 The first column
7916 of this output is the name of a service which is currently enabled at boot. Review each
7917 listed service to determine whether it can be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7918 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7919 If it is appropriate to disable
7920 some service srvname , do so using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7921 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7922 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig srvname off <xhtml:br/></xhtml:code>
7923 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7924 Use the guidance below for information about unfamiliar services.</xccdf:description>
7925 </xccdf:Group>
7926 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.2">
7927 <xccdf:title xml:lang="en">Guidance on Default Services</xccdf:title>
7928 <xccdf:description xml:lang="en">
7929 The table in this section contains a list of all services which
7930 are enabled at boot by a default RHEL5 installation. For each service, one of the
7931 following recommendations is made: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7932 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7933 <xhtml:li>Enable: The service provides a significant capability
7934 with limited risk exposure. Leave the service enabled. </xhtml:li>
7935 <xhtml:li>Configure: The service either is
7936 required for most systems to function properly or provides an important security function.
7937 It should be left enabled by most environments. However, it must be configured securely on
7938 all machines, and different options may be needed for workstations than for servers. See
7939 the referenced section for recommended configuration of this service.</xhtml:li>
7940 <xhtml:li>Disable if
7941 possible: The service opens the system to some risk, but may be required by some
7942 environments. See the appropriate section of the guide, and disable the service if at all
7943 possible.</xhtml:li>
7944 <xhtml:li>Servers only: The service provides some function to other machines over the
7945 network. If that function is needed in the target environment, the service should remain
7946 enabled only on a small number of dedicated servers, and should be disabled on all other
7947 machines on the network. </xhtml:li>
7948 </xhtml:ul>
7949 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7950 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml">
7951 <xhtml:thead>
7952 <xhtml:tr>
7953 <xhtml:td>Service name</xhtml:td>
7954 <xhtml:td>Action</xhtml:td>
7955 <xhtml:td>Reference</xhtml:td>
7956 </xhtml:tr>
7957 </xhtml:thead>
7958 <xhtml:tbody>
7959 <xhtml:tr><xhtml:td>acpid</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.15.2</xhtml:td></xhtml:tr>
7960 <xhtml:tr><xhtml:td>anacron</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr>
7961 <xhtml:tr><xhtml:td>apmd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.15.1</xhtml:td></xhtml:tr>
7962 <xhtml:tr><xhtml:td>atd</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr>
7963 <xhtml:tr><xhtml:td>auditd</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.6.2</xhtml:td></xhtml:tr>
7964 <xhtml:tr><xhtml:td>autofs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.2.2.3</xhtml:td></xhtml:tr>
7965 <xhtml:tr><xhtml:td>avahi-daemon</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.7</xhtml:td></xhtml:tr>
7966 <xhtml:tr><xhtml:td>bluetooth</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.14</xhtml:td></xhtml:tr>
7967 <xhtml:tr><xhtml:td>cpuspeed</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.15.3 </xhtml:td></xhtml:tr>
7968 <xhtml:tr><xhtml:td>crond</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr>
7969 <xhtml:tr><xhtml:td>cups</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.8</xhtml:td></xhtml:tr>
7970 <xhtml:tr><xhtml:td>firstboot</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.1</xhtml:td></xhtml:tr>
7971 <xhtml:tr><xhtml:td>gpm</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.2</xhtml:td></xhtml:tr>
7972 <xhtml:tr><xhtml:td>haldaemon</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.13.2</xhtml:td></xhtml:tr>
7973 <xhtml:tr><xhtml:td>hidd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.14.2</xhtml:td></xhtml:tr>
7974 <xhtml:tr><xhtml:td>hplip</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.8.4.1</xhtml:td></xhtml:tr>
7975 <xhtml:tr><xhtml:td>ip6tables</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.5.5</xhtml:td></xhtml:tr>
7976 <xhtml:tr><xhtml:td>iptables</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.5.5</xhtml:td></xhtml:tr>
7977 <xhtml:tr><xhtml:td>irqbalance</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.3</xhtml:td></xhtml:tr>
7978 <xhtml:tr><xhtml:td>isdn</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.4</xhtml:td></xhtml:tr>
7979 <xhtml:tr><xhtml:td>kdump</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.5</xhtml:td></xhtml:tr>
7980 <xhtml:tr><xhtml:td>kudzu</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.6 </xhtml:td></xhtml:tr>
7981 <xhtml:tr><xhtml:td>mcstrans</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.4.3.2 (SELinux) </xhtml:td></xhtml:tr>
7982 <xhtml:tr><xhtml:td>mdmonitor</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.7 </xhtml:td></xhtml:tr>
7983 <xhtml:tr><xhtml:td>messagebus</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.13.1</xhtml:td></xhtml:tr>
7984 <xhtml:tr><xhtml:td>microcode</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.8</xhtml:td></xhtml:tr>
7985 <xhtml:tr><xhtml:td>netfs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS)</xhtml:td></xhtml:tr>
7986 <xhtml:tr><xhtml:td>network</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.9</xhtml:td></xhtml:tr>
7987 <xhtml:tr><xhtml:td>nfslock</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS)</xhtml:td></xhtml:tr>
7988 <xhtml:tr><xhtml:td>pcscd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.10</xhtml:td></xhtml:tr>
7989 <xhtml:tr><xhtml:td>portmap</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr>
7990 <xhtml:tr><xhtml:td>readahead_early</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.12</xhtml:td></xhtml:tr>
7991 <xhtml:tr><xhtml:td>readahead_later</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.12</xhtml:td></xhtml:tr>
7992 <xhtml:tr><xhtml:td>restorecond</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>2.4.3.3 (SELinux)</xhtml:td></xhtml:tr>
7993 <xhtml:tr><xhtml:td>rhnsd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.1.2.2 </xhtml:td></xhtml:tr>
7994 <xhtml:tr><xhtml:td>rpcgssd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr>
7995 <xhtml:tr><xhtml:td>rpcidmapd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr>
7996 <xhtml:tr><xhtml:td>sendmail</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.11</xhtml:td></xhtml:tr>
7997 <xhtml:tr><xhtml:td>setroubleshoot</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.4.3.1 (SELinux)</xhtml:td></xhtml:tr>
7998 <xhtml:tr><xhtml:td>smartd</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.11 </xhtml:td></xhtml:tr>
7999 <xhtml:tr><xhtml:td>sshd</xhtml:td><xhtml:td>Servers only</xhtml:td><xhtml:td>3.5</xhtml:td></xhtml:tr>
8000 <xhtml:tr><xhtml:td>syslog</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.6.1</xhtml:td></xhtml:tr>
8001 <xhtml:tr><xhtml:td>xfs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.6 (X11) </xhtml:td></xhtml:tr>
8002 <xhtml:tr><xhtml:td>yum-updatesd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.1.2.3.2</xhtml:td></xhtml:tr>
8003 </xhtml:tbody>
8004 </xhtml:table>
8005 </xccdf:description>
8006 </xccdf:Group>
8007 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.3">
8008 <xccdf:title xml:lang="en">Guidance for Unfamiliar Services</xccdf:title>
8009 <xccdf:description xml:lang="en">
8010 If the system is running any services which have not been
8011 covered, determine what these services do, and disable them if they are not needed or if
8012 they pose a high risk. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8013 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8014 If a service srvname is unknown, try running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8015 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8016 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qf /etc/init.d/srvname <xhtml:br/></xhtml:code>
8017 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8018 to discover which RPM package installed the service. Then, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8019 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8020 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qi rpmname <xhtml:br/></xhtml:code>
8021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8022 for a brief description of what that RPM does.</xccdf:description>
8023 </xccdf:Group>
8024 </xccdf:Group>
8025 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2">
8026 <xccdf:title xml:lang="en">Obsolete Services</xccdf:title>
8027 <xccdf:description xml:lang="en">
8028 This section discusses a number of network-visible services which
8029 have historically caused problems for system security, and for which disabling or severely
8030 limiting the service has been the best available guidance for some time. As a result of this
8031 consensus, these services are not installed as part of RHEL5 by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8033 Organizations which
8034 are running these services should prioritize switching to more secure services which provide
8035 the needed functionality. If it is absolutely necessary to run one of these services for
8036 legacy reasons, care should be taken to restrict the service as much as possible, for
8037 instance by configuring host firewall software (see Section 2.5.5) to restrict access to the
8038 vulnerable service to only those remote hosts which have a known need to use it.</xccdf:description>
8039 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.1">
8040 <xccdf:title xml:lang="en">Inetd and Xinetd</xccdf:title>
8041 <xccdf:description xml:lang="en">
8042 Is there an operational need to run the deprecated inetd or
8043 xinetd software packages? If not, ensure that they are removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8044 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8045 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase inetd xinetd <xhtml:br/></xhtml:code>
8046 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8047 Beginning with Red Hat Enterprise Linux 5, the xinetd service is no
8048 longer installed by default. This change represents increased awareness that the dedicated
8049 network listener model does not improve security or reliability of services, and that
8050 restriction of network listeners is better handled using a granular model such as SELinux
8051 than using xinetd's limited security options.</xccdf:description>
8052 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.a" selected="false" severity="medium" weight="10.0">
8053 <xccdf:title>Disable Inetd</xccdf:title>
8054 <xccdf:description>The inetd service should be disabled.</xccdf:description>
8055 <xccdf:ident system="http://cce.mitre.org">CCE-4234-1</xccdf:ident>
8056 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8057 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8058 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20170"/>
8059 </xccdf:check>
8060 </xccdf:Rule>
8061 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.b" selected="false" severity="medium" weight="10.0">
8062 <xccdf:title>Disable Xinetd</xccdf:title>
8063 <xccdf:description>The xinetd service should be disabled.</xccdf:description>
8064 <xccdf:ident system="http://cce.mitre.org">CCE-4252-3</xccdf:ident>
8065 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8066 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8067 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20171"/>
8068 </xccdf:check>
8069 </xccdf:Rule>
8070 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.c" selected="false" weight="10.0">
8071 <xccdf:title>Uninstall Inetd</xccdf:title>
8072 <xccdf:description>The inetd package should be uninstalled.</xccdf:description>
8073 <xccdf:ident system="http://cce.mitre.org">CCE-4023-8</xccdf:ident>
8074 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8075 <xccdf:fix># yum erase inetd</xccdf:fix>
8076 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8077 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20172"/>
8078 </xccdf:check>
8079 </xccdf:Rule>
8080 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.d" selected="false" weight="10.0">
8081 <xccdf:title>Uninstall Xinetd</xccdf:title>
8082 <xccdf:description>The xinetd package should be uninstalled.</xccdf:description>
8083 <xccdf:ident system="http://cce.mitre.org">CCE-4164-0</xccdf:ident>
8084 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8085 <xccdf:fix># yum erase xinetd</xccdf:fix>
8086 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8087 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20173"/>
8088 </xccdf:check>
8089 </xccdf:Rule>
8090 </xccdf:Group>
8091 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2">
8092 <xccdf:title xml:lang="en">Telnet</xccdf:title>
8093 <xccdf:description xml:lang="en">
8094 Is there a mission-critical reason for users to access the system
8095 via the insecure telnet protocol, rather than the more secure SSH protocol? If not, ensure
8096 that the telnet server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8098 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet-server <xhtml:br/></xhtml:code>
8099 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8100 The telnet
8101 protocol uses unencrypted network communication, which means that data from the login
8102 session, including passwords and all other information transmitted during the session, can
8103 be stolen by eavesdroppers on the network, and also that outsiders can easily hijack the
8104 session to gain authenticated access to the telnet server. Organizations which use telnet
8105 should be actively working to migrate to a more secure protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8107 See Section 3.5 for information about the SSH service.</xccdf:description>
8108 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2.1">
8109 <xccdf:title xml:lang="en">Remove Telnet Clients</xccdf:title>
8110 <xccdf:description xml:lang="en">
8111 In order to prevent users from casually attempting to use a telnet server, and thus exposing their credentials
8112 over the network, remove the telnet package, which contains a telnet client program:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8113 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8114 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet<xhtml:br/></xhtml:code>
8115 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8116 If Kerberos is not used, remove the krb5-workstation package, which also includes a telnet client:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8117 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8118 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase krb5-workstation<xhtml:br/></xhtml:code>
8119 </xccdf:description>
8120 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false" severity="high" weight="10.0">
8121 <xccdf:title>Remove the telnet client command from the System</xccdf:title>
8122 <xccdf:description>The telnet package should be uninstalled.</xccdf:description>
8123 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8124 <xccdf:fix># yum erase telnet</xccdf:fix>
8125 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8126 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20175"/>
8127 </xccdf:check>
8128 </xccdf:Rule>
8129 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false" weight="10.0">
8130 <xccdf:title>Remove the kerberos telnet client from the System</xccdf:title>
8131 <xccdf:description>The krb5-workstation package should be uninstalled.</xccdf:description>
8132 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8133 <xccdf:fix># yum erase rsh-server</xccdf:fix>
8134 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8135 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20176"/>
8136 </xccdf:check>
8137 </xccdf:Rule>
8138 </xccdf:Group>
8139 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.a" selected="false" severity="high" weight="10.0">
8140 <xccdf:title>Uninstall Telnet server</xccdf:title>
8141 <xccdf:description>The telnet-server package should be uninstalled.</xccdf:description>
8142 <xccdf:ident system="http://cce.mitre.org">CCE-4330-7</xccdf:ident>
8143 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8144 <xccdf:fix># yum erase telnet-server</xccdf:fix>
8145 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8146 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20174"/>
8147 </xccdf:check>
8148 </xccdf:Rule>
8149 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.b" selected="false" severity="high" weight="10.0">
8150 <xccdf:title>Disable telnet service</xccdf:title>
8151 <xccdf:description>telnet service should be disabled.</xccdf:description>
8152 <xccdf:ident system="http://cce.mitre.org">CCE-3390-2</xccdf:ident>
8153 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8154 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8155 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201745"/>
8156 </xccdf:check>
8157 </xccdf:Rule>
8158 </xccdf:Group>
8159 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3">
8160 <xccdf:title xml:lang="en">Rlogin, Rsh, and Rcp</xccdf:title>
8161 <xccdf:description xml:lang="en">The Berkeley r-commands are legacy services which allow cleartext remote access and have an insecure trust model.</xccdf:description>
8162 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.1">
8163 <xccdf:title xml:lang="en">Remove the Rsh Server Commands from the System</xccdf:title>
8164 <xccdf:description xml:lang="en">
8165 Is there a mission-critical reason for users to access the
8166 system via the insecure rlogin, rsh, or rcp commands rather than the more secure ssh and
8167 scp? If not, ensure that the rsh server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8168 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8169 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh-server <xhtml:br/></xhtml:code>
8170 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8171 SSH was designed to be a drop-in replacement for the r-commands, which suffer
8172 from the same hijacking and eavesdropping problems as telnet. There is unlikely to be a
8173 case in which these commands cannot be replaced with SSH.</xccdf:description>
8174 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false" severity="high" weight="10.0">
8175 <xccdf:title>Remove the Rsh Server Commands from the System</xccdf:title>
8176 <xccdf:description>The rsh-server package should be uninstalled.</xccdf:description>
8177 <xccdf:ident system="http://cce.mitre.org">CCE-4308-3</xccdf:ident>
8178 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8179 <xccdf:fix># yum erase rsh-server</xccdf:fix>
8180 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8181 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20177"/>
8182 </xccdf:check>
8183 </xccdf:Rule>
8184 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false" severity="high" weight="10.0">
8185 <xccdf:title>disable rcp</xccdf:title>
8186 <xccdf:description>The rcp service should be disabled.</xccdf:description>
8187 <xccdf:ident system="http://cce.mitre.org">CCE-3974-3</xccdf:ident>
8188 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8189 <xccdf:fix># chkconfig rcp off</xccdf:fix>
8190 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8191 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201774"/>
8192 </xccdf:check>
8193 </xccdf:Rule>
8194 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false" severity="high" weight="10.0">
8195 <xccdf:title>disable rsh</xccdf:title>
8196 <xccdf:description>The rsh service should be disabled.</xccdf:description>
8197 <xccdf:ident system="http://cce.mitre.org">CCE-4141-8</xccdf:ident>
8198 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8199 <xccdf:fix># chkconfig rsh off</xccdf:fix>
8200 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8201 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201775"/>
8202 </xccdf:check>
8203 </xccdf:Rule>
8204 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false" severity="high" weight="10.0">
8205 <xccdf:title>disable rlogin</xccdf:title>
8206 <xccdf:description>The rlogin service should be disabled.</xccdf:description>
8207 <xccdf:ident system="http://cce.mitre.org">CCE-3537-8</xccdf:ident>
8208 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8209 <xccdf:fix># chkconfig rlogin off</xccdf:fix>
8210 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8211 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201776"/>
8212 </xccdf:check>
8213 </xccdf:Rule>
8214 </xccdf:Group>
8215 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.2">
8216 <xccdf:title xml:lang="en">Remove .rhosts Support from PAM Configuration Files</xccdf:title>
8217 <xccdf:description xml:lang="en">
8218 Check that pam_rhosts authentication is not used by any PAM
8219 services. Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8220 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8221 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep -l pam_rhosts /etc/pam.d/* <xhtml:br/></xhtml:code>
8222 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8223 This command should return no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8224 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8225 The RHEL5 default is not to rely on .rhosts or /etc/hosts.equiv for any
8226 PAM-based services, so, on an uncustomized system, this command should return no output.
8227 If any files do use pam_rhosts, modify them to make use of a more secure authentication
8228 method instead. For more information about PAM, see Section 2.3.3.</xccdf:description>
8229 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false" severity="medium" weight="10.0">
8230 <xccdf:title>Remove .rhosts Support from PAM Configuration Files</xccdf:title>
8231 <xccdf:description>Check that pam_rhosts authentication is not used by any PAM services.</xccdf:description>
8232 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8233 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20178"/>
8234 </xccdf:check>
8235 </xccdf:Rule>
8236 </xccdf:Group>
8237 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.3">
8238 <xccdf:title xml:lang="en">Remove the Rsh Client Commands from the System</xccdf:title>
8239 <xccdf:description xml:lang="en">
8240 In order to prevent users from casually attempting to make use of an rsh server and thus exposing their
8241 credentials over the network, remove the rsh package, which contains client programs for many of r-commands
8242 described above:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8243 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8244 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh<xhtml:br/></xhtml:code>
8245 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8246 Users should be trained to use the SSH client, and never attempt to connect to an rsh or telnet server. The
8247 krb5-workstation package also contains r-command client programs and should be removed as described in
8248 Section 3.2.2.1, if Kerberos is not in use.
8249 </xccdf:description>
8250 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false" severity="high" weight="10.0">
8251 <xccdf:title>Remove the Rsh Client Commands from the System</xccdf:title>
8252 <xccdf:description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</xccdf:description>
8253 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8254 <xccdf:fix># yum erase rsh</xccdf:fix>
8255 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8256 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20179"/>
8257 </xccdf:check>
8258 </xccdf:Rule>
8259 </xccdf:Group>
8260 </xccdf:Group>
8261 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.4">
8262 <xccdf:title xml:lang="en">NIS</xccdf:title>
8263 <xccdf:description xml:lang="en">
8264 The NIS client service ypbind is not activated by default. In the
8265 event that it was activated at some point, disable it by executing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8266 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8267 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ypbind off <xhtml:br/></xhtml:code>
8268 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8269 The NIS server package is not installed by default. In the event that
8270 it was installed at some point, remove it from the system by executing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8272 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase ypserv <xhtml:br/></xhtml:code>
8273 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8274 The Network Information Service (NIS), also known as 'Yellow Pages' (YP), and
8275 its successor NIS+ have been made obsolete by Kerberos, LDAP, and other modern centralized
8276 authentication services. NIS should not be used because it suffers from security problems
8277 inherent in its design, such as inadequate protection of important authentication
8278 information.</xccdf:description>
8279 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.a" selected="false" severity="medium" weight="10.0">
8280 <xccdf:title>Uninstall NIS</xccdf:title>
8281 <xccdf:description>The ypserv package should be uninstalled.</xccdf:description>
8282 <xccdf:ident system="http://cce.mitre.org">CCE-4348-9</xccdf:ident>
8283 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8284 <xccdf:fix># yum erase ypserv</xccdf:fix>
8285 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8286 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20180"/>
8287 </xccdf:check>
8288 </xccdf:Rule>
8289 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.b" selected="false" severity="medium" weight="10.0">
8290 <xccdf:title>Disable NIS</xccdf:title>
8291 <xccdf:description>The ypbind service should be disabled.</xccdf:description>
8292 <xccdf:ident system="http://cce.mitre.org">CCE-3705-1</xccdf:ident>
8293 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8294 <xccdf:fix># chkconfig ypbind off</xccdf:fix>
8295 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8296 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20181"/>
8297 </xccdf:check>
8298 </xccdf:Rule>
8299 </xccdf:Group>
8300 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.5">
8301 <xccdf:title xml:lang="en">TFTP Server</xccdf:title>
8302 <xccdf:description xml:lang="en">
8303 Is there an operational need to run the deprecated TFTP server
8304 software? If not, ensure that it is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8306 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase tftp-server <xhtml:br/></xhtml:code>
8307 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8308 TFTP is a lightweight version of the FTP protocol which has traditionally been used to
8309 configure networking equipment. However, TFTP provides little security, and modern
8310 versions of networking operating systems frequently support configuration via SSH or
8311 other more secure protocols. A TFTP server should be run only if no more secure method of
8312 supporting existing equipment can be found.</xccdf:description>
8313 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.a" selected="false" weight="10.0">
8314 <xccdf:title>Uninstall TFTP Server</xccdf:title>
8315 <xccdf:description>The tftp-server package should be uninstalled.</xccdf:description>
8316 <xccdf:ident system="http://cce.mitre.org">CCE-3916-4</xccdf:ident>
8317 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8318 <xccdf:fix># yum erase tftp-server</xccdf:fix>
8319 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8320 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20182"/>
8321 </xccdf:check>
8322 </xccdf:Rule>
8323 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.b" selected="false" severity="low" weight="10.0">
8324 <xccdf:title>Disable TFTP Server</xccdf:title>
8325 <xccdf:description>The tftp service should be disabled.</xccdf:description>
8326 <xccdf:ident system="http://cce.mitre.org">CCE-4273-9</xccdf:ident>
8327 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8328 <xccdf:fix># chkconfig tftp off</xccdf:fix>
8329 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8330 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201825"/>
8331 </xccdf:check>
8332 </xccdf:Rule>
8333 </xccdf:Group>
8334 </xccdf:Group>
8335 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3">
8336 <xccdf:title xml:lang="en">BaseServices</xccdf:title>
8337 <xccdf:description xml:lang="en">
8338 This section addresses the base services that are configured to
8339 start up on boot in a RHEL5 default installation. Some of these services listen on the
8340 network and should be treated with particular discretion. The other services are local
8341 system utilities that may or may not be extraneous. Each of these services should be
8342 disabled if not required.</xccdf:description>
8343 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.1">
8344 <xccdf:title xml:lang="en">Installation Helper Service (firstboot)</xccdf:title>
8345 <xccdf:description xml:lang="en">
8346 Firstboot is a daemon specific to the Red Hat installation
8347 process. It handles 'one-time' configuration following successful installation of the
8348 operating system. As such, there is no reason for this service to remain enabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8350 Disable firstboot by issuing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8352 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig firstboot off</xhtml:code></xccdf:description>
8353 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.1.a" selected="false" severity="low" weight="10.0">
8354 <xccdf:title>Installation Helper Service (firstboot)</xccdf:title>
8355 <xccdf:description>The firstboot service should be disabled.</xccdf:description>
8356 <xccdf:ident system="http://cce.mitre.org">CCE-3412-4</xccdf:ident>
8357 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8358 <xccdf:fix># chkconfig firstboot off</xccdf:fix>
8359 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8360 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20183"/>
8361 </xccdf:check>
8362 </xccdf:Rule>
8363 </xccdf:Group>
8364 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.2">
8365 <xccdf:title xml:lang="en">Console Mouse Service (gpm)</xccdf:title>
8366 <xccdf:description xml:lang="en">
8367 GPM is the service that controls the text console mouse pointer.
8368 (The X Windows mouse pointer is unaffected by this service.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8369 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8370 If mouse functionality in the console is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8371 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8372 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig gpm off <xhtml:br/></xhtml:code>
8373 Although it is
8374 preferable to run as few services as possible, the console mouse pointer can be useful for
8375 preventing administrator mistakes in runlevel 3 by enabling copy-and-paste operations.</xccdf:description>
8376 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.2.a" selected="false" severity="low" weight="10.0">
8377 <xccdf:title>Console Mouse Service (gpm)</xccdf:title>
8378 <xccdf:description>The gpm service should be disabled.</xccdf:description>
8379 <xccdf:ident system="http://cce.mitre.org">CCE-4229-1</xccdf:ident>
8380 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8381 <xccdf:fix># chkconfig gpm off</xccdf:fix>
8382 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8383 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20184"/>
8384 </xccdf:check>
8385 </xccdf:Rule>
8386 </xccdf:Group>
8387 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.3">
8388 <xccdf:title xml:lang="en">Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
8389 <xccdf:description xml:lang="en">
8390 The goal of the irqbalance service is to optimize the balance
8391 between power savings and performance through distribution of hardware interrupts across
8392 multiple processors. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8393 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8394 In a server environment with multiple processors, this provides a
8395 useful service and should be left enabled. If a machine has only one processor, the
8396 service may be disabled: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8397 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8398 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig irqbalance off</xhtml:code></xccdf:description>
8399 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.3.a" selected="false" severity="low" weight="10.0">
8400 <xccdf:title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
8401 <xccdf:description>The irqbalance service should be disabled.</xccdf:description>
8402 <xccdf:ident system="http://cce.mitre.org">CCE-4123-6</xccdf:ident>
8403 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8404 <xccdf:fix># chkconfig irqbalance off</xccdf:fix>
8405 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8406 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20185"/>
8407 </xccdf:check>
8408 </xccdf:Rule>
8409 </xccdf:Group>
8410 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.4">
8411 <xccdf:title xml:lang="en">ISDN Support (isdn)</xccdf:title>
8412 <xccdf:description xml:lang="en">
8413 The ISDN service facilitates Internet connectivity in the
8414 presence of an ISDN modem. If an ISDN modem is not being used, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8416 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig isdn off</xhtml:code></xccdf:description>
8417 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.4.a" selected="false" severity="low" weight="10.0">
8418 <xccdf:title>ISDN Support (isdn)</xccdf:title>
8419 <xccdf:description>The isdn service should be disabled.</xccdf:description>
8420 <xccdf:ident system="http://cce.mitre.org">CCE-4286-1</xccdf:ident>
8421 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8422 <xccdf:fix># chkconfig isdn off</xccdf:fix>
8423 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8424 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20186"/>
8425 </xccdf:check>
8426 </xccdf:Rule>
8427 </xccdf:Group>
8428 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.5">
8429 <xccdf:title xml:lang="en">Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8430 <xccdf:description xml:lang="en">
8431 Kdump is a new kernel crash dump analyzer. It uses kexec to boot
8432 a secondary kernel ('capture' kernel) following a system crash. The kernel dump from the
8433 system crash is loaded into the capture kernel for analysis. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8435 Unless the system is used for kernel development or testing, disable the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8437 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kdump off</xhtml:code></xccdf:description>
8438 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.5.a" selected="false" severity="low" weight="10.0">
8439 <xccdf:title>Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8440 <xccdf:description>The kdump service should be disabled.</xccdf:description>
8441 <xccdf:ident system="http://cce.mitre.org">CCE-3425-6</xccdf:ident>
8442 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8443 <xccdf:fix># chkconfig kdump off</xccdf:fix>
8444 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8445 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20187"/>
8446 </xccdf:check>
8447 </xccdf:Rule>
8448 </xccdf:Group>
8449 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.6">
8450 <xccdf:title xml:lang="en">Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8451 <xccdf:description xml:lang="en">
8452 Is there a mission-critical reason for console users to add new
8453 hardware to the system? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8454 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8455 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kudzu off <xhtml:br/></xhtml:code>
8456 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8457 Kudzu, Red Hat's hardware detection
8458 program, represents an unnecessary security risk as it allows unprivileged users to
8459 perform hardware configuration without authorization. Unless this specific functionality
8460 is required, Kudzu should be disabled.</xccdf:description>
8461 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.6.a" selected="false" severity="low" weight="10.0">
8462 <xccdf:title>Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8463 <xccdf:description>The kudzu service should be disabled.</xccdf:description>
8464 <xccdf:ident system="http://cce.mitre.org">CCE-4211-9</xccdf:ident>
8465 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8466 <xccdf:fix># chkconfig kudzu off</xccdf:fix>
8467 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8468 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20188"/>
8469 </xccdf:check>
8470 </xccdf:Rule>
8471 </xccdf:Group>
8472 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.7">
8473 <xccdf:title xml:lang="en">Software RAID Monitor (mdmonitor)</xccdf:title>
8474 <xccdf:description xml:lang="en">
8475 The mdmonitor service is used for monitoring a software RAID
8476 (hardware RAID setups do not use this service). This service is extraneous unless software
8477 RAID is in use (which is not common). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8478 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8479 If software RAID monitoring is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8481 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mdmonitor off</xhtml:code></xccdf:description>
8482 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.7.a" selected="false" severity="low" weight="10.0">
8483 <xccdf:title>Software RAID Monitor (mdmonitor)</xccdf:title>
8484 <xccdf:description>The mdmonitor service should be disabled.</xccdf:description>
8485 <xccdf:ident system="http://cce.mitre.org">CCE-3854-7</xccdf:ident>
8486 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8487 <xccdf:fix># chkconfig mdmonitor off</xccdf:fix>
8488 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8489 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20189"/>
8490 </xccdf:check>
8491 </xccdf:Rule>
8492 </xccdf:Group>
8493 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.8">
8494 <xccdf:title xml:lang="en">IA32 Microcode Utility(microcodectl)</xccdf:title>
8495 <xccdf:description xml:lang="en">
8496 microcode ctl is a microcode utility for use with Intel IA32
8497 processors (Pentium Pro, PII, Celeron, PIII, Xeon, Pentium 4, etc) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8498 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8499 If the system is not running an Intel IA32 processor, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8500 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8501 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig microcode ctl off</xhtml:code></xccdf:description>
8502 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.8.a" selected="false" severity="low" weight="10.0">
8503 <xccdf:title>IA32 Microcode Utility(microcodectl)</xccdf:title>
8504 <xccdf:description>The microcode_ctl service should be disabled.</xccdf:description>
8505 <xccdf:ident system="http://cce.mitre.org">CCE-4356-2</xccdf:ident>
8506 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8507 <xccdf:fix># chkconfig microcode ctl off</xccdf:fix>
8508 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8509 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20190"/>
8510 </xccdf:check>
8511 </xccdf:Rule>
8512 </xccdf:Group>
8513 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9">
8514 <xccdf:title xml:lang="en">Network Service (network)</xccdf:title>
8515 <xccdf:description xml:lang="en">
8516 The network service allows associated network interfaces to
8517 access the network. This section contains general guidance for controlling the operation
8518 of the service. For kernel parameters which affect networking, see Section</xccdf:description>
8519 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.1">
8520 <xccdf:title xml:lang="en">Disable All Networking if Not Needed</xccdf:title>
8521 <xccdf:description xml:lang="en">
8522 If the system is a standalone machine with no need for network
8523 access or even communication over the loopback device, then disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8524 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8525 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig network off</xhtml:code></xccdf:description>
8526 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false" severity="low" weight="10.0">
8527 <xccdf:title>Disable All Networking if Not Needed)</xccdf:title>
8528 <xccdf:description>The network service should be disabled.</xccdf:description>
8529 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8530 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8531 <xccdf:fix># chkconfig network off</xccdf:fix>
8532 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8533 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20191"/>
8534 </xccdf:check>
8535 </xccdf:Rule>
8536 </xccdf:Group>
8537 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.2">
8538 <xccdf:title xml:lang="en">Disable All External Network Interfaces if Not Needed</xccdf:title>
8539 <xccdf:description xml:lang="en">
8540 If the system does not require network communications but still
8541 needs to use the loopback interface, remove all files of the form ifcfg-interface except
8542 for ifcfg-lo from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8544 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
8545 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false" severity="medium" weight="10.0">
8546 <xccdf:title>Disable All External Network Interfaces if Not Needed</xccdf:title>
8547 <xccdf:description>All files of the form ifcfg-interface except for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</xccdf:description>
8548 <xccdf:fixtext>via /etc/sysconfig/network-scripts</xccdf:fixtext>
8549 <xccdf:fix># rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fix>
8550 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8551 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20192"/>
8552 </xccdf:check>
8553 </xccdf:Rule>
8554 </xccdf:Group>
8555 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.3">
8556 <xccdf:title xml:lang="en">Disable Zeroconf Networking</xccdf:title>
8557 <xccdf:description xml:lang="en">
8558 Zeroconf networking allows the system to assign itself an IP
8559 address and engage in IP communication without a statically-assigned address or even a
8560 DHCP server. Automatic address assignment via Zeroconf (or DHCP) is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8561 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8562 To disable Zeroconf automatic route assignment in the 169.245.0.0 subnet, add or correct
8563 the following line in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8564 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8565 NOZEROCONF=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8567 Zeroconf addresses are in
8568 the network 169.254.0.0. The networking scripts add entries to the system's routing
8569 table for these addresses. Zeroconf address assignment commonly occurs when the system
8570 is configured to use DHCP but fails to receive an address assignment from the DHCP
8571 server.</xccdf:description>
8572 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false" severity="medium" weight="10.0">
8573 <xccdf:title>Disable Zeroconf Networking</xccdf:title>
8574 <xccdf:description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</xccdf:description>
8575 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8576 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
8577 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8578 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20193"/>
8579 </xccdf:check>
8580 </xccdf:Rule>
8581 </xccdf:Group>
8582 </xccdf:Group>
8583 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.10">
8584 <xccdf:title xml:lang="en">Smart Card Support (pcscd)</xccdf:title>
8585 <xccdf:description xml:lang="en">
8586 The pcscd service provides support for Smart Cards and Smart Card
8587 Readers. If Smart Cards are not in use on the system, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8588 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8589 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig pcscd off</xhtml:code></xccdf:description>
8590 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.10.a" selected="false" severity="low" weight="10.0">
8591 <xccdf:title>Smart Card Support (pcscd)</xccdf:title>
8592 <xccdf:description>The pcscd service should be disabled.</xccdf:description>
8593 <xccdf:ident system="http://cce.mitre.org">CCE-4100-4</xccdf:ident>
8594 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8595 <xccdf:fix># chkconfig pcscd off</xccdf:fix>
8596 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8597 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20194"/>
8598 </xccdf:check>
8599 </xccdf:Rule>
8600 </xccdf:Group>
8601 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.11">
8602 <xccdf:title xml:lang="en">SMART Disk Monitoring Support (smartd)</xccdf:title>
8603 <xccdf:description xml:lang="en">
8604 SMART (Self-Monitoring, Analysis, and Reporting Technology) is a
8605 feature of hard drives that allows them to detect symptoms of disk failure and relay an
8606 appropriate warning. This technology is considered to bring relatively low security risk,
8607 and can be useful. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8609 Leave this service running if the system's hard drives are
8610 SMART-capable. Otherwise, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8612 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smartd off</xhtml:code></xccdf:description>
8613 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.11.a" selected="false" severity="low" weight="10.0">
8614 <xccdf:title>SMART Disk Monitoring Support (smartd)</xccdf:title>
8615 <xccdf:description>The smartd service should be disabled.</xccdf:description>
8616 <xccdf:ident system="http://cce.mitre.org">CCE-3455-3</xccdf:ident>
8617 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8618 <xccdf:fix># chkconfig smartd off</xccdf:fix>
8619 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8620 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20195"/>
8621 </xccdf:check>
8622 </xccdf:Rule>
8623 </xccdf:Group>
8624 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.12">
8625 <xccdf:title xml:lang="en">Boot Caching (readahead early/readahead later)</xccdf:title>
8626 <xccdf:description xml:lang="en">
8627 The following services provide one-time caching of files
8628 belonging to some boot services, with the goal of allowing the system to boot faster. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8629 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8630 It is recommended that this service be disabled on most machines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8632 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig readahead_early off <xhtml:br/>
8633 # chkconfig readahead_later off <xhtml:br/></xhtml:code>
8634 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8635 The readahead services do not substantially increase a
8636 system's risk exposure, but they also do not provide great benefit. Unless the system is
8637 running a specialized application for which the file caching substantially improves system
8638 boot time, this guide recommends disabling the services.</xccdf:description>
8639 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.a" selected="false" severity="low" weight="10.0">
8640 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8641 <xccdf:description>The readahead_early service should be disabled.</xccdf:description>
8642 <xccdf:ident system="http://cce.mitre.org">CCE-4421-4</xccdf:ident>
8643 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8644 <xccdf:fix># chkconfig readahead early off</xccdf:fix>
8645 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8646 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20196"/>
8647 </xccdf:check>
8648 </xccdf:Rule>
8649 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.b" selected="false" severity="low" weight="10.0">
8650 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8651 <xccdf:description>The readahead_later service should be disabled.</xccdf:description>
8652 <xccdf:ident system="http://cce.mitre.org">CCE-4302-6</xccdf:ident>
8653 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8654 <xccdf:fix># chkconfig readahead later off</xccdf:fix>
8655 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8656 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20197"/>
8657 </xccdf:check>
8658 </xccdf:Rule>
8659 </xccdf:Group>
8660 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13">
8661 <xccdf:title xml:lang="en">Application Support Services</xccdf:title>
8662 <xccdf:description xml:lang="en">
8663 The following services are software projects of freedesktop.org
8664 that are meant to provide system integration through a series of common APIs for
8665 applications. They are heavily integrated into the X Windows environment. If the system is
8666 not using X Windows, these services can typically be disabled.</xccdf:description>
8667 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.1">
8668 <xccdf:title xml:lang="en">D-Bus IPC Service (messagebus)</xccdf:title>
8669 <xccdf:description xml:lang="en">
8670 D-Bus is an IPC mechanism that provides a common channel for
8671 inter-process communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8672 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8673 If no services which require D-Bus are in use, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8674 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8675 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig messagebus off <xhtml:br/></xhtml:code>
8676 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8677 A number of default services make use of D-Bus,
8678 including X Windows (Section 3.6), Bluetooth (Section 3.3.14) and Avahi (Section 3.7).
8679 This guide recommends that D-Bus and all its dependencies be disabled unless there is a
8680 mission-critical need for them. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8681 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8682 Stricter configuration of D-Bus is possible and
8683 documented in the man page dbus-daemon(1). D-Bus maintains two separate configuration
8684 files, located in /etc/dbus-1/, one for system-specific configuration and the other for
8685 session-specific configuration.</xccdf:description>
8686 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false" severity="low" weight="10.0">
8687 <xccdf:title>D-Bus IPC Service (messagebus)</xccdf:title>
8688 <xccdf:description>The messagebus service should be disabled.</xccdf:description>
8689 <xccdf:ident system="http://cce.mitre.org">CCE-3822-4</xccdf:ident>
8690 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8691 <xccdf:fix># chkconfig messagebus off</xccdf:fix>
8692 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8693 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20198"/>
8694 </xccdf:check>
8695 </xccdf:Rule>
8696 </xccdf:Group>
8697 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2">
8698 <xccdf:title xml:lang="en">HAL Daemon (haldaemon)</xccdf:title>
8699 <xccdf:description xml:lang="en">
8700 The haldaemon service provides a dynamic way of managing device
8701 interfaces. It automates device configuration and provides an API for making devices
8702 accessible to applications through the D-Bus interface.</xccdf:description>
8703 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false" severity="low" weight="10.0">
8704 <xccdf:title>HAL Daemon (haldaemon)</xccdf:title>
8705 <xccdf:description>The haldaemon service should be disabled.</xccdf:description>
8706 <xccdf:ident system="http://cce.mitre.org">CCE-4364-6</xccdf:ident>
8707 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8708 <xccdf:fix># chkconfig haldaemon off</xccdf:fix>
8709 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8710 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20199"/>
8711 </xccdf:check>
8712 </xccdf:Rule>
8713 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.1">
8714 <xccdf:title xml:lang="en">Disable HAL Daemon if Possible</xccdf:title>
8715 <xccdf:description xml:lang="en">
8716 HAL provides valuable attack surfaces to attackers as an
8717 intermediary to privileged operations and should be disabled unless necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8718 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8719 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig haldaemon off</xhtml:code></xccdf:description>
8720 </xccdf:Group>
8721 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.2">
8722 <xccdf:title xml:lang="en">Configure HAL Daemon if Necessary</xccdf:title>
8723 <xccdf:description xml:lang="en">
8724 HAL provides a limited user the ability to mount system
8725 devices. This is primarily used by X utilities such as gnome-volume-manager to perform
8726 automounting of removable media.
8727 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8728 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8729 HAL configuration is currently
8730 only possible through a series of fdi files located in
8731 /usr/share/hal/fdi/
8732 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8733 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8734 Note: The HAL future road map includes a
8735 mandatory framework for managing administrative privileges called
8736 PolicyKit.
8737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8738 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8739 To prevent users from accessing devices through HAL,
8740 create the
8741 file
8742 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8743 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8744 /etc/hal/fdi/policy/99-policy-all-drives.fdi
8745 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8746 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8747 with the contents: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8748 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8749 &lt;?xml version="1.0"
8750 encoding="UTF-8"?&gt;&lt;deviceinfo
8751 version="0.2"&gt;&lt;device&gt;&lt;match key="info.capabilities"
8752 contains="volume"&gt;&lt;merge key="volume.ignore"
8753 type="bool"&gt;true&lt;/merge&gt;&lt;/match&gt;&lt;/device&gt;&lt;/deviceinfo&gt;
8754 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8755 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8756 The
8757 above code matches any device labeled with the volume capability (any device capable
8758 of being mounted will be labeled this way) and sets the corresponding volume.ignore
8759 key to true, indicating that the volume should be ignored. This both makes the volume
8760 invisible to the UI, and denies mount attempts by unprivileged users.
8761 </xccdf:description>
8762 </xccdf:Group>
8763 </xccdf:Group>
8764 </xccdf:Group>
8765 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14">
8766 <xccdf:title xml:lang="en">Bluetooth Support</xccdf:title>
8767 <xccdf:description xml:lang="en">
8768 Bluetooth provides a way to transfer information between devices
8769 such as mobile phones, laptops, PCs, printers, digital cameras, and video game consoles
8770 over a short-range wireless link. Any wireless communication presents a serious security
8771 risk to sensitive or classified systems. Section 2.5.2 contains information on the related
8772 topic of wireless networking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8773 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8774 Removal of hardware is the only way to ensure that the
8775 Bluetooth wireless capability remains disabled. If it is completely impractical to remove
8776 the Bluetooth hardware module, and site policy still allows the device to enter sensitive
8777 spaces, every effort to disable the capability via software should be made. In general,
8778 acquisition policy should include provisions to prevent the purchase of equipment that
8779 will be used in sensitive spaces and includes Bluetooth capabilities.</xccdf:description>
8780 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.1">
8781 <xccdf:title xml:lang="en">Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8782 <xccdf:description xml:lang="en">
8783 The bluetooth service enables the system to use Bluetooth
8784 devices. If the system requires no Bluetooth devices, disable this service:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8785 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig bluetooth off</xhtml:code></xccdf:description>
8786 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false" severity="medium" weight="10.0">
8787 <xccdf:title>Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8788 <xccdf:description>The bluetooth service should be disabled.</xccdf:description>
8789 <xccdf:ident system="http://cce.mitre.org">CCE-4355-4</xccdf:ident>
8790 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8791 <xccdf:fix># chkconfig bluetooth off</xccdf:fix>
8792 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8793 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20200"/>
8794 </xccdf:check>
8795 </xccdf:Rule>
8796 </xccdf:Group>
8797 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.2">
8798 <xccdf:title xml:lang="en">Bluetooth Input Devices (hidd)</xccdf:title>
8799 <xccdf:description xml:lang="en">
8800 The hidd service provides support for Bluetooth input devices.
8801 If the system has no Bluetooth input devices (e.g. keyboard or mouse), disable this
8802 service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8804 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hidd off</xhtml:code></xccdf:description>
8805 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false" severity="low" weight="10.0">
8806 <xccdf:title>Bluetooth Input Devices (hidd)</xccdf:title>
8807 <xccdf:description>The hidd service should be disabled.</xccdf:description>
8808 <xccdf:ident system="http://cce.mitre.org">CCE-4377-8</xccdf:ident>
8809 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8810 <xccdf:fix># chkconfig hidd off</xccdf:fix>
8811 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8812 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20201"/>
8813 </xccdf:check>
8814 </xccdf:Rule>
8815 </xccdf:Group>
8816 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.3">
8817 <xccdf:title xml:lang="en">Disable Bluetooth Kernel Modules</xccdf:title>
8818 <xccdf:description xml:lang="en">
8819 The kernel's module loading system can be configured to prevent
8820 loading of the Bluetooth module. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8821 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8822 Add the following to /etc/modprobe.conf to prevent the
8823 loading of the Bluetooth module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8824 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8825 alias net-pf-31 off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8826 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8827 The unexpected name, net-pf-31, is
8828 a result of how the kernel requests modules for network protocol families; it is an
8829 alias for the bluetooth module.</xccdf:description>
8830 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false" severity="medium" weight="10.0">
8831 <xccdf:title>Disable Bluetooth Kernel Modules</xccdf:title>
8832 <xccdf:description>Prevent loading of the Bluetooth module.</xccdf:description>
8833 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
8834 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8835 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202015"/>
8836 </xccdf:check>
8837 </xccdf:Rule>
8838 </xccdf:Group>
8839 </xccdf:Group>
8840 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15">
8841 <xccdf:title xml:lang="en">Power Management Support</xccdf:title>
8842 <xccdf:description xml:lang="en">
8843 The following services provide an interface to power management
8844 functions. These functions include monitoring battery power, system hibernate/suspend, CPU
8845 throttling, and various power-save utilities.</xccdf:description>
8846 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.1">
8847 <xccdf:title xml:lang="en">Advanced Power Management Subsystem (apmd)</xccdf:title>
8848 <xccdf:description xml:lang="en">
8849 The apmd service provides last generation power management
8850 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8851 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8852 If the system is capable of ACPI support, or if power management is not
8853 necessary, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8855 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig apmd off <xhtml:br/></xhtml:code>
8856 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8857 APM is being replaced by ACPI and
8858 should be considered deprecated. As such, it can be disabled if ACPI is supported by
8859 your hardware and kernel. If the file /proc/acpi/info exists and contains ACPI version
8860 information, then APM can safely be disabled without loss of functionality.</xccdf:description>
8861 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false" severity="low" weight="10.0">
8862 <xccdf:title>Advanced Power Management Subsystem (apmd)</xccdf:title>
8863 <xccdf:description>The apmd service should be disabled.</xccdf:description>
8864 <xccdf:ident system="http://cce.mitre.org">CCE-4289-5</xccdf:ident>
8865 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8866 <xccdf:fix># chkconfig apmd off</xccdf:fix>
8867 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8868 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20202"/>
8869 </xccdf:check>
8870 </xccdf:Rule>
8871 </xccdf:Group>
8872 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.2">
8873 <xccdf:title xml:lang="en">Advanced Configuration and Power Interface (acpid)</xccdf:title>
8874 <xccdf:description xml:lang="en">
8875 The acpid service provides next generation power management
8876 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8878 Unless power management features are not necessary, leave this service enabled.</xccdf:description>
8879 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false" severity="low" weight="10.0">
8880 <xccdf:title>Advanced Configuration and Power Interface (acpid)</xccdf:title>
8881 <xccdf:description>The acpid service should be disabled.</xccdf:description>
8882 <xccdf:ident system="http://cce.mitre.org">CCE-4298-6</xccdf:ident>
8883 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8884 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8885 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20203"/>
8886 </xccdf:check>
8887 </xccdf:Rule>
8888 </xccdf:Group>
8889 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.3">
8890 <xccdf:title xml:lang="en">CPU Throttling (cpuspeed)</xccdf:title>
8891 <xccdf:description xml:lang="en">
8892 The cpuspeed service uses hardware support to throttle the CPU
8893 when the system is idle. Unless CPU power optimization is unnecessary, leave this
8894 service enabled.</xccdf:description>
8895 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false" severity="low" weight="10.0">
8896 <xccdf:title>CPU Throttling (cpuspeed)</xccdf:title>
8897 <xccdf:description>The cpuspeed service should be disabled.</xccdf:description>
8898 <xccdf:ident system="http://cce.mitre.org">CCE-4051-9</xccdf:ident>
8899 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8900 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8901 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20204"/>
8902 </xccdf:check>
8903 </xccdf:Rule>
8904 </xccdf:Group>
8905 </xccdf:Group>
8906 </xccdf:Group>
8907 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4">
8908 <xccdf:title xml:lang="en">Cron and At Daemons</xccdf:title>
8909 <xccdf:description xml:lang="en">
8910 The cron and at services are used to allow commands to be executed
8911 at a later time. The cron service is required by almost all systems to perform necessary
8912 maintenance tasks, while at may or may not be required on a given system. Both daemons
8913 should be configured defensively.</xccdf:description>
8914 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.a" selected="false" severity="high" weight="10.0">
8915 <xccdf:title>Enable cron Daemon</xccdf:title>
8916 <xccdf:description>The crond service should be enabled.</xccdf:description>
8917 <xccdf:ident system="http://cce.mitre.org">CCE-4324-0</xccdf:ident>
8918 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8919 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8920 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20205"/>
8921 </xccdf:check>
8922 </xccdf:Rule>
8923 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.1">
8924 <xccdf:title xml:lang="en">Disable anacron if Possible</xccdf:title>
8925 <xccdf:description xml:lang="en">
8926 Is this a machine which is designed to run all the time, such as
8927 a server or a workstation which is left on at night? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8929 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase anacron<xhtml:br/></xhtml:code>
8930 The
8931 anacron subsystem is designed to provide cron functionality for machines which may be shut
8932 down during the normal times that system cron jobs run, frequently in the middle of the
8933 night. Laptops and workstations which are shut down at night should keep anacron enabled,
8934 so that standard system cron jobs will run when the machine boots. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8935 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8936 However, on machines
8937 which do not need this additional functionality, anacron represents another piece of
8938 privileged software which could contain vulnerabilities. Therefore, it should be removed
8939 when possible to reduce system risk.</xccdf:description>
8940 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.a" selected="false" severity="low" weight="10.0">
8941 <xccdf:title>Disable anacron if Possible</xccdf:title>
8942 <xccdf:description>The anacron service should be disabled.</xccdf:description>
8943 <xccdf:ident system="http://cce.mitre.org">CCE-4406-5</xccdf:ident>
8944 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8945 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8946 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20206"/>
8947 </xccdf:check>
8948 </xccdf:Rule>
8949 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.b" selected="false" weight="10.0">
8950 <xccdf:title>Uninstall anacron if Possible</xccdf:title>
8951 <xccdf:description>The anacron package should be uninstalled.</xccdf:description>
8952 <xccdf:ident system="http://cce.mitre.org">CCE-4428-9</xccdf:ident>
8953 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8954 <xccdf:fix># yum erase anacron</xccdf:fix>
8955 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8956 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20207"/>
8957 </xccdf:check>
8958 </xccdf:Rule>
8959 </xccdf:Group>
8960 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.2">
8961 <xccdf:title xml:lang="en">Restrict Permissions on Files Used by cron</xccdf:title>
8962 <xccdf:description xml:lang="en">
8963 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
8964 <xhtml:li>Restrict the permissions on the primary system crontab file: <xhtml:br/>
8965 <xhtml:br/>
8966 <xhtml:code># chown root:root /etc/crontab <xhtml:br/>
8967 # chmod 600 /etc/crontab</xhtml:code></xhtml:li>
8968 <xhtml:li>If anacron has not been removed,
8969 restrict the permissions on its primary configuration file: <xhtml:br/>
8970 <xhtml:br/>
8971 <xhtml:code># chown root:root /etc/anacrontab <xhtml:br/>
8972 # chmod 600 /etc/anacrontab </xhtml:code></xhtml:li>
8973 <xhtml:li>Restrict the permission on all system
8974 crontab directories: <xhtml:br/>
8975 <xhtml:br/>
8976 <xhtml:code># cd /etc <xhtml:br/>
8977 # chown -R root:root cron.hourly cron.daily cron.weekly cron.monthly cron.d <xhtml:br/>
8978 # chmod -R go-rwx cron.hourly cron.daily cron.weekly cron.monthly cron.d </xhtml:code></xhtml:li>
8979 <xhtml:li>Restrict the permissions on the spool directory for user crontab files: <xhtml:br/>
8980 <xhtml:br/>
8981 <xhtml:code># chown root:root /var/spool/cron <xhtml:br/>
8982 # chmod -R go-rwx /var/spool/cron </xhtml:code></xhtml:li>
8983 </xhtml:ol> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8984 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8985 Cron and anacron make use of a
8986 number of configuration files and directories. The system crontabs need only be edited by
8987 root, and user crontabs are edited using the setuid root crontab command. If unprivileged
8988 users can modify system cron configuration files, they may be able to gain elevated
8989 privileges, so all unnecessary access to these files should be disabled.</xccdf:description>
8990 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" operator="equals" type="string">
8991 <xccdf:title>group owner of /etc/crontab</xccdf:title>
8992 <xccdf:description xml:lang="en">Specify group owner of /etc/crontab.</xccdf:description>
8993 <xccdf:question xml:lang="en">Specify group owner of /etc/crontab</xccdf:question>
8994 <xccdf:value>root</xccdf:value>
8995 <xccdf:value selector="root">root</xccdf:value>
8996 </xccdf:Value>
8997 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" operator="equals" type="string">
8998 <xccdf:title>user owner of /etc/crontab</xccdf:title>
8999 <xccdf:description xml:lang="en">Specify user owner of /etc/crontab.</xccdf:description>
9000 <xccdf:question xml:lang="en">Specify user owner of /etc/crontab</xccdf:question>
9001 <xccdf:value>root</xccdf:value>
9002 <xccdf:value selector="root">root</xccdf:value>
9003 </xccdf:Value>
9004 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" operator="equals" type="string">
9005 <xccdf:title>permissions on /etc/crontab file</xccdf:title>
9006 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
9007 <xccdf:question xml:lang="en">Specify permissions of /etc/crontab</xccdf:question>
9008 <xccdf:value>110100100</xccdf:value>
9009 <xccdf:value selector="644">110100100</xccdf:value>
9010 <xccdf:value selector="400">100000000</xccdf:value>
9011 <xccdf:value selector="600">110000000</xccdf:value>
9012 <xccdf:value selector="700">111000000</xccdf:value>
9013 </xccdf:Value>
9014 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" operator="equals" type="string">
9015 <xccdf:title>group owner of /etc/anacrontab</xccdf:title>
9016 <xccdf:description xml:lang="en">Specify group owner of /etc/ancrontab.</xccdf:description>
9017 <xccdf:question xml:lang="en">Specify group owner of /etc/anacrontab</xccdf:question>
9018 <xccdf:value>root</xccdf:value>
9019 <xccdf:value selector="root">root</xccdf:value>
9020 </xccdf:Value>
9021 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" operator="equals" type="string">
9022 <xccdf:title>user owner of /etc/anacrontab</xccdf:title>
9023 <xccdf:description xml:lang="en">Specify user owner of /etc/anacrontab.</xccdf:description>
9024 <xccdf:question xml:lang="en">Specify user owner of /etc/anacrontab</xccdf:question>
9025 <xccdf:value>root</xccdf:value>
9026 <xccdf:value selector="root">root</xccdf:value>
9027 </xccdf:Value>
9028 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" operator="equals" type="string">
9029 <xccdf:title>permissions on /etc/anacrontab file</xccdf:title>
9030 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
9031 <xccdf:question xml:lang="en">Specify permissions of /etc/anacrontab</xccdf:question>
9032 <xccdf:value>110100100</xccdf:value>
9033 <xccdf:value selector="644">110100100</xccdf:value>
9034 <xccdf:value selector="400">100000000</xccdf:value>
9035 <xccdf:value selector="600">110000000</xccdf:value>
9036 <xccdf:value selector="700">111000000</xccdf:value>
9037 </xccdf:Value>
9038 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" operator="equals" type="string">
9039 <xccdf:title>group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
9040 <xccdf:description xml:lang="en">Specify group owner of /etc/cron.* files and directories.</xccdf:description>
9041 <xccdf:question xml:lang="en">Specify group owner of /etc/cron.* files and directories</xccdf:question>
9042 <xccdf:value>root</xccdf:value>
9043 <xccdf:value selector="root">root</xccdf:value>
9044 </xccdf:Value>
9045 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" operator="equals" type="string">
9046 <xccdf:title>user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
9047 <xccdf:description xml:lang="en">Specify user owner of /etc/cron.* files and directories.</xccdf:description>
9048 <xccdf:question xml:lang="en">Specify user owner of /etc/cron.* files and directories</xccdf:question>
9049 <xccdf:value>root</xccdf:value>
9050 <xccdf:value selector="root">root</xccdf:value>
9051 </xccdf:Value>
9052 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" operator="equals" type="string">
9053 <xccdf:title>permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
9054 <xccdf:description xml:lang="en">Specify file and directory permissions on /etc/cron.*.</xccdf:description>
9055 <xccdf:question xml:lang="en">Specify permissions of /etc/cron.* files and directories</xccdf:question>
9056 <xccdf:value>111101101</xccdf:value>
9057 <xccdf:value selector="755">111101101</xccdf:value>
9058 <xccdf:value selector="400">100000000</xccdf:value>
9059 <xccdf:value selector="600">110000000</xccdf:value>
9060 <xccdf:value selector="700">111000000</xccdf:value>
9061 </xccdf:Value>
9062 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.group" operator="equals" type="string">
9063 <xccdf:title>group owner of /var/spool/cron</xccdf:title>
9064 <xccdf:description xml:lang="en">Specify group owner of /var/spool/cron.</xccdf:description>
9065 <xccdf:question xml:lang="en">Specify group owner of /var/spool/cron</xccdf:question>
9066 <xccdf:value>root</xccdf:value>
9067 <xccdf:value selector="root">root</xccdf:value>
9068 </xccdf:Value>
9069 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.user" operator="equals" type="string">
9070 <xccdf:title>user owner of /var/spool/cron</xccdf:title>
9071 <xccdf:description xml:lang="en">Specify user owner of /var/spool/cron.</xccdf:description>
9072 <xccdf:value>root</xccdf:value>
9073 <xccdf:value selector="root">root</xccdf:value>
9074 </xccdf:Value>
9075 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" operator="equals" type="string">
9076 <xccdf:title>permissions on /var/spool/cron file</xccdf:title>
9077 <xccdf:description xml:lang="en">Specify file permissions on /var/spool/cron.</xccdf:description>
9078 <xccdf:question xml:lang="en">Specify file permissions of /var/spool/cron</xccdf:question>
9079 <xccdf:value>111000000</xccdf:value>
9080 <xccdf:value selector="400">100000000</xccdf:value>
9081 <xccdf:value selector="600">110000000</xccdf:value>
9082 <xccdf:value selector="700">111000000</xccdf:value>
9083 </xccdf:Value>
9084 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.a" selected="false" severity="medium" weight="10.0">
9085 <xccdf:title>Set group owner on /etc/crontab</xccdf:title>
9086 <xccdf:description>The /etc/crontab file should be owned by the appropriate group.</xccdf:description>
9087 <xccdf:ident system="http://cce.mitre.org">CCE-3626-9</xccdf:ident>
9088 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9089 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9090 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20208" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group"/>
9091 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20208"/>
9092 </xccdf:check>
9093 </xccdf:Rule>
9094 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.b" selected="false" severity="medium" weight="10.0">
9095 <xccdf:title>Set user owner on /etc/crontab</xccdf:title>
9096 <xccdf:description>The /etc/crontab file should be owned by the appropriate user.</xccdf:description>
9097 <xccdf:ident system="http://cce.mitre.org">CCE-3851-3</xccdf:ident>
9098 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9099 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9100 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20209" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user"/>
9101 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20209"/>
9102 </xccdf:check>
9103 </xccdf:Rule>
9104 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.c" selected="false" severity="medium" weight="10.0">
9105 <xccdf:title>Set Permissions on /etc/crontab</xccdf:title>
9106 <xccdf:title>Restrict Permissions on Files Used by cron</xccdf:title>
9107 <xccdf:description>File permissions for /etc/crontab should be set correctly.</xccdf:description>
9108 <xccdf:ident system="http://cce.mitre.org">CCE-4388-5</xccdf:ident>
9109 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9110 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9111 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20210" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions"/>
9112 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20210"/>
9113 </xccdf:check>
9114 </xccdf:Rule>
9115 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.a" selected="false" severity="medium" weight="10.0">
9116 <xccdf:title>Set group owner on /etc/anacrontab</xccdf:title>
9117 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate group.</xccdf:description>
9118 <xccdf:ident system="http://cce.mitre.org">CCE-3604-6</xccdf:ident>
9119 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9120 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9121 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20211" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group"/>
9122 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20211"/>
9123 </xccdf:check>
9124 </xccdf:Rule>
9125 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.b" selected="false" severity="medium" weight="10.0">
9126 <xccdf:title>Set user owner on /etc/anacrontab</xccdf:title>
9127 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate user.</xccdf:description>
9128 <xccdf:ident system="http://cce.mitre.org">CCE-4379-4</xccdf:ident>
9129 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9130 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9131 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20212" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user"/>
9132 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20212"/>
9133 </xccdf:check>
9134 </xccdf:Rule>
9135 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.c" selected="false" severity="medium" weight="10.0">
9136 <xccdf:title>Set Permissions on /etc/anacrontab</xccdf:title>
9137 <xccdf:description>File permissions for /etc/anacrontab should be set correctly.</xccdf:description>
9138 <xccdf:ident system="http://cce.mitre.org">CCE-4304-2</xccdf:ident>
9139 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9140 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9141 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20213" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions"/>
9142 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20213"/>
9143 </xccdf:check>
9144 </xccdf:Rule>
9145 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.a" selected="false" severity="medium" weight="10.0">
9146 <xccdf:title>Set group owner on /etc/cron.hourly</xccdf:title>
9147 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate group.</xccdf:description>
9148 <xccdf:ident system="http://cce.mitre.org">CCE-4054-3</xccdf:ident>
9149 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9150 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9151 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20214" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group"/>
9152 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20214"/>
9153 </xccdf:check>
9154 </xccdf:Rule>
9155 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.b" selected="false" severity="medium" weight="10.0">
9156 <xccdf:title>Set group owner on /etc/cron.daily</xccdf:title>
9157 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate group.</xccdf:description>
9158 <xccdf:ident system="http://cce.mitre.org">CCE-3481-9</xccdf:ident>
9159 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9160 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9161 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20214" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group"/>
9162 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20215"/>
9163 </xccdf:check>
9164 </xccdf:Rule>
9165 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.c" selected="false" severity="medium" weight="10.0">
9166 <xccdf:title>Set group owner on /etc/cron.weekly</xccdf:title>
9167 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate group.</xccdf:description>
9168 <xccdf:ident system="http://cce.mitre.org">CCE-4331-5</xccdf:ident>
9169 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9170 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9171 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20214" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group"/>
9172 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20216"/>
9173 </xccdf:check>
9174 </xccdf:Rule>
9175 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.d" selected="false" severity="medium" weight="10.0">
9176 <xccdf:title>Set group owner on /etc/cron.monthly</xccdf:title>
9177 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate group.</xccdf:description>
9178 <xccdf:ident system="http://cce.mitre.org">CCE-4322-4</xccdf:ident>
9179 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9180 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9181 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20214" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group"/>
9182 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20217"/>
9183 </xccdf:check>
9184 </xccdf:Rule>
9185 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.e" selected="false" severity="medium" weight="10.0">
9186 <xccdf:title>Set group owner on /etc/cron.d</xccdf:title>
9187 <xccdf:description>The /etc/cron.d file should be owned by the appropriate group.</xccdf:description>
9188 <xccdf:ident system="http://cce.mitre.org">CCE-4212-7</xccdf:ident>
9189 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9190 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9191 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20214" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group"/>
9192 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20218"/>
9193 </xccdf:check>
9194 </xccdf:Rule>
9195 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.f" selected="false" severity="medium" weight="10.0">
9196 <xccdf:title>Set user owner on /etc/cron.hourly</xccdf:title>
9197 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate user.</xccdf:description>
9198 <xccdf:ident system="http://cce.mitre.org">CCE-3983-4</xccdf:ident>
9199 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9200 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9201 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20219" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user"/>
9202 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20219"/>
9203 </xccdf:check>
9204 </xccdf:Rule>
9205 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.g" selected="false" severity="medium" weight="10.0">
9206 <xccdf:title>Set user owner on /etc/cron.daily</xccdf:title>
9207 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate user.</xccdf:description>
9208 <xccdf:ident system="http://cce.mitre.org">CCE-4022-0</xccdf:ident>
9209 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9210 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9211 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20219" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user"/>
9212 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20220"/>
9213 </xccdf:check>
9214 </xccdf:Rule>
9215 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.h" selected="false" severity="medium" weight="10.0">
9216 <xccdf:title>Set user owner on /etc/cron.weekly</xccdf:title>
9217 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate user.</xccdf:description>
9218 <xccdf:ident system="http://cce.mitre.org">CCE-3833-1</xccdf:ident>
9219 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9220 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9221 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20219" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user"/>
9222 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20221"/>
9223 </xccdf:check>
9224 </xccdf:Rule>
9225 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.i" selected="false" severity="medium" weight="10.0">
9226 <xccdf:title>Set user owner on /etc/cron.monthly</xccdf:title>
9227 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate user.</xccdf:description>
9228 <xccdf:ident system="http://cce.mitre.org">CCE-4441-2</xccdf:ident>
9229 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9230 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9231 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20219" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user"/>
9232 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20222"/>
9233 </xccdf:check>
9234 </xccdf:Rule>
9235 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.j" selected="false" severity="medium" weight="10.0">
9236 <xccdf:title>Set user owner on /etc/cron.d</xccdf:title>
9237 <xccdf:description>The /etc/cron.d file should be owned by the appropriate user.</xccdf:description>
9238 <xccdf:ident system="http://cce.mitre.org">CCE-4380-2</xccdf:ident>
9239 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9240 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9241 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20219" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user"/>
9242 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20223"/>
9243 </xccdf:check>
9244 </xccdf:Rule>
9245 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.k" selected="false" severity="medium" weight="10.0">
9246 <xccdf:title>Set permissions on /etc/cron.hourly</xccdf:title>
9247 <xccdf:description>File permissions for /etc/cron.hourly should be set correctly.</xccdf:description>
9248 <xccdf:ident system="http://cce.mitre.org">CCE-4106-1</xccdf:ident>
9249 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9250 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9251 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20224" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions"/>
9252 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20224"/>
9253 </xccdf:check>
9254 </xccdf:Rule>
9255 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.l" selected="false" severity="medium" weight="10.0">
9256 <xccdf:title>Set permissions on /etc/cron.daily</xccdf:title>
9257 <xccdf:description>File permissions for /etc/cron.daily should be set correctly.</xccdf:description>
9258 <xccdf:ident system="http://cce.mitre.org">CCE-4450-3</xccdf:ident>
9259 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9260 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9261 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20224" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions"/>
9262 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20225"/>
9263 </xccdf:check>
9264 </xccdf:Rule>
9265 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.m" selected="false" severity="medium" weight="10.0">
9266 <xccdf:title>Set permissions on /etc/cron.weekly</xccdf:title>
9267 <xccdf:description>File permissions for /etc/cron.weekly should be set correctly.</xccdf:description>
9268 <xccdf:ident system="http://cce.mitre.org">CCE-4203-6</xccdf:ident>
9269 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9270 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9271 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20224" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions"/>
9272 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20226"/>
9273 </xccdf:check>
9274 </xccdf:Rule>
9275 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.n" selected="false" severity="medium" weight="10.0">
9276 <xccdf:title>Set permissions on /etc/cron.monthly</xccdf:title>
9277 <xccdf:description>File permissions for /etc/cron.monthly should be set correctly.</xccdf:description>
9278 <xccdf:ident system="http://cce.mitre.org">CCE-4251-5</xccdf:ident>
9279 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9280 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9281 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20224" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions"/>
9282 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20227"/>
9283 </xccdf:check>
9284 </xccdf:Rule>
9285 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.o" selected="false" severity="medium" weight="10.0">
9286 <xccdf:title>Set permissions on /etc/cron.d</xccdf:title>
9287 <xccdf:description>File permissions for /etc/cron.d should be set correctly.</xccdf:description>
9288 <xccdf:ident system="http://cce.mitre.org">CCE-4250-7</xccdf:ident>
9289 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9290 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9291 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20224" value-id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions"/>
9292 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20228"/>
9293 </xccdf:check>
9294 </xccdf:Rule>
9295 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.a" selected="false" severity="medium" weight="10.0">
9296 <xccdf:title>Restrict group owner on /var/spool/cron directory</xccdf:title>
9297 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate group.</xccdf:description>
9298 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9299 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9300 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20229" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.group"/>
9301 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20229"/>
9302 <!-- TBD -->
9303 </xccdf:check>
9304 </xccdf:Rule>
9305 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.b" selected="false" severity="medium" weight="10.0">
9306 <xccdf:title>Restrict user owner on /var/spool/cron directory</xccdf:title>
9307 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate user.</xccdf:description>
9308 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9309 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9310 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20230" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.user"/>
9311 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20230"/>
9312 <!-- TBD -->
9313 </xccdf:check>
9314 </xccdf:Rule>
9315 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.c" selected="false" severity="medium" weight="10.0">
9316 <xccdf:title>Restrict Permissions on /var/spool/cron directory</xccdf:title>
9317 <xccdf:description>Directory permissions for /var/spool/cron should be set correctly.</xccdf:description>
9318 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9319 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9320 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20231" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions"/>
9321 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20231"/>
9322 <!-- TBD -->
9323 </xccdf:check>
9324 </xccdf:Rule>
9325 </xccdf:Group>
9326 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.3">
9327 <xccdf:title xml:lang="en">Disable at if Possible</xccdf:title>
9328 <xccdf:description xml:lang="en">Unless the at daemon is required, disable it with the following command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9329 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9330 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig atd off<xhtml:br/></xhtml:code>
9331 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9332 Many of the periodic or delayed execution features of the at daemon can be provided through the cron daemon
9333 instead.
9334 </xccdf:description>
9335 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.a" selected="false" severity="low" weight="10.0">
9336 <xccdf:title>Disable at Daemon</xccdf:title>
9337 <xccdf:description>The atd service should be disabled.</xccdf:description>
9338 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9339 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9340 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202052"/>
9341 </xccdf:check>
9342 </xccdf:Rule>
9343 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.b" selected="false" weight="10.0">
9344 <xccdf:title>uninstall at Daemon</xccdf:title>
9345 <xccdf:description>The at package should be removed.</xccdf:description>
9346 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9347 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9348 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202053"/>
9349 </xccdf:check>
9350 </xccdf:Rule>
9351 </xccdf:Group>
9352 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.4">
9353 <xccdf:title xml:lang="en">Restrict at and cron to Authorized Users</xccdf:title>
9354 <xccdf:description xml:lang="en">
9355 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
9356 <xhtml:li>Remove the cron.deny file: <xhtml:br/>
9357 <xhtml:br/>
9358 <xhtml:code># rm /etc/cron.deny</xhtml:code></xhtml:li>
9359 <xhtml:li>Edit /etc/cron.allow, adding one line for each user allowed to use the crontab command to
9360 create cron jobs. </xhtml:li>
9361 <xhtml:li>Remove the at.deny file: <xhtml:br/>
9362 <xhtml:br/>
9363 <xhtml:code># rm /etc/at.deny </xhtml:code></xhtml:li>
9364 <xhtml:li>Edit /etc/at.allow, adding one line for each user allowed to use the at command to create at jobs. </xhtml:li>
9365 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9366 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9367 The
9368 /etc/cron.allow and /etc/at.allow files contain lists of users who are allowed to use cron
9369 and at to delay execution of processes. If these files exist and if the corresponding
9370 files /etc/cron.deny and /etc/at.deny do not exist, then only users listed in the relevant
9371 allow files can run the crontab and at commands to submit jobs to be run at scheduled
9372 intervals. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9374 On many systems, only the system administrator needs the ability to schedule
9375 jobs. Note that even if a given user is not listed in cron.allow, cron jobs can still be
9376 run as that user. The cron.allow file controls only administrative access to the crontab
9377 command for scheduling and modifying cron jobs.</xccdf:description>
9378 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.a" selected="false" severity="medium" weight="10.0">
9379 <xccdf:title>Remove /etc/cron.deny</xccdf:title>
9380 <xccdf:description>/etc/cron.deny file should not exist.</xccdf:description>
9381 <xccdf:fix>rm /etc/cron.deny</xccdf:fix>
9382 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9383 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20232"/>
9384 </xccdf:check>
9385 </xccdf:Rule>
9386 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.b" selected="false" severity="medium" weight="10.0">
9387 <xccdf:title>Remove /etc/at.deny</xccdf:title>
9388 <xccdf:description>/etc/at.deny file should not exist.</xccdf:description>
9389 <xccdf:fix>rm /etc/at.deny</xccdf:fix>
9390 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9391 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20233"/>
9392 </xccdf:check>
9393 </xccdf:Rule>
9394 </xccdf:Group>
9395 </xccdf:Group>
9396 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5">
9397 <xccdf:title xml:lang="en">SSH Server</xccdf:title>
9398 <xccdf:description xml:lang="en">
9399 The SSH protocol is recommended for remote login and remote file
9400 transfer. SSH provides confidentiality and integrity for data exchanged between two systems,
9401 as well as server authentication, through the use of public key cryptography. The
9402 implementation included with the system is called OpenSSH, and more detailed documentation
9403 is available from its website, http://www.openssh.org. Its server program is called sshd and
9404 provided by the RPM package openssh-server.</xccdf:description>
9405 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1">
9406 <xccdf:title xml:lang="en">Disable OpenSSH Server if Possible</xccdf:title>
9407 <xccdf:description xml:lang="en">
9408 Unless the system needs to provide the remote login and file
9409 transfer capabilities of SSH, disable and remove the OpenSSH server and its configuration.</xccdf:description>
9410 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.1">
9411 <xccdf:title xml:lang="en">Disable and Remove OpenSSH Software</xccdf:title>
9412 <xccdf:description xml:lang="en">
9413 Disable and remove openssh-server with the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9414 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9415 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig sshd off <xhtml:br/>
9416 # yum erase openssh-server <xhtml:br/></xhtml:code>
9417 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9418 Users of the system will still be able to
9419 use the SSH client program /usr/bin/ssh to access SSH servers on other systems.</xccdf:description>
9420 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false" severity="low" weight="10.0">
9421 <xccdf:title>Disable OpenSSH Software</xccdf:title>
9422 <xccdf:description>The sshd service should be disabled.</xccdf:description>
9423 <xccdf:ident system="http://cce.mitre.org">CCE-4268-9</xccdf:ident>
9424 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9425 <xccdf:fix># chkconfig sshd off</xccdf:fix>
9426 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9427 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20234"/>
9428 </xccdf:check>
9429 </xccdf:Rule>
9430 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false" weight="10.0">
9431 <xccdf:title>Remove OpenSSH Software</xccdf:title>
9432 <xccdf:description>SSH should be uninstalled</xccdf:description>
9433 <xccdf:ident system="http://cce.mitre.org">CCE-4272-1</xccdf:ident>
9434 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9435 <xccdf:fix># yum erase openssh-server</xccdf:fix>
9436 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9437 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20235"/>
9438 </xccdf:check>
9439 </xccdf:Rule>
9440 </xccdf:Group>
9441 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.2">
9442 <xccdf:title xml:lang="en">Remove SSH Server iptables Firewall Exception</xccdf:title>
9443 <xccdf:description xml:lang="en">
9444 Edit the files /etc/sysconfig/iptables and
9445 /etc/sysconfig/ip6tables (if IPv6 is in use). In each file, locate and delete the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9446 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9447 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9448 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9449 By default, inbound connections to SSH's port are allowed. If the SSH server is not
9450 being used, this exception should be removed from the firewall configuration. See
9451 Section 2.5.5 for more information about Iptables.</xccdf:description>
9452 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false" severity="high" weight="10.0">
9453 <xccdf:title>Remove SSH Server iptables Firewall Exception</xccdf:title>
9454 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9455 <xccdf:ident system="http://cce.mitre.org">CCE-4295-2</xccdf:ident>
9456 <xccdf:fixtext>(1) /etc/sysconfig/iptables</xccdf:fixtext>
9457 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9458 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20236"/>
9459 </xccdf:check>
9460 </xccdf:Rule>
9461 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false" severity="high" weight="10.0">
9462 <xccdf:title>Remove SSH Server ip6tables Firewall Exception</xccdf:title>
9463 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9464 <xccdf:fixtext>(1) /etc/sysconfig/ip6tables</xccdf:fixtext>
9465 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9466 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20237"/>
9467 </xccdf:check>
9468 </xccdf:Rule>
9469 </xccdf:Group>
9470 </xccdf:Group>
9471 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2">
9472 <xccdf:title xml:lang="en">Configure OpenSSH Server if Necessary</xccdf:title>
9473 <xccdf:description xml:lang="en">
9474 If the system needs to act as an SSH server, then certain changes
9475 should be made to the OpenSSH daemon configuration file /etc/ssh/sshd config. The
9476 following recommendations can be applied to this file. See the sshd config(5) man page for
9477 more detailed information.</xccdf:description>
9478 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.1">
9479 <xccdf:title xml:lang="en">Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9480 <xccdf:description xml:lang="en">
9481 Only SSH protocol version 2 connections should be permitted.
9482 Version 1 of the protocol contains security vulnerabilities. The default setting shipped
9483 in the configuration file is correct, but it is important enough to check. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9484 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9485 Verify that the following line appears: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9486 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9487 Protocol 2</xccdf:description>
9488 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false" severity="high" weight="10.0">
9489 <xccdf:title>Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9490 <xccdf:description>SSH version 1 protocol support should be disabled.</xccdf:description>
9491 <xccdf:ident system="http://cce.mitre.org">CCE-4325-7</xccdf:ident>
9492 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9493 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9494 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20238"/>
9495 </xccdf:check>
9496 </xccdf:Rule>
9497 </xccdf:Group>
9498 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.2">
9499 <xccdf:title xml:lang="en">Limit Users SSH Access'</xccdf:title>
9500 <xccdf:description xml:lang="en">
9501 By default, the SSH configuration allows any user to access the
9502 system. In order to allow all users to login via SSH but deny only a few users, add or
9503 correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9504 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9505 DenyUsers USER1 USER2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9506 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9507 Alternatively, if it is appropriate to allow only a few users access to the system via
9508 SSH, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9509 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9510 AllowUsers USER1 USER2</xccdf:description>
9511 </xccdf:Group>
9512 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.3">
9513 <xccdf:title xml:lang="en">Set Idle Timeout Interval for User Logins</xccdf:title>
9514 <xccdf:description xml:lang="en">
9515 SSH allows administrators to set an idle timeout interval.
9516 After this interval has passed, the idle user will be automatically logged out. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9517 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9518 Find and edit the following lines in /etc/ssh/sshd config as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9519 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9520 ClientAliveInterval interval <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9521 ClientAliveCountMax 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9522 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9523 The timeout interval is given in seconds.
9524 To have a timeout of 5 minutes, set interval to 300. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9525 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9526 If a shorter timeout has already been set for
9527 the login shell, as in Section 2.3.5.5, that value will preempt any SSH setting made
9528 here. Keep in mind that some processes may stop SSH from correctly detecting that the
9529 user is idle.</xccdf:description>
9530 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.a" operator="equals" type="number">
9531 <xccdf:title>SSH session Idle time</xccdf:title>
9532 <xccdf:description xml:lang="en">Specify duration of allowed idle time.</xccdf:description>
9533 <xccdf:question xml:lang="en">Specify duration of allowed idle time (in seconds) for SSH session</xccdf:question>
9534 <xccdf:value>300</xccdf:value>
9535 <xccdf:value selector="5_minutes">300</xccdf:value>
9536 <xccdf:value selector="10_minutes">600</xccdf:value>
9537 </xccdf:Value>
9538 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.b" operator="equals" type="number">
9539 <xccdf:title>SSH session ClientAliveCountMax</xccdf:title>
9540 <xccdf:description xml:lang="en">Sets the number of client alive messages which may be sent without sshd receiving any messages back from the client.</xccdf:description>
9541 <xccdf:question xml:lang="en">Specify the number of clients alive messages which may be sent without sshd receiving any messages back from the client</xccdf:question>
9542 <xccdf:value>3</xccdf:value>
9543 <xccdf:value selector="0">0</xccdf:value>
9544 <xccdf:value selector="3">3</xccdf:value>
9545 </xccdf:Value>
9546 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false" severity="medium" weight="10.0">
9547 <xccdf:title>Set Idle Timeout Interval for User Logins</xccdf:title>
9548 <xccdf:description>The SSH idle timout interval should be set to an appropriate
9549 value</xccdf:description>
9550 <xccdf:ident system="http://cce.mitre.org">CCE-3845-5</xccdf:ident>
9551 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9552 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9553 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20239" value-id="xccdf_cdf_value_var-3.5.2.3.a"/>
9554 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20239"/>
9555 </xccdf:check>
9556 </xccdf:Rule>
9557 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false" weight="10.0">
9558 <xccdf:title>Set ClientAliveCountMax for User Logins</xccdf:title>
9559 <xccdf:description>The ClientAliveCountMax should be set to an appropriate value</xccdf:description>
9560 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9561 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9562 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20240" value-id="xccdf_cdf_value_var-3.5.2.3.b"/>
9563 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20240"/>
9564 </xccdf:check>
9565 </xccdf:Rule>
9566 </xccdf:Group>
9567 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.4">
9568 <xccdf:title xml:lang="en">Disable .rhosts Files</xccdf:title>
9569 <xccdf:description xml:lang="en">
9570 SSH can emulate the behavior of the obsolete rsh command in
9571 allowing users to enable insecure access to their accounts via .rhosts files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9572 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9573 To ensure that this behavior is disabled, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9575 IgnoreRhosts yes</xccdf:description>
9576 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false" severity="high" weight="10.0">
9577 <xccdf:title>Disable .rhosts Files</xccdf:title>
9578 <xccdf:description>Emulation of the rsh command through the ssh server should be disabled</xccdf:description>
9579 <xccdf:ident system="http://cce.mitre.org">CCE-4475-0</xccdf:ident>
9580 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9581 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9582 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20241"/>
9583 </xccdf:check>
9584 </xccdf:Rule>
9585 </xccdf:Group>
9586 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.5">
9587 <xccdf:title xml:lang="en">Disable Host-Based Authentication</xccdf:title>
9588 <xccdf:description xml:lang="en">
9589 SSH's cryptographic host-based authentication is slightly more
9590 secure than .rhosts authentication, since hosts are cryptographically authenticated.
9591 However, it is not recommended that hosts unilaterally trust one another, even within an
9592 organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9593 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9594 To disable host-based authentication, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9595 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9596 HostbasedAuthentication no</xccdf:description>
9597 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false" weight="10.0">
9598 <xccdf:title>Disable Host-Based Authentication</xccdf:title>
9599 <xccdf:description>SSH host-based authentication should be disabled</xccdf:description>
9600 <xccdf:ident system="http://cce.mitre.org">CCE-4370-3</xccdf:ident>
9601 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9602 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9603 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20242"/>
9604 </xccdf:check>
9605 </xccdf:Rule>
9606 </xccdf:Group>
9607 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.6">
9608 <xccdf:title xml:lang="en">Disable root Login via SSH</xccdf:title>
9609 <xccdf:description xml:lang="en">
9610 The root user should never be allowed to login directly over a
9611 network, as this both reduces auditable information about who ran privileged commands on
9612 the system and allows direct attack attempts on root's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9614 To disable root login via SSH, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9615 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9616 PermitRootLogin no</xccdf:description>
9617 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false" severity="medium" weight="10.0">
9618 <xccdf:title>Disable root Login via SSH</xccdf:title>
9619 <xccdf:description>Root login via SSH should be disabled</xccdf:description>
9620 <xccdf:ident system="http://cce.mitre.org">CCE-4387-7</xccdf:ident>
9621 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9622 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9623 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20243"/>
9624 </xccdf:check>
9625 </xccdf:Rule>
9626 </xccdf:Group>
9627 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.7">
9628 <xccdf:title xml:lang="en">Disable Empty Passwords</xccdf:title>
9629 <xccdf:description xml:lang="en">
9630 To explicitly disallow remote login from accounts with empty
9631 passwords, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9632 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9633 PermitEmptyPasswords no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9634 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9635 Measures should also be taken to disable accounts with empty passwords system-wide,
9636 as described in Section 2.3.1.5.</xccdf:description>
9637 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false" weight="10.0">
9638 <xccdf:title>Disable Empty Passwords</xccdf:title>
9639 <xccdf:description>Remote connections from accounts with empty passwords should be disabled</xccdf:description>
9640 <xccdf:ident system="http://cce.mitre.org">CCE-3660-8</xccdf:ident>
9641 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9642 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9643 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20244"/>
9644 </xccdf:check>
9645 </xccdf:Rule>
9646 </xccdf:Group>
9647 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.8">
9648 <xccdf:title xml:lang="en">Enable a Warning Banner</xccdf:title>
9649 <xccdf:description xml:lang="en">
9650 Section 2.3.7 contains information on how to create an
9651 appropriate warning banner. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9652 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9653 To enable a warning banner, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9655 Banner /etc/issue</xccdf:description>
9656 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false" severity="medium" weight="10.0">
9657 <xccdf:title>Enable a Warning Banner</xccdf:title>
9658 <xccdf:description>SSH warning banner should be enabled</xccdf:description>
9659 <xccdf:ident system="http://cce.mitre.org">CCE-4431-3</xccdf:ident>
9660 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9661 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9662 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20245"/>
9663 </xccdf:check>
9664 </xccdf:Rule>
9665 </xccdf:Group>
9666 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.9">
9667 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9668 <xccdf:description xml:lang="en">
9669 To prevent users from being able to present environment options to the SSH daemon and potentially bypass
9670 some access restrictions, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9672 PermitUserEnvironment no
9673 </xccdf:description>
9674 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false" weight="10">
9675 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9676 <xccdf:description>PermitUserEnvironment should be disabled</xccdf:description>
9677 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9678 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9679 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202455"/>
9680 </xccdf:check>
9681 </xccdf:Rule>
9682 </xccdf:Group>
9683 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.10">
9684 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9685 <xccdf:description xml:lang="en">
9686 Limit the ciphers to those which are FIPS-approved and only use ciphers in counter (CTR) mode. The
9687 following line demonstrates use of FIPS-approved ciphers in CTR mode:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9688 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9689 Ciphers aes128-ctr,aes192-ctr,aes256-ctr<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9690 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9691 The man page sshd_config(5) contains a list of the ciphers supported for the current release of the SSH daemon.</xccdf:description>
9692 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false" weight="10">
9693 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9694 <xccdf:description>Use only FIPS approved ciphers not in CBC mode</xccdf:description>
9695 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9696 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9697 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202456"/>
9698 </xccdf:check>
9699 </xccdf:Rule>
9700 </xccdf:Group>
9701 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.11">
9702 <xccdf:title xml:lang="en">Strengthen Firewall Configuration if Possible</xccdf:title>
9703 <xccdf:description xml:lang="en">
9704 If the SSH server must only accept connections from the local
9705 network, then strengthen the default firewall rule for the SSH service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9706 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9707 Determine an
9708 appropriate network block, netwk, and network mask, mask, representing the machines on
9709 your network which must be allowed to access this SSH server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9710 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9711 Edit the files
9712 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in use). In each file,
9713 locate the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9714 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9715 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9716 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9717 and replace it with: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9718 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9719 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 22 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9720 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9721 If your site uses IPv6, and you are editing ip6tables, use the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9722 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9723 -A RH-Firewall-1-INPUT -s ipv6netwk::/ipv6mask -m tcp -p tcp --dport 22 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9724 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9725 instead because Netfilter does not yet reliably support stateful filtering for
9726 IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9727 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9728 See Section 2.5.5 for more information about Iptables configuration.</xccdf:description>
9729 </xccdf:Group>
9730 </xccdf:Group>
9731 </xccdf:Group>
9732 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6">
9733 <xccdf:title xml:lang="en">X Window System</xccdf:title>
9734 <xccdf:description xml:lang="en">The X Window System implementation included with the system is called X.org.</xccdf:description>
9735 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1">
9736 <xccdf:title xml:lang="en">Disable X Windows if Possible</xccdf:title>
9737 <xccdf:description xml:lang="en">
9738 Unless there is a mission-critical reason for the machine to run
9739 a GUI login screen, prevent X from starting automatically at boot. There is usually no
9740 reason to run X Windows on a dedicated server machine, since administrators can login via
9741 SSH or on the text console.</xccdf:description>
9742 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.1">
9743 <xccdf:title xml:lang="en">Disable X Windows at System Boot</xccdf:title>
9744 <xccdf:description xml:lang="en">
9745 Edit the file /etc/inittab, and correct the line
9746 id:5:initdefault: to: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9747 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9748 id:3:initdefault: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9750 This action changes the default boot runlevel of
9751 the system from 5 to 3. These two runlevels should be identical except that runlevel 5
9752 starts X on boot, while runlevel 3 does not.</xccdf:description>
9753 <xccdf:Value id="xccdf_cdf_value_var-3.6.1.1.a" operator="equals" type="number">
9754 <xccdf:title>default boot level</xccdf:title>
9755 <xccdf:description xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI.</xccdf:description>
9756 <xccdf:question xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI</xccdf:question>
9757 <xccdf:value>5</xccdf:value>
9758 <xccdf:value selector="multi-user-graphical">5</xccdf:value>
9759 <xccdf:value selector="multi-user-text">3</xccdf:value>
9760 <xccdf:value selector="single-user-text">1</xccdf:value>
9761 </xccdf:Value>
9762 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false" severity="medium" weight="10.0">
9763 <xccdf:title>Disable X Windows at System Boot</xccdf:title>
9764 <xccdf:description>X Windows should be disabled at system boot</xccdf:description>
9765 <xccdf:ident system="http://cce.mitre.org">CCE-4462-8</xccdf:ident>
9766 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
9767 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9768 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20246" value-id="xccdf_cdf_value_var-3.6.1.1.a"/>
9769 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20246"/>
9770 </xccdf:check>
9771 </xccdf:Rule>
9772 </xccdf:Group>
9773 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.2">
9774 <xccdf:title xml:lang="en">Remove X Windows from the System if Possible</xccdf:title>
9775 <xccdf:description xml:lang="en">
9776 Remove the X11 RPMs from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9777 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9778 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum groupremove "X Window System" <xhtml:br/></xhtml:code>
9779 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9780 As long as X.org remains installed on the system, users can still run X
9781 Windows by typing startx at the shell prompt. This may run X Windows using configuration
9782 settings which are less secure than the system defaults. Therefore, if the machine is a
9783 dedicated server which does not need to provide graphical logins at all, it is safest to
9784 remove the X.org software entirely. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9785 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9786 The command given here will remove over 100
9787 packages. It should safely and effectively remove X from machines which do not need it.</xccdf:description>
9788 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false" weight="10.0">
9789 <xccdf:title>Remove X Windows from the System if Possible</xccdf:title>
9790 <xccdf:description>X Windows should be removed</xccdf:description>
9791 <xccdf:ident system="http://cce.mitre.org">CCE-4422-2</xccdf:ident>
9792 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9793 <xccdf:fix># yum groupremove "X Window System"</xccdf:fix>
9794 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9795 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20247"/>
9796 </xccdf:check>
9797 </xccdf:Rule>
9798 </xccdf:Group>
9799 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3">
9800 <xccdf:title xml:lang="en">Lock Down X Windows startx Configuration if Necessary</xccdf:title>
9801 <xccdf:description xml:lang="en">
9802 If X is not to be started at boot time but the software must
9803 remain installed, users will be able to run X manually using the startx command. In some
9804 cases, this runs X with a configuration which is less safe than the default. Follow
9805 these instructions to mitigate risk from this configuration.</xccdf:description>
9806 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.1">
9807 <xccdf:title xml:lang="en">Disable X Font Server</xccdf:title>
9808 <xccdf:description xml:lang="en">
9809 Disable the xfs helper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9810 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9811 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig xfs off <xhtml:br/></xhtml:code>
9812 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9813 The
9814 system's X.org requires the X Font Server service (xfs) to function. The xfs service
9815 will be started automatically if X.org is activated via startx. Therefore, it is safe
9816 to prevent xfs from starting at boot when X is disabled, even if users are allowed to
9817 run X manually.</xccdf:description>
9818 </xccdf:Group>
9819 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.2">
9820 <xccdf:title xml:lang="en">Disable X Window System Listening</xccdf:title>
9821 <xccdf:description xml:lang="en">
9822 To prevent X.org from listening for remote connections,
9823 create the file /etc/X11/xinit/xserverrc and fill it with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9824 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9825 exec X :0 -nolisten tcp $@ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9826 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9827 One of X.org's features is the ability to provide remote graphical
9828 display. This feature should be disabled unless it is required. If the system uses
9829 runlevel 5, which is the default, the GDM display manager starts X safely, with remote
9830 listening disabled. However, if X is started from the command line with the startx
9831 command, then the server will listen for new connections on X's default port, 6000.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9832 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9833 See the xinit(1), startx(1), and Xserver(1) man pages for more information.</xccdf:description>
9834 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false" severity="medium" weight="10.0">
9835 <xccdf:title>Disable X Window System Listening</xccdf:title>
9836 <xccdf:description>Disable the ability to provide remote graphical display</xccdf:description>
9837 <xccdf:ident system="http://cce.mitre.org">CCE-4074-1</xccdf:ident>
9838 <xccdf:fixtext>(1) via /etc/X11/xinit/xserverrc</xccdf:fixtext>
9839 <xccdf:fix>echo "exec X :0 -nolisten tcp $@" &gt; /etc/X11/xinit/xserverrc</xccdf:fix>
9840 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9841 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20248"/>
9842 </xccdf:check>
9843 </xccdf:Rule>
9844 </xccdf:Group>
9845 </xccdf:Group>
9846 </xccdf:Group>
9847 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2">
9848 <xccdf:title xml:lang="en">Configure X Windows if Necessary</xccdf:title>
9849 <xccdf:description xml:lang="en">
9850 If there is a mission-critical reason for this machine to run a
9851 GUI, improve the security of the default X configuration by following the guidance in this
9852 section.</xccdf:description>
9853 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2.1">
9854 <xccdf:title xml:lang="en">Create Warning Banners for GUI Login Users</xccdf:title>
9855 <xccdf:description xml:lang="en">
9856 Edit the file /etc/gdm/custom.conf. Locate the [greeter]
9857 section, and correct that section to contain the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9858 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9859 [greeter] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9860 InfoMsgFile=/etc/issue<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9862 See Section 2.3.7 for an explanation of banner file use. This setting will cause the
9863 system greeting banner to be displayed in a box prior to GUI login. If the default
9864 banner font is inappropriate, it can be changed by specifying the InfoMsgFont directive
9865 as well, for instance: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9867 InfoMsgFont=Sans 12</xccdf:description>
9868 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false" severity="medium" weight="10.0">
9869 <xccdf:title>Create Warning Banners for GUI Login Users</xccdf:title>
9870 <xccdf:description>Enable warning banner for GUI login</xccdf:description>
9871 <xccdf:ident system="http://cce.mitre.org">CCE-3717-6</xccdf:ident>
9872 <xccdf:fixtext>(1) via /etc/gdm/custom.conf</xccdf:fixtext>
9873 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9874 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20249"/>
9875 </xccdf:check>
9876 </xccdf:Rule>
9877 </xccdf:Group>
9878 </xccdf:Group>
9879 </xccdf:Group>
9880 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7">
9881 <xccdf:title xml:lang="en">Avahi Server</xccdf:title>
9882 <xccdf:description xml:lang="en">
9883 The Avahi daemon implements the DNS Service Discovery and Multicast
9884 DNS protocols, which provide service and host discovery on a network. It allows a system to
9885 automatically identify resources on the network, such as printers or web servers. This
9886 capability is also known as mDNSresponder and is a major part of Zeroconf networking. By
9887 default, it is enabled.</xccdf:description>
9888 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1">
9889 <xccdf:title xml:lang="en">Disable Avahi Server if Possible</xccdf:title>
9890 <xccdf:description xml:lang="en">
9891 Because the Avahi daemon service keeps an open network port, it
9892 is subject to network attacks. Disabling it is particularly important to reduce the
9893 system's vulnerability to such attacks.</xccdf:description>
9894 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.1">
9895 <xccdf:title xml:lang="en">Disable Avahi Server Software</xccdf:title>
9896 <xccdf:description xml:lang="en">
9897 Issue the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9899 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig avahi-daemon off</xhtml:code></xccdf:description>
9900 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false" severity="low" weight="10.0">
9901 <xccdf:title>Disable Avahi Server Software</xccdf:title>
9902 <xccdf:description>The avahi-daemon service should be disabled.</xccdf:description>
9903 <xccdf:ident system="http://cce.mitre.org">CCE-4365-3</xccdf:ident>
9904 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9905 <xccdf:fix># chkconfig avahi-daemon off</xccdf:fix>
9906 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9907 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20250"/>
9908 </xccdf:check>
9909 </xccdf:Rule>
9910 </xccdf:Group>
9911 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.2">
9912 <xccdf:title xml:lang="en">Remove Avahi Server iptables Firewall Exception</xccdf:title>
9913 <xccdf:description xml:lang="en">
9914 Edit the files /etc/sysconfig/iptables and
9915 /etc/sysconfig/ip6tables (if IPv6 is in use). In each file, locate and delete the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9916 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9917 -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9918 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9919 By default, inbound
9920 connections to Avahi's port are allowed. If the Avahi server is not being used, this
9921 exception should be removed from the firewall configuration. See Section 2.5.5 for more
9922 information about the Iptables firewall.</xccdf:description>
9923 </xccdf:Group>
9924 </xccdf:Group>
9925 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2">
9926 <xccdf:title xml:lang="en">Configure Avahi if Necessary</xccdf:title>
9927 <xccdf:description xml:lang="en">
9928 If your system requires the Avahi daemon, its configuration can
9929 be restricted to improve security. The Avahi daemon configuration file is
9930 /etc/avahi/avahi-daemon.conf. The following security recommendations should be applied to
9931 this file. See the avahi-daemon.conf(5) man page or documentation at http://www.avahi.org
9932 for more detailed information about the configuration options.</xccdf:description>
9933 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.1">
9934 <xccdf:title xml:lang="en">Serve Only via Required Protocol</xccdf:title>
9935 <xccdf:description xml:lang="en">
9936 The default setting in the configuration file allows Avahi to
9937 use both IPv4 and IPv6 sockets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9938 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9939 If you are using only IPv4, edit
9940 /etc/avahi/avahi-daemon.conf and ensure the following line exists in the [server]
9941 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9942 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9943 use-ipv6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9944 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9945 Similarly, if you are using only IPv6, disable IPv4 sockets with the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9946 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9947 use-ipv4=no</xccdf:description>
9948 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false" severity="medium" weight="10.0">
9949 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9950 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv6</xccdf:description>
9951 <xccdf:ident system="http://cce.mitre.org">CCE-4136-8</xccdf:ident>
9952 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9953 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9954 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20251"/>
9955 </xccdf:check>
9956 </xccdf:Rule>
9957 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false" severity="medium" weight="10.0">
9958 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9959 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv4</xccdf:description>
9960 <xccdf:ident system="http://cce.mitre.org">CCE-4409-9</xccdf:ident>
9961 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9962 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9963 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20252"/>
9964 </xccdf:check>
9965 </xccdf:Rule>
9966 </xccdf:Group>
9967 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.2">
9968 <xccdf:title xml:lang="en">Check Responses TTL Field '</xccdf:title>
9969 <xccdf:description xml:lang="en">
9970 Avahi can be set to ignore IP packets unless their TTL field is
9971 255. To make Avahi ignore packets unless the TTL field is 255, edit
9972 /etc/avahi/avahi-daemon.conf and ensure the following line appears in the [server]
9973 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9974 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9975 check-response-ttl=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9976 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9977 This helps to ensure that only mDNS responses from the
9978 local network are processed, because the TTL field in a packet is decremented from its
9979 initial value of 255 whenever it is routed from one network to another. Although a
9980 properly-configured router or firewall should not allow mDNS packets into the local
9981 network at all, this option provides another check to ensure they are not trusted.</xccdf:description>
9982 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false" weight="10.0">
9983 <xccdf:title>Check Responses' TTL Field</xccdf:title>
9984 <xccdf:description>Avahi should be configured to reject packets with a TTL field not equal to 255</xccdf:description>
9985 <xccdf:ident system="http://cce.mitre.org">CCE-4426-3</xccdf:ident>
9986 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9987 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9988 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20253"/>
9989 </xccdf:check>
9990 </xccdf:Rule>
9991 </xccdf:Group>
9992 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.3">
9993 <xccdf:title xml:lang="en">Prevent Other Programs from Using Avahis Port '</xccdf:title>
9994 <xccdf:description xml:lang="en">
9995 Avahi can stop other mDNS stacks from running on the host by
9996 preventing other processes from binding to port 5353. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9997 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9998 To prevent other mDNS stacks from
9999 running, edit /etc/avahi/avahi-daemon.conf and ensure the following line appears in the
10000 [server] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10002 disallow-other-stacks=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10003 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10004 This is designed to help ensure that only
10005 Avahi is responsible for mDNS traffic coming from that port on the system.</xccdf:description>
10006 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false" weight="10.0">
10007 <xccdf:title>Prevent Other Programs from Using Avahi's Port</xccdf:title>
10008 <xccdf:description>Avahi should be configured to not allow other stacks from binding to port 5353</xccdf:description>
10009 <xccdf:ident system="http://cce.mitre.org">CCE-4193-9</xccdf:ident>
10010 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10011 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10012 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20254"/>
10013 </xccdf:check>
10014 </xccdf:Rule>
10015 </xccdf:Group>
10016 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.4">
10017 <xccdf:title xml:lang="en">Disable Publishing if Possible</xccdf:title>
10018 <xccdf:description xml:lang="en">
10019 The default setting in the configuration file allows the
10020 avahi-daemon to send information about the local host, such as its address records and
10021 the services it offers, to the local network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10022 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10023 To stop sending this information but still
10024 allow Avahi to query the network for services, ensure the configuration file includes
10025 the following line in the [publish] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10026 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10027 disable-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10029 This line may be
10030 particularly useful if Avahi is needed for printer discovery, but not to advertise
10031 services. This configuration is highly recommended for client systems that should not
10032 advertise their services (or existence).</xccdf:description>
10033 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false" weight="10.0">
10034 <xccdf:title>Disable Publishing if Possible</xccdf:title>
10035 <xccdf:description>Avahi publishing of local information should be disabled</xccdf:description>
10036 <xccdf:ident system="http://cce.mitre.org">CCE-4444-6</xccdf:ident>
10037 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10038 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10039 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20255"/>
10040 </xccdf:check>
10041 </xccdf:Rule>
10042 </xccdf:Group>
10043 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.5">
10044 <xccdf:title xml:lang="en">Restrict Published Information</xccdf:title>
10045 <xccdf:description xml:lang="en">
10046 If it is necessary to publish some information to the network,
10047 it should not be joined by any extraneous information, or by information supplied by a
10048 non-trusted source on the system. Prevent user applications from using Avahi to publish
10049 services by adding or correcting the following line in the [publish] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10050 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10051 disable-user-service-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10052 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10053 Implement as many of the following lines as
10054 possible, to restrict the information published by Avahi: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10055 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10056 publish-addresses=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10057 publish-hinfo=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10058 publish-workstation=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10059 publish-domain=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10060 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10061 Inspect the files in the
10062 directory /etc/avahi/services/. Unless there is an operational need to publish
10063 information about each of these services, delete the corresponding file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10065 These options
10066 should be used even if publishing is disabled entirely via disable-publishing, since
10067 that option prevents publishing attempts from succeeding, while these options prevent
10068 the attempts from being made in the first place. Using both approaches is recommended
10069 for completeness.</xccdf:description>
10070 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false" weight="10.0">
10071 <xccdf:title>Restrict disable-user-service-publishing</xccdf:title>
10072 <xccdf:description>Avahi publishing of local information by user applications should be disabled</xccdf:description>
10073 <xccdf:ident system="http://cce.mitre.org">CCE-4352-1</xccdf:ident>
10074 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10075 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10076 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20256"/>
10077 </xccdf:check>
10078 </xccdf:Rule>
10079 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false" weight="10.0">
10080 <xccdf:title>Restrict publish-addresses</xccdf:title>
10081 <xccdf:description>Avahi publishing of hardware information should be disabled</xccdf:description>
10082 <xccdf:ident system="http://cce.mitre.org">CCE-4433-9</xccdf:ident>
10083 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10084 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10085 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20257"/>
10086 </xccdf:check>
10087 </xccdf:Rule>
10088 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false" weight="10.0">
10089 <xccdf:title>Restrict publish-hinfo</xccdf:title>
10090 <xccdf:description>Avahi publishing of workstation name should be disabled</xccdf:description>
10091 <xccdf:ident system="http://cce.mitre.org">CCE-4451-1</xccdf:ident>
10092 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10093 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10094 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20258"/>
10095 </xccdf:check>
10096 </xccdf:Rule>
10097 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false" weight="10.0">
10098 <xccdf:title>Restrict publish-workstation</xccdf:title>
10099 <xccdf:description>Avahi publishing of IP addresses should be disabled</xccdf:description>
10100 <xccdf:ident system="http://cce.mitre.org">CCE-4341-4</xccdf:ident>
10101 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10102 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10103 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20259"/>
10104 </xccdf:check>
10105 </xccdf:Rule>
10106 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false" weight="10.0">
10107 <xccdf:title>Restrict publish-domain</xccdf:title>
10108 <xccdf:description>Avahi publishing of domain name should be disabled</xccdf:description>
10109 <xccdf:ident system="http://cce.mitre.org">CCE-4358-8</xccdf:ident>
10110 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10111 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10112 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20260"/>
10113 </xccdf:check>
10114 </xccdf:Rule>
10115 </xccdf:Group>
10116 </xccdf:Group>
10117 </xccdf:Group>
10118 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8">
10119 <xccdf:title xml:lang="en">Print Support</xccdf:title>
10120 <xccdf:description xml:lang="en">
10121 The Common Unix Printing System (CUPS) service provides both local
10122 and network printing support. A system running the CUPS service can accept print jobs from
10123 other systems, process them, and send them to the appropriate printer. It also provides an
10124 interface for remote administration through a web browser. The CUPS service is installed and
10125 activated by default. The project homepage and more detailed documentation are available at
10126 http://www.cups.org. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10127 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10128 The HP Linux Imaging and Printing service (HPLIP) is a separate package
10129 that provides support for some of the additional features that HP printers provide that CUPS
10130 may not necessarily support. It relies upon the CUPS service.</xccdf:description>
10131 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.1">
10132 <xccdf:title xml:lang="en">Disable the CUPS Service if Possible</xccdf:title>
10133 <xccdf:description xml:lang="en">
10134 Do you need the ability to print from this machine or to allow
10135 others to print to it? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10136 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10137 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig cups off</xhtml:code></xccdf:description>
10138 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.1.a" selected="false" severity="medium" weight="10.0">
10139 <xccdf:title>Disable the CUPS Service if Possible</xccdf:title>
10140 <xccdf:description>The cups service should be disabled.</xccdf:description>
10141 <xccdf:ident system="http://cce.mitre.org">CCE-4112-9</xccdf:ident>
10142 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10143 <xccdf:fix># chkconfig cups off</xccdf:fix>
10144 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10145 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20261"/>
10146 </xccdf:check>
10147 </xccdf:Rule>
10148 </xccdf:Group>
10149 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.2">
10150 <xccdf:title xml:lang="en">Disable Firewall Access to Printing Service if Possible</xccdf:title>
10151 <xccdf:description xml:lang="en">
10152 Does this system need to operate as a network print server? If
10153 not, edit the files /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in
10154 use). In each file, locate and delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10155 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10156 -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10157 -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10158 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10159 By
10160 default, inbound connections to the Internet Printing Protocol port are allowed. If the
10161 print server does not need to be accessed, either because the machine is not running the
10162 print service at all or because the machine is not providing a remote network printer to
10163 other machines, this exception should be removed from the firewall configuration. See
10164 Section 2.5.5 for more information about the Iptables firewall.</xccdf:description>
10165 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.a" operator="equals" type="string">
10166 <xccdf:title>accept udp over IPv4</xccdf:title>
10167 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv4.</xccdf:description>
10168 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv4</xccdf:question>
10169 <xccdf:value>disabled</xccdf:value>
10170 <xccdf:value selector="enabled">enabled</xccdf:value>
10171 <xccdf:value selector="disabled">disabled</xccdf:value>
10172 <xccdf:match>enabled|disabled</xccdf:match>
10173 <xccdf:choices mustMatch="1">
10174 <xccdf:choice>enabled</xccdf:choice>
10175 <xccdf:choice>disabled</xccdf:choice>
10176 </xccdf:choices>
10177 </xccdf:Value>
10178 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.b" operator="equals" type="string">
10179 <xccdf:title>accept udp over IPv6</xccdf:title>
10180 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv6.</xccdf:description>
10181 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv6</xccdf:question>
10182 <xccdf:value>disabled</xccdf:value>
10183 <xccdf:value selector="enabled">enabled</xccdf:value>
10184 <xccdf:value selector="disabled">disabled</xccdf:value>
10185 <xccdf:match>enabled|disabled</xccdf:match>
10186 <xccdf:choices mustMatch="1">
10187 <xccdf:choice>enabled</xccdf:choice>
10188 <xccdf:choice>disabled</xccdf:choice>
10189 </xccdf:choices>
10190 </xccdf:Value>
10191 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.a" selected="false" severity="high" weight="10.0">
10192 <xccdf:title>Disable Firewall Access to Printing Service over IPv4 if Possible</xccdf:title>
10193 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
10194 <xccdf:ident system="http://cce.mitre.org">CCE-3649-1</xccdf:ident>
10195 <xccdf:fixtext>(1) via /etc/sysconfig/iptables</xccdf:fixtext>
10196 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10197 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20262" value-id="xccdf_cdf_value_var-3.8.2.a"/>
10198 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20262"/>
10199 </xccdf:check>
10200 </xccdf:Rule>
10201 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.b" selected="false" severity="high" weight="10.0">
10202 <xccdf:title>Disable Firewall Access to Printing Service over IPv6 if Possible</xccdf:title>
10203 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
10204 <xccdf:fixtext>(1) via /etc/sysconfig/ip6tables</xccdf:fixtext>
10205 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10206 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20263" value-id="xccdf_cdf_value_var-3.8.2.b"/>
10207 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20263"/>
10208 </xccdf:check>
10209 </xccdf:Rule>
10210 </xccdf:Group>
10211 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3">
10212 <xccdf:title xml:lang="en">Configure the CUPS Service if Necessary</xccdf:title>
10213 <xccdf:description xml:lang="en">
10214 CUPS provides the ability to easily share local printers with
10215 other machines over the network. It does this by allowing machines to share lists of
10216 available printers. Additionally, each machine that runs the CUPS service can potentially
10217 act as a print server. Whenever possible, the printer sharing and print server
10218 capabilities of CUPS should be limited or disabled. The following recommendations should
10219 demonstrate how to do just that.</xccdf:description>
10220 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1">
10221 <xccdf:title xml:lang="en">Limit Printer Browsing</xccdf:title>
10222 <xccdf:description xml:lang="en">By default, CUPS listens on the network for printer list broadcasts on UDP port 631. This functionality is called printer browsing.</xccdf:description>
10223 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.1">
10224 <xccdf:title xml:lang="en">Disable Printer Browsing Entirely if Possible</xccdf:title>
10225 <xccdf:description xml:lang="en">
10226 To disable printer browsing entirely, edit the CUPS
10227 configuration file, located at /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10228 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10229 Browsing Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10230 BrowseAllow none <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10231 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10232 The
10233 CUPS print service can be configured to broadcast a list of available printers to the
10234 network. Other machines on the network, also running the CUPS print service, can be
10235 configured to listen to these broadcasts and add and configure these printers for
10236 immediate use. By disabling this browsing capability, the machine will no longer
10237 generate or receive such broadcasts.</xccdf:description>
10238 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false" weight="10.0">
10239 <xccdf:title>Disable Printer Browsing Entirely if Possible</xccdf:title>
10240 <xccdf:description>Remote print browsing should be disabled</xccdf:description>
10241 <xccdf:ident system="http://cce.mitre.org">CCE-4420-6</xccdf:ident>
10242 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
10243 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10244 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20264"/>
10245 </xccdf:check>
10246 </xccdf:Rule>
10247 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false" weight="10.0">
10248 <xccdf:title>Deny CUPS ability to listen for Incoming printer information</xccdf:title>
10249 <xccdf:description>CUPS should be denied the ability to listen for Incoming printer information</xccdf:description>
10250 <xccdf:ident system="http://cce.mitre.org">CCE-4407-3</xccdf:ident>
10251 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
10252 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10253 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20265"/>
10254 </xccdf:check>
10255 </xccdf:Rule>
10256 </xccdf:Group>
10257 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.2">
10258 <xccdf:title xml:lang="en">Limit Printer Browsing to a Particular Subnet if Necessary</xccdf:title>
10259 <xccdf:description xml:lang="en">
10260 It is possible to disable outgoing printer list broadcasts
10261 without affecting incoming broadcasts from other machines. To do so, open the CUPS
10262 configuration file, located at /etc/cups/cupsd.conf. Look for the line that begins
10263 with BrowseAddress and remove it. The line will look like the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10264 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10265 BrowseAddress @LOCAL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10266 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10267 If the intent is not to block printer sharing, but to limit it to a particular
10268 set of machines, you can limit the UDP printer broadcasts to trusted network
10269 addresses. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10270 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10271 BrowseAddress ip-address :631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10273 Likewise, to ignore incoming UDP printer list
10274 broadcasts, or to limit the set of machines to listen to, use the BrowseAllow and
10275 BrowseDeny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10276 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10277 BrowseDeny all <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10278 BrowseAllow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10279 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10280 This combination will
10281 deny incoming broadcasts from any machine except those that are explicitly allowed
10282 with BrowseAllow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10284 By default, when printer sharing is enabled, CUPS will broadcast to
10285 every network that its host machine is connected to through all available network
10286 interfaces on port 631. It will also listen to incoming broadcasts from other machines
10287 on the network. Either list one BrowseAddress line for each client machine and one
10288 BrowseAllow line for each print server or use one of the supported shorthand notations
10289 that the CUPS service recognizes. Please see the cupsd.conf(5) man page or the
10290 documentation provided at http://www.cups.org for more information on other ways to
10291 format these directives.</xccdf:description>
10292 </xccdf:Group>
10293 </xccdf:Group>
10294 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.2">
10295 <xccdf:title xml:lang="en">Disable Print Server Capabilities if Possible</xccdf:title>
10296 <xccdf:description xml:lang="en">
10297 To prevent remote users from potentially
10298 connecting to and using locally configured printers, disable the CUPS print server
10299 sharing capabilities. To do so, limit how the server will listen for print jobs by
10300 removing the more generic port directive from /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10301 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10302 Port 631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10303 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10304 and replacing it with the Listen directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10306 Listen localhost:631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10307 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10308 This will prevent remote
10309 users from printing to locally configured printers while still allowing local users on
10310 the machine to print normally. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10311 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10312 By default, locally configured printers will not be
10313 shared over the network, but if this functionality has somehow been enabled, these
10314 recommendations will disable it again. Be sure to disable outgoing printer list
10315 broadcasts, or remote users will still be able to see the locally configured printers,
10316 even if they cannot actually print to them. To limit print serving to a particular set
10317 of users, use the Policy directive.</xccdf:description>
10318 <xccdf:warning xml:lang="en">Disabling the print server capabilities in this manner will
10319 also disable the Web Administration interface. </xccdf:warning>
10320 </xccdf:Group>
10321 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.3">
10322 <xccdf:title xml:lang="en">Limit Access to the Web Administration Interface</xccdf:title>
10323 <xccdf:description xml:lang="en">
10324 By default, access to the CUPS web administration interface is
10325 limited to the local machine. It is recommended that this not be changed, especially
10326 since the authentication mechanisms that CUPS provides are limited in their
10327 effectiveness. If it is absolutely necessary to allow remote users to administer locally
10328 installed printers, be sure to limit that access as much as possible by taking advantage
10329 of the Location and Policy directive blocks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10330 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10331 For example, to enable
10332 remote access for ip-address for user username, modify each of the Location and Policy
10333 directive blocks as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10334 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10335 &lt;Location /&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10336 AuthType Basic <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10337 Require user username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10338 Order allow,deny <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10339 Allow localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10340 Allow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10341 &lt;/Location&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10342 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10343 As with the
10344 BrowseAllow directive, use one Allow directive for each machine that needs access or use
10345 one of the available CUPS directive definition shortcuts to enable access from a class
10346 of machines at once. The Require user directive can take a list of individual users, a
10347 group of users (prefixed with @), or the shorthand valid-user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10348 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10349 Host-based authentication has known limitations,
10350 especially since IP addresses are easy to spoof. Requiring users to authenticate
10351 themselves can alleviate this problem, but it cannot eliminate it. Do not use the root
10352 account to manage and administer printers. Create a separate account for this purpose
10353 and limit access to valid users with Require valid-user or Require user printeradmin .
10354 </xccdf:description>
10355 </xccdf:Group>
10356 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.4">
10357 <xccdf:title xml:lang="en">Take Further Security Measures When Appropriate</xccdf:title>
10358 <xccdf:description xml:lang="en">
10359 Whenever possible, limit outside networks' access to port 631.
10360 Consider using CUPS directives that limit the number of incoming clients, such as
10361 MaxClients or MaxClientsPerHost. Additionally, there are a series of Policy and Location
10362 directives intended to limit which users can perform different printing tasks. When used
10363 together, these may help to mitigate the possibility of a denial of service attack. See
10364 cupsd.conf(5) for a full list of possible directives.</xccdf:description>
10365 </xccdf:Group>
10366 </xccdf:Group>
10367 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4">
10368 <xccdf:title xml:lang="en">The HP Linux Imaging and Printing (HPLIP) Toolkit</xccdf:title>
10369 <xccdf:description xml:lang="en">
10370 The HPLIP package is an HP printing support utility that is
10371 installed and enabled in a default installation. The HPLIP package is comprised of two
10372 separate components. The first is the main HPLIP service and the second is a smaller
10373 subcomponent called HPIJS. HPLIP is a feature-oriented network service that provides
10374 higher level printing support (such as bi-directional I/O, scanning, photo card, and
10375 toolbox functionality). HPIJS is a lower level basic printing driver that provides basic
10376 support for non-PostScript HP printers.</xccdf:description>
10377 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4.1">
10378 <xccdf:title xml:lang="en">Disable HPLIP Service if Possible</xccdf:title>
10379 <xccdf:description xml:lang="en">
10380 Since the HPIJS driver will still function without the added
10381 HPLIP service, HPLIP should be disabled unless the specific higher level functions that
10382 HPLIP provides are needed by a non-PostScript HP printer on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10383 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10384 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hplip off <xhtml:br/></xhtml:code>
10385 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10386 Note: If installing the HPLIP package from scratch, it should be noted that
10387 HPIJS can be installed directly without HPLIP. Please see the FAQ at the HPLIP web site
10388 at http://hplip.sourceforge.net/faqs.html for more information on how to do this.</xccdf:description>
10389 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false" severity="low" weight="10.0">
10390 <xccdf:title>Disable HPLIP Service if Possible</xccdf:title>
10391 <xccdf:description>The hplip service should be disabled.</xccdf:description>
10392 <xccdf:ident system="http://cce.mitre.org">CCE-4425-5</xccdf:ident>
10393 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10394 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10395 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20266"/>
10396 </xccdf:check>
10397 </xccdf:Rule>
10398 </xccdf:Group>
10399 </xccdf:Group>
10400 </xccdf:Group>
10401 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9">
10402 <xccdf:title xml:lang="en">DHCP</xccdf:title>
10403 <xccdf:description xml:lang="en">
10404 The Dynamic Host Configuration Protocol (DHCP) allows systems to
10405 request and obtain an IP address and many other parameters from a server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10406 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10407 In general, sites
10408 use DHCP either to allow a large pool of mobile or unknown machines to share a limited
10409 number of IP addresses, or to standardize installations by avoiding static, individual IP
10410 address configuration on hosts. It is recommended that sites avoid DHCP as much as possible.
10411 Since DHCP authentication is not well-supported, DHCP clients are open to attacks from rogue
10412 DHCP servers. Such servers can give clients incorrect information (e.g. malicious DNS server
10413 addresses) which could lead to their compromise. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10414 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10415 If a machine must act as a DHCP client or
10416 server, configure it defensively using the guidance in this section. This guide recommends
10417 configuring networking on clients by manually editing the appropriate files under
10418 /etc/sysconfig. It is also possible to use the graphical front-end programs
10419 system-config-network and system-config-network-tui, but these programs rewrite
10420 configuration files from scratch based on their defaults – destroying any manual changes –
10421 and should therefore be used with caution.</xccdf:description>
10422 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.1">
10423 <xccdf:title xml:lang="en">Disable DHCP Client if Possible</xccdf:title>
10424 <xccdf:description xml:lang="en">
10425 For each interface IFACE on the system (e.g. eth0), edit
10426 /etc/sysconfig/network-scripts/ifcfg-IFACE and make the following changes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10427 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10428 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
10429 <xhtml:li>Correct the BOOTPROTO line to read: <xhtml:br/>
10430 <xhtml:br/>
10431 BOOTPROTO=static
10432 </xhtml:li>
10433 <xhtml:li>Add or correct the following lines,
10434 substituting the appropriate values based on your site's addressing scheme:<xhtml:br/>
10435 <xhtml:br/>
10436 NETMASK=255.255.255.0<xhtml:br/>
10437 IPADDR=192.168.1.2<xhtml:br/>
10438 GATEWAY=192.168.1.1 <xhtml:br/>
10439 </xhtml:li>
10440 </xhtml:ol>
10441 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10442 DHCP is the default network
10443 configuration method provided by the system installer, so it may be enabled on many
10444 systems.</xccdf:description>
10445 <xccdf:Value id="xccdf_cdf_value_var-3.9.1.a" operator="equals" type="string">
10446 <xccdf:title>DHCP BOOTPROTO</xccdf:title>
10447 <xccdf:description xml:lang="en">If BOOTPROTO is not "static", then the only other item that must be set is the DEVICE item; all the rest will be determined by the boot protocol. No "dummy" entries need to be created.</xccdf:description>
10448 <xccdf:question xml:lang="en">Choose DHCP BOOTPROTO</xccdf:question>
10449 <xccdf:value>static</xccdf:value>
10450 <xccdf:value selector="bootp">bootp</xccdf:value>
10451 <xccdf:value selector="dhcp">dhcp</xccdf:value>
10452 <xccdf:value selector="static">static</xccdf:value>
10453 <!-- <value selector="none">none</value>-->
10454 <xccdf:choices>
10455 <xccdf:choice>bootp</xccdf:choice>
10456 <xccdf:choice>dhcp</xccdf:choice>
10457 <xccdf:choice>static</xccdf:choice>
10458 </xccdf:choices>
10459 </xccdf:Value>
10460 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.1.a" selected="false" severity="low" weight="10.0">
10461 <xccdf:title>Disable DHCP Client if Possible</xccdf:title>
10462 <xccdf:description>The dhcp client service should be disabled for each interface.</xccdf:description>
10463 <xccdf:ident system="http://cce.mitre.org">CCE-4191-3</xccdf:ident>
10464 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-eth*</xccdf:fixtext>
10465 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10466 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20267" value-id="xccdf_cdf_value_var-3.9.1.a"/>
10467 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20267"/>
10468 </xccdf:check>
10469 </xccdf:Rule>
10470 </xccdf:Group>
10471 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2">
10472 <xccdf:title xml:lang="en">Configure DHCP Client if necessary</xccdf:title>
10473 <xccdf:description xml:lang="en">
10474 If DHCP must be used, then certain configuration changes can
10475 minimize the amount of information it receives and applies from the network, and thus the
10476 amount of incorrect information a rogue DHCP server could successfully distribute. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10477 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10478 For more information on configuring dhclient, see the dhclient(8) and dhclient.conf(5)
10479 man pages.</xccdf:description>
10480 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2.1">
10481 <xccdf:title xml:lang="en">Minimize the DHCP-Configured Options</xccdf:title>
10482 <xccdf:description xml:lang="en">
10483 Create the file /etc/dhclient.conf, and add an appropriate
10484 setting for each of the ten configuration settings which can be obtained via DHCP. For
10485 each setting, setting , do one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10486 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
10487 <xhtml:li>If the setting should not be
10488 configured remotely by the DHCP server, select an appropriate static value, and add the
10489 line: <xhtml:br/>
10490 <xhtml:br/>
10491 supersede setting value ; </xhtml:li>
10492 <xhtml:li>If the setting should be configured remotely by the
10493 DHCP server, add the lines: <xhtml:br/>
10494 <xhtml:br/>
10495 request setting ; <xhtml:br/>
10496 require setting ; </xhtml:li>
10497 </xhtml:ul>
10498 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10499 For example, suppose the
10500 DHCP server should provide only the IP address itself and the subnet mask. Then the
10501 entire file should look like: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10502 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10503 supersede domain-name "example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10504 supersede domain-name-servers 192.168.1.2 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10505 supersede nis-domain ""; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10506 supersede nis-servers "";<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10507 supersede ntp-servers "ntp.example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10508 supersede routers 192.168.1.1 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10509 supersede time-offset -18000 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10510 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10511 request subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10512 require subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10513 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10514 By default, the DHCP
10515 client program, dhclient, requests and applies ten configuration options (in addition to
10516 the IP address) from the DHCP server: subnet-mask, broadcast-address, time-offset,
10517 routers, domain-name, domain-name-servers, host-name, nis-domain, nis-servers, and
10518 ntp-servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10519 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10520 Many of the options requested and applied by dhclient may be the same for
10521 every system on a network. It is recommended that almost all configuration options be
10522 assigned statically, and only options which must vary on a host-by-host basis be
10523 assigned via DHCP. This limits the damage which can be done by a rogue DHCP server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10524 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10525 If
10526 appropriate for your site, it is also possible to supersede the host-name directive in
10527 /etc/dhclient.conf, establishing a static hostname for the machine. However, dhclient
10528 does not use the host name option provided by the DHCP server (instead using the value
10529 provided by a reverse DNS lookup). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10530 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10531 Note: In this example, the options nis-servers and
10532 nis-domain are set to empty strings, on the assumption that the deprecated NIS protocol
10533 is not in use. (See Section 3.2.4.) It is necessary to supersede settings for unused
10534 services so that they cannot be set by a hostile DHCP server. If an option is set to an
10535 empty string, dhclient will typically not attempt to configure the service.</xccdf:description>
10536 </xccdf:Group>
10537 </xccdf:Group>
10538 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.3">
10539 <xccdf:title xml:lang="en">Disable DHCP Server if possible</xccdf:title>
10540 <xccdf:description xml:lang="en">
10541 If the dhcp package has been installed on a machine which does
10542 not need to operate as a DHCP server, disable the daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10544 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dhcpd off <xhtml:br/></xhtml:code>
10545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10546 If possible, remove the software as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10547 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10548 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase dhcp <xhtml:br/></xhtml:code>
10549 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10550 The DHCP server dhcpd is not
10551 installed or activated by default. If the software was installed and activated, but the
10552 system does not need to act as a DHCP server, it should be disabled and removed. Unmanaged
10553 DHCP servers will provide faulty information to clients, interfering with the operation of
10554 a legitimate site DHCP server if there is one, or causing misconfigured machines to
10555 exhibit unpredictable behavior if there is not.</xccdf:description>
10556 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.a" selected="false" severity="low" weight="10.0">
10557 <xccdf:title>Disable DHCP Server if possible</xccdf:title>
10558 <xccdf:description>The dhcpd service should be disabled.</xccdf:description>
10559 <xccdf:ident system="http://cce.mitre.org">CCE-4336-4</xccdf:ident>
10560 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10561 <xccdf:fix># chkconfig dhcpd off</xccdf:fix>
10562 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10563 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20268"/>
10564 </xccdf:check>
10565 </xccdf:Rule>
10566 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.b" selected="false" weight="10.0">
10567 <xccdf:title>Uninstall DHCP Server if possible</xccdf:title>
10568 <xccdf:description>The dhcp package should be uninstalled.</xccdf:description>
10569 <xccdf:ident system="http://cce.mitre.org">CCE-4464-4</xccdf:ident>
10570 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
10571 <xccdf:fix># yum erase dhcp</xccdf:fix>
10572 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10573 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20269"/>
10574 </xccdf:check>
10575 </xccdf:Rule>
10576 </xccdf:Group>
10577 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4">
10578 <xccdf:title xml:lang="en">Configure the DHCP Server if necessary</xccdf:title>
10579 <xccdf:description xml:lang="en">
10580 If the system must act as a DHCP server, the configuration
10581 information it serves should be minimized. Also, support for other protocols and
10582 DNS-updating schemes should be explicitly disabled unless needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10583 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10584 The configuration file
10585 for dhcpd is called /etc/dhcpd.conf. The file begins with a number of global configuration
10586 options. The remainder of the file is divided into sections, one for each block of
10587 addresses offered by dhcpd, each of which contains configuration options specific to that
10588 address block.</xccdf:description>
10589 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.1">
10590 <xccdf:title xml:lang="en">Do Not Use Dynamic DNS</xccdf:title>
10591 <xccdf:description xml:lang="en">
10592 To prevent the DHCP server from receiving DNS information from
10593 clients, edit /etc/dhcpd.conf, and add or correct the following global option:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10595 ddns-update-style none; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10597 The Dynamic DNS protocol is used to remotely update the data
10598 served by a DNS server. DHCP servers can use Dynamic DNS to publish information about
10599 their clients. This setup carries security risks, and its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10600 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10601 If Dynamic DNS must be used despite the risks it poses, it is critical that Dynamic DNS
10602 transactions be protected using TSIG or some other cryptographic authentication
10603 mechanism. See Section 3.14 for more information about DNS servers, including further
10604 information about TSIG and Dynamic DNS. Also see dhcpd.conf(5) for more information
10605 about protecting the DHCP server from passing along malicious DNS data from its clients.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10607 Note: The ddns-update-style option controls only whether the DHCP server will attempt to
10608 act as a Dynamic DNS client. As long as the DNS server itself is correctly configured to
10609 reject DDNS attempts, an incorrect ddns-update-style setting on the client is harmless
10610 (but should be fixed as a best practice).</xccdf:description>
10611 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false" weight="10.0">
10612 <xccdf:title>Do Not Use Dynamic DNS</xccdf:title>
10613 <xccdf:description>The dynamic DNS feature of the DHCP server should be disabled</xccdf:description>
10614 <xccdf:ident system="http://cce.mitre.org">CCE-4257-2</xccdf:ident>
10615 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10616 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10617 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20270"/>
10618 </xccdf:check>
10619 </xccdf:Rule>
10620 </xccdf:Group>
10621 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.2">
10622 <xccdf:title xml:lang="en">Deny Decline Messages</xccdf:title>
10623 <xccdf:description xml:lang="en">
10624 Edit /etc/dhcpd.conf and add or correct the following global
10625 option to prevent the DHCP server from responding the DHCPDECLINE messages, if possible:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10626 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10627 deny declines; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10628 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10629 The DHCPDECLINE message can be sent by a DHCP client to indicate that it
10630 does not consider the lease offered by the server to be valid. By issuing many
10631 DHCPDECLINE messages, a malicious client can exhaust the DHCP server's pool of IP
10632 addresses, causing the DHCP server to forget old address allocations.</xccdf:description>
10633 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false" weight="10.0">
10634 <xccdf:title>Deny Decline Messages</xccdf:title>
10635 <xccdf:description>DHCPDECLINE messages should be denied by the DHCP server</xccdf:description>
10636 <xccdf:ident system="http://cce.mitre.org">CCE-4403-2</xccdf:ident>
10637 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10638 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10639 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20271"/>
10640 </xccdf:check>
10641 </xccdf:Rule>
10642 </xccdf:Group>
10643 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.3">
10644 <xccdf:title xml:lang="en">Deny BOOTP Queries</xccdf:title>
10645 <xccdf:description xml:lang="en">
10646 Unless your network needs to support older BOOTP clients,
10647 disable support for the bootp protocol by adding or correcting the global option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10648 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10649 deny bootp; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10650 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10651 The bootp option tells dhcpd to respond to BOOTP queries. If support for this
10652 simpler protocol is not needed, it should be disabled to remove attack vectors against
10653 the DHCP server.</xccdf:description>
10654 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false" weight="10.0">
10655 <xccdf:title>Deny BOOTP Queries</xccdf:title>
10656 <xccdf:description>BOOTP queries should be denied by the DHCP server</xccdf:description>
10657 <xccdf:ident system="http://cce.mitre.org">CCE-4345-5</xccdf:ident>
10658 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10659 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10660 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20272"/>
10661 </xccdf:check>
10662 </xccdf:Rule>
10663 </xccdf:Group>
10664 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.4">
10665 <xccdf:title xml:lang="en">Minimize Served Information</xccdf:title>
10666 <xccdf:description xml:lang="en">
10667 Edit /etc/dhcpd.conf. Examine each address range section within
10668 the file, and ensure that the following options are not defined unless there is an
10669 operational need to provide this information via DHCP: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10671 option domain-name <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10672 option domain-name-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10673 option nis-domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10674 option nis-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10675 option ntp-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10676 option routers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10677 option time-offset <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10678 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10679 Because the configuration information provided by the DHCP
10680 server could be maliciously provided to clients by a rogue DHCP server, the amount of
10681 information provided via DHCP should be minimized. Remove these definitions from the
10682 DHCP server configuration to ensure that legitimate clients do not unnecessarily rely on
10683 DHCP for this information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10685 Note: By default, the RHEL5 client installation uses DHCP to
10686 request much of the above information from the DHCP server. In particular, domain-name,
10687 domain-name-servers, and routers are configured via DHCP. These settings are typically
10688 necessary for proper network functionality, but are also usually static across machines
10689 at a given site. See Section 3.9.2.1 for a description of how to configure static site
10690 information within the DHCP client configuration.</xccdf:description>
10691 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false" weight="10.0">
10692 <xccdf:title>DHCP should not send domain-name</xccdf:title>
10693 <xccdf:description>Domain name server information should not be sent by the DHCP server.</xccdf:description>
10694 <xccdf:ident system="http://cce.mitre.org">CCE-3724-2</xccdf:ident>
10695 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10696 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10697 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20273"/>
10698 </xccdf:check>
10699 </xccdf:Rule>
10700 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false" weight="10.0">
10701 <xccdf:title>DHCP should not send domain-name-servers</xccdf:title>
10702 <xccdf:description>Default routers should not be sent by the DHCP server.</xccdf:description>
10703 <xccdf:ident system="http://cce.mitre.org">CCE-4243-2</xccdf:ident>
10704 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10705 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10706 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20274"/>
10707 </xccdf:check>
10708 </xccdf:Rule>
10709 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false" weight="10.0">
10710 <xccdf:title>DHCP should not send nis-domain</xccdf:title>
10711 <xccdf:description>Domain name should not be sent by the DHCP server.</xccdf:description>
10712 <xccdf:ident system="http://cce.mitre.org">CCE-4389-3</xccdf:ident>
10713 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10714 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10715 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20275"/>
10716 </xccdf:check>
10717 </xccdf:Rule>
10718 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false" weight="10.0">
10719 <xccdf:title>DHCP should not send nis-servers</xccdf:title>
10720 <xccdf:description>NIS domain should not be sent by the DHCP server.</xccdf:description>
10721 <xccdf:ident system="http://cce.mitre.org">CCE-3913-1</xccdf:ident>
10722 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10723 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10724 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20276"/>
10725 </xccdf:check>
10726 </xccdf:Rule>
10727 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false" weight="10.0">
10728 <xccdf:title>DHCP should not send ntp-servers</xccdf:title>
10729 <xccdf:description>NIS servers should not be sent by the DHCP server.</xccdf:description>
10730 <xccdf:ident system="http://cce.mitre.org">CCE-4169-9</xccdf:ident>
10731 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10732 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10733 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20277"/>
10734 </xccdf:check>
10735 </xccdf:Rule>
10736 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false" weight="10.0">
10737 <xccdf:title>DHCP should not send routers</xccdf:title>
10738 <xccdf:description>Time offset should not be sent by the DHCP server.</xccdf:description>
10739 <xccdf:ident system="http://cce.mitre.org">CCE-4318-2</xccdf:ident>
10740 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10741 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10742 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20278"/>
10743 </xccdf:check>
10744 </xccdf:Rule>
10745 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false" weight="10.0">
10746 <xccdf:title>DHCP should not send time-offset</xccdf:title>
10747 <xccdf:description>NTP servers should not be sent by the DHCP server.</xccdf:description>
10748 <xccdf:ident system="http://cce.mitre.org">CCE-4319-0</xccdf:ident>
10749 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10750 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10751 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20279"/>
10752 </xccdf:check>
10753 </xccdf:Rule>
10754 </xccdf:Group>
10755 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.5">
10756 <xccdf:title xml:lang="en">Configure Logging</xccdf:title>
10757 <xccdf:description xml:lang="en">
10758 Ensure that the following line exists in /etc/syslog.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10759 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10760 daemon.* /var/log/daemon.log <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10761 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10762 Configure logwatch or other log monitoring tools to
10763 summarize error conditions reported by the dhcpd process. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10765 By default, dhcpd logs notices
10766 to the daemon facility. Sending all daemon messages to a dedicated log file is part of
10767 the syslog configuration outlined in Section 2.6.1.1.</xccdf:description>
10768 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false" weight="10.0">
10769 <xccdf:title>Configure DHCP Logging</xccdf:title>
10770 <xccdf:description>dhcpd logging should be enabled.</xccdf:description>
10771 <xccdf:ident system="http://cce.mitre.org">CCE-3733-3</xccdf:ident>
10772 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
10773 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10774 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20280"/>
10775 </xccdf:check>
10776 </xccdf:Rule>
10777 </xccdf:Group>
10778 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.6">
10779 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
10780 <xccdf:description xml:lang="en">* The man pages dhcpd.conf(5) and dhcpd(8) * ISC web page http://isc.org/products/DHCP</xccdf:description>
10781 </xccdf:Group>
10782 </xccdf:Group>
10783 </xccdf:Group>
10784 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10">
10785 <xccdf:title xml:lang="en">Network Time Protocol</xccdf:title>
10786 <xccdf:description xml:lang="en">
10787 The Network Time Protocol is used to manage the system clock over a
10788 network. Computer clocks are not very accurate, so time will drift unpredictably on
10789 unmanaged systems. Central time protocols can be used both to ensure that time is consistent
10790 among a network of machines, and that their time is consistent with the outside world. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10791 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10792 Local time synchronization is recommended for all networks. If every machine on your network
10793 reliably reports the same time as every other machine, then it is much easier to correlate
10794 log messages in case of an attack. In addition, a number of cryptographic protocols (such as
10795 Kerberos) use timestamps to prevent certain types of attacks. If your network does not have
10796 synchronized time, these protocols may be unreliable or even unusable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10798 Depending on the specifics of the network, global time accuracy may be just as important as
10799 local synchronization, or not very important at all. If your network is connected to the
10800 Internet, it is recommended that you make use of a public timeserver, since globally
10801 accurate timestamps may be necessary if you need to investigate or respond to an attack
10802 which originated outside of your network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10804 Whether or not you use an outside timeserver, configure
10805 the network to have a small number of machines operating as NTP servers, and the remainder
10806 obtaining time information from those internal servers.</xccdf:description>
10807 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.1">
10808 <xccdf:title xml:lang="en">Select NTP Software</xccdf:title>
10809 <xccdf:description xml:lang="en">
10810 The Network Time Protocol (RFC 1305) is designed to synchronize
10811 time with a very high degree of accuracy even on an unreliable network. NTP is therefore a
10812 complex protocol. The Simple Network Time Protocol (RFC 4330) implements a subset of NTP
10813 which is intended to be good enough to meet the time requirements of most networks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10814 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10815 The primary implementation of NTP comes from ntp.org, and is shipped with RHEL5 as the ntp
10816 RPM. An alternative is OpenNTPD, which is an implementation of SNTP, and which can be
10817 obtained as source code from http://www.openntpd.org. OpenNTPD may be simpler to configure
10818 than the reference NTP implementation, at the cost of the need to install and maintain
10819 third-party software. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10820 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10821 This guide does not recommend the use of a particular NTP/SNTP
10822 software package, but does recommend that some NTP software be selected and installed on
10823 all machines. The remainder of this section describes how to securely configure NTP
10824 clients and servers, and discusses both the reference NTP implementation and OpenNTPD.</xccdf:description>
10825 </xccdf:Group>
10826 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2">
10827 <xccdf:title xml:lang="en">Configure Reference NTP if Appropriate</xccdf:title>
10828 <xccdf:description xml:lang="en">The ntp RPM implements the reference NTP server.</xccdf:description>
10829 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1">
10830 <xccdf:title xml:lang="en">Configure an NTP Client</xccdf:title>
10831 <xccdf:description xml:lang="en">
10832 There are a number of options for configuring clients to work with the reference NTP server. It is possible to run
10833 ntpd as a service (i.e., continuously) on each host, configuring clients so that the ntp protocol ignores all network
10834 access. This still introduces an additional network listener on client machines, and is therefore not recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10835 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10836 This guide instead recommends running ntpd periodically via cron. It is also possible to run ntpdate via cron
10837 with the -u option, but it is being obsoleted in favor of ntpd.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10838 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10839 Alternately, even if the server is running the reference NTP implementation, it is possible for clients to access it
10840 using SNTP. See Section 3.10.3.2 for information about configuring SNTP clients.</xccdf:description>
10841 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.1">
10842 <xccdf:title xml:lang="en">Set Up Client NTP Configuration File</xccdf:title>
10843 <xccdf:description xml:lang="en">
10844 A valid configuration file for the client system’s ntpd must exist at /etc/ntp.conf. Ensure that /etc/ntp.conf
10845 contains the following line, where ntp-server is the hostname or IP address of the site NTP server:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10847 server ntp-server<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10848 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10849 Note: The ntpd software also includes authentication and encryption support which allows for clients to verify the
10850 identity of the server, and thus guarantee the integrity of time data with high probability. See ntpd documentation
10851 at http://www.ntp.org for more details on implementing this recommended feature.
10852 </xccdf:description>
10853 </xccdf:Group>
10854 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.2">
10855 <xccdf:title xml:lang="en">Run ntpdate using Cron</xccdf:title>
10856 <xccdf:description xml:lang="en">
10857 Create a file /etc/cron.d/ntpd containing the following crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10858 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10859 15 * * * * root /usr/sbin/ntpd -q -u ntp:ntp<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10860 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10861 The -q option instructs ntpd to exit just after setting the clock, and the -u option instructs it to run as the
10862 specified user.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10863 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10864 Note: When setting the clock for the first time, execute the above command with the -g option, as ntpd
10865 will refuse to set the clock if it is significantly different from the source.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10867 This crontab will execute ntpd to synchronize the time to the NTP server at 15 minutes past every hour. (It is
10868 possible to choose a different minute, or to vary the minute between machines in order to avoid heavy traffic to
10869 the NTP server.) Hourly synchronization should be sufficiently frequent that clock drift will not be noticeable.</xccdf:description>
10870 </xccdf:Group>
10871 </xccdf:Group>
10872 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2">
10873 <xccdf:title xml:lang="en">Configure an NTP Server</xccdf:title>
10874 <xccdf:description xml:lang="en">
10875 The site’s NTP server contacts a central NTP server, probably either one provided by your ISP or a public time
10876 server, to obtain accurate time data. The server then allows other machines on your network to request the time
10877 data.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10878 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10879 The NTP server configuration file is located at /etc/ntp.conf.</xccdf:description>
10880 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.1">
10881 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10882 <xccdf:description xml:lang="en">
10883 If this machine is an NTP server, ensure that ntpd is enabled
10884 at boot time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10885 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10886 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ntpd on</xhtml:code></xccdf:description>
10887 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false" severity="high" weight="10.0">
10888 <xccdf:title>Enable the NTP Daemon</xccdf:title>
10889 <xccdf:description>The ntpd service should be enabled.</xccdf:description>
10890 <xccdf:ident system="http://cce.mitre.org">CCE-4376-0</xccdf:ident>
10891 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10892 <xccdf:fix># chkconfig ntpd on</xccdf:fix>
10893 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10894 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20281"/>
10895 </xccdf:check>
10896 </xccdf:Rule>
10897 </xccdf:Group>
10898 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.2">
10899 <xccdf:title xml:lang="en">Deny All Access to ntpd by Default</xccdf:title>
10900 <xccdf:description xml:lang="en">
10901 Edit the file /etc/ntp.conf. Prepend or correct the following
10902 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10903 restrict default ignore <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10904 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10905 Since ntpd is a complex software package which listens
10906 for network connections and runs as root, it must be protected from network access by
10907 unauthorized machines. This setting uses ntpd's internal authorization to deny all
10908 access to any machine, server or client, which is not specifically authorized by other
10909 policy settings.</xccdf:description>
10910 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false" weight="10.0">
10911 <xccdf:title>Deny All Access to ntpd by Default</xccdf:title>
10912 <xccdf:description>Network access to ntpd should be denied</xccdf:description>
10913 <xccdf:ident system="http://cce.mitre.org">CCE-4134-3</xccdf:ident>
10914 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10915 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10916 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20282"/>
10917 </xccdf:check>
10918 </xccdf:Rule>
10919 </xccdf:Group>
10920 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.3">
10921 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
10922 <xccdf:description xml:lang="en">
10923 Find the IP address, server-ip , of an appropriate remote NTP
10924 server. Edit the file /etc/ntp.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10925 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10926 restrict server-ip mask 255.255.255.255 nomodify notrap noquery <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10927 server server-ip <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10929 If your site
10930 does not require time data to be accurate, but merely to be synchronized among local
10931 machines, this step can be omitted, and the NTP server will default to providing time
10932 data from the local clock. However, it is a good idea to periodically synchronize the
10933 clock to some source of accurate time, even if it is not appropriate to do so
10934 automatically. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10935 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10936 The previous step disabled all remote access to this NTP server's state
10937 data. This NTP server must contact a remote server to obtain accurate data, so NTP's
10938 configuration must allow that remote data to be used to modify the system clock. The
10939 restrict line changes the default access permissions for that remote server. The
10940 server line specifies the remote server as the preferred NTP server for time data. If
10941 you intend to synchronize to more than one server, specify restrict and server lines
10942 for each server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10943 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10944 Note: It would be possible to specify a hostname, rather than an IP
10945 address, for the server field. However, the restrict setting applies only to network
10946 blocks of IP addresses, so it is considered more maintainable to use the IP address in
10947 both fields.</xccdf:description>
10948 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false" weight="10.0">
10949 <xccdf:title>Specify a Remote NTP Server for Time Data</xccdf:title>
10950 <xccdf:description>A remote NTP Server for time synchronization should be specified</xccdf:description>
10951 <xccdf:ident system="http://cce.mitre.org">CCE-4385-1</xccdf:ident>
10952 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10953 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10954 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20283"/>
10955 </xccdf:check>
10956 </xccdf:Rule>
10957 </xccdf:Group>
10958 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.4">
10959 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
10960 <xccdf:description xml:lang="en">
10961 Determine an appropriate network block, netwk , and network
10962 mask, mask , representing the machines on your network which will synchronize to this
10963 server. Edit /etc/ntp.conf and add the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10965 restrict netwk mask mask nomodify notrap<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10966 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10967 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears before
10968 the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10969 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10970 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p udp --dport 123 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10971 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10972 If the clients are
10973 spread across more than one netblock, separate restrict and ACCEPT lines should be
10974 added for each netblock. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10975 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10976 The iptables configuration is needed because the default
10977 iptables configuration does not allow inbound access to any services. See Section
10978 2.5.5 for more information about iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10979 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10980 Note: The reference NTP implementation will
10981 refuse to serve time data to clients until enough time has elapsed that the server
10982 host's time can be assumed to have settled to an accurate value. While testing, wait
10983 ten minutes after starting ntpd before attempting to synchronize clients.</xccdf:description>
10984 </xccdf:Group>
10985 </xccdf:Group>
10986 </xccdf:Group>
10987 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3">
10988 <xccdf:title xml:lang="en">Configure OpenNTPD if Appropriate</xccdf:title>
10989 <xccdf:description xml:lang="en">
10990 OpenNTPD is an implementation of the SNTP protocol which is
10991 provided as a simple alternative to the reference NTP server. Advantages of OpenNTPD
10992 include simplicity of configuration, built-in privilege separation and chroot jailing of
10993 the NTP protocol code, and a small codebase which lacks many of the management and other
10994 protocol features used by the reference NTP server. This simplicity comes at the cost of
10995 degraded time accuracy, but SNTP is probably accurate enough for most sites with typical
10996 monitoring requirements.</xccdf:description>
10997 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.1">
10998 <xccdf:title xml:lang="en">Obtain NTP Software</xccdf:title>
10999 <xccdf:description xml:lang="en">
11000 If your site intends to use the OpenNTPD implementation, it is
11001 necessary to compile and install the software. (If your site intends to use the
11002 reference NTP implementation, no installation is necessary.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11003 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
11004 <xhtml:li>Obtain the software by
11005 downloading an appropriate source version, openntpd-version .tar.gz, from
11006 http://www.openntpd.org/portable.html. </xhtml:li>
11007 <xhtml:li>Unpack the source code: <xhtml:br/>
11008 <xhtml:br/>
11009 <xhtml:code>$ tar xzf openntpd-version .tar.gz</xhtml:code> </xhtml:li>
11010 <xhtml:li>Configure and compile the source. (By default, the code will
11011 be compiled for installation into /usr/ local): <xhtml:br/>
11012 <xhtml:br/>
11013 <xhtml:code>$ cd openntpd-version <xhtml:br/>
11014 $ ./configure --with-privsep-user=ntp <xhtml:br/>
11015 $ make </xhtml:code></xhtml:li>
11016 <xhtml:li>As root, install the resulting program into
11017 /usr/local: <xhtml:br/>
11018 <xhtml:br/>
11019 <xhtml:code># make install </xhtml:code></xhtml:li>
11020 </xhtml:ol>
11021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11022 The configuration option --with-privsep-user=ntp tells
11023 OpenNTPD to use the existing system account ntp for the non-root portion of its
11024 operation.</xccdf:description>
11025 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false" weight="10.0">
11026 <xccdf:title>Obtain NTP Software</xccdf:title>
11027 <xccdf:description>OpenNTPD should be installed</xccdf:description>
11028 <xccdf:ident system="http://cce.mitre.org">CCE-4032-9</xccdf:ident>
11029 <xccdf:fixtext>(1) via openntpd package</xccdf:fixtext>
11030 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11031 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20284"/>
11032 </xccdf:check>
11033 </xccdf:Rule>
11034 </xccdf:Group>
11035 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2">
11036 <xccdf:title xml:lang="en">Configure an SNTP Client</xccdf:title>
11037 <xccdf:description xml:lang="en">
11038 OpenNTPD runs only in daemon mode — there is no command line
11039 suitable to be run from cron. However, this is considered reasonably safe for client use
11040 because the daemon does not listen on any network ports by default, and because OpenNTPD
11041 is a small codebase with no remote management interface or other complex features.
11042 However, it is possible to run a time-stepping program, such as rdate(1), from cron
11043 instead of configuring the daemon as outlined in this section.</xccdf:description>
11044 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.1">
11045 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
11046 <xccdf:description xml:lang="en">Edit the file /etc/rc.local. Add or correct the following line: /usr/local/sbin/ntpd -s</xccdf:description>
11047 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false" severity="high" weight="10.0">
11048 <xccdf:title>Enable the NTP Daemon</xccdf:title>
11049 <xccdf:description>The ntp daemon should be enabled</xccdf:description>
11050 <xccdf:ident system="http://cce.mitre.org">CCE-4424-8</xccdf:ident>
11051 <xccdf:fixtext>(1) via /etc/rc.local</xccdf:fixtext>
11052 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11053 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20285"/>
11054 </xccdf:check>
11055 </xccdf:Rule>
11056 </xccdf:Group>
11057 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.2">
11058 <xccdf:title xml:lang="en">Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
11059 <xccdf:description xml:lang="en">
11060 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
11061 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11062 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11063 server local-server.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11065 where local-server.example.com is the
11066 hostname of the site's local NTP or SNTP server.</xccdf:description>
11067 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false" severity="high" weight="10.0">
11068 <xccdf:title>Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
11069 <xccdf:description>The ntp daemon synchronization server should be set appropriately</xccdf:description>
11070 <xccdf:ident system="http://cce.mitre.org">CCE-3487-6</xccdf:ident>
11071 <xccdf:fixtext>(1) via /usr/local/etc/ntpd.conf</xccdf:fixtext>
11072 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11073 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20286"/>
11074 </xccdf:check>
11075 </xccdf:Rule>
11076 </xccdf:Group>
11077 </xccdf:Group>
11078 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3">
11079 <xccdf:title xml:lang="en">Configure an SNTP Server</xccdf:title>
11080 <xccdf:description xml:lang="en">The SNTP server obtains time data from a remote server, and then listens on a network interface for time queries from local machines.</xccdf:description>
11081 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.1">
11082 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
11083 <xccdf:description xml:lang="en">
11084 Edit the file /etc/rc.local. Add or correct the following
11085 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11087 /usr/local/sbin/ntpd -s <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11088 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11089 Since OpenNTPD is third-party software, it does not have
11090 a standard startup script, so the daemon is started at boot using the local facility.</xccdf:description>
11091 </xccdf:Group>
11092 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.2">
11093 <xccdf:title xml:lang="en">Listen for Client Connections</xccdf:title>
11094 <xccdf:description xml:lang="en">
11095 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
11096 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11098 listen on ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11099 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11100 where ipaddr is the primary IP address of this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11101 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11102 By default, ntpd does not listen for any connections over a network. Listening
11103 must be actively enabled on NTP servers so that clients may obtain time data.</xccdf:description>
11104 </xccdf:Group>
11105 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.3">
11106 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
11107 <xccdf:description xml:lang="en">
11108 Determine an appropriate network block, netwk , and network
11109 mask, mask , representing the machines on your network which will synchronize to this
11110 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11111 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11112 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears
11113 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11114 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11115 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p udp --dport 123 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11116 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11117 The iptables configuration is needed because the default iptables configuration does
11118 not allow inbound access to any services. See Section 2.5.5 for more information about
11119 iptables.</xccdf:description>
11120 </xccdf:Group>
11121 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.4">
11122 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
11123 <xccdf:description xml:lang="en">
11124 Find the hostname, server-host , of an appropriate remote NTP
11125 server. Edit the file /usr/local/etc/ ntpd.conf, and add or correct the following
11126 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11127 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11128 server server-host <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11129 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11130 This setting configures ntpd to obtain time data from the
11131 remote host. To use multiple time servers, add one line for each server.</xccdf:description>
11132 </xccdf:Group>
11133 </xccdf:Group>
11134 </xccdf:Group>
11135 </xccdf:Group>
11136 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11">
11137 <xccdf:title xml:lang="en">Mail Transfer Agent</xccdf:title>
11138 <xccdf:description xml:lang="en">
11139 Mail servers are used to send and receive mail over a network on
11140 behalf of site users. Mail is a very common service, and MTAs are frequent targets of
11141 network attack. Ensure that machines are not running MTAs unnecessarily, and configure
11142 needed MTAs as defensively as possible.</xccdf:description>
11143 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.a" selected="false" severity="low" weight="10.0">
11144 <xccdf:title>Mail Transfer Agent</xccdf:title>
11145 <xccdf:description>The sendmail service should be disabled.</xccdf:description>
11146 <xccdf:ident system="http://cce.mitre.org">CCE-4416-4</xccdf:ident>
11147 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
11148 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11149 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20287"/>
11150 </xccdf:check>
11151 </xccdf:Rule>
11152 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.1">
11153 <xccdf:title xml:lang="en">Select Mail Server Software and Configuration</xccdf:title>
11154 <xccdf:description xml:lang="en">
11155 Select one of the following options for configuring e-mail on the
11156 machine: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11157 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11158 <xhtml:li>If this machine does not need to operate as a mail server, follow the
11159 instructions in Section 3.11.2 to run sendmail in submission-only mode.</xhtml:li>
11160 <xhtml:li>If the machine
11161 must operate as a mail server, read the strategies for MTA configuration in Section 3.11.3
11162 for information about configuration options. Then apply both the MTA-independent operating
11163 system configuration guidance in Section 3.11.4, and the specific guidance for your MTA:
11164 <xhtml:ul>
11165 <xhtml:li>If the Sendmail MTA is preferred, see Section 3.11.5. </xhtml:li>
11166 <xhtml:li>If the Postfix MTA is preferred, see Section 3.11.6. </xhtml:li>
11167 <xhtml:li>If another MTA is preferred, use that MTA's documentation to
11168 implement the ideas in Section 3.11.3. </xhtml:li>
11169 </xhtml:ul>
11170 </xhtml:li>
11171 </xhtml:ul>
11172 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11173 It is recommended that very few machines at any
11174 site be configured to receive mail over a network. However, it may be necessary for most
11175 machines at a given site to send e-mail, for instance so that cron jobs can report output
11176 to an administrator. Sendmail supports a submission-only mode in which mail can be sent
11177 from the machine to a central site MTA, but the machine cannot receive mail over a
11178 network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11179 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11180 If a Mail Transfer Agent (MTA) is needed, the system default is Sendmail.
11181 Postfix, a popular alternative written with security in mind, is also available. Postfix
11182 can be more effectively contained by SELinux as its modular design has resulted in
11183 separate processes performing specific actions. More information on these MTAs is
11184 available from their respective websites, http://www.sendmail.org and
11185 http://www.postfix.org.</xccdf:description>
11186 <xccdf:reference>Hildebrandt, R., and Koetter, P. The Book of Postfix. No Starch Press, 2005</xccdf:reference>
11187 </xccdf:Group>
11188 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2">
11189 <xccdf:title xml:lang="en">Configure SMTP For Mail Client</xccdf:title>
11190 <xccdf:description xml:lang="en">
11191 This guide discusses the use of Sendmail for submission-only
11192 e-mail configuration. It is also possible to use Postfix.</xccdf:description>
11193 <xccdf:reference>Hunt, C. Sendmail Cookbook. O’Reilly and Associates, 2003</xccdf:reference>
11194 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.1">
11195 <xccdf:title xml:lang="en">Disable the Listening Sendmail Daemon</xccdf:title>
11196 <xccdf:description xml:lang="en">
11197 Edit the file /etc/sysconfig/sendmail. Add or modify the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11198 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11199 DAEMON=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11201 The MTA performs two functions: listening over a network for incoming SMTP
11202 e-mail requests, and sending mail from the local machine. Since outbound mail may be
11203 delayed due to network outages or other problems, the outbound MTA runs in a queue-only
11204 mode, in which it periodically attempts to resend any delayed mail. Setting DAEMON=no
11205 tells sendmail to execute only the queue runner on this machine, and never to receive
11206 SMTP mail requests.</xccdf:description>
11207 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false" weight="10.0">
11208 <xccdf:title>Disable the Listening Sendmail Daemon</xccdf:title>
11209 <xccdf:description>The listening sendmail daemon should be disabled.</xccdf:description>
11210 <xccdf:ident system="http://cce.mitre.org">CCE-4293-7</xccdf:ident>
11211 <xccdf:fixtext>(1) via /etc/sysconfig/sendmail</xccdf:fixtext>
11212 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11213 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20288"/>
11214 </xccdf:check>
11215 </xccdf:Rule>
11216 </xccdf:Group>
11217 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.2">
11218 <xccdf:title xml:lang="en">Configure Mail Submission if Appropriate</xccdf:title>
11219 <xccdf:description xml:lang="en">
11220 If it is appropriate to configure mail submission with a
11221 central MTA, edit /etc/mail/submit.cf. Locate the line beginning with D{MTAHost}, and
11222 modify it to read: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11224 D{MTAHost}mailserver <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11226 where mailserver is the hostname of the server
11227 to which this machine should forward its outgoing mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11228 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11229 This suggestion is provided as a
11230 simple way to migrate away from a configuration in which each machine at a site runs its
11231 own MTA, to a configuration in which client machines do not run listening daemons. If
11232 this modification is made to /etc/mail/submit.cf, then, when a local process on a
11233 machine attempts to send mail, the message will be forwarded to the machine mailserver
11234 for processing. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11235 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11236 Modifying /etc/mail/submit.cf directly is only appropriate if your site
11237 does not perform any other mailserver customization on clients. If other customization
11238 is done, use your usual Sendmail change procedure to define the MTA host. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11239 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11240 Note: In
11241 addition to making this change on the client, it may also be necessary to reconfigure
11242 the MTA on mailserver so that it will relay mail on behalf of this host.</xccdf:description>
11243 </xccdf:Group>
11244 </xccdf:Group>
11245 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3">
11246 <xccdf:title xml:lang="en">Strategies for MTA Security</xccdf:title>
11247 <xccdf:description xml:lang="en">
11248 This section discusses several types of MTA configuration which
11249 should be performed in order to protect against attacks involving the mail system. Though
11250 configuration syntax will differ depending on which MTA is in use (see Section 3.11.5 for
11251 Sendmail configuration syntax and Section 3.11.6 for Postfix), these strategies are
11252 generally advisable for any MTA, including ones not covered by this guide.</xccdf:description>
11253 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.1">
11254 <xccdf:title xml:lang="en">Use Resource Limits to Mitigate Denial of Service</xccdf:title>
11255 <xccdf:description xml:lang="en">
11256 It is often desirable to constrain an attacker's ability to
11257 consume a mail server's resources simply by sending otherwise valid mail at a high rate,
11258 whether maliciously or accidentally. Relevant resource limits include con106 CHAPTER 3.
11259 SERVICES straints on: the number of MTA daemons which may run at one time, the rate at
11260 which incoming messages may be received, the size and complexity of each message, or the
11261 amount of mail queue space which must remain free in order for mail to be delivered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11262 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11263 That last parameter deserves additional explanation. Most MTAs require queue space for
11264 temporary files in order to process existing messages in their queues. Therefore, if the
11265 queue filesystem is allowed to fill completely in a denial of service, the MTA will not
11266 be able to clear its own queue even when the malicious traffic has stopped. This will
11267 delay recovery from an attack.</xccdf:description>
11268 </xccdf:Group>
11269 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.2">
11270 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11271 <xccdf:description xml:lang="en">
11272 When remote mail senders connect to the MTA on port 25, they
11273 are greeted by an initial banner as part of the SMTP dialogue. This banner is necessary,
11274 but it frequently gives away too much information, including the MTA software which is
11275 in use, and sometimes also its version number. Remote mail senders do not need this
11276 information in order to send mail, so the banner should be changed to reveal only the
11277 hostname (which is already known and may be useful) and the word ESMTP, to indicate that
11278 the modern SMTP protocol variant is supported.</xccdf:description>
11279 </xccdf:Group>
11280 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.3">
11281 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11282 <xccdf:description xml:lang="en">
11283 The sending of Unsolicited Bulk E-mail, referred to variously
11284 as UBE, UCE, or spam, is a major problem on the Internet today. The security
11285 implications of spam are that it operates as a Denial of Service attack on legitimate
11286 e-mail use. Strategies for fighting spam receipt at your site are complex and quickly
11287 evolving, and thus far beyond the scope of this guide. The problem of relaying
11288 unauthorized e-mail, however, can and should be addressed by any network-connected site.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11290 Most MTAs perform two functions: to accept mail from remote sites on behalf of local
11291 users, and to allow local users to send mail to remote sites. The former function is
11292 relatively easy — mail whose recipient address is local can be assumed to be destined
11293 for a local user. The latter function is more complex. Since it is typically considered
11294 neither secure nor desirable for users to log in to the MTA host itself to send mail,
11295 the MTA must be able to remotely accept mail addressed to anyone from the user's
11296 workstation. If the MTA is running very old software or is configured poorly, it can be
11297 possible for attackers to take advantage of this feature, using your MTA to relay their
11298 spam from one remote site to another. This is undesirable for many reasons, not least
11299 that your site will quickly be denylisted as a spam source, leaving you unable to send
11300 legitimate e-mail to your correspondents. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11301 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11302 The simplest solution described in this guide
11303 is to configure the MTA to relay mail only from the local site's address range, and some
11304 variant on this is the default for most modern MTAs. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11306 That solution may be insufficient
11307 for sites whose users need to send mail from remote machines, for instance while
11308 travelling, as well as for sites where mail submission must be accepted from network
11309 ranges which are not considered secure, either because authorized machines are unmanaged
11310 or because it is possible to connect unauthorized machines to the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11311 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11312 If remote or
11313 mobile hosts are authorized to relay, or if local clients exist in insecure netblocks,
11314 the SMTP AUTH protocol should be used to require mail senders to authenticate before
11315 submitting messages. For better protection and to allow support for a wide range of
11316 authentication mechanisms without sending passwords over a network in clear text, SMTP
11317 AUTH transactions should be encrypted using SSL. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11318 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11319 Another approach is to require mail to
11320 be submitted on port 587, the designated Message Submission Port. Use of a separate port
11321 allows the mail relay function to be entirely separated from the mail delivery function.
11322 This may become a best practice in the future, but description of how to configure the
11323 Message Submission Port is currently beyond the scope of this guide. See RFC 2476 for
11324 information about this configuration.</xccdf:description>
11325 </xccdf:Group>
11326 </xccdf:Group>
11327 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4">
11328 <xccdf:title xml:lang="en">Configure Operating System to Protect Mail Server</xccdf:title>
11329 <xccdf:description xml:lang="en">
11330 The guidance in this section is appropriate for any host which is
11331 operating as a site MTA, whether the mail server runs using Sendmail, Postfix, or some
11332 other software.</xccdf:description>
11333 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.1">
11334 <xccdf:title xml:lang="en">Use Separate Hosts for External and Internal Mail if Possible</xccdf:title>
11335 <xccdf:description xml:lang="en">
11336 The mail server is a frequent target of network attack from the
11337 outside. However, since all site users receive mail, the mail server must be open to
11338 some connection from each inside users. It is strongly recommended that these functions
11339 be separated, by having an externally visible mail server which processes all incoming
11340 and outgoing mail, then forwards internal mail to a separate machine from which users
11341 can access it.</xccdf:description>
11342 </xccdf:Group>
11343 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.2">
11344 <xccdf:title xml:lang="en">Protect the MTA Host from User Access</xccdf:title>
11345 <xccdf:description xml:lang="en">
11346 The mail server contains privileged data belonging to all users
11347 and performs a vital network function. Preventing users from logging into this server is
11348 a precaution against privilege escalation or denial of service attacks which might
11349 compromise the mail service. Take steps to ensure that only system administrators are
11350 allowed shell access to the MTA host.</xccdf:description>
11351 </xccdf:Group>
11352 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.3">
11353 <xccdf:title xml:lang="en">Restrict Remote Access to the Mail Spool</xccdf:title>
11354 <xccdf:description xml:lang="en">
11355 If users directly connect to this machine to receive mail,
11356 ensure that there is a single, well-secured mechanism for access to the directory
11357 /var/spool/mail (the directory /var/mail is a symlink to this). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11358 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11359 Allowing unrestricted
11360 access to /var/spool/mail can be dangerous, since this directory contains sensitive
11361 information belonging to all users. Protocols such as NFS, which have an insecure
11362 authorization mechanism by default, should be considered insufficient for these
11363 purposes. See Section 3.17 for details on secure configuration of POP3 or IMAP, which
11364 are the preferred ways to provide user access to mail.</xccdf:description>
11365 </xccdf:Group>
11366 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.4">
11367 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Mail Server</xccdf:title>
11368 <xccdf:description xml:lang="en">
11369 Edit /etc/sysconfig/iptables. Add the following line, ensuring
11370 that it appears before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11371 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11372 -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 25 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11374 The default
11375 Iptables configuration does not allow inbound access to the SMTP service. This
11376 modification allows that access, while keeping other ports on the server in their
11377 default protected state. See Section 2.5.5 for more information about Iptables.</xccdf:description>
11378 </xccdf:Group>
11379 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.5">
11380 <xccdf:title xml:lang="en">Verify System Logging and Log Permissions for Mail</xccdf:title>
11381 <xccdf:description xml:lang="en">
11382 Edit the file /etc/syslog.conf. Add or correct the following
11383 line if necessary (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11384 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11385 mail.* -/var/log/maillog <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11386 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11387 Run the following commands to ensure correct permissions on the mail log: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11388 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11389 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /var/log/maillog <xhtml:br/>
11390 # chmod 600 /var/log/maillog <xhtml:br/></xhtml:code>
11391 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11392 The mail server logs contain a record of
11393 every e-mail which is sent or received on the system, which is considered sensitive
11394 information by most sites. It is necessary that these logs be collected for purposes of
11395 debugging and statistics, but their contents should be protected from unauthorized
11396 access.</xccdf:description>
11397 </xccdf:Group>
11398 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6">
11399 <xccdf:title xml:lang="en">Configure SSL Certificates for Use with SMTP AUTH</xccdf:title>
11400 <xccdf:description xml:lang="en">
11401 If SMTP AUTH is to be used (see Section 3.11.3.3 for a
11402 description of possible anti-relaying mechanisms), the use of SSL to protect credentials
11403 in transit is strongly recommended. There are also configurations for which it may be
11404 desirable to encrypt all mail in transit from one MTA to another, though such
11405 configurations are beyond the scope of this guide. In either event, the steps for
11406 creating and installing an SSL certificate are independent of the MTA in use, and are
11407 described here.</xccdf:description>
11408 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.1">
11409 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
11410 <xccdf:description xml:lang="en">
11411 Note: This step must be performed on your CA system, not on
11412 the MTA host itself. If you will have a commercial CA sign certificates, then this
11413 step should be performed on a separate, physically secure system devoted to that
11414 purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11416 Change into the CA certificate directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11417 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11418 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
11419 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11420 Generate a key pair for the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11422 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out mailserverkey.pem 2048 <xhtml:br/></xhtml:code>
11423 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11424 Next,
11425 generate a certificate signing request (CSR) for the CA to sign, making sure to supply
11426 your mail server's fully qualified domain name as the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11427 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11428 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key mailserverkey.pem -out mailserver.csr <xhtml:br/></xhtml:code>
11429 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11430 Next, the mail server CSR must be signed to
11431 create the mail server certificate. You can either send the CSR to an established CA
11432 or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11433 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11434 To sign mailserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11435 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11436 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in mailserver.csr -out mailservercert.pem <xhtml:br/></xhtml:code>
11437 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11438 This step creates a private key,
11439 mailserverkey.pem, and a public certificate, mailservercert.pem. The mail server will
11440 use these to prove its identity by demonstrating that it has a certificate which has
11441 been signed by a CA. Mail clients at your site should be willing to send their mail
11442 only to a server they can authenticate.</xccdf:description>
11443 </xccdf:Group>
11444 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.2">
11445 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
11446 <xccdf:description xml:lang="en">
11447 Create the PKI directory for mail certificates, if it does
11448 not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11449 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11450 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/mail <xhtml:br/>
11451 # chown root:root /etc/pki/tls/mail <xhtml:br/>
11452 # chmod 755 /etc/pki/tls/mail <xhtml:br/></xhtml:code>
11453 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11454 Using removable media or some other secure transmission
11455 format, install the files generated in the previous step onto the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11456 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11457 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11458 <xhtml:li>/etc/pki/tls/mail/serverkey.pem: the private key mailserverkey.pem</xhtml:li>
11459 <xhtml:li>/etc/pki/tls/mail/servercert.pem: the certificate file mailservercert.pem</xhtml:li>
11460 </xhtml:ul>
11461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11462 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11463 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11464 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11465 # chown root:root /etc/pki/tls/mail/servercert.pem <xhtml:br/>
11466 # chmod 600 /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11467 # chmod 644 /etc/pki/tls/mail/servercert.pem<xhtml:br/></xhtml:code>
11468 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11469 Verify that the CA's public certificate file has been installed as
11470 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11471 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11472 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11473 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
11474 </xccdf:Group>
11475 </xccdf:Group>
11476 </xccdf:Group>
11477 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5">
11478 <xccdf:title xml:lang="en">Configure Sendmail Server if Necessary</xccdf:title>
11479 <xccdf:description xml:lang="en">
11480 When sendmail is configured to act as a server for incoming mail,
11481 it listens on port 25 for connections, and responds to those connections using the
11482 configuration in /etc/mail/sendmail.cf. This file has a somewhat opaque format, and
11483 modifying it directly is generally not recommended. Instead, the following procedure
11484 should be used to modify the sendmail configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11485 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11486 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
11487 <xhtml:li>Install the sendmail-cf RPM, which
11488 is required in order to compile a new configuration file: <xhtml:br/>
11489 <xhtml:br/>
11490 <xhtml:code># yum install sendmail-cf<xhtml:br/></xhtml:code></xhtml:li>
11491 <xhtml:li>Edit the M4 source file /etc/mail/sendmail.mc as directed by the configuration step you
11492 are applying. </xhtml:li>
11493 <xhtml:li>Inside the directory /etc/mail/, use make to build the configuration
11494 according to the Makefile provided by Sendmail: <xhtml:br/>
11495 <xhtml:br/>
11496 <xhtml:code># cd /etc/mail <xhtml:br/>
11497 # make sendmail.cf</xhtml:code></xhtml:li>
11498 </xhtml:ol></xccdf:description>
11499 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.1">
11500 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11501 <xccdf:description xml:lang="en">
11502 Edit /etc/mail/sendmail.mc, and add or correct the following
11503 options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11504 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11505 define(`confMAX_DAEMON_CHILDREN',`40')dnl
11506 define(`confCONNECTION_RATE_THROTTLE', `3 ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11507 define(`confMIN_FREE_BLOCKS',`20971520')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11508 define(`confMAX_HEADERS_LENGTH',`51200')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11509 define(`confMAX_MESSAGE_SIZE',`10485760')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11510 define(`confMAX_RCPTS_PER_MESSAGE',`100')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11511 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11512 Note: The values given here are examples, and may need to be modified for any
11513 particular site, especially one with high e-mail volume. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11514 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11515 These configuration options
11516 serve to make it more difficult for attackers to consume resources on the MTA host. (See
11517 Section 3.11.3.1 for details on why this is done.) The MAX DAEMON CHILDREN option limits
11518 the number of sendmail processes which may be deployed to handle incoming connections at
11519 any one time, while CONNECTION RATE THROTTLE limits the number of connections per second
11520 which each listener may receive. The MIN FREE BLOCKS option stops e-mail receipt when
11521 the queue filesystem is close to full. The MAX HEADERS LENGTH (bytes), MAX MESSAGE SIZE
11522 (bytes), and MAX RCPTS PER MESSAGE (distinct recipients) options place bounds on the
11523 legal sizes of messages received via SMTP.</xccdf:description>
11524 </xccdf:Group>
11525 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.2">
11526 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11527 <xccdf:description xml:lang="en">
11528 Edit /etc/mail/sendmail.mc, and add or correct the following
11529 line, substituting an appropriate greeting string for $j : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11530 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11531 define(`confSMTP_LOGIN_MSG', `$j ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11532 and recompile sendmail's configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11533 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11534 The default greeting banner discloses
11535 that the listening mail process is Sendmail rather than some other MTA, and also
11536 provides the version number. See Section 2.3.7 for more about warning banners, and
11537 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11538 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11539 The Sendmail variable $j contains the hostname of the mail server, which may be an
11540 appropriate greeting string for most environments.</xccdf:description>
11541 </xccdf:Group>
11542 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3">
11543 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11544 <xccdf:description xml:lang="en">
11545 This guide will discuss two mechanisms for controlling mail
11546 relaying in Sendmail. The /etc/mail/relay-domains file contains a list of hostnames that
11547 are allowed to relay mail. Follow the guidance in Section 3.11.5.3.1 to configure
11548 relaying for trusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11549 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11550 If there are machines which must be allowed to relay
11551 mail, but which cannot be trusted to relay unconditionally, configure SMTP AUTH with TLS
11552 support using the guidance in Sections 3.11.5.3.2 and following.</xccdf:description>
11553 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.1">
11554 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11555 <xccdf:description xml:lang="en">
11556 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11557 <xhtml:li>If all machines which share a common domain or subdomain
11558 name may relay, then edit /etc/mail/ relay-domains, adding a line for each domain or
11559 subdomain, e.g.: <xhtml:br/>
11560 <xhtml:br/>
11561 example.com <xhtml:br/>
11562 trusted-subnet.school.edu <xhtml:br/>
11563 ... </xhtml:li>
11564 <xhtml:li>If the machines which are
11565 allowed to relay must be specified on a per-host basis, then edit /etc/mail/
11566 relay-domains, adding a line for each such host: <xhtml:br/>
11567 <xhtml:br/>
11568 host1.example.com<xhtml:br/>
11569 host5.subnet.example.com <xhtml:br/>
11570 smtp.trusted-subnet.school.edu <xhtml:br/>
11571 <xhtml:br/>
11572 Then edit /etc/mail/sendmail.mc, add or correct the line: <xhtml:br/>
11573 <xhtml:br/>
11574 FEATURE(`relay_hosts_only')dnl <xhtml:br/>
11575 <xhtml:br/>
11576 and recompile sendmail's configuration. </xhtml:li>
11577 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11578 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11579 The file /etc/mail/relay-domains must contain only
11580 the set of machines for which this MTA should unconditionally relay mail. This
11581 configures both inbound and outbound relaying, that is, hosts mentioned in
11582 relay-domains may send mail through the MTA, and the MTA will also accept inbound mail
11583 addressed to such hosts. This is a trust relationship — if spammers gain access to
11584 these machines, your site will effectively become an open relay. It is recommended
11585 that only machines which are managed by you or by another trusted organization be
11586 placed in relay-domains, and that users of all other machines be required to use SMTP
11587 AUTH to send mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11588 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11589 Note: The relay-domains file must be configured to contain either a
11590 list of domains (in which case every host in each of those domains will be allowed to
11591 relay) or a list of hosts (in which case each individual relaying host must be listed
11592 and the sendmail.cf must be reconfigured to interpret the relay-domains file in the
11593 desired way).</xccdf:description>
11594 </xccdf:Group>
11595 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.2">
11596 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11597 <xccdf:description xml:lang="en">
11598 By default, Sendmail uses the Cyrus-SASL library to provide
11599 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11600 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11601 To enable the use of SASL authentication for relaying, edit
11602 /etc/mail/sendmail.mc and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11604 TRUST_AUTH_MECH(`LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11605 define(`confAUTH_MECHANISMS', `LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11607 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11609 Then edit /usr/lib/sasl2/Sendmail.conf and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11611 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11612 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11613 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11614 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11615 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11616 The AUTH MECHANISMS configuration option tells sendmail to allow the
11617 specified authentication mechanisms to be used during the SMTP dialogue. The two
11618 listed mechanisms use SASL to test a password provided by the user. Since these
11619 mechanisms transmit plaintext passwords, they should be protected using TLS as
11620 described in the next section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11621 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11622 The TRUST AUTH MECH command tells sendmail that senders
11623 who successfully authenticate using the specified mechanism may relay mail through
11624 this MTA even if their addresses are not in relay-domains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11625 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11626 The file
11627 /usr/lib/sasl/Sendmail.conf is the Cyrus-SASL configuration file for Sendmail. The
11628 pwcheck method directive tells SASL how to find passwords. The simplest method,
11629 described here, is to run a separate authentication daemon, saslauthd, which is able
11630 to communicate with the system authentication service. On Red Hat, saslauthd uses PAM
11631 by default, which should work in most cases. If you have a centralized authentication
11632 system which does not work via PAM, look at the saslauthd(8) manpage to determine how
11633 to configure saslauthd for your environment.</xccdf:description>
11634 </xccdf:Group>
11635 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.3">
11636 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11637 <xccdf:description xml:lang="en">
11638 Edit /etc/mail/sendmail.mc, add or correct the following
11639 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11640 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11641 define(`confAUTH_OPTIONS', `A p')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11642 define(`confCACERT_PATH', `/etc/pki/tls/CA')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11643 define(`confCACERT', `/etc/pki/tls/CA/cacert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11644 define(`confSERVER_CERT', `/etc/pki/tls/mail/servercert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11645 define(`confSERVER_KEY', `/etc/pki/tls/mail/serverkey.pem')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11647 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11648 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11649 These options, combined with the previous settings, tell Sendmail to
11650 protect all SMTP AUTH transactions using TLS. The first four options describe the
11651 location of the necessary TLS certificate and key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11652 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11653 The AUTH OPTIONS parameter
11654 configures the SMTP AUTH dialogue. The A option is enabled by default, and simply says
11655 that authentication is allowed if an appropriate mechanism can be found. The p option
11656 tells Sendmail to protect against passive attacks. The PLAIN and LOGIN authentication
11657 mechanisms, recommended by this guide for compatibility with PAM, send passwords in
11658 the clear. (Cleartext password transmissions are vulnerable to passive attack.)
11659 Therefore, if p is set, the SMTP daemon will not make the AUTH command available until
11660 after the client has used the STARTTLS command to encrypt the session. If other
11661 authentication mechanisms were enabled which did not send passwords in the clear, then
11662 TLS would not necessarily be required.</xccdf:description>
11663 </xccdf:Group>
11664 </xccdf:Group>
11665 </xccdf:Group>
11666 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6">
11667 <xccdf:title xml:lang="en">Configure Postfix if Necessary</xccdf:title>
11668 <xccdf:description xml:lang="en">
11669 Postfix stores its configuration files in the directory
11670 /etc/postfix by default. The primary configuration file is /etc/postfix/main.cf. Other
11671 files will be introduced as needed.</xccdf:description>
11672 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.1">
11673 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11674 <xccdf:description xml:lang="en">
11675 Edit /etc/postfix/main.cf. Add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11676 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11677 default_process_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11678 smtpd_client_connection_count_limit = 10<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11679 smtpd_client_connection_rate_limit = 30 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11680 queue_minfree = 20971520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11681 header_size_limit = 51200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11682 message_size_limit = 10485760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11683 smtpd_recipient_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11685 Note: The values given
11686 here are examples, and may need to be modified for any particular site. By default, the
11687 Postfix anvil process gathers mail receipt statistics. To get information about about
11688 what connection rates are typical at your site, look in /var/log/maillog for lines with
11689 the daemon name postfix/anvil. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11690 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11691 These configuration options serve to make it more
11692 difficult for attackers to consume resources on the MTA host. (See Section 3.11.3.1 for
11693 details on why this is done.) The default process limit parameter controls how many
11694 smtpd processes can exist at a time, while smtpd_client_connection_count_limit controls
11695 the number of those which can be occupied by any one remote sender, and
11696 smtpd_client_connection_rate_limit controls the number of connections any one client
11697 can make per minute. By default, local hosts (those in mynetworks) are exempted from
11698 per-client rate limiting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11699 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11700 The queue_minfree parameter establishes a free space threshold, in order to
11701 stop e-mail receipt before the queue filesystem is entirely full. The header_size_limit,
11702 message_size_limit, and smtpd recipient limit parameters place bounds on the legal sizes
11703 of messages received via SMTP.</xccdf:description>
11704 </xccdf:Group>
11705 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.2">
11706 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11707 <xccdf:description xml:lang="en">
11708 Edit /etc/postfix/main.cf, and add or correct the following
11709 line, substituting some other wording for the banner information if you prefer:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11710 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11711 smtpd_banner = $myhostname ESMTP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11712 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11713 The default greeting banner discloses that the
11714 listening mail process is Postfix. See Section 2.3.7 for more about warning banners, and
11715 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular.</xccdf:description>
11716 </xccdf:Group>
11717 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3">
11718 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11719 <xccdf:description xml:lang="en">
11720 Postfix's mail relay controls are implemented with the help of
11721 the smtpd recipient restrictions option, which controls the restrictions placed on the
11722 SMTP dialogue once the sender and recipient envelope addresses are known. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11723 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11724 The guidance
11725 in Sections 3.11.6.3.1–3.11.6.3.2 should be applied to all machines. If there are
11726 machines which must be allowed to relay mail, but which cannot be trusted to relay
11727 unconditionally, configure SMTP AUTH with SSL support using the guidance in Sections
11728 3.11.6.3.3 and following.</xccdf:description>
11729 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.1">
11730 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11731 <xccdf:description xml:lang="en">
11732 Edit /etc/postfix/main.cf, and configure the contents of the
11733 mynetworks variable in one of the following ways: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11734 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11735 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11736 <xhtml:li>If any machine in the subnet
11737 containing the MTA may be trusted to relay messages, add or correct the line:<xhtml:br/>
11738 <xhtml:br/>
11739 mynetworks_style = subnet </xhtml:li>
11740 <xhtml:li>If only the MTA host itself is trusted to relay messages,
11741 add or correct: <xhtml:br/>
11742 <xhtml:br/>
11743 mynetworks_style = host </xhtml:li>
11744 <xhtml:li>If the set of machines which can relay is
11745 more complicated, manually specify an entry for each netblock or IP address which is
11746 trusted to relay by setting the mynetworks variable directly: <xhtml:br/>
11747 <xhtml:br/>
11748 mynetworks = 10.0.0.0/16 , 192.168.1.0/24 , 127.0.0.1 </xhtml:li>
11749 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11751 The mynetworks variable must contain only the set of
11752 machines for which this MTA should unconditionally relay mail. This is a trust
11753 relationship — if spammers gain access to these machines, your site will effectively
11754 become an open relay. It is recommended that only machines which are managed by you or
11755 by another trusted organization be placed in mynetworks, and users of all other
11756 machines be required to use SMTP AUTH to send mail.</xccdf:description>
11757 </xccdf:Group>
11758 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.2">
11759 <xccdf:title xml:lang="en">Allow Unlimited Relaying for Trusted Networks Only</xccdf:title>
11760 <xccdf:description xml:lang="en">
11761 Edit /etc/postfix/main.cf, and add or correct the smtpd
11762 recipient restrictions definition so that it contains at least:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11763 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11764 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11765 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11766 permit_mynetworks, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11767 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11768 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11769 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11770 The full contents of smtpd recipient restrictions will vary by site, since this is a
11771 common place to put spam restrictions and other site-specific options. The permit
11772 mynetworks option allows all mail to be relayed from the machines in mynetworks. Then,
11773 the reject unauth destination option denies all mail whose destination address is not
11774 local, preventing any other machines from relaying. These two options should always
11775 appear in this order, and should usually follow one another immediately unless SMTP
11776 AUTH is used.</xccdf:description>
11777 </xccdf:Group>
11778 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.3">
11779 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11780 <xccdf:description xml:lang="en">
11781 SMTP authentication allows remote clients to relay mail
11782 safely by requiring them to authenticate before submitting mail. Postfix's SMTP AUTH
11783 uses an authentication library called SASL, which is not part of Postfix itself. This
11784 section describes how to configure authentication using the Cyrus-SASL implementation.
11785 See below for a discussion of other options. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11786 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11787 To enable the use of SASL authentication,
11788 edit /etc/postfix/main.cf and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11789 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11790 smtpd_sasl_auth_enable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11791 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11792 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11793 permit_mynetworks,<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11794 permit_sasl_authenticated, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11795 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11796 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11798 Then edit
11799 /usr/lib/sasl/smtpd.conf and add or correct the following line with the correct
11800 authentication mechanism for SASL to use: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11802 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11804 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11805 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11806 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11807 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11808 Postfix can use either the Cyrus library or
11809 Dovecot as a source for SASL authentication. If this host is running Dovecot for some
11810 other reason, it is recommended that Dovecot's SASL support be used instead of running
11811 the Cyrus code as well. See http://www.postfix.org/SASL README.html for instructions
11812 on implementing that configuration, which is not described in this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11814 In Postfix's
11815 configuration, the directive smtpd sasl auth enable tells smtpd to allow the use of
11816 the SMTP AUTH command during the SMTP dialogue, and to support that command by getting
11817 authentication information from SASL. The smtpd recipient restrictions directive is
11818 changed so that, if the client is not connecting from a trusted address, it is allowed
11819 to attempt authentication (permit sasl authenticated) in order to relay mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11820 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11821 The file
11822 /usr/lib/sasl/smtpd.conf is the Cyrus-SASL configuration file. The pwcheck method
11823 directive tells SASL how to find passwords. The simplest method, described above, is
11824 to run a separate authentication daemon, saslauthd, which is able to communicate with
11825 the system authentication system. On RHEL5, saslauthd uses PAM by default, which
11826 should work in most cases. If you have a centralized authentication system which does
11827 not work via PAM, look at the saslauthd(8) manpage to find out how to configure
11828 saslauthd for your environment.</xccdf:description>
11829 </xccdf:Group>
11830 </xccdf:Group>
11831 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.4">
11832 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11833 <xccdf:description xml:lang="en">
11834 Edit /etc/postfix/main.cf, and add or correct the following
11835 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11836 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11837 smtpd_tls_CApath = /etc/pki/tls/CA <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11838 smtpd_tls_CAfile = /etc/pki/tls/CA/cacert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11839 smtpd_tls_cert_file = /etc/pki/tls/mail/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11840 smtpd_tls_key_file = /etc/pki/tls/mail/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11841 smtpd_tls_security_level = may <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11842 smtpd_tls_auth_only = yes<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11843 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11844 These options tell Postfix to protect all SMTP AUTH transactions using TLS. The first
11845 four options describe the locations of the necessary TLS key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11847 The smtpd_tls_security_level directive tells smtpd to allow the STARTTLS command during the SMTP
11848 protocol exchange, but not to require it for mail senders. (Unless your site receives
11849 mail only from other trusted sites whose sysadmins can be asked to maintain a copy of
11850 your site certificate, you do not want to require TLS for all SMTP exchanges.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11851 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11852 The smtpd_tls_auth_only directive tells smtpd to require the STARTTLS command before allowing the
11853 client to attempt to authenticate for relaying using SMTP AUTH. It may not be possible
11854 to use this directive if you must allow relaying from non-TLS-capable client software.
11855 If this is the case, simply omit that line.</xccdf:description>
11856 </xccdf:Group>
11857 </xccdf:Group>
11858 </xccdf:Group>
11859 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12">
11860 <xccdf:title xml:lang="en">LDAP</xccdf:title>
11861 <xccdf:description xml:lang="en">
11862 LDAP is a popular directory service, that is, a standardized way of
11863 looking up information from a central database. It is relatively simple to configure a RHEL5
11864 machine to obtain authentication information from an LDAP server. If your network uses LDAP
11865 for authentication, be sure to configure both clients and servers securely.</xccdf:description>
11866 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.1">
11867 <xccdf:title xml:lang="en">Use OpenLDAP to Provide LDAP Service if Possible</xccdf:title>
11868 <xccdf:description xml:lang="en">
11869 The system's default LDAP client/server program is called
11870 OpenLDAP. Its documentation is available at the project web page: http://www.openldap.org.</xccdf:description>
11871 </xccdf:Group>
11872 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2">
11873 <xccdf:title xml:lang="en">Configure OpenLDAP Clients</xccdf:title>
11874 <xccdf:description xml:lang="en">
11875 This guide recommends configuring OpenLDAP clients by manually
11876 editing the appropriate configuration files. RHEL5 provides an automated configuration
11877 tool called authconfig and a graphical wrapper for authconfig called
11878 system-config-authentication. However, these tools do not give sufficient flexibility over
11879 configuration. The authconfig tools do not allow you to specify locations of SSL
11880 certificate files, which is useful when trying to use SSL cleanly across several
11881 protocols. They are also overly aggressive in placing services such as netgroups and
11882 automounter maps under LDAP control, where it is safer to use LDAP only for services to
11883 which it is relevant in your environment.</xccdf:description>
11884 <xccdf:warning xml:lang="en">Before configuring any machine to be an LDAP client, ensure that
11885 a working LDAP server is present on the network. See Section 3.12.3 for instructions on
11886 configuring an LDAP server. </xccdf:warning>
11887 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.1">
11888 <xccdf:title xml:lang="en">Configure the Appropriate LDAP Parameters for the Domain</xccdf:title>
11889 <xccdf:description xml:lang="en">
11890 Assume the fully qualified host name of your LDAP server is
11891 ldap.example.com and the base DN of your domain is dc=example,dc=com (it is conventional
11892 to use the domain name as a base DN). Edit /etc/ldap. conf, and add or correct the
11893 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11894 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11895 base dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11896 uri ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11898 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11899 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11900 BASE dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11901 URI ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11902 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11903 The machine whose hostname is given here must be
11904 configured as an LDAP server, serving data identified by the base DN used here. See
11905 Section 3.12.3 for details on configuring an LDAP server.</xccdf:description>
11906 </xccdf:Group>
11907 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.2">
11908 <xccdf:title xml:lang="en">Configure LDAP to Use TLS for All Transactions</xccdf:title>
11909 <xccdf:description xml:lang="en">
11910 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
11911 <xhtml:li>Ensure a copy of the site's CA certificate has been placed
11912 in the file /etc/pki/tls/CA/cacert.pem. </xhtml:li>
11913 <xhtml:li>Configure LDAP to enforce TLS use and to
11914 trust certificates signed by the site's CA. First, edit the file /etc/ldap.conf, and add
11915 or correct the following lines: <xhtml:br/>
11916 <xhtml:br/>
11917 ssl start_tls <xhtml:br/>
11918 tls_checkpeer yes <xhtml:br/>
11919 tls_cacertdir /etc/pki/tls/CA <xhtml:br/>
11920 tls_cacertfile /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11921 <xhtml:br/>
11922 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br/>
11923 <xhtml:br/>
11924 TLS_CACERTDIR /etc/pki/tls/CA <xhtml:br/>
11925 TLS_CACERT /etc/pki/tls/CA/cacert.pem </xhtml:li>
11926 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11927 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11928 Section 2.5.6 describes the
11929 system-wide configuration of SSL for your enterprise. It is possible to place your
11930 certificate information under some directory other than /etc/pki/tls, but using a
11931 consistent directory structure across all SSL services at your site is recommended. The
11932 LDAP server must be configured with a certificate signed by the CA certificate named
11933 here.</xccdf:description>
11934 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false" weight="10.0">
11935 <xccdf:title>Configure LDAP to Use TLS for All Transactions</xccdf:title>
11936 <xccdf:description>Clients require LDAP servers to provide valid certificates for SSL communications.</xccdf:description>
11937 <xccdf:fixtext>(1) via /etc/ldap.conf</xccdf:fixtext>
11938 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11939 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202885"/>
11940 </xccdf:check>
11941 </xccdf:Rule>
11942 </xccdf:Group>
11943 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.3">
11944 <xccdf:title xml:lang="en">Configure Authentication Services to Use OpenLDAP</xccdf:title>
11945 <xccdf:description xml:lang="en">
11946 Edit the file /etc/ldap.conf, and add or correct the following
11947 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11949 pam_password md5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11951 Edit the file /etc/nsswitch.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11952 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11953 passwd: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11954 shadow: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11955 group: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11956 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11957 Edit the file
11958 /etc/pam.d/system-auth-ac. Make the following changes, which will add references to LDAP
11959 in each of the four sections of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11961 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11962 <xhtml:li>Immediately before the last line in the auth
11963 section (the one containing pam_deny.so), insert the line: <xhtml:br/>
11964 <xhtml:br/>
11965 auth sufficient pam_ldap.so use_first_pass </xhtml:li>
11966 <xhtml:li>Modify the first line in the account section by adding the option
11967 broken shadow. The line should then read: <xhtml:br/>
11968 <xhtml:br/>
11969 account required pam_unix.so broken_shadow </xhtml:li>
11970 <xhtml:li>Immediately before the last line in the account section (the one containing pam
11971 permit.so), insert the line: <xhtml:br/>
11972 <xhtml:br/>
11973 account [default=bad success=ok user_unknown=ignore] pam_ldap.so </xhtml:li>
11974 <xhtml:li>Immediately before the last line in the password section (the one
11975 containing pam_deny.so), insert the line: <xhtml:br/>
11976 <xhtml:br/>
11977 password sufficient pam_ldap.so use_authtok</xhtml:li>
11978 <xhtml:li>At the end of the file (after the last line in the session section), append the line:<xhtml:br/>
11979 <xhtml:br/>
11980 session optional pam_ldap.so </xhtml:li>
11981 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11982 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11983 The first modification tells LDAP to expect passwords in
11984 MD5 hash format, rather than clear text. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11985 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11986 Red Hat systems use the file /etc/nsswitch.conf
11987 to determine the appropriate sources to search for certain kinds of data, such as
11988 usernames, groups, hostnames, netgroups, or protocols. It is possible to manage many
11989 other types of data using LDAP, but this guide recommends that only usernames (passwd
11990 data), passwords (shadow data), and groups (group data) be managed using LDAP. If your
11991 site uses netgroups, it may be appropriate to manage these via LDAP as well. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11992 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11993 However,
11994 data which almost never changes, such as the contents of the /etc/services file, is a
11995 poor choice for central administration, since it introduces risk with little benefit. It
11996 is recommended that the automounter not be used at all, so LDAP control of automounter
11997 maps is unlikely to be appropriate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11999 The file /etc/pam.d/system-auth-ac is used by PAM to
12000 control access to most authenticated services. The syntax of the PAM configuration file
12001 is somewhat cryptic. The lines recommended here have the combined effect of using LDAP
12002 to find authentication data for users who cannot be found in the local /etc/passwd file.
12003 This means that, for instance, it is still possible to use a local root password. The
12004 details of options such as broken_shadow, use_authtok, and use_first_pass may be looked
12005 up in the man pages for the various PAM modules. Their basic effect is to attempt to
12006 authenticate given a password against both the local /etc/shadow and the central LDAP
12007 server, without forcing the user to type the password more than once. PAM configuration
12008 is discussed further in Section 2.3.3.</xccdf:description>
12009 </xccdf:Group>
12010 </xccdf:Group>
12011 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3">
12012 <xccdf:title xml:lang="en">Configure OpenLDAP Server</xccdf:title>
12013 <xccdf:description xml:lang="en">
12014 This section contains guidance on how to configure an OpenLDAP
12015 server to securely provide information for use in a centralized authentication service.
12016 This is not a comprehensive guide to maintaining an OpenLDAP server, but may be helpful in
12017 transitioning to an OpenLDAP infrastructure nonetheless.</xccdf:description>
12018 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.1">
12019 <xccdf:title xml:lang="en">Install OpenLDAP Server RPM</xccdf:title>
12020 <xccdf:description xml:lang="en">
12021 Is this machine the OpenLDAP server? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12022 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12023 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install openldap-servers <xhtml:br/>
12024 # chkconfig ldap on <xhtml:br/></xhtml:code>
12025 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12026 The openldap-servers RPM is not installed by
12027 default on RHEL5 machines. It is needed only by the OpenLDAP server, not by the clients
12028 which use LDAP for authentication.</xccdf:description>
12029 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false" severity="low" weight="10.0">
12030 <xccdf:title>Disable OpenLDAP service</xccdf:title>
12031 <xccdf:description>The ldap service should be disabled.</xccdf:description>
12032 <xccdf:ident system="http://cce.mitre.org">CCE-3501-4</xccdf:ident>
12033 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12034 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12035 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20289"/>
12036 </xccdf:check>
12037 </xccdf:Rule>
12038 </xccdf:Group>
12039 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.2">
12040 <xccdf:title xml:lang="en">Configure Domain-Specific Parameters</xccdf:title>
12041 <xccdf:description xml:lang="en">
12042 Edit the file /etc/openldap/slapd.conf. Add or correct the
12043 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12044 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12045 suffix "dc=example,dc=com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12046 rootdn "cn=Manager,dc=example,dc=com "<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12047 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12048 where dc=example,dc=com is the same root you will use on the LDAP clients. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12049 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12050 These are
12051 basic LDAP configuration directives. The suffix parameter gives the root name of all
12052 information served by this LDAP server, and should be some name related to your domain.
12053 The rootdn parameter names LDAP's privileged user, who is allowed to read or write all
12054 data managed by this LDAP server.</xccdf:description>
12055 </xccdf:Group>
12056 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.3">
12057 <xccdf:title xml:lang="en">Configure an LDAP Root Password</xccdf:title>
12058 <xccdf:description xml:lang="en">
12059 Ensure that the configuration file has reasonable permissions
12060 before putting the hashed root password in that file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12062 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/openldap/slapd.conf <xhtml:br/>
12063 # chmod 640 /etc/openldap/slapd.conf <xhtml:br/></xhtml:code>
12064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12065 Generate a hashed password using the slappasswd utility: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12066 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12067 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># slappasswd <xhtml:br/></xhtml:code>
12068 New password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12069 Re-enter new password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12070 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12071 This
12072 will output a hashed password string. Edit the file /etc/openldap/slapd.conf, and add or
12073 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12074 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12075 rootpw {SSHA}hashed-password-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12076 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12077 Be sure to select a secure
12078 password for the LDAP root user, since this user has permission to read and write all
12079 LDAP data, so a compromise of the LDAP root password will probably enable a full
12080 compromise of your site. Protect configuration files containing the hashed password the
12081 same way you would protect other files, such as /etc/shadow, which contain hashed
12082 authentication data. In addition, be sure to use a reasonably strong hash function, such
12083 as SHA-1, rather than an insecure scheme such as crypt.</xccdf:description>
12084 <xccdf:description xml:lang="en">If you are using SHA-1, the hashed password string will begin with “{SHA}” or “{SSHA}”</xccdf:description>
12085 </xccdf:Group>
12086 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4">
12087 <xccdf:title xml:lang="en">Configure the LDAP Server to Require TLS for All Transactions</xccdf:title>
12088 <xccdf:description xml:lang="en">
12089 Because LDAP queries and responses, particularly those
12090 containing authentication information or other sensitive data, must be protected from
12091 disclosure or modification while in transit over the network, this guide recommends
12092 using SSL to protect all transactions. In order to do this, it is necessary to have a
12093 site-wide SSL infrastructure in which a CA certificate is used to verify that other
12094 certificates, such as that presented by the LDAP server to its clients, are authentic.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12096 Therefore, this procedure involves using the CA system to create a certificate for the
12097 LDAP server, then installing that certificate on the LDAP server and configuring slapd
12098 to require its use. See Section 2.5.6 for details about the process of creating SSL
12099 certificates for use by servers at your site.</xccdf:description>
12100 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.1">
12101 <xccdf:title xml:lang="en">Create the Certificate for the LDAP Server</xccdf:title>
12102 <xccdf:description xml:lang="en">
12103 Note: This step must be performed on the CA system, not on
12104 the LDAP server itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12105 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12106 Change into the CA certificate directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12108 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
12109 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12110 Generate a key pair for the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12111 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12112 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out ldapserverkey.pem 2048 <xhtml:br/></xhtml:code>
12113 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12114 Next, generate a certificate signing request (CSR) for the CA to sign: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12115 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12116 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key ldapserverkey.pem -out ldapserver.csr <xhtml:br/></xhtml:code>
12117 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12118 Sign the ldapserver.csr request: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12120 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in ldapserver.csr -out ldapservercert.pem <xhtml:br/></xhtml:code>
12121 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12122 This step creates a private key, ldapserverkey.pem, and a public certificate,
12123 ldapservercert.pem. The LDAP server will use these to prove its identity by
12124 demonstrating that it has a certificate which has been signed by the site CA. LDAP
12125 clients at your site should only be willing to accept authentication data from a
12126 verified LDAP server.</xccdf:description>
12127 </xccdf:Group>
12128 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.2">
12129 <xccdf:title xml:lang="en">Install the Certificate on the LDAP Server</xccdf:title>
12130 <xccdf:description xml:lang="en">
12131 Create the PKI directory for LDAP certificates if it does not
12132 already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12134 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/ldap <xhtml:br/>
12135 # chown root:root /etc/pki/tls/ldap <xhtml:br/>
12136 # chmod 755 /etc/pki/tls/ldap <xhtml:br/></xhtml:code>
12137 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12138 Using removable media or some other secure transmission format,
12139 install the files generated in the previous step onto the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12140 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12141 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
12142 <xhtml:li>/etc/pki/tls/ldap/serverkey.pem: the private key ldapserverkey.pem</xhtml:li>
12143 <xhtml:li>/etc/pki/tls/ldap/servercert.pem: the certificate file ldapservercert.pem </xhtml:li>
12144 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12145 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12146 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12147 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12148 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
12149 # chown root:ldap /etc/pki/tls/ldap/servercert.pem <xhtml:br/>
12150 # chmod 640 /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
12151 # chmod 640 /etc/pki/tls/ldap/servercert.pem<xhtml:br/></xhtml:code>
12152 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12153 Verify that the CA's public certificate file has been installed as
12154 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12155 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12156 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/CA <xhtml:br/>
12157 # chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
12158 # chmod 644 /etc/pki/tls/CA/cacert.pem <xhtml:br/></xhtml:code>
12159 As a
12160 result of these steps, the LDAP server will have access to its own private certificate
12161 and the key with which that certificate is encrypted, and to the public certificate
12162 file belonging to the CA. Note that it would be possible for the key to be protected
12163 further, so that processes running as ldap could not read it. If this were done, the
12164 LDAP server process would need to be restarted manually whenever the server rebooted.</xccdf:description>
12165 </xccdf:Group>
12166 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.3">
12167 <xccdf:title xml:lang="en">Configure slapd to Use the Certificates</xccdf:title>
12168 <xccdf:description xml:lang="en">
12169 Edit the file /etc/openldap/slapd.conf. Add or correct the
12170 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12172 TLSCACertificateFile /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12173 TLSCertificateFile /etc/pki/tls/ldap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12174 TLSCertificateKeyFile /etc/pki/tls/ldap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12175 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12176 security simple_bind=128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12177 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12178 The first set of lines tell slapd where to find the
12179 appropriate SSL certificates to present to clients when they request an encrypted
12180 transaction. The last setting tells slapd never to allow clients to present
12181 credentials (i.e. passwords) in an unencrypted session. It is a good security
12182 principle never to allow unencrypted passwords to traverse a network, so ensure that
12183 LDAP mandates this.</xccdf:description>
12184 </xccdf:Group>
12185 </xccdf:Group>
12186 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5">
12187 <xccdf:title xml:lang="en">Install Account Information into the LDAP Database</xccdf:title>
12188 <xccdf:description xml:lang="en">
12189 There are many ways to maintain an OpenLDAP database. Methods
12190 include: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12191 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12192 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
12193 <xhtml:li>Input entries in ldif(5) format into a file /path/to/new entries , and use
12194 slapadd to import those entries while slapd is not running: <xhtml:br/>
12195 <xhtml:br/>
12196 <xhtml:code># slapadd -l /path/to/new_entries </xhtml:code></xhtml:li>
12197 <xhtml:li>Write a script to create and modify LDAP entries by connecting to the LDAP
12198 server normally. The Perl Net::LDAP module is appropriate for this, there is a Python
12199 API called python-ldap, and functionality is likely available for other scripting
12200 languages as well. </xhtml:li>
12201 <xhtml:li>Use an LDAP front-end program which provides an interface for
12202 editing the database. If the front-end program is web-based or otherwise accessible over
12203 a network, ensure that authentication information is protected via SSL between the
12204 administrator's client and the program, as well as between the program and the LDAP
12205 database. </xhtml:li>
12206 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12208 Any of these methods or others may be appropriate for your site. This guide
12209 does not provide a recommendation, and there will be no further discussion of the syntax
12210 of entering LDAP data into the database.</xccdf:description>
12211 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.1">
12212 <xccdf:title xml:lang="en">Create Top-level LDAP Structure for Domain</xccdf:title>
12213 <xccdf:description xml:lang="en">
12214 Create a structure for the domain itself with at least the
12215 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12216 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12217 dn: dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12218 objectClass: dcObject <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12219 objectClass: organization <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12220 dc: example <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12221 o: Organization Description <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12222 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12223 This is a placeholder for the
12224 root of the domain's LDAP tree. Without this entry, LDAP will not be able to find any
12225 other entries for the domain.</xccdf:description>
12226 </xccdf:Group>
12227 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.2">
12228 <xccdf:title xml:lang="en">Create LDAP Structures for Users and Groups</xccdf:title>
12229 <xccdf:description xml:lang="en">
12230 Create LDAP structures for people (users) and for groups with
12231 at least the following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12232 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12233 dn: ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12234 ou: people<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12235 structuralObjectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12236 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12237 dn: ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12238 ou: groups <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12239 structuralObjectClass: organizationalUnit<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12240 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12241 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12242 Posix users and groups are the two top-level items
12243 which will be needed in order to use LDAP for authentication. These organizational
12244 units are used to identify the two categories within LDAP.</xccdf:description>
12245 </xccdf:Group>
12246 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.3">
12247 <xccdf:title xml:lang="en">Create Unix Accounts</xccdf:title>
12248 <xccdf:description xml:lang="en">
12249 For each Unix user, create an LDAP entry with at least the
12250 following attributes (others may be appropriate for your site as well), using variable
12251 values appropriate to that user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12252 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12253 dn: uid=username ,ou=people,dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12254 structuralObjectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12255 objectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12256 objectClass: posixAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12257 objectClass: shadowAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12258 cn: fullname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12259 sn: surname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12260 gecos: fullname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12261 gidNumber: primary-group-id <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12262 homeDirectory: /home/username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12263 loginShell: /path/to/shell<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12264 uid: username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12265 uidNumber: uid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12266 userPassword: {MD5}md5-hashed-password <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12267 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12268 If your site
12269 implements password expiration in which passwords must be changed every N days (see
12270 Section 2.3.1.7), then each entry should also have the attribute: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12272 shadowMax: N <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12273 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12274 In general, the LDAP schemas for users use uid to refer to the text username, and
12275 uidNumber for the numeric UID. This usage may be slightly confusing when compared to
12276 the standard Unix usage. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12277 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12278 You should not create entries for the root account or for
12279 system accounts which are unique to individual systems, but only for user accounts
12280 which are to be shared across machines, and which have authentication information
12281 (such as a password) associated with them.</xccdf:description>
12282 </xccdf:Group>
12283 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.4">
12284 <xccdf:title xml:lang="en">Create Unix Groups</xccdf:title>
12285 <xccdf:description xml:lang="en">
12286 For each Unix group, create an LDAP entry with at least the
12287 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12289 dn: cn=groupname ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12290 cn: groupname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12291 structuralObjectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12292 objectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12293 gidNumber: gid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12294 memberUid: username1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12295 memberUid: username2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12296 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12297 memberUid: usernameN <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12299 Note that each user has a
12300 primary group, identified by the gidNumber field in the user's account entry. That
12301 group must be created, but it is not necessary to list the user as a memberUid of the
12302 group. This behavior should be familiar to administrators, since it is identical to
12303 the handling of the /etc/passwd and /etc/group files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12305 Do not create entries for the
12306 root group or for system groups, but only for groups which contain human users or
12307 which are shared across systems.</xccdf:description>
12308 </xccdf:Group>
12309 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.5">
12310 <xccdf:title xml:lang="en">Create Groups to Administer LDAP</xccdf:title>
12311 <xccdf:description xml:lang="en">
12312 If a group of LDAP administrators, admins , is desired, that
12313 group must be created somewhat differently. The specification should have these
12314 attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12315 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12316 dn: cn=admins ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12317 cn: admins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12318 structuralObjectClass: groupOfUniqueNames <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12319 objectClass: groupOfUniqueNames<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12320 uniqueMember: cn=Manager,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12321 uniqueMember: uid=admin1-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12322 uniqueMember: uid=admin2-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12323 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12324 uniqueMember: uid=adminN-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12325 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12326 LDAP cannot use Posix groups for its own internal
12327 authentication — it needs to compare the username specified in an authenticated bind
12328 to some internal groupOfUniqueNames. If you do not specify an LDAP administrators'
12329 group, then all LDAP management will need to be done using the LDAP root user
12330 (Manager). For reasons of auditing and error detection, it is recommended that LDAP
12331 administrators have unique identities. (See Section 2.3.1.3 for similar reasoning
12332 applied to the use of sudo for privileged system commands.)</xccdf:description>
12333 </xccdf:Group>
12334 </xccdf:Group>
12335 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.6">
12336 <xccdf:title xml:lang="en">Configure slapd to Protect Authentication Information</xccdf:title>
12337 <xccdf:description xml:lang="en">
12338 Edit the file /etc/openldap/slapd.conf. Add or correct the
12339 following access specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12341 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
12342 <xhtml:li>Protect the user's password by allowing the user
12343 himself or the LDAP administrators to change it, allowing the anonymous user to
12344 authenticate against it, and allowing no other access: <xhtml:br/>
12345 <xhtml:br/>
12346 access to attrs=userPassword <xhtml:br/>
12347 by self write <xhtml:br/>
12348 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
12349 by anonymous auth <xhtml:br/>
12350 by * none <xhtml:br/>
12351 access to attrs=shadowLastChange <xhtml:br/>
12352 by self write <xhtml:br/>
12353 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
12354 by * read</xhtml:li>
12355 <xhtml:li>Allow anyone to read other
12356 information, and allow the administrators to change it: <xhtml:br/>
12357 <xhtml:br/>
12358 access to * by<xhtml:br/>
12359 group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
12360 by * read </xhtml:li>
12361 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12362 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12363 Access rules are applied in the order encountered, so more specific rules should
12364 appear first. In particular, the rule restricting access to userPassword must appear
12365 before the rule allowing access to all data. The shadowLastChange attribute is a
12366 timestamp, and is only critical if your site implements password expiration. If your
12367 site does not have an LDAP administrators group, the LDAP root user (called Manager in
12368 this guide) will be able to change data without an explicit access statement.</xccdf:description>
12369 </xccdf:Group>
12370 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.7">
12371 <xccdf:title xml:lang="en">Correct Permissions on LDAP Server Files</xccdf:title>
12372 <xccdf:description xml:lang="en">
12373 Correct the permissions on the ldap server's files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12374 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12375 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown ldap:root /var/lib/ldap/* <xhtml:br/></xhtml:code>
12376 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12377 Some manual methods of inserting information into the LDAP
12378 database may leave these files with incorrect permissions. This will prevent slapd from
12379 starting correctly.</xccdf:description>
12380 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.a" operator="equals" type="string">
12381 <xccdf:title>group owner of ldap files</xccdf:title>
12382 <xccdf:description xml:lang="en">Specify group owner of /var/lib/ldap/*.</xccdf:description>
12383 <xccdf:question xml:lang="en">Specify group owner of /var/lib/ldap/*</xccdf:question>
12384 <xccdf:value>root</xccdf:value>
12385 <xccdf:value selector="root">root</xccdf:value>
12386 </xccdf:Value>
12387 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.b" operator="equals" type="string">
12388 <xccdf:title>user owner of ldap files</xccdf:title>
12389 <xccdf:description xml:lang="en">Specify user owner of /var/lib/ldap/*.</xccdf:description>
12390 <xccdf:question xml:lang="en">Specify user owner of /var/lib/ldap/*</xccdf:question>
12391 <xccdf:value>ldap</xccdf:value>
12392 <xccdf:value selector="ldap">ldap</xccdf:value>
12393 </xccdf:Value>
12394 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.a" selected="false" weight="10.0">
12395 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
12396 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate group.</xccdf:description>
12397 <xccdf:ident system="http://cce.mitre.org">CCE-4484-2</xccdf:ident>
12398 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12399 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12400 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20290" value-id="xccdf_cdf_value_var-3.12.3.7.a"/>
12401 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20290"/>
12402 </xccdf:check>
12403 </xccdf:Rule>
12404 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.b" selected="false" weight="10.0">
12405 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
12406 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate user.</xccdf:description>
12407 <xccdf:ident system="http://cce.mitre.org">CCE-4502-1</xccdf:ident>
12408 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12409 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12410 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20291" value-id="xccdf_cdf_value_var-3.12.3.7.b"/>
12411 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20291"/>
12412 </xccdf:check>
12413 </xccdf:Rule>
12414 </xccdf:Group>
12415 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.8">
12416 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the LDAP Server</xccdf:title>
12417 <xccdf:description xml:lang="en">
12418 Determine an appropriate network block, netwk , and network
12419 mask, mask , representing the machines on your network which will synchronize to this
12420 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12422 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that they appear
12423 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12425 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 389 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12426 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 636 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12427 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12428 The default Iptables configuration does not allow inbound access to any services. These
12429 modifications allow access to the LDAP primary (389) and encrypted-only (636) ports,
12430 while keeping all other ports on the server in their default protected state. See
12431 Section 2.5.5 for more information about Iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12432 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12433 Note: Even if the LDAP server
12434 restricts connections so that only encrypted queries are allowed, it will probably be
12435 necessary to allow traffic to the default port 389. This is true because many LDAP
12436 clients implement encryption by connecting to the primary port and issuing the STARTTLS
12437 command.</xccdf:description>
12438 </xccdf:Group>
12439 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.9">
12440 <xccdf:title xml:lang="en">Configure Logging for LDAP</xccdf:title>
12441 <xccdf:description xml:lang="en">
12442 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
12443 <xhtml:li>Edit the file /etc/syslog.conf. Add or correct the following line: <xhtml:br/>
12444 <xhtml:br/>
12445 local4.* /var/log/ldap.log </xhtml:li>
12446 <xhtml:li>Create the log file with safe permissions: <xhtml:br/>
12447 <xhtml:br/>
12448 <xhtml:code># touch /var/log/ldap.log <xhtml:br/>
12449 # chown root:root /var/log/ldap.log <xhtml:br/>
12450 # chmod 0600 /var/log/ldap.log </xhtml:code></xhtml:li>
12451 <xhtml:li>Edit the file /etc/logrotate.d/syslog and add the pathname <xhtml:br/>
12452 <xhtml:br/>
12453 /var/log/ldap.log <xhtml:br/>
12454 <xhtml:br/>
12455 to the space-separated list in the first line. </xhtml:li>
12456 <xhtml:li>Edit the LDAP configuration file
12457 /etc/openldap/slapd.conf and set a reasonable set of default log parameters, such as:<xhtml:br/>
12458 <xhtml:br/>
12459 loglevel stats2 </xhtml:li>
12460 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12462 OpenLDAP sends its log data to the syslog facility local4 at priority
12463 debug. By default, RHEL5 does not store this facility at all. The syslog configuration
12464 suggested here will store any output logged by slapd in the file /var/log/ldap.log, and
12465 will include that file in the standard log rotation for syslog files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12466 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12467 By default, LDAP's
12468 logging is quite verbose. The loglevel parameter is a space-separated list of items to
12469 be logged. Specifying stats2 will reduce the log output somewhat, but this level will
12470 still produce some logging every time an LDAP query is made. (This may be appropriate,
12471 depending on your site's auditing requirements.) In order to capture only slapd startup
12472 messages, specify loglevel none. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12473 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12474 See slapd.conf(5) for detailed information about the
12475 loglevel parameter. See Section 2.6.1 for more information about syslog.</xccdf:description>
12476 </xccdf:Group>
12477 </xccdf:Group>
12478 </xccdf:Group>
12479 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13">
12480 <xccdf:title xml:lang="en">NFS and RPC</xccdf:title>
12481 <xccdf:description xml:lang="en">
12482 The Network File System is the most popular distributed filesystem
12483 for the Unix environment, and is very widely deployed. Unfortunately, NFS was not designed
12484 with security in mind, and has a number of weaknesses, both in terms of the protocol itself
12485 and because any NFS installation must expose several daemons, running on both servers and
12486 clients, to network attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12487 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12488 This section discusses the circumstances under which it is
12489 possible to disable NFS and its dependencies, and then details steps which should be taken
12490 to secure, as much as possible, NFS's configuration. This section is relevant to machines
12491 operating as NFS clients, as well as to those operating as NFS servers.</xccdf:description>
12492 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1">
12493 <xccdf:title xml:lang="en">Disable All NFS Services if Possible</xccdf:title>
12494 <xccdf:description xml:lang="en">
12495 Is there a mission-critical reason for this machine to operate as
12496 either an NFS client or an NFS server? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12497 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12498 If not, follow all instructions in the remainder of
12499 Section 3.13.1 to disable subsystems required by NFS. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12500 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12501 NFS is a commonly used mechanism for
12502 sharing data between machines in an organization. However, its use opens many potential
12503 security holes. If NFS is not universally needed in your organization, improve the
12504 security posture of any machine which does not require NFS by disabling it entirely.</xccdf:description>
12505 <xccdf:warning xml:lang="en">The steps in Section 3.13.1 will prevent a machine from operating
12506 as either an NFS client or an NFS server. Only perform these steps on machines which do
12507 not need NFS at all. </xccdf:warning>
12508 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.1">
12509 <xccdf:title xml:lang="en">Disable Services Used Only by NFS</xccdf:title>
12510 <xccdf:description xml:lang="en">
12511 If NFS is not needed, perform the following steps to disable
12512 NFS client daemons: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12513 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfslock off <xhtml:br/>
12514 # chkconfig rpcgssd off <xhtml:br/>
12515 # chkconfig rpcidmapd off <xhtml:br/></xhtml:code>
12516 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12517 The nfslock, rpcgssd, and rpcidmapd daemons all perform NFS client functions. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12518 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12519 All of these daemons run with elevated privileges, and many listen for
12520 network connections. If they are not needed, they should be disabled to improve system
12521 security posture.</xccdf:description>
12522 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false" severity="low" weight="10.0">
12523 <xccdf:title>Disable nfslock</xccdf:title>
12524 <xccdf:description>The nfslock service should be disabled.</xccdf:description>
12525 <xccdf:ident system="http://cce.mitre.org">CCE-4396-8</xccdf:ident>
12526 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12527 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12528 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20292"/>
12529 </xccdf:check>
12530 </xccdf:Rule>
12531 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false" severity="low" weight="10.0">
12532 <xccdf:title>Disable rpcgssd</xccdf:title>
12533 <xccdf:description>The rpcgssd service should be disabled.</xccdf:description>
12534 <xccdf:ident system="http://cce.mitre.org">CCE-3535-2</xccdf:ident>
12535 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12536 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12537 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20293"/>
12538 </xccdf:check>
12539 </xccdf:Rule>
12540 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false" severity="low" weight="10.0">
12541 <xccdf:title>Disable rpcidmapd</xccdf:title>
12542 <xccdf:description>The rpcidmapd service should be disabled.</xccdf:description>
12543 <xccdf:ident system="http://cce.mitre.org">CCE-3568-3</xccdf:ident>
12544 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12545 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12546 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20294"/>
12547 </xccdf:check>
12548 </xccdf:Rule>
12549 </xccdf:Group>
12550 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.2">
12551 <xccdf:title xml:lang="en">Disable netfs if Possible</xccdf:title>
12552 <xccdf:description xml:lang="en">
12553 Determine whether any network filesystems handled by netfs are
12554 mounted on this system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12555 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12556 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mount -t nfs,nfs4,smbfs,cifs,ncpfs <xhtml:br/></xhtml:code>
12557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12558 If this command returns no output, disable netfs to improve system security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12559 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12560 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig netfs off <xhtml:br/></xhtml:code>
12561 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12562 The netfs script
12563 manages the boot-time mounting of several types of networked filesystems, of which NFS
12564 and Samba (see Section 3.18) are the most common. If these filesystem types are not in
12565 use, the script can be disabled, protecting the system somewhat against accidental or
12566 malicious changes to /etc/fstab and against flaws in the netfs script itself.</xccdf:description>
12567 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false" severity="low" weight="10.0">
12568 <xccdf:title>Disable netfs if Possible</xccdf:title>
12569 <xccdf:description>The netfs service should be disabled.</xccdf:description>
12570 <xccdf:ident system="http://cce.mitre.org">CCE-4533-6</xccdf:ident>
12571 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12572 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12573 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20295"/>
12574 </xccdf:check>
12575 </xccdf:Rule>
12576 </xccdf:Group>
12577 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.3">
12578 <xccdf:title xml:lang="en">Disable RPC Portmapper if Possible</xccdf:title>
12579 <xccdf:description xml:lang="en">
12580 If: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12581 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12582 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
12583 <xhtml:li>NFS is not needed </xhtml:li>
12584 <xhtml:li>The site does not rely on NIS for authentication information, and </xhtml:li>
12585 <xhtml:li>The machine does not run any other RPC-based service</xhtml:li>
12586 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12587 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12588 then disable the RPC portmapper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12589 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12590 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig portmap off <xhtml:br/></xhtml:code>
12591 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12592 By design, the RPC
12593 model does not require particular services to listen on fixed ports, but instead uses a
12594 daemon, portmap, to tell prospective clients which ports to use to contact the services
12595 they are trying to reach. This model weakens system security by introducing another
12596 privileged daemon which may be directly attacked, and is unnecessary because RPC was
12597 never adopted by enough services to risk using up all the ports on a system.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12599 Unfortunately, the portmapper is central to RPC design, so it cannot be disabled if your
12600 site is using any RPCbased services, including NFS, NIS (see Section 3.2.4 for
12601 information about NIS, which is not recommended), or any third-party or custom RPC-based
12602 program. If none of these programs are in use, however, portmap should be disabled to
12603 improve system security. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12604 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12605 In order to get more information about whether portmap may be
12606 disabled on a given host, query the local portmapper using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12608 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpcinfo -p <xhtml:br/></xhtml:code>
12609 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12610 If the only services listed are portmapper and status, it is safe to disable the
12611 portmapper. If other services are listed and your site is not running NFS or NIS,
12612 investigate these services and disable them if possible.</xccdf:description>
12613 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.3.a" selected="false" severity="low" weight="10.0">
12614 <xccdf:title>Disable RPC Portmapper if Possible</xccdf:title>
12615 <xccdf:description>The portmap service should be disabled.</xccdf:description>
12616 <xccdf:ident system="http://cce.mitre.org">CCE-4550-0</xccdf:ident>
12617 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12618 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12619 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20296"/>
12620 </xccdf:check>
12621 </xccdf:Rule>
12622 </xccdf:Group>
12623 </xccdf:Group>
12624 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2">
12625 <xccdf:title xml:lang="en">Configure All Machines which Use NFS</xccdf:title>
12626 <xccdf:description xml:lang="en">The steps in this section are appropriate for all machines which run NFS, whether they operate as clients or as servers.</xccdf:description>
12627 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.1">
12628 <xccdf:title xml:lang="en">Make Each Machine a Client or a Server, not Both</xccdf:title>
12629 <xccdf:description xml:lang="en">
12630 If NFS must be used, it should be deployed in the simplest
12631 configuration possible to avoid maintainability problems which may lead to unnecessary
12632 security exposure. Due to the reliability and security problems caused by NFS, it is not
12633 a good idea for machines which act as NFS servers to also mount filesystems via NFS. At
12634 the least, crossed mounts (the situation in which each of two servers mounts a
12635 filesystem from the other) should never be used.</xccdf:description>
12636 </xccdf:Group>
12637 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.2">
12638 <xccdf:title xml:lang="en">Restrict Access to the Portmapper</xccdf:title>
12639 <xccdf:description xml:lang="en">
12640 Edit the file /etc/hosts.deny. Add or correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12641 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12642 portmap: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12643 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12644 Edit the file /etc/hosts.allow. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12645 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12646 portmap: IPADDR1 , IPADDR2 , ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12647 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12648 where each IPADDR is the IP address of a server or client with which this
12649 machine shares NFS filesystems. If the machine is an NFS server, it may be simpler to
12650 use an IP netblock specification, such as 10.3.2. (this is the TCP Wrappers syntax
12651 representing the netblock 10.3.2.0/24), or a hostname specification, such as
12652 .subdomain.example.com. The use of hostnames is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12653 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12654 The /etc/hosts.allow
12655 and /etc/hosts.deny files are used by TCP Wrappers to determine whether specified remote
12656 hosts are allowed to access certain services. The default portmapper shipped with RHEL5
12657 has TCP Wrappers support built in, so this specification can be used to provide some
12658 protection against network attacks on the portmapper. (See Section 2.5.4 for more
12659 information about TCP Wrappers.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12660 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12661 Note: This step protects only the portmap service
12662 itself. It is still possible for attackers to guess the port numbers of NFS services and
12663 attack those services directly, even if they are denied access to the portmapper.</xccdf:description>
12664 </xccdf:Group>
12665 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.3">
12666 <xccdf:title xml:lang="en">Configure NFS Services to Use Fixed Ports</xccdf:title>
12667 <xccdf:description xml:lang="en">
12668 Edit the file /etc/sysconfig/nfs. Add or correct the following
12669 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12671 LOCKD_TCPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12672 LOCKD_UDPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12673 MOUNTD_PORT=mountd-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12674 RQUOTAD_PORT=rquotad-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12675 STATD_PORT=statd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12676 STATD_OUTGOING_PORT=statd-outgoing-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12677 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12678 where each X-port is a port which is not used by any other service on your network.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12679 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12680 Firewalling should be done at each host and at the border firewalls to protect the NFS
12681 daemons from remote access, since NFS servers should never be accessible from outside
12682 the organization. However, by default, the portmapper assigns each NFS service to a port
12683 dynamically at service startup time. Dynamic ports cannot be protected by port filtering
12684 firewalls such as iptables (Section 2.5.5). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12685 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12686 Therefore, restrict each service to always
12687 use a given port, so that firewalling can be done effectively. Note that, because of the
12688 way RPC is implemented, it is not possible to disable the portmapper even if ports are
12689 assigned statically to all RPC services.</xccdf:description>
12690 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false" weight="10.0">
12691 <xccdf:title>Configure lockd to Use Fixed Ports for TCP</xccdf:title>
12692 <xccdf:description>The lockd service should be configured to use a static port for TCP</xccdf:description>
12693 <xccdf:ident system="http://cce.mitre.org">CCE-4559-1</xccdf:ident>
12694 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12695 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12696 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20297"/>
12697 </xccdf:check>
12698 </xccdf:Rule>
12699 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false" weight="10.0">
12700 <xccdf:title>Configure statd to Use an outgoing static port</xccdf:title>
12701 <xccdf:description>The statd service should be configured to use an outgoing static port</xccdf:description>
12702 <xccdf:ident system="http://cce.mitre.org">CCE-4015-4</xccdf:ident>
12703 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12704 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12705 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20298"/>
12706 </xccdf:check>
12707 </xccdf:Rule>
12708 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false" weight="10.0">
12709 <xccdf:title>Configure statd to Use a static port</xccdf:title>
12710 <xccdf:description>The statd service should be configured to use a static port</xccdf:description>
12711 <xccdf:ident system="http://cce.mitre.org">CCE-3667-3</xccdf:ident>
12712 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12713 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12714 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20299"/>
12715 </xccdf:check>
12716 </xccdf:Rule>
12717 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false" weight="10.0">
12718 <xccdf:title>Configure lockd to Use a static port for UDP</xccdf:title>
12719 <xccdf:description>The lockd service should be configured to use a static port for UDP</xccdf:description>
12720 <xccdf:ident system="http://cce.mitre.org">CCE-4310-9</xccdf:ident>
12721 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12722 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12723 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20300"/>
12724 </xccdf:check>
12725 </xccdf:Rule>
12726 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false" weight="10.0">
12727 <xccdf:title>Configure mountd to Use a static port</xccdf:title>
12728 <xccdf:description>The mountd service should be configured to use a static port</xccdf:description>
12729 <xccdf:ident system="http://cce.mitre.org">CCE-4438-8</xccdf:ident>
12730 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12731 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12732 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20301"/>
12733 </xccdf:check>
12734 </xccdf:Rule>
12735 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false" weight="10.0">
12736 <xccdf:title>Configure rquotad to Use Fixed Ports</xccdf:title>
12737 <xccdf:description>The rquotad service should be configured to use a static port</xccdf:description>
12738 <xccdf:ident system="http://cce.mitre.org">CCE-3579-0</xccdf:ident>
12739 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12740 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12741 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20302"/>
12742 </xccdf:check>
12743 </xccdf:Rule>
12744 </xccdf:Group>
12745 </xccdf:Group>
12746 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3">
12747 <xccdf:title xml:lang="en">Configure NFS Clients</xccdf:title>
12748 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS clients.</xccdf:description>
12749 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.1">
12750 <xccdf:title xml:lang="en">Disable NFS Server Daemons</xccdf:title>
12751 <xccdf:description xml:lang="en">
12752 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfs off <xhtml:br/>
12753 # chkconfig rpcsvcgssd off <xhtml:br/></xhtml:code>
12754 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12755 There is no need
12756 to run the NFS server daemons except on a small number of properly secured machines
12757 designated as NFS servers. Ensure that these daemons are turned off on clients.</xccdf:description>
12758 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false" severity="low" weight="10.0">
12759 <xccdf:title>Disable nfs service</xccdf:title>
12760 <xccdf:description>The nfs service should be disabled</xccdf:description>
12761 <xccdf:ident system="http://cce.mitre.org">CCE-4473-5</xccdf:ident>
12762 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12763 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12764 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20303"/>
12765 </xccdf:check>
12766 </xccdf:Rule>
12767 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false" severity="low" weight="10.0">
12768 <xccdf:title>Disable rpcsvcgssd service</xccdf:title>
12769 <xccdf:description>The rpcsvcgssd service should be disabled</xccdf:description>
12770 <xccdf:ident system="http://cce.mitre.org">CCE-4491-7</xccdf:ident>
12771 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12772 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12773 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20304"/>
12774 </xccdf:check>
12775 </xccdf:Rule>
12776 </xccdf:Group>
12777 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.2">
12778 <xccdf:title xml:lang="en">Mount Remote Filesystems with Restrictive Options</xccdf:title>
12779 <xccdf:description xml:lang="en">
12780 Edit the file /etc/fstab. For each filesystem whose type
12781 (column 3) is nfs or nfs4, add the text ,nodev,nosuid to the list of mount options in
12782 column 4. If appropriate, also add ,noexec. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12783 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12784 See Section 2.2.1.2 for a description of the
12785 effects of these options. In general, execution of files mounted via NFS should be
12786 considered risky because of the possibility that an adversary could intercept the
12787 request and substitute a malicious file. Allowing setuid files to be executed from
12788 remote servers is particularly risky, both for this reason and because it requires the
12789 clients to extend root-level trust to the NFS server.</xccdf:description>
12790 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false" weight="10.0">
12791 <xccdf:title>Mount Remote Filesystems with nodev</xccdf:title>
12792 <xccdf:description>The nodev option should be enabled for all NFS mounts</xccdf:description>
12793 <xccdf:ident system="http://cce.mitre.org">CCE-4368-7</xccdf:ident>
12794 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12795 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12796 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20305"/>
12797 </xccdf:check>
12798 </xccdf:Rule>
12799 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false" severity="medium" weight="10.0">
12800 <xccdf:title>Mount Remote Filesystems with nosuid</xccdf:title>
12801 <xccdf:description>The nosuid option should be enabled for all NFS mounts</xccdf:description>
12802 <xccdf:ident system="http://cce.mitre.org">CCE-4024-6</xccdf:ident>
12803 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12804 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12805 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20306"/>
12806 </xccdf:check>
12807 </xccdf:Rule>
12808 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false" severity="medium" weight="10.0">
12809 <xccdf:title>Mount Remote Filesystems with noexec</xccdf:title>
12810 <xccdf:description>The noexec option should be enabled for all NFS mounts</xccdf:description>
12811 <xccdf:ident system="http://cce.mitre.org">CCE-4526-0</xccdf:ident>
12812 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12813 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12814 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20307"/>
12815 </xccdf:check>
12816 </xccdf:Rule>
12817 </xccdf:Group>
12818 </xccdf:Group>
12819 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4">
12820 <xccdf:title xml:lang="en">Configure NFS Servers</xccdf:title>
12821 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS servers.</xccdf:description>
12822 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1">
12823 <xccdf:title xml:lang="en">Configure the Exports File Restrictively</xccdf:title>
12824 <xccdf:description xml:lang="en">
12825 Linux's NFS implementation uses the file /etc/exports to
12826 control what filesystems and directories may be accessed via NFS. (See the exports(5)
12827 manpage for more information about the format of this file.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12829 The syntax of the exports
12830 file is not necessarily checked fully on reload, and syntax errors can leave your NFS
12831 configuration more open than intended. Therefore, exercise caution when modifying the
12832 file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12833 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12834 The syntax of each line in /etc/exports is <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12835 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12836 /DIR ipaddr1 (opt1 ,opt2 ) ipaddr2 (opt3 ) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12837 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12838 where /DIR is a directory or filesystem to export, ipaddrN is an IP address,
12839 netblock, hostname, domain, or netgroup to which to export, and optN is an option.</xccdf:description>
12840 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.1">
12841 <xccdf:title xml:lang="en">Use Access Lists to Enforce Authorization Restrictions on Mounts</xccdf:title>
12842 <xccdf:description xml:lang="en">
12843 Edit /etc/exports. Ensure that each export line contains a
12844 set of IP addresses or hosts which are allowed to access that export. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12845 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12846 If no IP
12847 addresses or hostnames are specified on an export line, then that export is available
12848 to any remote host which requests it. All lines of the exports file should specify the
12849 hosts (or subnets, if needed) which are allowed to access the exported directory, so
12850 that unknown or remote hosts will be denied.</xccdf:description>
12851 </xccdf:Group>
12852 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.2">
12853 <xccdf:title xml:lang="en">Use Root-Squashing on All Exports</xccdf:title>
12854 <xccdf:description xml:lang="en">
12855 Edit /etc/exports. Ensure that no line contains the option no_root_squash. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12856 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12857 If a filesystem is exported using root squashing, requests from root on
12858 the client are considered to be unprivileged (mapped to a user such as nobody). This
12859 provides some mild protection against remote abuse of an NFS server. Root squashing is
12860 enabled by default, and should not be disabled.</xccdf:description>
12861 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false" weight="10.0">
12862 <xccdf:title>Use Root-Squashing on All Exports</xccdf:title>
12863 <xccdf:description>Root squashing should be enabled for all NFS shares</xccdf:description>
12864 <xccdf:ident system="http://cce.mitre.org">CCE-4544-3</xccdf:ident>
12865 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12866 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12867 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20308"/>
12868 </xccdf:check>
12869 </xccdf:Rule>
12870 </xccdf:Group>
12871 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.3">
12872 <xccdf:title xml:lang="en">Restrict NFS Clients to Privileged Ports</xccdf:title>
12873 <xccdf:description xml:lang="en">
12874 Edit /etc/exports. Ensure that no line contains the option insecure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12876 By default, Linux's NFS implementation requires that all client requests be
12877 made from ports less than 1024. If your organization has control over machines
12878 connected to its network, and if NFS requests are prohibited at the border firewall,
12879 this offers some protection against malicious requests from unprivileged users.
12880 Therefore, the default should not be changed.</xccdf:description>
12881 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false" weight="10.0">
12882 <xccdf:title>Restrict NFS Clients to Privileged Ports</xccdf:title>
12883 <xccdf:description>Restriction of NFS clients to privileged ports should be enabled</xccdf:description>
12884 <xccdf:ident system="http://cce.mitre.org">CCE-4465-1</xccdf:ident>
12885 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12886 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12887 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20309"/>
12888 </xccdf:check>
12889 </xccdf:Rule>
12890 </xccdf:Group>
12891 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.4">
12892 <xccdf:title xml:lang="en">Export Filesystems Read-Only if Possible</xccdf:title>
12893 <xccdf:description xml:lang="en">
12894 Edit /etc/exports. Ensure that every line contains the option
12895 ro and does not contain the option rw, unless there is an operational need for remote
12896 clients to modify that filesystem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12898 If a filesystem is being exported so that users can
12899 view the files in a convenient fashion, but there is no need for users to edit those
12900 files, exporting the filesystem read-only removes an attack vector against the server.
12901 The default filesystem export mode is ro, so do not specify rw without a good reason.</xccdf:description>
12902 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false" weight="10.0">
12903 <xccdf:title>Export Filesystems Read-Only if Possible</xccdf:title>
12904 <xccdf:description>Write access to NFS shares should be disabled</xccdf:description>
12905 <xccdf:ident system="http://cce.mitre.org">CCE-4350-5</xccdf:ident>
12906 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12907 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12908 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20310"/>
12909 </xccdf:check>
12910 </xccdf:Rule>
12911 </xccdf:Group>
12912 </xccdf:Group>
12913 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.2">
12914 <xccdf:title xml:lang="en">Allow Legitimate NFS Clients to Access the Server</xccdf:title>
12915 <xccdf:description xml:lang="en">
12916 Determine an appropriate network block, netwk , and network
12917 mask, mask , representing the machines on your network which must mount NFS filesystems
12918 from this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12920 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that
12921 they appear before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12922 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12923 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p udp --dport 111 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12924 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 111 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12925 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 2049 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12926 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12927 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport lockd-port -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12928 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p udp --dport lockd-port -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12929 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport mountd-port -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12930 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p udp --dport mountd-port -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12931 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport rquotad-port -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12932 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p udp --dport rquotad-port -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12933 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport statd-port -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12934 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p udp --dport statd-port -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12935 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12936 where the variable port numbers match those selected in Section 3.13.2.3 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12937 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12938 The default iptables configuration does not allow inbound access to any services. This
12939 modification will allow the specified block of remote hosts to initiate connections to
12940 the set of NFS daemons, while keeping all other ports on the server in their default
12941 protected state. See Section 2.5.5 for more information about iptables.</xccdf:description>
12942 </xccdf:Group>
12943 </xccdf:Group>
12944 </xccdf:Group>
12945 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14">
12946 <xccdf:title xml:lang="en">DNS Server</xccdf:title>
12947 <xccdf:description xml:lang="en">Most organizations have an operational need to run at least one nameserver. However, there are many common attacks involving DNS, be configured defensively.</xccdf:description>
12948 <xccdf:reference>Liu, C. DNS &amp; BIND Cookbook. O’Reilly and Associates, Oct 2002</xccdf:reference>
12949 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.1">
12950 <xccdf:title xml:lang="en">Disable DNS Server if Possible</xccdf:title>
12951 <xccdf:description xml:lang="en">
12952 Is there an operational need for this machine to act as a DNS
12953 server for this site? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12954 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12955 If not, disable the software and remove it from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12956 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12957 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig named off <xhtml:br/>
12958 # yum erase bind <xhtml:br/></xhtml:code>
12959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12960 DNS software should be disabled on any machine which
12961 does not need to be a nameserver. Note that the BIND DNS server software is not installed
12962 on RHEL5 by default. The remainder of this section discusses secure configuration of
12963 machines which must be nameservers.</xccdf:description>
12964 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.a" selected="false" severity="low" weight="10.0">
12965 <xccdf:title>Disable DNS Server if Possible</xccdf:title>
12966 <xccdf:description>The named service should be disabled.</xccdf:description>
12967 <xccdf:ident system="http://cce.mitre.org">CCE-3578-2</xccdf:ident>
12968 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12969 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12970 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20311"/>
12971 </xccdf:check>
12972 </xccdf:Rule>
12973 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.b" selected="false" weight="10.0">
12974 <xccdf:title>Uninstall bind if Possible</xccdf:title>
12975 <xccdf:description>The bind package should be uninstalled.</xccdf:description>
12976 <xccdf:ident system="http://cce.mitre.org">CCE-4219-2</xccdf:ident>
12977 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
12978 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12979 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20312"/>
12980 </xccdf:check>
12981 </xccdf:Rule>
12982 </xccdf:Group>
12983 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.2">
12984 <xccdf:title xml:lang="en">Run the BIND9 Software if DNS Service is Needed</xccdf:title>
12985 <xccdf:description xml:lang="en">
12986 It is highly recommended that the BIND9 software be used to
12987 provide DNS service. BIND is the Internet standard Unix nameserver, and, while it has had
12988 security problems in the past, it is also well-maintained and Red Hat is likely to quickly
12989 issue updates in response to any problems discovered in the future. In addition, BIND
12990 version 9 has new security features and more secure default settings than earlier
12991 versions. In particular, BIND version 4 is no longer recommended for production use, and
12992 BIND4 servers should be upgraded to a newer version as soon as possible.</xccdf:description>
12993 </xccdf:Group>
12994 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3">
12995 <xccdf:title xml:lang="en">Isolate DNS from Other Services</xccdf:title>
12996 <xccdf:description xml:lang="en">
12997 This section discusses mechanisms for preventing the DNS server
12998 from interfering with other services. This is done both to protect the remainder of the
12999 network should a nameserver be compromised, and to make direct attacks on nameservers more
13000 difficult.</xccdf:description>
13001 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.1">
13002 <xccdf:title xml:lang="en">Run DNS Software on Dedicated Servers if Possible</xccdf:title>
13003 <xccdf:description xml:lang="en">
13004 Since DNS is a high-risk service which must frequently be made
13005 available to the entire Internet, it is strongly recommended that no other services be
13006 offered by machines which act as organizational DNS servers.</xccdf:description>
13007 </xccdf:Group>
13008 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.2">
13009 <xccdf:title xml:lang="en">Run DNS Software in a chroot Jail</xccdf:title>
13010 <xccdf:description xml:lang="en">
13011 Install the bind-chroot package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13012 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13013 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install bind-chroot<xhtml:br/></xhtml:code>
13014 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13015 Place a valid named.conf file inside the chroot jail: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13016 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp /etc/named.conf /var/named/chroot/etc/named.conf <xhtml:br/>
13017 # chown root:root /var/named/chroot/etc/named.conf <xhtml:br/>
13018 # chmod 644 /var/named/chroot/etc/named.conf <xhtml:br/></xhtml:code>
13019 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13020 Create and populate an appropriate zone
13021 directory within the jail, based on the options directive. If your named.conf includes:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13022 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13023 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13024 directory "/path/to/DIRNAME "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13025 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13026 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13027 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13028 then copy that directory and its contents from the original zone directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13029 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13030 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp -r /path/to/DIRNAME /var/named/chroot/DIRNAME<xhtml:br/></xhtml:code>
13031 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13032 Edit the file /etc/sysconfig/named. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13034 ROOTDIR=/var/named/chroot<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13035 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13036 Chroot jails are not foolproof. However, they serve to make it more difficult for a
13037 compromised program to be used to attack the entire host. They do this by restricting a
13038 program's ability to traverse the directory upward, so that files outside the jail are
13039 not visible to the chrooted process. Since RHEL5 supports a standard mechanism for
13040 placing BIND in a chroot jail, you should take advantage of this feature. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13041 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13042 Note: If you
13043 are running BIND in a chroot jail, then you should use the jailed named.conf as the
13044 primary nameserver configuration file. That is, when this guide recommends editing
13045 /etc/named.conf, you should instead edit /var/named/chroot/etc/named.conf.</xccdf:description>
13046 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.a" operator="equals" type="string">
13047 <xccdf:title>group owner of jail</xccdf:title>
13048 <xccdf:description xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:description>
13049 <xccdf:question xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:question>
13050 <xccdf:value>root</xccdf:value>
13051 <xccdf:value selector="root">root</xccdf:value>
13052 </xccdf:Value>
13053 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.b" operator="equals" type="string">
13054 <xccdf:title>user owner of jail</xccdf:title>
13055 <xccdf:description xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:description>
13056 <xccdf:question xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:question>
13057 <xccdf:value>root</xccdf:value>
13058 <xccdf:value selector="root">root</xccdf:value>
13059 </xccdf:Value>
13060 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.c" operator="equals" type="string">
13061 <xccdf:title>permisison of jail</xccdf:title>
13062 <xccdf:description xml:lang="en">Specify file permissions on /var/named/chroot/etc/named.conf</xccdf:description>
13063 <xccdf:question xml:lang="en">Specify permissions of /var/named/chroot/etc/named.conf</xccdf:question>
13064 <xccdf:value>110100100</xccdf:value>
13065 <xccdf:value selector="400">100000000</xccdf:value>
13066 <xccdf:value selector="644">110100100</xccdf:value>
13067 <xccdf:value selector="700">111000000</xccdf:value>
13068 <xccdf:match>^[01]+$</xccdf:match>
13069 </xccdf:Value>
13070 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false" weight="10.0">
13071 <xccdf:title>Run DNS Software in a chroot Jail owned by root group</xccdf:title>
13072 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group.</xccdf:description>
13073 <xccdf:ident system="http://cce.mitre.org">CCE-3985-9</xccdf:ident>
13074 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
13075 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13076 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20313" value-id="xccdf_cdf_value_var-3.14.3.2.a"/>
13077 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20313"/>
13078 </xccdf:check>
13079 </xccdf:Rule>
13080 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false" weight="10.0">
13081 <xccdf:title>Run DNS Software in a chroot Jail owned by root user</xccdf:title>
13082 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user.</xccdf:description>
13083 <xccdf:ident system="http://cce.mitre.org">CCE-4258-0</xccdf:ident>
13084 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
13085 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13086 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20314" value-id="xccdf_cdf_value_var-3.14.3.2.b"/>
13087 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20314"/>
13088 </xccdf:check>
13089 </xccdf:Rule>
13090 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false" weight="10.0">
13091 <xccdf:title>Set permissions on chroot Jail for DNS</xccdf:title>
13092 <xccdf:description>File permissions for /var/named/chroot/etc/named.conf should be set correctly.</xccdf:description>
13093 <xccdf:ident system="http://cce.mitre.org">CCE-4487-5</xccdf:ident>
13094 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
13095 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13096 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20315" value-id="xccdf_cdf_value_var-3.14.3.2.c"/>
13097 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20315"/>
13098 </xccdf:check>
13099 </xccdf:Rule>
13100 </xccdf:Group>
13101 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.3">
13102 <xccdf:title xml:lang="en">Configure Firewalls to Protect the DNS Server</xccdf:title>
13103 <xccdf:description xml:lang="en">
13104 Edit the file /etc/sysconfig/iptables. Add the following lines,
13105 ensuring that they appear before the final LOG and DROP lines for the
13106 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13108 -A RH-Firewall-1-INPUT -m state --state NEW -p udp --dport 53 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13109 -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 53 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13110 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13111 These
13112 lines are necessary in order to allow remote machines to contact the DNS server. If this
13113 server is only available to the local network, it may be appropriate to insert a -s flag
13114 into this rule to allow traffic only from packets on the local network. See Section
13115 3.5.1.2 for an example of such a modification. See Section 2.5.5 for general information
13116 about iptables.</xccdf:description>
13117 </xccdf:Group>
13118 </xccdf:Group>
13119 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4">
13120 <xccdf:title xml:lang="en">Protect DNS Data from Tampering or Attack</xccdf:title>
13121 <xccdf:description xml:lang="en">This section discusses DNS configuration options which make it more difficult for attackers to gain access to private DNS data or to modify DNS data.</xccdf:description>
13122 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.1">
13123 <xccdf:title xml:lang="en">Run Separate DNS Servers for External and Internal Queries if
13124 Possible</xccdf:title>
13125 <xccdf:description xml:lang="en">
13126 Is it possible to run external and internal nameservers on
13127 separate machines? If so, follow the configuration guidance in this section. If not, see
13128 Section 3.14.4.2 for an alternate approach using BIND9. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13129 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13130 On the external nameserver, edit /etc/named.conf. Add or correct the following
13131 directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13132 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13133 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13134 allow-query { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13135 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13136 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13137 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13138 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13139 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13140 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13141 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13142 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13143 On the internal nameserver, edit
13144 /etc/named.conf. Add or correct the following directives, where SUBNET is the numerical
13145 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13146 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13147 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13148 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13149 localhost; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13150 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13151 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13152 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13153 allow-query { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13154 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13155 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13156 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13157 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13158 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13159 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13160 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13161 Enterprise nameservers generally serve two
13162 functions. One is to provide public information about the machines in a domain for the
13163 benefit of outside users who wish to contact those machines, for instance in order to
13164 send mail to users in the enterprise, or to visit the enterprise's external web page.
13165 The other is to provide nameservice to client machines within the enterprise. Client
13166 machines require both private information about enterprise machines (which may be
13167 different from the public information served to the rest of the world) and public
13168 information about machines outside the enterprise, which is used to send mail or visit
13169 websites outside of the organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13170 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13171 In order to provide the public nameservice
13172 function, it is necessary to share data with untrusted machines which request it —
13173 otherwise, the enterprise cannot be conveniently contacted by outside users. However,
13174 internal data should be protected from disclosure, and serving irrelevant public name
13175 queries for outside domains leaves the DNS server open to cache poisoning and other
13176 attacks. Therefore, local network nameservice functions should not be provided to
13177 untrusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13178 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13179 Separate machines should be used to fill these two functions whenever possible.</xccdf:description>
13180 </xccdf:Group>
13181 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.2">
13182 <xccdf:title xml:lang="en">Use Views to Partition External and Internal Information if Necessary</xccdf:title>
13183 <xccdf:description xml:lang="en">
13184 If it is not possible to run external and internal nameservers
13185 on separate physical machines, run BIND9 and simulate this feature using views. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13186 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13187 Edit
13188 /etc/named.conf. Add or correct the following directives (where SUBNET is the numerical
13189 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13190 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13191 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13192 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13193 localhost; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13194 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13196 view "internal-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13197 match-clients { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13198 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13199 zone "." IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13200 type hint; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13201 file "db.cache"; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13202 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13203 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13204 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13205 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13206 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13207 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13208 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13209 view "external-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13210 match-clients { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13211 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13212 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13213 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13214 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13215 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13216 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13217 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13218 The view feature is provided by BIND9 as a way to allow a single nameserver to make
13219 different sets of data available to different sets of clients. If possible, it is always
13220 better to run external and internal nameservers on separate machines, so that even
13221 complete compromise of the external server cannot be used to obtain internal data or
13222 confuse internal DNS clients. However, this is not always feasible, and use of a feature
13223 like views is preferable to leaving internal DNS data entirely unprotected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13224 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13225 Note: As
13226 shown in the example, database files which are required for recursion, such as the root
13227 hints file, must be available to any clients which are allowed to make recursive
13228 queries. Under typical circumstances, this includes only the internal clients which are
13229 allowed to use this server as a general-purpose nameserver.</xccdf:description>
13230 </xccdf:Group>
13231 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.3">
13232 <xccdf:title xml:lang="en">Disable Zone Transfers from the Nameserver if Possible</xccdf:title>
13233 <xccdf:description xml:lang="en">
13234 Is it necessary for a secondary nameserver to receive zone data
13235 via zone transfer from the primary server? If not, follow the instructions in this
13236 section. If so, see the next section for instructions on protecting zone transfers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13237 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13238 Edit /etc/named.conf. Add or correct the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13239 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13240 options { allow-transfer { none; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13241 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13242 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13243 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13244 If both the primary and secondary nameserver are under your control, or
13245 if you have only one nameserver, it may be possible to use an external configuration
13246 management mechanism to distribute zone updates. In that case, it is not necessary to
13247 allow zone transfers within BIND itself, so they should be disabled to avoid the
13248 potential for abuse.</xccdf:description>
13249 </xccdf:Group>
13250 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.4">
13251 <xccdf:title xml:lang="en">Authenticate Zone Transfers if Necessary</xccdf:title>
13252 <xccdf:description xml:lang="en">
13253 If it is necessary for a secondary nameserver to receive zone
13254 data via zone transfer from the primary server, follow the instructions here. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13255 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13256 Use dnssec-keygen to create a symmetric key file in the current directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13257 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13258 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /tmp <xhtml:br/>
13259 # dnssec-keygen -a HMAC-MD5 -b 128 -n HOST dns.example.com <xhtml:br/></xhtml:code>
13260 Kdns.example.com .+aaa +iiiii<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13261 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13262 This output is the name of a file containing the new key. Read the file to find the
13263 base64-encoded key string: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13264 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13265 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cat Kdns.example.com.+NNN+MMMMM.key <xhtml:br/></xhtml:code>
13266 dns.example.com IN KEY 512 3 157 base64-key-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13267 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13268 Edit /etc/named.conf on the primary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13269 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13270 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13271 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13272 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13273 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13275 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13276 type primary; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13277 allow-transfer { key zone-transfer-key; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13278 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13279 }<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13280 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13281 Edit /etc/named.conf on the secondary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13282 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13283 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13284 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13285 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13286 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13287 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13288 server IP-OF-PRIMARY { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13289 keys { zone-transfer-key; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13290 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13291 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13292 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13293 type secondary;<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13294 primaries { IP-OF-PRIMARY ; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13295 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13296 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13297 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13298 The BIND transaction signature (TSIG) functionality
13299 allows primary and secondary nameservers to use a shared secret to verify authorization
13300 to perform zone transfers. This method is more secure than using IP-based limiting to
13301 restrict nameserver access, since IP addresses can be easily spoofed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13303 However, if you
13304 cannot configure TSIG between your servers because, for instance, the secondary
13305 nameserver is not under your control and its administrators are unwilling to configure
13306 TSIG, you can configure an allow-transfer directive with numerical IP addresses or ACLs
13307 as a last resort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13309 Note: The purpose of the dnssec-keygen command is to create the shared
13310 secret string base64-key-string . Once this secret has been obtained and inserted into
13311 named.conf on the primary and secondary servers, the key files
13312 Kdns.example.com.+NNN+MMMMM.key and Kdns.example.com.+NNN+MMMMM.private are no longer
13313 needed, and may safely be deleted.</xccdf:description>
13314 </xccdf:Group>
13315 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.5">
13316 <xccdf:title xml:lang="en">Disable Dynamic Updates if Possible</xccdf:title>
13317 <xccdf:description xml:lang="en">
13318 Is there a mission-critical reason to enable the risky dynamic
13319 update functionality? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13320 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13321 Edit /etc/named.conf. For each zone specification, correct
13322 the following directive if necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13323 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13324 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13325 allow-update { none; };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13326 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13327 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13328 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13329 Dynamic updates allow remote servers to add, delete, or modify any entries in your
13330 zone file. Therefore, they should be considered highly risky, and disabled unless there
13331 is a very good reason for their use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13332 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13333 If dynamic updates must be allowed, IP-based ACLs
13334 are insufficient protection, since they are easily spoofed. Instead, use TSIG keys (see
13335 the previous section for an example), and consider using the update-policy directive to
13336 restrict changes to only the precise type of change needed.</xccdf:description>
13337 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false" weight="10.0">
13338 <xccdf:title>Disable DNS Dynamic Updates if Possible</xccdf:title>
13339 <xccdf:description>LDAP's dynamic updates feature should be disabled</xccdf:description>
13340 <xccdf:ident system="http://cce.mitre.org">CCE-4399-2</xccdf:ident>
13341 <xccdf:fixtext>(1) via /etc/named.conf</xccdf:fixtext>
13342 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13343 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20316"/>
13344 </xccdf:check>
13345 </xccdf:Rule>
13346 </xccdf:Group>
13347 </xccdf:Group>
13348 </xccdf:Group>
13349 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15">
13350 <xccdf:title xml:lang="en">FTPServer</xccdf:title>
13351 <xccdf:description xml:lang="en">
13352 FTP is a common method for allowing remote access to files. Like
13353 telnet, the FTP protocol is unencrypted, which means that passwords and other data
13354 transmitted during the session can be captured and that the session is vulnerable to
13355 hijacking. Therefore, running the FTP server software is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13356 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13357 However, there are
13358 some FTP server configurations which may be appropriate for some environments, particularly
13359 those which allow only read-only anonymous access as a means of downloading data available
13360 to the public.</xccdf:description>
13361 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.1">
13362 <xccdf:title xml:lang="en">Disable vsftpd if Possible</xccdf:title>
13363 <xccdf:description xml:lang="en">
13364 Is there a mission-critical reason for the machine to act as an
13365 FTP server? If not, disable vsftpd if it has been installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13366 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13367 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig vsftpd off</xhtml:code></xccdf:description>
13368 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.a" selected="false" severity="low" weight="10.0">
13369 <xccdf:title>Disable vsftpd if Possible</xccdf:title>
13370 <xccdf:description>The vsftpd service should be disabled.</xccdf:description>
13371 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
13372 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
13373 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13374 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20317"/>
13375 </xccdf:check>
13376 </xccdf:Rule>
13377 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.b" selected="false" severity="low" weight="10.0">
13378 <xccdf:title>Uninstall vsftpd if Possible</xccdf:title>
13379 <xccdf:description>The vsftpd service should be uninstalled.</xccdf:description>
13380 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
13381 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
13382 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13383 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203175"/>
13384 </xccdf:check>
13385 </xccdf:Rule>
13386 </xccdf:Group>
13387 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.2">
13388 <xccdf:title xml:lang="en">Use vsftpd to Provide FTP Service if Necessary</xccdf:title>
13389 <xccdf:description xml:lang="en">
13390 If this machine must operate as an FTP server, install the vsftpd
13391 package via the standard channels: <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install vsftpd</xhtml:code> After RHEL 2.1, Red Hat switched
13392 from distributing wu-ftpd with RHEL to distributing vsftpd. For security and for
13393 consistency with future Red Hat releases, the use of vsftpd is recommended.</xccdf:description>
13394 </xccdf:Group>
13395 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3">
13396 <xccdf:title xml:lang="en">Configure vsftpd Securely</xccdf:title>
13397 <xccdf:description xml:lang="en">
13398 The primary vsftpd configuration file is /etc/vsftpd.conf, if
13399 that file exists, or /etc/vsftpd/vsftpd.conf if it does not. For the remainder of this
13400 section, the phrase 'the configuration file' will refer to whichever of those files is
13401 appropriate for your environment.</xccdf:description>
13402 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.1">
13403 <xccdf:title xml:lang="en">Enable Logging of All FTP Transactions</xccdf:title>
13404 <xccdf:description xml:lang="en">
13405 Edit the vsftpd configuration file. Add or correct the
13406 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13407 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13408 xferlog_std_format=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13409 log_ftp_protocol=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13410 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13411 The
13412 modifications above ensure that all commands sent to the ftp server are logged using the
13413 verbose vsftpd log format. The default vsftpd log file is /var/log/vsftpd.log. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13414 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13415 Note: If
13416 verbose logging to vsftpd.log is done, sparse logging of downloads to /var/log/xferlog
13417 will not also occur. However, the information about what files were downloaded is
13418 included in the information logged to vsftpd.log.</xccdf:description>
13419 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false" severity="low" weight="10.0">
13420 <xccdf:title>Enable Logging of All FTP Transactions</xccdf:title>
13421 <xccdf:description>Logging of vsftpd transactions should be enabled</xccdf:description>
13422 <xccdf:ident system="http://cce.mitre.org">CCE-4549-2</xccdf:ident>
13423 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13424 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13425 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20318"/>
13426 </xccdf:check>
13427 </xccdf:Rule>
13428 </xccdf:Group>
13429 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.2">
13430 <xccdf:title xml:lang="en">Create Warning Banners for All FTP Users</xccdf:title>
13431 <xccdf:description xml:lang="en">
13432 Edit the vsftpd configuration file. Add or correct the
13433 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13435 banner_file=/etc/issue <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13437 See Section 2.3.7 for an
13438 explanation of banner file use. This setting will cause the system greeting banner to be
13439 used for FTP connections as well.</xccdf:description>
13440 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false" weight="10.0">
13441 <xccdf:title>Create Warning Banners for All FTP Users</xccdf:title>
13442 <xccdf:description>A warning banner for all FTP users should be enabled</xccdf:description>
13443 <xccdf:ident system="http://cce.mitre.org">CCE-4554-2</xccdf:ident>
13444 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13445 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13446 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20319"/>
13447 </xccdf:check>
13448 </xccdf:Rule>
13449 </xccdf:Group>
13450 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3">
13451 <xccdf:title xml:lang="en">Restrict the Set of Users Allowed to Access FTP</xccdf:title>
13452 <xccdf:description xml:lang="en">
13453 This section describes how to disable non-anonymous
13454 (password-based) FTP logins, or, if it is not possible to do this entirely due to legacy
13455 applications, how to restrict insecure FTP login to only those users who have an
13456 identified need for this access.</xccdf:description>
13457 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.1">
13458 <xccdf:title xml:lang="en">Restrict Access to Anonymous Users if Possible</xccdf:title>
13459 <xccdf:description xml:lang="en">
13460 Is there a mission-critical reason for users to transfer
13461 files to/from their own accounts using FTP, rather than using a secure protocol like
13462 SCP/SFTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13463 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13464 Edit the vsftpd configuration file. Add or correct the following
13465 configuration option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13466 local_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13467 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13468 If non-anonymous FTP logins are necessary,
13469 follow the guidance in the remainder of this section to secure these logins as much as
13470 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13471 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13472 The use of non-anonymous FTP logins is strongly discouraged. Since SSH
13473 clients and servers are widely available, and since SSH provides support for a
13474 transfer mode which resembles FTP in user interface, there is no good reason to allow
13475 password-based FTP access. See Section 3.5 for more information about SSH.</xccdf:description>
13476 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false" severity="high" weight="10.0">
13477 <xccdf:title>Restrict Access to Anonymous Users if Possible</xccdf:title>
13478 <xccdf:description>Local user login to the vsftpd service should be disabled</xccdf:description>
13479 <xccdf:ident system="http://cce.mitre.org">CCE-4443-8</xccdf:ident>
13480 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13481 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13482 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20320"/>
13483 </xccdf:check>
13484 </xccdf:Rule>
13485 </xccdf:Group>
13486 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.2">
13487 <xccdf:title xml:lang="en">Limit Users Allowed FTP Access if Necessary</xccdf:title>
13488 <xccdf:description xml:lang="en">
13489 If there is a mission-critical reason for users to access
13490 their accounts via the insecure FTP protocol, limit the set of users who are allowed
13491 this access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13492 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13493 Edit the vsftpd configuration file. Add or correct the following
13494 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13495 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13496 userlist_enable=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13497 userlist_file=/etc/vsftp.ftpusers<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13498 userlist_deny=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13499 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13500 Edit the file /etc/vsftp.ftpusers. For each user USERNAME who should
13501 be allowed to access the system via ftp, add a line containing that user's name.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13502 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13503 USERNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13504 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13505 If anonymous access is also required, add the anonymous usernames to
13506 /etc/vsftp.ftpusers as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13507 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13508 anonymous <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13509 ftp <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13510 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13511 Historically, the file /etc/ftpusers
13512 contained a list of users who were not allowed to access the system via ftp. It was
13513 used to prevent system users such as the root user from logging in via the insecure
13514 ftp protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13515 However, when the configuration option userlist_deny=NO is set, vsftpd
13516 interprets ftpusers as the set of users who are allowed to login via ftp. Since it
13517 should be possible for most users to access their accounts via secure protocols, it is
13518 recommended that this setting be used, so that non-anonymous ftp access can be limited
13519 to legacy users who have been explicitly identified.</xccdf:description>
13520 </xccdf:Group>
13521 </xccdf:Group>
13522 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.4">
13523 <xccdf:title xml:lang="en">Disable FTP Uploads if Possible</xccdf:title>
13524 <xccdf:description xml:lang="en">
13525 Is there a mission-critical reason for users to upload files
13526 via FTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13527 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13528 Edit the vsftpd configuration file. Add or correct the following
13529 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13530 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13531 write_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13532 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13533 If FTP uploads are necessary, follow the guidance
13534 in the remainder of this section to secure these transactions as much as possible.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13535 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13536 Anonymous FTP can be a convenient way to make files available for universal download.
13537 However, it is less common to have a need to allow unauthenticated users to place files
13538 on the FTP server. If this must be done, it is necessary to ensure that files cannot be
13539 uploaded and downloaded from the same directory.</xccdf:description>
13540 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false" severity="medium" weight="10.0">
13541 <xccdf:title>Disable FTP Uploads if Possible</xccdf:title>
13542 <xccdf:description>File uploads via vsftpd should be disabled</xccdf:description>
13543 <xccdf:ident system="http://cce.mitre.org">CCE-4461-0</xccdf:ident>
13544 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13545 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13546 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20321"/>
13547 </xccdf:check>
13548 </xccdf:Rule>
13549 </xccdf:Group>
13550 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.5">
13551 <xccdf:title xml:lang="en">Place the FTP Home Directory on its Own Partition</xccdf:title>
13552 <xccdf:description xml:lang="en">
13553 By default, the anonymous FTP root is the home directory of the
13554 ftp user account. The df command can be used to verify that this directory is on its own
13555 partition. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13556 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13557 If there is a mission-critical reason for anonymous users to upload files,
13558 precautions must be taken to prevent these users from filling a disk used by other
13559 services.</xccdf:description>
13560 </xccdf:Group>
13561 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.6">
13562 <xccdf:title xml:lang="en">Configure Firewalls to Protect the FTP Server</xccdf:title>
13563 <xccdf:description xml:lang="en">
13564 Edit the file /etc/sysconfig/iptables. Add the following lines,
13565 ensuring that they appear before the final LOG and DROP lines for the
13566 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13568 -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 21 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13569 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13570 Edit the file /etc/sysconfig/iptables-config. Ensure that the space-separated
13571 list of modules contains the FTP connection tracking module:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13572 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13573 IPTABLES_MODULES="ip_conntrack_ftp" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13575 These settings configure iptables to allow
13576 connections to an FTP server. The first line allows initial connections to the FTP
13577 server port. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13578 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13579 FTP is an older protocol which is not very compatible with firewalls.
13580 During the initial FTP dialogue, the client and server negotiate an arbitrary port to be
13581 used for data transfer. The ip conntrack ftp module is used by iptables to listen to
13582 that dialogue and allow connections to the data ports which FTP negotiates. This allows
13583 an FTP server to operate on a machine which is running a firewall.</xccdf:description>
13584 </xccdf:Group>
13585 </xccdf:Group>
13586 </xccdf:Group>
13587 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16">
13588 <xccdf:title xml:lang="en">Web Server</xccdf:title>
13589 <xccdf:description xml:lang="en">
13590 The web server is responsible for providing access to content via
13591 the HTTP protocol. Web servers represent a significant security risk because: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13592 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13593 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
13594 <xhtml:li>The HTTP port is commonly probed by malicious sources </xhtml:li>
13595 <xhtml:li>Web server software is very complex, and includes a long history of vulnerabilities </xhtml:li>
13596 <xhtml:li>The HTTP protocol is unencrypted and vulnerable to passive monitoring </xhtml:li>
13597 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13599 The system's default web server software is Apache 2 and is provided
13600 in the RPM package httpd.</xccdf:description>
13601 <xccdf:reference>Ristic, I. Apache Security. O’Reilly and Associates, Mar 2005</xccdf:reference>
13602 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.1">
13603 <xccdf:title xml:lang="en">Disable Apache if Possible</xccdf:title>
13604 <xccdf:description xml:lang="en">
13605 If Apache was installed and activated, but the system does not
13606 need to act as a web server, then it should be disabled and removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13608 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig httpd off <xhtml:br/>
13609 # yum erase httpd</xhtml:code></xccdf:description>
13610 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.a" selected="false" severity="low" weight="10.0">
13611 <xccdf:title>Disable Apache if Possible</xccdf:title>
13612 <xccdf:description>The httpd service should be disabled.</xccdf:description>
13613 <xccdf:ident system="http://cce.mitre.org">CCE-4338-0</xccdf:ident>
13614 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
13615 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13616 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20322"/>
13617 </xccdf:check>
13618 </xccdf:Rule>
13619 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.b" selected="false" weight="10.0">
13620 <xccdf:title>Uninstall Apache if Possible</xccdf:title>
13621 <xccdf:description>The httpd package should be uninstalled.</xccdf:description>
13622 <xccdf:ident system="http://cce.mitre.org">CCE-4514-6</xccdf:ident>
13623 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
13624 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13625 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20323"/>
13626 </xccdf:check>
13627 </xccdf:Rule>
13628 </xccdf:Group>
13629 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2">
13630 <xccdf:title xml:lang="en">Install Apache if Necessary</xccdf:title>
13631 <xccdf:description xml:lang="en">
13632 If the Apache web server must be run, follow these guidelines to
13633 install it defensively. Then follow the guidelines in the remainder of Section 3.16 to
13634 configure the web server machine and software as securely as possible.</xccdf:description>
13635 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.1">
13636 <xccdf:title xml:lang="en">Install Apache Software Safely</xccdf:title>
13637 <xccdf:description xml:lang="en">
13638 Install the Apache 2 package from the standard Red Hat
13639 distribution channel: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13640 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13641 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install httpd <xhtml:br/></xhtml:code>
13642 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13643 Note: This method of installation is
13644 recommended over installing the 'Web Server' package group during the system
13645 installation process. The Web Server package group includes many packages which are
13646 likely extraneous, while the command-line method installs only the required httpd
13647 package itself.</xccdf:description>
13648 </xccdf:Group>
13649 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.2">
13650 <xccdf:title xml:lang="en">Confirm Minimal Built-in Modules</xccdf:title>
13651 <xccdf:description xml:lang="en">
13652 The default Apache installation minimizes the number of modules
13653 that are compiled directly into the binary (core prefork http core mod so). This
13654 minimizes risk by limiting the capabilities allowed by the webserver. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13655 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13656 Query the set of compiled-in modules using the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13657 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13658 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ httpd -l <xhtml:br/></xhtml:code>
13659 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13660 If the number of compiled-in
13661 modules is significantly larger than the aforementioned set, this guide recommends
13662 reinstallating Apache with a reduced configuration.</xccdf:description>
13663 </xccdf:Group>
13664 </xccdf:Group>
13665 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3">
13666 <xccdf:title xml:lang="en">Secure the Apache Configuration</xccdf:title>
13667 <xccdf:description xml:lang="en">
13668 The Apache configuration file is /etc/httpd/conf/httpd.conf.
13669 Apply the recommendations in the remainder of this section to this file.</xccdf:description>
13670 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.1">
13671 <xccdf:title xml:lang="en">Restrict Information Leakage</xccdf:title>
13672 <xccdf:description xml:lang="en">
13673 The ServerTokens and ServerSignature directives determine how
13674 much information the web server discloses about the configuration of the system.
13675 ServerTokens Prod restricts information in page headers, returning only the word
13676 'Apache.' ServerSignature Off keeps Apache from displaying the server version on error
13677 pages. It is a good security practice to limit the information provided to clients. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13678 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13679 Add
13680 or correct the following directives in /etc/httpd/conf/httpd.conf so that as little
13681 information as possible is released: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13683 ServerTokens Prod <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13684 ServerSignature Off</xccdf:description>
13685 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.a" operator="equals" type="string">
13686 <xccdf:title>value of ServerTokens</xccdf:title>
13687 <xccdf:description xml:lang="en">Tells apache to only return Apache in the Server header, returned on every page request.</xccdf:description>
13688 <xccdf:question xml:lang="en">Specify restrictions of of provided information in page headers for web server</xccdf:question>
13689 <xccdf:value>Prod</xccdf:value>
13690 <xccdf:value selector="prod">Prod</xccdf:value>
13691 </xccdf:Value>
13692 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.b" operator="equals" type="string">
13693 <xccdf:title>value of ServerSignature</xccdf:title>
13694 <xccdf:description xml:lang="en">Tells apache not to display the server version on error pages, or other pages it generates.</xccdf:description>
13695 <xccdf:question xml:lang="en">Enable/Disable Apache displaying the server version on error pages</xccdf:question>
13696 <xccdf:value>Off</xccdf:value>
13697 <xccdf:value selector="off">Off</xccdf:value>
13698 </xccdf:Value>
13699 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false" weight="10.0">
13700 <xccdf:title>Restrict Information Leakageusing ServerTokens</xccdf:title>
13701 <xccdf:description>The apache2 server's ServerTokens value should be set appropriately</xccdf:description>
13702 <xccdf:ident system="http://cce.mitre.org">CCE-4474-3</xccdf:ident>
13703 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13704 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13705 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20324" value-id="xccdf_cdf_value_var-3.16.3.1.a"/>
13706 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20324"/>
13707 </xccdf:check>
13708 </xccdf:Rule>
13709 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false" weight="10.0">
13710 <xccdf:title>Restrict Information Leakage using ServerSignature</xccdf:title>
13711 <xccdf:description>The apache2 server's ServerSignature value should be set appropriately</xccdf:description>
13712 <xccdf:ident system="http://cce.mitre.org">CCE-3756-4</xccdf:ident>
13713 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13714 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13715 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20325" value-id="xccdf_cdf_value_var-3.16.3.1.b"/>
13716 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20325"/>
13717 </xccdf:check>
13718 </xccdf:Rule>
13719 </xccdf:Group>
13720 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2">
13721 <xccdf:title xml:lang="en">Minimize Loadable Modules</xccdf:title>
13722 <xccdf:description xml:lang="en">
13723 A default installation of Apache includes a plethora of
13724 'dynamically shared objects' (DSO) that are loaded at run-time. Unlike the
13725 aforementioned 'compiled-in' modules, a DSO can be disabled in the configuration file by
13726 removing the corresponding LoadModule directive. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13727 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13728 Note: A DSO only provides additional
13729 functionality if associated directives are included in the Apache configuration file. It
13730 should also be noted that removing a DSO will produce errors on Apache startup if the
13731 configuration file contains directives that apply to that module. Refer to
13732 http://httpd.apache.org/docs/ for details on which directives are associated with each
13733 DSO. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13734 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13735 Follow each DSO removal, the configuration can be tested with the following command
13736 to check if everything still works: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13738 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service httpd configtest <xhtml:br/></xhtml:code>
13739 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13740 The purpose of each of
13741 the modules loaded by default will now be addressed one at a time. If none of a module's
13742 directives are being used, remove it.</xccdf:description>
13743 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.1">
13744 <xccdf:title xml:lang="en">Apache Core Modules</xccdf:title>
13745 <xccdf:description xml:lang="en">
13746 These modules comprise a basic subset of modules that are
13747 likely needed for base Apache functionality; ensure they are not commented out in
13748 /etc/httpd/conf/httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13750 LoadModule auth_basic_module modules/mod_auth_basic.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13751 LoadModule authn_default_module modules/mod_authn_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13752 LoadModule authz_host_module modules/mod_authz_host.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13753 LoadModule authz_user_module modules/mod_authz_user.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13754 LoadModule authz_groupfile_module modules/mod_authz_groupfile.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13755 LoadModule authz_default_module modules/mod_authz_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13756 LoadModule log_config_module modules/mod_log_config.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13757 LoadModule logio_module modules/mod_logio.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13758 LoadModule setenvif_module modules/mod_setenvif.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13759 LoadModule mime_module modules/mod_mome.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13760 LoadModule autoindex_module modules/mod_autoindex.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13761 LoadModule negotiation_module modules/mod_negotiation.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13762 LoadModule dir_module modules/mod_dir.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13763 LoadModule alias_module modules/mod_alias.so</xccdf:description>
13764 </xccdf:Group>
13765 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.2">
13766 <xccdf:title xml:lang="en">HTTP Basic Authentication</xccdf:title>
13767 <xccdf:description xml:lang="en">
13768 The following modules are necessary if this web server will
13769 provide content that will be restricted by a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13770 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13771 Authentication can be performed
13772 using local plain text password files (authn file), local DBM password files (authn
13773 dbm) or an LDAP directory (see Section 3.16.3.2.5). The only module required by the
13774 web server depends on your choice of authentication. Comment out the modules you don't
13775 need from the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13776 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13777 LoadModule authn_file_module modules/mod_authn_file.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13778 LoadModule authn_dbm_module modules/mod_authn_dbm.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13779 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13780 authn_alias allows for
13781 authentication based on aliases. authn_anon allows anonymous authentication similar to
13782 that of anonymous ftp sites. authz owner allows authorization based on file ownership.
13783 authz dbm allows for authorization based on group membership if the web server is
13784 using DBM authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13785 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13786 If the above functionality is unnecessary, comment out the
13787 related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13788 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13789 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule authn_alias_module modules/mod_authn_alias.so <xhtml:br/>
13790 #LoadModule authn_anon_module modules/mod_authn_anon.so <xhtml:br/>
13791 #LoadModule authz_owner_module modules/mod_authz_owner.so <xhtml:br/>
13792 #LoadModule authz_dbm_module modules/mod_authz_dbm.so</xhtml:code></xccdf:description>
13793 </xccdf:Group>
13794 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.3">
13795 <xccdf:title xml:lang="en">HTTP Digest Authentication</xccdf:title>
13796 <xccdf:description xml:lang="en">
13797 This module provides encrypted authentication sessions.
13798 However, this module is rarely used and considered experimental. Alternate methods of
13799 encrypted authentication are recommended, such as SSL (Section 3.16.4.1) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13800 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13801 If the above
13802 functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13804 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule auth_digest_module modules/mod_auth_digest.so</xhtml:code></xccdf:description>
13805 </xccdf:Group>
13806 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.4">
13807 <xccdf:title xml:lang="en">mod rewrite</xccdf:title>
13808 <xccdf:description xml:lang="en">
13809 The mod rewrite module is very powerful and can protect
13810 against certain classes of web attacks. However, it is also very complex and has a
13811 significant history of vulnerabilities itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13812 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13813 If the above functionality is
13814 unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13816 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule rewrite_module modules/mod_rewrite.so</xhtml:code></xccdf:description>
13817 </xccdf:Group>
13818 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.5">
13819 <xccdf:title xml:lang="en">LDAP Support</xccdf:title>
13820 <xccdf:description xml:lang="en">
13821 This module provides HTTP authentication via an LDAP
13822 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13823 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13824 If the above functionality is unnecessary, comment out the related modules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13825 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13826 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule ldap_module modules/mod_ldap.so <xhtml:br/>
13827 #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so <xhtml:br/></xhtml:code>
13828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13829 If LDAP is to be used, SSL encryption (Section 3.16.4.1)
13830 should be used as well.</xccdf:description>
13831 </xccdf:Group>
13832 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.6">
13833 <xccdf:title xml:lang="en">Server Side Includes</xccdf:title>
13834 <xccdf:description xml:lang="en">
13835 Server Side Includes provide a method of dynamically
13836 generating web pages through the insertion of server-side code. However, the
13837 technology is also deprecated and introduces significant security concerns. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13838 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13839 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13840 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13841 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule include_module modules/mod_include.so <xhtml:br/></xhtml:code>
13842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13843 If there is a critical need for Server Side
13844 Includes, they should be enabled with the option IncludesNoExec to prevent arbitrary
13845 code execution. Additionally, user supplied data should be encoded to prevent
13846 cross-site scripting vulnerabilities.</xccdf:description>
13847 </xccdf:Group>
13848 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.7">
13849 <xccdf:title xml:lang="en">MIME Magic</xccdf:title>
13850 <xccdf:description xml:lang="en">
13851 This module provides a second layer of MIME support that in
13852 most configurations is likely extraneous. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13853 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13854 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13855 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13856 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule mime_magic_module modules/mod_mime_magic.so</xhtml:code></xccdf:description>
13857 </xccdf:Group>
13858 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.8">
13859 <xccdf:title xml:lang="en">WebDAV (Distributed Authoring and Versioning)</xccdf:title>
13860 <xccdf:description xml:lang="en">
13861 WebDAV is an extension of the HTTP protocol that provides
13862 distributed and collaborative access to web content. Due to a number of security
13863 concerns with WebDAV, its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13864 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13865 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13867 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule dav_module modules/mod_dav.so <xhtml:br/>
13868 #LoadModule dav_fs_module modules/mod_dav_fs.so <xhtml:br/></xhtml:code>
13869 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13870 If there is a
13871 critical need for WebDAV, extra care should be taken in its configuration. Since DAV
13872 access allows remote clients to manipulate server files, any location on the server
13873 that is DAV enabled should be protected by encrypted authentication.</xccdf:description>
13874 </xccdf:Group>
13875 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.9">
13876 <xccdf:title xml:lang="en">Server Activity Status</xccdf:title>
13877 <xccdf:description xml:lang="en">
13878 This module provides real-time access to statistics on the
13879 internal operation of the web server. This is an unnecessary information leak and
13880 should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13881 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13882 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13883 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13884 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule status_module modules/mod_status.so <xhtml:br/></xhtml:code>
13885 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13886 If there is a critical need
13887 for this module, ensure that access to the status page is properly restricted to a
13888 limited set of hosts in the status handler configuration.</xccdf:description>
13889 </xccdf:Group>
13890 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.10">
13891 <xccdf:title xml:lang="en">Web Server Configuration Display</xccdf:title>
13892 <xccdf:description xml:lang="en">
13893 This module creates a web page illustrating the configuration
13894 of the web server. This is an unnecessary security leak and should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13896 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13898 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule info_module modules/mod_info.so <xhtml:br/></xhtml:code>
13899 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13900 If there is a critical need for this module, use the
13901 Location directive to provide an access control list to restrict access to the
13902 information.</xccdf:description>
13903 </xccdf:Group>
13904 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.11">
13905 <xccdf:title xml:lang="en">URL Correction on Misspelled Entries</xccdf:title>
13906 <xccdf:description xml:lang="en">
13907 This module attempts to find a document match by allowing one
13908 misspelling in an otherwise failed request. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13909 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13910 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13911 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13912 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule speling_module modules/mod_speling.so <xhtml:br/></xhtml:code>
13913 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13914 This functionality weakens server security by making site enumeration easier.</xccdf:description>
13915 </xccdf:Group>
13916 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.12">
13917 <xccdf:title xml:lang="en">User-specific directories</xccdf:title>
13918 <xccdf:description xml:lang="en">
13919 The UserDir directive provides user-specific directory
13920 translation, allowing URLs based on associated usernames. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13921 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13922 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13923 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13924 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule userdir_module modules/mod_userdir.so <xhtml:br/></xhtml:code>
13925 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13926 If there is a critical need for this module, include the line
13927 UserDir disabled root (at a minimum) in the configuration file. Ideally, UserDir
13928 should be disabled, and then enabled on a case-by-case basis for specific users that
13929 require this functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13930 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13931 Note: A web server's users can be trivially enumerated
13932 using this module.</xccdf:description>
13933 </xccdf:Group>
13934 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.13">
13935 <xccdf:title xml:lang="en">Proxy Support</xccdf:title>
13936 <xccdf:description xml:lang="en">
13937 This module provides proxying support, allowing Apache to
13938 forward requests and serve as a gateway for other servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13939 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13940 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13941 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13942 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule proxy_module modules/mod_proxy.so <xhtml:br/>
13943 #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<xhtml:br/>
13944 #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so <xhtml:br/>
13945 #LoadModule proxy_http_module modules/mod_proxy_http.so <xhtml:br/>
13946 #LoadModule proxy_connect_module modules/mod_proxy_connect.so <xhtml:br/></xhtml:code>
13947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13948 If proxy support is needed, load proxy and the
13949 appropriate proxy protocol handler module (one of proxy http, proxy ftp, or proxy
13950 connect). Additionally, make certain that a server is secure before enabling proxying,
13951 as open proxy servers are a security risk. proxy balancer enables load balancing, but
13952 requires that mod status be enabled. Since mod status is not recommended, proxy
13953 balancer should be avoided as well.</xccdf:description>
13954 </xccdf:Group>
13955 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.14">
13956 <xccdf:title xml:lang="en">Cache Support</xccdf:title>
13957 <xccdf:description xml:lang="en">
13958 This module allows Apache to cache data, optimizing access to
13959 frequently accessed content. However, not only is it an experimental module, but it
13960 also introduces potential security flaws into the web server such as the possibility
13961 of circumventing Allow and Deny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13962 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13963 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13965 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cache_module modules/mod_cache.so<xhtml:br/>
13966 #LoadModule disk_cache_module modules/mod_disk_cache.so <xhtml:br/>
13967 #LoadModule file_cache_module modules/mod_file_cache.so <xhtml:br/>
13968 #LoadModule mem_cache_module modules/mod_mem_cache.so <xhtml:br/></xhtml:code>
13969 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13970 If caching is required, it should not be enabled for any limited-access content.</xccdf:description>
13971 </xccdf:Group>
13972 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.15">
13973 <xccdf:title xml:lang="en">CGI Support (and Related Modules)</xccdf:title>
13974 <xccdf:description xml:lang="en">
13975 This module allows HTML to interact with the CGI web
13976 programming language. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13977 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13978 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13979 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cgi_module modules/mod_cgi.so <xhtml:br/>
13980 #LoadModule env_module modules/mod_env.so <xhtml:br/>
13981 #LoadModule actions_module modules/mod_actions.so <xhtml:br/>
13982 #LoadModule suexec_module modules/mod_suexec.so <xhtml:br/></xhtml:code>
13983 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13984 If the web server requires the use of CGI, enable
13985 the cgi module. If extended CGI functionality is required, include the appropriate
13986 modules. env allows for control of the environment passed to CGI scripts. actions
13987 allows CGI events to be triggered when files of a certain type are requested. su exec
13988 allows CGI scripts to run as a specified user/group instead of as the server's
13989 user/group.</xccdf:description>
13990 </xccdf:Group>
13991 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.16">
13992 <xccdf:title xml:lang="en">Various Optional Components</xccdf:title>
13993 <xccdf:description xml:lang="en">
13994 The following modules perform very specific tasks, sometimes
13995 providing access to just a few additional directives. If this functionality is not
13996 required (or if you are not using these directives), comment out the associated
13997 module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13999 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
14000 <xhtml:li>External filtering (response passed through external program prior to client delivery) <xhtml:br/>
14001 <xhtml:br/>
14002 <xhtml:code>#LoadModule ext_filter_module modules/mod_ext_filter.so </xhtml:code></xhtml:li>
14003 <xhtml:li>User-specified
14004 Cache Control and Expiration <xhtml:br/>
14005 <xhtml:br/>
14006 <xhtml:code>#LoadModule expires_module modules/mod_expires.so</xhtml:code> </xhtml:li>
14007 <xhtml:li>Compression Output Filter (provides content compression prior to client delivery)<xhtml:br/>
14008 <xhtml:br/>
14009 <xhtml:code>#LoadModule deflate_module modules/mod_deflate.so </xhtml:code></xhtml:li>
14010 <xhtml:li>HTTP Response/Request Header Customization <xhtml:br/>
14011 <xhtml:br/>
14012 <xhtml:code>#LoadModule headers_module modules/mod_headers.so</xhtml:code> </xhtml:li>
14013 <xhtml:li>User activity monitoring via cookies <xhtml:br/>
14014 <xhtml:br/>
14015 <xhtml:code>#LoadModule usertrack_module modules/mod_usertrack.so </xhtml:code></xhtml:li>
14016 <xhtml:li>Dynamically configured mass virtual hosting <xhtml:br/>
14017 <xhtml:br/>
14018 <xhtml:code>#LoadModule vhost_alias_module modules/mod_vhost_alias.so</xhtml:code></xhtml:li>
14019 </xhtml:ul>
14020 </xccdf:description>
14021 </xccdf:Group>
14022 </xccdf:Group>
14023 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.3">
14024 <xccdf:title xml:lang="en">Minimize Configuration Files Included</xccdf:title>
14025 <xccdf:description xml:lang="en">
14026 The Include directive directs Apache to load supplementary
14027 configuration files from a provided path. The default configuration loads all files that
14028 end in .conf from the /etc/httpd/conf.d directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14029 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14030 To restrict excess configuration, the
14031 following line should be commented out and replaced with Include directives that only
14032 reference required configuration files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14034 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#Include conf.d/*.conf <xhtml:br/></xhtml:code>
14035 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14036 If the above change was
14037 made, ensure that the SSL encryption remains loaded by explicitly including the
14038 corresponding configuration file: (see Section 3.16.4.1 for further details on SSL
14039 configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14040 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14041 Include conf.d/ssl.conf <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14043 If PHP is necessary, a similar alteration must be
14044 made: (see Section 3.16.4.4.1 for further details on PHP configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14045 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14046 Include conf.d/php.conf</xccdf:description>
14047 </xccdf:Group>
14048 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4">
14049 <xccdf:title xml:lang="en">Directory Restrictions</xccdf:title>
14050 <xccdf:description xml:lang="en">
14051 The Directory tags in the web server configuration file allow
14052 finer grained access control for a specified directory. All web directories should be
14053 configured on a case-by-case basis, allowing access only where needed.</xccdf:description>
14054 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.1">
14055 <xccdf:title xml:lang="en">Restrict Root Directory</xccdf:title>
14056 <xccdf:description xml:lang="en">
14057 The Apache root directory should always have the most
14058 restrictive configuration enabled.
14059 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14060 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14061 &lt;Directory
14062 /&gt;
14063 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14064 Options None
14065 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14066 AllowOverride None
14067 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14068 Order
14069 allow,deny
14070 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14071 &lt;/Directory&gt;
14072 </xccdf:description>
14073 </xccdf:Group>
14074 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.2">
14075 <xccdf:title xml:lang="en">Restrict Web Directory</xccdf:title>
14076 <xccdf:description xml:lang="en">
14077 The default configuration for the web (/var/www/html)
14078 Directory allows directory indexing (Indexes)and the following of symbolic links
14079 (FollowSymLinks). Neither of these is recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14080 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14081 The
14082 /var/www/html directory hierarchy should not be viewable via the web, and symlinks
14083 should only be followed if the owner of the symlink also owns the linked
14084 file.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14085 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14086 Ensure that this policy is adhered to by altering the
14087 related section of the configuration:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14088 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14089 &lt;Directory
14090 "/var/www/html"&gt;
14091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14092 # ...
14093 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14094 Options SymLinksIfOwnerMatch
14095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14096 # ...
14097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14098 &lt;/Directory&gt;
14099 </xccdf:description>
14100 </xccdf:Group>
14101 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.3">
14102 <xccdf:title xml:lang="en">Restrict Other Critical Directories</xccdf:title>
14103 <xccdf:description xml:lang="en">
14104 All accessible web directories should be configured with
14105 similar restrictive settings. The Options directive should be limited to necessary
14106 functionality and the AllowOverride directive should be used only if needed. The Order
14107 and Deny access control tags should be used to deny access by default, allowing access
14108 only where necessary.</xccdf:description>
14109 </xccdf:Group>
14110 </xccdf:Group>
14111 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.5">
14112 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
14113 <xccdf:description xml:lang="en">
14114 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
14115 <xhtml:li>Set up a password file. <xhtml:br/>
14116 <xhtml:br/>
14117 If a password file doesn't yet exist, one must be generated with the following command: <xhtml:br/>
14118 <xhtml:br/>
14119 <xhtml:code># htpasswd -cs passwdfile user <xhtml:br/></xhtml:code>
14120 <xhtml:br/>
14121 <xhtml:em>WARNING: This command will overwrite an existing file at this location.</xhtml:em>
14122 <xhtml:br/>
14123 Once a password file has been generated, subsequent users can be added with the
14124 following command: <xhtml:br/>
14125 <xhtml:br/>
14126 <xhtml:code># htpasswd -s passwdfile user </xhtml:code></xhtml:li>
14127 <xhtml:li>Optionally, set up a group file (if using group authentication). <xhtml:br/>
14128 <xhtml:br/>
14129 The group file is a plain text file of the following format
14130 (each group is on its own line, followed by a colon and a list of users that belong to
14131 that group, separated by spaces): <xhtml:br/>
14132 <xhtml:br/>
14133 group : user1 user2 <xhtml:br/>
14134 group2 : user3 </xhtml:li>
14135 <xhtml:li>Modify file
14136 permissions so that Apache can read the group and passwd files: <xhtml:br/>
14137 <xhtml:br/>
14138 <xhtml:code># chgrp apache passwdfile groupfile <xhtml:br/>
14139 # chmod 640 passwdfile groupfile </xhtml:code></xhtml:li>
14140 <xhtml:li>Turn on authentication for desired directories <xhtml:br/>
14141 <xhtml:br/>
14142 Add the following options inside the appropriate Directory tag: <xhtml:br/>
14143 <xhtml:br/>
14144 <xhtml:ul>
14145 <xhtml:li>For single-user authentication: <xhtml:br/>
14146 &lt;Directory "directory "&gt; <xhtml:br/>
14147 # ... AuthName "Private Data" <xhtml:br/>
14148 AuthType Basic <xhtml:br/>
14149 AuthUserFile passwdfile <xhtml:br/>
14150 require user user <xhtml:br/>
14151 # ...<xhtml:br/>
14152 &lt;/Directory&gt; </xhtml:li>
14153 <xhtml:li>For multiple-user authentication restricted by groups:<xhtml:br/>
14154 &lt;Directory "directory "&gt; <xhtml:br/>
14155 # ... <xhtml:br/>
14156 AuthName "Private Data" <xhtml:br/>
14157 AuthType Basic<xhtml:br/>
14158 <xhtml:br/>
14159 AuthUserFile passwdfile <xhtml:br/>
14160 AuthGroupFile groupfile <xhtml:br/>
14161 require group group <xhtml:br/>
14162 # ...<xhtml:br/>
14163 &lt;/Directory&gt; </xhtml:li>
14164 <xhtml:li>For multiple-user authentication restricted by valid user accounts: <xhtml:br/>
14165 <xhtml:br/>
14166 &lt;Directory "directory "&gt; <xhtml:br/>
14167 # ... <xhtml:br/>
14168 AuthName "Private Data" <xhtml:br/>
14169 AuthType Basic <xhtml:br/>
14170 AuthUserFile passwdfile <xhtml:br/>
14171 require valid-user <xhtml:br/>
14172 # ... <xhtml:br/>
14173 &lt;/Directory&gt; </xhtml:li>
14174 </xhtml:ul>
14175 </xhtml:li>
14176 </xhtml:ol>
14177 The AuthName directive specifies a label for the protected content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14178 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14179 The AuthType directive
14180 specifies the kind of authentication (if using Digest authentication, this line would
14181 instead read AuthType Digest) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14182 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14183 The AuthUserFile and AuthGroupFile directives point to the
14184 password and group files (if using Digest authentication, these directives would instead
14185 be AuthDigestFile and AuthDigestGroupFile.)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14186 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14187 The require user directive restricts access
14188 to a single user. The require group directive restricts access to multiple users in a
14189 designated group. The short-hand require valid-user directive restricts access to any
14190 user in the passwdfile <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14191 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14192 Note: Make sure the AuthUserFile and AuthGroupFile locations are
14193 outside the web server document tree to prevent remote clients from having access to
14194 restricted usernames and passwords. This guide recommends /etc/httpd/conf as a location
14195 for these files.</xccdf:description>
14196 <xccdf:warning xml:lang="en">Basic authentication is handled in plaintext over the network.
14197 Therefore, all login attempts are vulnerable to password sniffing. For increased
14198 protection against passive monitoring, encrypted authentication over a secure channel
14199 such as SSL (Section 3.16.4.1) is recommended. </xccdf:warning>
14200 </xccdf:Group>
14201 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.6">
14202 <xccdf:title xml:lang="en">Limit Available Methods</xccdf:title>
14203 <xccdf:description xml:lang="en">
14204 Web server methods are defined in section 9 of RFC 2616
14205 (http://www.ietf.org/rfc/rfc2616.txt). If a web server does not require the
14206 implementation of all available methods, they should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14208 Note: GET and POST are
14209 the most common methods. A majority of the others are limited to the WebDAV protocol.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14210 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14211 &lt;Directory /var/www/html&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14212 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14213 # Only allow specific methods (this command is case-sensitive!) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14214 &lt;LimitExcept GET POST&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14215 Order allow,deny<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14216 &lt;/LimitExcept&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14217 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14218 &lt;/Directory&gt;</xccdf:description>
14219 </xccdf:Group>
14220 </xccdf:Group>
14221 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4">
14222 <xccdf:title xml:lang="en">Use Appropriate Modules to Improve Apaches Security'</xccdf:title>
14223 <xccdf:description xml:lang="en">
14224 Among the modules available for Apache are several whose use may
14225 improve the security of the web server installation. This section recommends and discusses
14226 the deployment of security-relevant modules.</xccdf:description>
14227 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1">
14228 <xccdf:title xml:lang="en">Deploy mod ssl</xccdf:title>
14229 <xccdf:description xml:lang="en">
14230 Because HTTP is a plain text protocol, all traffic is
14231 susceptible to passive monitoring. If there is a need for confidentiality, SSL should be
14232 configured and enabled to encrypt content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14233 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14234 Note: mod nss is a FIPS 140-2 certified
14235 alternative to mod ssl. The modules share a considerable amount of code and should be
14236 nearly identical in functionality. If FIPS 140-2 validation is required, then mod nss
14237 should be used. If it provides some feature or its greater compatibility is required,
14238 thenmod ssl should be used.</xccdf:description>
14239 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.1">
14240 <xccdf:title xml:lang="en">Install mod ssl</xccdf:title>
14241 <xccdf:description xml:lang="en">
14242 Install mod ssl: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14243 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14244 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install mod ssl</xhtml:code></xccdf:description>
14245 </xccdf:Group>
14246 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.2">
14247 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
14248 <xccdf:description xml:lang="en">
14249 On your CA (if you are using your own) or on another
14250 physically secure system, generate a key pair for the web server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14251 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14252 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/>
14253 # openssl genrsa -des3 -out httpserverkey.pem 2048 <xhtml:br/></xhtml:code>
14254 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14255 When prompted,
14256 enter a strong, unique passphrase to protect the web server key pair. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14257 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14258 Next, generate a Certificate Signing Request (CSR) from the key for the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14259 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14260 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key httpserverkey.pem -out httpserver.csr <xhtml:br/></xhtml:code>
14261 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14262 Enter the passphrase for the web server key pair
14263 and then fill out the fields as completely as possible (or hit return to accept
14264 defaults); the Common Name field is especially important. It must match the
14265 fullyqualified domain name of your server exactly (e.g. www.example.com) or the
14266 certificate will not work. The /etc/pki/tls/openssl.conf file will determine which
14267 other fields (e.g. Country Name, Organization Name, etc) must match between the server
14268 request and the CA. Leave the challenge password and an optional company name blank.
14269 Next, the web server CSR must be signed to create the web server certificate. You can
14270 either send the CSR to an established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14272 To sign httpserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14273 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14274 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in httpserver.csr -out httpservercert.pem<xhtml:br/></xhtml:code>
14275 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14276 When prompted, enter the CA passphrase to continue and then complete the process. The
14277 httpservercert. pem certificate needed to enable SSL on the web server is now in the
14278 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14279 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14280 Finally, the web server key and certificate file need to be moved to the
14281 web server. Use removable media if possible. Place the server key and certificate file
14282 in /etc/pki/tls/http/, naming them serverkey.pem and servercert.pem, respectively.</xccdf:description>
14283 </xccdf:Group>
14284 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.3">
14285 <xccdf:title xml:lang="en">Install SSL Certificate</xccdf:title>
14286 <xccdf:description xml:lang="en">
14287 Add or modify the configuration file
14288 /etc/httpd/conf.d/ssl.conf to match the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14290 # establish new listening port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14291 Listen 443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14292 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14293 # seed appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14294 SSLRandomSeed startup file:/dev/urandom 1024<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14295 SSLRandomSeed connect file:/dev/urandom 1024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14296 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14297 &lt;VirtualHost site-on-certificate.com:443&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14298 # Enable SSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14299 SSLEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14300 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14301 # Path to server certificate + private key <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14302 SSLCertificateFile /etc/pki/tls/http/servercert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14303 SSLCertificateKeyFile /etc/pki/tls/http/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14305 SSLProtocol All -SSLv2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14306 # Weak ciphers and null authentication should be denied unless absolutely necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14307 # (and even then, such cipher weakening should occur within a Location enclosure)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14308 SSLCipherSuite HIGH:MEDIUM:!aNULL:+MD5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14309 &lt;/VirtualHost&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14311 Ensure that all
14312 directories that house SSL content are restricted to SSL access only in
14313 /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14314 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14315 &lt;Directory /var/www/html/secure&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14316 # require SSL for access <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14317 SSLRequireSSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14318 SSLOptions +StrictRequire <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14319 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14320 # require domain to match certificate domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14321 SSLRequire %{HTTP HOST} eq "site-on-certificate.com" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14322 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14323 # rather than reply with 403 error, redirect user to appropriate site <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14324 # this is OPTIONAL - uncomment to apply <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14325 # ErrorDocument 403 https://site-on-certificate.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14326 &lt;/Directory&gt;</xccdf:description>
14327 </xccdf:Group>
14328 </xccdf:Group>
14329 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2">
14330 <xccdf:title xml:lang="en">Deploy mod security</xccdf:title>
14331 <xccdf:description xml:lang="en">
14332 mod security provides an application level firewall for Apache.
14333 Following the installation of mod security with the base ruleset, specific configuration
14334 advice can be found at http://www.modsecurity.org/ to design a policy that best matches
14335 the security needs of the web applications.</xccdf:description>
14336 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.1">
14337 <xccdf:title xml:lang="en">Install mod security</xccdf:title>
14338 <xccdf:description xml:lang="en">
14339 Install mod security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14341 # yum install mod_security</xccdf:description>
14342 </xccdf:Group>
14343 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.2">
14344 <xccdf:title xml:lang="en">Configure mod security Filtering</xccdf:title>
14345 <xccdf:description xml:lang="en">
14346 mod security supports a significant number of options, far
14347 too many to be fully covered in this guide. However, the following list comprises a
14348 smaller subset of suggested filters to be added to /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14350 # enable mod_security <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14351 SecFilterEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14352 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14353 # enable POST filtering <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14354 SecFilterScanPost On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14355 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14356 # Make sure that URL encoding is valid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14357 SecFilterCheckURLEncoding On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14358 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14359 # Accept almost all byte values <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14360 SecFilterForceByteRange 1 255 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14362 # Prevent directory traversal <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14363 SecFilter "\.\./" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14364 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14365 # Filter on specific system specific paths <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14366 SecFilter /etc/passwd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14367 SecFilter /bin/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14368 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14369 # Prevent cross-site scripting <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14370 SecFilter "&lt;[[:space:]]* script" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14371 # Prevent SQL injection <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14372 SecFilter "delete[[:space:]]+from" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14373 SecFilter "insert[[:space:]]+into"<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14374 SecFilter "select.+from"</xccdf:description>
14375 </xccdf:Group>
14376 </xccdf:Group>
14377 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.3">
14378 <xccdf:title xml:lang="en">Use Denial-of-Service Protection Modules</xccdf:title>
14379 <xccdf:description xml:lang="en">
14380 Denial-of-service attacks are difficult to detect and prevent
14381 while maintaining acceptable access to authorized users. However, there are a number of
14382 traffic-shaping modules that attempt to address the problem. Well-known DoS protection
14383 modules include: mod_throttle mod_bwshare mod_limitipconn mod_dosevasive It is
14384 recommended that denial-of-service prevention be implemented for the web server.
14385 However, this guide leaves specific configuration details to the discretion of the
14386 reader.</xccdf:description>
14387 </xccdf:Group>
14388 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4">
14389 <xccdf:title xml:lang="en">Configure Supplemental Modules Appropriately</xccdf:title>
14390 <xccdf:description xml:lang="en">Any required functionality added to the web server via additional modules should be configured appropriately.</xccdf:description>
14391 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4.1">
14392 <xccdf:title xml:lang="en">Configure PHP Securely</xccdf:title>
14393 <xccdf:description xml:lang="en">
14394 PHP is a widely used and often misconfigured server-side
14395 scripting language. It should be used with caution, but configured appropriately when
14396 needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14397 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14398 Make the following changes to /etc/php.ini: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14399 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14400 # Do not expose PHP error messages to external users <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14401 display_errors = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14402 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14403 # Enable safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14404 safe_mode = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14405 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14406 # Only allow access to executables in isolated directory <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14407 safe_mode_exec_dir = php-required-executables-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14408 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14409 # Limit external access to PHP environment<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14410 safe_mode_allowed_env_vars = PHP_ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14412 # Restrict PHP information leakage <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14413 expose_php = Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14414 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14415 # Log all errors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14416 log_errors = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14417 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14418 # Do not register globals for input data<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14419 register_globals = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14420 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14421 # Minimize allowable PHP post size <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14422 post_max_size = 1K <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14423 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14424 # Ensure PHP redirects appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14425 cgi.force_redirect = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14426 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14427 # Disallow uploading unless necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14428 file_uploads = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14429 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14430 # Disallow treatment of file requests as fopen calls<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14431 allow_url_fopen = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14432 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14433 # Enable SQL safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14434 sql.safe_mode = On</xccdf:description>
14435 </xccdf:Group>
14436 </xccdf:Group>
14437 </xccdf:Group>
14438 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5">
14439 <xccdf:title xml:lang="en">Configure Operating System to Protect Web Server</xccdf:title>
14440 <xccdf:description xml:lang="en">
14441 The following configuration steps should be taken on the machine
14442 which hosts the web server, in order to provide as safe an environment as possible for the
14443 web server.</xccdf:description>
14444 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.1">
14445 <xccdf:title xml:lang="en">Restrict File and Directory Access</xccdf:title>
14446 <xccdf:description xml:lang="en">
14447 Minimize access to critical Apache files and directories: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14448 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14449 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod 511 /usr/sbin/httpd <xhtml:br/>
14450 # chmod 750 /var/log/httpd/ <xhtml:br/>
14451 # chmod 750 /etc/httpd/conf/ <xhtml:br/>
14452 # chmod 640 /etc/httpd/conf/* <xhtml:br/>
14453 # chgrp -R apache /etc/httpd/conf</xhtml:code></xccdf:description>
14454 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.a" operator="equals" type="string">
14455 <xccdf:title>Directory permissions on /etc/httpd/conf</xccdf:title>
14456 <xccdf:description xml:lang="en">Specify directory permissions on /etc/httpd/conf</xccdf:description>
14457 <xccdf:question xml:lang="en">Specify directory permissions of /etc/httpd/conf</xccdf:question>
14458 <xccdf:value>111101000</xccdf:value>
14459 <xccdf:value selector="750">111101000</xccdf:value>
14460 <xccdf:match>^[01]+$</xccdf:match>
14461 </xccdf:Value>
14462 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.b" operator="equals" type="string">
14463 <xccdf:title>File permissions on /etc/httpd/conf/*</xccdf:title>
14464 <xccdf:description xml:lang="en">Specify file permissions on /etc/httpd/conf/*</xccdf:description>
14465 <xccdf:question xml:lang="en">Specify file permissions of /etc/httpd/conf/*</xccdf:question>
14466 <xccdf:value>110100000</xccdf:value>
14467 <xccdf:value selector="640">110100000</xccdf:value>
14468 <xccdf:match>^[01]+$</xccdf:match>
14469 </xccdf:Value>
14470 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.c" operator="equals" type="string">
14471 <xccdf:title>File permissions on /usr/sbin/httpd</xccdf:title>
14472 <xccdf:description xml:lang="en">Specify file permissions on /usr/sbin/httpd</xccdf:description>
14473 <xccdf:question xml:lang="en">Specify file permissions of /etc/sbin/httpd</xccdf:question>
14474 <xccdf:value>101001001</xccdf:value>
14475 <xccdf:value selector="511">101001001</xccdf:value>
14476 <xccdf:match>^[01]+$</xccdf:match>
14477 </xccdf:Value>
14478 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.d" operator="equals" type="string">
14479 <xccdf:title>group owner of /etc/httpd/conf/*</xccdf:title>
14480 <xccdf:description xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:description>
14481 <xccdf:question xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:question>
14482 <xccdf:value>apache</xccdf:value>
14483 <xccdf:value selector="apache">apache</xccdf:value>
14484 </xccdf:Value>
14485 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.e" operator="equals" type="string">
14486 <xccdf:title>File permissions on /var/log/httpd/</xccdf:title>
14487 <xccdf:description xml:lang="en">Specify file permissions on /var/log/httpd/</xccdf:description>
14488 <xccdf:question xml:lang="en">Specify file permissions of /var/log/httpd/</xccdf:question>
14489 <xccdf:value>111101000</xccdf:value>
14490 <xccdf:value selector="750">111101000</xccdf:value>
14491 <xccdf:match>^[01]+$</xccdf:match>
14492 </xccdf:Value>
14493 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false" weight="10.0">
14494 <xccdf:title>Restrict permissions on /etc/httpd/conf</xccdf:title>
14495 <xccdf:description>File permissions for /etc/httpd/conf should be set correctly.</xccdf:description>
14496 <xccdf:ident system="http://cce.mitre.org">CCE-4509-6</xccdf:ident>
14497 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14498 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14499 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20326" value-id="xccdf_cdf_value_var-3.16.5.1.a"/>
14500 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20326"/>
14501 </xccdf:check>
14502 </xccdf:Rule>
14503 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false" weight="10.0">
14504 <xccdf:title>Restrict permissions on /etc/httpd/conf/*</xccdf:title>
14505 <xccdf:description>File permissions for /etc/httpd/conf/* should be set correctly.</xccdf:description>
14506 <xccdf:ident system="http://cce.mitre.org">CCE-4386-9</xccdf:ident>
14507 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14508 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14509 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20327" value-id="xccdf_cdf_value_var-3.16.5.1.b"/>
14510 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20327"/>
14511 </xccdf:check>
14512 </xccdf:Rule>
14513 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false" weight="10.0">
14514 <xccdf:title>Restrict permissions on /usr/sbin/httpd</xccdf:title>
14515 <xccdf:description>File permissions for /usr/sbin/httpd should be set correctly.</xccdf:description>
14516 <xccdf:ident system="http://cce.mitre.org">CCE-4029-5</xccdf:ident>
14517 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14518 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14519 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20328" value-id="xccdf_cdf_value_var-3.16.5.1.c"/>
14520 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20328"/>
14521 </xccdf:check>
14522 </xccdf:Rule>
14523 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false" weight="10.0">
14524 <xccdf:title>Restrict group access to /etc/httpd/conf/*</xccdf:title>
14525 <xccdf:description>The /etc/httpd/conf/* files should be owned by the appropriate group.</xccdf:description>
14526 <xccdf:ident system="http://cce.mitre.org">CCE-3581-6</xccdf:ident>
14527 <xccdf:fixtext>(1) via chgrp</xccdf:fixtext>
14528 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14529 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20329" value-id="xccdf_cdf_value_var-3.16.5.1.d"/>
14530 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20329"/>
14531 </xccdf:check>
14532 </xccdf:Rule>
14533 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false" weight="10.0">
14534 <xccdf:title>Restrict permissions on /var/log/httpd</xccdf:title>
14535 <xccdf:description>File permissions for /var/log/httpd should be set correctly.</xccdf:description>
14536 <xccdf:ident system="http://cce.mitre.org">CCE-4574-0</xccdf:ident>
14537 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14538 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14539 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20330" value-id="xccdf_cdf_value_var-3.16.5.1.e"/>
14540 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20330"/>
14541 </xccdf:check>
14542 </xccdf:Rule>
14543 </xccdf:Group>
14544 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.2">
14545 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Web Server</xccdf:title>
14546 <xccdf:description xml:lang="en">
14547 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
14548 that they appear before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14549 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14550 -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14551 -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14552 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14553 The default
14554 Iptables configuration does not allow inbound access to the HTTP (80) and HTTPS (443)
14555 ports used by the web server. This modification allows that access, while keeping other
14556 ports on the server in their default protected state. See Section 2.5.5 for more
14557 information about Iptables.</xccdf:description>
14558 </xccdf:Group>
14559 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.3">
14560 <xccdf:title xml:lang="en">Run Apache in a chroot Jail if Possible</xccdf:title>
14561 <xccdf:description xml:lang="en">
14562 Putting Apache in a chroot jail minimizes the damage done by a
14563 potential break-in by isolating the web server to a small section of the filesystem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14564 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14565 In
14566 order to configure Apache to run from a chroot directory, edit the Apache configuration
14567 file, /etc/httpd/ conf/httpd.conf, and add the directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14568 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14569 SecChrootDir /chroot/apache <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14570 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14571 It
14572 is also necessary to place all files required by Apache inside the filesystem rooted at
14573 /chroot/apache , including Apache's binaries, modules, configuration files, and served
14574 web pages. The details of this configuration are beyond the scope of this guide.</xccdf:description>
14575 </xccdf:Group>
14576 </xccdf:Group>
14577 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.6">
14578 <xccdf:title xml:lang="en">Additional Resources</xccdf:title>
14579 <xccdf:description xml:lang="en">
14580 Further resources should be consulted if your web server requires
14581 more extensive configuration guidance, especially if particular applications need to be
14582 secured. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14583 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14584 In particular, [26] is recommended as a more comprehensive guide to securing Apache.</xccdf:description>
14585 </xccdf:Group>
14586 </xccdf:Group>
14587 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17">
14588 <xccdf:title xml:lang="en">IMAP and POP3 Server</xccdf:title>
14589 <xccdf:description xml:lang="en">
14590 Dovecot provides IMAP and POP3 services. It is not installed by
14591 default. The project page at http://www.dovecot.org contains more detailed information
14592 about Dovecot configuration.</xccdf:description>
14593 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.1">
14594 <xccdf:title xml:lang="en">Disable Dovecot if Possible</xccdf:title>
14595 <xccdf:description xml:lang="en">
14596 If the system does not need to operate as an IMAP or POP3 server,
14597 disable and remove Dovecot if it was installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14599 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dovecot off <xhtml:br/>
14600 # yum erase dovecot</xhtml:code></xccdf:description>
14601 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.a" selected="false" severity="low" weight="10.0">
14602 <xccdf:title>Disable Dovecot if Possible</xccdf:title>
14603 <xccdf:description>The dovecot service should be disabled.</xccdf:description>
14604 <xccdf:ident system="http://cce.mitre.org">CCE-3847-1</xccdf:ident>
14605 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14606 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14607 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20331"/>
14608 </xccdf:check>
14609 </xccdf:Rule>
14610 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.b" selected="false" weight="10.0">
14611 <xccdf:title>Uninstall Dovecot if Possible</xccdf:title>
14612 <xccdf:description>The dovecot package should be uninstalled.</xccdf:description>
14613 <xccdf:ident system="http://cce.mitre.org">CCE-4239-0</xccdf:ident>
14614 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
14615 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14616 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20332"/>
14617 </xccdf:check>
14618 </xccdf:Rule>
14619 </xccdf:Group>
14620 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2">
14621 <xccdf:title xml:lang="en">Configure Dovecot if Necessary</xccdf:title>
14622 <xccdf:description xml:lang="en">Dovecot's main configuration file is /etc/dovecot.conf. The settings which appear, commented out, in the file are the defaults.</xccdf:description>
14623 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.1">
14624 <xccdf:title xml:lang="en">Support Only the Necessary Protocols</xccdf:title>
14625 <xccdf:description xml:lang="en">
14626 Edit /etc/dovecot.conf. Add or correct the following lines,
14627 replacing PROTOCOL with only the subset of protocols (imap, imaps, pop3, pop3s)
14628 required: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14629 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14630 protocols = PROTOCOL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14632 Dovecot supports the IMAP and POP3 protocols, as well as
14633 SSL-protected versions of those protocols. Configure the Dovecot server to support only
14634 the protocols needed by your site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14635 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14636 If possible, require SSL protection for all
14637 transactions. The SSL protocol variants listen on alternate ports (995 instead of 110
14638 for pop3s, and 993 instead of 143 for imaps), and require SSL-aware clients. An
14639 alternate approach is to listen on the standard port and require the client to use the
14640 STARTTLS command before authenticating.</xccdf:description>
14641 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false" weight="10.0">
14642 <xccdf:title>Dovecot should not support imaps</xccdf:title>
14643 <xccdf:description>Dovecot should be configured to not support the imaps protocol</xccdf:description>
14644 <xccdf:ident system="http://cce.mitre.org">CCE-4384-4</xccdf:ident>
14645 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14646 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14647 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20333"/>
14648 </xccdf:check>
14649 </xccdf:Rule>
14650 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false" weight="10.0">
14651 <xccdf:title>Dovecot should not support pop3s</xccdf:title>
14652 <xccdf:description>Dovecot should be configured to not support the pop3s protocol</xccdf:description>
14653 <xccdf:ident system="http://cce.mitre.org">CCE-3887-7</xccdf:ident>
14654 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14655 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14656 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20334"/>
14657 </xccdf:check>
14658 </xccdf:Rule>
14659 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false" weight="10.0">
14660 <xccdf:title>Dovecot should not support pop3</xccdf:title>
14661 <xccdf:description>Dovecot should be configured to not support the pop3 protocol</xccdf:description>
14662 <xccdf:ident system="http://cce.mitre.org">CCE-4530-2</xccdf:ident>
14663 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14664 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14665 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20335"/>
14666 </xccdf:check>
14667 </xccdf:Rule>
14668 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false" weight="10.0">
14669 <xccdf:title>Dovecot should not support imap</xccdf:title>
14670 <xccdf:description>Dovecot should be configured to not support the imap protocol</xccdf:description>
14671 <xccdf:ident system="http://cce.mitre.org">CCE-4547-6</xccdf:ident>
14672 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14673 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14674 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20336"/>
14675 </xccdf:check>
14676 </xccdf:Rule>
14677 </xccdf:Group>
14678 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2">
14679 <xccdf:title xml:lang="en">Enable SSL Support</xccdf:title>
14680 <xccdf:description xml:lang="en">
14681 SSL should be used to encrypt network traffic between the
14682 Dovecot server and its clients. Users must authenticate to the Dovecot server in order
14683 to read their mail, and passwords should never be transmitted in clear text. In
14684 addition, protecting mail as it is downloaded is a privacy measure, and clients may use
14685 SSL certificates to authenticate the server, preventing another system from
14686 impersonating the server. See Section 2.5.6 for general SSL information, including the
14687 setup of a Certificate Authority (CA).</xccdf:description>
14688 <xccdf:reference>Apache 2 with SSL/TLS: Step-by-step, Part 2. Tech. rep.</xccdf:reference>
14689 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.1">
14690 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
14691 <xccdf:description xml:lang="en">
14692 Note: The following steps should be performed on your CA
14693 system, and not on the Dovecot server itself. If you will have a commercial CA sign
14694 certificates, then these steps should be performed on a separate, physically secure
14695 system devoted to that purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14696 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14697 On your CA (if you are using your own) or on another
14698 physically secure system, generate a key pair for the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14699 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14700 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/>
14701 # openssl genrsa -out imapserverkey.pem 2048 <xhtml:br/></xhtml:code>
14702 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14703 Next, generate a
14704 certificate signing request (CSR) for the CA to sign, making sure to enter the
14705 server's fully-qualified domain name when prompted for the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14706 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14707 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key imapserverkey.pem -out imapserver.csr <xhtml:br/></xhtml:code>
14708 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14709 Next, the mail server CSR must be
14710 signed to create the Dovecot server certificate. You can either send the CSR to an
14711 established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14712 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14713 To sign imapserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14714 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14715 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in imapserver.csr -out imapservercert.pem <xhtml:br/></xhtml:code>
14716 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14717 This step creates a private key,
14718 imapserverkey.pem, and a public certificate, imapservercert.pem. The Dovecot server
14719 will use these to prove its identity by demonstrating that it has a certificate which
14720 has been signed by a CA. POP3 or IMAP clients at your site should only be willing to
14721 provide users' credentials to a server they can authenticate.</xccdf:description>
14722 </xccdf:Group>
14723 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.2">
14724 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
14725 <xccdf:description xml:lang="en">
14726 Create the PKI directory for POP and IMAP certificates if it
14727 does not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14728 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14729 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/imap <xhtml:br/>
14730 # chown root:root /etc/pki/tls/imap<xhtml:br/>
14731 # chmod 755 /etc/pki/tls/imap <xhtml:br/></xhtml:code>
14732 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14733 Using removable media or some other secure transmission
14734 format, install the files generated in the previous step onto the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14735 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
14736 <xhtml:li>/etc/pki/tls/imap/serverkey.pem: the private key imapserverkey.pem</xhtml:li>
14737 <xhtml:li>/etc/pki/tls/imap/servercert.pem: the certificate file imapservercert.pem</xhtml:li>
14738 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14739 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14740 Verify thepermissions on these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14741 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14742 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/imap/serverkey.pem <xhtml:br/>
14743 # chown root:root /etc/pki/tls/imap/servercert.pem <xhtml:br/>
14744 # chmod 600 /etc/pki/tls/imap/serverkey.pem<xhtml:br/>
14745 # chmod 600 /etc/pki/tls/imap/servercert.pem <xhtml:br/></xhtml:code>
14746 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14747 Verify that the CA's public certificate
14748 file has been installed as /etc/pki/tls/CA/cacert.pem, and has the correct
14749 permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14751 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
14752 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
14753 </xccdf:Group>
14754 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.3">
14755 <xccdf:title xml:lang="en">Configure Dovecot to Use the SSL Certificate</xccdf:title>
14756 <xccdf:description xml:lang="en">
14757 Edit /etc/dovecot.conf and add or correct the following lines
14758 (ensuring they reference the appropriate files): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14759 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14760 ssl_cert_file = /etc/pki/tls/imap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14761 ssl_key_file = /etc/pki/tls/imap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14762 ssl_ca_file = /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14763 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14764 These options tell Dovecot where to find the
14765 TLS configuration, allowing clients to make encrypted connections.</xccdf:description>
14766 </xccdf:Group>
14767 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.4">
14768 <xccdf:title xml:lang="en">Disable Plaintext Authentication</xccdf:title>
14769 <xccdf:description xml:lang="en">
14770 To prevent Dovecot from attempting plaintext authentication
14771 of clients, edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14772 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14773 disable_plaintext_auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14774 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14775 The disable_plaintext_auth command disallows
14776 login-related commands until an encrypted session has been negotiated using SSL. If
14777 client compatibility requires you to allow connections to the pop3 or imap ports,
14778 rather than the alternate SSL ports, you should use this command to require STARTTLS
14779 before authentication.</xccdf:description>
14780 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false" weight="10.0">
14781 <xccdf:title>Disable Plaintext Authentication</xccdf:title>
14782 <xccdf:description>Dovecot plaintext authentication of clients should be disabled</xccdf:description>
14783 <xccdf:ident system="http://cce.mitre.org">CCE-4552-6</xccdf:ident>
14784 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14785 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14786 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20337"/>
14787 </xccdf:check>
14788 </xccdf:Rule>
14789 </xccdf:Group>
14790 </xccdf:Group>
14791 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.3">
14792 <xccdf:title xml:lang="en">Enable Dovecot Options to Protect Against Code Flaws</xccdf:title>
14793 <xccdf:description xml:lang="en">
14794 Edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14795 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14796 login_process_per_connection = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14797 mail_drop_priv_before_exec = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14798 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14799 IMAP and POP3 are
14800 remote authenticated protocols, meaning that the server must accept remote connections
14801 from anyone, but provide substantial services only to clients who have successfully
14802 authenticated. To protect against security problems, Dovecot splits these functions into
14803 separate server processes. The imap-login and/or pop3-login processes accept connections
14804 from unauthenticated users, and only spawn imap or pop3 processes on successful
14805 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14806 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14807 However, the imap-login and pop3-login processes themselves may contain
14808 vulnerabilities. Since each of these processes operates as a daemon, handling multiple
14809 sequential client connections from different users, bugs in the code could allow
14810 unauthenticated users to steal credential data. If the login_process_per_connection
14811 option is enabled, then a separate imap-login or pop3-login process is created for each
14812 new connection, protecting against this class of problems. This option has an efficiency
14813 cost, but is strongly recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14814 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14815 If the mail_drop_priv_before_exec option is on, the
14816 imap-login or pop3-login process will drop privileges to the user's ID after
14817 authentication and before executing the imap or pop3 process itself. Under some very
14818 limited circumstances, this could protect against privilege escalation by authenticated
14819 users. However, if the mail executable option is used to run code before starting each
14820 user's session, it is important to drop privileges to prevent the custom code from
14821 running as root.</xccdf:description>
14822 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false" weight="10.0">
14823 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14824 <xccdf:description>The Dovecot option to drop privileges to user before executing mail process should be enabled</xccdf:description>
14825 <xccdf:ident system="http://cce.mitre.org">CCE-4371-1</xccdf:ident>
14826 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14827 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14828 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20338"/>
14829 </xccdf:check>
14830 </xccdf:Rule>
14831 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false" weight="10.0">
14832 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14833 <xccdf:description>The Dovecot option to spawn a new login process per connection should be enabled</xccdf:description>
14834 <xccdf:ident system="http://cce.mitre.org">CCE-4410-7</xccdf:ident>
14835 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14836 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14837 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20339"/>
14838 </xccdf:check>
14839 </xccdf:Rule>
14840 </xccdf:Group>
14841 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.4">
14842 <xccdf:title xml:lang="en">Allow IMAP Clients to Access the Server</xccdf:title>
14843 <xccdf:description xml:lang="en">
14844 Edit /etc/sysconfig/iptables. Add the following line, ensuring
14845 that it appears before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14847 -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 143 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14848 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14849 The default
14850 iptables configuration does not allow inbound access to any services. This modification
14851 will allow remote hosts to initiate connections to the IMAP daemon, while keeping all
14852 other ports on the server in their default protected state. See Section 2.5.5 for more
14853 information about iptables.</xccdf:description>
14854 </xccdf:Group>
14855 </xccdf:Group>
14856 </xccdf:Group>
14857 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18">
14858 <xccdf:title xml:lang="en">Samba(SMB) Microsoft Windows File Sharing Server</xccdf:title>
14859 <xccdf:description xml:lang="en">
14860 When properly configured, the Samba service allows Linux machines
14861 to provide file and print sharing to Microsoft Windows machines. There are two software
14862 packages that provide Samba support. The first, samba-client, provides a series of command
14863 line tools that enable a client machine to access Samba shares. The second, simply labeled
14864 samba, provides the Samba service. It is this second package that allows a Linux machine to
14865 act as an Active Directory server, a domain controller, or as a domain member. Only the
14866 samba-client package is installed by default.</xccdf:description>
14867 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.1">
14868 <xccdf:title xml:lang="en">Disable Samba if Possible</xccdf:title>
14869 <xccdf:description xml:lang="en">
14870 If the Samba service has been enabled and will not be used, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14871 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14872 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smb off <xhtml:br/></xhtml:code>
14873 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14874 Even after the Samba server package has been installed, it
14875 will remain disabled. Do not enable this service unless it is absolutely necessary to
14876 provide Microsoft Windows file and print sharing functionality.</xccdf:description>
14877 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.1.a" selected="false" severity="medium" weight="10.0">
14878 <xccdf:title>Disable Samba if Possible</xccdf:title>
14879 <xccdf:description>The smb service should be disabled.</xccdf:description>
14880 <xccdf:ident system="http://cce.mitre.org">CCE-4551-8</xccdf:ident>
14881 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14882 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14883 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20340"/>
14884 </xccdf:check>
14885 </xccdf:Rule>
14886 </xccdf:Group>
14887 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2">
14888 <xccdf:title xml:lang="en">Configure Samba if Necessary</xccdf:title>
14889 <xccdf:description xml:lang="en">
14890 All settings for the Samba daemon can be found in
14891 /etc/samba/smb.conf. Settings are divided between a [global] configuration section and a
14892 series of user created share definition sections meant to describe file or print shares on
14893 the system. By default, Samba will operate in user mode and allow client machines to
14894 access local home directories and printers. It is recommended that these settings be
14895 changed or that additional limitations be set in place.</xccdf:description>
14896 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.1">
14897 <xccdf:title xml:lang="en">Testing the Samba Configuration File</xccdf:title>
14898 <xccdf:description xml:lang="en">
14899 To test the configuration file for syntax errors, use the
14900 testparm command. It will also list all settings currently in place, including defaults
14901 that may not appear in the configuration file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14902 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14903 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># testparm -v</xhtml:code></xccdf:description>
14904 </xccdf:Group>
14905 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2">
14906 <xccdf:title xml:lang="en">Choosing the Appropriate security Parameter</xccdf:title>
14907 <xccdf:description xml:lang="en">
14908 There are two kinds of security in Samba, share-level (share)
14909 and user-level. User-level security is further subdivided into four separate
14910 implementations: user, domain, ads, and server. It is recommended that the share and
14911 server security modes not be used. In share security, everyone is given the same
14912 password for each share, preventing individual user accountability. server security mode
14913 has been superseded by the domain and ads security modes. It may now be considered
14914 obsolete. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14915 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14916 The security parameter is set in the [global] section of the Samba
14917 configuration file. It determines how the server will handle user names and passwords.
14918 Some security modes require additional parameters, such as workgroup, realm, or password
14919 server names. All security modes will require that each remote user have a matching
14920 local account. One workaround to this problem is to use the winbindd daemon. Please
14921 consult the official Samba documentation to learn more.</xccdf:description>
14922 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.1">
14923 <xccdf:title xml:lang="en">Use user Security for Servers Not in a Domain Context</xccdf:title>
14924 <xccdf:description xml:lang="en">
14925 This is the default setting with a new Samba installation and
14926 the best choice when operating outside of a domain security context. The relevant
14927 parameters in /etc/samba/smb.conf will read as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14929 security = user <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14930 workgroup = MYGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14931 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14932 Set the value of workgroup so that it matches the value of other machines on
14933 the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14934 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14935 In user mode, authentication requests are handled locally and not passed
14936 on to a separate authentication server. This is the desired behavior for standalone
14937 servers and domain controllers.</xccdf:description>
14938 </xccdf:Group>
14939 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.2">
14940 <xccdf:title xml:lang="en">Use domain Security for Servers in a Domain Context</xccdf:title>
14941 <xccdf:description xml:lang="en">
14942 First, change the security parameter to domain.
14943 Next, set the workgroup and netbios name parameters (if necessary): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14944 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14945 security = domain<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14946 workgroup = WORKGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14947 netbios name = NETBIOSNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14949 domain mode is used for any machine
14950 that will act as a domain member server. It lets Samba know that the authentication
14951 information it needs can be found on another machine. Primary and Backup Domain
14952 Controllers host copies of this information. Samba will try to automatically determine
14953 which machine it should authenticate against on a domain network. If this detection
14954 fails, it may be necessary to specify the location manually. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14955 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14956 Unlike the Microsoft
14957 Windows implementation of the SMB standard, a Samba machine can freely change roles
14958 within a domain without requiring that the machine be reinstalled (such roles include
14959 primary and backup domain controllers, domain member servers, and ordinary domain
14960 workstations). However, there are some limitations on how each machine can fulfill
14961 each role in a mixed network.</xccdf:description>
14962 <xccdf:warning xml:lang="en">When using Samba as a Primary or Backup Domain Controller,
14963 use security = user, not security = domain. This tells Samba that the local machine is
14964 hosting the authentication backend. </xccdf:warning>
14965 </xccdf:Group>
14966 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.3">
14967 <xccdf:title xml:lang="en">Use ads (Active Directory Service) Security For Servers in an ADS
14968 Domain</xccdf:title>
14969 <xccdf:description xml:lang="en">
14970 Context The security mode ads enables a Samba machine to act
14971 as an ADS domain member server. Since ADS requires Kerberos, be sure to set the realm
14972 parameter appropriately and configure the local copy of Kerberos. If necessary, it is
14973 also possible to manually set the password server parameter. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14974 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14975 security = ads <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14976 realm = MY_REALM <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14977 password server = your.kerberos.server <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14978 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14979 Currently, it is possible to act as an
14980 Active Directory domain member server, but not as a domain controller. Be sure to
14981 operate in mixed mode. Native mode may not work yet in current versions of Samba.
14982 Future support for ADS should be forthcoming in Samba 4. See the Samba project web
14983 site at http://www.samba.org for more details.</xccdf:description>
14984 </xccdf:Group>
14985 </xccdf:Group>
14986 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.3">
14987 <xccdf:title xml:lang="en">Disable Guest Access and Local Login Support</xccdf:title>
14988 <xccdf:description xml:lang="en">
14989 Do not allow guest users to access local file or printer
14990 shares. In global or in each share, set the parameter guest ok to no: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14991 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14992 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14993 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14994 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14995 It is safe to disable local login support for remote Samba users. Consider changing
14996 the add user account script to set remote user shells to /sbin/nologin.</xccdf:description>
14997 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false" weight="10.0">
14998 <xccdf:title>Disable Guest Access and Local Login Support</xccdf:title>
14999 <xccdf:description>Do not allow guest users to access local file or printer shares. In global or in each share, set the parameter guest ok to no.</xccdf:description>
15000 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [share] guest ok = no </xccdf:fixtext>
15001 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15002 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203403"/>
15003 </xccdf:check>
15004 </xccdf:Rule>
15005 </xccdf:Group>
15006 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.4">
15007 <xccdf:title xml:lang="en">Disable Root Access</xccdf:title>
15008 <xccdf:description xml:lang="en">
15009 Administrators should not use administrator accounts to access
15010 Samba file and printer shares. If possible, disable the root user and the wheel
15011 administrator group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15012 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15013 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15014 invalid users = root @wheel <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15015 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15016 If administrator accounts
15017 cannot be disabled, ensure that local machine passwords and Samba service passwords do
15018 not match. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15019 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15020 Typically, administrator access is required when Samba must create user and
15021 machine accounts and shares. Domain member servers and standalone servers may not need
15022 administrator access at all. If that is the case, add the invalid users parameter to
15023 [global] instead.</xccdf:description>
15024 </xccdf:Group>
15025 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.5">
15026 <xccdf:title xml:lang="en">Set the Allowed Authentication Negotiation Levels</xccdf:title>
15027 <xccdf:description xml:lang="en">By default, Samba will attempt to negotiate with Microsoft
15028 Windows machines to set a common communication protocol. Whenever possible, be sure to
15029 disable LANMAN authentication, as it is far weaker than the other supported protocols.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15031 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15032 client lanman auth = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15034 Newer versions of Microsoft Windows may require the use
15035 of NTLMv2. NTLMv2 is the preferred protocol for authentication, but since older machines
15036 do not support it, Samba has disabled it by default. If possible, reenable it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15037 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15038 [global]<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15039 client ntlmv2 auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15040 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15041 For the sake of backwards compatibility, most modern Windows
15042 machines will still allow other machines to communicate with them over weak protocols
15043 such as LANMAN. On Samba, by enabling NTLMv2, you are also disabling LANMAN and NTLMv1.
15044 If NTLMv1 is required, it is still possible to individually disable LANMAN.</xccdf:description>
15045 </xccdf:Group>
15046 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.6">
15047 <xccdf:title xml:lang="en">Let Domain Controllers Create Machine Trust Accounts On-the-Fly</xccdf:title>
15048 <xccdf:description xml:lang="en">
15049 Add or correct an add machine script entry to the [global]
15050 section of /etc/samba/smb.conf to allow Samba to dynamically create Machine Trust
15051 Accounts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15052 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15053 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15054 add machine script = /usr/sbin/useradd -n -g machines -d /dev/null -s /sbin/nologin %u <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15055 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15056 Make sure that the group machines exists. If not, add it with the
15057 following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15058 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15059 /usr/sbin/groupadd machines <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15060 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15061 When acting as a PDC, it becomes
15062 necessary to create and store Machine Trust Accounts for each machine that joins the
15063 domain. On a Microsoft Windows PDC, this account is created with the Server Manager
15064 tool, but on a Samba PDC, two accounts must be created. The first is the local machine
15065 account, and the second is the Samba account. For security purposes, it is recommended
15066 to let Samba create these accounts on-the-fly. When Machine Trust Accounts are created
15067 manually, there is a small window of opportunity in which a rogue machine could join the
15068 domain in place of the new server.</xccdf:description>
15069 </xccdf:Group>
15070 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.7">
15071 <xccdf:title xml:lang="en">Restrict Access to the [IPC$] Share</xccdf:title>
15072 <xccdf:description xml:lang="en">
15073 Limit access to the [IPC$] share so that only machines in your
15074 network will be able to connect to it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15076 [IPC$] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15077 hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15078 hosts deny = 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15079 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15080 The [IPC$] share allows users to anonymously fetch a list of shared
15081 resources from a server. It is intended to allow users to browse the list of available
15082 shares. It also can be used as a point of attack into a system. Disabling it completely
15083 may break some functionality, so it is recommended that you merely limit access to it
15084 instead.</xccdf:description>
15085 </xccdf:Group>
15086 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.8">
15087 <xccdf:title xml:lang="en">Restrict File Sharing</xccdf:title>
15088 <xccdf:description xml:lang="en">
15089 Only users with local user accounts will be able to log in to
15090 Samba shares by default. Shares can be limited to particular users or network addresses.
15091 Use the hosts allow and hosts deny directives accordingly, and consider setting the
15092 valid users directive to a limited subset of users or to a group of users. Separate each
15093 address, user, or user group with a space as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15095 [share] hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15096 valid users = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15098 It is also possible to limit read and
15099 write access to particular users with the read list and write list options, though the
15100 permissions set by the system itself will override these settings. Set the read only
15101 attribute for each share to ensure that global settings will not accidentally override
15102 the individual share settings. Then, as with the valid users directive, separate each
15103 user or group of users with a space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15104 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15105 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15106 read only = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15107 write list = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15108 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15109 The Samba service is only required for sharing files and printers
15110 with Microsoft Windows workstations, and even then, other options may exist. Do not use
15111 the Samba service to share files between Unix or Linux machines.</xccdf:description>
15112 </xccdf:Group>
15113 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.9">
15114 <xccdf:title xml:lang="en">Require Server SMB Packet Signing</xccdf:title>
15115 <xccdf:description xml:lang="en">
15116 To make the server use packet signing, add the following to the [global] section of the Samba configuration
15117 file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15119 server signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15120 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15121 The Samba server should only communicate with clients who can support SMB packet signing. Packet signing
15122 can prevent man-in-the-middle attacks which modify SMB packets in transit.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15123 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15124 The Samba service is only required for sharing files and printers with Microsoft Windows workstations, and even
15125 then, other options may exist. Do not use the Samba service to share files between Unix or Linux machines.
15126 </xccdf:description>
15127 </xccdf:Group>
15128 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.10">
15129 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using smbclient</xccdf:title>
15130 <xccdf:description xml:lang="en">
15131 To require samba clients running smbclient to use packet signing, add the following to the [global] section
15132 of the Samba configuration file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15134 client signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15135 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15136 A Samba client should only communicate with servers who can support SMB packet signing. Packet signing can
15137 prevent man-in-the-middle attacks which modify SMB packets in transit.
15138 </xccdf:description>
15139 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false" weight="10.0">
15140 <xccdf:title>Require Client SMB Packet Signing, if using smbclient</xccdf:title>
15141 <xccdf:description>
15142 Require samba clients running smbclient to use packet signing. A Samba client should only communicate with servers who can support SMB packet signing. Packet signing can
15143 prevent man-in-the-middle attacks which modify SMB packets in transit.</xccdf:description>
15144 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
15145 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [global] client signing = mandatory</xccdf:fixtext>
15146 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15147 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:2034010"/>
15148 </xccdf:check>
15149 </xccdf:Rule>
15150 </xccdf:Group>
15151 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.11">
15152 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
15153 <xccdf:description xml:lang="en">
15154 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
15155 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
15156 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15157 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15158 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
15159 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
15160 packets in transit.
15161 </xccdf:description>
15162 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false" weight="10.0">
15163 <xccdf:title>Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
15164 <xccdf:description>
15165 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
15166 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
15167 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15168 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15169 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
15170 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
15171 packets in transit.</xccdf:description>
15172 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
15173 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
15174 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15175 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:2034011"/>
15176 </xccdf:check>
15177 </xccdf:Rule>
15178 </xccdf:Group>
15179 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.12">
15180 <xccdf:title xml:lang="en">Restrict Printer Sharing</xccdf:title>
15181 <xccdf:description xml:lang="en">
15182 By default, Samba utilizes the CUPS printing service to enable
15183 printer sharing with Microsoft Windows workstations. If there are no printers on the
15184 local machine, or if printer sharing with Microsoft Windows is not required, disable the
15185 printer sharing capability by commenting out the following lines, found in /etc/
15186 samba/smb.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15187 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15188 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15189 ; load printers = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15190 ; cups options = raw <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15191 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15192 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15193 comment = All Printers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15194 path = /usr/spool/samba <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15195 browseable = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15196 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15197 writable = no
15198 printable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15199 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15200 There may be other options present, but these are the only options
15201 enabled and uncommented by default. Removing the [printers] share should be enough for
15202 most users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15203 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15204 If the Samba printer sharing capability is needed, consider disabling the
15205 Samba network browsing capability or restricting access to a particular set of users or
15206 network addresses. Set the valid users parameter to a small subset of users or restrict
15207 it to a particular group of users with the shorthand @. Separate each user or group of
15208 users with a space. For example, under the [printers] share: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15209 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15210 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15211 valid users = user @printerusers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15212 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15213 The CUPS service is capable of sharing printers with other Unix and
15214 Linux machines on the local network without the Samba service. The Samba service is only
15215 required when a Microsoft Windows machine needs printer access on a Unix or Linux host.</xccdf:description>
15216 </xccdf:Group>
15217 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.13">
15218 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Samba Server</xccdf:title>
15219 <xccdf:description xml:lang="en">
15220 Determine an appropriate network block, netwk , and network
15221 mask, mask , representing the machines on your network which should operate as clients
15222 of the Samba server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15224 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
15225 that they appear before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15226 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 137 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15227 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 138 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15228 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 139 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15229 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 445 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15230 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15231 The default Iptables configuration does not allow inbound access to the ports used by
15232 the Samba service. This modification allows that access, while keeping other ports on
15233 the server in their default protected state. Since these ports are frequent targets of
15234 network scanning attacks, restricting access to only the network segments which need to
15235 access the Samba server is strongly recommended. See Section 2.5.5 for more information
15236 about Iptables.</xccdf:description>
15237 </xccdf:Group>
15238 </xccdf:Group>
15239 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.3">
15240 <xccdf:title xml:lang="en">Avoid the Samba Web Administration Tool (SWAT)</xccdf:title>
15241 <xccdf:description xml:lang="en">
15242 SWAT is a web based configuration tool provided by the Samba team
15243 that enables both local and remote configuration management. It is not installed by
15244 default. It is recommended that SWAT not be used, as it requires the use of a Samba
15245 administrator account and sends that password in the clear over a network connection. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15246 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15247 If
15248 SWAT is absolutely required, limit access to the local machine or tunnel SWAT connections
15249 through SSL with stunnel.</xccdf:description>
15250 </xccdf:Group>
15251 </xccdf:Group>
15252 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19">
15253 <xccdf:title xml:lang="en">Proxy Server</xccdf:title>
15254 <xccdf:description xml:lang="en">
15255 A proxy server is a very desirable target for a potential adversary
15256 because much (or all) sensitive data for a given infrastructure may flow through it.
15257 Therefore, if one is required, the machine acting as a proxy server should be dedicated to
15258 that purpose alone and be stored in a physically secure location. The system's default proxy
15259 server software is Squid, and provided in an RPM package of the same name.</xccdf:description>
15260 <xccdf:reference>Galarneua, E. Security Considerations with Squid proxy server. Tech. rep., Apr 2003</xccdf:reference>
15261 <xccdf:reference>Wessels, D. Squid: The Definitive Guide. O’Reilly and Associates, Jan 2004</xccdf:reference>
15262 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.1">
15263 <xccdf:title xml:lang="en">Disable Squid if Possible</xccdf:title>
15264 <xccdf:description xml:lang="en">
15265 If Squid was installed and activated, but the system does not
15266 need to act as a proxy server, then it should be disabled and removed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15267 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15268 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig squid off <xhtml:br/>
15269 # yum erase squid</xhtml:code></xccdf:description>
15270 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.a" selected="false" severity="low" weight="10.0">
15271 <xccdf:title>Disable Squid if Possible</xccdf:title>
15272 <xccdf:description>The squid service should be disabled.</xccdf:description>
15273 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
15274 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
15275 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15276 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20341"/>
15277 </xccdf:check>
15278 </xccdf:Rule>
15279 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.b" selected="false" weight="10.0">
15280 <xccdf:title>Uninstall Squid if Possible</xccdf:title>
15281 <xccdf:description>The squid package should be uninstalled.</xccdf:description>
15282 <xccdf:ident system="http://cce.mitre.org">CCE-4076-6</xccdf:ident>
15283 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
15284 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15285 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20342"/>
15286 </xccdf:check>
15287 </xccdf:Rule>
15288 </xccdf:Group>
15289 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2">
15290 <xccdf:title xml:lang="en">Configure Squid if Necessary</xccdf:title>
15291 <xccdf:description xml:lang="en">
15292 The Squid configuration file is /etc/squid/squid.conf. The
15293 following recommendations can be applied to this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15294 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15295 Note: If a particular tag is not
15296 present in the configuration file, Squid falls back to the default setting (which is often
15297 illustrated by a comment).</xccdf:description>
15298 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.1">
15299 <xccdf:title xml:lang="en">Listen on Uncommon Port</xccdf:title>
15300 <xccdf:description xml:lang="en">
15301 The default listening port for the Squid service is 3128. As
15302 such, it is frequently scanned by adversaries looking for proxy servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15303 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15304 Select an
15305 arbitrary (but uncommon) high port to use as the Squid listening port and make the
15306 corresponding change to the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15307 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15308 http_port port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15309 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15310 Run the following command
15311 to add a new SELinux port mapping for the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15312 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15313 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># semanage port -a -t http_cache_port_t -p tcp port</xhtml:code></xccdf:description>
15314 </xccdf:Group>
15315 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.2">
15316 <xccdf:title xml:lang="en">Verify Default Secure Settings</xccdf:title>
15317 <xccdf:description xml:lang="en">
15318 Several security-enhancing settings in the Squid configuration
15319 file are enabled by default, but appear as comments in the configuration file (as
15320 mentioned in Section 3.19.2). In these instances, the explicit directive is not present,
15321 which means it is implicitly enabled. If you are operating with a default configuration
15322 file, this section can be ignored. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15323 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15324 Ensure that the following security settings are NOT
15325 explicitly changed from their default values: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15326 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15327 ftp_passive on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15328 ftp_sanitycheck on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15329 check_hostnames on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15330 request_header_max_size 20 KB <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15331 reply_header_max_size 20 KB<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15332 cache_effective_user squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15333 cache_effective_group squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15334 ignore_unknown_nameservers on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15336 ftp_passive forces FTP passive connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15337 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15338 ftp_sanitycheck performs additional sanity checks on FTP data connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15339 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15340 check_hostnames ensures that hostnames meet RFC compliance. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15342 request_header_max_size and reply_header_max_size place an upper limit on
15343 HTTP header length, precautions against denial-of-service and buffer overflow
15344 vulnerabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15345 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15346 cache_effective_user and cache_effective_group designate the EUID and
15347 EGID of Squid following initialization (it is essential that the EUID/EGID be set to an
15348 unprivileged sandbox account). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15350 ignore_unknown_nameservers checks to make sure that DNS
15351 responses come from the same IP the request was sent to.</xccdf:description>
15352 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.d" operator="equals" type="string">
15353 <xccdf:title>request_header_max_size</xccdf:title>
15354 <xccdf:description xml:lang="en">Place an upper limit on HTTP request header length, precautions against denial-of-service and buffer overflow vulnerabilities.</xccdf:description>
15355 <xccdf:question xml:lang="en">Specify an upper limit on HTTP request header length</xccdf:question>
15356 <xccdf:value>20kb</xccdf:value>
15357 <xccdf:value selector="20kb">20kb</xccdf:value>
15358 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
15359 </xccdf:Value>
15360 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.e" operator="equals" type="string">
15361 <xccdf:title>reply_header_max_size</xccdf:title>
15362 <xccdf:description xml:lang="en">Place an upper limit on HTTP reply header length, precautions against denial-of-service and buffer overflow vulnerabilities.</xccdf:description>
15363 <xccdf:question xml:lang="en">Specify an upper limit on HTTP reply header length</xccdf:question>
15364 <xccdf:value>20kb</xccdf:value>
15365 <xccdf:value selector="20kb">20kb</xccdf:value>
15366 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
15367 </xccdf:Value>
15368 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.f" operator="equals" type="string">
15369 <xccdf:title>cache_effective_user</xccdf:title>
15370 <xccdf:description xml:lang="en">Designate the EUID of Squid following initialization (it is essential that the EUID be set to an unprivileged sandbox account)..</xccdf:description>
15371 <xccdf:question xml:lang="en">Designate the EUID of Squid following initialization</xccdf:question>
15372 <xccdf:value>squid</xccdf:value>
15373 <xccdf:value selector="squid">squid</xccdf:value>
15374 </xccdf:Value>
15375 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.g" operator="equals" type="string">
15376 <xccdf:title>cache_effective_group</xccdf:title>
15377 <xccdf:description xml:lang="en">Designate the EGID of Squid following initialization (it is essential that the EGID be set to an unprivileged sandbox account)..</xccdf:description>
15378 <xccdf:question xml:lang="en">Designate the EGID of Squid following initialization</xccdf:question>
15379 <xccdf:value>squid</xccdf:value>
15380 <xccdf:value selector="squid">squid</xccdf:value>
15381 </xccdf:Value>
15382 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false" weight="10.0">
15383 <xccdf:title>Verify ftp_passive setting</xccdf:title>
15384 <xccdf:description>The Squid option to force FTP passive connections should be enabled</xccdf:description>
15385 <xccdf:ident system="http://cce.mitre.org">CCE-4454-5</xccdf:ident>
15386 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15387 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15388 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20343"/>
15389 </xccdf:check>
15390 </xccdf:Rule>
15391 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false" weight="10.0">
15392 <xccdf:title>Verify ftp_sanitycheck setting</xccdf:title>
15393 <xccdf:description>The Squid option to perform FTP sanity checks should be enabled</xccdf:description>
15394 <xccdf:ident system="http://cce.mitre.org">CCE-4459-4</xccdf:ident>
15395 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15396 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15397 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20344"/>
15398 </xccdf:check>
15399 </xccdf:Rule>
15400 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false" weight="10.0">
15401 <xccdf:title>Verify check_hostnames stting</xccdf:title>
15402 <xccdf:description>The Squid option to check for RFC compliant hostnames should be enabled</xccdf:description>
15403 <xccdf:ident system="http://cce.mitre.org">CCE-4503-9</xccdf:ident>
15404 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15405 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15406 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20345"/>
15407 </xccdf:check>
15408 </xccdf:Rule>
15409 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false" weight="10.0">
15410 <xccdf:title>Verify request_header_max_size setting</xccdf:title>
15411 <xccdf:description>The Squid max request HTTP header length should be set to an appropriate value</xccdf:description>
15412 <xccdf:ident system="http://cce.mitre.org">CCE-4353-9</xccdf:ident>
15413 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15414 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15415 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20346" value-id="xccdf_cdf_value_var-3.19.2.2.d"/>
15416 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20346"/>
15417 </xccdf:check>
15418 </xccdf:Rule>
15419 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false" weight="10.0">
15420 <xccdf:title>Verify reply_header_max_size setting</xccdf:title>
15421 <xccdf:description>The Squid max reply HTTP header length should be set to an appropriate value</xccdf:description>
15422 <xccdf:ident system="http://cce.mitre.org">CCE-4419-8</xccdf:ident>
15423 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15424 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15425 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20347" value-id="xccdf_cdf_value_var-3.19.2.2.e"/>
15426 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20347"/>
15427 </xccdf:check>
15428 </xccdf:Rule>
15429 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false" weight="10.0">
15430 <xccdf:title>Verify cache_effective_user setting</xccdf:title>
15431 <xccdf:description>The Squid EUID should be set to an appropriate user</xccdf:description>
15432 <xccdf:ident system="http://cce.mitre.org">CCE-3692-1</xccdf:ident>
15433 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15434 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15435 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20348" value-id="xccdf_cdf_value_var-3.19.2.2.f"/>
15436 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20348"/>
15437 </xccdf:check>
15438 </xccdf:Rule>
15439 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false" weight="10.0">
15440 <xccdf:title>Verify cache_effective_group setting</xccdf:title>
15441 <xccdf:description>The Squid GUID should be set to an appropriate group</xccdf:description>
15442 <xccdf:ident system="http://cce.mitre.org">CCE-4476-8</xccdf:ident>
15443 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15444 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15445 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20349" value-id="xccdf_cdf_value_var-3.19.2.2.g"/>
15446 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20349"/>
15447 </xccdf:check>
15448 </xccdf:Rule>
15449 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false" weight="10.0">
15450 <xccdf:title>Verify ignore_unknown_nameservers setting</xccdf:title>
15451 <xccdf:description>The Squid option to ignore unknown nameservers should be enabled</xccdf:description>
15452 <xccdf:ident system="http://cce.mitre.org">CCE-3585-7</xccdf:ident>
15453 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15454 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15455 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20350"/>
15456 </xccdf:check>
15457 </xccdf:Rule>
15458 </xccdf:Group>
15459 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.3">
15460 <xccdf:title xml:lang="en">Change Default Insecure Settings</xccdf:title>
15461 <xccdf:description xml:lang="en">
15462 The default configuration settings for the following tags are
15463 considered to be weak security and NOT recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15464 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15465 Add or modify the configuration file to include the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15466 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15467 allow_underscore off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15468 httpd_suppress_version_string on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15469 forwarded_for off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15470 log_mime_hdrs on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15471 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15472 allow_underscore enforces RFC 1034 compliance on
15473 hostnames by disallowing the use of underscores. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15474 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15475 httpd_suppress_version string prevents
15476 Squid from revealing version information in web headers and error pages. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15477 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15478 forwarded_for
15479 reveals proxy client IP addresses in HTTP headers and should be disabled to prevent the
15480 leakage of internal network configuration details. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15481 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15482 log_mime_hdrs enables logging of HTTP
15483 response/request headers.</xccdf:description>
15484 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.a" operator="equals" type="string">
15485 <xccdf:title>allow_underscore</xccdf:title>
15486 <xccdf:description xml:lang="en">allow_underscore enforces RFC 1034 compliance on hostnames by disallowing the use of underscores.</xccdf:description>
15487 <xccdf:question xml:lang="en">Enable/Disable enforcing RFC 1034 compliance on hostnames</xccdf:question>
15488 <xccdf:value>off</xccdf:value>
15489 <xccdf:value selector="enabled">on</xccdf:value>
15490 <xccdf:value selector="disabled">off</xccdf:value>
15491 <xccdf:match>on|off</xccdf:match>
15492 <xccdf:choices mustMatch="1">
15493 <xccdf:choice>on</xccdf:choice>
15494 <xccdf:choice>off</xccdf:choice>
15495 </xccdf:choices>
15496 </xccdf:Value>
15497 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.b" operator="equals" type="string">
15498 <xccdf:title>httpd_suppress_version</xccdf:title>
15499 <xccdf:description xml:lang="en">httpd_suppress_version string prevents Squid from revealing version information in web headers and error pages.</xccdf:description>
15500 <xccdf:question xml:lang="en">Enable/Disable preventing squid from revealing version information in web headers and error pages</xccdf:question>
15501 <xccdf:value>on</xccdf:value>
15502 <xccdf:value selector="enabled">on</xccdf:value>
15503 <xccdf:value selector="disabled">off</xccdf:value>
15504 <xccdf:match>on|off</xccdf:match>
15505 <xccdf:choices mustMatch="1">
15506 <xccdf:choice>on</xccdf:choice>
15507 <xccdf:choice>off</xccdf:choice>
15508 </xccdf:choices>
15509 </xccdf:Value>
15510 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.c" operator="equals" type="string">
15511 <xccdf:title>forwarded_for</xccdf:title>
15512 <xccdf:description xml:lang="en">forwarded_for reveals proxy client IP addresses in HTTP headers and should be disabled to prevent the leakage of internal network configuration details. </xccdf:description>
15513 <xccdf:question xml:lang="en">Enable/Disable revealing proxy client IP addresses in HTTP headers</xccdf:question>
15514 <xccdf:value>off</xccdf:value>
15515 <xccdf:value selector="enabled">on</xccdf:value>
15516 <xccdf:value selector="disabled">off</xccdf:value>
15517 <xccdf:match>on|off</xccdf:match>
15518 <xccdf:choices mustMatch="1">
15519 <xccdf:choice>on</xccdf:choice>
15520 <xccdf:choice>off</xccdf:choice>
15521 </xccdf:choices>
15522 </xccdf:Value>
15523 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.d" operator="equals" type="string">
15524 <xccdf:title>log_mime_hdrs</xccdf:title>
15525 <xccdf:description xml:lang="en">log_mime_hdrs enables logging of HTTP response/request headers.</xccdf:description>
15526 <xccdf:question xml:lang="en">Enable/Disable logging of HTTP response/request headers</xccdf:question>
15527 <xccdf:value>on</xccdf:value>
15528 <xccdf:value selector="enabled">on</xccdf:value>
15529 <xccdf:value selector="disabled">off</xccdf:value>
15530 <xccdf:match>on|off</xccdf:match>
15531 <xccdf:choices mustMatch="1">
15532 <xccdf:choice>on</xccdf:choice>
15533 <xccdf:choice>off</xccdf:choice>
15534 </xccdf:choices>
15535 </xccdf:Value>
15536 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false" weight="10.0">
15537 <xccdf:title>Check allow_underscore setting</xccdf:title>
15538 <xccdf:description>The Squid option to allow underscores in hostnames should be disabled</xccdf:description>
15539 <xccdf:ident system="http://cce.mitre.org">CCE-4344-8</xccdf:ident>
15540 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15541 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15542 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20351" value-id="xccdf_cdf_value_var-3.19.2.3.a"/>
15543 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20351"/>
15544 </xccdf:check>
15545 </xccdf:Rule>
15546 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false" weight="10.0">
15547 <xccdf:title>Check httpd_suppress_version setting</xccdf:title>
15548 <xccdf:description>The Squid option to suppress the httpd version string should be enabled</xccdf:description>
15549 <xccdf:ident system="http://cce.mitre.org">CCE-4494-1</xccdf:ident>
15550 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15551 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15552 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20352" value-id="xccdf_cdf_value_var-3.19.2.3.b"/>
15553 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20352"/>
15554 </xccdf:check>
15555 </xccdf:Rule>
15556 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false" weight="10.0">
15557 <xccdf:title>Check forwarded_for setting</xccdf:title>
15558 <xccdf:description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled</xccdf:description>
15559 <xccdf:ident system="http://cce.mitre.org">CCE-4181-4</xccdf:ident>
15560 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15561 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15562 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20353" value-id="xccdf_cdf_value_var-3.19.2.3.c"/>
15563 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20353"/>
15564 </xccdf:check>
15565 </xccdf:Rule>
15566 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false" weight="10.0">
15567 <xccdf:title>Check log_mime_hdrs setting</xccdf:title>
15568 <xccdf:description>The Squid option to log HTTP MIME headers should be enabled</xccdf:description>
15569 <xccdf:ident system="http://cce.mitre.org">CCE-4577-3</xccdf:ident>
15570 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15571 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15572 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20354" value-id="xccdf_cdf_value_var-3.19.2.3.d"/>
15573 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20354"/>
15574 </xccdf:check>
15575 </xccdf:Rule>
15576 </xccdf:Group>
15577 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.4">
15578 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
15579 <xccdf:description xml:lang="en">
15580 Note: Authentication cannot be used in the case of transparent
15581 proxies due to limitations of the TCP/IP protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15582 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15583 Similar to web servers, two of the
15584 available options are Basic and Digest authentication. The other options are NTLM and
15585 Negotiate authentication. As noted in Section 3.16.3.5, Basic authentication transmits
15586 passwords in plain-text and is susceptible to passive monitoring. If network sniffing is
15587 a concern, basic authentication should not be used. Negotiate is the newest and most
15588 secure protocol. It attempts to use Kerberos authentication and falls back to NTLM if it
15589 cannot. It should be noted that Kerberos requires a third-party Key Distribution Center
15590 (KDC) to function properly, whereas the other methods of authentication are two-party
15591 schemes. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15592 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15593 Squid also offers the ability to choose a custom external authenticator.
15594 Designating an external authenticator (also known as a 'helper' module) allows Squid to
15595 offer pluggable third-party authentication schemes. LDAP is one example of a helper
15596 module that exists and is in use today. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15597 There are comments under the auth_param tag
15598 inside /etc/squid/squid.conf that provide extensive detail on how to configure each of
15599 these methods. If authentication is necessary, choose a method of authentication and
15600 configure appropriately. The recommended minimum configurations illustrated for each
15601 method are acceptable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15602 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15603 To force an ACL (as discussed in Section 3.19.2.5) to require
15604 authentication, use the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15605 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15606 acl name-of-ACL proxy_auth REQUIRED <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15608 Note:
15609 The keyword REQUIRED can be replaced with a user or list of users to further restrict
15610 access to a smaller subset of users.</xccdf:description>
15611 </xccdf:Group>
15612 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.5">
15613 <xccdf:title xml:lang="en">Access Control Lists (ACL)</xccdf:title>
15614 <xccdf:description xml:lang="en">
15615 The acl and http access tags are used in combination to allow filtering based on a series of
15616 access control lists. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15617 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15618 Squid has a list of default ACLs for localhost, SSL ports, and
15619 'safe' ports. Following the definition of these ACLs, a series of http access directives
15620 establish the following default filtering policy: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15621 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15622 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
15623 <xhtml:li>Allow cachemgr access only from localhost </xhtml:li>
15624 <xhtml:li>Allow access to only ports in the 'safe' access control list</xhtml:li>
15625 <xhtml:li>Limit CONNECT method to SSL ports only</xhtml:li>
15626 <xhtml:li>Allow access from localhost</xhtml:li>
15627 <xhtml:li>Deny all other requests</xhtml:li>
15628 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15629 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15630 The
15631 default ACL policies are reasonable from a security standpoint. However, the number of
15632 ports listed as 'safe' could be significantly trimmed depending on the needs of your
15633 network. Out of the box, ports 21, 70, 80, 210, 280, 443, 488, 591, 777, and 1025
15634 through 65535 are all considered safe. Some of these ports are associated with
15635 deprecated or rarely used protocols. As such, this list could be trimmed to further
15636 tighten filtering. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15637 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15638 The following actions should be taken to tighten the ACL policies: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15639 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15640 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
15641 <xhtml:li>There is a filter line in the configuration file that is recommended but commented out.
15642 This line should be uncommented or added to prevent access to localhost from the proxy:<xhtml:br/>
15643 <xhtml:br/>
15644 http access deny to_localhost </xhtml:li>
15645 <xhtml:li>An access list should be setup for the specific network
15646 or networks that the proxy is intended to serve. Only this subset of IP addresses should
15647 be allowed access. <xhtml:br/>
15648 <xhtml:br/>
15649 Add these lines where the following comment appears: <xhtml:br/>
15650 <xhtml:br/>
15651 # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS <xhtml:br/>
15652 acl your-network-acl-name src ip-range <xhtml:br/>
15653 http_access allow your-network-acl-name <xhtml:br/>
15654 <xhtml:br/>
15655 Note: ip-range is of the format xxx.xxx.xxx.xxx/xx</xhtml:li>
15656 <xhtml:li>Ensure that the final http access line to appear in the document
15657 is the following: <xhtml:br/>
15658 <xhtml:br/>
15659 http_access deny all <xhtml:br/>
15660 <xhtml:br/>
15661 This guarantees that all traffic not meeting an
15662 explicit filtering rule is denied. <xhtml:br/>
15663 <xhtml:br/>
15664 Further filters should be established to meet the
15665 specific needs of a network, explicitly allowing access only where necessary.</xhtml:li>
15666 <xhtml:li>Consult
15667 the chart below. Corresponding acl entries for unused protocols should be commented out
15668 and thus denied. </xhtml:li>
15669 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15671 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml">
15672 <xhtml:thead>
15673 <xhtml:tr>
15674 <xhtml:td>Port</xhtml:td><xhtml:td>Service</xhtml:td><xhtml:td>Summary</xhtml:td><xhtml:td>Recommendation</xhtml:td>
15675 </xhtml:tr>
15676 </xhtml:thead>
15677 <xhtml:tbody>
15678 <xhtml:tr>
15679 <xhtml:td>21</xhtml:td>
15680 <xhtml:td>ftp</xhtml:td>
15681 <xhtml:td>File Transfer Protocol(FTP)
15682 is a widely used file transfer protocol. </xhtml:td>
15683 <xhtml:td>ALLOW</xhtml:td>
15684 </xhtml:tr>
15685 <xhtml:tr>
15686 <xhtml:td>70</xhtml:td>
15687 <xhtml:td>gopher</xhtml:td>
15688 <xhtml:td>The gopher protocol is a
15689 deprecated search and retrieval protocol that is almost extinct, with as few as 100
15690 gopher servers present worldwide. Support for gopher is disabled in most modern
15691 browsers. </xhtml:td>
15692 <xhtml:td>DENY</xhtml:td>
15693 </xhtml:tr>
15694 <xhtml:tr>
15695 <xhtml:td>80</xhtml:td>
15696 <xhtml:td>http</xhtml:td>
15697 <xhtml:td>A web proxy needs to allow access to HTTP traffic. </xhtml:td>
15698 <xhtml:td>ALLOW</xhtml:td>
15699 </xhtml:tr>
15700 <xhtml:tr>
15701 <xhtml:td>210</xhtml:td>
15702 <xhtml:td>wais</xhtml:td>
15703 <xhtml:td>The Wide Area Information Server port is similar to gopher, serving as a text searching
15704 system to scour indexes on remote machines. Today, it is deprecated and nearly
15705 non-existent on the Internet. </xhtml:td>
15706 <xhtml:td>DENY</xhtml:td>
15707 </xhtml:tr>
15708 <xhtml:tr>
15709 <xhtml:td>280</xhtml:td>
15710 <xhtml:td>http-mgmt</xhtml:td>
15711 <xhtml:td>No documentation of any kind could be
15712 found on the obscure service that resides on this port. </xhtml:td>
15713 <xhtml:td>DENY</xhtml:td>
15714 </xhtml:tr>
15715 <xhtml:tr>
15716 <xhtml:td>443</xhtml:td>
15717 <xhtml:td>https</xhtml:td>
15718 <xhtml:td>SSL traffic is
15719 likely (and recommended) for any proxy and should be allowed. </xhtml:td>
15720 <xhtml:td>ALLOW</xhtml:td>
15721 </xhtml:tr>
15722 <xhtml:tr>
15723 <xhtml:td>488</xhtml:td>
15724 <xhtml:td>gss-http</xhtml:td>
15725 <xhtml:td>No
15726 documentation of any kind could be found on the obscure service that resides on this
15727 port. </xhtml:td>
15728 <xhtml:td>DENY</xhtml:td>
15729 </xhtml:tr>
15730 <xhtml:tr>
15731 <xhtml:td>591</xhtml:td>
15732 <xhtml:td>filemaker</xhtml:td>
15733 <xhtml:td>Filemaker is a database application originally offered by Apple
15734 in the 1980s. Although development continues and it remains in use today, it should be
15735 disabled if your network does not require such traffic. </xhtml:td>
15736 <xhtml:td>DENY</xhtml:td>
15737 </xhtml:tr>
15738 <xhtml:tr>
15739 <xhtml:td>777</xhtml:td>
15740 <xhtml:td>multiling http</xhtml:td>
15741 <xhtml:td>No documentation of any kind could be found on
15742 the obscure service that resides on this port</xhtml:td>
15743 <xhtml:td>DENY</xhtml:td>
15744 </xhtml:tr>
15745 <xhtml:tr>
15746 <xhtml:td>1025-65535</xhtml:td>
15747 <xhtml:td>unregistered ports http</xhtml:td>
15748 <xhtml:td>unregistered
15749 ports Random high ports are used by a variety of applications and should be allowed.</xhtml:td>
15750 <xhtml:td>ALLOW</xhtml:td>
15751 </xhtml:tr>
15752 </xhtml:tbody>
15753 </xhtml:table></xccdf:description>
15754 <xccdf:warning xml:lang="en">Be very careful with the order of access control tags. Access
15755 control is handled top-down. The first rule that matches is the only rule adhered to.
15756 The last rule on the list defines the default behavior in the case of no rule match. </xccdf:warning>
15757 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false" weight="10.0">
15758 <xccdf:title>Restrict gss-http traffic</xccdf:title>
15759 <xccdf:description>Squid should be configured to not allow gss-http traffic</xccdf:description>
15760 <xccdf:ident system="http://cce.mitre.org">CCE-4511-2</xccdf:ident>
15761 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15762 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15763 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20355"/>
15764 </xccdf:check>
15765 </xccdf:Rule>
15766 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false" weight="10.0">
15767 <xccdf:title>Restrict https traffic</xccdf:title>
15768 <xccdf:description>Squid should be configured to not allow https traffic</xccdf:description>
15769 <xccdf:ident system="http://cce.mitre.org">CCE-4529-4</xccdf:ident>
15770 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15771 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15772 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20356"/>
15773 </xccdf:check>
15774 </xccdf:Rule>
15775 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false" weight="10.0">
15776 <xccdf:title>Restrict wais traffic</xccdf:title>
15777 <xccdf:description>Squid should be configured to not allow wais traffic</xccdf:description>
15778 <xccdf:ident system="http://cce.mitre.org">CCE-3610-3</xccdf:ident>
15779 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15780 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15781 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20357"/>
15782 </xccdf:check>
15783 </xccdf:Rule>
15784 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false" weight="10.0">
15785 <xccdf:title>Restrict multiling http traffic</xccdf:title>
15786 <xccdf:description>Squid should be configured to not allow multiling http traffic</xccdf:description>
15787 <xccdf:ident system="http://cce.mitre.org">CCE-4466-9</xccdf:ident>
15788 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15789 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15790 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20358"/>
15791 </xccdf:check>
15792 </xccdf:Rule>
15793 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false" weight="10.0">
15794 <xccdf:title>Restrict http traffic</xccdf:title>
15795 <xccdf:description>Squid should be configured to not allow http traffic</xccdf:description>
15796 <xccdf:ident system="http://cce.mitre.org">CCE-4607-8</xccdf:ident>
15797 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15798 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15799 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20359"/>
15800 </xccdf:check>
15801 </xccdf:Rule>
15802 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false" weight="10.0">
15803 <xccdf:title>Restrict ftp traffic</xccdf:title>
15804 <xccdf:description>Squid should be configured to not allow ftp traffic</xccdf:description>
15805 <xccdf:ident system="http://cce.mitre.org">CCE-4255-6</xccdf:ident>
15806 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15807 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15808 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20360"/>
15809 </xccdf:check>
15810 </xccdf:Rule>
15811 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false" weight="10.0">
15812 <xccdf:title>Restrict gopher traffic</xccdf:title>
15813 <xccdf:description>Squid should be configured to not allow gopher traffic</xccdf:description>
15814 <xccdf:ident system="http://cce.mitre.org">CCE-4127-7</xccdf:ident>
15815 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15816 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15817 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20361"/>
15818 </xccdf:check>
15819 </xccdf:Rule>
15820 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false" weight="10.0">
15821 <xccdf:title>Restrict filemaker traffic</xccdf:title>
15822 <xccdf:description>Squid should be configured to not allow filemaker traffic</xccdf:description>
15823 <xccdf:ident system="http://cce.mitre.org">CCE-4519-5</xccdf:ident>
15824 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15825 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15826 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20362"/>
15827 </xccdf:check>
15828 </xccdf:Rule>
15829 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false" weight="10.0">
15830 <xccdf:title>Restrict proxy access to localhost </xccdf:title>
15831 <xccdf:description>Squid proxy access to localhost should be denied</xccdf:description>
15832 <xccdf:ident system="http://cce.mitre.org">CCE-4413-1</xccdf:ident>
15833 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15834 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15835 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20363"/>
15836 </xccdf:check>
15837 </xccdf:Rule>
15838 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false" weight="10.0">
15839 <xccdf:title>Restrict http-mgmt traffic</xccdf:title>
15840 <xccdf:description>Squid should be configured to not allow http-mgmt traffic</xccdf:description>
15841 <xccdf:ident system="http://cce.mitre.org">CCE-4373-7</xccdf:ident>
15842 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15843 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15844 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20364"/>
15845 </xccdf:check>
15846 </xccdf:Rule>
15847 </xccdf:Group>
15848 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.6">
15849 <xccdf:title xml:lang="en">Configure Internet Cache Protocol (ICP) if Necessary</xccdf:title>
15850 <xccdf:description xml:lang="en">
15851 The ICP protocol is a cache communication protocol that allows
15852 multiple Squid servers to communicate. The ICP protocol was designed with no security in
15853 mind, relying on user-defined access control lists alone to determine which ICP messages
15854 to allow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15855 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15856 If a Squid server is standalone, the ICP port should be disabled by adding or
15857 correcting the following line in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15858 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15859 icp_port 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15860 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15861 If the Squid server
15862 is meant to speak with peers, strict ACLs should be established to only allow ICP
15863 traffic from trusted neighbors. To accomplish this, add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15864 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15865 icp_access allow acl-defining-trusted-neighbors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15866 icp_access deny all</xccdf:description>
15867 </xccdf:Group>
15868 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.7">
15869 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Proxy Server</xccdf:title>
15870 <xccdf:description xml:lang="en">
15871 Determine an appropriate network block, netwk , and network
15872 mask, mask , representing the machines on your network which should operate as clients
15873 of the proxy server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15874 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15875 Edit /etc/sysconfig/iptables. Add the following line, ensuring that
15876 it appears before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15878 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport port -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15879 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15880 For port , use either the default 3128 or the alternate port was selected in Section
15881 3.19.2.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15882 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15883 The default Iptables configuration does not allow inbound access to the Squid
15884 proxy service. This modification allows that access, while keeping other ports on the
15885 server in their default protected state. See Section 2.5.5 for more information about
15886 Iptables.</xccdf:description>
15887 </xccdf:Group>
15888 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.8">
15889 <xccdf:title xml:lang="en">Forward Log Messages to Syslog Daemon</xccdf:title>
15890 <xccdf:description xml:lang="en">
15891 The default behavior of Squid is to record its log messages in
15892 /var/log/squid.log. This behavior can be supplemented so that Squid also sends messages
15893 to syslog as well. This is useful for centralizing log data, particularly in instances
15894 where multiple Squid servers are present. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15896 Squid provides a command line argument to
15897 enable syslog forwarding. Modify the SQUID OPTS line in /etc/init.d/squid to include the
15898 -s option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15899 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15900 SQUID_OPTS="${SQUID_OPTS:-"-D"} -s"</xccdf:description>
15901 </xccdf:Group>
15902 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9">
15903 <xccdf:title xml:lang="en">Do Not Run as Root</xccdf:title>
15904 <xccdf:description xml:lang="en">
15905 Since Squid is loaded by the system's service utility, it
15906 starts as root and then changes its effective UID to the UID specified by the cache
15907 effective user directive. However, since it was still executed by root, the program
15908 maintains a saved UID of root even after changing its effective UID. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15909 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15910 To prevent this
15911 undesired behavior, Squid must either be configured to run in a chroot environment or it
15912 must be executed by a non-privileged user in non-daemon mode (the service utility must
15913 not be used).</xccdf:description>
15914 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.1">
15915 <xccdf:title xml:lang="en">Run Squid in a chroot Jail</xccdf:title>
15916 <xccdf:description xml:lang="en">
15917 Chrooting Squid can be a very complicated task. Documentation
15918 for the process is vague and a great deal of trial and error may be required to
15919 determine all the files that need to be transitioned over to the chroot environment.
15920 Therefore, this guide recommends instead the method detailed in Section 3.19.2.9.2 to
15921 lower privileges. If chrooting Squid is still desired, it can be enabled with the
15922 following directive in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15923 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15924 chroot chroot-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15925 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15926 Then, all the
15927 necessary files used by Squid must be copied into the chroot-path directory. The
15928 specifics of this step cannot be covered in this guide because they are highly
15929 dependent on the external programs used in the Squid configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15930 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15931 Note: The strace
15932 utility is a valuable resource for discovering the files needed for the chroot
15933 environment.</xccdf:description>
15934 </xccdf:Group>
15935 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.2">
15936 <xccdf:title xml:lang="en">Modify Service Entry to Lower Privileges</xccdf:title>
15937 <xccdf:description xml:lang="en">T
15938 he following modification to /etc/init.d/squid forces the
15939 service utility to execute Squid as the squid user instead of the root user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15940 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15941 # determine the name of the squid binary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15942 [ -f /usr/sbin/squid ] &amp;&amp; SQUID="sudo -u squid squid" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15943 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15944 Making this change prevents Squid from writing its pid to
15945 /var/run. This pid file is used by service to check to see if the program started
15946 successfully. Therefore, a new location must be chosen for this pid file that the
15947 squid user has access to, and the corresponding references in /etc/init.d/squid must
15948 be altered to point to it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15949 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15950 Make the following modification to the Squid configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15951 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15952 pid_filename /var/spool/squid/squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15953 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15954 Edit the file /etc/init.d/squid by
15955 changing all occurrences of /var/run/squid.pid to /var/spool/squid/ squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15956 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15957 Also modify the following line in /etc/init.d/squid: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15958 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15959 [ $RETVAL -eq 0 ] &amp;&amp; touch /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15961 and add the following lines immediately after it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15962 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15963 rm -f /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15964 status squid</xccdf:description>
15965 </xccdf:Group>
15966 </xccdf:Group>
15967 </xccdf:Group>
15968 </xccdf:Group>
15969 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20">
15970 <xccdf:title xml:lang="en">SNMP Server</xccdf:title>
15971 <xccdf:description xml:lang="en">
15972 The Simple Network Management Protocol allows administrators to
15973 monitor the state of network devices, including computers. Older versions of SNMP were
15974 well-known for weak security, such as plaintext transmission of the community string (used
15975 for authentication) and also usage of easily-guessable choices for community string.</xccdf:description>
15976 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.1">
15977 <xccdf:title xml:lang="en">Disable SNMP Server if Possible</xccdf:title>
15978 <xccdf:description xml:lang="en">
15979 The system includes an SNMP daemon that allows for its remote
15980 monitoring, though it not installed by default. If it was installed and activated, it is
15981 important that the software be disabled and removed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15982 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15983 If there is not a mission-critical
15984 need for hosts at this site to be remotely monitored by a SNMP tool, then disable and
15985 remove SNMP as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15986 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15987 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig snmpd off <xhtml:br/>
15988 # yum erase net-snmpd</xhtml:code></xccdf:description>
15989 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.a" selected="false" severity="medium" weight="10.0">
15990 <xccdf:title>Disable snmpd if Possible</xccdf:title>
15991 <xccdf:description>The snmpd service should be disabled.</xccdf:description>
15992 <xccdf:ident system="http://cce.mitre.org">CCE-3765-5</xccdf:ident>
15993 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
15994 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15995 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20365"/>
15996 </xccdf:check>
15997 </xccdf:Rule>
15998 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.b" selected="false" weight="10.0">
15999 <xccdf:title>Uninstall net-snmp if Possible</xccdf:title>
16000 <xccdf:description>The net-snmp package should be uninstalled.</xccdf:description>
16001 <xccdf:ident system="http://cce.mitre.org">CCE-4404-0</xccdf:ident>
16002 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
16003 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
16004 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20366"/>
16005 </xccdf:check>
16006 </xccdf:Rule>
16007 </xccdf:Group>
16008 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2">
16009 <xccdf:title xml:lang="en">Configure SNMP Server if Necessary</xccdf:title>
16010 <xccdf:description xml:lang="en">
16011 If it is necessary to run the snmpd agent on the system, some
16012 best practices should be followed to minimize the security risk from the installation. The
16013 multiple security models implemented by SNMP cannot be fully covered here so only the
16014 following general configuration advice can be offered: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16015 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16016 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
16017 <xhtml:li>use only SNMP version 3 security
16018 models and enable the use of authentication and encryption for those </xhtml:li>
16019 <xhtml:li>write access to the
16020 MIB (Management Information Base) should be allowed only if necessary </xhtml:li>
16021 <xhtml:li>all access to the
16022 MIB should be restricted following a principle of least privilege </xhtml:li>
16023 <xhtml:li>network access should
16024 be limited to the maximum extent possible including restricting to expected network
16025 addresses both in the configuration files and in the system firewall rules </xhtml:li>
16026 <xhtml:li>ensure SNMP
16027 agents send traps only to, and accept SNMP queries only from, authorized management
16028 stations </xhtml:li>
16029 <xhtml:li>ensure that permissions on the snmpd.conf configuration file (by default, in
16030 /etc/snmp) are 640 or more restrictive </xhtml:li>
16031 <xhtml:li>ensure that any MIB files' permissions are also
16032 640 or more restrictive</xhtml:li>
16033 </xhtml:ul></xccdf:description>
16034 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2.1">
16035 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
16036 <xccdf:description xml:lang="en">
16037 The following resources provide more detailed information about the SNMP software: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16038 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16039 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
16040 <xhtml:li>The CERT SNMP Vulnerabilities FAQ at http://www.cert.org/tech
16041 tips/snmp faq.html </xhtml:li>
16042 <xhtml:li>The Net-SNMP project web page at http://net-snmp.sourceforge.net </xhtml:li>
16043 <xhtml:li>The snmp config(5) man page </xhtml:li>
16044 <xhtml:li>the snmpd.conf(5) man page</xhtml:li>
16045 </xhtml:ul>
16046 </xccdf:description>
16047 </xccdf:Group>
16048 </xccdf:Group>
16049 </xccdf:Group>
16050 </xccdf:Group>
16051 </xccdf:Benchmark></ds:component><ds:component id="scap_org.open-scap_comp_scap-fedora14-oval.xml" timestamp="2012-07-20T12:22:58"><oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
16052 <generator>
16053 <oval:product_name>vim, emacs</oval:product_name>
16054 <oval:schema_version>5.5</oval:schema_version>
16055 <oval:timestamp>2010-08-30T12:00:00-04:00</oval:timestamp>
16056 </generator>
16057 <definitions>
16058 <definition class="compliance" id="oval:org.open-scap.f14:def:20000" version="1">
16059 <metadata>
16060 <title>Ensure that /tmp has its own partition or logical volume</title>
16061 <reference ref_id="TBD" source="CCE"/>
16062 <description>The /tmp directory is a world-writable directory used for temporary file storage. Verify that it has its own partition or logical volume.</description>
16063 </metadata>
16064 <criteria>
16065 <criterion comment="Check in /etc/fstab for a /tmp mount point" test_ref="oval:org.open-scap.f14:tst:20000"/>
16066 </criteria>
16067 </definition>
16068 <definition class="compliance" id="oval:org.open-scap.f14:def:20001" version="1">
16069 <metadata>
16070 <title>Ensure that /tmp is of adequate size</title>
16071 <reference ref_id="TBD" source="CCE"/>
16072 <description>Because software may need to use /tmp to temporarily store large files, ensure that it is of adequate size.</description>
16073 </metadata>
16074 <criteria>
16075 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16076 </criteria>
16077 </definition>
16078 <definition class="compliance" id="oval:org.open-scap.f14:def:20002" version="1">
16079 <metadata>
16080 <title>Ensure that /var has its own partition or logical volume</title>
16081 <reference ref_id="TBD" source="CCE"/>
16082 <description>The /var directory is used by daemons and other system
16083 services to store frequently-changing data. It is not uncommon for the /var directory
16084 to contain world-writable directories, installed by other software packages.
16085 Ensure that /var has its own partition or logical volume.</description>
16086 </metadata>
16087 <criteria>
16088 <criterion comment="Check in /etc/fstab for a /var mount point" test_ref="oval:org.open-scap.f14:tst:20002"/>
16089 </criteria>
16090 </definition>
16091 <definition class="compliance" id="oval:org.open-scap.f14:def:20003" version="1">
16092 <metadata>
16093 <title>Ensure that /var is of adequate size</title>
16094 <reference ref_id="TBD" source="CCE"/>
16095 <description>Because the yum package manager and other software uses /var to temporarily store
16096 large files, ensure that it is of adequate size. For a modern, general-purpose system,
16097 10GB should be adequate.</description>
16098 </metadata>
16099 <criteria>
16100 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16101 </criteria>
16102 </definition>
16103 <definition class="compliance" id="oval:org.open-scap.f14:def:20004" version="1">
16104 <metadata>
16105 <title>Ensure that /var/log has its own partition or logical volum</title>
16106 <reference ref_id="TBD" source="CCE"/>
16107 <description>System logs are stored in the /var/log directory. Ensure that it has its own partition or logical volume.</description>
16108 </metadata>
16109 <criteria>
16110 <criterion comment="Check in /etc/fstab for a /var/log mount point" test_ref="oval:org.open-scap.f14:tst:20004"/>
16111 </criteria>
16112 </definition>
16113 <definition class="compliance" id="oval:org.open-scap.f14:def:20005" version="1">
16114 <metadata>
16115 <title>Ensure that /var/log/audit has its own partition or logical volume</title>
16116 <reference ref_id="TBD" source="CCE"/>
16117 <description>Audit logs are stored in the /var/log/audit directory.
16118 Ensure that it has its own partition or logical volume. Make absolutely certain
16119 that it is large enough to store all audit logs that will be created by the auditing
16120 daemon.</description>
16121 </metadata>
16122 <criteria>
16123 <criterion comment="Check in /etc/fstab for a /var/log/audit mount point" test_ref="oval:org.open-scap.f14:tst:20005"/>
16124 </criteria>
16125 </definition>
16126 <definition class="compliance" id="oval:org.open-scap.f14:def:20006" version="1">
16127 <metadata>
16128 <title>Ensure that /home has its own partition or logical volume</title>
16129 <reference ref_id="TBD" source="CCE"/>
16130 <description>If user home directories will be stored locally, create a separate
16131 partition for /home. If /home will be mounted from another system such as an NFS server, then
16132 creating a separate partition is not necessary at this time, and the mountpoint can
16133 instead be configured later.</description>
16134 </metadata>
16135 <criteria>
16136 <criterion comment="Check in /etc/fstab for a /home mount point" test_ref="oval:org.open-scap.f14:tst:20006"/>
16137 </criteria>
16138 </definition>
16139 <definition class="compliance" id="oval:org.open-scap.f14:def:200065" version="1">
16140 <metadata>
16141 <title>Ensure that GPG Key for Fedora is installed</title>
16142 <reference ref_id="TBD" source="CCE"/>
16143 <description>The GPG key should be installed.</description>
16144 </metadata>
16145 <criteria>
16146 <criterion comment="check gpg signature" test_ref="oval:org.open-scap.f14:tst:200065"/>
16147 </criteria>
16148 </definition>
16149 <definition class="compliance" id="oval:org.open-scap.f14:def:20008" version="1">
16150 <metadata>
16151 <title>yum-updatesd service should be disabled</title>
16152 <reference ref_id="CCE-4218-4" source="CCE"/>
16153 <description>The yum-updatesd service should be disabled</description>
16154 </metadata>
16155 <criteria>
16156 <criterion comment="check that yum-updatesd service is disabled" test_ref="oval:org.open-scap.f14:tst:20008"/>
16157 </criteria>
16158 </definition>
16159 <definition class="compliance" id="oval:org.open-scap.f14:def:20009" version="1">
16160 <metadata>
16161 <title>Automatic Update Retrieval should be scheduled with Cron</title>
16162 <reference ref_id="TBD" source="CCE"/>
16163 <description>Place the yum.cron script somewhere in /etc/cron.*/</description>
16164 </metadata>
16165 <criteria>
16166 <criterion comment="check for existence of yum.cron" test_ref="oval:org.open-scap.f14:tst:20009"/>
16167 </criteria>
16168 </definition>
16169 <definition class="compliance" id="oval:org.open-scap.f14:def:20010" version="1">
16170 <metadata>
16171 <title>Ensure gpgcheck is Globally Activated</title>
16172 <reference ref_id="TBD" source="CCE"/>
16173 <description>The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
16174 to its installation./</description>
16175 </metadata>
16176 <criteria>
16177 <criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20010"/>
16178 </criteria>
16179 </definition>
16180 <definition class="compliance" id="oval:org.open-scap.f14:def:20011" version="1">
16181 <metadata>
16182 <title>Ensure Package Signature Checking is Not Disabled For Any Repos</title>
16183 <reference ref_id="TBD" source="CCE"/>
16184 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
16185 appear in any repo configuration files in /etc/yum.repos.d or elsewhere</description>
16186 </metadata>
16187 <criteria>
16188 <criterion comment="check value of gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20011"/>
16189 </criteria>
16190 </definition>
16191 <definition class="compliance" id="oval:org.open-scap.f14:def:20012" version="1">
16192 <metadata>
16193 <title>Ensure Repodata Signature Checking is Globally Activated</title>
16194 <reference ref_id="TBD" source="CCE"/>
16195 <description>The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
16196 to using it.</description>
16197 </metadata>
16198 <criteria>
16199 <criterion comment="check value of repo_gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20012"/>
16200 </criteria>
16201 </definition>
16202 <definition class="compliance" id="oval:org.open-scap.f14:def:20013" version="1">
16203 <metadata>
16204 <title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</title>
16205 <reference ref_id="TBD" source="CCE"/>
16206 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
16207 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:</description>
16208 </metadata>
16209 <criteria>
16210 <criterion comment="check value of repo_gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20013"/>
16211 </criteria>
16212 </definition>
16213 <definition class="compliance" id="oval:org.open-scap.f14:def:20014" version="1">
16214 <metadata>
16215 <title>Install AIDE</title>
16216 <reference ref_id="CCE-4209-3" source="CCE"/>
16217 <description>The AIDE package should be installed</description>
16218 </metadata>
16219 <criteria>
16220 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20014"/>
16221 </criteria>
16222 </definition>
16223 <definition class="compliance" id="oval:org.open-scap.f14:def:20015" version="1">
16224 <metadata>
16225 <title>Run AIDE periodically</title>
16226 <reference ref_id="CCE-4209-3" source="CCE"/>
16227 <description>&gt;Setup cron to run AIDE periodically using cron.</description>
16228 </metadata>
16229 <criteria>
16230 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:22"/>
16231 </criteria>
16232 </definition>
16233 <definition class="compliance" id="oval:org.open-scap.f14:def:200155" version="1">
16234 <metadata>
16235 <title>Verify Package Integrity Using RPM</title>
16236 <reference ref_id="CCE-4209-3" source="CCE"/>
16237 <description>&gt;Verify the integrity of installed packages by comparing the installed files with
16238 information about the files taken from the package metadata stored in the RPM
16239 database.</description>
16240 </metadata>
16241 <criteria>
16242 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16243 </criteria>
16244 </definition>
16245 <definition class="compliance" id="oval:org.open-scap.f14:def:20016" version="1">
16246 <metadata>
16247 <title>Add nodev Option to Non-Root Local Partitions</title>
16248 <reference ref_id="CCE-4249-9" source="CCE"/>
16249 <description>The nodev option should be enabled for all non-root partitions.</description>
16250 </metadata>
16251 <criteria>
16252 <criterion comment="Check options for nodev in /etc/fstab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:20016"/>
16253 <criterion comment="Check options for nodev in /etc/mtab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:200162"/>
16254 </criteria>
16255 </definition>
16256 <definition class="compliance" id="oval:org.open-scap.f14:def:20017" version="1">
16257 <metadata>
16258 <title>Add nodev Option to Removable Media Partitions</title>
16259 <reference ref_id="CCE-3522-0" source="CCE"/>
16260 <description>The nodev option should be enabled for all removable media.</description>
16261 </metadata>
16262 <criteria>
16263 <!-- TODO create a udev rule and make sure it is present -->
16264 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16265 </criteria>
16266 </definition>
16267 <definition class="compliance" id="oval:org.open-scap.f14:def:20018" version="1">
16268 <metadata>
16269 <title>Add noexec Option to Removable Media Partitions</title>
16270 <reference ref_id="CCE-4275-4" source="CCE"/>
16271 <description>The noexec option should be enabled for all removable media.</description>
16272 </metadata>
16273 <criteria>
16274 <!-- TODO create a udev rule and make sure it is present -->
16275 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16276 </criteria>
16277 </definition>
16278 <definition class="compliance" id="oval:org.open-scap.f14:def:20019" version="1">
16279 <metadata>
16280 <title>Add nosuid Option to Removable Media Partitions</title>
16281 <reference ref_id="CCE-4042-8" source="CCE"/>
16282 <description>The nosuid option should be enabled for all removable media.</description>
16283 </metadata>
16284 <criteria>
16285 <!-- TODO create a udev rule and make sure it is present -->
16286 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16287 </criteria>
16288 </definition>
16289 <definition class="compliance" id="oval:org.open-scap.f14:def:20020" version="1">
16290 <metadata>
16291 <title>Restrict Console Device Access</title>
16292 <reference ref_id="CCE-3685-5" source="CCE"/>
16293 <description>Console device ownership should be restricted to root-only as appropriate.</description>
16294 </metadata>
16295 <criteria>
16296 <criterion comment="check file /etc/security/console.perms.d/50-default.perms for &lt;console&gt; or &lt;xconsole&gt;" test_ref="oval:org.open-scap.f14:tst:20020"/>
16297 </criteria>
16298 </definition>
16299 <definition class="compliance" id="oval:org.open-scap.f14:def:20021" version="1">
16300 <metadata>
16301 <title>Disable Modprobe Loading of USB Storage Driver</title>
16302 <reference ref_id="CCE-4187-1" source="CCE"/>
16303 <description>The USB device support module should not be loaded</description>
16304 </metadata>
16305 <criteria>
16306 <criterion comment="check the usb storage support" test_ref="oval:org.open-scap.f14:tst:20021"/>
16307 </criteria>
16308 </definition>
16309 <definition class="compliance" id="oval:org.open-scap.f14:def:20022" version="1">
16310 <metadata>
16311 <title>Remove USB Storage Driver</title>
16312 <reference ref_id="CCE-4006-3" source="CCE"/>
16313 <description>The USB device support module should not be installed.</description>
16314 </metadata>
16315 <criteria>
16316 <criterion comment="Check if The USB device support module is not installed" test_ref="oval:org.open-scap.f14:tst:20022"/>
16317 </criteria>
16318 </definition>
16319 <definition class="compliance" id="oval:org.open-scap.f14:def:20023" version="1">
16320 <metadata>
16321 <title>Disable Kernel Support for USB via Bootloader Configuration</title>
16322 <reference ref_id="CCE-4173-1" source="CCE"/>
16323 <description>USB kernel support should be disabled.</description>
16324 </metadata>
16325 <criteria>
16326 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20023"/>
16327 </criteria>
16328 </definition>
16329 <definition class="compliance" id="oval:org.open-scap.f14:def:20024" version="1">
16330 <metadata>
16331 <title>Disable Booting from USB Devices in the BIOS</title>
16332 <reference ref_id="CCE-3944-6" source="CCE"/>
16333 <description>The ability to boot from USB devices should be disabled</description>
16334 </metadata>
16335 <criteria>
16336 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16337 </criteria>
16338 </definition>
16339 <definition class="compliance" id="oval:org.open-scap.f14:def:20025" version="1">
16340 <metadata>
16341 <title>Disable the Automounter if Possible</title>
16342 <reference ref_id="CCE-4072-5" source="CCE"/>
16343 <description>The autofs service is disabled.</description>
16344 </metadata>
16345 <criteria>
16346 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20025"/>
16347 </criteria>
16348 </definition>
16349 <definition class="compliance" id="oval:org.open-scap.f14:def:20026" version="1">
16350 <metadata>
16351 <title>Disable GNOME Automounting if Possible</title>
16352 <reference ref_id="CCE-4231-7" source="CCE"/>
16353 <description>The GNOME automounter (gnome-volume-manager) should be disabled</description>
16354 </metadata>
16355 <criteria>
16356 <criterion comment="XMLFile test" test_ref="oval:org.open-scap.f14:tst:20026"/>
16357 </criteria>
16358 </definition>
16359 <definition class="compliance" id="oval:org.open-scap.f14:def:20027" version="1">
16360 <metadata>
16361 <title>Disable Mounting of cramfs</title>
16362 <reference ref_id="CCE-4231-7" source="CCE"/>
16363 <description>prevents usage of this uncommon filesystems.</description>
16364 </metadata>
16365 <criteria>
16366 <criterion comment="check for cramfs" test_ref="oval:org.open-scap.f14:tst:20027"/>
16367 </criteria>
16368 </definition>
16369 <definition class="compliance" id="oval:org.open-scap.f14:def:20028" version="1">
16370 <metadata>
16371 <title>Disable Mounting of freevxfs</title>
16372 <reference ref_id="CCE-4231-7" source="CCE"/>
16373 <description>prevents usage of this uncommon filesystems.</description>
16374 </metadata>
16375 <criteria>
16376 <criterion comment="check for freevxfs" test_ref="oval:org.open-scap.f14:tst:20028"/>
16377 </criteria>
16378 </definition>
16379 <definition class="compliance" id="oval:org.open-scap.f14:def:20029" version="1">
16380 <metadata>
16381 <title>Disable Mounting of jffs2</title>
16382 <reference ref_id="CCE-4231-7" source="CCE"/>
16383 <description>prevents usage of this uncommon filesystems.</description>
16384 </metadata>
16385 <criteria>
16386 <criterion comment="check for jffs2" test_ref="oval:org.open-scap.f14:tst:20029"/>
16387 </criteria>
16388 </definition>
16389 <definition class="compliance" id="oval:org.open-scap.f14:def:20030" version="1">
16390 <metadata>
16391 <title>Disable Mounting of hfs</title>
16392 <reference ref_id="CCE-4231-7" source="CCE"/>
16393 <description>prevents usage of this uncommon filesystems.</description>
16394 </metadata>
16395 <criteria>
16396 <criterion comment="check for hfs" test_ref="oval:org.open-scap.f14:tst:20030"/>
16397 </criteria>
16398 </definition>
16399 <definition class="compliance" id="oval:org.open-scap.f14:def:20031" version="1">
16400 <metadata>
16401 <title>Disable Mounting of hfsplus</title>
16402 <reference ref_id="CCE-4231-7" source="CCE"/>
16403 <description>prevents usage of this uncommon filesystems.</description>
16404 </metadata>
16405 <criteria>
16406 <criterion comment="check for hfsplus" test_ref="oval:org.open-scap.f14:tst:20031"/>
16407 </criteria>
16408 </definition>
16409 <definition class="compliance" id="oval:org.open-scap.f14:def:20032" version="1">
16410 <metadata>
16411 <title>Disable Mounting of squashfs</title>
16412 <reference ref_id="CCE-4231-7" source="CCE"/>
16413 <description>prevents usage of this uncommon filesystems.</description>
16414 </metadata>
16415 <criteria>
16416 <criterion comment="check for squashfs" test_ref="oval:org.open-scap.f14:tst:20032"/>
16417 </criteria>
16418 </definition>
16419 <definition class="compliance" id="oval:org.open-scap.f14:def:20033" version="1">
16420 <metadata>
16421 <title>Disable Mounting of udf</title>
16422 <reference ref_id="CCE-4231-7" source="CCE"/>
16423 <description>prevents usage of this uncommon filesystems.</description>
16424 </metadata>
16425 <criteria>
16426 <criterion comment="check for udf" test_ref="oval:org.open-scap.f14:tst:20033"/>
16427 </criteria>
16428 </definition>
16429 <definition class="compliance" id="oval:org.open-scap.f14:def:20034" version="1">
16430 <metadata>
16431 <title>Verify user who owns 'shadow' file</title>
16432 <reference ref_id="CCE-3918-0" source="CCE"/>
16433 <description>The /etc/shadow file should be owned by the appropriate user.</description>
16434 </metadata>
16435 <criteria>
16436 <criterion comment="Check file ownership of /etc/shadow" test_ref="oval:org.open-scap.f14:tst:20034"/>
16437 </criteria>
16438 </definition>
16439 <definition class="compliance" id="oval:org.open-scap.f14:def:20035" version="1">
16440 <metadata>
16441 <title>Verify group who owns 'shadow' file</title>
16442 <reference ref_id="CCE-3988-3" source="CCE"/>
16443 <description>The /etc/shadow file should be owned by the appropriate group.</description>
16444 </metadata>
16445 <criteria>
16446 <criterion test_ref="oval:org.open-scap.f14:tst:20035"/>
16447 </criteria>
16448 </definition>
16449 <definition class="compliance" id="oval:org.open-scap.f14:def:20036" version="1">
16450 <metadata>
16451 <title>Verify user who owns 'group' file</title>
16452 <reference ref_id="CCE-3276-3" source="CCE"/>
16453 <description>The /etc/group file should be owned by the appropriate user.</description>
16454 </metadata>
16455 <criteria>
16456 <criterion test_ref="oval:org.open-scap.f14:tst:20036"/>
16457 </criteria>
16458 </definition>
16459 <definition class="compliance" id="oval:org.open-scap.f14:def:20037" version="1">
16460 <metadata>
16461 <title>Verify group who owns 'group' file</title>
16462 <reference ref_id="CCE-3883-6" source="CCE"/>
16463 <description>The /etc/group file should be owned by the appropriate group.</description>
16464 </metadata>
16465 <criteria>
16466 <criterion test_ref="oval:org.open-scap.f14:tst:20037"/>
16467 </criteria>
16468 </definition>
16469 <definition class="compliance" id="oval:org.open-scap.f14:def:20038" version="1">
16470 <metadata>
16471 <title>Verify user who owns 'gshadow' file</title>
16472 <reference ref_id="CCE-4210-1" source="CCE"/>
16473 <description>The /etc/gshadow file should be owned by the appropriate user.</description>
16474 </metadata>
16475 <criteria>
16476 <criterion test_ref="oval:org.open-scap.f14:tst:20038"/>
16477 </criteria>
16478 </definition>
16479 <definition class="compliance" id="oval:org.open-scap.f14:def:20039" version="1">
16480 <metadata>
16481 <title>Verify group who owns 'gshadow' file</title>
16482 <reference ref_id="CCE-4064-2" source="CCE"/>
16483 <description>The /etc/gshadow file should be owned by the appropriate group.</description>
16484 </metadata>
16485 <criteria>
16486 <criterion test_ref="oval:org.open-scap.f14:tst:20039"/>
16487 </criteria>
16488 </definition>
16489 <definition class="compliance" id="oval:org.open-scap.f14:def:20040" version="1">
16490 <metadata>
16491 <title>Verify user who owns 'passwd' file</title>
16492 <reference ref_id="CCE-3958-6" source="CCE"/>
16493 <description>The /etc/passwd file should be owned by the appropriate user.</description>
16494 </metadata>
16495 <criteria>
16496 <criterion test_ref="oval:org.open-scap.f14:tst:20040"/>
16497 </criteria>
16498 </definition>
16499 <definition class="compliance" id="oval:org.open-scap.f14:def:20041" version="1">
16500 <metadata>
16501 <title>Verify group who owns 'passwd' file</title>
16502 <reference ref_id="CCE-3495-9" source="CCE"/>
16503 <description>The /etc/passwd file should be owned by the appropriate group.</description>
16504 </metadata>
16505 <criteria>
16506 <criterion test_ref="oval:org.open-scap.f14:tst:20041"/>
16507 </criteria>
16508 </definition>
16509 <definition class="compliance" id="oval:org.open-scap.f14:def:20042" version="1">
16510 <metadata>
16511 <title>Verify permissions on 'shadow' file</title>
16512 <reference ref_id="CCE-4130-1" source="CCE"/>
16513 <description>File permissions for /etc/shadow should be set correctly.</description>
16514 </metadata>
16515 <criteria>
16516 <criterion test_ref="oval:org.open-scap.f14:tst:20042"/>
16517 </criteria>
16518 </definition>
16519 <definition class="compliance" id="oval:org.open-scap.f14:def:20043" version="1">
16520 <metadata>
16521 <title>Verify permissions on 'group' file</title>
16522 <reference ref_id="CCE-3967-7" source="CCE"/>
16523 <description>File permissions for /etc/group should be set correctly.</description>
16524 </metadata>
16525 <criteria>
16526 <criterion test_ref="oval:org.open-scap.f14:tst:20043"/>
16527 </criteria>
16528 </definition>
16529 <definition class="compliance" id="oval:org.open-scap.f14:def:20044" version="1">
16530 <metadata>
16531 <title>Verify permissions on 'gshadow' file</title>
16532 <reference ref_id="CCE-3932-1" source="CCE"/>
16533 <description>File permissions for /etc/gshadow should be set correctly.</description>
16534 </metadata>
16535 <criteria>
16536 <criterion test_ref="oval:org.open-scap.f14:tst:20044"/>
16537 </criteria>
16538 </definition>
16539 <definition class="compliance" id="oval:org.open-scap.f14:def:20045" version="1">
16540 <metadata>
16541 <title>Verify permissions on 'passwd' file</title>
16542 <reference ref_id="CCE-3566-7" source="CCE"/>
16543 <description>File permissions for /etc/passwd should be set correctly.</description>
16544 </metadata>
16545 <criteria>
16546 <criterion test_ref="oval:org.open-scap.f14:tst:20045"/>
16547 </criteria>
16548 </definition>
16549 <definition class="compliance" id="oval:org.open-scap.f14:def:20046" version="1">
16550 <metadata>
16551 <title>Verify that All World-Writable Directories Have Sticky Bits Set</title>
16552 <reference ref_id="CCE-3399-3" source="CCE"/>
16553 <description>The sticky bit should be set for all world-writable directories.</description>
16554 </metadata>
16555 <criteria>
16556 <criterion comment="Check all directories and make sure they are either not world writable or if they are they have the sticky bit set" test_ref="oval:org.open-scap.f14:tst:20046"/>
16557 </criteria>
16558 </definition>
16559 <definition class="compliance" id="oval:org.open-scap.f14:def:20047" version="1">
16560 <metadata>
16561 <title>Find Unauthorized World-Writable Files</title>
16562 <reference ref_id="CCE-3795-2" source="CCE"/>
16563 <description>The world-write permission should be disabled for all files.</description>
16564 </metadata>
16565 <criteria>
16566 <!-- Need a way to add exceptions to a list somehow -->
16567 <criterion comment="Check all files and make sure they are not world writable" negate="true" test_ref="oval:org.open-scap.f14:tst:20047"/>
16568 </criteria>
16569 </definition>
16570 <definition class="compliance" id="oval:org.open-scap.f14:def:20048" version="1">
16571 <metadata>
16572 <title>Find Unauthorized SGID System Executables</title>
16573 <reference ref_id="CCE-4178-0" source="CCE"/>
16574 <description>The sgid bit should be not set for all executable files.</description>
16575 </metadata>
16576 <criteria>
16577 <criterion comment="Check that there are no unexpected files with sgid bit set" test_ref="oval:org.open-scap.f14:tst:20048"/>
16578 </criteria>
16579 </definition>
16580 <definition class="compliance" id="oval:org.open-scap.f14:def:20049" version="1">
16581 <metadata>
16582 <title>Find Unauthorized SUID System Executables</title>
16583 <reference ref_id="CCE-3324-1" source="CCE"/>
16584 <description>The suid bit should be not set for all files.</description>
16585 </metadata>
16586 <criteria>
16587 <criterion comment="Check that there are no unexpected files with suid bit set" test_ref="oval:org.open-scap.f14:tst:20049"/>
16588 </criteria>
16589 </definition>
16590 <definition class="compliance" id="oval:org.open-scap.f14:def:20050" version="1">
16591 <metadata>
16592 <title>Find files unowned by a user</title>
16593 <reference ref_id="CCE-4223-4" source="CCE"/>
16594 <description>All files should be owned by a user</description>
16595 </metadata>
16596 <criteria>
16597 <criterion comment="Check all files and make sure they are owned by a user" test_ref="oval:org.open-scap.f14:tst:20050"/>
16598 </criteria>
16599 </definition>
16600 <definition class="compliance" id="oval:org.open-scap.f14:def:20051" version="1">
16601 <metadata>
16602 <title>Find files unowned by a group</title>
16603 <reference ref_id="CCE-3573-3" source="CCE"/>
16604 <description>All files should be owned by a group</description>
16605 </metadata>
16606 <criteria>
16607 <criterion comment="Check all files and make sure they are owned by a group" test_ref="oval:org.open-scap.f14:tst:20051"/>
16608 </criteria>
16609 </definition>
16610 <definition class="compliance" id="oval:org.open-scap.f14:def:20052" version="1">
16611 <metadata>
16612 <title>Find world writable directories not owned by a system account</title>
16613 <reference ref_id="TBD" source="CCE"/>
16614 <description>All world writable directories should be owned by a system user</description>
16615 </metadata>
16616 <criteria>
16617 <criterion comment="Check all directories are not world writable or owned by a user with uid less than 500" test_ref="oval:org.open-scap.f14:tst:20052"/>
16618 </criteria>
16619 </definition>
16620 <definition class="compliance" id="oval:org.open-scap.f14:def:20053" version="1">
16621 <metadata>
16622 <title>Set Daemon umask</title>
16623 <reference ref_id="CCE-4220-0" source="CCE"/>
16624 <description>The daemon umask should be set as appropriate</description>
16625 </metadata>
16626 <criteria>
16627 <criterion test_ref="oval:org.open-scap.f14:tst:20053"/>
16628 </criteria>
16629 </definition>
16630 <definition class="compliance" id="oval:org.open-scap.f14:def:20055" version="1">
16631 <metadata>
16632 <title>Disable Core Dumps</title>
16633 <reference ref_id="CCE-4225-9" source="CCE"/>
16634 <description>Core dumps for all users should be disabled</description>
16635 </metadata>
16636 <criteria>
16637 <criterion comment="Are core dumps disabled" test_ref="oval:org.open-scap.f14:tst:20055"/>
16638 </criteria>
16639 </definition>
16640 <definition class="compliance" id="oval:org.open-scap.f14:def:20056" version="1">
16641 <metadata>
16642 <title>Disable Core Dumps for setuid programs</title>
16643 <reference ref_id="CCE-4247-3" source="CCE"/>
16644 <description>Core dumps for setuid programs should be disabled</description>
16645 </metadata>
16646 <criteria>
16647 <criterion comment="Are core dumps for setuid programs disabled?" test_ref="oval:org.open-scap.f14:tst:20056"/>
16648 </criteria>
16649 </definition>
16650 <definition class="compliance" id="oval:org.open-scap.f14:def:20057" version="1">
16651 <metadata>
16652 <title>Enable ExecShield</title>
16653 <reference ref_id="CCE-4168-1" source="CCE"/>
16654 <description>ExecShield should be enabled</description>
16655 </metadata>
16656 <criteria>
16657 <criterion comment="Is execshield enabled" test_ref="oval:org.open-scap.f14:tst:20057"/>
16658 </criteria>
16659 </definition>
16660 <definition class="compliance" id="oval:org.open-scap.f14:def:20058" version="1">
16661 <metadata>
16662 <title>Enable ExecShield randomized placement of virtual memory regions</title>
16663 <reference ref_id="CCE-4146-7" source="CCE"/>
16664 <description>ExecShield randomized placement of virtual memory regions should be enabled</description>
16665 </metadata>
16666 <criteria>
16667 <criterion comment="check ExecShield randomized placement of virtual memory regions" test_ref="oval:org.open-scap.f14:tst:20058"/>
16668 </criteria>
16669 </definition>
16670 <definition class="compliance" id="oval:org.open-scap.f14:def:20060" version="1">
16671 <metadata>
16672 <title>Enable XD/NX processor support in the BIOS</title>
16673 <reference ref_id="CCE-4177-2" source="CCE"/>
16674 <description>The XD/NX processor feature should be enabled in the BIOS</description>
16675 </metadata>
16676 <criteria>
16677 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20060"/>
16678 </criteria>
16679 </definition>
16680 <definition class="compliance" id="oval:org.open-scap.f14:def:20061" version="1">
16681 <metadata>
16682 <title>Restrict Root Logins to System Console</title>
16683 <reference ref_id="CCE-3820-8" source="CCE"/>
16684 <description>Logins through the specified virtual console interface should be enabled</description>
16685 </metadata>
16686 <criteria>
16687 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20061"/>
16688 </criteria>
16689 </definition>
16690 <definition class="compliance" id="oval:org.open-scap.f14:def:20062" version="1">
16691 <metadata>
16692 <title>Restrict Root Logins to System Console</title>
16693 <reference ref_id="CCE-3485-0" source="CCE"/>
16694 <description>Logins through the specified virtual console device should be enabled</description>
16695 </metadata>
16696 <criteria>
16697 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20062"/>
16698 </criteria>
16699 </definition>
16700 <definition class="compliance" id="oval:org.open-scap.f14:def:20063" version="1">
16701 <metadata>
16702 <title>Restrict Root Logins to System Console</title>
16703 <reference ref_id="CCE-4111-1" source="CCE"/>
16704 <description>Logins through the primary console device should be disabled</description>
16705 </metadata>
16706 <criteria>
16707 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20063"/>
16708 </criteria>
16709 </definition>
16710 <definition class="compliance" id="oval:org.open-scap.f14:def:20064" version="1">
16711 <metadata>
16712 <title>Restrict Root Logins to System Console</title>
16713 <reference ref_id="CCE-4256-4" source="CCE"/>
16714 <description>Login prompts on serial ports should be disabled.</description>
16715 </metadata>
16716 <criteria>
16717 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20064"/>
16718 </criteria>
16719 </definition>
16720 <definition class="compliance" id="oval:org.open-scap.f14:def:20065" version="1">
16721 <metadata>
16722 <title>Limit su Access to the wheel group</title>
16723 <description>The wheel group should exist</description>
16724 </metadata>
16725 <criteria>
16726 <criterion comment="Does wheel group exist" test_ref="oval:org.open-scap.f14:tst:20065"/>
16727 </criteria>
16728 </definition>
16729 <definition class="compliance" id="oval:org.open-scap.f14:def:20066" version="1">
16730 <metadata>
16731 <title>Limit command Access to the Root Account</title>
16732 <description>Command access to the root account should be restricted to the wheel group.</description>
16733 </metadata>
16734 <criteria>
16735 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20066"/>
16736 </criteria>
16737 </definition>
16738 <definition class="compliance" id="oval:org.open-scap.f14:def:20067" version="1">
16739 <metadata>
16740 <title>Configure sudo to Improve Auditing of Root Access</title>
16741 <reference ref_id="CCE-4044-4" source="CCE"/>
16742 <description>Sudo privileges should be granted to the wheel group</description>
16743 </metadata>
16744 <criteria>
16745 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20067"/>
16746 </criteria>
16747 </definition>
16748 <definition class="compliance" id="oval:org.open-scap.f14:def:20068" version="1">
16749 <metadata>
16750 <title>Block Shell and Login Access for Non-Root System Accounts</title>
16751 <reference ref_id="CCE-3987-5" source="CCE"/>
16752 <description>Login access to non-root system accounts should be disabled</description>
16753 </metadata>
16754 <criteria>
16755 <criterion comment="check /etc/passwd for /sbin/nologin on non root system accounts" negate="true" test_ref="oval:org.open-scap.f14:tst:20068"/>
16756 </criteria>
16757 </definition>
16758 <definition class="compliance" id="oval:org.open-scap.f14:def:20069" version="1">
16759 <metadata>
16760 <title>Verify that No Accounts Have Empty Password Fields</title>
16761 <reference ref_id="CCE-4238-2" source="CCE"/>
16762 <description>Login access to accounts without passwords should be disabled</description>
16763 </metadata>
16764 <criteria>
16765 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20069"/>
16766 </criteria>
16767 </definition>
16768 <definition class="compliance" id="oval:org.open-scap.f14:def:200695" version="1">
16769 <metadata>
16770 <title>Verify that All Account Password Hashes are Shadowed</title>
16771 <reference ref_id="CCE-4238-2" source="CCE"/>
16772 <description>Check that passwords are shadowed</description>
16773 </metadata>
16774 <criteria>
16775 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:200695"/>
16776 </criteria>
16777 </definition>
16778 <definition class="compliance" id="oval:org.open-scap.f14:def:20070" version="1">
16779 <metadata>
16780 <title>Verify that No Non-Root Accounts Have UID 0</title>
16781 <reference ref_id="CCE-4009-7" source="CCE"/>
16782 <description>Anonymous root logins are disabled</description>
16783 </metadata>
16784 <criteria>
16785 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20070"/>
16786 </criteria>
16787 </definition>
16788 <definition class="compliance" id="oval:org.open-scap.f14:def:20071" version="1">
16789 <metadata>
16790 <title>Set Password Expiration Parameters</title>
16791 <reference ref_id="CCE-4154-1" source="CCE"/>
16792 <description>The password minimum length should be set appropriately</description>
16793 </metadata>
16794 <criteria>
16795 <criterion test_ref="oval:org.open-scap.f14:tst:20071"/>
16796 </criteria>
16797 </definition>
16798 <definition class="compliance" id="oval:org.open-scap.f14:def:20072" version="1">
16799 <metadata>
16800 <title>Set Password Expiration Parameters</title>
16801 <reference ref_id="CCE-4180-6" source="CCE"/>
16802 <description>The "minimum password age" policy should meet minimum requirements. </description>
16803 </metadata>
16804 <criteria>
16805 <criterion test_ref="oval:org.open-scap.f14:tst:20072"/>
16806 </criteria>
16807 </definition>
16808 <definition class="compliance" id="oval:org.open-scap.f14:def:20073" version="1">
16809 <metadata>
16810 <title>Set Password Expiration Parameters</title>
16811 <reference ref_id="CCE-4092-3" source="CCE"/>
16812 <description>The "maximum password age" policy should meet minimum requirements. </description>
16813 </metadata>
16814 <criteria>
16815 <criterion test_ref="oval:org.open-scap.f14:tst:20073"/>
16816 </criteria>
16817 </definition>
16818 <definition class="compliance" id="oval:org.open-scap.f14:def:20074" version="1">
16819 <metadata>
16820 <title>Set Password Expiration Parameters</title>
16821 <reference ref_id="CCE-4097-2" source="CCE"/>
16822 <description>The password warn age should be set appropriately</description>
16823 </metadata>
16824 <criteria>
16825 <criterion test_ref="oval:org.open-scap.f14:tst:20074"/>
16826 </criteria>
16827 </definition>
16828 <definition class="compliance" id="oval:org.open-scap.f14:def:20075" version="1">
16829 <metadata>
16830 <title>Remove Legacy + Entries from Password Files</title>
16831 <description>NIS file inclusions should be set appropriately in the /etc/shadow file</description>
16832 </metadata>
16833 <criteria>
16834 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20075"/>
16835 </criteria>
16836 </definition>
16837 <definition class="compliance" id="oval:org.open-scap.f14:def:20076" version="1">
16838 <metadata>
16839 <title>Remove Legacy + Entries from Password Files</title>
16840 <description>NIS file inclusions should be set appropriately in the /etc/group file</description>
16841 </metadata>
16842 <criteria>
16843 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20076"/>
16844 </criteria>
16845 </definition>
16846 <definition class="compliance" id="oval:org.open-scap.f14:def:20077" version="1">
16847 <metadata>
16848 <title>Remove Legacy + Entries from Password Files</title>
16849 <reference ref_id="CCE-4114-5" source="CCE"/>
16850 <description>NIS file inclusions should be set appropriately in the /etc/passwd file</description>
16851 </metadata>
16852 <criteria>
16853 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20077"/>
16854 </criteria>
16855 </definition>
16856 <definition class="compliance" id="oval:org.open-scap.f14:def:20078" version="1">
16857 <metadata>
16858 <title>Set Password Quality Requirements</title>
16859 <reference ref_id="CCE-3762-2" source="CCE"/>
16860 <description>The password strength should meet minimum requirements using pam_cracklib</description>
16861 </metadata>
16862 <criteria comment="Conditions for retry, minlen, dcredit, ucredit, ocredit, lcredit and difok are satisfied" operator="AND">
16863 <criterion comment="Test retry" test_ref="oval:org.open-scap.f14:tst:200781"/>
16864 <criterion comment="Test minlen" test_ref="oval:org.open-scap.f14:tst:200782"/>
16865 <criterion comment="Test dcredit" test_ref="oval:org.open-scap.f14:tst:200783"/>
16866 <criterion comment="Test ucredit" test_ref="oval:org.open-scap.f14:tst:200784"/>
16867 <criterion comment="Test ocredit" test_ref="oval:org.open-scap.f14:tst:200785"/>
16868 <criterion comment="Test lcredit" test_ref="oval:org.open-scap.f14:tst:200786"/>
16869 <criterion comment="Test difok" test_ref="oval:org.open-scap.f14:tst:200787"/>
16870 </criteria>
16871 </definition>
16872 <definition class="compliance" id="oval:org.open-scap.f14:def:20079" version="1">
16873 <metadata>
16874 <title>Set Password Quality Requirements</title>
16875 <reference ref_id="CCE-3762-2" source="CCE"/>
16876 <description>The password strength should meet minimum requirements using pam_passwdqc</description>
16877 </metadata>
16878 <criteria>
16879 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20079"/>
16880 </criteria>
16881 </definition>
16882 <definition class="compliance" id="oval:org.open-scap.f14:def:20080" version="1">
16883 <metadata>
16884 <title>Set Lockouts for Failed Password Attempts</title>
16885 <reference ref_id="CCE-3410-8" source="CCE"/>
16886 <description>The "account lockout threshold" policy should meet minimum requirements.</description>
16887 </metadata>
16888 <criteria>
16889 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16890 <criteria comment="unlock_time is not present">
16891 <criterion comment="check unlock_time is 0" test_ref="oval:org.open-scap.f14:tst:200800"/>
16892 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16893 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16894 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16895 </criteria>
16896 </criteria>
16897 <criteria comment="unlock_time is present">
16898 <criterion comment="check unlock_time is not 0 (by checking for zero and negating)" negate="true" test_ref="oval:org.open-scap.f14:tst:200800"/>
16899 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16900 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16901 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16902 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008013"/>
16903 </criteria>
16904 </criteria>
16905 </criteria>
16906 <criterion comment="check that pam_tally2 account module is configured correctly" test_ref="oval:org.open-scap.f14:tst:200803"/>
16907 </criteria>
16908 </definition>
16909 <definition class="compliance" id="oval:org.open-scap.f14:def:200805" version="1">
16910 <metadata>
16911 <title>Do not leak information on authorization failure</title>
16912 <reference ref_id="TBD" source="CCE"/>
16913 <description>Authorization failures should not alert attackers as to what went wrong.</description>
16914 </metadata>
16915 <criteria>
16916 <criterion comment="Unknown test stub (use required instead of sufficient)" test_ref="oval:org.open-scap.f14:tst:200805"/>
16917 </criteria>
16918 </definition>
16919 <definition class="compliance" id="oval:org.open-scap.f14:def:200806" version="1">
16920 <metadata>
16921 <title>Do not log authorization failures and successes</title>
16922 <reference ref_id="TBD" source="CCE"/>
16923 <description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</description>
16924 </metadata>
16925 <criteria>
16926 <criterion comment="Unknown test stub (check that pam_succeed_if is not there with quiet option)" test_ref="oval:org.open-scap.f14:tst:2008061"/>
16927 <criterion comment="Unknown test stub (check that pam_deny is not there)" test_ref="oval:org.open-scap.f14:tst:2008062"/>
16928 </criteria>
16929 </definition>
16930 <definition class="compliance" id="oval:org.open-scap.f14:def:20081" version="1">
16931 <metadata>
16932 <title>Restrict Execution of userhelper to Console Users</title>
16933 <reference ref_id="CCE-4185-5" source="CCE"/>
16934 <description>The /usr/sbin/userhelper file should be owned by the appropriate group.</description>
16935 </metadata>
16936 <criteria operator="AND">
16937 <criterion comment="test group owner of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20081"/>
16938 <criterion comment="test group existence" test_ref="oval:org.open-scap.f14:tst:200811"/>
16939 </criteria>
16940 </definition>
16941 <definition class="compliance" id="oval:org.open-scap.f14:def:20082" version="1">
16942 <metadata>
16943 <title>Restrict Execution of userhelper to Console Users</title>
16944 <reference ref_id="CCE-3952-9" source="CCE"/>
16945 <description>File permissions for /usr/sbin/userhelper should be set correctly.</description>
16946 </metadata>
16947 <criteria>
16948 <criterion comment="check permissions of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20082"/>
16949 </criteria>
16950 </definition>
16951 <definition class="compliance" id="oval:org.open-scap.f14:def:20083" version="1">
16952 <metadata>
16953 <title>Set Password hashing algorithm</title>
16954 <reference ref_id="TBD" source="CCE"/>
16955 <description>The password hashing algorithm should be set correctly.</description>
16956 </metadata>
16957 <criteria operator="ONE">
16958 <criteria>
16959 <criterion comment="check that desired hashing algorithm is MD5" test_ref="oval:org.open-scap.f14:tst:200831"/>
16960 <criterion comment="Make sure /etc/login.defs is set to use md5" test_ref="oval:org.open-scap.f14:tst:200832"/>
16961 </criteria>
16962 <criteria>
16963 <criterion comment="check that desired hashing algorithm is not MD5 (negate previous test)" negate="true" test_ref="oval:org.open-scap.f14:tst:200831"/>
16964 <criterion comment="Make sure /etc/login.defs is not set to use md5 (negate previous test)" negate="true" test_ref="oval:org.open-scap.f14:tst:200832"/>
16965 <criterion comment="Make sure /etc/login.defs is set to use ENCRYPT_METHOD" test_ref="oval:org.open-scap.f14:tst:200833"/>
16966 <criterion comment="Make sure /etc/pam.d/system-auth is set to use hashing algorithm" test_ref="oval:org.open-scap.f14:tst:200834"/>
16967 <criterion comment="Make sure /etc/libuser.conf is set to use hashing algorithm as crypt_style" test_ref="oval:org.open-scap.f14:tst:200835"/>
16968 </criteria>
16969 </criteria>
16970 </definition>
16971 <definition class="compliance" id="oval:org.open-scap.f14:def:20084" version="1">
16972 <metadata>
16973 <title>Limit password reuse</title>
16974 <reference ref_id="TBD" source="CCE"/>
16975 <description>The passwords to remember should be set correctly.</description>
16976 </metadata>
16977 <criteria operator="ONE">
16978 <criteria>
16979 <criterion comment="remember parameter is set to 0" test_ref="oval:org.open-scap.f14:tst:200841"/>
16980 </criteria>
16981 <criteria>
16982 <criterion comment="remember parameter is set to 0 (note this is negated)" negate="true" test_ref="oval:org.open-scap.f14:tst:200841"/>
16983 <criterion comment="check the /etc/pam.d/system-auth password module has a remember option set appropriately" test_ref="oval:org.open-scap.f14:tst:200842"/>
16984 </criteria>
16985 </criteria>
16986 </definition>
16987 <definition class="compliance" id="oval:org.open-scap.f14:def:20085" version="1">
16988 <metadata>
16989 <title>Ensure that No Dangerous Directories Exist in Root's Path</title>
16990 <reference ref_id="CCE-3301-9" source="CCE"/>
16991 <description>The PATH variable should be set correctly for user root</description>
16992 </metadata>
16993 <criteria comment="(not OR) means PATH does not start with : or . AND PATH does not start with : or . AND PATH does not contain :: or :.:" negate="true" operator="OR">
16994 <criterion comment="PATH starts with : or ." test_ref="oval:org.open-scap.f14:tst:200851"/>
16995 <criterion comment="PATH ends with : or ." test_ref="oval:org.open-scap.f14:tst:200852"/>
16996 <criterion comment="PATH contains :: or :.:" test_ref="oval:org.open-scap.f14:tst:200853"/>
16997 </criteria>
16998 </definition>
16999 <definition class="compliance" id="oval:org.open-scap.f14:def:200855" version="1">
17000 <metadata>
17001 <title>Write permissions are disabled for group and other in all directories in Root's Path</title>
17002 <reference ref_id="TBD" source="CCE"/>
17003 <description>Check each directory in root's path and make use it does not grant write permission to group and other</description>
17004 </metadata>
17005 <criteria>
17006 <criterion comment="Check that write permission to group and other in root's path is denied" test_ref="oval:org.open-scap.f14:tst:200855"/>
17007 </criteria>
17008 </definition>
17009 <definition class="compliance" id="oval:org.open-scap.f14:def:20086" version="1">
17010 <metadata>
17011 <title>Ensure that User Home Directories are not Group-Writable or World-Readable</title>
17012 <reference ref_id="CCE-4090-7" source="CCE"/>
17013 <description>File permissions should be set correctly for the home directories for all user accounts.</description>
17014 </metadata>
17015 <criteria comment="Both criterion are negated to get desired result">
17016 <criterion comment="Home directories are group writable" test_ref="oval:org.open-scap.f14:tst:200861"/>
17017 <criterion comment="Home directories are world readable" test_ref="oval:org.open-scap.f14:tst:200862"/>
17018 </criteria>
17019 </definition>
17020 <definition class="compliance" id="oval:org.open-scap.f14:def:20087" version="1">
17021 <metadata>
17022 <title>Ensure that Users Have Sensible Umask Values set for bash</title>
17023 <reference ref_id="CCE-3844-8" source="CCE"/>
17024 <description>The default umask for all users should be set correctly for the bash shell</description>
17025 </metadata>
17026 <criteria>
17027 <criterion test_ref="oval:org.open-scap.f14:tst:20087"/>
17028 </criteria>
17029 </definition>
17030 <definition class="compliance" id="oval:org.open-scap.f14:def:20088" version="1">
17031 <metadata>
17032 <title>Ensure that Users Have Sensible Umask Values set for csh</title>
17033 <reference ref_id="CCE-4227-5" source="CCE"/>
17034 <description>The default umask for all users should be set correctly for the csh shell</description>
17035 </metadata>
17036 <criteria>
17037 <criterion test_ref="oval:org.open-scap.f14:tst:20088"/>
17038 </criteria>
17039 </definition>
17040 <definition class="compliance" id="oval:org.open-scap.f14:def:20091" version="1">
17041 <metadata>
17042 <title>Check for existance of .netrc file</title>
17043 <reference ref_id="TBD" source="CCE"/>
17044 <description>No user directory should contain file .netrc</description>
17045 </metadata>
17046 <criteria>
17047 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17048 </criteria>
17049 </definition>
17050 <definition class="compliance" id="oval:org.open-scap.f14:def:20092" version="1">
17051 <metadata>
17052 <title>Set Boot Loader Password</title>
17053 <reference ref_id="CCE-4144-2" source="CCE"/>
17054 <description>The /etc/grub.conf file should be owned by the appropriate user.</description>
17055 </metadata>
17056 <criteria>
17057 <criterion test_ref="oval:org.open-scap.f14:tst:20092"/>
17058 </criteria>
17059 </definition>
17060 <definition class="compliance" id="oval:org.open-scap.f14:def:20093" version="1">
17061 <metadata>
17062 <title>Set Boot Loader Password</title>
17063 <reference ref_id="CCE-4197-0" source="CCE"/>
17064 <description>The /etc/grub.conf file should be owned by the appropriate group.</description>
17065 </metadata>
17066 <criteria>
17067 <criterion test_ref="oval:org.open-scap.f14:tst:20093"/>
17068 </criteria>
17069 </definition>
17070 <definition class="compliance" id="oval:org.open-scap.f14:def:20094" version="1">
17071 <metadata>
17072 <title>Set Boot Loader Password</title>
17073 <reference ref_id="CCE-3923-0" source="CCE"/>
17074 <description>File permissions for /etc/grub.conf should be set correctly.</description>
17075 </metadata>
17076 <criteria>
17077 <criterion test_ref="oval:org.open-scap.f14:tst:20094"/>
17078 </criteria>
17079 </definition>
17080 <definition class="compliance" id="oval:org.open-scap.f14:def:20095" version="1">
17081 <metadata>
17082 <title>Set Boot Loader Password</title>
17083 <reference ref_id="CCE-3818-2" source="CCE"/>
17084 <description>The grub boot loader should have password protection enabled</description>
17085 </metadata>
17086 <criteria>
17087 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20095"/>
17088 </criteria>
17089 </definition>
17090 <definition class="compliance" id="oval:org.open-scap.f14:def:20096" version="1">
17091 <metadata>
17092 <title>Require Authentication for Single-User Mode</title>
17093 <reference ref_id="CCE-4241-6" source="CCE"/>
17094 <description>The requirement for a password to boot into single-user mode should be configured correctly.</description>
17095 </metadata>
17096 <criteria>
17097 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20096"/>
17098 </criteria>
17099 </definition>
17100 <definition class="compliance" id="oval:org.open-scap.f14:def:20097" version="1">
17101 <metadata>
17102 <title>Disable Interactive Boot</title>
17103 <reference ref_id="CCE-4245-7" source="CCE"/>
17104 <description>The ability for users to perform interactive startups should be disabled.</description>
17105 </metadata>
17106 <criteria>
17107 <criterion test_ref="oval:org.open-scap.f14:tst:20097"/>
17108 </criteria>
17109 </definition>
17110 <definition class="compliance" id="oval:org.open-scap.f14:def:20098" version="1">
17111 <metadata>
17112 <title>Implement Inactivity Time-out for Login Shells</title>
17113 <reference ref_id="CCE-3689-7" source="CCE"/>
17114 <description>The idle time-out value for the default /bin/tcsh shell should meet the minimum requirements.</description>
17115 </metadata>
17116 <criteria>
17117 <criterion test_ref="oval:org.open-scap.f14:tst:20098"/>
17118 </criteria>
17119 </definition>
17120 <definition class="compliance" id="oval:org.open-scap.f14:def:20099" version="1">
17121 <metadata>
17122 <title>Implement Inactivity Time-out for Login Shells</title>
17123 <reference ref_id="CCE-3707-7" source="CCE"/>
17124 <description>The idle time-out value for the default /bin/bash shell should meet the minimum requirements.</description>
17125 </metadata>
17126 <criteria>
17127 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20099"/>
17128 </criteria>
17129 </definition>
17130 <definition class="compliance" id="oval:org.open-scap.f14:def:20100" version="1">
17131 <metadata>
17132 <title>Configure GUI Screen Locking</title>
17133 <reference ref_id="CCE-3315-9" source="CCE"/>
17134 <description>The allowed period of inactivity gnome desktop lockout should be configured correctly.</description>
17135 </metadata>
17136 <criteria>
17137 <criterion comment="check value of idle_delay in GCONF" test_ref="oval:org.open-scap.f14:tst:20100"/>
17138 </criteria>
17139 </definition>
17140 <definition class="compliance" id="oval:org.open-scap.f14:def:201005" version="1">
17141 <metadata>
17142 <title>Implement idle activation of screen saver</title>
17143 <reference ref_id="TBD" source="CCE"/>
17144 <description>Idle activation of the screen saver should be enabled.</description>
17145 </metadata>
17146 <criteria>
17147 <criterion comment="check value of idle_activation_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201005"/>
17148 </criteria>
17149 </definition>
17150 <definition class="compliance" id="oval:org.open-scap.f14:def:201006" version="1">
17151 <metadata>
17152 <title>Implement idle activation of screen lock</title>
17153 <reference ref_id="TBD" source="CCE"/>
17154 <description>Idle activation of the screen lock should be enabled.</description>
17155 </metadata>
17156 <criteria>
17157 <criterion comment="check value of lock_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201006"/>
17158 </criteria>
17159 </definition>
17160 <definition class="compliance" id="oval:org.open-scap.f14:def:201007" version="1">
17161 <metadata>
17162 <title>Implement blank screen saver</title>
17163 <reference ref_id="TBD" source="CCE"/>
17164 <description>The screen saver should be blank.</description>
17165 </metadata>
17166 <criteria>
17167 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:201007"/>
17168 </criteria>
17169 </definition>
17170 <definition class="compliance" id="oval:org.open-scap.f14:def:20101" version="1">
17171 <metadata>
17172 <title>Configure GUI Screen Locking</title>
17173 <reference ref_id="CCE-3910-7" source="CCE"/>
17174 <description>The vlock package should be installed</description>
17175 </metadata>
17176 <criteria>
17177 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20101"/>
17178 </criteria>
17179 </definition>
17180 <definition class="compliance" id="oval:org.open-scap.f14:def:20102" version="1">
17181 <metadata>
17182 <title>Modify the System Login Banner</title>
17183 <reference ref_id="CCE-4060-0" source="CCE"/>
17184 <description>The system login banner text should be set correctly.</description>
17185 </metadata>
17186 <criteria>
17187 <criterion comment="/etc/issue is set appropriately" test_ref="oval:org.open-scap.f14:tst:20102"/>
17188 </criteria>
17189 </definition>
17190 <definition class="compliance" id="oval:org.open-scap.f14:def:20103" version="1">
17191 <metadata>
17192 <title>Implement a GUI Warning Banner</title>
17193 <reference ref_id="CCE-4188-9" source="CCE"/>
17194 <description>The direct gnome login warning banner should be set correctly.</description>
17195 </metadata>
17196 <criteria>
17197 <criterion comment="Check that the GConf setting for the login banner is set correctly" test_ref="oval:org.open-scap.f14:tst:20103"/>
17198 </criteria>
17199 </definition>
17200 <definition class="compliance" id="oval:org.open-scap.f14:def:201035" version="1">
17201 <metadata>
17202 <title>Ensure SELinux is Properly Enabled</title>
17203 <reference ref_id="TBD" source="CCE"/>
17204 <description>Check output of /usr/sbin/sestatus.</description>
17205 </metadata>
17206 <criteria>
17207 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17208 </criteria>
17209 </definition>
17210 <definition class="compliance" id="oval:org.open-scap.f14:def:20104" version="1">
17211 <metadata>
17212 <title>Enable SELinux</title>
17213 <reference ref_id="CCE-3977-6" source="CCE"/>
17214 <description>SELinux should be enabled</description>
17215 </metadata>
17216 <criteria>
17217 <criterion test_ref="oval:org.open-scap.f14:tst:20104"/>
17218 </criteria>
17219 </definition>
17220 <definition class="compliance" id="oval:org.open-scap.f14:def:20105" version="1">
17221 <metadata>
17222 <title>Enable SELinux enforcing</title>
17223 <reference ref_id="TBD" source="CCE"/>
17224 <description>SELinux should be enforcing in the bootloader</description>
17225 </metadata>
17226 <criteria>
17227 <criterion test_ref="oval:org.open-scap.f14:tst:20105"/>
17228 </criteria>
17229 </definition>
17230 <definition class="compliance" id="oval:org.open-scap.f14:def:20106" version="1">
17231 <metadata>
17232 <title>Enable SELinux state</title>
17233 <reference ref_id="TBD" source="CCE"/>
17234 <description>The SELinux state should be set appropriately.</description>
17235 </metadata>
17236 <criteria>
17237 <criterion test_ref="oval:org.open-scap.f14:tst:20106"/>
17238 </criteria>
17239 </definition>
17240 <definition class="compliance" id="oval:org.open-scap.f14:def:20107" version="1">
17241 <metadata>
17242 <title>Enable SELinux</title>
17243 <reference ref_id="CCE-3624-4" source="CCE"/>
17244 <description>The SELinux policy should be set appropriately.</description>
17245 </metadata>
17246 <criteria>
17247 <criterion test_ref="oval:org.open-scap.f14:tst:20107"/>
17248 </criteria>
17249 </definition>
17250 <definition class="compliance" id="oval:org.open-scap.f14:def:20108" version="1">
17251 <metadata>
17252 <title>Disable and Remove SETroubleshoot if Possible</title>
17253 <reference ref_id="CCE-4148-3" source="CCE"/>
17254 <description>The setroubleshoot package should be uninstalled.</description>
17255 </metadata>
17256 <criteria>
17257 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20108"/>
17258 </criteria>
17259 </definition>
17260 <definition class="compliance" id="oval:org.open-scap.f14:def:20109" version="1">
17261 <metadata>
17262 <title>Disable and Remove SETroubleshoot if Possible</title>
17263 <reference ref_id="CCE-4254-9" source="CCE"/>
17264 <description>The setroubleshoot service should be disabled.</description>
17265 </metadata>
17266 <criteria comment="The setroubleshoot package should be uninstalled or conditions are met" operator="OR">
17267 <extend_definition comment="setroubleshoot is not installed" definition_ref="oval:org.open-scap.f14:def:20108"/>
17268 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20109"/>
17269 </criteria>
17270 </definition>
17271 <definition class="compliance" id="oval:org.open-scap.f14:def:20110" version="1">
17272 <metadata>
17273 <title>Disable MCS Translation Service (mcstrans) if Possible</title>
17274 <reference ref_id="CCE-3668-1" source="CCE"/>
17275 <description>The mcstrans service should be disabled.</description>
17276 </metadata>
17277 <criteria>
17278 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20110"/>
17279 </criteria>
17280 </definition>
17281 <definition class="compliance" id="oval:org.open-scap.f14:def:201115" version="1">
17282 <metadata>
17283 <title>Check for Unconfined Daemons</title>
17284 <reference ref_id="TBD" source="CCE"/>
17285 <description>Check for device file that is not labeled.</description>
17286 </metadata>
17287 <criteria>
17288 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17289 </criteria>
17290 </definition>
17291 <definition class="compliance" id="oval:org.open-scap.f14:def:20111" version="1">
17292 <metadata>
17293 <title>Restorecon Service (restorecond)</title>
17294 <reference ref_id="CCE-4129-3" source="CCE"/>
17295 <description>The restorecond service should be disabled.</description>
17296 </metadata>
17297 <criteria>
17298 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20111"/>
17299 </criteria>
17300 </definition>
17301 <!-- BEGIN -->
17302 <definition class="compliance" id="oval:org.open-scap.f14:def:20112" version="1">
17303 <metadata>
17304 <title>Network Parameters for Hosts Only</title>
17305 <reference ref_id="CCE-4151-7" source="CCE"/>
17306 <description>The default setting for sending ICMP redirects should be disabled for network interfaces.</description>
17307 <tested_by name="dkopecek" time="1282130094"/>
17308 </metadata>
17309 <criteria operator="AND">
17310 <criterion test_ref="oval:org.open-scap.f14:tst:201120"/>
17311 <criteria operator="OR">
17312 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201121"/>
17313 <criterion test_ref="oval:org.open-scap.f14:tst:201122"/>
17314 </criteria>
17315 </criteria>
17316 </definition>
17317 <!-- ^^^ ok ^^^ -->
17318 <definition class="compliance" id="oval:org.open-scap.f14:def:20113" version="1">
17319 <metadata>
17320 <title>Network Parameters for Hosts Only</title>
17321 <reference ref_id="CCE-4155-8" source="CCE"/>
17322 <description>Sending ICMP redirects should be disabled for all interfaces.</description>
17323 <tested_by name="dkopecek" time="1282130094"/>
17324 </metadata>
17325 <criteria operator="AND">
17326 <criterion test_ref="oval:org.open-scap.f14:tst:201130"/>
17327 <criteria operator="OR">
17328 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201131"/>
17329 <criterion test_ref="oval:org.open-scap.f14:tst:201132"/>
17330 </criteria>
17331 </criteria>
17332 </definition>
17333 <definition class="compliance" id="oval:org.open-scap.f14:def:20114" version="1">
17334 <metadata>
17335 <title>Network Parameters for Hosts Only</title>
17336 <reference ref_id="CCE-3561-8" source="CCE"/>
17337 <description>IP forwarding should be disabled.</description>
17338 <tested_by name="dkopecek" time="1282130094"/>
17339 </metadata>
17340 <criteria operator="AND">
17341 <criterion test_ref="oval:org.open-scap.f14:tst:201140"/>
17342 <criteria operator="OR">
17343 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201141"/>
17344 <criterion test_ref="oval:org.open-scap.f14:tst:201142"/>
17345 </criteria>
17346 </criteria>
17347 </definition>
17348 <definition class="compliance" id="oval:org.open-scap.f14:def:20115" version="1">
17349 <metadata>
17350 <title>Network Parameters for Hosts and Routers</title>
17351 <reference ref_id="CCE-4236-6" source="CCE"/>
17352 <description>Accepting source routed packets should be enabled or disabled for all interfaces as appropriate.</description>
17353 </metadata>
17354 <criteria operator="AND">
17355 <criterion test_ref="oval:org.open-scap.f14:tst:201150"/>
17356 <criteria operator="OR">
17357 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201151"/>
17358 <criterion test_ref="oval:org.open-scap.f14:tst:201152"/>
17359 </criteria>
17360 </criteria>
17361 </definition>
17362 <definition class="compliance" id="oval:org.open-scap.f14:def:20116" version="1">
17363 <metadata>
17364 <title>Network Parameters for Hosts and Routers</title>
17365 <reference ref_id="CCE-4217-6" source="CCE"/>
17366 <description>Accepting ICMP redirects should be enabled or disabled for all interfaces as appropriate.</description>
17367 </metadata>
17368 <criteria operator="AND">
17369 <criterion test_ref="oval:org.open-scap.f14:tst:201160"/>
17370 <criteria operator="OR">
17371 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201161"/>
17372 <criterion test_ref="oval:org.open-scap.f14:tst:201162"/>
17373 </criteria>
17374 </criteria>
17375 </definition>
17376 <definition class="compliance" id="oval:org.open-scap.f14:def:20117" version="1">
17377 <metadata>
17378 <title>Network Parameters for Hosts and Routers</title>
17379 <reference ref_id="CCE-3472-8" source="CCE"/>
17380 <description>Accepting "secure" ICMP redirects (those from gateways listed in the default gateways list) should be enabled or disabled for all interfaces as appropriate.</description>
17381 </metadata>
17382 <criteria operator="AND">
17383 <criterion test_ref="oval:org.open-scap.f14:tst:201170"/>
17384 <criteria operator="OR">
17385 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201171"/>
17386 <criterion test_ref="oval:org.open-scap.f14:tst:201172"/>
17387 </criteria>
17388 </criteria>
17389 </definition>
17390 <definition class="compliance" id="oval:org.open-scap.f14:def:20118" version="1">
17391 <metadata>
17392 <title>Network Parameters for Hosts and Routers</title>
17393 <reference ref_id="CCE-4320-8" source="CCE"/>
17394 <description>Logging of "martian" packets (those with impossible addresses) should be enabled or disabled for all interfaces as appropriate.</description>
17395 </metadata>
17396 <criteria operator="AND">
17397 <criterion test_ref="oval:org.open-scap.f14:tst:201180"/>
17398 <criteria operator="OR">
17399 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201181"/>
17400 <criterion test_ref="oval:org.open-scap.f14:tst:201182"/>
17401 </criteria>
17402 </criteria>
17403 </definition>
17404 <definition class="compliance" id="oval:org.open-scap.f14:def:20119" version="1">
17405 <metadata>
17406 <title>Network Parameters for Hosts and Routers</title>
17407 <reference ref_id="CCE-4091-5" source="CCE"/>
17408 <description>The default setting for accepting source routed packets should be enabled or disabled for network interfaces as appropriate.</description>
17409 </metadata>
17410 <criteria operator="AND">
17411 <criterion test_ref="oval:org.open-scap.f14:tst:201190"/>
17412 <criteria operator="OR">
17413 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201191"/>
17414 <criterion test_ref="oval:org.open-scap.f14:tst:201192"/>
17415 </criteria>
17416 </criteria>
17417 </definition>
17418 <definition class="compliance" id="oval:org.open-scap.f14:def:20120" version="1">
17419 <metadata>
17420 <title>Network Parameters for Hosts and Routers</title>
17421 <reference ref_id="CCE-4186-3" source="CCE"/>
17422 <description>The default setting for accepting ICMP redirects should be enabled or disabled for network interfaces as appropriate.</description>
17423 </metadata>
17424 <criteria operator="AND">
17425 <criterion test_ref="oval:org.open-scap.f14:tst:201200"/>
17426 <criteria operator="OR">
17427 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201201"/>
17428 <criterion test_ref="oval:org.open-scap.f14:tst:201202"/>
17429 </criteria>
17430 </criteria>
17431 </definition>
17432 <definition class="compliance" id="oval:org.open-scap.f14:def:20121" version="1">
17433 <metadata>
17434 <title>Network Parameters for Hosts and Routers</title>
17435 <reference ref_id="CCE-3339-9" source="CCE"/>
17436 <description>The default setting for accepting "secure" ICMP redirects (those from gateways listed in the default gateways list) should be enabled or disabled for network interfaces as appropriate.</description>
17437 </metadata>
17438 <criteria operator="AND">
17439 <criterion test_ref="oval:org.open-scap.f14:tst:201210"/>
17440 <criteria operator="OR">
17441 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201211"/>
17442 <criterion test_ref="oval:org.open-scap.f14:tst:201212"/>
17443 </criteria>
17444 </criteria>
17445 </definition>
17446 <definition class="compliance" id="oval:org.open-scap.f14:def:20122" version="1">
17447 <metadata>
17448 <title>Network Parameters for Hosts and Routers</title>
17449 <reference ref_id="CCE-3644-2" source="CCE"/>
17450 <description>Ignoring ICMP echo requests (pings) sent to broadcast / multicast addresses should be enabled or disabled as appropriate.</description>
17451 </metadata>
17452 <criteria operator="AND">
17453 <criterion test_ref="oval:org.open-scap.f14:tst:201220"/>
17454 <criteria operator="OR">
17455 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201221"/>
17456 <criterion test_ref="oval:org.open-scap.f14:tst:201222"/>
17457 </criteria>
17458 </criteria>
17459 </definition>
17460 <definition class="compliance" id="oval:org.open-scap.f14:def:20123" version="1">
17461 <metadata>
17462 <title>Network Parameters for Hosts and Routers</title>
17463 <reference ref_id="CCE-4133-5" source="CCE"/>
17464 <description>Ignoring bogus ICMP responses to broadcasts should be enabled or disabled as appropriate.</description>
17465 </metadata>
17466 <criteria operator="AND">
17467 <criterion test_ref="oval:org.open-scap.f14:tst:201230"/>
17468 <criteria operator="OR">
17469 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201231"/>
17470 <criterion test_ref="oval:org.open-scap.f14:tst:201232"/>
17471 </criteria>
17472 </criteria>
17473 </definition>
17474 <definition class="compliance" id="oval:org.open-scap.f14:def:20124" version="1">
17475 <metadata>
17476 <title>Network Parameters for Hosts and Routers</title>
17477 <reference ref_id="CCE-4265-5" source="CCE"/>
17478 <description>Sending TCP syncookies should be enabled or disabled as appropriate.</description>
17479 </metadata>
17480 <criteria operator="AND">
17481 <criterion test_ref="oval:org.open-scap.f14:tst:201240"/>
17482 <criteria operator="OR">
17483 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201241"/>
17484 <criterion test_ref="oval:org.open-scap.f14:tst:201242"/>
17485 </criteria>
17486 </criteria>
17487 </definition>
17488 <definition class="compliance" id="oval:org.open-scap.f14:def:20125" version="1">
17489 <metadata>
17490 <title>Network Parameters for Hosts and Routers</title>
17491 <reference ref_id="CCE-4080-8" source="CCE"/>
17492 <description>Performing source validation by reverse path should be enabled or disabled for all interfaces as appropriate.</description>
17493 </metadata>
17494 <criteria operator="AND">
17495 <criterion test_ref="oval:org.open-scap.f14:tst:201250"/>
17496 <criteria operator="OR">
17497 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201251"/>
17498 <criterion test_ref="oval:org.open-scap.f14:tst:201252"/>
17499 </criteria>
17500 </criteria>
17501 </definition>
17502 <definition class="compliance" id="oval:org.open-scap.f14:def:20126" version="1">
17503 <metadata>
17504 <title>Network Parameters for Hosts and Routers</title>
17505 <reference ref_id="CCE-3840-6" source="CCE"/>
17506 <description>The default setting for performing source validation by reverse path should be enabled or disabled for network interfaces as appropriate.</description>
17507 </metadata>
17508 <criteria operator="AND">
17509 <criterion test_ref="oval:org.open-scap.f14:tst:201260"/>
17510 <criteria operator="OR">
17511 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201261"/>
17512 <criterion test_ref="oval:org.open-scap.f14:tst:201262"/>
17513 </criteria>
17514 </criteria>
17515 </definition>
17516 <definition class="compliance" id="oval:org.open-scap.f14:def:20127" version="1">
17517 <metadata>
17518 <title>Disable Wireless in BIOS</title>
17519 <reference ref_id="CCE-3628-5" source="CCE"/>
17520 <description>All wireless devices should be disabled in the BIOS.</description>
17521 </metadata>
17522 <criteria>
17523 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17524 </criteria>
17525 </definition>
17526 <definition class="compliance" id="oval:org.open-scap.f14:def:20128" version="1">
17527 <metadata>
17528 <title>Deactivate Wireless Interfaces</title>
17529 <reference ref_id="CCE-4276-2" source="CCE"/>
17530 <description>All wireless interfaces should be disabled.</description>
17531 </metadata>
17532 <criteria>
17533 <criterion comment="Find wireless interfaces" test_ref="oval:org.open-scap.f14:tst:20128"/>
17534 </criteria>
17535 </definition>
17536 <definition class="compliance" id="oval:org.open-scap.f14:def:20129" version="1">
17537 <metadata>
17538 <title>Disable Wireless Drivers</title>
17539 <reference ref_id="CCE-4170-7" source="CCE"/>
17540 <description>Device drivers for wireless devices should be excluded from the kernel.</description>
17541 </metadata>
17542 <criteria>
17543 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20129"/>
17544 </criteria>
17545 </definition>
17546 <!-- ipv6 -->
17547 <definition class="compliance" id="oval:org.open-scap.f14:def:20130" version="1">
17548 <metadata>
17549 <title>Disable Automatic Loading of IPv6 Kernel Module</title>
17550 <reference ref_id="CCE-3562-6" source="CCE"/>
17551 <description>Automatic loading of the IPv6 kernel module should be disabled.</description>
17552 </metadata>
17553 <criteria>
17554 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20130"/>
17555 </criteria>
17556 </definition>
17557 <definition class="compliance" id="oval:org.open-scap.f14:def:20131" version="1">
17558 <metadata>
17559 <title>Disable Interface Usage of IPv6</title>
17560 <reference ref_id="CCE-3381-1" source="CCE"/>
17561 <description>The default setting for IPv6 configuration should be disabled for network interfaces.</description>
17562 </metadata>
17563 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17564 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17565 <criterion test_ref="oval:org.open-scap.f14:tst:20131"/>
17566 </criteria>
17567 </definition>
17568 <definition class="compliance" id="oval:org.open-scap.f14:def:20132" version="1">
17569 <metadata>
17570 <title>Disable Interface Usage of IPv6</title>
17571 <reference ref_id="CCE-3377-9" source="CCE"/>
17572 <description>Global IPv6 initialization should be disabled.</description>
17573 </metadata>
17574 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17575 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17576 <criterion test_ref="oval:org.open-scap.f14:tst:20132"/>
17577 </criteria>
17578 </definition>
17579 <definition class="compliance" id="oval:org.open-scap.f14:def:20133" version="1">
17580 <metadata>
17581 <title>Disable Interface Usage of IPv6</title>
17582 <reference ref_id="CCE-4296-0" source="CCE"/>
17583 <description>IPv6 configuration should be disabled for all interfaces.</description>
17584 </metadata>
17585 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17586 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17587 <criterion test_ref="oval:org.open-scap.f14:tst:20133"/>
17588 </criteria>
17589 </definition>
17590 <definition class="compliance" id="oval:org.open-scap.f14:def:20134" version="1">
17591 <metadata>
17592 <title>Disable Automatic Configuration</title>
17593 <reference ref_id="CCE-4269-7" source="CCE"/>
17594 <description>Accepting IPv6 router advertisements should be disabled for all network interfaces.</description>
17595 </metadata>
17596 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17597 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17598 <criterion test_ref="oval:org.open-scap.f14:tst:20134"/>
17599 </criteria>
17600 </definition>
17601 <definition class="compliance" id="oval:org.open-scap.f14:def:20135" version="1">
17602 <metadata>
17603 <title>Disable Automatic Configuration</title>
17604 <reference ref_id="CCE-4291-1" source="CCE"/>
17605 <description>The default setting for accepting IPv6 router advertisements should be disabled for network interfaces. (and dependencies are met)</description>
17606 </metadata>
17607 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17608 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17609 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17610 </criteria>
17611 </definition>
17612 <definition class="compliance" id="oval:org.open-scap.f14:def:20136" version="1">
17613 <metadata>
17614 <title>Disable Automatic Configuration</title>
17615 <reference ref_id="CCE-4313-3" source="CCE"/>
17616 <description>Accepting redirects from IPv6 routers should be disabled as appropriate for all network interfaces. (and dependencies are met)</description>
17617 </metadata>
17618 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17619 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17620 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17621 </criteria>
17622 </definition>
17623 <definition class="compliance" id="oval:org.open-scap.f14:def:20137" version="1">
17624 <metadata>
17625 <title>Disable Automatic Configuration</title>
17626 <reference ref_id="CCE-4198-8" source="CCE"/>
17627 <description>The default setting for accepting redirects from IPv6 routers should be disabled for network interfaces. (and dependencies are met)</description>
17628 </metadata>
17629 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17630 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17631 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17632 </criteria>
17633 </definition>
17634 <definition class="compliance" id="oval:org.open-scap.f14:def:20138" version="1">
17635 <metadata>
17636 <title>Use Privacy Extensions for Address if Necessary</title>
17637 <reference ref_id="CCE-3842-2" source="CCE"/>
17638 <description>IPv6 privacy extensions should be configured appropriately for all interfaces. (and dependencies are met)</description>
17639 </metadata>
17640 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17641 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17642 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17643 </criteria>
17644 </definition>
17645 <!-- sysctl -->
17646 <definition class="compliance" id="oval:org.open-scap.f14:def:20139" version="1">
17647 <metadata>
17648 <title>Limit Network-Transmitted Configuration</title>
17649 <reference ref_id="CCE-4159-0" source="CCE"/>
17650 <description>The default number of IPv6 router solicitations for network interfaces to send should be set appropriately. (and dependencies are met)</description>
17651 </metadata>
17652 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17653 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17654 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17655 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17656 <criteria operator="AND">
17657 <criterion test_ref="oval:org.open-scap.f14:tst:201390"/>
17658 <criteria operator="OR">
17659 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201391"/>
17660 <criterion test_ref="oval:org.open-scap.f14:tst:201392"/>
17661 </criteria>
17662 </criteria>
17663 </criteria>
17664 </definition>
17665 <definition class="compliance" id="oval:org.open-scap.f14:def:20140" version="1">
17666 <metadata>
17667 <title>Limit Network-Transmitted Configuration</title>
17668 <reference ref_id="CCE-4221-8" source="CCE"/>
17669 <description>The default setting for accepting router preference via IPv6 router advertisement should be disabled for network interfaces. (and dependencies are met)</description>
17670 </metadata>
17671 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17672 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17673 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17674 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17675 <criteria operator="AND">
17676 <criterion test_ref="oval:org.open-scap.f14:tst:201400"/>
17677 <criteria operator="OR">
17678 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201401"/>
17679 <criterion test_ref="oval:org.open-scap.f14:tst:201402"/>
17680 </criteria>
17681 </criteria>
17682 </criteria>
17683 </definition>
17684 <definition class="compliance" id="oval:org.open-scap.f14:def:20141" version="1">
17685 <metadata>
17686 <title>Limit Network-Transmitted Configuration</title>
17687 <reference ref_id="CCE-4058-4" source="CCE"/>
17688 <description>The default setting for accepting prefix information via IPv6 router advertisement should be enabled or disabled for network interfaces as appropriate. (and dependencies are met)</description>
17689 </metadata>
17690 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17691 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17692 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17693 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17694 <criteria operator="AND">
17695 <criterion test_ref="oval:org.open-scap.f14:tst:201410"/>
17696 <criteria operator="OR">
17697 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201411"/>
17698 <criterion test_ref="oval:org.open-scap.f14:tst:201412"/>
17699 </criteria>
17700 </criteria>
17701 </criteria>
17702 </definition>
17703 <definition class="compliance" id="oval:org.open-scap.f14:def:20142" version="1">
17704 <metadata>
17705 <title>Limit Network-Transmitted Configuration</title>
17706 <reference ref_id="CCE-4128-5" source="CCE"/>
17707 <description>The default setting for accepting a default router via IPv6 router advertisement should be enabled or disabled for network interfaces as appropriate. (and dependencies are met)</description>
17708 </metadata>
17709 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17710 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17711 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17712 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17713 <criteria operator="AND">
17714 <criterion test_ref="oval:org.open-scap.f14:tst:201420"/>
17715 <criteria operator="OR">
17716 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201421"/>
17717 <criterion test_ref="oval:org.open-scap.f14:tst:201422"/>
17718 </criteria>
17719 </criteria>
17720 </criteria>
17721 </definition>
17722 <definition class="compliance" id="oval:org.open-scap.f14:def:20143" version="1">
17723 <metadata>
17724 <title>Limit Network-Transmitted Configuration</title>
17725 <reference ref_id="CCE-4287-9" source="CCE"/>
17726 <description>The default setting for autoconfiguring network interfaces using prefix information in IPv6 router advertisements should be enabled or disabled as appropriate. (and dependencies are met)</description>
17727 </metadata>
17728 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17729 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17730 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17731 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17732 <criteria operator="AND">
17733 <criterion test_ref="oval:org.open-scap.f14:tst:201430"/>
17734 <criteria operator="OR">
17735 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201431"/>
17736 <criterion test_ref="oval:org.open-scap.f14:tst:201432"/>
17737 </criteria>
17738 </criteria>
17739 </criteria>
17740 </definition>
17741 <definition class="compliance" id="oval:org.open-scap.f14:def:20144" version="1">
17742 <metadata>
17743 <title>Limit Network-Transmitted Configuration</title>
17744 <reference ref_id="CCE-3895-0" source="CCE"/>
17745 <description>The default number of IPv6 duplicate address detection solicitations for network interfaces to send per configured address should be set appropriately. (and dependencies are met)</description>
17746 </metadata>
17747 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17748 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17749 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17750 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17751 <criteria operator="AND">
17752 <criterion test_ref="oval:org.open-scap.f14:tst:201440"/>
17753 <criteria operator="OR">
17754 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201441"/>
17755 <criterion test_ref="oval:org.open-scap.f14:tst:201442"/>
17756 </criteria>
17757 </criteria>
17758 </criteria>
17759 </definition>
17760 <definition class="compliance" id="oval:org.open-scap.f14:def:20145" version="1">
17761 <metadata>
17762 <title>Limit Network-Transmitted Configuration</title>
17763 <reference ref_id="CCE-4137-6" source="CCE"/>
17764 <description>The default number of global unicast IPv6 addresses allowed per network interface should be set appropriately. (and dependencies are met)</description>
17765 </metadata>
17766 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17767 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17768 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17769 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17770 <criteria operator="AND">
17771 <criterion test_ref="oval:org.open-scap.f14:tst:201450"/>
17772 <criteria operator="OR">
17773 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201451"/>
17774 <criterion test_ref="oval:org.open-scap.f14:tst:201452"/>
17775 </criteria>
17776 </criteria>
17777 </criteria>
17778 </definition>
17779 <definition class="compliance" id="oval:org.open-scap.f14:def:20146" version="1">
17780 <metadata>
17781 <title>Verify ip6tables is enabled</title>
17782 <reference ref_id="CCE-4167-3" source="CCE"/>
17783 <description>The ip6tables service should be enabled.</description>
17784 </metadata>
17785 <criteria>
17786 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20146"/>
17787 </criteria>
17788 </definition>
17789 <!-- non sysctl -->
17790 <definition class="compliance" id="oval:org.open-scap.f14:def:20147" version="1">
17791 <metadata>
17792 <title>Inspect and Activate Default Rules </title>
17793 <reference ref_id="CCE-4189-7" source="CCE"/>
17794 <description>The iptables service should be enabled.</description>
17795 </metadata>
17796 <criteria>
17797 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20147"/>
17798 </criteria>
17799 </definition>
17800 <definition class="compliance" id="oval:org.open-scap.f14:def:201474" version="1">
17801 <metadata>
17802 <title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</title>
17803 <reference ref_id="TBD" source="CCE"/>
17804 <description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</description>
17805 </metadata>
17806 <criteria>
17807 <criterion comment=":INPUT DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014741"/>
17808 <criterion comment=":INPUT ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014742"/>
17809 </criteria>
17810 </definition>
17811 <definition class="compliance" id="oval:org.open-scap.f14:def:201475" version="1">
17812 <metadata>
17813 <title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</title>
17814 <reference ref_id="TBD" source="CCE"/>
17815 <description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</description>
17816 </metadata>
17817 <criteria>
17818 <criterion comment=":FORWARD DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014751"/>
17819 <criterion comment=":FORWARD ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014752"/>
17820 </criteria>
17821 </definition>
17822 <!--
17823 <definition class="compliance" id="oval:org.open-scap.f14:def:201476" version="1">
17824 <metadata>
17825 <title>Disable Support for DCCP</title>
17826 <reference ref_id="TBD" source="CCE"/>
17827 <description>Support for DCCP should be disabled.</description>
17828 </metadata>
17829 <criteria>
17830 <criterion comment="check for DCCP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201476"/>
17831 </criteria>
17832 </definition>
17833
17834 <definition class="compliance" id="oval:org.open-scap.f14:def:201477" version="1">
17835 <metadata>
17836 <title>Disable Support for SCTP</title>
17837 <reference ref_id="TBD" source="CCE"/>
17838 <description>Support for SCTP should be disabled.</description>
17839 </metadata>
17840 <criteria>
17841 <criterion comment="check for SCTP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201477"/>
17842 </criteria>
17843 </definition>
17844
17845 <definition class="compliance" id="oval:org.open-scap.f14:def:201478" version="1">
17846 <metadata>
17847 <title>Disable Support for RDS</title>
17848 <reference ref_id="TBD" source="CCE"/>
17849 <description>Support for RDS should be disabled.</description>
17850 </metadata>
17851 <criteria>
17852 <criterion comment="check for RDS in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201478"/>
17853 </criteria>
17854 </definition>
17855
17856 <definition class="compliance" id="oval:org.open-scap.f14:def:201479" version="1">
17857 <metadata>
17858 <title>Disable Support for TIPC</title>
17859 <reference ref_id="TBD" source="CCE"/>
17860 <description>Support for TIPC should be disabled.</description>
17861 </metadata>
17862 <criteria>
17863 <criterion comment="check for TIPC in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201479"/>
17864 </criteria>
17865 </definition>
17866 -->
17867 <definition class="compliance" id="oval:org.open-scap.f14:def:20148" version="1">
17868 <metadata>
17869 <title>Configure Syslog</title>
17870 <reference ref_id="CCE-3679-8" source="CCE"/>
17871 <description>The syslog service should be enabled or disabled as appropriate.</description>
17872 </metadata>
17873 <criteria>
17874 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20148"/>
17875 </criteria>
17876 </definition>
17877 <definition class="compliance" id="oval:org.open-scap.f14:def:20149" version="1">
17878 <metadata>
17879 <title>Confirm Existence and Permissions of System Log Files </title>
17880 <reference ref_id="CCE-4366-1" source="CCE"/>
17881 <description>All mandatory log files should be owned by root user.</description>
17882 </metadata>
17883 <criteria operator="AND">
17884 <criterion comment="check if user owns all mandatory log files" test_ref="oval:org.open-scap.f14:tst:20149"/>
17885 <criterion comment="check if user exists" test_ref="oval:org.open-scap.f14:tst:201491"/>
17886 </criteria>
17887 </definition>
17888 <definition class="compliance" id="oval:org.open-scap.f14:def:20150" version="1">
17889 <metadata>
17890 <title>Confirm Existence and Permissions of System Log Files</title>
17891 <reference ref_id="CCE-3701-0" source="CCE"/>
17892 <description>All syslog log files should be owned by the appropriate group.</description>
17893 </metadata>
17894 <criteria operator="AND">
17895 <criterion comment="check if group root owns all syslog log files" test_ref="oval:org.open-scap.f14:tst:20150"/>
17896 <criterion comment="check if group exists" test_ref="oval:org.open-scap.f14:tst:201501"/>
17897 </criteria>
17898 </definition>
17899 <definition class="compliance" id="oval:org.open-scap.f14:def:20151" version="1">
17900 <metadata>
17901 <title>Confirm Existence and Permissions of System Log Files </title>
17902 <reference ref_id="CCE-4233-3" source="CCE"/>
17903 <description>File permissions for all syslog log files should be set correctly.</description>
17904 </metadata>
17905 <criteria>
17906 <criterion comment="check permissions of all syslog log files" test_ref="oval:org.open-scap.f14:tst:20151"/>
17907 </criteria>
17908 </definition>
17909 <definition class="compliance" id="oval:org.open-scap.f14:def:20152" version="1">
17910 <metadata>
17911 <title>Send Logs to a Remote Loghost </title>
17912 <reference ref_id="CCE-4260-6" source="CCE"/>
17913 <description>Syslog logs should be sent to a remote loghost</description>
17914 </metadata>
17915 <criteria>
17916 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20152"/>
17917 </criteria>
17918 </definition>
17919 <definition class="compliance" id="oval:org.open-scap.f14:def:20153" version="1">
17920 <metadata>
17921 <title>Disable syslogd from Accepting Remote Messages on Loghosts Only</title>
17922 <reference ref_id="CCE-3382-9" source="CCE"/>
17923 <description>Syslogd should reject remote messages</description>
17924 </metadata>
17925 <criteria>
17926 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20153"/>
17927 </criteria>
17928 </definition>
17929 <!--
17930 <definition class="compliance" id="oval:org.open-scap.f14:def:20154" version="1">
17931 <metadata>
17932 <title>Ensure All Logs are Rotated by logrotate</title>
17933 <reference ref_id="CCE-4182-2" source="CCE"/>
17934 <description>The logrotate (syslog rotater) service should be enabled.</description>
17935 </metadata>
17936 <criteria>
17937 <criterion comment="Find each file in /etc/syslog.conf in /etc/logrotate.d/syslog" test_ref="oval:org.open-scap.f14:tst:20154"/>
17938 </criteria>
17939 </definition>
17940 -->
17941 <definition class="compliance" id="oval:org.open-scap.f14:def:20155" version="1">
17942 <metadata>
17943 <title>Monitor Suspicious Log Messages using Logwatch</title>
17944 <reference ref_id="CCE-4323-2" source="CCE"/>
17945 <description>The logwatch service should be enabled or disabled as appropriate</description>
17946 </metadata>
17947 <criteria>
17948 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17949 </criteria>
17950 </definition>
17951 <!-- END -->
17952 <definition class="compliance" id="oval:org.open-scap.f14:def:20156" version="1">
17953 <metadata>
17954 <title>Enable the auditd Service</title>
17955 <reference ref_id="CCE-4292-9" source="CCE"/>
17956 <description>The auditd service should be enabled.</description>
17957 </metadata>
17958 <criteria>
17959 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20156"/>
17960 </criteria>
17961 </definition>
17962 <definition class="compliance" id="oval:org.open-scap.f14:def:20157" version="1">
17963 <metadata>
17964 <title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</title>
17965 <reference ref_id="TBD" source="CCE"/>
17966 <description>Look for argument audit=1 in the kernel line in /etc/grub.conf</description>
17967 </metadata>
17968 <criteria>
17969 <criterion comment="check for audit=1 in /etc/grub.conf" test_ref="oval:org.open-scap.f14:tst:20157"/>
17970 </criteria>
17971 </definition>
17972 <definition class="compliance" id="oval:org.open-scap.f14:def:201575" version="1">
17973 <metadata>
17974 <title>Records Events that Modify Date and Time Information</title>
17975 <reference ref_id="TBD" source="CCE"/>
17976 <description>Audit rules about time are enabled</description>
17977 </metadata>
17978 <criteria>
17979 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17980 <criteria comment="32bit arch">
17981 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17982 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S adjtimex -S settimeofday -S stime -k time-change" test_ref="oval:org.open-scap.f14:tst:2015750"/>
17983 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S clock_settime -k time-change" test_ref="oval:org.open-scap.f14:tst:2015751"/>
17984 </criteria>
17985 <criteria comment="62bit arch">
17986 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17987 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S adjtimex -S settimeofday -S stime -k time-change" test_ref="oval:org.open-scap.f14:tst:2015752"/>
17988 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S clock_settime -k time-change" test_ref="oval:org.open-scap.f14:tst:2015753"/>
17989 </criteria>
17990 </criteria>
17991 <criterion comment="/etc/audit/audit.rules contains -w /etc/localtime -p wa -k time-change" test_ref="oval:org.open-scap.f14:tst:2015754"/>
17992 </criteria>
17993 </definition>
17994 <definition class="compliance" id="oval:org.open-scap.f14:def:20158" version="1">
17995 <metadata>
17996 <title>Record Events that Modify User/Group Information</title>
17997 <reference ref_id="TBD" source="CCE"/>
17998 <description>Audit rules about User/Group Information are enabled</description>
17999 </metadata>
18000 <criteria>
18001 <criterion comment="/etc/audit/audit.rules contains -w /etc/group -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201580"/>
18002 <criterion comment="/etc/audit/audit.rules contains -w /etc/passwd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201581"/>
18003 <criterion comment="/etc/audit/audit.rules contains -w /etc/gshadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201582"/>
18004 <criterion comment="/etc/audit/audit.rules contains -w /etc/shadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201583"/>
18005 <criterion comment="/etc/audit/audit.rules contains -w /etc/security/opasswd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201584"/>
18006 </criteria>
18007 </definition>
18008 <definition class="compliance" id="oval:org.open-scap.f14:def:20159" version="1">
18009 <metadata>
18010 <title>Record Events that Modify the System’s Network Environment</title>
18011 <reference ref_id="TBD" source="CCE"/>
18012 <description>Audit rules about the System’s Network Environment are enabled</description>
18013 </metadata>
18014 <criteria>
18015 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18016 <criteria comment="32bit arch">
18017 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18018 <criterion comment="/etc/audit/audit.rules contains -a exit,always -F arch=ARCH -S sethostname -S setdomainname -k system-locale" test_ref="oval:org.open-scap.f14:tst:201590"/>
18019 </criteria>
18020 <criteria comment="62bit arch">
18021 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18022 <criterion comment="/etc/audit/audit.rules contains -a exit,always -F arch=ARCH -S sethostname -S setdomainname -k system-locale" test_ref="oval:org.open-scap.f14:tst:201591"/>
18023 </criteria>
18024 </criteria>
18025 <criterion comment="/etc/audit/audit.rules contains -w /etc/issue -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201592"/>
18026 <criterion comment="/etc/audit/audit.rules contains -w /etc/issue.net -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201593"/>
18027 <criterion comment="/etc/audit/audit.rules contains -w /etc/hosts -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201594"/>
18028 <criterion comment="/etc/audit/audit.rules contains -w /etc/sysconfig/network -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201595"/>
18029 </criteria>
18030 </definition>
18031 <definition class="compliance" id="oval:org.open-scap.f14:def:20160" version="1">
18032 <metadata>
18033 <title>Record Events that Modify the System’s Mandatory Access Controls</title>
18034 <reference ref_id="TBD" source="CCE"/>
18035 <description>Audit rules about the System’s Mandatory Access Controls are enabled</description>
18036 </metadata>
18037 <criteria>
18038 <criterion comment="/etc/audit/audit.rules contains -w /etc/selinux/ -p wa -k MAC-policy" test_ref="oval:org.open-scap.f14:tst:20160"/>
18039 </criteria>
18040 </definition>
18041 <definition class="compliance" id="oval:org.open-scap.f14:def:20161" version="1">
18042 <metadata>
18043 <title>Ensure auditd Collects Logon and Logout Events</title>
18044 <reference ref_id="TBD" source="CCE"/>
18045 <description>Audit rules about the Logon and Logout Events are enabled</description>
18046 </metadata>
18047 <criteria>
18048 <criterion comment="/etc/audit/audit.rules contains -w /var/log/faillog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201610"/>
18049 <criterion comment="/etc/audit/audit.rules contains -w /var/log/lastlog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201611"/>
18050 </criteria>
18051 </definition>
18052 <definition class="compliance" id="oval:org.open-scap.f14:def:20162" version="1">
18053 <metadata>
18054 <title>Ensure auditd Collects Process and Session Initiation Information</title>
18055 <reference ref_id="TBD" source="CCE"/>
18056 <description>Audit rules about the Process and Session Initiation Information are enabled</description>
18057 </metadata>
18058 <criteria>
18059 <criterion comment="/etc/audit/audit.rules contains -w /var/run/utmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201620"/>
18060 <criterion comment="/etc/audit/audit.rules contains -w /var/log/btmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201621"/>
18061 <criterion comment="/etc/audit/audit.rules contains -w /var/log/wtmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201622"/>
18062 </criteria>
18063 </definition>
18064 <definition class="compliance" id="oval:org.open-scap.f14:def:20163" version="1">
18065 <metadata>
18066 <title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</title>
18067 <reference ref_id="TBD" source="CCE"/>
18068 <description>Audit rules about the Discretionary Access Control Permission Modification Events are enabled</description>
18069 </metadata>
18070 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18071 <criteria comment="32bit arch">
18072 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18073 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chmod -S fchmod -S fchmodat -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" test_ref="oval:org.open-scap.f14:tst:201630"/>
18074 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chown -S fchown -S fchownat -S lchown -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" test_ref="oval:org.open-scap.f14:tst:201631"/>
18075 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S setxattr -S lsetxattr -S fsetxattr -S removexattr -S lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" test_ref="oval:org.open-scap.f14:tst:201632"/>
18076 </criteria>
18077 <criteria comment="62bit arch">
18078 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18079 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chmod -S fchmod -S fchmodat -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" test_ref="oval:org.open-scap.f14:tst:201633"/>
18080 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chown -S fchown -S fchownat -S lchown -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" test_ref="oval:org.open-scap.f14:tst:201634"/>
18081 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S setxattr -S lsetxattr -S fsetxattr -S removexattr -S lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" test_ref="oval:org.open-scap.f14:tst:201635"/>
18082 </criteria>
18083 </criteria>
18084 </definition>
18085 <definition class="compliance" id="oval:org.open-scap.f14:def:20164" version="1">
18086 <metadata>
18087 <title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</title>
18088 <reference ref_id="TBD" source="CCE"/>
18089 <description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful) are enabled</description>
18090 </metadata>
18091 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18092 <criteria comment="32bit arch">
18093 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18094 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access" test_ref="oval:org.open-scap.f14:tst:201640"/>
18095 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access" test_ref="oval:org.open-scap.f14:tst:201641"/>
18096 </criteria>
18097 <criteria comment="62bit arch">
18098 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18099 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access" test_ref="oval:org.open-scap.f14:tst:201642"/>
18100 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access" test_ref="oval:org.open-scap.f14:tst:201643"/>
18101 </criteria>
18102 </criteria>
18103 </definition>
18104 <definition class="compliance" id="oval:org.open-scap.f14:def:20165" version="1">
18105 <metadata>
18106 <title>Ensure auditd Collects Information on the Use of Privileged Commands</title>
18107 <reference ref_id="TBD" source="CCE"/>
18108 <description>Audit rules about the Information on the Use of Privileged Commands are enabled</description>
18109 </metadata>
18110 <criteria>
18111 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F path=/bin/ping -F perm=x -F auid&gt;=500 -F auid!=4294967295 -k privileged" test_ref="oval:org.open-scap.f14:tst:20165"/>
18112 </criteria>
18113 </definition>
18114 <definition class="compliance" id="oval:org.open-scap.f14:def:20166" version="1">
18115 <metadata>
18116 <title>Ensure auditd Collects Information on Exporting to Media (successful)</title>
18117 <reference ref_id="TBD" source="CCE"/>
18118 <description>Audit rules about the Information on Exporting to Media (successful) are enabled</description>
18119 </metadata>
18120 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18121 <criteria comment="32bit arch">
18122 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18123 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export" test_ref="oval:org.open-scap.f14:tst:201660"/>
18124 </criteria>
18125 <criteria comment="62bit arch">
18126 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18127 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export" test_ref="oval:org.open-scap.f14:tst:201661"/>
18128 </criteria>
18129 </criteria>
18130 </definition>
18131 <definition class="compliance" id="oval:org.open-scap.f14:def:20167" version="1">
18132 <metadata>
18133 <title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</title>
18134 <reference ref_id="TBD" source="CCE"/>
18135 <description>Audit rules about the Files Deletion Events by User (successful and unsuccessful) are enabled</description>
18136 </metadata>
18137 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18138 <criteria comment="32bit arch">
18139 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18140 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S unlink -S unlinkat -S rename -S renameat -F auid&gt;=500 -F auid!=4294967295 -k delete" test_ref="oval:org.open-scap.f14:tst:201671"/>
18141 </criteria>
18142 <criteria comment="62bit arch">
18143 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18144 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S unlink -S unlinkat -S rename -S renameat -F auid&gt;=500 -F auid!=4294967295 -k delete" test_ref="oval:org.open-scap.f14:tst:201673"/>
18145 </criteria>
18146 </criteria>
18147 </definition>
18148 <definition class="compliance" id="oval:org.open-scap.f14:def:20168" version="1">
18149 <metadata>
18150 <title>Ensure auditd Collects System Administrator Actions</title>
18151 <reference ref_id="TBD" source="CCE"/>
18152 <description>Audit rules about the System Administrator Actions are enabled</description>
18153 </metadata>
18154 <criteria>
18155 <criterion comment="/etc/audit/audit.rules contains -w /etc/sudoers -p wa -k actions" test_ref="oval:org.open-scap.f14:tst:20168"/>
18156 </criteria>
18157 </definition>
18158 <definition class="compliance" id="oval:org.open-scap.f14:def:201685" version="1">
18159 <metadata>
18160 <title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</title>
18161 <reference ref_id="TBD" source="CCE"/>
18162 <description>Audit rules about the Information on Kernel Module Loading and Unloading.</description>
18163 </metadata>
18164 <criteria>
18165 <!-- <criterion comment="/etc/audit/audit.rules contains -w /sbin/insmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016851"/> -->
18166 <criterion comment="/etc/audit/audit.rules contains -w /sbin/rmmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016852"/>
18167 <criterion comment="/etc/audit/audit.rules contains -w /sbin/modprobe -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016853"/>
18168 <criterion comment="/etc/audit/audit.rules contains -a always,exit -S init_module -S delete_module -k modules" test_ref="oval:org.open-scap.f14:tst:2016854"/>
18169 </criteria>
18170 </definition>
18171 <definition class="compliance" id="oval:org.open-scap.f14:def:20169" version="1">
18172 <metadata>
18173 <title>Make the auditd Configuration Immutable</title>
18174 <reference ref_id="TBD" source="CCE"/>
18175 <description>Force a reboot to change audit rules is enabled</description>
18176 </metadata>
18177 <criteria>
18178 <criterion comment="look in /etc/audit/audit.rules for -e 2" test_ref="oval:org.open-scap.f14:tst:20169"/>
18179 </criteria>
18180 </definition>
18181 <definition class="compliance" id="oval:org.open-scap.f14:def:20170" version="1">
18182 <metadata>
18183 <title>Inetd and Xinetd</title>
18184 <reference ref_id="CCE-4234-1" source="CCE"/>
18185 <description>The inetd service should be disabled.</description>
18186 </metadata>
18187 <criteria comment="inetd is not installed or conditions are met" operator="OR">
18188 <extend_definition comment="inetd is not installed" definition_ref="oval:org.open-scap.f14:def:20172"/>
18189 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20170"/>
18190 </criteria>
18191 </definition>
18192 <definition class="compliance" id="oval:org.open-scap.f14:def:20171" version="1">
18193 <metadata>
18194 <title>Inetd and Xinetd</title>
18195 <reference ref_id="CCE-4252-3" source="CCE"/>
18196 <description>The xinetd service should be disabled.</description>
18197 </metadata>
18198 <criteria comment="xinetd is not installed or conditions are met" operator="OR">
18199 <extend_definition comment="xinetd is not installed" definition_ref="oval:org.open-scap.f14:def:20173"/>
18200 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20171"/>
18201 </criteria>
18202 </definition>
18203 <definition class="compliance" id="oval:org.open-scap.f14:def:20172" version="1">
18204 <metadata>
18205 <title>Inetd and Xinetd</title>
18206 <reference ref_id="CCE-4023-8" source="CCE"/>
18207 <description>The inetd package should be uninstalled.</description>
18208 </metadata>
18209 <criteria>
18210 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20172"/>
18211 </criteria>
18212 </definition>
18213 <definition class="compliance" id="oval:org.open-scap.f14:def:20173" version="1">
18214 <metadata>
18215 <title>Inetd and Xinetd</title>
18216 <reference ref_id="CCE-4164-0" source="CCE"/>
18217 <description>The xinetd package should be uninstalled.</description>
18218 </metadata>
18219 <criteria>
18220 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20173"/>
18221 </criteria>
18222 </definition>
18223 <definition class="compliance" id="oval:org.open-scap.f14:def:20174" version="1">
18224 <metadata>
18225 <title>Telnet</title>
18226 <reference ref_id="CCE-4330-7" source="CCE"/>
18227 <description>The telnet-server package should be uninstalled.</description>
18228 </metadata>
18229 <criteria>
18230 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20174"/>
18231 </criteria>
18232 </definition>
18233 <definition class="compliance" id="oval:org.open-scap.f14:def:201745" version="1">
18234 <metadata>
18235 <title>Disable Telnet service</title>
18236 <reference ref_id="CCE-3390-2" source="CCE"/>
18237 <description>The telnet service should be disabled.</description>
18238 </metadata>
18239 <criteria comment="telnet is not installed or conditions are met" operator="OR">
18240 <extend_definition comment="telnet is not installed" definition_ref="oval:org.open-scap.f14:def:20174"/>
18241 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201745"/>
18242 </criteria>
18243 </definition>
18244 <definition class="compliance" id="oval:org.open-scap.f14:def:20175" version="1">
18245 <metadata>
18246 <title>Telnet Client installation</title>
18247 <reference ref_id="TBD" source="CCE"/>
18248 <description>The telnet package should be uninstalled.</description>
18249 </metadata>
18250 <criteria>
18251 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20175"/>
18252 </criteria>
18253 </definition>
18254 <definition class="compliance" id="oval:org.open-scap.f14:def:20176" version="1">
18255 <metadata>
18256 <title>Telnet kerberos client</title>
18257 <reference ref_id="TBD" source="CCE"/>
18258 <description>The krb5-workstation package should be uninstalled.</description>
18259 </metadata>
18260 <criteria>
18261 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20176"/>
18262 </criteria>
18263 </definition>
18264 <definition class="compliance" id="oval:org.open-scap.f14:def:20177" version="1">
18265 <metadata>
18266 <title>Remove the Rsh Server Commands from the System</title>
18267 <reference ref_id="CCE-4308-3" source="CCE"/>
18268 <description>The rsh-server package should be uninstalled.</description>
18269 </metadata>
18270 <criteria>
18271 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20177"/>
18272 </criteria>
18273 </definition>
18274 <definition class="compliance" id="oval:org.open-scap.f14:def:201774" version="1">
18275 <metadata>
18276 <title>disable rcp</title>
18277 <reference ref_id="CCE-3974-3" source="CCE"/>
18278 <description>The rcp service should be disabled.</description>
18279 </metadata>
18280 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
18281 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
18282 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18283 </criteria>
18284 </definition>
18285 <definition class="compliance" id="oval:org.open-scap.f14:def:201775" version="1">
18286 <metadata>
18287 <title>disable rsh</title>
18288 <reference ref_id="CCE-4141-8" source="CCE"/>
18289 <description>The rsh service should be disabled.</description>
18290 </metadata>
18291 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
18292 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
18293 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201775"/>
18294 </criteria>
18295 </definition>
18296 <definition class="compliance" id="oval:org.open-scap.f14:def:201776" version="1">
18297 <metadata>
18298 <title>disable rlogin</title>
18299 <reference ref_id="CCE-3537-8" source="CCE"/>
18300 <description>The rlogin service should be disabled.</description>
18301 </metadata>
18302 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
18303 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
18304 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201776"/>
18305 </criteria>
18306 </definition>
18307 <definition class="compliance" id="oval:org.open-scap.f14:def:20178" version="1">
18308 <metadata>
18309 <title>Remove .rhosts Support from PAM Configuration Files</title>
18310 <reference ref_id="TBD" source="CCE"/>
18311 <description>Check that pam rhosts authentication is not used by any PAM services.</description>
18312 </metadata>
18313 <criteria>
18314 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20178"/>
18315 </criteria>
18316 </definition>
18317 <definition class="compliance" id="oval:org.open-scap.f14:def:20179" version="1">
18318 <metadata>
18319 <title>Remove the Rsh Client Commands from the System</title>
18320 <reference ref_id="TBD" source="CCE"/>
18321 <description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</description>
18322 </metadata>
18323 <criteria>
18324 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20179"/>
18325 </criteria>
18326 </definition>
18327 <definition class="compliance" id="oval:org.open-scap.f14:def:20180" version="1">
18328 <metadata>
18329 <title>NIS</title>
18330 <reference ref_id="CCE-4348-9" source="CCE"/>
18331 <description>The ypserv package should be uninstalled.</description>
18332 </metadata>
18333 <criteria>
18334 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20180"/>
18335 </criteria>
18336 </definition>
18337 <definition class="compliance" id="oval:org.open-scap.f14:def:20181" version="1">
18338 <metadata>
18339 <title>NIS</title>
18340 <reference ref_id="CCE-3705-1" source="CCE"/>
18341 <description>The ypbind service should be disabled.</description>
18342 </metadata>
18343 <criteria comment="ypserv is not installed or conditions are met" operator="OR">
18344 <extend_definition comment="ypserv is not installed" definition_ref="oval:org.open-scap.f14:def:20180"/>
18345 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20181"/>
18346 </criteria>
18347 </definition>
18348 <definition class="compliance" id="oval:org.open-scap.f14:def:20182" version="1">
18349 <metadata>
18350 <title>Uninstall TFTP Server</title>
18351 <reference ref_id="CCE-3916-4" source="CCE"/>
18352 <description>The tftp-server package should be uninstalled.</description>
18353 </metadata>
18354 <criteria>
18355 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20182"/>
18356 </criteria>
18357 </definition>
18358 <definition class="compliance" id="oval:org.open-scap.f14:def:201825" version="1">
18359 <metadata>
18360 <title>Disable TFTP Server</title>
18361 <reference ref_id="CCE-4273-9" source="CCE"/>
18362 <description>The tftp service should be disabled.</description>
18363 </metadata>
18364 <criteria comment="tftp-server is not installed or conditions are met" operator="OR">
18365 <extend_definition comment="tftp-server is not installed" definition_ref="oval:org.open-scap.f14:def:20182"/>
18366 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201825"/>
18367 </criteria>
18368 </definition>
18369 <definition class="compliance" id="oval:org.open-scap.f14:def:20183" version="1">
18370 <metadata>
18371 <title>Installation Helper Service (firstboot)</title>
18372 <reference ref_id="CCE-3412-4" source="CCE"/>
18373 <description>The firstboot service should be disabled.</description>
18374 </metadata>
18375 <criteria>
18376 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20183"/>
18377 </criteria>
18378 </definition>
18379 <definition class="compliance" id="oval:org.open-scap.f14:def:20184" version="1">
18380 <metadata>
18381 <title>Console Mouse Service (gpm)</title>
18382 <reference ref_id="CCE-4229-1" source="CCE"/>
18383 <description>The gpm service should be disabled.</description>
18384 </metadata>
18385 <criteria>
18386 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20184"/>
18387 </criteria>
18388 </definition>
18389 <definition class="compliance" id="oval:org.open-scap.f14:def:20185" version="1">
18390 <metadata>
18391 <title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</title>
18392 <reference ref_id="CCE-4123-6" source="CCE"/>
18393 <description>The irqbalance service should be disabled.</description>
18394 </metadata>
18395 <criteria>
18396 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20185"/>
18397 </criteria>
18398 </definition>
18399 <definition class="compliance" id="oval:org.open-scap.f14:def:20186" version="1">
18400 <metadata>
18401 <title>ISDN Support (isdn)</title>
18402 <reference ref_id="CCE-4286-1" source="CCE"/>
18403 <description>The isdn service should be disabled.</description>
18404 </metadata>
18405 <criteria>
18406 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20186"/>
18407 </criteria>
18408 </definition>
18409 <definition class="compliance" id="oval:org.open-scap.f14:def:20187" version="1">
18410 <metadata>
18411 <title>Kdump Kernel Crash Analyzer (kdump)</title>
18412 <reference ref_id="CCE-3425-6" source="CCE"/>
18413 <description>The kdump service should be disabled.</description>
18414 </metadata>
18415 <criteria>
18416 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20187"/>
18417 </criteria>
18418 </definition>
18419 <definition class="compliance" id="oval:org.open-scap.f14:def:20188" version="1">
18420 <metadata>
18421 <title>Kudzu Hardware Probing Utility (kudzu)</title>
18422 <reference ref_id="CCE-4211-9" source="CCE"/>
18423 <description>The kudzu service should be disabled.</description>
18424 </metadata>
18425 <criteria>
18426 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20188"/>
18427 </criteria>
18428 </definition>
18429 <definition class="compliance" id="oval:org.open-scap.f14:def:20189" version="1">
18430 <metadata>
18431 <title>Software RAID Monitor (mdmonitor)</title>
18432 <reference ref_id="CCE-3854-7" source="CCE"/>
18433 <description>The mdmonitor service should be disabled.</description>
18434 </metadata>
18435 <criteria>
18436 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20189"/>
18437 </criteria>
18438 </definition>
18439 <definition class="compliance" id="oval:org.open-scap.f14:def:20190" version="1">
18440 <metadata>
18441 <title>IA32 Microcode Utility(microcodectl)</title>
18442 <reference ref_id="CCE-4356-2" source="CCE"/>
18443 <description>The microcode_ctl service should be disabled.</description>
18444 </metadata>
18445 <criteria>
18446 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20190"/>
18447 </criteria>
18448 </definition>
18449 <definition class="compliance" id="oval:org.open-scap.f14:def:20191" version="1">
18450 <metadata>
18451 <title>Disable All Networking if Not Needed</title>
18452 <reference ref_id="TBD" source="CCE"/>
18453 <description>The network service should be disabled.</description>
18454 </metadata>
18455 <criteria>
18456 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20191"/>
18457 </criteria>
18458 </definition>
18459 <definition class="compliance" id="oval:org.open-scap.f14:def:20192" version="1">
18460 <metadata>
18461 <title>Disable All External Network Interfaces if Not Needed</title>
18462 <reference ref_id="CCE-4369-5" source="CCE"/>
18463 <description>All files of the form ifcfg-interface except
18464 for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</description>
18465 </metadata>
18466 <criteria>
18467 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20192"/>
18468 </criteria>
18469 </definition>
18470 <definition class="compliance" id="oval:org.open-scap.f14:def:20193" version="1">
18471 <metadata>
18472 <title>Disable Zeroconf Networking</title>
18473 <reference ref_id="CCE-4369-5" source="CCE"/>
18474 <description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</description>
18475 </metadata>
18476 <criteria>
18477 <criterion comment="Look for NOZEROCONF=yes in /etc/sysconfig/network" test_ref="oval:org.open-scap.f14:tst:20193"/>
18478 </criteria>
18479 </definition>
18480 <definition class="compliance" id="oval:org.open-scap.f14:def:20194" version="1">
18481 <metadata>
18482 <title>Smart Card Support (pcscd)</title>
18483 <reference ref_id="CCE-4100-4" source="CCE"/>
18484 <description>The pcscd service should be disabled.</description>
18485 </metadata>
18486 <criteria>
18487 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20194"/>
18488 </criteria>
18489 </definition>
18490 <definition class="compliance" id="oval:org.open-scap.f14:def:20195" version="1">
18491 <metadata>
18492 <title>SMART Disk Monitoring Support (smartd)</title>
18493 <reference ref_id="CCE-3455-3" source="CCE"/>
18494 <description>The smartd service should be disabled.</description>
18495 </metadata>
18496 <criteria>
18497 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20195"/>
18498 </criteria>
18499 </definition>
18500 <definition class="compliance" id="oval:org.open-scap.f14:def:20196" version="1">
18501 <metadata>
18502 <title>Boot Caching (readahead early/readahead later)</title>
18503 <reference ref_id="CCE-4421-4" source="CCE"/>
18504 <description>The readahead_early service should be disabled.</description>
18505 </metadata>
18506 <criteria>
18507 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20196"/>
18508 </criteria>
18509 </definition>
18510 <definition class="compliance" id="oval:org.open-scap.f14:def:20197" version="1">
18511 <metadata>
18512 <title>Boot Caching (readahead early/readahead later)</title>
18513 <reference ref_id="CCE-4302-6" source="CCE"/>
18514 <description>The readahead_later service should be disabled.</description>
18515 </metadata>
18516 <criteria>
18517 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20197"/>
18518 </criteria>
18519 </definition>
18520 <definition class="compliance" id="oval:org.open-scap.f14:def:20198" version="1">
18521 <metadata>
18522 <title>D-Bus IPC Service (messagebus)</title>
18523 <reference ref_id="CCE-3822-4" source="CCE"/>
18524 <description>The messagebus service should be disabled.</description>
18525 </metadata>
18526 <criteria>
18527 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20198"/>
18528 </criteria>
18529 </definition>
18530 <definition class="compliance" id="oval:org.open-scap.f14:def:20199" version="1">
18531 <metadata>
18532 <title>HAL Daemon (haldaemon)</title>
18533 <reference ref_id="CCE-4364-6" source="CCE"/>
18534 <description>The haldaemon service should be disabled.</description>
18535 </metadata>
18536 <criteria>
18537 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20199"/>
18538 </criteria>
18539 </definition>
18540 <definition class="compliance" id="oval:org.open-scap.f14:def:20200" version="1">
18541 <metadata>
18542 <title>Bluetooth Host Controller Interface Daemon (bluetooth)</title>
18543 <reference ref_id="CCE-4355-4" source="CCE"/>
18544 <description>The bluetooth service should be disabled.</description>
18545 </metadata>
18546 <criteria>
18547 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20200"/>
18548 </criteria>
18549 </definition>
18550 <definition class="compliance" id="oval:org.open-scap.f14:def:20201" version="1">
18551 <metadata>
18552 <title>Bluetooth Input Devices (hidd)</title>
18553 <reference ref_id="CCE-4377-8" source="CCE"/>
18554 <description>The hidd service should be disabled.</description>
18555 </metadata>
18556 <criteria>
18557 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20201"/>
18558 </criteria>
18559 </definition>
18560 <definition class="compliance" id="oval:org.open-scap.f14:def:202015" version="1">
18561 <metadata>
18562 <title>Disable Bluetooth Kernel Modules</title>
18563 <reference ref_id="TBD" source="CCE"/>
18564 <description>Prevent loading of the Bluetooth module.</description>
18565 </metadata>
18566 <criteria>
18567 <criterion comment="check that net-pf-31 is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020151"/>
18568 <criterion comment="check that bluetooth is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020152"/>
18569 </criteria>
18570 </definition>
18571 <definition class="compliance" id="oval:org.open-scap.f14:def:20202" version="1">
18572 <metadata>
18573 <title>Advanced Power Management Subsystem (apmd)</title>
18574 <reference ref_id="CCE-4289-5" source="CCE"/>
18575 <description>The apmd service should be disabled.</description>
18576 </metadata>
18577 <criteria>
18578 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20202"/>
18579 </criteria>
18580 </definition>
18581 <definition class="compliance" id="oval:org.open-scap.f14:def:20203" version="1">
18582 <metadata>
18583 <title>Advanced Configuration and Power Interface (acpid)</title>
18584 <reference ref_id="CCE-4298-6" source="CCE"/>
18585 <description>The acpid service should be disabled.</description>
18586 </metadata>
18587 <criteria>
18588 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20203"/>
18589 </criteria>
18590 </definition>
18591 <definition class="compliance" id="oval:org.open-scap.f14:def:20204" version="1">
18592 <metadata>
18593 <title>CPU Throttling (cpuspeed)</title>
18594 <reference ref_id="CCE-4051-9" source="CCE"/>
18595 <description>The cpuspeed service should be disabled.</description>
18596 </metadata>
18597 <criteria>
18598 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20204"/>
18599 </criteria>
18600 </definition>
18601 <definition class="compliance" id="oval:org.open-scap.f14:def:20205" version="1">
18602 <metadata>
18603 <title>Cron Daemon running state</title>
18604 <reference ref_id="CCE-4324-0" source="CCE"/>
18605 <description>The crond service should be enabled.</description>
18606 </metadata>
18607 <criteria>
18608 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20205"/>
18609 </criteria>
18610 </definition>
18611 <definition class="compliance" id="oval:org.open-scap.f14:def:202052" version="1">
18612 <metadata>
18613 <title>At Daemon running state</title>
18614 <reference ref_id="TBD" source="CCE"/>
18615 <description>The atd service should be disabled.</description>
18616 </metadata>
18617 <criteria comment="at is not installed or conditions are met" operator="OR">
18618 <extend_definition comment="at is not installed" definition_ref="oval:org.open-scap.f14:def:202053"/>
18619 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:202052"/>
18620 </criteria>
18621 </definition>
18622 <definition class="compliance" id="oval:org.open-scap.f14:def:202053" version="1">
18623 <metadata>
18624 <title>At Daemons package is installed</title>
18625 <reference ref_id="TBD" source="CCE"/>
18626 <description>The at package should be removed.</description>
18627 </metadata>
18628 <criteria>
18629 <criterion comment="Check for package at" test_ref="oval:org.open-scap.f14:tst:202053"/>
18630 </criteria>
18631 </definition>
18632 <definition class="compliance" id="oval:org.open-scap.f14:def:20206" version="1">
18633 <metadata>
18634 <title>Disable anacron if Possible</title>
18635 <reference ref_id="CCE-4406-5" source="CCE"/>
18636 <description>The anacron service should be disabled.</description>
18637 </metadata>
18638 <criteria>
18639 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20206"/>
18640 </criteria>
18641 </definition>
18642 <definition class="compliance" id="oval:org.open-scap.f14:def:20207" version="1">
18643 <metadata>
18644 <title>Disable anacron if Possible</title>
18645 <reference ref_id="CCE-4428-9" source="CCE"/>
18646 <description>The anacron package should be uninstalled.</description>
18647 </metadata>
18648 <criteria>
18649 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20207"/>
18650 </criteria>
18651 </definition>
18652 <definition class="compliance" id="oval:org.open-scap.f14:def:20208" version="1">
18653 <metadata>
18654 <title>Restrict Permissions on Files Used by cron</title>
18655 <reference ref_id="CCE-3626-9" source="CCE"/>
18656 <description>The /etc/crontab file should be owned by the appropriate group.</description>
18657 </metadata>
18658 <criteria>
18659 <criterion test_ref="oval:org.open-scap.f14:tst:20208"/>
18660 </criteria>
18661 </definition>
18662 <definition class="compliance" id="oval:org.open-scap.f14:def:20209" version="1">
18663 <metadata>
18664 <title>Restrict Permissions on Files Used by cron</title>
18665 <reference ref_id="CCE-3851-3" source="CCE"/>
18666 <description>The /etc/crontab file should be owned by the appropriate user.</description>
18667 </metadata>
18668 <criteria>
18669 <criterion test_ref="oval:org.open-scap.f14:tst:20209"/>
18670 </criteria>
18671 </definition>
18672 <definition class="compliance" id="oval:org.open-scap.f14:def:20210" version="1">
18673 <metadata>
18674 <title>Restrict Permissions on Files Used by cron</title>
18675 <reference ref_id="CCE-4388-5" source="CCE"/>
18676 <description>File permissions for /etc/crontab should be set correctly.</description>
18677 </metadata>
18678 <criteria>
18679 <criterion test_ref="oval:org.open-scap.f14:tst:20210"/>
18680 </criteria>
18681 </definition>
18682 <definition class="compliance" id="oval:org.open-scap.f14:def:20211" version="1">
18683 <metadata>
18684 <title>Restrict Permissions on Files Used by cron</title>
18685 <reference ref_id="CCE-3604-6" source="CCE"/>
18686 <description>The /etc/anacrontab file should be owned by the appropriate group.</description>
18687 </metadata>
18688 <criteria>
18689 <criterion test_ref="oval:org.open-scap.f14:tst:20211"/>
18690 </criteria>
18691 </definition>
18692 <definition class="compliance" id="oval:org.open-scap.f14:def:20212" version="1">
18693 <metadata>
18694 <title>Restrict Permissions on Files Used by cron</title>
18695 <reference ref_id="CCE-4379-4" source="CCE"/>
18696 <description>The /etc/anacrontab file should be owned by the appropriate user.</description>
18697 </metadata>
18698 <criteria>
18699 <criterion test_ref="oval:org.open-scap.f14:tst:20212"/>
18700 </criteria>
18701 </definition>
18702 <definition class="compliance" id="oval:org.open-scap.f14:def:20213" version="1">
18703 <metadata>
18704 <title>Restrict Permissions on Files Used by cron</title>
18705 <reference ref_id="CCE-4304-2" source="CCE"/>
18706 <description>File permissions for /etc/anacrontab should be set correctly.</description>
18707 </metadata>
18708 <criteria>
18709 <criterion test_ref="oval:org.open-scap.f14:tst:20213"/>
18710 </criteria>
18711 </definition>
18712 <definition class="compliance" id="oval:org.open-scap.f14:def:20214" version="1">
18713 <metadata>
18714 <title>Restrict Permissions on Files Used by cron</title>
18715 <reference ref_id="CCE-4054-3" source="CCE"/>
18716 <description>The /etc/cron.hourly file should be owned by the appropriate group.</description>
18717 </metadata>
18718 <criteria>
18719 <criterion test_ref="oval:org.open-scap.f14:tst:20214"/>
18720 </criteria>
18721 </definition>
18722 <definition class="compliance" id="oval:org.open-scap.f14:def:20215" version="1">
18723 <metadata>
18724 <title>Restrict Permissions on Files Used by cron</title>
18725 <reference ref_id="CCE-3481-9" source="CCE"/>
18726 <description>The /etc/cron.daily file should be owned by the appropriate group.</description>
18727 </metadata>
18728 <criteria>
18729 <criterion test_ref="oval:org.open-scap.f14:tst:20215"/>
18730 </criteria>
18731 </definition>
18732 <definition class="compliance" id="oval:org.open-scap.f14:def:20216" version="1">
18733 <metadata>
18734 <title>Restrict Permissions on Files Used by cron</title>
18735 <reference ref_id="CCE-4331-5" source="CCE"/>
18736 <description>The /etc/cron.weekly file should be owned by the appropriate group.</description>
18737 </metadata>
18738 <criteria>
18739 <criterion test_ref="oval:org.open-scap.f14:tst:20216"/>
18740 </criteria>
18741 </definition>
18742 <definition class="compliance" id="oval:org.open-scap.f14:def:20217" version="1">
18743 <metadata>
18744 <title>Restrict Permissions on Files Used by cron</title>
18745 <reference ref_id="CCE-4322-4" source="CCE"/>
18746 <description>The /etc/cron.monthly file should be owned by the appropriate group.</description>
18747 </metadata>
18748 <criteria>
18749 <criterion test_ref="oval:org.open-scap.f14:tst:20217"/>
18750 </criteria>
18751 </definition>
18752 <definition class="compliance" id="oval:org.open-scap.f14:def:20218" version="1">
18753 <metadata>
18754 <title>Restrict Permissions on Files Used by cron</title>
18755 <reference ref_id="CCE-4212-7" source="CCE"/>
18756 <description>The /etc/cron.d file should be owned by the appropriate group.</description>
18757 </metadata>
18758 <criteria>
18759 <criterion test_ref="oval:org.open-scap.f14:tst:20218"/>
18760 </criteria>
18761 </definition>
18762 <definition class="compliance" id="oval:org.open-scap.f14:def:20219" version="1">
18763 <metadata>
18764 <title>Restrict Permissions on Files Used by cron</title>
18765 <reference ref_id="CCE-3983-4" source="CCE"/>
18766 <description>The /etc/cron.hourly file should be owned by the appropriate user.</description>
18767 </metadata>
18768 <criteria>
18769 <criterion test_ref="oval:org.open-scap.f14:tst:20219"/>
18770 </criteria>
18771 </definition>
18772 <definition class="compliance" id="oval:org.open-scap.f14:def:20220" version="1">
18773 <metadata>
18774 <title>Restrict Permissions on Files Used by cron</title>
18775 <reference ref_id="CCE-4022-0" source="CCE"/>
18776 <description>The /etc/cron.daily file should be owned by the appropriate user.</description>
18777 </metadata>
18778 <criteria>
18779 <criterion test_ref="oval:org.open-scap.f14:tst:20220"/>
18780 </criteria>
18781 </definition>
18782 <definition class="compliance" id="oval:org.open-scap.f14:def:20221" version="1">
18783 <metadata>
18784 <title>Restrict Permissions on Files Used by cron</title>
18785 <reference ref_id="CCE-3833-1" source="CCE"/>
18786 <description>The /etc/cron.weekly file should be owned by the appropriate user.</description>
18787 </metadata>
18788 <criteria>
18789 <criterion test_ref="oval:org.open-scap.f14:tst:20221"/>
18790 </criteria>
18791 </definition>
18792 <definition class="compliance" id="oval:org.open-scap.f14:def:20222" version="1">
18793 <metadata>
18794 <title>Restrict Permissions on Files Used by cron</title>
18795 <reference ref_id="CCE-4441-2" source="CCE"/>
18796 <description>The /etc/cron.monthly file should be owned by the appropriate user.</description>
18797 </metadata>
18798 <criteria>
18799 <criterion test_ref="oval:org.open-scap.f14:tst:20222"/>
18800 </criteria>
18801 </definition>
18802 <definition class="compliance" id="oval:org.open-scap.f14:def:20223" version="1">
18803 <metadata>
18804 <title>Restrict Permissions on Files Used by cron</title>
18805 <reference ref_id="CCE-4380-2" source="CCE"/>
18806 <description>The /etc/cron.d file should be owned by the appropriate user.</description>
18807 </metadata>
18808 <criteria>
18809 <criterion test_ref="oval:org.open-scap.f14:tst:20223"/>
18810 </criteria>
18811 </definition>
18812 <definition class="compliance" id="oval:org.open-scap.f14:def:20224" version="1">
18813 <metadata>
18814 <title>Restrict Permissions on Files Used by cron</title>
18815 <reference ref_id="CCE-4106-1" source="CCE"/>
18816 <description>File permissions for /etc/cron.hourly should be set correctly.</description>
18817 </metadata>
18818 <criteria>
18819 <criterion test_ref="oval:org.open-scap.f14:tst:20224"/>
18820 </criteria>
18821 </definition>
18822 <definition class="compliance" id="oval:org.open-scap.f14:def:20225" version="1">
18823 <metadata>
18824 <title>Restrict Permissions on Files Used by cron</title>
18825 <reference ref_id="CCE-4450-3" source="CCE"/>
18826 <description>File permissions for /etc/cron.daily should be set correctly.</description>
18827 </metadata>
18828 <criteria>
18829 <criterion test_ref="oval:org.open-scap.f14:tst:20225"/>
18830 </criteria>
18831 </definition>
18832 <definition class="compliance" id="oval:org.open-scap.f14:def:20226" version="1">
18833 <metadata>
18834 <title>Restrict Permissions on Files Used by cron</title>
18835 <reference ref_id="CCE-4203-6" source="CCE"/>
18836 <description>File permissions for /etc/cron.weekly should be set correctly.</description>
18837 </metadata>
18838 <criteria>
18839 <criterion test_ref="oval:org.open-scap.f14:tst:20226"/>
18840 </criteria>
18841 </definition>
18842 <definition class="compliance" id="oval:org.open-scap.f14:def:20227" version="1">
18843 <metadata>
18844 <title>Restrict Permissions on Files Used by cron</title>
18845 <reference ref_id="CCE-4251-5" source="CCE"/>
18846 <description>File permissions for /etc/cron.monthly should be set correctly.</description>
18847 </metadata>
18848 <criteria>
18849 <criterion test_ref="oval:org.open-scap.f14:tst:20227"/>
18850 </criteria>
18851 </definition>
18852 <definition class="compliance" id="oval:org.open-scap.f14:def:20228" version="1">
18853 <metadata>
18854 <title>Restrict Permissions on Files Used by cron</title>
18855 <reference ref_id="CCE-4250-7" source="CCE"/>
18856 <description>File permissions for /etc/cron.d should be set correctly.</description>
18857 </metadata>
18858 <criteria>
18859 <criterion test_ref="oval:org.open-scap.f14:tst:20228"/>
18860 </criteria>
18861 </definition>
18862 <definition class="compliance" id="oval:org.open-scap.f14:def:20229" version="1">
18863 <metadata>
18864 <title>Restrict group owner on /var/spool/cron file</title>
18865 <reference ref_id="TBD" source="CCE"/>
18866 <description>The /var/spool/cron file should be owned by the appropriate group.</description>
18867 </metadata>
18868 <criteria>
18869 <criterion test_ref="oval:org.open-scap.f14:tst:20229"/>
18870 </criteria>
18871 </definition>
18872 <definition class="compliance" id="oval:org.open-scap.f14:def:20230" version="1">
18873 <metadata>
18874 <title>Restrict user owner on /var/spool/cron file</title>
18875 <reference ref_id="TBD" source="CCE"/>
18876 <description>The /var/spool/cron file should be owned by the appropriate user.</description>
18877 </metadata>
18878 <criteria>
18879 <criterion test_ref="oval:org.open-scap.f14:tst:20230"/>
18880 </criteria>
18881 </definition>
18882 <definition class="compliance" id="oval:org.open-scap.f14:def:20231" version="1">
18883 <metadata>
18884 <title>Restrict Permissions on /var/spool/cron file</title>
18885 <reference ref_id="TBD" source="CCE"/>
18886 <description>File permissions for /var/spool/cron should be set correctly.</description>
18887 </metadata>
18888 <criteria>
18889 <criterion test_ref="oval:org.open-scap.f14:tst:20231"/>
18890 </criteria>
18891 </definition>
18892 <definition class="compliance" id="oval:org.open-scap.f14:def:20232" version="1">
18893 <metadata>
18894 <title>Remove /etc/cron.deny</title>
18895 <reference ref_id="TBD" source="CCE"/>
18896 <description>/etc/cron.deny file should not exist.</description>
18897 </metadata>
18898 <criteria>
18899 <criterion comment="Check existence of file /etc/cron.deny" test_ref="oval:org.open-scap.f14:tst:20232"/>
18900 </criteria>
18901 </definition>
18902 <definition class="compliance" id="oval:org.open-scap.f14:def:20233" version="1">
18903 <metadata>
18904 <title>Remove /etc/at.deny</title>
18905 <reference ref_id="TBD" source="CCE"/>
18906 <description>/etc/at.deny file should not exist.</description>
18907 </metadata>
18908 <criteria>
18909 <criterion comment="Check existence of file /etc/at.deny" test_ref="oval:org.open-scap.f14:tst:20233"/>
18910 </criteria>
18911 </definition>
18912 <definition class="compliance" id="oval:org.open-scap.f14:def:20234" version="1">
18913 <metadata>
18914 <title>Disable OpenSSH Software</title>
18915 <reference ref_id="CCE-4268-9" source="CCE"/>
18916 <description>The sshd service should be disabled.</description>
18917 </metadata>
18918 <criteria comment="SSH is not installed or conditions are met" operator="OR">
18919 <extend_definition comment="ssh is not installed" definition_ref="oval:org.open-scap.f14:def:20235"/>
18920 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20234"/>
18921 </criteria>
18922 </definition>
18923 <definition class="compliance" id="oval:org.open-scap.f14:def:20235" version="1">
18924 <metadata>
18925 <title>Remove OpenSSH Software</title>
18926 <reference ref_id="CCE-4272-1" source="CCE"/>
18927 <description>SSH should be uninstalled</description>
18928 </metadata>
18929 <criteria>
18930 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20235"/>
18931 </criteria>
18932 </definition>
18933 <definition class="compliance" id="oval:org.open-scap.f14:def:20236" version="1">
18934 <metadata>
18935 <title>Remove SSH Server iptables Firewall Exception</title>
18936 <reference ref_id="CCE-4295-2" source="CCE"/>
18937 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18938 </metadata>
18939 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18940 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18941 <criterion comment="Remove IPv4 inbound connections" test_ref="oval:org.open-scap.f14:tst:20236"/>
18942 </criteria>
18943 </definition>
18944 <definition class="compliance" id="oval:org.open-scap.f14:def:20237" version="1">
18945 <metadata>
18946 <title>Remove SSH Server ip6tables Firewall Exception</title>
18947 <reference ref_id="TBD" source="CCE"/>
18948 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18949 </metadata>
18950 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18951 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18952 <criterion comment="Remove IPv6 inbound connections" test_ref="oval:org.open-scap.f14:tst:20237"/>
18953 </criteria>
18954 </definition>
18955 <definition class="compliance" id="oval:org.open-scap.f14:def:20238" version="1">
18956 <metadata>
18957 <title>Ensure Only Protocol 2 Connections Allowed</title>
18958 <reference ref_id="CCE-4325-7" source="CCE"/>
18959 <description>SSH version 1 protocol support should be disabled. (and dependencies are met)</description>
18960 </metadata>
18961 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18962 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18963 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20238"/>
18964 </criteria>
18965 </definition>
18966 <definition class="compliance" id="oval:org.open-scap.f14:def:20239" version="1">
18967 <metadata>
18968 <title>Set Idle Timeout Interval for User Logins</title>
18969 <reference ref_id="CCE-3845-5" source="CCE"/>
18970 <description>The SSH idle timout interval should be set to an appropriate value (and dependencies are met)</description>
18971 </metadata>
18972 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18973 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18974 <criterion comment="check ClientAliveInterval in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20239"/>
18975 </criteria>
18976 </definition>
18977 <definition class="compliance" id="oval:org.open-scap.f14:def:20240" version="1">
18978 <metadata>
18979 <title>Set ClientAliveCountMax for User Logins</title>
18980 <reference ref_id="TBD" source="CCE"/>
18981 <description>The SSH ClientAliveCountMax should be set to an appropriate value (and dependencies are met)</description>
18982 </metadata>
18983 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18984 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18985 <criterion comment="check ClientAliveCountMax in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20240"/>
18986 </criteria>
18987 </definition>
18988 <definition class="compliance" id="oval:org.open-scap.f14:def:20241" version="1">
18989 <metadata>
18990 <title>Disable .rhosts Files</title>
18991 <reference ref_id="CCE-4475-0" source="CCE"/>
18992 <description>Emulation of the rsh command through the ssh server should be disabled (and dependencies are met)</description>
18993 </metadata>
18994 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18995 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18996 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20241"/>
18997 </criteria>
18998 </definition>
18999 <definition class="compliance" id="oval:org.open-scap.f14:def:20242" version="1">
19000 <metadata>
19001 <title>Disable Host-Based Authentication</title>
19002 <reference ref_id="CCE-4370-3" source="CCE"/>
19003 <description>SSH host-based authentication should be disabled (and dependencies are met)</description>
19004 </metadata>
19005 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19006 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19007 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20242"/>
19008 </criteria>
19009 </definition>
19010 <definition class="compliance" id="oval:org.open-scap.f14:def:20243" version="1">
19011 <metadata>
19012 <title>Disable root Login via SSH</title>
19013 <reference ref_id="CCE-4387-7" source="CCE"/>
19014 <description>Root login via SSH should be disabled (and dependencies are met)</description>
19015 </metadata>
19016 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19017 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19018 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20243"/>
19019 </criteria>
19020 </definition>
19021 <definition class="compliance" id="oval:org.open-scap.f14:def:20244" version="1">
19022 <metadata>
19023 <title>Disable Empty Passwords</title>
19024 <reference ref_id="CCE-3660-8" source="CCE"/>
19025 <description>Remote connections from accounts with empty passwords should be disabled (and dependencies are met)</description>
19026 </metadata>
19027 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19028 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19029 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20244"/>
19030 </criteria>
19031 </definition>
19032 <definition class="compliance" id="oval:org.open-scap.f14:def:20245" version="1">
19033 <metadata>
19034 <title>Enable a Warning Banner</title>
19035 <reference ref_id="CCE-4431-3" source="CCE"/>
19036 <description>SSH warning banner should be enabled (and dependencies are met)</description>
19037 </metadata>
19038 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19039 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19040 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20245"/>
19041 </criteria>
19042 </definition>
19043 <definition class="compliance" id="oval:org.open-scap.f14:def:202455" version="1">
19044 <metadata>
19045 <title>Do Not Allow Users to Set Environment Options</title>
19046 <reference ref_id="CCE-4422-2" source="CCE"/>
19047 <description>PermitUserEnvironment should be disabled</description>
19048 </metadata>
19049 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19050 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19051 <criterion comment="Check value of PermitUserEnvironment in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202455"/>
19052 </criteria>
19053 </definition>
19054 <definition class="compliance" id="oval:org.open-scap.f14:def:202456" version="1">
19055 <metadata>
19056 <title>Use Only Approved Ciphers</title>
19057 <reference ref_id="CCE-4422-2" source="CCE"/>
19058 <description>Use only approved ciphers</description>
19059 </metadata>
19060 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19061 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19062 <criterion comment="Check value of Ciphers in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202456"/>
19063 </criteria>
19064 </definition>
19065 <definition class="compliance" id="oval:org.open-scap.f14:def:20246" version="1">
19066 <metadata>
19067 <title>Disable X Windows at System Boot</title>
19068 <reference ref_id="CCE-4462-8" source="CCE"/>
19069 <description>X Windows should be disabled at system boot</description>
19070 </metadata>
19071 <criteria>
19072 <criterion test_ref="oval:org.open-scap.f14:tst:20246"/>
19073 </criteria>
19074 </definition>
19075 <definition class="compliance" id="oval:org.open-scap.f14:def:20247" version="1">
19076 <metadata>
19077 <title>Remove X Windows from the System if Possible</title>
19078 <reference ref_id="CCE-4422-2" source="CCE"/>
19079 <description>X Windows should be removed</description>
19080 </metadata>
19081 <criteria>
19082 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19083 </criteria>
19084 </definition>
19085 <definition class="compliance" id="oval:org.open-scap.f14:def:20248" version="1">
19086 <metadata>
19087 <title>Disable X Window System Listening</title>
19088 <reference ref_id="CCE-4074-1" source="CCE"/>
19089 <description>Disable the ability to provide remote graphical display</description>
19090 </metadata>
19091 <criteria>
19092 <criterion comment="Check for existence of line exec X :0 -nolisten tcp $@ in file /etc/X11/xinit/xserverrc" test_ref="oval:org.open-scap.f14:tst:20248"/>
19093 </criteria>
19094 </definition>
19095 <definition class="compliance" id="oval:org.open-scap.f14:def:20249" version="1">
19096 <metadata>
19097 <title>Create Warning Banners for GUI Login Users</title>
19098 <reference ref_id="CCE-3717-6" source="CCE"/>
19099 <description>Enable warning banner for GUI login</description>
19100 </metadata>
19101 <criteria>
19102 <criterion comment="check the value of InfoMsgFile=/etc/issue in /etc/gdm/custom.conf" test_ref="oval:org.open-scap.f14:tst:20249"/>
19103 </criteria>
19104 </definition>
19105 <definition class="compliance" id="oval:org.open-scap.f14:def:20250" version="1">
19106 <metadata>
19107 <title>Disable Avahi Server Software</title>
19108 <reference ref_id="CCE-4365-3" source="CCE"/>
19109 <description>The avahi-daemon service should be disabled.</description>
19110 </metadata>
19111 <criteria>
19112 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20250"/>
19113 </criteria>
19114 </definition>
19115 <definition class="compliance" id="oval:org.open-scap.f14:def:20251" version="1">
19116 <metadata>
19117 <title>Serve Only via Required Protocol</title>
19118 <reference ref_id="CCE-4136-8" source="CCE"/>
19119 <description>The Avahi daemon should be configured not to serve via Ipv6 (and dependencies are met)</description>
19120 </metadata>
19121 <criteria comment="avahi is diabled or do not use ipv6" operator="OR">
19122 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19123 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20251"/>
19124 </criteria>
19125 </definition>
19126 <definition class="compliance" id="oval:org.open-scap.f14:def:20252" version="1">
19127 <metadata>
19128 <title>Serve Only via Required Protocol</title>
19129 <reference ref_id="CCE-4409-9" source="CCE"/>
19130 <description>The Avahi daemon should be configured not to serve via Ipv4 (and dependencies are met)</description>
19131 </metadata>
19132 <criteria comment="avahi is diabled or do not use ipv4" operator="OR">
19133 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19134 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20252"/>
19135 </criteria>
19136 </definition>
19137 <definition class="compliance" id="oval:org.open-scap.f14:def:20253" version="1">
19138 <metadata>
19139 <title>Check Responses' TTL Field</title>
19140 <reference ref_id="CCE-4426-3" source="CCE"/>
19141 <description>Avahi should be configured to reject packets with a TTL field not equal to 255 (and dependencies are met)</description>
19142 </metadata>
19143 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19144 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19145 <criterion test_ref="oval:org.open-scap.f14:tst:20253"/>
19146 </criteria>
19147 </definition>
19148 <definition class="compliance" id="oval:org.open-scap.f14:def:20254" version="1">
19149 <metadata>
19150 <title>Prevent Other Programs from Using Avahi's Port</title>
19151 <reference ref_id="CCE-4193-9" source="CCE"/>
19152 <description>Avahi should be configured to not allow other stacks from binding to port 5353 (and dependencies are met)</description>
19153 </metadata>
19154 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19155 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19156 <criterion test_ref="oval:org.open-scap.f14:tst:20254"/>
19157 </criteria>
19158 </definition>
19159 <definition class="compliance" id="oval:org.open-scap.f14:def:20255" version="1">
19160 <metadata>
19161 <title>Disable Publishing if Possible</title>
19162 <reference ref_id="CCE-4444-6" source="CCE"/>
19163 <description>Avahi publishing of local information should be disabled (and dependencies are met)</description>
19164 </metadata>
19165 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19166 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19167 <criterion test_ref="oval:org.open-scap.f14:tst:20255"/>
19168 </criteria>
19169 </definition>
19170 <definition class="compliance" id="oval:org.open-scap.f14:def:20256" version="1">
19171 <metadata>
19172 <title>Restrict Published Information</title>
19173 <reference ref_id="CCE-4352-1" source="CCE"/>
19174 <description>Avahi publishing of local information by user applications should be disabled (and dependencies are met)</description>
19175 </metadata>
19176 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19177 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19178 <criterion test_ref="oval:org.open-scap.f14:tst:20256"/>
19179 </criteria>
19180 </definition>
19181 <definition class="compliance" id="oval:org.open-scap.f14:def:20257" version="1">
19182 <metadata>
19183 <title>Restrict Published Information</title>
19184 <reference ref_id="CCE-4433-9" source="CCE"/>
19185 <description>Avahi publishing of hardware information should be disabled (and dependencies are met)</description>
19186 </metadata>
19187 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19188 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19189 <criterion test_ref="oval:org.open-scap.f14:tst:20257"/>
19190 </criteria>
19191 </definition>
19192 <definition class="compliance" id="oval:org.open-scap.f14:def:20258" version="1">
19193 <metadata>
19194 <title>Restrict Published Information</title>
19195 <reference ref_id="CCE-4451-1" source="CCE"/>
19196 <description>Avahi publishing of workstation name should be disabled (and dependencies are met)</description>
19197 </metadata>
19198 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19199 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19200 <criterion test_ref="oval:org.open-scap.f14:tst:20258"/>
19201 </criteria>
19202 </definition>
19203 <definition class="compliance" id="oval:org.open-scap.f14:def:20259" version="1">
19204 <metadata>
19205 <title>Restrict Published Information</title>
19206 <reference ref_id="CCE-4341-4" source="CCE"/>
19207 <description>Avahi publishing of IP addresses should be disabled (and dependencies are met)</description>
19208 </metadata>
19209 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19210 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19211 <criterion test_ref="oval:org.open-scap.f14:tst:20259"/>
19212 </criteria>
19213 </definition>
19214 <definition class="compliance" id="oval:org.open-scap.f14:def:20260" version="1">
19215 <metadata>
19216 <title>Restrict Published Information</title>
19217 <reference ref_id="CCE-4358-8" source="CCE"/>
19218 <description>Avahi publishing of domain name should be disabled (and dependencies are met)</description>
19219 </metadata>
19220 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19221 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19222 <criterion test_ref="oval:org.open-scap.f14:tst:20260"/>
19223 </criteria>
19224 </definition>
19225 <definition class="compliance" id="oval:org.open-scap.f14:def:20261" version="1">
19226 <metadata>
19227 <title>Disable the CUPS Service if Possible</title>
19228 <reference ref_id="CCE-4112-9" source="CCE"/>
19229 <description>The cups service should be disabled.</description>
19230 </metadata>
19231 <criteria>
19232 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20261"/>
19233 </criteria>
19234 </definition>
19235 <definition class="compliance" id="oval:org.open-scap.f14:def:20262" version="1">
19236 <metadata>
19237 <title>Disable Firewall Access to Printing Service over IPv4 if Possible</title>
19238 <reference ref_id="CCE-3649-1" source="CCE"/>
19239 <description>Firewall access to printing service should be disabled</description>
19240 </metadata>
19241 <criteria>
19242 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19243 </criteria>
19244 </definition>
19245 <definition class="compliance" id="oval:org.open-scap.f14:def:20263" version="1">
19246 <metadata>
19247 <title>Disable Firewall Access to Printing Service over IPv6 if Possible</title>
19248 <reference ref_id="TBD" source="CCE"/>
19249 <description>Firewall access to printing service should be disabled</description>
19250 </metadata>
19251 <criteria>
19252 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19253 </criteria>
19254 </definition>
19255 <definition class="compliance" id="oval:org.open-scap.f14:def:20264" version="1">
19256 <metadata>
19257 <title>Disable Printer Browsing Entirely if Possible</title>
19258 <reference ref_id="CCE-4420-6" source="CCE"/>
19259 <description>Remote print browsing should be disabled (and dependencies are met)</description>
19260 </metadata>
19261 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
19262 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
19263 <criterion test_ref="oval:org.open-scap.f14:tst:20264"/>
19264 </criteria>
19265 </definition>
19266 <definition class="compliance" id="oval:org.open-scap.f14:def:20265" version="1">
19267 <metadata>
19268 <title>Disable Printer Browsing Entirely if Possible</title>
19269 <reference ref_id="CCE-4407-3" source="CCE"/>
19270 <description>CUPS should be allowed or denied the ability to listen for Incoming printer information as appropriate (and dependencies are met)</description>
19271 </metadata>
19272 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
19273 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
19274 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20265"/>
19275 </criteria>
19276 </definition>
19277 <definition class="compliance" id="oval:org.open-scap.f14:def:20266" version="1">
19278 <metadata>
19279 <title>Disable HPLIP Service if Possible</title>
19280 <reference ref_id="CCE-4425-5" source="CCE"/>
19281 <description>The hplip service should be disabled.</description>
19282 </metadata>
19283 <criteria>
19284 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20266"/>
19285 </criteria>
19286 </definition>
19287 <definition class="compliance" id="oval:org.open-scap.f14:def:20267" version="1">
19288 <metadata>
19289 <title>Disable DHCP Client if Possible</title>
19290 <reference ref_id="CCE-4191-3" source="CCE"/>
19291 <description>The dhcp client service should be disabled for each interface.</description>
19292 </metadata>
19293 <criteria>
19294 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20267"/>
19295 </criteria>
19296 </definition>
19297 <definition class="compliance" id="oval:org.open-scap.f14:def:20268" version="1">
19298 <metadata>
19299 <title>Disable DHCP Server if possible</title>
19300 <reference ref_id="CCE-4336-4" source="CCE"/>
19301 <description>The dhcpd service should be enabled or disabled as appropriate.</description>
19302 </metadata>
19303 <criteria comment="dhcp is not installed or conditions are met" operator="OR">
19304 <extend_definition comment="dhcp is not installed" definition_ref="oval:org.open-scap.f14:def:20269"/>
19305 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20268"/>
19306 </criteria>
19307 </definition>
19308 <definition class="compliance" id="oval:org.open-scap.f14:def:20269" version="1">
19309 <metadata>
19310 <title>Disable DHCP Server if possible</title>
19311 <reference ref_id="CCE-4464-4" source="CCE"/>
19312 <description>The dhcp package should be uninstalled.</description>
19313 </metadata>
19314 <criteria>
19315 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20269"/>
19316 </criteria>
19317 </definition>
19318 <definition class="compliance" id="oval:org.open-scap.f14:def:20270" version="1">
19319 <metadata>
19320 <title>Do Not Use Dynamic DNS</title>
19321 <reference ref_id="CCE-4257-2" source="CCE"/>
19322 <description>The dynamic DNS feature of the DHCP server should be disabled (and dependencies are met)</description>
19323 </metadata>
19324 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19325 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19326 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20270"/>
19327 </criteria>
19328 </definition>
19329 <definition class="compliance" id="oval:org.open-scap.f14:def:20271" version="1">
19330 <metadata>
19331 <title>Deny Decline Messages</title>
19332 <reference ref_id="CCE-4403-2" source="CCE"/>
19333 <description>DHCPDECLINE messages should be denied by the DHCP server (and dependencies are met)</description>
19334 </metadata>
19335 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19336 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19337 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20271"/>
19338 </criteria>
19339 </definition>
19340 <definition class="compliance" id="oval:org.open-scap.f14:def:20272" version="1">
19341 <metadata>
19342 <title>Deny BOOTP Queries</title>
19343 <reference ref_id="CCE-4345-5" source="CCE"/>
19344 <description>BOOTP queries should be accepted or denied by the DHCP server as appropriate (and dependencies are met)</description>
19345 </metadata>
19346 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19347 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19348 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20272"/>
19349 </criteria>
19350 </definition>
19351 <definition class="compliance" id="oval:org.open-scap.f14:def:20273" version="1">
19352 <metadata>
19353 <title>Minimize Served Information</title>
19354 <reference ref_id="CCE-3724-2" source="CCE"/>
19355 <description>Domain name server information should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19356 </metadata>
19357 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19358 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19359 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19360 </criteria>
19361 </definition>
19362 <definition class="compliance" id="oval:org.open-scap.f14:def:20274" version="1">
19363 <metadata>
19364 <title>Minimize Served Information</title>
19365 <reference ref_id="CCE-4243-2" source="CCE"/>
19366 <description>Default routers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19367 </metadata>
19368 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19369 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19370 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19371 </criteria>
19372 </definition>
19373 <definition class="compliance" id="oval:org.open-scap.f14:def:20275" version="1">
19374 <metadata>
19375 <title>Minimize Served Information</title>
19376 <reference ref_id="CCE-4389-3" source="CCE"/>
19377 <description>Domain name should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19378 </metadata>
19379 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19380 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19381 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19382 </criteria>
19383 </definition>
19384 <definition class="compliance" id="oval:org.open-scap.f14:def:20276" version="1">
19385 <metadata>
19386 <title>Minimize Served Information</title>
19387 <reference ref_id="CCE-3913-1" source="CCE"/>
19388 <description>NIS domain should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19389 </metadata>
19390 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19391 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19392 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19393 </criteria>
19394 </definition>
19395 <definition class="compliance" id="oval:org.open-scap.f14:def:20277" version="1">
19396 <metadata>
19397 <title>Minimize Served Information</title>
19398 <reference ref_id="CCE-4169-9" source="CCE"/>
19399 <description>NIS servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19400 </metadata>
19401 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19402 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19403 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19404 </criteria>
19405 </definition>
19406 <definition class="compliance" id="oval:org.open-scap.f14:def:20278" version="1">
19407 <metadata>
19408 <title>Minimize Served Information</title>
19409 <reference ref_id="CCE-4318-2" source="CCE"/>
19410 <description>Time offset should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19411 </metadata>
19412 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19413 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19414 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19415 </criteria>
19416 </definition>
19417 <definition class="compliance" id="oval:org.open-scap.f14:def:20279" version="1">
19418 <metadata>
19419 <title>Minimize Served Information</title>
19420 <reference ref_id="CCE-4319-0" source="CCE"/>
19421 <description>NTP servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19422 </metadata>
19423 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19424 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19425 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19426 </criteria>
19427 </definition>
19428 <definition class="compliance" id="oval:org.open-scap.f14:def:20280" version="1">
19429 <metadata>
19430 <title>Configure DHCP Logging</title>
19431 <reference ref_id="CCE-3733-3" source="CCE"/>
19432 <description>dhcpd logging should be enabled. (and dependencies are met)</description>
19433 </metadata>
19434 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19435 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19436 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20280"/>
19437 </criteria>
19438 </definition>
19439 <definition class="compliance" id="oval:org.open-scap.f14:def:20281" version="1">
19440 <metadata>
19441 <title>Enable the NTP Daemon</title>
19442 <reference ref_id="CCE-4376-0" source="CCE"/>
19443 <description>The ntpd service should be enabled.</description>
19444 </metadata>
19445 <criteria>
19446 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20281"/>
19447 </criteria>
19448 </definition>
19449 <definition class="compliance" id="oval:org.open-scap.f14:def:20282" version="1">
19450 <metadata>
19451 <title>Deny All Access to ntpd by Default</title>
19452 <reference ref_id="CCE-4134-3" source="CCE"/>
19453 <description>Network access to ntpd should be denied (and dependencies are met)</description>
19454 </metadata>
19455 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
19456 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
19457 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20282"/>
19458 </criteria>
19459 </definition>
19460 <definition class="compliance" id="oval:org.open-scap.f14:def:20283" version="1">
19461 <metadata>
19462 <title>Specify a Remote NTP Server for Time Data</title>
19463 <reference ref_id="CCE-4385-1" source="CCE"/>
19464 <description>A remote NTP Server for time synchronization should be specified (and dependencies are met)</description>
19465 </metadata>
19466 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
19467 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
19468 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19469 </criteria>
19470 </definition>
19471 <definition class="compliance" id="oval:org.open-scap.f14:def:20284" version="1">
19472 <metadata>
19473 <title>Obtain NTP Software</title>
19474 <reference ref_id="CCE-4032-9" source="CCE"/>
19475 <description>OpenNTPD should be installed</description>
19476 </metadata>
19477 <criteria>
19478 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19479 </criteria>
19480 </definition>
19481 <definition class="compliance" id="oval:org.open-scap.f14:def:20285" version="1">
19482 <metadata>
19483 <title>Enable the NTP Daemon</title>
19484 <reference ref_id="CCE-4424-8" source="CCE"/>
19485 <description>The ntp daemon should be enabled (and dependencies are met)</description>
19486 </metadata>
19487 <criteria comment="OpenNTPD is installed and conditions are met" operator="AND">
19488 <extend_definition comment="OpenNTPD is installed" definition_ref="oval:org.open-scap.f14:def:20284"/>
19489 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281" negate="true"/>
19490 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20285"/>
19491 </criteria>
19492 </definition>
19493 <definition class="compliance" id="oval:org.open-scap.f14:def:20286" version="1">
19494 <metadata>
19495 <title>Configure the Client NTP Daemon to Use the Local Server</title>
19496 <reference ref_id="CCE-3487-6" source="CCE"/>
19497 <description>The ntp daemon synchronization server should be set appropriately (and dependencies are met)</description>
19498 </metadata>
19499 <criteria comment="OpenNTPD is installed and conditions are met" operator="AND">
19500 <extend_definition comment="OpenNTPD is installed" definition_ref="oval:org.open-scap.f14:def:20284"/>
19501 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19502 </criteria>
19503 </definition>
19504 <definition class="compliance" id="oval:org.open-scap.f14:def:20287" version="1">
19505 <metadata>
19506 <title>Mail Transfer Agent</title>
19507 <reference ref_id="CCE-4416-4" source="CCE"/>
19508 <description>The sendmail service should be disabled.</description>
19509 </metadata>
19510 <criteria>
19511 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20287"/>
19512 </criteria>
19513 </definition>
19514 <definition class="compliance" id="oval:org.open-scap.f14:def:20288" version="1">
19515 <metadata>
19516 <title>Disable the Listening Sendmail Daemon</title>
19517 <reference ref_id="CCE-4293-7" source="CCE"/>
19518 <description>The listening sendmail daemon should be disabled. (and dependencies are met)</description>
19519 </metadata>
19520 <criteria comment="sendmail is not enabled or conditions are met" operator="OR">
19521 <extend_definition comment="sendmail is not enabled" definition_ref="oval:org.open-scap.f14:def:20287"/>
19522 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20288"/>
19523 </criteria>
19524 </definition>
19525 <definition class="compliance" id="oval:org.open-scap.f14:def:202885" version="1">
19526 <metadata>
19527 <title>Configure LDAP to Use TLS for All Transactions</title>
19528 <reference ref_id="TBD" source="CCE"/>
19529 <description>Clients require LDAP servers to provide valid certificates for SSL communications.</description>
19530 </metadata>
19531 <criteria>
19532 <criterion comment="look for tls_checkpeer yess in /etc/ldap.conf" test_ref="oval:org.open-scap.f14:tst:202885"/>
19533 </criteria>
19534 </definition>
19535 <definition class="compliance" id="oval:org.open-scap.f14:def:20289" version="1">
19536 <metadata>
19537 <title>Install OpenLDAP Server RPM</title>
19538 <reference ref_id="CCE-3501-4" source="CCE"/>
19539 <description>The ldap service should be disabled.</description>
19540 </metadata>
19541 <criteria>
19542 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20289"/>
19543 </criteria>
19544 </definition>
19545 <definition class="compliance" id="oval:org.open-scap.f14:def:20290" version="1">
19546 <metadata>
19547 <title>Correct Permissions on LDAP Server Files</title>
19548 <reference ref_id="CCE-4484-2" source="CCE"/>
19549 <description>The /var/lib/ldap/* files should be owned by the appropriate group.</description>
19550 </metadata>
19551 <criteria>
19552 <criterion test_ref="oval:org.open-scap.f14:tst:20290"/>
19553 </criteria>
19554 </definition>
19555 <definition class="compliance" id="oval:org.open-scap.f14:def:20291" version="1">
19556 <metadata>
19557 <title>Correct Permissions on LDAP Server Files</title>
19558 <reference ref_id="CCE-4502-1" source="CCE"/>
19559 <description>The /var/lib/ldap/* files should be owned by the appropriate user.</description>
19560 </metadata>
19561 <criteria>
19562 <criterion test_ref="oval:org.open-scap.f14:tst:20291"/>
19563 </criteria>
19564 </definition>
19565 <definition class="compliance" id="oval:org.open-scap.f14:def:20292" version="1">
19566 <metadata>
19567 <title>Disable Services Used Only by NFS</title>
19568 <reference ref_id="CCE-4396-8" source="CCE"/>
19569 <description>The nfslock service should be disabled.</description>
19570 </metadata>
19571 <criteria>
19572 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20292"/>
19573 </criteria>
19574 </definition>
19575 <definition class="compliance" id="oval:org.open-scap.f14:def:20293" version="1">
19576 <metadata>
19577 <title>Disable Services Used Only by NFS</title>
19578 <reference ref_id="CCE-3535-2" source="CCE"/>
19579 <description>The rpcgssd service should be disabled.</description>
19580 </metadata>
19581 <criteria>
19582 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20293"/>
19583 </criteria>
19584 </definition>
19585 <definition class="compliance" id="oval:org.open-scap.f14:def:20294" version="1">
19586 <metadata>
19587 <title>Disable Services Used Only by NFS</title>
19588 <reference ref_id="CCE-3568-3" source="CCE"/>
19589 <description>The rpcidmapd service should be disabled.</description>
19590 </metadata>
19591 <criteria>
19592 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20294"/>
19593 </criteria>
19594 </definition>
19595 <definition class="compliance" id="oval:org.open-scap.f14:def:20295" version="1">
19596 <metadata>
19597 <title>Disable netfs if Possible</title>
19598 <reference ref_id="CCE-4533-6" source="CCE"/>
19599 <description>The netfs service should be disabled.</description>
19600 </metadata>
19601 <criteria>
19602 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20295"/>
19603 </criteria>
19604 </definition>
19605 <definition class="compliance" id="oval:org.open-scap.f14:def:20296" version="1">
19606 <metadata>
19607 <title>Disable RPC Portmapper if Possible</title>
19608 <reference ref_id="CCE-4550-0" source="CCE"/>
19609 <description>The portmap service should be disabled.</description>
19610 </metadata>
19611 <criteria>
19612 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20296"/>
19613 </criteria>
19614 </definition>
19615 <definition class="compliance" id="oval:org.open-scap.f14:def:20297" version="1">
19616 <metadata>
19617 <title>Configure NFS Services to Use Fixed Ports</title>
19618 <reference ref_id="CCE-4559-1" source="CCE"/>
19619 <description>The lockd service should be configured to use a static port for TCP</description>
19620 </metadata>
19621 <criteria>
19622 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20297"/>
19623 </criteria>
19624 </definition>
19625 <definition class="compliance" id="oval:org.open-scap.f14:def:20298" version="1">
19626 <metadata>
19627 <title>Configure NFS Services to Use Fixed Ports</title>
19628 <reference ref_id="CCE-4015-4" source="CCE"/>
19629 <description>The statd service should be configured to use an outgoing static port</description>
19630 </metadata>
19631 <criteria>
19632 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20298"/>
19633 </criteria>
19634 </definition>
19635 <definition class="compliance" id="oval:org.open-scap.f14:def:20299" version="1">
19636 <metadata>
19637 <title>Configure NFS Services to Use Fixed Ports</title>
19638 <reference ref_id="CCE-3667-3" source="CCE"/>
19639 <description>The statd service should be configured to use a static port</description>
19640 </metadata>
19641 <criteria>
19642 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20299"/>
19643 </criteria>
19644 </definition>
19645 <definition class="compliance" id="oval:org.open-scap.f14:def:20300" version="1">
19646 <metadata>
19647 <title>Configure NFS Services to Use Fixed Ports</title>
19648 <reference ref_id="CCE-4310-9" source="CCE"/>
19649 <description>The lockd service should be configured to use a static port for UDP</description>
19650 </metadata>
19651 <criteria>
19652 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20300"/>
19653 </criteria>
19654 </definition>
19655 <definition class="compliance" id="oval:org.open-scap.f14:def:20301" version="1">
19656 <metadata>
19657 <title>Configure NFS Services to Use Fixed Ports</title>
19658 <reference ref_id="CCE-4438-8" source="CCE"/>
19659 <description>The mountd service should be configured to use a static port</description>
19660 </metadata>
19661 <criteria>
19662 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20301"/>
19663 </criteria>
19664 </definition>
19665 <definition class="compliance" id="oval:org.open-scap.f14:def:20302" version="1">
19666 <metadata>
19667 <title>Configure NFS Services to Use Fixed Ports</title>
19668 <reference ref_id="CCE-3579-0" source="CCE"/>
19669 <description>The rquotad service should be configured to use a static port</description>
19670 </metadata>
19671 <criteria>
19672 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20302"/>
19673 </criteria>
19674 </definition>
19675 <definition class="compliance" id="oval:org.open-scap.f14:def:20303" version="1">
19676 <metadata>
19677 <title>Disable NFS Server Daemons</title>
19678 <reference ref_id="CCE-4473-5" source="CCE"/>
19679 <description>The nfs service should be disabled</description>
19680 </metadata>
19681 <criteria>
19682 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20303"/>
19683 </criteria>
19684 </definition>
19685 <definition class="compliance" id="oval:org.open-scap.f14:def:20304" version="1">
19686 <metadata>
19687 <title>Disable NFS Server Daemons</title>
19688 <reference ref_id="CCE-4491-7" source="CCE"/>
19689 <description>The rpcsvcgssd service should be disabled</description>
19690 </metadata>
19691 <criteria>
19692 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20304"/>
19693 </criteria>
19694 </definition>
19695 <!-- <definition class="compliance" id="oval:org.open-scap.f14:def:20305" version="1">
19696 <metadata>
19697 <title>Mount Remote Filesystems with nodev</title>
19698 <reference ref_id="CCE-4368-7" source="CCE"/>
19699 <description>The nodev option should be enabled for all NFS mounts</description>
19700 </metadata>
19701 <criteria>
19702 <criterion comment="if type is nfs[4] in /etc/fstab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203051"/>
19703 <criterion comment="if type is nfs[4] in /etc/mtab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203052"/>
19704 </criteria>
19705 </definition> -->
19706 <definition class="compliance" id="oval:org.open-scap.f14:def:20306" version="1">
19707 <metadata>
19708 <title>Mount Remote Filesystems with nosuid</title>
19709 <reference ref_id="CCE-4024-6" source="CCE"/>
19710 <description>The nosuid option should be enabled for all NFS mounts</description>
19711 </metadata>
19712 <criteria>
19713 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19714 </criteria>
19715 </definition>
19716 <definition class="compliance" id="oval:org.open-scap.f14:def:20307" version="1">
19717 <metadata>
19718 <title>Mount Remote Filesystems with noexec</title>
19719 <reference ref_id="CCE-4526-0" source="CCE"/>
19720 <description>The noexec option should be enabled for all NFS mounts</description>
19721 </metadata>
19722 <criteria>
19723 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19724 </criteria>
19725 </definition>
19726 <definition class="compliance" id="oval:org.open-scap.f14:def:20308" version="1">
19727 <metadata>
19728 <title>Use Root-Squashing on All Exports</title>
19729 <reference ref_id="CCE-4544-3" source="CCE"/>
19730 <description>Root squashing should be enabled for all NFS shares</description>
19731 </metadata>
19732 <criteria comment="nfs is not running or conditions are met" operator="OR">
19733 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19734 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20308"/>
19735 </criteria>
19736 </definition>
19737 <definition class="compliance" id="oval:org.open-scap.f14:def:20309" version="1">
19738 <metadata>
19739 <title>Restrict NFS Clients to Privileged Ports</title>
19740 <reference ref_id="CCE-4465-1" source="CCE"/>
19741 <description>Restriction of NFS clients to privileged ports should be enabled</description>
19742 </metadata>
19743 <criteria comment="nfs is not running or conditions are met" operator="OR">
19744 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19745 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20309"/>
19746 </criteria>
19747 </definition>
19748 <definition class="compliance" id="oval:org.open-scap.f14:def:20310" version="1">
19749 <metadata>
19750 <title>Export Filesystems Read-Only if Possible</title>
19751 <reference ref_id="CCE-4350-5" source="CCE"/>
19752 <description>Write access to NFS shares should be disabled</description>
19753 </metadata>
19754 <criteria>
19755 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20310"/>
19756 </criteria>
19757 </definition>
19758 <definition class="compliance" id="oval:org.open-scap.f14:def:20311" version="1">
19759 <metadata>
19760 <title>Disable DNS Server if Possible</title>
19761 <reference ref_id="CCE-3578-2" source="CCE"/>
19762 <description>The named service should be disabled.</description>
19763 </metadata>
19764 <criteria comment="bind is not installed or conditions are met" operator="OR">
19765 <extend_definition comment="bind is not installed" definition_ref="oval:org.open-scap.f14:def:20312"/>
19766 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20311"/>
19767 </criteria>
19768 </definition>
19769 <definition class="compliance" id="oval:org.open-scap.f14:def:20312" version="1">
19770 <metadata>
19771 <title>Disable DNS Server if Possible</title>
19772 <reference ref_id="CCE-4219-2" source="CCE"/>
19773 <description>The bind package should be uninstalled.</description>
19774 </metadata>
19775 <criteria>
19776 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20312"/>
19777 </criteria>
19778 </definition>
19779 <definition class="compliance" id="oval:org.open-scap.f14:def:20313" version="1">
19780 <metadata>
19781 <title>Run DNS Software in a chroot Jail</title>
19782 <reference ref_id="CCE-3985-9" source="CCE"/>
19783 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group. (and dependencies are met)</description>
19784 </metadata>
19785 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19786 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19787 <criterion test_ref="oval:org.open-scap.f14:tst:20313"/>
19788 </criteria>
19789 </definition>
19790 <definition class="compliance" id="oval:org.open-scap.f14:def:20314" version="1">
19791 <metadata>
19792 <title>Run DNS Software in a chroot Jail</title>
19793 <reference ref_id="CCE-4258-0" source="CCE"/>
19794 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user. (and dependencies are met)</description>
19795 </metadata>
19796 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19797 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19798 <criterion test_ref="oval:org.open-scap.f14:tst:20314"/>
19799 </criteria>
19800 </definition>
19801 <definition class="compliance" id="oval:org.open-scap.f14:def:20315" version="1">
19802 <metadata>
19803 <title>Run DNS Software in a chroot Jail</title>
19804 <reference ref_id="CCE-4487-5" source="CCE"/>
19805 <description>File permissions for /var/named/chroot/etc/named.conf should be set correctly. (and dependencies are met)</description>
19806 </metadata>
19807 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19808 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19809 <criterion test_ref="oval:org.open-scap.f14:tst:20315"/>
19810 </criteria>
19811 </definition>
19812 <definition class="compliance" id="oval:org.open-scap.f14:def:20316" version="1">
19813 <metadata>
19814 <title>Disable Dynamic Updates if Possible</title>
19815 <reference ref_id="CCE-4399-2" source="CCE"/>
19816 <description>LDAP's dynamic updates feature should be disabled as appropriate (and dependencies are met)</description>
19817 </metadata>
19818 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19819 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19820 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19821 </criteria>
19822 </definition>
19823 <definition class="compliance" id="oval:org.open-scap.f14:def:20317" version="1">
19824 <metadata>
19825 <title>Disable vsftpd if Possible</title>
19826 <reference ref_id="CCE-3919-8" source="CCE"/>
19827 <description>The vsftpd service should be disabled.</description>
19828 </metadata>
19829 <criteria comment="vsftpd is not installed or conditions are met" operator="OR">
19830 <extend_definition comment="vsftpd is not installed" definition_ref="oval:org.open-scap.f14:def:203175"/>
19831 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20317"/>
19832 </criteria>
19833 </definition>
19834 <definition class="compliance" id="oval:org.open-scap.f14:def:203175" version="1">
19835 <metadata>
19836 <title>Uninstall vsftpd if Possible</title>
19837 <reference ref_id="CCE-3919-8" source="CCE"/>
19838 <description>The vsftpd service should be uninstalled.</description>
19839 </metadata>
19840 <criteria>
19841 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203175"/>
19842 </criteria>
19843 </definition>
19844 <definition class="compliance" id="oval:org.open-scap.f14:def:20318" version="1">
19845 <metadata>
19846 <title>Enable Logging of All FTP Transactions</title>
19847 <reference ref_id="CCE-4549-2" source="CCE"/>
19848 <description>Logging of vsftpd transactions should be enabled (and dependencies are met)</description>
19849 </metadata>
19850 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19851 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19852 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19853 </criteria>
19854 </definition>
19855 <definition class="compliance" id="oval:org.open-scap.f14:def:20319" version="1">
19856 <metadata>
19857 <title>Create Warning Banners for All FTP Users</title>
19858 <reference ref_id="CCE-4554-2" source="CCE"/>
19859 <description>A warning banner for all FTP users should be enabled (and dependencies are met)</description>
19860 </metadata>
19861 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19862 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19863 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20319"/>
19864 </criteria>
19865 </definition>
19866 <definition class="compliance" id="oval:org.open-scap.f14:def:20320" version="1">
19867 <metadata>
19868 <title>Restrict Access to Anonymous Users if Possible</title>
19869 <reference ref_id="CCE-4443-8" source="CCE"/>
19870 <description>Local user login to the vsftpd service should be disabled (and dependencies are met)</description>
19871 </metadata>
19872 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19873 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19874 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19875 </criteria>
19876 </definition>
19877 <definition class="compliance" id="oval:org.open-scap.f14:def:20321" version="1">
19878 <metadata>
19879 <title>Disable FTP Uploads if Possible</title>
19880 <reference ref_id="CCE-4461-0" source="CCE"/>
19881 <description>File uploads via vsftpd should be disabled (and dependencies are met)</description>
19882 </metadata>
19883 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19884 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19885 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19886 </criteria>
19887 </definition>
19888 <definition class="compliance" id="oval:org.open-scap.f14:def:20322" version="1">
19889 <metadata>
19890 <title>Disable Apache if Possible</title>
19891 <reference ref_id="CCE-4338-0" source="CCE"/>
19892 <description>The httpd service should be disabled.</description>
19893 </metadata>
19894 <criteria comment="httpd is not installed or conditions are met" operator="OR">
19895 <extend_definition comment="httpd is not installed" definition_ref="oval:org.open-scap.f14:def:20323"/>
19896 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20322"/>
19897 </criteria>
19898 </definition>
19899 <definition class="compliance" id="oval:org.open-scap.f14:def:20323" version="1">
19900 <metadata>
19901 <title>Uninstall Apache if Possible</title>
19902 <reference ref_id="CCE-4514-6" source="CCE"/>
19903 <description>The httpd package should be uninstalled.</description>
19904 </metadata>
19905 <criteria>
19906 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20323"/>
19907 </criteria>
19908 </definition>
19909 <definition class="compliance" id="oval:org.open-scap.f14:def:20324" version="1">
19910 <metadata>
19911 <title>Restrict Information Leakage</title>
19912 <reference ref_id="CCE-4474-3" source="CCE"/>
19913 <description>The apache2 server's ServerTokens value should be set appropriately (and dependencies are met)</description>
19914 </metadata>
19915 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19916 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19917 <criterion test_ref="oval:org.open-scap.f14:tst:20324"/>
19918 </criteria>
19919 </definition>
19920 <definition class="compliance" id="oval:org.open-scap.f14:def:20325" version="1">
19921 <metadata>
19922 <title>Restrict Information Leakage</title>
19923 <reference ref_id="CCE-3756-4" source="CCE"/>
19924 <description>The apache2 server's ServerSignature value should be set appropriately (and dependencies are met)</description>
19925 </metadata>
19926 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19927 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19928 <criterion test_ref="oval:org.open-scap.f14:tst:20325"/>
19929 </criteria>
19930 </definition>
19931 <definition class="compliance" id="oval:org.open-scap.f14:def:20326" version="1">
19932 <metadata>
19933 <title>Restrict File and Directory Access</title>
19934 <reference ref_id="CCE-4509-6" source="CCE"/>
19935 <description>File permissions for /etc/httpd/conf should be set correctly. (and dependencies are met)</description>
19936 </metadata>
19937 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19938 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19939 <criterion test_ref="oval:org.open-scap.f14:tst:20326"/>
19940 </criteria>
19941 </definition>
19942 <definition class="compliance" id="oval:org.open-scap.f14:def:20327" version="1">
19943 <metadata>
19944 <title>Restrict File and Directory Access</title>
19945 <reference ref_id="CCE-4386-9" source="CCE"/>
19946 <description>File permissions for /etc/httpd/conf/* should be set correctly. (and dependencies are met)</description>
19947 </metadata>
19948 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19949 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19950 <criterion test_ref="oval:org.open-scap.f14:tst:20327"/>
19951 </criteria>
19952 </definition>
19953 <definition class="compliance" id="oval:org.open-scap.f14:def:20328" version="1">
19954 <metadata>
19955 <title>Restrict File and Directory Access</title>
19956 <reference ref_id="CCE-4029-5" source="CCE"/>
19957 <description>File permissions for /usr/sbin/httpd should be set correctly. (and dependencies are met)</description>
19958 </metadata>
19959 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19960 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19961 <criterion test_ref="oval:org.open-scap.f14:tst:20328"/>
19962 </criteria>
19963 </definition>
19964 <definition class="compliance" id="oval:org.open-scap.f14:def:20329" version="1">
19965 <metadata>
19966 <title>Restrict File and Directory Access</title>
19967 <reference ref_id="CCE-3581-6" source="CCE"/>
19968 <description>The /etc/httpd/conf/* files should be owned by the appropriate group.</description>
19969 </metadata>
19970 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19971 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19972 <criterion test_ref="oval:org.open-scap.f14:tst:20329"/>
19973 </criteria>
19974 </definition>
19975 <definition class="compliance" id="oval:org.open-scap.f14:def:20330" version="1">
19976 <metadata>
19977 <title>Restrict File and Directory Access</title>
19978 <reference ref_id="CCE-4574-0" source="CCE"/>
19979 <description>File permissions for /var/log/httpd should be set correctly. (and dependencies are met)</description>
19980 </metadata>
19981 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19982 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19983 <criterion test_ref="oval:org.open-scap.f14:tst:20330"/>
19984 </criteria>
19985 </definition>
19986 <definition class="compliance" id="oval:org.open-scap.f14:def:20331" version="1">
19987 <metadata>
19988 <title>Disable Dovecot if Possible</title>
19989 <reference ref_id="CCE-3847-1" source="CCE"/>
19990 <description>The dovecot service should be disabled.</description>
19991 </metadata>
19992 <criteria comment="dovecot is not installed or conditions are met" operator="OR">
19993 <extend_definition comment="dovecot is not installed" definition_ref="oval:org.open-scap.f14:def:20332"/>
19994 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20331"/>
19995 </criteria>
19996 </definition>
19997 <definition class="compliance" id="oval:org.open-scap.f14:def:20332" version="1">
19998 <metadata>
19999 <title>Disable Dovecot if Possible</title>
20000 <reference ref_id="CCE-4239-0" source="CCE"/>
20001 <description>The dovecot package should be uninstalled.</description>
20002 </metadata>
20003 <criteria>
20004 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20332"/>
20005 </criteria>
20006 </definition>
20007 <definition class="compliance" id="oval:org.open-scap.f14:def:20333" version="1">
20008 <metadata>
20009 <title>Support Only the Necessary Protocols</title>
20010 <reference ref_id="CCE-4384-4" source="CCE"/>
20011 <description>Dovecot should be configured to not support the imaps protocol (and dependencies are met)</description>
20012 </metadata>
20013 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20014 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20015 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20333"/>
20016 </criteria>
20017 </definition>
20018 <definition class="compliance" id="oval:org.open-scap.f14:def:20334" version="1">
20019 <metadata>
20020 <title>Support Only the Necessary Protocols</title>
20021 <reference ref_id="CCE-3887-7" source="CCE"/>
20022 <description>Dovecot should be configured to not support the pop3s protocol (and dependencies are met)</description>
20023 </metadata>
20024 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20025 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20026 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20334"/>
20027 </criteria>
20028 </definition>
20029 <definition class="compliance" id="oval:org.open-scap.f14:def:20335" version="1">
20030 <metadata>
20031 <title>Support Only the Necessary Protocols</title>
20032 <reference ref_id="CCE-4530-2" source="CCE"/>
20033 <description>Dovecot should be configured to not support the pop3 (and dependencies are met)</description>
20034 </metadata>
20035 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20036 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20037 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20335"/>
20038 </criteria>
20039 </definition>
20040 <definition class="compliance" id="oval:org.open-scap.f14:def:20336" version="1">
20041 <metadata>
20042 <title>Support Only the Necessary Protocols</title>
20043 <reference ref_id="CCE-4547-6" source="CCE"/>
20044 <description>Dovecot should be configured to not support the imap protocol (and dependencies are met)</description>
20045 </metadata>
20046 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20047 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20048 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20336"/>
20049 </criteria>
20050 </definition>
20051 <definition class="compliance" id="oval:org.open-scap.f14:def:20337" version="1">
20052 <metadata>
20053 <title>Disable Plaintext Authentication</title>
20054 <reference ref_id="CCE-4552-6" source="CCE"/>
20055 <description>Dovecot plaintext authentication of clients should be disabled as necessary (and dependencies are met)</description>
20056 </metadata>
20057 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20058 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20059 <criterion test_ref="oval:org.open-scap.f14:tst:20337"/>
20060 </criteria>
20061 </definition>
20062 <definition class="compliance" id="oval:org.open-scap.f14:def:20338" version="1">
20063 <metadata>
20064 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
20065 <reference ref_id="CCE-4371-1" source="CCE"/>
20066 <description>The Dovecot option to drop privileges to user before executing mail process should be enabled (and dependencies are met)</description>
20067 </metadata>
20068 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20069 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20070 <criterion test_ref="oval:org.open-scap.f14:tst:20338"/>
20071 </criteria>
20072 </definition>
20073 <definition class="compliance" id="oval:org.open-scap.f14:def:20339" version="1">
20074 <metadata>
20075 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
20076 <reference ref_id="CCE-4410-7" source="CCE"/>
20077 <description>The Dovecot option to spawn a new login process per connection should be enabled (and dependencies are met)</description>
20078 </metadata>
20079 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20080 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20081 <criterion test_ref="oval:org.open-scap.f14:tst:20339"/>
20082 </criteria>
20083 </definition>
20084 <definition class="compliance" id="oval:org.open-scap.f14:def:20340" version="1">
20085 <metadata>
20086 <title>Disable Samba if Possible</title>
20087 <reference ref_id="CCE-4551-8" source="CCE"/>
20088 <description>The smb service should be disabled.</description>
20089 </metadata>
20090 <criteria>
20091 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20340"/>
20092 </criteria>
20093 </definition>
20094 <definition class="compliance" id="oval:org.open-scap.f14:def:203403" version="1">
20095 <metadata>
20096 <title>Disable Guest Access and Local Login Support</title>
20097 <reference ref_id="CCE-4551-8" source="CCE"/>
20098 <description>Do not allow guest users to access local file or printer shares.</description>
20099 </metadata>
20100 <criteria>
20101 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203403"/>
20102 </criteria>
20103 </definition>
20104 <definition class="compliance" id="oval:org.open-scap.f14:def:2034010" version="1">
20105 <metadata>
20106 <title>Require Client SMB Packet Signing, if using smbclient</title>
20107 <reference ref_id="CCE-4551-8" source="CCE"/>
20108 <description>Require samba clients running smbclient to use packet signing. A Samba client should only communicate with servers who can support SMB packet signing.</description>
20109 </metadata>
20110 <criteria>
20111 <criterion comment="check for client signing = mandatory in /etc/samba/smb.conf" test_ref="oval:org.open-scap.f14:tst:2034010"/>
20112 </criteria>
20113 </definition>
20114 <definition class="compliance" id="oval:org.open-scap.f14:def:2034011" version="1">
20115 <metadata>
20116 <title>Disable Samba if Possible</title>
20117 <reference ref_id="CCE-4551-8" source="CCE"/>
20118 <description>The smb service should be disabled.</description>
20119 </metadata>
20120 <criteria>
20121 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/fstab" test_ref="oval:org.open-scap.f14:tst:20340111"/>
20122 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/mtab" test_ref="oval:org.open-scap.f14:tst:20340112"/>
20123 </criteria>
20124 </definition>
20125 <definition class="compliance" id="oval:org.open-scap.f14:def:20341" version="1">
20126 <metadata>
20127 <title>Disable Squid if Possible</title>
20128 <reference ref_id="CCE-4556-7" source="CCE"/>
20129 <description>The squid service should be disabled.</description>
20130 </metadata>
20131 <criteria comment="squid is not installed or conditions are met" operator="OR">
20132 <extend_definition comment="squid is not installed" definition_ref="oval:org.open-scap.f14:def:20342"/>
20133 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20341"/>
20134 </criteria>
20135 </definition>
20136 <definition class="compliance" id="oval:org.open-scap.f14:def:20342" version="1">
20137 <metadata>
20138 <title>Disable Squid if Possible</title>
20139 <reference ref_id="CCE-4076-6" source="CCE"/>
20140 <description>The squid package should be uninstalled.</description>
20141 </metadata>
20142 <criteria>
20143 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20342"/>
20144 </criteria>
20145 </definition>
20146 <definition class="compliance" id="oval:org.open-scap.f14:def:20343" version="1">
20147 <metadata>
20148 <title>Verify Default Secure Settings</title>
20149 <reference ref_id="CCE-4454-5" source="CCE"/>
20150 <description>The Squid option to force FTP passive connections should be enabled (and dependencies are met)</description>
20151 </metadata>
20152 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20153 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20154 <criterion test_ref="oval:org.open-scap.f14:tst:20343"/>
20155 </criteria>
20156 </definition>
20157 <definition class="compliance" id="oval:org.open-scap.f14:def:20344" version="1">
20158 <metadata>
20159 <title>Verify Default Secure Settings</title>
20160 <reference ref_id="CCE-4459-4" source="CCE"/>
20161 <description>The Squid option to perform FTP sanity checks should be enabled or not as appropriate (and dependencies are met)</description>
20162 </metadata>
20163 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20164 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20165 <criterion test_ref="oval:org.open-scap.f14:tst:20344"/>
20166 </criteria>
20167 </definition>
20168 <definition class="compliance" id="oval:org.open-scap.f14:def:20345" version="1">
20169 <metadata>
20170 <title>Verify Default Secure Settings</title>
20171 <reference ref_id="CCE-4503-9" source="CCE"/>
20172 <description>The Squid option to check for RFC compliant hostnames should be enabled or not as appropriate (and dependencies are met)</description>
20173 </metadata>
20174 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20175 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20176 <criterion test_ref="oval:org.open-scap.f14:tst:20345"/>
20177 </criteria>
20178 </definition>
20179 <definition class="compliance" id="oval:org.open-scap.f14:def:20346" version="1">
20180 <metadata>
20181 <title>Verify Default Secure Settings</title>
20182 <reference ref_id="CCE-4353-9" source="CCE"/>
20183 <description>The Squid max request HTTP header length should be set to an appropriate value (and dependencies are met)</description>
20184 </metadata>
20185 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20186 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20187 <criterion test_ref="oval:org.open-scap.f14:tst:20346"/>
20188 </criteria>
20189 </definition>
20190 <definition class="compliance" id="oval:org.open-scap.f14:def:20347" version="1">
20191 <metadata>
20192 <title>Verify Default Secure Settings</title>
20193 <reference ref_id="CCE-4419-8" source="CCE"/>
20194 <description>The Squid max reply HTTP header length should be set to an appropriate value (and dependencies are met)</description>
20195 </metadata>
20196 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20197 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20198 <criterion test_ref="oval:org.open-scap.f14:tst:20347"/>
20199 </criteria>
20200 </definition>
20201 <definition class="compliance" id="oval:org.open-scap.f14:def:20348" version="1">
20202 <metadata>
20203 <title>Verify Default Secure Settings</title>
20204 <reference ref_id="CCE-3692-1" source="CCE"/>
20205 <description>The Squid EUID should be set to an appropriate user (and dependencies are met)</description>
20206 </metadata>
20207 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20208 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20209 <criterion test_ref="oval:org.open-scap.f14:tst:20348"/>
20210 </criteria>
20211 </definition>
20212 <definition class="compliance" id="oval:org.open-scap.f14:def:20349" version="1">
20213 <metadata>
20214 <title>Verify Default Secure Settings</title>
20215 <reference ref_id="CCE-4476-8" source="CCE"/>
20216 <description>The Squid GUID should be set to an appropriate group (and dependencies are met)</description>
20217 </metadata>
20218 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20219 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20220 <criterion test_ref="oval:org.open-scap.f14:tst:20349"/>
20221 </criteria>
20222 </definition>
20223 <definition class="compliance" id="oval:org.open-scap.f14:def:20350" version="1">
20224 <metadata>
20225 <title>Verify Default Secure Settings</title>
20226 <reference ref_id="CCE-3585-7" source="CCE"/>
20227 <description>The Squid option to ignore unknown nameservers should be enabled (and dependencies are met)</description>
20228 </metadata>
20229 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20230 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20231 <criterion test_ref="oval:org.open-scap.f14:tst:20350"/>
20232 </criteria>
20233 </definition>
20234 <definition class="compliance" id="oval:org.open-scap.f14:def:20351" version="1">
20235 <metadata>
20236 <title>Change Default Insecure Settings</title>
20237 <reference ref_id="CCE-4344-8" source="CCE"/>
20238 <description>The Squid option to allow underscores in hostnames should be disabled (and dependencies are met)</description>
20239 </metadata>
20240 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20241 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20242 <criterion test_ref="oval:org.open-scap.f14:tst:20351"/>
20243 </criteria>
20244 </definition>
20245 <definition class="compliance" id="oval:org.open-scap.f14:def:20352" version="1">
20246 <metadata>
20247 <title>Change Default Insecure Settings</title>
20248 <reference ref_id="CCE-4494-1" source="CCE"/>
20249 <description>The Squid option to suppress the httpd version string should be enabled (and dependencies are met)</description>
20250 </metadata>
20251 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20252 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20253 <criterion test_ref="oval:org.open-scap.f14:tst:20352"/>
20254 </criteria>
20255 </definition>
20256 <definition class="compliance" id="oval:org.open-scap.f14:def:20353" version="1">
20257 <metadata>
20258 <title>Change Default Insecure Settings</title>
20259 <reference ref_id="CCE-4181-4" source="CCE"/>
20260 <description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled (and dependencies are met)</description>
20261 </metadata>
20262 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20263 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20264 <criterion test_ref="oval:org.open-scap.f14:tst:20353"/>
20265 </criteria>
20266 </definition>
20267 <definition class="compliance" id="oval:org.open-scap.f14:def:20354" version="1">
20268 <metadata>
20269 <title>Change Default Insecure Settings</title>
20270 <reference ref_id="CCE-4577-3" source="CCE"/>
20271 <description>The Squid option to log HTTP MIME headers should be enabled (and dependencies are met)</description>
20272 </metadata>
20273 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20274 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20275 <criterion test_ref="oval:org.open-scap.f14:tst:20354"/>
20276 </criteria>
20277 </definition>
20278 <definition class="compliance" id="oval:org.open-scap.f14:def:20355" version="1">
20279 <metadata>
20280 <title>Access Control Lists (ACL)</title>
20281 <reference ref_id="CCE-4511-2" source="CCE"/>
20282 <description>Squid should be configured to not allow gss-http traffic (and dependencies are met)</description>
20283 </metadata>
20284 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20285 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20286 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20287 </criteria>
20288 </definition>
20289 <definition class="compliance" id="oval:org.open-scap.f14:def:20356" version="1">
20290 <metadata>
20291 <title>Access Control Lists (ACL)</title>
20292 <reference ref_id="CCE-4529-4" source="CCE"/>
20293 <description>Squid should be configured to not allow https traffic (and dependencies are met)</description>
20294 </metadata>
20295 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20296 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20297 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20298 </criteria>
20299 </definition>
20300 <definition class="compliance" id="oval:org.open-scap.f14:def:20357" version="1">
20301 <metadata>
20302 <title>Access Control Lists (ACL)</title>
20303 <reference ref_id="CCE-3610-3" source="CCE"/>
20304 <description>Squid should be configured to not allow wais traffic (and dependencies are met)</description>
20305 </metadata>
20306 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20307 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20308 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20309 </criteria>
20310 </definition>
20311 <definition class="compliance" id="oval:org.open-scap.f14:def:20358" version="1">
20312 <metadata>
20313 <title>Access Control Lists (ACL)</title>
20314 <reference ref_id="CCE-4466-9" source="CCE"/>
20315 <description>Squid should be configured to not allow multiling http traffic (and dependencies are met)</description>
20316 </metadata>
20317 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20318 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20319 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20320 </criteria>
20321 </definition>
20322 <definition class="compliance" id="oval:org.open-scap.f14:def:20359" version="1">
20323 <metadata>
20324 <title>Access Control Lists (ACL)</title>
20325 <reference ref_id="CCE-4607-8" source="CCE"/>
20326 <description>Squid should be configured to not allow http traffic (and dependencies are met)</description>
20327 </metadata>
20328 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20329 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20330 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20331 </criteria>
20332 </definition>
20333 <definition class="compliance" id="oval:org.open-scap.f14:def:20360" version="1">
20334 <metadata>
20335 <title>Access Control Lists (ACL)</title>
20336 <reference ref_id="CCE-4255-6" source="CCE"/>
20337 <description>Squid should be configured to not allow ftp traffic (and dependencies are met)</description>
20338 </metadata>
20339 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20340 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20341 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20342 </criteria>
20343 </definition>
20344 <definition class="compliance" id="oval:org.open-scap.f14:def:20361" version="1">
20345 <metadata>
20346 <title>Access Control Lists (ACL)</title>
20347 <reference ref_id="CCE-4127-7" source="CCE"/>
20348 <description>Squid should be configured to not allow gopher traffic (and dependencies are met)</description>
20349 </metadata>
20350 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20351 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20352 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20353 </criteria>
20354 </definition>
20355 <definition class="compliance" id="oval:org.open-scap.f14:def:20362" version="1">
20356 <metadata>
20357 <title>Access Control Lists (ACL)</title>
20358 <reference ref_id="CCE-4519-5" source="CCE"/>
20359 <description>Squid should be configured to not allow filemaker traffic (and dependencies are met)</description>
20360 </metadata>
20361 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20362 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20363 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20364 </criteria>
20365 </definition>
20366 <definition class="compliance" id="oval:org.open-scap.f14:def:20363" version="1">
20367 <metadata>
20368 <title>Access Control Lists (ACL)</title>
20369 <reference ref_id="CCE-4413-1" source="CCE"/>
20370 <description>Squid proxy access to localhost should be denied (and dependencies are met)</description>
20371 </metadata>
20372 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20373 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20374 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20375 </criteria>
20376 </definition>
20377 <definition class="compliance" id="oval:org.open-scap.f14:def:20364" version="1">
20378 <metadata>
20379 <title>Access Control Lists (ACL)</title>
20380 <reference ref_id="CCE-4373-7" source="CCE"/>
20381 <description>Squid should be configured to not allow http-mgmt traffic (and dependencies are met)</description>
20382 </metadata>
20383 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20384 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20385 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20386 </criteria>
20387 </definition>
20388 <definition class="compliance" id="oval:org.open-scap.f14:def:20365" version="1">
20389 <metadata>
20390 <title>Disable SNMP Server if Possible</title>
20391 <reference ref_id="CCE-3765-5" source="CCE"/>
20392 <description>The snmpd service should be disabled.</description>
20393 </metadata>
20394 <criteria comment="net-snmp is not installed or conditions are met" operator="OR">
20395 <extend_definition comment="net-snmp is not installed" definition_ref="oval:org.open-scap.f14:def:20366"/>
20396 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20365"/>
20397 </criteria>
20398 </definition>
20399 <definition class="compliance" id="oval:org.open-scap.f14:def:20366" version="1">
20400 <metadata>
20401 <title>Disable SNMP Server if Possible</title>
20402 <reference ref_id="CCE-4404-0" source="CCE"/>
20403 <description>The net-snmp package should be uninstalled.</description>
20404 </metadata>
20405 <criteria>
20406 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20366"/>
20407 </criteria>
20408 </definition>
20409 </definitions>
20410 <tests>
20411 <ind-def:textfilecontent54_test check="only one" check_existence="at_least_one_exists" comment="look for /tmp partition or logical volume in /etc/fstab" id="oval:org.open-scap.f14:tst:20000" version="1">
20412 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20413 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20000"/>
20414 </ind-def:textfilecontent54_test>
20415 <ind-def:textfilecontent54_test check="only one" check_existence="at_least_one_exists" comment="look for /var partition or logical volume in /etc/fstab" id="oval:org.open-scap.f14:tst:20002" version="1">
20416 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20417 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20002"/>
20418 </ind-def:textfilecontent54_test>
20419 <ind-def:textfilecontent54_test check="only one" check_existence="at_least_one_exists" comment="look for /var/log partition or logical volume in /etc/fstab" id="oval:org.open-scap.f14:tst:20004" version="1">
20420 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20421 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20004"/>
20422 </ind-def:textfilecontent54_test>
20423 <ind-def:textfilecontent54_test check="only one" check_existence="at_least_one_exists" comment="look for /var/log/audit partition or logical volume in /etc/fstab" id="oval:org.open-scap.f14:tst:20005" version="1">
20424 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20425 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20005"/>
20426 </ind-def:textfilecontent54_test>
20427 <ind-def:textfilecontent54_test check="only one" check_existence="at_least_one_exists" comment="look for /home partition or logical volume in /etc/fstab" id="oval:org.open-scap.f14:tst:20006" version="1">
20428 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20429 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20006"/>
20430 </ind-def:textfilecontent54_test>
20431 <lin-def:rpminfo_test check="at least one" check_existence="any_exist" comment="proper gpg-pubkey version is installed" id="oval:org.open-scap.f14:tst:200065" version="1">
20432 <lin-def:object object_ref="oval:org.open-scap.f14:obj:200065"/>
20433 <lin-def:state state_ref="oval:org.open-scap.f14:ste:200065"/>
20434 </lin-def:rpminfo_test>
20435 <unix-def:file_test check="all" check_existence="at_least_one_exists" comment="Existence check for path ^/etc/cron\.(hourly|daily|weekly|monthly)$ for filename yum.cron" id="oval:org.open-scap.f14:tst:20009" version="1">
20436 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20009"/>
20437 </unix-def:file_test>
20438 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check value of gpgcheck in /etc/yum.conf" id="oval:org.open-scap.f14:tst:20010" version="1">
20439 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20010"/>
20440 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20010"/>
20441 </ind-def:textfilecontent54_test>
20442 <ind-def:textfilecontent54_test check="at least one" comment="check value of gpgcheck=0 in /etc/yum.repos.d/" id="oval:org.open-scap.f14:tst:20011" version="1">
20443 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20011"/>
20444 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20011"/>
20445 </ind-def:textfilecontent54_test>
20446 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check value of gpgcheck in /etc/yum.conf" id="oval:org.open-scap.f14:tst:20012" version="1">
20447 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20012"/>
20448 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20012"/>
20449 </ind-def:textfilecontent54_test>
20450 <ind-def:textfilecontent54_test check="all" comment="check value of repo_gpgcheck=0 in /etc/yum.repos.d/" id="oval:org.open-scap.f14:tst:20013" version="1">
20451 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20013"/>
20452 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20013"/>
20453 </ind-def:textfilecontent54_test>
20454 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check options for nodev in /etc/fstab for all non-root partitions" id="oval:org.open-scap.f14:tst:20016" version="1">
20455 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
20456 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
20457 </ind-def:textfilecontent54_test>
20458 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check options for nodev in /etc/mtab for all non-root partitions" id="oval:org.open-scap.f14:tst:200162" version="1">
20459 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
20460 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
20461 </ind-def:textfilecontent54_test>
20462 <lin-def:rpminfo_test check="at least one" check_existence="at_least_one_exists" comment="redhat-release is version 5" id="oval:org.open-scap.f14:tst:10000" version="1">
20463 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
20464 <lin-def:state state_ref="oval:org.open-scap.f14:ste:10000"/>
20465 </lin-def:rpminfo_test>
20466 <lin-def:rpminfo_test check="at least one" check_existence="at_least_one_exists" comment="redhat-release is version 5.2" id="oval:org.open-scap.f14:tst:11000" version="1">
20467 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
20468 <lin-def:state state_ref="oval:org.open-scap.f14:ste:11000"/>
20469 </lin-def:rpminfo_test>
20470 <ind-def:family_test check="only one" check_existence="at_least_one_exists" comment="installed operating system is part of the Unix family" id="oval:org.open-scap.f14:tst:10001" version="1">
20471 <ind-def:object object_ref="oval:org.open-scap.f14:obj:10001"/>
20472 <ind-def:state state_ref="oval:org.open-scap.f14:ste:10001"/>
20473 </ind-def:family_test>
20474 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20008" version="1">
20475 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20008"/>
20476 </unix-def:runlevel_test>
20477 <lin-def:rpminfo_test check="all" check_existence="all_exist" comment="The aide package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20014" version="1">
20478 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20014"/>
20479 </lin-def:rpminfo_test>
20480 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:22" version="1"/>
20481 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Check /etc/security/console.perms.d/50-default.perms for lines starting with &lt;console&gt; or &lt;xconsole&gt;" id="oval:org.open-scap.f14:tst:20020" version="1">
20482 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20020"/>
20483 </ind-def:textfilecontent54_test>
20484 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for usb_storage" id="oval:org.open-scap.f14:tst:20021" version="1">
20485 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20486 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20021"/>
20487 </ind-def:textfilecontent54_test>
20488 <unix-def:file_test check="all" check_existence="none_exist" comment="Actual file existence test" id="oval:org.open-scap.f14:tst:20022" version="1">
20489 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20022"/>
20490 </unix-def:file_test>
20491 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the &lt;:begin:&gt;kernel&lt;:nocomment:&gt;nousb setting in the /etc/grub.conf file" id="oval:org.open-scap.f14:tst:20023" version="1">
20492 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20023"/>
20493 </ind-def:textfilecontent54_test>
20494 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20025" version="1">
20495 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20025"/>
20496 </unix-def:runlevel_test>
20497 <ind-def:xmlfilecontent_test check="all" check_existence="all_exist" comment="The XPath expression /desktop/gnome/volume_manager/automount_(media)|(drives) for /etc/gconf/gconf.xml.mandatory should evaluate to the passed value" id="oval:org.open-scap.f14:tst:20026" version="1">
20498 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20026"/>
20499 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20026"/>
20500 </ind-def:xmlfilecontent_test>
20501 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for cramfs" id="oval:org.open-scap.f14:tst:20027" version="1">
20502 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20503 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20027"/>
20504 </ind-def:textfilecontent54_test>
20505 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for freevxfs" id="oval:org.open-scap.f14:tst:20028" version="1">
20506 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20507 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20028"/>
20508 </ind-def:textfilecontent54_test>
20509 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for jffs2" id="oval:org.open-scap.f14:tst:20029" version="1">
20510 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20511 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20029"/>
20512 </ind-def:textfilecontent54_test>
20513 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for hfs" id="oval:org.open-scap.f14:tst:20030" version="1">
20514 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20515 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20030"/>
20516 </ind-def:textfilecontent54_test>
20517 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for hfsplus" id="oval:org.open-scap.f14:tst:20031" version="1">
20518 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20519 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20031"/>
20520 </ind-def:textfilecontent54_test>
20521 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for squashfs" id="oval:org.open-scap.f14:tst:20032" version="1">
20522 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20523 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20032"/>
20524 </ind-def:textfilecontent54_test>
20525 <ind-def:textfilecontent54_test check="at least one" comment="Check /etc/modprobe.d/denylist.conf for udf" id="oval:org.open-scap.f14:tst:20033" version="1">
20526 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20527 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20033"/>
20528 </ind-def:textfilecontent54_test>
20529 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership of /etc/shadow" id="oval:org.open-scap.f14:tst:20034" version="1">
20530 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
20531 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20034"/>
20532 </unix-def:file_test>
20533 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership /etc/shadow" id="oval:org.open-scap.f14:tst:20035" version="1">
20534 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
20535 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20035"/>
20536 </unix-def:file_test>
20537 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20036" version="1">
20538 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
20539 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20036"/>
20540 </unix-def:file_test>
20541 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20037" version="1">
20542 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
20543 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20037"/>
20544 </unix-def:file_test>
20545 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20038" version="1">
20546 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
20547 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20038"/>
20548 </unix-def:file_test>
20549 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20039" version="1">
20550 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
20551 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20039"/>
20552 </unix-def:file_test>
20553 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20040" version="1">
20554 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
20555 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20040"/>
20556 </unix-def:file_test>
20557 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership of /etc/passwd" id="oval:org.open-scap.f14:tst:20041" version="1">
20558 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
20559 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20041"/>
20560 </unix-def:file_test>
20561 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions of /etc/shadow" id="oval:org.open-scap.f14:tst:20042" version="1">
20562 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
20563 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20042"/>
20564 </unix-def:file_test>
20565 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing /etc/group permissions" id="oval:org.open-scap.f14:tst:20043" version="1">
20566 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
20567 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20043"/>
20568 </unix-def:file_test>
20569 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow permissions" id="oval:org.open-scap.f14:tst:20044" version="1">
20570 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
20571 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20044"/>
20572 </unix-def:file_test>
20573 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing /etc/passwd permissions" id="oval:org.open-scap.f14:tst:20045" version="1">
20574 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
20575 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20045"/>
20576 </unix-def:file_test>
20577 <unix-def:file_test check="all" check_existence="all_exist" comment="sticky bit on all world writable directories" id="oval:org.open-scap.f14:tst:20046" version="1">
20578 <notes>
20579 <note>This will enumerate all world writable directories on local partitions</note>
20580 </notes>
20581 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200461"/>
20582 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20046"/>
20583 </unix-def:file_test>
20584 <unix-def:file_test check="all" comment="world writable files" id="oval:org.open-scap.f14:tst:20047" version="1">
20585 <notes>
20586 <note>This will enumerate all world writable files on local partitions</note>
20587 </notes>
20588 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200471"/>
20589 </unix-def:file_test>
20590 <unix-def:file_test check="all" check_existence="none_exist" comment="executable files with sgid set" id="oval:org.open-scap.f14:tst:20048" version="1">
20591 <notes>
20592 <note>This will enumerate all files on local partitions</note>
20593 </notes>
20594 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20048"/>
20595 </unix-def:file_test>
20596 <unix-def:file_test check="all" check_existence="none_exist" comment="executable files with suid set" id="oval:org.open-scap.f14:tst:20049" version="1">
20597 <notes>
20598 <note>This will enumerate all files on local partitions</note>
20599 </notes>
20600 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20049"/>
20601 </unix-def:file_test>
20602 <unix-def:file_test check="all" check_existence="none_exist" comment="files with no user owner" id="oval:org.open-scap.f14:tst:20050" version="1">
20603 <notes>
20604 <note>This will enumerate all files on local partitions</note>
20605 </notes>
20606 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20050"/>
20607 </unix-def:file_test>
20608 <unix-def:file_test check="all" check_existence="none_exist" comment="files with no group owner" id="oval:org.open-scap.f14:tst:20051" version="1">
20609 <notes>
20610 <note>This will enumerate all files on local partitions</note>
20611 </notes>
20612 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20051"/>
20613 </unix-def:file_test>
20614 <unix-def:file_test check="all" check_existence="none_exist" comment="world writable directories have a uid greater than or equal to 500" id="oval:org.open-scap.f14:tst:20052" version="1">
20615 <notes>
20616 <note>This will enumerate all directories on local partitions</note>
20617 </notes>
20618 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20052"/>
20619 </unix-def:file_test>
20620 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the umask[\s]+(.*) expression in the /etc/rc.d/init.d/functions file" id="oval:org.open-scap.f14:tst:20053" version="1">
20621 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20053"/>
20622 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20053"/>
20623 </ind-def:textfilecontent54_test>
20624 <ind-def:textfilecontent54_test check="all" comment="Tests the value of the ^[\s]*\*[\s]+hard[\s]+core[\s]+([\d]+) setting in the /etc/security/limits.conf file" id="oval:org.open-scap.f14:tst:20055" version="1">
20625 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20055"/>
20626 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20055"/>
20627 </ind-def:textfilecontent54_test>
20628 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/fs/suid_dumpable" id="oval:org.open-scap.f14:tst:20056" version="1">
20629 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20056"/>
20630 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20056"/>
20631 </ind-def:textfilecontent54_test>
20632 <ind-def:textfilecontent54_test check="all" check_existence="any_exist" comment="Tests the value of the /proc/sys/kernel/exec-shield" id="oval:org.open-scap.f14:tst:20057" version="1">
20633 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20057"/>
20634 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20057"/>
20635 </ind-def:textfilecontent54_test>
20636 <ind-def:textfilecontent54_test check="all" check_existence="any_exist" comment="Tests the value of the /proc/sys/kernel/randomize_va_space" id="oval:org.open-scap.f14:tst:20058" version="1">
20637 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20058"/>
20638 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20058"/>
20639 </ind-def:textfilecontent54_test>
20640 <ind-def:unknown_test check="all" comment="BIOS test cannot be automated" id="oval:org.open-scap.f14:tst:20060" version="1"/>
20641 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the &lt;:begin:&gt;tty[0-9]+&lt;:end:&gt; setting in the /etc//securetty file" id="oval:org.open-scap.f14:tst:20061" version="1">
20642 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20061"/>
20643 </ind-def:textfilecontent54_test>
20644 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the &lt;:begin:&gt;Vc\/[0-9]+&lt;:end:&gt; setting in the /etc/securetty file" id="oval:org.open-scap.f14:tst:20062" version="1">
20645 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20062"/>
20646 </ind-def:textfilecontent54_test>
20647 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the &lt;:begin:&gt;console&lt;:end:&gt; setting in the /etc/securetty file" id="oval:org.open-scap.f14:tst:20063" version="1">
20648 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20063"/>
20649 </ind-def:textfilecontent54_test>
20650 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the &lt;:begin:&gt;ttyS[0-9]+&lt;:end:&gt; setting in the /etc/securetty file" id="oval:org.open-scap.f14:tst:20064" version="1">
20651 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20064"/>
20652 </ind-def:textfilecontent54_test>
20653 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the &lt;:begin:&gt;wheel setting in the /etc/group file" id="oval:org.open-scap.f14:tst:20065" version="1">
20654 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20065"/>
20655 </ind-def:textfilecontent54_test>
20656 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the &lt;:begin:&gt;auth[\s]+required[\s]+pam_wheel.so[\s]+use_uid&lt;:end:&gt; setting in the /etc/pam.d/su file" id="oval:org.open-scap.f14:tst:20066" version="1">
20657 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20066"/>
20658 </ind-def:textfilecontent54_test>
20659 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the %wheel[\s]+ALL=\(ALL\)[\s]+ALL setting in the /etc/sudoers file" id="oval:org.open-scap.f14:tst:20067" version="1">
20660 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20067"/>
20661 </ind-def:textfilecontent54_test>
20662 <unix-def:password_test check="at least one" comment="Tests the login shell for non root system accounts" id="oval:org.open-scap.f14:tst:20068" version="1">
20663 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20068"/>
20664 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20068"/>
20665 </unix-def:password_test>
20666 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the ^[^:]*:: setting in the /etc/shadow file" id="oval:org.open-scap.f14:tst:20069" version="1">
20667 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20069"/>
20668 </ind-def:textfilecontent54_test>
20669 <unix-def:password_test check="all" comment="Check that passwords are shadowed" id="oval:org.open-scap.f14:tst:200695" version="1">
20670 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200695"/>
20671 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200695"/>
20672 </unix-def:password_test>
20673 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Check if there is only root account with UID 0" id="oval:org.open-scap.f14:tst:20070" version="1">
20674 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20070"/>
20675 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20070"/>
20676 </ind-def:textfilecontent54_test>
20677 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the PASS_MIN_LEN[\s]*=[\s]*(.*) expression in the /etc/login.defs file" id="oval:org.open-scap.f14:tst:20071" version="1">
20678 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20071"/>
20679 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20071"/>
20680 </ind-def:textfilecontent54_test>
20681 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the PASS_MIN_DAYS[\s]*=[\s]*(.*) expression in the /etc/login.defs file" id="oval:org.open-scap.f14:tst:20072" version="1">
20682 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20072"/>
20683 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20072"/>
20684 </ind-def:textfilecontent54_test>
20685 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the PASS_MAX_DAYS[\s]*=[\s]*(.*) expression in the /etc/login.defs file" id="oval:org.open-scap.f14:tst:20073" version="1">
20686 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20073"/>
20687 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20073"/>
20688 </ind-def:textfilecontent54_test>
20689 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the PASS_WARN_AGE[\s]*=[\s]*(.*) expression in the /etc/login.defs file" id="oval:org.open-scap.f14:tst:20074" version="1">
20690 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20074"/>
20691 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20074"/>
20692 </ind-def:textfilecontent54_test>
20693 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the ^+: setting in the /etc/shadow file" id="oval:org.open-scap.f14:tst:20075" version="1">
20694 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20075"/>
20695 </ind-def:textfilecontent54_test>
20696 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the ^+: setting in the /etc/group file" id="oval:org.open-scap.f14:tst:20076" version="1">
20697 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20076"/>
20698 </ind-def:textfilecontent54_test>
20699 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the ^+: setting in the /etc/passwd file" id="oval:org.open-scap.f14:tst:20077" version="1">
20700 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20077"/>
20701 </ind-def:textfilecontent54_test>
20702 <ind-def:textfilecontent54_test check="all" comment="check the configuration of /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200781" version="1">
20703 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200781"/>
20704 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200781"/>
20705 </ind-def:textfilecontent54_test>
20706 <ind-def:textfilecontent54_test check="all" comment="check the configuration of /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200782" version="1">
20707 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200782"/>
20708 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200782"/>
20709 </ind-def:textfilecontent54_test>
20710 <ind-def:textfilecontent54_test check="all" comment="check the configuration of /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200783" version="1">
20711 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200783"/>
20712 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200783"/>
20713 </ind-def:textfilecontent54_test>
20714 <ind-def:textfilecontent54_test check="all" comment="check the configuration of /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200784" version="1">
20715 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200784"/>
20716 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200784"/>
20717 </ind-def:textfilecontent54_test>
20718 <ind-def:textfilecontent54_test check="all" comment="check the configuration of /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200785" version="1">
20719 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200785"/>
20720 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200785"/>
20721 </ind-def:textfilecontent54_test>
20722 <ind-def:textfilecontent54_test check="all" comment="check the configuration of /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200786" version="1">
20723 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200786"/>
20724 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200786"/>
20725 </ind-def:textfilecontent54_test>
20726 <ind-def:textfilecontent54_test check="all" comment="check the configuration of /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200787" version="1">
20727 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200787"/>
20728 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200787"/>
20729 </ind-def:textfilecontent54_test>
20730 <ind-def:unknown_test check="all" comment="pam_passwdqc is not implemented" id="oval:org.open-scap.f14:tst:20079" version="1"/>
20731 <ind-def:variable_test check="all" comment="check value of unlock_time" id="oval:org.open-scap.f14:tst:200800" version="1">
20732 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200800"/>
20733 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200800"/>
20734 </ind-def:variable_test>
20735 <ind-def:textfilecontent54_test check="all" check_existence="only_one_exists" comment="check system-auth pam_tally2 excluding unlock_time" id="oval:org.open-scap.f14:tst:2008011" version="1">
20736 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008011"/>
20737 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008011"/>
20738 </ind-def:textfilecontent54_test>
20739 <ind-def:textfilecontent54_test check="all" check_existence="only_one_exists" comment="check system-auth pam_tally2 excluding unlock_time" id="oval:org.open-scap.f14:tst:2008012" version="1">
20740 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008012"/>
20741 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008012"/>
20742 </ind-def:textfilecontent54_test>
20743 <ind-def:textfilecontent54_test check="all" check_existence="only_one_exists" comment="check system-auth pam_tally2 including unlock_time" id="oval:org.open-scap.f14:tst:2008013" version="1">
20744 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008013"/>
20745 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008013"/>
20746 </ind-def:textfilecontent54_test>
20747 <!-- TODO <ind-def:textfilecontent54_test check_existence="only_one_exists" id="oval:org.open-scap.f14:tst:200803" version="1" check="all" comment="check system-auth pam_tally2 account is configured correctly" state_operator="OR"> -->
20748 <ind-def:textfilecontent54_test check="all" check_existence="only_one_exists" comment="check system-auth pam_tally2 account is configured correctly" id="oval:org.open-scap.f14:tst:200803" version="1">
20749 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200803"/>
20750 </ind-def:textfilecontent54_test>
20751 <ind-def:unknown_test check="all" comment="Check for required in pam_unix auth" id="oval:org.open-scap.f14:tst:200805" version="1"/>
20752 <ind-def:unknown_test check="all" comment="check that pam_succeed_if is not there with quiet option" id="oval:org.open-scap.f14:tst:2008061" version="1"/>
20753 <ind-def:unknown_test check="all" comment="check that pam_deny is not there" id="oval:org.open-scap.f14:tst:2008062" version="1"/>
20754 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20081" version="1">
20755 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20756 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20081"/>
20757 </unix-def:file_test>
20758 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Group existance" id="oval:org.open-scap.f14:tst:200811" version="1">
20759 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200811"/>
20760 </ind-def:textfilecontent54_test>
20761 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20082" version="1">
20762 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20763 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20082"/>
20764 </unix-def:file_test>
20765 <ind-def:variable_test check="all" comment="check value of hashing algorithm is md5" id="oval:org.open-scap.f14:tst:200831" version="1">
20766 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200831"/>
20767 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200831"/>
20768 </ind-def:variable_test>
20769 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="check the /etc/login.defs file for MD5_CRYPT_ENAB setting" id="oval:org.open-scap.f14:tst:200832" version="1">
20770 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200832"/>
20771 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200832"/>
20772 </ind-def:textfilecontent54_test>
20773 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="check the /etc/login.defs file for ENCRYPT_METHOD setting" id="oval:org.open-scap.f14:tst:200833" version="1">
20774 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200833"/>
20775 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20776 </ind-def:textfilecontent54_test>
20777 <ind-def:textfilecontent54_test check="at least one" check_existence="all_exist" comment="check the /etc/pam.d/system-auth file for the hash algorithm setting" id="oval:org.open-scap.f14:tst:200834" version="1">
20778 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200834"/>
20779 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20780 </ind-def:textfilecontent54_test>
20781 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="check the /etc/libuser.conf file for the crypt_style setting" id="oval:org.open-scap.f14:tst:200835" version="1">
20782 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200835"/>
20783 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20784 </ind-def:textfilecontent54_test>
20785 <ind-def:variable_test check="all" comment="check remember parameter is set to 0" id="oval:org.open-scap.f14:tst:200841" version="1">
20786 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200841"/>
20787 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200841"/>
20788 </ind-def:variable_test>
20789 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="check that remember is set appropriately in /etc/pam.d/system-auth" id="oval:org.open-scap.f14:tst:200842" version="1">
20790 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200842"/>
20791 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200842"/>
20792 </ind-def:textfilecontent54_test>
20793 <ind-def:environmentvariable_test check="all" comment="PATH starts with : or ." id="oval:org.open-scap.f14:tst:200851" version="1">
20794 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20795 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200851"/>
20796 </ind-def:environmentvariable_test>
20797 <ind-def:environmentvariable_test check="all" check_existence="at_least_one_exists" comment="PATH ends with : or ." id="oval:org.open-scap.f14:tst:200852" version="1">
20798 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20799 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200852"/>
20800 </ind-def:environmentvariable_test>
20801 <ind-def:environmentvariable_test check="all" comment="PATH contains :: or :.:" id="oval:org.open-scap.f14:tst:200853" version="1">
20802 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20803 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200853"/>
20804 </ind-def:environmentvariable_test>
20805 <unix-def:file_test check="all" check_existence="none_exist" comment="Check that write permission to group and other in root's path is denied" id="oval:org.open-scap.f14:tst:200855" version="1">
20806 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2008551"/>
20807 </unix-def:file_test>
20808 <unix-def:file_test check="none satisfy" comment="home directories are group writeable" id="oval:org.open-scap.f14:tst:200861" version="1">
20809 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20810 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200861"/>
20811 </unix-def:file_test>
20812 <unix-def:file_test check="none satisfy" comment="home directories are world readable" id="oval:org.open-scap.f14:tst:200862" version="1">
20813 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20814 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200862"/>
20815 </unix-def:file_test>
20816 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*umask[\s]+([^#]*) expression in the /etc/bashrc file" id="oval:org.open-scap.f14:tst:20087" version="1">
20817 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20087"/>
20818 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20819 </ind-def:textfilecontent54_test>
20820 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*umask[\s]+([^#]*) expression in the /etc/csh.cshrc file" id="oval:org.open-scap.f14:tst:20088" version="1">
20821 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20088"/>
20822 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20823 </ind-def:textfilecontent54_test>
20824 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20092" version="1">
20825 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20092"/>
20826 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20092"/>
20827 </unix-def:file_test>
20828 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20093" version="1">
20829 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20093"/>
20830 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20093"/>
20831 </unix-def:file_test>
20832 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20094" version="1">
20833 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20094"/>
20834 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20094"/>
20835 </unix-def:file_test>
20836 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the password[\s]+--md5[\s]+.* setting in the /etc/grub.conf file" id="oval:org.open-scap.f14:tst:20095" version="1">
20837 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20095"/>
20838 </ind-def:textfilecontent54_test>
20839 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ~~:S:wait:/sbin/sulogin setting in the /etc/inittab file" id="oval:org.open-scap.f14:tst:20096" version="1">
20840 <ind-def:object object_ref="oval:org.open-scap.f14:obj:73"/>
20841 </ind-def:textfilecontent54_test>
20842 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the PROMPT[\s]*=[\s]*([^#]*) expression in the /etc/sysconfig/init file" id="oval:org.open-scap.f14:tst:20097" version="1">
20843 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20096"/>
20844 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20097"/>
20845 </ind-def:textfilecontent54_test>
20846 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*set[\s]+-r[\s]+autologout[\s]+([^#]*) expression in the /etc/profile.d/autologout.csh file" id="oval:org.open-scap.f14:tst:20098" version="1">
20847 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20098"/>
20848 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20098"/>
20849 </ind-def:textfilecontent54_test>
20850 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20099" version="1"/>
20851 <ind-def:xmlfilecontent_test check="all" comment="/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='idle_delay']/local_schema[1]/default[1]/@value" id="oval:org.open-scap.f14:tst:20100" version="1">
20852 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20100"/>
20853 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20100"/>
20854 </ind-def:xmlfilecontent_test>
20855 <ind-def:xmlfilecontent_test check="all" comment="/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='idle_activation_enabled']/local_schema[1]/default[1]/@value" id="oval:org.open-scap.f14:tst:201005" version="1">
20856 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201005"/>
20857 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201005"/>
20858 </ind-def:xmlfilecontent_test>
20859 <ind-def:xmlfilecontent_test check="all" comment="/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='lock_enabled']/local_schema[1]/default[1]/@value" id="oval:org.open-scap.f14:tst:201006" version="1">
20860 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201006"/>
20861 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201006"/>
20862 </ind-def:xmlfilecontent_test>
20863 <ind-def:xmlfilecontent_test check="all" comment="/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='mode']/local_schema[1]/default[1]/stringvalue[1]" id="oval:org.open-scap.f14:tst:201007" version="1">
20864 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201007"/>
20865 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201007"/>
20866 </ind-def:xmlfilecontent_test>
20867 <lin-def:rpminfo_test check="all" check_existence="all_exist" comment="The vlock package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20101" version="1">
20868 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20101"/>
20869 </lin-def:rpminfo_test>
20870 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the (.*) setting in the /etc/issue file" id="oval:org.open-scap.f14:tst:20102" version="1">
20871 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20102"/>
20872 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20102"/>
20873 </ind-def:textfilecontent54_test>
20874 <ind-def:xmlfilecontent_test check="all" comment="/greeter/item[@id='banner']/box[1]/item[@id='DOD_Banner']/text[1]" id="oval:org.open-scap.f14:tst:20103" version="1">
20875 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20103"/>
20876 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20103"/>
20877 </ind-def:xmlfilecontent_test>
20878 <ind-def:textfilecontent54_test check="all" check_existence="any_exist" comment="Tests the value of the [\s]selinux=([^\s]*) expression in the /etc/grub.conf file" id="oval:org.open-scap.f14:tst:20104" version="1">
20879 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20104"/>
20880 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20104"/>
20881 </ind-def:textfilecontent54_test>
20882 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the [\s]enforcing=([^\s]*) expression in the /etc/grub.conf file" id="oval:org.open-scap.f14:tst:20105" version="1">
20883 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20105"/>
20884 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20105"/>
20885 </ind-def:textfilecontent54_test>
20886 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*selinux[\s]*=[\s]*([^#]*) expression in the /etc/selinux/config file" id="oval:org.open-scap.f14:tst:20106" version="1">
20887 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20106"/>
20888 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20106"/>
20889 </ind-def:textfilecontent54_test>
20890 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*SELINUXTYPE[\s]*=[\s]*([^#]*) expression in the /etc/selinux/config file" id="oval:org.open-scap.f14:tst:20107" version="1">
20891 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20107"/>
20892 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20107"/>
20893 </ind-def:textfilecontent54_test>
20894 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The setroubleshoot package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20108" version="1">
20895 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20108"/>
20896 </lin-def:rpminfo_test>
20897 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20109" version="1">
20898 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20109"/>
20899 </unix-def:runlevel_test>
20900 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20110" version="1">
20901 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20110"/>
20902 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
20903 </unix-def:runlevel_test>
20904 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20111" version="1">
20905 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20111"/>
20906 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
20907 </unix-def:runlevel_test>
20908 <!-- BEGIN -->
20909 <!-- def:20112 -->
20910 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/default/send_redirects file" id="oval:org.open-scap.f14:tst:201120" version="1">
20911 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201120"/>
20912 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20913 </ind-def:textfilecontent54_test>
20914 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.default\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201121" version="1">
20915 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
20916 </ind-def:textfilecontent54_test>
20917 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.default\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201122" version="1">
20918 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
20919 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20920 </ind-def:textfilecontent54_test>
20921 <!-- def:20113 -->
20922 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/all/send_redirects file" id="oval:org.open-scap.f14:tst:201130" version="1">
20923 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201130"/>
20924 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20925 </ind-def:textfilecontent54_test>
20926 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.all\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201131" version="1">
20927 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
20928 </ind-def:textfilecontent54_test>
20929 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.all\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201132" version="1">
20930 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
20931 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20932 </ind-def:textfilecontent54_test>
20933 <!-- def:20114 -->
20934 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/ip_forward file" id="oval:org.open-scap.f14:tst:201140" version="1">
20935 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201140"/>
20936 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20937 </ind-def:textfilecontent54_test>
20938 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.ip_forward[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201141" version="1">
20939 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
20940 </ind-def:textfilecontent54_test>
20941 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.ip_forward[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201142" version="1">
20942 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
20943 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20944 </ind-def:textfilecontent54_test>
20945 <!-- def:20115 -->
20946 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/all/accept_source_route file" id="oval:org.open-scap.f14:tst:201150" version="1">
20947 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201150"/>
20948 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20949 </ind-def:textfilecontent54_test>
20950 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.all\.accept_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201151" version="1">
20951 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
20952 </ind-def:textfilecontent54_test>
20953 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.all\.accept_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201152" version="1">
20954 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
20955 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20956 </ind-def:textfilecontent54_test>
20957 <!-- def:20116 -->
20958 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/all/accept_redirects file" id="oval:org.open-scap.f14:tst:201160" version="1">
20959 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201160"/>
20960 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20961 </ind-def:textfilecontent54_test>
20962 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.all\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201161" version="1">
20963 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
20964 </ind-def:textfilecontent54_test>
20965 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.all\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201162" version="1">
20966 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
20967 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20968 </ind-def:textfilecontent54_test>
20969 <!-- def:20117 -->
20970 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/all/secure_redirects file" id="oval:org.open-scap.f14:tst:201170" version="1">
20971 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201170"/>
20972 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20973 </ind-def:textfilecontent54_test>
20974 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.all\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201171" version="1">
20975 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
20976 </ind-def:textfilecontent54_test>
20977 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.all\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201172" version="1">
20978 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
20979 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20980 </ind-def:textfilecontent54_test>
20981 <!-- def:20118 -->
20982 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/all/log_martians file" id="oval:org.open-scap.f14:tst:201180" version="1">
20983 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201180"/>
20984 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20985 </ind-def:textfilecontent54_test>
20986 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.all\.log_martians[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201181" version="1">
20987 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
20988 </ind-def:textfilecontent54_test>
20989 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.all\.log_martians[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201182" version="1">
20990 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
20991 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20992 </ind-def:textfilecontent54_test>
20993 <!-- def:20119 -->
20994 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/default/accept_source_route file" id="oval:org.open-scap.f14:tst:201190" version="1">
20995 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201190"/>
20996 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20997 </ind-def:textfilecontent54_test>
20998 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.default\.accept_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201191" version="1">
20999 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
21000 </ind-def:textfilecontent54_test>
21001 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.default\.accept_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201192" version="1">
21002 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
21003 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21004 </ind-def:textfilecontent54_test>
21005 <!-- def:20120 -->
21006 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/default/accept_redirects file" id="oval:org.open-scap.f14:tst:201200" version="1">
21007 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201200"/>
21008 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21009 </ind-def:textfilecontent54_test>
21010 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.default\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201201" version="1">
21011 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
21012 </ind-def:textfilecontent54_test>
21013 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.default\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201202" version="1">
21014 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
21015 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21016 </ind-def:textfilecontent54_test>
21017 <!-- def:20121 -->
21018 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/default/secure_redirects file" id="oval:org.open-scap.f14:tst:201210" version="1">
21019 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201210"/>
21020 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21021 </ind-def:textfilecontent54_test>
21022 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.default\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201211" version="1">
21023 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
21024 </ind-def:textfilecontent54_test>
21025 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.default\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201212" version="1">
21026 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
21027 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21028 </ind-def:textfilecontent54_test>
21029 <!-- def:20122 -->
21030 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts file" id="oval:org.open-scap.f14:tst:201220" version="1">
21031 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201220"/>
21032 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21033 </ind-def:textfilecontent54_test>
21034 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.icmp_echo_ignore_broadcasts[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201221" version="1">
21035 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
21036 </ind-def:textfilecontent54_test>
21037 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.icmp_echo_ignore_broadcasts[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201222" version="1">
21038 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
21039 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21040 </ind-def:textfilecontent54_test>
21041 <!-- def:20123 -->
21042 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses file" id="oval:org.open-scap.f14:tst:201230" version="1">
21043 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201230"/>
21044 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21045 </ind-def:textfilecontent54_test>
21046 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.icmp_ignore_bogus_error_responses[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201231" version="1">
21047 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
21048 </ind-def:textfilecontent54_test>
21049 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.icmp_ignore_bogus_error_responses[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201232" version="1">
21050 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
21051 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21052 </ind-def:textfilecontent54_test>
21053 <!-- def:20124 -->
21054 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/tcp_syncookies file" id="oval:org.open-scap.f14:tst:201240" version="1">
21055 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201240"/>
21056 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21057 </ind-def:textfilecontent54_test>
21058 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.tcp_syncookies[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201241" version="1">
21059 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
21060 </ind-def:textfilecontent54_test>
21061 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.tcp_syncookies[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201242" version="1">
21062 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
21063 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21064 </ind-def:textfilecontent54_test>
21065 <!-- def:20125 -->
21066 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/all/rp_filter file" id="oval:org.open-scap.f14:tst:201250" version="1">
21067 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201250"/>
21068 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21069 </ind-def:textfilecontent54_test>
21070 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.all\.rp_filter[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201251" version="1">
21071 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
21072 </ind-def:textfilecontent54_test>
21073 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.all\.rp_filter[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201252" version="1">
21074 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
21075 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21076 </ind-def:textfilecontent54_test>
21077 <!-- def:20126 -->
21078 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv4/conf/default/rp_filter file" id="oval:org.open-scap.f14:tst:201260" version="1">
21079 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201260"/>
21080 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21081 </ind-def:textfilecontent54_test>
21082 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[\s]*net\.ipv4\.conf\.default\.rp_filter[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201261" version="1">
21083 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
21084 </ind-def:textfilecontent54_test>
21085 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[\s]*net\.ipv4\.conf\.default\.rp_filter[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201262" version="1">
21086 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
21087 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21088 </ind-def:textfilecontent54_test>
21089 <!-- ^^^ ok ^^^ -->
21090 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Look in /proc/net/wireless" id="oval:org.open-scap.f14:tst:20128" version="1">
21091 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20128"/>
21092 </ind-def:textfilecontent54_test>
21093 <unix-def:file_test check="all" check_existence="none_exist" comment="Actual file existence test" id="oval:org.open-scap.f14:tst:20129" version="1">
21094 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20129"/>
21095 </unix-def:file_test>
21096 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the &lt;:begin:&gt;alias[\s]+net-pf-10[\s]+off&lt;:end:&gt; setting in the /etc/modprobe.d/dist.conf file" id="oval:org.open-scap.f14:tst:20130" version="1">
21097 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20130"/>
21098 </ind-def:textfilecontent54_test>
21099 <!-- assuming the default is "no" i.e. if IPV6INIT is not present -->
21100 <ind-def:textfilecontent54_test check="all" check_existence="any_exist" comment="Tests the value of the ^[\s]*IPV6INIT[\s]*=[\s]*([^#]*) expression in the /etc/sysconfig/network file" id="oval:org.open-scap.f14:tst:20131" version="1">
21101 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20131"/>
21102 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20131"/>
21103 </ind-def:textfilecontent54_test>
21104 <ind-def:textfilecontent54_test check="all" check_existence="any_exist" comment="Tests the value of the ^[\s]*NETWORKING_IPV6[\s]*=[\s]*([^#]*) expression in the /etc/sysconfig/network file" id="oval:org.open-scap.f14:tst:20132" version="1">
21105 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20132"/>
21106 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20132"/>
21107 </ind-def:textfilecontent54_test>
21108 <ind-def:textfilecontent54_test check="all" check_existence="any_exist" comment="Tests the value of the ^[\s]*NETWORKING_IPV6[\s]*=[\s]*([^#]*) expression in the /etc/sysconfig/network-scripts/ifcfg-.* file" id="oval:org.open-scap.f14:tst:20133" version="1">
21109 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20133"/>
21110 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20133"/>
21111 </ind-def:textfilecontent54_test>
21112 <ind-def:textfilecontent54_test check="all" check_existence="any_exist" comment="Tests the value of the ^[\s]*IPV6INIT[\s]*=[\s]*([^#]*) expression in the /etc/sysconfig/network file" id="oval:org.open-scap.f14:tst:20134" version="1">
21113 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20134"/>
21114 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20134"/>
21115 </ind-def:textfilecontent54_test>
21116 <!-- sysctl (ip6) -->
21117 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv6/conf/default/router_solicitations file" id="oval:org.open-scap.f14:tst:201390" version="1">
21118 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201390"/>
21119 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
21120 </ind-def:textfilecontent54_test>
21121 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[[:space:]]*net\.ipv6\.conf\.default\.router_solicitations[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201391" version="1">
21122 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
21123 </ind-def:textfilecontent54_test>
21124 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[[:space:]]*net\.ipv6\.conf\.default\.router_solicitations[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201392" version="1">
21125 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
21126 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
21127 </ind-def:textfilecontent54_test>
21128 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv6/conf/default/accept_ra_rtr_pref file" id="oval:org.open-scap.f14:tst:201400" version="1">
21129 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201400"/>
21130 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21131 </ind-def:textfilecontent54_test>
21132 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_rtr_pref[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201401" version="1">
21133 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
21134 </ind-def:textfilecontent54_test>
21135 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_rtr_pref[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201402" version="1">
21136 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
21137 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21138 </ind-def:textfilecontent54_test>
21139 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv6/conf/default/accept_ra_pinfo file" id="oval:org.open-scap.f14:tst:201410" version="1">
21140 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201410"/>
21141 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21142 </ind-def:textfilecontent54_test>
21143 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_pinfo[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201411" version="1">
21144 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
21145 </ind-def:textfilecontent54_test>
21146 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_pinfo[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201412" version="1">
21147 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
21148 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21149 </ind-def:textfilecontent54_test>
21150 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv6/conf/default/accept_ra_defrtr file" id="oval:org.open-scap.f14:tst:201420" version="1">
21151 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201420"/>
21152 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21153 </ind-def:textfilecontent54_test>
21154 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_defrtr[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201421" version="1">
21155 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
21156 </ind-def:textfilecontent54_test>
21157 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_defrtr[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201422" version="1">
21158 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
21159 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21160 </ind-def:textfilecontent54_test>
21161 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv6/conf/default/autoconf file" id="oval:org.open-scap.f14:tst:201430" version="1">
21162 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201430"/>
21163 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21164 </ind-def:textfilecontent54_test>
21165 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[[:space:]]*net\.ipv6\.conf\.default\.autoconf[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201431" version="1">
21166 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
21167 </ind-def:textfilecontent54_test>
21168 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[[:space:]]*net\.ipv6\.conf\.default\.autoconf[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201432" version="1">
21169 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
21170 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21171 </ind-def:textfilecontent54_test>
21172 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv6/conf/default/dad_transmits file" id="oval:org.open-scap.f14:tst:201440" version="1">
21173 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201440"/>
21174 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
21175 </ind-def:textfilecontent54_test>
21176 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[[:space:]]*net\.ipv6\.conf\.default\.dad_transmits[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201441" version="1">
21177 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
21178 </ind-def:textfilecontent54_test>
21179 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[[:space:]]*net\.ipv6\.conf\.default\.dad_transmits[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201442" version="1">
21180 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
21181 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
21182 </ind-def:textfilecontent54_test>
21183 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /proc/sys/net/ipv6/conf/default/max_addresses file" id="oval:org.open-scap.f14:tst:201450" version="1">
21184 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201450"/>
21185 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
21186 </ind-def:textfilecontent54_test>
21187 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the presence of the ^[[:space:]]*net\.ipv6\.conf\.default\.max_addresses[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201451" version="1">
21188 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
21189 </ind-def:textfilecontent54_test>
21190 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ^[[:space:]]*net\.ipv6\.conf\.default\.max_addresses[[:space:]]*=[[:space:]]*([01])[[:space:]]*$ expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201452" version="1">
21191 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
21192 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
21193 </ind-def:textfilecontent54_test>
21194 <unix-def:runlevel_test check="at least one" check_existence="at_least_one_exists" comment="Check whether the ip6tables service is enabled" id="oval:org.open-scap.f14:tst:20146" version="1">
21195 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20146"/>
21196 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
21197 </unix-def:runlevel_test>
21198 <unix-def:runlevel_test check="at least one" check_existence="at_least_one_exists" comment="Check whether the iptables service is enabled" id="oval:org.open-scap.f14:tst:20147" version="1">
21199 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20147"/>
21200 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
21201 </unix-def:runlevel_test>
21202 <!--- New end -->
21203 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check /etc/sysconfig/iptables for line :INPUT DROP [0:0]" id="oval:org.open-scap.f14:tst:2014741" version="1">
21204 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014741"/>
21205 </ind-def:textfilecontent54_test>
21206 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check /etc/sysconfig/iptables for line :INPUT ACCEPT [0:0]" id="oval:org.open-scap.f14:tst:2014742" version="1">
21207 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014742"/>
21208 </ind-def:textfilecontent54_test>
21209 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check /etc/sysconfig/iptables for line :FORWARD DROP [0:0]" id="oval:org.open-scap.f14:tst:2014751" version="1">
21210 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014751"/>
21211 </ind-def:textfilecontent54_test>
21212 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check /etc/sysconfig/iptables for line :FORWARD ACCEPT [0:0]" id="oval:org.open-scap.f14:tst:2014752" version="1">
21213 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014752"/>
21214 </ind-def:textfilecontent54_test>
21215 <!--
21216 <ind-def:textfilecontent54_test id="oval:org.open-scap.f14:tst:201476" check_existence="at_least_one_exists" version="1" check="all" comment="Check /etc/modprobe.conf for line install DCCP /bin/true">
21217 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201476" />
21218 </ind-def:textfilecontent54_test>
21219 <ind-def:textfilecontent54_test id="oval:org.open-scap.f14:tst:201477" check_existence="at_least_one_exists" version="1" check="all" comment="Check /etc/modprobe.conf for line install SCTP /bin/true">
21220 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201477" />
21221 </ind-def:textfilecontent54_test>
21222 <ind-def:textfilecontent54_test id="oval:org.open-scap.f14:tst:201478" check_existence="at_least_one_exists" version="1" check="all" comment="Check /etc/modprobe.conf for line install RDS /bin/true">
21223 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201478" />
21224 </ind-def:textfilecontent54_test>
21225 <ind-def:textfilecontent54_test id="oval:org.open-scap.f14:tst:201479" check_existence="at_least_one_exists" version="1" check="all" comment="Check /etc/modprobe.conf for line install TIPC /bin/true">
21226 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201479" />
21227 </ind-def:textfilecontent54_test>
21228 -->
21229 <unix-def:runlevel_test check="at least one" check_existence="at_least_one_exists" comment="Check whether rsyslogd is enabled" id="oval:org.open-scap.f14:tst:20148" version="1">
21230 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20148"/>
21231 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20148"/>
21232 </unix-def:runlevel_test>
21233 <unix-def:file_test check="all" check_existence="any_exist" comment="If any of the mandatory log files exist, their owner must be set to root" id="oval:org.open-scap.f14:tst:20149" version="1">
21234 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
21235 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20149"/>
21236 </unix-def:file_test>
21237 <unix-def:file_test check="all" check_existence="all_exist" comment="root group owns log files" id="oval:org.open-scap.f14:tst:20150" version="1">
21238 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
21239 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20150"/>
21240 </unix-def:file_test>
21241 <unix-def:file_test check="all" check_existence="all_exist" comment="log files have correct permissions" id="oval:org.open-scap.f14:tst:20151" version="1">
21242 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
21243 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20151"/>
21244 </unix-def:file_test>
21245 <unix-def:password_test check="all" check_existence="at_least_one_exists" comment="Check if user exists" id="oval:org.open-scap.f14:tst:201491" version="1">
21246 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2014911"/>
21247 </unix-def:password_test>
21248 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Check if group exists" id="oval:org.open-scap.f14:tst:201501" version="1">
21249 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201501"/>
21250 </ind-def:textfilecontent54_test>
21251 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Tests the value of the \*\.\*[\s]+@ setting in the /etc/rsyslog.conf file" id="oval:org.open-scap.f14:tst:20152" version="1">
21252 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20152"/>
21253 </ind-def:textfilecontent54_test>
21254 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the SYSLOGD_OPTIONS[\s]*=[\s]*.*-r.* setting in the /etc/sysconfig/rsyslog file" id="oval:org.open-scap.f14:tst:20153" version="1">
21255 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20153"/>
21256 </ind-def:textfilecontent54_test>
21257 <!--
21258 <ind-def:textfilecontent54_test check_existence="all_exist" id="oval:org.open-scap.f14:tst:20154" version="1" check="all" comment="Find each file in /etc/syslog.conf in /etc/logrotate.d/syslog">
21259 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20154"/>
21260 </ind-def:textfilecontent54_test>
21261 -->
21262 <unix-def:runlevel_test check="at least one" check_existence="all_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20156" version="1">
21263 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20156"/>
21264 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20156"/>
21265 </unix-def:runlevel_test>
21266 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check for audit=1 in /etc/grub.conf" id="oval:org.open-scap.f14:tst:20157" version="1">
21267 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20157"/>
21268 </ind-def:textfilecontent54_test>
21269 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b32 -S adjtimex -S settimeofday -S stime -k time-change" id="oval:org.open-scap.f14:tst:2015750" version="1">
21270 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015750"/>
21271 </ind-def:textfilecontent54_test>
21272 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b32 -S clock_settime -k time-change" id="oval:org.open-scap.f14:tst:2015751" version="1">
21273 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015751"/>
21274 </ind-def:textfilecontent54_test>
21275 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b64 -S adjtimex -S settimeofday -S stime -k time-change" id="oval:org.open-scap.f14:tst:2015752" version="1">
21276 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015752"/>
21277 </ind-def:textfilecontent54_test>
21278 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b64 -S clock_settime -k time-change" id="oval:org.open-scap.f14:tst:2015753" version="1">
21279 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015753"/>
21280 </ind-def:textfilecontent54_test>
21281 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/localtime -p wa -k time-change" id="oval:org.open-scap.f14:tst:2015754" version="1">
21282 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015754"/>
21283 </ind-def:textfilecontent54_test>
21284 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/group -p wa -k identity" id="oval:org.open-scap.f14:tst:201580" version="1">
21285 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201580"/>
21286 </ind-def:textfilecontent54_test>
21287 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/passwd -p wa -k identity" id="oval:org.open-scap.f14:tst:201581" version="1">
21288 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201581"/>
21289 </ind-def:textfilecontent54_test>
21290 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/gshadow -p wa -k identity" id="oval:org.open-scap.f14:tst:201582" version="1">
21291 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201582"/>
21292 </ind-def:textfilecontent54_test>
21293 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/shadow -p wa -k identity" id="oval:org.open-scap.f14:tst:201583" version="1">
21294 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201583"/>
21295 </ind-def:textfilecontent54_test>
21296 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/security/opasswd -p wa -k identity" id="oval:org.open-scap.f14:tst:201584" version="1">
21297 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201584"/>
21298 </ind-def:textfilecontent54_test>
21299 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a exit,always -F arch=b32 -S sethostname -S setdomainname -k system-locale" id="oval:org.open-scap.f14:tst:201590" version="1">
21300 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201590"/>
21301 </ind-def:textfilecontent54_test>
21302 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a exit,always -F arch=b64 -S sethostname -S setdomainname -k system-locale" id="oval:org.open-scap.f14:tst:201591" version="1">
21303 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201591"/>
21304 </ind-def:textfilecontent54_test>
21305 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/issue -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201592" version="1">
21306 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201592"/>
21307 </ind-def:textfilecontent54_test>
21308 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/issue.net -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201593" version="1">
21309 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201593"/>
21310 </ind-def:textfilecontent54_test>
21311 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/hosts -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201594" version="1">
21312 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201594"/>
21313 </ind-def:textfilecontent54_test>
21314 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/sysconfig/network -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201595" version="1">
21315 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201595"/>
21316 </ind-def:textfilecontent54_test>
21317 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/selinux/ -p wa -k MAC-policy" id="oval:org.open-scap.f14:tst:20160" version="1">
21318 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20160"/>
21319 </ind-def:textfilecontent54_test>
21320 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /var/log/faillog -p wa -k logins" id="oval:org.open-scap.f14:tst:201610" version="1">
21321 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201610"/>
21322 </ind-def:textfilecontent54_test>
21323 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /var/log/lastlog -p wa -k logins" id="oval:org.open-scap.f14:tst:201611" version="1">
21324 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201611"/>
21325 </ind-def:textfilecontent54_test>
21326 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /var/run/utmp -p wa -k session" id="oval:org.open-scap.f14:tst:201620" version="1">
21327 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201620"/>
21328 </ind-def:textfilecontent54_test>
21329 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /var/log/btmp -p wa -k session" id="oval:org.open-scap.f14:tst:201621" version="1">
21330 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201621"/>
21331 </ind-def:textfilecontent54_test>
21332 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /var/log/wtmp -p wa -k session" id="oval:org.open-scap.f14:tst:201622" version="1">
21333 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201622"/>
21334 </ind-def:textfilecontent54_test>
21335 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chmod -S fchmod -S fchmodat -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" id="oval:org.open-scap.f14:tst:201630" version="1">
21336 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201630"/>
21337 </ind-def:textfilecontent54_test>
21338 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chown -S fchown -S fchownat -S lchown -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" id="oval:org.open-scap.f14:tst:201631" version="1">
21339 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201631"/>
21340 </ind-def:textfilecontent54_test>
21341 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S setxattr -S lsetxattr -S fsetxattr -S removexattr -S lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" id="oval:org.open-scap.f14:tst:201632" version="1">
21342 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201632"/>
21343 </ind-def:textfilecontent54_test>
21344 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chmod -S fchmod -S fchmodat -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" id="oval:org.open-scap.f14:tst:201633" version="1">
21345 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201633"/>
21346 </ind-def:textfilecontent54_test>
21347 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S chown -S fchown -S fchownat -S lchown -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" id="oval:org.open-scap.f14:tst:201634" version="1">
21348 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201634"/>
21349 </ind-def:textfilecontent54_test>
21350 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S setxattr -S lsetxattr -S fsetxattr -S removexattr -S lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod" id="oval:org.open-scap.f14:tst:201635" version="1">
21351 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201635"/>
21352 </ind-def:textfilecontent54_test>
21353 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access" id="oval:org.open-scap.f14:tst:201640" version="1">
21354 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201640"/>
21355 </ind-def:textfilecontent54_test>
21356 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access" id="oval:org.open-scap.f14:tst:201641" version="1">
21357 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201641"/>
21358 </ind-def:textfilecontent54_test>
21359 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access" id="oval:org.open-scap.f14:tst:201642" version="1">
21360 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201642"/>
21361 </ind-def:textfilecontent54_test>
21362 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access" id="oval:org.open-scap.f14:tst:201643" version="1">
21363 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201643"/>
21364 </ind-def:textfilecontent54_test>
21365 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F path=/bin/ping -F perm=x -F auid&gt;=500 -F auid!=4294967295 -k privileged" id="oval:org.open-scap.f14:tst:20165" version="1">
21366 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20165"/>
21367 </ind-def:textfilecontent54_test>
21368 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export" id="oval:org.open-scap.f14:tst:201660" version="1">
21369 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201660"/>
21370 </ind-def:textfilecontent54_test>
21371 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export" id="oval:org.open-scap.f14:tst:201661" version="1">
21372 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201661"/>
21373 </ind-def:textfilecontent54_test>
21374 <unix-def:uname_test check="all" comment="check architecture is 32 bit" id="oval:org.open-scap.f14:tst:201670" version="1">
21375 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
21376 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201670"/>
21377 </unix-def:uname_test>
21378 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b32 -S unlink -S unlinkat -S rename -S renameat -F auid&gt;=500 -F auid!=4294967295 -k delete" id="oval:org.open-scap.f14:tst:201671" version="1">
21379 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201671"/>
21380 </ind-def:textfilecontent54_test>
21381 <unix-def:uname_test check="all" comment="check architecture is 64 bit" id="oval:org.open-scap.f14:tst:201672" version="1">
21382 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
21383 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201672"/>
21384 </unix-def:uname_test>
21385 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -F arch=b64 -S unlink -S unlinkat -S rename -S renameat -F auid&gt;=500 -F auid!=4294967295 -k delete" id="oval:org.open-scap.f14:tst:201673" version="1">
21386 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201673"/>
21387 </ind-def:textfilecontent54_test>
21388 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /etc/sudoers -p wa -k actions" id="oval:org.open-scap.f14:tst:20168" version="1">
21389 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20168"/>
21390 </ind-def:textfilecontent54_test>
21391 <!-- <ind-def:textfilecontent54_test check_existence="at_least_one_exists" id="oval:org.open-scap.f14:tst:2016851" version="1" check="all" comment="/etc/audit/audit.rules contains -w /sbin/insmod -p x -k modules">
21392 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016861"/>
21393 </ind-def:textfilecontent54_test> -->
21394 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /sbin/rmmod -p x -k modules" id="oval:org.open-scap.f14:tst:2016852" version="1">
21395 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016852"/>
21396 </ind-def:textfilecontent54_test>
21397 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -w /sbin/modprobe -p x -k modules" id="oval:org.open-scap.f14:tst:2016853" version="1">
21398 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016853"/>
21399 </ind-def:textfilecontent54_test>
21400 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="/etc/audit/audit.rules contains -a always,exit -S init_module -S delete_module -k modules" id="oval:org.open-scap.f14:tst:2016854" version="1">
21401 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016854"/>
21402 </ind-def:textfilecontent54_test>
21403 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="look in /etc/audit/audit.rules for -e 2" id="oval:org.open-scap.f14:tst:20169" version="1">
21404 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20169"/>
21405 </ind-def:textfilecontent54_test>
21406 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20170" version="1">
21407 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20170"/>
21408 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21409 </unix-def:runlevel_test>
21410 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20171" version="1">
21411 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20171"/>
21412 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21413 </unix-def:runlevel_test>
21414 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201745" version="1">
21415 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201745"/>
21416 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21417 </ind-def:textfilecontent54_test>
21418 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201774" version="1">
21419 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201774"/>
21420 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21421 </ind-def:textfilecontent54_test>
21422 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201775" version="1">
21423 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201775"/>
21424 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21425 </ind-def:textfilecontent54_test>
21426 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201776" version="1">
21427 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201776"/>
21428 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21429 </ind-def:textfilecontent54_test>
21430 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Xinetd services test" id="oval:org.open-scap.f14:tst:20178" version="1">
21431 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20178"/>
21432 </ind-def:textfilecontent54_test>
21433 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201825" version="1">
21434 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201825"/>
21435 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21436 </ind-def:textfilecontent54_test>
21437 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The inetd package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20179" version="1">
21438 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20179"/>
21439 </lin-def:rpminfo_test>
21440 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The inetd package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20172" version="1">
21441 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20172"/>
21442 </lin-def:rpminfo_test>
21443 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The xinetd package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20173" version="1">
21444 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20173"/>
21445 </lin-def:rpminfo_test>
21446 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The telnet-server package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20174" version="1">
21447 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20174"/>
21448 </lin-def:rpminfo_test>
21449 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The telnet-server package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20175" version="1">
21450 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20175"/>
21451 </lin-def:rpminfo_test>
21452 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The telnet-server package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20176" version="1">
21453 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20176"/>
21454 </lin-def:rpminfo_test>
21455 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The rsh-server package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20177" version="1">
21456 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20177"/>
21457 </lin-def:rpminfo_test>
21458 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The ypserv package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20180" version="1">
21459 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20180"/>
21460 </lin-def:rpminfo_test>
21461 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20181" version="1">
21462 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20181"/>
21463 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21464 </unix-def:runlevel_test>
21465 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The tftp-server package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20182" version="1">
21466 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20182"/>
21467 </lin-def:rpminfo_test>
21468 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20183" version="1">
21469 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20183"/>
21470 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21471 </unix-def:runlevel_test>
21472 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20184" version="1">
21473 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20184"/>
21474 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21475 </unix-def:runlevel_test>
21476 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20185" version="1">
21477 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20185"/>
21478 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21479 </unix-def:runlevel_test>
21480 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20186" version="1">
21481 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20186"/>
21482 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21483 </unix-def:runlevel_test>
21484 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20187" version="1">
21485 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20187"/>
21486 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21487 </unix-def:runlevel_test>
21488 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20188" version="1">
21489 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20188"/>
21490 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21491 </unix-def:runlevel_test>
21492 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20189" version="1">
21493 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20189"/>
21494 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21495 </unix-def:runlevel_test>
21496 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20190" version="1">
21497 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20190"/>
21498 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21499 </unix-def:runlevel_test>
21500 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20191" version="1">
21501 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20191"/>
21502 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21503 </unix-def:runlevel_test>
21504 <unix-def:file_test check="all" check_existence="none_exist" comment="check for ifcfg-interface in /etc/sysconfig/network-scripts" id="oval:org.open-scap.f14:tst:20192" version="1">
21505 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20192"/>
21506 </unix-def:file_test>
21507 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check NOZEROCONF=yes in /etc/sysconfig/network" id="oval:org.open-scap.f14:tst:20193" version="1">
21508 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20193"/>
21509 </ind-def:textfilecontent54_test>
21510 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20194" version="1">
21511 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20194"/>
21512 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21513 </unix-def:runlevel_test>
21514 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20195" version="1">
21515 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20195"/>
21516 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21517 </unix-def:runlevel_test>
21518 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20196" version="1">
21519 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20196"/>
21520 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21521 </unix-def:runlevel_test>
21522 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20197" version="1">
21523 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20197"/>
21524 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21525 </unix-def:runlevel_test>
21526 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20198" version="1">
21527 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20198"/>
21528 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21529 </unix-def:runlevel_test>
21530 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20199" version="1">
21531 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20199"/>
21532 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21533 </unix-def:runlevel_test>
21534 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20200" version="1">
21535 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20200"/>
21536 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21537 </unix-def:runlevel_test>
21538 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20201" version="1">
21539 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20201"/>
21540 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21541 </unix-def:runlevel_test>
21542 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="net-pf-31 is off in /etc/modprobe.conf" id="oval:org.open-scap.f14:tst:2020151" version="1">
21543 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020151"/>
21544 </ind-def:textfilecontent54_test>
21545 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="bluetooth is off in /etc/modprobe.conf" id="oval:org.open-scap.f14:tst:2020152" version="1">
21546 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020152"/>
21547 </ind-def:textfilecontent54_test>
21548 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20202" version="1">
21549 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20202"/>
21550 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21551 </unix-def:runlevel_test>
21552 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20203" version="1">
21553 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20203"/>
21554 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21555 </unix-def:runlevel_test>
21556 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20204" version="1">
21557 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20204"/>
21558 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21559 </unix-def:runlevel_test>
21560 <unix-def:runlevel_test check="at least one" check_existence="at_least_one_exists" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20205" version="1">
21561 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20205"/>
21562 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20172"/>
21563 </unix-def:runlevel_test>
21564 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:202052" version="1">
21565 <unix-def:object object_ref="oval:org.open-scap.f14:obj:202052"/>
21566 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21567 </unix-def:runlevel_test>
21568 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="Is the at package installed?" id="oval:org.open-scap.f14:tst:202053" version="1">
21569 <lin-def:object object_ref="oval:org.open-scap.f14:obj:202053"/>
21570 </lin-def:rpminfo_test>
21571 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20206" version="1">
21572 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20206"/>
21573 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21574 </unix-def:runlevel_test>
21575 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The anacron package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20207" version="1">
21576 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20207"/>
21577 </lin-def:rpminfo_test>
21578 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20208" version="1">
21579 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20208"/>
21580 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20208"/>
21581 </unix-def:file_test>
21582 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20209" version="1">
21583 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20209"/>
21584 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20209"/>
21585 </unix-def:file_test>
21586 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20210" version="1">
21587 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20210"/>
21588 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20210"/>
21589 </unix-def:file_test>
21590 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20211" version="1">
21591 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20211"/>
21592 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20211"/>
21593 </unix-def:file_test>
21594 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20212" version="1">
21595 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20212"/>
21596 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20212"/>
21597 </unix-def:file_test>
21598 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20213" version="1">
21599 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20213"/>
21600 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20213"/>
21601 </unix-def:file_test>
21602 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20214" version="1">
21603 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20214"/>
21604 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20214"/>
21605 </unix-def:file_test>
21606 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20215" version="1">
21607 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20215"/>
21608 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20215"/>
21609 </unix-def:file_test>
21610 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20216" version="1">
21611 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20216"/>
21612 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20216"/>
21613 </unix-def:file_test>
21614 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20217" version="1">
21615 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20217"/>
21616 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20217"/>
21617 </unix-def:file_test>
21618 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20218" version="1">
21619 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20218"/>
21620 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20218"/>
21621 </unix-def:file_test>
21622 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20219" version="1">
21623 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20219"/>
21624 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20219"/>
21625 </unix-def:file_test>
21626 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20220" version="1">
21627 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20220"/>
21628 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20220"/>
21629 </unix-def:file_test>
21630 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20221" version="1">
21631 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20221"/>
21632 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20221"/>
21633 </unix-def:file_test>
21634 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20222" version="1">
21635 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20222"/>
21636 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20222"/>
21637 </unix-def:file_test>
21638 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20223" version="1">
21639 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20223"/>
21640 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20223"/>
21641 </unix-def:file_test>
21642 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20224" version="1">
21643 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20224"/>
21644 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20224"/>
21645 </unix-def:file_test>
21646 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20225" version="1">
21647 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20225"/>
21648 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20225"/>
21649 </unix-def:file_test>
21650 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20226" version="1">
21651 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20226"/>
21652 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20226"/>
21653 </unix-def:file_test>
21654 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20227" version="1">
21655 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20227"/>
21656 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20227"/>
21657 </unix-def:file_test>
21658 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20228" version="1">
21659 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20228"/>
21660 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20228"/>
21661 </unix-def:file_test>
21662 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20229" version="1">
21663 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21664 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20229"/>
21665 </unix-def:file_test>
21666 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20230" version="1">
21667 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21668 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20230"/>
21669 </unix-def:file_test>
21670 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20231" version="1">
21671 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21672 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20231"/>
21673 </unix-def:file_test>
21674 <unix-def:file_test check="all" check_existence="none_exist" comment="Existence check of /etc/cron.deny" id="oval:org.open-scap.f14:tst:20232" version="1">
21675 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20232"/>
21676 </unix-def:file_test>
21677 <unix-def:file_test check="all" check_existence="none_exist" comment="Existence check of /etc/at.deny" id="oval:org.open-scap.f14:tst:20233" version="1">
21678 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20233"/>
21679 </unix-def:file_test>
21680 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20234" version="1">
21681 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20234"/>
21682 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21683 </unix-def:runlevel_test>
21684 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The openssh-server package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20235" version="1">
21685 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20235"/>
21686 </lin-def:rpminfo_test>
21687 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Inbound connections to the ssh port should be denied" id="oval:org.open-scap.f14:tst:20236" version="1">
21688 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20236"/>
21689 </ind-def:textfilecontent54_test>
21690 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Inbound connections to the ssh port should be denied" id="oval:org.open-scap.f14:tst:20237" version="1">
21691 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20237"/>
21692 </ind-def:textfilecontent54_test>
21693 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the Protocol[\s]&lt;:nocomment:&gt;1 setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20238" version="1">
21694 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20238"/>
21695 </ind-def:textfilecontent54_test>
21696 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ClientAliveInterval setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20239" version="1">
21697 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20239"/>
21698 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20239"/>
21699 </ind-def:textfilecontent54_test>
21700 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ClientAliveCountMax setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20240" version="1">
21701 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20240"/>
21702 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20240"/>
21703 </ind-def:textfilecontent54_test>
21704 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the IgnoreRhosts[\s]*(&lt;:nocomment:&gt;*) setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20241" version="1">
21705 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20241"/>
21706 </ind-def:textfilecontent54_test>
21707 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the HostbasedAuthentication[\s]*(&lt;:nocomment:&gt;*) setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20242" version="1">
21708 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20242"/>
21709 </ind-def:textfilecontent54_test>
21710 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the PermitRootLogin[\s]*(&lt;:nocomment:&gt;*) setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20243" version="1">
21711 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20243"/>
21712 </ind-def:textfilecontent54_test>
21713 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the PermitEmptyPasswords[\s]*(&lt;:nocomment:&gt;*) setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20244" version="1">
21714 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20244"/>
21715 </ind-def:textfilecontent54_test>
21716 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the Banner[\s]+/etc/issue setting in the /etc/ssh/sshd_config file" id="oval:org.open-scap.f14:tst:20245" version="1">
21717 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20245"/>
21718 </ind-def:textfilecontent54_test>
21719 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Check value of PermitUserEnvironment in /etc/ssh/sshd_config" id="oval:org.open-scap.f14:tst:202455" version="1">
21720 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202455"/>
21721 </ind-def:textfilecontent54_test>
21722 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Check value of Ciphers in /etc/ssh/sshd_config" id="oval:org.open-scap.f14:tst:202456" version="1">
21723 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202456"/>
21724 <ind-def:state state_ref="oval:org.open-scap.f14:ste:202456"/>
21725 </ind-def:textfilecontent54_test>
21726 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the id:([^:]*):initdefault: expression in the /etc/inittab file" id="oval:org.open-scap.f14:tst:20246" version="1">
21727 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20246"/>
21728 <ind-def:state state_ref="oval:org.open-scap.f14:ste:87"/>
21729 </ind-def:textfilecontent54_test>
21730 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Check for existence of line exec X :0 -nolisten tcp $@ in file /etc/X11/xinit/xserverrc" id="oval:org.open-scap.f14:tst:20248" version="1">
21731 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20248"/>
21732 </ind-def:textfilecontent54_test>
21733 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the InfoMsgFile=/etc/issue expression in the /etc/gdm/custom.conf file" id="oval:org.open-scap.f14:tst:20249" version="1">
21734 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20249"/>
21735 </ind-def:textfilecontent54_test>
21736 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20250" version="1">
21737 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20250"/>
21738 </unix-def:runlevel_test>
21739 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20251" version="1"/>
21740 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20252" version="1"/>
21741 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the check-response-ttl[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20253" version="1">
21742 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20253"/>
21743 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20253"/>
21744 </ind-def:textfilecontent54_test>
21745 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the disallow-other-stacks[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20254" version="1">
21746 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20254"/>
21747 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20254"/>
21748 </ind-def:textfilecontent54_test>
21749 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the disable-publishing[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20255" version="1">
21750 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20255"/>
21751 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20255"/>
21752 </ind-def:textfilecontent54_test>
21753 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the disable-user-service-publishing[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20256" version="1">
21754 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20256"/>
21755 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20256"/>
21756 </ind-def:textfilecontent54_test>
21757 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the publish-hinfo[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20257" version="1">
21758 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20257"/>
21759 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20257"/>
21760 </ind-def:textfilecontent54_test>
21761 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the publish-workstation[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20258" version="1">
21762 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20258"/>
21763 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20258"/>
21764 </ind-def:textfilecontent54_test>
21765 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the publish-addresses[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20259" version="1">
21766 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20259"/>
21767 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20259"/>
21768 </ind-def:textfilecontent54_test>
21769 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the publish-domain[\s]*=[\s]*([^#]*) expression in the /etc/avahi/avahi-daemon.conf file" id="oval:org.open-scap.f14:tst:20260" version="1">
21770 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20260"/>
21771 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20260"/>
21772 </ind-def:textfilecontent54_test>
21773 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20261" version="1">
21774 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20261"/>
21775 </unix-def:runlevel_test>
21776 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the Browsing[\s]+([^#]*) expression in the /etc/cups/cupsd.conf file" id="oval:org.open-scap.f14:tst:20264" version="1">
21777 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20264"/>
21778 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20264"/>
21779 </ind-def:textfilecontent54_test>
21780 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the BrowseAllow[\s]+none setting in the /etc/cups/cupsd.conf file" id="oval:org.open-scap.f14:tst:20265" version="1">
21781 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20265"/>
21782 </ind-def:textfilecontent54_test>
21783 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20266" version="1">
21784 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20266"/>
21785 </unix-def:runlevel_test>
21786 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the &lt;:begin:&gt;BOOTPROTO[\s]*=[\s]*(&lt;:nocomment:&gt;*) setting in the /etc/sysconfig/network-scripts/ifcfg-eth.* file" id="oval:org.open-scap.f14:tst:20267" version="1">
21787 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20267"/>
21788 </ind-def:textfilecontent54_test>
21789 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20268" version="1">
21790 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20268"/>
21791 </unix-def:runlevel_test>
21792 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The dhcp package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20269" version="1">
21793 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20269"/>
21794 </lin-def:rpminfo_test>
21795 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the ddns-update-style[\s]+none; setting in the /etc/dhcpd.conf file" id="oval:org.open-scap.f14:tst:20270" version="1">
21796 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20270"/>
21797 </ind-def:textfilecontent54_test>
21798 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the deny[\s]+declines; setting in the /etc/dhcpd.conf file" id="oval:org.open-scap.f14:tst:20271" version="1">
21799 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20271"/>
21800 </ind-def:textfilecontent54_test>
21801 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the deny[\s]+bootp; setting in the /etc/dhcpd.conf file" id="oval:org.open-scap.f14:tst:20272" version="1">
21802 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20272"/>
21803 </ind-def:textfilecontent54_test>
21804 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the daemon\.\*[\s]+/var/log/daemon\.log setting in the /etc/syslog.conf file" id="oval:org.open-scap.f14:tst:20280" version="1">
21805 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20280"/>
21806 </ind-def:textfilecontent54_test>
21807 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20281" version="1">
21808 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20281"/>
21809 </unix-def:runlevel_test>
21810 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the restrict[\s]+default[\s]+ignore setting in the /etc/ntp.conf file" id="oval:org.open-scap.f14:tst:20282" version="1">
21811 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20282"/>
21812 </ind-def:textfilecontent54_test>
21813 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the /usr/local/sbin/ntpd -s setting in the /etc/rc.local file" id="oval:org.open-scap.f14:tst:20285" version="1">
21814 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20285"/>
21815 </ind-def:textfilecontent54_test>
21816 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20287" version="1">
21817 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20287"/>
21818 </unix-def:runlevel_test>
21819 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the DAEMON[\s]*=[\s]*yes setting in the /etc/sysconfig/sendmail file" id="oval:org.open-scap.f14:tst:20288" version="1">
21820 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20288"/>
21821 </ind-def:textfilecontent54_test>
21822 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Tests the value of the tls_checkpeer[\s]+yes setting in the /etc/ldap.conf file" id="oval:org.open-scap.f14:tst:202885" version="1">
21823 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202885"/>
21824 </ind-def:textfilecontent54_test>
21825 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20289" version="1">
21826 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20289"/>
21827 </unix-def:runlevel_test>
21828 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20290" version="1">
21829 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20290"/>
21830 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20290"/>
21831 </unix-def:file_test>
21832 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20291" version="1">
21833 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20291"/>
21834 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20291"/>
21835 </unix-def:file_test>
21836 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20292" version="1">
21837 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20292"/>
21838 </unix-def:runlevel_test>
21839 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20293" version="1">
21840 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20293"/>
21841 </unix-def:runlevel_test>
21842 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20294" version="1">
21843 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20294"/>
21844 </unix-def:runlevel_test>
21845 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20295" version="1">
21846 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20295"/>
21847 </unix-def:runlevel_test>
21848 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20296" version="1">
21849 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20296"/>
21850 </unix-def:runlevel_test>
21851 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the LOCKD_TCPPORT[\s]*=[\s]*[0-9] setting in the /etc/sysconfig/nfs file" id="oval:org.open-scap.f14:tst:20297" version="1">
21852 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20297"/>
21853 </ind-def:textfilecontent54_test>
21854 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the STATD_OUTGOING_PORT[\s]*=[\s]*[0-9] setting in the /etc/sysconfig/nfs file" id="oval:org.open-scap.f14:tst:20298" version="1">
21855 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20298"/>
21856 </ind-def:textfilecontent54_test>
21857 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the STATD_PORT[\s]*=[\s]*[0-9] setting in the /etc/sysconfig/nfs file" id="oval:org.open-scap.f14:tst:20299" version="1">
21858 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20299"/>
21859 </ind-def:textfilecontent54_test>
21860 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the LOCKD_UDPPORT[\s]*=[\s]*[0-9] setting in the /etc/sysconfig/nfs file" id="oval:org.open-scap.f14:tst:20300" version="1">
21861 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20300"/>
21862 </ind-def:textfilecontent54_test>
21863 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the MOUNTD_PORT[\s]*=[\s]*[0-9] setting in the /etc/sysconfig/nfs file" id="oval:org.open-scap.f14:tst:20301" version="1">
21864 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20301"/>
21865 </ind-def:textfilecontent54_test>
21866 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the RQUOTAD_PORT[\s]*=[\s]*[0-9] setting in the /etc/sysconfig/nfs file" id="oval:org.open-scap.f14:tst:20302" version="1">
21867 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20302"/>
21868 </ind-def:textfilecontent54_test>
21869 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20303" version="1">
21870 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20303"/>
21871 </unix-def:runlevel_test>
21872 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20304" version="1">
21873 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20304"/>
21874 </unix-def:runlevel_test>
21875 <!-- <ind-def:textfilecontent54_test check_existence="all_exist" id="oval:org.open-scap.f14:tst:203051" version="1" check="all" comment="if type is nfs[4] in /etc/fstab options should contain nodev">
21876 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
21877 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203051"/>
21878 </ind-def:textfilecontent54_test> -->
21879 <!-- <ind-def:textfilecontent54_test check_existence="all_exist" id="oval:org.open-scap.f14:tst:203052" version="1" check="all" comment="if type is nfs[4] in /etc/mtab options should contain nodev">
21880 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
21881 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203052"/>
21882 </ind-def:textfilecontent54_test> -->
21883 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the no_root_squash setting in the /etc/exports file" id="oval:org.open-scap.f14:tst:20308" version="1">
21884 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20308"/>
21885 </ind-def:textfilecontent54_test>
21886 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the insecure setting in the /etc/exports file" id="oval:org.open-scap.f14:tst:20309" version="1">
21887 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20309"/>
21888 </ind-def:textfilecontent54_test>
21889 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the rw setting in the /etc/exports file" id="oval:org.open-scap.f14:tst:20310" version="1">
21890 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20310"/>
21891 </ind-def:textfilecontent54_test>
21892 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20311" version="1">
21893 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20311"/>
21894 </unix-def:runlevel_test>
21895 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The bind package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20312" version="1">
21896 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20312"/>
21897 </lin-def:rpminfo_test>
21898 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20313" version="1">
21899 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20313"/>
21900 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20313"/>
21901 </unix-def:file_test>
21902 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20314" version="1">
21903 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20314"/>
21904 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20314"/>
21905 </unix-def:file_test>
21906 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20315" version="1">
21907 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20315"/>
21908 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20315"/>
21909 </unix-def:file_test>
21910 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20317" version="1">
21911 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20317"/>
21912 </unix-def:runlevel_test>
21913 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The vsftpd package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:203175" version="1">
21914 <lin-def:object object_ref="oval:org.open-scap.f14:obj:203175"/>
21915 </lin-def:rpminfo_test>
21916 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the banner_file[\s]*=[\s]*/etc/issue setting in the /etc/vsftpd.conf file" id="oval:org.open-scap.f14:tst:20319" version="1">
21917 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20319"/>
21918 </ind-def:textfilecontent54_test>
21919 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20322" version="1">
21920 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20322"/>
21921 </unix-def:runlevel_test>
21922 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The httpd package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20323" version="1">
21923 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20323"/>
21924 </lin-def:rpminfo_test>
21925 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ServerTokens[\s]+([^#]*) expression in the /etc/httpd/conf/httpd.conf file" id="oval:org.open-scap.f14:tst:20324" version="1">
21926 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20324"/>
21927 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20324"/>
21928 </ind-def:textfilecontent54_test>
21929 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ServerSignature[\s]+([^#]*) expression in the /etc/httpd/conf/httpd.conf file" id="oval:org.open-scap.f14:tst:20325" version="1">
21930 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20325"/>
21931 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20325"/>
21932 </ind-def:textfilecontent54_test>
21933 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20326" version="1">
21934 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20326"/>
21935 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20326"/>
21936 </unix-def:file_test>
21937 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20327" version="1">
21938 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20327"/>
21939 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20327"/>
21940 </unix-def:file_test>
21941 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20328" version="1">
21942 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20328"/>
21943 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20328"/>
21944 </unix-def:file_test>
21945 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20329" version="1">
21946 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20329"/>
21947 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20329"/>
21948 </unix-def:file_test>
21949 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20330" version="1">
21950 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20330"/>
21951 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20330"/>
21952 </unix-def:file_test>
21953 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20331" version="1">
21954 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20331"/>
21955 </unix-def:runlevel_test>
21956 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The dovecot package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20332" version="1">
21957 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20332"/>
21958 </lin-def:rpminfo_test>
21959 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the protocols[\s]*=.*imaps setting in the /etc/dovecot.conf file" id="oval:org.open-scap.f14:tst:20333" version="1">
21960 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20333"/>
21961 </ind-def:textfilecontent54_test>
21962 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the protocols[\s]*=.*pop3s setting in the /etc/dovecot.conf file" id="oval:org.open-scap.f14:tst:20334" version="1">
21963 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20334"/>
21964 </ind-def:textfilecontent54_test>
21965 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the protocols[\s]*=.*pop3 setting in the /etc/dovecot.conf file" id="oval:org.open-scap.f14:tst:20335" version="1">
21966 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20335"/>
21967 </ind-def:textfilecontent54_test>
21968 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Tests the value of the protocols[\s]*=.*imap setting in the /etc/dovecot.conf file" id="oval:org.open-scap.f14:tst:20336" version="1">
21969 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20336"/>
21970 </ind-def:textfilecontent54_test>
21971 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the disable_plaintext_auth[\s]*=[\s]*([^#]*) expression in the /etc/dovecot.conf file" id="oval:org.open-scap.f14:tst:20337" version="1">
21972 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20337"/>
21973 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20337"/>
21974 </ind-def:textfilecontent54_test>
21975 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the mail_drop_priv_before_exec[\s]*=[\s]*([^#]*) expression in the /etc/dovecot.conf file" id="oval:org.open-scap.f14:tst:20338" version="1">
21976 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20338"/>
21977 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20338"/>
21978 </ind-def:textfilecontent54_test>
21979 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the login_process_per_connection[\s]*=[\s]*([^#]*) expression in the /etc/dovecot.conf file" id="oval:org.open-scap.f14:tst:20339" version="1">
21980 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20339"/>
21981 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20339"/>
21982 </ind-def:textfilecontent54_test>
21983 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20340" version="1">
21984 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20340"/>
21985 </unix-def:runlevel_test>
21986 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="check guest access in /etc/samba/smb.conf" id="oval:org.open-scap.f14:tst:203403" version="1">
21987 <ind-def:object object_ref="oval:org.open-scap.f14:obj:203403"/>
21988 </ind-def:textfilecontent54_test>
21989 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check for client signing = mandatory in /etc/samba/smb.conf" id="oval:org.open-scap.f14:tst:2034010" version="1">
21990 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2034010"/>
21991 </ind-def:textfilecontent54_test>
21992 <!-- <ind-def:textfilecontent54_test check_existence="at_least_one_exists" id="oval:org.open-scap.f14:tst:20340111" version="1" check="all" comment="check for sec=krb5i or sec=ntlmv2i in /etc/fstab" state_operator="OR"> -->
21993 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check for sec=krb5i or sec=ntlmv2i in /etc/fstab" id="oval:org.open-scap.f14:tst:20340111" version="1">
21994 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340111"/>
21995 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
21996 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
21997 </ind-def:textfilecontent54_test>
21998 <!-- <ind-def:textfilecontent54_test check_existence="at_least_one_exists" id="oval:org.open-scap.f14:tst:20340112" version="1" check="all" comment="check for sec=krb5i or sec=ntlmv2i in /etc/mtab" state_operator="OR"> -->
21999 <ind-def:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="check for sec=krb5i or sec=ntlmv2i in /etc/mtab" id="oval:org.open-scap.f14:tst:20340112" version="1">
22000 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340112"/>
22001 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
22002 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
22003 </ind-def:textfilecontent54_test>
22004 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20341" version="1">
22005 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20341"/>
22006 </unix-def:runlevel_test>
22007 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The squid package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20342" version="1">
22008 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20342"/>
22009 </lin-def:rpminfo_test>
22010 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ftp_passive[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20343" version="1">
22011 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20343"/>
22012 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20343"/>
22013 </ind-def:textfilecontent54_test>
22014 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ftp_sanitycheck[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20344" version="1">
22015 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20344"/>
22016 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20344"/>
22017 </ind-def:textfilecontent54_test>
22018 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the check_hostnames[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20345" version="1">
22019 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20345"/>
22020 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20345"/>
22021 </ind-def:textfilecontent54_test>
22022 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the request_header_max_size[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20346" version="1">
22023 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20346"/>
22024 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20346"/>
22025 </ind-def:textfilecontent54_test>
22026 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the reply_header_max_size[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20347" version="1">
22027 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20347"/>
22028 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20347"/>
22029 </ind-def:textfilecontent54_test>
22030 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the cache_effective_user[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20348" version="1">
22031 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20348"/>
22032 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20348"/>
22033 </ind-def:textfilecontent54_test>
22034 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the cache_effective_group[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20349" version="1">
22035 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20349"/>
22036 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20349"/>
22037 </ind-def:textfilecontent54_test>
22038 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the ignore_unknown_nameservers[\s][\s]([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20350" version="1">
22039 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20350"/>
22040 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20350"/>
22041 </ind-def:textfilecontent54_test>
22042 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the allow_underscore[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20351" version="1">
22043 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20351"/>
22044 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20351"/>
22045 </ind-def:textfilecontent54_test>
22046 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the http_suppress_version_string[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20352" version="1">
22047 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20352"/>
22048 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20352"/>
22049 </ind-def:textfilecontent54_test>
22050 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the forwarded_for[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20353" version="1">
22051 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20353"/>
22052 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20353"/>
22053 </ind-def:textfilecontent54_test>
22054 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests the value of the log_mime_hdrs[\s]+([^#]*) expression in the /etc/squid/squid.conf file" id="oval:org.open-scap.f14:tst:20354" version="1">
22055 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20354"/>
22056 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20354"/>
22057 </ind-def:textfilecontent54_test>
22058 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20365" version="1">
22059 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20365"/>
22060 </unix-def:runlevel_test>
22061 <lin-def:rpminfo_test check="all" check_existence="none_exist" comment="The net-snmp package should be installed or not as appropriate" id="oval:org.open-scap.f14:tst:20366" version="1">
22062 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20366"/>
22063 </lin-def:rpminfo_test>
22064 </tests>
22065 <objects>
22066 <ind-def:textfilecontent54_object comment="look for the partition mount point in /etc/fstab" id="oval:org.open-scap.f14:obj:20000" version="1">
22067 <ind-def:path>/etc</ind-def:path>
22068 <ind-def:filename>fstab</ind-def:filename>
22069 <ind-def:pattern operation="pattern match">^[[:space:]]*[^[:space:]]+[[:space:]]+([^[:space:]]+)[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+</ind-def:pattern>
22070 <!-- <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+([\S]+)[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+</ind-def:pattern> -->
22071 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22072 </ind-def:textfilecontent54_object>
22073 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20009" version="1">
22074 <unix-def:path operation="pattern match">^/etc/cron\.(hourly|daily|weekly|monthly)$</unix-def:path>
22075 <unix-def:filename>0yum.cron</unix-def:filename>
22076 </unix-def:file_object>
22077 <ind-def:textfilecontent54_object comment="look for the value of gpgcheck in /etc/yum.conf" id="oval:org.open-scap.f14:obj:20010" version="1">
22078 <ind-def:path>/etc</ind-def:path>
22079 <ind-def:filename>yum.conf</ind-def:filename>
22080 <ind-def:pattern operation="pattern match">^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22081 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22082 </ind-def:textfilecontent54_object>
22083 <ind-def:textfilecontent54_object comment="look for the value of gpgcheck= in /etc/yum.repos.d" id="oval:org.open-scap.f14:obj:20011" version="1">
22084 <ind-def:path>/etc/yum.repos.d</ind-def:path>
22085 <ind-def:filename operation="pattern match">.*</ind-def:filename>
22086 <ind-def:pattern operation="pattern match">^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22087 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22088 </ind-def:textfilecontent54_object>
22089 <ind-def:textfilecontent54_object comment="look for the value of repo_gpgcheck in /etc/yum.conf" id="oval:org.open-scap.f14:obj:20012" version="1">
22090 <ind-def:path>/etc</ind-def:path>
22091 <ind-def:filename>yum.conf</ind-def:filename>
22092 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22093 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22094 </ind-def:textfilecontent54_object>
22095 <ind-def:textfilecontent54_object comment="look for the value of repo_gpgcheck= in /etc/yum.repos.d" id="oval:org.open-scap.f14:obj:20013" version="1">
22096 <ind-def:path>/etc/yum.repos.d</ind-def:path>
22097 <ind-def:filename operation="pattern match">.*</ind-def:filename>
22098 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22099 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22100 </ind-def:textfilecontent54_object>
22101 <ind-def:textfilecontent54_object comment="file systems defined in /etc/fstab" id="oval:org.open-scap.f14:obj:20016" version="1">
22102 <ind-def:path>/etc</ind-def:path>
22103 <ind-def:filename>fstab</ind-def:filename>
22104 <ind-def:pattern operation="pattern match">^[^#]*\/.+*ext[234]([^#]*)</ind-def:pattern>
22105 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22106 </ind-def:textfilecontent54_object>
22107 <ind-def:textfilecontent54_object comment="file systems defined in /etc/mtab" id="oval:org.open-scap.f14:obj:200162" version="1">
22108 <ind-def:path>/etc</ind-def:path>
22109 <ind-def:filename>mtab</ind-def:filename>
22110 <ind-def:pattern operation="pattern match">^[^#]*\/[^[:space:]]*ext[234]([^#])?</ind-def:pattern>
22111 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22112 </ind-def:textfilecontent54_object>
22113 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:10000" version="1">
22114 <lin-def:name>redhat-release</lin-def:name>
22115 </lin-def:rpminfo_object>
22116 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:200065" version="1">
22117 <lin-def:name>gpg-pubkey</lin-def:name>
22118 </lin-def:rpminfo_object>
22119 <ind-def:family_object id="oval:org.open-scap.f14:obj:10001" version="1"/>
22120 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20008" version="1">
22121 <unix-def:service_name>yum-updatesd</unix-def:service_name>
22122 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22123 </unix-def:runlevel_object>
22124 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20014" version="1">
22125 <lin-def:name>aide</lin-def:name>
22126 </lin-def:rpminfo_object>
22127 <ind-def:textfilecontent54_object comment="&lt;console&gt; and &lt;xconsole&gt; in /etc/security/console.perms.d/50-default.perms" id="oval:org.open-scap.f14:obj:20020" version="1">
22128 <ind-def:path>/etc/security/console.perms.d</ind-def:path>
22129 <ind-def:filename>50-default.perms</ind-def:filename>
22130 <ind-def:pattern operation="pattern match">^[\s]*(&lt;console&gt;|&lt;xconsole&gt;)</ind-def:pattern>
22131 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22132 </ind-def:textfilecontent54_object>
22133 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/usb/storage/usb-storage.ko" id="oval:org.open-scap.f14:obj:20022" version="1">
22134 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/usb/storage</unix-def:path>
22135 <unix-def:filename>usb-storage.ko</unix-def:filename>
22136 </unix-def:file_object>
22137 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20023" version="1">
22138 <ind-def:path>/etc</ind-def:path>
22139 <ind-def:filename>grub.conf</ind-def:filename>
22140 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel[^#]nousb</ind-def:pattern>
22141 <ind-def:instance datatype="int">1</ind-def:instance>
22142 </ind-def:textfilecontent54_object>
22143 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20025" version="1">
22144 <unix-def:service_name>autofs</unix-def:service_name>
22145 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22146 </unix-def:runlevel_object>
22147 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20026" version="1">
22148 <ind-def:path>/etc/gconf</ind-def:path>
22149 <ind-def:filename>gconf.xml.mandatory</ind-def:filename>
22150 <ind-def:xpath>/desktop/gnome/volume_manager/automount_(media)|(drives)</ind-def:xpath>
22151 </ind-def:xmlfilecontent_object>
22152 <ind-def:textfilecontent54_object comment="Check in /etc/modprobe.conf for modules being loaded" id="oval:org.open-scap.f14:obj:20027" version="1">
22153 <ind-def:path>/etc/modprobe.d</ind-def:path>
22154 <ind-def:filename>denylist.conf</ind-def:filename>
22155 <ind-def:pattern operation="pattern match">^[^#]*denylist[[:space:]]+([^#]*)$</ind-def:pattern>
22156 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22157 </ind-def:textfilecontent54_object>
22158 <unix-def:file_object comment="/etc/shadow" id="oval:org.open-scap.f14:obj:20034" version="1">
22159 <unix-def:path>/etc</unix-def:path>
22160 <unix-def:filename>shadow</unix-def:filename>
22161 </unix-def:file_object>
22162 <unix-def:file_object comment="/etc/group" id="oval:org.open-scap.f14:obj:20036" version="1">
22163 <unix-def:path>/etc</unix-def:path>
22164 <unix-def:filename>group</unix-def:filename>
22165 </unix-def:file_object>
22166 <unix-def:file_object comment="/etc/gshadow" id="oval:org.open-scap.f14:obj:20038" version="1">
22167 <unix-def:path>/etc</unix-def:path>
22168 <unix-def:filename>gshadow</unix-def:filename>
22169 </unix-def:file_object>
22170 <unix-def:file_object comment="/etc/passwd" id="oval:org.open-scap.f14:obj:20040" version="1">
22171 <unix-def:path>/etc</unix-def:path>
22172 <unix-def:filename>passwd</unix-def:filename>
22173 </unix-def:file_object>
22174 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200461" version="1">
22175 <set set_operator="UNION">
22176 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
22177 <filter>oval:org.open-scap.f14:ste:200462</filter>
22178 </set>
22179 </unix-def:file_object>
22180 <unix-def:file_object comment="all local directories" id="oval:org.open-scap.f14:obj:20046" version="1">
22181 <unix-def:behaviors recurse="directories" recurse_direction="down" recurse_file_system="local"/>
22182 <unix-def:path>/</unix-def:path>
22183 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22184 </unix-def:file_object>
22185 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200471" version="1">
22186 <set set_operator="UNION">
22187 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22188 <filter>oval:org.open-scap.f14:ste:200471</filter>
22189 <filter>oval:org.open-scap.f14:ste:200472</filter>
22190 </set>
22191 </unix-def:file_object>
22192 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:20047" version="1">
22193 <unix-def:behaviors recurse="directories" recurse_direction="down" recurse_file_system="local"/>
22194 <unix-def:path>/</unix-def:path>
22195 <unix-def:filename operation="pattern match">.*</unix-def:filename>
22196 </unix-def:file_object>
22197 <unix-def:file_object comment="all local files with sgid bit set" id="oval:org.open-scap.f14:obj:20048" version="1">
22198 <set set_operator="UNION">
22199 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22200 <filter>oval:org.open-scap.f14:ste:200481</filter>
22201 <filter>oval:org.open-scap.f14:ste:200482</filter>
22202 <filter>oval:org.open-scap.f14:ste:200483</filter>
22203 <filter>oval:org.open-scap.f14:ste:200484</filter>
22204 <filter>oval:org.open-scap.f14:ste:200485</filter>
22205 <filter>oval:org.open-scap.f14:ste:200486</filter>
22206 <filter>oval:org.open-scap.f14:ste:200487</filter>
22207 <filter>oval:org.open-scap.f14:ste:200488</filter>
22208 </set>
22209 </unix-def:file_object>
22210 <unix-def:file_object comment="all local files with suid bit set" id="oval:org.open-scap.f14:obj:20049" version="1">
22211 <set set_operator="UNION">
22212 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22213 <filter>oval:org.open-scap.f14:ste:2004901</filter>
22214 <filter>oval:org.open-scap.f14:ste:2004902</filter>
22215 <filter>oval:org.open-scap.f14:ste:2004903</filter>
22216 <filter>oval:org.open-scap.f14:ste:2004904</filter>
22217 <filter>oval:org.open-scap.f14:ste:2004905</filter>
22218 <filter>oval:org.open-scap.f14:ste:2004906</filter>
22219 <filter>oval:org.open-scap.f14:ste:2004907</filter>
22220 <filter>oval:org.open-scap.f14:ste:2004908</filter>
22221 <filter>oval:org.open-scap.f14:ste:2004909</filter>
22222 <filter>oval:org.open-scap.f14:ste:2004910</filter>
22223 <filter>oval:org.open-scap.f14:ste:2004911</filter>
22224 <filter>oval:org.open-scap.f14:ste:2004912</filter>
22225 <filter>oval:org.open-scap.f14:ste:2004913</filter>
22226 <filter>oval:org.open-scap.f14:ste:2004914</filter>
22227 <filter>oval:org.open-scap.f14:ste:2004915</filter>
22228 <filter>oval:org.open-scap.f14:ste:2004916</filter>
22229 </set>
22230 </unix-def:file_object>
22231 <unix-def:file_object comment="all local files without a valid user assigned" id="oval:org.open-scap.f14:obj:20050" version="1">
22232 <set set_operator="UNION">
22233 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22234 <filter>oval:org.open-scap.f14:ste:20050</filter>
22235 </set>
22236 </unix-def:file_object>
22237 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200501" version="1">
22238 <ind-def:path>/etc</ind-def:path>
22239 <ind-def:filename>passwd</ind-def:filename>
22240 <ind-def:pattern operation="pattern match">^[^:]+:[^:]+:([[:digit:]]+):[[:digit:]]+:[^:]*:[^:]+:[^:]*</ind-def:pattern>
22241 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22242 </ind-def:textfilecontent54_object>
22243 <unix-def:file_object comment="all local files without a valid group assigned" id="oval:org.open-scap.f14:obj:20051" version="1">
22244 <set set_operator="UNION">
22245 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22246 <filter>oval:org.open-scap.f14:ste:20051</filter>
22247 </set>
22248 </unix-def:file_object>
22249 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200511" version="1">
22250 <ind-def:path>/etc</ind-def:path>
22251 <ind-def:filename>group</ind-def:filename>
22252 <ind-def:pattern operation="pattern match">^[^:]+:[^:]*:([[:digit:]]+):[^:]*</ind-def:pattern>
22253 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22254 </ind-def:textfilecontent54_object>
22255 <unix-def:file_object comment="world writable directories with uid not less than 500" id="oval:org.open-scap.f14:obj:20052" version="1">
22256 <set set_operator="UNION">
22257 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
22258 <filter>oval:org.open-scap.f14:ste:20052</filter>
22259 </set>
22260 </unix-def:file_object>
22261 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20053" version="1">
22262 <ind-def:path>/etc/rc.d/init.d</ind-def:path>
22263 <ind-def:filename>functions</ind-def:filename>
22264 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:digit:]]+).*</ind-def:pattern>
22265 <ind-def:instance datatype="int">1</ind-def:instance>
22266 </ind-def:textfilecontent54_object>
22267 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20055" version="1">
22268 <ind-def:path>/etc/security</ind-def:path>
22269 <ind-def:filename>limits.conf</ind-def:filename>
22270 <ind-def:pattern operation="pattern match">^[[:space:]]*\*[[:space:]]+hard[[:space:]]+core[[:space:]]+([[:digit:]]+)</ind-def:pattern>
22271 <ind-def:instance datatype="int">1</ind-def:instance>
22272 </ind-def:textfilecontent54_object>
22273 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20056" version="1">
22274 <ind-def:path>/proc/sys/fs</ind-def:path>
22275 <ind-def:filename>suid_dumpable</ind-def:filename>
22276 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
22277 <ind-def:instance datatype="int">1</ind-def:instance>
22278 </ind-def:textfilecontent54_object>
22279 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20058" version="1">
22280 <ind-def:path>/proc/sys/kernel</ind-def:path>
22281 <ind-def:filename>randomize_va_space</ind-def:filename>
22282 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
22283 <ind-def:instance datatype="int">1</ind-def:instance>
22284 </ind-def:textfilecontent54_object>
22285 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20057" version="1">
22286 <ind-def:path>/proc/sys/kernel</ind-def:path>
22287 <ind-def:filename>exec-shield</ind-def:filename>
22288 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
22289 <ind-def:instance datatype="int">1</ind-def:instance>
22290 </ind-def:textfilecontent54_object>
22291 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20061" version="1">
22292 <ind-def:path>/etc</ind-def:path>
22293 <ind-def:filename>securetty</ind-def:filename>
22294 <ind-def:pattern operation="pattern match">^[[:space:]]*tty[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
22295 <ind-def:instance datatype="int">1</ind-def:instance>
22296 </ind-def:textfilecontent54_object>
22297 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20062" version="1">
22298 <ind-def:path>/etc</ind-def:path>
22299 <ind-def:filename>securetty</ind-def:filename>
22300 <ind-def:pattern operation="pattern match">^[[:space:]]*vc\/[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
22301 <ind-def:instance datatype="int">1</ind-def:instance>
22302 </ind-def:textfilecontent54_object>
22303 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20063" version="1">
22304 <ind-def:path>/etc</ind-def:path>
22305 <ind-def:filename>securetty</ind-def:filename>
22306 <ind-def:pattern operation="pattern match">^[[:space:]]*console[[:space:]]*(#.*)?$</ind-def:pattern>
22307 <ind-def:instance datatype="int">1</ind-def:instance>
22308 </ind-def:textfilecontent54_object>
22309 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20064" version="1">
22310 <ind-def:path>/etc</ind-def:path>
22311 <ind-def:filename>securetty</ind-def:filename>
22312 <ind-def:pattern operation="pattern match">^[[:space:]]*ttyS[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
22313 <ind-def:instance datatype="int">1</ind-def:instance>
22314 </ind-def:textfilecontent54_object>
22315 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20065" version="1">
22316 <ind-def:path>/etc</ind-def:path>
22317 <ind-def:filename>group</ind-def:filename>
22318 <ind-def:pattern operation="pattern match">^[[:space:]]*wheel.*$</ind-def:pattern>
22319 <ind-def:instance datatype="int">1</ind-def:instance>
22320 </ind-def:textfilecontent54_object>
22321 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20066" version="1">
22322 <ind-def:path>/etc/pam.d</ind-def:path>
22323 <ind-def:filename>su</ind-def:filename>
22324 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_wheel\.so[[:space:]]+use_uid([[[:space:]]#].*)?$</ind-def:pattern>
22325 <ind-def:instance datatype="int">1</ind-def:instance>
22326 </ind-def:textfilecontent54_object>
22327 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20067" version="1">
22328 <ind-def:path>/etc</ind-def:path>
22329 <ind-def:filename>sudoers</ind-def:filename>
22330 <ind-def:pattern operation="pattern match">^[[:space:]]*%wheel[[:space:]]+ALL=\(ALL\)[[:space:]]+ALL</ind-def:pattern>
22331 <ind-def:instance datatype="int">1</ind-def:instance>
22332 </ind-def:textfilecontent54_object>
22333 <unix-def:password_object id="oval:org.open-scap.f14:obj:20068" version="1">
22334 <unix-def:username operation="not equal">root</unix-def:username>
22335 </unix-def:password_object>
22336 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20069" version="1">
22337 <ind-def:path>/etc</ind-def:path>
22338 <ind-def:filename>shadow</ind-def:filename>
22339 <ind-def:pattern operation="pattern match">^[^:]*::</ind-def:pattern>
22340 <ind-def:instance datatype="int">1</ind-def:instance>
22341 </ind-def:textfilecontent54_object>
22342 <unix-def:password_object id="oval:org.open-scap.f14:obj:200695" version="1">
22343 <unix-def:username operation="pattern match">.*</unix-def:username>
22344 </unix-def:password_object>
22345 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20070" version="1">
22346 <ind-def:path>/etc</ind-def:path>
22347 <ind-def:filename>passwd</ind-def:filename>
22348 <ind-def:pattern operation="pattern match">^([^:]+):[^:]*:0:.*</ind-def:pattern>
22349 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22350 </ind-def:textfilecontent54_object>
22351 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20071" version="1">
22352 <ind-def:path>/etc</ind-def:path>
22353 <ind-def:filename>login.defs</ind-def:filename>
22354 <ind-def:pattern operation="pattern match">^PASS_MIN_LEN[[:space:]]*(.*)</ind-def:pattern>
22355 <ind-def:instance datatype="int">1</ind-def:instance>
22356 </ind-def:textfilecontent54_object>
22357 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20072" version="1">
22358 <ind-def:path>/etc</ind-def:path>
22359 <ind-def:filename>login.defs</ind-def:filename>
22360 <ind-def:pattern operation="pattern match">^PASS_MIN_DAYS[[:space:]]*(.*)</ind-def:pattern>
22361 <ind-def:instance datatype="int">1</ind-def:instance>
22362 </ind-def:textfilecontent54_object>
22363 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20073" version="1">
22364 <ind-def:path>/etc</ind-def:path>
22365 <ind-def:filename>login.defs</ind-def:filename>
22366 <ind-def:pattern operation="pattern match">^PASS_MAX_DAYS[[:space:]]*(.*)</ind-def:pattern>
22367 <ind-def:instance datatype="int">1</ind-def:instance>
22368 </ind-def:textfilecontent54_object>
22369 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20074" version="1">
22370 <ind-def:path>/etc</ind-def:path>
22371 <ind-def:filename>login.defs</ind-def:filename>
22372 <ind-def:pattern operation="pattern match">^PASS_WARN_AGE[[:space:]]*(.*)</ind-def:pattern>
22373 <ind-def:instance datatype="int">1</ind-def:instance>
22374 </ind-def:textfilecontent54_object>
22375 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20075" version="1">
22376 <ind-def:path>/etc</ind-def:path>
22377 <ind-def:filename>passwd</ind-def:filename>
22378 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
22379 <ind-def:instance datatype="int">1</ind-def:instance>
22380 </ind-def:textfilecontent54_object>
22381 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20076" version="1">
22382 <ind-def:path>/etc</ind-def:path>
22383 <ind-def:filename>group</ind-def:filename>
22384 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
22385 <ind-def:instance datatype="int">1</ind-def:instance>
22386 </ind-def:textfilecontent54_object>
22387 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20077" version="1">
22388 <ind-def:path>/etc</ind-def:path>
22389 <ind-def:filename>passwd</ind-def:filename>
22390 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
22391 <ind-def:instance datatype="int">1</ind-def:instance>
22392 </ind-def:textfilecontent54_object>
22393 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200781" version="1">
22394 <ind-def:path>/etc/pam.d</ind-def:path>
22395 <ind-def:filename>system-auth</ind-def:filename>
22396 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*retry=([[:digit:]]+)</ind-def:pattern>
22397 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22398 </ind-def:textfilecontent54_object>
22399 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200782" version="1">
22400 <ind-def:path>/etc/pam.d</ind-def:path>
22401 <ind-def:filename>system-auth</ind-def:filename>
22402 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*minlen=([1-9][[:digit:]]*)</ind-def:pattern>
22403 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22404 </ind-def:textfilecontent54_object>
22405 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200783" version="1">
22406 <ind-def:path>/etc/pam.d</ind-def:path>
22407 <ind-def:filename>system-auth</ind-def:filename>
22408 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*dcredit=([-]?[[:digit:]]+)</ind-def:pattern>
22409 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22410 </ind-def:textfilecontent54_object>
22411 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200784" version="1">
22412 <ind-def:path>/etc/pam.d</ind-def:path>
22413 <ind-def:filename>system-auth</ind-def:filename>
22414 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*ucredit=([-]?[[:digit:]]+)</ind-def:pattern>
22415 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22416 </ind-def:textfilecontent54_object>
22417 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200785" version="1">
22418 <ind-def:path>/etc/pam.d</ind-def:path>
22419 <ind-def:filename>system-auth</ind-def:filename>
22420 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*ocredit=([-]?[[:digit:]]+)</ind-def:pattern>
22421 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22422 </ind-def:textfilecontent54_object>
22423 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200786" version="1">
22424 <ind-def:path>/etc/pam.d</ind-def:path>
22425 <ind-def:filename>system-auth</ind-def:filename>
22426 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*lcredit=([-]?[[:digit:]]+)</ind-def:pattern>
22427 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22428 </ind-def:textfilecontent54_object>
22429 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200787" version="1">
22430 <ind-def:path>/etc/pam.d</ind-def:path>
22431 <ind-def:filename>system-auth</ind-def:filename>
22432 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*difok=([[:digit:]]+)</ind-def:pattern>
22433 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22434 </ind-def:textfilecontent54_object>
22435 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200800" version="1">
22436 <ind-def:var_ref>oval:org.open-scap.f14:var:200803</ind-def:var_ref>
22437 </ind-def:variable_object>
22438 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008011" version="1">
22439 <ind-def:path>/etc/pam.d</ind-def:path>
22440 <ind-def:filename>system-auth</ind-def:filename>
22441 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*deny=([[:digit:]]+)</ind-def:pattern>
22442 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22443 </ind-def:textfilecontent54_object>
22444 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008012" version="1">
22445 <ind-def:path>/etc/pam.d</ind-def:path>
22446 <ind-def:filename>system-auth</ind-def:filename>
22447 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*[^u][^n]lock_time=([[:digit:]]+)</ind-def:pattern>
22448 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22449 </ind-def:textfilecontent54_object>
22450 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008013" version="1">
22451 <ind-def:path>/etc/pam.d</ind-def:path>
22452 <ind-def:filename>system-auth</ind-def:filename>
22453 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*unlock_time=([[:digit:]]+)</ind-def:pattern>
22454 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22455 </ind-def:textfilecontent54_object>
22456 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200803" version="1">
22457 <ind-def:path>/etc/pam.d</ind-def:path>
22458 <ind-def:filename>system-auth</ind-def:filename>
22459 <ind-def:pattern operation="pattern match">^[[:space:]]*account[[:space:]]+required[[:space:]]+pam_tally2\.so$</ind-def:pattern>
22460 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22461 </ind-def:textfilecontent54_object>
22462 <unix-def:file_object comment="/usr/sbin/userhelper" id="oval:org.open-scap.f14:obj:20081" version="1">
22463 <unix-def:path>/usr/sbin</unix-def:path>
22464 <unix-def:filename>userhelper</unix-def:filename>
22465 </unix-def:file_object>
22466 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200831" version="1">
22467 <ind-def:var_ref>oval:org.open-scap.f14:var:20083</ind-def:var_ref>
22468 </ind-def:variable_object>
22469 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200832" version="1">
22470 <ind-def:path>/etc</ind-def:path>
22471 <ind-def:filename>login.defs</ind-def:filename>
22472 <ind-def:pattern operation="pattern match">^MD5_CRYPT_ENAB[[:space:]]+(yes|no)</ind-def:pattern>
22473 <ind-def:instance datatype="int">1</ind-def:instance>
22474 </ind-def:textfilecontent54_object>
22475 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200833" version="1">
22476 <ind-def:path>/etc</ind-def:path>
22477 <ind-def:filename>login.defs</ind-def:filename>
22478 <ind-def:pattern operation="pattern match">^ENCRYPT_METHOD[[:space:]]+(MD5|SHA256|SHA512)</ind-def:pattern>
22479 <ind-def:instance datatype="int">1</ind-def:instance>
22480 </ind-def:textfilecontent54_object>
22481 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200834" version="1">
22482 <ind-def:path>/etc/pam.d</ind-def:path>
22483 <ind-def:filename>system-auth</ind-def:filename>
22484 <ind-def:pattern operation="pattern match">^password[[:space:]]+sufficient[[:space:]]+pam_unix\.so[[:space:]]+(sha256|sha512)*|^password[[:space:]]+required[[:space:]]+pam_unix\.so[[:space:]]+(sha256|sha512)*</ind-def:pattern>
22485 <ind-def:instance datatype="int">1</ind-def:instance>
22486 </ind-def:textfilecontent54_object>
22487 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200835" version="1">
22488 <ind-def:path>/etc</ind-def:path>
22489 <ind-def:filename>libuser.conf</ind-def:filename>
22490 <ind-def:pattern operation="pattern match">^crypt_style[[:space:]]+\=[[:space:]]+(sha256|sha512)</ind-def:pattern>
22491 <ind-def:instance datatype="int">1</ind-def:instance>
22492 </ind-def:textfilecontent54_object>
22493 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200841" version="1">
22494 <ind-def:var_ref>oval:org.open-scap.f14:var:20084</ind-def:var_ref>
22495 </ind-def:variable_object>
22496 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200842" version="1">
22497 <ind-def:path>/etc/pam.d</ind-def:path>
22498 <ind-def:filename>system-auth</ind-def:filename>
22499 <ind-def:pattern operation="pattern match">^password[[:space:]]+sufficient[[:space:]]+pam_unix\.so[[:space:]]+.*remember=([[:digit:]]+)|^password[[:space:]]+required[[:space:]]+pam_unix\.so[[:space:]]+.*remember=([[:digit:]]+)</ind-def:pattern>
22500 <ind-def:instance datatype="int">1</ind-def:instance>
22501 </ind-def:textfilecontent54_object>
22502 <ind-def:environmentvariable_object id="oval:org.open-scap.f14:obj:20085" version="1">
22503 <ind-def:name>PATH</ind-def:name>
22504 </ind-def:environmentvariable_object>
22505 <unix-def:file_object comment="root's PATH filtered" id="oval:org.open-scap.f14:obj:2008551" version="1">
22506 <set set_operator="UNION">
22507 <object_reference>oval:org.open-scap.f14:obj:200855</object_reference>
22508 <filter>oval:org.open-scap.f14:ste:2008551</filter>
22509 </set>
22510 </unix-def:file_object>
22511 <unix-def:file_object comment="root's PATH" id="oval:org.open-scap.f14:obj:200855" version="1">
22512 <unix-def:path var_check="at least one" var_ref="oval:org.open-scap.f14:var:200855"/>
22513 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22514 </unix-def:file_object>
22515 <unix-def:file_object comment="/home/*" id="oval:org.open-scap.f14:obj:20086" version="1">
22516 <unix-def:behaviors max_depth="1" recurse="directories" recurse_direction="down"/>
22517 <unix-def:path>/home</unix-def:path>
22518 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22519 </unix-def:file_object>
22520 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20087" version="1">
22521 <ind-def:path>/etc</ind-def:path>
22522 <ind-def:filename>bashrc</ind-def:filename>
22523 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
22524 <ind-def:instance datatype="int">1</ind-def:instance>
22525 </ind-def:textfilecontent54_object>
22526 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20088" version="1">
22527 <ind-def:path>/etc</ind-def:path>
22528 <ind-def:filename>csh.cshrc</ind-def:filename>
22529 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
22530 <ind-def:instance datatype="int">1</ind-def:instance>
22531 </ind-def:textfilecontent54_object>
22532 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20092" version="1">
22533 <unix-def:path>/boot/grub</unix-def:path>
22534 <unix-def:filename>grub.conf</unix-def:filename>
22535 </unix-def:file_object>
22536 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20094" version="1">
22537 <unix-def:path>/boot/grub</unix-def:path>
22538 <unix-def:filename>grub.conf</unix-def:filename>
22539 </unix-def:file_object>
22540 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20095" version="1">
22541 <ind-def:path>/boot/grub</ind-def:path>
22542 <ind-def:filename>grub.conf</ind-def:filename>
22543 <ind-def:pattern operation="pattern match">password[[:space:]]+--md5[[:space:]]+.*</ind-def:pattern>
22544 <ind-def:instance datatype="int">1</ind-def:instance>
22545 </ind-def:textfilecontent54_object>
22546 <unix-def:file_object comment="/etc/grub.conf" id="oval:org.open-scap.f14:obj:20093" version="1">
22547 <unix-def:path>/etc</unix-def:path>
22548 <unix-def:filename>grub.conf</unix-def:filename>
22549 </unix-def:file_object>
22550 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:73" version="1">
22551 <ind-def:path>/etc</ind-def:path>
22552 <ind-def:filename>inittab</ind-def:filename>
22553 <ind-def:pattern operation="pattern match">~~:S:wait:/sbin/sulogin</ind-def:pattern>
22554 <ind-def:instance datatype="int">1</ind-def:instance>
22555 </ind-def:textfilecontent54_object>
22556 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20096" version="1">
22557 <ind-def:path>/etc/sysconfig</ind-def:path>
22558 <ind-def:filename>init</ind-def:filename>
22559 <ind-def:pattern operation="pattern match">PROMPT[\s]*=[\s]*([^#]*)</ind-def:pattern>
22560 <ind-def:instance datatype="int">1</ind-def:instance>
22561 </ind-def:textfilecontent54_object>
22562 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20098" version="1">
22563 <ind-def:path>/etc/profile.d</ind-def:path>
22564 <ind-def:filename>autologout.csh</ind-def:filename>
22565 <ind-def:pattern operation="pattern match">^[\s]*set[\s]+-r[\s]+autologout[\s]+([^#]*)</ind-def:pattern>
22566 <ind-def:instance datatype="int">1</ind-def:instance>
22567 </ind-def:textfilecontent54_object>
22568 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20100" version="1">
22569 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22570 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22571 <ind-def:xpath>/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='idle_delay']/local_schema[1]/default[1]/@value</ind-def:xpath>
22572 </ind-def:xmlfilecontent_object>
22573 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201005" version="1">
22574 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22575 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22576 <ind-def:xpath>/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='idle_activation_enabled']/local_schema[1]/default[1]/@value</ind-def:xpath>
22577 </ind-def:xmlfilecontent_object>
22578 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201006" version="1">
22579 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22580 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22581 <ind-def:xpath>/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='lock_enabled']/local_schema[1]/default[1]/@value</ind-def:xpath>
22582 </ind-def:xmlfilecontent_object>
22583 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201007" version="1">
22584 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22585 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22586 <ind-def:xpath>/gconf/dir[@name='schemas']/dir[@name='apps']/dir[@name='gnome-screensaver']/entry[@name='mode']/local_schema[1]/default[1]/stringvalue[1]/text()</ind-def:xpath>
22587 </ind-def:xmlfilecontent_object>
22588 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20101" version="1">
22589 <lin-def:name>vlock</lin-def:name>
22590 </lin-def:rpminfo_object>
22591 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20102" version="1">
22592 <ind-def:path>/etc</ind-def:path>
22593 <ind-def:filename>issue</ind-def:filename>
22594 <ind-def:pattern operation="pattern match">(.*)</ind-def:pattern>
22595 <ind-def:instance datatype="int">1</ind-def:instance>
22596 </ind-def:textfilecontent54_object>
22597 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20103" version="1">
22598 <ind-def:path>/usr/share/gdm/themes/RHEL</ind-def:path>
22599 <ind-def:filename>RHEL.xml</ind-def:filename>
22600 <ind-def:xpath>/greeter/item[@id='banner']/box[1]/item[@id='DOD_Banner']/text[1]</ind-def:xpath>
22601 </ind-def:xmlfilecontent_object>
22602 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20104" version="1">
22603 <ind-def:path>/etc</ind-def:path>
22604 <ind-def:filename>grub.conf</ind-def:filename>
22605 <ind-def:pattern operation="pattern match">[[:space:]]selinux=([^[:space:]]*)</ind-def:pattern>
22606 <ind-def:instance datatype="int">1</ind-def:instance>
22607 </ind-def:textfilecontent54_object>
22608 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20105" version="1">
22609 <ind-def:path>/etc</ind-def:path>
22610 <ind-def:filename>grub.conf</ind-def:filename>
22611 <ind-def:pattern operation="pattern match">[[:space:]]enforcing=([^[:space:]]*)</ind-def:pattern>
22612 <ind-def:instance datatype="int">1</ind-def:instance>
22613 </ind-def:textfilecontent54_object>
22614 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20106" version="1">
22615 <ind-def:path>/etc/selinux</ind-def:path>
22616 <ind-def:filename>config</ind-def:filename>
22617 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUX[[:space:]]*=[[:space:]]*([[:alnum:]]*)</ind-def:pattern>
22618 <ind-def:instance datatype="int">1</ind-def:instance>
22619 </ind-def:textfilecontent54_object>
22620 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20107" version="1">
22621 <ind-def:path>/etc/selinux</ind-def:path>
22622 <ind-def:filename>config</ind-def:filename>
22623 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUXTYPE[[:space:]]*=[[:space:]]*([[:alnum:]]*)</ind-def:pattern>
22624 <ind-def:instance datatype="int">1</ind-def:instance>
22625 </ind-def:textfilecontent54_object>
22626 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20109" version="1">
22627 <unix-def:service_name>setroubleshoot</unix-def:service_name>
22628 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22629 </unix-def:runlevel_object>
22630 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20108" version="1">
22631 <lin-def:name>setroubleshoot</lin-def:name>
22632 </lin-def:rpminfo_object>
22633 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20110" version="1">
22634 <unix-def:service_name>mcstrans</unix-def:service_name>
22635 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22636 </unix-def:runlevel_object>
22637 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20111" version="1">
22638 <unix-def:service_name>restorecond</unix-def:service_name>
22639 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22640 </unix-def:runlevel_object>
22641 <!-- EDIT -->
22642 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201120" version="1">
22643 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22644 <ind-def:filename>send_redirects</ind-def:filename>
22645 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22646 <ind-def:instance datatype="int">1</ind-def:instance>
22647 </ind-def:textfilecontent54_object>
22648 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201121" version="1">
22649 <ind-def:path>/etc</ind-def:path>
22650 <ind-def:filename>sysctl.conf</ind-def:filename>
22651 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.send_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22652 <ind-def:instance datatype="int">1</ind-def:instance>
22653 </ind-def:textfilecontent54_object>
22654 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201130" version="1">
22655 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22656 <ind-def:filename>send_redirects</ind-def:filename>
22657 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22658 <ind-def:instance datatype="int">1</ind-def:instance>
22659 </ind-def:textfilecontent54_object>
22660 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201131" version="1">
22661 <ind-def:path>/etc</ind-def:path>
22662 <ind-def:filename>sysctl.conf</ind-def:filename>
22663 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.send_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22664 <ind-def:instance datatype="int">1</ind-def:instance>
22665 </ind-def:textfilecontent54_object>
22666 <!-- ^^^ ok ^^^ -->
22667 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201140" version="1">
22668 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22669 <ind-def:filename>ip_forward</ind-def:filename>
22670 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22671 <ind-def:instance datatype="int">1</ind-def:instance>
22672 </ind-def:textfilecontent54_object>
22673 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201141" version="1">
22674 <ind-def:path>/etc</ind-def:path>
22675 <ind-def:filename>sysctl.conf</ind-def:filename>
22676 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.ip_forward[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22677 <ind-def:instance datatype="int">1</ind-def:instance>
22678 </ind-def:textfilecontent54_object>
22679 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201150" version="1">
22680 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22681 <ind-def:filename>accept_source_route</ind-def:filename>
22682 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22683 <ind-def:instance datatype="int">1</ind-def:instance>
22684 </ind-def:textfilecontent54_object>
22685 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201151" version="1">
22686 <ind-def:path>/etc</ind-def:path>
22687 <ind-def:filename>sysctl.conf</ind-def:filename>
22688 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.accept_source_route[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22689 <ind-def:instance datatype="int">1</ind-def:instance>
22690 </ind-def:textfilecontent54_object>
22691 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201160" version="1">
22692 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22693 <ind-def:filename>accept_redirects</ind-def:filename>
22694 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22695 <ind-def:instance datatype="int">1</ind-def:instance>
22696 </ind-def:textfilecontent54_object>
22697 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201161" version="1">
22698 <ind-def:path>/etc</ind-def:path>
22699 <ind-def:filename>sysctl.conf</ind-def:filename>
22700 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.accept_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22701 <ind-def:instance datatype="int">1</ind-def:instance>
22702 </ind-def:textfilecontent54_object>
22703 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201170" version="1">
22704 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22705 <ind-def:filename>secure_redirects</ind-def:filename>
22706 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22707 <ind-def:instance datatype="int">1</ind-def:instance>
22708 </ind-def:textfilecontent54_object>
22709 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201171" version="1">
22710 <ind-def:path>/etc</ind-def:path>
22711 <ind-def:filename>sysctl.conf</ind-def:filename>
22712 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.secure_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22713 <ind-def:instance datatype="int">1</ind-def:instance>
22714 </ind-def:textfilecontent54_object>
22715 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201180" version="1">
22716 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22717 <ind-def:filename>log_martians</ind-def:filename>
22718 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22719 <ind-def:instance datatype="int">1</ind-def:instance>
22720 </ind-def:textfilecontent54_object>
22721 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201181" version="1">
22722 <ind-def:path>/etc</ind-def:path>
22723 <ind-def:filename>sysctl.conf</ind-def:filename>
22724 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.log_martians[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22725 <ind-def:instance datatype="int">1</ind-def:instance>
22726 </ind-def:textfilecontent54_object>
22727 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201190" version="1">
22728 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22729 <ind-def:filename>accept_source_route</ind-def:filename>
22730 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22731 <ind-def:instance datatype="int">1</ind-def:instance>
22732 </ind-def:textfilecontent54_object>
22733 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201191" version="1">
22734 <ind-def:path>/etc</ind-def:path>
22735 <ind-def:filename>sysctl.conf</ind-def:filename>
22736 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.accept_source_route[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22737 <ind-def:instance datatype="int">1</ind-def:instance>
22738 </ind-def:textfilecontent54_object>
22739 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201200" version="1">
22740 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22741 <ind-def:filename>accept_redirects</ind-def:filename>
22742 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22743 <ind-def:instance datatype="int">1</ind-def:instance>
22744 </ind-def:textfilecontent54_object>
22745 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201201" version="1">
22746 <ind-def:path>/etc</ind-def:path>
22747 <ind-def:filename>sysctl.conf</ind-def:filename>
22748 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.accept_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22749 <ind-def:instance datatype="int">1</ind-def:instance>
22750 </ind-def:textfilecontent54_object>
22751 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201210" version="1">
22752 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22753 <ind-def:filename>secure_redirects</ind-def:filename>
22754 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22755 <ind-def:instance datatype="int">1</ind-def:instance>
22756 </ind-def:textfilecontent54_object>
22757 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201211" version="1">
22758 <ind-def:path>/etc</ind-def:path>
22759 <ind-def:filename>sysctl.conf</ind-def:filename>
22760 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.secure_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22761 <ind-def:instance datatype="int">1</ind-def:instance>
22762 </ind-def:textfilecontent54_object>
22763 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201220" version="1">
22764 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22765 <ind-def:filename>icmp_echo_ignore_broadcasts</ind-def:filename>
22766 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22767 <ind-def:instance datatype="int">1</ind-def:instance>
22768 </ind-def:textfilecontent54_object>
22769 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201221" version="1">
22770 <ind-def:path>/etc</ind-def:path>
22771 <ind-def:filename>sysctl.conf</ind-def:filename>
22772 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.icmp_echo_ignore_broadcasts[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22773 <ind-def:instance datatype="int">1</ind-def:instance>
22774 </ind-def:textfilecontent54_object>
22775 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201230" version="1">
22776 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22777 <ind-def:filename>icmp_ignore_bogus_error_responses</ind-def:filename>
22778 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22779 <ind-def:instance datatype="int">1</ind-def:instance>
22780 </ind-def:textfilecontent54_object>
22781 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201231" version="1">
22782 <ind-def:path>/etc</ind-def:path>
22783 <ind-def:filename>sysctl.conf</ind-def:filename>
22784 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.icmp_ignore_bogus_error_responses[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22785 <ind-def:instance datatype="int">1</ind-def:instance>
22786 </ind-def:textfilecontent54_object>
22787 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201240" version="1">
22788 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22789 <ind-def:filename>tcp_syncookies</ind-def:filename>
22790 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22791 <ind-def:instance datatype="int">1</ind-def:instance>
22792 </ind-def:textfilecontent54_object>
22793 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201241" version="1">
22794 <ind-def:path>/etc</ind-def:path>
22795 <ind-def:filename>sysctl.conf</ind-def:filename>
22796 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.tcp_syncookies[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22797 <ind-def:instance datatype="int">1</ind-def:instance>
22798 </ind-def:textfilecontent54_object>
22799 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201250" version="1">
22800 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22801 <ind-def:filename>rp_filter</ind-def:filename>
22802 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22803 <ind-def:instance datatype="int">1</ind-def:instance>
22804 </ind-def:textfilecontent54_object>
22805 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201251" version="1">
22806 <ind-def:path>/etc</ind-def:path>
22807 <ind-def:filename>sysctl.conf</ind-def:filename>
22808 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.rp_filter[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22809 <ind-def:instance datatype="int">1</ind-def:instance>
22810 </ind-def:textfilecontent54_object>
22811 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201260" version="1">
22812 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22813 <ind-def:filename>rp_filter</ind-def:filename>
22814 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22815 <ind-def:instance datatype="int">1</ind-def:instance>
22816 </ind-def:textfilecontent54_object>
22817 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201261" version="1">
22818 <ind-def:path>/etc</ind-def:path>
22819 <ind-def:filename>sysctl.conf</ind-def:filename>
22820 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.rp_filter[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22821 <ind-def:instance datatype="int">1</ind-def:instance>
22822 </ind-def:textfilecontent54_object>
22823 <!-- ^^^ ok ^^^ -->
22824 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20128" version="1">
22825 <ind-def:path>/proc/net</ind-def:path>
22826 <ind-def:filename>wireless</ind-def:filename>
22827 <ind-def:pattern operation="pattern match">^[[:space:]]*([^[:space:]]*):.*</ind-def:pattern>
22828 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22829 </ind-def:textfilecontent54_object>
22830 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/net/wireless" id="oval:org.open-scap.f14:obj:20129" version="1">
22831 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/net/wireless$</unix-def:path>
22832 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22833 </unix-def:file_object>
22834 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20130" version="1">
22835 <ind-def:path>/etc/modprobe.d</ind-def:path>
22836 <ind-def:filename>dist.conf</ind-def:filename>
22837 <ind-def:pattern operation="pattern match">^[[:space:]]*alias[[:space:]]+net-pf-10[[:space:]]+off[[:space:]]*(#.*)?$</ind-def:pattern>
22838 <ind-def:instance datatype="int">1</ind-def:instance>
22839 </ind-def:textfilecontent54_object>
22840 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20132" version="1">
22841 <ind-def:path>/etc/sysconfig</ind-def:path>
22842 <ind-def:filename>network</ind-def:filename>
22843 <ind-def:pattern operation="pattern match">^[[:space:]]*NETWORKING_IPV6[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22844 <ind-def:instance datatype="int">1</ind-def:instance>
22845 </ind-def:textfilecontent54_object>
22846 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20133" version="1">
22847 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
22848 <ind-def:filename operation="pattern match">ifcfg-.*</ind-def:filename>
22849 <ind-def:pattern operation="pattern match">^[[:space:]]*NETWORKING_IPV6[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22850 <ind-def:instance datatype="int">1</ind-def:instance>
22851 </ind-def:textfilecontent54_object>
22852 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20131" version="1">
22853 <ind-def:path>/etc/sysconfig</ind-def:path>
22854 <ind-def:filename>network</ind-def:filename>
22855 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22856 <ind-def:instance datatype="int">1</ind-def:instance>
22857 </ind-def:textfilecontent54_object>
22858 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20134" version="1">
22859 <ind-def:path>/etc/sysconfig</ind-def:path>
22860 <ind-def:filename>network</ind-def:filename>
22861 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22862 <ind-def:instance datatype="int">1</ind-def:instance>
22863 </ind-def:textfilecontent54_object>
22864 <!-- sysctl -->
22865 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201400" version="1">
22866 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22867 <ind-def:filename>accept_ra_rtr_pref</ind-def:filename>
22868 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22869 <ind-def:instance datatype="int">1</ind-def:instance>
22870 </ind-def:textfilecontent54_object>
22871 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201401" version="1">
22872 <ind-def:path>/etc</ind-def:path>
22873 <ind-def:filename>sysctl.conf</ind-def:filename>
22874 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_rtr_pref[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22875 <ind-def:instance datatype="int">1</ind-def:instance>
22876 </ind-def:textfilecontent54_object>
22877 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201450" version="1">
22878 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22879 <ind-def:filename>max_addresses</ind-def:filename>
22880 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22881 <ind-def:instance datatype="int">1</ind-def:instance>
22882 </ind-def:textfilecontent54_object>
22883 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201451" version="1">
22884 <ind-def:path>/etc</ind-def:path>
22885 <ind-def:filename>sysctl.conf</ind-def:filename>
22886 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.max_addresses[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22887 <ind-def:instance datatype="int">1</ind-def:instance>
22888 </ind-def:textfilecontent54_object>
22889 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201390" version="1">
22890 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22891 <ind-def:filename>router_solicitations</ind-def:filename>
22892 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22893 <ind-def:instance datatype="int">1</ind-def:instance>
22894 </ind-def:textfilecontent54_object>
22895 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201391" version="1">
22896 <ind-def:path>/etc</ind-def:path>
22897 <ind-def:filename>sysctl.conf</ind-def:filename>
22898 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.router_solicitations[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22899 <ind-def:instance datatype="int">1</ind-def:instance>
22900 </ind-def:textfilecontent54_object>
22901 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201440" version="1">
22902 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22903 <ind-def:filename>dad_transmits</ind-def:filename>
22904 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22905 <ind-def:instance datatype="int">1</ind-def:instance>
22906 </ind-def:textfilecontent54_object>
22907 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201441" version="1">
22908 <ind-def:path>/etc</ind-def:path>
22909 <ind-def:filename>sysctl.conf</ind-def:filename>
22910 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.dad_transmits[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22911 <ind-def:instance datatype="int">1</ind-def:instance>
22912 </ind-def:textfilecontent54_object>
22913 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201430" version="1">
22914 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22915 <ind-def:filename>autoconf</ind-def:filename>
22916 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22917 <ind-def:instance datatype="int">1</ind-def:instance>
22918 </ind-def:textfilecontent54_object>
22919 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201431" version="1">
22920 <ind-def:path>/etc</ind-def:path>
22921 <ind-def:filename>sysctl.conf</ind-def:filename>
22922 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.autoconf[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22923 <ind-def:instance datatype="int">1</ind-def:instance>
22924 </ind-def:textfilecontent54_object>
22925 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201410" version="1">
22926 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22927 <ind-def:filename>accept_ra_pinfo</ind-def:filename>
22928 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22929 <ind-def:instance datatype="int">1</ind-def:instance>
22930 </ind-def:textfilecontent54_object>
22931 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201411" version="1">
22932 <ind-def:path>/etc</ind-def:path>
22933 <ind-def:filename>sysctl.conf</ind-def:filename>
22934 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_pinfo[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22935 <ind-def:instance datatype="int">1</ind-def:instance>
22936 </ind-def:textfilecontent54_object>
22937 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201420" version="1">
22938 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22939 <ind-def:filename>accept_ra_defrtr</ind-def:filename>
22940 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22941 <ind-def:instance datatype="int">1</ind-def:instance>
22942 </ind-def:textfilecontent54_object>
22943 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201421" version="1">
22944 <ind-def:path>/etc</ind-def:path>
22945 <ind-def:filename>sysctl.conf</ind-def:filename>
22946 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_defrtr[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22947 <ind-def:instance datatype="int">1</ind-def:instance>
22948 </ind-def:textfilecontent54_object>
22949 <!-- non-sysctl -->
22950 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20146" version="1">
22951 <unix-def:service_name>ip6tables</unix-def:service_name>
22952 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22953 </unix-def:runlevel_object>
22954 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20147" version="1">
22955 <unix-def:service_name>iptables</unix-def:service_name>
22956 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22957 </unix-def:runlevel_object>
22958 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014741" version="1">
22959 <ind-def:path>/etc/sysconfig</ind-def:path>
22960 <ind-def:filename>iptables</ind-def:filename>
22961 <ind-def:pattern operation="pattern match">^[[:space:]]*:INPUT[:space:]DROP[:space:]\[0:0\]</ind-def:pattern>
22962 <ind-def:instance datatype="int">1</ind-def:instance>
22963 </ind-def:textfilecontent54_object>
22964 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014742" version="1">
22965 <ind-def:path>/etc/sysconfig</ind-def:path>
22966 <ind-def:filename>iptables</ind-def:filename>
22967 <ind-def:pattern operation="pattern match">^[[:space:]]*:INPUT[:space:]ACCEPT[:space:]\[0:0\]</ind-def:pattern>
22968 <ind-def:instance datatype="int">1</ind-def:instance>
22969 </ind-def:textfilecontent54_object>
22970 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014751" version="1">
22971 <ind-def:path>/etc/sysconfig</ind-def:path>
22972 <ind-def:filename>iptables</ind-def:filename>
22973 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]DROP[:space:]\[0:0\]</ind-def:pattern>
22974 <ind-def:instance datatype="int">1</ind-def:instance>
22975 </ind-def:textfilecontent54_object>
22976 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014752" version="1">
22977 <ind-def:path>/etc/sysconfig</ind-def:path>
22978 <ind-def:filename>iptables</ind-def:filename>
22979 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]ACCEPT[:space:]\[0:0\]</ind-def:pattern>
22980 <ind-def:instance datatype="int">1</ind-def:instance>
22981 </ind-def:textfilecontent54_object>
22982 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201476" version="1">
22983 <ind-def:path>/etc/modprobe.d</ind-def:path>
22984 <ind-def:filename>dist.conf</ind-def:filename>
22985 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+DCCP[[:space:]]+/bin/true</ind-def:pattern>
22986 <ind-def:instance datatype="int">1</ind-def:instance>
22987 </ind-def:textfilecontent54_object>
22988 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201477" version="1">
22989 <ind-def:path>/etc/modprobe.d</ind-def:path>
22990 <ind-def:filename>dist.conf</ind-def:filename>
22991 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+SCTP[[:space:]]+/bin/true</ind-def:pattern>
22992 <ind-def:instance datatype="int">1</ind-def:instance>
22993 </ind-def:textfilecontent54_object>
22994 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201478" version="1">
22995 <ind-def:path>/etc/modprobe.d</ind-def:path>
22996 <ind-def:filename>dist.conf</ind-def:filename>
22997 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+RDS[[:space:]]+/bin/true</ind-def:pattern>
22998 <ind-def:instance datatype="int">1</ind-def:instance>
22999 </ind-def:textfilecontent54_object>
23000 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201479" version="1">
23001 <ind-def:path>/etc/modprobe.d</ind-def:path>
23002 <ind-def:filename>dist.conf</ind-def:filename>
23003 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+TIPC[[:space:]]+/bin/true</ind-def:pattern>
23004 <ind-def:instance datatype="int">1</ind-def:instance>
23005 </ind-def:textfilecontent54_object>
23006 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20148" version="1">
23007 <unix-def:service_name>rsyslog</unix-def:service_name>
23008 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23009 </unix-def:runlevel_object>
23010 <ind-def:textfilecontent54_object comment="paths in /etc/syslog.conf" id="oval:org.open-scap.f14:obj:201490" version="1">
23011 <ind-def:path>/etc</ind-def:path>
23012 <ind-def:filename>rsyslog.conf</ind-def:filename>
23013 <ind-def:pattern operation="pattern match">^[^\#][[:space:]]*[^[:space:]]+\.[^[:space:]]+[[:space:]]+[\-]?([^[:space:]]+)</ind-def:pattern>
23014 <ind-def:instance datatype="int">1</ind-def:instance>
23015 </ind-def:textfilecontent54_object>
23016 <unix-def:file_object comment="Mandatory log files" id="oval:org.open-scap.f14:obj:201491" version="1">
23017 <unix-def:behaviors max_depth="4" recurse="directories" recurse_direction="down"/>
23018 <unix-def:path>/var/log</unix-def:path>
23019 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"/>
23020 </unix-def:file_object>
23021 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20152" version="1">
23022 <ind-def:path>/etc</ind-def:path>
23023 <ind-def:filename>rsyslog.conf</ind-def:filename>
23024 <ind-def:pattern operation="pattern match">^[^#]*\*\.\*[[:space:]]+@</ind-def:pattern>
23025 <ind-def:instance datatype="int">1</ind-def:instance>
23026 </ind-def:textfilecontent54_object>
23027 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20153" version="1">
23028 <ind-def:path>/etc/sysconfig</ind-def:path>
23029 <ind-def:filename>rsyslog</ind-def:filename>
23030 <ind-def:pattern operation="pattern match">SYSLOGD_OPTIONS[[:space:]]*=[[:space:]]*.*-r.*</ind-def:pattern>
23031 <ind-def:instance datatype="int">1</ind-def:instance>
23032 </ind-def:textfilecontent54_object>
23033 <!--
23034 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20154" version="1" comment="paths in /etc/rsyslog.conf should be in /etc/logrotate.d/syslog">
23035 <ind-def:path>/etc/logrotate.d</ind-def:path>
23036 <ind-def:filename>syslog</ind-def:filename>
23037 <ind-def:pattern operation="pattern match" var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"></ind-def:pattern>
23038 <ind-def:instance datatype="int">1</ind-def:instance>
23039 </ind-def:textfilecontent54_object>
23040 -->
23041 <!-- END -->
23042 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20156" version="1">
23043 <unix-def:service_name>auditd</unix-def:service_name>
23044 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23045 </unix-def:runlevel_object>
23046 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20157" version="1">
23047 <ind-def:path>/etc</ind-def:path>
23048 <ind-def:filename>grub.conf</ind-def:filename>
23049 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel.+[[:space:]]audit=1</ind-def:pattern>
23050 <ind-def:instance datatype="int">1</ind-def:instance>
23051 </ind-def:textfilecontent54_object>
23052 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015750" version="1">
23053 <ind-def:path>/etc/audit</ind-def:path>
23054 <ind-def:filename>audit.rules</ind-def:filename>
23055 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]adjtimex[[:space:]]\-S[[:space:]]settimeofday[[:space:]]\-S[[:space:]]stime[[:space:]]\-k[[:space:]]time\-change$</ind-def:pattern>
23056 <ind-def:instance datatype="int">1</ind-def:instance>
23057 </ind-def:textfilecontent54_object>
23058 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015751" version="1">
23059 <ind-def:path>/etc/audit</ind-def:path>
23060 <ind-def:filename>audit.rules</ind-def:filename>
23061 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]clock_settime[[:space:]]\-k[[:space:]]time\-change$</ind-def:pattern>
23062 <ind-def:instance datatype="int">1</ind-def:instance>
23063 </ind-def:textfilecontent54_object>
23064 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015752" version="1">
23065 <ind-def:path>/etc/audit</ind-def:path>
23066 <ind-def:filename>audit.rules</ind-def:filename>
23067 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]adjtimex[[:space:]]\-S[[:space:]]settimeofday[[:space:]]\-S[[:space:]]stime[[:space:]]\-k[[:space:]]time\-change$</ind-def:pattern>
23068 <ind-def:instance datatype="int">1</ind-def:instance>
23069 </ind-def:textfilecontent54_object>
23070 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015753" version="1">
23071 <ind-def:path>/etc/audit</ind-def:path>
23072 <ind-def:filename>audit.rules</ind-def:filename>
23073 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]clock_settime[[:space:]]\-k[[:space:]]time\-change$</ind-def:pattern>
23074 <ind-def:instance datatype="int">1</ind-def:instance>
23075 </ind-def:textfilecontent54_object>
23076 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015754" version="1">
23077 <ind-def:path>/etc/audit</ind-def:path>
23078 <ind-def:filename>audit.rules</ind-def:filename>
23079 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/localtime[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]time\-change$</ind-def:pattern>
23080 <ind-def:instance datatype="int">1</ind-def:instance>
23081 </ind-def:textfilecontent54_object>
23082 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201580" version="1">
23083 <ind-def:path>/etc/audit</ind-def:path>
23084 <ind-def:filename>audit.rules</ind-def:filename>
23085 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/group[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23086 <ind-def:instance datatype="int">1</ind-def:instance>
23087 </ind-def:textfilecontent54_object>
23088 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201581" version="1">
23089 <ind-def:path>/etc/audit</ind-def:path>
23090 <ind-def:filename>audit.rules</ind-def:filename>
23091 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/passwd[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23092 <ind-def:instance datatype="int">1</ind-def:instance>
23093 </ind-def:textfilecontent54_object>
23094 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201582" version="1">
23095 <ind-def:path>/etc/audit</ind-def:path>
23096 <ind-def:filename>audit.rules</ind-def:filename>
23097 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/gshadow[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23098 <ind-def:instance datatype="int">1</ind-def:instance>
23099 </ind-def:textfilecontent54_object>
23100 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201583" version="1">
23101 <ind-def:path>/etc/audit</ind-def:path>
23102 <ind-def:filename>audit.rules</ind-def:filename>
23103 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/shadow[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23104 <ind-def:instance datatype="int">1</ind-def:instance>
23105 </ind-def:textfilecontent54_object>
23106 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201584" version="1">
23107 <ind-def:path>/etc/audit</ind-def:path>
23108 <ind-def:filename>audit.rules</ind-def:filename>
23109 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/security/opasswd[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23110 <ind-def:instance datatype="int">1</ind-def:instance>
23111 </ind-def:textfilecontent54_object>
23112 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201590" version="1">
23113 <ind-def:path>/etc/audit</ind-def:path>
23114 <ind-def:filename>audit.rules</ind-def:filename>
23115 <ind-def:pattern operation="pattern match">^\-a[[:space:]]exit,always[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]sethostname[[:space:]]\-S[[:space:]]setdomainname[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
23116 <ind-def:instance datatype="int">1</ind-def:instance>
23117 </ind-def:textfilecontent54_object>
23118 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201591" version="1">
23119 <ind-def:path>/etc/audit</ind-def:path>
23120 <ind-def:filename>audit.rules</ind-def:filename>
23121 <ind-def:pattern operation="pattern match">^\-a[[:space:]]exit,always[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]sethostname[[:space:]]\-S[[:space:]]setdomainname[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
23122 <ind-def:instance datatype="int">1</ind-def:instance>
23123 </ind-def:textfilecontent54_object>
23124 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201592" version="1">
23125 <ind-def:path>/etc/audit</ind-def:path>
23126 <ind-def:filename>audit.rules</ind-def:filename>
23127 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/issue[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
23128 <ind-def:instance datatype="int">1</ind-def:instance>
23129 </ind-def:textfilecontent54_object>
23130 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201593" version="1">
23131 <ind-def:path>/etc/audit</ind-def:path>
23132 <ind-def:filename>audit.rules</ind-def:filename>
23133 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/issue\.net[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
23134 <ind-def:instance datatype="int">1</ind-def:instance>
23135 </ind-def:textfilecontent54_object>
23136 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201594" version="1">
23137 <ind-def:path>/etc/audit</ind-def:path>
23138 <ind-def:filename>audit.rules</ind-def:filename>
23139 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/hosts[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
23140 <ind-def:instance datatype="int">1</ind-def:instance>
23141 </ind-def:textfilecontent54_object>
23142 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201595" version="1">
23143 <ind-def:path>/etc/audit</ind-def:path>
23144 <ind-def:filename>audit.rules</ind-def:filename>
23145 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/sysconfig/network[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
23146 <ind-def:instance datatype="int">1</ind-def:instance>
23147 </ind-def:textfilecontent54_object>
23148 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20160" version="1">
23149 <ind-def:path>/etc/audit</ind-def:path>
23150 <ind-def:filename>audit.rules</ind-def:filename>
23151 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/selinux/[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]MAC\-policy$</ind-def:pattern>
23152 <ind-def:instance datatype="int">1</ind-def:instance>
23153 </ind-def:textfilecontent54_object>
23154 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201610" version="1">
23155 <ind-def:path>/etc/audit</ind-def:path>
23156 <ind-def:filename>audit.rules</ind-def:filename>
23157 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/faillog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</ind-def:pattern>
23158 <ind-def:instance datatype="int">1</ind-def:instance>
23159 </ind-def:textfilecontent54_object>
23160 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201611" version="1">
23161 <ind-def:path>/etc/audit</ind-def:path>
23162 <ind-def:filename>audit.rules</ind-def:filename>
23163 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/lastlog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</ind-def:pattern>
23164 <ind-def:instance datatype="int">1</ind-def:instance>
23165 </ind-def:textfilecontent54_object>
23166 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201620" version="1">
23167 <ind-def:path>/etc/audit</ind-def:path>
23168 <ind-def:filename>audit.rules</ind-def:filename>
23169 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/run/utmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
23170 <ind-def:instance datatype="int">1</ind-def:instance>
23171 </ind-def:textfilecontent54_object>
23172 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201621" version="1">
23173 <ind-def:path>/etc/audit</ind-def:path>
23174 <ind-def:filename>audit.rules</ind-def:filename>
23175 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/btmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
23176 <ind-def:instance datatype="int">1</ind-def:instance>
23177 </ind-def:textfilecontent54_object>
23178 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201622" version="1">
23179 <ind-def:path>/etc/audit</ind-def:path>
23180 <ind-def:filename>audit.rules</ind-def:filename>
23181 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/wtmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
23182 <ind-def:instance datatype="int">1</ind-def:instance>
23183 </ind-def:textfilecontent54_object>
23184 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201630" version="1">
23185 <ind-def:path>/etc/audit</ind-def:path>
23186 <ind-def:filename>audit.rules</ind-def:filename>
23187 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]chmod[[:space:]]\-S[[:space:]]fchmod[[:space:]]\-S[[:space:]]fchmodat[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]perm_mod$</ind-def:pattern>
23188 <ind-def:instance datatype="int">1</ind-def:instance>
23189 </ind-def:textfilecontent54_object>
23190 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201631" version="1">
23191 <ind-def:path>/etc/audit</ind-def:path>
23192 <ind-def:filename>audit.rules</ind-def:filename>
23193 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]chown[[:space:]]\-S[[:space:]]fchown[[:space:]]\-S[[:space:]]fchownat[[:space:]]\-S[[:space:]]lchown[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]perm_mod$</ind-def:pattern>
23194 <ind-def:instance datatype="int">1</ind-def:instance>
23195 </ind-def:textfilecontent54_object>
23196 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201632" version="1">
23197 <ind-def:path>/etc/audit</ind-def:path>
23198 <ind-def:filename>audit.rules</ind-def:filename>
23199 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]setxattr[[:space:]]\-S[[:space:]]lsetxattr[[:space:]]\-S[[:space:]]fsetxattr[[:space:]]\-S[[:space:]]removexattr[[:space:]]\-S[[:space:]]lremovexattr[[:space:]]\-S[[:space:]]fremovexattr[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]perm_mod$</ind-def:pattern>
23200 <ind-def:instance datatype="int">1</ind-def:instance>
23201 </ind-def:textfilecontent54_object>
23202 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201633" version="1">
23203 <ind-def:path>/etc/audit</ind-def:path>
23204 <ind-def:filename>audit.rules</ind-def:filename>
23205 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]chmod[[:space:]]\-S[[:space:]]fchmod[[:space:]]\-S[[:space:]]fchmodat[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]perm_mod$</ind-def:pattern>
23206 <ind-def:instance datatype="int">1</ind-def:instance>
23207 </ind-def:textfilecontent54_object>
23208 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201634" version="1">
23209 <ind-def:path>/etc/audit</ind-def:path>
23210 <ind-def:filename>audit.rules</ind-def:filename>
23211 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]chown[[:space:]]\-S[[:space:]]fchown[[:space:]]\-S[[:space:]]fchownat[[:space:]]\-S[[:space:]]lchown[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]perm_mod$</ind-def:pattern>
23212 <ind-def:instance datatype="int">1</ind-def:instance>
23213 </ind-def:textfilecontent54_object>
23214 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201635" version="1">
23215 <ind-def:path>/etc/audit</ind-def:path>
23216 <ind-def:filename>audit.rules</ind-def:filename>
23217 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]setxattr[[:space:]]\-S[[:space:]]lsetxattr[[:space:]]\-S[[:space:]]fsetxattr[[:space:]]\-S[[:space:]]removexattr[[:space:]]\-S[[:space:]]lremovexattr[[:space:]]\-S[[:space:]]fremovexattr[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]perm_mod$</ind-def:pattern>
23218 <ind-def:instance datatype="int">1</ind-def:instance>
23219 </ind-def:textfilecontent54_object>
23220 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201640" version="1">
23221 <ind-def:path>/etc/audit</ind-def:path>
23222 <ind-def:filename>audit.rules</ind-def:filename>
23223 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]creat[[:space:]]\-S[[:space:]]open[[:space:]]\-S[[:space:]]openat[[:space:]]\-S[[:space:]]truncate[[:space:]]\-S[[:space:]]ftruncate[[:space:]]\-F[[:space:]]exit=\-EACCES[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]access$</ind-def:pattern>
23224 <ind-def:instance datatype="int">1</ind-def:instance>
23225 </ind-def:textfilecontent54_object>
23226 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201641" version="1">
23227 <ind-def:path>/etc/audit</ind-def:path>
23228 <ind-def:filename>audit.rules</ind-def:filename>
23229 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]creat[[:space:]]\-S[[:space:]]open[[:space:]]\-S[[:space:]]openat[[:space:]]\-S[[:space:]]truncate[[:space:]]\-S[[:space:]]ftruncate[[:space:]]\-F[[:space:]]exit=\-EPERM[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]access$</ind-def:pattern>
23230 <ind-def:instance datatype="int">1</ind-def:instance>
23231 </ind-def:textfilecontent54_object>
23232 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201642" version="1">
23233 <ind-def:path>/etc/audit</ind-def:path>
23234 <ind-def:filename>audit.rules</ind-def:filename>
23235 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]creat[[:space:]]\-S[[:space:]]open[[:space:]]\-S[[:space:]]openat[[:space:]]\-S[[:space:]]truncate[[:space:]]\-S[[:space:]]ftruncate[[:space:]]\-F[[:space:]]exit=\-EACCES[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]access$</ind-def:pattern>
23236 <ind-def:instance datatype="int">1</ind-def:instance>
23237 </ind-def:textfilecontent54_object>
23238 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201643" version="1">
23239 <ind-def:path>/etc/audit</ind-def:path>
23240 <ind-def:filename>audit.rules</ind-def:filename>
23241 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]creat[[:space:]]\-S[[:space:]]open[[:space:]]\-S[[:space:]]openat[[:space:]]\-S[[:space:]]truncate[[:space:]]\-S[[:space:]]ftruncate[[:space:]]\-F[[:space:]]exit=\-EPERM[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]access$</ind-def:pattern>
23242 <ind-def:instance datatype="int">1</ind-def:instance>
23243 </ind-def:textfilecontent54_object>
23244 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20165" version="1">
23245 <ind-def:path>/etc/audit</ind-def:path>
23246 <ind-def:filename>audit.rules</ind-def:filename>
23247 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]-F[[:space:]]path=/bin/ping[[:space:]]-F perm=x[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]privileged</ind-def:pattern>
23248 <ind-def:instance datatype="int">1</ind-def:instance>
23249 </ind-def:textfilecontent54_object>
23250 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201660" version="1">
23251 <ind-def:path>/etc/audit</ind-def:path>
23252 <ind-def:filename>audit.rules</ind-def:filename>
23253 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]mount[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]export$</ind-def:pattern>
23254 <ind-def:instance datatype="int">1</ind-def:instance>
23255 </ind-def:textfilecontent54_object>
23256 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201661" version="1">
23257 <ind-def:path>/etc/audit</ind-def:path>
23258 <ind-def:filename>audit.rules</ind-def:filename>
23259 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]mount[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]export$</ind-def:pattern>
23260 <ind-def:instance datatype="int">1</ind-def:instance>
23261 </ind-def:textfilecontent54_object>
23262 <unix-def:uname_object id="oval:org.open-scap.f14:obj:201670" version="1"/>
23263 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201671" version="1">
23264 <ind-def:path>/etc/audit</ind-def:path>
23265 <ind-def:filename>audit.rules</ind-def:filename>
23266 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b32[[:space:]]\-S[[:space:]]unlink[[:space:]]\-S[[:space:]]unlinkat[[:space:]]\-S[[:space:]]rename[[:space:]]\-S[[:space:]]renameat[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]delete$</ind-def:pattern>
23267 <ind-def:instance datatype="int">1</ind-def:instance>
23268 </ind-def:textfilecontent54_object>
23269 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201673" version="1">
23270 <ind-def:path>/etc/audit</ind-def:path>
23271 <ind-def:filename>audit.rules</ind-def:filename>
23272 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]unlink[[:space:]]\-S[[:space:]]unlinkat[[:space:]]\-S[[:space:]]rename[[:space:]]\-S[[:space:]]renameat[[:space:]]\-F[[:space:]]auid&gt;=500[[:space:]]\-F[[:space:]]auid!=4294967295[[:space:]]\-k[[:space:]]delete$</ind-def:pattern>
23273 <ind-def:instance datatype="int">1</ind-def:instance>
23274 </ind-def:textfilecontent54_object>
23275 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20168" version="1">
23276 <ind-def:path>/etc/audit</ind-def:path>
23277 <ind-def:filename>audit.rules</ind-def:filename>
23278 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/sudoers[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]actions</ind-def:pattern>
23279 <ind-def:instance datatype="int">1</ind-def:instance>
23280 </ind-def:textfilecontent54_object>
23281 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016851" version="1">
23282 <ind-def:path>/etc/audit</ind-def:path>
23283 <ind-def:filename>audit.rules</ind-def:filename>
23284 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/insmod[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
23285 <ind-def:instance datatype="int">1</ind-def:instance>
23286 </ind-def:textfilecontent54_object>
23287 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016852" version="1">
23288 <ind-def:path>/etc/audit</ind-def:path>
23289 <ind-def:filename>audit.rules</ind-def:filename>
23290 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/rmmod[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
23291 <ind-def:instance datatype="int">1</ind-def:instance>
23292 </ind-def:textfilecontent54_object>
23293 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016853" version="1">
23294 <ind-def:path>/etc/audit</ind-def:path>
23295 <ind-def:filename>audit.rules</ind-def:filename>
23296 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/modprobe[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
23297 <ind-def:instance datatype="int">1</ind-def:instance>
23298 </ind-def:textfilecontent54_object>
23299 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016854" version="1">
23300 <ind-def:path>/etc/audit</ind-def:path>
23301 <ind-def:filename>audit.rules</ind-def:filename>
23302 <ind-def:pattern operation="pattern match">^\-a[[:space:]]always,exit[[:space:]]\-S[[:space:]]init_module[[:space:]]\-S[[:space:]]delete_module[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
23303 <ind-def:instance datatype="int">1</ind-def:instance>
23304 </ind-def:textfilecontent54_object>
23305 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201745" version="1">
23306 <ind-def:path>/etc/xinetd.d</ind-def:path>
23307 <ind-def:filename>telnet</ind-def:filename>
23308 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23309 <ind-def:instance datatype="int">1</ind-def:instance>
23310 </ind-def:textfilecontent54_object>
23311 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201774" version="1">
23312 <ind-def:path>/etc/xinetd.d</ind-def:path>
23313 <ind-def:filename>rcp</ind-def:filename>
23314 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23315 <ind-def:instance datatype="int">1</ind-def:instance>
23316 </ind-def:textfilecontent54_object>
23317 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201775" version="1">
23318 <ind-def:path>/etc/xinetd.d</ind-def:path>
23319 <ind-def:filename>rsh</ind-def:filename>
23320 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23321 <ind-def:instance datatype="int">1</ind-def:instance>
23322 </ind-def:textfilecontent54_object>
23323 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201776" version="1">
23324 <ind-def:path>/etc/xinetd.d</ind-def:path>
23325 <ind-def:filename>rlogin</ind-def:filename>
23326 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23327 <ind-def:instance datatype="int">1</ind-def:instance>
23328 </ind-def:textfilecontent54_object>
23329 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201825" version="1">
23330 <ind-def:path>/etc/xinetd.d</ind-def:path>
23331 <ind-def:filename>tftp</ind-def:filename>
23332 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23333 <ind-def:instance datatype="int">1</ind-def:instance>
23334 </ind-def:textfilecontent54_object>
23335 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20178" version="1">
23336 <ind-def:path>/etc/pam.d</ind-def:path>
23337 <ind-def:filename operation="pattern match">.*</ind-def:filename>
23338 <ind-def:pattern operation="pattern match">^[[:space:]]*.*pam_rhosts</ind-def:pattern>
23339 <ind-def:instance datatype="int">1</ind-def:instance>
23340 </ind-def:textfilecontent54_object>
23341 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20169" version="1">
23342 <ind-def:path>/etc/audit</ind-def:path>
23343 <ind-def:filename>audit.rules</ind-def:filename>
23344 <ind-def:pattern operation="pattern match">^\-e[[:space:]]2</ind-def:pattern>
23345 <ind-def:instance datatype="int">1</ind-def:instance>
23346 </ind-def:textfilecontent54_object>
23347 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20170" version="1">
23348 <unix-def:service_name>inetd</unix-def:service_name>
23349 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23350 </unix-def:runlevel_object>
23351 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20171" version="1">
23352 <unix-def:service_name>xinetd</unix-def:service_name>
23353 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23354 </unix-def:runlevel_object>
23355 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20179" version="1">
23356 <lin-def:name>rsh</lin-def:name>
23357 </lin-def:rpminfo_object>
23358 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20172" version="1">
23359 <lin-def:name>inetd</lin-def:name>
23360 </lin-def:rpminfo_object>
23361 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20173" version="1">
23362 <lin-def:name>xinetd</lin-def:name>
23363 </lin-def:rpminfo_object>
23364 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20174" version="1">
23365 <lin-def:name>telnet-server</lin-def:name>
23366 </lin-def:rpminfo_object>
23367 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20175" version="1">
23368 <lin-def:name>telnet</lin-def:name>
23369 </lin-def:rpminfo_object>
23370 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20176" version="1">
23371 <lin-def:name>krb5-workstation</lin-def:name>
23372 </lin-def:rpminfo_object>
23373 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20177" version="1">
23374 <lin-def:name>rsh-server</lin-def:name>
23375 </lin-def:rpminfo_object>
23376 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20181" version="1">
23377 <unix-def:service_name>ypbind</unix-def:service_name>
23378 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23379 </unix-def:runlevel_object>
23380 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20180" version="1">
23381 <lin-def:name>ypserv</lin-def:name>
23382 </lin-def:rpminfo_object>
23383 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20182" version="1">
23384 <lin-def:name>tftp-server</lin-def:name>
23385 </lin-def:rpminfo_object>
23386 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20183" version="1">
23387 <unix-def:service_name>firstboot</unix-def:service_name>
23388 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23389 </unix-def:runlevel_object>
23390 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20184" version="1">
23391 <unix-def:service_name>gpm</unix-def:service_name>
23392 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23393 </unix-def:runlevel_object>
23394 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20185" version="1">
23395 <unix-def:service_name>irqbalance</unix-def:service_name>
23396 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23397 </unix-def:runlevel_object>
23398 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20186" version="1">
23399 <unix-def:service_name>isdn</unix-def:service_name>
23400 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23401 </unix-def:runlevel_object>
23402 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20187" version="1">
23403 <unix-def:service_name>kdump</unix-def:service_name>
23404 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23405 </unix-def:runlevel_object>
23406 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20188" version="1">
23407 <unix-def:service_name>kudzu</unix-def:service_name>
23408 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23409 </unix-def:runlevel_object>
23410 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20189" version="1">
23411 <unix-def:service_name>mdmonitor</unix-def:service_name>
23412 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23413 </unix-def:runlevel_object>
23414 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20190" version="1">
23415 <unix-def:service_name>microcode_ctl</unix-def:service_name>
23416 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23417 </unix-def:runlevel_object>
23418 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20191" version="1">
23419 <unix-def:service_name>network</unix-def:service_name>
23420 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23421 </unix-def:runlevel_object>
23422 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20192" version="1">
23423 <unix-def:path>/etc/sysconfig/network-scripts</unix-def:path>
23424 <unix-def:filename operation="pattern match">ifcfg-[^l][^o].*</unix-def:filename>
23425 </unix-def:file_object>
23426 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20193" version="1">
23427 <ind-def:path>/etc/sysconfig</ind-def:path>
23428 <ind-def:filename>network</ind-def:filename>
23429 <ind-def:pattern operation="pattern match">^[:space:]*NOZEROCONF=yes</ind-def:pattern>
23430 <ind-def:instance datatype="int">1</ind-def:instance>
23431 </ind-def:textfilecontent54_object>
23432 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20194" version="1">
23433 <unix-def:service_name>pcscd</unix-def:service_name>
23434 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23435 </unix-def:runlevel_object>
23436 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20195" version="1">
23437 <unix-def:service_name>smartd</unix-def:service_name>
23438 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23439 </unix-def:runlevel_object>
23440 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20196" version="1">
23441 <unix-def:service_name>readahead_early</unix-def:service_name>
23442 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23443 </unix-def:runlevel_object>
23444 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20197" version="1">
23445 <unix-def:service_name>readahead_later</unix-def:service_name>
23446 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23447 </unix-def:runlevel_object>
23448 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20198" version="1">
23449 <unix-def:service_name>messagebus</unix-def:service_name>
23450 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23451 </unix-def:runlevel_object>
23452 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20199" version="1">
23453 <unix-def:service_name>haldaemon</unix-def:service_name>
23454 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23455 </unix-def:runlevel_object>
23456 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20200" version="1">
23457 <unix-def:service_name>bluetooth</unix-def:service_name>
23458 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23459 </unix-def:runlevel_object>
23460 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20201" version="1">
23461 <unix-def:service_name>hidd</unix-def:service_name>
23462 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23463 </unix-def:runlevel_object>
23464 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2020151" version="1">
23465 <ind-def:path>/etc/modprobe.d</ind-def:path>
23466 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
23467 <ind-def:pattern operation="pattern match">alias[:space:]net\-pf\-31[:space:]off</ind-def:pattern>
23468 <ind-def:instance datatype="int">1</ind-def:instance>
23469 </ind-def:textfilecontent54_object>
23470 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2020152" version="1">
23471 <ind-def:path>/etc/modprobe.d</ind-def:path>
23472 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
23473 <ind-def:pattern operation="pattern match">alias[:space:]bluetooth[:space:]off</ind-def:pattern>
23474 <ind-def:instance datatype="int">1</ind-def:instance>
23475 </ind-def:textfilecontent54_object>
23476 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20202" version="1">
23477 <unix-def:service_name>apmd</unix-def:service_name>
23478 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23479 </unix-def:runlevel_object>
23480 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20203" version="1">
23481 <unix-def:service_name>acpid</unix-def:service_name>
23482 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23483 </unix-def:runlevel_object>
23484 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20204" version="1">
23485 <unix-def:service_name>cpuspeed</unix-def:service_name>
23486 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23487 </unix-def:runlevel_object>
23488 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20205" version="1">
23489 <unix-def:service_name>crond</unix-def:service_name>
23490 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23491 </unix-def:runlevel_object>
23492 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:202052" version="1">
23493 <unix-def:service_name>atd</unix-def:service_name>
23494 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23495 </unix-def:runlevel_object>
23496 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:202053" version="1">
23497 <lin-def:name>at</lin-def:name>
23498 </lin-def:rpminfo_object>
23499 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20206" version="1">
23500 <unix-def:service_name>anacron</unix-def:service_name>
23501 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23502 </unix-def:runlevel_object>
23503 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20207" version="1">
23504 <lin-def:name>cronie-anacron</lin-def:name>
23505 </lin-def:rpminfo_object>
23506 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20217" version="1">
23507 <unix-def:path>/etc/cron.monthly</unix-def:path>
23508 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23509 </unix-def:file_object>
23510 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20225" version="1">
23511 <unix-def:path>/etc/cron.daily</unix-def:path>
23512 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23513 </unix-def:file_object>
23514 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20216" version="1">
23515 <unix-def:path>/etc/cron.weekly</unix-def:path>
23516 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23517 </unix-def:file_object>
23518 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20209" version="1">
23519 <unix-def:path>/etc</unix-def:path>
23520 <unix-def:filename>crontab</unix-def:filename>
23521 </unix-def:file_object>
23522 <unix-def:password_object id="oval:org.open-scap.f14:obj:202091" version="1">
23523 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20209"/>
23524 </unix-def:password_object>
23525 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20212" version="1">
23526 <unix-def:path>/etc</unix-def:path>
23527 <unix-def:filename>anacrontab</unix-def:filename>
23528 </unix-def:file_object>
23529 <unix-def:password_object id="oval:org.open-scap.f14:obj:202121" version="1">
23530 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20212"/>
23531 </unix-def:password_object>
23532 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20210" version="1">
23533 <unix-def:path>/etc</unix-def:path>
23534 <unix-def:filename>crontab</unix-def:filename>
23535 </unix-def:file_object>
23536 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20214" version="1">
23537 <unix-def:path>/etc/cron.hourly</unix-def:path>
23538 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23539 </unix-def:file_object>
23540 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20222" version="1">
23541 <unix-def:path>/etc/cron.monthly</unix-def:path>
23542 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23543 </unix-def:file_object>
23544 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20218" version="1">
23545 <unix-def:behaviors recurse="symlinks and directories"/>
23546 <unix-def:path>/etc/cron.d</unix-def:path>
23547 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23548 </unix-def:file_object>
23549 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20223" version="1">
23550 <unix-def:behaviors recurse="symlinks and directories"/>
23551 <unix-def:path>/etc/cron.d</unix-def:path>
23552 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23553 </unix-def:file_object>
23554 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20221" version="1">
23555 <unix-def:path>/etc/cron.weekly</unix-def:path>
23556 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23557 </unix-def:file_object>
23558 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20211" version="1">
23559 <unix-def:path>/etc</unix-def:path>
23560 <unix-def:filename>anacrontab</unix-def:filename>
23561 </unix-def:file_object>
23562 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20224" version="1">
23563 <unix-def:path>/etc/cron.hourly</unix-def:path>
23564 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23565 </unix-def:file_object>
23566 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20219" version="1">
23567 <unix-def:path>/etc/cron.hourly</unix-def:path>
23568 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23569 </unix-def:file_object>
23570 <unix-def:password_object id="oval:org.open-scap.f14:obj:202191" version="1">
23571 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20219"/>
23572 </unix-def:password_object>
23573 <unix-def:password_object id="oval:org.open-scap.f14:obj:2014911" version="1">
23574 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20149"/>
23575 </unix-def:password_object>
23576 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20208" version="1">
23577 <unix-def:path>/etc</unix-def:path>
23578 <unix-def:filename>crontab</unix-def:filename>
23579 </unix-def:file_object>
23580 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20220" version="1">
23581 <unix-def:path>/etc/cron.daily</unix-def:path>
23582 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23583 </unix-def:file_object>
23584 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20213" version="1">
23585 <unix-def:path>/etc</unix-def:path>
23586 <unix-def:filename>anacrontab</unix-def:filename>
23587 </unix-def:file_object>
23588 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20226" version="1">
23589 <unix-def:path>/etc/cron.weekly</unix-def:path>
23590 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23591 </unix-def:file_object>
23592 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20227" version="1">
23593 <unix-def:path>/etc/cron.monthly</unix-def:path>
23594 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23595 </unix-def:file_object>
23596 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20215" version="1">
23597 <unix-def:path>/etc/cron.daily</unix-def:path>
23598 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23599 </unix-def:file_object>
23600 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20228" version="1">
23601 <unix-def:behaviors recurse="symlinks and directories"/>
23602 <unix-def:path>/etc/cron.d</unix-def:path>
23603 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23604 </unix-def:file_object>
23605 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20229" version="1">
23606 <unix-def:path>/var/spool/cron</unix-def:path>
23607 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23608 </unix-def:file_object>
23609 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20232" version="1">
23610 <unix-def:path>/etc</unix-def:path>
23611 <unix-def:filename>cron.deny</unix-def:filename>
23612 </unix-def:file_object>
23613 <unix-def:file_object comment="/etc/at.deny" id="oval:org.open-scap.f14:obj:20233" version="1">
23614 <unix-def:path>/etc</unix-def:path>
23615 <unix-def:filename>at.deny</unix-def:filename>
23616 </unix-def:file_object>
23617 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20234" version="1">
23618 <unix-def:service_name>sshd</unix-def:service_name>
23619 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23620 </unix-def:runlevel_object>
23621 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20235" version="1">
23622 <lin-def:name>openssh-server</lin-def:name>
23623 </lin-def:rpminfo_object>
23624 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20236" version="1">
23625 <ind-def:path>/etc/sysconfig</ind-def:path>
23626 <ind-def:filename>iptables</ind-def:filename>
23627 <ind-def:pattern operation="pattern match">^[[:space:]]*-A[[:space:]]+.*INPUT[[:space:]]+-m[[:space:]]+state[[:space:]]+--state[[:space:]]+NEW[[:space:]]+-m[[:space:]]+tcp[[:space:]]+-p[[:space:]]+tcp[[:space:]]+--dport[[:space:]]+22[[:space:]]+-j[[:space:]]+ACCEPT[[:space:]]*$</ind-def:pattern>
23628 <ind-def:instance datatype="int">1</ind-def:instance>
23629 </ind-def:textfilecontent54_object>
23630 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20237" version="1">
23631 <ind-def:path>/etc/sysconfig</ind-def:path>
23632 <ind-def:filename>ip6tables</ind-def:filename>
23633 <ind-def:pattern operation="pattern match">^[[:space:]]*-A[[:space:]]+.*INPUT[[:space:]]+-m[[:space:]]+state[[:space:]]+--state[[:space:]]+NEW[[:space:]]+-m[[:space:]]+tcp[[:space:]]+-p[[:space:]]+tcp[[:space:]]+--dport[[:space:]]+22[[:space:]]+-j[[:space:]]+ACCEPT[[:space:]]*$</ind-def:pattern>
23634 <ind-def:instance datatype="int">1</ind-def:instance>
23635 </ind-def:textfilecontent54_object>
23636 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20238" version="1">
23637 <ind-def:path>/etc/ssh</ind-def:path>
23638 <ind-def:filename>sshd_config</ind-def:filename>
23639 <ind-def:pattern operation="pattern match">^[[:space:]]*Protocol[[:space:]](2)</ind-def:pattern>
23640 <ind-def:instance datatype="int">1</ind-def:instance>
23641 </ind-def:textfilecontent54_object>
23642 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20239" version="1">
23643 <ind-def:path>/etc/ssh</ind-def:path>
23644 <ind-def:filename>sshd_config</ind-def:filename>
23645 <ind-def:pattern operation="pattern match">^[[:space:]]*ClientAliveInterval[[:space:]]*([[:digit:]]+)</ind-def:pattern>
23646 <ind-def:instance datatype="int">1</ind-def:instance>
23647 </ind-def:textfilecontent54_object>
23648 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20240" version="1">
23649 <ind-def:path>/etc/ssh</ind-def:path>
23650 <ind-def:filename>sshd_config</ind-def:filename>
23651 <ind-def:pattern operation="pattern match">^[[:space:]]*ClientAliveCountMax[[:space:]]*([[:digit:]]+)</ind-def:pattern>
23652 <ind-def:instance datatype="int">1</ind-def:instance>
23653 </ind-def:textfilecontent54_object>
23654 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20241" version="1">
23655 <ind-def:path>/etc/ssh</ind-def:path>
23656 <ind-def:filename>sshd_config</ind-def:filename>
23657 <ind-def:pattern operation="pattern match">^[[:space:]]*IgnoreRhosts[[:space:]]*yes</ind-def:pattern>
23658 <ind-def:instance datatype="int">1</ind-def:instance>
23659 </ind-def:textfilecontent54_object>
23660 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20242" version="1">
23661 <ind-def:path>/etc/ssh</ind-def:path>
23662 <ind-def:filename>sshd_config</ind-def:filename>
23663 <ind-def:pattern operation="pattern match">^[[:space:]]*HostbasedAuthentication[[:space:]]*no</ind-def:pattern>
23664 <ind-def:instance datatype="int">1</ind-def:instance>
23665 </ind-def:textfilecontent54_object>
23666 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20243" version="1">
23667 <ind-def:path>/etc/ssh</ind-def:path>
23668 <ind-def:filename>sshd_config</ind-def:filename>
23669 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitRootLogin[[:space:]]*no</ind-def:pattern>
23670 <ind-def:instance datatype="int">1</ind-def:instance>
23671 </ind-def:textfilecontent54_object>
23672 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20244" version="1">
23673 <ind-def:path>/etc/ssh</ind-def:path>
23674 <ind-def:filename>sshd_config</ind-def:filename>
23675 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitEmptyPasswords[[:space:]]*no</ind-def:pattern>
23676 <ind-def:instance datatype="int">1</ind-def:instance>
23677 </ind-def:textfilecontent54_object>
23678 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20245" version="1">
23679 <ind-def:path>/etc/ssh</ind-def:path>
23680 <ind-def:filename>sshd_config</ind-def:filename>
23681 <ind-def:pattern operation="pattern match">^[[:space:]]*Banner[[:space:]]+/etc/issue$</ind-def:pattern>
23682 <ind-def:instance datatype="int">1</ind-def:instance>
23683 </ind-def:textfilecontent54_object>
23684 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202455" version="1">
23685 <ind-def:path>/etc/ssh</ind-def:path>
23686 <ind-def:filename>sshd_config</ind-def:filename>
23687 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitUserEnvironment[[:space:]]+no</ind-def:pattern>
23688 <ind-def:instance datatype="int">1</ind-def:instance>
23689 </ind-def:textfilecontent54_object>
23690 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202456" version="1">
23691 <ind-def:path>/etc/ssh</ind-def:path>
23692 <ind-def:filename>sshd_config</ind-def:filename>
23693 <ind-def:pattern operation="pattern match">^[[:space:]]*Ciphers[[:space:]]+([^ \t\r\n\v\f]+)</ind-def:pattern>
23694 <ind-def:instance datatype="int">1</ind-def:instance>
23695 </ind-def:textfilecontent54_object>
23696 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20246" version="1">
23697 <ind-def:path>/etc</ind-def:path>
23698 <ind-def:filename>inittab</ind-def:filename>
23699 <ind-def:pattern operation="pattern match">^[\s]*id:([^:]*):initdefault:</ind-def:pattern>
23700 <ind-def:instance datatype="int">1</ind-def:instance>
23701 </ind-def:textfilecontent54_object>
23702 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20248" version="1">
23703 <ind-def:path>/etc/X11/xinit</ind-def:path>
23704 <ind-def:filename>xserverrc</ind-def:filename>
23705 <ind-def:pattern operation="pattern match">^[\s]*exec\sX\s:0\s\-nolisten\stcp\s\$@</ind-def:pattern>
23706 <ind-def:instance datatype="int">1</ind-def:instance>
23707 </ind-def:textfilecontent54_object>
23708 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20249" version="1">
23709 <ind-def:path>/etc/gdm</ind-def:path>
23710 <ind-def:filename>custom.conf</ind-def:filename>
23711 <ind-def:pattern operation="pattern match">^[\s]*InfoMsgFile[\s]*=[\s]*/etc/issue</ind-def:pattern>
23712 <ind-def:instance datatype="int">1</ind-def:instance>
23713 </ind-def:textfilecontent54_object>
23714 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20250" version="1">
23715 <unix-def:service_name>avahi-daemon</unix-def:service_name>
23716 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23717 </unix-def:runlevel_object>
23718 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20253" version="1">
23719 <ind-def:path>/etc/avahi</ind-def:path>
23720 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23721 <ind-def:pattern operation="pattern match">check-response-ttl[\s]*=[\s]*([^#]*)</ind-def:pattern>
23722 <ind-def:instance datatype="int">1</ind-def:instance>
23723 </ind-def:textfilecontent54_object>
23724 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20254" version="1">
23725 <ind-def:path>/etc/avahi</ind-def:path>
23726 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23727 <ind-def:pattern operation="pattern match">disallow-other-stacks[\s]*=[\s]*([^#]*)</ind-def:pattern>
23728 <ind-def:instance datatype="int">1</ind-def:instance>
23729 </ind-def:textfilecontent54_object>
23730 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20255" version="1">
23731 <ind-def:path>/etc/avahi</ind-def:path>
23732 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23733 <ind-def:pattern operation="pattern match">disable-publishing[\s]*=[\s]*([^#]*)</ind-def:pattern>
23734 <ind-def:instance datatype="int">1</ind-def:instance>
23735 </ind-def:textfilecontent54_object>
23736 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20256" version="1">
23737 <ind-def:path>/etc/avahi</ind-def:path>
23738 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23739 <ind-def:pattern operation="pattern match">disable-user-service-publishing[\s]*=[\s]*([^#]*)</ind-def:pattern>
23740 <ind-def:instance datatype="int">1</ind-def:instance>
23741 </ind-def:textfilecontent54_object>
23742 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20257" version="1">
23743 <ind-def:path>/etc/avahi</ind-def:path>
23744 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23745 <ind-def:pattern operation="pattern match">publish-hinfo[\s]*=[\s]*([^#]*)</ind-def:pattern>
23746 <ind-def:instance datatype="int">1</ind-def:instance>
23747 </ind-def:textfilecontent54_object>
23748 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20258" version="1">
23749 <ind-def:path>/etc/avahi</ind-def:path>
23750 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23751 <ind-def:pattern operation="pattern match">publish-workstation[\s]*=[\s]*([^#]*)</ind-def:pattern>
23752 <ind-def:instance datatype="int">1</ind-def:instance>
23753 </ind-def:textfilecontent54_object>
23754 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20259" version="1">
23755 <ind-def:path>/etc/avahi</ind-def:path>
23756 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23757 <ind-def:pattern operation="pattern match">publish-addresses[\s]*=[\s]*([^#]*)</ind-def:pattern>
23758 <ind-def:instance datatype="int">1</ind-def:instance>
23759 </ind-def:textfilecontent54_object>
23760 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20260" version="1">
23761 <ind-def:path>/etc/avahi</ind-def:path>
23762 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23763 <ind-def:pattern operation="pattern match">publish-domain[\s]*=[\s]*([^#]*)</ind-def:pattern>
23764 <ind-def:instance datatype="int">1</ind-def:instance>
23765 </ind-def:textfilecontent54_object>
23766 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20261" version="1">
23767 <unix-def:service_name>cups</unix-def:service_name>
23768 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23769 </unix-def:runlevel_object>
23770 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20264" version="1">
23771 <ind-def:path>/etc/cups</ind-def:path>
23772 <ind-def:filename>cupsd.conf</ind-def:filename>
23773 <ind-def:pattern operation="pattern match">Browsing[\s]+([^#]*)</ind-def:pattern>
23774 <ind-def:instance datatype="int">1</ind-def:instance>
23775 </ind-def:textfilecontent54_object>
23776 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20265" version="1">
23777 <ind-def:path>/etc/cups</ind-def:path>
23778 <ind-def:filename>cupsd.conf</ind-def:filename>
23779 <ind-def:pattern operation="pattern match">BrowseAllow[\s]+none</ind-def:pattern>
23780 <ind-def:instance datatype="int">1</ind-def:instance>
23781 </ind-def:textfilecontent54_object>
23782 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20266" version="1">
23783 <unix-def:service_name>hplip</unix-def:service_name>
23784 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23785 </unix-def:runlevel_object>
23786 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20267" version="1">
23787 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
23788 <ind-def:filename operation="pattern match">ifcfg-eth.*</ind-def:filename>
23789 <ind-def:pattern operation="pattern match">^[\s]*BOOTPROTO[\s]*=[\s]*([^#]*)</ind-def:pattern>
23790 <ind-def:instance datatype="int">1</ind-def:instance>
23791 </ind-def:textfilecontent54_object>
23792 <ind-def:variable_object id="oval:org.open-scap.f14:obj:256" version="1">
23793 <ind-def:var_ref>oval:org.open-scap.f14:var:20267</ind-def:var_ref>
23794 </ind-def:variable_object>
23795 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20268" version="1">
23796 <unix-def:service_name>dhcpd</unix-def:service_name>
23797 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23798 </unix-def:runlevel_object>
23799 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20269" version="1">
23800 <lin-def:name>dhcp</lin-def:name>
23801 </lin-def:rpminfo_object>
23802 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20270" version="1">
23803 <ind-def:path>/etc</ind-def:path>
23804 <ind-def:filename>dhcpd.conf</ind-def:filename>
23805 <ind-def:pattern operation="pattern match">ddns-update-style[\s]+none;</ind-def:pattern>
23806 <ind-def:instance datatype="int">1</ind-def:instance>
23807 </ind-def:textfilecontent54_object>
23808 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20271" version="1">
23809 <ind-def:path>/etc</ind-def:path>
23810 <ind-def:filename>dhcpd.conf</ind-def:filename>
23811 <ind-def:pattern operation="pattern match">deny[\s]+declines;</ind-def:pattern>
23812 <ind-def:instance datatype="int">1</ind-def:instance>
23813 </ind-def:textfilecontent54_object>
23814 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20272" version="1">
23815 <ind-def:path>/etc</ind-def:path>
23816 <ind-def:filename>dhcpd.conf</ind-def:filename>
23817 <ind-def:pattern operation="pattern match">deny[\s]+bootp;</ind-def:pattern>
23818 <ind-def:instance datatype="int">1</ind-def:instance>
23819 </ind-def:textfilecontent54_object>
23820 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:267" version="1">
23821 <ind-def:path>/etc</ind-def:path>
23822 <ind-def:filename>dhcpd.conf</ind-def:filename>
23823 <ind-def:pattern operation="pattern match">option[\s]+domain-name-servers</ind-def:pattern>
23824 <ind-def:instance datatype="int">1</ind-def:instance>
23825 </ind-def:textfilecontent54_object>
23826 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:269" version="1">
23827 <ind-def:path>/etc</ind-def:path>
23828 <ind-def:filename>dhcpd.conf</ind-def:filename>
23829 <ind-def:pattern operation="pattern match">option[\s]+routers</ind-def:pattern>
23830 <ind-def:instance datatype="int">1</ind-def:instance>
23831 </ind-def:textfilecontent54_object>
23832 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:271" version="1">
23833 <ind-def:path>/etc</ind-def:path>
23834 <ind-def:filename>dhcpd.conf</ind-def:filename>
23835 <ind-def:pattern operation="pattern match">option[\s]+domain-name</ind-def:pattern>
23836 <ind-def:instance datatype="int">1</ind-def:instance>
23837 </ind-def:textfilecontent54_object>
23838 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:273" version="1">
23839 <ind-def:path>/etc</ind-def:path>
23840 <ind-def:filename>dhcpd.conf</ind-def:filename>
23841 <ind-def:pattern operation="pattern match">option[\s]+nis-domain</ind-def:pattern>
23842 <ind-def:instance datatype="int">1</ind-def:instance>
23843 </ind-def:textfilecontent54_object>
23844 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:275" version="1">
23845 <ind-def:path>/etc</ind-def:path>
23846 <ind-def:filename>dhcpd.conf</ind-def:filename>
23847 <ind-def:pattern operation="pattern match">option[\s]+nis-servers</ind-def:pattern>
23848 <ind-def:instance datatype="int">1</ind-def:instance>
23849 </ind-def:textfilecontent54_object>
23850 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:277" version="1">
23851 <ind-def:path>/etc</ind-def:path>
23852 <ind-def:filename>dhcpd.conf</ind-def:filename>
23853 <ind-def:pattern operation="pattern match">option[\s]+time-offset</ind-def:pattern>
23854 <ind-def:instance datatype="int">1</ind-def:instance>
23855 </ind-def:textfilecontent54_object>
23856 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:279" version="1">
23857 <ind-def:path>/etc</ind-def:path>
23858 <ind-def:filename>dhcpd.conf</ind-def:filename>
23859 <ind-def:pattern operation="pattern match">option[\s]+ntp-servers</ind-def:pattern>
23860 <ind-def:instance datatype="int">1</ind-def:instance>
23861 </ind-def:textfilecontent54_object>
23862 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20280" version="1">
23863 <ind-def:path>/etc</ind-def:path>
23864 <ind-def:filename>syslog.conf</ind-def:filename>
23865 <ind-def:pattern operation="pattern match">daemon\.\*[\s]+/var/log/daemon\.log</ind-def:pattern>
23866 <ind-def:instance datatype="int">1</ind-def:instance>
23867 </ind-def:textfilecontent54_object>
23868 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20281" version="1">
23869 <unix-def:service_name>ntpd</unix-def:service_name>
23870 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23871 </unix-def:runlevel_object>
23872 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20282" version="1">
23873 <ind-def:path>/etc</ind-def:path>
23874 <ind-def:filename>ntp.conf</ind-def:filename>
23875 <ind-def:pattern operation="pattern match">restrict[\s]+default[\s]+ignore</ind-def:pattern>
23876 <ind-def:instance datatype="int">1</ind-def:instance>
23877 </ind-def:textfilecontent54_object>
23878 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20285" version="1">
23879 <ind-def:path>/etc</ind-def:path>
23880 <ind-def:filename>rc.local</ind-def:filename>
23881 <ind-def:pattern operation="pattern match">/usr/local/sbin/ntpd -s</ind-def:pattern>
23882 <ind-def:instance datatype="int">1</ind-def:instance>
23883 </ind-def:textfilecontent54_object>
23884 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20287" version="1">
23885 <unix-def:service_name>sendmail</unix-def:service_name>
23886 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23887 </unix-def:runlevel_object>
23888 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20288" version="1">
23889 <ind-def:path>/etc/sysconfig</ind-def:path>
23890 <ind-def:filename>sendmail</ind-def:filename>
23891 <ind-def:pattern operation="pattern match">DAEMON[\s]*=[\s]*yes</ind-def:pattern>
23892 <ind-def:instance datatype="int">1</ind-def:instance>
23893 </ind-def:textfilecontent54_object>
23894 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202885" version="1">
23895 <ind-def:path>/etc</ind-def:path>
23896 <ind-def:filename>ldap.conf</ind-def:filename>
23897 <ind-def:pattern operation="pattern match">^[\s]*tls_checkpeer[\s]+yes</ind-def:pattern>
23898 <ind-def:instance datatype="int">1</ind-def:instance>
23899 </ind-def:textfilecontent54_object>
23900 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20289" version="1">
23901 <unix-def:service_name>ldap</unix-def:service_name>
23902 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23903 </unix-def:runlevel_object>
23904 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20290" version="1">
23905 <unix-def:path>/var/lib/ldap</unix-def:path>
23906 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23907 </unix-def:file_object>
23908 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20291" version="1">
23909 <unix-def:path>/var/lib/ldap</unix-def:path>
23910 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23911 </unix-def:file_object>
23912 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20292" version="1">
23913 <unix-def:service_name>nfslock</unix-def:service_name>
23914 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23915 </unix-def:runlevel_object>
23916 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20293" version="1">
23917 <unix-def:service_name>rpcgssd</unix-def:service_name>
23918 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23919 </unix-def:runlevel_object>
23920 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20294" version="1">
23921 <unix-def:service_name>rpcidmapd</unix-def:service_name>
23922 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23923 </unix-def:runlevel_object>
23924 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20295" version="1">
23925 <unix-def:service_name>netfs</unix-def:service_name>
23926 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23927 </unix-def:runlevel_object>
23928 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20296" version="1">
23929 <unix-def:service_name>portmap</unix-def:service_name>
23930 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23931 </unix-def:runlevel_object>
23932 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20297" version="1">
23933 <ind-def:path>/etc/sysconfig</ind-def:path>
23934 <ind-def:filename>nfs</ind-def:filename>
23935 <ind-def:pattern operation="pattern match">LOCKD_TCPPORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23936 <ind-def:instance datatype="int">1</ind-def:instance>
23937 </ind-def:textfilecontent54_object>
23938 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20298" version="1">
23939 <ind-def:path>/etc/sysconfig</ind-def:path>
23940 <ind-def:filename>nfs</ind-def:filename>
23941 <ind-def:pattern operation="pattern match">STATD_OUTGOING_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23942 <ind-def:instance datatype="int">1</ind-def:instance>
23943 </ind-def:textfilecontent54_object>
23944 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20299" version="1">
23945 <ind-def:path>/etc/sysconfig</ind-def:path>
23946 <ind-def:filename>nfs</ind-def:filename>
23947 <ind-def:pattern operation="pattern match">STATD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23948 <ind-def:instance datatype="int">1</ind-def:instance>
23949 </ind-def:textfilecontent54_object>
23950 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20300" version="1">
23951 <ind-def:path>/etc/sysconfig</ind-def:path>
23952 <ind-def:filename>nfs</ind-def:filename>
23953 <ind-def:pattern operation="pattern match">LOCKD_UDPPORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23954 <ind-def:instance datatype="int">1</ind-def:instance>
23955 </ind-def:textfilecontent54_object>
23956 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20301" version="1">
23957 <ind-def:path>/etc/sysconfig</ind-def:path>
23958 <ind-def:filename>nfs</ind-def:filename>
23959 <ind-def:pattern operation="pattern match">MOUNTD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23960 <ind-def:instance datatype="int">1</ind-def:instance>
23961 </ind-def:textfilecontent54_object>
23962 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20302" version="1">
23963 <ind-def:path>/etc/sysconfig</ind-def:path>
23964 <ind-def:filename>nfs</ind-def:filename>
23965 <ind-def:pattern operation="pattern match">RQUOTAD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23966 <ind-def:instance datatype="int">1</ind-def:instance>
23967 </ind-def:textfilecontent54_object>
23968 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20303" version="1">
23969 <unix-def:service_name>nfs</unix-def:service_name>
23970 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23971 </unix-def:runlevel_object>
23972 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20304" version="1">
23973 <unix-def:service_name>rpcsvcgssd</unix-def:service_name>
23974 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23975 </unix-def:runlevel_object>
23976 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20308" version="1">
23977 <ind-def:path>/etc</ind-def:path>
23978 <ind-def:filename>exports</ind-def:filename>
23979 <ind-def:pattern operation="pattern match">no_root_squash</ind-def:pattern>
23980 <ind-def:instance datatype="int">1</ind-def:instance>
23981 </ind-def:textfilecontent54_object>
23982 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20309" version="1">
23983 <ind-def:path>/etc</ind-def:path>
23984 <ind-def:filename>exports</ind-def:filename>
23985 <ind-def:pattern operation="pattern match">insecure</ind-def:pattern>
23986 <ind-def:instance datatype="int">1</ind-def:instance>
23987 </ind-def:textfilecontent54_object>
23988 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20310" version="1">
23989 <ind-def:path>/etc</ind-def:path>
23990 <ind-def:filename>exports</ind-def:filename>
23991 <ind-def:pattern operation="pattern match">rw</ind-def:pattern>
23992 <ind-def:instance datatype="int">1</ind-def:instance>
23993 </ind-def:textfilecontent54_object>
23994 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20311" version="1">
23995 <unix-def:service_name>named</unix-def:service_name>
23996 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23997 </unix-def:runlevel_object>
23998 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20312" version="1">
23999 <lin-def:name>bind</lin-def:name>
24000 </lin-def:rpminfo_object>
24001 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20313" version="1">
24002 <unix-def:path>/var/named/chroot/etc</unix-def:path>
24003 <unix-def:filename>named.conf</unix-def:filename>
24004 </unix-def:file_object>
24005 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20315" version="1">
24006 <unix-def:path>/var/named/chroot/etc</unix-def:path>
24007 <unix-def:filename>named.conf</unix-def:filename>
24008 </unix-def:file_object>
24009 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20314" version="1">
24010 <unix-def:path>/var/named/chroot/etc</unix-def:path>
24011 <unix-def:filename>named.conf</unix-def:filename>
24012 </unix-def:file_object>
24013 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20317" version="1">
24014 <unix-def:service_name>vsftpd</unix-def:service_name>
24015 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24016 </unix-def:runlevel_object>
24017 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:203175" version="1">
24018 <lin-def:name>vsftpd</lin-def:name>
24019 </lin-def:rpminfo_object>
24020 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20319" version="1">
24021 <ind-def:path>/etc</ind-def:path>
24022 <ind-def:filename>vsftpd.conf</ind-def:filename>
24023 <ind-def:pattern operation="pattern match">banner_file[\s]*=[\s]*/etc/issue</ind-def:pattern>
24024 <ind-def:instance datatype="int">1</ind-def:instance>
24025 </ind-def:textfilecontent54_object>
24026 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:340" version="1">
24027 <ind-def:path>/etc</ind-def:path>
24028 <ind-def:filename>vsftpd.conf</ind-def:filename>
24029 <ind-def:pattern operation="pattern match">local_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
24030 <ind-def:instance datatype="int">1</ind-def:instance>
24031 </ind-def:textfilecontent54_object>
24032 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:341" version="1">
24033 <ind-def:path>/etc</ind-def:path>
24034 <ind-def:filename>vsftpd.conf</ind-def:filename>
24035 <ind-def:pattern operation="pattern match">write_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
24036 <ind-def:instance datatype="int">1</ind-def:instance>
24037 </ind-def:textfilecontent54_object>
24038 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20322" version="1">
24039 <unix-def:service_name>httpd</unix-def:service_name>
24040 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24041 </unix-def:runlevel_object>
24042 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20323" version="1">
24043 <lin-def:name>httpd</lin-def:name>
24044 </lin-def:rpminfo_object>
24045 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20324" version="1">
24046 <ind-def:path>/etc/httpd/conf</ind-def:path>
24047 <ind-def:filename>httpd.conf</ind-def:filename>
24048 <ind-def:pattern operation="pattern match">ServerTokens[\s]+([^#]*)</ind-def:pattern>
24049 <ind-def:instance datatype="int">1</ind-def:instance>
24050 </ind-def:textfilecontent54_object>
24051 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20325" version="1">
24052 <ind-def:path>/etc/httpd/conf</ind-def:path>
24053 <ind-def:filename>httpd.conf</ind-def:filename>
24054 <ind-def:pattern operation="pattern match">ServerSignature[\s]+([^#]*)</ind-def:pattern>
24055 <ind-def:instance datatype="int">1</ind-def:instance>
24056 </ind-def:textfilecontent54_object>
24057 <unix-def:file_object comment="/etc/httpd/conf" id="oval:org.open-scap.f14:obj:20326" version="1">
24058 <unix-def:path>/etc/httpd/conf</unix-def:path>
24059 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
24060 </unix-def:file_object>
24061 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20327" version="1">
24062 <unix-def:path>/etc/httpd/conf</unix-def:path>
24063 <unix-def:filename operation="pattern match">.*</unix-def:filename>
24064 </unix-def:file_object>
24065 <unix-def:file_object comment="/usr/sbin/httpd" id="oval:org.open-scap.f14:obj:20328" version="1">
24066 <unix-def:path>/usr/sbin</unix-def:path>
24067 <unix-def:filename>httpd</unix-def:filename>
24068 </unix-def:file_object>
24069 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20329" version="1">
24070 <unix-def:path>/etc/httpd/conf</unix-def:path>
24071 <unix-def:filename operation="pattern match">.*</unix-def:filename>
24072 </unix-def:file_object>
24073 <unix-def:file_object comment="/var/log/httpd" id="oval:org.open-scap.f14:obj:20330" version="1">
24074 <unix-def:path>/var/log/httpd</unix-def:path>
24075 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
24076 </unix-def:file_object>
24077 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20331" version="1">
24078 <unix-def:service_name>dovecot</unix-def:service_name>
24079 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24080 </unix-def:runlevel_object>
24081 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20332" version="1">
24082 <lin-def:name>dovecot</lin-def:name>
24083 </lin-def:rpminfo_object>
24084 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20333" version="1">
24085 <ind-def:path>/etc</ind-def:path>
24086 <ind-def:filename>dovecot.conf</ind-def:filename>
24087 <ind-def:pattern operation="pattern match">protocols[\s]*=.*imaps</ind-def:pattern>
24088 <ind-def:instance datatype="int">1</ind-def:instance>
24089 </ind-def:textfilecontent54_object>
24090 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20334" version="1">
24091 <ind-def:path>/etc</ind-def:path>
24092 <ind-def:filename>dovecot.conf</ind-def:filename>
24093 <ind-def:pattern operation="pattern match">protocols[\s]*=.*pop3s</ind-def:pattern>
24094 <ind-def:instance datatype="int">1</ind-def:instance>
24095 </ind-def:textfilecontent54_object>
24096 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20335" version="1">
24097 <ind-def:path>/etc</ind-def:path>
24098 <ind-def:filename>dovecot.conf</ind-def:filename>
24099 <ind-def:pattern operation="pattern match">protocols[\s]*=.*pop3</ind-def:pattern>
24100 <ind-def:instance datatype="int">1</ind-def:instance>
24101 </ind-def:textfilecontent54_object>
24102 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20336" version="1">
24103 <ind-def:path>/etc</ind-def:path>
24104 <ind-def:filename>dovecot.conf</ind-def:filename>
24105 <ind-def:pattern operation="pattern match">protocols[\s]*=.*imap</ind-def:pattern>
24106 <ind-def:instance datatype="int">1</ind-def:instance>
24107 </ind-def:textfilecontent54_object>
24108 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20337" version="1">
24109 <ind-def:path>/etc</ind-def:path>
24110 <ind-def:filename>dovecot.conf</ind-def:filename>
24111 <ind-def:pattern operation="pattern match">disable_plaintext_auth[\s]*=[\s]*([^#]*)</ind-def:pattern>
24112 <ind-def:instance datatype="int">1</ind-def:instance>
24113 </ind-def:textfilecontent54_object>
24114 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20338" version="1">
24115 <ind-def:path>/etc</ind-def:path>
24116 <ind-def:filename>dovecot.conf</ind-def:filename>
24117 <ind-def:pattern operation="pattern match">mail_drop_priv_before_exec[\s]*=[\s]*([^#]*)</ind-def:pattern>
24118 <ind-def:instance datatype="int">1</ind-def:instance>
24119 </ind-def:textfilecontent54_object>
24120 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20339" version="1">
24121 <ind-def:path>/etc</ind-def:path>
24122 <ind-def:filename>dovecot.conf</ind-def:filename>
24123 <ind-def:pattern operation="pattern match">login_process_per_connection[\s]*=[\s]*([^#]*)</ind-def:pattern>
24124 <ind-def:instance datatype="int">1</ind-def:instance>
24125 </ind-def:textfilecontent54_object>
24126 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20340" version="1">
24127 <unix-def:service_name>smb</unix-def:service_name>
24128 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24129 </unix-def:runlevel_object>
24130 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:203403" version="1">
24131 <ind-def:path>/etc/samba</ind-def:path>
24132 <ind-def:filename>smb.conf</ind-def:filename>
24133 <ind-def:pattern operation="pattern match">^[\s]*guest[\s]+ok[\s]*=[\s]yes</ind-def:pattern>
24134 <ind-def:instance datatype="int">1</ind-def:instance>
24135 </ind-def:textfilecontent54_object>
24136 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2034010" version="1">
24137 <ind-def:path>/etc/samba</ind-def:path>
24138 <ind-def:filename>smb.conf</ind-def:filename>
24139 <ind-def:pattern operation="pattern match">^[\s]*client[\s]+signing[\s]*=[\s]mandatory</ind-def:pattern>
24140 <ind-def:instance datatype="int">1</ind-def:instance>
24141 </ind-def:textfilecontent54_object>
24142 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340111" version="1">
24143 <ind-def:path>/etc</ind-def:path>
24144 <ind-def:filename>fstab</ind-def:filename>
24145 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
24146 <ind-def:instance datatype="int">1</ind-def:instance>
24147 </ind-def:textfilecontent54_object>
24148 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340112" version="1">
24149 <ind-def:path>/etc</ind-def:path>
24150 <ind-def:filename>mtab</ind-def:filename>
24151 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
24152 <ind-def:instance datatype="int">1</ind-def:instance>
24153 </ind-def:textfilecontent54_object>
24154 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20341" version="1">
24155 <unix-def:service_name>squid</unix-def:service_name>
24156 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24157 </unix-def:runlevel_object>
24158 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20342" version="1">
24159 <lin-def:name>squid</lin-def:name>
24160 </lin-def:rpminfo_object>
24161 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20343" version="1">
24162 <ind-def:path>/etc/squid</ind-def:path>
24163 <ind-def:filename>squid.conf</ind-def:filename>
24164 <ind-def:pattern operation="pattern match">^[[:space:]]*ftp_passive[[:space:]]+([^#]*)</ind-def:pattern>
24165 <ind-def:instance datatype="int">1</ind-def:instance>
24166 </ind-def:textfilecontent54_object>
24167 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20346" version="1">
24168 <ind-def:path>/etc/squid</ind-def:path>
24169 <ind-def:filename>squid.conf</ind-def:filename>
24170 <ind-def:pattern operation="pattern match">^[[:space:]]*request_header_max_size[[:space:]]+([^#]*)</ind-def:pattern>
24171 <ind-def:instance datatype="int">1</ind-def:instance>
24172 </ind-def:textfilecontent54_object>
24173 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20345" version="1">
24174 <ind-def:path>/etc/squid</ind-def:path>
24175 <ind-def:filename>squid.conf</ind-def:filename>
24176 <ind-def:pattern operation="pattern match">^[[:space:]]*check_hostnames[[:space:]]+([^#]*)</ind-def:pattern>
24177 <ind-def:instance datatype="int">1</ind-def:instance>
24178 </ind-def:textfilecontent54_object>
24179 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20350" version="1">
24180 <ind-def:path>/etc/squid</ind-def:path>
24181 <ind-def:filename>squid.conf</ind-def:filename>
24182 <ind-def:pattern operation="pattern match">^[[:space:]]*ignore_unknown_nameservers[[:space:]]+([^#]*)</ind-def:pattern>
24183 <ind-def:instance datatype="int">1</ind-def:instance>
24184 </ind-def:textfilecontent54_object>
24185 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20347" version="1">
24186 <ind-def:path>/etc/squid</ind-def:path>
24187 <ind-def:filename>squid.conf</ind-def:filename>
24188 <ind-def:pattern operation="pattern match">^[[:space:]]*reply_header_max_size[[:space:]]+([^#]*)</ind-def:pattern>
24189 <ind-def:instance datatype="int">1</ind-def:instance>
24190 </ind-def:textfilecontent54_object>
24191 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20348" version="1">
24192 <ind-def:path>/etc/squid</ind-def:path>
24193 <ind-def:filename>squid.conf</ind-def:filename>
24194 <ind-def:pattern operation="pattern match">^[[:space:]]*cache_effective_user[[:space:]]+([^#]*)</ind-def:pattern>
24195 <ind-def:instance datatype="int">1</ind-def:instance>
24196 </ind-def:textfilecontent54_object>
24197 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20344" version="1">
24198 <ind-def:path>/etc/squid</ind-def:path>
24199 <ind-def:filename>squid.conf</ind-def:filename>
24200 <ind-def:pattern operation="pattern match">^[[:space:]]*ftp_sanitycheck[[:space:]]+([^#]*)</ind-def:pattern>
24201 <ind-def:instance datatype="int">1</ind-def:instance>
24202 </ind-def:textfilecontent54_object>
24203 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20349" version="1">
24204 <ind-def:path>/etc/squid</ind-def:path>
24205 <ind-def:filename>squid.conf</ind-def:filename>
24206 <ind-def:pattern operation="pattern match">^[[:space:]]*cache_effective_group[[:space:]]+([^#]*)</ind-def:pattern>
24207 <ind-def:instance datatype="int">1</ind-def:instance>
24208 </ind-def:textfilecontent54_object>
24209 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20353" version="1">
24210 <ind-def:path>/etc/squid</ind-def:path>
24211 <ind-def:filename>squid.conf</ind-def:filename>
24212 <ind-def:pattern operation="pattern match">^[[:space:]]*forwarded_for[[:space:]]+([^#]*)</ind-def:pattern>
24213 <ind-def:instance datatype="int">1</ind-def:instance>
24214 </ind-def:textfilecontent54_object>
24215 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20354" version="1">
24216 <ind-def:path>/etc/squid</ind-def:path>
24217 <ind-def:filename>squid.conf</ind-def:filename>
24218 <ind-def:pattern operation="pattern match">^[[:space:]]*log_mime_hdrs[[:space:]]+([^#]*)</ind-def:pattern>
24219 <ind-def:instance datatype="int">1</ind-def:instance>
24220 </ind-def:textfilecontent54_object>
24221 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20351" version="1">
24222 <ind-def:path>/etc/squid</ind-def:path>
24223 <ind-def:filename>squid.conf</ind-def:filename>
24224 <ind-def:pattern operation="pattern match">^[[:space:]]*allow_underscore[[:space:]]+([^#]*)</ind-def:pattern>
24225 <ind-def:instance datatype="int">1</ind-def:instance>
24226 </ind-def:textfilecontent54_object>
24227 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20352" version="1">
24228 <ind-def:path>/etc/squid</ind-def:path>
24229 <ind-def:filename>squid.conf</ind-def:filename>
24230 <ind-def:pattern operation="pattern match">^[[:space:]]*httpd_suppress_version_string[[:space:]]+([^#]*)</ind-def:pattern>
24231 <ind-def:instance datatype="int">1</ind-def:instance>
24232 </ind-def:textfilecontent54_object>
24233 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20365" version="1">
24234 <unix-def:service_name>snmpd</unix-def:service_name>
24235 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24236 </unix-def:runlevel_object>
24237 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20366" version="1">
24238 <lin-def:name>net-snmp</lin-def:name>
24239 </lin-def:rpminfo_object>
24240 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202081" version="1">
24241 <ind-def:path>/etc</ind-def:path>
24242 <ind-def:filename>group</ind-def:filename>
24243 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202081"/>
24244 <ind-def:instance datatype="int">1</ind-def:instance>
24245 </ind-def:textfilecontent54_object>
24246 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202111" version="1">
24247 <ind-def:path>/etc</ind-def:path>
24248 <ind-def:filename>group</ind-def:filename>
24249 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202111"/>
24250 <ind-def:instance datatype="int">1</ind-def:instance>
24251 </ind-def:textfilecontent54_object>
24252 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202141" version="1">
24253 <ind-def:path>/etc</ind-def:path>
24254 <ind-def:filename>group</ind-def:filename>
24255 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202141"/>
24256 <ind-def:instance datatype="int">1</ind-def:instance>
24257 </ind-def:textfilecontent54_object>
24258 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202291" version="1">
24259 <ind-def:path>/etc</ind-def:path>
24260 <ind-def:filename>group</ind-def:filename>
24261 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202291"/>
24262 <ind-def:instance datatype="int">1</ind-def:instance>
24263 </ind-def:textfilecontent54_object>
24264 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202301" version="1">
24265 <ind-def:path>/etc</ind-def:path>
24266 <ind-def:filename>group</ind-def:filename>
24267 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202301"/>
24268 <ind-def:instance datatype="int">1</ind-def:instance>
24269 </ind-def:textfilecontent54_object>
24270 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:200811" version="1">
24271 <ind-def:path>/etc</ind-def:path>
24272 <ind-def:filename>group</ind-def:filename>
24273 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:200811"/>
24274 <ind-def:instance datatype="int">1</ind-def:instance>
24275 </ind-def:textfilecontent54_object>
24276 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:201501" version="1">
24277 <ind-def:path>/etc</ind-def:path>
24278 <ind-def:filename>group</ind-def:filename>
24279 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:201501"/>
24280 <ind-def:instance datatype="int">1</ind-def:instance>
24281 </ind-def:textfilecontent54_object>
24282 </objects>
24283 <states>
24284 <ind-def:textfilecontent54_state comment="/tmp mount point is defined" id="oval:org.open-scap.f14:ste:20000" version="1">
24285 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/tmp</ind-def:subexpression>
24286 </ind-def:textfilecontent54_state>
24287 <ind-def:textfilecontent54_state comment="/var mount point is defined" id="oval:org.open-scap.f14:ste:20002" version="1">
24288 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var</ind-def:subexpression>
24289 </ind-def:textfilecontent54_state>
24290 <ind-def:textfilecontent54_state comment="/var/log mount point is defined" id="oval:org.open-scap.f14:ste:20004" version="1">
24291 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log</ind-def:subexpression>
24292 </ind-def:textfilecontent54_state>
24293 <ind-def:textfilecontent54_state comment="/var/log/audit mount point is defined" id="oval:org.open-scap.f14:ste:20005" version="1">
24294 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log/audit</ind-def:subexpression>
24295 </ind-def:textfilecontent54_state>
24296 <ind-def:textfilecontent54_state comment="/home mount point is defined" id="oval:org.open-scap.f14:ste:20006" version="1">
24297 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/home</ind-def:subexpression>
24298 </ind-def:textfilecontent54_state>
24299 <ind-def:textfilecontent54_state comment="Expected value of gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20010" version="1">
24300 <ind-def:instance datatype="int">1</ind-def:instance>
24301 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
24302 </ind-def:textfilecontent54_state>
24303 <ind-def:textfilecontent54_state comment="Expected value of gpgcheck should be disabled because test is none exist" id="oval:org.open-scap.f14:ste:20011" version="1">
24304 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
24305 </ind-def:textfilecontent54_state>
24306 <ind-def:textfilecontent54_state comment="Expected value of repo_gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20012" version="1">
24307 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
24308 </ind-def:textfilecontent54_state>
24309 <ind-def:textfilecontent54_state comment="Expected value of repo_gpgcheck should be disabled because test is none exist" id="oval:org.open-scap.f14:ste:20013" version="1">
24310 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
24311 </ind-def:textfilecontent54_state>
24312 <ind-def:textfilecontent54_state comment="ext2 and ext3 filing systems" id="oval:org.open-scap.f14:ste:200161" version="1">
24313 <ind-def:subexpression datatype="string" entity_check="all" operation="pattern match">.*,nodev.*</ind-def:subexpression>
24314 </ind-def:textfilecontent54_state>
24315 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:10000" version="1">
24316 <lin-def:version operation="pattern match">^5[^\d]</lin-def:version>
24317 </lin-def:rpminfo_state>
24318 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:200065" version="1">
24319 <lin-def:release>4c49d6fe</lin-def:release>
24320 <lin-def:version>97a1071f</lin-def:version>
24321 </lin-def:rpminfo_state>
24322 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:11000" version="1">
24323 <lin-def:release operation="pattern match">^5\.[2-9]</lin-def:release>
24324 </lin-def:rpminfo_state>
24325 <ind-def:family_state id="oval:org.open-scap.f14:ste:10001" version="1">
24326 <ind-def:family>unix</ind-def:family>
24327 </ind-def:family_state>
24328 <ind-def:xmlfilecontent_state id="oval:org.open-scap.f14:ste:20026" version="1">
24329 <ind-def:value_of operation="equals">false</ind-def:value_of>
24330 </ind-def:xmlfilecontent_state>
24331 <ind-def:textfilecontent54_state comment="Check for the usb_storage module" id="oval:org.open-scap.f14:ste:20021" version="1">
24332 <ind-def:subexpression datatype="string" entity_check="all">usb_storage</ind-def:subexpression>
24333 </ind-def:textfilecontent54_state>
24334 <ind-def:textfilecontent54_state comment="Check for the cramfs file system" id="oval:org.open-scap.f14:ste:20027" version="1">
24335 <ind-def:subexpression datatype="string" entity_check="all">cramfs</ind-def:subexpression>
24336 </ind-def:textfilecontent54_state>
24337 <ind-def:textfilecontent54_state comment="Check for the freevxfs file system" id="oval:org.open-scap.f14:ste:20028" version="1">
24338 <ind-def:subexpression datatype="string" entity_check="all">freevxfs</ind-def:subexpression>
24339 </ind-def:textfilecontent54_state>
24340 <ind-def:textfilecontent54_state comment="Check for the jffs2 file system" id="oval:org.open-scap.f14:ste:20029" version="1">
24341 <ind-def:subexpression datatype="string" entity_check="all">jffs2</ind-def:subexpression>
24342 </ind-def:textfilecontent54_state>
24343 <ind-def:textfilecontent54_state comment="Check for the hfs file system" id="oval:org.open-scap.f14:ste:20030" version="1">
24344 <ind-def:subexpression datatype="string" entity_check="all">hfs</ind-def:subexpression>
24345 </ind-def:textfilecontent54_state>
24346 <ind-def:textfilecontent54_state comment="Check for the hfsplus file system" id="oval:org.open-scap.f14:ste:20031" version="1">
24347 <ind-def:subexpression datatype="string" entity_check="all">hfsplus</ind-def:subexpression>
24348 </ind-def:textfilecontent54_state>
24349 <ind-def:textfilecontent54_state comment="Check for the squashfs file system" id="oval:org.open-scap.f14:ste:20032" version="1">
24350 <ind-def:subexpression datatype="string" entity_check="all">squashfs</ind-def:subexpression>
24351 </ind-def:textfilecontent54_state>
24352 <ind-def:textfilecontent54_state comment="Check for the udf file system" id="oval:org.open-scap.f14:ste:20033" version="1">
24353 <ind-def:subexpression datatype="string" entity_check="all">udf</ind-def:subexpression>
24354 </ind-def:textfilecontent54_state>
24355 <unix-def:file_state id="oval:org.open-scap.f14:ste:20034" version="1">
24356 <unix-def:user_id datatype="int">0</unix-def:user_id>
24357 </unix-def:file_state>
24358 <unix-def:file_state id="oval:org.open-scap.f14:ste:20035" version="1">
24359 <unix-def:group_id datatype="int">0</unix-def:group_id>
24360 </unix-def:file_state>
24361 <unix-def:file_state id="oval:org.open-scap.f14:ste:20042" version="1">
24362 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:1"/>
24363 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:2"/>
24364 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:3"/>
24365 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:4"/>
24366 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:5"/>
24367 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:6"/>
24368 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:7"/>
24369 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:8"/>
24370 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:9"/>
24371 </unix-def:file_state>
24372 <unix-def:file_state id="oval:org.open-scap.f14:ste:20036" version="1">
24373 <unix-def:user_id datatype="int">0</unix-def:user_id>
24374 </unix-def:file_state>
24375 <unix-def:file_state id="oval:org.open-scap.f14:ste:20037" version="1">
24376 <unix-def:group_id datatype="int">0</unix-def:group_id>
24377 </unix-def:file_state>
24378 <unix-def:file_state id="oval:org.open-scap.f14:ste:20043" version="1">
24379 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:10"/>
24380 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:11"/>
24381 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:12"/>
24382 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:13"/>
24383 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:14"/>
24384 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:15"/>
24385 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:16"/>
24386 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:17"/>
24387 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:18"/>
24388 </unix-def:file_state>
24389 <unix-def:file_state id="oval:org.open-scap.f14:ste:20038" version="1">
24390 <unix-def:user_id datatype="int">0</unix-def:user_id>
24391 </unix-def:file_state>
24392 <unix-def:file_state id="oval:org.open-scap.f14:ste:20039" version="1">
24393 <unix-def:group_id datatype="int">0</unix-def:group_id>
24394 </unix-def:file_state>
24395 <unix-def:file_state id="oval:org.open-scap.f14:ste:20044" version="1">
24396 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:19"/>
24397 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:20"/>
24398 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:21"/>
24399 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:22"/>
24400 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:23"/>
24401 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:24"/>
24402 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:25"/>
24403 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:26"/>
24404 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:27"/>
24405 </unix-def:file_state>
24406 <unix-def:file_state id="oval:org.open-scap.f14:ste:20040" version="1">
24407 <unix-def:user_id datatype="int">0</unix-def:user_id>
24408 </unix-def:file_state>
24409 <unix-def:file_state id="oval:org.open-scap.f14:ste:20041" version="1">
24410 <unix-def:group_id datatype="int">0</unix-def:group_id>
24411 </unix-def:file_state>
24412 <unix-def:file_state id="oval:org.open-scap.f14:ste:20045" version="1">
24413 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:28"/>
24414 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:29"/>
24415 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:30"/>
24416 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:31"/>
24417 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:32"/>
24418 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:33"/>
24419 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:34"/>
24420 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:35"/>
24421 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:36"/>
24422 </unix-def:file_state>
24423 <unix-def:file_state id="oval:org.open-scap.f14:ste:20046" version="1">
24424 <unix-def:sticky datatype="boolean">1</unix-def:sticky>
24425 </unix-def:file_state>
24426 <unix-def:file_state id="oval:org.open-scap.f14:ste:200462" version="1">
24427 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24428 </unix-def:file_state>
24429 <unix-def:file_state id="oval:org.open-scap.f14:ste:200471" version="1">
24430 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24431 </unix-def:file_state>
24432 <unix-def:file_state id="oval:org.open-scap.f14:ste:200472" version="1">
24433 <unix-def:type datatype="string" operation="not equal">regular</unix-def:type>
24434 </unix-def:file_state>
24435 <unix-def:file_state id="oval:org.open-scap.f14:ste:200481" operator="OR" version="1">
24436 <unix-def:type operation="not equal">regular</unix-def:type>
24437 <unix-def:sgid datatype="boolean">0</unix-def:sgid>
24438 </unix-def:file_state>
24439 <unix-def:file_state id="oval:org.open-scap.f14:ste:200482" version="1">
24440 <unix-def:path>/sbin</unix-def:path>
24441 <unix-def:filename>netreport</unix-def:filename>
24442 </unix-def:file_state>
24443 <unix-def:file_state id="oval:org.open-scap.f14:ste:200483" version="1">
24444 <unix-def:path>/var/cache/jwhois</unix-def:path>
24445 <unix-def:filename>jwhois.db</unix-def:filename>
24446 </unix-def:file_state>
24447 <unix-def:file_state id="oval:org.open-scap.f14:ste:200484" version="1">
24448 <unix-def:path>/usr/sbin</unix-def:path>
24449 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200484"/>
24450 </unix-def:file_state>
24451 <unix-def:file_state id="oval:org.open-scap.f14:ste:200485" version="1">
24452 <unix-def:path>/usr/bin</unix-def:path>
24453 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200485"/>
24454 </unix-def:file_state>
24455 <unix-def:file_state id="oval:org.open-scap.f14:ste:200486" version="1">
24456 <unix-def:path>/usr/libexec/utempter</unix-def:path>
24457 <unix-def:filename>utempter</unix-def:filename>
24458 </unix-def:file_state>
24459 <unix-def:file_state id="oval:org.open-scap.f14:ste:200487" version="1">
24460 <unix-def:path>/usr/lib/vte</unix-def:path>
24461 <unix-def:filename>gnome-pty-helper</unix-def:filename>
24462 </unix-def:file_state>
24463 <unix-def:file_state id="oval:org.open-scap.f14:ste:200488" version="1">
24464 <unix-def:path>/usr/lib64/vte</unix-def:path>
24465 <unix-def:filename>gnome-pty-helper</unix-def:filename>
24466 </unix-def:file_state>
24467 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004901" operator="OR" version="1">
24468 <unix-def:type operation="not equal">regular</unix-def:type>
24469 <unix-def:suid datatype="boolean">0</unix-def:suid>
24470 </unix-def:file_state>
24471 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004902" version="1">
24472 <unix-def:path>/bin</unix-def:path>
24473 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004902"/>
24474 </unix-def:file_state>
24475 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004903" version="1">
24476 <unix-def:path>/lib/dbus-1</unix-def:path>
24477 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
24478 </unix-def:file_state>
24479 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004904" version="1">
24480 <unix-def:path>/lib64/dbus-1</unix-def:path>
24481 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
24482 </unix-def:file_state>
24483 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004905" version="1">
24484 <unix-def:path>/sbin</unix-def:path>
24485 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004905"/>
24486 </unix-def:file_state>
24487 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004906" version="1">
24488 <unix-def:path>/usr/bin</unix-def:path>
24489 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004906"/>
24490 </unix-def:file_state>
24491 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004907" version="1">
24492 <unix-def:path>/usr/lib/nspluginwrapper</unix-def:path>
24493 <unix-def:filename>plugin-config</unix-def:filename>
24494 </unix-def:file_state>
24495 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004908" version="1">
24496 <unix-def:path>/usr/lib64/nspluginwrapper</unix-def:path>
24497 <unix-def:filename>plugin-config</unix-def:filename>
24498 </unix-def:file_state>
24499 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004909" version="1">
24500 <unix-def:path>/usr/libexec/kde4</unix-def:path>
24501 <unix-def:filename>kpac_dhcp_helper</unix-def:filename>
24502 </unix-def:file_state>
24503 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004910" version="1">
24504 <unix-def:path>/usr/libexec/news</unix-def:path>
24505 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004910"/>
24506 </unix-def:file_state>
24507 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004911" version="1">
24508 <unix-def:path>/usr/libexec/openssh</unix-def:path>
24509 <unix-def:filename>ssh-keysign</unix-def:filename>
24510 </unix-def:file_state>
24511 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004912" version="1">
24512 <unix-def:path>/usr/libexec/polkit-1</unix-def:path>
24513 <unix-def:filename>polkit-agent-helper-1</unix-def:filename>
24514 </unix-def:file_state>
24515 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004913" version="1">
24516 <unix-def:path>/usr/libexec</unix-def:path>
24517 <unix-def:filename>pt_chown</unix-def:filename>
24518 </unix-def:file_state>
24519 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004914" version="1">
24520 <unix-def:path>/usr/libexec/pulse</unix-def:path>
24521 <unix-def:filename>proximity-helper</unix-def:filename>
24522 </unix-def:file_state>
24523 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004915" version="1">
24524 <unix-def:path>/usr/sbin</unix-def:path>
24525 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004915"/>
24526 </unix-def:file_state>
24527 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004916" version="1">
24528 <unix-def:path>/usr/share/BackupPC/sbin</unix-def:path>
24529 <unix-def:filename>BackupPC_Admin</unix-def:filename>
24530 </unix-def:file_state>
24531 <unix-def:file_state comment="Files with a valid user id assigned" id="oval:org.open-scap.f14:ste:20050" version="1">
24532 <unix-def:user_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20050"/>
24533 </unix-def:file_state>
24534 <unix-def:file_state comment="Files with a valid group id assigned" id="oval:org.open-scap.f14:ste:20051" version="1">
24535 <unix-def:group_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20051"/>
24536 </unix-def:file_state>
24537 <unix-def:file_state id="oval:org.open-scap.f14:ste:20052" operator="OR" version="1">
24538 <unix-def:group_id datatype="int" operation="less than">500</unix-def:group_id>
24539 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24540 </unix-def:file_state>
24541 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20053" version="1">
24542 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20053"/>
24543 </ind-def:textfilecontent54_state>
24544 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20055" version="1">
24545 <ind-def:subexpression operation="equals">0</ind-def:subexpression>
24546 </ind-def:textfilecontent54_state>
24547 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20056" version="1">
24548 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24549 </ind-def:textfilecontent54_state>
24550 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20058" version="1">
24551 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
24552 </ind-def:textfilecontent54_state>
24553 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20057" version="1">
24554 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
24555 </ind-def:textfilecontent54_state>
24556 <unix-def:password_state id="oval:org.open-scap.f14:ste:20068" version="1">
24557 <unix-def:user_id datatype="int" operation="less than">500</unix-def:user_id>
24558 <unix-def:login_shell operation="not equal">/sbin/nologin</unix-def:login_shell>
24559 </unix-def:password_state>
24560 <unix-def:password_state id="oval:org.open-scap.f14:ste:200695" version="1">
24561 <unix-def:password>x</unix-def:password>
24562 </unix-def:password_state>
24563 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20071" version="1">
24564 <ind-def:subexpression datatype="int" operation="greater than or equal" var_check="all" var_ref="oval:org.open-scap.f14:var:20071"/>
24565 </ind-def:textfilecontent54_state>
24566 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20072" version="1">
24567 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20072"/>
24568 </ind-def:textfilecontent54_state>
24569 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20073" version="1">
24570 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20073"/>
24571 </ind-def:textfilecontent54_state>
24572 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20074" version="1">
24573 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20074"/>
24574 </ind-def:textfilecontent54_state>
24575 <ind-def:textfilecontent54_state comment="retry" id="oval:org.open-scap.f14:ste:200781" version="1">
24576 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200781"/>
24577 </ind-def:textfilecontent54_state>
24578 <ind-def:textfilecontent54_state comment="minlen" id="oval:org.open-scap.f14:ste:200782" version="1">
24579 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200782"/>
24580 </ind-def:textfilecontent54_state>
24581 <ind-def:textfilecontent54_state comment="dcredit" id="oval:org.open-scap.f14:ste:200783" version="1">
24582 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200783"/>
24583 </ind-def:textfilecontent54_state>
24584 <ind-def:textfilecontent54_state comment="ucredit" id="oval:org.open-scap.f14:ste:200784" version="1">
24585 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200784"/>
24586 </ind-def:textfilecontent54_state>
24587 <ind-def:textfilecontent54_state comment="ocredit" id="oval:org.open-scap.f14:ste:200785" version="1">
24588 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200785"/>
24589 </ind-def:textfilecontent54_state>
24590 <ind-def:textfilecontent54_state comment="lcredit" id="oval:org.open-scap.f14:ste:200786" version="1">
24591 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200786"/>
24592 </ind-def:textfilecontent54_state>
24593 <ind-def:textfilecontent54_state comment="difok" id="oval:org.open-scap.f14:ste:200787" version="1">
24594 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200787"/>
24595 </ind-def:textfilecontent54_state>
24596 <ind-def:variable_state comment="expected value of unlock_time" id="oval:org.open-scap.f14:ste:200800" version="1">
24597 <ind-def:value>0</ind-def:value>
24598 </ind-def:variable_state>
24599 <ind-def:textfilecontent54_state comment="deny" id="oval:org.open-scap.f14:ste:2008011" version="1">
24600 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200801"/>
24601 </ind-def:textfilecontent54_state>
24602 <ind-def:textfilecontent54_state comment="lock_time" id="oval:org.open-scap.f14:ste:2008012" version="1">
24603 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200802"/>
24604 </ind-def:textfilecontent54_state>
24605 <ind-def:textfilecontent54_state comment="unlock_time" id="oval:org.open-scap.f14:ste:2008013" version="1">
24606 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200803"/>
24607 </ind-def:textfilecontent54_state>
24608 <unix-def:file_state id="oval:org.open-scap.f14:ste:20081" version="1">
24609 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:200812"/>
24610 </unix-def:file_state>
24611 <unix-def:file_state id="oval:org.open-scap.f14:ste:20082" version="1">
24612 <unix-def:suid datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200820"/>
24613 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200821"/>
24614 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200822"/>
24615 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200823"/>
24616 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200824"/>
24617 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200825"/>
24618 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200826"/>
24619 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200827"/>
24620 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200828"/>
24621 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200829"/>
24622 </unix-def:file_state>
24623 <ind-def:variable_state comment="hashing algorithm is md5" id="oval:org.open-scap.f14:ste:200831" version="1">
24624 <ind-def:value>md5</ind-def:value>
24625 </ind-def:variable_state>
24626 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200832" version="1">
24627 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24628 </ind-def:textfilecontent54_state>
24629 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200833" version="1">
24630 <ind-def:subexpression operation="case insensitive equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20083"/>
24631 </ind-def:textfilecontent54_state>
24632 <ind-def:variable_state comment="remember is set to 0" id="oval:org.open-scap.f14:ste:200841" version="1">
24633 <ind-def:value datatype="string">0</ind-def:value>
24634 </ind-def:variable_state>
24635 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200842" version="1">
24636 <ind-def:subexpression datatype="string" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20084"/>
24637 </ind-def:textfilecontent54_state>
24638 <ind-def:environmentvariable_state comment="starts with . or :" id="oval:org.open-scap.f14:ste:200851" version="1">
24639 <ind-def:value operation="pattern match">^:|^\.</ind-def:value>
24640 </ind-def:environmentvariable_state>
24641 <ind-def:environmentvariable_state comment="ends with . or :" id="oval:org.open-scap.f14:ste:200852" version="1">
24642 <ind-def:value operation="pattern match">:$|\.$</ind-def:value>
24643 </ind-def:environmentvariable_state>
24644 <ind-def:environmentvariable_state comment="contains :.: or ::" id="oval:org.open-scap.f14:ste:200853" version="1">
24645 <ind-def:value operation="pattern match">:\.:|::</ind-def:value>
24646 </ind-def:environmentvariable_state>
24647 <unix-def:file_state comment="Group has NO write privilege" id="oval:org.open-scap.f14:ste:2008551" version="1">
24648 <unix-def:gwrite datatype="boolean">0</unix-def:gwrite>
24649 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24650 </unix-def:file_state>
24651 <unix-def:file_state id="oval:org.open-scap.f14:ste:200861" version="1">
24652 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24653 <unix-def:gwrite datatype="boolean">1</unix-def:gwrite>
24654 </unix-def:file_state>
24655 <unix-def:file_state id="oval:org.open-scap.f14:ste:200862" version="1">
24656 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24657 <unix-def:oread datatype="boolean">1</unix-def:oread>
24658 </unix-def:file_state>
24659 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20087" version="1">
24660 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20087"/>
24661 </ind-def:textfilecontent54_state>
24662 <unix-def:file_state id="oval:org.open-scap.f14:ste:20092" version="1">
24663 <unix-def:user_id datatype="int">0</unix-def:user_id>
24664 </unix-def:file_state>
24665 <unix-def:file_state id="oval:org.open-scap.f14:ste:20094" version="1">
24666 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:37"/>
24667 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:38"/>
24668 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:39"/>
24669 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:40"/>
24670 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:41"/>
24671 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:42"/>
24672 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:43"/>
24673 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:44"/>
24674 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:45"/>
24675 </unix-def:file_state>
24676 <unix-def:file_state id="oval:org.open-scap.f14:ste:20093" version="1">
24677 <unix-def:group_id datatype="int">0</unix-def:group_id>
24678 </unix-def:file_state>
24679 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20097" version="1">
24680 <ind-def:subexpression>no</ind-def:subexpression>
24681 </ind-def:textfilecontent54_state>
24682 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20098" version="1">
24683 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24684 </ind-def:textfilecontent54_state>
24685 <ind-def:xmlfilecontent_state comment="idle_delay (time before activation in minutes)" id="oval:org.open-scap.f14:ste:20100" version="1">
24686 <ind-def:value_of datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24687 </ind-def:xmlfilecontent_state>
24688 <ind-def:xmlfilecontent_state comment="idle_activation_enabled (Activation when idle)" id="oval:org.open-scap.f14:ste:201005" version="1">
24689 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24690 </ind-def:xmlfilecontent_state>
24691 <ind-def:xmlfilecontent_state comment="lock_enabled (lock on Activation)" id="oval:org.open-scap.f14:ste:201006" version="1">
24692 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24693 </ind-def:xmlfilecontent_state>
24694 <ind-def:xmlfilecontent_state comment="mode (Screensaver theme selection mode)" id="oval:org.open-scap.f14:ste:201007" version="1">
24695 <ind-def:value_of datatype="string" var_check="all">blank-only</ind-def:value_of>
24696 </ind-def:xmlfilecontent_state>
24697 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20102" version="1">
24698 <ind-def:subexpression var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24699 </ind-def:textfilecontent54_state>
24700 <ind-def:xmlfilecontent_state comment="Logon banner" id="oval:org.open-scap.f14:ste:20103" version="1">
24701 <ind-def:value_of var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24702 </ind-def:xmlfilecontent_state>
24703 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20104" version="1">
24704 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24705 </ind-def:textfilecontent54_state>
24706 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20105" version="1">
24707 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24708 </ind-def:textfilecontent54_state>
24709 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20106" version="1">
24710 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20106"/>
24711 </ind-def:textfilecontent54_state>
24712 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20107" version="1">
24713 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20107"/>
24714 </ind-def:textfilecontent54_state>
24715 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20111" version="1">
24716 <unix-def:start datatype="boolean">false</unix-def:start>
24717 <unix-def:kill datatype="boolean">true</unix-def:kill>
24718 </unix-def:runlevel_state>
24719 <unix-def:runlevel_state comment="Define state of disableed service" id="oval:org.open-scap.f14:ste:20171" version="1">
24720 <unix-def:start datatype="boolean">false</unix-def:start>
24721 <unix-def:kill datatype="boolean">true</unix-def:kill>
24722 </unix-def:runlevel_state>
24723 <unix-def:runlevel_state comment="Define state of enabled service" id="oval:org.open-scap.f14:ste:20172" version="1">
24724 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24725 <unix-def:start datatype="boolean">true</unix-def:start>
24726 </unix-def:runlevel_state>
24727 <!-- shared states: subexpression == {0, 1} -->
24728 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201120" version="1">
24729 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24730 </ind-def:textfilecontent54_state>
24731 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201121" version="1">
24732 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24733 </ind-def:textfilecontent54_state>
24734 <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
24735 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20113" version="1">
24736 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24737 </ind-def:textfilecontent54_state>
24738 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20114" version="1">
24739 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24740 </ind-def:textfilecontent54_state>
24741 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20117" version="1">
24742 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20117"/>
24743 </ind-def:textfilecontent54_state>
24744 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20116" version="1">
24745 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20116"/>
24746 </ind-def:textfilecontent54_state>
24747 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20123" version="1">
24748 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20123"/>
24749 </ind-def:textfilecontent54_state>
24750 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20124" version="1">
24751 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20124"/>
24752 </ind-def:textfilecontent54_state>
24753 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20122" version="1">
24754 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20122"/>
24755 </ind-def:textfilecontent54_state>
24756 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20120" version="1">
24757 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20120"/>
24758 </ind-def:textfilecontent54_state>
24759 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20125" version="1">
24760 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20125"/>
24761 </ind-def:textfilecontent54_state>
24762 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20121" version="1">
24763 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20121"/>
24764 </ind-def:textfilecontent54_state>
24765 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20118" version="1">
24766 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20118"/>
24767 </ind-def:textfilecontent54_state>
24768 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20126" version="1">
24769 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20126"/>
24770 </ind-def:textfilecontent54_state>
24771 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20119" version="1">
24772 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20119"/>
24773 </ind-def:textfilecontent54_state>
24774 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20115" version="1">
24775 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20115"/>
24776 </ind-def:textfilecontent54_state>
24777 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20132" version="1">
24778 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24779 </ind-def:textfilecontent54_state>
24780 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20133" version="1">
24781 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24782 </ind-def:textfilecontent54_state>
24783 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20131" version="1">
24784 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24785 </ind-def:textfilecontent54_state>
24786 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20134" version="1">
24787 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20134"/>
24788 </ind-def:textfilecontent54_state>
24789 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20140" version="1">
24790 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20140"/>
24791 </ind-def:textfilecontent54_state>
24792 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20145" version="1">
24793 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20145"/>
24794 </ind-def:textfilecontent54_state>
24795 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20139" version="1">
24796 <ind-def:subexpression operation="equals" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20139"/>
24797 </ind-def:textfilecontent54_state>
24798 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20144" version="1">
24799 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20144"/>
24800 </ind-def:textfilecontent54_state>
24801 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20143" version="1">
24802 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20143"/>
24803 </ind-def:textfilecontent54_state>
24804 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20141" version="1">
24805 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20141"/>
24806 </ind-def:textfilecontent54_state>
24807 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20142" version="1">
24808 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20142"/>
24809 </ind-def:textfilecontent54_state>
24810 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201745" version="1">
24811 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24812 </ind-def:textfilecontent54_state>
24813 <unix-def:runlevel_state comment="Starts at runlevel 3 or 5 (with network)" id="oval:org.open-scap.f14:ste:20146" version="1">
24814 <unix-def:runlevel operation="pattern match">^[35]$</unix-def:runlevel>
24815 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24816 </unix-def:runlevel_state>
24817 <unix-def:runlevel_state comment="Starts at runlevel 2, 3, 4 or 5" id="oval:org.open-scap.f14:ste:20148" version="1">
24818 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24819 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24820 </unix-def:runlevel_state>
24821 <unix-def:file_state id="oval:org.open-scap.f14:ste:20149" version="1">
24822 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:201491"/>
24823 </unix-def:file_state>
24824 <unix-def:file_state id="oval:org.open-scap.f14:ste:20150" version="1">
24825 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:201502"/>
24826 </unix-def:file_state>
24827 <unix-def:file_state id="oval:org.open-scap.f14:ste:20151" version="1">
24828 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201510"/>
24829 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201511"/>
24830 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201512"/>
24831 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201513"/>
24832 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201514"/>
24833 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201515"/>
24834 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201516"/>
24835 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201517"/>
24836 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201518"/>
24837 </unix-def:file_state>
24838 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20156" version="1">
24839 <unix-def:start datatype="boolean">true</unix-def:start>
24840 <unix-def:kill datatype="boolean">false</unix-def:kill>
24841 </unix-def:runlevel_state>
24842 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201670" version="1">
24843 <unix-def:processor_type operation="pattern match">^i386$|^i686$</unix-def:processor_type>
24844 </unix-def:uname_state>
24845 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201672" version="1">
24846 <unix-def:processor_type operation="pattern match">^x86_64$|^ia64$|</unix-def:processor_type>
24847 </unix-def:uname_state>
24848 <unix-def:file_state id="oval:org.open-scap.f14:ste:20217" version="1">
24849 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24850 </unix-def:file_state>
24851 <unix-def:file_state id="oval:org.open-scap.f14:ste:20225" version="1">
24852 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:46"/>
24853 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:47"/>
24854 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:48"/>
24855 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:49"/>
24856 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:50"/>
24857 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:51"/>
24858 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:52"/>
24859 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:53"/>
24860 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:54"/>
24861 </unix-def:file_state>
24862 <unix-def:file_state id="oval:org.open-scap.f14:ste:20216" version="1">
24863 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24864 </unix-def:file_state>
24865 <unix-def:file_state id="oval:org.open-scap.f14:ste:20209" version="1">
24866 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202091"/>
24867 </unix-def:file_state>
24868 <unix-def:file_state id="oval:org.open-scap.f14:ste:20212" version="1">
24869 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202121"/>
24870 </unix-def:file_state>
24871 <unix-def:file_state id="oval:org.open-scap.f14:ste:20210" version="1">
24872 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:55"/>
24873 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:56"/>
24874 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:57"/>
24875 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:58"/>
24876 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:59"/>
24877 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:60"/>
24878 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:61"/>
24879 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:62"/>
24880 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:63"/>
24881 </unix-def:file_state>
24882 <unix-def:file_state id="oval:org.open-scap.f14:ste:20214" version="1">
24883 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24884 </unix-def:file_state>
24885 <unix-def:file_state id="oval:org.open-scap.f14:ste:20222" version="1">
24886 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24887 </unix-def:file_state>
24888 <unix-def:file_state id="oval:org.open-scap.f14:ste:20218" version="1">
24889 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24890 </unix-def:file_state>
24891 <unix-def:file_state id="oval:org.open-scap.f14:ste:20223" version="1">
24892 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24893 </unix-def:file_state>
24894 <unix-def:file_state id="oval:org.open-scap.f14:ste:20221" version="1">
24895 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24896 </unix-def:file_state>
24897 <unix-def:file_state id="oval:org.open-scap.f14:ste:20211" version="1">
24898 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202112"/>
24899 </unix-def:file_state>
24900 <unix-def:file_state id="oval:org.open-scap.f14:ste:20224" version="1">
24901 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:64"/>
24902 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:65"/>
24903 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:66"/>
24904 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:67"/>
24905 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:68"/>
24906 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:69"/>
24907 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:70"/>
24908 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:71"/>
24909 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:72"/>
24910 </unix-def:file_state>
24911 <unix-def:file_state id="oval:org.open-scap.f14:ste:20219" version="1">
24912 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24913 </unix-def:file_state>
24914 <unix-def:file_state id="oval:org.open-scap.f14:ste:20208" version="1">
24915 <unix-def:group_id datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:202082"/>
24916 </unix-def:file_state>
24917 <unix-def:file_state id="oval:org.open-scap.f14:ste:20220" version="1">
24918 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24919 </unix-def:file_state>
24920 <unix-def:file_state id="oval:org.open-scap.f14:ste:20213" version="1">
24921 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:73"/>
24922 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:74"/>
24923 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:75"/>
24924 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:76"/>
24925 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:77"/>
24926 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:78"/>
24927 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:79"/>
24928 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:80"/>
24929 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:81"/>
24930 </unix-def:file_state>
24931 <unix-def:file_state id="oval:org.open-scap.f14:ste:20226" version="1">
24932 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:82"/>
24933 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:83"/>
24934 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:84"/>
24935 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:85"/>
24936 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:86"/>
24937 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:87"/>
24938 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:88"/>
24939 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:89"/>
24940 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:90"/>
24941 </unix-def:file_state>
24942 <unix-def:file_state id="oval:org.open-scap.f14:ste:20227" version="1">
24943 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:91"/>
24944 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:92"/>
24945 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:93"/>
24946 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:94"/>
24947 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:95"/>
24948 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:96"/>
24949 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:97"/>
24950 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:98"/>
24951 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:99"/>
24952 </unix-def:file_state>
24953 <unix-def:file_state id="oval:org.open-scap.f14:ste:20215" version="1">
24954 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24955 </unix-def:file_state>
24956 <unix-def:file_state id="oval:org.open-scap.f14:ste:20228" version="1">
24957 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:100"/>
24958 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:101"/>
24959 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:102"/>
24960 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:103"/>
24961 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:104"/>
24962 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:105"/>
24963 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:106"/>
24964 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:107"/>
24965 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:108"/>
24966 </unix-def:file_state>
24967 <unix-def:file_state id="oval:org.open-scap.f14:ste:20229" version="1">
24968 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202292"/>
24969 </unix-def:file_state>
24970 <unix-def:file_state id="oval:org.open-scap.f14:ste:20230" version="1">
24971 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202302"/>
24972 </unix-def:file_state>
24973 <unix-def:file_state id="oval:org.open-scap.f14:ste:20231" version="1">
24974 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:160"/>
24975 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:161"/>
24976 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:162"/>
24977 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:163"/>
24978 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:164"/>
24979 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:165"/>
24980 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:166"/>
24981 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:167"/>
24982 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:168"/>
24983 </unix-def:file_state>
24984 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:86" version="1">
24985 <ind-def:subexpression datatype="int" operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24986 </ind-def:textfilecontent54_state>
24987 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:87" version="1">
24988 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20246"/>
24989 </ind-def:textfilecontent54_state>
24990 <ind-def:textfilecontent54_state comment="ClientAliveInterval in seconds" id="oval:org.open-scap.f14:ste:20239" version="1">
24991 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24992 </ind-def:textfilecontent54_state>
24993 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20240" version="1">
24994 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20240"/>
24995 </ind-def:textfilecontent54_state>
24996 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:202456" version="1">
24997 <ind-def:subexpression operation="equals">aes128-ctr,aes192-ctr,aes256-ctr</ind-def:subexpression>
24998 </ind-def:textfilecontent54_state>
24999 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20253" version="1">
25000 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25001 </ind-def:textfilecontent54_state>
25002 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20254" version="1">
25003 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25004 </ind-def:textfilecontent54_state>
25005 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20255" version="1">
25006 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25007 </ind-def:textfilecontent54_state>
25008 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20256" version="1">
25009 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25010 </ind-def:textfilecontent54_state>
25011 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20257" version="1">
25012 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25013 </ind-def:textfilecontent54_state>
25014 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20258" version="1">
25015 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25016 </ind-def:textfilecontent54_state>
25017 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20259" version="1">
25018 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25019 </ind-def:textfilecontent54_state>
25020 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20260" version="1">
25021 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25022 </ind-def:textfilecontent54_state>
25023 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20264" version="1">
25024 <ind-def:subexpression operation="equals">off</ind-def:subexpression>
25025 </ind-def:textfilecontent54_state>
25026 <unix-def:file_state id="oval:org.open-scap.f14:ste:20290" version="1">
25027 <unix-def:group_id datatype="int">0</unix-def:group_id>
25028 </unix-def:file_state>
25029 <unix-def:file_state id="oval:org.open-scap.f14:ste:20291" version="1">
25030 <unix-def:user_id datatype="int">0</unix-def:user_id>
25031 </unix-def:file_state>
25032 <unix-def:file_state id="oval:org.open-scap.f14:ste:20313" version="1">
25033 <unix-def:group_id datatype="int">0</unix-def:group_id>
25034 </unix-def:file_state>
25035 <unix-def:file_state id="oval:org.open-scap.f14:ste:20315" version="1">
25036 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:109"/>
25037 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:110"/>
25038 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:111"/>
25039 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:112"/>
25040 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:113"/>
25041 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:114"/>
25042 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:115"/>
25043 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:116"/>
25044 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:117"/>
25045 </unix-def:file_state>
25046 <unix-def:file_state id="oval:org.open-scap.f14:ste:20314" version="1">
25047 <unix-def:user_id datatype="int">0</unix-def:user_id>
25048 </unix-def:file_state>
25049 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20324" version="1">
25050 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20324"/>
25051 </ind-def:textfilecontent54_state>
25052 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20325" version="1">
25053 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20325"/>
25054 </ind-def:textfilecontent54_state>
25055 <unix-def:file_state id="oval:org.open-scap.f14:ste:20326" version="1">
25056 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:118"/>
25057 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:119"/>
25058 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:120"/>
25059 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:121"/>
25060 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:122"/>
25061 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:123"/>
25062 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:124"/>
25063 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:125"/>
25064 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:126"/>
25065 </unix-def:file_state>
25066 <unix-def:file_state id="oval:org.open-scap.f14:ste:20327" version="1">
25067 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:127"/>
25068 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:128"/>
25069 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:129"/>
25070 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:130"/>
25071 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:131"/>
25072 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:132"/>
25073 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:133"/>
25074 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:134"/>
25075 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:135"/>
25076 </unix-def:file_state>
25077 <unix-def:file_state id="oval:org.open-scap.f14:ste:20328" version="1">
25078 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:136"/>
25079 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:137"/>
25080 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:138"/>
25081 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:139"/>
25082 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:140"/>
25083 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:141"/>
25084 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:142"/>
25085 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:143"/>
25086 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:144"/>
25087 </unix-def:file_state>
25088 <unix-def:file_state id="oval:org.open-scap.f14:ste:20329" version="1">
25089 <unix-def:group_id datatype="int">0</unix-def:group_id>
25090 </unix-def:file_state>
25091 <unix-def:file_state id="oval:org.open-scap.f14:ste:20330" version="1">
25092 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:145"/>
25093 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:146"/>
25094 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:147"/>
25095 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:148"/>
25096 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:149"/>
25097 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:150"/>
25098 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:151"/>
25099 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:152"/>
25100 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:153"/>
25101 </unix-def:file_state>
25102 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20337" version="1">
25103 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25104 </ind-def:textfilecontent54_state>
25105 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20338" version="1">
25106 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25107 </ind-def:textfilecontent54_state>
25108 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20339" version="1">
25109 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25110 </ind-def:textfilecontent54_state>
25111 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340111" version="1">
25112 <ind-def:instance datatype="int">1</ind-def:instance>
25113 <ind-def:subexpression operation="not equal">cifs</ind-def:subexpression>
25114 </ind-def:textfilecontent54_state>
25115 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340112" version="1">
25116 <ind-def:instance datatype="int">2</ind-def:instance>
25117 <ind-def:subexpression operation="pattern match">sec=(krb5i|ntlmv2i)</ind-def:subexpression>
25118 </ind-def:textfilecontent54_state>
25119 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20343" version="1">
25120 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25121 </ind-def:textfilecontent54_state>
25122 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20346" version="1">
25123 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20346"/>
25124 </ind-def:textfilecontent54_state>
25125 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20345" version="1">
25126 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25127 </ind-def:textfilecontent54_state>
25128 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20350" version="1">
25129 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25130 </ind-def:textfilecontent54_state>
25131 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20347" version="1">
25132 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20347"/>
25133 </ind-def:textfilecontent54_state>
25134 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20348" version="1">
25135 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20348"/>
25136 </ind-def:textfilecontent54_state>
25137 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20344" version="1">
25138 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25139 </ind-def:textfilecontent54_state>
25140 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20349" version="1">
25141 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20349"/>
25142 </ind-def:textfilecontent54_state>
25143 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20353" version="1">
25144 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20353"/>
25145 </ind-def:textfilecontent54_state>
25146 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20354" version="1">
25147 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20354"/>
25148 </ind-def:textfilecontent54_state>
25149 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20351" version="1">
25150 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20351"/>
25151 </ind-def:textfilecontent54_state>
25152 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20352" version="1">
25153 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20352"/>
25154 </ind-def:textfilecontent54_state>
25155 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20070" version="1">
25156 <ind-def:subexpression operation="equals">root</ind-def:subexpression>
25157 </ind-def:textfilecontent54_state>
25158 </states>
25159 <variables>
25160 <external_variable comment="External variable for definition 20042" datatype="string" id="oval:org.open-scap.f14:var:20042" version="1"/>
25161 <external_variable comment="External variable for definition 20043" datatype="string" id="oval:org.open-scap.f14:var:20043" version="1"/>
25162 <external_variable comment="External variable for definition 20044" datatype="string" id="oval:org.open-scap.f14:var:20044" version="1"/>
25163 <external_variable comment="External variable for definition 20045" datatype="string" id="oval:org.open-scap.f14:var:20045" version="1"/>
25164 <external_variable comment="External variable for definition 20053" datatype="int" id="oval:org.open-scap.f14:var:20053" version="1"/>
25165 <external_variable comment="External variable for definition 20071" datatype="int" id="oval:org.open-scap.f14:var:20071" version="1"/>
25166 <!-- val:org.fedoraproject.f14:def:20071 -->
25167 <external_variable comment="External variable for definition 20072" datatype="string" id="oval:org.open-scap.f14:var:20072" version="1"/>
25168 <external_variable comment="External variable for definition 20073" datatype="string" id="oval:org.open-scap.f14:var:20073" version="1"/>
25169 <external_variable comment="External variable for definition 20074" datatype="string" id="oval:org.open-scap.f14:var:20074" version="1"/>
25170 <external_variable comment="External variable for definition 200781" datatype="int" id="oval:org.open-scap.f14:var:200781" version="1"/>
25171 <external_variable comment="External variable for definition 200782" datatype="int" id="oval:org.open-scap.f14:var:200782" version="1"/>
25172 <external_variable comment="External variable for definition 200783" datatype="int" id="oval:org.open-scap.f14:var:200783" version="1"/>
25173 <external_variable comment="External variable for definition 200784" datatype="int" id="oval:org.open-scap.f14:var:200784" version="1"/>
25174 <external_variable comment="External variable for definition 200785" datatype="int" id="oval:org.open-scap.f14:var:200785" version="1"/>
25175 <external_variable comment="External variable for definition 200786" datatype="int" id="oval:org.open-scap.f14:var:200786" version="1"/>
25176 <external_variable comment="External variable for definition 200787" datatype="int" id="oval:org.open-scap.f14:var:200787" version="1"/>
25177 <external_variable comment="External variable for definition 20080 deny" datatype="int" id="oval:org.open-scap.f14:var:200801" version="1"/>
25178 <external_variable comment="External variable for definition 20080 lock_time" datatype="int" id="oval:org.open-scap.f14:var:200802" version="1"/>
25179 <external_variable comment="External variable for definition 20080 unlock_time" datatype="int" id="oval:org.open-scap.f14:var:200803" version="1"/>
25180 <external_variable comment="External variable for definition 20081" datatype="string" id="oval:org.open-scap.f14:var:20081" version="1"/>
25181 <external_variable comment="External variable for definition 20082" datatype="string" id="oval:org.open-scap.f14:var:20082" version="1"/>
25182 <external_variable comment="External variable for definition 20083 Password hashing algorithm" datatype="string" id="oval:org.open-scap.f14:var:20083" version="1"/>
25183 <external_variable comment="External variable for definition 20084 number of passwords to remember" datatype="string" id="oval:org.open-scap.f14:var:20084" version="1"/>
25184 <external_variable comment="External variable for definition 20087 - 20090" datatype="string" id="oval:org.open-scap.f14:var:20087" version="1"/>
25185 <external_variable comment="External variable for definition 20092" datatype="string" id="oval:org.open-scap.f14:var:20092" version="1"/>
25186 <external_variable comment="External variable for definition 20094" datatype="string" id="oval:org.open-scap.f14:var:20094" version="1"/>
25187 <external_variable comment="External variable for definition 20093" datatype="string" id="oval:org.open-scap.f14:var:20093" version="1"/>
25188 <external_variable comment="External variable for definitions 20098 20100" datatype="int" id="oval:org.open-scap.f14:var:20098" version="1"/>
25189 <external_variable comment="External variable for definitions 20099" datatype="int" id="oval:org.open-scap.f14:var:20099" version="1"/>
25190 <!-- turn minutes into seconds -->
25191 <external_variable comment="External variable for definitions 200102 20103 Warning Banner" datatype="string" id="oval:org.open-scap.f14:var:20102" version="1"/>
25192 <external_variable comment="External variable for definition 20106" datatype="string" id="oval:org.open-scap.f14:var:20106" version="1"/>
25193 <external_variable comment="External variable for definition 20107" datatype="string" id="oval:org.open-scap.f14:var:20107" version="1"/>
25194 <external_variable comment="External variable for definition 20115" datatype="string" id="oval:org.open-scap.f14:var:20115" version="1"/>
25195 <external_variable comment="External variable for definition 20116" datatype="string" id="oval:org.open-scap.f14:var:20116" version="1"/>
25196 <external_variable comment="External variable for definition 20117" datatype="string" id="oval:org.open-scap.f14:var:20117" version="1"/>
25197 <external_variable comment="External variable for definition 20118" datatype="string" id="oval:org.open-scap.f14:var:20118" version="1"/>
25198 <external_variable comment="External variable for definition 20119" datatype="string" id="oval:org.open-scap.f14:var:20119" version="1"/>
25199 <external_variable comment="External variable for definition 20120" datatype="string" id="oval:org.open-scap.f14:var:20120" version="1"/>
25200 <external_variable comment="External variable for definition 20121" datatype="string" id="oval:org.open-scap.f14:var:20121" version="1"/>
25201 <external_variable comment="External variable for definition 20122" datatype="string" id="oval:org.open-scap.f14:var:20122" version="1"/>
25202 <external_variable comment="External variable for definition 20123" datatype="string" id="oval:org.open-scap.f14:var:20123" version="1"/>
25203 <external_variable comment="External variable for definition 20124" datatype="string" id="oval:org.open-scap.f14:var:20124" version="1"/>
25204 <external_variable comment="External variable for definition 20125" datatype="string" id="oval:org.open-scap.f14:var:20125" version="1"/>
25205 <external_variable comment="External variable for definition 20126" datatype="string" id="oval:org.open-scap.f14:var:20126" version="1"/>
25206 <external_variable comment="External variable for definition 20134" datatype="string" id="oval:org.open-scap.f14:var:20134" version="1"/>
25207 <external_variable comment="External variable for definition 20135" datatype="string" id="oval:org.open-scap.f14:var:20135" version="1"/>
25208 <external_variable comment="External variable for definition 20136" datatype="string" id="oval:org.open-scap.f14:var:20136" version="1"/>
25209 <external_variable comment="External variable for definition 20137" datatype="string" id="oval:org.open-scap.f14:var:20137" version="1"/>
25210 <external_variable comment="External variable for definition 20138" datatype="string" id="oval:org.open-scap.f14:var:20138" version="1"/>
25211 <external_variable comment="External variable for definition 20139" datatype="string" id="oval:org.open-scap.f14:var:20139" version="1"/>
25212 <external_variable comment="External variable for definition 20140" datatype="string" id="oval:org.open-scap.f14:var:20140" version="1"/>
25213 <external_variable comment="External variable for definition 20141" datatype="string" id="oval:org.open-scap.f14:var:20141" version="1"/>
25214 <external_variable comment="External variable for definition 20142" datatype="string" id="oval:org.open-scap.f14:var:20142" version="1"/>
25215 <external_variable comment="External variable for definition 20143" datatype="string" id="oval:org.open-scap.f14:var:20143" version="1"/>
25216 <external_variable comment="External variable for definition 20144" datatype="string" id="oval:org.open-scap.f14:var:20144" version="1"/>
25217 <external_variable comment="External variable for definition 20145" datatype="string" id="oval:org.open-scap.f14:var:20145" version="1"/>
25218 <external_variable comment="External variable for definition 20149" datatype="string" id="oval:org.open-scap.f14:var:20149" version="1"/>
25219 <external_variable comment="External variable for definition 20150" datatype="string" id="oval:org.open-scap.f14:var:20150" version="1"/>
25220 <external_variable comment="External variable for definition 20151" datatype="string" id="oval:org.open-scap.f14:var:20151" version="1"/>
25221 <external_variable comment="External variable for definition 20208" datatype="string" id="oval:org.open-scap.f14:var:20208" version="1"/>
25222 <external_variable comment="External variable for definition 20209" datatype="string" id="oval:org.open-scap.f14:var:20209" version="1"/>
25223 <external_variable comment="External variable for definition 20210" datatype="string" id="oval:org.open-scap.f14:var:20210" version="1"/>
25224 <external_variable comment="External variable for definition 20211" datatype="string" id="oval:org.open-scap.f14:var:20211" version="1"/>
25225 <external_variable comment="External variable for definition 20212" datatype="string" id="oval:org.open-scap.f14:var:20212" version="1"/>
25226 <external_variable comment="External variable for definition 20213" datatype="string" id="oval:org.open-scap.f14:var:20213" version="1"/>
25227 <external_variable comment="External variable for definition 20214 20216 20217 20218" datatype="string" id="oval:org.open-scap.f14:var:20214" version="1"/>
25228 <external_variable comment="External variable for definition 20219 20220 20221 20222 20223" datatype="string" id="oval:org.open-scap.f14:var:20219" version="1"/>
25229 <external_variable comment="External variable for definition 20224 20225 20226 20227 20228" datatype="string" id="oval:org.open-scap.f14:var:20224" version="1"/>
25230 <external_variable comment="External variable for definition 20229" datatype="string" id="oval:org.open-scap.f14:var:20229" version="1"/>
25231 <external_variable comment="External variable for definition 20230" datatype="string" id="oval:org.open-scap.f14:var:20230" version="1"/>
25232 <external_variable comment="External variable for definition 20231" datatype="string" id="oval:org.open-scap.f14:var:20231" version="1"/>
25233 <external_variable comment="External variable for ClientActiveinterval in definition 20239" datatype="int" id="oval:org.open-scap.f14:var:20239" version="1"/>
25234 <external_variable comment="External variable for ClientAliveCountMax in definition 20240" datatype="int" id="oval:org.open-scap.f14:var:20240" version="1"/>
25235 <external_variable comment="External variable for definition 20246" datatype="string" id="oval:org.open-scap.f14:var:20246" version="1"/>
25236 <external_variable comment="External variable for definition 20262" datatype="string" id="oval:org.open-scap.f14:var:20262" version="1"/>
25237 <external_variable comment="External variable for definition 20264" datatype="string" id="oval:org.open-scap.f14:var:20264" version="1"/>
25238 <external_variable comment="External variable for definition 20267" datatype="string" id="oval:org.open-scap.f14:var:20267" version="1"/>
25239 <external_variable comment="External variable for definition 20290" datatype="string" id="oval:org.open-scap.f14:var:20290" version="1"/>
25240 <external_variable comment="External variable for definition 20291" datatype="string" id="oval:org.open-scap.f14:var:20291" version="1"/>
25241 <external_variable comment="External variable for definition 20313" datatype="string" id="oval:org.open-scap.f14:var:20313" version="1"/>
25242 <external_variable comment="External variable for definition 20314" datatype="string" id="oval:org.open-scap.f14:var:20314" version="1"/>
25243 <external_variable comment="External variable for definition 20315" datatype="string" id="oval:org.open-scap.f14:var:20315" version="1"/>
25244 <external_variable comment="External variable for definition 20324" datatype="string" id="oval:org.open-scap.f14:var:20324" version="1"/>
25245 <external_variable comment="External variable for definition 20325" datatype="string" id="oval:org.open-scap.f14:var:20325" version="1"/>
25246 <external_variable comment="External variable for definition 20326" datatype="string" id="oval:org.open-scap.f14:var:20326" version="1"/>
25247 <external_variable comment="External variable for definition 20327" datatype="string" id="oval:org.open-scap.f14:var:20327" version="1"/>
25248 <external_variable comment="External variable for definition 20328" datatype="string" id="oval:org.open-scap.f14:var:20328" version="1"/>
25249 <external_variable comment="External variable for definition 20329" datatype="string" id="oval:org.open-scap.f14:var:20329" version="1"/>
25250 <external_variable comment="External variable for definition 20330" datatype="string" id="oval:org.open-scap.f14:var:20330" version="1"/>
25251 <external_variable comment="External variable for definition 20346" datatype="string" id="oval:org.open-scap.f14:var:20346" version="1"/>
25252 <external_variable comment="External variable for definition 20347" datatype="string" id="oval:org.open-scap.f14:var:20347" version="1"/>
25253 <external_variable comment="External variable for definition 20348" datatype="string" id="oval:org.open-scap.f14:var:20348" version="1"/>
25254 <external_variable comment="External variable for definition 20349" datatype="string" id="oval:org.open-scap.f14:var:20349" version="1"/>
25255 <external_variable comment="External variable for definition 20351" datatype="string" id="oval:org.open-scap.f14:var:20351" version="1"/>
25256 <external_variable comment="External variable for definition 20352" datatype="string" id="oval:org.open-scap.f14:var:20352" version="1"/>
25257 <external_variable comment="External variable for definition 20353" datatype="string" id="oval:org.open-scap.f14:var:20353" version="1"/>
25258 <external_variable comment="External variable for definition 20354" datatype="string" id="oval:org.open-scap.f14:var:20354" version="1"/>
25259 <!--
25260 <local_variable id="oval:org.open-scap.f14:var:201490" version="1" datatype="string" comment="list of paths in /etc/syslog.conf" >
25261 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201490"/>
25262 </local_variable>
25263 -->
25264 <!--
25265 <constant_variable id="oval:org.open-scap.f14:var:20107" version="1" datatype="string" comment="foo">
25266 <value>targeted</value>
25267 </constant_variable>
25268 -->
25269 <constant_variable comment="Filenames of mandatory log files" datatype="string" id="oval:org.open-scap.f14:var:201490" version="1">
25270 <value>cron</value>
25271 <value>messages</value>
25272 <value>secure</value>
25273 <value>maillog</value>
25274 <!--
25275 <value>boot.log</value>
25276 <value>faillog</value>
25277 <value>dmesg</value>
25278 <value>audit</value>
25279 <value>lastlog</value>
25280 -->
25281 </constant_variable>
25282 <constant_variable comment="List of files known to have the sgid bit set" datatype="string" id="oval:org.open-scap.f14:var:200484" version="1">
25283 <value>lockdev</value>
25284 <value>sendmail.sendmail</value>
25285 </constant_variable>
25286 <constant_variable comment="List of files known to have the sgid bit set" datatype="string" id="oval:org.open-scap.f14:var:200485" version="1">
25287 <value>write</value>
25288 <value>locate</value>
25289 <value>ssh-agent</value>
25290 <value>wall</value>
25291 <value>screen</value>
25292 <value>lockfile</value>
25293 <value>gnomine</value>
25294 <value>jwhois</value>
25295 <value>iagno</value>
25296 <value>crontab</value>
25297 </constant_variable>
25298 <constant_variable comment="List of files known to have the suid bit set" datatype="string" id="oval:org.open-scap.f14:var:2004902" version="1">
25299 <value>cgexec</value>
25300 <value>fusermount</value>
25301 <value>mount</value>
25302 <value>ping</value>
25303 <value>ping6</value>
25304 <value>su</value>
25305 <value>umount</value>
25306 </constant_variable>
25307 <constant_variable comment="List of files known to have the suid bit set" datatype="string" id="oval:org.open-scap.f14:var:2004905" version="1">
25308 <value>mount.nfs</value>
25309 <value>pam_timestamp_check</value>
25310 <value>unix_chkpwd</value>
25311 </constant_variable>
25312 <constant_variable comment="List of files known to have the suid bit set" datatype="string" id="oval:org.open-scap.f14:var:2004906" version="1">
25313 <value>Xorg</value>
25314 <value>at</value>
25315 <value>chage</value>
25316 <value>chfn</value>
25317 <value>chsh</value>
25318 <value>crontab</value>
25319 <value>gpasswd</value>
25320 <value>ksu</value>
25321 <value>newgrp</value>
25322 <value>passwd</value>
25323 <value>pkexec</value>
25324 <value>rcp</value>
25325 <value>rlogin</value>
25326 <value>rsh</value>
25327 <value>staprun</value>
25328 <value>sudo</value>
25329 <value>sudoedit</value>
25330 </constant_variable>
25331 <constant_variable comment="List of files known to have the suid bit set" datatype="string" id="oval:org.open-scap.f14:var:2004910" version="1">
25332 <value>innbind</value>
25333 <value>rnews</value>
25334 </constant_variable>
25335 <constant_variable comment="List of files known to have the suid bit set" datatype="string" id="oval:org.open-scap.f14:var:2004915" version="1">
25336 <value>ccreds_chkpwd</value>
25337 <value>mtr</value>
25338 <value>seunshare</value>
25339 <value>suexec</value>
25340 <value>userhelper</value>
25341 <value>usernetctl</value>
25342 <value>userisdnctl</value>
25343 </constant_variable>
25344 <constant_variable comment="Regexp pattern for xinetd services" datatype="string" id="oval:org.open-scap.f14:var:2017" version="1">
25345 <value>^[[:space:]]+disable[[:space:]]*=[[:space:]]*(yes|no)</value>
25346 </constant_variable>
25347 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:1" version="1">
25348 <substring substring_length="1" substring_start="1">
25349 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25350 </substring>
25351 </local_variable>
25352 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:2" version="1">
25353 <substring substring_length="1" substring_start="2">
25354 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25355 </substring>
25356 </local_variable>
25357 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:3" version="1">
25358 <substring substring_length="1" substring_start="3">
25359 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25360 </substring>
25361 </local_variable>
25362 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:4" version="1">
25363 <substring substring_length="1" substring_start="4">
25364 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25365 </substring>
25366 </local_variable>
25367 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:5" version="1">
25368 <substring substring_length="1" substring_start="5">
25369 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25370 </substring>
25371 </local_variable>
25372 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:6" version="1">
25373 <substring substring_length="1" substring_start="6">
25374 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25375 </substring>
25376 </local_variable>
25377 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:7" version="1">
25378 <substring substring_length="1" substring_start="7">
25379 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25380 </substring>
25381 </local_variable>
25382 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:8" version="1">
25383 <substring substring_length="1" substring_start="8">
25384 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25385 </substring>
25386 </local_variable>
25387 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:9" version="1">
25388 <substring substring_length="1" substring_start="9">
25389 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25390 </substring>
25391 </local_variable>
25392 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:10" version="1">
25393 <substring substring_length="1" substring_start="1">
25394 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25395 </substring>
25396 </local_variable>
25397 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:11" version="1">
25398 <substring substring_length="1" substring_start="2">
25399 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25400 </substring>
25401 </local_variable>
25402 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:12" version="1">
25403 <substring substring_length="1" substring_start="3">
25404 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25405 </substring>
25406 </local_variable>
25407 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:13" version="1">
25408 <substring substring_length="1" substring_start="4">
25409 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25410 </substring>
25411 </local_variable>
25412 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:14" version="1">
25413 <substring substring_length="1" substring_start="5">
25414 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25415 </substring>
25416 </local_variable>
25417 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:15" version="1">
25418 <substring substring_length="1" substring_start="6">
25419 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25420 </substring>
25421 </local_variable>
25422 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:16" version="1">
25423 <substring substring_length="1" substring_start="7">
25424 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25425 </substring>
25426 </local_variable>
25427 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:17" version="1">
25428 <substring substring_length="1" substring_start="8">
25429 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25430 </substring>
25431 </local_variable>
25432 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:18" version="1">
25433 <substring substring_length="1" substring_start="9">
25434 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25435 </substring>
25436 </local_variable>
25437 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:19" version="1">
25438 <substring substring_length="1" substring_start="1">
25439 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25440 </substring>
25441 </local_variable>
25442 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:20" version="1">
25443 <substring substring_length="1" substring_start="2">
25444 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25445 </substring>
25446 </local_variable>
25447 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:21" version="1">
25448 <substring substring_length="1" substring_start="3">
25449 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25450 </substring>
25451 </local_variable>
25452 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:22" version="1">
25453 <substring substring_length="1" substring_start="4">
25454 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25455 </substring>
25456 </local_variable>
25457 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:23" version="1">
25458 <substring substring_length="1" substring_start="5">
25459 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25460 </substring>
25461 </local_variable>
25462 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:24" version="1">
25463 <substring substring_length="1" substring_start="6">
25464 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25465 </substring>
25466 </local_variable>
25467 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:25" version="1">
25468 <substring substring_length="1" substring_start="7">
25469 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25470 </substring>
25471 </local_variable>
25472 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:26" version="1">
25473 <substring substring_length="1" substring_start="8">
25474 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25475 </substring>
25476 </local_variable>
25477 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:27" version="1">
25478 <substring substring_length="1" substring_start="9">
25479 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25480 </substring>
25481 </local_variable>
25482 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:28" version="1">
25483 <substring substring_length="1" substring_start="1">
25484 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25485 </substring>
25486 </local_variable>
25487 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:29" version="1">
25488 <substring substring_length="1" substring_start="2">
25489 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25490 </substring>
25491 </local_variable>
25492 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:30" version="1">
25493 <substring substring_length="1" substring_start="3">
25494 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25495 </substring>
25496 </local_variable>
25497 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:31" version="1">
25498 <substring substring_length="1" substring_start="4">
25499 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25500 </substring>
25501 </local_variable>
25502 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:32" version="1">
25503 <substring substring_length="1" substring_start="5">
25504 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25505 </substring>
25506 </local_variable>
25507 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:33" version="1">
25508 <substring substring_length="1" substring_start="6">
25509 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25510 </substring>
25511 </local_variable>
25512 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:34" version="1">
25513 <substring substring_length="1" substring_start="7">
25514 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25515 </substring>
25516 </local_variable>
25517 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:35" version="1">
25518 <substring substring_length="1" substring_start="8">
25519 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25520 </substring>
25521 </local_variable>
25522 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:36" version="1">
25523 <substring substring_length="1" substring_start="9">
25524 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25525 </substring>
25526 </local_variable>
25527 <local_variable comment="List of user ids" datatype="int" id="oval:org.open-scap.f14:var:20050" version="1">
25528 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200501"/>
25529 </local_variable>
25530 <local_variable comment="List of group ids" datatype="int" id="oval:org.open-scap.f14:var:20051" version="1">
25531 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200511"/>
25532 </local_variable>
25533 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200820" version="1">
25534 <substring substring_length="1" substring_start="1">
25535 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25536 </substring>
25537 </local_variable>
25538 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200821" version="1">
25539 <substring substring_length="1" substring_start="4">
25540 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25541 </substring>
25542 </local_variable>
25543 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200822" version="1">
25544 <substring substring_length="1" substring_start="5">
25545 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25546 </substring>
25547 </local_variable>
25548 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200823" version="1">
25549 <substring substring_length="1" substring_start="6">
25550 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25551 </substring>
25552 </local_variable>
25553 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200824" version="1">
25554 <substring substring_length="1" substring_start="7">
25555 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25556 </substring>
25557 </local_variable>
25558 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200825" version="1">
25559 <substring substring_length="1" substring_start="8">
25560 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25561 </substring>
25562 </local_variable>
25563 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200826" version="1">
25564 <substring substring_length="1" substring_start="9">
25565 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25566 </substring>
25567 </local_variable>
25568 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200827" version="1">
25569 <substring substring_length="1" substring_start="10">
25570 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25571 </substring>
25572 </local_variable>
25573 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200828" version="1">
25574 <substring substring_length="1" substring_start="11">
25575 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25576 </substring>
25577 </local_variable>
25578 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200829" version="1">
25579 <substring substring_length="1" substring_start="12">
25580 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25581 </substring>
25582 </local_variable>
25583 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:37" version="1">
25584 <substring substring_length="1" substring_start="1">
25585 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25586 </substring>
25587 </local_variable>
25588 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:38" version="1">
25589 <substring substring_length="1" substring_start="2">
25590 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25591 </substring>
25592 </local_variable>
25593 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:39" version="1">
25594 <substring substring_length="1" substring_start="3">
25595 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25596 </substring>
25597 </local_variable>
25598 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:40" version="1">
25599 <substring substring_length="1" substring_start="4">
25600 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25601 </substring>
25602 </local_variable>
25603 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:41" version="1">
25604 <substring substring_length="1" substring_start="5">
25605 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25606 </substring>
25607 </local_variable>
25608 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:42" version="1">
25609 <substring substring_length="1" substring_start="6">
25610 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25611 </substring>
25612 </local_variable>
25613 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:43" version="1">
25614 <substring substring_length="1" substring_start="7">
25615 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25616 </substring>
25617 </local_variable>
25618 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:44" version="1">
25619 <substring substring_length="1" substring_start="8">
25620 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25621 </substring>
25622 </local_variable>
25623 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:45" version="1">
25624 <substring substring_length="1" substring_start="9">
25625 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25626 </substring>
25627 </local_variable>
25628 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201510" version="1">
25629 <substring substring_length="1" substring_start="1">
25630 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25631 </substring>
25632 </local_variable>
25633 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201511" version="1">
25634 <substring substring_length="1" substring_start="2">
25635 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25636 </substring>
25637 </local_variable>
25638 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201512" version="1">
25639 <substring substring_length="1" substring_start="3">
25640 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25641 </substring>
25642 </local_variable>
25643 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201513" version="1">
25644 <substring substring_length="1" substring_start="4">
25645 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25646 </substring>
25647 </local_variable>
25648 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201514" version="1">
25649 <substring substring_length="1" substring_start="5">
25650 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25651 </substring>
25652 </local_variable>
25653 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201515" version="1">
25654 <substring substring_length="1" substring_start="6">
25655 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25656 </substring>
25657 </local_variable>
25658 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201516" version="1">
25659 <substring substring_length="1" substring_start="7">
25660 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25661 </substring>
25662 </local_variable>
25663 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201517" version="1">
25664 <substring substring_length="1" substring_start="8">
25665 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25666 </substring>
25667 </local_variable>
25668 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201518" version="1">
25669 <substring substring_length="1" substring_start="9">
25670 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25671 </substring>
25672 </local_variable>
25673 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:46" version="1">
25674 <substring substring_length="1" substring_start="1">
25675 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25676 </substring>
25677 </local_variable>
25678 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:47" version="1">
25679 <substring substring_length="1" substring_start="2">
25680 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25681 </substring>
25682 </local_variable>
25683 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:48" version="1">
25684 <substring substring_length="1" substring_start="3">
25685 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25686 </substring>
25687 </local_variable>
25688 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:49" version="1">
25689 <substring substring_length="1" substring_start="4">
25690 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25691 </substring>
25692 </local_variable>
25693 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:50" version="1">
25694 <substring substring_length="1" substring_start="5">
25695 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25696 </substring>
25697 </local_variable>
25698 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:51" version="1">
25699 <substring substring_length="1" substring_start="6">
25700 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25701 </substring>
25702 </local_variable>
25703 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:52" version="1">
25704 <substring substring_length="1" substring_start="7">
25705 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25706 </substring>
25707 </local_variable>
25708 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:53" version="1">
25709 <substring substring_length="1" substring_start="8">
25710 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25711 </substring>
25712 </local_variable>
25713 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:54" version="1">
25714 <substring substring_length="1" substring_start="9">
25715 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25716 </substring>
25717 </local_variable>
25718 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:55" version="1">
25719 <substring substring_length="1" substring_start="1">
25720 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25721 </substring>
25722 </local_variable>
25723 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:56" version="1">
25724 <substring substring_length="1" substring_start="2">
25725 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25726 </substring>
25727 </local_variable>
25728 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:57" version="1">
25729 <substring substring_length="1" substring_start="3">
25730 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25731 </substring>
25732 </local_variable>
25733 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:58" version="1">
25734 <substring substring_length="1" substring_start="4">
25735 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25736 </substring>
25737 </local_variable>
25738 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:59" version="1">
25739 <substring substring_length="1" substring_start="5">
25740 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25741 </substring>
25742 </local_variable>
25743 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:60" version="1">
25744 <substring substring_length="1" substring_start="6">
25745 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25746 </substring>
25747 </local_variable>
25748 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:61" version="1">
25749 <substring substring_length="1" substring_start="7">
25750 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25751 </substring>
25752 </local_variable>
25753 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:62" version="1">
25754 <substring substring_length="1" substring_start="8">
25755 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25756 </substring>
25757 </local_variable>
25758 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:63" version="1">
25759 <substring substring_length="1" substring_start="9">
25760 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25761 </substring>
25762 </local_variable>
25763 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:64" version="1">
25764 <substring substring_length="1" substring_start="1">
25765 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25766 </substring>
25767 </local_variable>
25768 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:65" version="1">
25769 <substring substring_length="1" substring_start="2">
25770 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25771 </substring>
25772 </local_variable>
25773 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:66" version="1">
25774 <substring substring_length="1" substring_start="3">
25775 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25776 </substring>
25777 </local_variable>
25778 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:67" version="1">
25779 <substring substring_length="1" substring_start="4">
25780 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25781 </substring>
25782 </local_variable>
25783 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:68" version="1">
25784 <substring substring_length="1" substring_start="5">
25785 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25786 </substring>
25787 </local_variable>
25788 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:69" version="1">
25789 <substring substring_length="1" substring_start="6">
25790 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25791 </substring>
25792 </local_variable>
25793 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:70" version="1">
25794 <substring substring_length="1" substring_start="7">
25795 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25796 </substring>
25797 </local_variable>
25798 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:71" version="1">
25799 <substring substring_length="1" substring_start="8">
25800 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25801 </substring>
25802 </local_variable>
25803 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:72" version="1">
25804 <substring substring_length="1" substring_start="9">
25805 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25806 </substring>
25807 </local_variable>
25808 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:73" version="1">
25809 <substring substring_length="1" substring_start="1">
25810 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25811 </substring>
25812 </local_variable>
25813 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:74" version="1">
25814 <substring substring_length="1" substring_start="2">
25815 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25816 </substring>
25817 </local_variable>
25818 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:75" version="1">
25819 <substring substring_length="1" substring_start="3">
25820 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25821 </substring>
25822 </local_variable>
25823 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:76" version="1">
25824 <substring substring_length="1" substring_start="4">
25825 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25826 </substring>
25827 </local_variable>
25828 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:77" version="1">
25829 <substring substring_length="1" substring_start="5">
25830 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25831 </substring>
25832 </local_variable>
25833 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:78" version="1">
25834 <substring substring_length="1" substring_start="6">
25835 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25836 </substring>
25837 </local_variable>
25838 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:79" version="1">
25839 <substring substring_length="1" substring_start="7">
25840 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25841 </substring>
25842 </local_variable>
25843 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:80" version="1">
25844 <substring substring_length="1" substring_start="8">
25845 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25846 </substring>
25847 </local_variable>
25848 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:81" version="1">
25849 <substring substring_length="1" substring_start="9">
25850 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25851 </substring>
25852 </local_variable>
25853 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:82" version="1">
25854 <substring substring_length="1" substring_start="1">
25855 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25856 </substring>
25857 </local_variable>
25858 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:83" version="1">
25859 <substring substring_length="1" substring_start="2">
25860 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25861 </substring>
25862 </local_variable>
25863 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:84" version="1">
25864 <substring substring_length="1" substring_start="3">
25865 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25866 </substring>
25867 </local_variable>
25868 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:85" version="1">
25869 <substring substring_length="1" substring_start="4">
25870 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25871 </substring>
25872 </local_variable>
25873 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:86" version="1">
25874 <substring substring_length="1" substring_start="5">
25875 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25876 </substring>
25877 </local_variable>
25878 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:87" version="1">
25879 <substring substring_length="1" substring_start="6">
25880 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25881 </substring>
25882 </local_variable>
25883 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:88" version="1">
25884 <substring substring_length="1" substring_start="7">
25885 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25886 </substring>
25887 </local_variable>
25888 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:89" version="1">
25889 <substring substring_length="1" substring_start="8">
25890 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25891 </substring>
25892 </local_variable>
25893 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:90" version="1">
25894 <substring substring_length="1" substring_start="9">
25895 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25896 </substring>
25897 </local_variable>
25898 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:91" version="1">
25899 <substring substring_length="1" substring_start="1">
25900 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25901 </substring>
25902 </local_variable>
25903 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:92" version="1">
25904 <substring substring_length="1" substring_start="2">
25905 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25906 </substring>
25907 </local_variable>
25908 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:93" version="1">
25909 <substring substring_length="1" substring_start="3">
25910 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25911 </substring>
25912 </local_variable>
25913 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:94" version="1">
25914 <substring substring_length="1" substring_start="4">
25915 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25916 </substring>
25917 </local_variable>
25918 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:95" version="1">
25919 <substring substring_length="1" substring_start="5">
25920 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25921 </substring>
25922 </local_variable>
25923 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:96" version="1">
25924 <substring substring_length="1" substring_start="6">
25925 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25926 </substring>
25927 </local_variable>
25928 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:97" version="1">
25929 <substring substring_length="1" substring_start="7">
25930 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25931 </substring>
25932 </local_variable>
25933 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:98" version="1">
25934 <substring substring_length="1" substring_start="8">
25935 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25936 </substring>
25937 </local_variable>
25938 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:99" version="1">
25939 <substring substring_length="1" substring_start="9">
25940 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25941 </substring>
25942 </local_variable>
25943 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:100" version="1">
25944 <substring substring_length="1" substring_start="1">
25945 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25946 </substring>
25947 </local_variable>
25948 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:101" version="1">
25949 <substring substring_length="1" substring_start="2">
25950 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25951 </substring>
25952 </local_variable>
25953 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:102" version="1">
25954 <substring substring_length="1" substring_start="3">
25955 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25956 </substring>
25957 </local_variable>
25958 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:103" version="1">
25959 <substring substring_length="1" substring_start="4">
25960 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25961 </substring>
25962 </local_variable>
25963 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:104" version="1">
25964 <substring substring_length="1" substring_start="5">
25965 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25966 </substring>
25967 </local_variable>
25968 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:105" version="1">
25969 <substring substring_length="1" substring_start="6">
25970 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25971 </substring>
25972 </local_variable>
25973 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:106" version="1">
25974 <substring substring_length="1" substring_start="7">
25975 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25976 </substring>
25977 </local_variable>
25978 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:107" version="1">
25979 <substring substring_length="1" substring_start="8">
25980 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25981 </substring>
25982 </local_variable>
25983 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:108" version="1">
25984 <substring substring_length="1" substring_start="9">
25985 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25986 </substring>
25987 </local_variable>
25988 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:109" version="1">
25989 <substring substring_length="1" substring_start="1">
25990 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25991 </substring>
25992 </local_variable>
25993 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:110" version="1">
25994 <substring substring_length="1" substring_start="2">
25995 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25996 </substring>
25997 </local_variable>
25998 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:111" version="1">
25999 <substring substring_length="1" substring_start="3">
26000 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26001 </substring>
26002 </local_variable>
26003 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:112" version="1">
26004 <substring substring_length="1" substring_start="4">
26005 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26006 </substring>
26007 </local_variable>
26008 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:113" version="1">
26009 <substring substring_length="1" substring_start="5">
26010 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26011 </substring>
26012 </local_variable>
26013 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:114" version="1">
26014 <substring substring_length="1" substring_start="6">
26015 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26016 </substring>
26017 </local_variable>
26018 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:115" version="1">
26019 <substring substring_length="1" substring_start="7">
26020 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26021 </substring>
26022 </local_variable>
26023 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:116" version="1">
26024 <substring substring_length="1" substring_start="8">
26025 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26026 </substring>
26027 </local_variable>
26028 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:117" version="1">
26029 <substring substring_length="1" substring_start="9">
26030 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26031 </substring>
26032 </local_variable>
26033 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:118" version="1">
26034 <substring substring_length="1" substring_start="1">
26035 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26036 </substring>
26037 </local_variable>
26038 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:119" version="1">
26039 <substring substring_length="1" substring_start="2">
26040 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26041 </substring>
26042 </local_variable>
26043 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:120" version="1">
26044 <substring substring_length="1" substring_start="3">
26045 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26046 </substring>
26047 </local_variable>
26048 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:121" version="1">
26049 <substring substring_length="1" substring_start="4">
26050 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26051 </substring>
26052 </local_variable>
26053 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:122" version="1">
26054 <substring substring_length="1" substring_start="5">
26055 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26056 </substring>
26057 </local_variable>
26058 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:123" version="1">
26059 <substring substring_length="1" substring_start="6">
26060 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26061 </substring>
26062 </local_variable>
26063 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:124" version="1">
26064 <substring substring_length="1" substring_start="7">
26065 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26066 </substring>
26067 </local_variable>
26068 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:125" version="1">
26069 <substring substring_length="1" substring_start="8">
26070 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26071 </substring>
26072 </local_variable>
26073 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:126" version="1">
26074 <substring substring_length="1" substring_start="9">
26075 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26076 </substring>
26077 </local_variable>
26078 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:127" version="1">
26079 <substring substring_length="1" substring_start="1">
26080 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26081 </substring>
26082 </local_variable>
26083 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:128" version="1">
26084 <substring substring_length="1" substring_start="2">
26085 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26086 </substring>
26087 </local_variable>
26088 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:129" version="1">
26089 <substring substring_length="1" substring_start="3">
26090 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26091 </substring>
26092 </local_variable>
26093 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:130" version="1">
26094 <substring substring_length="1" substring_start="4">
26095 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26096 </substring>
26097 </local_variable>
26098 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:131" version="1">
26099 <substring substring_length="1" substring_start="5">
26100 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26101 </substring>
26102 </local_variable>
26103 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:132" version="1">
26104 <substring substring_length="1" substring_start="6">
26105 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26106 </substring>
26107 </local_variable>
26108 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:133" version="1">
26109 <substring substring_length="1" substring_start="7">
26110 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26111 </substring>
26112 </local_variable>
26113 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:134" version="1">
26114 <substring substring_length="1" substring_start="8">
26115 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26116 </substring>
26117 </local_variable>
26118 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:135" version="1">
26119 <substring substring_length="1" substring_start="9">
26120 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26121 </substring>
26122 </local_variable>
26123 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:136" version="1">
26124 <substring substring_length="1" substring_start="1">
26125 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26126 </substring>
26127 </local_variable>
26128 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:137" version="1">
26129 <substring substring_length="1" substring_start="2">
26130 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26131 </substring>
26132 </local_variable>
26133 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:138" version="1">
26134 <substring substring_length="1" substring_start="3">
26135 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26136 </substring>
26137 </local_variable>
26138 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:139" version="1">
26139 <substring substring_length="1" substring_start="4">
26140 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26141 </substring>
26142 </local_variable>
26143 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:140" version="1">
26144 <substring substring_length="1" substring_start="5">
26145 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26146 </substring>
26147 </local_variable>
26148 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:141" version="1">
26149 <substring substring_length="1" substring_start="6">
26150 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26151 </substring>
26152 </local_variable>
26153 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:142" version="1">
26154 <substring substring_length="1" substring_start="7">
26155 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26156 </substring>
26157 </local_variable>
26158 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:143" version="1">
26159 <substring substring_length="1" substring_start="8">
26160 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26161 </substring>
26162 </local_variable>
26163 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:144" version="1">
26164 <substring substring_length="1" substring_start="9">
26165 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26166 </substring>
26167 </local_variable>
26168 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:145" version="1">
26169 <substring substring_length="1" substring_start="1">
26170 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26171 </substring>
26172 </local_variable>
26173 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:146" version="1">
26174 <substring substring_length="1" substring_start="2">
26175 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26176 </substring>
26177 </local_variable>
26178 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:147" version="1">
26179 <substring substring_length="1" substring_start="3">
26180 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26181 </substring>
26182 </local_variable>
26183 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:148" version="1">
26184 <substring substring_length="1" substring_start="4">
26185 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26186 </substring>
26187 </local_variable>
26188 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:149" version="1">
26189 <substring substring_length="1" substring_start="5">
26190 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26191 </substring>
26192 </local_variable>
26193 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:150" version="1">
26194 <substring substring_length="1" substring_start="6">
26195 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26196 </substring>
26197 </local_variable>
26198 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:151" version="1">
26199 <substring substring_length="1" substring_start="7">
26200 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26201 </substring>
26202 </local_variable>
26203 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:152" version="1">
26204 <substring substring_length="1" substring_start="8">
26205 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26206 </substring>
26207 </local_variable>
26208 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:153" version="1">
26209 <substring substring_length="1" substring_start="9">
26210 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26211 </substring>
26212 </local_variable>
26213 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:160" version="1">
26214 <substring substring_length="1" substring_start="1">
26215 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26216 </substring>
26217 </local_variable>
26218 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:161" version="1">
26219 <substring substring_length="1" substring_start="2">
26220 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26221 </substring>
26222 </local_variable>
26223 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:162" version="1">
26224 <substring substring_length="1" substring_start="3">
26225 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26226 </substring>
26227 </local_variable>
26228 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:163" version="1">
26229 <substring substring_length="1" substring_start="4">
26230 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26231 </substring>
26232 </local_variable>
26233 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:164" version="1">
26234 <substring substring_length="1" substring_start="5">
26235 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26236 </substring>
26237 </local_variable>
26238 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:165" version="1">
26239 <substring substring_length="1" substring_start="6">
26240 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26241 </substring>
26242 </local_variable>
26243 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:166" version="1">
26244 <substring substring_length="1" substring_start="7">
26245 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26246 </substring>
26247 </local_variable>
26248 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:167" version="1">
26249 <substring substring_length="1" substring_start="8">
26250 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26251 </substring>
26252 </local_variable>
26253 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:168" version="1">
26254 <substring substring_length="1" substring_start="9">
26255 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26256 </substring>
26257 </local_variable>
26258 <local_variable comment="Split the PATH on the : delimiter" datatype="string" id="oval:org.open-scap.f14:var:200855" version="1">
26259 <split delimiter=":">
26260 <object_component item_field="value" object_ref="oval:org.open-scap.f14:obj:20085"/>
26261 </split>
26262 </local_variable>
26263 <local_variable comment="Regular expression for /etc/group: Get the group ID of given group name" datatype="string" id="oval:org.open-scap.f14:var:202081" version="1">
26264 <concat>
26265 <literal_component>^</literal_component>
26266 <variable_component var_ref="oval:org.open-scap.f14:var:20208"/>
26267 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26268 </concat>
26269 </local_variable>
26270 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202082" version="1">
26271 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202081"/>
26272 </local_variable>
26273 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202091" version="1">
26274 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202091"/>
26275 </local_variable>
26276 <local_variable comment="Regular expression for /etc/group: Get the group ID of given group name" datatype="string" id="oval:org.open-scap.f14:var:202111" version="1">
26277 <concat>
26278 <literal_component>^</literal_component>
26279 <variable_component var_ref="oval:org.open-scap.f14:var:20211"/>
26280 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26281 </concat>
26282 </local_variable>
26283 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202112" version="1">
26284 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202111"/>
26285 </local_variable>
26286 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202121" version="1">
26287 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202121"/>
26288 </local_variable>
26289 <local_variable comment="Regular expression for /etc/group: Get the group ID of given group name" datatype="string" id="oval:org.open-scap.f14:var:202141" version="1">
26290 <concat>
26291 <literal_component>^</literal_component>
26292 <variable_component var_ref="oval:org.open-scap.f14:var:20214"/>
26293 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26294 </concat>
26295 </local_variable>
26296 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202142" version="1">
26297 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202141"/>
26298 </local_variable>
26299 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202191" version="1">
26300 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202191"/>
26301 </local_variable>
26302 <local_variable comment="Regular expression for /etc/group: Get the group ID of given group name" datatype="string" id="oval:org.open-scap.f14:var:202291" version="1">
26303 <concat>
26304 <literal_component>^</literal_component>
26305 <variable_component var_ref="oval:org.open-scap.f14:var:20229"/>
26306 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26307 </concat>
26308 </local_variable>
26309 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202292" version="1">
26310 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202291"/>
26311 </local_variable>
26312 <local_variable comment="Regular expression for /etc/group: Get the group ID of given group name" datatype="string" id="oval:org.open-scap.f14:var:202301" version="1">
26313 <concat>
26314 <literal_component>^</literal_component>
26315 <variable_component var_ref="oval:org.open-scap.f14:var:20230"/>
26316 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26317 </concat>
26318 </local_variable>
26319 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202302" version="1">
26320 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202301"/>
26321 </local_variable>
26322 <local_variable comment="Regular expression for /etc/group: Get the group ID of given group name" datatype="string" id="oval:org.open-scap.f14:var:200811" version="1">
26323 <concat>
26324 <literal_component>^</literal_component>
26325 <variable_component var_ref="oval:org.open-scap.f14:var:20081"/>
26326 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26327 </concat>
26328 </local_variable>
26329 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:200812" version="1">
26330 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200811"/>
26331 </local_variable>
26332 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201491" version="1">
26333 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:2014911"/>
26334 </local_variable>
26335 <local_variable comment="Regular expression for /etc/group: Get the group ID of given group name" datatype="string" id="oval:org.open-scap.f14:var:201501" version="1">
26336 <concat>
26337 <literal_component>^</literal_component>
26338 <variable_component var_ref="oval:org.open-scap.f14:var:20150"/>
26339 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26340 </concat>
26341 </local_variable>
26342 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201502" version="1">
26343 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201501"/>
26344 </local_variable>
26345 </variables>
26346 </oval_definitions></ds:component></ds:data-stream-collection>