Debian Codegraph @

tests/DS/ds_sds_index/sds.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">
3 <ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_scap-fedora14-xccdf.xml" scap-version="1.2" use-case="OTHER" timestamp="2012-11-01T12:22:58">
4 <ds:checklists>
5 <ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-xccdf.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-xccdf.xml">
6 <cat:catalog>
7 <cat:uri name="scap-fedora14-oval.xml" uri="#scap_org.open-scap_cref_scap-fedora14-oval.xml"/>
8 </cat:catalog>
9 </ds:component-ref>
10 </ds:checklists>
11 <ds:checks>
12 <ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-oval.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-oval.xml"/>
13 </ds:checks>
14 </ds:data-stream>
15 <ds:component id="scap_org.open-scap_comp_scap-fedora14-xccdf.xml" timestamp="2012-07-20T12:22:58">
16 <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">
17 <xccdf:status date="2011-10-12">draft</xccdf:status>
18 <xccdf:title>Example of SCAP Security Guidance</xccdf:title>
19 <xccdf:description>This example security guidance has been created to demonstrate SCAP functionality
20 on Linux.</xccdf:description>
21 <xccdf:version>0.1</xccdf:version>
22 <xccdf:model system="urn:xccdf:scoring:default"/>
23 <xccdf:model system="urn:xccdf:scoring:flat"/>
24 <!-- ==================================================================================================== -->
25 <!-- ============================================ PROFILES ============================================= -->
26 <!-- ==================================================================================================== -->
27 <!-- -->
28 <!-- These profiles outline the specific guidance outlined by this document. -->
29 <!-- Each defines the set of XCCDF rules that are applicable for that guidance as well as specific values -->
30 <!-- to be used when determining complinace. -->
31 <!-- -->
32 <xccdf:Profile abstract="false" id="xccdf_cdf_profile_F14-Default">
33 <xccdf:title xml:lang="en">Default install settings</xccdf:title>
34 <xccdf:description xml:lang="en">This profile is an example policy that simply checks if some of Fedora 14 default
35 install settings have been modified. It is not comprehensive nor checks security hardening. It is just for testing
36 purposes.</xccdf:description>
37 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false"/>
38 <!-- DONE -->
39 <!-- Separate Partition or Logical Volume for /tmp -->
40 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false"/>
41 <!-- DONE -->
42 <!-- Minimum size of /tmp -->
43 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false"/>
44 <!-- DONE -->
45 <!-- Separate Partition or Logical Volume for /var -->
46 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false"/>
47 <!-- DONE -->
48 <!-- Minimum size of /var -->
49 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false"/>
50 <!-- DONE -->
51 <!-- Separate Partition or Logical Volume for /var/log -->
52 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false"/>
53 <!-- DONE -->
54 <!-- Separate Partition or Logical Volume for /var/log/audit -->
55 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false"/>
56 <!-- DONE -->
57 <!-- Separate Partition or Logical Volume for /home -->
58 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="true"/>
59 <!-- READY+ -->
60 <!-- Ensure that GPG Key for Fedora is installed -->
61 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false"/>
62 <!-- DONE -->
63 <!-- Disable the yum-updatesd daemon -->
64 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false"/>
65 <!-- DONE -->
66 <!-- Automatic Update Retrieval should be scheduled with Cron -->
67 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="true"/>
68 <!-- READY+ -->
69 <!-- Ensure gpgcheck is Globally Activated -->
70 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="true"/>
71 <!-- READY+ -->
72 <!-- Ensure Package Signature Checking is Not Disabled For Any Repos -->
73 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false"/>
74 <!-- DONE -->
75 <!-- Ensure Repodata Signature Checking is Globally Activated -->
76 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="true"/>
77 <!-- READY+ -->
78 <!-- Ensure Repodata Signature Checking is Not Disabled For Any Repos -->
79 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false"/>
80 <!-- DONE -->
81 <!-- Install AIDE -->
82 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.4.a" selected="false"/>
83 <!-- DONE -->
84 <!-- run AIDE (integrity check) periodically -->
85 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false"/>
86 <!-- DONE (unknown)-->
87 <!-- Verify Package Integrity Using RPM -->
88 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.1.a" selected="false"/>
89 <!-- DONE -->
90 <!-- Add nodev Option to Non-Root Local Partitions -->
91 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false"/>
92 <!-- DONE (unknown)-->
93 <!-- Add nodev Option to Removable Media Partitions -->
94 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false"/>
95 <!-- DONE (unknown)-->
96 <!-- Add noexec Option to Removable Media Partitions -->
97 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false"/>
98 <!-- DONE (unknown)-->
99 <!-- Add nosuid Option to Removable Media Partitions -->
100 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false"/>
101 <!-- DONE -->
102 <!-- Disable Modprobe Loading of USB Storage Driver -->
103 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false"/>
104 <!-- DONE -->
105 <!-- Remove USB Storage Driver -->
106 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false"/>
107 <!-- DONE -->
108 <!-- Disable Kernel Support for USB via Bootloader Configuration (will disable all USB devices including keyboards, mice, etc) -->
109 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false"/>
110 <!-- READY (unknown)-->
111 <!-- Disable Booting from USB Devices -->
112 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false"/>
113 <!-- DONE -->
114 <!-- Disable the Automounter if Possible -->
115 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false"/>
116 <!-- BUG? -->
117 <!-- Disable GNOME Automounting if Possible -->
118 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false"/>
119 <!-- READY -->
120 <!-- Disable Mounting of cramfs -->
121 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false"/>
122 <!-- READY -->
123 <!-- Disable Mounting of freevxfs -->
124 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false"/>
125 <!-- READY -->
126 <!-- Disable Mounting of jffs2 -->
127 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false"/>
128 <!-- READY -->
129 <!-- Disable Mounting of hfs -->
130 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false"/>
131 <!-- READY -->
132 <!-- Disable Mounting of hfsplus -->
133 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false"/>
134 <!-- READY -->
135 <!-- Disable Mounting of squashfs -->
136 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false"/>
137 <!-- READY -->
138 <!-- Disable Mounting of udf -->
139 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.a" selected="true"/>
140 <!-- READY+ -->
141 <!-- Verify user who owns '/etc/shadow' file -->
142 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.b" selected="true"/>
143 <!-- READY+ -->
144 <!-- Verify group who owns '/etc/shadow' file -->
145 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.c" selected="true"/>
146 <!-- READY+ -->
147 <!-- Verify user who owns '/etc/group' file -->
148 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.d" selected="true"/>
149 <!-- READY+ -->
150 <!-- Verify group who owns '/etc/group' file -->
151 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.e" selected="true"/>
152 <!-- READY+ -->
153 <!-- Verify user who owns '/etc/gshadow' file -->
154 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.f" selected="true"/>
155 <!-- READY+ -->
156 <!-- Verify group who owns '/etc/gshadow' file -->
157 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.g" selected="true"/>
158 <!-- READY+ -->
159 <!-- Verify user who owns '/etc/passwd' file -->
160 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.h" selected="true"/>
161 <!-- READY+ -->
162 <!-- Verify group who owns '/etc/passwd' file -->
163 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.i" selected="true"/>
164 <!-- READY+ -->
165 <!-- Verify permissions on '/etc/shadow' file -->
166 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.j" selected="true"/>
167 <!-- READY+ -->
168 <!-- Verify permissions on '/etc/group' file -->
169 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.k" selected="true"/>
170 <!-- READY+ -->
171 <!-- Verify permissions on '/etc/gshadow' file -->
172 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.l" selected="true"/>
173 <!-- READY+ -->
174 <!-- Verify permissions on '/etc/passwd' file -->
175 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.2.a" selected="true"/>
176 <!-- READY+ -->
177 <!-- Verify that All World-Writable Directories Have Sticky Bits Set -->
178 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.3.a" selected="true"/>
179 <!-- READY+ -->
180 <!-- Find Unauthorized World-Writable Files -->
181 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.a" selected="true"/>
182 <!-- READY+ -->
183 <!-- Find Unauthorized SGID System Executables -->
184 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.b" selected="true"/>
185 <!-- READY+ -->
186 <!-- Find Unauthorized SUID System Executables -->
187 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.a" selected="true"/>
188 <!-- READY+ -->
189 <!-- Find files unowned by a user -->
190 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.b" selected="true"/>
191 <!-- READY+ -->
192 <!-- Find files unowned by a group -->
193 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.6.a" selected="true"/>
194 <!-- READY+ -->
195 <!-- Find world writable directories not owned by a system account-->
196 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.1.a" selected="true"/>
197 <!-- READY+ -->
198 <!-- Set Daemon umask -->
199 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false"/>
200 <!-- DONE -->
201 <!-- Disable Core Dumps for all users -->
202 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.b" selected="true"/>
203 <!-- READY+ -->
204 <!-- Disable Core Dumps for SUID programs -->
205 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.a" selected="true"/>
206 <!-- READY+ -->
207 <!-- Enable ExecShield -->
208 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.b" selected="true"/>
209 <!-- READY+ -->
210 <!-- Enable ExecShield randomized placement of virtual memory regions -->
211 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false"/>
212 <!-- DONE (unknown) -->
213 <!-- Enable NX or XD Support in the BIOS -->
214 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false"/>
215 <!-- DONE -->
216 <!-- Restrict Root Logins to System Console -->
217 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false"/>
218 <!-- DONE -->
219 <!-- Restrict virtual console Root Logins -->
220 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false"/>
221 <!-- DONE -->
222 <!-- Restrict deprecated virtual console Root Logins -->
223 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.d" selected="true"/>
224 <!-- READY+ -->
225 <!-- Restrict serial port Root Logins -->
226 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false"/>
227 <!-- DONE -->
228 <!-- Limit su Access to the Root Account -->
229 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false"/>
230 <!-- DONE -->
231 <!-- Limit su Access to the wheel group -->
232 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false"/>
233 <!-- DONE -->
234 <!-- Configure sudo to Improve Auditing of Root Access -->
235 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false"/>
236 <!-- DONE -->
237 <!-- Block Shell and Login Access for Non-Root System Accounts -->
238 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="true"/>
239 <!-- READY+ -->
240 <!-- Verify that No Accounts Have Empty Password Fields -->
241 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="true"/>
242 <!-- READY+ -->
243 <!-- Verify that all Account Password Hashes are Shadowed -->
244 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.6.a" selected="true"/>
245 <!-- READY+ -->
246 <!-- Verify that No Non-Root Accounts Have UID 0 -->
247 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.a" selected="true"/>
248 <!-- READY+ -->
249 <!-- Set password minimum length -->
250 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false"/>
251 <!-- DONE -->
252 <!-- Set minimum password age -->
253 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false"/>
254 <!-- DONE -->
255 <!-- Set maximum password age -->
256 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.d" selected="true"/>
257 <!-- READY+ -->
258 <!-- Set password warn age -->
259 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false"/>
260 <!-- DONE -->
261 <!-- Remove Legacy + Entries from /etc/shadow -->
262 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false"/>
263 <!-- DONE -->
264 <!-- Remove Legacy + Entries from /etc/group -->
265 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false"/>
266 <!-- DONE -->
267 <!-- Remove Legacy + Entries from /etc/passwd -->
268 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false"/>
269 <!-- DONE -->
270 <!-- Set Password Quality Requirements using pam_cracklib -->
271 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false"/>
272 <!-- DONE -->
273 <!-- Set Password Quality Requirements using pam_passwdqc -->
274 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false"/>
275 <!-- DONE -->
276 <!-- Set Lockouts for Failed Password Attempts -->
277 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false"/>
278 <!-- DONE (unknown) -->
279 <!-- Do not leak information on authorization failure -->
280 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false"/>
281 <!-- DONE -->
282 <!-- Restrict Execution of userhelper to Console Users -->
283 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false"/>
284 <!-- DONE -->
285 <!-- Restrict File permissions of userhelper -->
286 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.5.a" selected="true"/>
287 <!-- READY+ -->
288 <!-- Set Password hashing algorithm -->
289 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false"/>
290 <!-- DONE -->
291 <!-- Limit password reuse -->
292 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.a" selected="true"/>
293 <!-- READY+ -->
294 <!-- Ensure that No Dangerous Directories Exist in Root's Path -->
295 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.b" selected="true"/>
296 <!-- READY+ -->
297 <!-- Write permissions are disabled for group and other in all directories in Root's Path -->
298 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.2.a" selected="true"/>
299 <!-- READY+ -->
300 <!-- Ensure that User Home Directories are not Group-Writable or World-Readable -->
301 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.a" selected="true"/>
302 <!-- READY+ -->
303 <!-- Ensure that Users Have Sensible Umask Values in /etc/bashrc -->
304 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.b" selected="true"/>
305 <!-- READY+ -->
306 <!-- Ensure that Users Have Sensible Umask Values in /etc/cshrc -->
307 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false"/>
308 <!-- DONE (unknown) -->
309 <!-- Check for existance of .netrc file -->
310 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.a" selected="true"/>
311 <!-- READY+ -->
312 <!-- Set Boot Loader user owner -->
313 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.b" selected="true"/>
314 <!-- READY+ -->
315 <!-- Set Boot Loader group owner -->
316 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.c" selected="true"/>
317 <!-- READY+ -->
318 <!-- Set permission on /etc/grub.conf -->
319 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false"/>
320 <!-- DONE -->
321 <!-- Set Boot Loader Password -->
322 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false"/>
323 <!-- ToDo -->
324 <!-- Require Authentication for Single-User Mode -->
325 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false"/>
326 <!-- DONE -->
327 <!-- Disable Interactive Boot -->
328 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false"/>
329 <!-- DONE -->
330 <!-- Implement Inactivity Time-out for csh Shell -->
331 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false"/>
332 <!-- DONE (unknown) -->
333 <!-- Implement Inactivity Time-out for bash Shell -->
334 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false"/>
335 <!-- DONE -->
336 <!-- Implement Inactivity Time-out for Login Shells -->
337 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false"/>
338 <!-- DONE -->
339 <!-- Implement idle activation of screen saver -->
340 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false"/>
341 <!-- DONE -->
342 <!-- Implement idle activation of screen lock -->
343 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false"/>
344 <!-- DONE -->
345 <!-- Implement blank screen saver -->
346 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false"/>
347 <!-- DONE -->
348 <!-- Configure console screen locking -->
349 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false"/>
350 <!-- DONE -->
351 <!-- Modify the System Login Banner -->
352 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false"/>
353 <!-- BUG -->
354 <!-- Implement a GUI Warning Banner -->
355 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.a" selected="true"/>
356 <!-- READY+ -->
357 <!-- Enable SELinux in /etc/grub.conf -->
358 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.b" selected="false"/>
359 <!-- DONE -->
360 <!-- Enable SELinux enforcement in /etc/grub.conf -->
361 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.c" selected="true"/>
362 <!-- READY+ -->
363 <!-- Set the SELinux state -->
364 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.d" selected="true"/>
365 <!-- READY+ -->
366 <!-- Set the SELinux policy -->
367 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false"/>
368 <!-- DONE (unknown) -->
369 <!-- Ensure SELinux is Properly Enabled -->
370 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false"/>
371 <!-- DONE -->
372 <!-- Disable MCS Translation Service (mcstrans) if Possible -->
373 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false"/>
374 <!-- DONE -->
375 <!-- Restorecon Service (restorecond) -->
376 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.5.a" selected="false"/>
377 <!-- DONE (unknown) -->
378 <!-- Check for Unconfined Daemons -->
379 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false"/>
380 <!-- DONE -->
381 <!-- Disable net.ipv4.conf.default.send_redirects for Hosts Only -->
382 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false"/>
383 <!-- DONE -->
384 <!-- Disable net.ipv4.conf.all.send_redirects for Hosts Only -->
385 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false"/>
386 <!-- DONE -->
387 <!-- Disable net.ipv4.ip forward for Hosts Only -->
388 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false"/>
389 <!-- DONE -->
390 <!-- Set net.ipv4.conf.all.accept_source_route for Hosts and Routers -->
391 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false"/>
392 <!-- DONE -->
393 <!-- Set net.ipv4.conf.all.accept_redirects for Hosts and Routers -->
394 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false"/>
395 <!-- DONE -->
396 <!-- Set net.ipv4.conf.all.secure_redirects for Hosts and Routers -->
397 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false"/>
398 <!-- DONE -->
399 <!-- Set net.ipv4.conf.all.log_martians for Hosts and Routers -->
400 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false"/>
401 <!-- DONE -->
402 <!-- Set net.ipv4.conf.default.accept_source_route for Hosts and Routers -->
403 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false"/>
404 <!-- DONE -->
405 <!-- Set net.ipv4.conf.default.accept_redirects for Hosts and Routers -->
406 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false"/>
407 <!-- DONE -->
408 <!-- Set net.ipv4.conf.default.secure_redirects for Hosts and Routers -->
409 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false"/>
410 <!-- DONE -->
411 <!-- Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers -->
412 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false"/>
413 <!-- DONE -->
414 <!-- Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers -->
415 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false"/>
416 <!-- DONE -->
417 <!-- Set net.ipv4.tcp_syncookies for Hosts and Routers -->
418 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false"/>
419 <!-- DONE -->
420 <!-- Set net.ipv4.conf.all.rp_filter for Hosts and Routers -->
421 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false"/>
422 <!-- DONE -->
423 <!-- Set net.ipv4.conf.default.rp_filter for Hosts and Routers -->
424 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false"/>
425 <!-- DONE -->
426 <!-- Disable Wireless in BIOS -->
427 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false"/>
428 <!-- DONE -->
429 <!-- Deactivate Wireless Interfaces -->
430 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false"/>
431 <!-- DONE -->
432 <!-- Disable Wireless Drivers -->
433 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false"/>
434 <!-- DONE -->
435 <!-- Disable Automatic Loading of IPv6 Kernel Module -->
436 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false"/>
437 <!-- DONE -->
438 <!-- Disable NETWORKING_IPV6 in /etc/sysconfig/network -->
439 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false"/>
440 <!-- DONE -->
441 <!-- Disable IPV6INIT in /etc/sysconfig/network -->
442 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false"/>
443 <!-- DONE -->
444 <!-- Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-* -->
445 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false"/>
446 <!-- DONE -->
447 <!-- Disable IPV6_AUTOCONF in /etc/sysconfig/network -->
448 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false"/>
449 <!-- DONE -->
450 <!-- Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra) -->
451 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false"/>
452 <!-- DONE -->
453 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects) -->
454 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false"/>
455 <!-- DONE -->
456 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects) -->
457 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false"/>
458 <!-- DONE -->
459 <!-- Use Privacy Extensions for Address if Necessary -->
460 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false"/>
461 <!-- DONE -->
462 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations -->
463 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false"/>
464 <!-- DONE -->
465 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref -->
466 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false"/>
467 <!-- DONE -->
468 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo -->
469 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false"/>
470 <!-- DONE -->
471 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr -->
472 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false"/>
473 <!-- DONE -->
474 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf -->
475 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false"/>
476 <!-- DONE -->
477 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits -->
478 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false"/>
479 <!-- DONE -->
480 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses -->
481 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.a" selected="true"/>
482 <!-- READY+ -->
483 <!-- Verify ip6tables is enabled -->
484 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.b" selected="true"/>
485 <!-- READY+ -->
486 <!-- Verify iptables is enabled -->
487 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false"/>
488 <!-- DONE -->
489 <!-- Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain -->
490 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false"/>
491 <!-- DONE -->
492 <!-- Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain -->
493 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false"/>
494 <!-- ERASE -->
495 <!-- Disable Support for DCCP -->
496 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false"/>
497 <!-- ERASE -->
498 <!-- Disable Support for SCTP -->
499 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false"/>
500 <!-- ERASE -->
501 <!-- Disable Support for RDS -->
502 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false"/>
503 <!-- ERASE -->
504 <!-- Disable Support for TIPC -->
505 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.a" selected="true"/>
506 <!-- DONE+ -->
507 <!-- Configure Syslog -->
508 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.a" selected="true"/>
509 <!-- DONE+ -->
510 <!-- Confirm user that owns System Log Files -->
511 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.b" selected="true"/>
512 <!-- DONE+ -->
513 <!-- Confirm group that owns System Log Files -->
514 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.c" selected="true"/>
515 <!-- DONE+ -->
516 <!-- Confirm Permissions of System Log Files -->
517 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false"/>
518 <!-- OK -->
519 <!-- Send Logs to a Remote Loghost -->
520 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false"/>
521 <!-- F14 test needed-->
522 <!-- Disable syslogd from Accepting Remote Messages on Loghosts Only -->
523 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false"/>
524 <!-- missing -->
525 <!-- Ensure All Logs are Rotated by logrotate -->
526 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false"/>
527 <!-- DONE (unknown) -->
528 <!-- Monitor Suspicious Log Messages using Logwatch -->
529 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.1.a" selected="true"/>
530 <!-- DONE+ -->
531 <!-- Enable the auditd Service -->
532 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false"/>
533 <!-- DONE -->
534 <!-- Enable Auditing for Processes Which Start Prior to the Audit Daemon -->
535 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false"/>
536 <!-- DONE -->
537 <!-- Records Events that Modify Date and Time Information -->
538 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false"/>
539 <!-- DONE -->
540 <!-- Record Events that Modify User/Group Information -->
541 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false"/>
542 <!-- DONE -->
543 <!-- Record Events that Modify the System’s Network Environment -->
544 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false"/>
545 <!-- DONE -->
546 <!-- Record Events that Modify the System’s Mandatory Access Controls -->
547 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false"/>
548 <!-- DONE -->
549 <!-- Ensure auditd Collects Logon and Logout Events -->
550 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false"/>
551 <!-- DONE -->
552 <!-- Ensure auditd Collects Process and Session Initiation Information -->
553 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false"/>
554 <!-- DONE -->
555 <!-- Ensure auditd Collects Discretionary Access Control Permission Modification Events -->
556 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false"/>
557 <!-- DONE -->
558 <!-- Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful -->
559 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false"/>
560 <!-- DONE -->
561 <!-- Ensure auditd Collects Information on the Use of Privileged Commands -->
562 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false"/>
563 <!-- DONE -->
564 <!-- Ensure auditd Collects Information on Exporting to Media (successful) -->
565 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false"/>
566 <!-- DONE -->
567 <!-- Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful) -->
568 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false"/>
569 <!-- DONE -->
570 <!-- Ensure auditd Collects System Administrator Actions -->
571 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false"/>
572 <!-- DONE -->
573 <!-- Ensure auditd Collects Information on Kernel Module Loading and Unloading -->
574 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false"/>
575 <!-- DONE -->
576 <!-- Make the auditd Configuration Immutable -->
577 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.a" selected="false"/>
578 <!-- DONE -->
579 <!-- Disable Inetd -->
580 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.b" selected="false"/>
581 <!-- DONE -->
582 <!-- Disable Xinetd -->
583 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.c" selected="false"/>
584 <!-- DONE -->
585 <!-- Uninstall Inetd -->
586 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.d" selected="false"/>
587 <!-- DONE -->
588 <!-- Uninstall Xinetd -->
589 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.a" selected="false"/>
590 <!-- DONE -->
591 <!-- Telnet server package is uninstalled -->
592 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.b" selected="false"/>
593 <!-- DONE -->
594 <!-- Disable telnet service -->
595 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false"/>
596 <!-- DONE -->
597 <!-- Remove the telnet client command from the System -->
598 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false"/>
599 <!-- DONE -->
600 <!-- Remove the kerberos telnet client from the System -->
601 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false"/>
602 <!-- DONE -->
603 <!-- Remove the Rsh Server Commands from the System -->
604 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false"/>
605 <!-- ERASE -->
606 <!-- disable rcp -->
607 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false"/>
608 <!-- DONE -->
609 <!-- disable rsh -->
610 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false"/>
611 <!-- DONE -->
612 <!-- disable rlogin -->
613 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false"/>
614 <!-- DONE -->
615 <!-- Remove .rhosts Support from PAM Configuration Files -->
616 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false"/>
617 <!-- DONE -->
618 <!-- Remove the Rsh Client Commands from the System -->
619 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.a" selected="false"/>
620 <!-- DONE -->
621 <!-- Uninstall NIS -->
622 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.b" selected="false"/>
623 <!-- DONE -->
624 <!-- Disable NIS -->
625 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.a" selected="false"/>
626 <!-- DONE -->
627 <!-- Uninstall TFTP Server -->
628 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.b" selected="false"/>
629 <!-- DONE -->
630 <!-- disable TFTP Server -->
631 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.1.a" selected="false"/>
632 <!-- DONE -->
633 <!-- Installation Helper Service (firstboot) -->
634 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.2.a" selected="false"/>
635 <!-- DONE -->
636 <!-- Console Mouse Service (gpm) -->
637 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.3.a" selected="false"/>
638 <!-- DONE -->
639 <!-- Interrupt Distribution on Multiprocessor Systems (irqbalance) -->
640 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.4.a" selected="false"/>
641 <!-- DONE -->
642 <!-- ISDN Support (isdn) -->
643 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.5.a" selected="false"/>
644 <!-- DONE -->
645 <!-- Kdump Kernel Crash Analyzer (kdump) -->
646 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.6.a" selected="false"/>
647 <!-- DONE -->
648 <!-- Kudzu Hardware Probing Utility (kudzu) -->
649 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.7.a" selected="false"/>
650 <!-- DONE -->
651 <!-- Software RAID Monitor (mdmonitor) -->
652 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.8.a" selected="false"/>
653 <!-- DONE -->
654 <!-- A32 Microcode Utility(microcodectl) -->
655 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false"/>
656 <!-- DONE -->
657 <!-- Disable All Networking if Not Needed) -->
658 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false"/>
659 <!-- DONE -->
660 <!-- Disable All External Network Interfaces if Not Needed -->
661 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false"/>
662 <!-- DONE -->
663 <!-- Disable Zeroconf Networking -->
664 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.10.a" selected="false"/>
665 <!-- DONE -->
666 <!-- Smart Card Support (pcscd) -->
667 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.11.a" selected="false"/>
668 <!-- DONE -->
669 <!-- SMART Disk Monitoring Support (smartd) -->
670 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.a" selected="false"/>
671 <!-- DONE -->
672 <!-- Boot Caching (readahead early/readahead later) -->
673 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.b" selected="false"/>
674 <!-- DONE -->
675 <!-- Boot Caching (readahead early/readahead later) -->
676 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false"/>
677 <!-- DONE -->
678 <!-- D-Bus IPC Service (messagebus) -->
679 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false"/>
680 <!-- DONE -->
681 <!-- HAL Daemon (haldaemon) -->
682 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false"/>
683 <!-- DONE -->
684 <!-- Bluetooth Host Controller Interface Daemon (bluetooth) -->
685 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false"/>
686 <!-- DONE -->
687 <!-- Bluetooth Input Devices (hidd) -->
688 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false"/>
689 <!-- TODO -->
690 <!-- Disable Bluetooth Kernel Modules -->
691 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false"/>
692 <!-- DONE -->
693 <!-- Advanced Power Management Subsystem (apmd) -->
694 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false"/>
695 <!-- DONE -->
696 <!-- Advanced Configuration and Power Interface (acpid) -->
697 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false"/>
698 <!-- DONE -->
699 <!-- CPU Throttling (cpuspeed) -->
700 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.a" selected="false"/>
701 <!-- DONE -->
702 <!-- Enable Cron Daemon -->
703 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.a" selected="false"/>
704 <!-- DONE -->
705 <!-- Disable anacron if Possible -->
706 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.b" selected="false"/>
707 <!-- DONE -->
708 <!-- Uninstall anacron if Possible -->
709 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.a" selected="true"/>
710 <!-- DONE -->
711 <!-- Set group owner on /etc/crontab -->
712 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.b" selected="true"/>
713 <!-- DONE -->
714 <!-- Set user owner on /etc/crontab -->
715 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.c" selected="true"/>
716 <!-- DONE -->
717 <!-- Set Permissions on /etc/crontab -->
718 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.a" selected="true"/>
719 <!-- DONE -->
720 <!-- Set group owner on /etc/anacrontab -->
721 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.b" selected="true"/>
722 <!-- DONE -->
723 <!-- Set user owner on /etc/anacrontab -->
724 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.c" selected="true"/>
725 <!-- DONE -->
726 <!-- Set Permissions on /etc/anacrontab -->
727 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.a" selected="true"/>
728 <!-- DONE -->
729 <!-- Set group owner on /etc/cron.hourly -->
730 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.b" selected="true"/>
731 <!-- DONE -->
732 <!-- Set group owner on /etc/cron.daily -->
733 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.c" selected="true"/>
734 <!-- DONE -->
735 <!-- Set group owner on /etc/cron.weekly -->
736 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.d" selected="true"/>
737 <!-- DONE -->
738 <!-- Set group owner on /etc/cron.monthly -->
739 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.e" selected="true"/>
740 <!-- DONE -->
741 <!-- Set group owner on /etc/cron.d -->
742 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.f" selected="true"/>
743 <!-- DONE -->
744 <!-- Set user owner on /etc/cron.hourly -->
745 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.g" selected="true"/>
746 <!-- DONE -->
747 <!-- Set user owner on /etc/cron.daily -->
748 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.h" selected="true"/>
749 <!-- DONE -->
750 <!-- Set user owner on /etc/cron.weekly -->
751 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.i" selected="true"/>
752 <!-- DONE -->
753 <!-- Set user owner on /etc/cron.monthly -->
754 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.j" selected="true"/>
755 <!-- DONE -->
756 <!-- Set user owner on /etc/cron.d -->
757 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.k" selected="true"/>
758 <!-- DONE -->
759 <!-- Set permissions on /etc/cron.hourly -->
760 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.l" selected="true"/>
761 <!-- DONE -->
762 <!-- Set permissions on /etc/cron.daily -->
763 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.m" selected="true"/>
764 <!-- DONE -->
765 <!-- Set permissions on /etc/cron.weekly -->
766 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.n" selected="true"/>
767 <!-- DONE -->
768 <!-- Set permissions on /etc/cron.monthly -->
769 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.o" selected="true"/>
770 <!-- DONE -->
771 <!-- Set permissions on /etc/cron.d -->
772 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.a" selected="true"/>
773 <!-- DONE -->
774 <!-- Restrict group owner on /var/spool/cron file -->
775 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.b" selected="true"/>
776 <!-- DONE -->
777 <!-- Restrict user owner on /var/spool/cron file -->
778 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.c" selected="true"/>
779 <!-- DONE -->
780 <!-- Restrict Permissions on /var/spool/cron file -->
781 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.a" selected="false"/>
782 <!-- DONE -->
783 <!-- Disable at Daemon if possible -->
784 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.b" selected="false"/>
785 <!-- DONE -->
786 <!-- uninstall at Daemon -->
787 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.a" selected="false"/>
788 <!-- DONE -->
789 <!-- Remove /etc/cron.deny -->
790 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.b" selected="false"/>
791 <!-- DONE -->
792 <!-- Remove /etc/at.deny -->
793 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false"/>
794 <!-- DONE -->
795 <!-- Disable OpenSSH Software -->
796 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false"/>
797 <!-- DONE -->
798 <!-- Remove OpenSSH Software -->
799 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false"/>
800 <!-- DONE -->
801 <!-- Remove SSH Server iptables Firewall Exception -->
802 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false"/>
803 <!-- DONE -->
804 <!-- Remove SSH Server ip6tables Firewall Exception -->
805 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false"/>
806 <!-- DONE -->
807 <!-- Ensure Only Protocol 2 Connections Allowed -->
808 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false"/>
809 <!-- DONE -->
810 <!-- Set Idle Timeout Interval for User Logins -->
811 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false"/>
812 <!-- DONE -->
813 <!-- Set ClientAliveCountMax for User Logins -->
814 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false"/>
815 <!-- DONE -->
816 <!-- Disable .rhosts Files -->
817 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false"/>
818 <!-- DONE -->
819 <!-- Disable Host-Based Authentication -->
820 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false"/>
821 <!-- DONE -->
822 <!-- Disable root Login via SSH -->
823 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false"/>
824 <!-- DONE -->
825 <!-- Disable Empty Passwords -->
826 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false"/>
827 <!-- DONE -->
828 <!-- Enable a Warning Banner -->
829 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false"/>
830 <!-- DONE -->
831 <!-- Do not allow users to set Environment options -->
832 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false"/>
833 <!-- TODO -->
834 <!-- Use Only Approved Ciphers -->
835 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false"/>
836 <!-- Disable X Windows at System Boot -->
837 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false"/>
838 <!-- Remove X Windows from the System if Possible -->
839 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false"/>
840 <!-- Disable X Window System Listening -->
841 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false"/>
842 <!-- Create Warning Banners for GUI Login Users -->
843 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false"/>
844 <!-- Disable Avahi Server Software -->
845 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false"/>
846 <!-- Do not serve ipv6 Protocol -->
847 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false"/>
848 <!-- Do not serve ipv4 Protocol -->
849 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false"/>
850 <!-- Check Responses' TTL Field -->
851 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false"/>
852 <!-- Prevent Other Programs from Using Avahi's Port -->
853 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false"/>
854 <!-- Disable Publishing if Possible -->
855 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false"/>
856 <!-- Restrict disable-user-service-publishing -->
857 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false"/>
858 <!-- Restrict publish-addresses -->
859 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false"/>
860 <!-- Restrict publish-hinfo -->
861 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false"/>
862 <!-- Restrict publish-workstation -->
863 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false"/>
864 <!-- Restrict publish-domain -->
865 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.1.a" selected="false"/>
866 <!-- Disable the CUPS Service if Possible -->
867 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.a" selected="false"/>
868 <!-- Disable Firewall Access to Printing Service over IPv4 if Possible -->
869 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.b" selected="false"/>
870 <!-- Disable Firewall Access to Printing Service over IPv6 if Possible -->
871 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false"/>
872 <!-- Disable Printer Browsing Entirely if Possible -->
873 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false"/>
874 <!-- Deny CUPS ability to listen for Incoming printer information -->
875 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false"/>
876 <!-- Disable HPLIP Service if Possible -->
877 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.1.a" selected="false"/>
878 <!-- Disable DHCP Client if Possible -->
879 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.a" selected="false"/>
880 <!-- Disable DHCP Server if Possible -->
881 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.b" selected="false"/>
882 <!-- Uninstall DHCP Server if possible -->
883 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false"/>
884 <!-- Do Not Use Dynamic DNS -->
885 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false"/>
886 <!-- Deny Decline Messages -->
887 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false"/>
888 <!-- Deny BOOTP Queries -->
889 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false"/>
890 <!-- DHCP should not send domain-name -->
891 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false"/>
892 <!-- DHCP should not send domain-name-servers -->
893 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false"/>
894 <!-- DHCP should not send nis-domain -->
895 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false"/>
896 <!-- DHCP should not send nis-servers -->
897 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false"/>
898 <!-- DHCP should not send ntp-servers -->
899 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false"/>
900 <!-- DHCP should not send routers -->
901 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false"/>
902 <!-- DHCP should not send time-offset -->
903 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false"/>
904 <!-- Configure DHCP Logging -->
905 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false"/>
906 <!-- Enable the NTP Daemon -->
907 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false"/>
908 <!-- Deny All Access to ntpd by Default -->
909 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false"/>
910 <!-- Specify a Remote NTP Server for Time Data -->
911 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false"/>
912 <!-- Obtain NTP Software -->
913 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false"/>
914 <!-- Enable the NTP Daemon -->
915 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false"/>
916 <!-- Configure the Client NTP Daemon to Use the Local Server -->
917 <xccdf:select idref="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false"/>
918 <!-- Disable the Listening Sendmail Daemon -->
919 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false"/>
920 <!-- Configure LDAP to Use TLS for All Transactions -->
921 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false"/>
922 <!-- Disable OpenLDAP service -->
923 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false"/>
924 <!-- Disable nfslock -->
925 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false"/>
926 <!-- Disable rpcgssd -->
927 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false"/>
928 <!-- Disable rpcidmapd -->
929 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false"/>
930 <!-- Disable netfs if Possible -->
931 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false"/>
932 <!-- Configure lockd to Use Fixed Ports for TCP -->
933 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false"/>
934 <!-- Configure statd to Use a outgoing static port-->
935 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false"/>
936 <!-- Configure statd to Use a static port -->
937 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false"/>
938 <!-- Configure lockd to Use a static port for UDP -->
939 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false"/>
940 <!-- Configure mountd to Use a static port -->
941 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false"/>
942 <!-- Configure rquotad to Use Fixed Ports -->
943 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false"/>
944 <!-- Disable nfs service -->
945 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false"/>
946 <!-- Disable rpcsvcgssd service -->
947 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false"/>
948 <!-- INCOMPLETE OVAL -->
949 <!-- Mount Remote Filesystems with nodev -->
950 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false"/>
951 <!-- Mount Remote Filesystems with nosuid -->
952 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false"/>
953 <!-- Mount Remote Filesystems with noexec -->
954 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false"/>
955 <!-- Use Root-Squashing on All Exports -->
956 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false"/>
957 <!-- Restrict NFS Clients to Privileged Ports -->
958 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false"/>
959 <!-- Export Filesystems Read-Only if Possible -->
960 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.a" selected="false"/>
961 <!-- Disable DNS Server if Possible -->
962 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.b" selected="false"/>
963 <!-- Uninstall bind if Possible -->
964 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false"/>
965 <!-- Run DNS Software in a chroot Jail owned by root group -->
966 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false"/>
967 <!-- Run DNS Software in a chroot Jail owned by root user -->
968 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false"/>
969 <!-- Set permissions on chroot Jail for DNS -->
970 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false"/>
971 <!-- Disable DNS Dynamic Updates if Possible -->
972 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.a" selected="false"/>
973 <!-- Disable vsftpd if Possible -->
974 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.b" selected="false"/>
975 <!-- Uninstall vsftpd if Possible -->
976 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false"/>
977 <!-- Enable Logging of All FTP Transactions -->
978 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false"/>
979 <!-- Create Warning Banners for All FTP Users -->
980 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false"/>
981 <!-- Restrict Access to Anonymous Users if Possible -->
982 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false"/>
983 <!-- Disable FTP Uploads if Possible -->
984 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.a" selected="false"/>
985 <!-- Disable Apache if Possible -->
986 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.b" selected="false"/>
987 <!-- Uninstall Apache if Possible -->
988 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false"/>
989 <!-- Restrict Information Leakageusing ServerTokens -->
990 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false"/>
991 <!-- Restrict Information Leakage using ServerSignature -->
992 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false"/>
993 <!-- Restrict permissions on /etc/httpd/conf -->
994 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false"/>
995 <!-- Restrict permissions on /etc/httpd/conf/* -->
996 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false"/>
997 <!-- Restrict permissions on /usr/sbin/httpd -->
998 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false"/>
999 <!-- Restrict group access to /etc/httpd/conf/* -->
1000 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false"/>
1001 <!-- Restrict permissions on /var/log/httpd -->
1002 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.a" selected="false"/>
1003 <!-- Disable Dovecot if Possible -->
1004 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.b" selected="false"/>
1005 <!-- Uninstall Dovecot if Possible -->
1006 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false"/>
1007 <!-- Dovecot should not support imaps -->
1008 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false"/>
1009 <!-- Dovecot should not support pop3s -->
1010 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false"/>
1011 <!-- Dovecot should not support pop3 -->
1012 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false"/>
1013 <!-- Dovecot should not support imap -->
1014 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false"/>
1015 <!-- Disable Plaintext Authentication -->
1016 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false"/>
1017 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1018 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false"/>
1019 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1020 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.1.a" selected="false"/>
1021 <!-- Disable smb if Possible -->
1022 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false"/>
1023 <!-- Disable Guest Access and Local Login Support -->
1024 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false"/>
1025 <!-- Require Client SMB Packet Signing, if using smbclient -->
1026 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false"/>
1027 <!-- NO OVAL 5.5 test -->
1028 <!-- Require Client SMB Packet Signing, if using mount.cifs -->
1029 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.a" selected="false"/>
1030 <!-- DONE -->
1031 <!-- Disable squid if Possible -->
1032 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.b" selected="false"/>
1033 <!-- DONE -->
1034 <!-- Uninstall squid if Possible -->
1035 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false"/>
1036 <!-- DONE -->
1037 <!-- Verify ftp_passive setting -->
1038 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false"/>
1039 <!-- DONE -->
1040 <!-- Verify ftp_sanitycheck setting -->
1041 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false"/>
1042 <!-- DONE -->
1043 <!-- Verify check_hostnames stting -->
1044 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false"/>
1045 <!-- DONE -->
1046 <!-- Verify request_header_max_size setting -->
1047 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false"/>
1048 <!-- DONE -->
1049 <!-- Verify reply_header_max_size setting -->
1050 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false"/>
1051 <!-- DONE -->
1052 <!-- Verify cache_effective_user setting -->
1053 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false"/>
1054 <!-- DONE -->
1055 <!-- Verify cache_effective_group setting -->
1056 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false"/>
1057 <!-- DONE -->
1058 <!-- Verify ignore_unknown_nameservers setting -->
1059 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false"/>
1060 <!-- DONE -->
1061 <!-- Check allow_underscore setting -->
1062 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false"/>
1063 <!-- DONE -->
1064 <!-- Check httpd_suppress_version setting -->
1065 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false"/>
1066 <!-- DONE -->
1067 <!-- Check forwarded_for setting -->
1068 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false"/>
1069 <!-- DONE -->
1070 <!-- Check log_mime_hdrs setting -->
1071 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false"/>
1072 <!-- DONE -->
1073 <!-- Restrict gss-http traffic -->
1074 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false"/>
1075 <!-- DONE -->
1076 <!-- Restrict https traffic -->
1077 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false"/>
1078 <!-- DONE -->
1079 <!-- Restrict wais traffic -->
1080 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false"/>
1081 <!-- DONE -->
1082 <!-- Restrict multiling http traffic -->
1083 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false"/>
1084 <!-- DONE -->
1085 <!-- Restrict http traffic -->
1086 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false"/>
1087 <!-- DONE -->
1088 <!-- Restrict ftp traffic -->
1089 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false"/>
1090 <!-- DONE -->
1091 <!-- Restrict gopher traffic -->
1092 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false"/>
1093 <!-- DONE -->
1094 <!-- Restrict filemaker traffic -->
1095 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false"/>
1096 <!-- DONE -->
1097 <!-- Restrict proxy access to localhost -->
1098 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false"/>
1099 <!-- DONE -->
1100 <!-- Restrict http-mgmt traffic -->
1101 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.a" selected="false"/>
1102 <!-- DONE -->
1103 <!-- Disable snmpd if Possible -->
1104 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.b" selected="false"/>
1105 <!-- DONE -->
1106 <!-- Uninstall net-snmp if Possible -->
1107 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.i" selector="000"/>
1108 <!-- Permissions for shadow -->
1109 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.j" selector="644"/>
1110 <!-- Permissions for group -->
1111 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.k" selector="000"/>
1112 <!-- Permissions for gshadow -->
1113 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.l" selector="644"/>
1114 <!-- Permissions for passwd -->
1115 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.4.1.a" selector="022"/>
1116 <!-- daemon umask -->
1117 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.a" selector="5"/>
1118 <!-- password minimum length -->
1119 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.b" selector="1_day"/>
1120 <!-- minimum password age (days) -->
1121 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.c" selector="60_days"/>
1122 <!-- maximum password age -->
1123 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.d" selector="7_days"/>
1124 <!-- password warn age -->
1125 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.retry" selector="3"/>
1126 <!-- Number of retry attempts before erroring out -->
1127 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.minlen" selector="14"/>
1128 <!-- Minimum number of characters in password -->
1129 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit" selector="2"/>
1130 <!-- Mininum number of digits in password -->
1131 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit" selector="2"/>
1132 <!-- Mininum number of upper case in password -->
1133 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit" selector="2"/>
1134 <!-- Mininum number of other (special characters) in password< -->
1135 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit" selector="2"/>
1136 <!-- Mininum number of lower case in password -->
1137 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.difok" selector="3"/>
1138 <!-- Mininum number of characters not present in old password -->
1139 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.deny" selector="3"/>
1140 <!-- Deny access if tally for this user exceeds n. -->
1141 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.lock_time" selector="3"/>
1142 <!-- Always deny for n seconds after failed attempt -->
1143 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.unlock_time" selector="none"/>
1144 <!-- Allow access after n seconds after failed attempt -->
1145 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.a" selector="usergroup"/>
1146 <!-- Name of group containing human users -->
1147 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.b" selector="4710"/>
1148 <!-- userhelper file permissions -->
1149 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.5.a" selector="SHA-512"/>
1150 <!-- Password hashing algorithm -->
1151 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.6.a" selector="5"/>
1152 <!-- Passwords to remember -->
1153 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.4.4" selector="002"/>
1154 <!-- Sensible umask -->
1155 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.a" selector="root"/>
1156 <!-- User that owns /etc/grub.conf -->
1157 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.b" selector="root"/>
1158 <!-- Group that owns /etc/grub.conf -->
1159 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.c" selector="600"/>
1160 <!-- permissions on /etc/hrub.conf -->
1161 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.5" selector="15_minutes"/>
1162 <!-- Inactivity timout -->
1163 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.7" selector="Empty_text"/>
1164 <!-- login banner verbiage -->
1165 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.c" selector="enforcing"/>
1166 <!-- SELinux state -->
1167 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.d" selector="targeted"/>
1168 <!-- SELinux policy -->
1169 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.a" selector="disabled"/>
1170 <!-- net.ipv4.conf.all.accept_source_route -->
1171 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.b" selector="disabled"/>
1172 <!-- net.ipv4.conf.all.accept_redirectse -->
1173 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.c" selector="disabled"/>
1174 <!-- net.ipv4.conf.all.secure_redirects -->
1175 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.d" selector="enabled"/>
1176 <!-- net.ipv4.conf.all.log_martians -->
1177 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.e" selector="disabled"/>
1178 <!-- net.ipv4.conf.default.accept_source_route -->
1179 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.f" selector="disabled"/>
1180 <!-- net.ipv4.conf.default.accept_redirects -->
1181 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.g" selector="disabled"/>
1182 <!-- net.ipv4.conf.default.secure_redirects -->
1183 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.h" selector="enabled"/>
1184 <!-- net.ipv4.icmp_echo_ignore_broadcast -->
1185 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.i" selector="enabled"/>
1186 <!-- net.ipv4.icmp_ignore_bogus_error_messages -->
1187 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.j" selector="enabled"/>
1188 <!-- net.ipv4.tcp_syncookie -->
1189 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.k" selector="enabled"/>
1190 <!-- net.ipv4.conf.all.rp_filtere -->
1191 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.b" selector="disabled"/>
1192 <!-- accept default router advertisements -->
1193 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.c" selector="disabled"/>
1194 <!-- accept default router advertisements -->
1195 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.l" selector="enabled"/>
1196 <!-- net.ipv4.conf.default.rp_filter -->
1197 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.a" selector="root"/>
1198 <!-- user that owns system log files -->
1199 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.b" selector="root"/>
1200 <!-- group that owns system log files -->
1201 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.c" selector="600"/>
1202 <!-- permissions of system log files -->
1203 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" selector="root"/>
1204 <!-- group owner of /etc/crontab -->
1205 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" selector="root"/>
1206 <!-- user owner of /etc/crontab -->
1207 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" selector="644"/>
1208 <!-- permissions on /etc/crontab file -->
1209 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" selector="root"/>
1210 <!-- group owner of /etc/anacrontab -->
1211 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" selector="root"/>
1212 <!-- user owner of /etc/anacrontab -->
1213 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" selector="644"/>
1214 <!-- permissions on /etc/anacrontab file -->
1215 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" selector="root"/>
1216 <!-- group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1217 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" selector="root"/>
1218 <!-- user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1219 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" selector="755"/>
1220 <!-- permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1221 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.a" selector="5_minutes"/>
1222 <!-- SSH session Idle time -->
1223 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.b" selector="0"/>
1224 <!-- SSH session ClientAliveCountMax -->
1225 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.group" selector="root"/>
1226 <!-- Group owner of /var/spool/cron -->
1227 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.user" selector="root"/>
1228 <!-- User owner of /var/spool/cron -->
1229 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" selector="700"/>
1230 <!-- Permissions on /var/spool/cron -->
1231 </xccdf:Profile>
1232 <!-- ==================================================================================================== -->
1233 <!-- ======================================== SECURITY GUIDANCE ======================================= -->
1234 <!-- ==================================================================================================== -->
1235 <!-- -->
1236 <!-- The following groups represent the collection of guidance for this document. For -->
1237 <!-- specific recommendations regarding which rules to enable and which values to use, please refer to -->
1238 <!-- the XCCDF profiles above. -->
1239 <!-- -->
1240 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1">
1241 <xccdf:title xml:lang="en">Introduction</xccdf:title>
1242 <xccdf:description xml:lang="en">
1243 The purpose of this guide is to provide security configuration
1244 recommendations for Fedora Linux. Recommended settings for the basic
1245 operating system are provided, as well as for many commonly-used services
1246 that the system can host in a network environment.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1247 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1248 The guide is intended for system administrators. Readers are
1249 assumed to possess basic system administration skills for Unix-like systems, as well as some
1250 familiarity with Red Hat's documentation and administration conventions. Some instructions
1251 within this guide are complex. All directions should be followed completely and with
1252 understanding of their effects in order to avoid serious adverse effects on the system and its
1253 security.
1254 </xccdf:description>
1255 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1">
1256 <xccdf:title xml:lang="en">General Principles</xccdf:title>
1257 <xccdf:description xml:lang="en">
1258 The following general principles motivate much of the advice in
1259 this guide and should also influence any configuration decisions that are not explicitly
1260 covered.</xccdf:description>
1261 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.1" weight="1.0">
1262 <xccdf:title xml:lang="en">Encrypt Transmitted Data Whenever Possible</xccdf:title>
1263 <xccdf:description xml:lang="en">
1264 Data transmitted over a network, whether wired or wireless, is
1265 susceptible to passive monitoring. Whenever practical solutions for encrypting such data
1266 exist, they should be applied. Even if data is expected to be transmitted only over a
1267 local network, it should still be encrypted. Encrypting authentication data, such as
1268 passwords, is particularly important. Networks of machines can and should be
1269 configured so that no unencrypted authentication data is ever transmitted between
1270 machines.</xccdf:description>
1271 </xccdf:Group>
1272 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.2">
1273 <xccdf:title xml:lang="en">Minimize Software to Minimize Vulnerability</xccdf:title>
1274 <xccdf:description xml:lang="en">
1275 The simplest way to avoid vulnerabilities in software is to avoid
1276 installing that software. The RPM Package Manager allows for careful management of the
1277 set of software packages installed on a system. Installed software contributes to system
1278 vulnerability in several ways. Packages that include setuid programs may provide local
1279 attackers a potential path to privilege escalation. Packages that include network services
1280 may give this opportunity to network-based attackers. Packages that include programs
1281 which are predictably executed by local users (e.g. after graphical login) may provide
1282 opportunities for trojan horses or other attack code to be run undetected. The number of
1283 software packages installed on a system can almost always be significantly pruned to include only
1284 the software for which there is an environmental or operational need.</xccdf:description>
1285 </xccdf:Group>
1286 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.3">
1287 <xccdf:title xml:lang="en">Run Different Network Services on Separate Systems</xccdf:title>
1288 <xccdf:description xml:lang="en">
1289 Whenever possible, a server should be dedicated to serving
1290 exactly one network service. This limits the number of other services that can be
1291 compromised in the event that an attacker is able to successfully exploit a software flaw
1292 in one network service.</xccdf:description>
1293 </xccdf:Group>
1294 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.4">
1295 <xccdf:title xml:lang="en">Configure Security Tools to Improve System Robustness</xccdf:title>
1296 <xccdf:description xml:lang="en">
1297 Several tools exist which can be effectively used to improve a
1298 system's resistance to and detection of unknown attacks. These tools can improve
1299 robustness against attack at the cost of relatively little configuration effort. In
1300 particular, this guide recommends and discusses the use of Iptables for host-based
1301 firewalling, SELinux for protection against vulnerable services, and a logging and
1302 auditing infrastructure for detection of problems.</xccdf:description>
1303 </xccdf:Group>
1304 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.5">
1305 <xccdf:title xml:lang="en">Least Privilege</xccdf:title>
1306 <xccdf:description xml:lang="en">
1307 Grant the least privilege necessary for user accounts and
1308 software to perform tasks. For example, do not allow users except those that need
1309 administrator access to use sudo. Another example is to limit logins on server
1310 systems to only those administrators who need to log into them in order to perform
1311 administration tasks. Using SELinux also follows the principle of least privilege:
1312 SELinux policy can confine software to perform only actions on the system that are
1313 specifically allowed. This can be far more restrictive than the actions permissible
1314 by the traditional Unix permissions model.</xccdf:description>
1315 </xccdf:Group>
1316 </xccdf:Group>
1317 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2">
1318 <xccdf:title xml:lang="en">How to Use This Guide</xccdf:title>
1319 <xccdf:description xml:lang="en">Readers should heed the following points when using the guide.</xccdf:description>
1320 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.1">
1321 <xccdf:title xml:lang="en">Read Sections Completely and in Order</xccdf:title>
1322 <xccdf:description xml:lang="en">
1323 Each section may build on information and recommendations
1324 discussed in prior sections. Each section should be read and understood completely;
1325 instructions should never be blindly applied. Relevant discussion will occur after
1326 instructions for an action. The system-level configuration guidance in Chapter 2 must be
1327 applied to all machines. The guidance for individual services in Chapter 3 must be
1328 considered for all machines as well: apply the guidance if the machine is either a server
1329 or a client for that service, and ensure that the service is disabled according to the
1330 instructions provided if the machine is neither a server nor a client.</xccdf:description>
1331 </xccdf:Group>
1332 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.2">
1333 <xccdf:title xml:lang="en">Test in Non-Production Environment</xccdf:title>
1334 <xccdf:description xml:lang="en">
1335 This guidance should always be tested in a non-production
1336 environment before deployment. This test environment should simulate the setup in which
1337 the system will be deployed as closely as possible.</xccdf:description>
1338 </xccdf:Group>
1339 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.3">
1340 <xccdf:title xml:lang="en">Root Shell Environment Assumed</xccdf:title>
1341 <xccdf:description xml:lang="en">
1342 Most of the actions listed in this document are written with the
1343 assumption that they will be executed by the root user running the /bin/bash shell. Any
1344 commands preceded with a hash mark (#) assume that the administrator will execute the
1345 commands as root, i.e. apply the command via sudo whenever possible, or use su to gain
1346 root privileges if sudo cannot be used.</xccdf:description>
1347 </xccdf:Group>
1348 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.4">
1349 <xccdf:title xml:lang="en">Formatting Conventions</xccdf:title>
1350 <xccdf:description xml:lang="en">
1351 Commands intended for shell execution, as well as configuration
1352 file text, are featured in a monospace font. Italics are used to indicate instances where
1353 the system administrator must substitute the appropriate information into a command or
1354 configuration file.</xccdf:description>
1355 </xccdf:Group>
1356 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.5">
1357 <xccdf:title xml:lang="en">Reboot Required</xccdf:title>
1358 <xccdf:description xml:lang="en">
1359 A system reboot is implicitly required after some actions in
1360 order to complete the reconfiguration of the system. In many cases, the changes will not
1361 take effect until a reboot is performed. In order to ensure that changes are applied
1362 properly and to test functionality, always reboot the system after applying a set of
1363 recommendations from this guide.</xccdf:description>
1364 </xccdf:Group>
1365 </xccdf:Group>
1366 </xccdf:Group>
1367 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2">
1368 <xccdf:title xml:lang="en">System-wide Configuration</xccdf:title>
1369 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1">
1370 <xccdf:title xml:lang="en">Installing and Maintaining Software</xccdf:title>
1371 <xccdf:description xml:lang="en">
1372 The following sections contain information on security-relevant
1373 choices during the initial operating system installation process and the setup of software
1374 updates.</xccdf:description>
1375 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1">
1376 <xccdf:title xml:lang="en">Initial Installation Recommendations</xccdf:title>
1377 <xccdf:description xml:lang="en">
1378 The recommendations here apply to a clean installation of the
1379 system, where any previous installations are wiped out. The sections presented here are in
1380 the same order that the installer presents, but only installation choices with security
1381 implications are covered. Many of the configuration choices presented here can also be
1382 applied after the system is installed. The choices can also be automatically applied via
1383 Kickstart files.</xccdf:description>
1384 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1">
1385 <xccdf:title xml:lang="en">Disk Partitioning</xccdf:title>
1386 <xccdf:description xml:lang="en">
1387 Some system directories should be placed on their own partitions
1388 (or logical volumes). This allows for better separation and protection of data.
1389 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1390 The installer’s default partitioning scheme creates separate partitions (or logical volumes)
1391 for /, /boot, and swap.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1392 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>If starting with any of the default layouts, check the box to “Review and modify
1393 partitioning.” This allows for the easy creation of additional logical volumes inside
1394 the volume group already created, though it may require making /’s logical volume smaller
1395 to create space. In general, using logical volumes is preferable to using partitions
1396 because they can be more easily adjusted later.</xhtml:li><xhtml:li>If creating a custom layout, create the partitions mentioned in the previous paragraph
1397 (which the installer will require anyway), as well as separate ones described in the
1398 following sections.</xhtml:li></xhtml:ul>
1399 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1400 If a system has already been installed, and the default partitioning scheme was
1401 used, it is possible but nontrivial to modify it to create separate logical volumes for the
1402 directories listed above. The Logical Volume Manager (LVM) makes this possible. See the LVM
1403 HOWTO at http://tldp.org/HOWTO/LVM-HOWTO/ for more detailed information on LVM.
1404 </xccdf:description>
1405 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.1">
1406 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /tmp</xccdf:title>
1407 <xccdf:description xml:lang="en">
1408 The /tmp directory is a world-writable directory used for
1409 temporary file storage. Ensure that it has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1410 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1411 Because software may need to use /tmp to temporarily store large files, ensure
1412 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
1413 the availability of space on the drive and the system’s operating requirements
1414 </xccdf:description>
1415 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.1.b" operator="equals" type="string">
1416 <xccdf:title>Minimum size for /tmp</xccdf:title>
1417 <xccdf:question xml:lang="en">Choose minimum size of /tmp</xccdf:question>
1418 <xccdf:value>2G</xccdf:value>
1419 <xccdf:value selector="125M">125M</xccdf:value>
1420 <xccdf:value selector="500M">500M</xccdf:value>
1421 <xccdf:value selector="2G">2G</xccdf:value>
1422 <xccdf:value selector="10G">10G</xccdf:value>
1423 <xccdf:value selector="40G">40G</xccdf:value>
1424 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1425 </xccdf:Value>
1426 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false" weight="10.0">
1427 <xccdf:title xml:lang="en">Ensure that /tmp has its own partition or logical volume</xccdf:title>
1428 <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>
1429 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1430 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20000"/>
1431 </xccdf:check>
1432 </xccdf:Rule>
1433 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false" weight="2.0">
1434 <xccdf:title xml:lang="en">Ensure that /tmp is of adequate size</xccdf:title>
1435 <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>
1436 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1437 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20001"/>
1438 </xccdf:check>
1439 </xccdf:Rule>
1440 </xccdf:Group>
1441 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.2">
1442 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var</xccdf:title>
1443 <xccdf:description xml:lang="en">
1444 The /var directory is used by daemons and other system
1445 services to store frequently-changing data. It is not uncommon for the /var directory
1446 to contain world-writable directories, installed by other software packages.
1447 Ensure that /var has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1448 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1449 Because the yum package manager and other software uses /var to temporarily store
1450 large files, ensure that it is of adequate size. For a modern, general-purpose system,
1451 10GB should be adequate.
1452 </xccdf:description>
1453 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.2.b" operator="equals" type="string">
1454 <xccdf:title>Minimum size of /var</xccdf:title>
1455 <xccdf:description>Choose minimum size of /var</xccdf:description>
1456 <xccdf:question xml:lang="en">Choose minimum size of /var</xccdf:question>
1457 <xccdf:value>5G</xccdf:value>
1458 <xccdf:value selector="500k">500K</xccdf:value>
1459 <xccdf:value selector="1G">1G</xccdf:value>
1460 <xccdf:value selector="5G">5G</xccdf:value>
1461 <xccdf:value selector="10G">10G</xccdf:value>
1462 <xccdf:value selector="15G">15G</xccdf:value>
1463 <xccdf:value selector="20G">20G</xccdf:value>
1464 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1465 </xccdf:Value>
1466 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false" severity="low" weight="10.0">
1467 <xccdf:title xml:lang="en">Ensure that /var has its own partition or logical volume</xccdf:title>
1468 <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>
1469 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1470 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20002"/>
1471 </xccdf:check>
1472 </xccdf:Rule>
1473 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false" weight="10.0">
1474 <xccdf:title xml:lang="en">Ensure that /var is of adequate size</xccdf:title>
1475 <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>
1476 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1477 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20003" value-id="xccdf_cdf_value_var-2.1.1.1.2.b"/>
1478 <!-- TBD -->
1479 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20003"/>
1480 </xccdf:check>
1481 </xccdf:Rule>
1482 </xccdf:Group>
1483 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.3">
1484 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log</xccdf:title>
1485 <xccdf:description xml:lang="en">
1486 System logs are stored in the /var/log directory.
1487 Ensure that it has its own partition or logical volume.
1488 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1489 See 2.6 for more information about logging and auditing.</xccdf:description>
1490 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false" weight="10.0">
1491 <xccdf:title xml:lang="en">Ensure that /var/log has its own partition or logical volume</xccdf:title>
1492 <xccdf:description xml:lang="en">
1493 System logs are stored in the /var/log directory.
1494 Ensure that it has its own partition or logical volume.</xccdf:description>
1495 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1496 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20004"/>
1497 </xccdf:check>
1498 </xccdf:Rule>
1499 </xccdf:Group>
1500 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.4">
1501 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log/audit</xccdf:title>
1502 <xccdf:description xml:lang="en">
1503 Audit logs are stored in the /var/log/audit directory.
1504 Ensure that it has its own partition or logical volume. Make absolutely certain
1505 that it is large enough to store all audit logs that will be created by the auditing
1506 daemon.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1507 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1508 See 2.6.2.2 for discussion on deciding on an appropriate size for the volume.</xccdf:description>
1509 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false" weight="10.0">
1510 <xccdf:title xml:lang="en">Ensure that /var/log/audit has its own partition or logical volume</xccdf:title>
1511 <xccdf:description xml:lang="en">
1512 Audit logs are stored in the /var/log/audit directory.
1513 Ensure that it has its own partition or logical volume.
1514 Make absolutely certain that it is large enough to store
1515 all audit logs that will be created by the auditing daemon.</xccdf:description>
1516 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1517 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20005"/>
1518 </xccdf:check>
1519 </xccdf:Rule>
1520 </xccdf:Group>
1521 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.5">
1522 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /home if Using Local Home Directories</xccdf:title>
1523 <xccdf:description xml:lang="en">
1524 If user home directories will be stored locally, create a separate
1525 partition for /home. If /home will be mounted from another system such as an NFS server, then
1526 creating a separate partition is not necessary at this time, and the mountpoint can
1527 instead be configured later.</xccdf:description>
1528 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false" severity="low" weight="10.0">
1529 <xccdf:title xml:lang="en">Ensure that /home has its own partition or logical volume</xccdf:title>
1530 <xccdf:description xml:lang="en">
1531 If user home directories will be stored locally, create a separate partition for /home.
1532 If /home will be mounted from another system such as an NFS server, then creating a
1533 separate partition is not necessary at this time, and the mountpoint can instead be
1534 configured later.</xccdf:description>
1535 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1536 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20006"/>
1537 </xccdf:check>
1538 </xccdf:Rule>
1539 </xccdf:Group>
1540 </xccdf:Group>
1541 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.2">
1542 <xccdf:title xml:lang="en">Boot Loader Configuration</xccdf:title>
1543 <xccdf:description xml:lang="en">
1544 Check the box to "Use a boot loader password" and create a
1545 password. Once this password is set, anyone who wishes to change the boot loader
1546 configuration will need to enter it. More information is available in Section
1547 2.3.5.2.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1549 Assigning a boot loader password prevents a local user
1550 with physical access from altering the boot loader configuration at system startup.
1551 </xccdf:description>
1552 </xccdf:Group>
1553 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.3">
1554 <xccdf:title xml:lang="en">Network Devices</xccdf:title>
1555 <xccdf:description xml:lang="en">
1556 The default network device configuration uses DHCP, which is
1557 not recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1558 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1559 Unless use of DHCP is absolutely necessary, click
1560 the "Edit" button and:
1561 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>
1562 Uncheck "Use Dynamic IP configuration
1563 (DHCP)".Uncheck "Enable IPv4 Support" if the system does not require IPv4. (This is
1564 uncommon.)
1565 </xhtml:li><xhtml:li>
1566 Uncheck "Enable IPv6 Support" if the system does not require
1567 IPv6.
1568 </xhtml:li><xhtml:li>
1569 Enter appropriate IPv4 and IPv6 addresses and prefixes as
1570 required.
1571 </xhtml:li></xhtml:ul>
1572 With the DHCP setting disabled, the hostname, gateway, and DNS
1573 servers should then be assigned on the main screen.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1575 Sections 3.9.1
1576 and 3.9.2 contain more information on network configuration and the use of DHCP.
1577 </xccdf:description>
1578 </xccdf:Group>
1579 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.4">
1580 <xccdf:title xml:lang="en">Root Password</xccdf:title>
1581 <xccdf:description xml:lang="en">
1582 The security of the entire system depends on the strength of
1583 the root password. The password should be at least 12 characters long, and should
1584 include a mix of capitalized and lowercase letters, special characters, and numbers. It
1585 should also not be based on any dictionary word.</xccdf:description>
1586 </xccdf:Group>
1587 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.5">
1588 <xccdf:title xml:lang="en">Software Packages</xccdf:title>
1589 <xccdf:description xml:lang="en">
1590 Uncheck all package groups, including the package groups
1591 "Software Development" and "Web Server", unless there is a specific requirement to
1592 install software using the system installer. If the machine will be used as a web
1593 server, it is preferable to manually install the necessary RPMs instead of installing
1594 the full "Web Server" package group. See Section 3.16 for installation and configuration
1595 details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1597 Use the "Customize now" radio box to prune package groups
1598 as much as possible. This brings up a two-column view of categories and package groups.
1599 If appropriate, uncheck "X Window System" in the "Base System" category to avoid
1600 installing X entirely. Any other package groups not necessary for system operation
1601 should also be unchecked.
1602 </xccdf:description>
1603 </xccdf:Group>
1604 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.6">
1605 <xccdf:title xml:lang="en">First-boot Configuration</xccdf:title>
1606 <xccdf:description xml:lang="en">
1607 The system presents more configuration options during the first
1608 boot after installation. For the screens listed, implement the security-related
1609 recommendations:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1611 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>
1612 Firewall - Leave set to
1613 'Enabled.' Only check the 'Trusted Services' that this system needs to serve. Uncheck
1614 the default selection of SSH if the system does not need to serve
1615 SSH.
1616 </xhtml:li><xhtml:li>
1617 SELinux - Leave SELinux set to 'Enforcing' mode.
1618 </xhtml:li><xhtml:li>
1619 Kdump -
1620 Leave Kdump off unless the feature is required, such as for kernel development and
1621 testing.
1622 </xhtml:li><xhtml:li>
1623 Set Up Software Updates - If the system is connected to the
1624 Internet now, click 'Yes, I'd like to register now.' This will require a connection to
1625 either the Red Hat Network servers or their proxies or satellites. This can also be
1626 configured later as described in Section 2.1.2.1.
1627 </xhtml:li><xhtml:li>
1628 Create User - If the
1629 system will require a local user account, it can be created here. Even if the system
1630 will be using a network-wide authentication system as described in Section 2.3.6, do
1631 not click on the 'Use Network Login...' button. Manually applying configuration later
1632 is preferable.
1633 </xhtml:li></xhtml:ul>
1634 </xccdf:description>
1635 </xccdf:Group>
1636 </xccdf:Group>
1637 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2">
1638 <xccdf:title xml:lang="en">Security Updates</xccdf:title>
1639 <xccdf:description xml:lang="en">
1640 As security vulnerabilities are discovered, the affected software must be updated in order
1641 to limit any potential security risks. If the software is part of a package within a Fedora
1642 distribution that is currently supported, Fedora is committed to releasing updated packages
1643 that fix the vulnerability as soon as is possible. Often, announcements about a given
1644 security exploit are accompanied with a patch (or source code that fixes the problem).
1645 This patch is then applied to the Fedora package and tested and released as an errata update.
1646 However, if an announcement does not include a patch, a developer first works with the maintainer
1647 of the software to fix the problem. Once the problem is fixed, the package is tested
1648 and released as an errata update.
1649 </xccdf:description>
1650 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1">
1651 <xccdf:title xml:lang="en">Updating Software</xccdf:title>
1652 <xccdf:description xml:lang="en">
1653 The yum command line tool is used to install and update software
1654 packages. The system also provides package management service called PackageKit
1655 that allows the session users to manage packages in a secure way. There are several
1656 graphical utilities designed for installing, updating and removing packages on your
1657 system that use PackageKit API. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1659 It is recommended to use these mechanisms to keep systems up to date with the latest
1660 security patches.
1661 </xccdf:description>
1662 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1.1">
1663 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1664 <xccdf:description xml:lang="en">
1665 To ensure that the system can cryptographically verify update packages run the following command to verify
1666 that the system has the Fedora GPG properly installed:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1667 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1668 <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"/>
1669 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1670 The command should return the string:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1672 gpg(Fedora (14) &lt;[email protected]&gt;)</xccdf:description>
1673 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="false" weight="10">
1674 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1675 <xccdf:description>The GPG key should be installed.</xccdf:description>
1676 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1677 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200065"/>
1678 </xccdf:check>
1679 </xccdf:Rule>
1680 </xccdf:Group>
1681 </xccdf:Group>
1682 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3">
1683 <xccdf:title xml:lang="en">Obtain Software Package Updates with yum</xccdf:title>
1684 <xccdf:description xml:lang="en">
1685 The yum update utility can be run by hand from the command
1686 line, called through one of the provided front-end tools, or configured to run
1687 automatically at specified intervals.</xccdf:description>
1688 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.2">
1689 <xccdf:title xml:lang="en">Configure Automatic Update Retrieval and Installation with Cron</xccdf:title>
1690 <xccdf:description xml:lang="en">
1691 The yum-updatesd service is not mature enough for an
1692 enterprise environment, and the service may introduce unnecessary overhead. When
1693 possible, replace this service with a cron job that calls yum
1694 directly.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1695 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1696 Create the file yum.cron, make it executable, and place it in
1697 /etc/cron.daily:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1698 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1699 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#!/bin/sh<xhtml:br/>
1700 <xhtml:br/>
1701 /usr/bin/yum -R 120 -e 0 -d 0 -y update yum
1702 <xhtml:br/>
1703 /usr/bin/yum -R 10 -e 0 -d 0 -y update<xhtml:br/></xhtml:code>
1704 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1705 This particular script instructs yum to update any
1706 packages it finds. Placing the script in /etc/cron.daily ensures its daily execution.
1707 To only apply updates once a week, place the script in /etc/cron.weekly instead.
1708 </xccdf:description>
1709 <xccdf:Value id="xccdf_cdf_value_var-2.1.2.3.2.b" operator="equals" type="string">
1710 <xccdf:title>Schedule yum update using cron</xccdf:title>
1711 <xccdf:description>Enter frequency of with which to invoke yum update</xccdf:description>
1712 <xccdf:question xml:lang="en">Select frequency of yum update</xccdf:question>
1713 <xccdf:value>daily</xccdf:value>
1714 <xccdf:value selector="hourly">hourly</xccdf:value>
1715 <xccdf:value selector="daily">daily</xccdf:value>
1716 <xccdf:value selector="weekly">weekly</xccdf:value>
1717 <xccdf:value selector="monthly">monthly</xccdf:value>
1718 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1719 <xccdf:choices mustMatch="1">
1720 <xccdf:choice>hourly</xccdf:choice>
1721 <xccdf:choice>daily</xccdf:choice>
1722 <xccdf:choice>weekly</xccdf:choice>
1723 <xccdf:choice>monthly</xccdf:choice>
1724 </xccdf:choices>
1725 </xccdf:Value>
1726 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false" severity="low" weight="10.0">
1727 <xccdf:title>yum-updatesd service should be disabled</xccdf:title>
1728 <xccdf:description>The yum-updatesd service should be disabled</xccdf:description>
1729 <xccdf:ident system="http://cce.mitre.org">CCE-4218-4</xccdf:ident>
1730 <xccdf:fix># chkconfig yum-updatesd off</xccdf:fix>
1731 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1732 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20008"/>
1733 </xccdf:check>
1734 </xccdf:Rule>
1735 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false" severity="medium" weight="10.0">
1736 <xccdf:title>Automatic Update Retrieval should be scheduled with Cron</xccdf:title>
1737 <xccdf:description>Place the yum.cron script somewhere in /etc/cron.*/</xccdf:description>
1738 <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>
1739 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1740 <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"/>
1741 <!-- TBD -->
1742 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20009"/>
1743 </xccdf:check>
1744 </xccdf:Rule>
1745 </xccdf:Group>
1746 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.3">
1747 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Globally Activated</xccdf:title>
1748 <xccdf:description xml:lang="en">
1749 The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
1750 to its installation.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1751 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1752 To force yum to check package signatures before installing them, ensure that the following line appears in
1753 /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1754 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1755 gpgcheck=1
1756 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1757 </xccdf:description>
1758 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="false" weight="10.0">
1759 <xccdf:title>Ensure gpgcheck is Globally Activated</xccdf:title>
1760 <xccdf:description>
1761 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"/>
1762 <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"/>
1763 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1764 gpgcheck=1</xccdf:description>
1765 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1766 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20010"/>
1767 </xccdf:check>
1768 </xccdf:Rule>
1769 </xccdf:Group>
1770 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.4">
1771 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1772 <xccdf:description xml:lang="en">
1773 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1774 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1775 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1776 gpgcheck=0
1777 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1778 </xccdf:description>
1779 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="false" weight="10.0">
1780 <xccdf:title>Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1781 <xccdf:description>
1782 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"/>
1783 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1784 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1785 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20011"/>
1786 </xccdf:check>
1787 </xccdf:Rule>
1788 </xccdf:Group>
1789 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.5">
1790 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1791 <xccdf:description xml:lang="en">
1792 The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
1793 to using it.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1794 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1795 To force yum to check the signature on repodata sent by a repository prior to using it, ensure that the
1796 following line appears in /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1798 repo_gpgcheck=1
1799 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1800 </xccdf:description>
1801 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false" weight="10.0">
1802 <xccdf:title>Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1803 <xccdf:description>
1804 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"/>
1805 <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"/>
1806 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>repo_gpgcheck=1</xccdf:description>
1807 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1808 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20012"/>
1809 </xccdf:check>
1810 </xccdf:Rule>
1811 </xccdf:Group>
1812 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.6">
1813 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1814 <xccdf:description xml:lang="en">
1815 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1816 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1817 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1818 gpgcheck=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1819 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1820 Note: Red Hat’s repositories support signatures on repodata, but some public repositories do not. If a repository
1821 does not support signature checking on repodata, then this risk must be weighed against the value of using the
1822 repository.
1823 </xccdf:description>
1824 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="false" weight="10.0">
1825 <xccdf:title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1826 <xccdf:description>
1827 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"/>
1828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1829 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1830 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20013"/>
1831 </xccdf:check>
1832 </xccdf:Rule>
1833 </xccdf:Group>
1834 </xccdf:Group>
1835 </xccdf:Group>
1836 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3">
1837 <xccdf:title xml:lang="en">Software Integrity Checking</xccdf:title>
1838 <xccdf:description xml:lang="en">
1839 The AIDE (Advanced Intrusion Detection Environment) software is
1840 included with the system to provide software integrity checking. It is designed to be a
1841 replacement for the well-known Tripwire integrity checker. Integrity checking cannot
1842 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">prevent</xhtml:em>
1843 intrusions into your system, but can detect that they have occurred.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1844 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1845 Any integrity checking software should be configured before
1846 the system is deployed and able to provides services to users. Ideally, the integrity
1847 checking database would be built before the system is connected to any network, though
1848 this may prove impractical due to registration and software updates.
1849 </xccdf:description>
1850 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1">
1851 <xccdf:title xml:lang="en">Configure AIDE</xccdf:title>
1852 <xccdf:description xml:lang="en">
1853 Requirements for software integrity checking should be defined
1854 by policy, and this is highly dependent on the environment in which the system will be
1855 used. As such, a general strategy for implementing integrity checking is provided, but
1856 precise recommendations (such as to check a particular file) cannot be. Documentation
1857 for AIDE, including the quick-start on which this advice is based, is available in
1858 /usr/share/doc/aide-0.12.</xccdf:description>
1859 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.1">
1860 <xccdf:title xml:lang="en">Install AIDE</xccdf:title>
1861 <xccdf:description xml:lang="en">AIDE is not installed by default.</xccdf:description>
1862 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false" severity="medium" weight="10.0">
1863 <xccdf:title>Install AIDE</xccdf:title>
1864 <xccdf:description>The AIDE package should be installed</xccdf:description>
1865 <xccdf:ident system="http://cce.mitre.org">CCE-4209-3</xccdf:ident>
1866 <xccdf:fix>yum install aide</xccdf:fix>
1867 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1868 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20014"/>
1869 </xccdf:check>
1870 </xccdf:Rule>
1871 </xccdf:Group>
1872 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.2">
1873 <xccdf:title xml:lang="en">Customize Configuration File</xccdf:title>
1874 <xccdf:description xml:lang="en">
1875 Customize /etc/aide.conf to meet your requirements. The
1876 default configuration is acceptable for many environments.
1877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1878 The man page aide.conf(5)
1879 provides detailed information about the configuration file format.
1880 </xccdf:description>
1881 </xccdf:Group>
1882 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.3">
1883 <xccdf:title xml:lang="en">Build, Store, and Test Database</xccdf:title>
1884 <xccdf:description xml:lang="en">
1885 Generate a new database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1886 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1887 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --init<xhtml:br/></xhtml:code>
1888 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1889 By default, the database will be written to
1890 the file /var/lib/aide/aide.db.new.gz. The database, as well as the configuration file
1891 /etc/aide.conf and the binary /usr/sbin/aide (or hashes of these files) should be
1892 copied and stored in a secure location. Storing these copies or hashes on read-only
1893 media may provide further confidence that they will not be
1894 altered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1896 Install the newly-generated database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1898 <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>
1899 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1900 Run a manual check:
1901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1902 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1903 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --check<xhtml:br/></xhtml:code>
1904 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1905 If this check produces any unexpected output, investigate.
1906 </xccdf:description>
1907 </xccdf:Group>
1908 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.4">
1909 <xccdf:title xml:lang="en">Implement Periodic Execution of Integrity Checking</xccdf:title>
1910 <xccdf:description xml:lang="en">
1911 By default, AIDE does not install itself for periodic execution.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1912 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1913 Implement checking with whatever frequency is required
1914 by your security policy. A once-daily check may be suitable for many environments. For
1915 example, to implement a daily execution of AIDE at 4:05am, add the following line to
1916 /etc/crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1917 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1918 05 4 * * * root /usr/sbin/aide --check<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1920 AIDE output may be an indication of an attack against
1921 your system, or it may be the result of something innocuous such as an administrator's
1922 configuration change or a software update. The steps in Section 2.1.3.1.3 should be
1923 repeated when configuration changes or software updates necessitate. This will
1924 certainly be necessary after applying guidance later in this guide.
1925 </xccdf:description>
1926 <xccdf:Value id="xccdf_cdf_value_var-2.1.3.1.4.a" operator="equals" type="string">
1927 <xccdf:title>Schedule AIDE check using cron</xccdf:title>
1928 <xccdf:description>Frequency with which to run AIDE check</xccdf:description>
1929 <xccdf:question xml:lang="en">Select frequency with which to run AIDE check</xccdf:question>
1930 <xccdf:value>daily</xccdf:value>
1931 <xccdf:value selector="hourly">hourly</xccdf:value>
1932 <xccdf:value selector="daily">daily</xccdf:value>
1933 <xccdf:value selector="weekly">weekly</xccdf:value>
1934 <xccdf:value selector="monthly">monthly</xccdf:value>
1935 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1936 <xccdf:choices mustMatch="1">
1937 <xccdf:choice>hourly</xccdf:choice>
1938 <xccdf:choice>daily</xccdf:choice>
1939 <xccdf:choice>weekly</xccdf:choice>
1940 <xccdf:choice>monthly</xccdf:choice>
1941 </xccdf:choices>
1942 </xccdf:Value>
1943 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.4.a" role="full" selected="false" severity="medium" weight="10.0">
1944 <xccdf:title>Run AIDE periodically</xccdf:title>
1945 <xccdf:description>Setup cron to run AIDE periodically using cron.</xccdf:description>
1946 <!-- note that anything periodic will pass including monthly -->
1947 <xccdf:fix>echo -e "/usr/sbin/aide --check" &gt; /etc/cron.daily/aide.cron</xccdf:fix>
1948 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1949 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20015" value-id="xccdf_cdf_value_var-2.1.3.1.4.a"/>
1950 <!-- TBD -->
1951 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20015"/>
1952 </xccdf:check>
1953 </xccdf:Rule>
1954 </xccdf:Group>
1955 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.5">
1956 <xccdf:title xml:lang="en">Manually Verify Integrity of AIDE</xccdf:title>
1957 <xccdf:description xml:lang="en">
1958 Because integrity checking is a means of intrusion detection
1959 and not intrusion prevention, it cannot be guaranteed that the AIDE binaries,
1960 configuration files, or database have not been tampered with. An attacker could
1961 disable or alter these files after a successful intrusion. Because of this, manual and
1962 frequent checks on these files is recommended. The safely stored copies (or hashes) of
1963 the database, binary, and configuration file were created earlier for this
1964 purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1965 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1966 Manually verify the integrity of the AIDE binaries,
1967 configuration file, and database. Possibilities for doing so include:
1968 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Use sha1sum or md5sum to generate checksums on the
1969 files and then visually compare them to those generated from the safely stored
1970 versions. This does not, of course, preclude the possibility that such output could
1971 also be faked.</xhtml:li><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><xhtml:li>Copying the files to another system and performing the hash or file
1974 comparisons there may impart additional confidence that the manual verification
1975 process is not being interfered with.</xhtml:li></xhtml:ol>
1976 </xccdf:description>
1977 </xccdf:Group>
1978 </xccdf:Group>
1979 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.2">
1980 <xccdf:title xml:lang="en">Verify Package Integrity Using RPM</xccdf:title>
1981 <xccdf:description xml:lang="en">
1982 The RPM package management system includes the ability to
1983 verify the integrity of installed packages by comparing the installed files with
1984 information about the files taken from the package metadata stored in the RPM
1985 database. Although an attacker could corrupt the RPM database (analogous to
1986 attacking the AIDE database as described above), this check can still reveal
1987 modification of important files.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1988 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1989 To determine which files on the system differ from what is expected by the RPM
1990 database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1991 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1992 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa<xhtml:br/></xhtml:code>
1993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1994 A “c” in the second column indicates that a file is a configuration file (and may be
1995 expected to change). In order to exclude configuration files from this list, run:
1996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1997 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa | awk '$2!="c" {print $0}'<xhtml:br/></xhtml:code>
1998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1999 The man page rpm(8) describes the format of the output. Any files that do not
2000 match the expected output demand further investigation if the system is being
2001 seriously examined. This check could also be run as a cron job.
2002 </xccdf:description>
2003 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false" weight="10.0">
2004 <xccdf:title>Verify Package Integrity Using RPM</xccdf:title>
2005 <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>
2006 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2007 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200155"/>
2008 </xccdf:check>
2009 </xccdf:Rule>
2010 </xccdf:Group>
2011 </xccdf:Group>
2012 </xccdf:Group>
2013 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2">
2014 <xccdf:title xml:lang="en">File Permissions and Masks</xccdf:title>
2015 <xccdf:description xml:lang="en">
2016 Traditional Unix security relies heavily on file and directory
2017 permissions to prevent unauthorized users from reading or modifying files to which they
2018 should not have access. Adhere to the principle of least privilege — configure each file,
2019 directory, and filesystem to allow only the access needed in order for that file to serve
2020 its purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2022 However, Linux systems contain a large number of files, so
2023 it is often prohibitively time-consuming to ensure that every file on a machine has exactly
2024 the permissions needed. This section introduces several permission restrictions which are
2025 almost always appropriate for system security, and which are easy to test and
2026 correct. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2027 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2028 Note: Several of the commands in this section search
2029 filesystems for files or directories with certain characteristics, and are intended to be
2030 run on every local ext2, ext3 and ext4 partition on a given machine. When the variable
2031 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2032 appears in one of the commands below, it means that the command
2033 is intended to be run repeatedly, with the name of each local partition substituted for
2034 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2035 in turn.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2037 The following command prints a
2038 list of ext2, ext3 and ext4 partitions on a given machine:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2039 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2040 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ mount -t ext2,ext3,ext4 | awk '{print $3}'<xhtml:br/></xhtml:code>
2041 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2042 If your site uses a local filesystem type other than ext{234}, you will need to modify
2043 this command.
2044 </xccdf:description>
2045 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1">
2046 <xccdf:title xml:lang="en">Restrict Partition Mount Options</xccdf:title>
2047 <xccdf:description xml:lang="en">
2048 System partitions can be mounted with certain options which limit
2049 what files on those partitions can do. These options are set in the file /etc/fstab, and
2050 can be used to make certain types of malicious behavior more difficult.</xccdf:description>
2051 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.1" weight="1.0">
2052 <xccdf:title xml:lang="en">Add nodev Option to Non-Root Local Partitions</xccdf:title>
2053 <xccdf:description xml:lang="en">
2054 The nodev option prevents users from mounting unauthorized
2055 devices on any partition which is known not to contain any authorized devices. The root
2056 partition typically contains the /dev partition, which is the primary location for
2057 authorized devices, so this option should not be set on /. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2058 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2059 However, if system programs are being run in chroot jails, this advice may need to be
2060 modified further, since it is often necessary to create device files inside the chroot
2061 directory for use by the restricted program.
2062 </xccdf:description>
2063 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.1.a" role="full" selected="false" severity="unknown" weight="10.0">
2064 <xccdf:title>Add nodev Option to Non-Root Local Partitions</xccdf:title>
2065 <xccdf:description>The nodev option should be disabled as appropriate for all non-root partitions.</xccdf:description>
2066 <xccdf:ident system="http://cce.mitre.org">CCE-4249-9</xccdf:ident>
2067 <xccdf:fixtext>
2068 Edit the file /etc/fstab. The important columns for purposes of
2069 this section are column 2 (mount point), column 3 (filesystem type), and column 4 (mount
2070 options). For any line which satisfies all of the conditions:
2071 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The filesystem type is ext2, ext3 or ext4</xhtml:li><xhtml:li>The mount point is not /</xhtml:li></xhtml:ul>
2072 add the text “,nodev” to the list of mount options in column 4. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2073 </xccdf:fixtext>
2074 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2075 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20016"/>
2076 </xccdf:check>
2077 </xccdf:Rule>
2078 </xccdf:Group>
2079 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.2">
2080 <xccdf:title xml:lang="en">Add nodev, nosuid, and noexec Options to Removable Media Partitions</xccdf:title>
2081 <xccdf:description xml:lang="en">
2082 Users should not be allowed to introduce arbitrary devices or
2083 setuid programs to a system. These options are used to prevent that. In addition, while
2084 users are usually allowed to add executable programs to a system, the noexec option
2085 prevents code from being executed directly from the media itself, and may therefore
2086 provide a line of defense against certain types of worms or malicious code.</xccdf:description>
2087 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false" weight="10.0">
2088 <xccdf:title>Add nodev Option to Removable Media Partitions</xccdf:title>
2089 <xccdf:description>The nodev option should be disabled for all removable media.</xccdf:description>
2090 <xccdf:ident system="http://cce.mitre.org">CCE-3522-0</xccdf:ident>
2091 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2092 located by finding lines whose mount points contain strings like floppy or cdrom, or
2093 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2094 mountpoint, add the text ',nodev' to the list of mount options in column 4.</xccdf:fixtext>
2095 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2096 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20017"/>
2097 </xccdf:check>
2098 </xccdf:Rule>
2099 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false" weight="10.0">
2100 <xccdf:title>Add noexec Option to Removable Media Partitions</xccdf:title>
2101 <xccdf:description>The noexec option should be disabled for all removable media.</xccdf:description>
2102 <xccdf:ident system="http://cce.mitre.org">CCE-4275-4</xccdf:ident>
2103 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2104 located by finding lines whose mount points contain strings like floppy or cdrom, or
2105 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2106 mountpoint, add the text ',noexec' to the list of mount options in column 4.</xccdf:fixtext>
2107 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2108 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20018"/>
2109 </xccdf:check>
2110 </xccdf:Rule>
2111 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false" severity="medium" weight="10.0">
2112 <xccdf:title>Add nosuid Option to Removable Media Partitions</xccdf:title>
2113 <xccdf:description>The nosuid option should be disabled for all removable media.</xccdf:description>
2114 <xccdf:ident system="http://cce.mitre.org">CCE-4042-8</xccdf:ident>
2115 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2116 located by finding lines whose mount points contain strings like floppy or cdrom, or
2117 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2118 mountpoint, add the text ',nosuid' to the list of mount options in column 4.</xccdf:fixtext>
2119 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2120 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20019"/>
2121 </xccdf:check>
2122 </xccdf:Rule>
2123 </xccdf:Group>
2124 </xccdf:Group>
2125 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2">
2126 <xccdf:title xml:lang="en">Restrict Dynamic Mounting and Unmounting of Filesystems</xccdf:title>
2127 <xccdf:description xml:lang="en">
2128 Linux includes a number of facilities for the automated addition
2129 and removal of filesystems on a running system. These facilities may increase convenience,
2130 but they all bring some risk, whether direct risk from allowing unprivileged users to
2131 introduce arbitrary filesystems to a machine, or risk that software flaws in the automated
2132 mount facility itself will allow an attacker to compromise the
2133 system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2135 Use caution when enabling any such facility, and find out
2136 whether better configuration management or user education might solve the same problem
2137 with less risk.
2138 </xccdf:description>
2139 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1">
2140 <xccdf:title xml:lang="en">Disable USB Device Support</xccdf:title>
2141 <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>
2142 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.1">
2143 <xccdf:title xml:lang="en">Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2144 <xccdf:description xml:lang="en">
2145 If USB storage devices should not be used, the modprobe
2146 program used for automatic kernel module loading should be configured to not load the
2147 USB storage driver upon demand. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2148 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2149 This will prevent the modprobe program from loading the usb-storage module, but will
2150 not prevent an administrator (or another program) from using the insmod program to
2151 load the module manually.
2152 </xccdf:description>
2153 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false" weight="10.0">
2154 <xccdf:title>Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2155 <xccdf:description>The USB device support module should not be loaded</xccdf:description>
2156 <xccdf:ident system="http://cce.mitre.org">CCE-4187-1</xccdf:ident>
2157 <xccdf:fix>echo -e "\ndenylist usb_storage" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2158 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2159 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20021"/>
2160 </xccdf:check>
2161 </xccdf:Rule>
2162 </xccdf:Group>
2163 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.2">
2164 <xccdf:title xml:lang="en">Remove USB Storage Driver</xccdf:title>
2165 <xccdf:description xml:lang="en">
2166 If your system never requires the use of USB storage devices,
2167 then the supporting driver can be removed. Though more effective (as USB storage
2168 certainly cannot be used if the driver is not available at all), this is less elegant
2169 than the method described in Section 2.2.2.1.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2170 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2171 Note that this guidance will not prevent USB storage devices from being mounted if a
2172 custom kernel (i.e., not the one supplied with the system) with built-in USB support
2173 is used.
2174 </xccdf:description>
2175 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false" weight="10.0">
2176 <xccdf:title>Remove USB Storage Driver</xccdf:title>
2177 <xccdf:description>
2178 The USB device support module should not be installed. The command in
2179 the FIX will need to be repeated every time the kernel is updated. This command
2180 will also cause the command rpm -q --verify kernel to fail, which may be an
2181 undesirable side effect.</xccdf:description>
2182 <xccdf:ident system="http://cce.mitre.org">CCE-4006-3</xccdf:ident>
2183 <xccdf:fix>rm /lib/modules/2.6.*/kernel/drivers/usb/storage/usb-storage.ko</xccdf:fix>
2184 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2185 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20022"/>
2186 </xccdf:check>
2187 </xccdf:Rule>
2188 </xccdf:Group>
2189 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.3">
2190 <xccdf:title xml:lang="en">Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2191 <xccdf:description xml:lang="en">
2192 Another means of disabling USB storage is to disable all USB
2193 support provided by the operating system. This can be accomplished by adding the
2194 'nousb' argument to the kernel's boot loader configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2196 NOTE
2197 - Disabling all kernel support for USB will cause problems for systems with USB-based
2198 keyboards, mice, or printers. This guidance is inappropriate for systems which require
2199 USB connectivity.
2200 </xccdf:description>
2201 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false" weight="10.0">
2202 <xccdf:title>Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2203 <xccdf:description>USB kernel support should be disabled.</xccdf:description>
2204 <xccdf:ident system="http://cce.mitre.org">CCE-4173-1</xccdf:ident>
2205 <xccdf:fixtext>To disable kernel support for USB, append 'nousb' to the kernel line in
2206 /etc/grub.conf as follows: kernel /vmlinuz-version ro vga=ext
2207 root=/dev/VolGroup00/LogVol00 rhgb quiet nousb</xccdf:fixtext>
2208 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2209 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20023"/>
2210 </xccdf:check>
2211 </xccdf:Rule>
2212 </xccdf:Group>
2213 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.4">
2214 <xccdf:title xml:lang="en">Disable Booting from USB Devices</xccdf:title>
2215 <xccdf:description xml:lang="en">
2216 An attacker with physical access could try to boot the system
2217 from a USB flash drive and then access any data on the system's hard drive,
2218 circumventing the normal operating system's access controls. To prevent this,
2219 configure the BIOS to disallow booting from USB drives. Also configure the BIOS or
2220 firmware password as described in Section 2.3.5.1 to prevent unauthorized
2221 configuration changes.</xccdf:description>
2222 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false" severity="high" weight="10.0">
2223 <xccdf:title>Disable Booting from USB Devices in the BIOS</xccdf:title>
2224 <xccdf:description>The ability to boot from USB devices should be disabled</xccdf:description>
2225 <xccdf:ident system="http://cce.mitre.org">CCE-3944-6</xccdf:ident>
2226 <xccdf:fixtext>BIOS settings</xccdf:fixtext>
2227 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2228 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20024"/>
2229 </xccdf:check>
2230 </xccdf:Rule>
2231 </xccdf:Group>
2232 </xccdf:Group>
2233 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.2">
2234 <xccdf:title xml:lang="en">Disable the Automounter if Possible</xccdf:title>
2235 <xccdf:description xml:lang="en">
2236 If the autofs service is not needed to dynamically mount NFS
2237 filesystems or removable media, disable the service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2238 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2239 The autofs daemon mounts and unmounts filesystems, such as user home directories shared
2240 via NFS, on demand. In addition, autofs can be used to handle removable media, and the
2241 default configuration provides the cdrom device as /misc/cd. However, this method of
2242 providing access to removable media is not common, so autofs can almost always be
2243 disabled if NFS is not in use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2244 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2245 Even if NFS is required, it is almost always
2246 possible to configure filesystem mounts statically by editing /etc/fstab rather than
2247 relying on the automounter.
2248 </xccdf:description>
2249 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false" severity="medium" weight="10.0">
2250 <xccdf:title>Disable the Automounter if Possible</xccdf:title>
2251 <xccdf:description>The autofs service should be disabled.</xccdf:description>
2252 <xccdf:ident system="http://cce.mitre.org">CCE-4072-5</xccdf:ident>
2253 <xccdf:fix>chkconfig autofs off</xccdf:fix>
2254 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2255 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20025"/>
2256 </xccdf:check>
2257 </xccdf:Rule>
2258 </xccdf:Group>
2259 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.3">
2260 <xccdf:title xml:lang="en">Disable GNOME Automounting if Possible</xccdf:title>
2261 <xccdf:description xml:lang="en">
2262 The system's default desktop environment, GNOME, runs the
2263 program gnome-volume-manager to mount devices and removable media (such as DVDs, CDs and
2264 USB flash drives) whenever they are inserted into the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2265 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2266 The system's capabilities for automatic mounting should be configured to match whatever
2267 is defined by security policy. Disabling USB storage as described in Section 2.2.2.2.1
2268 will prevent the use of USB storage devices, but this step can also be taken as an
2269 additional layer of prevention and to prevent automatic mounting of CDs and DVDs if
2270 required. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2272 Particularly for kiosk-style systems, where users should
2273 have extremely limited access to the system, more detailed information can be found in
2274 Red Hat Desktop: Deployment Guide. The gconf-editor program, available in an RPM of the
2275 same name, can be used to explore other settings available in the GNOME environment.
2276 </xccdf:description>
2277 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false" severity="medium" weight="10.0">
2278 <xccdf:title>Disable GNOME Automounting if Possible</xccdf:title>
2279 <xccdf:description>The GNOME automounter (gnome-volume-manager) should be disabled if possible</xccdf:description>
2280 <xccdf:ident system="http://cce.mitre.org">CCE-4231-7</xccdf:ident>
2281 <xccdf:fixtext>Execute the following commands to prevent gnome-volume-manager from automatically
2282 mounting devices and media: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2284 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
2285 # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2286 --type bool --set /desktop/gnome/volume_manager/automount_media false
2287 <xhtml:br/> <xhtml:br/>
2288 # gconftool-2 --direct
2289 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2290 --type bool
2291 --set /desktop/gnome/volume_manager/automount_drives false
2292 </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2293 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2294 Verify the changes by executing
2295 the following command, which should return a list of settings: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2296 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2297 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># gconftool-2 -R /desktop/gnome/volume_manager <xhtml:br/></xhtml:code>
2298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2299 The automount drives and automount media settings should
2300 be set to false. Survey the list for any other options that should be adjusted.</xccdf:fixtext>
2301 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2302 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20026"/>
2303 </xccdf:check>
2304 </xccdf:Rule>
2305 </xccdf:Group>
2306 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.4">
2307 <xccdf:title xml:lang="en">Disable Mounting of Uncommon Filesystem Types</xccdf:title>
2308 <xccdf:description xml:lang="en">
2309 Specifying kernel module in /etc/modprobe.d/denylist.conf will prevent
2310 kernel module loading system from inserting the modele into the kernel.
2311 This mechanism effectively prevents usage of these uncommon filesystems.</xccdf:description>
2312 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false" weight="10.0">
2313 <xccdf:title>Disable Mounting of cramfs</xccdf:title>
2314 <xccdf:description>cramfs is uncommon filesystems</xccdf:description>
2315 <xccdf:fix>echo "denylist cramfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2316 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2317 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20027"/>
2318 </xccdf:check>
2319 </xccdf:Rule>
2320 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false" weight="10.0">
2321 <xccdf:title>Disable Mounting of freevxfs</xccdf:title>
2322 <xccdf:description>freevxfs is uncommon filesystems</xccdf:description>
2323 <xccdf:fix>echo "denylist freevxfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2324 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2325 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20028"/>
2326 </xccdf:check>
2327 </xccdf:Rule>
2328 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false" weight="10.0">
2329 <xccdf:title>Disable Mounting of jffs2</xccdf:title>
2330 <xccdf:description>jffs2 is uncommon filesystems</xccdf:description>
2331 <xccdf:fix>echo "denylist jffs2" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2332 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2333 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20029"/>
2334 </xccdf:check>
2335 </xccdf:Rule>
2336 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false" weight="10.0">
2337 <xccdf:title>Disable Mounting of hfs</xccdf:title>
2338 <xccdf:description>hfs is uncommon filesystems</xccdf:description>
2339 <xccdf:fix>echo "denylist hfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2340 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2341 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20030"/>
2342 </xccdf:check>
2343 </xccdf:Rule>
2344 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false" weight="10.0">
2345 <xccdf:title>Disable Mounting of hfsplus</xccdf:title>
2346 <xccdf:description>hfsplus is uncommon filesystems</xccdf:description>
2347 <xccdf:fix>echo "denylist hfsplus" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2348 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2349 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20031"/>
2350 </xccdf:check>
2351 </xccdf:Rule>
2352 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false" weight="10.0">
2353 <xccdf:title>Disable Mounting of squashfs</xccdf:title>
2354 <xccdf:description>squashfs is uncommon filesystems</xccdf:description>
2355 <xccdf:fix>echo "denylist squashfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2356 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2357 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20032"/>
2358 </xccdf:check>
2359 </xccdf:Rule>
2360 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false" weight="10.0">
2361 <xccdf:title>Disable Mounting of udf</xccdf:title>
2362 <xccdf:description>udf is uncommon filesystems</xccdf:description>
2363 <xccdf:fix>echo "denylist udf" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2364 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2365 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20033"/>
2366 </xccdf:check>
2367 </xccdf:Rule>
2368 </xccdf:Group>
2369 </xccdf:Group>
2370 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3">
2371 <xccdf:title xml:lang="en">Verify Permissions on Important Files and Directories</xccdf:title>
2372 <xccdf:description xml:lang="en">
2373 Permissions for many files on a system should be set to conform
2374 to system policy. This section discusses important permission restrictions which
2375 should be checked on a regular basis to ensure that no harmful discrepancies have arisen.
2376 </xccdf:description>
2377 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.1">
2378 <xccdf:title xml:lang="en">Verify Permissions on passwd, shadow, group and gshadow Files</xccdf:title>
2379 <xccdf:description xml:lang="en">
2380 These are the default permissions for these files. Many
2381 utilities need read access to the passwd file in order to function properly, but read
2382 access to the shadow file allows malicious attacks against system passwords, and should
2383 never be enabled.</xccdf:description>
2384 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.i" operator="equals" type="string">
2385 <xccdf:title>Permissions for shadow</xccdf:title>
2386 <xccdf:description>File permissions for /etc/shadow</xccdf:description>
2387 <xccdf:question xml:lang="en">Select permissions for /etc/shadow</xccdf:question>
2388 <xccdf:value>000000000</xccdf:value>
2389 <xccdf:value selector="000">000000000</xccdf:value>
2390 <xccdf:value selector="400">100000000</xccdf:value>
2391 <xccdf:value selector="644">110100100</xccdf:value>
2392 <xccdf:match>^[10]+$</xccdf:match>
2393 </xccdf:Value>
2394 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.j" operator="equals" type="string">
2395 <xccdf:title>Permissions for group</xccdf:title>
2396 <xccdf:description>File permissions for /etc/group</xccdf:description>
2397 <xccdf:question xml:lang="en">Select permissions for /etc/group</xccdf:question>
2398 <xccdf:value>110100100</xccdf:value>
2399 <xccdf:value selector="400">100000000</xccdf:value>
2400 <xccdf:value selector="644">110100100</xccdf:value>
2401 <xccdf:value selector="700">111000000</xccdf:value>
2402 <xccdf:match>^[10]+$</xccdf:match>
2403 </xccdf:Value>
2404 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.k" operator="equals" type="string">
2405 <xccdf:title>Permissions for gshadow</xccdf:title>
2406 <xccdf:description>File permissions for /etc/gshadow</xccdf:description>
2407 <xccdf:question xml:lang="en">Select permissions for /etc/gshadow</xccdf:question>
2408 <xccdf:value>000000000</xccdf:value>
2409 <xccdf:value selector="000">000000000</xccdf:value>
2410 <xccdf:value selector="400">100000000</xccdf:value>
2411 <xccdf:value selector="644">110100100</xccdf:value>
2412 <xccdf:match>^[10]+$</xccdf:match>
2413 </xccdf:Value>
2414 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.l" operator="equals" type="string">
2415 <xccdf:title>Permissions for passwd</xccdf:title>
2416 <xccdf:description>File permissions for /etc/password</xccdf:description>
2417 <xccdf:question xml:lang="en">Select permissions for /etc/password</xccdf:question>
2418 <xccdf:value>110100100</xccdf:value>
2419 <xccdf:value selector="400">100000000</xccdf:value>
2420 <xccdf:value selector="644">110100100</xccdf:value>
2421 <xccdf:value selector="700">111000000</xccdf:value>
2422 <xccdf:match>^[10]+$</xccdf:match>
2423 </xccdf:Value>
2424 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.a" selected="false" severity="medium" weight="10.0">
2425 <xccdf:title>Verify user who owns 'shadow' file</xccdf:title>
2426 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2427 <xccdf:ident system="http://cce.mitre.org">CCE-3918-0</xccdf:ident>
2428 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2429 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20034"/>
2430 </xccdf:check>
2431 </xccdf:Rule>
2432 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.b" selected="false" severity="medium" weight="10.0">
2433 <xccdf:title>Verify group who owns 'shadow' file</xccdf:title>
2434 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2435 <xccdf:ident system="http://cce.mitre.org">CCE-3988-3</xccdf:ident>
2436 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2437 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20035"/>
2438 </xccdf:check>
2439 </xccdf:Rule>
2440 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.c" selected="false" severity="medium" weight="10.0">
2441 <xccdf:title>Verify user who owns 'group' file</xccdf:title>
2442 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2443 <xccdf:ident system="http://cce.mitre.org">CCE-3276-3</xccdf:ident>
2444 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2445 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20036"/>
2446 </xccdf:check>
2447 </xccdf:Rule>
2448 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.d" selected="false" severity="medium" weight="10.0">
2449 <xccdf:title>Verify group who owns 'group' file</xccdf:title>
2450 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2451 <xccdf:ident system="http://cce.mitre.org">CCE-3883-6</xccdf:ident>
2452 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2453 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20037"/>
2454 </xccdf:check>
2455 </xccdf:Rule>
2456 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.e" selected="false" severity="medium" weight="10.0">
2457 <xccdf:title>Verify user who owns 'gshadow' file</xccdf:title>
2458 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2459 <xccdf:ident system="http://cce.mitre.org">CCE-4210-1</xccdf:ident>
2460 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2461 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20038"/>
2462 </xccdf:check>
2463 </xccdf:Rule>
2464 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.f" selected="false" severity="medium" weight="10.0">
2465 <xccdf:title>Verify group who owns 'gshadow' file</xccdf:title>
2466 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2467 <xccdf:ident system="http://cce.mitre.org">CCE-4064-2</xccdf:ident>
2468 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2469 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20039"/>
2470 </xccdf:check>
2471 </xccdf:Rule>
2472 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.g" selected="false" severity="medium" weight="10.0">
2473 <xccdf:title>Verify user who owns 'passwd' file</xccdf:title>
2474 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2475 <xccdf:ident system="http://cce.mitre.org">CCE-3958-6</xccdf:ident>
2476 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2477 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20040"/>
2478 </xccdf:check>
2479 </xccdf:Rule>
2480 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.h" selected="false" severity="medium" weight="10.0">
2481 <xccdf:title>Verify group who owns 'passwd' file</xccdf:title>
2482 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2483 <xccdf:ident system="http://cce.mitre.org">CCE-3495-9</xccdf:ident>
2484 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2485 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20041"/>
2486 </xccdf:check>
2487 </xccdf:Rule>
2488 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.i" selected="false" severity="medium" weight="10.0">
2489 <xccdf:title>Verify permissions on 'shadow' file</xccdf:title>
2490 <xccdf:description>File permissions for /etc/shadow should be set correctly.</xccdf:description>
2491 <xccdf:ident system="http://cce.mitre.org">CCE-4130-1</xccdf:ident>
2492 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2493 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20042" value-id="xccdf_cdf_value_var-2.2.3.1.i"/>
2494 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20042"/>
2495 </xccdf:check>
2496 </xccdf:Rule>
2497 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.j" selected="false" severity="medium" weight="10.0">
2498 <xccdf:title>Verify permissions on 'group' file</xccdf:title>
2499 <xccdf:description>File permissions for /etc/group should be set correctly.</xccdf:description>
2500 <xccdf:ident system="http://cce.mitre.org">CCE-3967-7</xccdf:ident>
2501 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2502 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20043" value-id="xccdf_cdf_value_var-2.2.3.1.j"/>
2503 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20043"/>
2504 </xccdf:check>
2505 </xccdf:Rule>
2506 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.k" selected="false" severity="medium" weight="10.0">
2507 <xccdf:title>Verify permissions on 'gshadow' file</xccdf:title>
2508 <xccdf:description>File permissions for /etc/gshadow should be set correctly.</xccdf:description>
2509 <xccdf:ident system="http://cce.mitre.org">CCE-3932-1</xccdf:ident>
2510 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2511 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20044" value-id="xccdf_cdf_value_var-2.2.3.1.k"/>
2512 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20044"/>
2513 </xccdf:check>
2514 </xccdf:Rule>
2515 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.l" selected="false" severity="medium" weight="10.0">
2516 <xccdf:title>Verify permissions on 'passwd' file</xccdf:title>
2517 <xccdf:description>File permissions for /etc/passwd should be set correctly.</xccdf:description>
2518 <xccdf:ident system="http://cce.mitre.org">CCE-3566-7</xccdf:ident>
2519 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2520 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20045" value-id="xccdf_cdf_value_var-2.2.3.1.l"/>
2521 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20045"/>
2522 </xccdf:check>
2523 </xccdf:Rule>
2524 </xccdf:Group>
2525 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.2">
2526 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2527 <xccdf:description xml:lang="en">
2528 When the so-called 'sticky bit' is set on a directory, only the
2529 owner of a given file may remove that file from the directory. Without the sticky bit,
2530 any user with write access to a directory may remove any file in the directory. Setting
2531 the sticky bit prevents users from removing each other's files. In cases where there is
2532 no reason for a directory to be world-writable, a better solution is to remove that
2533 permission rather than to set the sticky bit. However, if a directory is used by a
2534 particular application, consult that application's documentation instead of blindly
2535 changing modes.</xccdf:description>
2536 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.2.a" selected="false" severity="low" weight="10.0">
2537 <xccdf:title>Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2538 <xccdf:description>The sticky bit should be set for all world-writable directories.</xccdf:description>
2539 <xccdf:ident system="http://cce.mitre.org">CCE-3399-3</xccdf:ident>
2540 <xccdf:fixtext>Locate any directories in local partitions which are world-writable and do not have
2541 their sticky bits set. The following command will discover and print these. Run it
2542 once for each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2543 <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 !
2544 -perm -1000 \) -print </xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2546 If this command produces any output, fix each reported directory
2547 /dir using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2549 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod +t /dir</xhtml:code></xccdf:fixtext>
2550 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2551 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20046"/>
2552 </xccdf:check>
2553 </xccdf:Rule>
2554 </xccdf:Group>
2555 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.3">
2556 <xccdf:title xml:lang="en">Find Unauthorized World-Writable Files</xccdf:title>
2557 <xccdf:description xml:lang="en">
2558 Data in world-writable files can be modified by any user on the
2559 system. In almost all circumstances, files can be configured using a combination of user
2560 and group permissions to support whatever legitimate access is needed without the risk
2561 caused by world-writable files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2563 It is generally a good idea to
2564 remove global (other) write access to a file when it is discovered. However, check with
2565 documentation for specific applications before making changes. Also, monitor for
2566 recurring world-writable files, as these may be symptoms of a misconfigured application
2567 or user account.
2568 </xccdf:description>
2569 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.3.a" selected="false" severity="medium" weight="10.0">
2570 <xccdf:title>Find Unauthorized World-Writable Files</xccdf:title>
2571 <xccdf:description>The world-write permission should be disabled for all files.</xccdf:description>
2572 <xccdf:ident system="http://cce.mitre.org">CCE-3795-2</xccdf:ident>
2573 <xccdf:fixtext>The following command discovers and prints any world-writable files in local
2574 partitions. Run it once for each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2575 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2576 <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>
2577 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2578 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20047"/>
2579 </xccdf:check>
2580 </xccdf:Rule>
2581 </xccdf:Group>
2582 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.4">
2583 <xccdf:title xml:lang="en">Find Unauthorized SUID/SGID System Executables</xccdf:title>
2584 <xccdf:description xml:lang="en">
2585 The following command discovers and prints any setuid or setgid
2586 files on local partitions. Run it once for each local partition : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2587 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2588 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"> # for PART in `mount -t ext2,ext3,ext4 | awk '{print $3}'`;
2589 do find $PART -xdev \( -perm -4000 -o -perm -2000 \) -type f -print;
2590 done </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2591 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2592 If the file does not require a setuid or
2593 setgid bit as discussed below, then these bits can be removed with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2595 <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"/>
2596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2597 The following table contains all setuid and setgid files which are expected to
2598 be on a stock system. The setuid or setgid bit on these files may be disabled to reduce
2599 system risk if only an administrator requires their functionality. The table indicates
2600 those files which may not be needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2601 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2602 Note: Several of these files are used for applications which are unlikely to be
2603 relevant to most production environments, such as ISDN networking, SSH hostbased
2604 authentication, or modification of network interfaces by unprivileged users. It is
2605 extremely likely that your site can disable a subset of these files with no loss of
2606 functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2608 Any files found by the above command which are not in the table should be examined.
2609 If the files are not authorized, they should have permissions removed, and further
2610 investigation may be warranted.
2611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2612 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:tr><xhtml:td>File</xhtml:td><xhtml:td>Set-ID</xhtml:td><xhtml:td>Package</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/bin/mount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/bin/ping</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>iputils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/bin/ping6</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>iputils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/bin/su</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>coreutils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/bin/umount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/bin/fusermount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>fuse</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/bin/cgexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>libcgroup</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/sbin/mount.nfs</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nfs-utils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/sbin/umount.nfs</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nfs-utils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/sbin/netreport</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>initscripts</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/sbin/pam_timestamp_check</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/sbin/unix_chkpwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/at</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>at</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/chage</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/chfn</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/chsh</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/crontab</xhtml:td><xhtml:td>uid/gid root</xhtml:td><xhtml:td>cronie</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/gpasswd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/locate</xhtml:td><xhtml:td>gid slocate</xhtml:td><xhtml:td>mlocate</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/lockfile</xhtml:td><xhtml:td>gid mail</xhtml:td><xhtml:td>procmail</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/gnomine</xhtml:td><xhtml:td>gid games</xhtml:td><xhtml:td>gnome-games</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/iagno</xhtml:td><xhtml:td>gid games</xhtml:td><xhtml:td>gnome-games</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/newgrp</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/passwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>passwd</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/pkexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>polkit</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/rcp</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/rlogin</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/rsh</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/staprun</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>systemtap-runtime</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/ssh-agent</xhtml:td><xhtml:td>gid nobody</xhtml:td><xhtml:td>openssh-clients</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/sudo</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>sudo</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/sudoedit</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>sudo</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/wall</xhtml:td><xhtml:td>gid tty</xhtml:td><xhtml:td>sysvinit-tools</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/write</xhtml:td><xhtml:td>gid tty</xhtml:td><xhtml:td>util-linux-ng</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/screen</xhtml:td><xhtml:td>gid screen</xhtml:td><xhtml:td>screen</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/jwhois</xhtml:td><xhtml:td>gid jwhois</xhtml:td><xhtml:td>jwhois</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/Xorg</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>xorg-x11-server-Xorg</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/bin/ksu</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>krb5-workstation</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/lockdev</xhtml:td><xhtml:td>gid lock</xhtml:td><xhtml:td>lockdev</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/sendmail.sendmail</xhtml:td><xhtml:td>gid smmsp</xhtml:td><xhtml:td>sendmail</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/suexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>httpd</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/seunshare</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>policycoreutils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/userhelper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>usermode</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/userisdnctl</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>isdn4k-utils</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/mtr</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>mtr</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/usernetctl</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>initscripts</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/sbin/ccreds_chkpwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam_ccreds</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/openssh/ssh-keysign</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>ssh</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/kde4/kpac_dhcp_helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>kdelibs</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/polkit-1/polkit-agent-helper-1</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>polkit</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/pt_chown</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>glibc-common</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/pulse/proximity-helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pulseaudio-module-bluetooth</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/news/innbind</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>inn</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/news/rnews</xhtml:td><xhtml:td>uid uucp</xhtml:td><xhtml:td>inn</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/libexec/utempter/utempter</xhtml:td><xhtml:td>gid utmp</xhtml:td><xhtml:td>libutempter</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/lib/nspluginwrapper/plugin-config</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nspluginwrapper</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/lib/vte/gnome-pty-helper</xhtml:td><xhtml:td>gid utmp</xhtml:td><xhtml:td>vte</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/usr/share/BackupPC/sbin/BackupPC_Admin</xhtml:td><xhtml:td>uid backuppc</xhtml:td><xhtml:td>BackupPC</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/var/cache/jwhois/jwhois.db</xhtml:td><xhtml:td>gid jwhois</xhtml:td><xhtml:td>jwhois</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>/lib/dbus-1/dbus-daemon-launch-helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>dbus</xhtml:td></xhtml:tr></xhtml:table>
2613 </xccdf:description>
2614 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.a" selected="false" severity="medium" weight="10.0">
2615 <xccdf:title>Find Unauthorized SGID System Executables</xccdf:title>
2616 <xccdf:description>The sgid bit should not be set for all files.</xccdf:description>
2617 <xccdf:ident system="http://cce.mitre.org">CCE-4178-0</xccdf:ident>
2618 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2619 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20048"/>
2620 </xccdf:check>
2621 </xccdf:Rule>
2622 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.b" selected="false" severity="high" weight="10.0">
2623 <xccdf:title>Find Unauthorized SUID System Executables</xccdf:title>
2624 <xccdf:description>The suid bit should not be set for all files.</xccdf:description>
2625 <xccdf:ident system="http://cce.mitre.org">CCE-3324-1</xccdf:ident>
2626 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2627 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20049"/>
2628 </xccdf:check>
2629 </xccdf:Rule>
2630 </xccdf:Group>
2631 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.5">
2632 <xccdf:title xml:lang="en">Find and Repair Unowned Files</xccdf:title>
2633 <xccdf:description xml:lang="en">
2634 The following command will discover and print any files on
2635 local partitions which do not belong to a valid user and a valid group. Run it once for
2636 each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2637 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2638 <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"/>
2639 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2640 If this command prints any results, investigate each reported file and either assign it to an
2641 appropriate user and group or remove it. Unowned files are not directly exploitable, but
2642 they are generally a sign that something is wrong with some system process. They may be
2643 caused by an intruder, by incorrect software installation or incomplete software
2644 removal, or by failure to remove all files belonging to a deleted account. The files
2645 should be repaired so that they will not cause problems when accounts are created in the
2646 future, and the problem which led to unowned files should be discovered and addressed.</xccdf:description>
2647 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.a" selected="false" severity="medium" weight="10.0">
2648 <xccdf:title>Find files unowned by a user</xccdf:title>
2649 <xccdf:description>All files should be owned by a user</xccdf:description>
2650 <xccdf:ident system="http://cce.mitre.org">CCE-4223-4</xccdf:ident>
2651 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2652 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20050"/>
2653 </xccdf:check>
2654 </xccdf:Rule>
2655 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.b" selected="false" severity="medium" weight="10.0">
2656 <xccdf:title>Find files unowned by a group</xccdf:title>
2657 <xccdf:description>All files should be owned by a group</xccdf:description>
2658 <xccdf:ident system="http://cce.mitre.org">CCE-3573-3</xccdf:ident>
2659 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2660 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20051"/>
2661 </xccdf:check>
2662 </xccdf:Rule>
2663 </xccdf:Group>
2664 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.6">
2665 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Proper Ownership</xccdf:title>
2666 <xccdf:description xml:lang="en">
2667 Locate any directories in local partitions which are world-writable and
2668 ensure that they are owned by root or another system account. The following command will discover
2669 and print these (assuming only system accounts have a uid lower than 500). Run it once for each
2670 local partition PART:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2672 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># find PART -xdev -type d -perm -0002 -uid +500 -print<xhtml:br/></xhtml:code>
2673 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2674 If this command produces any output, investigate why the current owner is not root or another
2675 system account.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2676 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2677 Allowing a user account to own a world-writeable directory is undesirable because it allows the
2678 owner of that directory to remove or replace any files that may be placed in the directory by
2679 other users.</xccdf:description>
2680 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.6.a" selected="false" severity="medium" weight="10.0">
2681 <xccdf:title>Find world writable directories not owned by a system account</xccdf:title>
2682 <xccdf:description>All world writable directories should be owned by a system user</xccdf:description>
2683 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2684 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20052"/>
2685 </xccdf:check>
2686 </xccdf:Rule>
2687 </xccdf:Group>
2688 </xccdf:Group>
2689 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4">
2690 <xccdf:title xml:lang="en">Restrict Programs from Dangerous Execution Patterns</xccdf:title>
2691 <xccdf:description xml:lang="en">
2692 The recommendations in this section provide broad protection
2693 against information disclosure or other misbehavior. These protections are applied at the
2694 system initialization or kernel level, and defend against certain types of
2695 badly-configured or compromised programs.</xccdf:description>
2696 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.1">
2697 <xccdf:title xml:lang="en">Set Daemon umask</xccdf:title>
2698 <xccdf:description xml:lang="en">
2699 The system umask for scripts in /etc/init.d must be set to at least 022, or daemon
2700 processes may create world-writable files. The more restrictive setting
2701 027 protects files, including temporary files and log files, from unauthorized reading
2702 by unprivileged users on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2703 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2704 If a particular daemon needs a
2705 less restrictive umask, consider editing the startup script or sysconfig file of that
2706 daemon to make a specific exception.
2707 </xccdf:description>
2708 <xccdf:Value id="xccdf_cdf_value_var-2.2.4.1.a" operator="equals" type="string">
2709 <xccdf:title>daemon umask</xccdf:title>
2710 <xccdf:description>Enter umask for daemons</xccdf:description>
2711 <xccdf:question xml:lang="en">Enter umask which will be used for new files created by daemons</xccdf:question>
2712 <xccdf:value>022</xccdf:value>
2713 <xccdf:value selector="022">022</xccdf:value>
2714 <xccdf:value selector="027">027</xccdf:value>
2715 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
2716 </xccdf:Value>
2717 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.1.a" selected="false" severity="medium" weight="10.0">
2718 <xccdf:title>Set Daemon umask</xccdf:title>
2719 <xccdf:description>The daemon umask should be set to profile value</xccdf:description>
2720 <xccdf:ident system="http://cce.mitre.org">CCE-4220-0</xccdf:ident>
2721 <xccdf:fixtext>Edit the file /etc/rc.d/init.d/functions, and add or correct the following line: umask
2722 <xccdf:sub idref="xccdf_cdf_value_var-2.2.4.1.a"/></xccdf:fixtext>
2723 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2724 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20053" value-id="xccdf_cdf_value_var-2.2.4.1.a"/>
2725 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20053"/>
2726 </xccdf:check>
2727 </xccdf:Rule>
2728 </xccdf:Group>
2729 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.2">
2730 <xccdf:title xml:lang="en">Disable Core Dumps</xccdf:title>
2731 <xccdf:description xml:lang="en">
2732 A core dump file is the memory image of an executable program
2733 when it was terminated by the operating system due to errant behavior. In most cases,
2734 only software developers would legitimately need to access these files. The core dump
2735 files may also contain sensitive information, or unnecessarily occupy large amounts of
2736 disk space. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2738 By default, the system sets a soft limit to stop the
2739 creation of core dump files for all users. This is accomplished in /etc/profile with the
2740 line: ulimit -S -c 0 &gt; /dev/null 2&gt;&amp;1 However, compliance with this
2741 limit is voluntary; it is a default intended only to protect users from the annoyance of
2742 generating unwanted core files. Users can increase the allowed core file size up to the
2743 hard limit, which is unlimited by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2744 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2745 Once a hard limit is set
2746 in /etc/security/limits.conf, the user cannot increase that limit within his own
2747 session. If access to core dumps is required, consider restricting them to only certain
2748 users or groups. See the limits.conf man page for more
2749 information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2751 The core dumps of setuid programs are further
2752 protected. The sysctl variable fs.suid_dumpable controls whether the kernel allows core
2753 dumps from these programs at all. The default value of 0 is recommended.
2754 </xccdf:description>
2755 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false" severity="low" weight="10.0">
2756 <xccdf:title>Disable Core Dumps for all users</xccdf:title>
2757 <xccdf:description>Core dumps for all users should be disabled</xccdf:description>
2758 <xccdf:ident system="http://cce.mitre.org">CCE-4225-9</xccdf:ident>
2759 <xccdf:fixtext>To disable core dumps for all users, add or correct the following line in
2760 /etc/security/limits.conf: * hard core 0</xccdf:fixtext>
2761 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2762 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20055"/>
2763 </xccdf:check>
2764 </xccdf:Rule>
2765 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.b" selected="false" severity="low" weight="10.0">
2766 <xccdf:title>Disable Core Dumps for SUID programs</xccdf:title>
2767 <xccdf:description>Core dumps for setuid programs should be disabled</xccdf:description>
2768 <xccdf:ident system="http://cce.mitre.org">CCE-4247-3</xccdf:ident>
2769 <xccdf:fixtext>To ensure that core dumps can never be made by setuid programs, edit
2770 /etc/sysctl.conf and add or correct the line: fs.suid_dumpable = 0</xccdf:fixtext>
2771 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2772 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20056"/>
2773 </xccdf:check>
2774 </xccdf:Rule>
2775 </xccdf:Group>
2776 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.3">
2777 <xccdf:title xml:lang="en">Enable ExecShield</xccdf:title>
2778 <xccdf:description xml:lang="en">
2779 ExecShield comprises a number of kernel features to provide
2780 protection against buffer overflows. These features include random placement of the
2781 stack and other memory regions, prevention of execution in memory that should only hold
2782 data, and special handling of text buffers. This protection is enabled by default, but
2783 the sysctl variables kernel.exec-shield and kernel.randomize va space should be checked
2784 to ensure that it has not been disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2785 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2786 ExecShield uses the
2787 segmentation feature on all x86 systems to prevent execution in memory higher than a
2788 certain address. It writes an address as a limit in the code segment descriptor, to
2789 control where code can be executed, on a per-process basis. When the kernel places a
2790 process's memory regions such as the stack and heap higher than this address, the
2791 hardware prevents execution there. However, this cannot always be done for all memory
2792 regions in which execution should not occur, so follow guidance in Section 2.2.4.4 to
2793 further protect the system.
2794 </xccdf:description>
2795 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.a" selected="false" weight="10.0">
2796 <xccdf:title>Enable ExecShield</xccdf:title>
2797 <xccdf:description>ExecShield should be enabled</xccdf:description>
2798 <xccdf:ident system="http://cce.mitre.org">CCE-4168-1</xccdf:ident>
2799 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
2800 activated at boot, add or correct the following settings in /etc/sysctl.conf:
2801 kernel.exec-shield = 1</xccdf:fixtext>
2802 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2803 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20057"/>
2804 </xccdf:check>
2805 </xccdf:Rule>
2806 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.b" selected="false" weight="10.0">
2807 <xccdf:title>Enable ExecShield randomized placement of virtual memory regions</xccdf:title>
2808 <xccdf:description>ExecShield randomized placement of virtual memory regions should be enabled</xccdf:description>
2809 <xccdf:ident system="http://cce.mitre.org">CCE-4146-7</xccdf:ident>
2810 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
2811 activated at boot, add or correct the following settings in /etc/sysctl.conf:
2812 kernel.randomize_va_space = 2</xccdf:fixtext>
2813 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2814 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20058"/>
2815 </xccdf:check>
2816 </xccdf:Rule>
2817 </xccdf:Group>
2818 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4">
2819 <xccdf:title xml:lang="en">Enable Execute Disable (XD) or No Execute (NX) Support on x86 Systems</xccdf:title>
2820 <xccdf:description xml:lang="en">
2821 Recent processors in the x86 family support the ability to
2822 prevent code execution on a per memory page basis. Generically and on AMD processors,
2823 this ability is called No Execute (NX), while on Intel processors it is called Execute
2824 Disable (XD). This ability can help prevent exploitation of buffer overflow
2825 vulnerabilities and should be activated whenever possible. Extra steps must be taken to
2826 ensure that this protection is enabled, particularly on 32-bit x86 systems. Other
2827 processors, such as Itanium and POWER, have included such support since inception and
2828 the standard kernel for those platforms supports the feature.</xccdf:description>
2829 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.1">
2830 <xccdf:title xml:lang="en">Check for Processor Support on x86 Systems</xccdf:title>
2831 <xccdf:description xml:lang="en">
2832 Check to see if the processor supports the PAE and NX
2833 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>
2834 </xccdf:Group>
2835 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.2">
2836 <xccdf:title xml:lang="en">Enable NX or XD Support in the BIOS</xccdf:title>
2837 <xccdf:description xml:lang="en">
2838 Computers with the ability to prevent this type of code
2839 execution frequently put an option in the BIOS that will allow users to turn the
2840 feature on or off at will. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2841 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2842 See Section 2.3.5.1 for information on protecting this and
2843 other BIOS settings.</xccdf:description>
2844 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false" weight="10.0">
2845 <xccdf:title>Enable NX or XD Support in the BIOS</xccdf:title>
2846 <xccdf:description>The XD/NX processor feature should be enabled in the BIOS</xccdf:description>
2847 <xccdf:ident system="http://cce.mitre.org">CCE-4177-2</xccdf:ident>
2848 <xccdf:fixtext>Reboot the system and enter the BIOS or 'Setup' configuration menu. Navigate the
2849 BIOS configuration menu and make sure that the option is enabled. The setting may be
2850 located under a 'Security' section. Look for Execute Disable (XD) on Intel-based
2851 systems and No Execute (NX) on AMD-based systems.</xccdf:fixtext>
2852 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2853 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20060"/>
2854 </xccdf:check>
2855 </xccdf:Rule>
2856 </xccdf:Group>
2857 </xccdf:Group>
2858 </xccdf:Group>
2859 </xccdf:Group>
2860 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3">
2861 <xccdf:title xml:lang="en">Account and Access Control</xccdf:title>
2862 <xccdf:description xml:lang="en">
2863 In traditional Unix security, if an attacker gains shell access to
2864 a certain login account, he can perform any action or access any file to which that account
2865 has access. Therefore, making it more difficult for unauthorized people to gain shell access
2866 to accounts, particularly to privileged accounts, is a necessary part of securing a system.
2867 This section introduces mechanisms for restricting access to login accounts.</xccdf:description>
2868 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1">
2869 <xccdf:title xml:lang="en">Protect Accounts by Restricting Password-Based Login</xccdf:title>
2870 <xccdf:description xml:lang="en">
2871 Conventionally, Unix shell accounts are accessed by providing a
2872 username and password to a login program, which tests these values for correctness using
2873 the /etc/passwd and /etc/shadow files. Password-based login is vulnerable to guessing of
2874 weak passwords, and to sniffing and man-in-the-middle attacks against passwords entered
2875 over a network or at an insecure console. Therefore, mechanisms for accessing accounts by
2876 entering usernames and passwords should be restricted to those which are operationally
2877 necessary.</xccdf:description>
2878 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.1">
2879 <xccdf:title xml:lang="en">Restrict Root Logins to System Console</xccdf:title>
2880 <xccdf:description xml:lang="en">
2881 Edit the file /etc/securetty. Ensure that the file contains
2882 only the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2883 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The primary system console device: <xhtml:br/>console</xhtml:li><xhtml:li>The virtual console devices: <xhtml:br/>tty1 tty2 tty3 tty4 tty5
2884 tty6 ... </xhtml:li><xhtml:li>If required by your organization, the deprecated virtual console interface
2885 may be retained for backwards compatibility:<xhtml:br/>vc/1 vc/2 vc/3 vc/4 vc/5
2886 vc/6 ...</xhtml:li><xhtml:li>If required by your organization, the serial consoles may be added:<xhtml:br/>
2887 ttyS0 ttyS1</xhtml:li></xhtml:ul>
2888 Direct root logins should be allowed only for
2889 emergency use. In normal situations, the administrator should access the system via a
2890 unique unprivileged account, and use su or sudo to execute privileged commands.
2891 Discouraging administrators from accessing the root account directly ensures an audit
2892 trail in organizations with multiple administrators. Locking down the channels through
2893 which root can connect directly reduces opportunities for password-guessing against the
2894 root account. The login program uses the file /etc/securetty to determine which
2895 interfaces should allow root logins. The virtual devices /dev/console and /dev/tty*
2896 represent the system consoles (accessible via the Ctrl-Alt-F1 through Ctrl-Alt-F6
2897 keyboard sequences on a default installation). The default securetty file also contains
2898 /dev/vc/*. These are likely to be deprecated in most environments, but may be retained
2899 for compatibility. Root should also be prohibited from connecting via network protocols.
2900 See Section 3.5 for instructions on preventing root from logging in via SSH.</xccdf:description>
2901 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false" severity="medium" weight="10.0">
2902 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
2903 <xccdf:description>Logins through the specified virtual console interface should be disabled
2904 </xccdf:description>
2905 <xccdf:ident system="http://cce.mitre.org">CCE-3820-8</xccdf:ident>
2906 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
2907 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2908 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20061"/>
2909 </xccdf:check>
2910 </xccdf:Rule>
2911 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false" severity="medium" weight="10.0">
2912 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
2913 <xccdf:description>Logins through the specified virtual console device should be disabled</xccdf:description>
2914 <xccdf:ident system="http://cce.mitre.org">CCE-3485-0</xccdf:ident>
2915 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
2916 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2917 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20062"/>
2918 </xccdf:check>
2919 </xccdf:Rule>
2920 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false" severity="medium" weight="10.0">
2921 <xccdf:title>Restrict virtual console Root Logins</xccdf:title>
2922 <xccdf:description>Logins through the virtual console devices should be disabled</xccdf:description>
2923 <xccdf:ident system="http://cce.mitre.org">CCE-4111-1</xccdf:ident>
2924 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
2925 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2926 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20063"/>
2927 </xccdf:check>
2928 </xccdf:Rule>
2929 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.d" selected="false" severity="medium" weight="10.0">
2930 <xccdf:title>Restrict serial port Root Logins</xccdf:title>
2931 <xccdf:description>Login prompts on serial ports should be disabled.</xccdf:description>
2932 <xccdf:ident system="http://cce.mitre.org">CCE-4256-4</xccdf:ident>
2933 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
2934 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2935 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20064"/>
2936 </xccdf:check>
2937 </xccdf:Rule>
2938 </xccdf:Group>
2939 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.2">
2940 <xccdf:title xml:lang="en">Limit su Access to the Root Account</xccdf:title>
2941 <xccdf:description xml:lang="en">
2942 The su command allows a user to gain the privileges of another user by entering the
2943 password for that user's account. It is desirable to restrict the root user so that only
2944 known administrators are ever allowed to access the root account. This restricts
2945 password-guessing against the root account by unauthorized users or by accounts which
2946 have been compromised. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2948 By convention, the group wheel contains all users who are allowed to run privileged
2949 commands. The PAM module pam_wheel.so is used to restrict root access to this set of
2950 users.</xccdf:description>
2951 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false" severity="medium" weight="10.0">
2952 <xccdf:title>Limit su Access to the Root Account</xccdf:title>
2953 <xccdf:description>The wheel group should exist</xccdf:description>
2954 <xccdf:fixtext> Ensure that the group wheel exists, and that the usernames of all administrators
2955 who should be allowed to execute commands as root are members of that group.
2956 </xccdf:fixtext>
2957 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2958 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20065"/>
2959 </xccdf:check>
2960 </xccdf:Rule>
2961 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false" severity="medium" weight="10.0">
2962 <xccdf:title>Limit su Access to the wheel group</xccdf:title>
2963 <xccdf:description>Command access to the root account should be restricted to the wheel group.</xccdf:description>
2964 <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"/>
2965 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2966 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">auth required pam_wheel.so use_uid</xhtml:code>
2967 </xccdf:fixtext>
2968 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2969 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20066"/>
2970 </xccdf:check>
2971 </xccdf:Rule>
2972 </xccdf:Group>
2973 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.3">
2974 <xccdf:title xml:lang="en">Configure sudo to Improve Auditing of Root Access</xccdf:title>
2975 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Ensure that the group wheel exists, and that the usernames
2976 of all administrators who should be allowed to execute commands as root are members of
2977 that group. <xhtml:br/>
2978 <xhtml:br/>
2979 <xhtml:code># grep ^wheel /etc/group</xhtml:code></xhtml:li><xhtml:li>Edit the file /etc/sudoers. Add, uncomment, or
2980 correct the line: <xhtml:br/>
2981 <xhtml:br/>
2982 %wheel ALL=(ALL) ALL</xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2983 The sudo command allows fine-grained control over
2984 which users can execute commands using other accounts. The primary benefit of sudo when
2985 configured as above is that it provides an audit trail of every command run by a
2986 privileged user. It is possible for a malicious administrator to circumvent this
2987 restriction, but, if there is an established procedure that all root commands are run
2988 using sudo, then it is easy for an auditor to detect unusual behavior when this
2989 procedure is not followed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2990 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2991 Editing /etc/sudoers by hand can be dangerous, since a configuration error may make it
2992 impossible to access the root account remotely. The recommended means of editing this
2993 file is using the visudo command, which checks the file's syntax for correctness before
2994 allowing it to be saved.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2995 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2996 Note that sudo allows any attacker who gains access to the password of an administrator
2997 account to run commands as root. This is a downside which must be weighed against the
2998 benefits of increased audit capability and of being able to heavily restrict the use of
2999 the high-value root password (which can be logistically difficult to change often). As
3000 a basic precaution, never use the NOPASSWD directive, which would allow anyone with
3001 access to an administrator account to execute commands as root without knowing the
3002 administrator's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3003 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3004 The sudo command has many options which can be used to further customize its behavior.
3005 See the sudoers(5) man page for details.</xccdf:description>
3006 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false" severity="medium" weight="10.0">
3007 <xccdf:title>Configure sudo to Improve Auditing of Root Access</xccdf:title>
3008 <xccdf:description>Sudo privileges should granted to the wheel group</xccdf:description>
3009 <xccdf:ident system="http://cce.mitre.org">CCE-4044-4</xccdf:ident>
3010 <xccdf:fix>echo "%wheel ALL=(ALL) ALL" &gt;&gt; /etc/sudoers</xccdf:fix>
3011 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3012 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20067"/>
3013 </xccdf:check>
3014 </xccdf:Rule>
3015 </xccdf:Group>
3016 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.4">
3017 <xccdf:title xml:lang="en">Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3018 <xccdf:description xml:lang="en">
3019 Using /etc/passwd, obtain a listing of all users, their UIDs,
3020 and their shells, for instance by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3022 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '{print $1 ":" $3 ":" $7}' /etc/passwd<xhtml:br/></xhtml:code>
3023 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3024 Identify the system accounts from this listing. These will primarily be the accounts
3025 with UID numbers less than 500, other than root.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3026 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3027 For each identified system account SYSACCT , lock the account: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3029 <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"/>
3030 and disable its shell: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3031 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3032 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># usermod -s /sbin/nologin SYSACCT <xhtml:br/></xhtml:code>
3033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3034 These are the accounts which are
3035 not associated with a human user of the system, but which exist to perform some
3036 administrative function. Make it more difficult for an attacker to use these accounts by
3037 locking their passwords and by setting their shells to some non-valid shell. The Fedora
3038 default non-valid shell is /sbin/nologin, but any command which will exit with a failure
3039 status and disallow execution of any further commands, such as /bin/false or /dev/null,
3040 will work.</xccdf:description>
3041 <xccdf:warning category="functionality" xml:lang="en">Do not perform the steps in this section on the root account.
3042 Doing so might cause the system to become inaccessible.</xccdf:warning>
3043 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false" severity="medium" weight="10.0">
3044 <xccdf:title>Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3045 <xccdf:description>Login access to non-root system accounts should be disabled</xccdf:description>
3046 <xccdf:ident system="http://cce.mitre.org">CCE-3987-5</xccdf:ident>
3047 <xccdf:fixtext>Edit /etc/passwd</xccdf:fixtext>
3048 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3049 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20068"/>
3050 </xccdf:check>
3051 </xccdf:Rule>
3052 </xccdf:Group>
3053 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5">
3054 <xccdf:title xml:lang="en">Verify Proper Storage and Existence of Password Hashes</xccdf:title>
3055 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.1">
3056 <xccdf:title xml:lang="en">Verify that No Accounts Have Empty Password Fields</xccdf:title>
3057 <xccdf:description xml:lang="en">
3058 Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3059 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3060 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 == "") {print}' /etc/shadow <xhtml:br/></xhtml:code>
3061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3062 If this produces any output, fix the problem by locking each account
3063 (see Section 2.3.1.4 above) or by setting a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3065 If an account has an empty password, anybody may log in and run commands with the
3066 privileges of that account. Accounts with empty passwords should never be used in
3067 operational environments.</xccdf:description>
3068 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="false" severity="medium" weight="10.0">
3069 <xccdf:title>Verify that No Accounts Have Empty Password Fields</xccdf:title>
3070 <xccdf:description>Login access to accounts without passwords should be disabled</xccdf:description>
3071 <xccdf:ident system="http://cce.mitre.org">CCE-4238-2</xccdf:ident>
3072 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3073 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20069"/>
3074 </xccdf:check>
3075 </xccdf:Rule>
3076 </xccdf:Group>
3077 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.2">
3078 <xccdf:title xml:lang="en">Verify that All Account Password Hashes are Shadowed</xccdf:title>
3079 <xccdf:description xml:lang="en">
3080 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"/>
3081 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3082 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 != "x") {print}' /etc/passwd<xhtml:br/></xhtml:code>
3083 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3084 The hashes for all user account passwords should be stored in the file /etc/shadow and never in /etc/passwd,
3085 which is readable by all users.
3086 </xccdf:description>
3087 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="false" severity="medium" weight="10.0">
3088 <xccdf:title>Verify that All Account Password Hashes are Shadowed</xccdf:title>
3089 <xccdf:description>Check that passwords are shadowed</xccdf:description>
3090 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3091 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200695"/>
3092 </xccdf:check>
3093 </xccdf:Rule>
3094 </xccdf:Group>
3095 </xccdf:Group>
3096 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.6">
3097 <xccdf:title xml:lang="en">Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3098 <xccdf:description xml:lang="en">
3099 This command will print all password file entries for accounts
3100 with UID 0: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3101 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3102 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($3 == "0") {print}' /etc/passwd <xhtml:br/></xhtml:code>
3103 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3104 This should print only one line, for the user root. If any other lines appear, ensure
3105 that these additional UID-0 accounts are authorized, and that there is a good reason for
3106 them to exist. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3108 In general, the best practice solution for auditing use of the root account is to restrict
3109 the set of cases in which root must be accessed anonymously by requiring use of su or sudo
3110 in almost all cases. Some sites choose to have more than one account with UID 0 in order
3111 to differentiate between administrators, but this practice may have unexpected side
3112 effects, and is therefore not recommended.</xccdf:description>
3113 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.6.a" selected="false" severity="medium" weight="10.0">
3114 <xccdf:title>Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3115 <xccdf:description>Anonymous root logins should be disabled</xccdf:description>
3116 <xccdf:ident system="http://cce.mitre.org">CCE-4009-7</xccdf:ident>
3117 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3118 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20070"/>
3119 </xccdf:check>
3120 </xccdf:Rule>
3121 </xccdf:Group>
3122 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.7">
3123 <xccdf:title xml:lang="en">Set Password Expiration Parameters</xccdf:title>
3124 <xccdf:description xml:lang="en">
3125 Edit the file /etc/login.defs to specify password expiration
3126 settings for new accounts. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3127 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
3128 PASS_MAX_DAYS=180<xhtml:br/>
3129 PASS_MIN_DAYS=7 <xhtml:br/>
3130 PASS_MIN_LEN=8 <xhtml:br/>
3131 PASS_WARN_AGE=7 <xhtml:br/></xhtml:code>
3132 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3133 For each existing human user USER , modify the current expiration settings to match
3134 these: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3135 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chage -M 180 -m 7 -W 7 USER<xhtml:br/></xhtml:code>
3136 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3137 Users should be forced to change their passwords, in order to decrease the utility of
3138 compromised passwords. However, the need to change passwords often should be balanced
3139 against the risk that users will reuse or write down passwords if forced to change them
3140 too often. Forcing password changes every 90-360 days, depending on the environment, is
3141 recommended. Set the appropriate value as PASS_MAX_DAYS and apply it to existing
3142 accounts with the -M flag. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3143 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3144 The PASS_MIN_DAYS (-m) setting prevents password changes for 7 days after the first
3145 change, to discourage password cycling. If you use this setting, train users to contact
3146 an administrator for an emergency password change in case a new password becomes
3147 compromised. The PASS_WARN_AGE (-W) setting gives users 7 days of warnings at login time
3148 that their passwords are about to expire.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3149 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3150 The PASS_MIN_LEN setting, which controls minimum password length, should be set to
3151 whatever is required by your site or organization security policy. The example value of
3152 8 provided here may be inadequate for many environments. See Section 2.3.3 for
3153 information on how to enforce more sophisticated requirements on password length and
3154 quality
3155 </xccdf:description>
3156 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.a" operator="equals" type="string">
3157 <xccdf:title xml:lang="en">minimum password length</xccdf:title>
3158 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3159 <xccdf:warning>This will only check new passwords</xccdf:warning>
3160 <xccdf:question xml:lang="en">Select minimum number of characters in password</xccdf:question>
3161 <xccdf:value>14</xccdf:value>
3162 <xccdf:value selector="5">5</xccdf:value>
3163 <xccdf:value selector="6">6</xccdf:value>
3164 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3165 <xccdf:value selector="8">8</xccdf:value>
3166 <xccdf:value selector="10">10</xccdf:value>
3167 <xccdf:value selector="14">14</xccdf:value>
3168 <xccdf:match>^[\d]+$</xccdf:match>
3169 </xccdf:Value>
3170 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.b" operator="equals" type="string">
3171 <xccdf:title>minimum password age</xccdf:title>
3172 <xccdf:description xml:lang="en">Enter minimum duration before allowing a password change</xccdf:description>
3173 <xccdf:question xml:lang="en">Select minimum duration (in days) before allowing a password change</xccdf:question>
3174 <xccdf:value>1</xccdf:value>
3175 <xccdf:value selector="1_day">1</xccdf:value>
3176 <xccdf:value selector="7_days">7</xccdf:value>
3177 <xccdf:match>^[\d]+$</xccdf:match>
3178 </xccdf:Value>
3179 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.c" operator="equals" type="string">
3180 <xccdf:title>maximum password age</xccdf:title>
3181 <xccdf:description xml:lang="en">Enter age before which a password must be changed</xccdf:description>
3182 <xccdf:question xml:lang="en">Select age (in days) before which a password must be changed</xccdf:question>
3183 <xccdf:value>60</xccdf:value>
3184 <xccdf:value selector="0_days">0</xccdf:value>
3185 <xccdf:value selector="30_days">30</xccdf:value>
3186 <xccdf:value selector="60_days">60</xccdf:value>
3187 <xccdf:value selector="90_days">90</xccdf:value>
3188 <xccdf:value selector="120_days">120</xccdf:value>
3189 <xccdf:value selector="150_days">150</xccdf:value>
3190 <xccdf:value selector="180_days">180</xccdf:value>
3191 <xccdf:match>^[\d]+$</xccdf:match>
3192 </xccdf:Value>
3193 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.d" operator="equals" type="string">
3194 <xccdf:title>password warn age</xccdf:title>
3195 <xccdf:description xml:lang="en">
3196 The number of days warning given before a password expires. A zero
3197 means warning is given only upon the day of expiration, a negative
3198 value means no warning is given. If not specified, no warning will
3199 be provided.</xccdf:description>
3200 <xccdf:question xml:lang="en">Select number of days warning is given before a password expires</xccdf:question>
3201 <xccdf:value>14</xccdf:value>
3202 <xccdf:value selector="7_days">7</xccdf:value>
3203 <xccdf:value selector="8_days">8</xccdf:value>
3204 <xccdf:value selector="14_days">14</xccdf:value>
3205 <xccdf:match>^[\d]+$</xccdf:match>
3206 </xccdf:Value>
3207 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.a" selected="false" severity="medium" weight="10.0">
3208 <xccdf:title>Set password minimum length</xccdf:title>
3209 <xccdf:description xml:lang="en">The password minimum length should be set to:
3210 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.a"/></xccdf:description>
3211 <xccdf:ident system="http://cce.mitre.org">CCE-4154-1</xccdf:ident>
3212 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3213 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20071" value-id="xccdf_cdf_value_var-2.3.1.7.a"/>
3214 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20071"/>
3215 </xccdf:check>
3216 </xccdf:Rule>
3217 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false" severity="medium" weight="10.0">
3218 <xccdf:title>Set minimum password age</xccdf:title>
3219 <xccdf:description>The minimum password age should be set to:
3220 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.b"/></xccdf:description>
3221 <xccdf:ident system="http://cce.mitre.org">CCE-4180-6</xccdf:ident>
3222 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3223 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20072" value-id="xccdf_cdf_value_var-2.3.1.7.b"/>
3224 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20072"/>
3225 </xccdf:check>
3226 </xccdf:Rule>
3227 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false" severity="medium" weight="10.0">
3228 <xccdf:title>Set maximum password age</xccdf:title>
3229 <xccdf:description>The maximum password age should be set to:
3230 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.c"/></xccdf:description>
3231 <xccdf:ident system="http://cce.mitre.org">CCE-4092-3</xccdf:ident>
3232 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3233 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20073" value-id="xccdf_cdf_value_var-2.3.1.7.c"/>
3234 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20073"/>
3235 </xccdf:check>
3236 </xccdf:Rule>
3237 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.d" selected="false" severity="medium" weight="10.0">
3238 <xccdf:title>Set password warn age</xccdf:title>
3239 <xccdf:description>The password warn age should be set to:
3240 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.d"/></xccdf:description>
3241 <xccdf:ident system="http://cce.mitre.org">CCE-4097-2</xccdf:ident>
3242 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3243 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20074" value-id="xccdf_cdf_value_var-2.3.1.7.d"/>
3244 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20074"/>
3245 </xccdf:check>
3246 </xccdf:Rule>
3247 </xccdf:Group>
3248 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.8">
3249 <xccdf:title xml:lang="en">Remove Legacy + Entries from Password Files</xccdf:title>
3250 <xccdf:description xml:lang="en">
3251 The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3252 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3253 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep "^+:" /etc/passwd /etc/shadow /etc/group<xhtml:br/></xhtml:code>
3254 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3255 should produce no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3256 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3257 The + symbol was used by systems to include data from NIS maps
3258 into existing files. However, a certain configuration error in which a NIS inclusion
3259 line appears in /etc/passwd, but NIS is not running, could lead to anyone being able to
3260 access the system with the username + and no password. Therefore, it is important to
3261 verify that no such line appears in any of the relevant system files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3262 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3263 The correct way to
3264 tell the local system to consult network databases such as LDAP or NIS for user
3265 information is to make appropriate modifications to /etc/nsswitch.conf.</xccdf:description>
3266 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false" severity="medium" weight="10.0">
3267 <xccdf:title>Remove Legacy + Entries from /etc/shadow</xccdf:title>
3268 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/shadow file</xccdf:description>
3269 <xccdf:fixtext>(1) via /etc/shadow</xccdf:fixtext>
3270 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3271 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20075"/>
3272 </xccdf:check>
3273 </xccdf:Rule>
3274 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false" severity="medium" weight="10.0">
3275 <xccdf:title>Remove Legacy + Entries from /etc/group</xccdf:title>
3276 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/group file</xccdf:description>
3277 <xccdf:fixtext>(1) via /etc/group</xccdf:fixtext>
3278 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3279 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20076"/>
3280 </xccdf:check>
3281 </xccdf:Rule>
3282 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false" severity="medium" weight="10.0">
3283 <xccdf:title>Remove Legacy + Entries from /etc/passwd</xccdf:title>
3284 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/passwd file</xccdf:description>
3285 <xccdf:ident system="http://cce.mitre.org">CCE-4114-5</xccdf:ident>
3286 <xccdf:fixtext>(1) via /etc/passwd</xccdf:fixtext>
3287 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3288 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20077"/>
3289 </xccdf:check>
3290 </xccdf:Rule>
3291 </xccdf:Group>
3292 </xccdf:Group>
3293 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2">
3294 <xccdf:title xml:lang="en">Use Unix Groups to Enhance Security</xccdf:title>
3295 <xccdf:description xml:lang="en">
3296 The access control policies which can be enforced by standard
3297 Unix permissions are limited, and configuring SELinux (Section 2.4) is frequently a better
3298 choice. However, this guide recommends that security be enhanced to the extent possible by
3299 enforcing the Unix group policies outlined in this section.</xccdf:description>
3300 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.1" weight="1.0">
3301 <xccdf:title xml:lang="en">Create a Unique Default Group for Each User</xccdf:title>
3302 <xccdf:description xml:lang="en">
3303 When running useradd, do not use the -g flag or otherwise
3304 override the default group. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3306 The Red Hat default is that each new user account should
3307 have a unique primary group whose name is the same as that of the account. This default
3308 is recommended, in order to provide additional protection against files which are
3309 created with group write permission enabled.</xccdf:description>
3310 </xccdf:Group>
3311 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.2">
3312 <xccdf:title xml:lang="en">Create and Maintain a Group Containing All Human Users</xccdf:title>
3313 <xccdf:description xml:lang="en">
3314 Identify all user accounts on the system which correspond to
3315 human users. Depending on your system configuration, this may be all entries in
3316 /etc/passwd with UID values of at least 500. Once, you have identified such a set of
3317 users, create a group named usergroup (substitute some name appropriate to your
3318 environment) and populate it with each human user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3319 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3320 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># groupadd usergroup <xhtml:br/>
3321 # usermod -G usergroup human1 <xhtml:br/>
3322 # usermod -G usergroup human2 ... <xhtml:br/>
3323 # usermod -G usergroup humanN <xhtml:br/></xhtml:code>
3324 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3325 Then modify your procedure for creating new user accounts by adding -G usergroup to the
3326 set of flags with which useradd is invoked, so that new human users will be placed in
3327 the correct group by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3328 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3329 Creating a group of human users does not, by itself, enhance
3330 system security. However, as you work on securing your system, you will often find
3331 commands which never need to be run by system accounts, or which are only ever needed by
3332 users logged into the graphical console (which should only ever be available to human
3333 users, even on workstations). Once a group of users has been created, it is easy to
3334 restrict access to a given command, for instance /path/to/graphical/command , to
3335 authorized users: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3337 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /path/to/graphical/command <xhtml:br/>
3338 # chmod 750 /path/graphical/command <xhtml:br/></xhtml:code>
3339 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3340 Without a group of human users, it is necessary to restrict
3341 access by somehow preventing each system account from running the command, which is an
3342 error-prone process even when it is possible at all.</xccdf:description>
3343 </xccdf:Group>
3344 </xccdf:Group>
3345 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3">
3346 <xccdf:title xml:lang="en">Protect Accounts by Configuring PAM</xccdf:title>
3347 <xccdf:description xml:lang="en">
3348 PAM, or Pluggable Authentication Modules, is a system which
3349 implements modular authentication for Linux programs. PAM is well-integrated into Linux's
3350 authentication architecture, making it difficult to remove, but it can be configured to
3351 minimize your system's exposure to unnecessary risk. This section contains guidance on how
3352 to accomplish that, and how to ensure that the modules used by your PAM configuration do
3353 what they are supposed to do. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3354 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3355 PAM is implemented as a set of shared objects which are
3356 loaded and invoked whenever an application wishes to authenticate a user. Typically, the
3357 application must be running as root in order to take advantage of PAM. Traditional
3358 privileged network listeners (e.g. sshd) or SUID programs (e.g. sudo) already meet this
3359 requirement. An SUID root application, userhelper, is provided so that programs which are
3360 not SUID or privileged themselves can still take advantage of PAM. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3362 PAM looks in the
3363 directory /etc/pam.d for application-specific configuration information. For instance, if
3364 the program login attempts to authenticate a user, then PAM's libraries follow the
3365 instructions in the file /etc/ pam.d/login to determine what actions should be taken.
3366 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>One
3368 very important file in /etc/pam.d is /etc/pam.d/system-auth. This file, which is included
3369 by many other PAM configuration files, defines 'default' system authentication measures.
3370 Modifying this file is a good way to make far-reaching authentication changes, for
3371 instance when implementing a centralized authentication service.
3372 </xccdf:description>
3373 <xccdf:warning xml:lang="en">
3374 Be careful when making changes to PAM's configuration files. The syntax for these files
3375 is complex, and modifications can have unexpected consequences.1 The default
3376 configurations shipped with applications should be sufficient for most users.
3377 </xccdf:warning>
3378 <xccdf:warning xml:lang="en">
3379 Running authconfig or system-config-authentication will re-write the PAM configuration
3380 files, destroying any manually made changes and replacing them with a series of system
3381 defaults. 1One reference to the configuration file syntax can be found at
3382 http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/ sag-configuration-file.html.
3383 </xccdf:warning>
3384 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1">
3385 <xccdf:title xml:lang="en">Set Password Quality Requirements</xccdf:title>
3386 <xccdf:description xml:lang="en">
3387 The default pam_cracklib PAM module provides strength checking
3388 for passwords. It performs a number of checks, such as making sure passwords are not
3389 similar to dictionary words, are of at least a certain length, are not the previous
3390 password reversed, and are not simply a change of case from the previous password. It
3391 can also require passwords to be in certain character classes.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3392 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3393 The pam_passwdqc PAM module provides the ability to enforce even more stringent
3394 password strength requirements. It is provided in an RPM of the same name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3395 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3396 The man pages pam_cracklib(8) and pam_passwdqc(8) provide information on the
3397 capabilities and configuration of each.
3398 </xccdf:description>
3399 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.1">
3400 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_cracklib</xccdf:title>
3401 <xccdf:description xml:lang="en">
3402 The pam_cracklib PAM module can be configured to meet
3403 recommendations for DoD systems as stated in [12].<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3404 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3405 To configure pam_cracklib to require at least one uppercase character, lowercase
3406 character, digit, and other (special) character, locate the following line in
3407 /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3408 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3409 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3410 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3411 and then alter it to read:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3412 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3413 password required pam_cracklib.so try_first_pass retry=3 minlen=14 dcredit=-1 /
3414 ucredit=-1 ocredit=-1 lcredit=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3416 If necessary, modify the arguments to ensure compliance with your organization’s
3417 security policy.
3418 </xccdf:description>
3419 <xccdf:warning xml:lang="en">Note that the password quality requirements are not enforced
3420 for the root account for some reason.
3421 </xccdf:warning>
3422 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.retry">
3423 <xccdf:title xml:lang="en">retry</xccdf:title>
3424 <xccdf:description xml:lang="en">Number of retry attempts before erroring out</xccdf:description>
3425 <xccdf:question xml:lang="en">Select number of password retry attempts before erroring out</xccdf:question>
3426 <xccdf:value>3</xccdf:value>
3427 <xccdf:value selector="1">1</xccdf:value>
3428 <xccdf:value selector="2">2</xccdf:value>
3429 <xccdf:value selector="3">3</xccdf:value>
3430 <xccdf:match>^[\d]+$</xccdf:match>
3431 </xccdf:Value>
3432 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.difok">
3433 <xccdf:title xml:lang="en">difok</xccdf:title>
3434 <xccdf:description xml:lang="en">Mininum number of characters not present in old password</xccdf:description>
3435 <xccdf:warning xml:lang="en">Keep this high for short passwords</xccdf:warning>
3436 <xccdf:question xml:lang="en">Select minimum number of characters not present in old password</xccdf:question>
3437 <xccdf:value>5</xccdf:value>
3438 <xccdf:value selector="2">2</xccdf:value>
3439 <xccdf:value selector="3">3</xccdf:value>
3440 <xccdf:value selector="4">4</xccdf:value>
3441 <xccdf:value selector="5">5</xccdf:value>
3442 <xccdf:match>^[\d]+$</xccdf:match>
3443 </xccdf:Value>
3444 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.minlen">
3445 <xccdf:title xml:lang="en">minlen</xccdf:title>
3446 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3447 <xccdf:question xml:lang="en">Select minimum number of characters in pasword</xccdf:question>
3448 <xccdf:value>14</xccdf:value>
3449 <xccdf:value selector="6">6</xccdf:value>
3450 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3451 <xccdf:value selector="8">8</xccdf:value>
3452 <xccdf:value selector="10">10</xccdf:value>
3453 <xccdf:value selector="14">14</xccdf:value>
3454 <xccdf:value selector="15">15</xccdf:value>
3455 <xccdf:match>^[\d]+$</xccdf:match>
3456 </xccdf:Value>
3457 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit">
3458 <xccdf:title xml:lang="en">dcredit</xccdf:title>
3459 <xccdf:description xml:lang="en">Mininum number of digits in password</xccdf:description>
3460 <xccdf:question xml:lang="en">Select number of digits in password</xccdf:question>
3461 <xccdf:value>-2</xccdf:value>
3462 <xccdf:value selector="2">-2</xccdf:value>
3463 <xccdf:value selector="1">-1</xccdf:value>
3464 <xccdf:value selector="0">0</xccdf:value>
3465 <xccdf:match>^-?[\d]+$</xccdf:match>
3466 </xccdf:Value>
3467 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit">
3468 <xccdf:title xml:lang="en">ocredit</xccdf:title>
3469 <xccdf:description xml:lang="en">Mininum number of other (special characters) in password</xccdf:description>
3470 <xccdf:question xml:lang="en">Select number of special characters in password</xccdf:question>
3471 <xccdf:value>-2</xccdf:value>
3472 <xccdf:value selector="2">-2</xccdf:value>
3473 <xccdf:value selector="1">-1</xccdf:value>
3474 <xccdf:value selector="0">0</xccdf:value>
3475 <xccdf:match>^-?[\d]+$</xccdf:match>
3476 </xccdf:Value>
3477 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit">
3478 <xccdf:title xml:lang="en">lcredit</xccdf:title>
3479 <xccdf:description xml:lang="en">Mininum number of lower case in password</xccdf:description>
3480 <xccdf:question xml:lang="en">Select minimum number of lower case in password</xccdf:question>
3481 <xccdf:value>-2</xccdf:value>
3482 <xccdf:value selector="2">-2</xccdf:value>
3483 <xccdf:value selector="1">-1</xccdf:value>
3484 <xccdf:value selector="0">0</xccdf:value>
3485 <xccdf:match>^-?[\d]+$</xccdf:match>
3486 </xccdf:Value>
3487 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit">
3488 <xccdf:title xml:lang="en">ucredit</xccdf:title>
3489 <xccdf:description xml:lang="en">Mininum number of upper case in password</xccdf:description>
3490 <xccdf:question xml:lang="en">Select minimum number of upper case in password</xccdf:question>
3491 <xccdf:value>-2</xccdf:value>
3492 <xccdf:value selector="2">-2</xccdf:value>
3493 <xccdf:value selector="1">-1</xccdf:value>
3494 <xccdf:value selector="0">0</xccdf:value>
3495 <xccdf:match>^-?[\d]+$</xccdf:match>
3496 </xccdf:Value>
3497 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false" severity="medium" weight="10.0">
3498 <xccdf:title>Set Password Quality Requirements</xccdf:title>
3499 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3500 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3501 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3502 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3503 <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"/>
3504 <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"/>
3505 <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"/>
3506 <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"/>
3507 <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"/>
3508 <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"/>
3509 <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"/>
3510 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20078"/>
3511 <!-- TBD -->
3512 </xccdf:check>
3513 </xccdf:Rule>
3514 </xccdf:Group>
3515 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.2">
3516 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_passwdqc</xccdf:title>
3517 <xccdf:description xml:lang="en">
3518 If password strength stronger than that guaranteed by
3519 pam_cracklib is required, configure PAM to use pam_passwdqc.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3521 To activate pam_passwdqc, locate the following line in /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3522 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3523 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3524 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3525 and then replace it with the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3526 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3527 password requisite pam_passwdqc.so min=disabled,disabled,16,12,8<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3528 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3529 If necessary, modify the arguments (min=disabled,disabled,16,12,8) to ensure
3530 compliance with your organization’s security policy. Configuration options are
3531 described in the man page pam_passwdqc(8) and also in /usr/share/doc/pam_passwdqc-version.
3532 The minimum lengths provided here supercede that specified
3533 by the argument PASS MIN LEN as described in Section 2.3.1.7.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3534 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3535 The options given in the example above set a minimum length for each of the
3536 password “classes” that pam_passwdqc recognizes. Setting a particular minimum
3537 value to disabled will stop users from choosing a password that falls into
3538 that category alone.
3539 </xccdf:description>
3540 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N0">
3541 <!-- TODO -->
3542 <xccdf:title xml:lang="en">N0</xccdf:title>
3543 <xccdf:description xml:lang="en">
3544 N0 is used for passwords consisting of characters
3545 from one character class only. The character classes are: digits,
3546 lower-case letters, upper-case letters, and other characters. There is
3547 also a special class for non-ASCII characters which could not be
3548 classified, but are assumed to be non-digits. </xccdf:description>
3549 <xccdf:value>24</xccdf:value>
3550 <xccdf:value selector="disabled">disabled</xccdf:value>
3551 <xccdf:value selector="24">24</xccdf:value>
3552 <xccdf:value selector="30">30</xccdf:value>
3553 </xccdf:Value>
3554 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N1">
3555 <!-- TODO -->
3556 <xccdf:title xml:lang="en">N1</xccdf:title>
3557 <xccdf:description xml:lang="en">
3558 N1 is used for passwords consisting of characters
3559 from two character classes which do not meet the requirements for a
3560 passphrase.</xccdf:description>
3561 <xccdf:value>16</xccdf:value>
3562 <xccdf:value selector="disabled">disabled</xccdf:value>
3563 <xccdf:value selector="18">18</xccdf:value>
3564 <xccdf:value selector="24">24</xccdf:value>
3565 </xccdf:Value>
3566 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N2">
3567 <!-- TODO -->
3568 <xccdf:title xml:lang="en">N2</xccdf:title>
3569 <xccdf:description xml:lang="en">
3570 N2 is used for passphrases. Note that besides
3571 meeting this length requirement, a passphrase must also consist of a
3572 sufficient number of words (see the "passphrase" option below). </xccdf:description>
3573 <xccdf:value>16</xccdf:value>
3574 <xccdf:value selector="disabled">disabled</xccdf:value>
3575 <xccdf:value selector="16">16</xccdf:value>
3576 <xccdf:value selector="17">17</xccdf:value>
3577 <xccdf:value selector="18">18</xccdf:value>
3578 </xccdf:Value>
3579 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N3">
3580 <!-- TODO -->
3581 <xccdf:title xml:lang="en">N3</xccdf:title>
3582 <xccdf:description xml:lang="en">N3 is the number of characters required for a password that uses characters from 3 character classes.</xccdf:description>
3583 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 3 character classes</xccdf:question>
3584 <xccdf:value>16</xccdf:value>
3585 <xccdf:value selector="disabled">disabled</xccdf:value>
3586 <xccdf:value selector="14">14</xccdf:value>
3587 <xccdf:value selector="15">15</xccdf:value>
3588 <xccdf:value selector="16">16</xccdf:value>
3589 </xccdf:Value>
3590 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N4">
3591 <!-- TODO -->
3592 <xccdf:title xml:lang="en">N4</xccdf:title>
3593 <xccdf:description xml:lang="en">N4 is the number of characters required for a password that uses characters from 4 character classes.</xccdf:description>
3594 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 4 character classes</xccdf:question>
3595 <xccdf:value>14</xccdf:value>
3596 <xccdf:value selector="10">10</xccdf:value>
3597 <xccdf:value selector="12">12</xccdf:value>
3598 <xccdf:value selector="14">14</xccdf:value>
3599 </xccdf:Value>
3600 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.passphrase">
3601 <!-- TODO -->
3602 <xccdf:title xml:lang="en">passphrase</xccdf:title>
3603 <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>
3604 <xccdf:question xml:lang="en">Select the number of words required for a passphrase</xccdf:question>
3605 <xccdf:value>3</xccdf:value>
3606 <xccdf:value selector="disabled">0</xccdf:value>
3607 <xccdf:value selector="3">3</xccdf:value>
3608 <xccdf:value selector="5">5</xccdf:value>
3609 <xccdf:match>^[\d]+$</xccdf:match>
3610 </xccdf:Value>
3611 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.match">
3612 <!-- TODO -->
3613 <xccdf:title xml:lang="en">match</xccdf:title>
3614 <xccdf:description xml:lang="en">
3615 The length of common substring required to
3616 conclude that a password is at least partially based on information
3617 found in a character string, or 0 to disable the substring search.
3618 Note that the password will not be rejected once a weak substring is
3619 found; it will instead be subjected to the usual strength requirements
3620 with the weak substring removed.</xccdf:description>
3621 <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>
3622 <xccdf:value>5</xccdf:value>
3623 <xccdf:value selector="disable">0</xccdf:value>
3624 <xccdf:value selector="3">3</xccdf:value>
3625 <xccdf:value selector="4">4</xccdf:value>
3626 <xccdf:value selector="5">5</xccdf:value>
3627 <xccdf:match>^[\d]+$</xccdf:match>
3628 </xccdf:Value>
3629 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.retry">
3630 <!-- TODO -->
3631 <xccdf:title xml:lang="en">retry</xccdf:title>
3632 <xccdf:description xml:lang="en">
3633 The number of times the module will ask for a
3634 new password if the user fails to provide a sufficiently strong
3635 password and enter it twice the first time. </xccdf:description>
3636 <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>
3637 <xccdf:value>3</xccdf:value>
3638 <xccdf:value selector="2">2</xccdf:value>
3639 <xccdf:value selector="3">3</xccdf:value>
3640 <xccdf:value selector="4">4</xccdf:value>
3641 <xccdf:match>^[\d]+$</xccdf:match>
3642 </xccdf:Value>
3643 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false" weight="10.0">
3644 <xccdf:title>Set Password Quality Requirements using pam_passwdqc</xccdf:title>
3645 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3646 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3647 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3648 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3649 <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"/>
3650 <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"/>
3651 <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"/>
3652 <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"/>
3653 <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"/>
3654 <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"/>
3655 <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"/>
3656 <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"/>
3657 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20079"/>
3658 </xccdf:check>
3659 </xccdf:Rule>
3660 </xccdf:Group>
3661 </xccdf:Group>
3662 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.2">
3663 <xccdf:title xml:lang="en">Set Lockouts for Failed Password Attempts</xccdf:title>
3664 <xccdf:description xml:lang="en">
3665 The pam_tally2 PAM module provides the capability to lock out
3666 user accounts after a number of failed login attempts. Its documentation is available in
3667 /usr/share/doc/pam-version/txts/README.pam_tally2. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3668 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3669 If locking out accounts after a number of incorrect login attempts is required by your
3670 security policy, implement use of pam_tally2.so for the relevant PAM-aware programs
3671 such as login, sshd, and vsftpd. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3672 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3673 Find the following line in /etc/pam.d/system-auth: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3674 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3675 auth sufficient pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3676 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3677 and then change it so that it reads as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3678 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3679 auth required pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3680 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3681 In the same file, comment out or delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3683 auth requisite pam_succeed_if.so uid &gt;= 500 quiet <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3684 auth required pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3685 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3686 To enforce password lockout, add the following to the individual programs'
3687 configuration files in /etc/pam.d. First, add to end of the auth lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3688 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3689 auth required pam_tally2.so deny=5 onerr=fail <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3690 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3691 Second, add to the end of the account lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3692 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3693 account required pam_tally2.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3694 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3695 Adjust the deny argument to conform to your system security policy. The pam_tally2
3696 utility can be used to unlock user accounts as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3697 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3698 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /sbin/pam_tally2 --user username --reset <xhtml:br/></xhtml:code>
3699 </xccdf:description>
3700 <xccdf:warning xml:lang="en">
3701 Locking out user accounts presents the risk of a denial-of-service attack. The security
3702 policy regarding system lockout must weigh whether the risk of such a denial-of-service
3703 attack outweighs the benefits of thwarting password guessing attacks. The pam_tally2
3704 utility can be run from a cron job on a hourly or daily basis to try and offset this
3705 risk.
3706 </xccdf:warning>
3707 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.deny">
3708 <!-- TODO -->
3709 <xccdf:title xml:lang="en">deny</xccdf:title>
3710 <xccdf:description xml:lang="en">Deny access if tally for this user exceeds n.</xccdf:description>
3711 <xccdf:value>3</xccdf:value>
3712 <xccdf:value selector="1">1</xccdf:value>
3713 <xccdf:value selector="3">3</xccdf:value>
3714 <xccdf:value selector="5">5</xccdf:value>
3715 <xccdf:value selector="10">10</xccdf:value>
3716 <xccdf:match>^[\d]+$</xccdf:match>
3717 </xccdf:Value>
3718 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.lock_time">
3719 <xccdf:title xml:lang="en">lock_time</xccdf:title>
3720 <xccdf:description xml:lang="en">Always deny for n seconds after failed attempt.</xccdf:description>
3721 <xccdf:value>5</xccdf:value>
3722 <xccdf:value selector="1">1</xccdf:value>
3723 <xccdf:value selector="3">3</xccdf:value>
3724 <xccdf:value selector="5">5</xccdf:value>
3725 <xccdf:value selector="10">10</xccdf:value>
3726 <xccdf:match>^[\d]+$</xccdf:match>
3727 </xccdf:Value>
3728 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.unlock_time">
3729 <xccdf:title xml:lang="en">unlock_time</xccdf:title>
3730 <xccdf:description xml:lang="en">
3731 Allow access after n seconds after failed attempt. If this
3732 option is used the user will be locked out for the specified amount of time after
3733 he exceeded his maximum allowed attempts. Otherwise the account is locked until the
3734 lock is removed by a manual intervention of the system administrator.</xccdf:description>
3735 <xccdf:question xml:lang="en">Select time (in seconds) user will be locked out after he exceeded his maximum allowed attempts</xccdf:question>
3736 <xccdf:value>0</xccdf:value>
3737 <xccdf:value selector="none">1</xccdf:value>
3738 <xccdf:value selector="15_minutes">900</xccdf:value>
3739 <xccdf:value selector="30_minutes">1800</xccdf:value>
3740 <xccdf:value selector="1_hour">3600</xccdf:value>
3741 <xccdf:match>^[\d]+$</xccdf:match>
3742 </xccdf:Value>
3743 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false" severity="medium" weight="10.0">
3744 <xccdf:title>Set Lockouts for Failed Password Attempts</xccdf:title>
3745 <xccdf:description>The "account lockout threshold" policy should meet minimum requirements.</xccdf:description>
3746 <xccdf:ident system="http://cce.mitre.org">CCE-3410-8</xccdf:ident>
3747 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3748 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3749 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200801" value-id="xccdf_cdf_value_var-2.3.3.2.a.deny"/>
3750 <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"/>
3751 <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"/>
3752 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20080"/>
3753 <!-- TBD -->
3754 </xccdf:check>
3755 </xccdf:Rule>
3756 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false" weight="10.0">
3757 <xccdf:title>Do not leak information on authorization failure</xccdf:title>
3758 <xccdf:description>Authorization failures should not alert attackers as to what went wrong.</xccdf:description>
3759 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3760 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3761 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200805"/>
3762 <!-- TBD -->
3763 </xccdf:check>
3764 </xccdf:Rule>
3765 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.c" selected="false" severity="medium" weight="10.0">
3766 <xccdf:title>Do not log authorization failures and successes</xccdf:title>
3767 <xccdf:description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</xccdf:description>
3768 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3769 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3770 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200806"/>
3771 <!-- TBD -->
3772 </xccdf:check>
3773 </xccdf:Rule>
3774 </xccdf:Group>
3775 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.3">
3776 <xccdf:title xml:lang="en">Use pam_deny.so to Quickly Deny Access to a Service</xccdf:title>
3777 <xccdf:description xml:lang="en">
3778 In order to deny access to a service SVCNAME via PAM, edit the
3779 file /etc/pam.d/SVCNAME . Prepend this line to the beginning of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3780 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3781 auth requisite pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3782 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3783 Under most circumstances, there are better ways to disable a service than to
3784 deny access via PAM. However, this should suffice as a way to quickly make a service
3785 unavailable to future users (existing sessions which have already been authenticated,
3786 are not affected). The requisite tag tells PAM that, if the named module returns
3787 failure, authentication should fail, and PAM should immediately stop processing the
3788 configuration file. The pam_deny.so module always returns failure regardless of its
3789 input.</xccdf:description>
3790 </xccdf:Group>
3791 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.4">
3792 <xccdf:title xml:lang="en">Restrict Execution of userhelper to Console Users</xccdf:title>
3793 <xccdf:description xml:lang="en">
3794 If your environment has defined a group, usergroup containing
3795 all the human users of your system, restrict execution of the userhelper program to only
3796 that group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3798 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /usr/sbin/userhelper <xhtml:br/>
3799 # chmod 4710 /usr/sbin/userhelper <xhtml:br/></xhtml:code>
3800 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3801 The userhelper program provides authentication for graphical services which must run
3802 with root privileges, such as the system-config- family of graphical configuration
3803 utilities. Only human users logged into the system console are likely to ever have a
3804 legitimate need to run these utilities. This step provides some protection against
3805 possible flaws in userhelper's implementation, and against further privilege escalation
3806 when system accounts are compromised. See Section 2.3.2.2 for more information on
3807 creating a group of human users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3808 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3809 The userhelper program is configured by the files in /etc/security/console.apps/. Each
3810 file specifies, for some program, what user the program should run as, and what program
3811 should be executed after successful authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3812 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3813 Note: The configuration in /etc/security/console.apps/ is applied in
3814 combination with the PAM configuration of the service defined in /etc/pam.d/. First,
3815 userhelper determines what user the service should run as. (Typically, this will be
3816 root.) Next, userhelper uses the PAM API to allow the user who ran the program to
3817 attempt to authenticate as the desired user. The PAM API exchange is wrapped in a GUI if
3818 the application's configuration requests one.</xccdf:description>
3819 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.a" operator="equals" type="string">
3820 <xccdf:title>Name of group containing human users</xccdf:title>
3821 <xccdf:description xml:lang="en">Enter group to aggregate human users</xccdf:description>
3822 <xccdf:value>usergroup</xccdf:value>
3823 <xccdf:value selector="usergroup">usergroup</xccdf:value>
3824 </xccdf:Value>
3825 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.b" operator="equals" type="string">
3826 <xccdf:title>userhelper file permissions</xccdf:title>
3827 <xccdf:description xml:lang="en">Enter file permissions for /usr/sbin/userhelper</xccdf:description>
3828 <xccdf:question xml:lang="en">Enter file permission for /usr/bin/userhelper</xccdf:question>
3829 <xccdf:value>100111001000</xccdf:value>
3830 <xccdf:value selector="4710">100111001000</xccdf:value>
3831 <xccdf:match>^[10]+$</xccdf:match>
3832 </xccdf:Value>
3833 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false" weight="10.0">
3834 <xccdf:title>Restrict Execution of userhelper to Console Users</xccdf:title>
3835 <xccdf:description>The /usr/sbin/userhelper file should be owned by the appropriate group.</xccdf:description>
3836 <xccdf:ident system="http://cce.mitre.org">CCE-4185-5</xccdf:ident>
3837 <xccdf:fix># chgrp usergroup /usr/sbin/userhelper</xccdf:fix>
3838 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3839 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20081" value-id="xccdf_cdf_value_var-2.3.3.4.a"/>
3840 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20081"/>
3841 </xccdf:check>
3842 </xccdf:Rule>
3843 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false" weight="10.0">
3844 <xccdf:title>Restrict File permissions of userhelper</xccdf:title>
3845 <xccdf:description>File permissions for /usr/sbin/userhelper should be set correctly.</xccdf:description>
3846 <xccdf:ident system="http://cce.mitre.org">CCE-3952-9</xccdf:ident>
3847 <xccdf:fix># chmod 4710 /usr/sbin/userhelper</xccdf:fix>
3848 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3849 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20082" value-id="xccdf_cdf_value_var-2.3.3.4.b"/>
3850 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20082"/>
3851 </xccdf:check>
3852 </xccdf:Rule>
3853 </xccdf:Group>
3854 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.5">
3855 <xccdf:title xml:lang="en">Password Hashing Algorithm</xccdf:title>
3856 <xccdf:description xml:lang="en">
3857 The default algorithm for storing password hashes should be SHA-512.
3858 </xccdf:description>
3859 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.5.a" operator="equals" type="string">
3860 <xccdf:title>Password hashing algorithm</xccdf:title>
3861 <xccdf:description xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:description>
3862 <xccdf:question xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:question>
3863 <xccdf:value>sha512</xccdf:value>
3864 <xccdf:value selector="MD5">md5</xccdf:value>
3865 <xccdf:value selector="SHA-256">sha256</xccdf:value>
3866 <xccdf:value selector="SHA-512">sha512</xccdf:value>
3867 <xccdf:choices>
3868 <xccdf:choice>md5</xccdf:choice>
3869 <xccdf:choice>sha256</xccdf:choice>
3870 <xccdf:choice>sha512</xccdf:choice>
3871 </xccdf:choices>
3872 </xccdf:Value>
3873 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.5.a" selected="false" severity="medium" weight="10.0">
3874 <xccdf:title>Password hashing algorithm</xccdf:title>
3875 <xccdf:description>The password hashing algorithm should be set to SHA-512</xccdf:description>
3876 <xccdf:fix>/usr/sbin/authconfig --passalgo=sha512 --update</xccdf:fix>
3877 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3878 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20083" value-id="xccdf_cdf_value_var-2.3.3.5.a"/>
3879 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20083"/>
3880 </xccdf:check>
3881 </xccdf:Rule>
3882 </xccdf:Group>
3883 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.6">
3884 <xccdf:title xml:lang="en">Limit Password Reuse</xccdf:title>
3885 <xccdf:description xml:lang="en">
3886 Do not allow users to reuse recent passwords. This can be
3887 accomplished by using the remember option for the pam_unix PAM module. In order to
3888 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,
3889 append remember=<xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/> to the password line which uses the
3890 pam_unix module in the file /etc/pam.d/system-auth, as shown:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3891 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3892 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"/>
3893 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3894 Old (and thus no longer valid) passwords are stored in the file /etc/security/opasswd.
3895 </xccdf:description>
3896 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.6.a" operator="equals" type="string">
3897 <xccdf:title>remember</xccdf:title>
3898 <xccdf:description xml:lang="en">
3899 The last n passwords for each user are saved in
3900 /etc/security/opasswd in order to force password change history and keep the user from
3901 alternating between the same password too frequently. </xccdf:description>
3902 <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>
3903 <xccdf:value>5</xccdf:value>
3904 <xccdf:value selector="5">5</xccdf:value>
3905 <xccdf:value selector="10">10</xccdf:value>
3906 <xccdf:match>^[\d]+$</xccdf:match>
3907 </xccdf:Value>
3908 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false" severity="medium" weight="10.0">
3909 <xccdf:title>Limit password reuse</xccdf:title>
3910 <xccdf:description>The passwords to remember should be set to: <xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/></xccdf:description>
3911 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3912 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20084" value-id="xccdf_cdf_value_var-2.3.3.6.a"/>
3913 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20084"/>
3914 <!-- TBD -->
3915 </xccdf:check>
3916 </xccdf:Rule>
3917 </xccdf:Group>
3918 </xccdf:Group>
3919 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4">
3920 <xccdf:title xml:lang="en">Secure Session Configuration Files for Login Accounts</xccdf:title>
3921 <xccdf:description xml:lang="en">
3922 When a user logs into a Unix account, the system configures the
3923 user's session by reading a number of files. Many of these files are located in the user's
3924 home directory, and may have weak permissions as a result of user error or
3925 misconfiguration. If an attacker can modify or even read certain types of account
3926 configuration information, he can often gain full access to the affected user's account.
3927 Therefore, it is important to test and correct configuration file permissions for
3928 interactive accounts, particularly those of privileged users such as root or system
3929 administrators.</xccdf:description>
3930 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.1">
3931 <xccdf:title xml:lang="en">Ensure that No Dangerous Directories Exist in Roots Path '</xccdf:title>
3932 <xccdf:description xml:lang="en">
3933 The active path of the root account can be obtained by starting
3934 a new root shell and running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3935 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3936 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># echo $PATH <xhtml:br/></xhtml:code>
3937 This will produce a colon-separated list of directories in the path. For each directory
3938 DIR in the path, ensure that DIR is not equal to a single . character. Also ensure that
3939 there are no 'empty' elements in the path, such as in these examples: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3940 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3941 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH=:/bin <xhtml:br/>
3942 PATH=/bin: <xhtml:br/>
3943 PATH=/bin::/sbin <xhtml:br/></xhtml:code>
3944 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3945 These empty elements have the same effect as a single . character. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3946 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3947 For each element in the path, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3949 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld DIR <xhtml:br/></xhtml:code>
3950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3951 and ensure that write permissions are disabled for group and other. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3952 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3953 It is important to prevent root from executing unknown or untrusted programs, since such
3954 programs could contain malicious code. Therefore, root should not run programs installed
3955 by unprivileged users. Since root may often be working inside untrusted directories, the
3956 . character, which represents the current directory, should never be in the root path,
3957 nor should any directory which can be written to by an unprivileged or semi-privileged
3958 (system) user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3960 It is a good practice for administrators to always execute privileged
3961 commands by typing the full path to the command.</xccdf:description>
3962 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.a" selected="false" severity="medium" weight="10.0">
3963 <xccdf:title>Ensure that No Dangerous Directories Exist in Root's Path</xccdf:title>
3964 <xccdf:description>The PATH variable should be set correctly for user root</xccdf:description>
3965 <xccdf:ident system="http://cce.mitre.org">CCE-3301-9</xccdf:ident>
3966 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3967 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20085"/>
3968 </xccdf:check>
3969 </xccdf:Rule>
3970 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.b" selected="false" severity="medium" weight="10.0">
3971 <xccdf:title>Write permissions are disabled for group and other in all directories in Root's Path</xccdf:title>
3972 <xccdf:description>Check each directory in root's path and make use it does not grant write permission to group and other</xccdf:description>
3973 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3974 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200855"/>
3975 </xccdf:check>
3976 </xccdf:Rule>
3977 </xccdf:Group>
3978 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.2">
3979 <xccdf:title xml:lang="en">Ensure that User Home Directories are not Group-Writable or
3980 World-Readable</xccdf:title>
3981 <xccdf:description xml:lang="en">
3982 For each human user USER of the system, view the permissions of the
3983 user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3984 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3985 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER <xhtml:br/></xhtml:code>
3986 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3987 Ensure that the directory is not group-writable and that it is not world-readable. If
3988 necessary, repair the permissions:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3989 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3990 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod g-w /home/USER <xhtml:br/>
3991 # chmod o-rwx /home/USER <xhtml:br/></xhtml:code>
3992 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3993 User home directories contain many
3994 configuration files which affect the behavior of a user's account. No user should ever
3995 have write permission to another user's home directory. Group shared directories can be
3996 configured in subdirectories or elsewhere in the filesystem if they are needed.
3997 Typically, user home directories should not be world-readable. If a subset of users need
3998 read access to one another's home directories, this can be provided using groups.</xccdf:description>
3999 <xccdf:warning xml:lang="en">Sections 2.3.4.2–2.3.4.5 recommend modifying user home
4000 directories. Notify your user community, and solicit input if appropriate, before making
4001 this type of change. </xccdf:warning>
4002 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.2.a" selected="false" severity="medium" weight="10.0">
4003 <xccdf:title>Ensure that User Home Directories are not Group-Writable or World-Readable</xccdf:title>
4004 <xccdf:description>File permissions should be set correctly for the home directories for all user accounts.</xccdf:description>
4005 <xccdf:ident system="http://cce.mitre.org">CCE-4090-7</xccdf:ident>
4006 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4007 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20086"/>
4008 </xccdf:check>
4009 </xccdf:Rule>
4010 </xccdf:Group>
4011 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.3">
4012 <xccdf:title xml:lang="en">Ensure that User Dot-Files are not World-writable</xccdf:title>
4013 <xccdf:description xml:lang="en">
4014 For each human user USER of the system, view the permissions of
4015 all dot-files in the user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4016 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4017 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER /.[A-Za-z0-9]* <xhtml:br/></xhtml:code>
4018 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4019 Ensure that none of these files are group- or world-writable. Correct each misconfigured file
4020 FILE by executing: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4022 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod go-w /home/USER /FILE <xhtml:br/></xhtml:code>
4023 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4024 A user who can modify another user's configuration files can likely execute commands
4025 with the other user's privileges, including stealing data, destroying files, or
4026 launching further attacks on the system.</xccdf:description>
4027 </xccdf:Group>
4028 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.4">
4029 <xccdf:title xml:lang="en">Ensure that Users Have Sensible Umask Values</xccdf:title>
4030 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Edit the global configuration files /etc/bashrc and /etc/csh.cshrc.
4031 Add or correct the line: umask <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xhtml:li><xhtml:li>View the additional configuration files /etc/csh.login and /etc/profile.d/*,
4032 and ensure that none of these files redefine the umask to a more permissive value
4033 unless there is a good reason for it.</xhtml:li></xhtml:ol>
4034 With a default umask setting of 077, files and directories created by users will not be
4035 readable by any other user on the system. Users who wish to make specific files group-
4036 or world-readable can accomplish this using the chmod command. Additionally, users can
4037 make all their files readable to their group by default by setting a umask of 027 in
4038 their shell configuration files. If default per-user groups exist (that is, if every
4039 user has a default group whose name is the same as that user's username and whose only
4040 member is the user), then it may even be safe for users to select a umask of 007, making
4041 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"/>
4042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4043 In addition, it may be necessary to change root's umask temporarily in order to install
4044 software or files which must be readable by other users, or to change the default umasks
4045 of certain service accounts such as the FTP user. However, setting a restrictive default
4046 protects the files of users who have not taken steps to make their files more available,
4047 and preventing files from being inadvertently shared.</xccdf:description>
4048 <xccdf:Value id="xccdf_cdf_value_var-2.3.4.4" operator="equals" type="string">
4049 <xccdf:title>Sensible umask</xccdf:title>
4050 <xccdf:description xml:lang="en">Enter default user umask</xccdf:description>
4051 <xccdf:question xml:lang="en">Enter default user umask</xccdf:question>
4052 <xccdf:value>002</xccdf:value>
4053 <xccdf:value selector="002">002</xccdf:value>
4054 <xccdf:value selector="007">007</xccdf:value>
4055 <xccdf:value selector="022">022</xccdf:value>
4056 <xccdf:value selector="027">027</xccdf:value>
4057 <xccdf:value selector="077">077</xccdf:value>
4058 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
4059 </xccdf:Value>
4060 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.a" selected="false" severity="medium" weight="10.0">
4061 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/bashrc</xccdf:title>
4062 <xccdf:description>The default umask for all users for the bash shell should be set to:
4063 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4064 <xccdf:ident system="http://cce.mitre.org">CCE-3844-8</xccdf:ident>
4065 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4066 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4067 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20087"/>
4068 </xccdf:check>
4069 </xccdf:Rule>
4070 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.b" selected="false" severity="medium" weight="10.0">
4071 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/csh.cshrc</xccdf:title>
4072 <xccdf:description>The default umask for all users for the csh shell should be set to:
4073 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4074 <xccdf:ident system="http://cce.mitre.org">CCE-4227-5</xccdf:ident>
4075 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4076 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4077 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20088"/>
4078 </xccdf:check>
4079 </xccdf:Rule>
4080 </xccdf:Group>
4081 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.5">
4082 <xccdf:title xml:lang="en">Ensure that Users do not Have .netrc Files</xccdf:title>
4083 <xccdf:description xml:lang="en">
4084 For each human user USER of the system, ensure that the user
4085 has no .netrc file. The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4087 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -l /home/USER /.netrc <xhtml:br/></xhtml:code>
4088 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4089 should return the error 'No such file or directory'. If any user has such a file,
4090 approach that user to discuss removing this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4092 The .netrc file is a configuration file used to make unattended
4093 logins to other systems via FTP. When this file exists, it frequently contains
4094 unencrypted passwords which may be used to attack other systems.</xccdf:description>
4095 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false" severity="medium" weight="10.0">
4096 <xccdf:title xml:lang="en">Check for existance of .netrc file</xccdf:title>
4097 <xccdf:description xml:lang="en">No user directory should contain file .netrc</xccdf:description>
4098 <xccdf:fix>rm .netrc</xccdf:fix>
4099 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4100 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20091"/>
4101 </xccdf:check>
4102 </xccdf:Rule>
4103 </xccdf:Group>
4104 </xccdf:Group>
4105 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5">
4106 <xccdf:title xml:lang="en">Protect Physical Console Access</xccdf:title>
4107 <xccdf:description xml:lang="en">
4108 It is impossible to fully protect a system from an attacker with
4109 physical access, so securing the space in which the system is located should be considered
4110 a necessary step. However, there are some steps which, if taken, make it more difficult
4111 for an attacker to quickly or undetectably modify a system from its console.</xccdf:description>
4112 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.1">
4113 <xccdf:title xml:lang="en">Set BIOS Password</xccdf:title>
4114 <xccdf:description xml:lang="en">
4115 The BIOS (on x86 systems) is the first code to execute during
4116 system startup and controls many important system parameters, including which devices
4117 the system will try to boot from, and in which order. Assign a password to prevent any
4118 unauthorized changes to the BIOS configuration. The exact steps will vary depending on
4119 your machine, but are likely to include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4120 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Reboot the machine.</xhtml:li><xhtml:li>Press the appropriate key during the initial boot screen (F2 is typical)</xhtml:li><xhtml:li>Navigate the BIOS configuration menu to add a password.</xhtml:li></xhtml:ol>
4121 The exact process will be system-specific and the system's
4122 hardware manual may provide detailed instructions. This password should prevent
4123 attackers with physical access from attempting to change important parameters, such as
4124 those described in Sections 2.5.2.2.1 and 2.2.2.2.4. However, an attacker with physical
4125 access can usually clear the BIOS password. The password should be written down and
4126 stored in a physically-secure location, such as a safe, in the event that it is
4127 forgotten and must be retrieved.</xccdf:description>
4128 </xccdf:Group>
4129 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.2">
4130 <xccdf:title xml:lang="en">Set Boot Loader Password</xccdf:title>
4131 <xccdf:description xml:lang="en">
4132 During the boot process, the boot loader is responsible for
4133 starting the execution of the kernel and passing options to it. The boot loader allows
4134 for the selection of different kernels – possibly on different partitions or media.
4135 Options it can pass to the kernel include 'single-user mode,' which provides root access
4136 without any authentication, and the ability to disable SELinux. To prevent local users
4137 from modifying the boot parameters and endangering security, the boot loader
4138 configuration should be protected with a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4139 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4140 The default Fedora boot loader for x86 systems is called GRUB. To protect its
4141 configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4142 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Select a password and then generate a hash from it by running: <xhtml:br/>
4143 <xhtml:br/>
4144 <xhtml:code># grub-md5-crypt </xhtml:code> <xhtml:br/> <xhtml:br/> </xhtml:li><xhtml:li>Insert the following line into /etc/grub.conf immediately after the header
4145 comments. (Use the output from grub-md5-crypt as the value of password-hash ): <xhtml:br/>
4146 <xhtml:br/>
4147 <xhtml:code>password --md5 password-hash </xhtml:code> <xhtml:br/> <xhtml:br/> </xhtml:li><xhtml:li>Verify the permissions on /etc/grub.conf (which is a symlink to ../boot/grub/grub.conf):
4148 <xhtml:br/>
4149 <xhtml:br/>
4150 <xhtml:code># chown root:root /boot/grub/grub.conf <xhtml:br/>
4151 # chmod 600 /boot/grub/grub.conf</xhtml:code></xhtml:li></xhtml:ol>
4152 Boot loaders for other platforms should offer a similar password protection feature.</xccdf:description>
4153 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.a" operator="equals" type="string">
4154 <xccdf:title>User that owns /boot/grub/grub.conf</xccdf:title>
4155 <xccdf:description xml:lang="en">Choose user that should own /boot/grub/grub.conf</xccdf:description>
4156 <xccdf:value>root</xccdf:value>
4157 <xccdf:value selector="root">root</xccdf:value>
4158 </xccdf:Value>
4159 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.b" operator="equals" type="string">
4160 <xccdf:title>Group that owns /boot/grub/grub.conf</xccdf:title>
4161 <xccdf:description xml:lang="en">Choose group that should own /boot/grub/grub.conf</xccdf:description>
4162 <xccdf:value>root</xccdf:value>
4163 <xccdf:value selector="root">root</xccdf:value>
4164 </xccdf:Value>
4165 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.c" operator="equals" type="string">
4166 <xccdf:title>permissions on /boot/grub/grub.conf</xccdf:title>
4167 <xccdf:description xml:lang="en">Choose file permissions on /boot/grub/grub.conf</xccdf:description>
4168 <xccdf:value>110000000</xccdf:value>
4169 <xccdf:value selector="600">110000000</xccdf:value>
4170 <xccdf:match>^[01]+$</xccdf:match>
4171 </xccdf:Value>
4172 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.a" selected="false" severity="medium" weight="10.0">
4173 <xccdf:title>Set Boot Loader user owner</xccdf:title>
4174 <xccdf:description>The /boot/grub/grub.conf file should be owned by root.</xccdf:description>
4175 <xccdf:ident system="http://cce.mitre.org">CCE-4144-2</xccdf:ident>
4176 <xccdf:fix>chown root /boot/grub/grub.conf</xccdf:fix>
4177 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4178 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20092" value-id="xccdf_cdf_value_var-2.3.5.2.a"/>
4179 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20092"/>
4180 </xccdf:check>
4181 </xccdf:Rule>
4182 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.b" selected="false" severity="medium" weight="10.0">
4183 <xccdf:title>Set Boot Loader group owner</xccdf:title>
4184 <xccdf:description>The /boot/grub/grub.conf file should be owned by group root.</xccdf:description>
4185 <xccdf:ident system="http://cce.mitre.org">CCE-4197-0</xccdf:ident>
4186 <xccdf:fix>chown :root /boot/grub/grub.conf</xccdf:fix>
4187 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4188 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20093" value-id="xccdf_cdf_value_var-2.3.5.2.b"/>
4189 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20093"/>
4190 </xccdf:check>
4191 </xccdf:Rule>
4192 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.c" selected="false" severity="medium" weight="10.0">
4193 <xccdf:title>Set permission on /boot/grub/grub.conf</xccdf:title>
4194 <xccdf:description>File permissions for /boot/grub/grub.conf should be set correctly.</xccdf:description>
4195 <xccdf:ident system="http://cce.mitre.org">CCE-3923-0</xccdf:ident>
4196 <xccdf:fix>chmod 600 /boot/grub/grub.conf</xccdf:fix>
4197 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4198 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20094" value-id="xccdf_cdf_value_var-2.3.5.2.c"/>
4199 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20094"/>
4200 </xccdf:check>
4201 </xccdf:Rule>
4202 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false" severity="high" weight="10.0">
4203 <xccdf:title>Set Boot Loader Password</xccdf:title>
4204 <xccdf:description>The grub boot loader should have password protection enabled</xccdf:description>
4205 <xccdf:ident system="http://cce.mitre.org">CCE-3818-2</xccdf:ident>
4206 <xccdf:fixtext>Edit /boot/grub/grub.conf</xccdf:fixtext>
4207 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4208 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20095"/>
4209 </xccdf:check>
4210 </xccdf:Rule>
4211 </xccdf:Group>
4212 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.3">
4213 <xccdf:title xml:lang="en">Require Authentication for Single-User Mode</xccdf:title>
4214 <xccdf:description xml:lang="en">
4215 Single-user mode is intended as a system recovery method,
4216 providing a single user root access to the system by providing a boot option at startup.
4217 By default, no authentication is performed if single-user mode is selected. This
4218 provides a trivial mechanism of bypassing security on the machine and gaining root
4219 access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4220 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4221 To require entry of the root password even if the system is started in
4222 single-user mode, add the following line to the /etc/inittab file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4224 ~~:S:wait:/sbin/sulogin</xccdf:description>
4225 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false" severity="medium" weight="10.0">
4226 <xccdf:title>Require Authentication for Single-User Mode</xccdf:title>
4227 <xccdf:description>The requirement for a password to boot into single-user mode should be enabled.</xccdf:description>
4228 <xccdf:ident system="http://cce.mitre.org">CCE-4241-6</xccdf:ident>
4229 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
4230 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4231 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20096"/>
4232 </xccdf:check>
4233 </xccdf:Rule>
4234 </xccdf:Group>
4235 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.4">
4236 <xccdf:title xml:lang="en">Disable Interactive Boot</xccdf:title>
4237 <xccdf:description xml:lang="en">
4238 Edit the file /etc/sysconfig/init. Add or correct the setting:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4239 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4240 PROMPT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4241 The PROMPT option allows the console user to perform an interactive system
4242 startup, in which it is possible to select the set of services which are started on
4243 boot. Using interactive boot, the console user could disable auditing, firewalls, or
4244 other services, weakening system security.</xccdf:description>
4245 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false" severity="medium" weight="10.0">
4246 <xccdf:title>Disable Interactive Boot</xccdf:title>
4247 <xccdf:description>The ability for users to perform interactive startups should be disabled.</xccdf:description>
4248 <xccdf:ident system="http://cce.mitre.org">CCE-4245-7</xccdf:ident>
4249 <xccdf:fixtext>(1) via /etc/sysconfig/init</xccdf:fixtext>
4250 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4251 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20097"/>
4252 </xccdf:check>
4253 </xccdf:Rule>
4254 </xccdf:Group>
4255 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.5">
4256 <xccdf:title xml:lang="en">Implement Inactivity Time-out for Login Shells</xccdf:title>
4257 <xccdf:description xml:lang="en">
4258 If the system does not run X Windows, then the login shells can
4259 be configured to automatically log users out after a period of inactivity. The following
4260 instructions are not practical for systems which run X Windows, as they will close
4261 terminal windows in the X environment. For information on how to automatically lock
4262 those systems, see Section 2.3.5.6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4263 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4264 To implement a 15-minute idle time-out for the
4265 default /bin/bash shell, create a new file tmout.sh in the directory /etc/profile.d with
4266 the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4267 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4268 TMOUT=900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4269 readonly TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4270 export TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4272 To implement a 15-minute idle
4273 time-out for the tcsh shell, create a new file autologout.csh in the directory
4274 /etc/profile.d with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4275 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4276 set -r autologout 15 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4277 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4278 Similar actions should be taken for any other login shells used. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4279 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4280 The example time-out here of 15 minutes should be
4281 adjusted to whatever your security policy requires. The readonly line for bash and the
4282 -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"/>
4283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4284 The automatic shell logout only occurs when the shell is the foreground process. If, for
4285 example, a vi session is left idle, then automatic logout would not occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4286 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4287 When logging in through a remote connection, as with SSH, it may be more effective to set
4288 the timeout value directly through that service. To learn how to set automatic timeout
4289 intervals for SSH, see Section 3.5.2.3.</xccdf:description>
4290 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.5" operator="equals" type="string">
4291 <xccdf:title>Inactivity timout</xccdf:title>
4292 <xccdf:description xml:lang="en">Choose allowed duration of inactive SSH connections, shells, and X sessions</xccdf:description>
4293 <xccdf:question xml:lang="en">Choose allowed duration of inactive SSH connections, shells and X sessions in minutes</xccdf:question>
4294 <xccdf:value>15</xccdf:value>
4295 <xccdf:value selector="0_minutes">0</xccdf:value>
4296 <xccdf:value selector="10_minutes">10</xccdf:value>
4297 <xccdf:value selector="15_minutes">15</xccdf:value>
4298 <xccdf:match>^[\d]+$</xccdf:match>
4299 </xccdf:Value>
4300 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false" severity="medium" weight="10.0">
4301 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4302 <xccdf:description>The idle time-out value for the default /bin/tcsh shell should be:
4303 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4304 <xccdf:ident system="http://cce.mitre.org">CCE-3689-7</xccdf:ident>
4305 <xccdf:fixtext>(1) via /etc/profile.d/autologout.csh</xccdf:fixtext>
4306 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4307 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4308 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20098"/>
4309 </xccdf:check>
4310 </xccdf:Rule>
4311 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false" severity="medium" weight="10.0">
4312 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4313 <xccdf:description>The idle time-out value for the default /bin/bash shell should be:
4314 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4315 <xccdf:warning xml:lang="en">Time out is in seconds</xccdf:warning>
4316 <xccdf:ident system="http://cce.mitre.org">CCE-3707-7</xccdf:ident>
4317 <xccdf:fixtext>(1) via /etc/profile.d/tmout.sh</xccdf:fixtext>
4318 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4319 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20099" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4320 <!-- turn minutes into seconds -->
4321 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20099"/>
4322 </xccdf:check>
4323 </xccdf:Rule>
4324 </xccdf:Group>
4325 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6">
4326 <xccdf:title xml:lang="en">Configure Screen Locking</xccdf:title>
4327 <xccdf:description xml:lang="en">
4328 When a user must temporarily leave an account logged-in, screen
4329 locking should be employed to prevent passersby from abusing the account. User education
4330 and training is particularly important for screen locking to be effective. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4331 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4332 A policy should be implemented that trains all users to lock the screen when they plan to
4333 temporarily step away from a logged-in account. Automatic screen locking is only meant
4334 as a safeguard for those cases where a user forgot to lock the screen.</xccdf:description>
4335 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.1">
4336 <xccdf:title xml:lang="en">Configure GUI Screen Locking</xccdf:title>
4337 <xccdf:description xml:lang="en">
4338 In the default GNOME desktop, the screen can be locked by
4339 choosing Lock Screen from the System menu. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4341 The gconftool-2 program can be used to
4342 enforce mandatory screen locking settings for the default GNOME environment. Run the
4343 following commands to enforce idle activation of the screen saver, screen locking, a
4344 blank-screen screensaver, and 15-minute idle activation time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4345 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:code>
4346 # gconftool-2 --direct \
4347 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4348 --type bool \
4349 --set /apps/gnome-screensaver/idle_activation_enabled true
4350 # gconftool-2 --direct \
4351 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4352 --type bool \
4353 --set /apps/gnome-screensaver/lock_enabled true
4354 # gconftool-2 --direct \
4355 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4356 --type string \
4357 --set /apps/gnome-screensaver/mode blank-only
4358 # gconftool-2 --direct \
4359 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4360 --type int \
4361 --set /apps/gnome-screensaver/idle_delay 15
4362 </xhtml:code></xhtml:pre>
4363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4364 The default setting of 15 minutes for idle
4365 activation is reasonable for many office environments, but the setting should conform
4366 to whatever policy is defined. The screensaver mode blank-only is selected to conceal
4367 the contents of the display from passersby. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4368 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4369 Because users should be trained to lock
4370 the screen when they step away from the computer, the automatic locking feature is
4371 only meant as a backup. The Lock Screen icon from the System menu can also be dragged
4372 to the taskbar in order to facilitate even more convenient screen-locking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4374 The root
4375 account cannot be screen-locked, but this should have no practical effect as the root
4376 account should never be used to log into an X Windows environment, and should only be
4377 used to for direct login via console in emergency circumstances. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4378 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4379 For more information
4380 about configuring GNOME screensaver, see http://live.gnome.org/GnomeScreensaver. For
4381 more information about enforcing preferences in the GNOME environment using the GConf
4382 configuration system, see http://www.gnome.org/projects/gconf and the man page
4383 gconftool-2(1).</xccdf:description>
4384 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false" severity="medium" weight="10.0">
4385 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4386 <xccdf:description>The idle time-out value for period of inactivity gnome desktop lockout should be 15 minutes</xccdf:description>
4387 <xccdf:ident system="http://cce.mitre.org">CCE-3315-9</xccdf:ident>
4388 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4389 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4390 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4391 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20100"/>
4392 </xccdf:check>
4393 </xccdf:Rule>
4394 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false" severity="medium" weight="10.0">
4395 <xccdf:title>Implement idle activation of screen saver</xccdf:title>
4396 <xccdf:description>Idle activation of the screen saver should be enabled</xccdf:description>
4397 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4398 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4399 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201005"/>
4400 </xccdf:check>
4401 </xccdf:Rule>
4402 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false" severity="medium" weight="10.0">
4403 <xccdf:title>Implement idle activation of screen lock</xccdf:title>
4404 <xccdf:description>Idle activation of the screen lock should be enabled</xccdf:description>
4405 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4406 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4407 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201006"/>
4408 </xccdf:check>
4409 </xccdf:Rule>
4410 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false" severity="medium" weight="10.0">
4411 <xccdf:title>Implement blank screen saver</xccdf:title>
4412 <xccdf:description>The screen saver should be blank</xccdf:description>
4413 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4414 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4415 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201007"/>
4416 </xccdf:check>
4417 </xccdf:Rule>
4418 </xccdf:Group>
4419 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.2">
4420 <xccdf:title xml:lang="en">Configure Console Screen Locking</xccdf:title>
4421 <xccdf:description xml:lang="en">
4422 A console screen locking mechanism is provided in the vlock
4423 package, which is not installed by default. If the ability to lock console screens is
4424 necessary, install the vlock package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4425 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4426 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install vlock <xhtml:br/></xhtml:code>
4427 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4428 Instruct users to invoke the
4429 program when necessary, in order to prevent passersby from abusing their login: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4430 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ vlock <xhtml:br/></xhtml:code>
4431 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4432 The -a option can be used to prevent switching to other virtual consoles.</xccdf:description>
4433 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false" severity="medium" weight="10.0">
4434 <xccdf:title>Configure console screen locking</xccdf:title>
4435 <xccdf:description>The vlock package should be installed</xccdf:description>
4436 <xccdf:ident system="http://cce.mitre.org">CCE-3910-7</xccdf:ident>
4437 <xccdf:fix>yum install vlock</xccdf:fix>
4438 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4439 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20101"/>
4440 </xccdf:check>
4441 </xccdf:Rule>
4442 </xccdf:Group>
4443 </xccdf:Group>
4444 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.7">
4445 <xccdf:title xml:lang="en">Disable Unnecessary Ports</xccdf:title>
4446 <xccdf:description xml:lang="en">
4447 Though unusual, some systems may be managed only remotely and yet
4448 also exposed to risk from attackers with direct physical access to them. In these cases,
4449 reduce an attacker’s access to the system by disabling unnecessary external ports (e.g.
4450 USB, FireWire, NIC) in the system’s BIOS.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4451 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4452 Disable ports on the system which are not necessary for normal system operation. The exact
4453 steps will vary depending on your machine, but are likely to include:
4454 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Reboot the machine.</xhtml:li><xhtml:li>Press the appropriate key during the initial boot screen (F2 is typical). </xhtml:li><xhtml:li>Navigate the BIOS conguration menu to disable ports, such as USB, FireWire, and NIC.</xhtml:li></xhtml:ol>
4455 </xccdf:description>
4456 <xccdf:warning xml:lang="en">Disabling USB ports is particularly unusual and will cause problems
4457 for important input devices such as keyboards or mice attached to the system.</xccdf:warning>
4458 </xccdf:Group>
4459 </xccdf:Group>
4460 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.6">
4461 <xccdf:title xml:lang="en">Use a Centralized Authentication Service</xccdf:title>
4462 <xccdf:description xml:lang="en">
4463 A centralized authentication service is any method of maintaining
4464 central control over account and authentication data and of keeping this data synchronized
4465 between machines. Such services can range in complexity from a script which pushes
4466 centrally-generated password files out to all machines, to a managed scheme such as LDAP
4467 or Kerberos. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4468 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4469 If authentication information is not centrally managed, it quickly becomes
4470 inconsistent, leading to out-of-date credentials and forgotten accounts which should have
4471 been deleted. In addition, many older protocols (such as NFS) make use of the UID to
4472 identify users over a network. This is not a good practice, and these protocols should be
4473 avoided if possible. However, since most sites must still make use of some older
4474 protocols, having consistent UIDs and GIDs site-wide is a significant benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4475 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4476 Centralized
4477 authentication services do have the disadvantage that authentication information must be
4478 transmitted over a network, leading to a risk that credentials may be intercepted or
4479 manipulated. Therefore, these services must be deployed carefully. The following
4480 precautions should be taken when configuring any authentication service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4481 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Ensure that authentication information and any sensitive account information
4482 are never sent over the network unencrypted.</xhtml:li><xhtml:li>Ensure that the root account has a local password, to allow recovery in case
4483 of network outage or authentication server failure.</xhtml:li></xhtml:ul>
4484 This guide recommends
4485 the use of LDAP. Secure configuration of OpenLDAP for clients and servers is described in
4486 Section 3.12. Kerberos is also a good choice for a centralized authentication service, but
4487 a description of its configuration is beyond the scope of this guide. The NIS service is
4488 not recommended, and should be considered obsolete. (See Section 3.2.4.)</xccdf:description>
4489 </xccdf:Group>
4490 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7">
4491 <xccdf:title xml:lang="en">Warning Banners for System Accesses</xccdf:title>
4492 <xccdf:description xml:lang="en">
4493 Each system should expose as little information about itself as
4494 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4495 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4496 System banners, which are typically displayed just before a login prompt, give
4497 out information about the service or the host's operating system. This might include the
4498 distribution name and the system kernel version, and the particular version of a network
4499 service. This information can assist intruders in gaining access to the system as it can
4500 reveal whether the system is running vulnerable software. Most network services can be
4501 configured to limit what information is displayed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4502 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4503 Many organizations implement security
4504 policies that require a system banner provide notice of the system's ownership, provide
4505 warning to unauthorized users, and remind authorized users of their consent to monitoring.</xccdf:description>
4506 <xccdf:Value id="xccdf_cdf_value_var-2.3.7" operator="equals" type="string">
4507 <xccdf:title>login banner verbiage</xccdf:title>
4508 <xccdf:description xml:lang="en">Enter an appropriate login banner for your organization</xccdf:description>
4509 <xccdf:question xml:lang="en">Enter an appropriate login banner for your organization</xccdf:question>
4510 <xccdf:value/>
4511 <xccdf:value selector="Empty_text"/>
4512 </xccdf:Value>
4513 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.1">
4514 <xccdf:title xml:lang="en">Modify the System Login Banner</xccdf:title>
4515 <xccdf:description xml:lang="en">
4516 The contents of the file /etc/issue are displayed on the screen
4517 just above the login prompt for users logging directly into a terminal. Remote login
4518 programs such as SSH or FTP can be configured to display /etc/issue as well.
4519 Instructions for configuring each server daemon to show this file can be found in the
4520 relevant sections of Chapter 3. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4521 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4522 By default, the system will display the version of the
4523 OS, the kernel version, and the host name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4524 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4525 Edit /etc/issue. Replace the default text
4526 with a message compliant with the local site policy or a legal disclaimer.</xccdf:description>
4527 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false" severity="medium" weight="10.0">
4528 <xccdf:title>Modify the System Login Banner</xccdf:title>
4529 <xccdf:description>The system login banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4530 <xccdf:ident system="http://cce.mitre.org">CCE-4060-0</xccdf:ident>
4531 <xccdf:fixtext>Take value of DOD_text and put it in /etc/issue</xccdf:fixtext>
4532 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4533 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4534 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20102"/>
4535 <!-- TBD -->
4536 </xccdf:check>
4537 </xccdf:Rule>
4538 </xccdf:Group>
4539 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.2">
4540 <xccdf:title xml:lang="en">Implement a GUI Warning Banner</xccdf:title>
4541 <xccdf:description xml:lang="en">
4542 In the default graphical environment, users logging directly
4543 into the system are greeted with a login screen provided by the GNOME display manager.
4544 The warning banner should be displayed in this graphical environment for these
4545 users.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4546 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4547 The files for the default RHEL theme can be found in
4548 /usr/share/gdm/themes/RHEL. Add the following sample block of XML to
4549 /usr/share/gdm/themes/RHEL/RHEL.xml after the first two "pixmap"
4550 entries:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4551 <xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml">
4552 &lt;item type="rect"&gt;
4553 &lt;pos anchor="n" x="50%" y="10" width="box" height="box"/&gt;
4554 &lt;box&gt;
4555 &lt;item type="label"&gt;
4556 &lt;normal font="Sans 14" color="#ffffff"/&gt;
4557 &lt;text&gt;Insert the text of your warning banner here.&lt;/text&gt;
4558 &lt;/item&gt;
4559 &lt;/box&gt;
4560 &lt;/item&gt;
4561 </xhtml:pre>
4562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4563 The
4564 full syntax that GDM theme files expect is documented elsewhere, but the above XML will
4565 create a text box centered at the top of the screen. The font, text color, and exact
4566 positioning can all be easily modified by editing the appropriate values. The latest
4567 current GDM theme manual can be found at http://www.gnome.org/
4568 projects/gdm/docs/thememanual.html.
4569 </xccdf:description>
4570 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false" severity="medium" weight="10.0">
4571 <xccdf:title>Implement a GUI Warning Banner</xccdf:title>
4572 <xccdf:description>The direct gnome login warning banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4573 <xccdf:ident system="http://cce.mitre.org">CCE-4188-9</xccdf:ident>
4574 <xccdf:fixtext>(1) via RHEL.xml</xccdf:fixtext>
4575 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4576 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4577 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20103"/>
4578 <!-- TBD -->
4579 </xccdf:check>
4580 </xccdf:Rule>
4581 </xccdf:Group>
4582 </xccdf:Group>
4583 </xccdf:Group>
4584 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4">
4585 <xccdf:title xml:lang="en">SELinux</xccdf:title>
4586 <xccdf:description xml:lang="en">
4587 SELinux is a feature of the Linux kernel which can be used to guard
4588 against misconfigured or compromised programs. SELinux enforces the idea that programs
4589 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"/>
4590 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4591 The default
4592 SELinux policy, as configured on RHEL5, has been sufficiently developed and debugged that it
4593 should be usable on almost any Red Hat machine with minimal configuration and a small amount
4594 of system administrator training. This policy prevents system services — including most of
4595 the common network-visible services such as mail servers, ftp servers, and DNS servers —
4596 from accessing files which those services have no valid reason to access. This action alone
4597 prevents a huge amount of possible damage from network attacks against services, from
4598 trojaned software, and so forth. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4600 This guide recommends that SELinux be enabled using the
4601 default (targeted) policy on every Red Hat system, unless that system has requirements which
4602 make a stronger policy appropriate.</xccdf:description>
4603 <xccdf:reference>Frank Mayer, K. M., and Caplan, D. SELinux by Example: Using Security Enhanced Linux</xccdf:reference>
4604 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.1">
4605 <xccdf:title xml:lang="en">How SELinux Works</xccdf:title>
4606 <xccdf:description xml:lang="en">
4607 In the traditional Linux/Unix security model, known as
4608 Discretionary Access Control (DAC), processes run under a user and group identity, and
4609 enjoy that user and group's access rights to all files and other objects on the system.
4610 This system brings with it a number of security problems, most notably: that processes
4611 frequently do not need and should not have the full rights of the user who ran them; that
4612 user and group access rights are not very granular, and may require administrators to
4613 allow too much access in order to allow the access that is needed; that the Unix
4614 filesystem contains many resources (such as temporary directories and world-readable
4615 files) which are accessible to users who have no legitimate reason to access them; and
4616 that legitimate users can easily provide open access to their own resources through
4617 confusion or carelessness. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4618 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4619 SELinux provides a Mandatory Access Control (MAC) system that
4620 greatly augments the DAC model. Under SELinux, every process and every object (e.g. file,
4621 socket, pipe) on the system is given a security context, a label which include detailed
4622 type information about the object. The kernel allows processes to access objects only if
4623 that access is explicitly allowed by the policy in effect. The policy defines transitions,
4624 so that a user can be allowed to run software, but the software can run under a different
4625 context than the user's default. This automatically limits the damage that the software
4626 can do to files accessible by the calling user — the user does not need to take any action
4627 to gain this benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4628 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4629 For an action to occur, both the traditional DAC permissions must be
4630 satisifed as well as SELinux's MAC rules. If either do not permit the action, then it will
4631 not be allowed. In this way, SELinux rules can only make a system's permissions more
4632 restrictive and secure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4633 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4634 SELinux requires a complex policy in order to allow all the
4635 actions required of a system under normal operation. Three such policies have been
4636 designed for use with RHEL5, and are included with the system. In increasing order of
4637 power and complexity, they are: targeted, strict, and mls. The targeted SELinux policy
4638 consists mostly of Type Enforcement (TE) rules, and a small number of Role-Based Access
4639 Control (RBAC) rules. It restricts the actions of many types of programs, but leaves
4640 interactive users largely unaffected. The strict policy also uses TE and RBAC rules, but
4641 on more programs and more aggressively. The mls policy implements Multi-Level Security
4642 (MLS), which introduces even more kinds of labels — sensitivity and category — and rules
4643 that govern access based on these. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4644 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4645 The remainder of this section provides guidance for the
4646 configuration of the targeted policy and the administration of systems under this policy.
4647 Some pointers will be provided for readers who are interested in further strengthening
4648 their systems by using one of the stricter policies provided with RHEL5 or in writing
4649 their own policy.</xccdf:description>
4650 </xccdf:Group>
4651 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2">
4652 <xccdf:title xml:lang="en">Enable SELinux</xccdf:title>
4653 <xccdf:description xml:lang="en">
4654 Edit the file /etc/selinux/config. Add or correct the following
4655 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4656 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4657 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUX=enforcing <xhtml:br/>
4658 SELINUXTYPE=targeted <xhtml:br/></xhtml:code>
4659 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4660 Edit the file /etc/grub.conf. Ensure that
4661 the following arguments DO NOT appear on any kernel command line in the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4662 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4663 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">selinux=0 <xhtml:br/>
4664 enforcing=0 <xhtml:br/></xhtml:code>
4665 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4666 The directive SELINUX=enforcing enables SELinux at boot time. If SELinux is
4667 causing a lot of problems or preventing the system from booting, it is possible to boot
4668 into the warning-only mode SELINUX=permissive for debugging purposes. Make certain to
4669 change the mode back to enforcing after debugging, set the filesystems to be relabelled
4670 for consistency using the command touch /.autorelabel, and reboot. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4672 However, the RHEL5
4673 default SELinux configuration should be sufficiently reasonable that most systems will
4674 boot without serious problems. Some applications that require deep or unusual system
4675 privileges, such as virtual machine software, may not be compatible with SELinux in its
4676 default configuration. However, this should be uncommon, and SELinux's application support
4677 continues to improve. In other cases, SELinux may reveal unusual or insecure program
4678 behavior by design. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4679 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4680 The directive SELINUXTYPE=targeted configures SELinux to use the
4681 default targeted policy. See Section 2.4.6 if a stricter policy is appropriate for your
4682 site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4684 The SELinux boot mode specified in /etc/selinux/config can be overridden by
4685 command-line arguments passed to the kernel. It is necessary to check grub.conf to ensure
4686 that this has not been done and to protect the bootloader as described in Section 2.3.5.2.</xccdf:description>
4687 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.c" operator="equals" type="string">
4688 <xccdf:title>SELinux state</xccdf:title>
4689 <xccdf:description xml:lang="en">
4690 enforcing - SELinux security policy is enforced. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4691 permissive - SELinux prints warnings instead of enforcing.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4692 disabled - SELinux is fully disabled.
4693 </xccdf:description>
4694 <xccdf:question xml:lang="en">Set the SELinux state</xccdf:question>
4695 <xccdf:value>enforcing</xccdf:value>
4696 <xccdf:value selector="enforcing">enforcing</xccdf:value>
4697 <xccdf:value selector="permissive">permissive</xccdf:value>
4698 <xccdf:value selector="disabled">disabled</xccdf:value>
4699 <xccdf:match>enforcing|permissive|disabled</xccdf:match>
4700 <xccdf:choices mustMatch="1">
4701 <xccdf:choice>enforcing</xccdf:choice>
4702 <xccdf:choice>permissive</xccdf:choice>
4703 <xccdf:choice>disabled</xccdf:choice>
4704 </xccdf:choices>
4705 </xccdf:Value>
4706 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.d" operator="equals" type="string">
4707 <xccdf:title>SELinux policy</xccdf:title>
4708 <xccdf:description xml:lang="en">
4709 Type of policy in use. Possible values are:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4710 targeted - Only targeted network daemons are protected.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4711 strict - Full SELinux protection.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4712 mls - Multiple levels of security</xccdf:description>
4713 <xccdf:question xml:lang="en">Set the SELinux policy</xccdf:question>
4714 <xccdf:value>targeted</xccdf:value>
4715 <xccdf:value selector="targeted">targeted</xccdf:value>
4716 <xccdf:value selector="strict">strict</xccdf:value>
4717 <xccdf:value selector="mls">mls</xccdf:value>
4718 <xccdf:match>targeted|strict|mls</xccdf:match>
4719 <xccdf:choices mustMatch="1">
4720 <xccdf:choice>targeted</xccdf:choice>
4721 <xccdf:choice>strict</xccdf:choice>
4722 <xccdf:choice>mls</xccdf:choice>
4723 </xccdf:choices>
4724 </xccdf:Value>
4725 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2.1">
4726 <xccdf:title xml:lang="en">Ensure SELinux is Properly Enabled</xccdf:title>
4727 <xccdf:description xml:lang="en">
4728 Run the command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4729 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4730 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ /usr/sbin/sestatus<xhtml:br/></xhtml:code>
4731 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4732 If the system is properly configured, the output should indicate:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4733 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>SELinux status: enabled</xhtml:li><xhtml:li>Current mode: enforcing</xhtml:li><xhtml:li>Mode from config file: enforcing</xhtml:li><xhtml:li>Policy from config file: targeted</xhtml:li></xhtml:ul></xccdf:description>
4734 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false" severity="medium" weight="10.0">
4735 <xccdf:title>Ensure SELinux is Properly Enabled</xccdf:title>
4736 <xccdf:description>Check output of /usr/sbin/sestatus</xccdf:description>
4737 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4738 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201035"/>
4739 </xccdf:check>
4740 </xccdf:Rule>
4741 </xccdf:Group>
4742 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.a" selected="false" severity="medium" weight="10.0">
4743 <xccdf:title>Enable SELinux in /etc/grub.conf</xccdf:title>
4744 <xccdf:description>SELinux should NOT be disabled in /etc/grub.conf. Check that selinux=0 is not found</xccdf:description>
4745 <xccdf:ident system="http://cce.mitre.org">CCE-3977-6</xccdf:ident>
4746 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4747 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4748 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20104"/>
4749 </xccdf:check>
4750 </xccdf:Rule>
4751 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.b" selected="false" severity="medium" weight="10.0">
4752 <xccdf:title>Enable SELinux enforcement in /etc/grub.conf</xccdf:title>
4753 <xccdf:description>SELinux enforcement should NOT be disabled in /etc/grub.conf. Check that enforcing=0 is not found.</xccdf:description>
4754 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4755 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4756 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20105"/>
4757 </xccdf:check>
4758 </xccdf:Rule>
4759 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.c" selected="false" severity="medium" weight="10.0">
4760 <xccdf:title>Set the SELinux state</xccdf:title>
4761 <xccdf:description>The SELinux state should be: <xccdf:sub idref="xccdf_cdf_value_var-2.4.2.c"/></xccdf:description>
4762 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4763 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4764 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20106" value-id="xccdf_cdf_value_var-2.4.2.c"/>
4765 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20106"/>
4766 <!-- TBD -->
4767 </xccdf:check>
4768 </xccdf:Rule>
4769 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.d" selected="false" severity="medium" weight="10.0">
4770 <xccdf:title>Set the SELinux policy</xccdf:title>
4771 <xccdf:description>The SELinux policy should be set appropriately.</xccdf:description>
4772 <xccdf:ident system="http://cce.mitre.org">CCE-3624-4</xccdf:ident>
4773 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4774 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4775 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20107" value-id="xccdf_cdf_value_var-2.4.2.d"/>
4776 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20107"/>
4777 </xccdf:check>
4778 </xccdf:Rule>
4779 </xccdf:Group>
4780 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3">
4781 <xccdf:title xml:lang="en">Disable Unnecessary SELinux Daemons</xccdf:title>
4782 <xccdf:description xml:lang="en">
4783 Several daemons are installed by default as part of the RHEL5
4784 SELinux support mechanism. These daemons may improve the system's ability to enforce
4785 SELinux policy in a useful fashion, but may also represent unnecessary code running on the
4786 machine, increasing system risk. If these daemons are not needed on your system, they
4787 should be disabled.</xccdf:description>
4788 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.1">
4789 <xccdf:title xml:lang="en">Disable and Remove SETroubleshoot if Possible</xccdf:title>
4790 <xccdf:description xml:lang="en">
4791 Is there a mission-critical reason to allow users to view
4792 SELinux denial information using the sealert GUI? If not, disable the service and remove
4793 the RPM: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4794 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4795 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig setroubleshoot off <xhtml:br/>
4796 # yum erase setroubleshoot <xhtml:br/></xhtml:code>
4797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4798 The setroubleshoot
4799 service is a facility for notifying the desktop user of SELinux denials in a
4800 user-friendly fashion. SELinux errors may provide important information about intrusion
4801 attempts in progress, or may give information about SELinux configuration problems which
4802 are preventing correct system operation. In order to maintain a secure and usable
4803 SELinux installation, error logging and notification is necessary. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4804 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4805 However,
4806 setroubleshoot is a service which has complex functionality, which runs a daemon and
4807 uses IPC to distribute information which may be sensitive, or even to allow users to
4808 modify SELinux settings, and which does not yet implement real authentication
4809 mechanisms. This guide recommends disabling setroubleshoot and using the kernel audit
4810 functionality to monitor SELinux's behavior. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4811 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4812 In addition, since setroubleshoot
4813 automatically runs client-side code whenever a denial occurs, regardless of whether the
4814 setroubleshootd daemon is running, it is recommended that the program be removed
4815 entirely unless it is needed.</xccdf:description>
4816 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.a" selected="false" weight="10.0">
4817 <xccdf:title>Remove SETroubleshoot if Possible</xccdf:title>
4818 <xccdf:description>The setroubleshoot package should be uninstalled.</xccdf:description>
4819 <xccdf:ident system="http://cce.mitre.org">CCE-4148-3</xccdf:ident>
4820 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
4821 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4822 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20108"/>
4823 </xccdf:check>
4824 </xccdf:Rule>
4825 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.b" selected="false" severity="low" weight="10.0">
4826 <xccdf:title>Disable SETroubleshoot if Possible</xccdf:title>
4827 <xccdf:description>The setroubleshoot service should be disabled.</xccdf:description>
4828 <xccdf:ident system="http://cce.mitre.org">CCE-4254-9</xccdf:ident>
4829 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4830 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4831 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20109"/>
4832 </xccdf:check>
4833 </xccdf:Rule>
4834 </xccdf:Group>
4835 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.2">
4836 <xccdf:title xml:lang="en">Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
4837 <xccdf:description xml:lang="en">
4838 Unless there is some overriding need for the convenience of
4839 category label translation, disable the MCS translation service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4840 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4841 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mcstrans off <xhtml:br/></xhtml:code>
4842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4843 The mcstransd daemon provides the category label translation information defined in
4844 /etc/selinux/targeted/ setrans.conf to client processes which request this information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4845 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4846 Category labelling is unlikely to be used except in sites with special requirements.
4847 Therefore, it should be disabled in order to reduce the amount of potentially vulnerable
4848 code running on the system. See Section 2.4.6 for more information about systems which
4849 use category labelling.</xccdf:description>
4850 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false" severity="low" weight="10.0">
4851 <xccdf:title>Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
4852 <xccdf:description>The mcstrans service should be disabled.</xccdf:description>
4853 <xccdf:ident system="http://cce.mitre.org">CCE-3668-1</xccdf:ident>
4854 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4855 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4856 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20110"/>
4857 </xccdf:check>
4858 </xccdf:Rule>
4859 </xccdf:Group>
4860 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.3">
4861 <xccdf:title xml:lang="en">Restorecon Service (restorecond)</xccdf:title>
4862 <xccdf:description xml:lang="en">
4863 The restorecond daemon monitors a list of files which are
4864 frequently created or modified on running systems, and whose SELinux contexts are not
4865 set correctly. It looks for creation events related to files listed in /etc/
4866 selinux/restorecond.conf, and sets the contexts of those files when they are discovered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4868 The restorecond program is fairly simple, so it brings low risk, but, in its default
4869 configuration, does not add much value to a system. An automated program such as
4870 restorecond may be used to monitor problematic files for context problems, or system
4871 administrators may be trained to check file contexts of newly-created files using the
4872 command ls -lZ, and to repair contexts manually using the restorecon command. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4873 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4874 This guide
4875 makes no recommendation either for or against the use of restorecond.</xccdf:description>
4876 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false" severity="low" weight="10.0">
4877 <xccdf:title>Disable restorecon Service (restorecond)</xccdf:title>
4878 <xccdf:description>The restorecond service should be disabled.</xccdf:description>
4879 <xccdf:ident system="http://cce.mitre.org">CCE-4129-3</xccdf:ident>
4880 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4881 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4882 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20111"/>
4883 </xccdf:check>
4884 </xccdf:Rule>
4885 </xccdf:Group>
4886 </xccdf:Group>
4887 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.4">
4888 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
4889 <xccdf:description xml:lang="en">
4890 Daemons that SELinux policy does not know about will inherit the
4891 context of the parent process. Because daemons are launched during startup and descend
4892 from the init process, they inherit the initrc t context. This is a problem because it may
4893 cause AVC denials, or it could allow privileges that the daemon does not require. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4894 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4895 To check for unconfined daemons, run the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4896 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4897 <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>
4898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4899 It should produce no output in a well-configured system.</xccdf:description>
4900 </xccdf:Group>
4901 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.5">
4902 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
4903 <xccdf:description xml:lang="en">
4904 Device files are used for communication with important system
4905 resources. SELinux contexts should exist for these. If a device file is not labeled, then
4906 misconfiguration is likely.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4907 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4908 To check for unlabeled device files, run the following command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4909 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z | grep unlabeled_t<xhtml:br/></xhtml:code>
4910 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4911 It should produce no output in a well-configured system.</xccdf:description>
4912 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.5.a" selected="false" severity="medium" weight="10.0">
4913 <xccdf:title>Check for Unconfined Daemons</xccdf:title>
4914 <xccdf:description>Check for device file that is not labeled.</xccdf:description>
4915 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4916 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4917 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201115"/>
4918 </xccdf:check>
4919 </xccdf:Rule>
4920 </xccdf:Group>
4921 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.6">
4922 <xccdf:title xml:lang="en">Debugging SELinux Policy Errors</xccdf:title>
4923 <xccdf:description xml:lang="en">
4924 SELinux's default policies have improved significantly over time,
4925 and most systems should have few problems using the targeted SELinux policy. However,
4926 policy problems may still occasionally prevent accesses which should be allowed. This is
4927 especially true if your site runs any custom or heavily modified applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4929 This section gives some brief guidance on discovering and repairing SELinux-related access
4930 problems. Guidance given here is necessarily incomplete, but should provide a starting
4931 point for debugging. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4932 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4933 If you suspect that a permission error or other failure may be caused
4934 by SELinux (and are certain that misconfiguration of the traditional Unix permissions are
4935 not the cause of the problem), search the audit logs for AVC events: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4936 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4937 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch -m AVC,USER_AVC -sv no <xhtml:br/></xhtml:code>
4938 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4939 The output of this command will be a set of events. The timestamp,
4940 along with the comm and pid fields, should indicate which line describes the problem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4941 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4942 Look
4943 up the context under which the process is running. Assuming the process ID is PID , find
4944 the context by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4945 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4946 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ps -p PID -Z <xhtml:br/></xhtml:code>
4947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4948 The AVC denial message should identify the
4949 offending file or directory. The name field should contain the filename (not the full
4950 pathname by default), and the ino field can be used to search by inode, if necessary.
4951 Assuming the file is FILE , find its SELinux context: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4952 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4953 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z FILE <xhtml:br/></xhtml:code>
4954 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4955 An administrator should
4956 suspect an SELinux misconfiguration whenever a program gets a 'permission denied' error
4957 but the standard Unix permissions appear to be correct, or a program fails mysteriously on
4958 a task which seems to involve file access or network communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4960 As described in
4961 Section 2.4.1, SELinux augments each process with a context providing detailed type
4962 information about that process. The contexts under which processes run may be referred to
4963 as subject contexts. Similarly, each filesystem object is given a context. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4965 The targeted
4966 policy consists of a set of rules, each of which allows a subject type to perform some
4967 operation on a given object type. The kernel stores information about these access
4968 decisions in an structure known as an Access Vector Cache (AVC), so authorization
4969 decisions made by the system are audited with the type AVC. It is also possible for
4970 userspace modules to implement their own policies based on SELinux, and these decisions
4971 are audited with the type USER_AVC. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4972 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4973 AVC denials are logged by the kernel audit facility
4974 (see Section 2.6.2 for configuration guidance on this subsystem) and may also be visible
4975 via setroubleshoot. This guide recommends the use of the audit userspace utilities to find
4976 AVC errors. It is possible to manually locate these errors by looking in the file
4977 /var/log/audit/audit.log or in /var/log/messages (depending on the syslog configuration in
4978 effect), but the ausearch tool allows finegrained searching on audit event types, which
4979 may be necessary if system call auditing is enabled as well. The command line above tells
4980 ausearch to look for kernel or userspace AVC messages (-m AVC,USER AVC) where the access
4981 attempt did not succeed (-sv no). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4982 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4983 If an AVC denial occurs when it should not have, the
4984 problem is generally one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4985 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The program is running with the wrong subject
4986 context. This could happen as a result of an incorrect context on the program's executable
4987 file, which could happen if 3rd party software is installed and not given appropriate
4988 SELinux file contexts. </xhtml:li><xhtml:li>The file has the wrong object context because the current file's
4989 context does not match the specification. This can occur when files are created or
4990 modified in certain ways. It is not atypical for configuration files to get the wrong
4991 contexts after a system configuration change performed by an administrator. To repair the
4992 file, use the command: <xhtml:br/>
4993 <xhtml:br/>
4994 <xhtml:code># restorecon -v FILE <xhtml:br/></xhtml:code>
4995 <xhtml:br/>
4996 This should produce output indicating that the
4997 file's context has been changed. The /usr/bin/chcon program can be used to manually change
4998 a file's context, but this is problematic because the change will not persist if it does
4999 not agree with the policy-defined contexts applied by restorecon.</xhtml:li><xhtml:li>The file has the wrong
5000 object context because the specification is either incorrect or does not match the way the
5001 file is being used on this system. In this case, it will be necessary to change the system
5002 file contexts. <xhtml:br/>
5003 <xhtml:br/>
5004 Run the system-config-selinux tool, and go to the 'File Labeling' menu.
5005 This will give a list of files and wildcards corresponding to file labelling rules on the
5006 system. Add a rule which maps the file in question to the desired context. As an
5007 alternative, file contexts can be modified from the command line using the semanage(8)
5008 tool.</xhtml:li><xhtml:li>The program and file have the correct contexts, but the policy should allow some
5009 operation between those two contexts which is currently not allowed. In this case, it will
5010 be necessary to modify the SELinux policy. <xhtml:br/>
5011 <xhtml:br/>
5012 Run the system-config-selinux tool, and go to
5013 the 'Boolean' menu. If your configuration is supported, but is not the Red Hat default,
5014 then there will be a boolean allowing real-time modification of the SELinux policy to fix
5015 the problem. Browse through the items in this menu, looking for one which is related to
5016 the service which is not working. As an alternative, SELinux booleans can be modified from
5017 the command line using the getsebool(8) and setsebool(8) tools. <xhtml:br/>
5018 <xhtml:br/>
5019 If there is no boolean, it
5020 will be necessary to create and load a policy module. A simple way to build a policy
5021 module is to use the audit2allow tool. This tool can take input in the format of AVC
5022 denial messages, and generate syntactically correct Type Enforcement rules which would be
5023 sufficient to prevent those denials. For example, to generate and display rules which
5024 would allow all kernel denials seen in the past five minutes, run: <xhtml:br/>
5025 <xhtml:br/>
5026 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow <xhtml:br/></xhtml:code>
5027 <xhtml:br/>
5028 It is possible to use audit2allow to directly create a module
5029 package suitable for loading into the kernel policy. To do this, invoke audit2allow with
5030 the -M flag: <xhtml:br/>
5031 <xhtml:br/>
5032 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow -M localmodule <xhtml:br/></xhtml:code>
5033 <xhtml:br/>
5034 If this is
5035 successful, several lines of output should appear. Review the generated TE rules in the
5036 file localmodule .te and ensure that they express what you wish to allow. <xhtml:br/>
5037 <xhtml:br/>
5038 The file
5039 localmodule .pp should also have been created. This file is a policy module package that
5040 can be loaded into the kernel. To do so, use system-config-selinux, go to the 'Policy
5041 Module' menu and use the 'Add' button to enable your module package in SELinux, or load it
5042 from the command line using semodule(8): <xhtml:br/>
5043 <xhtml:br/>
5044 <xhtml:code># semodule -i localmodule .pp <xhtml:br/></xhtml:code>
5045 <xhtml:br/>
5046 Section 45.2 of [9] covers this procedure in detail.</xhtml:li></xhtml:ul></xccdf:description>
5047 </xccdf:Group>
5048 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7">
5049 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
5050 <xccdf:description xml:lang="en">
5051 The recommendations up to this point have discussed how to
5052 configure and maintain a system under the default configuration of the targeted policy,
5053 which constrains only the actions of daemons and system software. This guide strongly
5054 recommends that any site which is not currently using SELinux at all transition to the
5055 targeted policy, to gain the substantial security benefits provided by that policy.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5056 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5057 However, the default policy provides only a subset of the full security gains available
5058 from using SELinux. In particular, the SELinux policy is also capable of constraining the
5059 actions of interactive users, of providing compartmented access by sensitivity level (MLS)
5060 and/or category (MCS), and of restricting certain types of system actions using booleans
5061 beyond the RHEL5 defaults. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5062 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5063 This section introduces other uses of SELinux which may be
5064 possible, and provides links to some outside resources about their use. Detailed
5065 description of how to implement these steps is beyond the scope of this guide.</xccdf:description>
5066 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.1">
5067 <xccdf:title xml:lang="en">Strengthen the Default SELinux Boolean Configuration</xccdf:title>
5068 <xccdf:description xml:lang="en">
5069 SELinux booleans are used to enable or disable segments of
5070 policy to comply with site policy. Booleans may apply to the entire system or to an
5071 individual daemon. For instance, the boolean allow execstack, if enabled, allows
5072 programs to make part of their stack memory region executable. This would apply to all
5073 programs on the system. The boolean ftp home dir allows ftpd processes to access user
5074 home directories, and applies only to daemons which implement FTP. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5076 The command <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5077 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5078 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ getsebool -a <xhtml:br/></xhtml:code>
5079 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5080 lists the values of all SELinux booleans on the system. Section 2.4.5
5081 discussed loosening boolean values in order to debug functionality problems which occur
5082 under more restrictive defaults. It is also useful to examine and strengthen the boolean
5083 settings, to disable functionality which is not required by legitimate programs on your
5084 system, but which might be symptomatic of an attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5085 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5086 See the manpages booleans(8),
5087 getsebool(8), and setsebool(8) for general information about booleans. There are also
5088 manual pages for several subsystems which discuss the use of SELinux with those systems.
5089 Examples include ftpd selinux(8), httpd selinux(8), and nfs selinux(8). Another good
5090 reference is the html documentation distributed with the selinux-policy RPM. This
5091 documentation is stored under <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5092 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5093 /usr/share/doc/selinux-policy-version/html/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5095 The pages
5096 global tunables.html and global booleans.html may be useful when examining booleans.</xccdf:description>
5097 </xccdf:Group>
5098 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.2">
5099 <xccdf:title xml:lang="en">Use a Stronger Policy</xccdf:title>
5100 <xccdf:description xml:lang="en">
5101 Using a stronger policy can greatly enhance security, but will
5102 generally require customization to be compatible with the particular system's purpose,
5103 and this may be costly or time consuming. Under the targeted policy, interactive
5104 processes are given the type unconfined t, so interactive users are not constrained by
5105 SELinux even if they attempt to take strange or malicious actions. The first alternative
5106 policy available with RHEL5's SELinux distribution, called strict, extends the
5107 protections offered by the default policy from daemons and system processes to all
5108 processes. To use the strict policy, first ensure that the policy module is installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5109 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5110 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install selinux-policy-strict <xhtml:br/></xhtml:code>
5111 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5112 Then edit /etc/selinux/config and correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5113 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5114 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=strict <xhtml:br/></xhtml:code>
5115 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5116 The mls policy type can be used to enforce sensitivity or category
5117 labelling, and requires site-specific configuration of these labels in order to be
5118 useful. To use this policy, install the appropriate policy module: <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"># yum install selinux-policy-mls <xhtml:br/></xhtml:code>
5121 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5122 Then edit /etc/selinux/config and correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5123 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5124 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=mls</xhtml:code></xccdf:description>
5125 <xccdf:warning xml:lang="en">
5126 Note: Switching between policies typically requires the entire disk to be relabelled, so
5127 that files get the appropriate SELinux contexts under the new policy. Boot with the
5128 additional grub command-line options <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5129 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5130 <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"/>
5131 to relabel the disk in single-user mode, then reboot normally.</xccdf:warning>
5132 </xccdf:Group>
5133 </xccdf:Group>
5134 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.8">
5135 <xccdf:title xml:lang="en">SELinux References</xccdf:title>
5136 <xccdf:description xml:lang="en">
5137 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
5138 <xhtml:li>NSA SELinux resources:<xhtml:br/>
5139 <xhtml:ul><xhtml:li>Web page: http://www.nsa.gov/selinux/</xhtml:li><xhtml:li>Mailing list: [email protected] <xhtml:br/>
5140 List information at: http://www.nsa.gov/selinux/info/list.cfm</xhtml:li></xhtml:ul>
5141 </xhtml:li>
5142 <xhtml:li>Fedora SELinux resources:<xhtml:br/>
5143 <xhtml:ul><xhtml:li>FAQ: http://docs.fedoraproject.org/selinux-faq/</xhtml:li><xhtml:li>Wiki: http://fedoraproject.org/wiki/SELinux/</xhtml:li><xhtml:li>Mailing list: [email protected] <xhtml:br/>
5144 List information at:
5145 https://www.redhat.com/mailman/listinfo/fedora-selinux-list</xhtml:li></xhtml:ul>
5146 </xhtml:li>
5147 <xhtml:li>Chapters 43–45 of Red Hat Enterprise Linux 5: Deployment Guide [9]</xhtml:li>
5148 <xhtml:li>The book SELinux by Example: Using Security Enhanced Linux [13]</xhtml:li>
5149 </xhtml:ul>
5150 </xccdf:description>
5151 </xccdf:Group>
5152 </xccdf:Group>
5153 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5">
5154 <xccdf:title xml:lang="en">Network Configuration and Firewalls</xccdf:title>
5155 <xccdf:description xml:lang="en">
5156 Most machines must be connected to a network of some sort, and this
5157 brings with it the substantial risk of network attack. This section discusses the security
5158 impact of decisions about networking which must be made when configuring a system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5160 This section also discusses firewalls, network access controls, and other network security
5161 frameworks, which allow system-level rules to be written that can limit attackers' ability
5162 to connect to your system. These rules can specify that network traffic should be allowed or
5163 denied from certain IP addresses, hosts, and networks. The rules can also specify which of
5164 the system's network services are available to particular hosts or networks.</xccdf:description>
5165 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1">
5166 <xccdf:title xml:lang="en">Kernel Parameters which Affect Networking</xccdf:title>
5167 <xccdf:description xml:lang="en">
5168 The sysctl utility is used to set a number of parameters which
5169 affect the operation of the Linux kernel. Several of these parameters are specific to
5170 networking, and the configuration options in this section are recommended.</xccdf:description>
5171 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.1">
5172 <xccdf:title xml:lang="en">Network Parameters for Hosts Only</xccdf:title>
5173 <xccdf:description xml:lang="en">
5174 Is this system going to be used as a firewall or gateway to
5175 pass IP traffic between different networks? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5176 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"/>
5177 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5178 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">net.ipv4.ip_forward = 0 <xhtml:br/>
5179 net.ipv4.conf.all.send_redirects = 0 <xhtml:br/>
5180 net.ipv4.conf.default.send_redirects = 0 <xhtml:br/></xhtml:code>
5181 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5182 These settings disable hosts from
5183 performing network functionality which is only appropriate for routers.</xccdf:description>
5184 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false" severity="medium" weight="10.0">
5185 <xccdf:title>Disable net.ipv4.conf.default.send_redirects for Hosts Only</xccdf:title>
5186 <xccdf:description>The default setting for sending ICMP redirects should be disabled for network interfaces.</xccdf:description>
5187 <xccdf:ident system="http://cce.mitre.org">CCE-4151-7</xccdf:ident>
5188 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.send_redirects</xccdf:fixtext>
5189 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5190 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20112"/>
5191 </xccdf:check>
5192 </xccdf:Rule>
5193 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false" severity="medium" weight="10.0">
5194 <xccdf:title>Disable net.ipv4.conf.all.send_redirects for Hosts Only</xccdf:title>
5195 <xccdf:description>Sending ICMP redirects should be disabled for all interfaces.</xccdf:description>
5196 <xccdf:ident system="http://cce.mitre.org">CCE-4155-8</xccdf:ident>
5197 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.send_redirects</xccdf:fixtext>
5198 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5199 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20113"/>
5200 </xccdf:check>
5201 </xccdf:Rule>
5202 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false" severity="medium" weight="10.0">
5203 <xccdf:title>Disable net.ipv4.ip forward for Hosts Only</xccdf:title>
5204 <xccdf:description>IP forwarding should be disabled.</xccdf:description>
5205 <xccdf:ident system="http://cce.mitre.org">CCE-3561-8</xccdf:ident>
5206 <xccdf:fixtext>(1) via sysctl - net.ipv4.ip_forward</xccdf:fixtext>
5207 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5208 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20114"/>
5209 </xccdf:check>
5210 </xccdf:Rule>
5211 </xccdf:Group>
5212 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.2">
5213 <xccdf:title xml:lang="en">Network Parameters for Hosts and Routers</xccdf:title>
5214 <xccdf:description xml:lang="en">
5215 Edit the file /etc/sysctl.conf and add or correct the following
5216 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5217 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5218 net.ipv4.conf.all.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5219 net.ipv4.conf.all.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5220 net.ipv4.conf.all.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5221 net.ipv4.conf.all.log_martians = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5222 net.ipv4.conf.default.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5223 net.ipv4.conf.default.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5224 net.ipv4.conf.default.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5225 net.ipv4.icmp_echo_ignore_broadcasts = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5226 net.ipv4.icmp_ignore_bogus_error_messages = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5227 net.ipv4.tcp_syncookies = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5228 net.ipv4.conf.all.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5229 net.ipv4.conf.default.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5230 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5231 These options
5232 improve Linux's ability to defend against certain types of IPv4 protocol attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5233 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5234 The
5235 accept source route, accept redirects, and secure redirects options are turned off to
5236 disable IPv4 protocol features which are considered to have few legitimate uses and to
5237 be easy to abuse. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5238 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5239 The net.ipv4.conf.all.log martians option logs several types of
5240 suspicious packets, such as spoofed packets, source-routed packets, and redirects. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5241 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5242 The icmp echo ignore broadcasts icmp ignore bogus error messages options protect against
5243 ICMP attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5244 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5245 The tcp syncookies option uses a cryptographic feature called SYN cookies
5246 to allow machines to continue to accept legitimate connections when faced with a SYN
5247 flood attack. See [12] for further information on this option. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5248 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5249 The rp filter option
5250 enables RFC-recommended source validation. It should not be used on machines which are
5251 routers for very complicated networks, but is helpful for end hosts and routers serving
5252 small networks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5253 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5254 For more information on any of these, see the kernel source
5255 documentation file /Documentation/networking/ip-sysctl.txt.2</xccdf:description>
5256 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.a" operator="equals" type="boolean">
5257 <xccdf:title>Deactivating "source routed packets"</xccdf:title>
5258 <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>
5259 <xccdf:question xml:lang="en">Enable/Disable source routed packets</xccdf:question>
5260 <xccdf:value>0</xccdf:value>
5261 <xccdf:value selector="enabled">1</xccdf:value>
5262 <xccdf:value selector="disabled">0</xccdf:value>
5263 </xccdf:Value>
5264 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.b" operator="equals" type="boolean">
5265 <xccdf:title>ICMP redirect messages</xccdf:title>
5266 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5267 <xccdf:question xml:lang="en">Enable/Disable ICMP redirect messages</xccdf:question>
5268 <xccdf:value>0</xccdf:value>
5269 <xccdf:value selector="enabled">1</xccdf:value>
5270 <xccdf:value selector="disabled">0</xccdf:value>
5271 </xccdf:Value>
5272 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.c" operator="equals" type="boolean">
5273 <xccdf:title>net.ipv4.conf.all.secure_redirects</xccdf:title>
5274 <xccdf:description xml:lang="en">Enable to prevent hijacking of routing path by only allowing redirects from gateways known in routing table. </xccdf:description>
5275 <xccdf:question xml:lang="en">Enable/Disable IPv4 prevent hijacking of routing paths</xccdf:question>
5276 <xccdf:value>1</xccdf:value>
5277 <xccdf:value selector="enabled">1</xccdf:value>
5278 <xccdf:value selector="disabled">0</xccdf:value>
5279 </xccdf:Value>
5280 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.d" operator="equals" type="boolean">
5281 <xccdf:title>net.ipv4.conf.all.log_martians</xccdf:title>
5282 <xccdf:description xml:lang="en">Disable so you don't Log Spoofed Packets, Source Routed Packets, Redirect Packets </xccdf:description>
5283 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging Spoofed packets, source routed packets and redirect packets</xccdf:question>
5284 <xccdf:value>0</xccdf:value>
5285 <xccdf:value selector="enabled">1</xccdf:value>
5286 <xccdf:value selector="disabled">0</xccdf:value>
5287 </xccdf:Value>
5288 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.e" operator="equals" type="boolean">
5289 <xccdf:title>net.ipv4.conf.default.accept_source_route</xccdf:title>
5290 <xccdf:description xml:lang="en">Disable IP source routing?</xccdf:description>
5291 <xccdf:question xml:lang="en">Enable/Disable IPv4 source routing</xccdf:question>
5292 <xccdf:value>0</xccdf:value>
5293 <xccdf:value selector="enabled">1</xccdf:value>
5294 <xccdf:value selector="disabled">0</xccdf:value>
5295 </xccdf:Value>
5296 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.f" operator="equals" type="boolean">
5297 <xccdf:title>net.ipv4.conf.default.accept_redirects</xccdf:title>
5298 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5299 <xccdf:question xml:lang="en">Enable/Disable default IPv4 ICMP Redirect Acceptance</xccdf:question>
5300 <xccdf:value>0</xccdf:value>
5301 <xccdf:value selector="enabled">1</xccdf:value>
5302 <xccdf:value selector="disabled">0</xccdf:value>
5303 </xccdf:Value>
5304 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.g" operator="equals" type="boolean">
5305 <xccdf:title>net.ipv4.conf.default.secure_redirects</xccdf:title>
5306 <xccdf:description xml:lang="en">Log packets with impossible addresses to kernel log?</xccdf:description>
5307 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging packets with impossible addresses to kernel log</xccdf:question>
5308 <xccdf:value>1</xccdf:value>
5309 <xccdf:value selector="enabled">1</xccdf:value>
5310 <xccdf:value selector="disabled">0</xccdf:value>
5311 </xccdf:Value>
5312 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.h" operator="equals" type="boolean">
5313 <xccdf:title>net.ipv4.icmp_echo_ignore_broadcast</xccdf:title>
5314 <xccdf:description xml:lang="en">Ignore all ICMP ECHO and TIMESTAMP requests sent to it via broadcast/multicast</xccdf:description>
5315 <xccdf:question xml:lang="en">Enable/Disable IPv4 ignoring ICMP ECHO and TIMESTAMP requests from broadcast/multicast</xccdf:question>
5316 <xccdf:value>1</xccdf:value>
5317 <xccdf:value selector="enabled">1</xccdf:value>
5318 <xccdf:value selector="disabled">0</xccdf:value>
5319 </xccdf:Value>
5320 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.i" operator="equals" type="boolean">
5321 <!-- TODO -->
5322 <xccdf:title>net.ipv4.icmp_ignore_bogus_error_messages</xccdf:title>
5323 <xccdf:description xml:lang="en">Enable to prevent certain types of attacks</xccdf:description>
5324 <xccdf:value>1</xccdf:value>
5325 <xccdf:value selector="enabled">1</xccdf:value>
5326 <xccdf:value selector="disabled">0</xccdf:value>
5327 </xccdf:Value>
5328 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.j" operator="equals" type="boolean">
5329 <xccdf:title>net.ipv4.tcp_syncookie</xccdf:title>
5330 <xccdf:description xml:lang="en">Enable to turn on TCP SYN Cookie Protection</xccdf:description>
5331 <xccdf:question xml:lang="en">Enable/Disable TCP SYN Cookie Protection</xccdf:question>
5332 <xccdf:value>1</xccdf:value>
5333 <xccdf:value selector="enabled">1</xccdf:value>
5334 <xccdf:value selector="disabled">0</xccdf:value>
5335 </xccdf:Value>
5336 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.k" operator="equals" type="boolean">
5337 <xccdf:title>net.ipv4.conf.all.rp_filter</xccdf:title>
5338 <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>
5339 <xccdf:question xml:lang="en">Enable/Disable all enforcing sanity checks</xccdf:question>
5340 <xccdf:value>1</xccdf:value>
5341 <xccdf:value selector="enabled">1</xccdf:value>
5342 <xccdf:value selector="disabled">0</xccdf:value>
5343 </xccdf:Value>
5344 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.l" operator="equals" type="boolean">
5345 <xccdf:title>net.ipv4.conf.default.rp_filter</xccdf:title>
5346 <xccdf:description xml:lang="en">Enables source route verification</xccdf:description>
5347 <xccdf:question xml:lang="en">Enable/Disable default source route verification</xccdf:question>
5348 <xccdf:value>1</xccdf:value>
5349 <xccdf:value selector="enabled">1</xccdf:value>
5350 <xccdf:value selector="disabled">0</xccdf:value>
5351 </xccdf:Value>
5352 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false" severity="medium" weight="10.0">
5353 <xccdf:title>Set net.ipv4.conf.all.accept_source_route for Hosts and Routers</xccdf:title>
5354 <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>
5355 <xccdf:ident system="http://cce.mitre.org">CCE-4236-6</xccdf:ident>
5356 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_source_route</xccdf:fixtext>
5357 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5358 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20115" value-id="xccdf_cdf_value_var-2.5.1.2.a"/>
5359 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20115"/>
5360 </xccdf:check>
5361 </xccdf:Rule>
5362 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false" severity="medium" weight="10.0">
5363 <xccdf:title>Set net.ipv4.conf.all.accept_redirects for Hosts and Routers</xccdf:title>
5364 <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>
5365 <xccdf:ident system="http://cce.mitre.org">CCE-4217-6</xccdf:ident>
5366 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_redirects</xccdf:fixtext>
5367 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5368 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20116" value-id="xccdf_cdf_value_var-2.5.1.2.b"/>
5369 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20116"/>
5370 </xccdf:check>
5371 </xccdf:Rule>
5372 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false" severity="medium" weight="10.0">
5373 <xccdf:title>Set net.ipv4.conf.all.secure_redirects for Hosts and Routers</xccdf:title>
5374 <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>
5375 <xccdf:ident system="http://cce.mitre.org">CCE-3472-8</xccdf:ident>
5376 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.secure_redirects</xccdf:fixtext>
5377 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5378 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20117" value-id="xccdf_cdf_value_var-2.5.1.2.c"/>
5379 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20117"/>
5380 </xccdf:check>
5381 </xccdf:Rule>
5382 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false" severity="medium" weight="10.0">
5383 <xccdf:title>Set net.ipv4.conf.all.log_martians for Hosts and Routers</xccdf:title>
5384 <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>
5385 <xccdf:ident system="http://cce.mitre.org">CCE-4320-8</xccdf:ident>
5386 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.log_martians</xccdf:fixtext>
5387 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5388 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20118" value-id="xccdf_cdf_value_var-2.5.1.2.d"/>
5389 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20118"/>
5390 </xccdf:check>
5391 </xccdf:Rule>
5392 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false" severity="medium" weight="10.0">
5393 <xccdf:title>Set net.ipv4.conf.default.accept_source_route for Hosts and Routers</xccdf:title>
5394 <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>
5395 <xccdf:ident system="http://cce.mitre.org">CCE-4091-5</xccdf:ident>
5396 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_source_route</xccdf:fixtext>
5397 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5398 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20119" value-id="xccdf_cdf_value_var-2.5.1.2.e"/>
5399 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20119"/>
5400 </xccdf:check>
5401 </xccdf:Rule>
5402 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false" severity="medium" weight="10.0">
5403 <xccdf:title>Set net.ipv4.conf.default.accept_redirects for Hosts and Routers</xccdf:title>
5404 <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>
5405 <xccdf:ident system="http://cce.mitre.org">CCE-4186-3</xccdf:ident>
5406 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_redirects</xccdf:fixtext>
5407 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5408 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20120" value-id="xccdf_cdf_value_var-2.5.1.2.f"/>
5409 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20120"/>
5410 </xccdf:check>
5411 </xccdf:Rule>
5412 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false" severity="medium" weight="10.0">
5413 <xccdf:title>Set net.ipv4.conf.default.secure_redirects for Hosts and Routers</xccdf:title>
5414 <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>
5415 <xccdf:ident system="http://cce.mitre.org">CCE-3339-9</xccdf:ident>
5416 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.secure_redirects</xccdf:fixtext>
5417 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5418 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20121" value-id="xccdf_cdf_value_var-2.5.1.2.g"/>
5419 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20121"/>
5420 </xccdf:check>
5421 </xccdf:Rule>
5422 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false" severity="medium" weight="10.0">
5423 <xccdf:title>Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers</xccdf:title>
5424 <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>
5425 <xccdf:ident system="http://cce.mitre.org">CCE-3644-2</xccdf:ident>
5426 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_echo_ignore_broadcasts</xccdf:fixtext>
5427 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5428 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20122" value-id="xccdf_cdf_value_var-2.5.1.2.h"/>
5429 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20122"/>
5430 </xccdf:check>
5431 </xccdf:Rule>
5432 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false" severity="medium" weight="10.0">
5433 <xccdf:title>Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers</xccdf:title>
5434 <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>
5435 <xccdf:ident system="http://cce.mitre.org">CCE-4133-5</xccdf:ident>
5436 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_ignore_bogus_error_messages</xccdf:fixtext>
5437 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5438 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20123" value-id="xccdf_cdf_value_var-2.5.1.2.i"/>
5439 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20123"/>
5440 </xccdf:check>
5441 </xccdf:Rule>
5442 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false" severity="medium" weight="10.0">
5443 <xccdf:title>Set net.ipv4.tcp_syncookies for Hosts and Routers</xccdf:title>
5444 <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>
5445 <xccdf:ident system="http://cce.mitre.org">CCE-4265-5</xccdf:ident>
5446 <xccdf:fixtext>(1) via sysctl - net.ipv4.tcp_syncookies</xccdf:fixtext>
5447 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5448 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20124" value-id="xccdf_cdf_value_var-2.5.1.2.j"/>
5449 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20124"/>
5450 </xccdf:check>
5451 </xccdf:Rule>
5452 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false" severity="medium" weight="10.0">
5453 <xccdf:title>Set net.ipv4.conf.all.rp_filter for Hosts and Routers</xccdf:title>
5454 <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>
5455 <xccdf:ident system="http://cce.mitre.org">CCE-4080-8</xccdf:ident>
5456 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.rp_filter</xccdf:fixtext>
5457 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5458 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20125" value-id="xccdf_cdf_value_var-2.5.1.2.k"/>
5459 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20125"/>
5460 </xccdf:check>
5461 </xccdf:Rule>
5462 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false" severity="medium" weight="10.0">
5463 <xccdf:title>Set net.ipv4.conf.default.rp_filter for Hosts and Routers</xccdf:title>
5464 <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>
5465 <xccdf:ident system="http://cce.mitre.org">CCE-3840-6</xccdf:ident>
5466 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.rp_filter</xccdf:fixtext>
5467 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5468 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20126" value-id="xccdf_cdf_value_var-2.5.1.2.l"/>
5469 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20126"/>
5470 </xccdf:check>
5471 </xccdf:Rule>
5472 </xccdf:Group>
5473 </xccdf:Group>
5474 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2">
5475 <xccdf:title xml:lang="en">Wireless Networking</xccdf:title>
5476 <xccdf:description xml:lang="en">
5477 Wireless networking (sometimes referred to as 802.11 or Wi-Fi)
5478 presents a serious security risk to sensitive or classified systems and networks. Wireless
5479 networking hardware is much more likely to be included in laptop or portable systems than
5480 desktops or servers. See Section 3.3.14 for information on Bluetooth wireless support.
5481 Bluetooth serves a different purpose and possesses a much shorter range, but it still
5482 presents serious security risks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5483 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5484 Removal of hardware is the only way to absolutely ensure
5485 that the wireless capability remains disabled. If it is completely impractical to remove
5486 the wireless hardware, and site policy still allows the device to enter sensitive spaces,
5487 every effort to disable the capability via software should be made. In general,
5488 acquisition policy should include provisions to prevent the purchase of equipment that
5489 will be used in sensitive spaces and includes wireless capabilities.</xccdf:description>
5490 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.1">
5491 <xccdf:title xml:lang="en">Remove Wireless Hardware if Possible</xccdf:title>
5492 <xccdf:description xml:lang="en">
5493 Identifying the wireless hardware is the first step in removing
5494 it. The system's hardware manual should contain information on its wireless
5495 capabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5496 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5497 Wireless hardware included with a laptop typically takes the form of a
5498 mini-PCI card or PC card. Other forms include devices which plug into USB or Ethernet
5499 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"/>
5500 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5501 A PC Card (originally called a PCMCIA card) is designed to be easy to remove, though it
5502 may be hidden when inserted into the system. Frequently, there will be one or more
5503 buttons near the card slot that, when pressed, eject the card from the system. If no
5504 card is ejected, the slot is empty. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5506 A mini-PCI card is approximately credit-card sized
5507 and typically accessible via a removable panel on the underside of the laptop. Removing
5508 the panel may require simple tools. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5509 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5510 In addition to manually inspecting the hardware, it
5511 is also possible to query the system for its installed hardware devices. The commands
5512 /sbin/lspci and /sbin/lsusb will show a list of all recognized devices on their
5513 respective buses, and this may indicate the presence of a wireless device.</xccdf:description>
5514 </xccdf:Group>
5515 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2">
5516 <xccdf:title xml:lang="en">Disable Wireless Through Software Configuration</xccdf:title>
5517 <xccdf:description xml:lang="en">
5518 If it is impossible to remove the wireless hardware from the
5519 device in question, disable as much of it as possible through software. The following
5520 methods can disable software support for wireless networking, but note that these
5521 methods do not prevent malicious software or careless users from re-activating the
5522 devices.</xccdf:description>
5523 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.1">
5524 <xccdf:title xml:lang="en">Disable Wireless in BIOS</xccdf:title>
5525 <xccdf:description xml:lang="en">
5526 Some laptops that include built-in wireless support offer the
5527 ability to disable the device through the BIOS. This is system-specific; consult your
5528 hardware manual or explore the BIOS setup during boot. 2A recent version of this file
5529 can be found online at
5530 http://lxr.linux.no/source/Documentation/networking/ip-sysctl.txt.</xccdf:description>
5531 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false" severity="medium" weight="10.0">
5532 <xccdf:title>Disable Wireless in BIOS</xccdf:title>
5533 <xccdf:description>All wireless devices should be disabled in the BIOS.</xccdf:description>
5534 <xccdf:ident system="http://cce.mitre.org">CCE-3628-5</xccdf:ident>
5535 <xccdf:fixtext>(1) via BIOS menus</xccdf:fixtext>
5536 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5537 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20127"/>
5538 </xccdf:check>
5539 </xccdf:Rule>
5540 </xccdf:Group>
5541 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.2">
5542 <xccdf:title xml:lang="en">Deactivate Wireless Interfaces</xccdf:title>
5543 <xccdf:description xml:lang="en">
5544 Deactivating the wireless interfaces should prevent normal
5545 usage of the wireless capability. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5546 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5547 First, identify the interfaces available with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5549 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ifconfig -a <xhtml:br/></xhtml:code>
5550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5551 Additionally,the following command may also be used to
5552 determine whether wireless support ('extensions') is included for a particular
5553 interface, though this may not always be a clear indicator: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5554 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5555 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># iwconfig <xhtml:br/></xhtml:code>
5556 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5557 After
5558 identifying any wireless interfaces (which may have names like wlan0, ath0, wifi0, or
5559 eth0), deactivate the interface with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5560 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5561 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ifdown interface <xhtml:br/></xhtml:code>
5562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5563 These changes
5564 will only last until the next reboot. To disable the interface for future boots,
5565 remove the appropriate interface file from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5567 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
5568 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false" severity="medium" weight="10.0">
5569 <xccdf:title>Deactivate Wireless Interfaces</xccdf:title>
5570 <xccdf:description>All wireless interfaces should be disabled.</xccdf:description>
5571 <xccdf:ident system="http://cce.mitre.org">CCE-4276-2</xccdf:ident>
5572 <xccdf:fixtext>rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fixtext>
5573 <xccdf:fixtext>ifdown interface</xccdf:fixtext>
5574 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5575 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20128"/>
5576 </xccdf:check>
5577 </xccdf:Rule>
5578 </xccdf:Group>
5579 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.3">
5580 <xccdf:title xml:lang="en">Disable Wireless Drivers</xccdf:title>
5581 <xccdf:description xml:lang="en">
5582 Removing the kernel drivers that provide support for wireless
5583 Ethernet devices will prevent users from easily activating the devices. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5585 To remove the wireless drivers from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5586 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5587 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm -r /lib/modules/kernelversion(s)/kernel/drivers/net/wireless <xhtml:br/></xhtml:code>
5588 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5589 This command must also be repeated every time the kernel is upgraded.</xccdf:description>
5590 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false" severity="medium" weight="10.0">
5591 <xccdf:title>Disable Wireless Drivers</xccdf:title>
5592 <xccdf:description>Device drivers for wireless devices should be excluded from the kernel.</xccdf:description>
5593 <xccdf:ident system="http://cce.mitre.org">CCE-4170-7</xccdf:ident>
5594 <xccdf:fixtext>(1) via modprobe</xccdf:fixtext>
5595 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5596 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20129"/>
5597 </xccdf:check>
5598 </xccdf:Rule>
5599 </xccdf:Group>
5600 </xccdf:Group>
5601 </xccdf:Group>
5602 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3">
5603 <xccdf:title xml:lang="en">IPv6</xccdf:title>
5604 <xccdf:description xml:lang="en">
5605 The system includes support for Internet Protocol version 6. A
5606 major and often-mentioned improvement over IPv4 is its enormous increase in the number of
5607 available addresses. Another important feature is its support for automatic configuration
5608 of many network settings.</xccdf:description>
5609 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1">
5610 <xccdf:title xml:lang="en">Disable Support for IPv6 unless Needed</xccdf:title>
5611 <xccdf:description xml:lang="en">
5612 Because the IPv6 networking code is relatively new and complex,
5613 it is particularly important that it be disabled unless needed. Despite configuration
5614 that suggests support for IPv6 has been disabled, link-local IPv6 address
5615 autoconfiguration occurs even when only an IPv4 address is assigned. The only way to
5616 effectively prevent execution of the IPv6 networking stack is to prevent the kernel from
5617 loading the IPv6 kernel module.</xccdf:description>
5618 <xccdf:reference>MO3:S0-C1-1</xccdf:reference>
5619 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.1">
5620 <xccdf:title xml:lang="en">Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5621 <xccdf:description xml:lang="en">
5622 To prevent the IPv6 kernel module (ipv6) from being loaded,
5623 add the following line to /etc/modprobe.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5624 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5625 install ipv6 /bin/true <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5626 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5627 When the kernel requests the ipv6 module, this line will direct the system to run the
5628 program /bin/true instead.</xccdf:description>
5629 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false" severity="medium" weight="10.0">
5630 <xccdf:title>Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5631 <xccdf:description>Automatic loading of the IPv6 kernel module should be disabled.</xccdf:description>
5632 <xccdf:reference>MO3:S0-C1-1 MO3:S0-C1-2</xccdf:reference>
5633 <xccdf:ident system="http://cce.mitre.org">CCE-3562-6</xccdf:ident>
5634 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
5635 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5636 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20130"/>
5637 </xccdf:check>
5638 </xccdf:Rule>
5639 </xccdf:Group>
5640 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.2">
5641 <xccdf:title xml:lang="en">Disable Interface Usage of IPv6</xccdf:title>
5642 <xccdf:description xml:lang="en">
5643 To prevent configuration of IPv6 for all interfaces, add or
5644 correct the following lines in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5645 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5646 NETWORKING_IPV6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5647 IPV6INIT=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5648 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5649 For each network interface IFACE , add or correct the following lines in
5650 /etc/sysconfig/network-scripts/ifcfg-IFACE as an additional prevention mechanism:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5651 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5652 IPV6INIT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5653 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5654 If it becomes necessary later to configure IPv6, only the interfaces
5655 requiring it should be enabled.</xccdf:description>
5656 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false" severity="medium" weight="10.0">
5657 <xccdf:title>Disable NETWORKING_IPV6 in /etc/sysconfig/network</xccdf:title>
5658 <xccdf:description>The default setting for IPv6 configuration should be disabled</xccdf:description>
5659 <xccdf:ident system="http://cce.mitre.org">CCE-3381-1</xccdf:ident>
5660 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5661 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5662 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20131"/>
5663 </xccdf:check>
5664 </xccdf:Rule>
5665 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false" severity="medium" weight="10.0">
5666 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network</xccdf:title>
5667 <xccdf:description>Global IPv6 initialization should be disabled</xccdf:description>
5668 <xccdf:ident system="http://cce.mitre.org">CCE-3377-9</xccdf:ident>
5669 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5670 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5671 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20132"/>
5672 </xccdf:check>
5673 </xccdf:Rule>
5674 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false" severity="medium" weight="10.0">
5675 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-*</xccdf:title>
5676 <xccdf:description>IPv6 configuration should be disabled for all interfaces.</xccdf:description>
5677 <xccdf:ident system="http://cce.mitre.org">CCE-4296-0</xccdf:ident>
5678 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-*</xccdf:fixtext>
5679 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5680 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20133"/>
5681 </xccdf:check>
5682 </xccdf:Rule>
5683 </xccdf:Group>
5684 </xccdf:Group>
5685 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2">
5686 <xccdf:title xml:lang="en">Configure IPv6 Settings if Necessary</xccdf:title>
5687 <xccdf:description xml:lang="en">
5688 A major feature of IPv6 is the extent to which systems
5689 implementing it can automatically configure their networking devices using information
5690 from the network. From a security perspective, manually configuring important
5691 configuration information is always preferable to accepting it from the network in an
5692 unauthenticated fashion.</xccdf:description>
5693 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.1">
5694 <xccdf:title xml:lang="en">Disable Automatic Configuration</xccdf:title>
5695 <xccdf:description xml:lang="en">
5696 Disable the system's acceptance of router advertisements and
5697 redirects by adding or correcting the following line in /etc/sysconfig/network (note
5698 that this does not disable sending router solicitations): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5699 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5700 IPV6_AUTOCONF=no</xccdf:description>
5701 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.a" operator="equals" type="string">
5702 <xccdf:title>IPV6_AUTOCONF</xccdf:title>
5703 <xccdf:description xml:lang="en">Toggle global IPv6 autoconfiguration (only, if global forwarding is disabled)</xccdf:description>
5704 <xccdf:question xml:lang="en">Enable/Disable global IPv6 autoconfiguration</xccdf:question>
5705 <xccdf:value>disabled</xccdf:value>
5706 <xccdf:value selector="enabled">enabled</xccdf:value>
5707 <xccdf:value selector="disabled">disabled</xccdf:value>
5708 <xccdf:match>enabled|disabled</xccdf:match>
5709 </xccdf:Value>
5710 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.b" operator="equals" type="string">
5711 <xccdf:title>net.ipv6.conf.default.accept_ra</xccdf:title>
5712 <xccdf:description xml:lang="en">accept default router advertisements</xccdf:description>
5713 <xccdf:question xml:lang="en">Enable/Disable IPv6 accepting default router advertisements</xccdf:question>
5714 <xccdf:value>no</xccdf:value>
5715 <xccdf:value selector="enabled">yes</xccdf:value>
5716 <xccdf:value selector="disabled">no</xccdf:value>
5717 <xccdf:match>yes|no</xccdf:match>
5718 </xccdf:Value>
5719 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.c" operator="equals" type="string">
5720 <xccdf:title>net.ipv6.conf.default.accept_redirects</xccdf:title>
5721 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5722 <xccdf:question xml:lang="en">Enable/Disable IPv6 default ICMP Redirect Acceptance</xccdf:question>
5723 <xccdf:value>disabled</xccdf:value>
5724 <xccdf:value selector="enabled">enabled</xccdf:value>
5725 <xccdf:value selector="disabled">disabled</xccdf:value>
5726 <xccdf:match>enabled|disabled</xccdf:match>
5727 </xccdf:Value>
5728 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.d" operator="equals" type="string">
5729 <xccdf:title>net.ipv6.conf.all.accept_redirects</xccdf:title>
5730 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5731 <xccdf:question xml:lang="en">Enable/Disable all IPv6 ICMP Redirect Acceptance</xccdf:question>
5732 <xccdf:value>disabled</xccdf:value>
5733 <xccdf:value selector="enabled">enabled</xccdf:value>
5734 <xccdf:value selector="disabled">disabled</xccdf:value>
5735 <xccdf:match>enabled|disabled</xccdf:match>
5736 </xccdf:Value>
5737 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false" severity="medium" weight="10.0">
5738 <xccdf:title>Disable IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:title>
5739 <xccdf:description>Accepting IPv6 router advertisements should be disabled for all interfaces.</xccdf:description>
5740 <xccdf:ident system="http://cce.mitre.org">CCE-4269-7</xccdf:ident>
5741 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5742 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5743 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20134" value-id="xccdf_cdf_value_var-2.5.3.2.1.a"/>
5744 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20134"/>
5745 </xccdf:check>
5746 </xccdf:Rule>
5747 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false" severity="medium" weight="10.0">
5748 <xccdf:title>Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra)</xccdf:title>
5749 <xccdf:description>The default setting for accepting IPv6 router advertisements should be: for all interfaces.</xccdf:description>
5750 <xccdf:ident system="http://cce.mitre.org">CCE-4291-1</xccdf:ident>
5751 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5752 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5753 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20135" value-id="xccdf_cdf_value_var-2.5.3.2.1.b"/>
5754 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20135"/>
5755 </xccdf:check>
5756 </xccdf:Rule>
5757 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false" severity="medium" weight="10.0">
5758 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects)</xccdf:title>
5759 <xccdf:description>Accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
5760 <xccdf:ident system="http://cce.mitre.org">CCE-4313-3</xccdf:ident>
5761 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5762 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5763 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20136" value-id="xccdf_cdf_value_var-2.5.3.2.1.c"/>
5764 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20136"/>
5765 </xccdf:check>
5766 </xccdf:Rule>
5767 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false" severity="medium" weight="10.0">
5768 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects)</xccdf:title>
5769 <xccdf:description>The default setting for accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
5770 <xccdf:ident system="http://cce.mitre.org">CCE-4198-8</xccdf:ident>
5771 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5772 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5773 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20137" value-id="xccdf_cdf_value_var-2.5.3.2.1.d"/>
5774 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20137"/>
5775 </xccdf:check>
5776 </xccdf:Rule>
5777 </xccdf:Group>
5778 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.2">
5779 <xccdf:title xml:lang="en">Manually Assign Global IPv6 Address</xccdf:title>
5780 <xccdf:description xml:lang="en">
5781 To manually assign an IP address for an interface IFACE, edit
5782 the file /etc/sysconfig/network-scripts/ ifcfg-IFACE. Add or correct the following
5783 line (substituting the correct IPv6 address): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5784 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5785 IPV6ADDR=2001:0DB8::ABCD/64 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5786 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5787 Manually
5788 assigning an IP address is preferable to accepting one from routers or from the
5789 network otherwise. The example address here is an IPv6 address reserved for
5790 documentation purposes, as defined by RFC3849.</xccdf:description>
5791 </xccdf:Group>
5792 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.3">
5793 <xccdf:title xml:lang="en">Use Privacy Extensions for Address if Necessary</xccdf:title>
5794 <xccdf:description xml:lang="en">
5795 To introduce randomness into the automatic generation of IPv6
5796 addresses, add or correct the following line in
5797 /etc/sysconfig/network-scripts/ifcfg-IFACE: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5798 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5799 IPV6_PRIVACY=rfc3041<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5800 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5801 Automatically-generated IPv6 addresses are based on the underlying hardware (e.g.
5802 Ethernet) address, and so it becomes possible to track a piece of hardware over its
5803 lifetime using its traffic. If it is important for a system's IP address to not
5804 trivially reveal its hardware address, this setting should be applied.</xccdf:description>
5805 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.3.a" operator="equals" type="string">
5806 <xccdf:title>IPV6_PRIVACY in /etc/sysconfig/network-scripts/ifcfg-IFACE</xccdf:title>
5807 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
5808 <xccdf:question xml:lang="en">Select control of IPv6 address creation privacy</xccdf:question>
5809 <xccdf:value>rfc3041</xccdf:value>
5810 <xccdf:value selector="disabled">disabled</xccdf:value>
5811 <xccdf:value selector="lightweight">lightweight</xccdf:value>
5812 <xccdf:value selector="rfc3041">rfc3041</xccdf:value>
5813 </xccdf:Value>
5814 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false" weight="10.0">
5815 <xccdf:title>Use Privacy Extensions for Address if Necessary</xccdf:title>
5816 <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>
5817 <xccdf:ident system="http://cce.mitre.org">CCE-3842-2</xccdf:ident>
5818 <xccdf:fixtext>(1) via IPV6_PRIVACY in
5819 /etc/sysconfig/network-scripts/ifcfg-&lt;interface&gt;</xccdf:fixtext>
5820 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5821 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20138" value-id="xccdf_cdf_value_var-2.5.3.2.3.a"/>
5822 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20138"/>
5823 </xccdf:check>
5824 </xccdf:Rule>
5825 </xccdf:Group>
5826 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.4">
5827 <xccdf:title xml:lang="en">Manually Assign IPv6 Router Address</xccdf:title>
5828 <xccdf:description xml:lang="en">
5829 Edit the file /etc/sysconfig/network-scripts/ifcfg-IFACE ,
5830 and add or correct the following line (substituting your gateway IP as appropriate):<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5831 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5832 IPV6_DEFAULTGW=2001:0DB8::0001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5833 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5834 Router addresses should be manually set and not
5835 accepted via any autoconfiguration or router advertisement.</xccdf:description>
5836 </xccdf:Group>
5837 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.5">
5838 <xccdf:title xml:lang="en">Limit Network-Transmitted Configuration</xccdf:title>
5839 <xccdf:description xml:lang="en">
5840 Add the following lines to /etc/sysctl.conf to limit the
5841 configuration information requested from other systems, and accepted from the network:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5843 net.ipv6.conf.default.router_solicitations = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5844 net.ipv6.conf.default.accept_ra_rtr_pref = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5845 net.ipv6.conf.default.accept_ra_pinfo = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5846 net.ipv6.conf.default.accept_ra_defrtr = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5847 net.ipv6.conf.default.autoconf = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5848 net.ipv6.conf.default.dad_transmits = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5849 net.ipv6.conf.default.max_addresses = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5850 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5851 The router solicitations setting determines how many router solicitations are sent
5852 when bringing up the interface. If addresses are statically assigned, there is no need
5853 to send any solicitations. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5855 The accept_ra_pinfo setting controls whether the system will
5856 accept prefix info from the router. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5858 The accept_ra_defrtr setting controls whether the
5859 system will accept Hop Limit settings from a router advertisement. Setting it to 0
5860 prevents a router from changing your default IPv6 Hop Limit for outgoing packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5862 The autoconf setting controls whether router advertisements can cause the system to
5863 assign a global unicast address to an interface. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5864 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5865 The dad_transmits setting determines how
5866 many neighbor solicitations to send out per address (global and link-local) when
5867 bringing up an interface to ensure the desired address is unique on the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5868 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5869 The max_addresses setting determines how many global unicast IPv6 addresses can be
5870 assigned to each interface. The default is 16, but it should be set to exactly the
5871 number of statically configured global addresses required.</xccdf:description>
5872 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.a" operator="equals" type="number">
5873 <xccdf:title> net.ipv6.conf.default.router_solicitations</xccdf:title>
5874 <xccdf:description xml:lang="en">
5875 Setting determines how many router solicitations are
5876 sent when bringing up the interface. If addresses are statically assigned, there
5877 is no need to send any solicitation</xccdf:description>
5878 <xccdf:question xml:lang="en">Select how many router solicitations are sent when bringing up the interface</xccdf:question>
5879 <xccdf:value>0</xccdf:value>
5880 <xccdf:value selector="0">0</xccdf:value>
5881 <xccdf:value selector="1">1</xccdf:value>
5882 </xccdf:Value>
5883 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.b" operator="equals" type="boolean">
5884 <xccdf:title>Accept Router Preference in Router Advertisements?</xccdf:title>
5885 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
5886 <xccdf:question xml:lang="en">Enable/Disable IPv6 router advertisements</xccdf:question>
5887 <xccdf:value>0</xccdf:value>
5888 <xccdf:value selector="enabled">1</xccdf:value>
5889 <xccdf:value selector="disabled">0</xccdf:value>
5890 </xccdf:Value>
5891 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.c" operator="equals" type="boolean">
5892 <xccdf:title>net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
5893 <xccdf:description xml:lang="en">Setting controls whether the system will accept prefix info from the router</xccdf:description>
5894 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of router prefix info</xccdf:question>
5895 <xccdf:value>0</xccdf:value>
5896 <xccdf:value selector="enabled">1</xccdf:value>
5897 <xccdf:value selector="disabled">0</xccdf:value>
5898 </xccdf:Value>
5899 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.d" operator="equals" type="boolean">
5900 <xccdf:title>net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
5901 <xccdf:description xml:lang="en">
5902 Setting controls whether the system will accept Hop Limit
5903 settings from a router advertisement. Setting it to 0 prevents a router from
5904 changing your default IPv6 Hop Limit for outgoing packets.</xccdf:description>
5905 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of Hop limits from router advertisement</xccdf:question>
5906 <xccdf:value>0</xccdf:value>
5907 <xccdf:value selector="enabled">1</xccdf:value>
5908 <xccdf:value selector="disabled">0</xccdf:value>
5909 </xccdf:Value>
5910 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.e" operator="equals" type="boolean">
5911 <xccdf:title>net.ipv6.conf.default.autoconf</xccdf:title>
5912 <xccdf:description>Setting controls whether router advertisements can cause the system to assign a global unicast address to an interface.</xccdf:description>
5913 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of global unicast address from router advertisement</xccdf:question>
5914 <xccdf:value>0</xccdf:value>
5915 <xccdf:value selector="enabled">1</xccdf:value>
5916 <xccdf:value selector="disabled">0</xccdf:value>
5917 </xccdf:Value>
5918 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.f" operator="equals" type="number">
5919 <xccdf:title>net.ipv6.conf.default.dad_transmits</xccdf:title>
5920 <xccdf:description xml:lang="en">
5921 Setting determines how many neighbor solicitations to
5922 send out per address (global and link-local) when bringing up an interface to
5923 ensure the desired address is unique on the network</xccdf:description>
5924 <xccdf:question xml:lang="en">Select how many neighbor solicitations send out per address to ensure uniqueness of desired address for IPv6</xccdf:question>
5925 <xccdf:value>0</xccdf:value>
5926 <xccdf:value selector="0">0</xccdf:value>
5927 <xccdf:value selector="1">1</xccdf:value>
5928 </xccdf:Value>
5929 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.g" operator="equals" type="number">
5930 <xccdf:title>net.ipv6.conf.default.max_addresses</xccdf:title>
5931 <xccdf:description>
5932 Setting determines how many global unicast IPv6 addresses can be
5933 assigned to each interface. The default is 16, but it should be set to exactly
5934 the number of statically configured global addresses required.</xccdf:description>
5935 <xccdf:question xml:lang="en">Select how many global unicast IPv6 addresses can be assigned to each interface</xccdf:question>
5936 <xccdf:value>16</xccdf:value>
5937 <xccdf:value selector="0">0</xccdf:value>
5938 <xccdf:value selector="1">1</xccdf:value>
5939 <xccdf:value selector="2">2</xccdf:value>
5940 <xccdf:value selector="4">4</xccdf:value>
5941 <xccdf:value selector="8">8</xccdf:value>
5942 <xccdf:value selector="16">16</xccdf:value>
5943 </xccdf:Value>
5944 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false" weight="10.0">
5945 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations</xccdf:title>
5946 <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>
5947 <xccdf:ident system="http://cce.mitre.org">CCE-4159-0</xccdf:ident>
5948 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.router_solicitations</xccdf:fixtext>
5949 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5950 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20139" value-id="xccdf_cdf_value_var-2.5.3.2.5.a"/>
5951 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20139"/>
5952 </xccdf:check>
5953 </xccdf:Rule>
5954 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false" weight="10.0">
5955 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:title>
5956 <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>
5957 <xccdf:ident system="http://cce.mitre.org">CCE-4221-8</xccdf:ident>
5958 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:fixtext>
5959 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5960 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20140" value-id="xccdf_cdf_value_var-2.5.3.2.5.b"/>
5961 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20140"/>
5962 </xccdf:check>
5963 </xccdf:Rule>
5964 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false" weight="10.0">
5965 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
5966 <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>
5967 <xccdf:ident system="http://cce.mitre.org">CCE-4058-4</xccdf:ident>
5968 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_pinfo</xccdf:fixtext>
5969 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5970 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20141" value-id="xccdf_cdf_value_var-2.5.3.2.5.c"/>
5971 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20141"/>
5972 </xccdf:check>
5973 </xccdf:Rule>
5974 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false" weight="10.0">
5975 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
5976 <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>
5977 <xccdf:ident system="http://cce.mitre.org">CCE-4128-5</xccdf:ident>
5978 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_defrtr</xccdf:fixtext>
5979 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5980 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20142" value-id="xccdf_cdf_value_var-2.5.3.2.5.d"/>
5981 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20142"/>
5982 </xccdf:check>
5983 </xccdf:Rule>
5984 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false" weight="10.0">
5985 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf</xccdf:title>
5986 <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>
5987 <xccdf:ident system="http://cce.mitre.org">CCE-4287-9</xccdf:ident>
5988 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.autoconf</xccdf:fixtext>
5989 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5990 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20143" value-id="xccdf_cdf_value_var-2.5.3.2.5.e"/>
5991 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20143"/>
5992 </xccdf:check>
5993 </xccdf:Rule>
5994 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false" weight="10.0">
5995 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits</xccdf:title>
5996 <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>
5997 <xccdf:ident system="http://cce.mitre.org">CCE-3895-0</xccdf:ident>
5998 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.dad_transmits</xccdf:fixtext>
5999 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6000 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20144" value-id="xccdf_cdf_value_var-2.5.3.2.5.f"/>
6001 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20144"/>
6002 </xccdf:check>
6003 </xccdf:Rule>
6004 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false" weight="10.0">
6005 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses</xccdf:title>
6006 <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>
6007 <xccdf:ident system="http://cce.mitre.org">CCE-4137-6</xccdf:ident>
6008 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.max_addresses</xccdf:fixtext>
6009 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6010 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20145" value-id="xccdf_cdf_value_var-2.5.3.2.5.g"/>
6011 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20145"/>
6012 </xccdf:check>
6013 </xccdf:Rule>
6014 </xccdf:Group>
6015 </xccdf:Group>
6016 </xccdf:Group>
6017 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4">
6018 <xccdf:title xml:lang="en">TCP Wrapper</xccdf:title>
6019 <xccdf:description xml:lang="en">
6020 TCP Wrapper is a library which provides simple access control and
6021 standardized logging for supported applications which accept connections over a network.
6022 Historically, TCP Wrapper was used to support inetd services. Now that inetd is deprecated
6023 (see Section 3.2.1), TCP Wrapper supports only services which were built to make use of
6024 the libwrap library. To determine whether a given executable daemon /path/to/daemon
6025 supports TCP Wrapper, check the documentation, or run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6026 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6027 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ ldd /path/to/daemon | grep libwrap.so <xhtml:br/></xhtml:code>
6028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6029 If this command returns any output, then the daemon probably supports TCP Wrapper. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6031 An alternative to TCP Wrapper support is packet filtering using iptables. Note
6032 that iptables works at the network level, while TCP Wrapper works at the application
6033 level. This means that iptables filtering is more efficient and more resistant to flaws in
6034 the software being protected, but TCP Wrapper provides support for logging, banners, and
6035 other application-level tricks which iptables cannot provide.</xccdf:description>
6036 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.1">
6037 <xccdf:title xml:lang="en">How TCP Wrapper Protects Services</xccdf:title>
6038 <xccdf:description xml:lang="en">
6039 TCP Wrapper provides access control for the system's network
6040 services using two configuration files. When a connection is attempted: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6041 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The file
6042 /etc/hosts.allow is searched for a rule matching the connection. If one is found, the
6043 connection is allowed. </xhtml:li><xhtml:li>Otherwise, the file /etc/hosts.deny is searched for a rule
6044 matching the connection. If one is found, the connection is rejected. </xhtml:li><xhtml:li>If no matching
6045 rules are found in either file, then the connection is allowed. By default, TCP Wrapper
6046 does not block access to any services. </xhtml:li></xhtml:ol>
6047 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6048 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"/>
6049 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6050 daemon : client <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6051 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6052 where daemon is the
6053 name of the server process for which the connection is destined, and client is the
6054 partial or full hostname or IP address of the client. It is valid for daemon and client
6055 to contain one item, a comma-separated list of items, or a special keyword like ALL,
6056 which matches any service or client. (See the hosts access(5) manpage for a list of
6057 other keywords.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6058 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6059 Note: Partial hostnames start at the root domain and are delimited by
6060 the . character. So the client machine host03.dev.example.com, with IP address 10.7.2.3,
6061 could be matched by any of the specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6062 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6063 .example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6064 .dev.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6065 10.7.2.</xccdf:description>
6066 </xccdf:Group>
6067 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.2">
6068 <xccdf:title xml:lang="en">Reject All Connections From Other Hosts if Appropriate</xccdf:title>
6069 <xccdf:description xml:lang="en">
6070 Restrict all connections to non-public services to localhost
6071 only. Suppose pubsrv1 and pubsrv2 are the names of daemons which must be accessed
6072 remotely. Configure TCP Wrapper as follows. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6073 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6074 Edit /etc/hosts.allow. Add the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6076 pubsrv1 ,pubsrv2 : ALL<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6077 ALL: localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6078 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6079 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6080 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6081 ALL: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6082 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6083 These rules deny connections to all TCP Wrapper enabled services from any
6084 host other than localhost, but allow connections from anywhere to the services which
6085 must be publicly accessible. (If no public services exist, the first line in
6086 /etc/hosts.allow may be omitted.)</xccdf:description>
6087 </xccdf:Group>
6088 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.3">
6089 <xccdf:title xml:lang="en">Allow Connections Only From Hosts in This Domain if Appropriate</xccdf:title>
6090 <xccdf:description xml:lang="en">
6091 For each daemon, domainsrv , which only needs to be contacted
6092 from inside the local domain, example.com , configure TCP Wrapper to deny remote
6093 connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6095 Edit /etc/hosts.allow. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6096 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6097 domainsrv : .example.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6099 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6101 domainsrv : ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6102 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6103 There are many possible
6104 examples of services which need to communicate only within the local domain. If a
6105 machine is a local compute server, it may be necessary for users to connect via SSH from
6106 their desktop workstations, but not from outside the domain. In that case, you should
6107 protect the daemon sshd using this method. As another example, RPC-based services such
6108 as NFS might be enabled within the domain only, in which case the daemon portmap should
6109 be protected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6110 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6111 </xccdf:description>
6112 <xccdf:warning xml:lang="en">Note: This example protects only the service domainsrv . No filtering is
6113 done on other services unless a line is entered into /etc/hosts.deny which refers to
6114 those services by name, or which restricts the special service ALL.</xccdf:warning>
6115 </xccdf:Group>
6116 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.4">
6117 <xccdf:title xml:lang="en">Monitor Syslog for Relevant Connections and Failures</xccdf:title>
6118 <xccdf:description xml:lang="en">
6119 Ensure that the following line exists in /etc/syslog.conf.
6120 (This is the default, so it is likely to be correct if the configuration has not been
6121 modified): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6122 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6123 authpriv.* /var/log/secure <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6124 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6125 Configure logwatch or other log monitoring tools
6126 to periodically summarize failed connections reported by TCP Wrapper at the facility
6127 authpriv.info. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6129 By default, TCP Wrapper audits all rejected connections at the facility
6130 authpriv, level info. In the log file, TCP Wrapper rejections will contain the
6131 substring: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6132 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6133 daemon [pid ]: refused connect from ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6135 These lines can be used to detect
6136 malicious scans, and to debug failures resulting from an incorrect TCP Wrapper
6137 configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6138 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6139 If appropriate, it is possible to change the syslog facility and level
6140 used by a given TCP Wrapper rule by adding the severity option to each desired
6141 configuration line in /etc/hosts.deny: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6142 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6143 daemon : client : severity facility .level <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6144 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6145 By default, successful connections are not logged by TCP Wrapper. See Section 2.6 for
6146 more information about system auditing.</xccdf:description>
6147 </xccdf:Group>
6148 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.5">
6149 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6150 <xccdf:description xml:lang="en">
6151 For more information about TCP Wrapper, see the tcpd(8) and
6152 hosts access(5) manpages and the documentation directory /usr/share/doc/tcp
6153 wrappers-version. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6154 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6155 Some information may be available from the Tools section of the
6156 author's website, http://www.porcupine.org, and from the RHEL4 Reference Guide [6].</xccdf:description>
6157 </xccdf:Group>
6158 </xccdf:Group>
6159 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5">
6160 <xccdf:title xml:lang="en">Iptables and Ip6tables</xccdf:title>
6161 <xccdf:description xml:lang="en">
6162 A host-based firewall called Netfilter is included as part of the
6163 Linux kernel distributed with the system. It is activated by default. This firewall is
6164 controlled by the program iptables, and the entire capability is frequently referred to by
6165 this name. An analogous program called ip6tables handles filtering for IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6166 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6167 Unlike TCP
6168 Wrappers, which depends on the network server program to support and respect the rules
6169 written, Netfilter filtering occurs at the kernel level, before a program can even process
6170 the data from the network packet. As such, any program on the system is affected by the
6171 rules written. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6172 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6173 This section provides basic information about strengthening the iptables
6174 and ip6tables configurations included with the system. For more complete information that
6175 may allow the construction of a sophisticated ruleset tailored to your environment, please
6176 consult the references at the end of this section.</xccdf:description>
6177 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.1">
6178 <xccdf:title xml:lang="en">Inspect and Activate Default Rules</xccdf:title>
6179 <xccdf:description xml:lang="en">
6180 View the currently-enforced iptables rules by running the
6181 command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6182 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6183 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># iptables -nL --line-numbers <xhtml:br/></xhtml:code>
6184 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6185 The command is analogous for the ip6tables program. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6186 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6187 If the firewall does not appear to be active (i.e., no rules appear), activate
6188 it and ensure that it starts at boot by issuing the following commands (and analogously
6189 for ip6tables): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6190 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6191 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service iptables restart <xhtml:br/>
6192 # chkconfig iptables on <xhtml:br/></xhtml:code>
6193 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6194 The default iptables rules are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6196 Chain INPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6197 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6198 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"/>
6199 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6200 Chain FORWARD (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6201 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6202 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"/>
6203 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6204 Chain OUTPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6205 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6206 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6207 Chain RH-Firewall-1-INPUT (2 references) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6208 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6209 1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6210 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"/>
6211 3 ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6212 4 ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6213 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"/>
6214 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"/>
6215 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"/>
6216 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"/>
6217 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"/>
6218 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"/>
6219 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6220 The ip6tables default rules are similar, with
6221 its rules 2 and 10 reflecting protocol naming and addressing differences. Instead of
6222 rule 8, however, ip6tables includes two rules that accept all incoming udp and tcp
6223 packets with a particular destination port range. This is because the current Netfilter
6224 implementation for IPv6 lacks reliable connection-tracking functionality.</xccdf:description>
6225 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.a" selected="false" severity="high" weight="10.0">
6226 <xccdf:title>Verify ip6tables is enabled</xccdf:title>
6227 <xccdf:description>The ip6tables service should be enabled.</xccdf:description>
6228 <xccdf:ident system="http://cce.mitre.org">CCE-4167-3</xccdf:ident>
6229 <xccdf:fix>chkconfig ip6tables on</xccdf:fix>
6230 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6231 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20146"/>
6232 </xccdf:check>
6233 </xccdf:Rule>
6234 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.b" selected="false" severity="high" weight="10.0">
6235 <xccdf:title>Verify iptables is enabled</xccdf:title>
6236 <xccdf:description>The iptables service should be enabled.</xccdf:description>
6237 <xccdf:ident system="http://cce.mitre.org">CCE-4189-7</xccdf:ident>
6238 <xccdf:fix>chkconfig iptables on</xccdf:fix>
6239 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6240 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20147"/>
6241 </xccdf:check>
6242 </xccdf:Rule>
6243 </xccdf:Group>
6244 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.2">
6245 <xccdf:title xml:lang="en">Understand the Default Ruleset</xccdf:title>
6246 <xccdf:description xml:lang="en">
6247 Understanding and creating firewall rules can be a challenging
6248 activity, filled with corner cases and difficult-todebug problems. Because of this,
6249 administrators should develop a thorough understanding of the default ruleset before
6250 carefully modifying it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6251 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6252 The default ruleset is divided into four sections, each of which
6253 is called a chain: INPUT, FORWARD, OUTPUT, and RH-Firewall-1-INPUT. INPUT, OUTPUT, and
6254 FORWARD are built-in chains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6255 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The INPUT chain is activated on packets destined for
6256 (i.e., addressed to) the system. </xhtml:li><xhtml:li>The OUTPUT chain is activated on packets which are
6257 originating from the system. </xhtml:li><xhtml:li>The FORWARD chain is activated for packets that the
6258 system will process and send through another interface, if so configured. </xhtml:li><xhtml:li>The
6259 RH-Firewall-1-INPUT chain is a custom (or user-defined) chain, which is used by the
6260 INPUT and FORWARD chains. </xhtml:li></xhtml:ul>
6261 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6262 A packet starts at the first rule in the appropriate chain and
6263 proceeds until it matches a rule. If a match occurs, then control will jump to the
6264 specified target. The default ruleset uses the built-in targets ACCEPT and REJECT, and
6265 also the user-defined target/chain RH-Firewall-1-INPUT. Jumping to the target ACCEPT
6266 means to allow the packet through, while REJECT means to drop the packet and send an
6267 error message to the sending host. A related target called DROP means to drop the packet
6268 on the floor without even sending an error message. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6269 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6270 The default policy for all of the
6271 built-in chains (shown after their names in the rule output above) is set to ACCEPT.
6272 This means that if no rules in the chain match the packets, they are allowed through.
6273 Because no rules at all are written for the OUTPUT chain, this means that iptables does
6274 not stop any packets originating from the system. The INPUT and FORWARD chains jump to
6275 the user-defined target RH-Firewall-1-INPUT for all packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6276 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6277 RH-Firewall-1-INPUT tries
6278 to match, in order, the following rules for both iptables and ip6tables: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6279 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Rule 1
6280 appears to accept all packets. However, this appears true only because the rules are not
6281 presented in verbose mode. Executing the command <xhtml:br/>
6282 <xhtml:br/>
6283 <xhtml:code># iptables -vnL --line-numbers <xhtml:br/></xhtml:code>
6284 <xhtml:br/>
6285 reveals
6286 that this rule applies only to the loopback (lo) interface (see column in), while all
6287 other rules apply to all interfaces. Thus, packets not coming from the loopback
6288 interface do not match and proceed to the next rule. </xhtml:li><xhtml:li>Rule 2 explicitly allows all icmp
6289 packet types; iptables uses the code 255 to mean all icmp types. </xhtml:li><xhtml:li>Rule 3 explicitly
6290 allows all esp packets; these are packets which contain IPsec ESP headers.</xhtml:li><xhtml:li>Rule 4
6291 explicitly allows all ah packets; these are packets which contain an IPsec
6292 authentication header SPI. </xhtml:li><xhtml:li>Rule 5 allows inbound communication on udp port 5353
6293 (mDNS), which the avahi daemon uses. </xhtml:li><xhtml:li>Rules 6 and 7 allows inbound communication on
6294 both tcp and udp port 631, which the cups daemon uses. </xhtml:li><xhtml:li>Rule 8, in the iptables rules,
6295 allows inbound packets that are part of a session initiated by the system. In ip6tables,
6296 rules 8 and 9 allow any inbound packets with a destination port address between 32768
6297 and 61000. </xhtml:li><xhtml:li>Rule 9 (10, for ip6tables) allows inbound connections in tcp port 22, which
6298 is the SSH protocol. </xhtml:li><xhtml:li>Rule 10 (11, for ip6tables) rejects all other packets and sends
6299 an error message to the sender. Because this is the last rule and matches any packet, it
6300 effectively prevents any packet from reaching the chain's default ACCEPT target.
6301 Preventing the acceptance of any packet that is not explicitly allowed is proper design
6302 for a firewall.</xhtml:li></xhtml:ul></xccdf:description>
6303 </xccdf:Group>
6304 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3">
6305 <xccdf:title xml:lang="en">Strengthen the Default Ruleset</xccdf:title>
6306 <xccdf:description xml:lang="en">
6307 The default rules can be strengthened. The system scripts that
6308 activate the firewall rules expect them to be defined in the configuration files
6309 iptables and ip6tables in the directory /etc/sysconfig. Many of the lines in these files
6310 are similar to the command line arguments that would be provided to the programs
6311 /sbin/iptables or /sbin/ip6tables – but some are quite different. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6312 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6313 The following recommendations describe how to strengthen the default
6314 ruleset configuration file. An alternative to editing this configuration file is to
6315 create a shell script that makes calls to the iptables program to load in rules, and
6316 then invokes service iptables save to write those loaded rules to
6317 /etc/sysconfig/iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6318 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6319 The following alterations can be made directly to
6320 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables. Instructions apply to both unless
6321 otherwise noted. Language and address conventions for regular iptables are used
6322 throughout this section; configuration for ip6tables will be either analogous or
6323 explicitly covered.</xccdf:description>
6324 <xccdf:warning xml:lang="en">The program
6325 system-config-securitylevel allows additional services to penetrate the default firewall
6326 rules and automatically adjusts /etc/ sysconfig/ iptables . This program is only useful
6327 if the default ruleset meets your security requirements. Otherwise, this program should
6328 not be used to make changes to the firewall configuration because it re-writes the saved
6329 configuration file. </xccdf:warning>
6330 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.1">
6331 <xccdf:title xml:lang="en">Change the Default Policies</xccdf:title>
6332 <xccdf:description xml:lang="en">
6333 Change the default policy to DROP (from ACCEPT) for the INPUT
6334 and FORWARD built-in chains: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6336 *filter <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6337 :INPUT DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6338 :FORWARD DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6339 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6340 Changing
6341 the default policy in this way implements proper design for a firewall, i.e. any
6342 packets which are not explicitly permitted should not be accepted.</xccdf:description>
6343 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false" severity="high" weight="10.0">
6344 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</xccdf:title>
6345 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</xccdf:description>
6346 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6347 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6348 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201474"/>
6349 </xccdf:check>
6350 </xccdf:Rule>
6351 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false" severity="high" weight="10.0">
6352 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</xccdf:title>
6353 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</xccdf:description>
6354 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6355 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6356 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201475"/>
6357 </xccdf:check>
6358 </xccdf:Rule>
6359 </xccdf:Group>
6360 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.2">
6361 <xccdf:title xml:lang="en">Restrict ICMP Message Types</xccdf:title>
6362 <xccdf:description xml:lang="en">
6363 In /etc/sysconfig/iptables, the accepted ICMP messages types
6364 can be restricted. To accept only ICMP echo reply, destination unreachable, and time
6365 exceeded messages, remove the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6366 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6367 -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6368 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6369 and insert the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6370 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-reply -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6371 -A RH-Firewall-1-INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6372 -A RH-Firewall-1-INPUT -p icmp --icmp-type time-exceeded -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6374 To allow the system to respond to pings, also insert the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6375 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6376 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-request -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6377 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6378 Ping responses can also be limited to certain
6379 networks or hosts by using the -s option in the previous rule. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6380 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6381 Because IPv6 depends so
6382 heavily on ICMPv6, it is preferable to deny the ICMPv6 packets you know you don't need
6383 (e.g. ping requests) in /etc/sysconfig/ip6tables, while letting everything else
6384 through: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6385 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6386 -A RH-Firewall-1-INPUT -p icmpv6 --icmpv6-type echo-request -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6387 If you
6388 are going to statically configure the machine's address, it should ignore Router
6389 Advertisements which could add another IPv6 address to the interface or alter
6390 important network settings: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6391 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6392 -A RH-Firewall-1-INPUT -p icmpv6 --icmpv6-type router-advertisement -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6393 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6394 Restricting other ICMPv6 message types in
6395 /etc/sysconfig/ip6tables is not recommended because the operation of IPv6 depends
6396 heavily on ICMPv6. Thus, more care must be taken when blocking ICMPv6 types.</xccdf:description>
6397 </xccdf:Group>
6398 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.3">
6399 <xccdf:title xml:lang="en">Remove IPsec Rules</xccdf:title>
6400 <xccdf:description xml:lang="en">
6401 If the system will not process IPsec traffic, then remove the
6402 following rules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6403 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6404 -A RH-Firewall-1-INPUT -p 50 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6405 -A RH-Firewall-1-INPUT -p 51 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/></xccdf:description>
6406 </xccdf:Group>
6407 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.4">
6408 <xccdf:title xml:lang="en">Log and Drop Packets with Suspicious Source Addresses</xccdf:title>
6409 <xccdf:description xml:lang="en">
6410 Packets with non-routable source addresses should be
6411 rejected, as they may indicate spoofing. Because the modified policy will reject
6412 non-matching packets, you only need to add these rules if you are interested in also
6413 logging these spoofing or suspicious attempts before they are dropped. If you do
6414 choose to log various suspicious traffic, add identical rules with a target of DROP
6415 after each LOG. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6416 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6417 To log and then drop these IPv4 packets, insert the following rules in
6418 /etc/sysconfig/iptables (excepting any that are intentionally used): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6419 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6420 -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"/>
6421 -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"/>
6422 -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"/>
6423 -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"/>
6424 -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"/>
6425 -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"/>
6426 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6427 Similarly, you might wish to log packets containing some IPv6
6428 reserved addresses if they are not expected on your network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6429 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6430 -A INPUT -i eth0 -s ::1 -j LOG --log-prefix "IPv6 DROP LOOPBACK: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6431 -A INPUT -s 2002:E000::/20 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6432 -A INPUT -s 2002:7F00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6433 -A INPUT -s 2002:0000::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6434 -A INPUT -s 2002:FF00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6435 -A INPUT -s 2002:0A00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6436 -A INPUT -s 2002:AC10::/28 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6437 -A INPUT -s 2002:C0A8::/32 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6438 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6439 If you are not expecting to see site-local multicast or auto-tunneled traffic, you
6440 can log those: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6441 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6442 -A INPUT -s FF05::/16 -j LOG --log-prefix "IPv6 SITE-LOCAL MULTICAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6443 -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"/>
6444 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6445 If you wish to block multicasts to all
6446 link-local nodes (e.g. if you are not using router autoconfiguration and do not plan
6447 to have any services that multicast to the entire local network), you can block the
6448 link-local all-nodes multicast address (before accepting incoming ICMPv6): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6449 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6450 -A INPUT -d FF02::1 -j LOG --log-prefix "Link-local All-Nodes Multicast: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6451 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6452 However, if you're
6453 going to allow IPv4 compatible IPv6 addresses (of the form ::0.0.0.0/96), you should
6454 then consider logging the non-routable IPv4-compatible addresses: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6455 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6456 -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"/>
6457 -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"/>
6458 -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"/>
6459 -A INPUT -s ::255.0.0.0/104 -j LOG --log-prefix "IP BROADCAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6460 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6461 If you are not expecting to see any IPv4 (or IPv4-compatible) traffic
6462 on your network, consider logging it before it gets dropped: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6463 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6464 -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"/>
6465 -A INPUT -s 2002::/16 -j LOG --log-prefix "IPv6 6to4 ADDR: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6466 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6467 The following rule will log all traffic
6468 originating from a site-local address, which is deprecated address space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6469 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6470 -A INPUT -s FEC0::/10 -j LOG --log-prefix "SITE-LOCAL ADDRESS TRAFFIC: "</xccdf:description>
6471 </xccdf:Group>
6472 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.5">
6473 <xccdf:title xml:lang="en">Log and Drop All Other Packets</xccdf:title>
6474 <xccdf:description xml:lang="en">
6475 To log before dropping all packets that are not explicitly
6476 accepted by previous rules, change the final lines from <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6477 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6478 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6479 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6481 to <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6482 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6483 -A RH-Firewall-1-INPUT -j LOG <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6484 -A RH-Firewall-1-INPUT -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6485 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6486 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6487 The rule to log all dropped packets must be used
6488 with care. Chatty but otherwise non-malicious network protocols (e.g. NetBIOS) may
6489 result in voluminous logs; insertion of earlier rules to explicitly drop their packets
6490 without logging may be appropriate.</xccdf:description>
6491 </xccdf:Group>
6492 </xccdf:Group>
6493 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.4">
6494 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
6495 <xccdf:description xml:lang="en">
6496 Further strengthening, particularly as a result of
6497 customization to a particular environment, is possible for the iptables rules. Consider
6498 the following options, though their practicality depends on the network environment and
6499 usage scenario: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6500 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Restrict outgoing traffic. As shown above, the OUTPUT chain's default
6501 policy can be changed to DROP, and rules can be written to specifically allow only
6502 certain types of outbound traffic. Such a policy could prevent casual usage of insecure
6503 protocols such as ftp and telnet, or even disrupt spyware. However, it would still not
6504 prevent a sophisticated user or program from using a proxy to circumvent the intended
6505 effects, and many client programs even try to automatically tunnel through port 80 to
6506 avoid such restrictions.</xhtml:li><xhtml:li>SYN flood protection. SYN flood protection can be provided by
6507 iptables, but might run into limiting issues for servers. For example, the iplimit match
6508 can be used to limit simultaneous connections from a given host or class. Similarly, the
6509 recent match allows the firewall to deny additional connections from any host within a
6510 given period of time (e.g. more than 3 –state NEW connections on port 22 within a minute
6511 to prevent dictionary login attacks). <xhtml:br/>
6512 <xhtml:br/>
6513 A more precise option for DoS protection is using
6514 TCP SYN cookies. (See Section 2.5.1.2 for more information.)</xhtml:li></xhtml:ul></xccdf:description>
6515 </xccdf:Group>
6516 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.5">
6517 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6518 <xccdf:description xml:lang="en">
6519 More complex, restrictive, and powerful rulesets can be
6520 created, but this requires careful customization that relies on knowledge of the
6521 particular environment. The following resources provide more detailed information: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6522 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The iptables(8) man page </xhtml:li><xhtml:li>The Netfilter Project's documentation at http://www.netfilter.org</xhtml:li><xhtml:li>The Red Hat Enterprise Linux Reference Guide</xhtml:li></xhtml:ul></xccdf:description>
6523 </xccdf:Group>
6524 </xccdf:Group>
6525 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6">
6526 <xccdf:title xml:lang="en">Secure Sockets Layer Support</xccdf:title>
6527 <xccdf:description xml:lang="en">
6528 The Secure Sockets Layer (SSL) protocol provides encrypted and
6529 authenticated network communications, and many network services include support for it.
6530 Using SSL is recommended, especially to avoid any plaintext transmission of sensitive
6531 data, even over a local network. The SSL implementation included with the system is called
6532 OpenSSL. Recent implementations of SSL may also be referred to as Transport Layer Security
6533 (TLS). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6534 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6535 SSL uses public key cryptography to provide authentication and encryption. Public
6536 key cryptography involves two keys, one called the public key and the other called the
6537 private key. These keys are mathematically related such that data encrypted with one key
6538 can only be decrypted by the other, and vice versa. As their names suggest, public keys
6539 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"/>
6540 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6541 SSL uses certificates, which are files that hold cryptographic data: a public key, and a
6542 signature of that public key. In SSL authentication, a server presents a client with its
6543 certificate as a means of demonstrating that it is who it claims it is. If everything goes
6544 correctly, the client can verify the server's certificate by determining that the
6545 signature inside the certificate could only have been generated by a third party whom the
6546 client trusts. This third party is called a Certificate Authority (CA). Each client system
6547 should also have certificates from trusted CAs, and the client uses these CA certificates
6548 to verify the authenticity of the server's certificate. After authenticating a server
6549 using its certificate and a CA certificate, SSL provides encryption by using the server
6550 certificate to securely negotiate a shared secret key. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6551 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6552 If your server must communicate
6553 using SSL with systems that might not be able to securely accept a new CA certificate
6554 prior to any SSL communication, then paying an established CA (whose certificates your
6555 clients already have) to sign your server certificates is recommended. The steps for doing
6556 this vary by vendor. Once the signed certificates have been obtained, configuration of the
6557 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"/>
6558 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6559 For setting up an internal network and encrypting local traffic, creating your own CA to
6560 sign SSL certificates can be appropriate. The major steps in this process are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6561 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Create a CA to sign certificates </xhtml:li><xhtml:li>Create SSL certificates for servers using that CA</xhtml:li><xhtml:li>Enableclient support by distributing the CA's certificate</xhtml:li></xhtml:ol></xccdf:description>
6562 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.1">
6563 <xccdf:title xml:lang="en">Create a CA to Sign Certificates</xccdf:title>
6564 <xccdf:description xml:lang="en">
6565 The following instructions apply to OpenSSL since it is
6566 included with the system, but creating a CA is possible with any standards-compliant SSL
6567 toolkit. The security of certificates depends on the security of the CA that signed
6568 them, so performing these steps on a secure machine is critical. The system used as a CA
6569 should be physically secure and not connected to any network. It should receive any
6570 certificate signing requests (CSRs) via removable media and output certificates onto
6571 removable media. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6572 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6573 The script /etc/pki/tls/misc/CA is included to assist in the process of
6574 setting up a CA. This script uses many settings in /etc/pki/tls/openssl.cnf. The
6575 settings in this file can be changed to suit your needs and allow easier selection of
6576 default settings, particularly in the [req distinguished name] section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6577 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6578 To create the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6579 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6580 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/misc <xhtml:br/>
6581 # ./CA -newca <xhtml:br/></xhtml:code>
6582 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6583 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>When prompted, press enter to create a new CA key with the default name cakey.pem.</xhtml:li><xhtml:li>When prompted, enter a password that will protect the private key, then enter the same password
6584 again to verify it.</xhtml:li><xhtml:li>At the prompts, fill out as much of the CA information as is relevant for your site. You must specify
6585 a common name, or generation of the CA certificate will fail. </xhtml:li><xhtml:li>Next, you will be prompted for the password, so that the script can re-open the private key in order
6586 to write the certificate.</xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6587 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6588 This step performs the following actions:
6589 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>creates the directory
6590 /etc/pki/CA (by default), which contains files necessary for the operation of a
6591 certificate authority. These are:</xhtml:li><xhtml:ul><xhtml:li>serial, which contains the current serial number for certificates signed by the CA</xhtml:li><xhtml:li>index.txt, which is a text database file that contains information about certificates signed</xhtml:li><xhtml:li>crl, which is a directory for holding revoked certificates</xhtml:li><xhtml:li>private, a directory which stores the CA's private key</xhtml:li></xhtml:ul><xhtml:li>creates a public-private key pair for the CA in the file /etc/pki/CA/private/cakey.pem. The
6592 private key must be kept private in order to ensure the security of the certificates the CA will later sign.</xhtml:li><xhtml:li>signs the public key (using the corresponding private key, in a process called self-signing) to create the CA
6593 certificate, which is then stored in /etc/pki/CA/cacert.pem. </xhtml:li><xhtml:li/></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6595 When the CA later signs a server certificate using its private
6596 key, it means that it is vouching for the authenticity of that server. A client can then
6597 use the CA's certificate (which contains its public key) to verify the authenticity of
6598 the server certificate. To accomplish this, it is necessary to distribute the CA
6599 certificate to any clients as covered in Section 2.5.6.3.</xccdf:description>
6600 </xccdf:Group>
6601 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.2">
6602 <xccdf:title xml:lang="en">Create SSL Certificates for Servers</xccdf:title>
6603 <xccdf:description xml:lang="en">
6604 Creating an SSL certificate for a server involves the following steps: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6605 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>A public-private key pair for the server must be generated.</xhtml:li><xhtml:li>A certificate signing request (CSR) must be created from the key pair.</xhtml:li><xhtml:li>The CSR must be signed by a
6606 certificate authority (CA) to create the server certificate. If a CA has been set up as
6607 described in Section 2.5.6.1, it can sign the CSR.</xhtml:li><xhtml:li>The server certificate and keys must be installed on the server. </xhtml:li></xhtml:ol>
6608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6609 Instructions on how to generate and sign SSL certificates are provided for the following
6610 common services:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6611 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Mail server, in Section 3.11.4.6.</xhtml:li><xhtml:li>Dovecot, in Section 3.17.2.2. </xhtml:li><xhtml:li>Apache, in Section 3.16.4.1.</xhtml:li></xhtml:ul></xccdf:description>
6612 </xccdf:Group>
6613 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3">
6614 <xccdf:title xml:lang="en">Enable Client Support</xccdf:title>
6615 <xccdf:description xml:lang="en">
6616 The system ships with certificates from well-known commercial
6617 CAs. If your server certificates were signed by one of these established CAs, then this
6618 step is not necessary since the clients should include the CA certificate already. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6619 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6620 If your servers use certificates signed by your own CA, some user applications will warn
6621 that the server's certificate cannot be verified because the CA is not recognized. Other
6622 applications may simply fail to accept the certificate and refuse to operate, or
6623 continue operating without ever having properly verified the server certificate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6624 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6625 To avoid this warning, and properly authenticate the servers, your CA certificate must be
6626 exported to every application on every client system that will be connecting to an
6627 SSL-enabled server.</xccdf:description>
6628 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.1">
6629 <xccdf:title xml:lang="en">Adding a Trusted CA for Firefox</xccdf:title>
6630 <xccdf:description xml:lang="en">
6631 Firefox needs to have a certificate from the CA that signed
6632 the web server's certificate, so that it can authenticate the web server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6633 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6634 To import a new CA certificate into Firefox 1.5:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6635 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Launch Firefox and choose Preferences from the Edit menu. </xhtml:li><xhtml:li>Click the Advanced button.</xhtml:li><xhtml:li>Select the Security pane.</xhtml:li><xhtml:li>Click the View Certificates button.</xhtml:li><xhtml:li>Click the Authorities tab. </xhtml:li><xhtml:li>Click the Import button at the bottom of the screen.</xhtml:li><xhtml:li>Navigate to the CA certificate and import it.</xhtml:li></xhtml:ol></xccdf:description>
6636 </xccdf:Group>
6637 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.2">
6638 <xccdf:title xml:lang="en">Adding a Trusted CA for Thunderbird</xccdf:title>
6639 <xccdf:description xml:lang="en">
6640 Thunderbird needs to have a certificate from the CA that
6641 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"/>
6642 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6643 To import a new CA certificate into Thunderbird 2: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6644 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Launch Thunderbird and choose Account Settings from the Edit menu.</xhtml:li><xhtml:li>Click the Advanced button.</xhtml:li><xhtml:li>Select the Certificates tab</xhtml:li><xhtml:li>Click the View Certificates button.</xhtml:li><xhtml:li>Select the Authorities tab.</xhtml:li><xhtml:li>Click the Import button at the bottom of the screen.</xhtml:li><xhtml:li>Navigate to the CA certificate and import it. Determine whether the CA should
6645 be used to identify web sites, e-mail users, and software developers and trust it for
6646 each accordingly.</xhtml:li></xhtml:ol></xccdf:description>
6647 </xccdf:Group>
6648 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.3">
6649 <xccdf:title xml:lang="en">Adding a Trusted CA for Evolution</xccdf:title>
6650 <xccdf:description xml:lang="en">
6651 The Evolution e-mail client needs to have a certificate from
6652 the CA that signed the mail server's certificates, so that it can authenticate the
6653 mail server(s). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6655 To import a new CA certificate into Evolution: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6656 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Launch Evolution and choose Preferences from the Edit menu.</xhtml:li><xhtml:li>Select Certificates from the icon list on the left.</xhtml:li><xhtml:li>Select the Authorities tab.</xhtml:li><xhtml:li>Click the Import button.</xhtml:li><xhtml:li/><xhtml:li/><xhtml:li>Navigate to the CA certificate and import it.</xhtml:li></xhtml:ol></xccdf:description>
6657 </xccdf:Group>
6658 </xccdf:Group>
6659 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.4">
6660 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6661 <xccdf:description xml:lang="en">
6662 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6663 <xhtml:li>The OpenSSL Project home page at http://www.openssl.org</xhtml:li>
6664 <xhtml:li>The openssl(1) man page</xhtml:li>
6665 <xhtml:li>Jeremy Mates's how-to: http://sial.org/howto/openssl</xhtml:li>
6666 </xhtml:ul>
6667 </xccdf:description>
6668 </xccdf:Group>
6669 </xccdf:Group>
6670 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7">
6671 <xccdf:title xml:lang="en">Uncommon Network Protocols</xccdf:title>
6672 <xccdf:description xml:lang="en">
6673 The system includes support for several network protocols which are not commonly used. Although security vul-
6674 nerabilities in kernel networking code are not frequently discovered, the consequences can be dramatic. Ensuring
6675 uncommon network protocols are disabled reduces the system’s risk to attacks targeted at its implementation of
6676 those protocols.</xccdf:description>
6677 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.1">
6678 <xccdf:title xml:lang="en">Disable Support for DCCP</xccdf:title>
6679 <xccdf:description xml:lang="en">
6680 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"/>
6681 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6682 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install dccp /bin/true<xhtml:br/></xhtml:code>
6683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6684 The Datagram Congestion Control Protocol (DCCP) is a relatively new transport layer protocol, designed to
6685 support streaming media and telephony.</xccdf:description>
6686 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false" severity="medium" weight="10.0">
6687 <xccdf:title>Disable Support for DCCP</xccdf:title>
6688 <xccdf:description>Support for DCCP should be disabled.</xccdf:description>
6689 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6690 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6691 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201476"/>
6692 </xccdf:check>
6693 </xccdf:Rule>
6694 </xccdf:Group>
6695 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.2">
6696 <xccdf:title xml:lang="en">Disable Support for SCTP</xccdf:title>
6697 <xccdf:description xml:lang="en">
6698 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"/>
6699 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6700 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install sctp /bin/true<xhtml:br/></xhtml:code>
6701 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6702 The Stream Control Transmission Protocol (SCTP) is a transport layer protocol, designed to support the idea
6703 of message-oriented communication, with several streams of messages within one connection.</xccdf:description>
6704 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false" severity="medium" weight="10.0">
6705 <xccdf:title>Disable Support for SCTP</xccdf:title>
6706 <xccdf:description>Support for SCTP should be disabled.</xccdf:description>
6707 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6708 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6709 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201477"/>
6710 </xccdf:check>
6711 </xccdf:Rule>
6712 </xccdf:Group>
6713 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.3">
6714 <xccdf:title xml:lang="en">Disable Support for RDS</xccdf:title>
6715 <xccdf:description xml:lang="en">
6716 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"/>
6717 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6718 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
6719 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6720 The Reliable Datagram Sockets (RDS) protocol is a transport layer protocol designed to provide reliable high-
6721 bandwidth, low-latency communications between nodes in a cluster.</xccdf:description>
6722 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false" severity="medium" weight="10.0">
6723 <xccdf:title>Disable Support for RDS</xccdf:title>
6724 <xccdf:description>Support for RDS should be disabled.</xccdf:description>
6725 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6726 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6727 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201478"/>
6728 </xccdf:check>
6729 </xccdf:Rule>
6730 </xccdf:Group>
6731 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.4">
6732 <xccdf:title xml:lang="en">Disable Support for TIPC</xccdf:title>
6733 <xccdf:description xml:lang="en">
6734 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"/>
6735 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6736 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
6737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6738 The Transparent Inter-Process Communication (TIPC) protocol is designed to provide communications between
6739 nodes in a cluster..</xccdf:description>
6740 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false" severity="medium" weight="10.0">
6741 <xccdf:title>Disable Support for TIPC</xccdf:title>
6742 <xccdf:description>Support for TIPC should be disabled.</xccdf:description>
6743 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6744 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6745 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201479"/>
6746 </xccdf:check>
6747 </xccdf:Rule>
6748 </xccdf:Group>
6749 </xccdf:Group>
6750 </xccdf:Group>
6751 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6">
6752 <xccdf:title xml:lang="en">Logging and Auditing</xccdf:title>
6753 <xccdf:description xml:lang="en">
6754 Successful local or network attacks on systems do not necessarily
6755 leave clear evidence of what happened. It is necessary to build a configuration in advance
6756 that collects this evidence, both in order to determine that something anomalous has
6757 occurred, and in order to respond appropriately. In addition, a well-configured logging and
6758 audit infrastructure will show evidence of any misconfiguration which might leave the system
6759 vulnerable to attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6761 Logging and auditing take different approaches to collecting data. A
6762 logging infrastructure provides a framework for individual programs running on the system to
6763 report whatever events are considered interesting: the sshd program may report each
6764 successful or failed login attempt, while the sendmail program may report each time it sends
6765 an e-mail on behalf of a local or remote user. An auditing infrastructure, on the other
6766 hand, reports each instance of certain low-level events, such as entry to the setuid system
6767 call, regardless of which program caused the event to occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6768 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6769 Auditing has the advantage of
6770 being more comprehensive, but the disadvantage of reporting a large amount of information,
6771 most of which is uninteresting. Logging (particularly using a standard framework like
6772 syslog) has the advantage of being compatible with a wide variety of client applications,
6773 and of reporting only information considered important by each application, but the
6774 disadvantage that the information reported is not consistent between applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6775 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6776 A robust
6777 infrastructure will perform both logging and auditing, and will use configurable automated
6778 methods of summarizing the reported data, so that system administrators can remove or
6779 compress reports of events known to be uninteresting in favor of alert monitoring for events
6780 known to be interesting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6781 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6782 This section discusses how to configure logging, log monitoring,
6783 and auditing, using tools included with RHEL5. It is recommended that syslog be used for
6784 logging, with logwatch providing summarization, and that auditd be used for auditing, with
6785 aureport providing summarization.</xccdf:description>
6786 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1">
6787 <xccdf:title xml:lang="en">Configure Syslog</xccdf:title>
6788 <xccdf:description xml:lang="en">
6789 Syslog has been the default Unix logging mechanism for many years. This section
6790 discusses how to configure syslog for best effect, and how to use tools provided with the
6791 system to maintain and monitor your logs.</xccdf:description>
6792 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.a" selected="false" severity="medium" weight="10.0">
6793 <xccdf:title>Configure Rsyslog</xccdf:title>
6794 <xccdf:description>The rsyslog service should be enabled.</xccdf:description>
6795 <xccdf:ident system="http://cce.mitre.org">CCE-3679-8</xccdf:ident>
6796 <xccdf:fix>chkconfig rsyslog on</xccdf:fix>
6797 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6798 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20148"/>
6799 </xccdf:check>
6800 </xccdf:Rule>
6801 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.1">
6802 <xccdf:title xml:lang="en">Ensure All Important Messages are Captured</xccdf:title>
6803 <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
6804 following lines are appropriate for your environment: <xhtml:br/>
6805 <xhtml:br/>
6806 auth,info.* /var/log/messages<xhtml:br/>
6807 kern.* /var/log/kern.log <xhtml:br/>
6808 daemon.* /var/log/daemon.log <xhtml:br/>
6809 syslog.* /var/log/syslog<xhtml:br/>
6810 lpr,news,uucp,local0,local1,local2,local3,local4,local5,local6.* /var/log/unused.log<xhtml:br/></xhtml:span><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6811 When a message is sent to syslog for logging, it is sent with a facility name (such as
6812 mail, auth, or local2), and a priority (such as debug, notice, or emerg). Each line of
6813 syslog's configuration file is a directive which specifies a set of facility/priority
6814 pairs, and then gives a filename or host to which log messages of matching types should
6815 be sent. In order for a message to match a type, the facility must match, and the
6816 priority must be the priority named in the rule or any higher priority. (See
6817 syslog.conf(5) for an ordered list of priorities.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6818 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6819 Older versions of syslog mandated a
6820 very restrictive format for the syslog.conf file. However, the version of syslog shipped
6821 with RHEL5 allows any sort of whitespace (spaces or tabs, not just tabs) to separate the
6822 selection criteria from the message disposition, and allows the use of facility.* as a
6823 wildcard matching a given facility at any priority. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6824 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6825 The default RHEL5 syslog
6826 configuration stores the facilities authpriv, cron, and mail in named logs. This guide
6827 describes the implementation of the following configuration, but any configuration which
6828 stores the important facilities and is usable by the administrators will suffice:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6829 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Store each of the facilities kern, daemon, and syslog in its own log, so that it will be
6830 easy to access information about messages from those facilities. </xhtml:li><xhtml:li>Restrict the
6831 information stored in /var/log/messages to only the facilities auth and user, and store
6832 all messages from those facilities. Messages can easily become cluttered otherwise. </xhtml:li><xhtml:li>Store information about all facilities which should not be in use at this site in a file
6833 called /var/log/ unused.log. If any messages are logged to this file at some future
6834 point, this may be an indication that an unknown service is running, and should be
6835 investigated. In addition, if news and uucp are not in use at this site, remove the
6836 directive from the default syslog.conf which stores those facilities. </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6837 Making use of the
6838 local facilities is also recommended. Specific configuration is beyond the scope of this
6839 guide, but applications such as SSH can easily be configured to log to a local facility
6840 which is not being used for anything else. If this is done, reconfigure /etc/syslog.conf
6841 to store this facility in an appropriate named log or in /var/log/messages, rather than
6842 in /var/log/unused.log.</xccdf:description>
6843 </xccdf:Group>
6844 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.2">
6845 <xccdf:title xml:lang="en">Confirm Existence and Permissions of System Log Files</xccdf:title>
6846 <xccdf:description xml:lang="en">
6847 For each log file LOGFILE referenced in /etc/syslog.conf, run
6848 the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6849 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6850 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># touch LOGFILE<xhtml:br/>
6851 # chown root:root LOGFILE <xhtml:br/>
6852 # chmod 0600 LOGFILE <xhtml:br/></xhtml:code>
6853 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6854 Syslog will
6855 refuse to log to a file which does not exist. All messages intended for that file will
6856 be silently discarded, so it is important to verify that all log files exist. Some logs
6857 may contain sensitive information, so it is better to restrict permissions so that only
6858 administrative users can read or write logfiles.</xccdf:description>
6859 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.a" operator="equals" type="string">
6860 <xccdf:title>User who owns log files</xccdf:title>
6861 <xccdf:description xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
6862 <xccdf:question xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
6863 <xccdf:value>root</xccdf:value>
6864 <xccdf:value selector="root">root</xccdf:value>
6865 </xccdf:Value>
6866 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.b" operator="equals" type="string">
6867 <xccdf:title>group who owns log files</xccdf:title>
6868 <xccdf:description xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
6869 <xccdf:question xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
6870 <xccdf:value>root</xccdf:value>
6871 <xccdf:value selector="root">root</xccdf:value>
6872 </xccdf:Value>
6873 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.c" operator="equals" type="string">
6874 <xccdf:title>File permissions on logfiles</xccdf:title>
6875 <xccdf:description xml:lang="en">Specify file permissions of all logfiles specified in /etc/syslog.conf.</xccdf:description>
6876 <xccdf:question xml:lang="en">Specify permissions of all logfiles specified in /etc/syslog.conf</xccdf:question>
6877 <xccdf:value>110000000</xccdf:value>
6878 <xccdf:value selector="400">100000000</xccdf:value>
6879 <xccdf:value selector="600">110000000</xccdf:value>
6880 <xccdf:value selector="700">111000000</xccdf:value>
6881 </xccdf:Value>
6882 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.a" selected="false" severity="medium" weight="10.0">
6883 <xccdf:title>Confirm user that owns System Log Files</xccdf:title>
6884 <xccdf:description>All syslog log files should be owned by root.</xccdf:description>
6885 <xccdf:ident system="http://cce.mitre.org">CCE-4366-1</xccdf:ident>
6886 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
6887 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6888 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20149" value-id="xccdf_cdf_value_var-2.6.1.2.a"/>
6889 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20149"/>
6890 </xccdf:check>
6891 </xccdf:Rule>
6892 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.b" selected="false" severity="medium" weight="10.0">
6893 <xccdf:title>Confirm group that owns System Log Files</xccdf:title>
6894 <xccdf:description>All syslog log files should be group owned by root.</xccdf:description>
6895 <xccdf:ident system="http://cce.mitre.org">CCE-3701-0</xccdf:ident>
6896 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
6897 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6898 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20150" value-id="xccdf_cdf_value_var-2.6.1.2.b"/>
6899 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20150"/>
6900 </xccdf:check>
6901 </xccdf:Rule>
6902 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.c" selected="false" severity="medium" weight="10.0">
6903 <xccdf:title>Confirm Permissions of System Log Files</xccdf:title>
6904 <xccdf:description>File permissions for all syslog log files should be set correctly.</xccdf:description>
6905 <xccdf:ident system="http://cce.mitre.org">CCE-4233-3</xccdf:ident>
6906 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
6907 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6908 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20151" value-id="xccdf_cdf_value_var-2.6.1.2.c"/>
6909 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20151"/>
6910 </xccdf:check>
6911 </xccdf:Rule>
6912 </xccdf:Group>
6913 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.3">
6914 <xccdf:title xml:lang="en">Send Logs to a Remote Loghost</xccdf:title>
6915 <xccdf:description xml:lang="en">
6916 Edit /etc/syslog.conf. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6917 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6918 *.* @loghost.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6920 where loghost.example.com is the name of your central log server.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6921 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6922 If system logs are to be useful in detecting malicious activities, it is necessary to
6923 send logs to a remote server. An intruder who has compromised the root account on a
6924 machine may delete the log entries which indicate that the system was attacked before
6925 they are seen by an administrator. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6926 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6927 However, it is recommended that logs be stored on the
6928 local host in addition to being sent to the loghost, because syslog uses the UDP
6929 protocol to send messages over a network. UDP does not guarantee reliable delivery, and
6930 moderately busy sites will lose log messages occasionally, especially in periods of high
6931 traffic which may be the result of an attack. In addition, remote syslog messages are
6932 not authenticated in any way, so it is easy for an attacker to introduce spurious
6933 messages to the central log server. Also, some problems cause loss of network
6934 connectivity, which will prevent the sending of messages to the central server. For all
6935 of these reasons, it is better to store log messages both centrally and on each host, so
6936 that they can be correlated if necessary.</xccdf:description>
6937 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false" severity="medium" weight="10.0">
6938 <xccdf:title>Send Logs to a Remote Loghost</xccdf:title>
6939 <xccdf:description>Syslog logs should be sent to a remote loghost</xccdf:description>
6940 <xccdf:ident system="http://cce.mitre.org">CCE-4260-6</xccdf:ident>
6941 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
6942 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6943 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20152"/>
6944 </xccdf:check>
6945 </xccdf:Rule>
6946 </xccdf:Group>
6947 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.4">
6948 <xccdf:title xml:lang="en">Enable syslogd to Accept Remote Messages on Loghosts Only</xccdf:title>
6949 <xccdf:description xml:lang="en">
6950 Is this machine the central log server for your organization?
6951 If so, edit the file /etc/sysconfig/syslog. Add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6952 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6953 SYSLOGD_OPTIONS="-m 0 -r -s example.com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6954 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6955 where example.com is the name of your domain.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6956 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6957 If the machine is not a log server, edit /etc/sysconfig/syslog, and instead add or
6958 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6960 SYSLOGD_OPTIONS="-m 0" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6961 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6962 By default, RHEL5's syslog does not listen over
6963 the network for log messages. The -r flag enables syslogd to listen over a network, and
6964 should be used only if necessary. The -s example.com flag strips the domain name
6965 example.com from each sending machine's hostname before logging messages from that host,
6966 to reduce the amount of redundant information placed in log files. See the syslogd(8)
6967 man page for further information.</xccdf:description>
6968 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false" severity="medium" weight="10.0">
6969 <xccdf:title>Disable syslogd from Accepting Remote Messages on Loghosts Only</xccdf:title>
6970 <xccdf:description>Syslogd should reject remote messages</xccdf:description>
6971 <xccdf:ident system="http://cce.mitre.org">CCE-3382-9</xccdf:ident>
6972 <xccdf:fixtext>(1) via /etc/sysconfig/syslog</xccdf:fixtext>
6973 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6974 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20153"/>
6975 </xccdf:check>
6976 </xccdf:Rule>
6977 </xccdf:Group>
6978 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.5">
6979 <xccdf:title xml:lang="en">Ensure All Logs are Rotated by logrotate</xccdf:title>
6980 <xccdf:description xml:lang="en">
6981 Edit the file /etc/logrotate.d/syslog. Find the first line,
6982 which should look like this (wrapped for clarity): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6983 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6984 /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler \
6985 /var/log/boot.log /var/log/cron { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6986 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6987 Edit this line so
6988 that it contains a one-space-separated listing of each log file referenced in
6989 /etc/syslog.conf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6990 All logs in use on a system must be rotated regularly, or the log
6991 files will consume disk space over time, eventually interfering with system operation.
6992 The file /etc/logrotate.d/syslog is the configuration file used by the logrotate program
6993 to maintain all log files written by syslog. By default, it rotates logs weekly and
6994 stores four archival copies of each log. These settings can be modified by editing
6995 /etc/logrotate.conf, but the defaults are sufficient for purposes of this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6997 Note
6998 that logrotate is run nightly by the cron job /etc/cron.daily/logrotate. If particularly
6999 active logs need to be rotated more often than once a day, some other mechanism must be
7000 used.</xccdf:description>
7001 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false" severity="medium" weight="10.0">
7002 <xccdf:title>Ensure All Logs are Rotated by logrotate</xccdf:title>
7003 <xccdf:description>The logrotate (syslog rotater) service should be enabled.</xccdf:description>
7004 <xccdf:ident system="http://cce.mitre.org">CCE-4182-2</xccdf:ident>
7005 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7006 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7007 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20154"/>
7008 </xccdf:check>
7009 </xccdf:Rule>
7010 </xccdf:Group>
7011 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6">
7012 <xccdf:title xml:lang="en">Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7013 <xccdf:description xml:lang="en">
7014 The system includes an extensible program called Logwatch for
7015 reporting on unusual items in syslog. Logwatch is valuable because it provides a parser
7016 for the syslog entry format and a number of signatures for types of lines which are
7017 considered to be mundane or noteworthy. Logwatch has a number of downsides: the
7018 signatures can be inaccurate and are not always categorized consistently, and you must
7019 be able to program in Perl in order to customize the signature database. However, it is
7020 recommended that all Linux sites which do not have time to deploy a third-party log
7021 monitoring application run Logwatch in its default configuration. This provides some
7022 useful information about system activity in exchange for very little administrator
7023 effort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7025 This guide recommends that Logwatch be run only on the central logserver, if
7026 your site has one, in order to focus administrator attention by sending all daily logs
7027 in a single e-mail.</xccdf:description>
7028 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false" severity="medium" weight="10.0">
7029 <xccdf:title>Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7030 <xccdf:description>The logwatch service should be enabled</xccdf:description>
7031 <xccdf:ident system="http://cce.mitre.org">CCE-4323-2</xccdf:ident>
7032 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7033 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7034 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20155"/>
7035 </xccdf:check>
7036 </xccdf:Rule>
7037 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.1">
7038 <xccdf:title xml:lang="en">Configure Logwatch on the Central Log Server</xccdf:title>
7039 <xccdf:description xml:lang="en">
7040 Is this machine the central log server? If so, edit the file
7041 /etc/logwatch/conf/logwatch.conf. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7043 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">HostLimit = no<xhtml:br/>
7044 SplitHosts = yes <xhtml:br/>
7045 MultiEmail = no <xhtml:br/></xhtml:code>
7046 Service = -zz-disk_space <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7047 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7048 Ensure that logwatch.pl is run nightly from cron. (This is the default): <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"># cd /etc/cron.daily <xhtml:br/>
7051 # ln -s /usr/share/logwatch/scripts/logwatch.pl 0logwatch <xhtml:br/></xhtml:code>
7052 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7053 On a central logserver, you want
7054 Logwatch to summarize all syslog entries, including those which did not originate on
7055 the logserver itself. The HostLimit setting tells Logwatch to report on all hosts, not
7056 just the one on which it is running. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7057 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7058 If SplitHosts is set, Logwatch will separate
7059 entries by hostname. This makes the report longer but significantly more usable. If it
7060 is not set, then Logwatch will not report which host generated a given log entry, and
7061 that information is almost always necessary. If MultiEmail is set, then each host's
7062 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"/>
7063 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7064 The Service directive -zz-disk space tells Logwatch not to run the zz-disk space
7065 report, which reports on free disk space. Since all log monitoring is being done on
7066 the central logserver, the disk space listing will always be that of the logserver,
7067 regardless of which host is being monitored. This is confusing, so disable that
7068 service. Note that this does mean that Logwatch will not monitor disk usage
7069 information. Many workarounds are possible, such as running df on each host daily via
7070 cron and sending the output to syslog so that it will be reported to the logserver.</xccdf:description>
7071 </xccdf:Group>
7072 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.2">
7073 <xccdf:title xml:lang="en">Disable Logwatch on Clients if a Logserver Exists</xccdf:title>
7074 <xccdf:description xml:lang="en">
7075 Does your site have a central logserver which has been
7076 configured to report on logs received from all systems? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7077 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7078 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/cron.daily/0logwatch <xhtml:br/></xhtml:code>
7079 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7080 If no logserver exists, it will be necessary for each
7081 machine to run Logwatch individually. Using a central logserver provides the security
7082 and reliability benefits discussed earlier, and also makes monitoring logs easier and
7083 less time-intensive for administrators.</xccdf:description>
7084 </xccdf:Group>
7085 </xccdf:Group>
7086 </xccdf:Group>
7087 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2">
7088 <xccdf:title xml:lang="en">System Accounting with auditd</xccdf:title>
7089 <xccdf:description xml:lang="en">
7090 The audit service is the current Linux recommendation for
7091 kernel-level auditing. By default, the service audits about SELinux AVC denials and
7092 certain types of security-relevant events such as system logins, account modifications,
7093 and authentication events performed by programs such as sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7095 Under its default
7096 configuration, auditd has modest disk space requirements, and should not noticeably impact
7097 system performance. The audit service, in its default configuration, is strongly
7098 recommended for all sites, regardless of whether they are running SELinux. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7099 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7100 DoD or federal networks often have substantial auditing requirements and auditd can be
7101 configured to meet these requirements.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7102 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7103 Typical DoD requirements include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7104 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7105 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Ensure Auditing is Configured to Collect Certain System Events
7106 <xhtml:ul><xhtml:li>Information on the Use of Print Command (unsuccessful and successful)</xhtml:li><xhtml:li>Startup and Shutdown Events (unsuccessful and successful)</xhtml:li></xhtml:ul>
7107 </xhtml:li><xhtml:li>Ensure the auditing software can record the following for each audit event:
7108 <xhtml:ul><xhtml:li>Date and time of the event</xhtml:li><xhtml:li>Userid that initiated the event</xhtml:li><xhtml:li>Type of event</xhtml:li><xhtml:li>Success or failure of the event</xhtml:li><xhtml:li>For I&amp;A events, the origin of the request (e.g., terminal ID)</xhtml:li><xhtml:li>For events that introduce an object into a user’s address space, and for object deletion events, the
7109 name of the object, and in MLS systems, the objects security level.</xhtml:li></xhtml:ul>
7110 </xhtml:li><xhtml:li>Ensure files are backed up no less than weekly onto a different system than the system being audited or
7111 backup media.</xhtml:li><xhtml:li>Ensure old logs are closed out and new audit logs are started daily</xhtml:li><xhtml:li>Ensure the configuration is immutable. With the -e 2 setting a reboot will be required to change any audit
7112 rules.</xhtml:li><xhtml:li>Ensure that the audit data files have permissions of 640, or more restrictive.</xhtml:li></xhtml:ul>
7113 </xccdf:description>
7114 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.1">
7115 <xccdf:title xml:lang="en">Enable the auditd Service</xccdf:title>
7116 <xccdf:description xml:lang="en">
7117 Ensure that the auditd service is enabled (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7119 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig auditd on <xhtml:br/></xhtml:code>
7120 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7121 By default, auditd logs only SELinux denials, which are
7122 helpful for debugging SELinux and discovering intrusion attempts, and certain types of
7123 security events, such as modifications to user accounts (useradd, passwd, etc), login
7124 events, and calls to sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7125 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7126 Data is stored in /var/log/audit/audit.log. By default,
7127 auditd rotates 4 logs by size (5MB), retaining a maximum of 20MB of data in total, and
7128 refuses to write entries when the disk is too full. This minimizes the risk of audit
7129 data filling its partition and impacting other services. However, it is possible to lose
7130 audit data if the system is busy.</xccdf:description>
7131 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.1.a" selected="false" severity="medium" weight="10.0">
7132 <xccdf:title>Enable the auditd Service</xccdf:title>
7133 <xccdf:description>The auditd service should be enabled.</xccdf:description>
7134 <xccdf:ident system="http://cce.mitre.org">CCE-4292-9</xccdf:ident>
7135 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7136 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7137 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20156"/>
7138 </xccdf:check>
7139 </xccdf:Rule>
7140 </xccdf:Group>
7141 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.2">
7142 <xccdf:title xml:lang="en">Configure auditd Data Retention</xccdf:title>
7143 <xccdf:description xml:lang="en"><xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Determine STOREMB , the amount of audit data (in megabytes) which should be retained in each log
7144 file. Edit the file /etc/audit/auditd.conf. Add or modify the following line:<xhtml:br/>
7145 <xhtml:br/>
7146 max_log_file = STOREMB</xhtml:li><xhtml:li>Use a dedicated partition (or logical volume) for log files. It is straightforward to create such a partition
7147 or logical volume during system installation time. The partition should be larger than the maximum
7148 space which auditd will ever use, which is the maximum size of each log file (max log file) multiplied
7149 by the number of log files (num logs). Ensure the partition is mounted on /var/log/audit.</xhtml:li><xhtml:li>If your site requires that the machine be disabled when auditing cannot be performed, configure auditd
7150 to halt the system when disk space for auditing runs low. Edit /etc/audit/auditd.conf, and add or
7151 correct the following lines:<xhtml:br/>
7152 <xhtml:br/>
7153 space_left_action = email<xhtml:br/>
7154 action_mail_acct = root<xhtml:br/>
7155 admin_space_left_action = halt<xhtml:br/></xhtml:li></xhtml:ul>
7156 The default action to take when the logs reach their maximum size is to rotate the log files, discarding the
7157 oldest one. If it is more important to retain all possible auditing information, even if that opens the possibility
7158 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"/>
7159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7160 max_log_file_action = keep_logs<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7161 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7162 By default, auditd retains 4 log files of size 5Mb apiece. For a busy system or a system which is thoroughly
7163 auditing system activity, this is likely to be insufficient.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7164 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7165 The log file size needed will depend heavily on what types of events are being audited. First configure auditing
7166 to log all the events of interest. Then monitor the log size manually for awhile to determine what file size will
7167 allow you to keep the required data for the correct time period.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7168 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7169 Using a dedicated partition for /var/log/audit prevents the auditd logs from disrupting system functionality if
7170 they fill, and, more importantly, prevents other activity in /var from filling the partition and stopping the audit
7171 trail. (The audit logs are size-limited and therefore unlikely to grow without bound unless configured to do so.)
7172 Some machines may have requirements that no actions occur which cannot be audited. If this is the case, then
7173 auditd can be configured to halt the machine if it runs out of space.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7174 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7175 Note: Since older logs are rotated, configuring auditd this way does not prevent older logs from being rotated
7176 away before they can be viewed.
7177 </xccdf:description>
7178 <xccdf:warning xml:lang="en">If your system is configured to halt when logging cannot be performed, make sure this can never
7179 happen under normal circumstances! Ensure that /var/ log/ audit is on its own partition, and
7180 that this partition is larger than the maximum amount of data auditd will retain normally.</xccdf:warning>
7181 </xccdf:Group>
7182 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.3">
7183 <xccdf:title xml:lang="en">Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7184 <xccdf:description xml:lang="en">
7185 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the
7186 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"/>
7187 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7188 kernel /vmlinuz-version ro vga=ext root=/dev/VolGroup00/LogVol00 rhgb quiet audit=1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7189 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7190 Each process on the system carries an ”auditable” flag which indicates whether its activities can be audited.
7191 Although auditd takes care of enabling this for all processes which launch after it does, adding the kernel
7192 argument ensures that it is set for every process during boot.
7193 </xccdf:description>
7194 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false" severity="medium" weight="10.0">
7195 <xccdf:title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7196 <xccdf:description>
7197 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the argument audit=1
7198 to the kernel line in /etc/grub.conf, in the manner below:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7199 <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>
7200 <xccdf:fixtext>(1) via /etc/grub.conf add audit=1 to kernel line</xccdf:fixtext>
7201 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7202 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20157"/>
7203 </xccdf:check>
7204 </xccdf:Rule>
7205 </xccdf:Group>
7206 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4">
7207 <xccdf:title xml:lang="en">Configure auditd Rules for Comprehensive Auditing</xccdf:title>
7208 <xccdf:description xml:lang="en">
7209 The auditd program can perform comprehensive monitoring of system activity. This section describes rec-
7210 ommended configuration settings for comprehensive auditing, but a full description of the auditing system’s
7211 capabilities is beyond the scope of this guide. The mailing list [email protected] may be a good source
7212 of further information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7213 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7214 The audit subsystem supports extensive collection of events, including:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7215 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Tracing of arbitrary system calls (identified by name or number) on entry or exit.</xhtml:li><xhtml:li>Filtering by PID, UID, call success, system call argument (with some limitations), etc.</xhtml:li><xhtml:li>Monitoring of specific files for modifications to the file’s contents or metadata.</xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7216 Auditing rules are controlled in the file /etc/audit/audit.rules. Add rules to it to meet the auditing re-
7217 quirements for your organization. Each line in /etc/audit/audit.rules represents a series of arguments that
7218 can be passed to auditctl and can be individually tested as such. See documentation in /usr/share/doc/
7219 audit-version and in the related man pages for more details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7220 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7221 Recommended audit rules are provided in /usr/share/doc/audit-version /stig.rules. In order to activate
7222 those rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7224 <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>
7225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7226 and then edit /etc/audit/audit.rules and comment out the lines containing arch= which are not appropriate
7227 for your system’s architecture. Then review and understand the following rules, ensuring rules are activated as
7228 needed for the appropriate architecture.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7229 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7230 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"/>
7231 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7232 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service auditd restart</xhtml:code></xccdf:description>
7233 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.1">
7234 <xccdf:title xml:lang="en">Records Events that Modify Date and Time Information</xccdf:title>
7235 <xccdf:description xml:lang="en">
7236 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7237 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7238 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7239 -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"/>
7240 -a always,exit -F arch=ARCH -S clock_settime -k time-change<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7241 -w /etc/localtime -p wa -k time-change
7242 </xccdf:description>
7243 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false" severity="medium" weight="10.0">
7244 <xccdf:title>Records Events that Modify Date and Time Information</xccdf:title>
7245 <xccdf:description>Audit rules about time</xccdf:description>
7246 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7247 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7248 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7249 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201575"/>
7250 </xccdf:check>
7251 </xccdf:Rule>
7252 </xccdf:Group>
7253 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.2">
7254 <xccdf:title xml:lang="en">Record Events that Modify User/Group Information</xccdf:title>
7255 <xccdf:description xml:lang="en">
7256 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"/>
7257 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7258 -w /etc/group -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7259 -w /etc/passwd -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7260 -w /etc/gshadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7261 -w /etc/shadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7262 -w /etc/security/opasswd -p wa -k identity
7263 </xccdf:description>
7264 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false" severity="medium" weight="10.0">
7265 <xccdf:title>Record Events that Modify User/Group Information</xccdf:title>
7266 <xccdf:description>Audit rules about User/Group Information</xccdf:description>
7267 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7268 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7269 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7270 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20158"/>
7271 </xccdf:check>
7272 </xccdf:Rule>
7273 </xccdf:Group>
7274 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.3">
7275 <xccdf:title xml:lang="en">Record Events that Modify the System’s Network Environment</xccdf:title>
7276 <xccdf:description xml:lang="en">
7277 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7278 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7279 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7280 -a exit,always -F arch=ARCH -S sethostname -S setdomainname -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7281 -w /etc/issue -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7282 -w /etc/issue.net -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7283 -w /etc/hosts -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7284 -w /etc/sysconfig/network -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7285 </xccdf:description>
7286 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false" severity="medium" weight="10.0">
7287 <xccdf:title>Record Events that Modify the System’s Network Environment</xccdf:title>
7288 <xccdf:description>Audit rules about the System’s Network Environment</xccdf:description>
7289 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7290 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7291 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7292 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20159"/>
7293 </xccdf:check>
7294 </xccdf:Rule>
7295 </xccdf:Group>
7296 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.4">
7297 <xccdf:title xml:lang="en">Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7298 <xccdf:description xml:lang="en">
7299 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7300 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7301 -w /etc/selinux/ -p wa -k MAC-policy
7302 </xccdf:description>
7303 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false" severity="medium" weight="10.0">
7304 <xccdf:title>Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7305 <xccdf:description>Audit rules about the System’s Mandatory Access Controls</xccdf:description>
7306 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7307 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7308 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7309 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20160"/>
7310 </xccdf:check>
7311 </xccdf:Rule>
7312 </xccdf:Group>
7313 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.5">
7314 <xccdf:title xml:lang="en">Ensure auditd Collects Logon and Logout Events</xccdf:title>
7315 <xccdf:description xml:lang="en">
7316 At a minimum the audit system should collect login info for all users and root. Add the following to
7317 /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7318 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7319 -w /var/log/faillog -p wa -k logins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7320 -w /var/log/lastlog -p wa -k logins
7321 </xccdf:description>
7322 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false" severity="medium" weight="10.0">
7323 <xccdf:title>Ensure auditd Collects Logon and Logout Events</xccdf:title>
7324 <xccdf:description>Audit rules about the Logon and Logout Events</xccdf:description>
7325 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7326 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7327 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7328 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20161"/>
7329 </xccdf:check>
7330 </xccdf:Rule>
7331 </xccdf:Group>
7332 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.6">
7333 <xccdf:title xml:lang="en">Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7334 <xccdf:description xml:lang="en">
7335 At a minimum the audit system should collect process information for all users and root. Add the following
7336 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7337 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7338 -w /var/run/utmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7339 -w /var/log/btmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7340 -w /var/log/wtmp -p wa -k session
7341 </xccdf:description>
7342 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false" severity="medium" weight="10.0">
7343 <xccdf:title>Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7344 <xccdf:description>Audit rules about the Process and Session Initiation Information</xccdf:description>
7345 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7346 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7347 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7348 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20162"/>
7349 </xccdf:check>
7350 </xccdf:Rule>
7351 </xccdf:Group>
7352 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.7">
7353 <xccdf:title xml:lang="en">Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7354 <xccdf:description xml:lang="en">
7355 At a minimum the audit system should collect file permission changes for all users and root. Add the
7356 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"/>
7357 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7358 -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"/>
7359 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7360 -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"/>
7361 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7362 -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"/>
7363 lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod
7364 </xccdf:description>
7365 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false" severity="medium" weight="10.0">
7366 <xccdf:title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7367 <xccdf:description>Audit rules about the Discretionary Access Control Permission Modification Events</xccdf:description>
7368 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7369 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7370 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7371 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20163"/>
7372 </xccdf:check>
7373 </xccdf:Rule>
7374 </xccdf:Group>
7375 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.8">
7376 <xccdf:title xml:lang="en">Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7377 <xccdf:description xml:lang="en">
7378 At a minimum the audit system should collect unauthorized file accesses for all users and root. Add the
7379 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"/>
7380 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7381 -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"/>
7382 -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7383 -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"/>
7384 -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access
7385 </xccdf:description>
7386 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false" severity="medium" weight="10.0">
7387 <xccdf:title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7388 <xccdf:description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful)</xccdf:description>
7389 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7390 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7391 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7392 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20164"/>
7393 </xccdf:check>
7394 </xccdf:Rule>
7395 </xccdf:Group>
7396 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.9">
7397 <xccdf:title xml:lang="en">Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7398 <xccdf:description xml:lang="en">
7399 At a minimum the audit system should collect the execution of privileged commands for all users and root.
7400 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7401 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7402 -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"/>
7403 -k privileged
7404 </xccdf:description>
7405 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false" severity="medium" weight="10.0">
7406 <xccdf:title>Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7407 <xccdf:description>Audit rules about the Information on the Use of Privileged Commands</xccdf:description>
7408 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7409 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7410 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7411 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20165"/>
7412 </xccdf:check>
7413 </xccdf:Rule>
7414 </xccdf:Group>
7415 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.10">
7416 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7417 <xccdf:description xml:lang="en">
7418 At a minimum the audit system should collect media exportation events for all users and root. Add the
7419 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"/>
7420 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7421 -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export
7422 </xccdf:description>
7423 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false" severity="medium" weight="10.0">
7424 <xccdf:title>Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7425 <xccdf:description>Audit rules about the Information on Exporting to Media (successful)</xccdf:description>
7426 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7427 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7428 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7429 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20166"/>
7430 </xccdf:check>
7431 </xccdf:Rule>
7432 </xccdf:Group>
7433 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.11">
7434 <xccdf:title xml:lang="en">Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7435 <xccdf:description xml:lang="en">
7436 At a minimum the audit system should collect file deletion events for all users and root. Add the following
7437 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"/>
7438 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7439 -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"/>
7440 -F auid!=4294967295 -k delete
7441 </xccdf:description>
7442 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false" severity="medium" weight="10.0">
7443 <xccdf:title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7444 <xccdf:description>Audit rules about the Files Deletion Events by User (successful and unsuccessful)</xccdf:description>
7445 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7446 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7447 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7448 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20167"/>
7449 </xccdf:check>
7450 </xccdf:Rule>
7451 </xccdf:Group>
7452 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.12">
7453 <xccdf:title xml:lang="en">Ensure auditd Collects System Administrator Actions</xccdf:title>
7454 <xccdf:description xml:lang="en">
7455 At a minimum the audit system should collect administrator actions for all users and root. Add the following
7456 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7457 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7458 -w /etc/sudoers -p wa -k actions</xccdf:description>
7459 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false" severity="medium" weight="10.0">
7460 <xccdf:title>Ensure auditd Collects System Administrator Actions</xccdf:title>
7461 <xccdf:description>Audit rules about the System Administrator Actions</xccdf:description>
7462 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7463 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7464 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7465 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20168"/>
7466 </xccdf:check>
7467 </xccdf:Rule>
7468 </xccdf:Group>
7469 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.13">
7470 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7471 <xccdf:description xml:lang="en">
7472 Add the following to /etc/audit/audit.rules in order to capture kernel module loading and unloading
7473 events:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7474 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7475 -w /sbin/insmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7476 -w /sbin/rmmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7477 -w /sbin/modprobe -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7478 -a always,exit -S init_module -S delete_module -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7479 </xccdf:description>
7480 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false" severity="medium" weight="10.0">
7481 <xccdf:title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7482 <xccdf:description>Audit rules about the Information on Kernel Module Loading and Unloading</xccdf:description>
7483 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7484 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7485 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7486 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201685"/>
7487 </xccdf:check>
7488 </xccdf:Rule>
7489 </xccdf:Group>
7490 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.14">
7491 <xccdf:title xml:lang="en">Make the auditd Configuration Immutable</xccdf:title>
7492 <xccdf:description xml:lang="en">
7493 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"/>
7494 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7495 -e 2<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7496 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7497 With this setting, a reboot will be required to change any audit rules.
7498 </xccdf:description>
7499 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false" severity="medium" weight="10.0">
7500 <xccdf:title>Make the auditd Configuration Immutable</xccdf:title>
7501 <xccdf:description>Force a reboot to change audit rules</xccdf:description>
7502 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7503 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7504 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7505 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20169"/>
7506 </xccdf:check>
7507 </xccdf:Rule>
7508 </xccdf:Group>
7509 </xccdf:Group>
7510 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.5">
7511 <xccdf:title xml:lang="en">Summarize and Review Audit Logs using aureport</xccdf:title>
7512 <xccdf:description xml:lang="en">
7513 Familiarize yourself with the aureport(8) man page, then design a short series of audit reporting commands
7514 suitable for exploring the audit logs on a daily (or more frequent) basis. These commands can be added as a cron
7515 job by placing an appropriately named file in /etc/cron.daily. See the next section for information on how to
7516 ensure that the audit system collects all events needed.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7517 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7518 For example, to generate a daily report of every user to login to the machine, the following command could be
7519 run from cron:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7521 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport -l -i -ts yesterday -te today<xhtml:br/></xhtml:code>
7522 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7523 To review all audited activity for unusual behavior, a good place to start is to see a summary of which audit
7524 rules have been triggering:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7525 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7526 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">aureport --key --summary<xhtml:br/></xhtml:code>
7527 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7528 If access violations stand out, review them with:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7529 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7530 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --raw | aureport --file --summary<xhtml:br/></xhtml:code>
7531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7532 To review what executables are doing:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7533 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7534 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --raw | aureport -x --summary<xhtml:br/></xhtml:code>
7535 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7536 If access violations have been occurring on a particular file (such as /etc/shadow) and you want to determine
7537 which user is doing this:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7538 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7539 <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>
7540 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7541 Check for anomalous activity (such as device changing to promiscuous mode, processes ending abnormally, login
7542 failure limits being reached) using:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7544 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport --anomaly<xhtml:br/></xhtml:code>
7545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7546 The foundation to audit analysis is using keys to classify the events. Information about using ausearch to find
7547 an SELinux problem can be found in Section 2.4.6.
7548 </xccdf:description>
7549 </xccdf:Group>
7550 </xccdf:Group>
7551 </xccdf:Group>
7552 </xccdf:Group>
7553 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3">
7554 <xccdf:title xml:lang="en">Services</xccdf:title>
7555 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1">
7556 <xccdf:title xml:lang="en">Disable All Unneeded Services at Boot Time</xccdf:title>
7557 <xccdf:description xml:lang="en">
7558 The best protection against vulnerable software is running less
7559 software. This section describes how to review the software which Red Hat Enterprise Linux
7560 installs on a system and disable software which is not needed. It then enumerates the
7561 software packages installed on a default RHEL5 system and provides guidance about which ones
7562 can be safely disabled.</xccdf:description>
7563 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.1">
7564 <xccdf:title xml:lang="en">Determine which Services are Enabled at Boot</xccdf:title>
7565 <xccdf:description xml:lang="en">
7566 Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7568 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig --list | grep :on <xhtml:br/></xhtml:code>
7569 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7570 The first column
7571 of this output is the name of a service which is currently enabled at boot. Review each
7572 listed service to determine whether it can be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7573 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7574 If it is appropriate to disable
7575 some service srvname , do so using the command: <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"># chkconfig srvname off <xhtml:br/></xhtml:code>
7578 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7579 Use the guidance below for information about unfamiliar services.</xccdf:description>
7580 </xccdf:Group>
7581 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.2">
7582 <xccdf:title xml:lang="en">Guidance on Default Services</xccdf:title>
7583 <xccdf:description xml:lang="en">
7584 The table in this section contains a list of all services which
7585 are enabled at boot by a default RHEL5 installation. For each service, one of the
7586 following recommendations is made: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7587 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Enable: The service provides a significant capability
7588 with limited risk exposure. Leave the service enabled. </xhtml:li><xhtml:li>Configure: The service either is
7589 required for most systems to function properly or provides an important security function.
7590 It should be left enabled by most environments. However, it must be configured securely on
7591 all machines, and different options may be needed for workstations than for servers. See
7592 the referenced section for recommended configuration of this service.</xhtml:li><xhtml:li>Disable if
7593 possible: The service opens the system to some risk, but may be required by some
7594 environments. See the appropriate section of the guide, and disable the service if at all
7595 possible.</xhtml:li><xhtml:li>Servers only: The service provides some function to other machines over the
7596 network. If that function is needed in the target environment, the service should remain
7597 enabled only on a small number of dedicated servers, and should be disabled on all other
7598 machines on the network. </xhtml:li></xhtml:ul>
7599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7600 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:thead><xhtml:tr><xhtml:td>Service name</xhtml:td><xhtml:td>Action</xhtml:td><xhtml:td>Reference</xhtml:td></xhtml:tr></xhtml:thead><xhtml:tbody><xhtml:tr><xhtml:td>acpid</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.15.2</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>anacron</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>apmd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.15.1</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>atd</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>auditd</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.6.2</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>autofs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.2.2.3</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>avahi-daemon</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.7</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>bluetooth</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.14</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>cpuspeed</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.15.3 </xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>crond</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>cups</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.8</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>firstboot</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.1</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>gpm</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.2</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>haldaemon</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.13.2</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>hidd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.14.2</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>hplip</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.8.4.1</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>ip6tables</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.5.5</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>iptables</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.5.5</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>irqbalance</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.3</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>isdn</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.4</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>kdump</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.5</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>kudzu</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.6 </xhtml:td></xhtml:tr><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><xhtml:tr><xhtml:td>mdmonitor</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.7 </xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>messagebus</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.13.1</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>microcode</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.8</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>netfs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS)</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>network</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.9</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>nfslock</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS)</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>pcscd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.10</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>portmap</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>readahead_early</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.12</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>readahead_later</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.12</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>restorecond</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>2.4.3.3 (SELinux)</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>rhnsd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.1.2.2 </xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>rpcgssd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>rpcidmapd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>sendmail</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.11</xhtml:td></xhtml:tr><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><xhtml:tr><xhtml:td>smartd</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.11 </xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>sshd</xhtml:td><xhtml:td>Servers only</xhtml:td><xhtml:td>3.5</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>syslog</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.6.1</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>xfs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.6 (X11) </xhtml:td></xhtml:tr><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></xhtml:tbody></xhtml:table>
7601 </xccdf:description>
7602 </xccdf:Group>
7603 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.3">
7604 <xccdf:title xml:lang="en">Guidance for Unfamiliar Services</xccdf:title>
7605 <xccdf:description xml:lang="en">
7606 If the system is running any services which have not been
7607 covered, determine what these services do, and disable them if they are not needed or if
7608 they pose a high risk. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7609 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7610 If a service srvname is unknown, try running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7612 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qf /etc/init.d/srvname <xhtml:br/></xhtml:code>
7613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7614 to discover which RPM package installed the service. Then, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7615 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7616 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qi rpmname <xhtml:br/></xhtml:code>
7617 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7618 for a brief description of what that RPM does.</xccdf:description>
7619 </xccdf:Group>
7620 </xccdf:Group>
7621 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2">
7622 <xccdf:title xml:lang="en">Obsolete Services</xccdf:title>
7623 <xccdf:description xml:lang="en">
7624 This section discusses a number of network-visible services which
7625 have historically caused problems for system security, and for which disabling or severely
7626 limiting the service has been the best available guidance for some time. As a result of this
7627 consensus, these services are not installed as part of RHEL5 by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7628 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7629 Organizations which
7630 are running these services should prioritize switching to more secure services which provide
7631 the needed functionality. If it is absolutely necessary to run one of these services for
7632 legacy reasons, care should be taken to restrict the service as much as possible, for
7633 instance by configuring host firewall software (see Section 2.5.5) to restrict access to the
7634 vulnerable service to only those remote hosts which have a known need to use it.</xccdf:description>
7635 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.1">
7636 <xccdf:title xml:lang="en">Inetd and Xinetd</xccdf:title>
7637 <xccdf:description xml:lang="en">
7638 Is there an operational need to run the deprecated inetd or
7639 xinetd software packages? If not, ensure that they are removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7640 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7641 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase inetd xinetd <xhtml:br/></xhtml:code>
7642 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7643 Beginning with Red Hat Enterprise Linux 5, the xinetd service is no
7644 longer installed by default. This change represents increased awareness that the dedicated
7645 network listener model does not improve security or reliability of services, and that
7646 restriction of network listeners is better handled using a granular model such as SELinux
7647 than using xinetd's limited security options.</xccdf:description>
7648 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.a" selected="false" severity="medium" weight="10.0">
7649 <xccdf:title>Disable Inetd</xccdf:title>
7650 <xccdf:description>The inetd service should be disabled.</xccdf:description>
7651 <xccdf:ident system="http://cce.mitre.org">CCE-4234-1</xccdf:ident>
7652 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
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:20170"/>
7655 </xccdf:check>
7656 </xccdf:Rule>
7657 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.b" selected="false" severity="medium" weight="10.0">
7658 <xccdf:title>Disable Xinetd</xccdf:title>
7659 <xccdf:description>The xinetd service should be disabled.</xccdf:description>
7660 <xccdf:ident system="http://cce.mitre.org">CCE-4252-3</xccdf:ident>
7661 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7662 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7663 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20171"/>
7664 </xccdf:check>
7665 </xccdf:Rule>
7666 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.c" selected="false" weight="10.0">
7667 <xccdf:title>Uninstall Inetd</xccdf:title>
7668 <xccdf:description>The inetd package should be uninstalled.</xccdf:description>
7669 <xccdf:ident system="http://cce.mitre.org">CCE-4023-8</xccdf:ident>
7670 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7671 <xccdf:fix># yum erase inetd</xccdf: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:20172"/>
7674 </xccdf:check>
7675 </xccdf:Rule>
7676 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.d" selected="false" weight="10.0">
7677 <xccdf:title>Uninstall Xinetd</xccdf:title>
7678 <xccdf:description>The xinetd package should be uninstalled.</xccdf:description>
7679 <xccdf:ident system="http://cce.mitre.org">CCE-4164-0</xccdf:ident>
7680 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7681 <xccdf:fix># yum erase xinetd</xccdf:fix>
7682 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7683 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20173"/>
7684 </xccdf:check>
7685 </xccdf:Rule>
7686 </xccdf:Group>
7687 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2">
7688 <xccdf:title xml:lang="en">Telnet</xccdf:title>
7689 <xccdf:description xml:lang="en">
7690 Is there a mission-critical reason for users to access the system
7691 via the insecure telnet protocol, rather than the more secure SSH protocol? If not, ensure
7692 that the telnet server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7693 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7694 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet-server <xhtml:br/></xhtml:code>
7695 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7696 The telnet
7697 protocol uses unencrypted network communication, which means that data from the login
7698 session, including passwords and all other information transmitted during the session, can
7699 be stolen by eavesdroppers on the network, and also that outsiders can easily hijack the
7700 session to gain authenticated access to the telnet server. Organizations which use telnet
7701 should be actively working to migrate to a more secure protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7702 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7703 See Section 3.5 for information about the SSH service.</xccdf:description>
7704 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2.1">
7705 <xccdf:title xml:lang="en">Remove Telnet Clients</xccdf:title>
7706 <xccdf:description xml:lang="en">
7707 In order to prevent users from casually attempting to use a telnet server, and thus exposing their credentials
7708 over the network, remove the telnet package, which contains a telnet client program:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7709 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7710 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet<xhtml:br/></xhtml:code>
7711 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7712 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"/>
7713 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7714 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase krb5-workstation<xhtml:br/></xhtml:code>
7715 </xccdf:description>
7716 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false" severity="high" weight="10.0">
7717 <xccdf:title>Remove the telnet client command from the System</xccdf:title>
7718 <xccdf:description>The telnet package should be uninstalled.</xccdf:description>
7719 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7720 <xccdf:fix># yum erase telnet</xccdf:fix>
7721 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7722 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20175"/>
7723 </xccdf:check>
7724 </xccdf:Rule>
7725 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false" weight="10.0">
7726 <xccdf:title>Remove the kerberos telnet client from the System</xccdf:title>
7727 <xccdf:description>The krb5-workstation package should be uninstalled.</xccdf:description>
7728 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7729 <xccdf:fix># yum erase rsh-server</xccdf:fix>
7730 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7731 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20176"/>
7732 </xccdf:check>
7733 </xccdf:Rule>
7734 </xccdf:Group>
7735 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.a" selected="false" severity="high" weight="10.0">
7736 <xccdf:title>Uninstall Telnet server</xccdf:title>
7737 <xccdf:description>The telnet-server package should be uninstalled.</xccdf:description>
7738 <xccdf:ident system="http://cce.mitre.org">CCE-4330-7</xccdf:ident>
7739 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7740 <xccdf:fix># yum erase telnet-server</xccdf:fix>
7741 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7742 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20174"/>
7743 </xccdf:check>
7744 </xccdf:Rule>
7745 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.b" selected="false" severity="high" weight="10.0">
7746 <xccdf:title>Disable telnet service</xccdf:title>
7747 <xccdf:description>telnet service should be disabled.</xccdf:description>
7748 <xccdf:ident system="http://cce.mitre.org">CCE-3390-2</xccdf:ident>
7749 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7750 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7751 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201745"/>
7752 </xccdf:check>
7753 </xccdf:Rule>
7754 </xccdf:Group>
7755 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3">
7756 <xccdf:title xml:lang="en">Rlogin, Rsh, and Rcp</xccdf:title>
7757 <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>
7758 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.1">
7759 <xccdf:title xml:lang="en">Remove the Rsh Server Commands from the System</xccdf:title>
7760 <xccdf:description xml:lang="en">
7761 Is there a mission-critical reason for users to access the
7762 system via the insecure rlogin, rsh, or rcp commands rather than the more secure ssh and
7763 scp? If not, ensure that the rsh server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7765 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh-server <xhtml:br/></xhtml:code>
7766 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7767 SSH was designed to be a drop-in replacement for the r-commands, which suffer
7768 from the same hijacking and eavesdropping problems as telnet. There is unlikely to be a
7769 case in which these commands cannot be replaced with SSH.</xccdf:description>
7770 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false" severity="high" weight="10.0">
7771 <xccdf:title>Remove the Rsh Server Commands from the System</xccdf:title>
7772 <xccdf:description>The rsh-server package should be uninstalled.</xccdf:description>
7773 <xccdf:ident system="http://cce.mitre.org">CCE-4308-3</xccdf:ident>
7774 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7775 <xccdf:fix># yum erase rsh-server</xccdf:fix>
7776 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7777 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20177"/>
7778 </xccdf:check>
7779 </xccdf:Rule>
7780 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false" severity="high" weight="10.0">
7781 <xccdf:title>disable rcp</xccdf:title>
7782 <xccdf:description>The rcp service should be disabled.</xccdf:description>
7783 <xccdf:ident system="http://cce.mitre.org">CCE-3974-3</xccdf:ident>
7784 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7785 <xccdf:fix># chkconfig rcp off</xccdf:fix>
7786 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7787 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201774"/>
7788 </xccdf:check>
7789 </xccdf:Rule>
7790 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false" severity="high" weight="10.0">
7791 <xccdf:title>disable rsh</xccdf:title>
7792 <xccdf:description>The rsh service should be disabled.</xccdf:description>
7793 <xccdf:ident system="http://cce.mitre.org">CCE-4141-8</xccdf:ident>
7794 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7795 <xccdf:fix># chkconfig rsh off</xccdf:fix>
7796 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7797 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201775"/>
7798 </xccdf:check>
7799 </xccdf:Rule>
7800 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false" severity="high" weight="10.0">
7801 <xccdf:title>disable rlogin</xccdf:title>
7802 <xccdf:description>The rlogin service should be disabled.</xccdf:description>
7803 <xccdf:ident system="http://cce.mitre.org">CCE-3537-8</xccdf:ident>
7804 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7805 <xccdf:fix># chkconfig rlogin off</xccdf:fix>
7806 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7807 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201776"/>
7808 </xccdf:check>
7809 </xccdf:Rule>
7810 </xccdf:Group>
7811 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.2">
7812 <xccdf:title xml:lang="en">Remove .rhosts Support from PAM Configuration Files</xccdf:title>
7813 <xccdf:description xml:lang="en">
7814 Check that pam_rhosts authentication is not used by any PAM
7815 services. Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7816 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7817 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep -l pam_rhosts /etc/pam.d/* <xhtml:br/></xhtml:code>
7818 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7819 This command should return no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7820 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7821 The RHEL5 default is not to rely on .rhosts or /etc/hosts.equiv for any
7822 PAM-based services, so, on an uncustomized system, this command should return no output.
7823 If any files do use pam_rhosts, modify them to make use of a more secure authentication
7824 method instead. For more information about PAM, see Section 2.3.3.</xccdf:description>
7825 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false" severity="medium" weight="10.0">
7826 <xccdf:title>Remove .rhosts Support from PAM Configuration Files</xccdf:title>
7827 <xccdf:description>Check that pam_rhosts authentication is not used by any PAM services.</xccdf:description>
7828 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7829 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20178"/>
7830 </xccdf:check>
7831 </xccdf:Rule>
7832 </xccdf:Group>
7833 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.3">
7834 <xccdf:title xml:lang="en">Remove the Rsh Client Commands from the System</xccdf:title>
7835 <xccdf:description xml:lang="en">
7836 In order to prevent users from casually attempting to make use of an rsh server and thus exposing their
7837 credentials over the network, remove the rsh package, which contains client programs for many of r-commands
7838 described above:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7839 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7840 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh<xhtml:br/></xhtml:code>
7841 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7842 Users should be trained to use the SSH client, and never attempt to connect to an rsh or telnet server. The
7843 krb5-workstation package also contains r-command client programs and should be removed as described in
7844 Section 3.2.2.1, if Kerberos is not in use.
7845 </xccdf:description>
7846 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false" severity="high" weight="10.0">
7847 <xccdf:title>Remove the Rsh Client Commands from the System</xccdf:title>
7848 <xccdf:description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</xccdf:description>
7849 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7850 <xccdf:fix># yum erase rsh</xccdf:fix>
7851 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7852 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20179"/>
7853 </xccdf:check>
7854 </xccdf:Rule>
7855 </xccdf:Group>
7856 </xccdf:Group>
7857 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.4">
7858 <xccdf:title xml:lang="en">NIS</xccdf:title>
7859 <xccdf:description xml:lang="en">
7860 The NIS client service ypbind is not activated by default. In the
7861 event that it was activated at some point, disable it by executing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7862 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7863 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ypbind off <xhtml:br/></xhtml:code>
7864 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7865 The NIS server package is not installed by default. In the event that
7866 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"/>
7867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7868 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase ypserv <xhtml:br/></xhtml:code>
7869 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7870 The Network Information Service (NIS), also known as 'Yellow Pages' (YP), and
7871 its successor NIS+ have been made obsolete by Kerberos, LDAP, and other modern centralized
7872 authentication services. NIS should not be used because it suffers from security problems
7873 inherent in its design, such as inadequate protection of important authentication
7874 information.</xccdf:description>
7875 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.a" selected="false" severity="medium" weight="10.0">
7876 <xccdf:title>Uninstall NIS</xccdf:title>
7877 <xccdf:description>The ypserv package should be uninstalled.</xccdf:description>
7878 <xccdf:ident system="http://cce.mitre.org">CCE-4348-9</xccdf:ident>
7879 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7880 <xccdf:fix># yum erase ypserv</xccdf:fix>
7881 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7882 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20180"/>
7883 </xccdf:check>
7884 </xccdf:Rule>
7885 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.b" selected="false" severity="medium" weight="10.0">
7886 <xccdf:title>Disable NIS</xccdf:title>
7887 <xccdf:description>The ypbind service should be disabled.</xccdf:description>
7888 <xccdf:ident system="http://cce.mitre.org">CCE-3705-1</xccdf:ident>
7889 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7890 <xccdf:fix># chkconfig ypbind off</xccdf:fix>
7891 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7892 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20181"/>
7893 </xccdf:check>
7894 </xccdf:Rule>
7895 </xccdf:Group>
7896 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.5">
7897 <xccdf:title xml:lang="en">TFTP Server</xccdf:title>
7898 <xccdf:description xml:lang="en">
7899 Is there an operational need to run the deprecated TFTP server
7900 software? If not, ensure that it is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7902 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase tftp-server <xhtml:br/></xhtml:code>
7903 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7904 TFTP is a lightweight version of the FTP protocol which has traditionally been used to
7905 configure networking equipment. However, TFTP provides little security, and modern
7906 versions of networking operating systems frequently support configuration via SSH or
7907 other more secure protocols. A TFTP server should be run only if no more secure method of
7908 supporting existing equipment can be found.</xccdf:description>
7909 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.a" selected="false" weight="10.0">
7910 <xccdf:title>Uninstall TFTP Server</xccdf:title>
7911 <xccdf:description>The tftp-server package should be uninstalled.</xccdf:description>
7912 <xccdf:ident system="http://cce.mitre.org">CCE-3916-4</xccdf:ident>
7913 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7914 <xccdf:fix># yum erase tftp-server</xccdf:fix>
7915 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7916 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20182"/>
7917 </xccdf:check>
7918 </xccdf:Rule>
7919 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.b" selected="false" severity="low" weight="10.0">
7920 <xccdf:title>Disable TFTP Server</xccdf:title>
7921 <xccdf:description>The tftp service should be disabled.</xccdf:description>
7922 <xccdf:ident system="http://cce.mitre.org">CCE-4273-9</xccdf:ident>
7923 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7924 <xccdf:fix># chkconfig tftp off</xccdf:fix>
7925 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7926 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201825"/>
7927 </xccdf:check>
7928 </xccdf:Rule>
7929 </xccdf:Group>
7930 </xccdf:Group>
7931 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3">
7932 <xccdf:title xml:lang="en">BaseServices</xccdf:title>
7933 <xccdf:description xml:lang="en">
7934 This section addresses the base services that are configured to
7935 start up on boot in a RHEL5 default installation. Some of these services listen on the
7936 network and should be treated with particular discretion. The other services are local
7937 system utilities that may or may not be extraneous. Each of these services should be
7938 disabled if not required.</xccdf:description>
7939 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.1">
7940 <xccdf:title xml:lang="en">Installation Helper Service (firstboot)</xccdf:title>
7941 <xccdf:description xml:lang="en">
7942 Firstboot is a daemon specific to the Red Hat installation
7943 process. It handles 'one-time' configuration following successful installation of the
7944 operating system. As such, there is no reason for this service to remain enabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7945 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7946 Disable firstboot by issuing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7948 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig firstboot off</xhtml:code></xccdf:description>
7949 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.1.a" selected="false" severity="low" weight="10.0">
7950 <xccdf:title>Installation Helper Service (firstboot)</xccdf:title>
7951 <xccdf:description>The firstboot service should be disabled.</xccdf:description>
7952 <xccdf:ident system="http://cce.mitre.org">CCE-3412-4</xccdf:ident>
7953 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7954 <xccdf:fix># chkconfig firstboot off</xccdf:fix>
7955 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7956 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20183"/>
7957 </xccdf:check>
7958 </xccdf:Rule>
7959 </xccdf:Group>
7960 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.2">
7961 <xccdf:title xml:lang="en">Console Mouse Service (gpm)</xccdf:title>
7962 <xccdf:description xml:lang="en">
7963 GPM is the service that controls the text console mouse pointer.
7964 (The X Windows mouse pointer is unaffected by this service.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7965 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7966 If mouse functionality in the console is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7967 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7968 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig gpm off <xhtml:br/></xhtml:code>
7969 Although it is
7970 preferable to run as few services as possible, the console mouse pointer can be useful for
7971 preventing administrator mistakes in runlevel 3 by enabling copy-and-paste operations.</xccdf:description>
7972 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.2.a" selected="false" severity="low" weight="10.0">
7973 <xccdf:title>Console Mouse Service (gpm)</xccdf:title>
7974 <xccdf:description>The gpm service should be disabled.</xccdf:description>
7975 <xccdf:ident system="http://cce.mitre.org">CCE-4229-1</xccdf:ident>
7976 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7977 <xccdf:fix># chkconfig gpm off</xccdf:fix>
7978 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7979 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20184"/>
7980 </xccdf:check>
7981 </xccdf:Rule>
7982 </xccdf:Group>
7983 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.3">
7984 <xccdf:title xml:lang="en">Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
7985 <xccdf:description xml:lang="en">
7986 The goal of the irqbalance service is to optimize the balance
7987 between power savings and performance through distribution of hardware interrupts across
7988 multiple processors. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7989 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7990 In a server environment with multiple processors, this provides a
7991 useful service and should be left enabled. If a machine has only one processor, the
7992 service may be disabled: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7994 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig irqbalance off</xhtml:code></xccdf:description>
7995 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.3.a" selected="false" severity="low" weight="10.0">
7996 <xccdf:title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
7997 <xccdf:description>The irqbalance service should be disabled.</xccdf:description>
7998 <xccdf:ident system="http://cce.mitre.org">CCE-4123-6</xccdf:ident>
7999 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8000 <xccdf:fix># chkconfig irqbalance off</xccdf:fix>
8001 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8002 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20185"/>
8003 </xccdf:check>
8004 </xccdf:Rule>
8005 </xccdf:Group>
8006 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.4">
8007 <xccdf:title xml:lang="en">ISDN Support (isdn)</xccdf:title>
8008 <xccdf:description xml:lang="en">
8009 The ISDN service facilitates Internet connectivity in the
8010 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"/>
8011 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8012 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig isdn off</xhtml:code></xccdf:description>
8013 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.4.a" selected="false" severity="low" weight="10.0">
8014 <xccdf:title>ISDN Support (isdn)</xccdf:title>
8015 <xccdf:description>The isdn service should be disabled.</xccdf:description>
8016 <xccdf:ident system="http://cce.mitre.org">CCE-4286-1</xccdf:ident>
8017 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8018 <xccdf:fix># chkconfig isdn off</xccdf:fix>
8019 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8020 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20186"/>
8021 </xccdf:check>
8022 </xccdf:Rule>
8023 </xccdf:Group>
8024 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.5">
8025 <xccdf:title xml:lang="en">Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8026 <xccdf:description xml:lang="en">
8027 Kdump is a new kernel crash dump analyzer. It uses kexec to boot
8028 a secondary kernel ('capture' kernel) following a system crash. The kernel dump from the
8029 system crash is loaded into the capture kernel for analysis. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8031 Unless the system is used for kernel development or testing, disable the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8033 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kdump off</xhtml:code></xccdf:description>
8034 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.5.a" selected="false" severity="low" weight="10.0">
8035 <xccdf:title>Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8036 <xccdf:description>The kdump service should be disabled.</xccdf:description>
8037 <xccdf:ident system="http://cce.mitre.org">CCE-3425-6</xccdf:ident>
8038 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8039 <xccdf:fix># chkconfig kdump off</xccdf:fix>
8040 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8041 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20187"/>
8042 </xccdf:check>
8043 </xccdf:Rule>
8044 </xccdf:Group>
8045 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.6">
8046 <xccdf:title xml:lang="en">Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8047 <xccdf:description xml:lang="en">
8048 Is there a mission-critical reason for console users to add new
8049 hardware to the system? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8050 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8051 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kudzu off <xhtml:br/></xhtml:code>
8052 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8053 Kudzu, Red Hat's hardware detection
8054 program, represents an unnecessary security risk as it allows unprivileged users to
8055 perform hardware configuration without authorization. Unless this specific functionality
8056 is required, Kudzu should be disabled.</xccdf:description>
8057 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.6.a" selected="false" severity="low" weight="10.0">
8058 <xccdf:title>Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8059 <xccdf:description>The kudzu service should be disabled.</xccdf:description>
8060 <xccdf:ident system="http://cce.mitre.org">CCE-4211-9</xccdf:ident>
8061 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8062 <xccdf:fix># chkconfig kudzu off</xccdf:fix>
8063 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8064 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20188"/>
8065 </xccdf:check>
8066 </xccdf:Rule>
8067 </xccdf:Group>
8068 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.7">
8069 <xccdf:title xml:lang="en">Software RAID Monitor (mdmonitor)</xccdf:title>
8070 <xccdf:description xml:lang="en">
8071 The mdmonitor service is used for monitoring a software RAID
8072 (hardware RAID setups do not use this service). This service is extraneous unless software
8073 RAID is in use (which is not common). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8074 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8075 If software RAID monitoring is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8076 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8077 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mdmonitor off</xhtml:code></xccdf:description>
8078 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.7.a" selected="false" severity="low" weight="10.0">
8079 <xccdf:title>Software RAID Monitor (mdmonitor)</xccdf:title>
8080 <xccdf:description>The mdmonitor service should be disabled.</xccdf:description>
8081 <xccdf:ident system="http://cce.mitre.org">CCE-3854-7</xccdf:ident>
8082 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8083 <xccdf:fix># chkconfig mdmonitor off</xccdf:fix>
8084 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8085 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20189"/>
8086 </xccdf:check>
8087 </xccdf:Rule>
8088 </xccdf:Group>
8089 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.8">
8090 <xccdf:title xml:lang="en">IA32 Microcode Utility(microcodectl)</xccdf:title>
8091 <xccdf:description xml:lang="en">
8092 microcode ctl is a microcode utility for use with Intel IA32
8093 processors (Pentium Pro, PII, Celeron, PIII, Xeon, Pentium 4, etc) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8095 If the system is not running an Intel IA32 processor, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8096 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8097 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig microcode ctl off</xhtml:code></xccdf:description>
8098 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.8.a" selected="false" severity="low" weight="10.0">
8099 <xccdf:title>IA32 Microcode Utility(microcodectl)</xccdf:title>
8100 <xccdf:description>The microcode_ctl service should be disabled.</xccdf:description>
8101 <xccdf:ident system="http://cce.mitre.org">CCE-4356-2</xccdf:ident>
8102 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8103 <xccdf:fix># chkconfig microcode ctl off</xccdf:fix>
8104 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8105 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20190"/>
8106 </xccdf:check>
8107 </xccdf:Rule>
8108 </xccdf:Group>
8109 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9">
8110 <xccdf:title xml:lang="en">Network Service (network)</xccdf:title>
8111 <xccdf:description xml:lang="en">
8112 The network service allows associated network interfaces to
8113 access the network. This section contains general guidance for controlling the operation
8114 of the service. For kernel parameters which affect networking, see Section</xccdf:description>
8115 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.1">
8116 <xccdf:title xml:lang="en">Disable All Networking if Not Needed</xccdf:title>
8117 <xccdf:description xml:lang="en">
8118 If the system is a standalone machine with no need for network
8119 access or even communication over the loopback device, then disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8120 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8121 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig network off</xhtml:code></xccdf:description>
8122 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false" severity="low" weight="10.0">
8123 <xccdf:title>Disable All Networking if Not Needed)</xccdf:title>
8124 <xccdf:description>The network service should be disabled.</xccdf:description>
8125 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8126 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8127 <xccdf:fix># chkconfig network off</xccdf:fix>
8128 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8129 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20191"/>
8130 </xccdf:check>
8131 </xccdf:Rule>
8132 </xccdf:Group>
8133 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.2">
8134 <xccdf:title xml:lang="en">Disable All External Network Interfaces if Not Needed</xccdf:title>
8135 <xccdf:description xml:lang="en">
8136 If the system does not require network communications but still
8137 needs to use the loopback interface, remove all files of the form ifcfg-interface except
8138 for ifcfg-lo from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8139 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8140 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
8141 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false" severity="medium" weight="10.0">
8142 <xccdf:title>Disable All External Network Interfaces if Not Needed</xccdf:title>
8143 <xccdf:description>All files of the form ifcfg-interface except for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</xccdf:description>
8144 <xccdf:fixtext>via /etc/sysconfig/network-scripts</xccdf:fixtext>
8145 <xccdf:fix># rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fix>
8146 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8147 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20192"/>
8148 </xccdf:check>
8149 </xccdf:Rule>
8150 </xccdf:Group>
8151 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.3">
8152 <xccdf:title xml:lang="en">Disable Zeroconf Networking</xccdf:title>
8153 <xccdf:description xml:lang="en">
8154 Zeroconf networking allows the system to assign itself an IP
8155 address and engage in IP communication without a statically-assigned address or even a
8156 DHCP server. Automatic address assignment via Zeroconf (or DHCP) is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8157 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8158 To disable Zeroconf automatic route assignment in the 169.245.0.0 subnet, add or correct
8159 the following line in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8160 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8161 NOZEROCONF=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8162 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8163 Zeroconf addresses are in
8164 the network 169.254.0.0. The networking scripts add entries to the system's routing
8165 table for these addresses. Zeroconf address assignment commonly occurs when the system
8166 is configured to use DHCP but fails to receive an address assignment from the DHCP
8167 server.</xccdf:description>
8168 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false" severity="medium" weight="10.0">
8169 <xccdf:title>Disable Zeroconf Networking</xccdf:title>
8170 <xccdf:description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</xccdf:description>
8171 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8172 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
8173 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8174 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20193"/>
8175 </xccdf:check>
8176 </xccdf:Rule>
8177 </xccdf:Group>
8178 </xccdf:Group>
8179 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.10">
8180 <xccdf:title xml:lang="en">Smart Card Support (pcscd)</xccdf:title>
8181 <xccdf:description xml:lang="en">
8182 The pcscd service provides support for Smart Cards and Smart Card
8183 Readers. If Smart Cards are not in use on the system, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8184 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8185 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig pcscd off</xhtml:code></xccdf:description>
8186 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.10.a" selected="false" severity="low" weight="10.0">
8187 <xccdf:title>Smart Card Support (pcscd)</xccdf:title>
8188 <xccdf:description>The pcscd service should be disabled.</xccdf:description>
8189 <xccdf:ident system="http://cce.mitre.org">CCE-4100-4</xccdf:ident>
8190 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8191 <xccdf:fix># chkconfig pcscd off</xccdf:fix>
8192 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8193 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20194"/>
8194 </xccdf:check>
8195 </xccdf:Rule>
8196 </xccdf:Group>
8197 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.11">
8198 <xccdf:title xml:lang="en">SMART Disk Monitoring Support (smartd)</xccdf:title>
8199 <xccdf:description xml:lang="en">
8200 SMART (Self-Monitoring, Analysis, and Reporting Technology) is a
8201 feature of hard drives that allows them to detect symptoms of disk failure and relay an
8202 appropriate warning. This technology is considered to bring relatively low security risk,
8203 and can be useful. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8205 Leave this service running if the system's hard drives are
8206 SMART-capable. Otherwise, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8208 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smartd off</xhtml:code></xccdf:description>
8209 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.11.a" selected="false" severity="low" weight="10.0">
8210 <xccdf:title>SMART Disk Monitoring Support (smartd)</xccdf:title>
8211 <xccdf:description>The smartd service should be disabled.</xccdf:description>
8212 <xccdf:ident system="http://cce.mitre.org">CCE-3455-3</xccdf:ident>
8213 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8214 <xccdf:fix># chkconfig smartd off</xccdf:fix>
8215 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8216 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20195"/>
8217 </xccdf:check>
8218 </xccdf:Rule>
8219 </xccdf:Group>
8220 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.12">
8221 <xccdf:title xml:lang="en">Boot Caching (readahead early/readahead later)</xccdf:title>
8222 <xccdf:description xml:lang="en">
8223 The following services provide one-time caching of files
8224 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"/>
8225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8226 It is recommended that this service be disabled on most machines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8227 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8228 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig readahead_early off <xhtml:br/>
8229 # chkconfig readahead_later off <xhtml:br/></xhtml:code>
8230 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8231 The readahead services do not substantially increase a
8232 system's risk exposure, but they also do not provide great benefit. Unless the system is
8233 running a specialized application for which the file caching substantially improves system
8234 boot time, this guide recommends disabling the services.</xccdf:description>
8235 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.a" selected="false" severity="low" weight="10.0">
8236 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8237 <xccdf:description>The readahead_early service should be disabled.</xccdf:description>
8238 <xccdf:ident system="http://cce.mitre.org">CCE-4421-4</xccdf:ident>
8239 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8240 <xccdf:fix># chkconfig readahead early off</xccdf:fix>
8241 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8242 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20196"/>
8243 </xccdf:check>
8244 </xccdf:Rule>
8245 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.b" selected="false" severity="low" weight="10.0">
8246 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8247 <xccdf:description>The readahead_later service should be disabled.</xccdf:description>
8248 <xccdf:ident system="http://cce.mitre.org">CCE-4302-6</xccdf:ident>
8249 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8250 <xccdf:fix># chkconfig readahead later off</xccdf:fix>
8251 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8252 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20197"/>
8253 </xccdf:check>
8254 </xccdf:Rule>
8255 </xccdf:Group>
8256 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13">
8257 <xccdf:title xml:lang="en">Application Support Services</xccdf:title>
8258 <xccdf:description xml:lang="en">
8259 The following services are software projects of freedesktop.org
8260 that are meant to provide system integration through a series of common APIs for
8261 applications. They are heavily integrated into the X Windows environment. If the system is
8262 not using X Windows, these services can typically be disabled.</xccdf:description>
8263 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.1">
8264 <xccdf:title xml:lang="en">D-Bus IPC Service (messagebus)</xccdf:title>
8265 <xccdf:description xml:lang="en">
8266 D-Bus is an IPC mechanism that provides a common channel for
8267 inter-process communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8268 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8269 If no services which require D-Bus are in use, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8270 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8271 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig messagebus off <xhtml:br/></xhtml:code>
8272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8273 A number of default services make use of D-Bus,
8274 including X Windows (Section 3.6), Bluetooth (Section 3.3.14) and Avahi (Section 3.7).
8275 This guide recommends that D-Bus and all its dependencies be disabled unless there is a
8276 mission-critical need for them. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8277 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8278 Stricter configuration of D-Bus is possible and
8279 documented in the man page dbus-daemon(1). D-Bus maintains two separate configuration
8280 files, located in /etc/dbus-1/, one for system-specific configuration and the other for
8281 session-specific configuration.</xccdf:description>
8282 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false" severity="low" weight="10.0">
8283 <xccdf:title>D-Bus IPC Service (messagebus)</xccdf:title>
8284 <xccdf:description>The messagebus service should be disabled.</xccdf:description>
8285 <xccdf:ident system="http://cce.mitre.org">CCE-3822-4</xccdf:ident>
8286 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8287 <xccdf:fix># chkconfig messagebus off</xccdf:fix>
8288 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8289 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20198"/>
8290 </xccdf:check>
8291 </xccdf:Rule>
8292 </xccdf:Group>
8293 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2">
8294 <xccdf:title xml:lang="en">HAL Daemon (haldaemon)</xccdf:title>
8295 <xccdf:description xml:lang="en">
8296 The haldaemon service provides a dynamic way of managing device
8297 interfaces. It automates device configuration and provides an API for making devices
8298 accessible to applications through the D-Bus interface.</xccdf:description>
8299 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false" severity="low" weight="10.0">
8300 <xccdf:title>HAL Daemon (haldaemon)</xccdf:title>
8301 <xccdf:description>The haldaemon service should be disabled.</xccdf:description>
8302 <xccdf:ident system="http://cce.mitre.org">CCE-4364-6</xccdf:ident>
8303 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8304 <xccdf:fix># chkconfig haldaemon off</xccdf:fix>
8305 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8306 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20199"/>
8307 </xccdf:check>
8308 </xccdf:Rule>
8309 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.1">
8310 <xccdf:title xml:lang="en">Disable HAL Daemon if Possible</xccdf:title>
8311 <xccdf:description xml:lang="en">
8312 HAL provides valuable attack surfaces to attackers as an
8313 intermediary to privileged operations and should be disabled unless necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8314 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8315 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig haldaemon off</xhtml:code></xccdf:description>
8316 </xccdf:Group>
8317 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.2">
8318 <xccdf:title xml:lang="en">Configure HAL Daemon if Necessary</xccdf:title>
8319 <xccdf:description xml:lang="en">
8320 HAL provides a limited user the ability to mount system
8321 devices. This is primarily used by X utilities such as gnome-volume-manager to perform
8322 automounting of removable media.
8323 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8324 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8325 HAL configuration is currently
8326 only possible through a series of fdi files located in
8327 /usr/share/hal/fdi/
8328 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8329 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8330 Note: The HAL future road map includes a
8331 mandatory framework for managing administrative privileges called
8332 PolicyKit.
8333 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8334 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8335 To prevent users from accessing devices through HAL,
8336 create the
8337 file
8338 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8339 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8340 /etc/hal/fdi/policy/99-policy-all-drives.fdi
8341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8342 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8343 with the contents: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8344 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8345 &lt;?xml version="1.0"
8346 encoding="UTF-8"?&gt;&lt;deviceinfo
8347 version="0.2"&gt;&lt;device&gt;&lt;match key="info.capabilities"
8348 contains="volume"&gt;&lt;merge key="volume.ignore"
8349 type="bool"&gt;true&lt;/merge&gt;&lt;/match&gt;&lt;/device&gt;&lt;/deviceinfo&gt;
8350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8352 The
8353 above code matches any device labeled with the volume capability (any device capable
8354 of being mounted will be labeled this way) and sets the corresponding volume.ignore
8355 key to true, indicating that the volume should be ignored. This both makes the volume
8356 invisible to the UI, and denies mount attempts by unprivileged users.
8357 </xccdf:description>
8358 </xccdf:Group>
8359 </xccdf:Group>
8360 </xccdf:Group>
8361 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14">
8362 <xccdf:title xml:lang="en">Bluetooth Support</xccdf:title>
8363 <xccdf:description xml:lang="en">
8364 Bluetooth provides a way to transfer information between devices
8365 such as mobile phones, laptops, PCs, printers, digital cameras, and video game consoles
8366 over a short-range wireless link. Any wireless communication presents a serious security
8367 risk to sensitive or classified systems. Section 2.5.2 contains information on the related
8368 topic of wireless networking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8369 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8370 Removal of hardware is the only way to ensure that the
8371 Bluetooth wireless capability remains disabled. If it is completely impractical to remove
8372 the Bluetooth hardware module, and site policy still allows the device to enter sensitive
8373 spaces, every effort to disable the capability via software should be made. In general,
8374 acquisition policy should include provisions to prevent the purchase of equipment that
8375 will be used in sensitive spaces and includes Bluetooth capabilities.</xccdf:description>
8376 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.1">
8377 <xccdf:title xml:lang="en">Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8378 <xccdf:description xml:lang="en">
8379 The bluetooth service enables the system to use Bluetooth
8380 devices. If the system requires no Bluetooth devices, disable this service:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8381 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig bluetooth off</xhtml:code></xccdf:description>
8382 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false" severity="medium" weight="10.0">
8383 <xccdf:title>Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8384 <xccdf:description>The bluetooth service should be disabled.</xccdf:description>
8385 <xccdf:ident system="http://cce.mitre.org">CCE-4355-4</xccdf:ident>
8386 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8387 <xccdf:fix># chkconfig bluetooth off</xccdf:fix>
8388 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8389 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20200"/>
8390 </xccdf:check>
8391 </xccdf:Rule>
8392 </xccdf:Group>
8393 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.2">
8394 <xccdf:title xml:lang="en">Bluetooth Input Devices (hidd)</xccdf:title>
8395 <xccdf:description xml:lang="en">
8396 The hidd service provides support for Bluetooth input devices.
8397 If the system has no Bluetooth input devices (e.g. keyboard or mouse), disable this
8398 service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8399 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8400 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hidd off</xhtml:code></xccdf:description>
8401 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false" severity="low" weight="10.0">
8402 <xccdf:title>Bluetooth Input Devices (hidd)</xccdf:title>
8403 <xccdf:description>The hidd service should be disabled.</xccdf:description>
8404 <xccdf:ident system="http://cce.mitre.org">CCE-4377-8</xccdf:ident>
8405 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8406 <xccdf:fix># chkconfig hidd off</xccdf:fix>
8407 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8408 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20201"/>
8409 </xccdf:check>
8410 </xccdf:Rule>
8411 </xccdf:Group>
8412 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.3">
8413 <xccdf:title xml:lang="en">Disable Bluetooth Kernel Modules</xccdf:title>
8414 <xccdf:description xml:lang="en">
8415 The kernel's module loading system can be configured to prevent
8416 loading of the Bluetooth module. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8417 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8418 Add the following to /etc/modprobe.conf to prevent the
8419 loading of the Bluetooth module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8420 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8421 alias net-pf-31 off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8423 The unexpected name, net-pf-31, is
8424 a result of how the kernel requests modules for network protocol families; it is an
8425 alias for the bluetooth module.</xccdf:description>
8426 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false" severity="medium" weight="10.0">
8427 <xccdf:title>Disable Bluetooth Kernel Modules</xccdf:title>
8428 <xccdf:description>Prevent loading of the Bluetooth module.</xccdf:description>
8429 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
8430 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8431 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202015"/>
8432 </xccdf:check>
8433 </xccdf:Rule>
8434 </xccdf:Group>
8435 </xccdf:Group>
8436 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15">
8437 <xccdf:title xml:lang="en">Power Management Support</xccdf:title>
8438 <xccdf:description xml:lang="en">
8439 The following services provide an interface to power management
8440 functions. These functions include monitoring battery power, system hibernate/suspend, CPU
8441 throttling, and various power-save utilities.</xccdf:description>
8442 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.1">
8443 <xccdf:title xml:lang="en">Advanced Power Management Subsystem (apmd)</xccdf:title>
8444 <xccdf:description xml:lang="en">
8445 The apmd service provides last generation power management
8446 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8447 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8448 If the system is capable of ACPI support, or if power management is not
8449 necessary, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8450 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8451 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig apmd off <xhtml:br/></xhtml:code>
8452 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8453 APM is being replaced by ACPI and
8454 should be considered deprecated. As such, it can be disabled if ACPI is supported by
8455 your hardware and kernel. If the file /proc/acpi/info exists and contains ACPI version
8456 information, then APM can safely be disabled without loss of functionality.</xccdf:description>
8457 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false" severity="low" weight="10.0">
8458 <xccdf:title>Advanced Power Management Subsystem (apmd)</xccdf:title>
8459 <xccdf:description>The apmd service should be disabled.</xccdf:description>
8460 <xccdf:ident system="http://cce.mitre.org">CCE-4289-5</xccdf:ident>
8461 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8462 <xccdf:fix># chkconfig apmd off</xccdf:fix>
8463 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8464 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20202"/>
8465 </xccdf:check>
8466 </xccdf:Rule>
8467 </xccdf:Group>
8468 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.2">
8469 <xccdf:title xml:lang="en">Advanced Configuration and Power Interface (acpid)</xccdf:title>
8470 <xccdf:description xml:lang="en">
8471 The acpid service provides next generation power management
8472 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8473 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8474 Unless power management features are not necessary, leave this service enabled.</xccdf:description>
8475 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false" severity="low" weight="10.0">
8476 <xccdf:title>Advanced Configuration and Power Interface (acpid)</xccdf:title>
8477 <xccdf:description>The acpid service should be disabled.</xccdf:description>
8478 <xccdf:ident system="http://cce.mitre.org">CCE-4298-6</xccdf:ident>
8479 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8480 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8481 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20203"/>
8482 </xccdf:check>
8483 </xccdf:Rule>
8484 </xccdf:Group>
8485 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.3">
8486 <xccdf:title xml:lang="en">CPU Throttling (cpuspeed)</xccdf:title>
8487 <xccdf:description xml:lang="en">
8488 The cpuspeed service uses hardware support to throttle the CPU
8489 when the system is idle. Unless CPU power optimization is unnecessary, leave this
8490 service enabled.</xccdf:description>
8491 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false" severity="low" weight="10.0">
8492 <xccdf:title>CPU Throttling (cpuspeed)</xccdf:title>
8493 <xccdf:description>The cpuspeed service should be disabled.</xccdf:description>
8494 <xccdf:ident system="http://cce.mitre.org">CCE-4051-9</xccdf:ident>
8495 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8496 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8497 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20204"/>
8498 </xccdf:check>
8499 </xccdf:Rule>
8500 </xccdf:Group>
8501 </xccdf:Group>
8502 </xccdf:Group>
8503 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4">
8504 <xccdf:title xml:lang="en">Cron and At Daemons</xccdf:title>
8505 <xccdf:description xml:lang="en">
8506 The cron and at services are used to allow commands to be executed
8507 at a later time. The cron service is required by almost all systems to perform necessary
8508 maintenance tasks, while at may or may not be required on a given system. Both daemons
8509 should be configured defensively.</xccdf:description>
8510 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.a" selected="false" severity="high" weight="10.0">
8511 <xccdf:title>Enable cron Daemon</xccdf:title>
8512 <xccdf:description>The crond service should be enabled.</xccdf:description>
8513 <xccdf:ident system="http://cce.mitre.org">CCE-4324-0</xccdf:ident>
8514 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8515 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8516 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20205"/>
8517 </xccdf:check>
8518 </xccdf:Rule>
8519 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.1">
8520 <xccdf:title xml:lang="en">Disable anacron if Possible</xccdf:title>
8521 <xccdf:description xml:lang="en">
8522 Is this a machine which is designed to run all the time, such as
8523 a server or a workstation which is left on at night? If so: <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"># yum erase anacron<xhtml:br/></xhtml:code>
8526 The
8527 anacron subsystem is designed to provide cron functionality for machines which may be shut
8528 down during the normal times that system cron jobs run, frequently in the middle of the
8529 night. Laptops and workstations which are shut down at night should keep anacron enabled,
8530 so that standard system cron jobs will run when the machine boots. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8532 However, on machines
8533 which do not need this additional functionality, anacron represents another piece of
8534 privileged software which could contain vulnerabilities. Therefore, it should be removed
8535 when possible to reduce system risk.</xccdf:description>
8536 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.a" selected="false" severity="low" weight="10.0">
8537 <xccdf:title>Disable anacron if Possible</xccdf:title>
8538 <xccdf:description>The anacron service should be disabled.</xccdf:description>
8539 <xccdf:ident system="http://cce.mitre.org">CCE-4406-5</xccdf:ident>
8540 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8541 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8542 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20206"/>
8543 </xccdf:check>
8544 </xccdf:Rule>
8545 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.b" selected="false" weight="10.0">
8546 <xccdf:title>Uninstall anacron if Possible</xccdf:title>
8547 <xccdf:description>The anacron package should be uninstalled.</xccdf:description>
8548 <xccdf:ident system="http://cce.mitre.org">CCE-4428-9</xccdf:ident>
8549 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8550 <xccdf:fix># yum erase anacron</xccdf:fix>
8551 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8552 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20207"/>
8553 </xccdf:check>
8554 </xccdf:Rule>
8555 </xccdf:Group>
8556 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.2">
8557 <xccdf:title xml:lang="en">Restrict Permissions on Files Used by cron</xccdf:title>
8558 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Restrict the permissions on the primary system crontab file: <xhtml:br/>
8559 <xhtml:br/>
8560 <xhtml:code># chown root:root /etc/crontab <xhtml:br/>
8561 # chmod 600 /etc/crontab</xhtml:code></xhtml:li><xhtml:li>If anacron has not been removed,
8562 restrict the permissions on its primary configuration file: <xhtml:br/>
8563 <xhtml:br/>
8564 <xhtml:code># chown root:root /etc/anacrontab <xhtml:br/>
8565 # chmod 600 /etc/anacrontab </xhtml:code></xhtml:li><xhtml:li>Restrict the permission on all system
8566 crontab directories: <xhtml:br/>
8567 <xhtml:br/>
8568 <xhtml:code># cd /etc <xhtml:br/>
8569 # chown -R root:root cron.hourly cron.daily cron.weekly cron.monthly cron.d <xhtml:br/>
8570 # chmod -R go-rwx cron.hourly cron.daily cron.weekly cron.monthly cron.d </xhtml:code></xhtml:li><xhtml:li>Restrict the permissions on the spool directory for user crontab files: <xhtml:br/>
8571 <xhtml:br/>
8572 <xhtml:code># chown root:root /var/spool/cron <xhtml:br/>
8573 # chmod -R go-rwx /var/spool/cron </xhtml:code></xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8574 Cron and anacron make use of a
8575 number of configuration files and directories. The system crontabs need only be edited by
8576 root, and user crontabs are edited using the setuid root crontab command. If unprivileged
8577 users can modify system cron configuration files, they may be able to gain elevated
8578 privileges, so all unnecessary access to these files should be disabled.</xccdf:description>
8579 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" operator="equals" type="string">
8580 <xccdf:title>group owner of /etc/crontab</xccdf:title>
8581 <xccdf:description xml:lang="en">Specify group owner of /etc/crontab.</xccdf:description>
8582 <xccdf:question xml:lang="en">Specify group owner of /etc/crontab</xccdf:question>
8583 <xccdf:value>root</xccdf:value>
8584 <xccdf:value selector="root">root</xccdf:value>
8585 </xccdf:Value>
8586 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" operator="equals" type="string">
8587 <xccdf:title>user owner of /etc/crontab</xccdf:title>
8588 <xccdf:description xml:lang="en">Specify user owner of /etc/crontab.</xccdf:description>
8589 <xccdf:question xml:lang="en">Specify user owner of /etc/crontab</xccdf:question>
8590 <xccdf:value>root</xccdf:value>
8591 <xccdf:value selector="root">root</xccdf:value>
8592 </xccdf:Value>
8593 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" operator="equals" type="string">
8594 <xccdf:title>permissions on /etc/crontab file</xccdf:title>
8595 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
8596 <xccdf:question xml:lang="en">Specify permissions of /etc/crontab</xccdf:question>
8597 <xccdf:value>110100100</xccdf:value>
8598 <xccdf:value selector="644">110100100</xccdf:value>
8599 <xccdf:value selector="400">100000000</xccdf:value>
8600 <xccdf:value selector="600">110000000</xccdf:value>
8601 <xccdf:value selector="700">111000000</xccdf:value>
8602 </xccdf:Value>
8603 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" operator="equals" type="string">
8604 <xccdf:title>group owner of /etc/anacrontab</xccdf:title>
8605 <xccdf:description xml:lang="en">Specify group owner of /etc/ancrontab.</xccdf:description>
8606 <xccdf:question xml:lang="en">Specify group owner of /etc/anacrontab</xccdf:question>
8607 <xccdf:value>root</xccdf:value>
8608 <xccdf:value selector="root">root</xccdf:value>
8609 </xccdf:Value>
8610 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" operator="equals" type="string">
8611 <xccdf:title>user owner of /etc/anacrontab</xccdf:title>
8612 <xccdf:description xml:lang="en">Specify user owner of /etc/anacrontab.</xccdf:description>
8613 <xccdf:question xml:lang="en">Specify user owner of /etc/anacrontab</xccdf:question>
8614 <xccdf:value>root</xccdf:value>
8615 <xccdf:value selector="root">root</xccdf:value>
8616 </xccdf:Value>
8617 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" operator="equals" type="string">
8618 <xccdf:title>permissions on /etc/anacrontab file</xccdf:title>
8619 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
8620 <xccdf:question xml:lang="en">Specify permissions of /etc/anacrontab</xccdf:question>
8621 <xccdf:value>110100100</xccdf:value>
8622 <xccdf:value selector="644">110100100</xccdf:value>
8623 <xccdf:value selector="400">100000000</xccdf:value>
8624 <xccdf:value selector="600">110000000</xccdf:value>
8625 <xccdf:value selector="700">111000000</xccdf:value>
8626 </xccdf:Value>
8627 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" operator="equals" type="string">
8628 <xccdf:title>group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
8629 <xccdf:description xml:lang="en">Specify group owner of /etc/cron.* files and directories.</xccdf:description>
8630 <xccdf:question xml:lang="en">Specify group owner of /etc/cron.* files and directories</xccdf:question>
8631 <xccdf:value>root</xccdf:value>
8632 <xccdf:value selector="root">root</xccdf:value>
8633 </xccdf:Value>
8634 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" operator="equals" type="string">
8635 <xccdf:title>user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
8636 <xccdf:description xml:lang="en">Specify user owner of /etc/cron.* files and directories.</xccdf:description>
8637 <xccdf:question xml:lang="en">Specify user owner of /etc/cron.* files and directories</xccdf:question>
8638 <xccdf:value>root</xccdf:value>
8639 <xccdf:value selector="root">root</xccdf:value>
8640 </xccdf:Value>
8641 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" operator="equals" type="string">
8642 <xccdf:title>permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
8643 <xccdf:description xml:lang="en">Specify file and directory permissions on /etc/cron.*.</xccdf:description>
8644 <xccdf:question xml:lang="en">Specify permissions of /etc/cron.* files and directories</xccdf:question>
8645 <xccdf:value>111101101</xccdf:value>
8646 <xccdf:value selector="755">111101101</xccdf:value>
8647 <xccdf:value selector="400">100000000</xccdf:value>
8648 <xccdf:value selector="600">110000000</xccdf:value>
8649 <xccdf:value selector="700">111000000</xccdf:value>
8650 </xccdf:Value>
8651 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.group" operator="equals" type="string">
8652 <xccdf:title>group owner of /var/spool/cron</xccdf:title>
8653 <xccdf:description xml:lang="en">Specify group owner of /var/spool/cron.</xccdf:description>
8654 <xccdf:question xml:lang="en">Specify group owner of /var/spool/cron</xccdf:question>
8655 <xccdf:value>root</xccdf:value>
8656 <xccdf:value selector="root">root</xccdf:value>
8657 </xccdf:Value>
8658 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.user" operator="equals" type="string">
8659 <xccdf:title>user owner of /var/spool/cron</xccdf:title>
8660 <xccdf:description xml:lang="en">Specify user owner of /var/spool/cron.</xccdf:description>
8661 <xccdf:value>root</xccdf:value>
8662 <xccdf:value selector="root">root</xccdf:value>
8663 </xccdf:Value>
8664 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" operator="equals" type="string">
8665 <xccdf:title>permissions on /var/spool/cron file</xccdf:title>
8666 <xccdf:description xml:lang="en">Specify file permissions on /var/spool/cron.</xccdf:description>
8667 <xccdf:question xml:lang="en">Specify file permissions of /var/spool/cron</xccdf:question>
8668 <xccdf:value>111000000</xccdf:value>
8669 <xccdf:value selector="400">100000000</xccdf:value>
8670 <xccdf:value selector="600">110000000</xccdf:value>
8671 <xccdf:value selector="700">111000000</xccdf:value>
8672 </xccdf:Value>
8673 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.a" selected="false" severity="medium" weight="10.0">
8674 <xccdf:title>Set group owner on /etc/crontab</xccdf:title>
8675 <xccdf:description>The /etc/crontab file should be owned by the appropriate group.</xccdf:description>
8676 <xccdf:ident system="http://cce.mitre.org">CCE-3626-9</xccdf:ident>
8677 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8678 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8679 <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"/>
8680 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20208"/>
8681 </xccdf:check>
8682 </xccdf:Rule>
8683 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.b" selected="false" severity="medium" weight="10.0">
8684 <xccdf:title>Set user owner on /etc/crontab</xccdf:title>
8685 <xccdf:description>The /etc/crontab file should be owned by the appropriate user.</xccdf:description>
8686 <xccdf:ident system="http://cce.mitre.org">CCE-3851-3</xccdf:ident>
8687 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8688 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8689 <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"/>
8690 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20209"/>
8691 </xccdf:check>
8692 </xccdf:Rule>
8693 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.c" selected="false" severity="medium" weight="10.0">
8694 <xccdf:title>Set Permissions on /etc/crontab</xccdf:title>
8695 <xccdf:title>Restrict Permissions on Files Used by cron</xccdf:title>
8696 <xccdf:description>File permissions for /etc/crontab should be set correctly.</xccdf:description>
8697 <xccdf:ident system="http://cce.mitre.org">CCE-4388-5</xccdf:ident>
8698 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8699 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8700 <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"/>
8701 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20210"/>
8702 </xccdf:check>
8703 </xccdf:Rule>
8704 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.a" selected="false" severity="medium" weight="10.0">
8705 <xccdf:title>Set group owner on /etc/anacrontab</xccdf:title>
8706 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate group.</xccdf:description>
8707 <xccdf:ident system="http://cce.mitre.org">CCE-3604-6</xccdf:ident>
8708 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8709 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8710 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20211" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group"/>
8711 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20211"/>
8712 </xccdf:check>
8713 </xccdf:Rule>
8714 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.b" selected="false" severity="medium" weight="10.0">
8715 <xccdf:title>Set user owner on /etc/anacrontab</xccdf:title>
8716 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate user.</xccdf:description>
8717 <xccdf:ident system="http://cce.mitre.org">CCE-4379-4</xccdf:ident>
8718 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8719 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8720 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20212" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user"/>
8721 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20212"/>
8722 </xccdf:check>
8723 </xccdf:Rule>
8724 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.c" selected="false" severity="medium" weight="10.0">
8725 <xccdf:title>Set Permissions on /etc/anacrontab</xccdf:title>
8726 <xccdf:description>File permissions for /etc/anacrontab should be set correctly.</xccdf:description>
8727 <xccdf:ident system="http://cce.mitre.org">CCE-4304-2</xccdf:ident>
8728 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8729 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8730 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20213" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions"/>
8731 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20213"/>
8732 </xccdf:check>
8733 </xccdf:Rule>
8734 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.a" selected="false" severity="medium" weight="10.0">
8735 <xccdf:title>Set group owner on /etc/cron.hourly</xccdf:title>
8736 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate group.</xccdf:description>
8737 <xccdf:ident system="http://cce.mitre.org">CCE-4054-3</xccdf:ident>
8738 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8739 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8740 <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"/>
8741 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20214"/>
8742 </xccdf:check>
8743 </xccdf:Rule>
8744 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.b" selected="false" severity="medium" weight="10.0">
8745 <xccdf:title>Set group owner on /etc/cron.daily</xccdf:title>
8746 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate group.</xccdf:description>
8747 <xccdf:ident system="http://cce.mitre.org">CCE-3481-9</xccdf:ident>
8748 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8749 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8750 <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"/>
8751 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20215"/>
8752 </xccdf:check>
8753 </xccdf:Rule>
8754 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.c" selected="false" severity="medium" weight="10.0">
8755 <xccdf:title>Set group owner on /etc/cron.weekly</xccdf:title>
8756 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate group.</xccdf:description>
8757 <xccdf:ident system="http://cce.mitre.org">CCE-4331-5</xccdf:ident>
8758 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8759 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8760 <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"/>
8761 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20216"/>
8762 </xccdf:check>
8763 </xccdf:Rule>
8764 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.d" selected="false" severity="medium" weight="10.0">
8765 <xccdf:title>Set group owner on /etc/cron.monthly</xccdf:title>
8766 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate group.</xccdf:description>
8767 <xccdf:ident system="http://cce.mitre.org">CCE-4322-4</xccdf:ident>
8768 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8769 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8770 <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"/>
8771 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20217"/>
8772 </xccdf:check>
8773 </xccdf:Rule>
8774 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.e" selected="false" severity="medium" weight="10.0">
8775 <xccdf:title>Set group owner on /etc/cron.d</xccdf:title>
8776 <xccdf:description>The /etc/cron.d file should be owned by the appropriate group.</xccdf:description>
8777 <xccdf:ident system="http://cce.mitre.org">CCE-4212-7</xccdf:ident>
8778 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8779 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8780 <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"/>
8781 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20218"/>
8782 </xccdf:check>
8783 </xccdf:Rule>
8784 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.f" selected="false" severity="medium" weight="10.0">
8785 <xccdf:title>Set user owner on /etc/cron.hourly</xccdf:title>
8786 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate user.</xccdf:description>
8787 <xccdf:ident system="http://cce.mitre.org">CCE-3983-4</xccdf:ident>
8788 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8789 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8790 <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"/>
8791 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20219"/>
8792 </xccdf:check>
8793 </xccdf:Rule>
8794 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.g" selected="false" severity="medium" weight="10.0">
8795 <xccdf:title>Set user owner on /etc/cron.daily</xccdf:title>
8796 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate user.</xccdf:description>
8797 <xccdf:ident system="http://cce.mitre.org">CCE-4022-0</xccdf:ident>
8798 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8799 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8800 <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"/>
8801 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20220"/>
8802 </xccdf:check>
8803 </xccdf:Rule>
8804 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.h" selected="false" severity="medium" weight="10.0">
8805 <xccdf:title>Set user owner on /etc/cron.weekly</xccdf:title>
8806 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate user.</xccdf:description>
8807 <xccdf:ident system="http://cce.mitre.org">CCE-3833-1</xccdf:ident>
8808 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8809 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8810 <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"/>
8811 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20221"/>
8812 </xccdf:check>
8813 </xccdf:Rule>
8814 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.i" selected="false" severity="medium" weight="10.0">
8815 <xccdf:title>Set user owner on /etc/cron.monthly</xccdf:title>
8816 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate user.</xccdf:description>
8817 <xccdf:ident system="http://cce.mitre.org">CCE-4441-2</xccdf:ident>
8818 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8819 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8820 <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"/>
8821 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20222"/>
8822 </xccdf:check>
8823 </xccdf:Rule>
8824 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.j" selected="false" severity="medium" weight="10.0">
8825 <xccdf:title>Set user owner on /etc/cron.d</xccdf:title>
8826 <xccdf:description>The /etc/cron.d file should be owned by the appropriate user.</xccdf:description>
8827 <xccdf:ident system="http://cce.mitre.org">CCE-4380-2</xccdf:ident>
8828 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8829 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8830 <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"/>
8831 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20223"/>
8832 </xccdf:check>
8833 </xccdf:Rule>
8834 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.k" selected="false" severity="medium" weight="10.0">
8835 <xccdf:title>Set permissions on /etc/cron.hourly</xccdf:title>
8836 <xccdf:description>File permissions for /etc/cron.hourly should be set correctly.</xccdf:description>
8837 <xccdf:ident system="http://cce.mitre.org">CCE-4106-1</xccdf:ident>
8838 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8839 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8840 <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"/>
8841 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20224"/>
8842 </xccdf:check>
8843 </xccdf:Rule>
8844 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.l" selected="false" severity="medium" weight="10.0">
8845 <xccdf:title>Set permissions on /etc/cron.daily</xccdf:title>
8846 <xccdf:description>File permissions for /etc/cron.daily should be set correctly.</xccdf:description>
8847 <xccdf:ident system="http://cce.mitre.org">CCE-4450-3</xccdf:ident>
8848 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8849 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8850 <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"/>
8851 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20225"/>
8852 </xccdf:check>
8853 </xccdf:Rule>
8854 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.m" selected="false" severity="medium" weight="10.0">
8855 <xccdf:title>Set permissions on /etc/cron.weekly</xccdf:title>
8856 <xccdf:description>File permissions for /etc/cron.weekly should be set correctly.</xccdf:description>
8857 <xccdf:ident system="http://cce.mitre.org">CCE-4203-6</xccdf:ident>
8858 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8859 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8860 <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"/>
8861 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20226"/>
8862 </xccdf:check>
8863 </xccdf:Rule>
8864 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.n" selected="false" severity="medium" weight="10.0">
8865 <xccdf:title>Set permissions on /etc/cron.monthly</xccdf:title>
8866 <xccdf:description>File permissions for /etc/cron.monthly should be set correctly.</xccdf:description>
8867 <xccdf:ident system="http://cce.mitre.org">CCE-4251-5</xccdf:ident>
8868 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8869 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8870 <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"/>
8871 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20227"/>
8872 </xccdf:check>
8873 </xccdf:Rule>
8874 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.o" selected="false" severity="medium" weight="10.0">
8875 <xccdf:title>Set permissions on /etc/cron.d</xccdf:title>
8876 <xccdf:description>File permissions for /etc/cron.d should be set correctly.</xccdf:description>
8877 <xccdf:ident system="http://cce.mitre.org">CCE-4250-7</xccdf:ident>
8878 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8879 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8880 <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"/>
8881 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20228"/>
8882 </xccdf:check>
8883 </xccdf:Rule>
8884 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.a" selected="false" severity="medium" weight="10.0">
8885 <xccdf:title>Restrict group owner on /var/spool/cron directory</xccdf:title>
8886 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate group.</xccdf:description>
8887 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8888 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8889 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20229" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.group"/>
8890 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20229"/>
8891 <!-- TBD -->
8892 </xccdf:check>
8893 </xccdf:Rule>
8894 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.b" selected="false" severity="medium" weight="10.0">
8895 <xccdf:title>Restrict user owner on /var/spool/cron directory</xccdf:title>
8896 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate user.</xccdf:description>
8897 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8898 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8899 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20230" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.user"/>
8900 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20230"/>
8901 <!-- TBD -->
8902 </xccdf:check>
8903 </xccdf:Rule>
8904 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.c" selected="false" severity="medium" weight="10.0">
8905 <xccdf:title>Restrict Permissions on /var/spool/cron directory</xccdf:title>
8906 <xccdf:description>Directory permissions for /var/spool/cron should be set correctly.</xccdf:description>
8907 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8908 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8909 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20231" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions"/>
8910 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20231"/>
8911 <!-- TBD -->
8912 </xccdf:check>
8913 </xccdf:Rule>
8914 </xccdf:Group>
8915 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.3">
8916 <xccdf:title xml:lang="en">Disable at if Possible</xccdf:title>
8917 <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"/>
8918 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8919 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig atd off<xhtml:br/></xhtml:code>
8920 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8921 Many of the periodic or delayed execution features of the at daemon can be provided through the cron daemon
8922 instead.
8923 </xccdf:description>
8924 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.a" selected="false" severity="low" weight="10.0">
8925 <xccdf:title>Disable at Daemon</xccdf:title>
8926 <xccdf:description>The atd service should be disabled.</xccdf:description>
8927 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8928 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8929 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202052"/>
8930 </xccdf:check>
8931 </xccdf:Rule>
8932 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.b" selected="false" weight="10.0">
8933 <xccdf:title>uninstall at Daemon</xccdf:title>
8934 <xccdf:description>The at package should be removed.</xccdf:description>
8935 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8936 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8937 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202053"/>
8938 </xccdf:check>
8939 </xccdf:Rule>
8940 </xccdf:Group>
8941 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.4">
8942 <xccdf:title xml:lang="en">Restrict at and cron to Authorized Users</xccdf:title>
8943 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Remove the cron.deny file: <xhtml:br/>
8944 <xhtml:br/>
8945 <xhtml:code># rm /etc/cron.deny</xhtml:code></xhtml:li><xhtml:li>Edit /etc/cron.allow, adding one line for each user allowed to use the crontab command to
8946 create cron jobs. </xhtml:li><xhtml:li>Remove the at.deny file: <xhtml:br/>
8947 <xhtml:br/>
8948 <xhtml:code># rm /etc/at.deny </xhtml:code></xhtml:li><xhtml:li>Edit /etc/at.allow, adding one line for each user allowed to use the at command to create at jobs. </xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8949 The
8950 /etc/cron.allow and /etc/at.allow files contain lists of users who are allowed to use cron
8951 and at to delay execution of processes. If these files exist and if the corresponding
8952 files /etc/cron.deny and /etc/at.deny do not exist, then only users listed in the relevant
8953 allow files can run the crontab and at commands to submit jobs to be run at scheduled
8954 intervals. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8955 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8956 On many systems, only the system administrator needs the ability to schedule
8957 jobs. Note that even if a given user is not listed in cron.allow, cron jobs can still be
8958 run as that user. The cron.allow file controls only administrative access to the crontab
8959 command for scheduling and modifying cron jobs.</xccdf:description>
8960 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.a" selected="false" severity="medium" weight="10.0">
8961 <xccdf:title>Remove /etc/cron.deny</xccdf:title>
8962 <xccdf:description>/etc/cron.deny file should not exist.</xccdf:description>
8963 <xccdf:fix>rm /etc/cron.deny</xccdf:fix>
8964 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8965 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20232"/>
8966 </xccdf:check>
8967 </xccdf:Rule>
8968 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.b" selected="false" severity="medium" weight="10.0">
8969 <xccdf:title>Remove /etc/at.deny</xccdf:title>
8970 <xccdf:description>/etc/at.deny file should not exist.</xccdf:description>
8971 <xccdf:fix>rm /etc/at.deny</xccdf:fix>
8972 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8973 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20233"/>
8974 </xccdf:check>
8975 </xccdf:Rule>
8976 </xccdf:Group>
8977 </xccdf:Group>
8978 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5">
8979 <xccdf:title xml:lang="en">SSH Server</xccdf:title>
8980 <xccdf:description xml:lang="en">
8981 The SSH protocol is recommended for remote login and remote file
8982 transfer. SSH provides confidentiality and integrity for data exchanged between two systems,
8983 as well as server authentication, through the use of public key cryptography. The
8984 implementation included with the system is called OpenSSH, and more detailed documentation
8985 is available from its website, http://www.openssh.org. Its server program is called sshd and
8986 provided by the RPM package openssh-server.</xccdf:description>
8987 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1">
8988 <xccdf:title xml:lang="en">Disable OpenSSH Server if Possible</xccdf:title>
8989 <xccdf:description xml:lang="en">
8990 Unless the system needs to provide the remote login and file
8991 transfer capabilities of SSH, disable and remove the OpenSSH server and its configuration.</xccdf:description>
8992 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.1">
8993 <xccdf:title xml:lang="en">Disable and Remove OpenSSH Software</xccdf:title>
8994 <xccdf:description xml:lang="en">
8995 Disable and remove openssh-server with the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8997 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig sshd off <xhtml:br/>
8998 # yum erase openssh-server <xhtml:br/></xhtml:code>
8999 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9000 Users of the system will still be able to
9001 use the SSH client program /usr/bin/ssh to access SSH servers on other systems.</xccdf:description>
9002 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false" severity="low" weight="10.0">
9003 <xccdf:title>Disable OpenSSH Software</xccdf:title>
9004 <xccdf:description>The sshd service should be disabled.</xccdf:description>
9005 <xccdf:ident system="http://cce.mitre.org">CCE-4268-9</xccdf:ident>
9006 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9007 <xccdf:fix># chkconfig sshd off</xccdf:fix>
9008 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9009 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20234"/>
9010 </xccdf:check>
9011 </xccdf:Rule>
9012 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false" weight="10.0">
9013 <xccdf:title>Remove OpenSSH Software</xccdf:title>
9014 <xccdf:description>SSH should be uninstalled</xccdf:description>
9015 <xccdf:ident system="http://cce.mitre.org">CCE-4272-1</xccdf:ident>
9016 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9017 <xccdf:fix># yum erase openssh-server</xccdf:fix>
9018 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9019 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20235"/>
9020 </xccdf:check>
9021 </xccdf:Rule>
9022 </xccdf:Group>
9023 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.2">
9024 <xccdf:title xml:lang="en">Remove SSH Server iptables Firewall Exception</xccdf:title>
9025 <xccdf:description xml:lang="en">
9026 Edit the files /etc/sysconfig/iptables and
9027 /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"/>
9028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9029 -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"/>
9030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9031 By default, inbound connections to SSH's port are allowed. If the SSH server is not
9032 being used, this exception should be removed from the firewall configuration. See
9033 Section 2.5.5 for more information about Iptables.</xccdf:description>
9034 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false" severity="high" weight="10.0">
9035 <xccdf:title>Remove SSH Server iptables Firewall Exception</xccdf:title>
9036 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9037 <xccdf:ident system="http://cce.mitre.org">CCE-4295-2</xccdf:ident>
9038 <xccdf:fixtext>(1) /etc/sysconfig/iptables</xccdf:fixtext>
9039 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9040 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20236"/>
9041 </xccdf:check>
9042 </xccdf:Rule>
9043 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false" severity="high" weight="10.0">
9044 <xccdf:title>Remove SSH Server ip6tables Firewall Exception</xccdf:title>
9045 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9046 <xccdf:fixtext>(1) /etc/sysconfig/ip6tables</xccdf:fixtext>
9047 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9048 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20237"/>
9049 </xccdf:check>
9050 </xccdf:Rule>
9051 </xccdf:Group>
9052 </xccdf:Group>
9053 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2">
9054 <xccdf:title xml:lang="en">Configure OpenSSH Server if Necessary</xccdf:title>
9055 <xccdf:description xml:lang="en">
9056 If the system needs to act as an SSH server, then certain changes
9057 should be made to the OpenSSH daemon configuration file /etc/ssh/sshd config. The
9058 following recommendations can be applied to this file. See the sshd config(5) man page for
9059 more detailed information.</xccdf:description>
9060 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.1">
9061 <xccdf:title xml:lang="en">Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9062 <xccdf:description xml:lang="en">
9063 Only SSH protocol version 2 connections should be permitted.
9064 Version 1 of the protocol contains security vulnerabilities. The default setting shipped
9065 in the configuration file is correct, but it is important enough to check. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9066 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9067 Verify that the following line appears: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9068 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9069 Protocol 2</xccdf:description>
9070 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false" severity="high" weight="10.0">
9071 <xccdf:title>Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9072 <xccdf:description>SSH version 1 protocol support should be disabled.</xccdf:description>
9073 <xccdf:ident system="http://cce.mitre.org">CCE-4325-7</xccdf:ident>
9074 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9075 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9076 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20238"/>
9077 </xccdf:check>
9078 </xccdf:Rule>
9079 </xccdf:Group>
9080 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.2">
9081 <xccdf:title xml:lang="en">Limit Users SSH Access'</xccdf:title>
9082 <xccdf:description xml:lang="en">
9083 By default, the SSH configuration allows any user to access the
9084 system. In order to allow all users to login via SSH but deny only a few users, add or
9085 correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9087 DenyUsers USER1 USER2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9088 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9089 Alternatively, if it is appropriate to allow only a few users access to the system via
9090 SSH, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9092 AllowUsers USER1 USER2</xccdf:description>
9093 </xccdf:Group>
9094 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.3">
9095 <xccdf:title xml:lang="en">Set Idle Timeout Interval for User Logins</xccdf:title>
9096 <xccdf:description xml:lang="en">
9097 SSH allows administrators to set an idle timeout interval.
9098 After this interval has passed, the idle user will be automatically logged out. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9099 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9100 Find and edit the following lines in /etc/ssh/sshd config as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9101 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9102 ClientAliveInterval interval <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9103 ClientAliveCountMax 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9104 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9105 The timeout interval is given in seconds.
9106 To have a timeout of 5 minutes, set interval to 300. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9108 If a shorter timeout has already been set for
9109 the login shell, as in Section 2.3.5.5, that value will preempt any SSH setting made
9110 here. Keep in mind that some processes may stop SSH from correctly detecting that the
9111 user is idle.</xccdf:description>
9112 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.a" operator="equals" type="number">
9113 <xccdf:title>SSH session Idle time</xccdf:title>
9114 <xccdf:description xml:lang="en">Specify duration of allowed idle time.</xccdf:description>
9115 <xccdf:question xml:lang="en">Specify duration of allowed idle time (in seconds) for SSH session</xccdf:question>
9116 <xccdf:value>300</xccdf:value>
9117 <xccdf:value selector="5_minutes">300</xccdf:value>
9118 <xccdf:value selector="10_minutes">600</xccdf:value>
9119 </xccdf:Value>
9120 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.b" operator="equals" type="number">
9121 <xccdf:title>SSH session ClientAliveCountMax</xccdf:title>
9122 <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>
9123 <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>
9124 <xccdf:value>3</xccdf:value>
9125 <xccdf:value selector="0">0</xccdf:value>
9126 <xccdf:value selector="3">3</xccdf:value>
9127 </xccdf:Value>
9128 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false" severity="medium" weight="10.0">
9129 <xccdf:title>Set Idle Timeout Interval for User Logins</xccdf:title>
9130 <xccdf:description>The SSH idle timout interval should be set to an appropriate
9131 value</xccdf:description>
9132 <xccdf:ident system="http://cce.mitre.org">CCE-3845-5</xccdf:ident>
9133 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9134 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9135 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20239" value-id="xccdf_cdf_value_var-3.5.2.3.a"/>
9136 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20239"/>
9137 </xccdf:check>
9138 </xccdf:Rule>
9139 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false" weight="10.0">
9140 <xccdf:title>Set ClientAliveCountMax for User Logins</xccdf:title>
9141 <xccdf:description>The ClientAliveCountMax should be set to an appropriate value</xccdf:description>
9142 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9143 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9144 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20240" value-id="xccdf_cdf_value_var-3.5.2.3.b"/>
9145 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20240"/>
9146 </xccdf:check>
9147 </xccdf:Rule>
9148 </xccdf:Group>
9149 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.4">
9150 <xccdf:title xml:lang="en">Disable .rhosts Files</xccdf:title>
9151 <xccdf:description xml:lang="en">
9152 SSH can emulate the behavior of the obsolete rsh command in
9153 allowing users to enable insecure access to their accounts via .rhosts files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9154 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9155 To ensure that this behavior is disabled, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9156 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9157 IgnoreRhosts yes</xccdf:description>
9158 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false" severity="high" weight="10.0">
9159 <xccdf:title>Disable .rhosts Files</xccdf:title>
9160 <xccdf:description>Emulation of the rsh command through the ssh server should be disabled</xccdf:description>
9161 <xccdf:ident system="http://cce.mitre.org">CCE-4475-0</xccdf:ident>
9162 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9163 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9164 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20241"/>
9165 </xccdf:check>
9166 </xccdf:Rule>
9167 </xccdf:Group>
9168 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.5">
9169 <xccdf:title xml:lang="en">Disable Host-Based Authentication</xccdf:title>
9170 <xccdf:description xml:lang="en">
9171 SSH's cryptographic host-based authentication is slightly more
9172 secure than .rhosts authentication, since hosts are cryptographically authenticated.
9173 However, it is not recommended that hosts unilaterally trust one another, even within an
9174 organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9175 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9176 To disable host-based authentication, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9177 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9178 HostbasedAuthentication no</xccdf:description>
9179 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false" weight="10.0">
9180 <xccdf:title>Disable Host-Based Authentication</xccdf:title>
9181 <xccdf:description>SSH host-based authentication should be disabled</xccdf:description>
9182 <xccdf:ident system="http://cce.mitre.org">CCE-4370-3</xccdf:ident>
9183 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9184 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9185 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20242"/>
9186 </xccdf:check>
9187 </xccdf:Rule>
9188 </xccdf:Group>
9189 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.6">
9190 <xccdf:title xml:lang="en">Disable root Login via SSH</xccdf:title>
9191 <xccdf:description xml:lang="en">
9192 The root user should never be allowed to login directly over a
9193 network, as this both reduces auditable information about who ran privileged commands on
9194 the system and allows direct attack attempts on root's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9196 To disable root login via SSH, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9197 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9198 PermitRootLogin no</xccdf:description>
9199 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false" severity="medium" weight="10.0">
9200 <xccdf:title>Disable root Login via SSH</xccdf:title>
9201 <xccdf:description>Root login via SSH should be disabled</xccdf:description>
9202 <xccdf:ident system="http://cce.mitre.org">CCE-4387-7</xccdf:ident>
9203 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9204 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9205 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20243"/>
9206 </xccdf:check>
9207 </xccdf:Rule>
9208 </xccdf:Group>
9209 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.7">
9210 <xccdf:title xml:lang="en">Disable Empty Passwords</xccdf:title>
9211 <xccdf:description xml:lang="en">
9212 To explicitly disallow remote login from accounts with empty
9213 passwords, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9214 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9215 PermitEmptyPasswords no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9216 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9217 Measures should also be taken to disable accounts with empty passwords system-wide,
9218 as described in Section 2.3.1.5.</xccdf:description>
9219 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false" weight="10.0">
9220 <xccdf:title>Disable Empty Passwords</xccdf:title>
9221 <xccdf:description>Remote connections from accounts with empty passwords should be disabled</xccdf:description>
9222 <xccdf:ident system="http://cce.mitre.org">CCE-3660-8</xccdf:ident>
9223 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9224 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9225 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20244"/>
9226 </xccdf:check>
9227 </xccdf:Rule>
9228 </xccdf:Group>
9229 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.8">
9230 <xccdf:title xml:lang="en">Enable a Warning Banner</xccdf:title>
9231 <xccdf:description xml:lang="en">
9232 Section 2.3.7 contains information on how to create an
9233 appropriate warning banner. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9234 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9235 To enable a warning banner, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9236 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9237 Banner /etc/issue</xccdf:description>
9238 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false" severity="medium" weight="10.0">
9239 <xccdf:title>Enable a Warning Banner</xccdf:title>
9240 <xccdf:description>SSH warning banner should be enabled</xccdf:description>
9241 <xccdf:ident system="http://cce.mitre.org">CCE-4431-3</xccdf:ident>
9242 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9243 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9244 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20245"/>
9245 </xccdf:check>
9246 </xccdf:Rule>
9247 </xccdf:Group>
9248 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.9">
9249 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9250 <xccdf:description xml:lang="en">
9251 To prevent users from being able to present environment options to the SSH daemon and potentially bypass
9252 some access restrictions, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9253 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9254 PermitUserEnvironment no
9255 </xccdf:description>
9256 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false" weight="10">
9257 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9258 <xccdf:description>PermitUserEnvironment should be disabled</xccdf:description>
9259 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9260 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9261 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202455"/>
9262 </xccdf:check>
9263 </xccdf:Rule>
9264 </xccdf:Group>
9265 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.10">
9266 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9267 <xccdf:description xml:lang="en">
9268 Limit the ciphers to those which are FIPS-approved and only use ciphers in counter (CTR) mode. The
9269 following line demonstrates use of FIPS-approved ciphers in CTR mode:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9270 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9271 Ciphers aes128-ctr,aes192-ctr,aes256-ctr<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9273 The man page sshd_config(5) contains a list of the ciphers supported for the current release of the SSH daemon.</xccdf:description>
9274 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false" weight="10">
9275 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9276 <xccdf:description>Use only FIPS approved ciphers not in CBC mode</xccdf:description>
9277 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9278 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9279 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202456"/>
9280 </xccdf:check>
9281 </xccdf:Rule>
9282 </xccdf:Group>
9283 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.11">
9284 <xccdf:title xml:lang="en">Strengthen Firewall Configuration if Possible</xccdf:title>
9285 <xccdf:description xml:lang="en">
9286 If the SSH server must only accept connections from the local
9287 network, then strengthen the default firewall rule for the SSH service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9289 Determine an
9290 appropriate network block, netwk, and network mask, mask, representing the machines on
9291 your network which must be allowed to access this SSH server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9292 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9293 Edit the files
9294 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in use). In each file,
9295 locate the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9296 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9297 -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"/>
9298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9299 and replace it with: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9300 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9301 -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"/>
9302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9303 If your site uses IPv6, and you are editing ip6tables, use the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9305 -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"/>
9306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9307 instead because Netfilter does not yet reliably support stateful filtering for
9308 IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9309 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9310 See Section 2.5.5 for more information about Iptables configuration.</xccdf:description>
9311 </xccdf:Group>
9312 </xccdf:Group>
9313 </xccdf:Group>
9314 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6">
9315 <xccdf:title xml:lang="en">X Window System</xccdf:title>
9316 <xccdf:description xml:lang="en">The X Window System implementation included with the system is called X.org.</xccdf:description>
9317 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1">
9318 <xccdf:title xml:lang="en">Disable X Windows if Possible</xccdf:title>
9319 <xccdf:description xml:lang="en">
9320 Unless there is a mission-critical reason for the machine to run
9321 a GUI login screen, prevent X from starting automatically at boot. There is usually no
9322 reason to run X Windows on a dedicated server machine, since administrators can login via
9323 SSH or on the text console.</xccdf:description>
9324 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.1">
9325 <xccdf:title xml:lang="en">Disable X Windows at System Boot</xccdf:title>
9326 <xccdf:description xml:lang="en">
9327 Edit the file /etc/inittab, and correct the line
9328 id:5:initdefault: to: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9329 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9330 id:3:initdefault: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9331 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9332 This action changes the default boot runlevel of
9333 the system from 5 to 3. These two runlevels should be identical except that runlevel 5
9334 starts X on boot, while runlevel 3 does not.</xccdf:description>
9335 <xccdf:Value id="xccdf_cdf_value_var-3.6.1.1.a" operator="equals" type="number">
9336 <xccdf:title>default boot level</xccdf:title>
9337 <xccdf:description xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI.</xccdf:description>
9338 <xccdf:question xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI</xccdf:question>
9339 <xccdf:value>5</xccdf:value>
9340 <xccdf:value selector="multi-user-graphical">5</xccdf:value>
9341 <xccdf:value selector="multi-user-text">3</xccdf:value>
9342 <xccdf:value selector="single-user-text">1</xccdf:value>
9343 </xccdf:Value>
9344 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false" severity="medium" weight="10.0">
9345 <xccdf:title>Disable X Windows at System Boot</xccdf:title>
9346 <xccdf:description>X Windows should be disabled at system boot</xccdf:description>
9347 <xccdf:ident system="http://cce.mitre.org">CCE-4462-8</xccdf:ident>
9348 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
9349 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9350 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20246" value-id="xccdf_cdf_value_var-3.6.1.1.a"/>
9351 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20246"/>
9352 </xccdf:check>
9353 </xccdf:Rule>
9354 </xccdf:Group>
9355 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.2">
9356 <xccdf:title xml:lang="en">Remove X Windows from the System if Possible</xccdf:title>
9357 <xccdf:description xml:lang="en">
9358 Remove the X11 RPMs from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9359 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9360 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum groupremove "X Window System" <xhtml:br/></xhtml:code>
9361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9362 As long as X.org remains installed on the system, users can still run X
9363 Windows by typing startx at the shell prompt. This may run X Windows using configuration
9364 settings which are less secure than the system defaults. Therefore, if the machine is a
9365 dedicated server which does not need to provide graphical logins at all, it is safest to
9366 remove the X.org software entirely. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9368 The command given here will remove over 100
9369 packages. It should safely and effectively remove X from machines which do not need it.</xccdf:description>
9370 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false" weight="10.0">
9371 <xccdf:title>Remove X Windows from the System if Possible</xccdf:title>
9372 <xccdf:description>X Windows should be removed</xccdf:description>
9373 <xccdf:ident system="http://cce.mitre.org">CCE-4422-2</xccdf:ident>
9374 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9375 <xccdf:fix># yum groupremove "X Window System"</xccdf:fix>
9376 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9377 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20247"/>
9378 </xccdf:check>
9379 </xccdf:Rule>
9380 </xccdf:Group>
9381 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3">
9382 <xccdf:title xml:lang="en">Lock Down X Windows startx Configuration if Necessary</xccdf:title>
9383 <xccdf:description xml:lang="en">
9384 If X is not to be started at boot time but the software must
9385 remain installed, users will be able to run X manually using the startx command. In some
9386 cases, this runs X with a configuration which is less safe than the default. Follow
9387 these instructions to mitigate risk from this configuration.</xccdf:description>
9388 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.1">
9389 <xccdf:title xml:lang="en">Disable X Font Server</xccdf:title>
9390 <xccdf:description xml:lang="en">
9391 Disable the xfs helper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9392 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9393 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig xfs off <xhtml:br/></xhtml:code>
9394 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9395 The
9396 system's X.org requires the X Font Server service (xfs) to function. The xfs service
9397 will be started automatically if X.org is activated via startx. Therefore, it is safe
9398 to prevent xfs from starting at boot when X is disabled, even if users are allowed to
9399 run X manually.</xccdf:description>
9400 </xccdf:Group>
9401 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.2">
9402 <xccdf:title xml:lang="en">Disable X Window System Listening</xccdf:title>
9403 <xccdf:description xml:lang="en">
9404 To prevent X.org from listening for remote connections,
9405 create the file /etc/X11/xinit/xserverrc and fill it with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9406 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9407 exec X :0 -nolisten tcp $@ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9408 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9409 One of X.org's features is the ability to provide remote graphical
9410 display. This feature should be disabled unless it is required. If the system uses
9411 runlevel 5, which is the default, the GDM display manager starts X safely, with remote
9412 listening disabled. However, if X is started from the command line with the startx
9413 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"/>
9414 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9415 See the xinit(1), startx(1), and Xserver(1) man pages for more information.</xccdf:description>
9416 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false" severity="medium" weight="10.0">
9417 <xccdf:title>Disable X Window System Listening</xccdf:title>
9418 <xccdf:description>Disable the ability to provide remote graphical display</xccdf:description>
9419 <xccdf:ident system="http://cce.mitre.org">CCE-4074-1</xccdf:ident>
9420 <xccdf:fixtext>(1) via /etc/X11/xinit/xserverrc</xccdf:fixtext>
9421 <xccdf:fix>echo "exec X :0 -nolisten tcp $@" &gt; /etc/X11/xinit/xserverrc</xccdf:fix>
9422 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9423 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20248"/>
9424 </xccdf:check>
9425 </xccdf:Rule>
9426 </xccdf:Group>
9427 </xccdf:Group>
9428 </xccdf:Group>
9429 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2">
9430 <xccdf:title xml:lang="en">Configure X Windows if Necessary</xccdf:title>
9431 <xccdf:description xml:lang="en">
9432 If there is a mission-critical reason for this machine to run a
9433 GUI, improve the security of the default X configuration by following the guidance in this
9434 section.</xccdf:description>
9435 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2.1">
9436 <xccdf:title xml:lang="en">Create Warning Banners for GUI Login Users</xccdf:title>
9437 <xccdf:description xml:lang="en">
9438 Edit the file /etc/gdm/custom.conf. Locate the [greeter]
9439 section, and correct that section to contain the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9440 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9441 [greeter] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9442 InfoMsgFile=/etc/issue<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9444 See Section 2.3.7 for an explanation of banner file use. This setting will cause the
9445 system greeting banner to be displayed in a box prior to GUI login. If the default
9446 banner font is inappropriate, it can be changed by specifying the InfoMsgFont directive
9447 as well, for instance: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9448 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9449 InfoMsgFont=Sans 12</xccdf:description>
9450 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false" severity="medium" weight="10.0">
9451 <xccdf:title>Create Warning Banners for GUI Login Users</xccdf:title>
9452 <xccdf:description>Enable warning banner for GUI login</xccdf:description>
9453 <xccdf:ident system="http://cce.mitre.org">CCE-3717-6</xccdf:ident>
9454 <xccdf:fixtext>(1) via /etc/gdm/custom.conf</xccdf:fixtext>
9455 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9456 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20249"/>
9457 </xccdf:check>
9458 </xccdf:Rule>
9459 </xccdf:Group>
9460 </xccdf:Group>
9461 </xccdf:Group>
9462 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7">
9463 <xccdf:title xml:lang="en">Avahi Server</xccdf:title>
9464 <xccdf:description xml:lang="en">
9465 The Avahi daemon implements the DNS Service Discovery and Multicast
9466 DNS protocols, which provide service and host discovery on a network. It allows a system to
9467 automatically identify resources on the network, such as printers or web servers. This
9468 capability is also known as mDNSresponder and is a major part of Zeroconf networking. By
9469 default, it is enabled.</xccdf:description>
9470 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1">
9471 <xccdf:title xml:lang="en">Disable Avahi Server if Possible</xccdf:title>
9472 <xccdf:description xml:lang="en">
9473 Because the Avahi daemon service keeps an open network port, it
9474 is subject to network attacks. Disabling it is particularly important to reduce the
9475 system's vulnerability to such attacks.</xccdf:description>
9476 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.1">
9477 <xccdf:title xml:lang="en">Disable Avahi Server Software</xccdf:title>
9478 <xccdf:description xml:lang="en">
9479 Issue the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9481 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig avahi-daemon off</xhtml:code></xccdf:description>
9482 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false" severity="low" weight="10.0">
9483 <xccdf:title>Disable Avahi Server Software</xccdf:title>
9484 <xccdf:description>The avahi-daemon service should be disabled.</xccdf:description>
9485 <xccdf:ident system="http://cce.mitre.org">CCE-4365-3</xccdf:ident>
9486 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9487 <xccdf:fix># chkconfig avahi-daemon off</xccdf:fix>
9488 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9489 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20250"/>
9490 </xccdf:check>
9491 </xccdf:Rule>
9492 </xccdf:Group>
9493 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.2">
9494 <xccdf:title xml:lang="en">Remove Avahi Server iptables Firewall Exception</xccdf:title>
9495 <xccdf:description xml:lang="en">
9496 Edit the files /etc/sysconfig/iptables and
9497 /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"/>
9498 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9499 -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"/>
9500 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9501 By default, inbound
9502 connections to Avahi's port are allowed. If the Avahi server is not being used, this
9503 exception should be removed from the firewall configuration. See Section 2.5.5 for more
9504 information about the Iptables firewall.</xccdf:description>
9505 </xccdf:Group>
9506 </xccdf:Group>
9507 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2">
9508 <xccdf:title xml:lang="en">Configure Avahi if Necessary</xccdf:title>
9509 <xccdf:description xml:lang="en">
9510 If your system requires the Avahi daemon, its configuration can
9511 be restricted to improve security. The Avahi daemon configuration file is
9512 /etc/avahi/avahi-daemon.conf. The following security recommendations should be applied to
9513 this file. See the avahi-daemon.conf(5) man page or documentation at http://www.avahi.org
9514 for more detailed information about the configuration options.</xccdf:description>
9515 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.1">
9516 <xccdf:title xml:lang="en">Serve Only via Required Protocol</xccdf:title>
9517 <xccdf:description xml:lang="en">
9518 The default setting in the configuration file allows Avahi to
9519 use both IPv4 and IPv6 sockets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9521 If you are using only IPv4, edit
9522 /etc/avahi/avahi-daemon.conf and ensure the following line exists in the [server]
9523 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9524 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9525 use-ipv6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9526 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9527 Similarly, if you are using only IPv6, disable IPv4 sockets with the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9528 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9529 use-ipv4=no</xccdf:description>
9530 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false" severity="medium" weight="10.0">
9531 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9532 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv6</xccdf:description>
9533 <xccdf:ident system="http://cce.mitre.org">CCE-4136-8</xccdf:ident>
9534 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9535 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9536 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20251"/>
9537 </xccdf:check>
9538 </xccdf:Rule>
9539 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false" severity="medium" weight="10.0">
9540 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9541 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv4</xccdf:description>
9542 <xccdf:ident system="http://cce.mitre.org">CCE-4409-9</xccdf:ident>
9543 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9544 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9545 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20252"/>
9546 </xccdf:check>
9547 </xccdf:Rule>
9548 </xccdf:Group>
9549 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.2">
9550 <xccdf:title xml:lang="en">Check Responses TTL Field '</xccdf:title>
9551 <xccdf:description xml:lang="en">
9552 Avahi can be set to ignore IP packets unless their TTL field is
9553 255. To make Avahi ignore packets unless the TTL field is 255, edit
9554 /etc/avahi/avahi-daemon.conf and ensure the following line appears in the [server]
9555 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9556 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9557 check-response-ttl=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9558 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9559 This helps to ensure that only mDNS responses from the
9560 local network are processed, because the TTL field in a packet is decremented from its
9561 initial value of 255 whenever it is routed from one network to another. Although a
9562 properly-configured router or firewall should not allow mDNS packets into the local
9563 network at all, this option provides another check to ensure they are not trusted.</xccdf:description>
9564 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false" weight="10.0">
9565 <xccdf:title>Check Responses' TTL Field</xccdf:title>
9566 <xccdf:description>Avahi should be configured to reject packets with a TTL field not equal to 255</xccdf:description>
9567 <xccdf:ident system="http://cce.mitre.org">CCE-4426-3</xccdf:ident>
9568 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9569 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9570 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20253"/>
9571 </xccdf:check>
9572 </xccdf:Rule>
9573 </xccdf:Group>
9574 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.3">
9575 <xccdf:title xml:lang="en">Prevent Other Programs from Using Avahis Port '</xccdf:title>
9576 <xccdf:description xml:lang="en">
9577 Avahi can stop other mDNS stacks from running on the host by
9578 preventing other processes from binding to port 5353. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9579 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9580 To prevent other mDNS stacks from
9581 running, edit /etc/avahi/avahi-daemon.conf and ensure the following line appears in the
9582 [server] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9583 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9584 disallow-other-stacks=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9585 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9586 This is designed to help ensure that only
9587 Avahi is responsible for mDNS traffic coming from that port on the system.</xccdf:description>
9588 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false" weight="10.0">
9589 <xccdf:title>Prevent Other Programs from Using Avahi's Port</xccdf:title>
9590 <xccdf:description>Avahi should be configured to not allow other stacks from binding to port 5353</xccdf:description>
9591 <xccdf:ident system="http://cce.mitre.org">CCE-4193-9</xccdf:ident>
9592 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9593 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9594 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20254"/>
9595 </xccdf:check>
9596 </xccdf:Rule>
9597 </xccdf:Group>
9598 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.4">
9599 <xccdf:title xml:lang="en">Disable Publishing if Possible</xccdf:title>
9600 <xccdf:description xml:lang="en">
9601 The default setting in the configuration file allows the
9602 avahi-daemon to send information about the local host, such as its address records and
9603 the services it offers, to the local network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9604 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9605 To stop sending this information but still
9606 allow Avahi to query the network for services, ensure the configuration file includes
9607 the following line in the [publish] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9609 disable-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9611 This line may be
9612 particularly useful if Avahi is needed for printer discovery, but not to advertise
9613 services. This configuration is highly recommended for client systems that should not
9614 advertise their services (or existence).</xccdf:description>
9615 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false" weight="10.0">
9616 <xccdf:title>Disable Publishing if Possible</xccdf:title>
9617 <xccdf:description>Avahi publishing of local information should be disabled</xccdf:description>
9618 <xccdf:ident system="http://cce.mitre.org">CCE-4444-6</xccdf:ident>
9619 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9620 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9621 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20255"/>
9622 </xccdf:check>
9623 </xccdf:Rule>
9624 </xccdf:Group>
9625 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.5">
9626 <xccdf:title xml:lang="en">Restrict Published Information</xccdf:title>
9627 <xccdf:description xml:lang="en">
9628 If it is necessary to publish some information to the network,
9629 it should not be joined by any extraneous information, or by information supplied by a
9630 non-trusted source on the system. Prevent user applications from using Avahi to publish
9631 services by adding or correcting the following line in the [publish] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9632 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9633 disable-user-service-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9634 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9635 Implement as many of the following lines as
9636 possible, to restrict the information published by Avahi: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9637 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9638 publish-addresses=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9639 publish-hinfo=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9640 publish-workstation=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9641 publish-domain=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9642 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9643 Inspect the files in the
9644 directory /etc/avahi/services/. Unless there is an operational need to publish
9645 information about each of these services, delete the corresponding file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9647 These options
9648 should be used even if publishing is disabled entirely via disable-publishing, since
9649 that option prevents publishing attempts from succeeding, while these options prevent
9650 the attempts from being made in the first place. Using both approaches is recommended
9651 for completeness.</xccdf:description>
9652 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false" weight="10.0">
9653 <xccdf:title>Restrict disable-user-service-publishing</xccdf:title>
9654 <xccdf:description>Avahi publishing of local information by user applications should be disabled</xccdf:description>
9655 <xccdf:ident system="http://cce.mitre.org">CCE-4352-1</xccdf:ident>
9656 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9657 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9658 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20256"/>
9659 </xccdf:check>
9660 </xccdf:Rule>
9661 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false" weight="10.0">
9662 <xccdf:title>Restrict publish-addresses</xccdf:title>
9663 <xccdf:description>Avahi publishing of hardware information should be disabled</xccdf:description>
9664 <xccdf:ident system="http://cce.mitre.org">CCE-4433-9</xccdf:ident>
9665 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9666 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9667 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20257"/>
9668 </xccdf:check>
9669 </xccdf:Rule>
9670 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false" weight="10.0">
9671 <xccdf:title>Restrict publish-hinfo</xccdf:title>
9672 <xccdf:description>Avahi publishing of workstation name should be disabled</xccdf:description>
9673 <xccdf:ident system="http://cce.mitre.org">CCE-4451-1</xccdf:ident>
9674 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9675 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9676 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20258"/>
9677 </xccdf:check>
9678 </xccdf:Rule>
9679 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false" weight="10.0">
9680 <xccdf:title>Restrict publish-workstation</xccdf:title>
9681 <xccdf:description>Avahi publishing of IP addresses should be disabled</xccdf:description>
9682 <xccdf:ident system="http://cce.mitre.org">CCE-4341-4</xccdf:ident>
9683 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9684 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9685 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20259"/>
9686 </xccdf:check>
9687 </xccdf:Rule>
9688 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false" weight="10.0">
9689 <xccdf:title>Restrict publish-domain</xccdf:title>
9690 <xccdf:description>Avahi publishing of domain name should be disabled</xccdf:description>
9691 <xccdf:ident system="http://cce.mitre.org">CCE-4358-8</xccdf:ident>
9692 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9693 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9694 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20260"/>
9695 </xccdf:check>
9696 </xccdf:Rule>
9697 </xccdf:Group>
9698 </xccdf:Group>
9699 </xccdf:Group>
9700 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8">
9701 <xccdf:title xml:lang="en">Print Support</xccdf:title>
9702 <xccdf:description xml:lang="en">
9703 The Common Unix Printing System (CUPS) service provides both local
9704 and network printing support. A system running the CUPS service can accept print jobs from
9705 other systems, process them, and send them to the appropriate printer. It also provides an
9706 interface for remote administration through a web browser. The CUPS service is installed and
9707 activated by default. The project homepage and more detailed documentation are available at
9708 http://www.cups.org. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9709 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9710 The HP Linux Imaging and Printing service (HPLIP) is a separate package
9711 that provides support for some of the additional features that HP printers provide that CUPS
9712 may not necessarily support. It relies upon the CUPS service.</xccdf:description>
9713 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.1">
9714 <xccdf:title xml:lang="en">Disable the CUPS Service if Possible</xccdf:title>
9715 <xccdf:description xml:lang="en">
9716 Do you need the ability to print from this machine or to allow
9717 others to print to it? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9718 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9719 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig cups off</xhtml:code></xccdf:description>
9720 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.1.a" selected="false" severity="medium" weight="10.0">
9721 <xccdf:title>Disable the CUPS Service if Possible</xccdf:title>
9722 <xccdf:description>The cups service should be disabled.</xccdf:description>
9723 <xccdf:ident system="http://cce.mitre.org">CCE-4112-9</xccdf:ident>
9724 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9725 <xccdf:fix># chkconfig cups off</xccdf:fix>
9726 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9727 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20261"/>
9728 </xccdf:check>
9729 </xccdf:Rule>
9730 </xccdf:Group>
9731 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.2">
9732 <xccdf:title xml:lang="en">Disable Firewall Access to Printing Service if Possible</xccdf:title>
9733 <xccdf:description xml:lang="en">
9734 Does this system need to operate as a network print server? If
9735 not, edit the files /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in
9736 use). In each file, locate and delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9738 -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9739 -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9740 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9741 By
9742 default, inbound connections to the Internet Printing Protocol port are allowed. If the
9743 print server does not need to be accessed, either because the machine is not running the
9744 print service at all or because the machine is not providing a remote network printer to
9745 other machines, this exception should be removed from the firewall configuration. See
9746 Section 2.5.5 for more information about the Iptables firewall.</xccdf:description>
9747 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.a" operator="equals" type="string">
9748 <xccdf:title>accept udp over IPv4</xccdf:title>
9749 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv4.</xccdf:description>
9750 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv4</xccdf:question>
9751 <xccdf:value>disabled</xccdf:value>
9752 <xccdf:value selector="enabled">enabled</xccdf:value>
9753 <xccdf:value selector="disabled">disabled</xccdf:value>
9754 <xccdf:match>enabled|disabled</xccdf:match>
9755 <xccdf:choices mustMatch="1">
9756 <xccdf:choice>enabled</xccdf:choice>
9757 <xccdf:choice>disabled</xccdf:choice>
9758 </xccdf:choices>
9759 </xccdf:Value>
9760 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.b" operator="equals" type="string">
9761 <xccdf:title>accept udp over IPv6</xccdf:title>
9762 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv6.</xccdf:description>
9763 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv6</xccdf:question>
9764 <xccdf:value>disabled</xccdf:value>
9765 <xccdf:value selector="enabled">enabled</xccdf:value>
9766 <xccdf:value selector="disabled">disabled</xccdf:value>
9767 <xccdf:match>enabled|disabled</xccdf:match>
9768 <xccdf:choices mustMatch="1">
9769 <xccdf:choice>enabled</xccdf:choice>
9770 <xccdf:choice>disabled</xccdf:choice>
9771 </xccdf:choices>
9772 </xccdf:Value>
9773 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.a" selected="false" severity="high" weight="10.0">
9774 <xccdf:title>Disable Firewall Access to Printing Service over IPv4 if Possible</xccdf:title>
9775 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
9776 <xccdf:ident system="http://cce.mitre.org">CCE-3649-1</xccdf:ident>
9777 <xccdf:fixtext>(1) via /etc/sysconfig/iptables</xccdf:fixtext>
9778 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9779 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20262" value-id="xccdf_cdf_value_var-3.8.2.a"/>
9780 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20262"/>
9781 </xccdf:check>
9782 </xccdf:Rule>
9783 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.b" selected="false" severity="high" weight="10.0">
9784 <xccdf:title>Disable Firewall Access to Printing Service over IPv6 if Possible</xccdf:title>
9785 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
9786 <xccdf:fixtext>(1) via /etc/sysconfig/ip6tables</xccdf:fixtext>
9787 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9788 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20263" value-id="xccdf_cdf_value_var-3.8.2.b"/>
9789 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20263"/>
9790 </xccdf:check>
9791 </xccdf:Rule>
9792 </xccdf:Group>
9793 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3">
9794 <xccdf:title xml:lang="en">Configure the CUPS Service if Necessary</xccdf:title>
9795 <xccdf:description xml:lang="en">
9796 CUPS provides the ability to easily share local printers with
9797 other machines over the network. It does this by allowing machines to share lists of
9798 available printers. Additionally, each machine that runs the CUPS service can potentially
9799 act as a print server. Whenever possible, the printer sharing and print server
9800 capabilities of CUPS should be limited or disabled. The following recommendations should
9801 demonstrate how to do just that.</xccdf:description>
9802 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1">
9803 <xccdf:title xml:lang="en">Limit Printer Browsing</xccdf:title>
9804 <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>
9805 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.1">
9806 <xccdf:title xml:lang="en">Disable Printer Browsing Entirely if Possible</xccdf:title>
9807 <xccdf:description xml:lang="en">
9808 To disable printer browsing entirely, edit the CUPS
9809 configuration file, located at /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9810 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9811 Browsing Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9812 BrowseAllow none <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9814 The
9815 CUPS print service can be configured to broadcast a list of available printers to the
9816 network. Other machines on the network, also running the CUPS print service, can be
9817 configured to listen to these broadcasts and add and configure these printers for
9818 immediate use. By disabling this browsing capability, the machine will no longer
9819 generate or receive such broadcasts.</xccdf:description>
9820 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false" weight="10.0">
9821 <xccdf:title>Disable Printer Browsing Entirely if Possible</xccdf:title>
9822 <xccdf:description>Remote print browsing should be disabled</xccdf:description>
9823 <xccdf:ident system="http://cce.mitre.org">CCE-4420-6</xccdf:ident>
9824 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
9825 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9826 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20264"/>
9827 </xccdf:check>
9828 </xccdf:Rule>
9829 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false" weight="10.0">
9830 <xccdf:title>Deny CUPS ability to listen for Incoming printer information</xccdf:title>
9831 <xccdf:description>CUPS should be denied the ability to listen for Incoming printer information</xccdf:description>
9832 <xccdf:ident system="http://cce.mitre.org">CCE-4407-3</xccdf:ident>
9833 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
9834 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9835 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20265"/>
9836 </xccdf:check>
9837 </xccdf:Rule>
9838 </xccdf:Group>
9839 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.2">
9840 <xccdf:title xml:lang="en">Limit Printer Browsing to a Particular Subnet if Necessary</xccdf:title>
9841 <xccdf:description xml:lang="en">
9842 It is possible to disable outgoing printer list broadcasts
9843 without affecting incoming broadcasts from other machines. To do so, open the CUPS
9844 configuration file, located at /etc/cups/cupsd.conf. Look for the line that begins
9845 with BrowseAddress and remove it. The line will look like the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9847 BrowseAddress @LOCAL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9848 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9849 If the intent is not to block printer sharing, but to limit it to a particular
9850 set of machines, you can limit the UDP printer broadcasts to trusted network
9851 addresses. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9852 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9853 BrowseAddress ip-address :631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9855 Likewise, to ignore incoming UDP printer list
9856 broadcasts, or to limit the set of machines to listen to, use the BrowseAllow and
9857 BrowseDeny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9858 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9859 BrowseDeny all <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9860 BrowseAllow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9862 This combination will
9863 deny incoming broadcasts from any machine except those that are explicitly allowed
9864 with BrowseAllow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9866 By default, when printer sharing is enabled, CUPS will broadcast to
9867 every network that its host machine is connected to through all available network
9868 interfaces on port 631. It will also listen to incoming broadcasts from other machines
9869 on the network. Either list one BrowseAddress line for each client machine and one
9870 BrowseAllow line for each print server or use one of the supported shorthand notations
9871 that the CUPS service recognizes. Please see the cupsd.conf(5) man page or the
9872 documentation provided at http://www.cups.org for more information on other ways to
9873 format these directives.</xccdf:description>
9874 </xccdf:Group>
9875 </xccdf:Group>
9876 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.2">
9877 <xccdf:title xml:lang="en">Disable Print Server Capabilities if Possible</xccdf:title>
9878 <xccdf:description xml:lang="en">
9879 To prevent remote users from potentially
9880 connecting to and using locally configured printers, disable the CUPS print server
9881 sharing capabilities. To do so, limit how the server will listen for print jobs by
9882 removing the more generic port directive from /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9883 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9884 Port 631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9885 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9886 and replacing it with the Listen directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9887 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9888 Listen localhost:631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9889 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9890 This will prevent remote
9891 users from printing to locally configured printers while still allowing local users on
9892 the machine to print normally. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9893 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9894 By default, locally configured printers will not be
9895 shared over the network, but if this functionality has somehow been enabled, these
9896 recommendations will disable it again. Be sure to disable outgoing printer list
9897 broadcasts, or remote users will still be able to see the locally configured printers,
9898 even if they cannot actually print to them. To limit print serving to a particular set
9899 of users, use the Policy directive.</xccdf:description>
9900 <xccdf:warning xml:lang="en">Disabling the print server capabilities in this manner will
9901 also disable the Web Administration interface. </xccdf:warning>
9902 </xccdf:Group>
9903 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.3">
9904 <xccdf:title xml:lang="en">Limit Access to the Web Administration Interface</xccdf:title>
9905 <xccdf:description xml:lang="en">
9906 By default, access to the CUPS web administration interface is
9907 limited to the local machine. It is recommended that this not be changed, especially
9908 since the authentication mechanisms that CUPS provides are limited in their
9909 effectiveness. If it is absolutely necessary to allow remote users to administer locally
9910 installed printers, be sure to limit that access as much as possible by taking advantage
9911 of the Location and Policy directive blocks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9912 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9913 For example, to enable
9914 remote access for ip-address for user username, modify each of the Location and Policy
9915 directive blocks as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9916 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9917 &lt;Location /&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9918 AuthType Basic <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9919 Require user username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9920 Order allow,deny <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9921 Allow localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9922 Allow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9923 &lt;/Location&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9925 As with the
9926 BrowseAllow directive, use one Allow directive for each machine that needs access or use
9927 one of the available CUPS directive definition shortcuts to enable access from a class
9928 of machines at once. The Require user directive can take a list of individual users, a
9929 group of users (prefixed with @), or the shorthand valid-user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9930 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9931 Host-based authentication has known limitations,
9932 especially since IP addresses are easy to spoof. Requiring users to authenticate
9933 themselves can alleviate this problem, but it cannot eliminate it. Do not use the root
9934 account to manage and administer printers. Create a separate account for this purpose
9935 and limit access to valid users with Require valid-user or Require user printeradmin .
9936 </xccdf:description>
9937 </xccdf:Group>
9938 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.4">
9939 <xccdf:title xml:lang="en">Take Further Security Measures When Appropriate</xccdf:title>
9940 <xccdf:description xml:lang="en">
9941 Whenever possible, limit outside networks' access to port 631.
9942 Consider using CUPS directives that limit the number of incoming clients, such as
9943 MaxClients or MaxClientsPerHost. Additionally, there are a series of Policy and Location
9944 directives intended to limit which users can perform different printing tasks. When used
9945 together, these may help to mitigate the possibility of a denial of service attack. See
9946 cupsd.conf(5) for a full list of possible directives.</xccdf:description>
9947 </xccdf:Group>
9948 </xccdf:Group>
9949 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4">
9950 <xccdf:title xml:lang="en">The HP Linux Imaging and Printing (HPLIP) Toolkit</xccdf:title>
9951 <xccdf:description xml:lang="en">
9952 The HPLIP package is an HP printing support utility that is
9953 installed and enabled in a default installation. The HPLIP package is comprised of two
9954 separate components. The first is the main HPLIP service and the second is a smaller
9955 subcomponent called HPIJS. HPLIP is a feature-oriented network service that provides
9956 higher level printing support (such as bi-directional I/O, scanning, photo card, and
9957 toolbox functionality). HPIJS is a lower level basic printing driver that provides basic
9958 support for non-PostScript HP printers.</xccdf:description>
9959 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4.1">
9960 <xccdf:title xml:lang="en">Disable HPLIP Service if Possible</xccdf:title>
9961 <xccdf:description xml:lang="en">
9962 Since the HPIJS driver will still function without the added
9963 HPLIP service, HPLIP should be disabled unless the specific higher level functions that
9964 HPLIP provides are needed by a non-PostScript HP printer on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9965 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9966 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hplip off <xhtml:br/></xhtml:code>
9967 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9968 Note: If installing the HPLIP package from scratch, it should be noted that
9969 HPIJS can be installed directly without HPLIP. Please see the FAQ at the HPLIP web site
9970 at http://hplip.sourceforge.net/faqs.html for more information on how to do this.</xccdf:description>
9971 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false" severity="low" weight="10.0">
9972 <xccdf:title>Disable HPLIP Service if Possible</xccdf:title>
9973 <xccdf:description>The hplip service should be disabled.</xccdf:description>
9974 <xccdf:ident system="http://cce.mitre.org">CCE-4425-5</xccdf:ident>
9975 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9976 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9977 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20266"/>
9978 </xccdf:check>
9979 </xccdf:Rule>
9980 </xccdf:Group>
9981 </xccdf:Group>
9982 </xccdf:Group>
9983 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9">
9984 <xccdf:title xml:lang="en">DHCP</xccdf:title>
9985 <xccdf:description xml:lang="en">
9986 The Dynamic Host Configuration Protocol (DHCP) allows systems to
9987 request and obtain an IP address and many other parameters from a server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9988 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9989 In general, sites
9990 use DHCP either to allow a large pool of mobile or unknown machines to share a limited
9991 number of IP addresses, or to standardize installations by avoiding static, individual IP
9992 address configuration on hosts. It is recommended that sites avoid DHCP as much as possible.
9993 Since DHCP authentication is not well-supported, DHCP clients are open to attacks from rogue
9994 DHCP servers. Such servers can give clients incorrect information (e.g. malicious DNS server
9995 addresses) which could lead to their compromise. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9997 If a machine must act as a DHCP client or
9998 server, configure it defensively using the guidance in this section. This guide recommends
9999 configuring networking on clients by manually editing the appropriate files under
10000 /etc/sysconfig. It is also possible to use the graphical front-end programs
10001 system-config-network and system-config-network-tui, but these programs rewrite
10002 configuration files from scratch based on their defaults – destroying any manual changes –
10003 and should therefore be used with caution.</xccdf:description>
10004 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.1">
10005 <xccdf:title xml:lang="en">Disable DHCP Client if Possible</xccdf:title>
10006 <xccdf:description xml:lang="en">
10007 For each interface IFACE on the system (e.g. eth0), edit
10008 /etc/sysconfig/network-scripts/ifcfg-IFACE and make the following changes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10009 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10010 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Correct the BOOTPROTO line to read: <xhtml:br/>
10011 <xhtml:br/>
10012 BOOTPROTO=static
10013 </xhtml:li><xhtml:li>Add or correct the following lines,
10014 substituting the appropriate values based on your site's addressing scheme:<xhtml:br/>
10015 <xhtml:br/>
10016 NETMASK=255.255.255.0<xhtml:br/>
10017 IPADDR=192.168.1.2<xhtml:br/>
10018 GATEWAY=192.168.1.1 <xhtml:br/>
10019 </xhtml:li></xhtml:ol>
10020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10021 DHCP is the default network
10022 configuration method provided by the system installer, so it may be enabled on many
10023 systems.</xccdf:description>
10024 <xccdf:Value id="xccdf_cdf_value_var-3.9.1.a" operator="equals" type="string">
10025 <xccdf:title>DHCP BOOTPROTO</xccdf:title>
10026 <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>
10027 <xccdf:question xml:lang="en">Choose DHCP BOOTPROTO</xccdf:question>
10028 <xccdf:value>static</xccdf:value>
10029 <xccdf:value selector="bootp">bootp</xccdf:value>
10030 <xccdf:value selector="dhcp">dhcp</xccdf:value>
10031 <xccdf:value selector="static">static</xccdf:value>
10032 <!-- <value selector="none">none</value>-->
10033 <xccdf:choices>
10034 <xccdf:choice>bootp</xccdf:choice>
10035 <xccdf:choice>dhcp</xccdf:choice>
10036 <xccdf:choice>static</xccdf:choice>
10037 </xccdf:choices>
10038 </xccdf:Value>
10039 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.1.a" selected="false" severity="low" weight="10.0">
10040 <xccdf:title>Disable DHCP Client if Possible</xccdf:title>
10041 <xccdf:description>The dhcp client service should be disabled for each interface.</xccdf:description>
10042 <xccdf:ident system="http://cce.mitre.org">CCE-4191-3</xccdf:ident>
10043 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-eth*</xccdf:fixtext>
10044 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10045 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20267" value-id="xccdf_cdf_value_var-3.9.1.a"/>
10046 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20267"/>
10047 </xccdf:check>
10048 </xccdf:Rule>
10049 </xccdf:Group>
10050 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2">
10051 <xccdf:title xml:lang="en">Configure DHCP Client if necessary</xccdf:title>
10052 <xccdf:description xml:lang="en">
10053 If DHCP must be used, then certain configuration changes can
10054 minimize the amount of information it receives and applies from the network, and thus the
10055 amount of incorrect information a rogue DHCP server could successfully distribute. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10056 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10057 For more information on configuring dhclient, see the dhclient(8) and dhclient.conf(5)
10058 man pages.</xccdf:description>
10059 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2.1">
10060 <xccdf:title xml:lang="en">Minimize the DHCP-Configured Options</xccdf:title>
10061 <xccdf:description xml:lang="en">
10062 Create the file /etc/dhclient.conf, and add an appropriate
10063 setting for each of the ten configuration settings which can be obtained via DHCP. For
10064 each setting, setting , do one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10065 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>If the setting should not be
10066 configured remotely by the DHCP server, select an appropriate static value, and add the
10067 line: <xhtml:br/>
10068 <xhtml:br/>
10069 supersede setting value ; </xhtml:li><xhtml:li>If the setting should be configured remotely by the
10070 DHCP server, add the lines: <xhtml:br/>
10071 <xhtml:br/>
10072 request setting ; <xhtml:br/>
10073 require setting ; </xhtml:li></xhtml:ul>
10074 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10075 For example, suppose the
10076 DHCP server should provide only the IP address itself and the subnet mask. Then the
10077 entire file should look like: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10078 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10079 supersede domain-name "example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10080 supersede domain-name-servers 192.168.1.2 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10081 supersede nis-domain ""; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10082 supersede nis-servers "";<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10083 supersede ntp-servers "ntp.example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10084 supersede routers 192.168.1.1 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10085 supersede time-offset -18000 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10087 request subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10088 require subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10090 By default, the DHCP
10091 client program, dhclient, requests and applies ten configuration options (in addition to
10092 the IP address) from the DHCP server: subnet-mask, broadcast-address, time-offset,
10093 routers, domain-name, domain-name-servers, host-name, nis-domain, nis-servers, and
10094 ntp-servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10096 Many of the options requested and applied by dhclient may be the same for
10097 every system on a network. It is recommended that almost all configuration options be
10098 assigned statically, and only options which must vary on a host-by-host basis be
10099 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"/>
10100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10101 If
10102 appropriate for your site, it is also possible to supersede the host-name directive in
10103 /etc/dhclient.conf, establishing a static hostname for the machine. However, dhclient
10104 does not use the host name option provided by the DHCP server (instead using the value
10105 provided by a reverse DNS lookup). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10107 Note: In this example, the options nis-servers and
10108 nis-domain are set to empty strings, on the assumption that the deprecated NIS protocol
10109 is not in use. (See Section 3.2.4.) It is necessary to supersede settings for unused
10110 services so that they cannot be set by a hostile DHCP server. If an option is set to an
10111 empty string, dhclient will typically not attempt to configure the service.</xccdf:description>
10112 </xccdf:Group>
10113 </xccdf:Group>
10114 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.3">
10115 <xccdf:title xml:lang="en">Disable DHCP Server if possible</xccdf:title>
10116 <xccdf:description xml:lang="en">
10117 If the dhcp package has been installed on a machine which does
10118 not need to operate as a DHCP server, disable the daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10120 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dhcpd off <xhtml:br/></xhtml:code>
10121 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10122 If possible, remove the software as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10123 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10124 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase dhcp <xhtml:br/></xhtml:code>
10125 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10126 The DHCP server dhcpd is not
10127 installed or activated by default. If the software was installed and activated, but the
10128 system does not need to act as a DHCP server, it should be disabled and removed. Unmanaged
10129 DHCP servers will provide faulty information to clients, interfering with the operation of
10130 a legitimate site DHCP server if there is one, or causing misconfigured machines to
10131 exhibit unpredictable behavior if there is not.</xccdf:description>
10132 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.a" selected="false" severity="low" weight="10.0">
10133 <xccdf:title>Disable DHCP Server if possible</xccdf:title>
10134 <xccdf:description>The dhcpd service should be disabled.</xccdf:description>
10135 <xccdf:ident system="http://cce.mitre.org">CCE-4336-4</xccdf:ident>
10136 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10137 <xccdf:fix># chkconfig dhcpd off</xccdf:fix>
10138 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10139 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20268"/>
10140 </xccdf:check>
10141 </xccdf:Rule>
10142 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.b" selected="false" weight="10.0">
10143 <xccdf:title>Uninstall DHCP Server if possible</xccdf:title>
10144 <xccdf:description>The dhcp package should be uninstalled.</xccdf:description>
10145 <xccdf:ident system="http://cce.mitre.org">CCE-4464-4</xccdf:ident>
10146 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
10147 <xccdf:fix># yum erase dhcp</xccdf:fix>
10148 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10149 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20269"/>
10150 </xccdf:check>
10151 </xccdf:Rule>
10152 </xccdf:Group>
10153 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4">
10154 <xccdf:title xml:lang="en">Configure the DHCP Server if necessary</xccdf:title>
10155 <xccdf:description xml:lang="en">
10156 If the system must act as a DHCP server, the configuration
10157 information it serves should be minimized. Also, support for other protocols and
10158 DNS-updating schemes should be explicitly disabled unless needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10160 The configuration file
10161 for dhcpd is called /etc/dhcpd.conf. The file begins with a number of global configuration
10162 options. The remainder of the file is divided into sections, one for each block of
10163 addresses offered by dhcpd, each of which contains configuration options specific to that
10164 address block.</xccdf:description>
10165 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.1">
10166 <xccdf:title xml:lang="en">Do Not Use Dynamic DNS</xccdf:title>
10167 <xccdf:description xml:lang="en">
10168 To prevent the DHCP server from receiving DNS information from
10169 clients, edit /etc/dhcpd.conf, and add or correct the following global option:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10170 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10171 ddns-update-style none; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10172 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10173 The Dynamic DNS protocol is used to remotely update the data
10174 served by a DNS server. DHCP servers can use Dynamic DNS to publish information about
10175 their clients. This setup carries security risks, and its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10176 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10177 If Dynamic DNS must be used despite the risks it poses, it is critical that Dynamic DNS
10178 transactions be protected using TSIG or some other cryptographic authentication
10179 mechanism. See Section 3.14 for more information about DNS servers, including further
10180 information about TSIG and Dynamic DNS. Also see dhcpd.conf(5) for more information
10181 about protecting the DHCP server from passing along malicious DNS data from its clients.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10182 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10183 Note: The ddns-update-style option controls only whether the DHCP server will attempt to
10184 act as a Dynamic DNS client. As long as the DNS server itself is correctly configured to
10185 reject DDNS attempts, an incorrect ddns-update-style setting on the client is harmless
10186 (but should be fixed as a best practice).</xccdf:description>
10187 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false" weight="10.0">
10188 <xccdf:title>Do Not Use Dynamic DNS</xccdf:title>
10189 <xccdf:description>The dynamic DNS feature of the DHCP server should be disabled</xccdf:description>
10190 <xccdf:ident system="http://cce.mitre.org">CCE-4257-2</xccdf:ident>
10191 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10192 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10193 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20270"/>
10194 </xccdf:check>
10195 </xccdf:Rule>
10196 </xccdf:Group>
10197 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.2">
10198 <xccdf:title xml:lang="en">Deny Decline Messages</xccdf:title>
10199 <xccdf:description xml:lang="en">
10200 Edit /etc/dhcpd.conf and add or correct the following global
10201 option to prevent the DHCP server from responding the DHCPDECLINE messages, if possible:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10202 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10203 deny declines; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10205 The DHCPDECLINE message can be sent by a DHCP client to indicate that it
10206 does not consider the lease offered by the server to be valid. By issuing many
10207 DHCPDECLINE messages, a malicious client can exhaust the DHCP server's pool of IP
10208 addresses, causing the DHCP server to forget old address allocations.</xccdf:description>
10209 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false" weight="10.0">
10210 <xccdf:title>Deny Decline Messages</xccdf:title>
10211 <xccdf:description>DHCPDECLINE messages should be denied by the DHCP server</xccdf:description>
10212 <xccdf:ident system="http://cce.mitre.org">CCE-4403-2</xccdf:ident>
10213 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10214 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10215 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20271"/>
10216 </xccdf:check>
10217 </xccdf:Rule>
10218 </xccdf:Group>
10219 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.3">
10220 <xccdf:title xml:lang="en">Deny BOOTP Queries</xccdf:title>
10221 <xccdf:description xml:lang="en">
10222 Unless your network needs to support older BOOTP clients,
10223 disable support for the bootp protocol by adding or correcting the global option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10224 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10225 deny bootp; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10226 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10227 The bootp option tells dhcpd to respond to BOOTP queries. If support for this
10228 simpler protocol is not needed, it should be disabled to remove attack vectors against
10229 the DHCP server.</xccdf:description>
10230 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false" weight="10.0">
10231 <xccdf:title>Deny BOOTP Queries</xccdf:title>
10232 <xccdf:description>BOOTP queries should be denied by the DHCP server</xccdf:description>
10233 <xccdf:ident system="http://cce.mitre.org">CCE-4345-5</xccdf:ident>
10234 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10235 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10236 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20272"/>
10237 </xccdf:check>
10238 </xccdf:Rule>
10239 </xccdf:Group>
10240 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.4">
10241 <xccdf:title xml:lang="en">Minimize Served Information</xccdf:title>
10242 <xccdf:description xml:lang="en">
10243 Edit /etc/dhcpd.conf. Examine each address range section within
10244 the file, and ensure that the following options are not defined unless there is an
10245 operational need to provide this information via DHCP: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10246 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10247 option domain-name <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10248 option domain-name-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10249 option nis-domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10250 option nis-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10251 option ntp-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10252 option routers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10253 option time-offset <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10254 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10255 Because the configuration information provided by the DHCP
10256 server could be maliciously provided to clients by a rogue DHCP server, the amount of
10257 information provided via DHCP should be minimized. Remove these definitions from the
10258 DHCP server configuration to ensure that legitimate clients do not unnecessarily rely on
10259 DHCP for this information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10260 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10261 Note: By default, the RHEL5 client installation uses DHCP to
10262 request much of the above information from the DHCP server. In particular, domain-name,
10263 domain-name-servers, and routers are configured via DHCP. These settings are typically
10264 necessary for proper network functionality, but are also usually static across machines
10265 at a given site. See Section 3.9.2.1 for a description of how to configure static site
10266 information within the DHCP client configuration.</xccdf:description>
10267 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false" weight="10.0">
10268 <xccdf:title>DHCP should not send domain-name</xccdf:title>
10269 <xccdf:description>Domain name server information should not be sent by the DHCP server.</xccdf:description>
10270 <xccdf:ident system="http://cce.mitre.org">CCE-3724-2</xccdf:ident>
10271 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10272 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10273 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20273"/>
10274 </xccdf:check>
10275 </xccdf:Rule>
10276 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false" weight="10.0">
10277 <xccdf:title>DHCP should not send domain-name-servers</xccdf:title>
10278 <xccdf:description>Default routers should not be sent by the DHCP server.</xccdf:description>
10279 <xccdf:ident system="http://cce.mitre.org">CCE-4243-2</xccdf:ident>
10280 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10281 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10282 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20274"/>
10283 </xccdf:check>
10284 </xccdf:Rule>
10285 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false" weight="10.0">
10286 <xccdf:title>DHCP should not send nis-domain</xccdf:title>
10287 <xccdf:description>Domain name should not be sent by the DHCP server.</xccdf:description>
10288 <xccdf:ident system="http://cce.mitre.org">CCE-4389-3</xccdf:ident>
10289 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10290 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10291 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20275"/>
10292 </xccdf:check>
10293 </xccdf:Rule>
10294 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false" weight="10.0">
10295 <xccdf:title>DHCP should not send nis-servers</xccdf:title>
10296 <xccdf:description>NIS domain should not be sent by the DHCP server.</xccdf:description>
10297 <xccdf:ident system="http://cce.mitre.org">CCE-3913-1</xccdf:ident>
10298 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10299 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10300 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20276"/>
10301 </xccdf:check>
10302 </xccdf:Rule>
10303 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false" weight="10.0">
10304 <xccdf:title>DHCP should not send ntp-servers</xccdf:title>
10305 <xccdf:description>NIS servers should not be sent by the DHCP server.</xccdf:description>
10306 <xccdf:ident system="http://cce.mitre.org">CCE-4169-9</xccdf:ident>
10307 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10308 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10309 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20277"/>
10310 </xccdf:check>
10311 </xccdf:Rule>
10312 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false" weight="10.0">
10313 <xccdf:title>DHCP should not send routers</xccdf:title>
10314 <xccdf:description>Time offset should not be sent by the DHCP server.</xccdf:description>
10315 <xccdf:ident system="http://cce.mitre.org">CCE-4318-2</xccdf:ident>
10316 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10317 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10318 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20278"/>
10319 </xccdf:check>
10320 </xccdf:Rule>
10321 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false" weight="10.0">
10322 <xccdf:title>DHCP should not send time-offset</xccdf:title>
10323 <xccdf:description>NTP servers should not be sent by the DHCP server.</xccdf:description>
10324 <xccdf:ident system="http://cce.mitre.org">CCE-4319-0</xccdf:ident>
10325 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10326 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10327 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20279"/>
10328 </xccdf:check>
10329 </xccdf:Rule>
10330 </xccdf:Group>
10331 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.5">
10332 <xccdf:title xml:lang="en">Configure Logging</xccdf:title>
10333 <xccdf:description xml:lang="en">
10334 Ensure that the following line exists in /etc/syslog.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10336 daemon.* /var/log/daemon.log <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10337 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10338 Configure logwatch or other log monitoring tools to
10339 summarize error conditions reported by the dhcpd process. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10341 By default, dhcpd logs notices
10342 to the daemon facility. Sending all daemon messages to a dedicated log file is part of
10343 the syslog configuration outlined in Section 2.6.1.1.</xccdf:description>
10344 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false" weight="10.0">
10345 <xccdf:title>Configure DHCP Logging</xccdf:title>
10346 <xccdf:description>dhcpd logging should be enabled.</xccdf:description>
10347 <xccdf:ident system="http://cce.mitre.org">CCE-3733-3</xccdf:ident>
10348 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
10349 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10350 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20280"/>
10351 </xccdf:check>
10352 </xccdf:Rule>
10353 </xccdf:Group>
10354 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.6">
10355 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
10356 <xccdf:description xml:lang="en">* The man pages dhcpd.conf(5) and dhcpd(8) * ISC web page http://isc.org/products/DHCP</xccdf:description>
10357 </xccdf:Group>
10358 </xccdf:Group>
10359 </xccdf:Group>
10360 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10">
10361 <xccdf:title xml:lang="en">Network Time Protocol</xccdf:title>
10362 <xccdf:description xml:lang="en">
10363 The Network Time Protocol is used to manage the system clock over a
10364 network. Computer clocks are not very accurate, so time will drift unpredictably on
10365 unmanaged systems. Central time protocols can be used both to ensure that time is consistent
10366 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"/>
10367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10368 Local time synchronization is recommended for all networks. If every machine on your network
10369 reliably reports the same time as every other machine, then it is much easier to correlate
10370 log messages in case of an attack. In addition, a number of cryptographic protocols (such as
10371 Kerberos) use timestamps to prevent certain types of attacks. If your network does not have
10372 synchronized time, these protocols may be unreliable or even unusable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10374 Depending on the specifics of the network, global time accuracy may be just as important as
10375 local synchronization, or not very important at all. If your network is connected to the
10376 Internet, it is recommended that you make use of a public timeserver, since globally
10377 accurate timestamps may be necessary if you need to investigate or respond to an attack
10378 which originated outside of your network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10379 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10380 Whether or not you use an outside timeserver, configure
10381 the network to have a small number of machines operating as NTP servers, and the remainder
10382 obtaining time information from those internal servers.</xccdf:description>
10383 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.1">
10384 <xccdf:title xml:lang="en">Select NTP Software</xccdf:title>
10385 <xccdf:description xml:lang="en">
10386 The Network Time Protocol (RFC 1305) is designed to synchronize
10387 time with a very high degree of accuracy even on an unreliable network. NTP is therefore a
10388 complex protocol. The Simple Network Time Protocol (RFC 4330) implements a subset of NTP
10389 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"/>
10390 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10391 The primary implementation of NTP comes from ntp.org, and is shipped with RHEL5 as the ntp
10392 RPM. An alternative is OpenNTPD, which is an implementation of SNTP, and which can be
10393 obtained as source code from http://www.openntpd.org. OpenNTPD may be simpler to configure
10394 than the reference NTP implementation, at the cost of the need to install and maintain
10395 third-party software. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10396 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10397 This guide does not recommend the use of a particular NTP/SNTP
10398 software package, but does recommend that some NTP software be selected and installed on
10399 all machines. The remainder of this section describes how to securely configure NTP
10400 clients and servers, and discusses both the reference NTP implementation and OpenNTPD.</xccdf:description>
10401 </xccdf:Group>
10402 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2">
10403 <xccdf:title xml:lang="en">Configure Reference NTP if Appropriate</xccdf:title>
10404 <xccdf:description xml:lang="en">The ntp RPM implements the reference NTP server.</xccdf:description>
10405 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1">
10406 <xccdf:title xml:lang="en">Configure an NTP Client</xccdf:title>
10407 <xccdf:description xml:lang="en">
10408 There are a number of options for configuring clients to work with the reference NTP server. It is possible to run
10409 ntpd as a service (i.e., continuously) on each host, configuring clients so that the ntp protocol ignores all network
10410 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"/>
10411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10412 This guide instead recommends running ntpd periodically via cron. It is also possible to run ntpdate via cron
10413 with the -u option, but it is being obsoleted in favor of ntpd.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10414 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10415 Alternately, even if the server is running the reference NTP implementation, it is possible for clients to access it
10416 using SNTP. See Section 3.10.3.2 for information about configuring SNTP clients.</xccdf:description>
10417 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.1">
10418 <xccdf:title xml:lang="en">Set Up Client NTP Configuration File</xccdf:title>
10419 <xccdf:description xml:lang="en">
10420 A valid configuration file for the client system’s ntpd must exist at /etc/ntp.conf. Ensure that /etc/ntp.conf
10421 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"/>
10422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10423 server ntp-server<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10425 Note: The ntpd software also includes authentication and encryption support which allows for clients to verify the
10426 identity of the server, and thus guarantee the integrity of time data with high probability. See ntpd documentation
10427 at http://www.ntp.org for more details on implementing this recommended feature.
10428 </xccdf:description>
10429 </xccdf:Group>
10430 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.2">
10431 <xccdf:title xml:lang="en">Run ntpdate using Cron</xccdf:title>
10432 <xccdf:description xml:lang="en">
10433 Create a file /etc/cron.d/ntpd containing the following crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10435 15 * * * * root /usr/sbin/ntpd -q -u ntp:ntp<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10437 The -q option instructs ntpd to exit just after setting the clock, and the -u option instructs it to run as the
10438 specified user.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10439 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10440 Note: When setting the clock for the first time, execute the above command with the -g option, as ntpd
10441 will refuse to set the clock if it is significantly different from the source.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10442 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10443 This crontab will execute ntpd to synchronize the time to the NTP server at 15 minutes past every hour. (It is
10444 possible to choose a different minute, or to vary the minute between machines in order to avoid heavy traffic to
10445 the NTP server.) Hourly synchronization should be sufficiently frequent that clock drift will not be noticeable.</xccdf:description>
10446 </xccdf:Group>
10447 </xccdf:Group>
10448 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2">
10449 <xccdf:title xml:lang="en">Configure an NTP Server</xccdf:title>
10450 <xccdf:description xml:lang="en">
10451 The site’s NTP server contacts a central NTP server, probably either one provided by your ISP or a public time
10452 server, to obtain accurate time data. The server then allows other machines on your network to request the time
10453 data.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10454 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10455 The NTP server configuration file is located at /etc/ntp.conf.</xccdf:description>
10456 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.1">
10457 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10458 <xccdf:description xml:lang="en">
10459 If this machine is an NTP server, ensure that ntpd is enabled
10460 at boot time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10462 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ntpd on</xhtml:code></xccdf:description>
10463 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false" severity="high" weight="10.0">
10464 <xccdf:title>Enable the NTP Daemon</xccdf:title>
10465 <xccdf:description>The ntpd service should be enabled.</xccdf:description>
10466 <xccdf:ident system="http://cce.mitre.org">CCE-4376-0</xccdf:ident>
10467 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10468 <xccdf:fix># chkconfig ntpd on</xccdf:fix>
10469 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10470 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20281"/>
10471 </xccdf:check>
10472 </xccdf:Rule>
10473 </xccdf:Group>
10474 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.2">
10475 <xccdf:title xml:lang="en">Deny All Access to ntpd by Default</xccdf:title>
10476 <xccdf:description xml:lang="en">
10477 Edit the file /etc/ntp.conf. Prepend or correct the following
10478 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10479 restrict default ignore <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10481 Since ntpd is a complex software package which listens
10482 for network connections and runs as root, it must be protected from network access by
10483 unauthorized machines. This setting uses ntpd's internal authorization to deny all
10484 access to any machine, server or client, which is not specifically authorized by other
10485 policy settings.</xccdf:description>
10486 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false" weight="10.0">
10487 <xccdf:title>Deny All Access to ntpd by Default</xccdf:title>
10488 <xccdf:description>Network access to ntpd should be denied</xccdf:description>
10489 <xccdf:ident system="http://cce.mitre.org">CCE-4134-3</xccdf:ident>
10490 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10491 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10492 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20282"/>
10493 </xccdf:check>
10494 </xccdf:Rule>
10495 </xccdf:Group>
10496 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.3">
10497 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
10498 <xccdf:description xml:lang="en">
10499 Find the IP address, server-ip , of an appropriate remote NTP
10500 server. Edit the file /etc/ntp.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10501 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10502 restrict server-ip mask 255.255.255.255 nomodify notrap noquery <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10503 server server-ip <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10504 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10505 If your site
10506 does not require time data to be accurate, but merely to be synchronized among local
10507 machines, this step can be omitted, and the NTP server will default to providing time
10508 data from the local clock. However, it is a good idea to periodically synchronize the
10509 clock to some source of accurate time, even if it is not appropriate to do so
10510 automatically. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10511 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10512 The previous step disabled all remote access to this NTP server's state
10513 data. This NTP server must contact a remote server to obtain accurate data, so NTP's
10514 configuration must allow that remote data to be used to modify the system clock. The
10515 restrict line changes the default access permissions for that remote server. The
10516 server line specifies the remote server as the preferred NTP server for time data. If
10517 you intend to synchronize to more than one server, specify restrict and server lines
10518 for each server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10519 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10520 Note: It would be possible to specify a hostname, rather than an IP
10521 address, for the server field. However, the restrict setting applies only to network
10522 blocks of IP addresses, so it is considered more maintainable to use the IP address in
10523 both fields.</xccdf:description>
10524 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false" weight="10.0">
10525 <xccdf:title>Specify a Remote NTP Server for Time Data</xccdf:title>
10526 <xccdf:description>A remote NTP Server for time synchronization should be specified</xccdf:description>
10527 <xccdf:ident system="http://cce.mitre.org">CCE-4385-1</xccdf:ident>
10528 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10529 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10530 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20283"/>
10531 </xccdf:check>
10532 </xccdf:Rule>
10533 </xccdf:Group>
10534 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.4">
10535 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
10536 <xccdf:description xml:lang="en">
10537 Determine an appropriate network block, netwk , and network
10538 mask, mask , representing the machines on your network which will synchronize to this
10539 server. Edit /etc/ntp.conf and add the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10540 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10541 restrict netwk mask mask nomodify notrap<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10542 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10543 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears before
10544 the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10546 -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"/>
10547 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10548 If the clients are
10549 spread across more than one netblock, separate restrict and ACCEPT lines should be
10550 added for each netblock. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10551 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10552 The iptables configuration is needed because the default
10553 iptables configuration does not allow inbound access to any services. See Section
10554 2.5.5 for more information about iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10555 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10556 Note: The reference NTP implementation will
10557 refuse to serve time data to clients until enough time has elapsed that the server
10558 host's time can be assumed to have settled to an accurate value. While testing, wait
10559 ten minutes after starting ntpd before attempting to synchronize clients.</xccdf:description>
10560 </xccdf:Group>
10561 </xccdf:Group>
10562 </xccdf:Group>
10563 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3">
10564 <xccdf:title xml:lang="en">Configure OpenNTPD if Appropriate</xccdf:title>
10565 <xccdf:description xml:lang="en">
10566 OpenNTPD is an implementation of the SNTP protocol which is
10567 provided as a simple alternative to the reference NTP server. Advantages of OpenNTPD
10568 include simplicity of configuration, built-in privilege separation and chroot jailing of
10569 the NTP protocol code, and a small codebase which lacks many of the management and other
10570 protocol features used by the reference NTP server. This simplicity comes at the cost of
10571 degraded time accuracy, but SNTP is probably accurate enough for most sites with typical
10572 monitoring requirements.</xccdf:description>
10573 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.1">
10574 <xccdf:title xml:lang="en">Obtain NTP Software</xccdf:title>
10575 <xccdf:description xml:lang="en">
10576 If your site intends to use the OpenNTPD implementation, it is
10577 necessary to compile and install the software. (If your site intends to use the
10578 reference NTP implementation, no installation is necessary.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10579 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Obtain the software by
10580 downloading an appropriate source version, openntpd-version .tar.gz, from
10581 http://www.openntpd.org/portable.html. </xhtml:li><xhtml:li>Unpack the source code: <xhtml:br/>
10582 <xhtml:br/>
10583 <xhtml:code>$ tar xzf openntpd-version .tar.gz</xhtml:code> </xhtml:li><xhtml:li>Configure and compile the source. (By default, the code will
10584 be compiled for installation into /usr/ local): <xhtml:br/>
10585 <xhtml:br/>
10586 <xhtml:code>$ cd openntpd-version <xhtml:br/>
10587 $ ./configure --with-privsep-user=ntp <xhtml:br/>
10588 $ make </xhtml:code></xhtml:li><xhtml:li>As root, install the resulting program into
10589 /usr/local: <xhtml:br/>
10590 <xhtml:br/>
10591 <xhtml:code># make install </xhtml:code></xhtml:li></xhtml:ol>
10592 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10593 The configuration option --with-privsep-user=ntp tells
10594 OpenNTPD to use the existing system account ntp for the non-root portion of its
10595 operation.</xccdf:description>
10596 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false" weight="10.0">
10597 <xccdf:title>Obtain NTP Software</xccdf:title>
10598 <xccdf:description>OpenNTPD should be installed</xccdf:description>
10599 <xccdf:ident system="http://cce.mitre.org">CCE-4032-9</xccdf:ident>
10600 <xccdf:fixtext>(1) via openntpd package</xccdf:fixtext>
10601 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10602 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20284"/>
10603 </xccdf:check>
10604 </xccdf:Rule>
10605 </xccdf:Group>
10606 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2">
10607 <xccdf:title xml:lang="en">Configure an SNTP Client</xccdf:title>
10608 <xccdf:description xml:lang="en">
10609 OpenNTPD runs only in daemon mode — there is no command line
10610 suitable to be run from cron. However, this is considered reasonably safe for client use
10611 because the daemon does not listen on any network ports by default, and because OpenNTPD
10612 is a small codebase with no remote management interface or other complex features.
10613 However, it is possible to run a time-stepping program, such as rdate(1), from cron
10614 instead of configuring the daemon as outlined in this section.</xccdf:description>
10615 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.1">
10616 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10617 <xccdf:description xml:lang="en">Edit the file /etc/rc.local. Add or correct the following line: /usr/local/sbin/ntpd -s</xccdf:description>
10618 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false" severity="high" weight="10.0">
10619 <xccdf:title>Enable the NTP Daemon</xccdf:title>
10620 <xccdf:description>The ntp daemon should be enabled</xccdf:description>
10621 <xccdf:ident system="http://cce.mitre.org">CCE-4424-8</xccdf:ident>
10622 <xccdf:fixtext>(1) via /etc/rc.local</xccdf:fixtext>
10623 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10624 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20285"/>
10625 </xccdf:check>
10626 </xccdf:Rule>
10627 </xccdf:Group>
10628 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.2">
10629 <xccdf:title xml:lang="en">Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
10630 <xccdf:description xml:lang="en">
10631 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
10632 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10633 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10634 server local-server.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10635 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10636 where local-server.example.com is the
10637 hostname of the site's local NTP or SNTP server.</xccdf:description>
10638 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false" severity="high" weight="10.0">
10639 <xccdf:title>Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
10640 <xccdf:description>The ntp daemon synchronization server should be set appropriately</xccdf:description>
10641 <xccdf:ident system="http://cce.mitre.org">CCE-3487-6</xccdf:ident>
10642 <xccdf:fixtext>(1) via /usr/local/etc/ntpd.conf</xccdf:fixtext>
10643 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10644 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20286"/>
10645 </xccdf:check>
10646 </xccdf:Rule>
10647 </xccdf:Group>
10648 </xccdf:Group>
10649 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3">
10650 <xccdf:title xml:lang="en">Configure an SNTP Server</xccdf:title>
10651 <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>
10652 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.1">
10653 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10654 <xccdf:description xml:lang="en">
10655 Edit the file /etc/rc.local. Add or correct the following
10656 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10657 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10658 /usr/local/sbin/ntpd -s <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10659 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10660 Since OpenNTPD is third-party software, it does not have
10661 a standard startup script, so the daemon is started at boot using the local facility.</xccdf:description>
10662 </xccdf:Group>
10663 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.2">
10664 <xccdf:title xml:lang="en">Listen for Client Connections</xccdf:title>
10665 <xccdf:description xml:lang="en">
10666 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
10667 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10668 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10669 listen on ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10671 where ipaddr is the primary IP address of this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10672 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10673 By default, ntpd does not listen for any connections over a network. Listening
10674 must be actively enabled on NTP servers so that clients may obtain time data.</xccdf:description>
10675 </xccdf:Group>
10676 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.3">
10677 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
10678 <xccdf:description xml:lang="en">
10679 Determine an appropriate network block, netwk , and network
10680 mask, mask , representing the machines on your network which will synchronize to this
10681 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10683 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears
10684 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10685 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10686 -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"/>
10687 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10688 The iptables configuration is needed because the default iptables configuration does
10689 not allow inbound access to any services. See Section 2.5.5 for more information about
10690 iptables.</xccdf:description>
10691 </xccdf:Group>
10692 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.4">
10693 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
10694 <xccdf:description xml:lang="en">
10695 Find the hostname, server-host , of an appropriate remote NTP
10696 server. Edit the file /usr/local/etc/ ntpd.conf, and add or correct the following
10697 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10698 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10699 server server-host <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10700 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10701 This setting configures ntpd to obtain time data from the
10702 remote host. To use multiple time servers, add one line for each server.</xccdf:description>
10703 </xccdf:Group>
10704 </xccdf:Group>
10705 </xccdf:Group>
10706 </xccdf:Group>
10707 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11">
10708 <xccdf:title xml:lang="en">Mail Transfer Agent</xccdf:title>
10709 <xccdf:description xml:lang="en">
10710 Mail servers are used to send and receive mail over a network on
10711 behalf of site users. Mail is a very common service, and MTAs are frequent targets of
10712 network attack. Ensure that machines are not running MTAs unnecessarily, and configure
10713 needed MTAs as defensively as possible.</xccdf:description>
10714 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.a" selected="false" severity="low" weight="10.0">
10715 <xccdf:title>Mail Transfer Agent</xccdf:title>
10716 <xccdf:description>The sendmail service should be disabled.</xccdf:description>
10717 <xccdf:ident system="http://cce.mitre.org">CCE-4416-4</xccdf:ident>
10718 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10719 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10720 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20287"/>
10721 </xccdf:check>
10722 </xccdf:Rule>
10723 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.1">
10724 <xccdf:title xml:lang="en">Select Mail Server Software and Configuration</xccdf:title>
10725 <xccdf:description xml:lang="en">
10726 Select one of the following options for configuring e-mail on the
10727 machine: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10728 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>If this machine does not need to operate as a mail server, follow the
10729 instructions in Section 3.11.2 to run sendmail in submission-only mode.</xhtml:li><xhtml:li>If the machine
10730 must operate as a mail server, read the strategies for MTA configuration in Section 3.11.3
10731 for information about configuration options. Then apply both the MTA-independent operating
10732 system configuration guidance in Section 3.11.4, and the specific guidance for your MTA:
10733 <xhtml:ul><xhtml:li>If the Sendmail MTA is preferred, see Section 3.11.5. </xhtml:li><xhtml:li>If the Postfix MTA is preferred, see Section 3.11.6. </xhtml:li><xhtml:li>If another MTA is preferred, use that MTA's documentation to
10734 implement the ideas in Section 3.11.3. </xhtml:li></xhtml:ul>
10735 </xhtml:li></xhtml:ul>
10736 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10737 It is recommended that very few machines at any
10738 site be configured to receive mail over a network. However, it may be necessary for most
10739 machines at a given site to send e-mail, for instance so that cron jobs can report output
10740 to an administrator. Sendmail supports a submission-only mode in which mail can be sent
10741 from the machine to a central site MTA, but the machine cannot receive mail over a
10742 network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10743 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10744 If a Mail Transfer Agent (MTA) is needed, the system default is Sendmail.
10745 Postfix, a popular alternative written with security in mind, is also available. Postfix
10746 can be more effectively contained by SELinux as its modular design has resulted in
10747 separate processes performing specific actions. More information on these MTAs is
10748 available from their respective websites, http://www.sendmail.org and
10749 http://www.postfix.org.</xccdf:description>
10750 <xccdf:reference>Hildebrandt, R., and Koetter, P. The Book of Postfix. No Starch Press, 2005</xccdf:reference>
10751 </xccdf:Group>
10752 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2">
10753 <xccdf:title xml:lang="en">Configure SMTP For Mail Client</xccdf:title>
10754 <xccdf:description xml:lang="en">
10755 This guide discusses the use of Sendmail for submission-only
10756 e-mail configuration. It is also possible to use Postfix.</xccdf:description>
10757 <xccdf:reference>Hunt, C. Sendmail Cookbook. O’Reilly and Associates, 2003</xccdf:reference>
10758 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.1">
10759 <xccdf:title xml:lang="en">Disable the Listening Sendmail Daemon</xccdf:title>
10760 <xccdf:description xml:lang="en">
10761 Edit the file /etc/sysconfig/sendmail. Add or modify the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10762 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10763 DAEMON=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10765 The MTA performs two functions: listening over a network for incoming SMTP
10766 e-mail requests, and sending mail from the local machine. Since outbound mail may be
10767 delayed due to network outages or other problems, the outbound MTA runs in a queue-only
10768 mode, in which it periodically attempts to resend any delayed mail. Setting DAEMON=no
10769 tells sendmail to execute only the queue runner on this machine, and never to receive
10770 SMTP mail requests.</xccdf:description>
10771 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false" weight="10.0">
10772 <xccdf:title>Disable the Listening Sendmail Daemon</xccdf:title>
10773 <xccdf:description>The listening sendmail daemon should be disabled.</xccdf:description>
10774 <xccdf:ident system="http://cce.mitre.org">CCE-4293-7</xccdf:ident>
10775 <xccdf:fixtext>(1) via /etc/sysconfig/sendmail</xccdf:fixtext>
10776 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10777 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20288"/>
10778 </xccdf:check>
10779 </xccdf:Rule>
10780 </xccdf:Group>
10781 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.2">
10782 <xccdf:title xml:lang="en">Configure Mail Submission if Appropriate</xccdf:title>
10783 <xccdf:description xml:lang="en">
10784 If it is appropriate to configure mail submission with a
10785 central MTA, edit /etc/mail/submit.cf. Locate the line beginning with D{MTAHost}, and
10786 modify it to read: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10787 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10788 D{MTAHost}mailserver <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10789 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10790 where mailserver is the hostname of the server
10791 to which this machine should forward its outgoing mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10792 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10793 This suggestion is provided as a
10794 simple way to migrate away from a configuration in which each machine at a site runs its
10795 own MTA, to a configuration in which client machines do not run listening daemons. If
10796 this modification is made to /etc/mail/submit.cf, then, when a local process on a
10797 machine attempts to send mail, the message will be forwarded to the machine mailserver
10798 for processing. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10799 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10800 Modifying /etc/mail/submit.cf directly is only appropriate if your site
10801 does not perform any other mailserver customization on clients. If other customization
10802 is done, use your usual Sendmail change procedure to define the MTA host. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10804 Note: In
10805 addition to making this change on the client, it may also be necessary to reconfigure
10806 the MTA on mailserver so that it will relay mail on behalf of this host.</xccdf:description>
10807 </xccdf:Group>
10808 </xccdf:Group>
10809 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3">
10810 <xccdf:title xml:lang="en">Strategies for MTA Security</xccdf:title>
10811 <xccdf:description xml:lang="en">
10812 This section discusses several types of MTA configuration which
10813 should be performed in order to protect against attacks involving the mail system. Though
10814 configuration syntax will differ depending on which MTA is in use (see Section 3.11.5 for
10815 Sendmail configuration syntax and Section 3.11.6 for Postfix), these strategies are
10816 generally advisable for any MTA, including ones not covered by this guide.</xccdf:description>
10817 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.1">
10818 <xccdf:title xml:lang="en">Use Resource Limits to Mitigate Denial of Service</xccdf:title>
10819 <xccdf:description xml:lang="en">
10820 It is often desirable to constrain an attacker's ability to
10821 consume a mail server's resources simply by sending otherwise valid mail at a high rate,
10822 whether maliciously or accidentally. Relevant resource limits include con106 CHAPTER 3.
10823 SERVICES straints on: the number of MTA daemons which may run at one time, the rate at
10824 which incoming messages may be received, the size and complexity of each message, or the
10825 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"/>
10826 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10827 That last parameter deserves additional explanation. Most MTAs require queue space for
10828 temporary files in order to process existing messages in their queues. Therefore, if the
10829 queue filesystem is allowed to fill completely in a denial of service, the MTA will not
10830 be able to clear its own queue even when the malicious traffic has stopped. This will
10831 delay recovery from an attack.</xccdf:description>
10832 </xccdf:Group>
10833 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.2">
10834 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
10835 <xccdf:description xml:lang="en">
10836 When remote mail senders connect to the MTA on port 25, they
10837 are greeted by an initial banner as part of the SMTP dialogue. This banner is necessary,
10838 but it frequently gives away too much information, including the MTA software which is
10839 in use, and sometimes also its version number. Remote mail senders do not need this
10840 information in order to send mail, so the banner should be changed to reveal only the
10841 hostname (which is already known and may be useful) and the word ESMTP, to indicate that
10842 the modern SMTP protocol variant is supported.</xccdf:description>
10843 </xccdf:Group>
10844 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.3">
10845 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
10846 <xccdf:description xml:lang="en">
10847 The sending of Unsolicited Bulk E-mail, referred to variously
10848 as UBE, UCE, or spam, is a major problem on the Internet today. The security
10849 implications of spam are that it operates as a Denial of Service attack on legitimate
10850 e-mail use. Strategies for fighting spam receipt at your site are complex and quickly
10851 evolving, and thus far beyond the scope of this guide. The problem of relaying
10852 unauthorized e-mail, however, can and should be addressed by any network-connected site.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10853 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10854 Most MTAs perform two functions: to accept mail from remote sites on behalf of local
10855 users, and to allow local users to send mail to remote sites. The former function is
10856 relatively easy — mail whose recipient address is local can be assumed to be destined
10857 for a local user. The latter function is more complex. Since it is typically considered
10858 neither secure nor desirable for users to log in to the MTA host itself to send mail,
10859 the MTA must be able to remotely accept mail addressed to anyone from the user's
10860 workstation. If the MTA is running very old software or is configured poorly, it can be
10861 possible for attackers to take advantage of this feature, using your MTA to relay their
10862 spam from one remote site to another. This is undesirable for many reasons, not least
10863 that your site will quickly be denylisted as a spam source, leaving you unable to send
10864 legitimate e-mail to your correspondents. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10866 The simplest solution described in this guide
10867 is to configure the MTA to relay mail only from the local site's address range, and some
10868 variant on this is the default for most modern MTAs. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10869 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10870 That solution may be insufficient
10871 for sites whose users need to send mail from remote machines, for instance while
10872 travelling, as well as for sites where mail submission must be accepted from network
10873 ranges which are not considered secure, either because authorized machines are unmanaged
10874 or because it is possible to connect unauthorized machines to the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10876 If remote or
10877 mobile hosts are authorized to relay, or if local clients exist in insecure netblocks,
10878 the SMTP AUTH protocol should be used to require mail senders to authenticate before
10879 submitting messages. For better protection and to allow support for a wide range of
10880 authentication mechanisms without sending passwords over a network in clear text, SMTP
10881 AUTH transactions should be encrypted using SSL. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10882 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10883 Another approach is to require mail to
10884 be submitted on port 587, the designated Message Submission Port. Use of a separate port
10885 allows the mail relay function to be entirely separated from the mail delivery function.
10886 This may become a best practice in the future, but description of how to configure the
10887 Message Submission Port is currently beyond the scope of this guide. See RFC 2476 for
10888 information about this configuration.</xccdf:description>
10889 </xccdf:Group>
10890 </xccdf:Group>
10891 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4">
10892 <xccdf:title xml:lang="en">Configure Operating System to Protect Mail Server</xccdf:title>
10893 <xccdf:description xml:lang="en">
10894 The guidance in this section is appropriate for any host which is
10895 operating as a site MTA, whether the mail server runs using Sendmail, Postfix, or some
10896 other software.</xccdf:description>
10897 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.1">
10898 <xccdf:title xml:lang="en">Use Separate Hosts for External and Internal Mail if Possible</xccdf:title>
10899 <xccdf:description xml:lang="en">
10900 The mail server is a frequent target of network attack from the
10901 outside. However, since all site users receive mail, the mail server must be open to
10902 some connection from each inside users. It is strongly recommended that these functions
10903 be separated, by having an externally visible mail server which processes all incoming
10904 and outgoing mail, then forwards internal mail to a separate machine from which users
10905 can access it.</xccdf:description>
10906 </xccdf:Group>
10907 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.2">
10908 <xccdf:title xml:lang="en">Protect the MTA Host from User Access</xccdf:title>
10909 <xccdf:description xml:lang="en">
10910 The mail server contains privileged data belonging to all users
10911 and performs a vital network function. Preventing users from logging into this server is
10912 a precaution against privilege escalation or denial of service attacks which might
10913 compromise the mail service. Take steps to ensure that only system administrators are
10914 allowed shell access to the MTA host.</xccdf:description>
10915 </xccdf:Group>
10916 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.3">
10917 <xccdf:title xml:lang="en">Restrict Remote Access to the Mail Spool</xccdf:title>
10918 <xccdf:description xml:lang="en">
10919 If users directly connect to this machine to receive mail,
10920 ensure that there is a single, well-secured mechanism for access to the directory
10921 /var/spool/mail (the directory /var/mail is a symlink to this). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10922 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10923 Allowing unrestricted
10924 access to /var/spool/mail can be dangerous, since this directory contains sensitive
10925 information belonging to all users. Protocols such as NFS, which have an insecure
10926 authorization mechanism by default, should be considered insufficient for these
10927 purposes. See Section 3.17 for details on secure configuration of POP3 or IMAP, which
10928 are the preferred ways to provide user access to mail.</xccdf:description>
10929 </xccdf:Group>
10930 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.4">
10931 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Mail Server</xccdf:title>
10932 <xccdf:description xml:lang="en">
10933 Edit /etc/sysconfig/iptables. Add the following line, ensuring
10934 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"/>
10935 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10936 -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"/>
10937 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10938 The default
10939 Iptables configuration does not allow inbound access to the SMTP service. This
10940 modification allows that access, while keeping other ports on the server in their
10941 default protected state. See Section 2.5.5 for more information about Iptables.</xccdf:description>
10942 </xccdf:Group>
10943 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.5">
10944 <xccdf:title xml:lang="en">Verify System Logging and Log Permissions for Mail</xccdf:title>
10945 <xccdf:description xml:lang="en">
10946 Edit the file /etc/syslog.conf. Add or correct the following
10947 line if necessary (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10949 mail.* -/var/log/maillog <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10951 Run the following commands to ensure correct permissions on the mail log: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10952 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10953 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /var/log/maillog <xhtml:br/>
10954 # chmod 600 /var/log/maillog <xhtml:br/></xhtml:code>
10955 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10956 The mail server logs contain a record of
10957 every e-mail which is sent or received on the system, which is considered sensitive
10958 information by most sites. It is necessary that these logs be collected for purposes of
10959 debugging and statistics, but their contents should be protected from unauthorized
10960 access.</xccdf:description>
10961 </xccdf:Group>
10962 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6">
10963 <xccdf:title xml:lang="en">Configure SSL Certificates for Use with SMTP AUTH</xccdf:title>
10964 <xccdf:description xml:lang="en">
10965 If SMTP AUTH is to be used (see Section 3.11.3.3 for a
10966 description of possible anti-relaying mechanisms), the use of SSL to protect credentials
10967 in transit is strongly recommended. There are also configurations for which it may be
10968 desirable to encrypt all mail in transit from one MTA to another, though such
10969 configurations are beyond the scope of this guide. In either event, the steps for
10970 creating and installing an SSL certificate are independent of the MTA in use, and are
10971 described here.</xccdf:description>
10972 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.1">
10973 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
10974 <xccdf:description xml:lang="en">
10975 Note: This step must be performed on your CA system, not on
10976 the MTA host itself. If you will have a commercial CA sign certificates, then this
10977 step should be performed on a separate, physically secure system devoted to that
10978 purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10979 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10980 Change into the CA certificate directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10981 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10982 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
10983 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10984 Generate a key pair for the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10985 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10986 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out mailserverkey.pem 2048 <xhtml:br/></xhtml:code>
10987 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10988 Next,
10989 generate a certificate signing request (CSR) for the CA to sign, making sure to supply
10990 your mail server's fully qualified domain name as the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10991 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10992 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key mailserverkey.pem -out mailserver.csr <xhtml:br/></xhtml:code>
10993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10994 Next, the mail server CSR must be signed to
10995 create the mail server certificate. You can either send the CSR to an established CA
10996 or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10997 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10998 To sign mailserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10999 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11000 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in mailserver.csr -out mailservercert.pem <xhtml:br/></xhtml:code>
11001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11002 This step creates a private key,
11003 mailserverkey.pem, and a public certificate, mailservercert.pem. The mail server will
11004 use these to prove its identity by demonstrating that it has a certificate which has
11005 been signed by a CA. Mail clients at your site should be willing to send their mail
11006 only to a server they can authenticate.</xccdf:description>
11007 </xccdf:Group>
11008 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.2">
11009 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
11010 <xccdf:description xml:lang="en">
11011 Create the PKI directory for mail certificates, if it does
11012 not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11013 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11014 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/mail <xhtml:br/>
11015 # chown root:root /etc/pki/tls/mail <xhtml:br/>
11016 # chmod 755 /etc/pki/tls/mail <xhtml:br/></xhtml:code>
11017 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11018 Using removable media or some other secure transmission
11019 format, install the files generated in the previous step onto the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11021 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>/etc/pki/tls/mail/serverkey.pem: the private key mailserverkey.pem</xhtml:li><xhtml:li>/etc/pki/tls/mail/servercert.pem: the certificate file mailservercert.pem</xhtml:li></xhtml:ul>
11022 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11023 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11025 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11026 # chown root:root /etc/pki/tls/mail/servercert.pem <xhtml:br/>
11027 # chmod 600 /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11028 # chmod 644 /etc/pki/tls/mail/servercert.pem<xhtml:br/></xhtml:code>
11029 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11030 Verify that the CA's public certificate file has been installed as
11031 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11033 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11034 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
11035 </xccdf:Group>
11036 </xccdf:Group>
11037 </xccdf:Group>
11038 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5">
11039 <xccdf:title xml:lang="en">Configure Sendmail Server if Necessary</xccdf:title>
11040 <xccdf:description xml:lang="en">
11041 When sendmail is configured to act as a server for incoming mail,
11042 it listens on port 25 for connections, and responds to those connections using the
11043 configuration in /etc/mail/sendmail.cf. This file has a somewhat opaque format, and
11044 modifying it directly is generally not recommended. Instead, the following procedure
11045 should be used to modify the sendmail configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11046 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11047 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Install the sendmail-cf RPM, which
11048 is required in order to compile a new configuration file: <xhtml:br/>
11049 <xhtml:br/>
11050 <xhtml:code># yum install sendmail-cf<xhtml:br/></xhtml:code></xhtml:li><xhtml:li>Edit the M4 source file /etc/mail/sendmail.mc as directed by the configuration step you
11051 are applying. </xhtml:li><xhtml:li>Inside the directory /etc/mail/, use make to build the configuration
11052 according to the Makefile provided by Sendmail: <xhtml:br/>
11053 <xhtml:br/>
11054 <xhtml:code># cd /etc/mail <xhtml:br/>
11055 # make sendmail.cf</xhtml:code></xhtml:li></xhtml:ol></xccdf:description>
11056 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.1">
11057 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11058 <xccdf:description xml:lang="en">
11059 Edit /etc/mail/sendmail.mc, and add or correct the following
11060 options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11062 define(`confMAX_DAEMON_CHILDREN',`40')dnl
11063 define(`confCONNECTION_RATE_THROTTLE', `3 ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11064 define(`confMIN_FREE_BLOCKS',`20971520')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11065 define(`confMAX_HEADERS_LENGTH',`51200')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11066 define(`confMAX_MESSAGE_SIZE',`10485760')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11067 define(`confMAX_RCPTS_PER_MESSAGE',`100')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11068 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11069 Note: The values given here are examples, and may need to be modified for any
11070 particular site, especially one with high e-mail volume. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11071 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11072 These configuration options
11073 serve to make it more difficult for attackers to consume resources on the MTA host. (See
11074 Section 3.11.3.1 for details on why this is done.) The MAX DAEMON CHILDREN option limits
11075 the number of sendmail processes which may be deployed to handle incoming connections at
11076 any one time, while CONNECTION RATE THROTTLE limits the number of connections per second
11077 which each listener may receive. The MIN FREE BLOCKS option stops e-mail receipt when
11078 the queue filesystem is close to full. The MAX HEADERS LENGTH (bytes), MAX MESSAGE SIZE
11079 (bytes), and MAX RCPTS PER MESSAGE (distinct recipients) options place bounds on the
11080 legal sizes of messages received via SMTP.</xccdf:description>
11081 </xccdf:Group>
11082 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.2">
11083 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11084 <xccdf:description xml:lang="en">
11085 Edit /etc/mail/sendmail.mc, and add or correct the following
11086 line, substituting an appropriate greeting string for $j : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11087 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11088 define(`confSMTP_LOGIN_MSG', `$j ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11089 and recompile sendmail's configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11090 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11091 The default greeting banner discloses
11092 that the listening mail process is Sendmail rather than some other MTA, and also
11093 provides the version number. See Section 2.3.7 for more about warning banners, and
11094 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11096 The Sendmail variable $j contains the hostname of the mail server, which may be an
11097 appropriate greeting string for most environments.</xccdf:description>
11098 </xccdf:Group>
11099 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3">
11100 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11101 <xccdf:description xml:lang="en">
11102 This guide will discuss two mechanisms for controlling mail
11103 relaying in Sendmail. The /etc/mail/relay-domains file contains a list of hostnames that
11104 are allowed to relay mail. Follow the guidance in Section 3.11.5.3.1 to configure
11105 relaying for trusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11107 If there are machines which must be allowed to relay
11108 mail, but which cannot be trusted to relay unconditionally, configure SMTP AUTH with TLS
11109 support using the guidance in Sections 3.11.5.3.2 and following.</xccdf:description>
11110 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.1">
11111 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11112 <xccdf:description xml:lang="en"><xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>If all machines which share a common domain or subdomain
11113 name may relay, then edit /etc/mail/ relay-domains, adding a line for each domain or
11114 subdomain, e.g.: <xhtml:br/>
11115 <xhtml:br/>
11116 example.com <xhtml:br/>
11117 trusted-subnet.school.edu <xhtml:br/>
11118 ... </xhtml:li><xhtml:li>If the machines which are
11119 allowed to relay must be specified on a per-host basis, then edit /etc/mail/
11120 relay-domains, adding a line for each such host: <xhtml:br/>
11121 <xhtml:br/>
11122 host1.example.com<xhtml:br/>
11123 host5.subnet.example.com <xhtml:br/>
11124 smtp.trusted-subnet.school.edu <xhtml:br/>
11125 <xhtml:br/>
11126 Then edit /etc/mail/sendmail.mc, add or correct the line: <xhtml:br/>
11127 <xhtml:br/>
11128 FEATURE(`relay_hosts_only')dnl <xhtml:br/>
11129 <xhtml:br/>
11130 and recompile sendmail's configuration. </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11131 The file /etc/mail/relay-domains must contain only
11132 the set of machines for which this MTA should unconditionally relay mail. This
11133 configures both inbound and outbound relaying, that is, hosts mentioned in
11134 relay-domains may send mail through the MTA, and the MTA will also accept inbound mail
11135 addressed to such hosts. This is a trust relationship — if spammers gain access to
11136 these machines, your site will effectively become an open relay. It is recommended
11137 that only machines which are managed by you or by another trusted organization be
11138 placed in relay-domains, and that users of all other machines be required to use SMTP
11139 AUTH to send mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11140 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11141 Note: The relay-domains file must be configured to contain either a
11142 list of domains (in which case every host in each of those domains will be allowed to
11143 relay) or a list of hosts (in which case each individual relaying host must be listed
11144 and the sendmail.cf must be reconfigured to interpret the relay-domains file in the
11145 desired way).</xccdf:description>
11146 </xccdf:Group>
11147 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.2">
11148 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11149 <xccdf:description xml:lang="en">
11150 By default, Sendmail uses the Cyrus-SASL library to provide
11151 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11152 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11153 To enable the use of SASL authentication for relaying, edit
11154 /etc/mail/sendmail.mc and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11155 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11156 TRUST_AUTH_MECH(`LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11157 define(`confAUTH_MECHANISMS', `LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11158 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11159 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11160 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11161 Then edit /usr/lib/sasl2/Sendmail.conf and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11162 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11163 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11164 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11165 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11166 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11167 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11168 The AUTH MECHANISMS configuration option tells sendmail to allow the
11169 specified authentication mechanisms to be used during the SMTP dialogue. The two
11170 listed mechanisms use SASL to test a password provided by the user. Since these
11171 mechanisms transmit plaintext passwords, they should be protected using TLS as
11172 described in the next section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11173 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11174 The TRUST AUTH MECH command tells sendmail that senders
11175 who successfully authenticate using the specified mechanism may relay mail through
11176 this MTA even if their addresses are not in relay-domains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11177 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11178 The file
11179 /usr/lib/sasl/Sendmail.conf is the Cyrus-SASL configuration file for Sendmail. The
11180 pwcheck method directive tells SASL how to find passwords. The simplest method,
11181 described here, is to run a separate authentication daemon, saslauthd, which is able
11182 to communicate with the system authentication service. On Red Hat, saslauthd uses PAM
11183 by default, which should work in most cases. If you have a centralized authentication
11184 system which does not work via PAM, look at the saslauthd(8) manpage to determine how
11185 to configure saslauthd for your environment.</xccdf:description>
11186 </xccdf:Group>
11187 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.3">
11188 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11189 <xccdf:description xml:lang="en">
11190 Edit /etc/mail/sendmail.mc, add or correct the following
11191 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11192 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11193 define(`confAUTH_OPTIONS', `A p')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11194 define(`confCACERT_PATH', `/etc/pki/tls/CA')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11195 define(`confCACERT', `/etc/pki/tls/CA/cacert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11196 define(`confSERVER_CERT', `/etc/pki/tls/mail/servercert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11197 define(`confSERVER_KEY', `/etc/pki/tls/mail/serverkey.pem')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11198 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11199 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11201 These options, combined with the previous settings, tell Sendmail to
11202 protect all SMTP AUTH transactions using TLS. The first four options describe the
11203 location of the necessary TLS certificate and key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11205 The AUTH OPTIONS parameter
11206 configures the SMTP AUTH dialogue. The A option is enabled by default, and simply says
11207 that authentication is allowed if an appropriate mechanism can be found. The p option
11208 tells Sendmail to protect against passive attacks. The PLAIN and LOGIN authentication
11209 mechanisms, recommended by this guide for compatibility with PAM, send passwords in
11210 the clear. (Cleartext password transmissions are vulnerable to passive attack.)
11211 Therefore, if p is set, the SMTP daemon will not make the AUTH command available until
11212 after the client has used the STARTTLS command to encrypt the session. If other
11213 authentication mechanisms were enabled which did not send passwords in the clear, then
11214 TLS would not necessarily be required.</xccdf:description>
11215 </xccdf:Group>
11216 </xccdf:Group>
11217 </xccdf:Group>
11218 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6">
11219 <xccdf:title xml:lang="en">Configure Postfix if Necessary</xccdf:title>
11220 <xccdf:description xml:lang="en">
11221 Postfix stores its configuration files in the directory
11222 /etc/postfix by default. The primary configuration file is /etc/postfix/main.cf. Other
11223 files will be introduced as needed.</xccdf:description>
11224 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.1">
11225 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11226 <xccdf:description xml:lang="en">
11227 Edit /etc/postfix/main.cf. Add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11228 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11229 default_process_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11230 smtpd_client_connection_count_limit = 10<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11231 smtpd_client_connection_rate_limit = 30 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11232 queue_minfree = 20971520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11233 header_size_limit = 51200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11234 message_size_limit = 10485760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11235 smtpd_recipient_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11236 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11237 Note: The values given
11238 here are examples, and may need to be modified for any particular site. By default, the
11239 Postfix anvil process gathers mail receipt statistics. To get information about about
11240 what connection rates are typical at your site, look in /var/log/maillog for lines with
11241 the daemon name postfix/anvil. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11242 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11243 These configuration options serve to make it more
11244 difficult for attackers to consume resources on the MTA host. (See Section 3.11.3.1 for
11245 details on why this is done.) The default process limit parameter controls how many
11246 smtpd processes can exist at a time, while smtpd_client_connection_count_limit controls
11247 the number of those which can be occupied by any one remote sender, and
11248 smtpd_client_connection_rate_limit controls the number of connections any one client
11249 can make per minute. By default, local hosts (those in mynetworks) are exempted from
11250 per-client rate limiting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11251 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11252 The queue_minfree parameter establishes a free space threshold, in order to
11253 stop e-mail receipt before the queue filesystem is entirely full. The header_size_limit,
11254 message_size_limit, and smtpd recipient limit parameters place bounds on the legal sizes
11255 of messages received via SMTP.</xccdf:description>
11256 </xccdf:Group>
11257 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.2">
11258 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11259 <xccdf:description xml:lang="en">
11260 Edit /etc/postfix/main.cf, and add or correct the following
11261 line, substituting some other wording for the banner information if you prefer:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11262 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11263 smtpd_banner = $myhostname ESMTP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11264 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11265 The default greeting banner discloses that the
11266 listening mail process is Postfix. See Section 2.3.7 for more about warning banners, and
11267 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular.</xccdf:description>
11268 </xccdf:Group>
11269 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3">
11270 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11271 <xccdf:description xml:lang="en">
11272 Postfix's mail relay controls are implemented with the help of
11273 the smtpd recipient restrictions option, which controls the restrictions placed on the
11274 SMTP dialogue once the sender and recipient envelope addresses are known. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11275 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11276 The guidance
11277 in Sections 3.11.6.3.1–3.11.6.3.2 should be applied to all machines. If there are
11278 machines which must be allowed to relay mail, but which cannot be trusted to relay
11279 unconditionally, configure SMTP AUTH with SSL support using the guidance in Sections
11280 3.11.6.3.3 and following.</xccdf:description>
11281 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.1">
11282 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11283 <xccdf:description xml:lang="en">
11284 Edit /etc/postfix/main.cf, and configure the contents of the
11285 mynetworks variable in one of the following ways: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11286 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11287 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>If any machine in the subnet
11288 containing the MTA may be trusted to relay messages, add or correct the line:<xhtml:br/>
11289 <xhtml:br/>
11290 mynetworks_style = subnet </xhtml:li><xhtml:li>If only the MTA host itself is trusted to relay messages,
11291 add or correct: <xhtml:br/>
11292 <xhtml:br/>
11293 mynetworks_style = host </xhtml:li><xhtml:li>If the set of machines which can relay is
11294 more complicated, manually specify an entry for each netblock or IP address which is
11295 trusted to relay by setting the mynetworks variable directly: <xhtml:br/>
11296 <xhtml:br/>
11297 mynetworks = 10.0.0.0/16 , 192.168.1.0/24 , 127.0.0.1 </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11299 The mynetworks variable must contain only the set of
11300 machines for which this MTA should unconditionally relay mail. This is a trust
11301 relationship — if spammers gain access to these machines, your site will effectively
11302 become an open relay. It is recommended that only machines which are managed by you or
11303 by another trusted organization be placed in mynetworks, and users of all other
11304 machines be required to use SMTP AUTH to send mail.</xccdf:description>
11305 </xccdf:Group>
11306 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.2">
11307 <xccdf:title xml:lang="en">Allow Unlimited Relaying for Trusted Networks Only</xccdf:title>
11308 <xccdf:description xml:lang="en">
11309 Edit /etc/postfix/main.cf, and add or correct the smtpd
11310 recipient restrictions definition so that it contains at least:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11311 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11312 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11313 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11314 permit_mynetworks, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11315 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11316 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11317 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11318 The full contents of smtpd recipient restrictions will vary by site, since this is a
11319 common place to put spam restrictions and other site-specific options. The permit
11320 mynetworks option allows all mail to be relayed from the machines in mynetworks. Then,
11321 the reject unauth destination option denies all mail whose destination address is not
11322 local, preventing any other machines from relaying. These two options should always
11323 appear in this order, and should usually follow one another immediately unless SMTP
11324 AUTH is used.</xccdf:description>
11325 </xccdf:Group>
11326 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.3">
11327 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11328 <xccdf:description xml:lang="en">
11329 SMTP authentication allows remote clients to relay mail
11330 safely by requiring them to authenticate before submitting mail. Postfix's SMTP AUTH
11331 uses an authentication library called SASL, which is not part of Postfix itself. This
11332 section describes how to configure authentication using the Cyrus-SASL implementation.
11333 See below for a discussion of other options. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11334 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11335 To enable the use of SASL authentication,
11336 edit /etc/postfix/main.cf and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11337 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11338 smtpd_sasl_auth_enable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11339 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11340 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11341 permit_mynetworks,<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11342 permit_sasl_authenticated, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11343 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11344 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11345 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11346 Then edit
11347 /usr/lib/sasl/smtpd.conf and add or correct the following line with the correct
11348 authentication mechanism for SASL to use: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11350 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11352 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11353 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11354 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11355 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11356 Postfix can use either the Cyrus library or
11357 Dovecot as a source for SASL authentication. If this host is running Dovecot for some
11358 other reason, it is recommended that Dovecot's SASL support be used instead of running
11359 the Cyrus code as well. See http://www.postfix.org/SASL README.html for instructions
11360 on implementing that configuration, which is not described in this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11362 In Postfix's
11363 configuration, the directive smtpd sasl auth enable tells smtpd to allow the use of
11364 the SMTP AUTH command during the SMTP dialogue, and to support that command by getting
11365 authentication information from SASL. The smtpd recipient restrictions directive is
11366 changed so that, if the client is not connecting from a trusted address, it is allowed
11367 to attempt authentication (permit sasl authenticated) in order to relay mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11368 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11369 The file
11370 /usr/lib/sasl/smtpd.conf is the Cyrus-SASL configuration file. The pwcheck method
11371 directive tells SASL how to find passwords. The simplest method, described above, is
11372 to run a separate authentication daemon, saslauthd, which is able to communicate with
11373 the system authentication system. On RHEL5, saslauthd uses PAM by default, which
11374 should work in most cases. If you have a centralized authentication system which does
11375 not work via PAM, look at the saslauthd(8) manpage to find out how to configure
11376 saslauthd for your environment.</xccdf:description>
11377 </xccdf:Group>
11378 </xccdf:Group>
11379 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.4">
11380 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11381 <xccdf:description xml:lang="en">
11382 Edit /etc/postfix/main.cf, and add or correct the following
11383 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11384 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11385 smtpd_tls_CApath = /etc/pki/tls/CA <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11386 smtpd_tls_CAfile = /etc/pki/tls/CA/cacert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11387 smtpd_tls_cert_file = /etc/pki/tls/mail/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11388 smtpd_tls_key_file = /etc/pki/tls/mail/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11389 smtpd_tls_security_level = may <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11390 smtpd_tls_auth_only = yes<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11391 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11392 These options tell Postfix to protect all SMTP AUTH transactions using TLS. The first
11393 four options describe the locations of the necessary TLS key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11394 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11395 The smtpd_tls_security_level directive tells smtpd to allow the STARTTLS command during the SMTP
11396 protocol exchange, but not to require it for mail senders. (Unless your site receives
11397 mail only from other trusted sites whose sysadmins can be asked to maintain a copy of
11398 your site certificate, you do not want to require TLS for all SMTP exchanges.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11399 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11400 The smtpd_tls_auth_only directive tells smtpd to require the STARTTLS command before allowing the
11401 client to attempt to authenticate for relaying using SMTP AUTH. It may not be possible
11402 to use this directive if you must allow relaying from non-TLS-capable client software.
11403 If this is the case, simply omit that line.</xccdf:description>
11404 </xccdf:Group>
11405 </xccdf:Group>
11406 </xccdf:Group>
11407 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12">
11408 <xccdf:title xml:lang="en">LDAP</xccdf:title>
11409 <xccdf:description xml:lang="en">
11410 LDAP is a popular directory service, that is, a standardized way of
11411 looking up information from a central database. It is relatively simple to configure a RHEL5
11412 machine to obtain authentication information from an LDAP server. If your network uses LDAP
11413 for authentication, be sure to configure both clients and servers securely.</xccdf:description>
11414 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.1">
11415 <xccdf:title xml:lang="en">Use OpenLDAP to Provide LDAP Service if Possible</xccdf:title>
11416 <xccdf:description xml:lang="en">
11417 The system's default LDAP client/server program is called
11418 OpenLDAP. Its documentation is available at the project web page: http://www.openldap.org.</xccdf:description>
11419 </xccdf:Group>
11420 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2">
11421 <xccdf:title xml:lang="en">Configure OpenLDAP Clients</xccdf:title>
11422 <xccdf:description xml:lang="en">
11423 This guide recommends configuring OpenLDAP clients by manually
11424 editing the appropriate configuration files. RHEL5 provides an automated configuration
11425 tool called authconfig and a graphical wrapper for authconfig called
11426 system-config-authentication. However, these tools do not give sufficient flexibility over
11427 configuration. The authconfig tools do not allow you to specify locations of SSL
11428 certificate files, which is useful when trying to use SSL cleanly across several
11429 protocols. They are also overly aggressive in placing services such as netgroups and
11430 automounter maps under LDAP control, where it is safer to use LDAP only for services to
11431 which it is relevant in your environment.</xccdf:description>
11432 <xccdf:warning xml:lang="en">Before configuring any machine to be an LDAP client, ensure that
11433 a working LDAP server is present on the network. See Section 3.12.3 for instructions on
11434 configuring an LDAP server. </xccdf:warning>
11435 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.1">
11436 <xccdf:title xml:lang="en">Configure the Appropriate LDAP Parameters for the Domain</xccdf:title>
11437 <xccdf:description xml:lang="en">
11438 Assume the fully qualified host name of your LDAP server is
11439 ldap.example.com and the base DN of your domain is dc=example,dc=com (it is conventional
11440 to use the domain name as a base DN). Edit /etc/ldap. conf, and add or correct the
11441 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11442 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11443 base dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11444 uri ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11445 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11446 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11447 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11448 BASE dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11449 URI ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11450 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11451 The machine whose hostname is given here must be
11452 configured as an LDAP server, serving data identified by the base DN used here. See
11453 Section 3.12.3 for details on configuring an LDAP server.</xccdf:description>
11454 </xccdf:Group>
11455 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.2">
11456 <xccdf:title xml:lang="en">Configure LDAP to Use TLS for All Transactions</xccdf:title>
11457 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Ensure a copy of the site's CA certificate has been placed
11458 in the file /etc/pki/tls/CA/cacert.pem. </xhtml:li><xhtml:li>Configure LDAP to enforce TLS use and to
11459 trust certificates signed by the site's CA. First, edit the file /etc/ldap.conf, and add
11460 or correct the following lines: <xhtml:br/>
11461 <xhtml:br/>
11462 ssl start_tls <xhtml:br/>
11463 tls_checkpeer yes <xhtml:br/>
11464 tls_cacertdir /etc/pki/tls/CA <xhtml:br/>
11465 tls_cacertfile /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11466 <xhtml:br/>
11467 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br/>
11468 <xhtml:br/>
11469 TLS_CACERTDIR /etc/pki/tls/CA <xhtml:br/>
11470 TLS_CACERT /etc/pki/tls/CA/cacert.pem </xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11471 Section 2.5.6 describes the
11472 system-wide configuration of SSL for your enterprise. It is possible to place your
11473 certificate information under some directory other than /etc/pki/tls, but using a
11474 consistent directory structure across all SSL services at your site is recommended. The
11475 LDAP server must be configured with a certificate signed by the CA certificate named
11476 here.</xccdf:description>
11477 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false" weight="10.0">
11478 <xccdf:title>Configure LDAP to Use TLS for All Transactions</xccdf:title>
11479 <xccdf:description>Clients require LDAP servers to provide valid certificates for SSL communications.</xccdf:description>
11480 <xccdf:fixtext>(1) via /etc/ldap.conf</xccdf:fixtext>
11481 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11482 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202885"/>
11483 </xccdf:check>
11484 </xccdf:Rule>
11485 </xccdf:Group>
11486 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.3">
11487 <xccdf:title xml:lang="en">Configure Authentication Services to Use OpenLDAP</xccdf:title>
11488 <xccdf:description xml:lang="en">
11489 Edit the file /etc/ldap.conf, and add or correct the following
11490 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11491 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11492 pam_password md5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11493 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11494 Edit the file /etc/nsswitch.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11495 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11496 passwd: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11497 shadow: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11498 group: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11499 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11500 Edit the file
11501 /etc/pam.d/system-auth-ac. Make the following changes, which will add references to LDAP
11502 in each of the four sections of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11503 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11504 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Immediately before the last line in the auth
11505 section (the one containing pam_deny.so), insert the line: <xhtml:br/>
11506 <xhtml:br/>
11507 auth sufficient pam_ldap.so use_first_pass </xhtml:li><xhtml:li>Modify the first line in the account section by adding the option
11508 broken shadow. The line should then read: <xhtml:br/>
11509 <xhtml:br/>
11510 account required pam_unix.so broken_shadow </xhtml:li><xhtml:li>Immediately before the last line in the account section (the one containing pam
11511 permit.so), insert the line: <xhtml:br/>
11512 <xhtml:br/>
11513 account [default=bad success=ok user_unknown=ignore] pam_ldap.so </xhtml:li><xhtml:li>Immediately before the last line in the password section (the one
11514 containing pam_deny.so), insert the line: <xhtml:br/>
11515 <xhtml:br/>
11516 password sufficient pam_ldap.so use_authtok</xhtml:li><xhtml:li>At the end of the file (after the last line in the session section), append the line:<xhtml:br/>
11517 <xhtml:br/>
11518 session optional pam_ldap.so </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11519 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11520 The first modification tells LDAP to expect passwords in
11521 MD5 hash format, rather than clear text. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11522 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11523 Red Hat systems use the file /etc/nsswitch.conf
11524 to determine the appropriate sources to search for certain kinds of data, such as
11525 usernames, groups, hostnames, netgroups, or protocols. It is possible to manage many
11526 other types of data using LDAP, but this guide recommends that only usernames (passwd
11527 data), passwords (shadow data), and groups (group data) be managed using LDAP. If your
11528 site uses netgroups, it may be appropriate to manage these via LDAP as well. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11529 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11530 However,
11531 data which almost never changes, such as the contents of the /etc/services file, is a
11532 poor choice for central administration, since it introduces risk with little benefit. It
11533 is recommended that the automounter not be used at all, so LDAP control of automounter
11534 maps is unlikely to be appropriate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11535 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11536 The file /etc/pam.d/system-auth-ac is used by PAM to
11537 control access to most authenticated services. The syntax of the PAM configuration file
11538 is somewhat cryptic. The lines recommended here have the combined effect of using LDAP
11539 to find authentication data for users who cannot be found in the local /etc/passwd file.
11540 This means that, for instance, it is still possible to use a local root password. The
11541 details of options such as broken_shadow, use_authtok, and use_first_pass may be looked
11542 up in the man pages for the various PAM modules. Their basic effect is to attempt to
11543 authenticate given a password against both the local /etc/shadow and the central LDAP
11544 server, without forcing the user to type the password more than once. PAM configuration
11545 is discussed further in Section 2.3.3.</xccdf:description>
11546 </xccdf:Group>
11547 </xccdf:Group>
11548 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3">
11549 <xccdf:title xml:lang="en">Configure OpenLDAP Server</xccdf:title>
11550 <xccdf:description xml:lang="en">
11551 This section contains guidance on how to configure an OpenLDAP
11552 server to securely provide information for use in a centralized authentication service.
11553 This is not a comprehensive guide to maintaining an OpenLDAP server, but may be helpful in
11554 transitioning to an OpenLDAP infrastructure nonetheless.</xccdf:description>
11555 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.1">
11556 <xccdf:title xml:lang="en">Install OpenLDAP Server RPM</xccdf:title>
11557 <xccdf:description xml:lang="en">
11558 Is this machine the OpenLDAP server? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11559 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11560 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install openldap-servers <xhtml:br/>
11561 # chkconfig ldap on <xhtml:br/></xhtml:code>
11562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11563 The openldap-servers RPM is not installed by
11564 default on RHEL5 machines. It is needed only by the OpenLDAP server, not by the clients
11565 which use LDAP for authentication.</xccdf:description>
11566 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false" severity="low" weight="10.0">
11567 <xccdf:title>Disable OpenLDAP service</xccdf:title>
11568 <xccdf:description>The ldap service should be disabled.</xccdf:description>
11569 <xccdf:ident system="http://cce.mitre.org">CCE-3501-4</xccdf:ident>
11570 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
11571 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11572 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20289"/>
11573 </xccdf:check>
11574 </xccdf:Rule>
11575 </xccdf:Group>
11576 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.2">
11577 <xccdf:title xml:lang="en">Configure Domain-Specific Parameters</xccdf:title>
11578 <xccdf:description xml:lang="en">
11579 Edit the file /etc/openldap/slapd.conf. Add or correct the
11580 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11581 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11582 suffix "dc=example,dc=com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11583 rootdn "cn=Manager,dc=example,dc=com "<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11585 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"/>
11586 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11587 These are
11588 basic LDAP configuration directives. The suffix parameter gives the root name of all
11589 information served by this LDAP server, and should be some name related to your domain.
11590 The rootdn parameter names LDAP's privileged user, who is allowed to read or write all
11591 data managed by this LDAP server.</xccdf:description>
11592 </xccdf:Group>
11593 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.3">
11594 <xccdf:title xml:lang="en">Configure an LDAP Root Password</xccdf:title>
11595 <xccdf:description xml:lang="en">
11596 Ensure that the configuration file has reasonable permissions
11597 before putting the hashed root password in that file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11599 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/openldap/slapd.conf <xhtml:br/>
11600 # chmod 640 /etc/openldap/slapd.conf <xhtml:br/></xhtml:code>
11601 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11602 Generate a hashed password using the slappasswd utility: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11604 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># slappasswd <xhtml:br/></xhtml:code>
11605 New password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11606 Re-enter new password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11608 This
11609 will output a hashed password string. Edit the file /etc/openldap/slapd.conf, and add or
11610 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11612 rootpw {SSHA}hashed-password-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11614 Be sure to select a secure
11615 password for the LDAP root user, since this user has permission to read and write all
11616 LDAP data, so a compromise of the LDAP root password will probably enable a full
11617 compromise of your site. Protect configuration files containing the hashed password the
11618 same way you would protect other files, such as /etc/shadow, which contain hashed
11619 authentication data. In addition, be sure to use a reasonably strong hash function, such
11620 as SHA-1, rather than an insecure scheme such as crypt.</xccdf:description>
11621 <xccdf:description xml:lang="en">If you are using SHA-1, the hashed password string will begin with “{SHA}” or “{SSHA}”</xccdf:description>
11622 </xccdf:Group>
11623 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4">
11624 <xccdf:title xml:lang="en">Configure the LDAP Server to Require TLS for All Transactions</xccdf:title>
11625 <xccdf:description xml:lang="en">
11626 Because LDAP queries and responses, particularly those
11627 containing authentication information or other sensitive data, must be protected from
11628 disclosure or modification while in transit over the network, this guide recommends
11629 using SSL to protect all transactions. In order to do this, it is necessary to have a
11630 site-wide SSL infrastructure in which a CA certificate is used to verify that other
11631 certificates, such as that presented by the LDAP server to its clients, are authentic.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11632 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11633 Therefore, this procedure involves using the CA system to create a certificate for the
11634 LDAP server, then installing that certificate on the LDAP server and configuring slapd
11635 to require its use. See Section 2.5.6 for details about the process of creating SSL
11636 certificates for use by servers at your site.</xccdf:description>
11637 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.1">
11638 <xccdf:title xml:lang="en">Create the Certificate for the LDAP Server</xccdf:title>
11639 <xccdf:description xml:lang="en">
11640 Note: This step must be performed on the CA system, not on
11641 the LDAP server itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11642 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11643 Change into the CA certificate directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11644 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11645 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
11646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11647 Generate a key pair for the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11648 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11649 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out ldapserverkey.pem 2048 <xhtml:br/></xhtml:code>
11650 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11651 Next, generate a certificate signing request (CSR) for the CA to sign: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11652 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11653 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key ldapserverkey.pem -out ldapserver.csr <xhtml:br/></xhtml:code>
11654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11655 Sign the ldapserver.csr request: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11656 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11657 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in ldapserver.csr -out ldapservercert.pem <xhtml:br/></xhtml:code>
11658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11659 This step creates a private key, ldapserverkey.pem, and a public certificate,
11660 ldapservercert.pem. The LDAP server will use these to prove its identity by
11661 demonstrating that it has a certificate which has been signed by the site CA. LDAP
11662 clients at your site should only be willing to accept authentication data from a
11663 verified LDAP server.</xccdf:description>
11664 </xccdf:Group>
11665 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.2">
11666 <xccdf:title xml:lang="en">Install the Certificate on the LDAP Server</xccdf:title>
11667 <xccdf:description xml:lang="en">
11668 Create the PKI directory for LDAP certificates if it does not
11669 already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11671 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/ldap <xhtml:br/>
11672 # chown root:root /etc/pki/tls/ldap <xhtml:br/>
11673 # chmod 755 /etc/pki/tls/ldap <xhtml:br/></xhtml:code>
11674 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11675 Using removable media or some other secure transmission format,
11676 install the files generated in the previous step onto the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11677 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11678 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>/etc/pki/tls/ldap/serverkey.pem: the private key ldapserverkey.pem</xhtml:li><xhtml:li>/etc/pki/tls/ldap/servercert.pem: the certificate file ldapservercert.pem </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11679 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11680 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11681 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11682 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
11683 # chown root:ldap /etc/pki/tls/ldap/servercert.pem <xhtml:br/>
11684 # chmod 640 /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
11685 # chmod 640 /etc/pki/tls/ldap/servercert.pem<xhtml:br/></xhtml:code>
11686 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11687 Verify that the CA's public certificate file has been installed as
11688 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11689 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11690 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/CA <xhtml:br/>
11691 # chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11692 # chmod 644 /etc/pki/tls/CA/cacert.pem <xhtml:br/></xhtml:code>
11693 As a
11694 result of these steps, the LDAP server will have access to its own private certificate
11695 and the key with which that certificate is encrypted, and to the public certificate
11696 file belonging to the CA. Note that it would be possible for the key to be protected
11697 further, so that processes running as ldap could not read it. If this were done, the
11698 LDAP server process would need to be restarted manually whenever the server rebooted.</xccdf:description>
11699 </xccdf:Group>
11700 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.3">
11701 <xccdf:title xml:lang="en">Configure slapd to Use the Certificates</xccdf:title>
11702 <xccdf:description xml:lang="en">
11703 Edit the file /etc/openldap/slapd.conf. Add or correct the
11704 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11705 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11706 TLSCACertificateFile /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11707 TLSCertificateFile /etc/pki/tls/ldap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11708 TLSCertificateKeyFile /etc/pki/tls/ldap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11709 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11710 security simple_bind=128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11711 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11712 The first set of lines tell slapd where to find the
11713 appropriate SSL certificates to present to clients when they request an encrypted
11714 transaction. The last setting tells slapd never to allow clients to present
11715 credentials (i.e. passwords) in an unencrypted session. It is a good security
11716 principle never to allow unencrypted passwords to traverse a network, so ensure that
11717 LDAP mandates this.</xccdf:description>
11718 </xccdf:Group>
11719 </xccdf:Group>
11720 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5">
11721 <xccdf:title xml:lang="en">Install Account Information into the LDAP Database</xccdf:title>
11722 <xccdf:description xml:lang="en">
11723 There are many ways to maintain an OpenLDAP database. Methods
11724 include: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11725 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11726 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Input entries in ldif(5) format into a file /path/to/new entries , and use
11727 slapadd to import those entries while slapd is not running: <xhtml:br/>
11728 <xhtml:br/>
11729 <xhtml:code># slapadd -l /path/to/new_entries </xhtml:code></xhtml:li><xhtml:li>Write a script to create and modify LDAP entries by connecting to the LDAP
11730 server normally. The Perl Net::LDAP module is appropriate for this, there is a Python
11731 API called python-ldap, and functionality is likely available for other scripting
11732 languages as well. </xhtml:li><xhtml:li>Use an LDAP front-end program which provides an interface for
11733 editing the database. If the front-end program is web-based or otherwise accessible over
11734 a network, ensure that authentication information is protected via SSL between the
11735 administrator's client and the program, as well as between the program and the LDAP
11736 database. </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11738 Any of these methods or others may be appropriate for your site. This guide
11739 does not provide a recommendation, and there will be no further discussion of the syntax
11740 of entering LDAP data into the database.</xccdf:description>
11741 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.1">
11742 <xccdf:title xml:lang="en">Create Top-level LDAP Structure for Domain</xccdf:title>
11743 <xccdf:description xml:lang="en">
11744 Create a structure for the domain itself with at least the
11745 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11746 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11747 dn: dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11748 objectClass: dcObject <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11749 objectClass: organization <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11750 dc: example <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11751 o: Organization Description <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11752 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11753 This is a placeholder for the
11754 root of the domain's LDAP tree. Without this entry, LDAP will not be able to find any
11755 other entries for the domain.</xccdf:description>
11756 </xccdf:Group>
11757 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.2">
11758 <xccdf:title xml:lang="en">Create LDAP Structures for Users and Groups</xccdf:title>
11759 <xccdf:description xml:lang="en">
11760 Create LDAP structures for people (users) and for groups with
11761 at least the following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11762 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11763 dn: ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11764 ou: people<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11765 structuralObjectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11766 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11767 dn: ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11768 ou: groups <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11769 structuralObjectClass: organizationalUnit<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11770 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11771 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11772 Posix users and groups are the two top-level items
11773 which will be needed in order to use LDAP for authentication. These organizational
11774 units are used to identify the two categories within LDAP.</xccdf:description>
11775 </xccdf:Group>
11776 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.3">
11777 <xccdf:title xml:lang="en">Create Unix Accounts</xccdf:title>
11778 <xccdf:description xml:lang="en">
11779 For each Unix user, create an LDAP entry with at least the
11780 following attributes (others may be appropriate for your site as well), using variable
11781 values appropriate to that user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11782 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11783 dn: uid=username ,ou=people,dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11784 structuralObjectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11785 objectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11786 objectClass: posixAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11787 objectClass: shadowAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11788 cn: fullname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11789 sn: surname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11790 gecos: fullname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11791 gidNumber: primary-group-id <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11792 homeDirectory: /home/username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11793 loginShell: /path/to/shell<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11794 uid: username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11795 uidNumber: uid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11796 userPassword: {MD5}md5-hashed-password <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11798 If your site
11799 implements password expiration in which passwords must be changed every N days (see
11800 Section 2.3.1.7), then each entry should also have the attribute: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11802 shadowMax: N <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11804 In general, the LDAP schemas for users use uid to refer to the text username, and
11805 uidNumber for the numeric UID. This usage may be slightly confusing when compared to
11806 the standard Unix usage. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11807 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11808 You should not create entries for the root account or for
11809 system accounts which are unique to individual systems, but only for user accounts
11810 which are to be shared across machines, and which have authentication information
11811 (such as a password) associated with them.</xccdf:description>
11812 </xccdf:Group>
11813 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.4">
11814 <xccdf:title xml:lang="en">Create Unix Groups</xccdf:title>
11815 <xccdf:description xml:lang="en">
11816 For each Unix group, create an LDAP entry with at least the
11817 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11818 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11819 dn: cn=groupname ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11820 cn: groupname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11821 structuralObjectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11822 objectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11823 gidNumber: gid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11824 memberUid: username1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11825 memberUid: username2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11826 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11827 memberUid: usernameN <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11829 Note that each user has a
11830 primary group, identified by the gidNumber field in the user's account entry. That
11831 group must be created, but it is not necessary to list the user as a memberUid of the
11832 group. This behavior should be familiar to administrators, since it is identical to
11833 the handling of the /etc/passwd and /etc/group files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11834 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11835 Do not create entries for the
11836 root group or for system groups, but only for groups which contain human users or
11837 which are shared across systems.</xccdf:description>
11838 </xccdf:Group>
11839 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.5">
11840 <xccdf:title xml:lang="en">Create Groups to Administer LDAP</xccdf:title>
11841 <xccdf:description xml:lang="en">
11842 If a group of LDAP administrators, admins , is desired, that
11843 group must be created somewhat differently. The specification should have these
11844 attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11845 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11846 dn: cn=admins ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11847 cn: admins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11848 structuralObjectClass: groupOfUniqueNames <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11849 objectClass: groupOfUniqueNames<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11850 uniqueMember: cn=Manager,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11851 uniqueMember: uid=admin1-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11852 uniqueMember: uid=admin2-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11853 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11854 uniqueMember: uid=adminN-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11855 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11856 LDAP cannot use Posix groups for its own internal
11857 authentication — it needs to compare the username specified in an authenticated bind
11858 to some internal groupOfUniqueNames. If you do not specify an LDAP administrators'
11859 group, then all LDAP management will need to be done using the LDAP root user
11860 (Manager). For reasons of auditing and error detection, it is recommended that LDAP
11861 administrators have unique identities. (See Section 2.3.1.3 for similar reasoning
11862 applied to the use of sudo for privileged system commands.)</xccdf:description>
11863 </xccdf:Group>
11864 </xccdf:Group>
11865 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.6">
11866 <xccdf:title xml:lang="en">Configure slapd to Protect Authentication Information</xccdf:title>
11867 <xccdf:description xml:lang="en">
11868 Edit the file /etc/openldap/slapd.conf. Add or correct the
11869 following access specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11870 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11871 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Protect the user's password by allowing the user
11872 himself or the LDAP administrators to change it, allowing the anonymous user to
11873 authenticate against it, and allowing no other access: <xhtml:br/>
11874 <xhtml:br/>
11875 access to attrs=userPassword <xhtml:br/>
11876 by self write <xhtml:br/>
11877 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
11878 by anonymous auth <xhtml:br/>
11879 by * none <xhtml:br/>
11880 access to attrs=shadowLastChange <xhtml:br/>
11881 by self write <xhtml:br/>
11882 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
11883 by * read</xhtml:li><xhtml:li>Allow anyone to read other
11884 information, and allow the administrators to change it: <xhtml:br/>
11885 <xhtml:br/>
11886 access to * by<xhtml:br/>
11887 group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
11888 by * read </xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11889 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11890 Access rules are applied in the order encountered, so more specific rules should
11891 appear first. In particular, the rule restricting access to userPassword must appear
11892 before the rule allowing access to all data. The shadowLastChange attribute is a
11893 timestamp, and is only critical if your site implements password expiration. If your
11894 site does not have an LDAP administrators group, the LDAP root user (called Manager in
11895 this guide) will be able to change data without an explicit access statement.</xccdf:description>
11896 </xccdf:Group>
11897 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.7">
11898 <xccdf:title xml:lang="en">Correct Permissions on LDAP Server Files</xccdf:title>
11899 <xccdf:description xml:lang="en">
11900 Correct the permissions on the ldap server's files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11902 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown ldap:root /var/lib/ldap/* <xhtml:br/></xhtml:code>
11903 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11904 Some manual methods of inserting information into the LDAP
11905 database may leave these files with incorrect permissions. This will prevent slapd from
11906 starting correctly.</xccdf:description>
11907 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.a" operator="equals" type="string">
11908 <xccdf:title>group owner of ldap files</xccdf:title>
11909 <xccdf:description xml:lang="en">Specify group owner of /var/lib/ldap/*.</xccdf:description>
11910 <xccdf:question xml:lang="en">Specify group owner of /var/lib/ldap/*</xccdf:question>
11911 <xccdf:value>root</xccdf:value>
11912 <xccdf:value selector="root">root</xccdf:value>
11913 </xccdf:Value>
11914 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.b" operator="equals" type="string">
11915 <xccdf:title>user owner of ldap files</xccdf:title>
11916 <xccdf:description xml:lang="en">Specify user owner of /var/lib/ldap/*.</xccdf:description>
11917 <xccdf:question xml:lang="en">Specify user owner of /var/lib/ldap/*</xccdf:question>
11918 <xccdf:value>ldap</xccdf:value>
11919 <xccdf:value selector="ldap">ldap</xccdf:value>
11920 </xccdf:Value>
11921 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.a" selected="false" weight="10.0">
11922 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
11923 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate group.</xccdf:description>
11924 <xccdf:ident system="http://cce.mitre.org">CCE-4484-2</xccdf:ident>
11925 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
11926 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11927 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20290" value-id="xccdf_cdf_value_var-3.12.3.7.a"/>
11928 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20290"/>
11929 </xccdf:check>
11930 </xccdf:Rule>
11931 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.b" selected="false" weight="10.0">
11932 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
11933 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate user.</xccdf:description>
11934 <xccdf:ident system="http://cce.mitre.org">CCE-4502-1</xccdf:ident>
11935 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
11936 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11937 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20291" value-id="xccdf_cdf_value_var-3.12.3.7.b"/>
11938 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20291"/>
11939 </xccdf:check>
11940 </xccdf:Rule>
11941 </xccdf:Group>
11942 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.8">
11943 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the LDAP Server</xccdf:title>
11944 <xccdf:description xml:lang="en">
11945 Determine an appropriate network block, netwk , and network
11946 mask, mask , representing the machines on your network which will synchronize to this
11947 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11949 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that they appear
11950 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11951 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11952 -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"/>
11953 -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"/>
11954 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11955 The default Iptables configuration does not allow inbound access to any services. These
11956 modifications allow access to the LDAP primary (389) and encrypted-only (636) ports,
11957 while keeping all other ports on the server in their default protected state. See
11958 Section 2.5.5 for more information about Iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11960 Note: Even if the LDAP server
11961 restricts connections so that only encrypted queries are allowed, it will probably be
11962 necessary to allow traffic to the default port 389. This is true because many LDAP
11963 clients implement encryption by connecting to the primary port and issuing the STARTTLS
11964 command.</xccdf:description>
11965 </xccdf:Group>
11966 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.9">
11967 <xccdf:title xml:lang="en">Configure Logging for LDAP</xccdf:title>
11968 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Edit the file /etc/syslog.conf. Add or correct the following line: <xhtml:br/>
11969 <xhtml:br/>
11970 local4.* /var/log/ldap.log </xhtml:li><xhtml:li>Create the log file with safe permissions: <xhtml:br/>
11971 <xhtml:br/>
11972 <xhtml:code># touch /var/log/ldap.log <xhtml:br/>
11973 # chown root:root /var/log/ldap.log <xhtml:br/>
11974 # chmod 0600 /var/log/ldap.log </xhtml:code></xhtml:li><xhtml:li>Edit the file /etc/logrotate.d/syslog and add the pathname <xhtml:br/>
11975 <xhtml:br/>
11976 /var/log/ldap.log <xhtml:br/>
11977 <xhtml:br/>
11978 to the space-separated list in the first line. </xhtml:li><xhtml:li>Edit the LDAP configuration file
11979 /etc/openldap/slapd.conf and set a reasonable set of default log parameters, such as:<xhtml:br/>
11980 <xhtml:br/>
11981 loglevel stats2 </xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11982 OpenLDAP sends its log data to the syslog facility local4 at priority
11983 debug. By default, RHEL5 does not store this facility at all. The syslog configuration
11984 suggested here will store any output logged by slapd in the file /var/log/ldap.log, and
11985 will include that file in the standard log rotation for syslog files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11986 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11987 By default, LDAP's
11988 logging is quite verbose. The loglevel parameter is a space-separated list of items to
11989 be logged. Specifying stats2 will reduce the log output somewhat, but this level will
11990 still produce some logging every time an LDAP query is made. (This may be appropriate,
11991 depending on your site's auditing requirements.) In order to capture only slapd startup
11992 messages, specify loglevel none. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11994 See slapd.conf(5) for detailed information about the
11995 loglevel parameter. See Section 2.6.1 for more information about syslog.</xccdf:description>
11996 </xccdf:Group>
11997 </xccdf:Group>
11998 </xccdf:Group>
11999 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13">
12000 <xccdf:title xml:lang="en">NFS and RPC</xccdf:title>
12001 <xccdf:description xml:lang="en">
12002 The Network File System is the most popular distributed filesystem
12003 for the Unix environment, and is very widely deployed. Unfortunately, NFS was not designed
12004 with security in mind, and has a number of weaknesses, both in terms of the protocol itself
12005 and because any NFS installation must expose several daemons, running on both servers and
12006 clients, to network attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12007 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12008 This section discusses the circumstances under which it is
12009 possible to disable NFS and its dependencies, and then details steps which should be taken
12010 to secure, as much as possible, NFS's configuration. This section is relevant to machines
12011 operating as NFS clients, as well as to those operating as NFS servers.</xccdf:description>
12012 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1">
12013 <xccdf:title xml:lang="en">Disable All NFS Services if Possible</xccdf:title>
12014 <xccdf:description xml:lang="en">
12015 Is there a mission-critical reason for this machine to operate as
12016 either an NFS client or an NFS server? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12017 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12018 If not, follow all instructions in the remainder of
12019 Section 3.13.1 to disable subsystems required by NFS. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12021 NFS is a commonly used mechanism for
12022 sharing data between machines in an organization. However, its use opens many potential
12023 security holes. If NFS is not universally needed in your organization, improve the
12024 security posture of any machine which does not require NFS by disabling it entirely.</xccdf:description>
12025 <xccdf:warning xml:lang="en">The steps in Section 3.13.1 will prevent a machine from operating
12026 as either an NFS client or an NFS server. Only perform these steps on machines which do
12027 not need NFS at all. </xccdf:warning>
12028 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.1">
12029 <xccdf:title xml:lang="en">Disable Services Used Only by NFS</xccdf:title>
12030 <xccdf:description xml:lang="en">
12031 If NFS is not needed, perform the following steps to disable
12032 NFS client daemons: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12033 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfslock off <xhtml:br/>
12034 # chkconfig rpcgssd off <xhtml:br/>
12035 # chkconfig rpcidmapd off <xhtml:br/></xhtml:code>
12036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12037 The nfslock, rpcgssd, and rpcidmapd daemons all perform NFS client functions. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12038 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12039 All of these daemons run with elevated privileges, and many listen for
12040 network connections. If they are not needed, they should be disabled to improve system
12041 security posture.</xccdf:description>
12042 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false" severity="low" weight="10.0">
12043 <xccdf:title>Disable nfslock</xccdf:title>
12044 <xccdf:description>The nfslock service should be disabled.</xccdf:description>
12045 <xccdf:ident system="http://cce.mitre.org">CCE-4396-8</xccdf:ident>
12046 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12047 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12048 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20292"/>
12049 </xccdf:check>
12050 </xccdf:Rule>
12051 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false" severity="low" weight="10.0">
12052 <xccdf:title>Disable rpcgssd</xccdf:title>
12053 <xccdf:description>The rpcgssd service should be disabled.</xccdf:description>
12054 <xccdf:ident system="http://cce.mitre.org">CCE-3535-2</xccdf:ident>
12055 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12056 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12057 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20293"/>
12058 </xccdf:check>
12059 </xccdf:Rule>
12060 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false" severity="low" weight="10.0">
12061 <xccdf:title>Disable rpcidmapd</xccdf:title>
12062 <xccdf:description>The rpcidmapd service should be disabled.</xccdf:description>
12063 <xccdf:ident system="http://cce.mitre.org">CCE-3568-3</xccdf:ident>
12064 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12065 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12066 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20294"/>
12067 </xccdf:check>
12068 </xccdf:Rule>
12069 </xccdf:Group>
12070 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.2">
12071 <xccdf:title xml:lang="en">Disable netfs if Possible</xccdf:title>
12072 <xccdf:description xml:lang="en">
12073 Determine whether any network filesystems handled by netfs are
12074 mounted on this system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12076 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mount -t nfs,nfs4,smbfs,cifs,ncpfs <xhtml:br/></xhtml:code>
12077 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12078 If this command returns no output, disable netfs to improve system security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12079 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12080 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig netfs off <xhtml:br/></xhtml:code>
12081 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12082 The netfs script
12083 manages the boot-time mounting of several types of networked filesystems, of which NFS
12084 and Samba (see Section 3.18) are the most common. If these filesystem types are not in
12085 use, the script can be disabled, protecting the system somewhat against accidental or
12086 malicious changes to /etc/fstab and against flaws in the netfs script itself.</xccdf:description>
12087 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false" severity="low" weight="10.0">
12088 <xccdf:title>Disable netfs if Possible</xccdf:title>
12089 <xccdf:description>The netfs service should be disabled.</xccdf:description>
12090 <xccdf:ident system="http://cce.mitre.org">CCE-4533-6</xccdf:ident>
12091 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12092 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12093 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20295"/>
12094 </xccdf:check>
12095 </xccdf:Rule>
12096 </xccdf:Group>
12097 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.3">
12098 <xccdf:title xml:lang="en">Disable RPC Portmapper if Possible</xccdf:title>
12099 <xccdf:description xml:lang="en">
12100 If: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12101 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12102 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>NFS is not needed </xhtml:li><xhtml:li>The site does not rely on NIS for authentication information, and </xhtml:li><xhtml:li>The machine does not run any other RPC-based service</xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12103 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12104 then disable the RPC portmapper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12105 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12106 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig portmap off <xhtml:br/></xhtml:code>
12107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12108 By design, the RPC
12109 model does not require particular services to listen on fixed ports, but instead uses a
12110 daemon, portmap, to tell prospective clients which ports to use to contact the services
12111 they are trying to reach. This model weakens system security by introducing another
12112 privileged daemon which may be directly attacked, and is unnecessary because RPC was
12113 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"/>
12114 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12115 Unfortunately, the portmapper is central to RPC design, so it cannot be disabled if your
12116 site is using any RPCbased services, including NFS, NIS (see Section 3.2.4 for
12117 information about NIS, which is not recommended), or any third-party or custom RPC-based
12118 program. If none of these programs are in use, however, portmap should be disabled to
12119 improve system security. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12120 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12121 In order to get more information about whether portmap may be
12122 disabled on a given host, query the local portmapper using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12123 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12124 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpcinfo -p <xhtml:br/></xhtml:code>
12125 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12126 If the only services listed are portmapper and status, it is safe to disable the
12127 portmapper. If other services are listed and your site is not running NFS or NIS,
12128 investigate these services and disable them if possible.</xccdf:description>
12129 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.3.a" selected="false" severity="low" weight="10.0">
12130 <xccdf:title>Disable RPC Portmapper if Possible</xccdf:title>
12131 <xccdf:description>The portmap service should be disabled.</xccdf:description>
12132 <xccdf:ident system="http://cce.mitre.org">CCE-4550-0</xccdf:ident>
12133 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12134 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12135 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20296"/>
12136 </xccdf:check>
12137 </xccdf:Rule>
12138 </xccdf:Group>
12139 </xccdf:Group>
12140 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2">
12141 <xccdf:title xml:lang="en">Configure All Machines which Use NFS</xccdf:title>
12142 <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>
12143 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.1">
12144 <xccdf:title xml:lang="en">Make Each Machine a Client or a Server, not Both</xccdf:title>
12145 <xccdf:description xml:lang="en">
12146 If NFS must be used, it should be deployed in the simplest
12147 configuration possible to avoid maintainability problems which may lead to unnecessary
12148 security exposure. Due to the reliability and security problems caused by NFS, it is not
12149 a good idea for machines which act as NFS servers to also mount filesystems via NFS. At
12150 the least, crossed mounts (the situation in which each of two servers mounts a
12151 filesystem from the other) should never be used.</xccdf:description>
12152 </xccdf:Group>
12153 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.2">
12154 <xccdf:title xml:lang="en">Restrict Access to the Portmapper</xccdf:title>
12155 <xccdf:description xml:lang="en">
12156 Edit the file /etc/hosts.deny. Add or correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12157 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12158 portmap: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12160 Edit the file /etc/hosts.allow. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12161 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12162 portmap: IPADDR1 , IPADDR2 , ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12163 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12164 where each IPADDR is the IP address of a server or client with which this
12165 machine shares NFS filesystems. If the machine is an NFS server, it may be simpler to
12166 use an IP netblock specification, such as 10.3.2. (this is the TCP Wrappers syntax
12167 representing the netblock 10.3.2.0/24), or a hostname specification, such as
12168 .subdomain.example.com. The use of hostnames is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12170 The /etc/hosts.allow
12171 and /etc/hosts.deny files are used by TCP Wrappers to determine whether specified remote
12172 hosts are allowed to access certain services. The default portmapper shipped with RHEL5
12173 has TCP Wrappers support built in, so this specification can be used to provide some
12174 protection against network attacks on the portmapper. (See Section 2.5.4 for more
12175 information about TCP Wrappers.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12176 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12177 Note: This step protects only the portmap service
12178 itself. It is still possible for attackers to guess the port numbers of NFS services and
12179 attack those services directly, even if they are denied access to the portmapper.</xccdf:description>
12180 </xccdf:Group>
12181 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.3">
12182 <xccdf:title xml:lang="en">Configure NFS Services to Use Fixed Ports</xccdf:title>
12183 <xccdf:description xml:lang="en">
12184 Edit the file /etc/sysconfig/nfs. Add or correct the following
12185 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12186 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12187 LOCKD_TCPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12188 LOCKD_UDPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12189 MOUNTD_PORT=mountd-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12190 RQUOTAD_PORT=rquotad-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12191 STATD_PORT=statd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12192 STATD_OUTGOING_PORT=statd-outgoing-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12193 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12194 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"/>
12195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12196 Firewalling should be done at each host and at the border firewalls to protect the NFS
12197 daemons from remote access, since NFS servers should never be accessible from outside
12198 the organization. However, by default, the portmapper assigns each NFS service to a port
12199 dynamically at service startup time. Dynamic ports cannot be protected by port filtering
12200 firewalls such as iptables (Section 2.5.5). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12201 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12202 Therefore, restrict each service to always
12203 use a given port, so that firewalling can be done effectively. Note that, because of the
12204 way RPC is implemented, it is not possible to disable the portmapper even if ports are
12205 assigned statically to all RPC services.</xccdf:description>
12206 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false" weight="10.0">
12207 <xccdf:title>Configure lockd to Use Fixed Ports for TCP</xccdf:title>
12208 <xccdf:description>The lockd service should be configured to use a static port for TCP</xccdf:description>
12209 <xccdf:ident system="http://cce.mitre.org">CCE-4559-1</xccdf:ident>
12210 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12211 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12212 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20297"/>
12213 </xccdf:check>
12214 </xccdf:Rule>
12215 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false" weight="10.0">
12216 <xccdf:title>Configure statd to Use an outgoing static port</xccdf:title>
12217 <xccdf:description>The statd service should be configured to use an outgoing static port</xccdf:description>
12218 <xccdf:ident system="http://cce.mitre.org">CCE-4015-4</xccdf:ident>
12219 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12220 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12221 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20298"/>
12222 </xccdf:check>
12223 </xccdf:Rule>
12224 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false" weight="10.0">
12225 <xccdf:title>Configure statd to Use a static port</xccdf:title>
12226 <xccdf:description>The statd service should be configured to use a static port</xccdf:description>
12227 <xccdf:ident system="http://cce.mitre.org">CCE-3667-3</xccdf:ident>
12228 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12229 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12230 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20299"/>
12231 </xccdf:check>
12232 </xccdf:Rule>
12233 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false" weight="10.0">
12234 <xccdf:title>Configure lockd to Use a static port for UDP</xccdf:title>
12235 <xccdf:description>The lockd service should be configured to use a static port for UDP</xccdf:description>
12236 <xccdf:ident system="http://cce.mitre.org">CCE-4310-9</xccdf:ident>
12237 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12238 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12239 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20300"/>
12240 </xccdf:check>
12241 </xccdf:Rule>
12242 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false" weight="10.0">
12243 <xccdf:title>Configure mountd to Use a static port</xccdf:title>
12244 <xccdf:description>The mountd service should be configured to use a static port</xccdf:description>
12245 <xccdf:ident system="http://cce.mitre.org">CCE-4438-8</xccdf:ident>
12246 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12247 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12248 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20301"/>
12249 </xccdf:check>
12250 </xccdf:Rule>
12251 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false" weight="10.0">
12252 <xccdf:title>Configure rquotad to Use Fixed Ports</xccdf:title>
12253 <xccdf:description>The rquotad service should be configured to use a static port</xccdf:description>
12254 <xccdf:ident system="http://cce.mitre.org">CCE-3579-0</xccdf:ident>
12255 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12256 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12257 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20302"/>
12258 </xccdf:check>
12259 </xccdf:Rule>
12260 </xccdf:Group>
12261 </xccdf:Group>
12262 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3">
12263 <xccdf:title xml:lang="en">Configure NFS Clients</xccdf:title>
12264 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS clients.</xccdf:description>
12265 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.1">
12266 <xccdf:title xml:lang="en">Disable NFS Server Daemons</xccdf:title>
12267 <xccdf:description xml:lang="en"><xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfs off <xhtml:br/>
12268 # chkconfig rpcsvcgssd off <xhtml:br/></xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12269 There is no need
12270 to run the NFS server daemons except on a small number of properly secured machines
12271 designated as NFS servers. Ensure that these daemons are turned off on clients.</xccdf:description>
12272 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false" severity="low" weight="10.0">
12273 <xccdf:title>Disable nfs service</xccdf:title>
12274 <xccdf:description>The nfs service should be disabled</xccdf:description>
12275 <xccdf:ident system="http://cce.mitre.org">CCE-4473-5</xccdf:ident>
12276 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12277 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12278 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20303"/>
12279 </xccdf:check>
12280 </xccdf:Rule>
12281 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false" severity="low" weight="10.0">
12282 <xccdf:title>Disable rpcsvcgssd service</xccdf:title>
12283 <xccdf:description>The rpcsvcgssd service should be disabled</xccdf:description>
12284 <xccdf:ident system="http://cce.mitre.org">CCE-4491-7</xccdf:ident>
12285 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12286 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12287 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20304"/>
12288 </xccdf:check>
12289 </xccdf:Rule>
12290 </xccdf:Group>
12291 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.2">
12292 <xccdf:title xml:lang="en">Mount Remote Filesystems with Restrictive Options</xccdf:title>
12293 <xccdf:description xml:lang="en">
12294 Edit the file /etc/fstab. For each filesystem whose type
12295 (column 3) is nfs or nfs4, add the text ,nodev,nosuid to the list of mount options in
12296 column 4. If appropriate, also add ,noexec. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12297 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12298 See Section 2.2.1.2 for a description of the
12299 effects of these options. In general, execution of files mounted via NFS should be
12300 considered risky because of the possibility that an adversary could intercept the
12301 request and substitute a malicious file. Allowing setuid files to be executed from
12302 remote servers is particularly risky, both for this reason and because it requires the
12303 clients to extend root-level trust to the NFS server.</xccdf:description>
12304 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false" weight="10.0">
12305 <xccdf:title>Mount Remote Filesystems with nodev</xccdf:title>
12306 <xccdf:description>The nodev option should be enabled for all NFS mounts</xccdf:description>
12307 <xccdf:ident system="http://cce.mitre.org">CCE-4368-7</xccdf:ident>
12308 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12309 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12310 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20305"/>
12311 </xccdf:check>
12312 </xccdf:Rule>
12313 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false" severity="medium" weight="10.0">
12314 <xccdf:title>Mount Remote Filesystems with nosuid</xccdf:title>
12315 <xccdf:description>The nosuid option should be enabled for all NFS mounts</xccdf:description>
12316 <xccdf:ident system="http://cce.mitre.org">CCE-4024-6</xccdf:ident>
12317 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12318 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12319 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20306"/>
12320 </xccdf:check>
12321 </xccdf:Rule>
12322 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false" severity="medium" weight="10.0">
12323 <xccdf:title>Mount Remote Filesystems with noexec</xccdf:title>
12324 <xccdf:description>The noexec option should be enabled for all NFS mounts</xccdf:description>
12325 <xccdf:ident system="http://cce.mitre.org">CCE-4526-0</xccdf:ident>
12326 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12327 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12328 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20307"/>
12329 </xccdf:check>
12330 </xccdf:Rule>
12331 </xccdf:Group>
12332 </xccdf:Group>
12333 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4">
12334 <xccdf:title xml:lang="en">Configure NFS Servers</xccdf:title>
12335 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS servers.</xccdf:description>
12336 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1">
12337 <xccdf:title xml:lang="en">Configure the Exports File Restrictively</xccdf:title>
12338 <xccdf:description xml:lang="en">
12339 Linux's NFS implementation uses the file /etc/exports to
12340 control what filesystems and directories may be accessed via NFS. (See the exports(5)
12341 manpage for more information about the format of this file.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12342 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12343 The syntax of the exports
12344 file is not necessarily checked fully on reload, and syntax errors can leave your NFS
12345 configuration more open than intended. Therefore, exercise caution when modifying the
12346 file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12347 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12348 The syntax of each line in /etc/exports is <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12350 /DIR ipaddr1 (opt1 ,opt2 ) ipaddr2 (opt3 ) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12352 where /DIR is a directory or filesystem to export, ipaddrN is an IP address,
12353 netblock, hostname, domain, or netgroup to which to export, and optN is an option.</xccdf:description>
12354 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.1">
12355 <xccdf:title xml:lang="en">Use Access Lists to Enforce Authorization Restrictions on Mounts</xccdf:title>
12356 <xccdf:description xml:lang="en">
12357 Edit /etc/exports. Ensure that each export line contains a
12358 set of IP addresses or hosts which are allowed to access that export. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12359 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12360 If no IP
12361 addresses or hostnames are specified on an export line, then that export is available
12362 to any remote host which requests it. All lines of the exports file should specify the
12363 hosts (or subnets, if needed) which are allowed to access the exported directory, so
12364 that unknown or remote hosts will be denied.</xccdf:description>
12365 </xccdf:Group>
12366 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.2">
12367 <xccdf:title xml:lang="en">Use Root-Squashing on All Exports</xccdf:title>
12368 <xccdf:description xml:lang="en">
12369 Edit /etc/exports. Ensure that no line contains the option no_root_squash. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12370 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12371 If a filesystem is exported using root squashing, requests from root on
12372 the client are considered to be unprivileged (mapped to a user such as nobody). This
12373 provides some mild protection against remote abuse of an NFS server. Root squashing is
12374 enabled by default, and should not be disabled.</xccdf:description>
12375 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false" weight="10.0">
12376 <xccdf:title>Use Root-Squashing on All Exports</xccdf:title>
12377 <xccdf:description>Root squashing should be enabled for all NFS shares</xccdf:description>
12378 <xccdf:ident system="http://cce.mitre.org">CCE-4544-3</xccdf:ident>
12379 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12380 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12381 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20308"/>
12382 </xccdf:check>
12383 </xccdf:Rule>
12384 </xccdf:Group>
12385 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.3">
12386 <xccdf:title xml:lang="en">Restrict NFS Clients to Privileged Ports</xccdf:title>
12387 <xccdf:description xml:lang="en">
12388 Edit /etc/exports. Ensure that no line contains the option insecure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12389 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12390 By default, Linux's NFS implementation requires that all client requests be
12391 made from ports less than 1024. If your organization has control over machines
12392 connected to its network, and if NFS requests are prohibited at the border firewall,
12393 this offers some protection against malicious requests from unprivileged users.
12394 Therefore, the default should not be changed.</xccdf:description>
12395 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false" weight="10.0">
12396 <xccdf:title>Restrict NFS Clients to Privileged Ports</xccdf:title>
12397 <xccdf:description>Restriction of NFS clients to privileged ports should be enabled</xccdf:description>
12398 <xccdf:ident system="http://cce.mitre.org">CCE-4465-1</xccdf:ident>
12399 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12400 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12401 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20309"/>
12402 </xccdf:check>
12403 </xccdf:Rule>
12404 </xccdf:Group>
12405 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.4">
12406 <xccdf:title xml:lang="en">Export Filesystems Read-Only if Possible</xccdf:title>
12407 <xccdf:description xml:lang="en">
12408 Edit /etc/exports. Ensure that every line contains the option
12409 ro and does not contain the option rw, unless there is an operational need for remote
12410 clients to modify that filesystem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12412 If a filesystem is being exported so that users can
12413 view the files in a convenient fashion, but there is no need for users to edit those
12414 files, exporting the filesystem read-only removes an attack vector against the server.
12415 The default filesystem export mode is ro, so do not specify rw without a good reason.</xccdf:description>
12416 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false" weight="10.0">
12417 <xccdf:title>Export Filesystems Read-Only if Possible</xccdf:title>
12418 <xccdf:description>Write access to NFS shares should be disabled</xccdf:description>
12419 <xccdf:ident system="http://cce.mitre.org">CCE-4350-5</xccdf:ident>
12420 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12421 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12422 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20310"/>
12423 </xccdf:check>
12424 </xccdf:Rule>
12425 </xccdf:Group>
12426 </xccdf:Group>
12427 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.2">
12428 <xccdf:title xml:lang="en">Allow Legitimate NFS Clients to Access the Server</xccdf:title>
12429 <xccdf:description xml:lang="en">
12430 Determine an appropriate network block, netwk , and network
12431 mask, mask , representing the machines on your network which must mount NFS filesystems
12432 from this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12433 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12434 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that
12435 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"/>
12436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12437 -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"/>
12438 -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"/>
12439 -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"/>
12440 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12441 -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"/>
12442 -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"/>
12443 -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"/>
12444 -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"/>
12445 -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"/>
12446 -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"/>
12447 -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"/>
12448 -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"/>
12449 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12450 where the variable port numbers match those selected in Section 3.13.2.3 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12451 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12452 The default iptables configuration does not allow inbound access to any services. This
12453 modification will allow the specified block of remote hosts to initiate connections to
12454 the set of NFS daemons, while keeping all other ports on the server in their default
12455 protected state. See Section 2.5.5 for more information about iptables.</xccdf:description>
12456 </xccdf:Group>
12457 </xccdf:Group>
12458 </xccdf:Group>
12459 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14">
12460 <xccdf:title xml:lang="en">DNS Server</xccdf:title>
12461 <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>
12462 <xccdf:reference>Liu, C. DNS &amp; BIND Cookbook. O’Reilly and Associates, Oct 2002</xccdf:reference>
12463 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.1">
12464 <xccdf:title xml:lang="en">Disable DNS Server if Possible</xccdf:title>
12465 <xccdf:description xml:lang="en">
12466 Is there an operational need for this machine to act as a DNS
12467 server for this site? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12468 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12469 If not, disable the software and remove it from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12470 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12471 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig named off <xhtml:br/>
12472 # yum erase bind <xhtml:br/></xhtml:code>
12473 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12474 DNS software should be disabled on any machine which
12475 does not need to be a nameserver. Note that the BIND DNS server software is not installed
12476 on RHEL5 by default. The remainder of this section discusses secure configuration of
12477 machines which must be nameservers.</xccdf:description>
12478 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.a" selected="false" severity="low" weight="10.0">
12479 <xccdf:title>Disable DNS Server if Possible</xccdf:title>
12480 <xccdf:description>The named service should be disabled.</xccdf:description>
12481 <xccdf:ident system="http://cce.mitre.org">CCE-3578-2</xccdf:ident>
12482 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12483 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12484 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20311"/>
12485 </xccdf:check>
12486 </xccdf:Rule>
12487 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.b" selected="false" weight="10.0">
12488 <xccdf:title>Uninstall bind if Possible</xccdf:title>
12489 <xccdf:description>The bind package should be uninstalled.</xccdf:description>
12490 <xccdf:ident system="http://cce.mitre.org">CCE-4219-2</xccdf:ident>
12491 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
12492 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12493 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20312"/>
12494 </xccdf:check>
12495 </xccdf:Rule>
12496 </xccdf:Group>
12497 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.2">
12498 <xccdf:title xml:lang="en">Run the BIND9 Software if DNS Service is Needed</xccdf:title>
12499 <xccdf:description xml:lang="en">
12500 It is highly recommended that the BIND9 software be used to
12501 provide DNS service. BIND is the Internet standard Unix nameserver, and, while it has had
12502 security problems in the past, it is also well-maintained and Red Hat is likely to quickly
12503 issue updates in response to any problems discovered in the future. In addition, BIND
12504 version 9 has new security features and more secure default settings than earlier
12505 versions. In particular, BIND version 4 is no longer recommended for production use, and
12506 BIND4 servers should be upgraded to a newer version as soon as possible.</xccdf:description>
12507 </xccdf:Group>
12508 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3">
12509 <xccdf:title xml:lang="en">Isolate DNS from Other Services</xccdf:title>
12510 <xccdf:description xml:lang="en">
12511 This section discusses mechanisms for preventing the DNS server
12512 from interfering with other services. This is done both to protect the remainder of the
12513 network should a nameserver be compromised, and to make direct attacks on nameservers more
12514 difficult.</xccdf:description>
12515 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.1">
12516 <xccdf:title xml:lang="en">Run DNS Software on Dedicated Servers if Possible</xccdf:title>
12517 <xccdf:description xml:lang="en">
12518 Since DNS is a high-risk service which must frequently be made
12519 available to the entire Internet, it is strongly recommended that no other services be
12520 offered by machines which act as organizational DNS servers.</xccdf:description>
12521 </xccdf:Group>
12522 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.2">
12523 <xccdf:title xml:lang="en">Run DNS Software in a chroot Jail</xccdf:title>
12524 <xccdf:description xml:lang="en">
12525 Install the bind-chroot package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12526 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12527 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install bind-chroot<xhtml:br/></xhtml:code>
12528 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12529 Place a valid named.conf file inside the chroot jail: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12530 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp /etc/named.conf /var/named/chroot/etc/named.conf <xhtml:br/>
12531 # chown root:root /var/named/chroot/etc/named.conf <xhtml:br/>
12532 # chmod 644 /var/named/chroot/etc/named.conf <xhtml:br/></xhtml:code>
12533 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12534 Create and populate an appropriate zone
12535 directory within the jail, based on the options directive. If your named.conf includes:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12537 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12538 directory "/path/to/DIRNAME "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12539 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12540 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12541 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12542 then copy that directory and its contents from the original zone directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12544 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp -r /path/to/DIRNAME /var/named/chroot/DIRNAME<xhtml:br/></xhtml:code>
12545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12546 Edit the file /etc/sysconfig/named. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12547 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12548 ROOTDIR=/var/named/chroot<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12549 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12550 Chroot jails are not foolproof. However, they serve to make it more difficult for a
12551 compromised program to be used to attack the entire host. They do this by restricting a
12552 program's ability to traverse the directory upward, so that files outside the jail are
12553 not visible to the chrooted process. Since RHEL5 supports a standard mechanism for
12554 placing BIND in a chroot jail, you should take advantage of this feature. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12555 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12556 Note: If you
12557 are running BIND in a chroot jail, then you should use the jailed named.conf as the
12558 primary nameserver configuration file. That is, when this guide recommends editing
12559 /etc/named.conf, you should instead edit /var/named/chroot/etc/named.conf.</xccdf:description>
12560 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.a" operator="equals" type="string">
12561 <xccdf:title>group owner of jail</xccdf:title>
12562 <xccdf:description xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:description>
12563 <xccdf:question xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:question>
12564 <xccdf:value>root</xccdf:value>
12565 <xccdf:value selector="root">root</xccdf:value>
12566 </xccdf:Value>
12567 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.b" operator="equals" type="string">
12568 <xccdf:title>user owner of jail</xccdf:title>
12569 <xccdf:description xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:description>
12570 <xccdf:question xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:question>
12571 <xccdf:value>root</xccdf:value>
12572 <xccdf:value selector="root">root</xccdf:value>
12573 </xccdf:Value>
12574 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.c" operator="equals" type="string">
12575 <xccdf:title>permisison of jail</xccdf:title>
12576 <xccdf:description xml:lang="en">Specify file permissions on /var/named/chroot/etc/named.conf</xccdf:description>
12577 <xccdf:question xml:lang="en">Specify permissions of /var/named/chroot/etc/named.conf</xccdf:question>
12578 <xccdf:value>110100100</xccdf:value>
12579 <xccdf:value selector="400">100000000</xccdf:value>
12580 <xccdf:value selector="644">110100100</xccdf:value>
12581 <xccdf:value selector="700">111000000</xccdf:value>
12582 <xccdf:match>^[01]+$</xccdf:match>
12583 </xccdf:Value>
12584 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false" weight="10.0">
12585 <xccdf:title>Run DNS Software in a chroot Jail owned by root group</xccdf:title>
12586 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group.</xccdf:description>
12587 <xccdf:ident system="http://cce.mitre.org">CCE-3985-9</xccdf:ident>
12588 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12589 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12590 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20313" value-id="xccdf_cdf_value_var-3.14.3.2.a"/>
12591 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20313"/>
12592 </xccdf:check>
12593 </xccdf:Rule>
12594 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false" weight="10.0">
12595 <xccdf:title>Run DNS Software in a chroot Jail owned by root user</xccdf:title>
12596 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user.</xccdf:description>
12597 <xccdf:ident system="http://cce.mitre.org">CCE-4258-0</xccdf:ident>
12598 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12599 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12600 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20314" value-id="xccdf_cdf_value_var-3.14.3.2.b"/>
12601 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20314"/>
12602 </xccdf:check>
12603 </xccdf:Rule>
12604 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false" weight="10.0">
12605 <xccdf:title>Set permissions on chroot Jail for DNS</xccdf:title>
12606 <xccdf:description>File permissions for /var/named/chroot/etc/named.conf should be set correctly.</xccdf:description>
12607 <xccdf:ident system="http://cce.mitre.org">CCE-4487-5</xccdf:ident>
12608 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
12609 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12610 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20315" value-id="xccdf_cdf_value_var-3.14.3.2.c"/>
12611 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20315"/>
12612 </xccdf:check>
12613 </xccdf:Rule>
12614 </xccdf:Group>
12615 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.3">
12616 <xccdf:title xml:lang="en">Configure Firewalls to Protect the DNS Server</xccdf:title>
12617 <xccdf:description xml:lang="en">
12618 Edit the file /etc/sysconfig/iptables. Add the following lines,
12619 ensuring that they appear before the final LOG and DROP lines for the
12620 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12621 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12622 -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"/>
12623 -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"/>
12624 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12625 These
12626 lines are necessary in order to allow remote machines to contact the DNS server. If this
12627 server is only available to the local network, it may be appropriate to insert a -s flag
12628 into this rule to allow traffic only from packets on the local network. See Section
12629 3.5.1.2 for an example of such a modification. See Section 2.5.5 for general information
12630 about iptables.</xccdf:description>
12631 </xccdf:Group>
12632 </xccdf:Group>
12633 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4">
12634 <xccdf:title xml:lang="en">Protect DNS Data from Tampering or Attack</xccdf:title>
12635 <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>
12636 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.1">
12637 <xccdf:title xml:lang="en">Run Separate DNS Servers for External and Internal Queries if
12638 Possible</xccdf:title>
12639 <xccdf:description xml:lang="en">
12640 Is it possible to run external and internal nameservers on
12641 separate machines? If so, follow the configuration guidance in this section. If not, see
12642 Section 3.14.4.2 for an alternate approach using BIND9. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12643 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12644 On the external nameserver, edit /etc/named.conf. Add or correct the following
12645 directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12647 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12648 allow-query { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12649 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12650 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12651 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12652 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12653 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12654 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12655 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12656 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12657 On the internal nameserver, edit
12658 /etc/named.conf. Add or correct the following directives, where SUBNET is the numerical
12659 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12660 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12661 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12662 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12663 localhost; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12664 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12665 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12666 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12667 allow-query { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12668 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12669 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12671 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12672 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12673 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12674 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12675 Enterprise nameservers generally serve two
12676 functions. One is to provide public information about the machines in a domain for the
12677 benefit of outside users who wish to contact those machines, for instance in order to
12678 send mail to users in the enterprise, or to visit the enterprise's external web page.
12679 The other is to provide nameservice to client machines within the enterprise. Client
12680 machines require both private information about enterprise machines (which may be
12681 different from the public information served to the rest of the world) and public
12682 information about machines outside the enterprise, which is used to send mail or visit
12683 websites outside of the organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12685 In order to provide the public nameservice
12686 function, it is necessary to share data with untrusted machines which request it —
12687 otherwise, the enterprise cannot be conveniently contacted by outside users. However,
12688 internal data should be protected from disclosure, and serving irrelevant public name
12689 queries for outside domains leaves the DNS server open to cache poisoning and other
12690 attacks. Therefore, local network nameservice functions should not be provided to
12691 untrusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12692 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12693 Separate machines should be used to fill these two functions whenever possible.</xccdf:description>
12694 </xccdf:Group>
12695 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.2">
12696 <xccdf:title xml:lang="en">Use Views to Partition External and Internal Information if Necessary</xccdf:title>
12697 <xccdf:description xml:lang="en">
12698 If it is not possible to run external and internal nameservers
12699 on separate physical machines, run BIND9 and simulate this feature using views. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12700 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12701 Edit
12702 /etc/named.conf. Add or correct the following directives (where SUBNET is the numerical
12703 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12704 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12705 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12706 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12707 localhost; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12708 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12709 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12710 view "internal-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12711 match-clients { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12712 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12713 zone "." IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12714 type hint; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12715 file "db.cache"; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12716 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12717 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12718 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12719 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12720 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12721 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12722 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12723 view "external-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12724 match-clients { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12725 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12726 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12727 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12728 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12729 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12730 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12731 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12732 The view feature is provided by BIND9 as a way to allow a single nameserver to make
12733 different sets of data available to different sets of clients. If possible, it is always
12734 better to run external and internal nameservers on separate machines, so that even
12735 complete compromise of the external server cannot be used to obtain internal data or
12736 confuse internal DNS clients. However, this is not always feasible, and use of a feature
12737 like views is preferable to leaving internal DNS data entirely unprotected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12738 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12739 Note: As
12740 shown in the example, database files which are required for recursion, such as the root
12741 hints file, must be available to any clients which are allowed to make recursive
12742 queries. Under typical circumstances, this includes only the internal clients which are
12743 allowed to use this server as a general-purpose nameserver.</xccdf:description>
12744 </xccdf:Group>
12745 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.3">
12746 <xccdf:title xml:lang="en">Disable Zone Transfers from the Nameserver if Possible</xccdf:title>
12747 <xccdf:description xml:lang="en">
12748 Is it necessary for a secondary nameserver to receive zone data
12749 via zone transfer from the primary server? If not, follow the instructions in this
12750 section. If so, see the next section for instructions on protecting zone transfers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12751 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12752 Edit /etc/named.conf. Add or correct the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12753 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12754 options { allow-transfer { none; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12755 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12756 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12757 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12758 If both the primary and secondary nameserver are under your control, or
12759 if you have only one nameserver, it may be possible to use an external configuration
12760 management mechanism to distribute zone updates. In that case, it is not necessary to
12761 allow zone transfers within BIND itself, so they should be disabled to avoid the
12762 potential for abuse.</xccdf:description>
12763 </xccdf:Group>
12764 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.4">
12765 <xccdf:title xml:lang="en">Authenticate Zone Transfers if Necessary</xccdf:title>
12766 <xccdf:description xml:lang="en">
12767 If it is necessary for a secondary nameserver to receive zone
12768 data via zone transfer from the primary server, follow the instructions here. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12769 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12770 Use dnssec-keygen to create a symmetric key file in the current directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12771 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12772 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /tmp <xhtml:br/>
12773 # dnssec-keygen -a HMAC-MD5 -b 128 -n HOST dns.example.com <xhtml:br/></xhtml:code>
12774 Kdns.example.com .+aaa +iiiii<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12775 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12776 This output is the name of a file containing the new key. Read the file to find the
12777 base64-encoded key string: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12778 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12779 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cat Kdns.example.com.+NNN+MMMMM.key <xhtml:br/></xhtml:code>
12780 dns.example.com IN KEY 512 3 157 base64-key-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12781 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12782 Edit /etc/named.conf on the primary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12783 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12784 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12785 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12786 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12787 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12788 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12789 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12790 type primary; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12791 allow-transfer { key zone-transfer-key; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12792 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12793 }<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12794 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12795 Edit /etc/named.conf on the secondary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12796 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12797 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12798 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12799 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12800 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12802 server IP-OF-PRIMARY { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12803 keys { zone-transfer-key; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12804 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12805 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12806 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12807 type secondary;<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12808 primaries { IP-OF-PRIMARY ; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12809 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12810 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12811 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12812 The BIND transaction signature (TSIG) functionality
12813 allows primary and secondary nameservers to use a shared secret to verify authorization
12814 to perform zone transfers. This method is more secure than using IP-based limiting to
12815 restrict nameserver access, since IP addresses can be easily spoofed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12816 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12817 However, if you
12818 cannot configure TSIG between your servers because, for instance, the secondary
12819 nameserver is not under your control and its administrators are unwilling to configure
12820 TSIG, you can configure an allow-transfer directive with numerical IP addresses or ACLs
12821 as a last resort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12822 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12823 Note: The purpose of the dnssec-keygen command is to create the shared
12824 secret string base64-key-string . Once this secret has been obtained and inserted into
12825 named.conf on the primary and secondary servers, the key files
12826 Kdns.example.com.+NNN+MMMMM.key and Kdns.example.com.+NNN+MMMMM.private are no longer
12827 needed, and may safely be deleted.</xccdf:description>
12828 </xccdf:Group>
12829 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.5">
12830 <xccdf:title xml:lang="en">Disable Dynamic Updates if Possible</xccdf:title>
12831 <xccdf:description xml:lang="en">
12832 Is there a mission-critical reason to enable the risky dynamic
12833 update functionality? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12834 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12835 Edit /etc/named.conf. For each zone specification, correct
12836 the following directive if necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12837 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12838 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12839 allow-update { none; };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12840 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12841 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12843 Dynamic updates allow remote servers to add, delete, or modify any entries in your
12844 zone file. Therefore, they should be considered highly risky, and disabled unless there
12845 is a very good reason for their use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12847 If dynamic updates must be allowed, IP-based ACLs
12848 are insufficient protection, since they are easily spoofed. Instead, use TSIG keys (see
12849 the previous section for an example), and consider using the update-policy directive to
12850 restrict changes to only the precise type of change needed.</xccdf:description>
12851 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false" weight="10.0">
12852 <xccdf:title>Disable DNS Dynamic Updates if Possible</xccdf:title>
12853 <xccdf:description>LDAP's dynamic updates feature should be disabled</xccdf:description>
12854 <xccdf:ident system="http://cce.mitre.org">CCE-4399-2</xccdf:ident>
12855 <xccdf:fixtext>(1) via /etc/named.conf</xccdf:fixtext>
12856 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12857 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20316"/>
12858 </xccdf:check>
12859 </xccdf:Rule>
12860 </xccdf:Group>
12861 </xccdf:Group>
12862 </xccdf:Group>
12863 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15">
12864 <xccdf:title xml:lang="en">FTPServer</xccdf:title>
12865 <xccdf:description xml:lang="en">
12866 FTP is a common method for allowing remote access to files. Like
12867 telnet, the FTP protocol is unencrypted, which means that passwords and other data
12868 transmitted during the session can be captured and that the session is vulnerable to
12869 hijacking. Therefore, running the FTP server software is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12870 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12871 However, there are
12872 some FTP server configurations which may be appropriate for some environments, particularly
12873 those which allow only read-only anonymous access as a means of downloading data available
12874 to the public.</xccdf:description>
12875 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.1">
12876 <xccdf:title xml:lang="en">Disable vsftpd if Possible</xccdf:title>
12877 <xccdf:description xml:lang="en">
12878 Is there a mission-critical reason for the machine to act as an
12879 FTP server? If not, disable vsftpd if it has been installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12880 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12881 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig vsftpd off</xhtml:code></xccdf:description>
12882 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.a" selected="false" severity="low" weight="10.0">
12883 <xccdf:title>Disable vsftpd if Possible</xccdf:title>
12884 <xccdf:description>The vsftpd service should be disabled.</xccdf:description>
12885 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
12886 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12887 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12888 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20317"/>
12889 </xccdf:check>
12890 </xccdf:Rule>
12891 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.b" selected="false" severity="low" weight="10.0">
12892 <xccdf:title>Uninstall vsftpd if Possible</xccdf:title>
12893 <xccdf:description>The vsftpd service should be uninstalled.</xccdf:description>
12894 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
12895 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
12896 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12897 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203175"/>
12898 </xccdf:check>
12899 </xccdf:Rule>
12900 </xccdf:Group>
12901 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.2">
12902 <xccdf:title xml:lang="en">Use vsftpd to Provide FTP Service if Necessary</xccdf:title>
12903 <xccdf:description xml:lang="en">
12904 If this machine must operate as an FTP server, install the vsftpd
12905 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
12906 from distributing wu-ftpd with RHEL to distributing vsftpd. For security and for
12907 consistency with future Red Hat releases, the use of vsftpd is recommended.</xccdf:description>
12908 </xccdf:Group>
12909 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3">
12910 <xccdf:title xml:lang="en">Configure vsftpd Securely</xccdf:title>
12911 <xccdf:description xml:lang="en">
12912 The primary vsftpd configuration file is /etc/vsftpd.conf, if
12913 that file exists, or /etc/vsftpd/vsftpd.conf if it does not. For the remainder of this
12914 section, the phrase 'the configuration file' will refer to whichever of those files is
12915 appropriate for your environment.</xccdf:description>
12916 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.1">
12917 <xccdf:title xml:lang="en">Enable Logging of All FTP Transactions</xccdf:title>
12918 <xccdf:description xml:lang="en">
12919 Edit the vsftpd configuration file. Add or correct the
12920 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12921 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12922 xferlog_std_format=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12923 log_ftp_protocol=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12925 The
12926 modifications above ensure that all commands sent to the ftp server are logged using the
12927 verbose vsftpd log format. The default vsftpd log file is /var/log/vsftpd.log. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12929 Note: If
12930 verbose logging to vsftpd.log is done, sparse logging of downloads to /var/log/xferlog
12931 will not also occur. However, the information about what files were downloaded is
12932 included in the information logged to vsftpd.log.</xccdf:description>
12933 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false" severity="low" weight="10.0">
12934 <xccdf:title>Enable Logging of All FTP Transactions</xccdf:title>
12935 <xccdf:description>Logging of vsftpd transactions should be enabled</xccdf:description>
12936 <xccdf:ident system="http://cce.mitre.org">CCE-4549-2</xccdf:ident>
12937 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
12938 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12939 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20318"/>
12940 </xccdf:check>
12941 </xccdf:Rule>
12942 </xccdf:Group>
12943 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.2">
12944 <xccdf:title xml:lang="en">Create Warning Banners for All FTP Users</xccdf:title>
12945 <xccdf:description xml:lang="en">
12946 Edit the vsftpd configuration file. Add or correct the
12947 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12949 banner_file=/etc/issue <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12951 See Section 2.3.7 for an
12952 explanation of banner file use. This setting will cause the system greeting banner to be
12953 used for FTP connections as well.</xccdf:description>
12954 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false" weight="10.0">
12955 <xccdf:title>Create Warning Banners for All FTP Users</xccdf:title>
12956 <xccdf:description>A warning banner for all FTP users should be enabled</xccdf:description>
12957 <xccdf:ident system="http://cce.mitre.org">CCE-4554-2</xccdf:ident>
12958 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
12959 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12960 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20319"/>
12961 </xccdf:check>
12962 </xccdf:Rule>
12963 </xccdf:Group>
12964 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3">
12965 <xccdf:title xml:lang="en">Restrict the Set of Users Allowed to Access FTP</xccdf:title>
12966 <xccdf:description xml:lang="en">
12967 This section describes how to disable non-anonymous
12968 (password-based) FTP logins, or, if it is not possible to do this entirely due to legacy
12969 applications, how to restrict insecure FTP login to only those users who have an
12970 identified need for this access.</xccdf:description>
12971 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.1">
12972 <xccdf:title xml:lang="en">Restrict Access to Anonymous Users if Possible</xccdf:title>
12973 <xccdf:description xml:lang="en">
12974 Is there a mission-critical reason for users to transfer
12975 files to/from their own accounts using FTP, rather than using a secure protocol like
12976 SCP/SFTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12977 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12978 Edit the vsftpd configuration file. Add or correct the following
12979 configuration option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12980 local_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12981 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12982 If non-anonymous FTP logins are necessary,
12983 follow the guidance in the remainder of this section to secure these logins as much as
12984 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12985 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12986 The use of non-anonymous FTP logins is strongly discouraged. Since SSH
12987 clients and servers are widely available, and since SSH provides support for a
12988 transfer mode which resembles FTP in user interface, there is no good reason to allow
12989 password-based FTP access. See Section 3.5 for more information about SSH.</xccdf:description>
12990 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false" severity="high" weight="10.0">
12991 <xccdf:title>Restrict Access to Anonymous Users if Possible</xccdf:title>
12992 <xccdf:description>Local user login to the vsftpd service should be disabled</xccdf:description>
12993 <xccdf:ident system="http://cce.mitre.org">CCE-4443-8</xccdf:ident>
12994 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
12995 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12996 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20320"/>
12997 </xccdf:check>
12998 </xccdf:Rule>
12999 </xccdf:Group>
13000 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.2">
13001 <xccdf:title xml:lang="en">Limit Users Allowed FTP Access if Necessary</xccdf:title>
13002 <xccdf:description xml:lang="en">
13003 If there is a mission-critical reason for users to access
13004 their accounts via the insecure FTP protocol, limit the set of users who are allowed
13005 this access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13006 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13007 Edit the vsftpd configuration file. Add or correct the following
13008 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13009 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13010 userlist_enable=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13011 userlist_file=/etc/vsftp.ftpusers<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13012 userlist_deny=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13013 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13014 Edit the file /etc/vsftp.ftpusers. For each user USERNAME who should
13015 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"/>
13016 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13017 USERNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13018 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13019 If anonymous access is also required, add the anonymous usernames to
13020 /etc/vsftp.ftpusers as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13022 anonymous <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13023 ftp <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13025 Historically, the file /etc/ftpusers
13026 contained a list of users who were not allowed to access the system via ftp. It was
13027 used to prevent system users such as the root user from logging in via the insecure
13028 ftp protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13029 However, when the configuration option userlist_deny=NO is set, vsftpd
13030 interprets ftpusers as the set of users who are allowed to login via ftp. Since it
13031 should be possible for most users to access their accounts via secure protocols, it is
13032 recommended that this setting be used, so that non-anonymous ftp access can be limited
13033 to legacy users who have been explicitly identified.</xccdf:description>
13034 </xccdf:Group>
13035 </xccdf:Group>
13036 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.4">
13037 <xccdf:title xml:lang="en">Disable FTP Uploads if Possible</xccdf:title>
13038 <xccdf:description xml:lang="en">
13039 Is there a mission-critical reason for users to upload files
13040 via FTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13041 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13042 Edit the vsftpd configuration file. Add or correct the following
13043 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13044 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13045 write_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13046 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13047 If FTP uploads are necessary, follow the guidance
13048 in the remainder of this section to secure these transactions as much as possible.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13049 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13050 Anonymous FTP can be a convenient way to make files available for universal download.
13051 However, it is less common to have a need to allow unauthenticated users to place files
13052 on the FTP server. If this must be done, it is necessary to ensure that files cannot be
13053 uploaded and downloaded from the same directory.</xccdf:description>
13054 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false" severity="medium" weight="10.0">
13055 <xccdf:title>Disable FTP Uploads if Possible</xccdf:title>
13056 <xccdf:description>File uploads via vsftpd should be disabled</xccdf:description>
13057 <xccdf:ident system="http://cce.mitre.org">CCE-4461-0</xccdf:ident>
13058 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13059 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13060 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20321"/>
13061 </xccdf:check>
13062 </xccdf:Rule>
13063 </xccdf:Group>
13064 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.5">
13065 <xccdf:title xml:lang="en">Place the FTP Home Directory on its Own Partition</xccdf:title>
13066 <xccdf:description xml:lang="en">
13067 By default, the anonymous FTP root is the home directory of the
13068 ftp user account. The df command can be used to verify that this directory is on its own
13069 partition. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13070 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13071 If there is a mission-critical reason for anonymous users to upload files,
13072 precautions must be taken to prevent these users from filling a disk used by other
13073 services.</xccdf:description>
13074 </xccdf:Group>
13075 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.6">
13076 <xccdf:title xml:lang="en">Configure Firewalls to Protect the FTP Server</xccdf:title>
13077 <xccdf:description xml:lang="en">
13078 Edit the file /etc/sysconfig/iptables. Add the following lines,
13079 ensuring that they appear before the final LOG and DROP lines for the
13080 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13081 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13082 -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"/>
13083 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13084 Edit the file /etc/sysconfig/iptables-config. Ensure that the space-separated
13085 list of modules contains the FTP connection tracking module:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13087 IPTABLES_MODULES="ip_conntrack_ftp" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13088 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13089 These settings configure iptables to allow
13090 connections to an FTP server. The first line allows initial connections to the FTP
13091 server port. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13092 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13093 FTP is an older protocol which is not very compatible with firewalls.
13094 During the initial FTP dialogue, the client and server negotiate an arbitrary port to be
13095 used for data transfer. The ip conntrack ftp module is used by iptables to listen to
13096 that dialogue and allow connections to the data ports which FTP negotiates. This allows
13097 an FTP server to operate on a machine which is running a firewall.</xccdf:description>
13098 </xccdf:Group>
13099 </xccdf:Group>
13100 </xccdf:Group>
13101 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16">
13102 <xccdf:title xml:lang="en">Web Server</xccdf:title>
13103 <xccdf:description xml:lang="en">
13104 The web server is responsible for providing access to content via
13105 the HTTP protocol. Web servers represent a significant security risk because: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13107 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The HTTP port is commonly probed by malicious sources </xhtml:li><xhtml:li>Web server software is very complex, and includes a long history of vulnerabilities </xhtml:li><xhtml:li>The HTTP protocol is unencrypted and vulnerable to passive monitoring </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13108 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13109 The system's default web server software is Apache 2 and is provided
13110 in the RPM package httpd.</xccdf:description>
13111 <xccdf:reference>Ristic, I. Apache Security. O’Reilly and Associates, Mar 2005</xccdf:reference>
13112 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.1">
13113 <xccdf:title xml:lang="en">Disable Apache if Possible</xccdf:title>
13114 <xccdf:description xml:lang="en">
13115 If Apache was installed and activated, but the system does not
13116 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"/>
13117 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13118 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig httpd off <xhtml:br/>
13119 # yum erase httpd</xhtml:code></xccdf:description>
13120 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.a" selected="false" severity="low" weight="10.0">
13121 <xccdf:title>Disable Apache if Possible</xccdf:title>
13122 <xccdf:description>The httpd service should be disabled.</xccdf:description>
13123 <xccdf:ident system="http://cce.mitre.org">CCE-4338-0</xccdf:ident>
13124 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
13125 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13126 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20322"/>
13127 </xccdf:check>
13128 </xccdf:Rule>
13129 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.b" selected="false" weight="10.0">
13130 <xccdf:title>Uninstall Apache if Possible</xccdf:title>
13131 <xccdf:description>The httpd package should be uninstalled.</xccdf:description>
13132 <xccdf:ident system="http://cce.mitre.org">CCE-4514-6</xccdf:ident>
13133 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
13134 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13135 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20323"/>
13136 </xccdf:check>
13137 </xccdf:Rule>
13138 </xccdf:Group>
13139 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2">
13140 <xccdf:title xml:lang="en">Install Apache if Necessary</xccdf:title>
13141 <xccdf:description xml:lang="en">
13142 If the Apache web server must be run, follow these guidelines to
13143 install it defensively. Then follow the guidelines in the remainder of Section 3.16 to
13144 configure the web server machine and software as securely as possible.</xccdf:description>
13145 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.1">
13146 <xccdf:title xml:lang="en">Install Apache Software Safely</xccdf:title>
13147 <xccdf:description xml:lang="en">
13148 Install the Apache 2 package from the standard Red Hat
13149 distribution channel: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13150 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13151 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install httpd <xhtml:br/></xhtml:code>
13152 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13153 Note: This method of installation is
13154 recommended over installing the 'Web Server' package group during the system
13155 installation process. The Web Server package group includes many packages which are
13156 likely extraneous, while the command-line method installs only the required httpd
13157 package itself.</xccdf:description>
13158 </xccdf:Group>
13159 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.2">
13160 <xccdf:title xml:lang="en">Confirm Minimal Built-in Modules</xccdf:title>
13161 <xccdf:description xml:lang="en">
13162 The default Apache installation minimizes the number of modules
13163 that are compiled directly into the binary (core prefork http core mod so). This
13164 minimizes risk by limiting the capabilities allowed by the webserver. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13165 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13166 Query the set of compiled-in modules using the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13167 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13168 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ httpd -l <xhtml:br/></xhtml:code>
13169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13170 If the number of compiled-in
13171 modules is significantly larger than the aforementioned set, this guide recommends
13172 reinstallating Apache with a reduced configuration.</xccdf:description>
13173 </xccdf:Group>
13174 </xccdf:Group>
13175 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3">
13176 <xccdf:title xml:lang="en">Secure the Apache Configuration</xccdf:title>
13177 <xccdf:description xml:lang="en">
13178 The Apache configuration file is /etc/httpd/conf/httpd.conf.
13179 Apply the recommendations in the remainder of this section to this file.</xccdf:description>
13180 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.1">
13181 <xccdf:title xml:lang="en">Restrict Information Leakage</xccdf:title>
13182 <xccdf:description xml:lang="en">
13183 The ServerTokens and ServerSignature directives determine how
13184 much information the web server discloses about the configuration of the system.
13185 ServerTokens Prod restricts information in page headers, returning only the word
13186 'Apache.' ServerSignature Off keeps Apache from displaying the server version on error
13187 pages. It is a good security practice to limit the information provided to clients. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13188 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13189 Add
13190 or correct the following directives in /etc/httpd/conf/httpd.conf so that as little
13191 information as possible is released: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13192 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13193 ServerTokens Prod <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13194 ServerSignature Off</xccdf:description>
13195 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.a" operator="equals" type="string">
13196 <xccdf:title>value of ServerTokens</xccdf:title>
13197 <xccdf:description xml:lang="en">Tells apache to only return Apache in the Server header, returned on every page request.</xccdf:description>
13198 <xccdf:question xml:lang="en">Specify restrictions of of provided information in page headers for web server</xccdf:question>
13199 <xccdf:value>Prod</xccdf:value>
13200 <xccdf:value selector="prod">Prod</xccdf:value>
13201 </xccdf:Value>
13202 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.b" operator="equals" type="string">
13203 <xccdf:title>value of ServerSignature</xccdf:title>
13204 <xccdf:description xml:lang="en">Tells apache not to display the server version on error pages, or other pages it generates.</xccdf:description>
13205 <xccdf:question xml:lang="en">Enable/Disable Apache displaying the server version on error pages</xccdf:question>
13206 <xccdf:value>Off</xccdf:value>
13207 <xccdf:value selector="off">Off</xccdf:value>
13208 </xccdf:Value>
13209 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false" weight="10.0">
13210 <xccdf:title>Restrict Information Leakageusing ServerTokens</xccdf:title>
13211 <xccdf:description>The apache2 server's ServerTokens value should be set appropriately</xccdf:description>
13212 <xccdf:ident system="http://cce.mitre.org">CCE-4474-3</xccdf:ident>
13213 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13214 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13215 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20324" value-id="xccdf_cdf_value_var-3.16.3.1.a"/>
13216 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20324"/>
13217 </xccdf:check>
13218 </xccdf:Rule>
13219 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false" weight="10.0">
13220 <xccdf:title>Restrict Information Leakage using ServerSignature</xccdf:title>
13221 <xccdf:description>The apache2 server's ServerSignature value should be set appropriately</xccdf:description>
13222 <xccdf:ident system="http://cce.mitre.org">CCE-3756-4</xccdf:ident>
13223 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13224 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13225 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20325" value-id="xccdf_cdf_value_var-3.16.3.1.b"/>
13226 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20325"/>
13227 </xccdf:check>
13228 </xccdf:Rule>
13229 </xccdf:Group>
13230 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2">
13231 <xccdf:title xml:lang="en">Minimize Loadable Modules</xccdf:title>
13232 <xccdf:description xml:lang="en">
13233 A default installation of Apache includes a plethora of
13234 'dynamically shared objects' (DSO) that are loaded at run-time. Unlike the
13235 aforementioned 'compiled-in' modules, a DSO can be disabled in the configuration file by
13236 removing the corresponding LoadModule directive. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13237 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13238 Note: A DSO only provides additional
13239 functionality if associated directives are included in the Apache configuration file. It
13240 should also be noted that removing a DSO will produce errors on Apache startup if the
13241 configuration file contains directives that apply to that module. Refer to
13242 http://httpd.apache.org/docs/ for details on which directives are associated with each
13243 DSO. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13244 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13245 Follow each DSO removal, the configuration can be tested with the following command
13246 to check if everything still works: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13247 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13248 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service httpd configtest <xhtml:br/></xhtml:code>
13249 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13250 The purpose of each of
13251 the modules loaded by default will now be addressed one at a time. If none of a module's
13252 directives are being used, remove it.</xccdf:description>
13253 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.1">
13254 <xccdf:title xml:lang="en">Apache Core Modules</xccdf:title>
13255 <xccdf:description xml:lang="en">
13256 These modules comprise a basic subset of modules that are
13257 likely needed for base Apache functionality; ensure they are not commented out in
13258 /etc/httpd/conf/httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13259 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13260 LoadModule auth_basic_module modules/mod_auth_basic.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13261 LoadModule authn_default_module modules/mod_authn_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13262 LoadModule authz_host_module modules/mod_authz_host.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13263 LoadModule authz_user_module modules/mod_authz_user.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13264 LoadModule authz_groupfile_module modules/mod_authz_groupfile.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13265 LoadModule authz_default_module modules/mod_authz_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13266 LoadModule log_config_module modules/mod_log_config.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13267 LoadModule logio_module modules/mod_logio.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13268 LoadModule setenvif_module modules/mod_setenvif.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13269 LoadModule mime_module modules/mod_mome.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13270 LoadModule autoindex_module modules/mod_autoindex.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13271 LoadModule negotiation_module modules/mod_negotiation.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13272 LoadModule dir_module modules/mod_dir.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13273 LoadModule alias_module modules/mod_alias.so</xccdf:description>
13274 </xccdf:Group>
13275 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.2">
13276 <xccdf:title xml:lang="en">HTTP Basic Authentication</xccdf:title>
13277 <xccdf:description xml:lang="en">
13278 The following modules are necessary if this web server will
13279 provide content that will be restricted by a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13280 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13281 Authentication can be performed
13282 using local plain text password files (authn file), local DBM password files (authn
13283 dbm) or an LDAP directory (see Section 3.16.3.2.5). The only module required by the
13284 web server depends on your choice of authentication. Comment out the modules you don't
13285 need from the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13286 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13287 LoadModule authn_file_module modules/mod_authn_file.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13288 LoadModule authn_dbm_module modules/mod_authn_dbm.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13290 authn_alias allows for
13291 authentication based on aliases. authn_anon allows anonymous authentication similar to
13292 that of anonymous ftp sites. authz owner allows authorization based on file ownership.
13293 authz dbm allows for authorization based on group membership if the web server is
13294 using DBM authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13295 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13296 If the above functionality is unnecessary, comment out the
13297 related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13299 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule authn_alias_module modules/mod_authn_alias.so <xhtml:br/>
13300 #LoadModule authn_anon_module modules/mod_authn_anon.so <xhtml:br/>
13301 #LoadModule authz_owner_module modules/mod_authz_owner.so <xhtml:br/>
13302 #LoadModule authz_dbm_module modules/mod_authz_dbm.so</xhtml:code></xccdf:description>
13303 </xccdf:Group>
13304 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.3">
13305 <xccdf:title xml:lang="en">HTTP Digest Authentication</xccdf:title>
13306 <xccdf:description xml:lang="en">
13307 This module provides encrypted authentication sessions.
13308 However, this module is rarely used and considered experimental. Alternate methods of
13309 encrypted authentication are recommended, such as SSL (Section 3.16.4.1) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13311 If the above
13312 functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13313 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13314 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule auth_digest_module modules/mod_auth_digest.so</xhtml:code></xccdf:description>
13315 </xccdf:Group>
13316 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.4">
13317 <xccdf:title xml:lang="en">mod rewrite</xccdf:title>
13318 <xccdf:description xml:lang="en">
13319 The mod rewrite module is very powerful and can protect
13320 against certain classes of web attacks. However, it is also very complex and has a
13321 significant history of vulnerabilities itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13322 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13323 If the above functionality is
13324 unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13325 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13326 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule rewrite_module modules/mod_rewrite.so</xhtml:code></xccdf:description>
13327 </xccdf:Group>
13328 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.5">
13329 <xccdf:title xml:lang="en">LDAP Support</xccdf:title>
13330 <xccdf:description xml:lang="en">
13331 This module provides HTTP authentication via an LDAP
13332 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13333 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13334 If the above functionality is unnecessary, comment out the related modules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13336 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule ldap_module modules/mod_ldap.so <xhtml:br/>
13337 #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so <xhtml:br/></xhtml:code>
13338 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13339 If LDAP is to be used, SSL encryption (Section 3.16.4.1)
13340 should be used as well.</xccdf:description>
13341 </xccdf:Group>
13342 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.6">
13343 <xccdf:title xml:lang="en">Server Side Includes</xccdf:title>
13344 <xccdf:description xml:lang="en">
13345 Server Side Includes provide a method of dynamically
13346 generating web pages through the insertion of server-side code. However, the
13347 technology is also deprecated and introduces significant security concerns. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13348 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13349 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13351 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule include_module modules/mod_include.so <xhtml:br/></xhtml:code>
13352 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13353 If there is a critical need for Server Side
13354 Includes, they should be enabled with the option IncludesNoExec to prevent arbitrary
13355 code execution. Additionally, user supplied data should be encoded to prevent
13356 cross-site scripting vulnerabilities.</xccdf:description>
13357 </xccdf:Group>
13358 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.7">
13359 <xccdf:title xml:lang="en">MIME Magic</xccdf:title>
13360 <xccdf:description xml:lang="en">
13361 This module provides a second layer of MIME support that in
13362 most configurations is likely extraneous. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13364 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13365 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13366 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule mime_magic_module modules/mod_mime_magic.so</xhtml:code></xccdf:description>
13367 </xccdf:Group>
13368 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.8">
13369 <xccdf:title xml:lang="en">WebDAV (Distributed Authoring and Versioning)</xccdf:title>
13370 <xccdf:description xml:lang="en">
13371 WebDAV is an extension of the HTTP protocol that provides
13372 distributed and collaborative access to web content. Due to a number of security
13373 concerns with WebDAV, its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13374 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13375 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13376 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13377 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule dav_module modules/mod_dav.so <xhtml:br/>
13378 #LoadModule dav_fs_module modules/mod_dav_fs.so <xhtml:br/></xhtml:code>
13379 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13380 If there is a
13381 critical need for WebDAV, extra care should be taken in its configuration. Since DAV
13382 access allows remote clients to manipulate server files, any location on the server
13383 that is DAV enabled should be protected by encrypted authentication.</xccdf:description>
13384 </xccdf:Group>
13385 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.9">
13386 <xccdf:title xml:lang="en">Server Activity Status</xccdf:title>
13387 <xccdf:description xml:lang="en">
13388 This module provides real-time access to statistics on the
13389 internal operation of the web server. This is an unnecessary information leak and
13390 should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13391 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13392 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13393 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13394 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule status_module modules/mod_status.so <xhtml:br/></xhtml:code>
13395 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13396 If there is a critical need
13397 for this module, ensure that access to the status page is properly restricted to a
13398 limited set of hosts in the status handler configuration.</xccdf:description>
13399 </xccdf:Group>
13400 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.10">
13401 <xccdf:title xml:lang="en">Web Server Configuration Display</xccdf:title>
13402 <xccdf:description xml:lang="en">
13403 This module creates a web page illustrating the configuration
13404 of the web server. This is an unnecessary security leak and should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13405 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13406 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13407 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13408 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule info_module modules/mod_info.so <xhtml:br/></xhtml:code>
13409 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13410 If there is a critical need for this module, use the
13411 Location directive to provide an access control list to restrict access to the
13412 information.</xccdf:description>
13413 </xccdf:Group>
13414 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.11">
13415 <xccdf:title xml:lang="en">URL Correction on Misspelled Entries</xccdf:title>
13416 <xccdf:description xml:lang="en">
13417 This module attempts to find a document match by allowing one
13418 misspelling in an otherwise failed request. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13419 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13420 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13422 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule speling_module modules/mod_speling.so <xhtml:br/></xhtml:code>
13423 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13424 This functionality weakens server security by making site enumeration easier.</xccdf:description>
13425 </xccdf:Group>
13426 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.12">
13427 <xccdf:title xml:lang="en">User-specific directories</xccdf:title>
13428 <xccdf:description xml:lang="en">
13429 The UserDir directive provides user-specific directory
13430 translation, allowing URLs based on associated usernames. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13431 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13432 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13433 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13434 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule userdir_module modules/mod_userdir.so <xhtml:br/></xhtml:code>
13435 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13436 If there is a critical need for this module, include the line
13437 UserDir disabled root (at a minimum) in the configuration file. Ideally, UserDir
13438 should be disabled, and then enabled on a case-by-case basis for specific users that
13439 require this functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13440 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13441 Note: A web server's users can be trivially enumerated
13442 using this module.</xccdf:description>
13443 </xccdf:Group>
13444 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.13">
13445 <xccdf:title xml:lang="en">Proxy Support</xccdf:title>
13446 <xccdf:description xml:lang="en">
13447 This module provides proxying support, allowing Apache to
13448 forward requests and serve as a gateway for other servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13449 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13450 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13451 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13452 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule proxy_module modules/mod_proxy.so <xhtml:br/>
13453 #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<xhtml:br/>
13454 #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so <xhtml:br/>
13455 #LoadModule proxy_http_module modules/mod_proxy_http.so <xhtml:br/>
13456 #LoadModule proxy_connect_module modules/mod_proxy_connect.so <xhtml:br/></xhtml:code>
13457 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13458 If proxy support is needed, load proxy and the
13459 appropriate proxy protocol handler module (one of proxy http, proxy ftp, or proxy
13460 connect). Additionally, make certain that a server is secure before enabling proxying,
13461 as open proxy servers are a security risk. proxy balancer enables load balancing, but
13462 requires that mod status be enabled. Since mod status is not recommended, proxy
13463 balancer should be avoided as well.</xccdf:description>
13464 </xccdf:Group>
13465 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.14">
13466 <xccdf:title xml:lang="en">Cache Support</xccdf:title>
13467 <xccdf:description xml:lang="en">
13468 This module allows Apache to cache data, optimizing access to
13469 frequently accessed content. However, not only is it an experimental module, but it
13470 also introduces potential security flaws into the web server such as the possibility
13471 of circumventing Allow and Deny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13472 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13473 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13474 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13475 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cache_module modules/mod_cache.so<xhtml:br/>
13476 #LoadModule disk_cache_module modules/mod_disk_cache.so <xhtml:br/>
13477 #LoadModule file_cache_module modules/mod_file_cache.so <xhtml:br/>
13478 #LoadModule mem_cache_module modules/mod_mem_cache.so <xhtml:br/></xhtml:code>
13479 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13480 If caching is required, it should not be enabled for any limited-access content.</xccdf:description>
13481 </xccdf:Group>
13482 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.15">
13483 <xccdf:title xml:lang="en">CGI Support (and Related Modules)</xccdf:title>
13484 <xccdf:description xml:lang="en">
13485 This module allows HTML to interact with the CGI web
13486 programming language. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13487 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13488 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13489 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cgi_module modules/mod_cgi.so <xhtml:br/>
13490 #LoadModule env_module modules/mod_env.so <xhtml:br/>
13491 #LoadModule actions_module modules/mod_actions.so <xhtml:br/>
13492 #LoadModule suexec_module modules/mod_suexec.so <xhtml:br/></xhtml:code>
13493 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13494 If the web server requires the use of CGI, enable
13495 the cgi module. If extended CGI functionality is required, include the appropriate
13496 modules. env allows for control of the environment passed to CGI scripts. actions
13497 allows CGI events to be triggered when files of a certain type are requested. su exec
13498 allows CGI scripts to run as a specified user/group instead of as the server's
13499 user/group.</xccdf:description>
13500 </xccdf:Group>
13501 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.16">
13502 <xccdf:title xml:lang="en">Various Optional Components</xccdf:title>
13503 <xccdf:description xml:lang="en">
13504 The following modules perform very specific tasks, sometimes
13505 providing access to just a few additional directives. If this functionality is not
13506 required (or if you are not using these directives), comment out the associated
13507 module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13508 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13509 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>External filtering (response passed through external program prior to client delivery) <xhtml:br/>
13510 <xhtml:br/>
13511 <xhtml:code>#LoadModule ext_filter_module modules/mod_ext_filter.so </xhtml:code></xhtml:li><xhtml:li>User-specified
13512 Cache Control and Expiration <xhtml:br/>
13513 <xhtml:br/>
13514 <xhtml:code>#LoadModule expires_module modules/mod_expires.so</xhtml:code> </xhtml:li><xhtml:li>Compression Output Filter (provides content compression prior to client delivery)<xhtml:br/>
13515 <xhtml:br/>
13516 <xhtml:code>#LoadModule deflate_module modules/mod_deflate.so </xhtml:code></xhtml:li><xhtml:li>HTTP Response/Request Header Customization <xhtml:br/>
13517 <xhtml:br/>
13518 <xhtml:code>#LoadModule headers_module modules/mod_headers.so</xhtml:code> </xhtml:li><xhtml:li>User activity monitoring via cookies <xhtml:br/>
13519 <xhtml:br/>
13520 <xhtml:code>#LoadModule usertrack_module modules/mod_usertrack.so </xhtml:code></xhtml:li><xhtml:li>Dynamically configured mass virtual hosting <xhtml:br/>
13521 <xhtml:br/>
13522 <xhtml:code>#LoadModule vhost_alias_module modules/mod_vhost_alias.so</xhtml:code></xhtml:li></xhtml:ul>
13523 </xccdf:description>
13524 </xccdf:Group>
13525 </xccdf:Group>
13526 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.3">
13527 <xccdf:title xml:lang="en">Minimize Configuration Files Included</xccdf:title>
13528 <xccdf:description xml:lang="en">
13529 The Include directive directs Apache to load supplementary
13530 configuration files from a provided path. The default configuration loads all files that
13531 end in .conf from the /etc/httpd/conf.d directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13532 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13533 To restrict excess configuration, the
13534 following line should be commented out and replaced with Include directives that only
13535 reference required configuration files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13537 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#Include conf.d/*.conf <xhtml:br/></xhtml:code>
13538 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13539 If the above change was
13540 made, ensure that the SSL encryption remains loaded by explicitly including the
13541 corresponding configuration file: (see Section 3.16.4.1 for further details on SSL
13542 configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13544 Include conf.d/ssl.conf <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13546 If PHP is necessary, a similar alteration must be
13547 made: (see Section 3.16.4.4.1 for further details on PHP configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13549 Include conf.d/php.conf</xccdf:description>
13550 </xccdf:Group>
13551 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4">
13552 <xccdf:title xml:lang="en">Directory Restrictions</xccdf:title>
13553 <xccdf:description xml:lang="en">
13554 The Directory tags in the web server configuration file allow
13555 finer grained access control for a specified directory. All web directories should be
13556 configured on a case-by-case basis, allowing access only where needed.</xccdf:description>
13557 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.1">
13558 <xccdf:title xml:lang="en">Restrict Root Directory</xccdf:title>
13559 <xccdf:description xml:lang="en">
13560 The Apache root directory should always have the most
13561 restrictive configuration enabled.
13562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13563 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13564 &lt;Directory
13565 /&gt;
13566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13567 Options None
13568 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13569 AllowOverride None
13570 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13571 Order
13572 allow,deny
13573 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13574 &lt;/Directory&gt;
13575 </xccdf:description>
13576 </xccdf:Group>
13577 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.2">
13578 <xccdf:title xml:lang="en">Restrict Web Directory</xccdf:title>
13579 <xccdf:description xml:lang="en">
13580 The default configuration for the web (/var/www/html)
13581 Directory allows directory indexing (Indexes)and the following of symbolic links
13582 (FollowSymLinks). Neither of these is recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13583 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13584 The
13585 /var/www/html directory hierarchy should not be viewable via the web, and symlinks
13586 should only be followed if the owner of the symlink also owns the linked
13587 file.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13588 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13589 Ensure that this policy is adhered to by altering the
13590 related section of the configuration:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13591 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13592 &lt;Directory
13593 "/var/www/html"&gt;
13594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13595 # ...
13596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13597 Options SymLinksIfOwnerMatch
13598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13599 # ...
13600 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13601 &lt;/Directory&gt;
13602 </xccdf:description>
13603 </xccdf:Group>
13604 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.3">
13605 <xccdf:title xml:lang="en">Restrict Other Critical Directories</xccdf:title>
13606 <xccdf:description xml:lang="en">
13607 All accessible web directories should be configured with
13608 similar restrictive settings. The Options directive should be limited to necessary
13609 functionality and the AllowOverride directive should be used only if needed. The Order
13610 and Deny access control tags should be used to deny access by default, allowing access
13611 only where necessary.</xccdf:description>
13612 </xccdf:Group>
13613 </xccdf:Group>
13614 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.5">
13615 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
13616 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Set up a password file. <xhtml:br/>
13617 <xhtml:br/>
13618 If a password file doesn't yet exist, one must be generated with the following command: <xhtml:br/>
13619 <xhtml:br/>
13620 <xhtml:code># htpasswd -cs passwdfile user <xhtml:br/></xhtml:code>
13621 <xhtml:br/>
13622 <xhtml:em>WARNING: This command will overwrite an existing file at this location.</xhtml:em>
13623 <xhtml:br/>
13624 Once a password file has been generated, subsequent users can be added with the
13625 following command: <xhtml:br/>
13626 <xhtml:br/>
13627 <xhtml:code># htpasswd -s passwdfile user </xhtml:code></xhtml:li><xhtml:li>Optionally, set up a group file (if using group authentication). <xhtml:br/>
13628 <xhtml:br/>
13629 The group file is a plain text file of the following format
13630 (each group is on its own line, followed by a colon and a list of users that belong to
13631 that group, separated by spaces): <xhtml:br/>
13632 <xhtml:br/>
13633 group : user1 user2 <xhtml:br/>
13634 group2 : user3 </xhtml:li><xhtml:li>Modify file
13635 permissions so that Apache can read the group and passwd files: <xhtml:br/>
13636 <xhtml:br/>
13637 <xhtml:code># chgrp apache passwdfile groupfile <xhtml:br/>
13638 # chmod 640 passwdfile groupfile </xhtml:code></xhtml:li><xhtml:li>Turn on authentication for desired directories <xhtml:br/>
13639 <xhtml:br/>
13640 Add the following options inside the appropriate Directory tag: <xhtml:br/>
13641 <xhtml:br/>
13642 <xhtml:ul><xhtml:li>For single-user authentication: <xhtml:br/>
13643 &lt;Directory "directory "&gt; <xhtml:br/>
13644 # ... AuthName "Private Data" <xhtml:br/>
13645 AuthType Basic <xhtml:br/>
13646 AuthUserFile passwdfile <xhtml:br/>
13647 require user user <xhtml:br/>
13648 # ...<xhtml:br/>
13649 &lt;/Directory&gt; </xhtml:li><xhtml:li>For multiple-user authentication restricted by groups:<xhtml:br/>
13650 &lt;Directory "directory "&gt; <xhtml:br/>
13651 # ... <xhtml:br/>
13652 AuthName "Private Data" <xhtml:br/>
13653 AuthType Basic<xhtml:br/>
13654 <xhtml:br/>
13655 AuthUserFile passwdfile <xhtml:br/>
13656 AuthGroupFile groupfile <xhtml:br/>
13657 require group group <xhtml:br/>
13658 # ...<xhtml:br/>
13659 &lt;/Directory&gt; </xhtml:li><xhtml:li>For multiple-user authentication restricted by valid user accounts: <xhtml:br/>
13660 <xhtml:br/>
13661 &lt;Directory "directory "&gt; <xhtml:br/>
13662 # ... <xhtml:br/>
13663 AuthName "Private Data" <xhtml:br/>
13664 AuthType Basic <xhtml:br/>
13665 AuthUserFile passwdfile <xhtml:br/>
13666 require valid-user <xhtml:br/>
13667 # ... <xhtml:br/>
13668 &lt;/Directory&gt; </xhtml:li></xhtml:ul>
13669 </xhtml:li></xhtml:ol>
13670 The AuthName directive specifies a label for the protected content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13672 The AuthType directive
13673 specifies the kind of authentication (if using Digest authentication, this line would
13674 instead read AuthType Digest) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13675 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13676 The AuthUserFile and AuthGroupFile directives point to the
13677 password and group files (if using Digest authentication, these directives would instead
13678 be AuthDigestFile and AuthDigestGroupFile.)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13679 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13680 The require user directive restricts access
13681 to a single user. The require group directive restricts access to multiple users in a
13682 designated group. The short-hand require valid-user directive restricts access to any
13683 user in the passwdfile <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13685 Note: Make sure the AuthUserFile and AuthGroupFile locations are
13686 outside the web server document tree to prevent remote clients from having access to
13687 restricted usernames and passwords. This guide recommends /etc/httpd/conf as a location
13688 for these files.</xccdf:description>
13689 <xccdf:warning xml:lang="en">Basic authentication is handled in plaintext over the network.
13690 Therefore, all login attempts are vulnerable to password sniffing. For increased
13691 protection against passive monitoring, encrypted authentication over a secure channel
13692 such as SSL (Section 3.16.4.1) is recommended. </xccdf:warning>
13693 </xccdf:Group>
13694 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.6">
13695 <xccdf:title xml:lang="en">Limit Available Methods</xccdf:title>
13696 <xccdf:description xml:lang="en">
13697 Web server methods are defined in section 9 of RFC 2616
13698 (http://www.ietf.org/rfc/rfc2616.txt). If a web server does not require the
13699 implementation of all available methods, they should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13700 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13701 Note: GET and POST are
13702 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"/>
13703 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13704 &lt;Directory /var/www/html&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13705 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13706 # Only allow specific methods (this command is case-sensitive!) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13707 &lt;LimitExcept GET POST&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13708 Order allow,deny<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13709 &lt;/LimitExcept&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13710 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13711 &lt;/Directory&gt;</xccdf:description>
13712 </xccdf:Group>
13713 </xccdf:Group>
13714 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4">
13715 <xccdf:title xml:lang="en">Use Appropriate Modules to Improve Apaches Security'</xccdf:title>
13716 <xccdf:description xml:lang="en">
13717 Among the modules available for Apache are several whose use may
13718 improve the security of the web server installation. This section recommends and discusses
13719 the deployment of security-relevant modules.</xccdf:description>
13720 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1">
13721 <xccdf:title xml:lang="en">Deploy mod ssl</xccdf:title>
13722 <xccdf:description xml:lang="en">
13723 Because HTTP is a plain text protocol, all traffic is
13724 susceptible to passive monitoring. If there is a need for confidentiality, SSL should be
13725 configured and enabled to encrypt content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13726 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13727 Note: mod nss is a FIPS 140-2 certified
13728 alternative to mod ssl. The modules share a considerable amount of code and should be
13729 nearly identical in functionality. If FIPS 140-2 validation is required, then mod nss
13730 should be used. If it provides some feature or its greater compatibility is required,
13731 thenmod ssl should be used.</xccdf:description>
13732 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.1">
13733 <xccdf:title xml:lang="en">Install mod ssl</xccdf:title>
13734 <xccdf:description xml:lang="en">
13735 Install mod ssl: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13736 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13737 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install mod ssl</xhtml:code></xccdf:description>
13738 </xccdf:Group>
13739 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.2">
13740 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
13741 <xccdf:description xml:lang="en">
13742 On your CA (if you are using your own) or on another
13743 physically secure system, generate a key pair for the web server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13744 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13745 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/>
13746 # openssl genrsa -des3 -out httpserverkey.pem 2048 <xhtml:br/></xhtml:code>
13747 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13748 When prompted,
13749 enter a strong, unique passphrase to protect the web server key pair. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13751 Next, generate a Certificate Signing Request (CSR) from the key for the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13752 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13753 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key httpserverkey.pem -out httpserver.csr <xhtml:br/></xhtml:code>
13754 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13755 Enter the passphrase for the web server key pair
13756 and then fill out the fields as completely as possible (or hit return to accept
13757 defaults); the Common Name field is especially important. It must match the
13758 fullyqualified domain name of your server exactly (e.g. www.example.com) or the
13759 certificate will not work. The /etc/pki/tls/openssl.conf file will determine which
13760 other fields (e.g. Country Name, Organization Name, etc) must match between the server
13761 request and the CA. Leave the challenge password and an optional company name blank.
13762 Next, the web server CSR must be signed to create the web server certificate. You can
13763 either send the CSR to an established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13765 To sign httpserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13766 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13767 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in httpserver.csr -out httpservercert.pem<xhtml:br/></xhtml:code>
13768 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13769 When prompted, enter the CA passphrase to continue and then complete the process. The
13770 httpservercert. pem certificate needed to enable SSL on the web server is now in the
13771 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13772 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13773 Finally, the web server key and certificate file need to be moved to the
13774 web server. Use removable media if possible. Place the server key and certificate file
13775 in /etc/pki/tls/http/, naming them serverkey.pem and servercert.pem, respectively.</xccdf:description>
13776 </xccdf:Group>
13777 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.3">
13778 <xccdf:title xml:lang="en">Install SSL Certificate</xccdf:title>
13779 <xccdf:description xml:lang="en">
13780 Add or modify the configuration file
13781 /etc/httpd/conf.d/ssl.conf to match the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13782 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13783 # establish new listening port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13784 Listen 443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13785 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13786 # seed appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13787 SSLRandomSeed startup file:/dev/urandom 1024<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13788 SSLRandomSeed connect file:/dev/urandom 1024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13789 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13790 &lt;VirtualHost site-on-certificate.com:443&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13791 # Enable SSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13792 SSLEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13793 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13794 # Path to server certificate + private key <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13795 SSLCertificateFile /etc/pki/tls/http/servercert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13796 SSLCertificateKeyFile /etc/pki/tls/http/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13798 SSLProtocol All -SSLv2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13799 # Weak ciphers and null authentication should be denied unless absolutely necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13800 # (and even then, such cipher weakening should occur within a Location enclosure)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13801 SSLCipherSuite HIGH:MEDIUM:!aNULL:+MD5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13802 &lt;/VirtualHost&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13804 Ensure that all
13805 directories that house SSL content are restricted to SSL access only in
13806 /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13807 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13808 &lt;Directory /var/www/html/secure&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13809 # require SSL for access <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13810 SSLRequireSSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13811 SSLOptions +StrictRequire <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13812 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13813 # require domain to match certificate domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13814 SSLRequire %{HTTP HOST} eq "site-on-certificate.com" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13816 # rather than reply with 403 error, redirect user to appropriate site <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13817 # this is OPTIONAL - uncomment to apply <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13818 # ErrorDocument 403 https://site-on-certificate.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13819 &lt;/Directory&gt;</xccdf:description>
13820 </xccdf:Group>
13821 </xccdf:Group>
13822 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2">
13823 <xccdf:title xml:lang="en">Deploy mod security</xccdf:title>
13824 <xccdf:description xml:lang="en">
13825 mod security provides an application level firewall for Apache.
13826 Following the installation of mod security with the base ruleset, specific configuration
13827 advice can be found at http://www.modsecurity.org/ to design a policy that best matches
13828 the security needs of the web applications.</xccdf:description>
13829 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.1">
13830 <xccdf:title xml:lang="en">Install mod security</xccdf:title>
13831 <xccdf:description xml:lang="en">
13832 Install mod security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13833 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13834 # yum install mod_security</xccdf:description>
13835 </xccdf:Group>
13836 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.2">
13837 <xccdf:title xml:lang="en">Configure mod security Filtering</xccdf:title>
13838 <xccdf:description xml:lang="en">
13839 mod security supports a significant number of options, far
13840 too many to be fully covered in this guide. However, the following list comprises a
13841 smaller subset of suggested filters to be added to /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13843 # enable mod_security <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13844 SecFilterEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13845 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13846 # enable POST filtering <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13847 SecFilterScanPost On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13848 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13849 # Make sure that URL encoding is valid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13850 SecFilterCheckURLEncoding On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13851 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13852 # Accept almost all byte values <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13853 SecFilterForceByteRange 1 255 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13855 # Prevent directory traversal <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13856 SecFilter "\.\./" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13858 # Filter on specific system specific paths <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13859 SecFilter /etc/passwd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13860 SecFilter /bin/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13862 # Prevent cross-site scripting <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13863 SecFilter "&lt;[[:space:]]* script" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13864 # Prevent SQL injection <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13865 SecFilter "delete[[:space:]]+from" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13866 SecFilter "insert[[:space:]]+into"<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13867 SecFilter "select.+from"</xccdf:description>
13868 </xccdf:Group>
13869 </xccdf:Group>
13870 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.3">
13871 <xccdf:title xml:lang="en">Use Denial-of-Service Protection Modules</xccdf:title>
13872 <xccdf:description xml:lang="en">
13873 Denial-of-service attacks are difficult to detect and prevent
13874 while maintaining acceptable access to authorized users. However, there are a number of
13875 traffic-shaping modules that attempt to address the problem. Well-known DoS protection
13876 modules include: mod_throttle mod_bwshare mod_limitipconn mod_dosevasive It is
13877 recommended that denial-of-service prevention be implemented for the web server.
13878 However, this guide leaves specific configuration details to the discretion of the
13879 reader.</xccdf:description>
13880 </xccdf:Group>
13881 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4">
13882 <xccdf:title xml:lang="en">Configure Supplemental Modules Appropriately</xccdf:title>
13883 <xccdf:description xml:lang="en">Any required functionality added to the web server via additional modules should be configured appropriately.</xccdf:description>
13884 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4.1">
13885 <xccdf:title xml:lang="en">Configure PHP Securely</xccdf:title>
13886 <xccdf:description xml:lang="en">
13887 PHP is a widely used and often misconfigured server-side
13888 scripting language. It should be used with caution, but configured appropriately when
13889 needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13890 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13891 Make the following changes to /etc/php.ini: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13892 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13893 # Do not expose PHP error messages to external users <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13894 display_errors = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13896 # Enable safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13897 safe_mode = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13899 # Only allow access to executables in isolated directory <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13900 safe_mode_exec_dir = php-required-executables-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13902 # Limit external access to PHP environment<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13903 safe_mode_allowed_env_vars = PHP_ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13904 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13905 # Restrict PHP information leakage <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13906 expose_php = Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13907 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13908 # Log all errors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13909 log_errors = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13910 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13911 # Do not register globals for input data<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13912 register_globals = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13913 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13914 # Minimize allowable PHP post size <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13915 post_max_size = 1K <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13916 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13917 # Ensure PHP redirects appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13918 cgi.force_redirect = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13920 # Disallow uploading unless necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13921 file_uploads = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13922 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13923 # Disallow treatment of file requests as fopen calls<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13924 allow_url_fopen = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13925 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13926 # Enable SQL safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13927 sql.safe_mode = On</xccdf:description>
13928 </xccdf:Group>
13929 </xccdf:Group>
13930 </xccdf:Group>
13931 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5">
13932 <xccdf:title xml:lang="en">Configure Operating System to Protect Web Server</xccdf:title>
13933 <xccdf:description xml:lang="en">
13934 The following configuration steps should be taken on the machine
13935 which hosts the web server, in order to provide as safe an environment as possible for the
13936 web server.</xccdf:description>
13937 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.1">
13938 <xccdf:title xml:lang="en">Restrict File and Directory Access</xccdf:title>
13939 <xccdf:description xml:lang="en">
13940 Minimize access to critical Apache files and directories: <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"># chmod 511 /usr/sbin/httpd <xhtml:br/>
13943 # chmod 750 /var/log/httpd/ <xhtml:br/>
13944 # chmod 750 /etc/httpd/conf/ <xhtml:br/>
13945 # chmod 640 /etc/httpd/conf/* <xhtml:br/>
13946 # chgrp -R apache /etc/httpd/conf</xhtml:code></xccdf:description>
13947 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.a" operator="equals" type="string">
13948 <xccdf:title>Directory permissions on /etc/httpd/conf</xccdf:title>
13949 <xccdf:description xml:lang="en">Specify directory permissions on /etc/httpd/conf</xccdf:description>
13950 <xccdf:question xml:lang="en">Specify directory permissions of /etc/httpd/conf</xccdf:question>
13951 <xccdf:value>111101000</xccdf:value>
13952 <xccdf:value selector="750">111101000</xccdf:value>
13953 <xccdf:match>^[01]+$</xccdf:match>
13954 </xccdf:Value>
13955 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.b" operator="equals" type="string">
13956 <xccdf:title>File permissions on /etc/httpd/conf/*</xccdf:title>
13957 <xccdf:description xml:lang="en">Specify file permissions on /etc/httpd/conf/*</xccdf:description>
13958 <xccdf:question xml:lang="en">Specify file permissions of /etc/httpd/conf/*</xccdf:question>
13959 <xccdf:value>110100000</xccdf:value>
13960 <xccdf:value selector="640">110100000</xccdf:value>
13961 <xccdf:match>^[01]+$</xccdf:match>
13962 </xccdf:Value>
13963 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.c" operator="equals" type="string">
13964 <xccdf:title>File permissions on /usr/sbin/httpd</xccdf:title>
13965 <xccdf:description xml:lang="en">Specify file permissions on /usr/sbin/httpd</xccdf:description>
13966 <xccdf:question xml:lang="en">Specify file permissions of /etc/sbin/httpd</xccdf:question>
13967 <xccdf:value>101001001</xccdf:value>
13968 <xccdf:value selector="511">101001001</xccdf:value>
13969 <xccdf:match>^[01]+$</xccdf:match>
13970 </xccdf:Value>
13971 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.d" operator="equals" type="string">
13972 <xccdf:title>group owner of /etc/httpd/conf/*</xccdf:title>
13973 <xccdf:description xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:description>
13974 <xccdf:question xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:question>
13975 <xccdf:value>apache</xccdf:value>
13976 <xccdf:value selector="apache">apache</xccdf:value>
13977 </xccdf:Value>
13978 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.e" operator="equals" type="string">
13979 <xccdf:title>File permissions on /var/log/httpd/</xccdf:title>
13980 <xccdf:description xml:lang="en">Specify file permissions on /var/log/httpd/</xccdf:description>
13981 <xccdf:question xml:lang="en">Specify file permissions of /var/log/httpd/</xccdf:question>
13982 <xccdf:value>111101000</xccdf:value>
13983 <xccdf:value selector="750">111101000</xccdf:value>
13984 <xccdf:match>^[01]+$</xccdf:match>
13985 </xccdf:Value>
13986 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false" weight="10.0">
13987 <xccdf:title>Restrict permissions on /etc/httpd/conf</xccdf:title>
13988 <xccdf:description>File permissions for /etc/httpd/conf should be set correctly.</xccdf:description>
13989 <xccdf:ident system="http://cce.mitre.org">CCE-4509-6</xccdf:ident>
13990 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
13991 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13992 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20326" value-id="xccdf_cdf_value_var-3.16.5.1.a"/>
13993 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20326"/>
13994 </xccdf:check>
13995 </xccdf:Rule>
13996 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false" weight="10.0">
13997 <xccdf:title>Restrict permissions on /etc/httpd/conf/*</xccdf:title>
13998 <xccdf:description>File permissions for /etc/httpd/conf/* should be set correctly.</xccdf:description>
13999 <xccdf:ident system="http://cce.mitre.org">CCE-4386-9</xccdf:ident>
14000 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14001 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14002 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20327" value-id="xccdf_cdf_value_var-3.16.5.1.b"/>
14003 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20327"/>
14004 </xccdf:check>
14005 </xccdf:Rule>
14006 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false" weight="10.0">
14007 <xccdf:title>Restrict permissions on /usr/sbin/httpd</xccdf:title>
14008 <xccdf:description>File permissions for /usr/sbin/httpd should be set correctly.</xccdf:description>
14009 <xccdf:ident system="http://cce.mitre.org">CCE-4029-5</xccdf:ident>
14010 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14011 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14012 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20328" value-id="xccdf_cdf_value_var-3.16.5.1.c"/>
14013 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20328"/>
14014 </xccdf:check>
14015 </xccdf:Rule>
14016 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false" weight="10.0">
14017 <xccdf:title>Restrict group access to /etc/httpd/conf/*</xccdf:title>
14018 <xccdf:description>The /etc/httpd/conf/* files should be owned by the appropriate group.</xccdf:description>
14019 <xccdf:ident system="http://cce.mitre.org">CCE-3581-6</xccdf:ident>
14020 <xccdf:fixtext>(1) via chgrp</xccdf:fixtext>
14021 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14022 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20329" value-id="xccdf_cdf_value_var-3.16.5.1.d"/>
14023 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20329"/>
14024 </xccdf:check>
14025 </xccdf:Rule>
14026 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false" weight="10.0">
14027 <xccdf:title>Restrict permissions on /var/log/httpd</xccdf:title>
14028 <xccdf:description>File permissions for /var/log/httpd should be set correctly.</xccdf:description>
14029 <xccdf:ident system="http://cce.mitre.org">CCE-4574-0</xccdf:ident>
14030 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14031 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14032 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20330" value-id="xccdf_cdf_value_var-3.16.5.1.e"/>
14033 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20330"/>
14034 </xccdf:check>
14035 </xccdf:Rule>
14036 </xccdf:Group>
14037 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.2">
14038 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Web Server</xccdf:title>
14039 <xccdf:description xml:lang="en">
14040 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
14041 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"/>
14042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14043 -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"/>
14044 -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"/>
14045 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14046 The default
14047 Iptables configuration does not allow inbound access to the HTTP (80) and HTTPS (443)
14048 ports used by the web server. This modification allows that access, while keeping other
14049 ports on the server in their default protected state. See Section 2.5.5 for more
14050 information about Iptables.</xccdf:description>
14051 </xccdf:Group>
14052 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.3">
14053 <xccdf:title xml:lang="en">Run Apache in a chroot Jail if Possible</xccdf:title>
14054 <xccdf:description xml:lang="en">
14055 Putting Apache in a chroot jail minimizes the damage done by a
14056 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"/>
14057 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14058 In
14059 order to configure Apache to run from a chroot directory, edit the Apache configuration
14060 file, /etc/httpd/ conf/httpd.conf, and add the directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14062 SecChrootDir /chroot/apache <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14063 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14064 It
14065 is also necessary to place all files required by Apache inside the filesystem rooted at
14066 /chroot/apache , including Apache's binaries, modules, configuration files, and served
14067 web pages. The details of this configuration are beyond the scope of this guide.</xccdf:description>
14068 </xccdf:Group>
14069 </xccdf:Group>
14070 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.6">
14071 <xccdf:title xml:lang="en">Additional Resources</xccdf:title>
14072 <xccdf:description xml:lang="en">
14073 Further resources should be consulted if your web server requires
14074 more extensive configuration guidance, especially if particular applications need to be
14075 secured. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14076 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14077 In particular, [26] is recommended as a more comprehensive guide to securing Apache.</xccdf:description>
14078 </xccdf:Group>
14079 </xccdf:Group>
14080 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17">
14081 <xccdf:title xml:lang="en">IMAP and POP3 Server</xccdf:title>
14082 <xccdf:description xml:lang="en">
14083 Dovecot provides IMAP and POP3 services. It is not installed by
14084 default. The project page at http://www.dovecot.org contains more detailed information
14085 about Dovecot configuration.</xccdf:description>
14086 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.1">
14087 <xccdf:title xml:lang="en">Disable Dovecot if Possible</xccdf:title>
14088 <xccdf:description xml:lang="en">
14089 If the system does not need to operate as an IMAP or POP3 server,
14090 disable and remove Dovecot if it was installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14092 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dovecot off <xhtml:br/>
14093 # yum erase dovecot</xhtml:code></xccdf:description>
14094 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.a" selected="false" severity="low" weight="10.0">
14095 <xccdf:title>Disable Dovecot if Possible</xccdf:title>
14096 <xccdf:description>The dovecot service should be disabled.</xccdf:description>
14097 <xccdf:ident system="http://cce.mitre.org">CCE-3847-1</xccdf:ident>
14098 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14099 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14100 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20331"/>
14101 </xccdf:check>
14102 </xccdf:Rule>
14103 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.b" selected="false" weight="10.0">
14104 <xccdf:title>Uninstall Dovecot if Possible</xccdf:title>
14105 <xccdf:description>The dovecot package should be uninstalled.</xccdf:description>
14106 <xccdf:ident system="http://cce.mitre.org">CCE-4239-0</xccdf:ident>
14107 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
14108 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14109 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20332"/>
14110 </xccdf:check>
14111 </xccdf:Rule>
14112 </xccdf:Group>
14113 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2">
14114 <xccdf:title xml:lang="en">Configure Dovecot if Necessary</xccdf:title>
14115 <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>
14116 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.1">
14117 <xccdf:title xml:lang="en">Support Only the Necessary Protocols</xccdf:title>
14118 <xccdf:description xml:lang="en">
14119 Edit /etc/dovecot.conf. Add or correct the following lines,
14120 replacing PROTOCOL with only the subset of protocols (imap, imaps, pop3, pop3s)
14121 required: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14122 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14123 protocols = PROTOCOL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14124 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14125 Dovecot supports the IMAP and POP3 protocols, as well as
14126 SSL-protected versions of those protocols. Configure the Dovecot server to support only
14127 the protocols needed by your site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14129 If possible, require SSL protection for all
14130 transactions. The SSL protocol variants listen on alternate ports (995 instead of 110
14131 for pop3s, and 993 instead of 143 for imaps), and require SSL-aware clients. An
14132 alternate approach is to listen on the standard port and require the client to use the
14133 STARTTLS command before authenticating.</xccdf:description>
14134 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false" weight="10.0">
14135 <xccdf:title>Dovecot should not support imaps</xccdf:title>
14136 <xccdf:description>Dovecot should be configured to not support the imaps protocol</xccdf:description>
14137 <xccdf:ident system="http://cce.mitre.org">CCE-4384-4</xccdf:ident>
14138 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14139 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14140 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20333"/>
14141 </xccdf:check>
14142 </xccdf:Rule>
14143 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false" weight="10.0">
14144 <xccdf:title>Dovecot should not support pop3s</xccdf:title>
14145 <xccdf:description>Dovecot should be configured to not support the pop3s protocol</xccdf:description>
14146 <xccdf:ident system="http://cce.mitre.org">CCE-3887-7</xccdf:ident>
14147 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14148 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14149 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20334"/>
14150 </xccdf:check>
14151 </xccdf:Rule>
14152 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false" weight="10.0">
14153 <xccdf:title>Dovecot should not support pop3</xccdf:title>
14154 <xccdf:description>Dovecot should be configured to not support the pop3 protocol</xccdf:description>
14155 <xccdf:ident system="http://cce.mitre.org">CCE-4530-2</xccdf:ident>
14156 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14157 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14158 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20335"/>
14159 </xccdf:check>
14160 </xccdf:Rule>
14161 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false" weight="10.0">
14162 <xccdf:title>Dovecot should not support imap</xccdf:title>
14163 <xccdf:description>Dovecot should be configured to not support the imap protocol</xccdf:description>
14164 <xccdf:ident system="http://cce.mitre.org">CCE-4547-6</xccdf:ident>
14165 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14166 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14167 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20336"/>
14168 </xccdf:check>
14169 </xccdf:Rule>
14170 </xccdf:Group>
14171 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2">
14172 <xccdf:title xml:lang="en">Enable SSL Support</xccdf:title>
14173 <xccdf:description xml:lang="en">
14174 SSL should be used to encrypt network traffic between the
14175 Dovecot server and its clients. Users must authenticate to the Dovecot server in order
14176 to read their mail, and passwords should never be transmitted in clear text. In
14177 addition, protecting mail as it is downloaded is a privacy measure, and clients may use
14178 SSL certificates to authenticate the server, preventing another system from
14179 impersonating the server. See Section 2.5.6 for general SSL information, including the
14180 setup of a Certificate Authority (CA).</xccdf:description>
14181 <xccdf:reference>Apache 2 with SSL/TLS: Step-by-step, Part 2. Tech. rep.</xccdf:reference>
14182 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.1">
14183 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
14184 <xccdf:description xml:lang="en">
14185 Note: The following steps should be performed on your CA
14186 system, and not on the Dovecot server itself. If you will have a commercial CA sign
14187 certificates, then these steps should be performed on a separate, physically secure
14188 system devoted to that purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14189 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14190 On your CA (if you are using your own) or on another
14191 physically secure system, generate a key pair for the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14192 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14193 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/>
14194 # openssl genrsa -out imapserverkey.pem 2048 <xhtml:br/></xhtml:code>
14195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14196 Next, generate a
14197 certificate signing request (CSR) for the CA to sign, making sure to enter the
14198 server's fully-qualified domain name when prompted for the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14199 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14200 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key imapserverkey.pem -out imapserver.csr <xhtml:br/></xhtml:code>
14201 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14202 Next, the mail server CSR must be
14203 signed to create the Dovecot server certificate. You can either send the CSR to an
14204 established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14205 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14206 To sign imapserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14208 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in imapserver.csr -out imapservercert.pem <xhtml:br/></xhtml:code>
14209 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14210 This step creates a private key,
14211 imapserverkey.pem, and a public certificate, imapservercert.pem. The Dovecot server
14212 will use these to prove its identity by demonstrating that it has a certificate which
14213 has been signed by a CA. POP3 or IMAP clients at your site should only be willing to
14214 provide users' credentials to a server they can authenticate.</xccdf:description>
14215 </xccdf:Group>
14216 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.2">
14217 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
14218 <xccdf:description xml:lang="en">
14219 Create the PKI directory for POP and IMAP certificates if it
14220 does not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14221 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14222 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/imap <xhtml:br/>
14223 # chown root:root /etc/pki/tls/imap<xhtml:br/>
14224 # chmod 755 /etc/pki/tls/imap <xhtml:br/></xhtml:code>
14225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14226 Using removable media or some other secure transmission
14227 format, install the files generated in the previous step onto the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14228 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>/etc/pki/tls/imap/serverkey.pem: the private key imapserverkey.pem</xhtml:li><xhtml:li>/etc/pki/tls/imap/servercert.pem: the certificate file imapservercert.pem</xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14229 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14230 Verify thepermissions on these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14231 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14232 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/imap/serverkey.pem <xhtml:br/>
14233 # chown root:root /etc/pki/tls/imap/servercert.pem <xhtml:br/>
14234 # chmod 600 /etc/pki/tls/imap/serverkey.pem<xhtml:br/>
14235 # chmod 600 /etc/pki/tls/imap/servercert.pem <xhtml:br/></xhtml:code>
14236 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14237 Verify that the CA's public certificate
14238 file has been installed as /etc/pki/tls/CA/cacert.pem, and has the correct
14239 permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14240 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14241 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
14242 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
14243 </xccdf:Group>
14244 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.3">
14245 <xccdf:title xml:lang="en">Configure Dovecot to Use the SSL Certificate</xccdf:title>
14246 <xccdf:description xml:lang="en">
14247 Edit /etc/dovecot.conf and add or correct the following lines
14248 (ensuring they reference the appropriate files): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14249 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14250 ssl_cert_file = /etc/pki/tls/imap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14251 ssl_key_file = /etc/pki/tls/imap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14252 ssl_ca_file = /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14253 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14254 These options tell Dovecot where to find the
14255 TLS configuration, allowing clients to make encrypted connections.</xccdf:description>
14256 </xccdf:Group>
14257 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.4">
14258 <xccdf:title xml:lang="en">Disable Plaintext Authentication</xccdf:title>
14259 <xccdf:description xml:lang="en">
14260 To prevent Dovecot from attempting plaintext authentication
14261 of clients, edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14262 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14263 disable_plaintext_auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14264 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14265 The disable_plaintext_auth command disallows
14266 login-related commands until an encrypted session has been negotiated using SSL. If
14267 client compatibility requires you to allow connections to the pop3 or imap ports,
14268 rather than the alternate SSL ports, you should use this command to require STARTTLS
14269 before authentication.</xccdf:description>
14270 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false" weight="10.0">
14271 <xccdf:title>Disable Plaintext Authentication</xccdf:title>
14272 <xccdf:description>Dovecot plaintext authentication of clients should be disabled</xccdf:description>
14273 <xccdf:ident system="http://cce.mitre.org">CCE-4552-6</xccdf:ident>
14274 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14275 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14276 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20337"/>
14277 </xccdf:check>
14278 </xccdf:Rule>
14279 </xccdf:Group>
14280 </xccdf:Group>
14281 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.3">
14282 <xccdf:title xml:lang="en">Enable Dovecot Options to Protect Against Code Flaws</xccdf:title>
14283 <xccdf:description xml:lang="en">
14284 Edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14285 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14286 login_process_per_connection = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14287 mail_drop_priv_before_exec = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14289 IMAP and POP3 are
14290 remote authenticated protocols, meaning that the server must accept remote connections
14291 from anyone, but provide substantial services only to clients who have successfully
14292 authenticated. To protect against security problems, Dovecot splits these functions into
14293 separate server processes. The imap-login and/or pop3-login processes accept connections
14294 from unauthenticated users, and only spawn imap or pop3 processes on successful
14295 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14296 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14297 However, the imap-login and pop3-login processes themselves may contain
14298 vulnerabilities. Since each of these processes operates as a daemon, handling multiple
14299 sequential client connections from different users, bugs in the code could allow
14300 unauthenticated users to steal credential data. If the login_process_per_connection
14301 option is enabled, then a separate imap-login or pop3-login process is created for each
14302 new connection, protecting against this class of problems. This option has an efficiency
14303 cost, but is strongly recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14305 If the mail_drop_priv_before_exec option is on, the
14306 imap-login or pop3-login process will drop privileges to the user's ID after
14307 authentication and before executing the imap or pop3 process itself. Under some very
14308 limited circumstances, this could protect against privilege escalation by authenticated
14309 users. However, if the mail executable option is used to run code before starting each
14310 user's session, it is important to drop privileges to prevent the custom code from
14311 running as root.</xccdf:description>
14312 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false" weight="10.0">
14313 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14314 <xccdf:description>The Dovecot option to drop privileges to user before executing mail process should be enabled</xccdf:description>
14315 <xccdf:ident system="http://cce.mitre.org">CCE-4371-1</xccdf:ident>
14316 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14317 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14318 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20338"/>
14319 </xccdf:check>
14320 </xccdf:Rule>
14321 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false" weight="10.0">
14322 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14323 <xccdf:description>The Dovecot option to spawn a new login process per connection should be enabled</xccdf:description>
14324 <xccdf:ident system="http://cce.mitre.org">CCE-4410-7</xccdf:ident>
14325 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14326 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14327 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20339"/>
14328 </xccdf:check>
14329 </xccdf:Rule>
14330 </xccdf:Group>
14331 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.4">
14332 <xccdf:title xml:lang="en">Allow IMAP Clients to Access the Server</xccdf:title>
14333 <xccdf:description xml:lang="en">
14334 Edit /etc/sysconfig/iptables. Add the following line, ensuring
14335 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"/>
14336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14337 -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"/>
14338 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14339 The default
14340 iptables configuration does not allow inbound access to any services. This modification
14341 will allow remote hosts to initiate connections to the IMAP daemon, while keeping all
14342 other ports on the server in their default protected state. See Section 2.5.5 for more
14343 information about iptables.</xccdf:description>
14344 </xccdf:Group>
14345 </xccdf:Group>
14346 </xccdf:Group>
14347 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18">
14348 <xccdf:title xml:lang="en">Samba(SMB) Microsoft Windows File Sharing Server</xccdf:title>
14349 <xccdf:description xml:lang="en">
14350 When properly configured, the Samba service allows Linux machines
14351 to provide file and print sharing to Microsoft Windows machines. There are two software
14352 packages that provide Samba support. The first, samba-client, provides a series of command
14353 line tools that enable a client machine to access Samba shares. The second, simply labeled
14354 samba, provides the Samba service. It is this second package that allows a Linux machine to
14355 act as an Active Directory server, a domain controller, or as a domain member. Only the
14356 samba-client package is installed by default.</xccdf:description>
14357 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.1">
14358 <xccdf:title xml:lang="en">Disable Samba if Possible</xccdf:title>
14359 <xccdf:description xml:lang="en">
14360 If the Samba service has been enabled and will not be used, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14362 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smb off <xhtml:br/></xhtml:code>
14363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14364 Even after the Samba server package has been installed, it
14365 will remain disabled. Do not enable this service unless it is absolutely necessary to
14366 provide Microsoft Windows file and print sharing functionality.</xccdf:description>
14367 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.1.a" selected="false" severity="medium" weight="10.0">
14368 <xccdf:title>Disable Samba if Possible</xccdf:title>
14369 <xccdf:description>The smb service should be disabled.</xccdf:description>
14370 <xccdf:ident system="http://cce.mitre.org">CCE-4551-8</xccdf:ident>
14371 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14372 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14373 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20340"/>
14374 </xccdf:check>
14375 </xccdf:Rule>
14376 </xccdf:Group>
14377 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2">
14378 <xccdf:title xml:lang="en">Configure Samba if Necessary</xccdf:title>
14379 <xccdf:description xml:lang="en">
14380 All settings for the Samba daemon can be found in
14381 /etc/samba/smb.conf. Settings are divided between a [global] configuration section and a
14382 series of user created share definition sections meant to describe file or print shares on
14383 the system. By default, Samba will operate in user mode and allow client machines to
14384 access local home directories and printers. It is recommended that these settings be
14385 changed or that additional limitations be set in place.</xccdf:description>
14386 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.1">
14387 <xccdf:title xml:lang="en">Testing the Samba Configuration File</xccdf:title>
14388 <xccdf:description xml:lang="en">
14389 To test the configuration file for syntax errors, use the
14390 testparm command. It will also list all settings currently in place, including defaults
14391 that may not appear in the configuration file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14392 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14393 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># testparm -v</xhtml:code></xccdf:description>
14394 </xccdf:Group>
14395 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2">
14396 <xccdf:title xml:lang="en">Choosing the Appropriate security Parameter</xccdf:title>
14397 <xccdf:description xml:lang="en">
14398 There are two kinds of security in Samba, share-level (share)
14399 and user-level. User-level security is further subdivided into four separate
14400 implementations: user, domain, ads, and server. It is recommended that the share and
14401 server security modes not be used. In share security, everyone is given the same
14402 password for each share, preventing individual user accountability. server security mode
14403 has been superseded by the domain and ads security modes. It may now be considered
14404 obsolete. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14405 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14406 The security parameter is set in the [global] section of the Samba
14407 configuration file. It determines how the server will handle user names and passwords.
14408 Some security modes require additional parameters, such as workgroup, realm, or password
14409 server names. All security modes will require that each remote user have a matching
14410 local account. One workaround to this problem is to use the winbindd daemon. Please
14411 consult the official Samba documentation to learn more.</xccdf:description>
14412 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.1">
14413 <xccdf:title xml:lang="en">Use user Security for Servers Not in a Domain Context</xccdf:title>
14414 <xccdf:description xml:lang="en">
14415 This is the default setting with a new Samba installation and
14416 the best choice when operating outside of a domain security context. The relevant
14417 parameters in /etc/samba/smb.conf will read as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14418 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14419 security = user <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14420 workgroup = MYGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14422 Set the value of workgroup so that it matches the value of other machines on
14423 the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14425 In user mode, authentication requests are handled locally and not passed
14426 on to a separate authentication server. This is the desired behavior for standalone
14427 servers and domain controllers.</xccdf:description>
14428 </xccdf:Group>
14429 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.2">
14430 <xccdf:title xml:lang="en">Use domain Security for Servers in a Domain Context</xccdf:title>
14431 <xccdf:description xml:lang="en">
14432 First, change the security parameter to domain.
14433 Next, set the workgroup and netbios name parameters (if necessary): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14435 security = domain<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14436 workgroup = WORKGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14437 netbios name = NETBIOSNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14438 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14439 domain mode is used for any machine
14440 that will act as a domain member server. It lets Samba know that the authentication
14441 information it needs can be found on another machine. Primary and Backup Domain
14442 Controllers host copies of this information. Samba will try to automatically determine
14443 which machine it should authenticate against on a domain network. If this detection
14444 fails, it may be necessary to specify the location manually. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14445 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14446 Unlike the Microsoft
14447 Windows implementation of the SMB standard, a Samba machine can freely change roles
14448 within a domain without requiring that the machine be reinstalled (such roles include
14449 primary and backup domain controllers, domain member servers, and ordinary domain
14450 workstations). However, there are some limitations on how each machine can fulfill
14451 each role in a mixed network.</xccdf:description>
14452 <xccdf:warning xml:lang="en">When using Samba as a Primary or Backup Domain Controller,
14453 use security = user, not security = domain. This tells Samba that the local machine is
14454 hosting the authentication backend. </xccdf:warning>
14455 </xccdf:Group>
14456 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.3">
14457 <xccdf:title xml:lang="en">Use ads (Active Directory Service) Security For Servers in an ADS
14458 Domain</xccdf:title>
14459 <xccdf:description xml:lang="en">
14460 Context The security mode ads enables a Samba machine to act
14461 as an ADS domain member server. Since ADS requires Kerberos, be sure to set the realm
14462 parameter appropriately and configure the local copy of Kerberos. If necessary, it is
14463 also possible to manually set the password server parameter. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14464 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14465 security = ads <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14466 realm = MY_REALM <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14467 password server = your.kerberos.server <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14468 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14469 Currently, it is possible to act as an
14470 Active Directory domain member server, but not as a domain controller. Be sure to
14471 operate in mixed mode. Native mode may not work yet in current versions of Samba.
14472 Future support for ADS should be forthcoming in Samba 4. See the Samba project web
14473 site at http://www.samba.org for more details.</xccdf:description>
14474 </xccdf:Group>
14475 </xccdf:Group>
14476 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.3">
14477 <xccdf:title xml:lang="en">Disable Guest Access and Local Login Support</xccdf:title>
14478 <xccdf:description xml:lang="en">
14479 Do not allow guest users to access local file or printer
14480 shares. In global or in each share, set the parameter guest ok to no: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14481 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14482 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14483 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14484 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14485 It is safe to disable local login support for remote Samba users. Consider changing
14486 the add user account script to set remote user shells to /sbin/nologin.</xccdf:description>
14487 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false" weight="10.0">
14488 <xccdf:title>Disable Guest Access and Local Login Support</xccdf:title>
14489 <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>
14490 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [share] guest ok = no </xccdf:fixtext>
14491 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14492 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203403"/>
14493 </xccdf:check>
14494 </xccdf:Rule>
14495 </xccdf:Group>
14496 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.4">
14497 <xccdf:title xml:lang="en">Disable Root Access</xccdf:title>
14498 <xccdf:description xml:lang="en">
14499 Administrators should not use administrator accounts to access
14500 Samba file and printer shares. If possible, disable the root user and the wheel
14501 administrator group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14502 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14503 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14504 invalid users = root @wheel <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14506 If administrator accounts
14507 cannot be disabled, ensure that local machine passwords and Samba service passwords do
14508 not match. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14509 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14510 Typically, administrator access is required when Samba must create user and
14511 machine accounts and shares. Domain member servers and standalone servers may not need
14512 administrator access at all. If that is the case, add the invalid users parameter to
14513 [global] instead.</xccdf:description>
14514 </xccdf:Group>
14515 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.5">
14516 <xccdf:title xml:lang="en">Set the Allowed Authentication Negotiation Levels</xccdf:title>
14517 <xccdf:description xml:lang="en">By default, Samba will attempt to negotiate with Microsoft
14518 Windows machines to set a common communication protocol. Whenever possible, be sure to
14519 disable LANMAN authentication, as it is far weaker than the other supported protocols.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14521 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14522 client lanman auth = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14523 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14524 Newer versions of Microsoft Windows may require the use
14525 of NTLMv2. NTLMv2 is the preferred protocol for authentication, but since older machines
14526 do not support it, Samba has disabled it by default. If possible, reenable it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14527 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14528 [global]<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14529 client ntlmv2 auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14530 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14531 For the sake of backwards compatibility, most modern Windows
14532 machines will still allow other machines to communicate with them over weak protocols
14533 such as LANMAN. On Samba, by enabling NTLMv2, you are also disabling LANMAN and NTLMv1.
14534 If NTLMv1 is required, it is still possible to individually disable LANMAN.</xccdf:description>
14535 </xccdf:Group>
14536 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.6">
14537 <xccdf:title xml:lang="en">Let Domain Controllers Create Machine Trust Accounts On-the-Fly</xccdf:title>
14538 <xccdf:description xml:lang="en">
14539 Add or correct an add machine script entry to the [global]
14540 section of /etc/samba/smb.conf to allow Samba to dynamically create Machine Trust
14541 Accounts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14542 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14543 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14544 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"/>
14545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14546 Make sure that the group machines exists. If not, add it with the
14547 following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14549 /usr/sbin/groupadd machines <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14551 When acting as a PDC, it becomes
14552 necessary to create and store Machine Trust Accounts for each machine that joins the
14553 domain. On a Microsoft Windows PDC, this account is created with the Server Manager
14554 tool, but on a Samba PDC, two accounts must be created. The first is the local machine
14555 account, and the second is the Samba account. For security purposes, it is recommended
14556 to let Samba create these accounts on-the-fly. When Machine Trust Accounts are created
14557 manually, there is a small window of opportunity in which a rogue machine could join the
14558 domain in place of the new server.</xccdf:description>
14559 </xccdf:Group>
14560 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.7">
14561 <xccdf:title xml:lang="en">Restrict Access to the [IPC$] Share</xccdf:title>
14562 <xccdf:description xml:lang="en">
14563 Limit access to the [IPC$] share so that only machines in your
14564 network will be able to connect to it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14565 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14566 [IPC$] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14567 hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14568 hosts deny = 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14569 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14570 The [IPC$] share allows users to anonymously fetch a list of shared
14571 resources from a server. It is intended to allow users to browse the list of available
14572 shares. It also can be used as a point of attack into a system. Disabling it completely
14573 may break some functionality, so it is recommended that you merely limit access to it
14574 instead.</xccdf:description>
14575 </xccdf:Group>
14576 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.8">
14577 <xccdf:title xml:lang="en">Restrict File Sharing</xccdf:title>
14578 <xccdf:description xml:lang="en">
14579 Only users with local user accounts will be able to log in to
14580 Samba shares by default. Shares can be limited to particular users or network addresses.
14581 Use the hosts allow and hosts deny directives accordingly, and consider setting the
14582 valid users directive to a limited subset of users or to a group of users. Separate each
14583 address, user, or user group with a space as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14585 [share] hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14586 valid users = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14587 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14588 It is also possible to limit read and
14589 write access to particular users with the read list and write list options, though the
14590 permissions set by the system itself will override these settings. Set the read only
14591 attribute for each share to ensure that global settings will not accidentally override
14592 the individual share settings. Then, as with the valid users directive, separate each
14593 user or group of users with a space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14595 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14596 read only = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14597 write list = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14599 The Samba service is only required for sharing files and printers
14600 with Microsoft Windows workstations, and even then, other options may exist. Do not use
14601 the Samba service to share files between Unix or Linux machines.</xccdf:description>
14602 </xccdf:Group>
14603 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.9">
14604 <xccdf:title xml:lang="en">Require Server SMB Packet Signing</xccdf:title>
14605 <xccdf:description xml:lang="en">
14606 To make the server use packet signing, add the following to the [global] section of the Samba configuration
14607 file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14609 server signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14611 The Samba server should only communicate with clients who can support SMB packet signing. Packet signing
14612 can prevent man-in-the-middle attacks which modify SMB packets in transit.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14614 The Samba service is only required for sharing files and printers with Microsoft Windows workstations, and even
14615 then, other options may exist. Do not use the Samba service to share files between Unix or Linux machines.
14616 </xccdf:description>
14617 </xccdf:Group>
14618 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.10">
14619 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using smbclient</xccdf:title>
14620 <xccdf:description xml:lang="en">
14621 To require samba clients running smbclient to use packet signing, add the following to the [global] section
14622 of the Samba configuration file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14623 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14624 client signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14625 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14626 A Samba client should only communicate with servers who can support SMB packet signing. Packet signing can
14627 prevent man-in-the-middle attacks which modify SMB packets in transit.
14628 </xccdf:description>
14629 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false" weight="10.0">
14630 <xccdf:title>Require Client SMB Packet Signing, if using smbclient</xccdf:title>
14631 <xccdf:description>
14632 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
14633 prevent man-in-the-middle attacks which modify SMB packets in transit.</xccdf:description>
14634 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
14635 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [global] client signing = mandatory</xccdf:fixtext>
14636 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14637 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:2034010"/>
14638 </xccdf:check>
14639 </xccdf:Rule>
14640 </xccdf:Group>
14641 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.11">
14642 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
14643 <xccdf:description xml:lang="en">
14644 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
14645 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
14646 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14647 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14648 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
14649 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
14650 packets in transit.
14651 </xccdf:description>
14652 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false" weight="10.0">
14653 <xccdf:title>Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
14654 <xccdf:description>
14655 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
14656 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
14657 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14659 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
14660 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
14661 packets in transit.</xccdf:description>
14662 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
14663 <xccdf:fixtext>(1) via /etc/fstab</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:2034011"/>
14666 </xccdf:check>
14667 </xccdf:Rule>
14668 </xccdf:Group>
14669 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.12">
14670 <xccdf:title xml:lang="en">Restrict Printer Sharing</xccdf:title>
14671 <xccdf:description xml:lang="en">
14672 By default, Samba utilizes the CUPS printing service to enable
14673 printer sharing with Microsoft Windows workstations. If there are no printers on the
14674 local machine, or if printer sharing with Microsoft Windows is not required, disable the
14675 printer sharing capability by commenting out the following lines, found in /etc/
14676 samba/smb.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14677 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14678 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14679 ; load printers = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14680 ; cups options = raw <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14681 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14682 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14683 comment = All Printers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14684 path = /usr/spool/samba <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14685 browseable = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14686 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14687 writable = no
14688 printable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14689 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14690 There may be other options present, but these are the only options
14691 enabled and uncommented by default. Removing the [printers] share should be enough for
14692 most users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14693 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14694 If the Samba printer sharing capability is needed, consider disabling the
14695 Samba network browsing capability or restricting access to a particular set of users or
14696 network addresses. Set the valid users parameter to a small subset of users or restrict
14697 it to a particular group of users with the shorthand @. Separate each user or group of
14698 users with a space. For example, under the [printers] share: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14699 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14700 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14701 valid users = user @printerusers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14702 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14703 The CUPS service is capable of sharing printers with other Unix and
14704 Linux machines on the local network without the Samba service. The Samba service is only
14705 required when a Microsoft Windows machine needs printer access on a Unix or Linux host.</xccdf:description>
14706 </xccdf:Group>
14707 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.13">
14708 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Samba Server</xccdf:title>
14709 <xccdf:description xml:lang="en">
14710 Determine an appropriate network block, netwk , and network
14711 mask, mask , representing the machines on your network which should operate as clients
14712 of the Samba server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14713 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14714 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
14715 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"/>
14716 -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"/>
14717 -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"/>
14718 -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"/>
14719 -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"/>
14720 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14721 The default Iptables configuration does not allow inbound access to the ports used by
14722 the Samba service. This modification allows that access, while keeping other ports on
14723 the server in their default protected state. Since these ports are frequent targets of
14724 network scanning attacks, restricting access to only the network segments which need to
14725 access the Samba server is strongly recommended. See Section 2.5.5 for more information
14726 about Iptables.</xccdf:description>
14727 </xccdf:Group>
14728 </xccdf:Group>
14729 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.3">
14730 <xccdf:title xml:lang="en">Avoid the Samba Web Administration Tool (SWAT)</xccdf:title>
14731 <xccdf:description xml:lang="en">
14732 SWAT is a web based configuration tool provided by the Samba team
14733 that enables both local and remote configuration management. It is not installed by
14734 default. It is recommended that SWAT not be used, as it requires the use of a Samba
14735 administrator account and sends that password in the clear over a network connection. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14736 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14737 If
14738 SWAT is absolutely required, limit access to the local machine or tunnel SWAT connections
14739 through SSL with stunnel.</xccdf:description>
14740 </xccdf:Group>
14741 </xccdf:Group>
14742 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19">
14743 <xccdf:title xml:lang="en">Proxy Server</xccdf:title>
14744 <xccdf:description xml:lang="en">
14745 A proxy server is a very desirable target for a potential adversary
14746 because much (or all) sensitive data for a given infrastructure may flow through it.
14747 Therefore, if one is required, the machine acting as a proxy server should be dedicated to
14748 that purpose alone and be stored in a physically secure location. The system's default proxy
14749 server software is Squid, and provided in an RPM package of the same name.</xccdf:description>
14750 <xccdf:reference>Galarneua, E. Security Considerations with Squid proxy server. Tech. rep., Apr 2003</xccdf:reference>
14751 <xccdf:reference>Wessels, D. Squid: The Definitive Guide. O’Reilly and Associates, Jan 2004</xccdf:reference>
14752 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.1">
14753 <xccdf:title xml:lang="en">Disable Squid if Possible</xccdf:title>
14754 <xccdf:description xml:lang="en">
14755 If Squid was installed and activated, but the system does not
14756 need to act as a proxy server, then it should be disabled and removed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14757 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14758 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig squid off <xhtml:br/>
14759 # yum erase squid</xhtml:code></xccdf:description>
14760 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.a" selected="false" severity="low" weight="10.0">
14761 <xccdf:title>Disable Squid if Possible</xccdf:title>
14762 <xccdf:description>The squid service should be disabled.</xccdf:description>
14763 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
14764 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14765 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14766 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20341"/>
14767 </xccdf:check>
14768 </xccdf:Rule>
14769 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.b" selected="false" weight="10.0">
14770 <xccdf:title>Uninstall Squid if Possible</xccdf:title>
14771 <xccdf:description>The squid package should be uninstalled.</xccdf:description>
14772 <xccdf:ident system="http://cce.mitre.org">CCE-4076-6</xccdf:ident>
14773 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
14774 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14775 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20342"/>
14776 </xccdf:check>
14777 </xccdf:Rule>
14778 </xccdf:Group>
14779 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2">
14780 <xccdf:title xml:lang="en">Configure Squid if Necessary</xccdf:title>
14781 <xccdf:description xml:lang="en">
14782 The Squid configuration file is /etc/squid/squid.conf. The
14783 following recommendations can be applied to this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14784 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14785 Note: If a particular tag is not
14786 present in the configuration file, Squid falls back to the default setting (which is often
14787 illustrated by a comment).</xccdf:description>
14788 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.1">
14789 <xccdf:title xml:lang="en">Listen on Uncommon Port</xccdf:title>
14790 <xccdf:description xml:lang="en">
14791 The default listening port for the Squid service is 3128. As
14792 such, it is frequently scanned by adversaries looking for proxy servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14793 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14794 Select an
14795 arbitrary (but uncommon) high port to use as the Squid listening port and make the
14796 corresponding change to the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14798 http_port port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14799 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14800 Run the following command
14801 to add a new SELinux port mapping for the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14802 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14803 <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>
14804 </xccdf:Group>
14805 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.2">
14806 <xccdf:title xml:lang="en">Verify Default Secure Settings</xccdf:title>
14807 <xccdf:description xml:lang="en">
14808 Several security-enhancing settings in the Squid configuration
14809 file are enabled by default, but appear as comments in the configuration file (as
14810 mentioned in Section 3.19.2). In these instances, the explicit directive is not present,
14811 which means it is implicitly enabled. If you are operating with a default configuration
14812 file, this section can be ignored. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14814 Ensure that the following security settings are NOT
14815 explicitly changed from their default values: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14816 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14817 ftp_passive on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14818 ftp_sanitycheck on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14819 check_hostnames on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14820 request_header_max_size 20 KB <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14821 reply_header_max_size 20 KB<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14822 cache_effective_user squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14823 cache_effective_group squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14824 ignore_unknown_nameservers on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14825 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14826 ftp_passive forces FTP passive connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14827 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14828 ftp_sanitycheck performs additional sanity checks on FTP data connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14829 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14830 check_hostnames ensures that hostnames meet RFC compliance. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14831 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14832 request_header_max_size and reply_header_max_size place an upper limit on
14833 HTTP header length, precautions against denial-of-service and buffer overflow
14834 vulnerabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14835 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14836 cache_effective_user and cache_effective_group designate the EUID and
14837 EGID of Squid following initialization (it is essential that the EUID/EGID be set to an
14838 unprivileged sandbox account). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14839 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14840 ignore_unknown_nameservers checks to make sure that DNS
14841 responses come from the same IP the request was sent to.</xccdf:description>
14842 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.d" operator="equals" type="string">
14843 <xccdf:title>request_header_max_size</xccdf:title>
14844 <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>
14845 <xccdf:question xml:lang="en">Specify an upper limit on HTTP request header length</xccdf:question>
14846 <xccdf:value>20kb</xccdf:value>
14847 <xccdf:value selector="20kb">20kb</xccdf:value>
14848 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
14849 </xccdf:Value>
14850 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.e" operator="equals" type="string">
14851 <xccdf:title>reply_header_max_size</xccdf:title>
14852 <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>
14853 <xccdf:question xml:lang="en">Specify an upper limit on HTTP reply header length</xccdf:question>
14854 <xccdf:value>20kb</xccdf:value>
14855 <xccdf:value selector="20kb">20kb</xccdf:value>
14856 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
14857 </xccdf:Value>
14858 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.f" operator="equals" type="string">
14859 <xccdf:title>cache_effective_user</xccdf:title>
14860 <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>
14861 <xccdf:question xml:lang="en">Designate the EUID of Squid following initialization</xccdf:question>
14862 <xccdf:value>squid</xccdf:value>
14863 <xccdf:value selector="squid">squid</xccdf:value>
14864 </xccdf:Value>
14865 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.g" operator="equals" type="string">
14866 <xccdf:title>cache_effective_group</xccdf:title>
14867 <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>
14868 <xccdf:question xml:lang="en">Designate the EGID of Squid following initialization</xccdf:question>
14869 <xccdf:value>squid</xccdf:value>
14870 <xccdf:value selector="squid">squid</xccdf:value>
14871 </xccdf:Value>
14872 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false" weight="10.0">
14873 <xccdf:title>Verify ftp_passive setting</xccdf:title>
14874 <xccdf:description>The Squid option to force FTP passive connections should be enabled</xccdf:description>
14875 <xccdf:ident system="http://cce.mitre.org">CCE-4454-5</xccdf:ident>
14876 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14877 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14878 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20343"/>
14879 </xccdf:check>
14880 </xccdf:Rule>
14881 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false" weight="10.0">
14882 <xccdf:title>Verify ftp_sanitycheck setting</xccdf:title>
14883 <xccdf:description>The Squid option to perform FTP sanity checks should be enabled</xccdf:description>
14884 <xccdf:ident system="http://cce.mitre.org">CCE-4459-4</xccdf:ident>
14885 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14886 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14887 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20344"/>
14888 </xccdf:check>
14889 </xccdf:Rule>
14890 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false" weight="10.0">
14891 <xccdf:title>Verify check_hostnames stting</xccdf:title>
14892 <xccdf:description>The Squid option to check for RFC compliant hostnames should be enabled</xccdf:description>
14893 <xccdf:ident system="http://cce.mitre.org">CCE-4503-9</xccdf:ident>
14894 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14895 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14896 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20345"/>
14897 </xccdf:check>
14898 </xccdf:Rule>
14899 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false" weight="10.0">
14900 <xccdf:title>Verify request_header_max_size setting</xccdf:title>
14901 <xccdf:description>The Squid max request HTTP header length should be set to an appropriate value</xccdf:description>
14902 <xccdf:ident system="http://cce.mitre.org">CCE-4353-9</xccdf:ident>
14903 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14904 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14905 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20346" value-id="xccdf_cdf_value_var-3.19.2.2.d"/>
14906 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20346"/>
14907 </xccdf:check>
14908 </xccdf:Rule>
14909 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false" weight="10.0">
14910 <xccdf:title>Verify reply_header_max_size setting</xccdf:title>
14911 <xccdf:description>The Squid max reply HTTP header length should be set to an appropriate value</xccdf:description>
14912 <xccdf:ident system="http://cce.mitre.org">CCE-4419-8</xccdf:ident>
14913 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14914 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14915 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20347" value-id="xccdf_cdf_value_var-3.19.2.2.e"/>
14916 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20347"/>
14917 </xccdf:check>
14918 </xccdf:Rule>
14919 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false" weight="10.0">
14920 <xccdf:title>Verify cache_effective_user setting</xccdf:title>
14921 <xccdf:description>The Squid EUID should be set to an appropriate user</xccdf:description>
14922 <xccdf:ident system="http://cce.mitre.org">CCE-3692-1</xccdf:ident>
14923 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14924 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14925 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20348" value-id="xccdf_cdf_value_var-3.19.2.2.f"/>
14926 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20348"/>
14927 </xccdf:check>
14928 </xccdf:Rule>
14929 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false" weight="10.0">
14930 <xccdf:title>Verify cache_effective_group setting</xccdf:title>
14931 <xccdf:description>The Squid GUID should be set to an appropriate group</xccdf:description>
14932 <xccdf:ident system="http://cce.mitre.org">CCE-4476-8</xccdf:ident>
14933 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14934 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14935 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20349" value-id="xccdf_cdf_value_var-3.19.2.2.g"/>
14936 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20349"/>
14937 </xccdf:check>
14938 </xccdf:Rule>
14939 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false" weight="10.0">
14940 <xccdf:title>Verify ignore_unknown_nameservers setting</xccdf:title>
14941 <xccdf:description>The Squid option to ignore unknown nameservers should be enabled</xccdf:description>
14942 <xccdf:ident system="http://cce.mitre.org">CCE-3585-7</xccdf:ident>
14943 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14944 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14945 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20350"/>
14946 </xccdf:check>
14947 </xccdf:Rule>
14948 </xccdf:Group>
14949 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.3">
14950 <xccdf:title xml:lang="en">Change Default Insecure Settings</xccdf:title>
14951 <xccdf:description xml:lang="en">
14952 The default configuration settings for the following tags are
14953 considered to be weak security and NOT recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14954 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14955 Add or modify the configuration file to include the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14956 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14957 allow_underscore off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14958 httpd_suppress_version_string on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14959 forwarded_for off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14960 log_mime_hdrs on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14961 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14962 allow_underscore enforces RFC 1034 compliance on
14963 hostnames by disallowing the use of underscores. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14965 httpd_suppress_version string prevents
14966 Squid from revealing version information in web headers and error pages. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14967 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14968 forwarded_for
14969 reveals proxy client IP addresses in HTTP headers and should be disabled to prevent the
14970 leakage of internal network configuration details. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14971 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14972 log_mime_hdrs enables logging of HTTP
14973 response/request headers.</xccdf:description>
14974 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.a" operator="equals" type="string">
14975 <xccdf:title>allow_underscore</xccdf:title>
14976 <xccdf:description xml:lang="en">allow_underscore enforces RFC 1034 compliance on hostnames by disallowing the use of underscores.</xccdf:description>
14977 <xccdf:question xml:lang="en">Enable/Disable enforcing RFC 1034 compliance on hostnames</xccdf:question>
14978 <xccdf:value>off</xccdf:value>
14979 <xccdf:value selector="enabled">on</xccdf:value>
14980 <xccdf:value selector="disabled">off</xccdf:value>
14981 <xccdf:match>on|off</xccdf:match>
14982 <xccdf:choices mustMatch="1">
14983 <xccdf:choice>on</xccdf:choice>
14984 <xccdf:choice>off</xccdf:choice>
14985 </xccdf:choices>
14986 </xccdf:Value>
14987 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.b" operator="equals" type="string">
14988 <xccdf:title>httpd_suppress_version</xccdf:title>
14989 <xccdf:description xml:lang="en">httpd_suppress_version string prevents Squid from revealing version information in web headers and error pages.</xccdf:description>
14990 <xccdf:question xml:lang="en">Enable/Disable preventing squid from revealing version information in web headers and error pages</xccdf:question>
14991 <xccdf:value>on</xccdf:value>
14992 <xccdf:value selector="enabled">on</xccdf:value>
14993 <xccdf:value selector="disabled">off</xccdf:value>
14994 <xccdf:match>on|off</xccdf:match>
14995 <xccdf:choices mustMatch="1">
14996 <xccdf:choice>on</xccdf:choice>
14997 <xccdf:choice>off</xccdf:choice>
14998 </xccdf:choices>
14999 </xccdf:Value>
15000 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.c" operator="equals" type="string">
15001 <xccdf:title>forwarded_for</xccdf:title>
15002 <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>
15003 <xccdf:question xml:lang="en">Enable/Disable revealing proxy client IP addresses in HTTP headers</xccdf:question>
15004 <xccdf:value>off</xccdf:value>
15005 <xccdf:value selector="enabled">on</xccdf:value>
15006 <xccdf:value selector="disabled">off</xccdf:value>
15007 <xccdf:match>on|off</xccdf:match>
15008 <xccdf:choices mustMatch="1">
15009 <xccdf:choice>on</xccdf:choice>
15010 <xccdf:choice>off</xccdf:choice>
15011 </xccdf:choices>
15012 </xccdf:Value>
15013 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.d" operator="equals" type="string">
15014 <xccdf:title>log_mime_hdrs</xccdf:title>
15015 <xccdf:description xml:lang="en">log_mime_hdrs enables logging of HTTP response/request headers.</xccdf:description>
15016 <xccdf:question xml:lang="en">Enable/Disable logging of HTTP response/request headers</xccdf:question>
15017 <xccdf:value>on</xccdf:value>
15018 <xccdf:value selector="enabled">on</xccdf:value>
15019 <xccdf:value selector="disabled">off</xccdf:value>
15020 <xccdf:match>on|off</xccdf:match>
15021 <xccdf:choices mustMatch="1">
15022 <xccdf:choice>on</xccdf:choice>
15023 <xccdf:choice>off</xccdf:choice>
15024 </xccdf:choices>
15025 </xccdf:Value>
15026 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false" weight="10.0">
15027 <xccdf:title>Check allow_underscore setting</xccdf:title>
15028 <xccdf:description>The Squid option to allow underscores in hostnames should be disabled</xccdf:description>
15029 <xccdf:ident system="http://cce.mitre.org">CCE-4344-8</xccdf:ident>
15030 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15031 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15032 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20351" value-id="xccdf_cdf_value_var-3.19.2.3.a"/>
15033 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20351"/>
15034 </xccdf:check>
15035 </xccdf:Rule>
15036 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false" weight="10.0">
15037 <xccdf:title>Check httpd_suppress_version setting</xccdf:title>
15038 <xccdf:description>The Squid option to suppress the httpd version string should be enabled</xccdf:description>
15039 <xccdf:ident system="http://cce.mitre.org">CCE-4494-1</xccdf:ident>
15040 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15041 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15042 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20352" value-id="xccdf_cdf_value_var-3.19.2.3.b"/>
15043 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20352"/>
15044 </xccdf:check>
15045 </xccdf:Rule>
15046 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false" weight="10.0">
15047 <xccdf:title>Check forwarded_for setting</xccdf:title>
15048 <xccdf:description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled</xccdf:description>
15049 <xccdf:ident system="http://cce.mitre.org">CCE-4181-4</xccdf:ident>
15050 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15051 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15052 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20353" value-id="xccdf_cdf_value_var-3.19.2.3.c"/>
15053 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20353"/>
15054 </xccdf:check>
15055 </xccdf:Rule>
15056 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false" weight="10.0">
15057 <xccdf:title>Check log_mime_hdrs setting</xccdf:title>
15058 <xccdf:description>The Squid option to log HTTP MIME headers should be enabled</xccdf:description>
15059 <xccdf:ident system="http://cce.mitre.org">CCE-4577-3</xccdf:ident>
15060 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15061 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15062 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20354" value-id="xccdf_cdf_value_var-3.19.2.3.d"/>
15063 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20354"/>
15064 </xccdf:check>
15065 </xccdf:Rule>
15066 </xccdf:Group>
15067 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.4">
15068 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
15069 <xccdf:description xml:lang="en">
15070 Note: Authentication cannot be used in the case of transparent
15071 proxies due to limitations of the TCP/IP protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15072 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15073 Similar to web servers, two of the
15074 available options are Basic and Digest authentication. The other options are NTLM and
15075 Negotiate authentication. As noted in Section 3.16.3.5, Basic authentication transmits
15076 passwords in plain-text and is susceptible to passive monitoring. If network sniffing is
15077 a concern, basic authentication should not be used. Negotiate is the newest and most
15078 secure protocol. It attempts to use Kerberos authentication and falls back to NTLM if it
15079 cannot. It should be noted that Kerberos requires a third-party Key Distribution Center
15080 (KDC) to function properly, whereas the other methods of authentication are two-party
15081 schemes. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15082 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15083 Squid also offers the ability to choose a custom external authenticator.
15084 Designating an external authenticator (also known as a 'helper' module) allows Squid to
15085 offer pluggable third-party authentication schemes. LDAP is one example of a helper
15086 module that exists and is in use today. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15087 There are comments under the auth_param tag
15088 inside /etc/squid/squid.conf that provide extensive detail on how to configure each of
15089 these methods. If authentication is necessary, choose a method of authentication and
15090 configure appropriately. The recommended minimum configurations illustrated for each
15091 method are acceptable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15092 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15093 To force an ACL (as discussed in Section 3.19.2.5) to require
15094 authentication, use the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15096 acl name-of-ACL proxy_auth REQUIRED <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15098 Note:
15099 The keyword REQUIRED can be replaced with a user or list of users to further restrict
15100 access to a smaller subset of users.</xccdf:description>
15101 </xccdf:Group>
15102 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.5">
15103 <xccdf:title xml:lang="en">Access Control Lists (ACL)</xccdf:title>
15104 <xccdf:description xml:lang="en">
15105 The acl and http access tags are used in combination to allow filtering based on a series of
15106 access control lists. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15108 Squid has a list of default ACLs for localhost, SSL ports, and
15109 'safe' ports. Following the definition of these ACLs, a series of http access directives
15110 establish the following default filtering policy: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15111 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15112 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Allow cachemgr access only from localhost </xhtml:li><xhtml:li>Allow access to only ports in the 'safe' access control list</xhtml:li><xhtml:li>Limit CONNECT method to SSL ports only</xhtml:li><xhtml:li>Allow access from localhost</xhtml:li><xhtml:li>Deny all other requests</xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15113 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15114 The
15115 default ACL policies are reasonable from a security standpoint. However, the number of
15116 ports listed as 'safe' could be significantly trimmed depending on the needs of your
15117 network. Out of the box, ports 21, 70, 80, 210, 280, 443, 488, 591, 777, and 1025
15118 through 65535 are all considered safe. Some of these ports are associated with
15119 deprecated or rarely used protocols. As such, this list could be trimmed to further
15120 tighten filtering. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15121 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15122 The following actions should be taken to tighten the ACL policies: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15123 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15124 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>There is a filter line in the configuration file that is recommended but commented out.
15125 This line should be uncommented or added to prevent access to localhost from the proxy:<xhtml:br/>
15126 <xhtml:br/>
15127 http access deny to_localhost </xhtml:li><xhtml:li>An access list should be setup for the specific network
15128 or networks that the proxy is intended to serve. Only this subset of IP addresses should
15129 be allowed access. <xhtml:br/>
15130 <xhtml:br/>
15131 Add these lines where the following comment appears: <xhtml:br/>
15132 <xhtml:br/>
15133 # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS <xhtml:br/>
15134 acl your-network-acl-name src ip-range <xhtml:br/>
15135 http_access allow your-network-acl-name <xhtml:br/>
15136 <xhtml:br/>
15137 Note: ip-range is of the format xxx.xxx.xxx.xxx/xx</xhtml:li><xhtml:li>Ensure that the final http access line to appear in the document
15138 is the following: <xhtml:br/>
15139 <xhtml:br/>
15140 http_access deny all <xhtml:br/>
15141 <xhtml:br/>
15142 This guarantees that all traffic not meeting an
15143 explicit filtering rule is denied. <xhtml:br/>
15144 <xhtml:br/>
15145 Further filters should be established to meet the
15146 specific needs of a network, explicitly allowing access only where necessary.</xhtml:li><xhtml:li>Consult
15147 the chart below. Corresponding acl entries for unused protocols should be commented out
15148 and thus denied. </xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15149 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15150 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:thead><xhtml:tr><xhtml:td>Port</xhtml:td><xhtml:td>Service</xhtml:td><xhtml:td>Summary</xhtml:td><xhtml:td>Recommendation</xhtml:td></xhtml:tr></xhtml:thead><xhtml:tbody><xhtml:tr><xhtml:td>21</xhtml:td><xhtml:td>ftp</xhtml:td><xhtml:td>File Transfer Protocol(FTP)
15151 is a widely used file transfer protocol. </xhtml:td><xhtml:td>ALLOW</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>70</xhtml:td><xhtml:td>gopher</xhtml:td><xhtml:td>The gopher protocol is a
15152 deprecated search and retrieval protocol that is almost extinct, with as few as 100
15153 gopher servers present worldwide. Support for gopher is disabled in most modern
15154 browsers. </xhtml:td><xhtml:td>DENY</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>80</xhtml:td><xhtml:td>http</xhtml:td><xhtml:td>A web proxy needs to allow access to HTTP traffic. </xhtml:td><xhtml:td>ALLOW</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>210</xhtml:td><xhtml:td>wais</xhtml:td><xhtml:td>The Wide Area Information Server port is similar to gopher, serving as a text searching
15155 system to scour indexes on remote machines. Today, it is deprecated and nearly
15156 non-existent on the Internet. </xhtml:td><xhtml:td>DENY</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>280</xhtml:td><xhtml:td>http-mgmt</xhtml:td><xhtml:td>No documentation of any kind could be
15157 found on the obscure service that resides on this port. </xhtml:td><xhtml:td>DENY</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>443</xhtml:td><xhtml:td>https</xhtml:td><xhtml:td>SSL traffic is
15158 likely (and recommended) for any proxy and should be allowed. </xhtml:td><xhtml:td>ALLOW</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>488</xhtml:td><xhtml:td>gss-http</xhtml:td><xhtml:td>No
15159 documentation of any kind could be found on the obscure service that resides on this
15160 port. </xhtml:td><xhtml:td>DENY</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>591</xhtml:td><xhtml:td>filemaker</xhtml:td><xhtml:td>Filemaker is a database application originally offered by Apple
15161 in the 1980s. Although development continues and it remains in use today, it should be
15162 disabled if your network does not require such traffic. </xhtml:td><xhtml:td>DENY</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>777</xhtml:td><xhtml:td>multiling http</xhtml:td><xhtml:td>No documentation of any kind could be found on
15163 the obscure service that resides on this port</xhtml:td><xhtml:td>DENY</xhtml:td></xhtml:tr><xhtml:tr><xhtml:td>1025-65535</xhtml:td><xhtml:td>unregistered ports http</xhtml:td><xhtml:td>unregistered
15164 ports Random high ports are used by a variety of applications and should be allowed.</xhtml:td><xhtml:td>ALLOW</xhtml:td></xhtml:tr></xhtml:tbody></xhtml:table></xccdf:description>
15165 <xccdf:warning xml:lang="en">Be very careful with the order of access control tags. Access
15166 control is handled top-down. The first rule that matches is the only rule adhered to.
15167 The last rule on the list defines the default behavior in the case of no rule match. </xccdf:warning>
15168 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false" weight="10.0">
15169 <xccdf:title>Restrict gss-http traffic</xccdf:title>
15170 <xccdf:description>Squid should be configured to not allow gss-http traffic</xccdf:description>
15171 <xccdf:ident system="http://cce.mitre.org">CCE-4511-2</xccdf:ident>
15172 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15173 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15174 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20355"/>
15175 </xccdf:check>
15176 </xccdf:Rule>
15177 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false" weight="10.0">
15178 <xccdf:title>Restrict https traffic</xccdf:title>
15179 <xccdf:description>Squid should be configured to not allow https traffic</xccdf:description>
15180 <xccdf:ident system="http://cce.mitre.org">CCE-4529-4</xccdf:ident>
15181 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15182 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15183 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20356"/>
15184 </xccdf:check>
15185 </xccdf:Rule>
15186 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false" weight="10.0">
15187 <xccdf:title>Restrict wais traffic</xccdf:title>
15188 <xccdf:description>Squid should be configured to not allow wais traffic</xccdf:description>
15189 <xccdf:ident system="http://cce.mitre.org">CCE-3610-3</xccdf:ident>
15190 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15191 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15192 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20357"/>
15193 </xccdf:check>
15194 </xccdf:Rule>
15195 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false" weight="10.0">
15196 <xccdf:title>Restrict multiling http traffic</xccdf:title>
15197 <xccdf:description>Squid should be configured to not allow multiling http traffic</xccdf:description>
15198 <xccdf:ident system="http://cce.mitre.org">CCE-4466-9</xccdf:ident>
15199 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15200 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15201 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20358"/>
15202 </xccdf:check>
15203 </xccdf:Rule>
15204 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false" weight="10.0">
15205 <xccdf:title>Restrict http traffic</xccdf:title>
15206 <xccdf:description>Squid should be configured to not allow http traffic</xccdf:description>
15207 <xccdf:ident system="http://cce.mitre.org">CCE-4607-8</xccdf:ident>
15208 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15209 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15210 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20359"/>
15211 </xccdf:check>
15212 </xccdf:Rule>
15213 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false" weight="10.0">
15214 <xccdf:title>Restrict ftp traffic</xccdf:title>
15215 <xccdf:description>Squid should be configured to not allow ftp traffic</xccdf:description>
15216 <xccdf:ident system="http://cce.mitre.org">CCE-4255-6</xccdf:ident>
15217 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15218 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15219 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20360"/>
15220 </xccdf:check>
15221 </xccdf:Rule>
15222 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false" weight="10.0">
15223 <xccdf:title>Restrict gopher traffic</xccdf:title>
15224 <xccdf:description>Squid should be configured to not allow gopher traffic</xccdf:description>
15225 <xccdf:ident system="http://cce.mitre.org">CCE-4127-7</xccdf:ident>
15226 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15227 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15228 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20361"/>
15229 </xccdf:check>
15230 </xccdf:Rule>
15231 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false" weight="10.0">
15232 <xccdf:title>Restrict filemaker traffic</xccdf:title>
15233 <xccdf:description>Squid should be configured to not allow filemaker traffic</xccdf:description>
15234 <xccdf:ident system="http://cce.mitre.org">CCE-4519-5</xccdf:ident>
15235 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15236 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15237 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20362"/>
15238 </xccdf:check>
15239 </xccdf:Rule>
15240 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false" weight="10.0">
15241 <xccdf:title>Restrict proxy access to localhost </xccdf:title>
15242 <xccdf:description>Squid proxy access to localhost should be denied</xccdf:description>
15243 <xccdf:ident system="http://cce.mitre.org">CCE-4413-1</xccdf:ident>
15244 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15245 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15246 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20363"/>
15247 </xccdf:check>
15248 </xccdf:Rule>
15249 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false" weight="10.0">
15250 <xccdf:title>Restrict http-mgmt traffic</xccdf:title>
15251 <xccdf:description>Squid should be configured to not allow http-mgmt traffic</xccdf:description>
15252 <xccdf:ident system="http://cce.mitre.org">CCE-4373-7</xccdf:ident>
15253 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15254 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15255 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20364"/>
15256 </xccdf:check>
15257 </xccdf:Rule>
15258 </xccdf:Group>
15259 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.6">
15260 <xccdf:title xml:lang="en">Configure Internet Cache Protocol (ICP) if Necessary</xccdf:title>
15261 <xccdf:description xml:lang="en">
15262 The ICP protocol is a cache communication protocol that allows
15263 multiple Squid servers to communicate. The ICP protocol was designed with no security in
15264 mind, relying on user-defined access control lists alone to determine which ICP messages
15265 to allow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15266 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15267 If a Squid server is standalone, the ICP port should be disabled by adding or
15268 correcting the following line in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15269 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15270 icp_port 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15272 If the Squid server
15273 is meant to speak with peers, strict ACLs should be established to only allow ICP
15274 traffic from trusted neighbors. To accomplish this, add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15275 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15276 icp_access allow acl-defining-trusted-neighbors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15277 icp_access deny all</xccdf:description>
15278 </xccdf:Group>
15279 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.7">
15280 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Proxy Server</xccdf:title>
15281 <xccdf:description xml:lang="en">
15282 Determine an appropriate network block, netwk , and network
15283 mask, mask , representing the machines on your network which should operate as clients
15284 of the proxy server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15285 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15286 Edit /etc/sysconfig/iptables. Add the following line, ensuring that
15287 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"/>
15288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15289 -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"/>
15290 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15291 For port , use either the default 3128 or the alternate port was selected in Section
15292 3.19.2.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15293 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15294 The default Iptables configuration does not allow inbound access to the Squid
15295 proxy service. This modification allows that access, while keeping other ports on the
15296 server in their default protected state. See Section 2.5.5 for more information about
15297 Iptables.</xccdf:description>
15298 </xccdf:Group>
15299 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.8">
15300 <xccdf:title xml:lang="en">Forward Log Messages to Syslog Daemon</xccdf:title>
15301 <xccdf:description xml:lang="en">
15302 The default behavior of Squid is to record its log messages in
15303 /var/log/squid.log. This behavior can be supplemented so that Squid also sends messages
15304 to syslog as well. This is useful for centralizing log data, particularly in instances
15305 where multiple Squid servers are present. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15307 Squid provides a command line argument to
15308 enable syslog forwarding. Modify the SQUID OPTS line in /etc/init.d/squid to include the
15309 -s option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15311 SQUID_OPTS="${SQUID_OPTS:-"-D"} -s"</xccdf:description>
15312 </xccdf:Group>
15313 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9">
15314 <xccdf:title xml:lang="en">Do Not Run as Root</xccdf:title>
15315 <xccdf:description xml:lang="en">
15316 Since Squid is loaded by the system's service utility, it
15317 starts as root and then changes its effective UID to the UID specified by the cache
15318 effective user directive. However, since it was still executed by root, the program
15319 maintains a saved UID of root even after changing its effective UID. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15320 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15321 To prevent this
15322 undesired behavior, Squid must either be configured to run in a chroot environment or it
15323 must be executed by a non-privileged user in non-daemon mode (the service utility must
15324 not be used).</xccdf:description>
15325 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.1">
15326 <xccdf:title xml:lang="en">Run Squid in a chroot Jail</xccdf:title>
15327 <xccdf:description xml:lang="en">
15328 Chrooting Squid can be a very complicated task. Documentation
15329 for the process is vague and a great deal of trial and error may be required to
15330 determine all the files that need to be transitioned over to the chroot environment.
15331 Therefore, this guide recommends instead the method detailed in Section 3.19.2.9.2 to
15332 lower privileges. If chrooting Squid is still desired, it can be enabled with the
15333 following directive in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15334 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15335 chroot chroot-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15337 Then, all the
15338 necessary files used by Squid must be copied into the chroot-path directory. The
15339 specifics of this step cannot be covered in this guide because they are highly
15340 dependent on the external programs used in the Squid configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15342 Note: The strace
15343 utility is a valuable resource for discovering the files needed for the chroot
15344 environment.</xccdf:description>
15345 </xccdf:Group>
15346 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.2">
15347 <xccdf:title xml:lang="en">Modify Service Entry to Lower Privileges</xccdf:title>
15348 <xccdf:description xml:lang="en">T
15349 he following modification to /etc/init.d/squid forces the
15350 service utility to execute Squid as the squid user instead of the root user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15352 # determine the name of the squid binary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15353 [ -f /usr/sbin/squid ] &amp;&amp; SQUID="sudo -u squid squid" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15354 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15355 Making this change prevents Squid from writing its pid to
15356 /var/run. This pid file is used by service to check to see if the program started
15357 successfully. Therefore, a new location must be chosen for this pid file that the
15358 squid user has access to, and the corresponding references in /etc/init.d/squid must
15359 be altered to point to it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15360 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15361 Make the following modification to the Squid configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15362 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15363 pid_filename /var/spool/squid/squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15364 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15365 Edit the file /etc/init.d/squid by
15366 changing all occurrences of /var/run/squid.pid to /var/spool/squid/ squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15368 Also modify the following line in /etc/init.d/squid: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15369 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15370 [ $RETVAL -eq 0 ] &amp;&amp; touch /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15371 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15372 and add the following lines immediately after it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15374 rm -f /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15375 status squid</xccdf:description>
15376 </xccdf:Group>
15377 </xccdf:Group>
15378 </xccdf:Group>
15379 </xccdf:Group>
15380 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20">
15381 <xccdf:title xml:lang="en">SNMP Server</xccdf:title>
15382 <xccdf:description xml:lang="en">
15383 The Simple Network Management Protocol allows administrators to
15384 monitor the state of network devices, including computers. Older versions of SNMP were
15385 well-known for weak security, such as plaintext transmission of the community string (used
15386 for authentication) and also usage of easily-guessable choices for community string.</xccdf:description>
15387 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.1">
15388 <xccdf:title xml:lang="en">Disable SNMP Server if Possible</xccdf:title>
15389 <xccdf:description xml:lang="en">
15390 The system includes an SNMP daemon that allows for its remote
15391 monitoring, though it not installed by default. If it was installed and activated, it is
15392 important that the software be disabled and removed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15393 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15394 If there is not a mission-critical
15395 need for hosts at this site to be remotely monitored by a SNMP tool, then disable and
15396 remove SNMP as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15397 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15398 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig snmpd off <xhtml:br/>
15399 # yum erase net-snmpd</xhtml:code></xccdf:description>
15400 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.a" selected="false" severity="medium" weight="10.0">
15401 <xccdf:title>Disable snmpd if Possible</xccdf:title>
15402 <xccdf:description>The snmpd service should be disabled.</xccdf:description>
15403 <xccdf:ident system="http://cce.mitre.org">CCE-3765-5</xccdf:ident>
15404 <xccdf:fixtext>(1) via chkconfig</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:20365"/>
15407 </xccdf:check>
15408 </xccdf:Rule>
15409 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.b" selected="false" weight="10.0">
15410 <xccdf:title>Uninstall net-snmp if Possible</xccdf:title>
15411 <xccdf:description>The net-snmp package should be uninstalled.</xccdf:description>
15412 <xccdf:ident system="http://cce.mitre.org">CCE-4404-0</xccdf:ident>
15413 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
15414 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15415 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20366"/>
15416 </xccdf:check>
15417 </xccdf:Rule>
15418 </xccdf:Group>
15419 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2">
15420 <xccdf:title xml:lang="en">Configure SNMP Server if Necessary</xccdf:title>
15421 <xccdf:description xml:lang="en">
15422 If it is necessary to run the snmpd agent on the system, some
15423 best practices should be followed to minimize the security risk from the installation. The
15424 multiple security models implemented by SNMP cannot be fully covered here so only the
15425 following general configuration advice can be offered: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15426 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15427 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>use only SNMP version 3 security
15428 models and enable the use of authentication and encryption for those </xhtml:li><xhtml:li>write access to the
15429 MIB (Management Information Base) should be allowed only if necessary </xhtml:li><xhtml:li>all access to the
15430 MIB should be restricted following a principle of least privilege </xhtml:li><xhtml:li>network access should
15431 be limited to the maximum extent possible including restricting to expected network
15432 addresses both in the configuration files and in the system firewall rules </xhtml:li><xhtml:li>ensure SNMP
15433 agents send traps only to, and accept SNMP queries only from, authorized management
15434 stations </xhtml:li><xhtml:li>ensure that permissions on the snmpd.conf configuration file (by default, in
15435 /etc/snmp) are 640 or more restrictive </xhtml:li><xhtml:li>ensure that any MIB files' permissions are also
15436 640 or more restrictive</xhtml:li></xhtml:ul></xccdf:description>
15437 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2.1">
15438 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
15439 <xccdf:description xml:lang="en">
15440 The following resources provide more detailed information about the SNMP software: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15441 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15442 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The CERT SNMP Vulnerabilities FAQ at http://www.cert.org/tech
15443 tips/snmp faq.html </xhtml:li><xhtml:li>The Net-SNMP project web page at http://net-snmp.sourceforge.net </xhtml:li><xhtml:li>The snmp config(5) man page </xhtml:li><xhtml:li>the snmpd.conf(5) man page</xhtml:li></xhtml:ul>
15444 </xccdf:description>
15445 </xccdf:Group>
15446 </xccdf:Group>
15447 </xccdf:Group>
15448 </xccdf:Group>
15449 </xccdf:Benchmark>
15450 </ds:component>
15451 <ds:component id="scap_org.open-scap_comp_scap-fedora14-oval.xml" timestamp="2012-07-20T12:22:58">
15452 <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">
15453 <generator>
15454 <oval:product_name>vim, emacs</oval:product_name>
15455 <oval:schema_version>5.5</oval:schema_version>
15456 <oval:timestamp>2010-08-30T12:00:00-04:00</oval:timestamp>
15457 </generator>
15458 <definitions>
15459 <definition class="compliance" id="oval:org.open-scap.f14:def:20000" version="1">
15460 <metadata>
15461 <title>Ensure that /tmp has its own partition or logical volume</title>
15462 <reference ref_id="TBD" source="CCE"/>
15463 <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>
15464 </metadata>
15465 <criteria>
15466 <criterion comment="Check in /etc/fstab for a /tmp mount point" test_ref="oval:org.open-scap.f14:tst:20000"/>
15467 </criteria>
15468 </definition>
15469 <definition class="compliance" id="oval:org.open-scap.f14:def:20001" version="1">
15470 <metadata>
15471 <title>Ensure that /tmp is of adequate size</title>
15472 <reference ref_id="TBD" source="CCE"/>
15473 <description>Because software may need to use /tmp to temporarily store large files, ensure that it is of adequate size.</description>
15474 </metadata>
15475 <criteria>
15476 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15477 </criteria>
15478 </definition>
15479 <definition class="compliance" id="oval:org.open-scap.f14:def:20002" version="1">
15480 <metadata>
15481 <title>Ensure that /var has its own partition or logical volume</title>
15482 <reference ref_id="TBD" source="CCE"/>
15483 <description>The /var directory is used by daemons and other system
15484 services to store frequently-changing data. It is not uncommon for the /var directory
15485 to contain world-writable directories, installed by other software packages.
15486 Ensure that /var has its own partition or logical volume.</description>
15487 </metadata>
15488 <criteria>
15489 <criterion comment="Check in /etc/fstab for a /var mount point" test_ref="oval:org.open-scap.f14:tst:20002"/>
15490 </criteria>
15491 </definition>
15492 <definition class="compliance" id="oval:org.open-scap.f14:def:20003" version="1">
15493 <metadata>
15494 <title>Ensure that /var is of adequate size</title>
15495 <reference ref_id="TBD" source="CCE"/>
15496 <description>Because the yum package manager and other software uses /var to temporarily store
15497 large files, ensure that it is of adequate size. For a modern, general-purpose system,
15498 10GB should be adequate.</description>
15499 </metadata>
15500 <criteria>
15501 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15502 </criteria>
15503 </definition>
15504 <definition class="compliance" id="oval:org.open-scap.f14:def:20004" version="1">
15505 <metadata>
15506 <title>Ensure that /var/log has its own partition or logical volum</title>
15507 <reference ref_id="TBD" source="CCE"/>
15508 <description>System logs are stored in the /var/log directory. Ensure that it has its own partition or logical volume.</description>
15509 </metadata>
15510 <criteria>
15511 <criterion comment="Check in /etc/fstab for a /var/log mount point" test_ref="oval:org.open-scap.f14:tst:20004"/>
15512 </criteria>
15513 </definition>
15514 <definition class="compliance" id="oval:org.open-scap.f14:def:20005" version="1">
15515 <metadata>
15516 <title>Ensure that /var/log/audit has its own partition or logical volume</title>
15517 <reference ref_id="TBD" source="CCE"/>
15518 <description>Audit logs are stored in the /var/log/audit directory.
15519 Ensure that it has its own partition or logical volume. Make absolutely certain
15520 that it is large enough to store all audit logs that will be created by the auditing
15521 daemon.</description>
15522 </metadata>
15523 <criteria>
15524 <criterion comment="Check in /etc/fstab for a /var/log/audit mount point" test_ref="oval:org.open-scap.f14:tst:20005"/>
15525 </criteria>
15526 </definition>
15527 <definition class="compliance" id="oval:org.open-scap.f14:def:20006" version="1">
15528 <metadata>
15529 <title>Ensure that /home has its own partition or logical volume</title>
15530 <reference ref_id="TBD" source="CCE"/>
15531 <description>If user home directories will be stored locally, create a separate
15532 partition for /home. If /home will be mounted from another system such as an NFS server, then
15533 creating a separate partition is not necessary at this time, and the mountpoint can
15534 instead be configured later.</description>
15535 </metadata>
15536 <criteria>
15537 <criterion comment="Check in /etc/fstab for a /home mount point" test_ref="oval:org.open-scap.f14:tst:20006"/>
15538 </criteria>
15539 </definition>
15540 <definition class="compliance" id="oval:org.open-scap.f14:def:200065" version="1">
15541 <metadata>
15542 <title>Ensure that GPG Key for Fedora is installed</title>
15543 <reference ref_id="TBD" source="CCE"/>
15544 <description>The GPG key should be installed.</description>
15545 </metadata>
15546 <criteria>
15547 <criterion comment="check gpg signature" test_ref="oval:org.open-scap.f14:tst:200065"/>
15548 </criteria>
15549 </definition>
15550 <definition class="compliance" id="oval:org.open-scap.f14:def:20008" version="1">
15551 <metadata>
15552 <title>yum-updatesd service should be disabled</title>
15553 <reference ref_id="CCE-4218-4" source="CCE"/>
15554 <description>The yum-updatesd service should be disabled</description>
15555 </metadata>
15556 <criteria>
15557 <criterion comment="check that yum-updatesd service is disabled" test_ref="oval:org.open-scap.f14:tst:20008"/>
15558 </criteria>
15559 </definition>
15560 <definition class="compliance" id="oval:org.open-scap.f14:def:20009" version="1">
15561 <metadata>
15562 <title>Automatic Update Retrieval should be scheduled with Cron</title>
15563 <reference ref_id="TBD" source="CCE"/>
15564 <description>Place the yum.cron script somewhere in /etc/cron.*/</description>
15565 </metadata>
15566 <criteria>
15567 <criterion comment="check for existence of yum.cron" test_ref="oval:org.open-scap.f14:tst:20009"/>
15568 </criteria>
15569 </definition>
15570 <definition class="compliance" id="oval:org.open-scap.f14:def:20010" version="1">
15571 <metadata>
15572 <title>Ensure gpgcheck is Globally Activated</title>
15573 <reference ref_id="TBD" source="CCE"/>
15574 <description>The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
15575 to its installation./</description>
15576 </metadata>
15577 <criteria>
15578 <criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20010"/>
15579 </criteria>
15580 </definition>
15581 <definition class="compliance" id="oval:org.open-scap.f14:def:20011" version="1">
15582 <metadata>
15583 <title>Ensure Package Signature Checking is Not Disabled For Any Repos</title>
15584 <reference ref_id="TBD" source="CCE"/>
15585 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
15586 appear in any repo configuration files in /etc/yum.repos.d or elsewhere</description>
15587 </metadata>
15588 <criteria>
15589 <criterion comment="check value of gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20011"/>
15590 </criteria>
15591 </definition>
15592 <definition class="compliance" id="oval:org.open-scap.f14:def:20012" version="1">
15593 <metadata>
15594 <title>Ensure Repodata Signature Checking is Globally Activated</title>
15595 <reference ref_id="TBD" source="CCE"/>
15596 <description>The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
15597 to using it.</description>
15598 </metadata>
15599 <criteria>
15600 <criterion comment="check value of repo_gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20012"/>
15601 </criteria>
15602 </definition>
15603 <definition class="compliance" id="oval:org.open-scap.f14:def:20013" version="1">
15604 <metadata>
15605 <title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</title>
15606 <reference ref_id="TBD" source="CCE"/>
15607 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
15608 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:</description>
15609 </metadata>
15610 <criteria>
15611 <criterion comment="check value of repo_gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20013"/>
15612 </criteria>
15613 </definition>
15614 <definition class="compliance" id="oval:org.open-scap.f14:def:20014" version="1">
15615 <metadata>
15616 <title>Install AIDE</title>
15617 <reference ref_id="CCE-4209-3" source="CCE"/>
15618 <description>The AIDE package should be installed</description>
15619 </metadata>
15620 <criteria>
15621 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20014"/>
15622 </criteria>
15623 </definition>
15624 <definition class="compliance" id="oval:org.open-scap.f14:def:20015" version="1">
15625 <metadata>
15626 <title>Run AIDE periodically</title>
15627 <reference ref_id="CCE-4209-3" source="CCE"/>
15628 <description>&gt;Setup cron to run AIDE periodically using cron.</description>
15629 </metadata>
15630 <criteria>
15631 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:22"/>
15632 </criteria>
15633 </definition>
15634 <definition class="compliance" id="oval:org.open-scap.f14:def:200155" version="1">
15635 <metadata>
15636 <title>Verify Package Integrity Using RPM</title>
15637 <reference ref_id="CCE-4209-3" source="CCE"/>
15638 <description>&gt;Verify the integrity of installed packages by comparing the installed files with
15639 information about the files taken from the package metadata stored in the RPM
15640 database.</description>
15641 </metadata>
15642 <criteria>
15643 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15644 </criteria>
15645 </definition>
15646 <definition class="compliance" id="oval:org.open-scap.f14:def:20016" version="1">
15647 <metadata>
15648 <title>Add nodev Option to Non-Root Local Partitions</title>
15649 <reference ref_id="CCE-4249-9" source="CCE"/>
15650 <description>The nodev option should be enabled for all non-root partitions.</description>
15651 </metadata>
15652 <criteria>
15653 <criterion comment="Check options for nodev in /etc/fstab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:20016"/>
15654 <criterion comment="Check options for nodev in /etc/mtab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:200162"/>
15655 </criteria>
15656 </definition>
15657 <definition class="compliance" id="oval:org.open-scap.f14:def:20017" version="1">
15658 <metadata>
15659 <title>Add nodev Option to Removable Media Partitions</title>
15660 <reference ref_id="CCE-3522-0" source="CCE"/>
15661 <description>The nodev option should be enabled for all removable media.</description>
15662 </metadata>
15663 <criteria>
15664 <!-- TODO create a udev rule and make sure it is present -->
15665 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15666 </criteria>
15667 </definition>
15668 <definition class="compliance" id="oval:org.open-scap.f14:def:20018" version="1">
15669 <metadata>
15670 <title>Add noexec Option to Removable Media Partitions</title>
15671 <reference ref_id="CCE-4275-4" source="CCE"/>
15672 <description>The noexec option should be enabled for all removable media.</description>
15673 </metadata>
15674 <criteria>
15675 <!-- TODO create a udev rule and make sure it is present -->
15676 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15677 </criteria>
15678 </definition>
15679 <definition class="compliance" id="oval:org.open-scap.f14:def:20019" version="1">
15680 <metadata>
15681 <title>Add nosuid Option to Removable Media Partitions</title>
15682 <reference ref_id="CCE-4042-8" source="CCE"/>
15683 <description>The nosuid option should be enabled for all removable media.</description>
15684 </metadata>
15685 <criteria>
15686 <!-- TODO create a udev rule and make sure it is present -->
15687 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15688 </criteria>
15689 </definition>
15690 <definition class="compliance" id="oval:org.open-scap.f14:def:20020" version="1">
15691 <metadata>
15692 <title>Restrict Console Device Access</title>
15693 <reference ref_id="CCE-3685-5" source="CCE"/>
15694 <description>Console device ownership should be restricted to root-only as appropriate.</description>
15695 </metadata>
15696 <criteria>
15697 <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"/>
15698 </criteria>
15699 </definition>
15700 <definition class="compliance" id="oval:org.open-scap.f14:def:20021" version="1">
15701 <metadata>
15702 <title>Disable Modprobe Loading of USB Storage Driver</title>
15703 <reference ref_id="CCE-4187-1" source="CCE"/>
15704 <description>The USB device support module should not be loaded</description>
15705 </metadata>
15706 <criteria>
15707 <criterion comment="check the usb storage support" test_ref="oval:org.open-scap.f14:tst:20021"/>
15708 </criteria>
15709 </definition>
15710 <definition class="compliance" id="oval:org.open-scap.f14:def:20022" version="1">
15711 <metadata>
15712 <title>Remove USB Storage Driver</title>
15713 <reference ref_id="CCE-4006-3" source="CCE"/>
15714 <description>The USB device support module should not be installed.</description>
15715 </metadata>
15716 <criteria>
15717 <criterion comment="Check if The USB device support module is not installed" test_ref="oval:org.open-scap.f14:tst:20022"/>
15718 </criteria>
15719 </definition>
15720 <definition class="compliance" id="oval:org.open-scap.f14:def:20023" version="1">
15721 <metadata>
15722 <title>Disable Kernel Support for USB via Bootloader Configuration</title>
15723 <reference ref_id="CCE-4173-1" source="CCE"/>
15724 <description>USB kernel support should be disabled.</description>
15725 </metadata>
15726 <criteria>
15727 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20023"/>
15728 </criteria>
15729 </definition>
15730 <definition class="compliance" id="oval:org.open-scap.f14:def:20024" version="1">
15731 <metadata>
15732 <title>Disable Booting from USB Devices in the BIOS</title>
15733 <reference ref_id="CCE-3944-6" source="CCE"/>
15734 <description>The ability to boot from USB devices should be disabled</description>
15735 </metadata>
15736 <criteria>
15737 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15738 </criteria>
15739 </definition>
15740 <definition class="compliance" id="oval:org.open-scap.f14:def:20025" version="1">
15741 <metadata>
15742 <title>Disable the Automounter if Possible</title>
15743 <reference ref_id="CCE-4072-5" source="CCE"/>
15744 <description>The autofs service is disabled.</description>
15745 </metadata>
15746 <criteria>
15747 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20025"/>
15748 </criteria>
15749 </definition>
15750 <definition class="compliance" id="oval:org.open-scap.f14:def:20026" version="1">
15751 <metadata>
15752 <title>Disable GNOME Automounting if Possible</title>
15753 <reference ref_id="CCE-4231-7" source="CCE"/>
15754 <description>The GNOME automounter (gnome-volume-manager) should be disabled</description>
15755 </metadata>
15756 <criteria>
15757 <criterion comment="XMLFile test" test_ref="oval:org.open-scap.f14:tst:20026"/>
15758 </criteria>
15759 </definition>
15760 <definition class="compliance" id="oval:org.open-scap.f14:def:20027" version="1">
15761 <metadata>
15762 <title>Disable Mounting of cramfs</title>
15763 <reference ref_id="CCE-4231-7" source="CCE"/>
15764 <description>prevents usage of this uncommon filesystems.</description>
15765 </metadata>
15766 <criteria>
15767 <criterion comment="check for cramfs" test_ref="oval:org.open-scap.f14:tst:20027"/>
15768 </criteria>
15769 </definition>
15770 <definition class="compliance" id="oval:org.open-scap.f14:def:20028" version="1">
15771 <metadata>
15772 <title>Disable Mounting of freevxfs</title>
15773 <reference ref_id="CCE-4231-7" source="CCE"/>
15774 <description>prevents usage of this uncommon filesystems.</description>
15775 </metadata>
15776 <criteria>
15777 <criterion comment="check for freevxfs" test_ref="oval:org.open-scap.f14:tst:20028"/>
15778 </criteria>
15779 </definition>
15780 <definition class="compliance" id="oval:org.open-scap.f14:def:20029" version="1">
15781 <metadata>
15782 <title>Disable Mounting of jffs2</title>
15783 <reference ref_id="CCE-4231-7" source="CCE"/>
15784 <description>prevents usage of this uncommon filesystems.</description>
15785 </metadata>
15786 <criteria>
15787 <criterion comment="check for jffs2" test_ref="oval:org.open-scap.f14:tst:20029"/>
15788 </criteria>
15789 </definition>
15790 <definition class="compliance" id="oval:org.open-scap.f14:def:20030" version="1">
15791 <metadata>
15792 <title>Disable Mounting of hfs</title>
15793 <reference ref_id="CCE-4231-7" source="CCE"/>
15794 <description>prevents usage of this uncommon filesystems.</description>
15795 </metadata>
15796 <criteria>
15797 <criterion comment="check for hfs" test_ref="oval:org.open-scap.f14:tst:20030"/>
15798 </criteria>
15799 </definition>
15800 <definition class="compliance" id="oval:org.open-scap.f14:def:20031" version="1">
15801 <metadata>
15802 <title>Disable Mounting of hfsplus</title>
15803 <reference ref_id="CCE-4231-7" source="CCE"/>
15804 <description>prevents usage of this uncommon filesystems.</description>
15805 </metadata>
15806 <criteria>
15807 <criterion comment="check for hfsplus" test_ref="oval:org.open-scap.f14:tst:20031"/>
15808 </criteria>
15809 </definition>
15810 <definition class="compliance" id="oval:org.open-scap.f14:def:20032" version="1">
15811 <metadata>
15812 <title>Disable Mounting of squashfs</title>
15813 <reference ref_id="CCE-4231-7" source="CCE"/>
15814 <description>prevents usage of this uncommon filesystems.</description>
15815 </metadata>
15816 <criteria>
15817 <criterion comment="check for squashfs" test_ref="oval:org.open-scap.f14:tst:20032"/>
15818 </criteria>
15819 </definition>
15820 <definition class="compliance" id="oval:org.open-scap.f14:def:20033" version="1">
15821 <metadata>
15822 <title>Disable Mounting of udf</title>
15823 <reference ref_id="CCE-4231-7" source="CCE"/>
15824 <description>prevents usage of this uncommon filesystems.</description>
15825 </metadata>
15826 <criteria>
15827 <criterion comment="check for udf" test_ref="oval:org.open-scap.f14:tst:20033"/>
15828 </criteria>
15829 </definition>
15830 <definition class="compliance" id="oval:org.open-scap.f14:def:20034" version="1">
15831 <metadata>
15832 <title>Verify user who owns 'shadow' file</title>
15833 <reference ref_id="CCE-3918-0" source="CCE"/>
15834 <description>The /etc/shadow file should be owned by the appropriate user.</description>
15835 </metadata>
15836 <criteria>
15837 <criterion comment="Check file ownership of /etc/shadow" test_ref="oval:org.open-scap.f14:tst:20034"/>
15838 </criteria>
15839 </definition>
15840 <definition class="compliance" id="oval:org.open-scap.f14:def:20035" version="1">
15841 <metadata>
15842 <title>Verify group who owns 'shadow' file</title>
15843 <reference ref_id="CCE-3988-3" source="CCE"/>
15844 <description>The /etc/shadow file should be owned by the appropriate group.</description>
15845 </metadata>
15846 <criteria>
15847 <criterion test_ref="oval:org.open-scap.f14:tst:20035"/>
15848 </criteria>
15849 </definition>
15850 <definition class="compliance" id="oval:org.open-scap.f14:def:20036" version="1">
15851 <metadata>
15852 <title>Verify user who owns 'group' file</title>
15853 <reference ref_id="CCE-3276-3" source="CCE"/>
15854 <description>The /etc/group file should be owned by the appropriate user.</description>
15855 </metadata>
15856 <criteria>
15857 <criterion test_ref="oval:org.open-scap.f14:tst:20036"/>
15858 </criteria>
15859 </definition>
15860 <definition class="compliance" id="oval:org.open-scap.f14:def:20037" version="1">
15861 <metadata>
15862 <title>Verify group who owns 'group' file</title>
15863 <reference ref_id="CCE-3883-6" source="CCE"/>
15864 <description>The /etc/group file should be owned by the appropriate group.</description>
15865 </metadata>
15866 <criteria>
15867 <criterion test_ref="oval:org.open-scap.f14:tst:20037"/>
15868 </criteria>
15869 </definition>
15870 <definition class="compliance" id="oval:org.open-scap.f14:def:20038" version="1">
15871 <metadata>
15872 <title>Verify user who owns 'gshadow' file</title>
15873 <reference ref_id="CCE-4210-1" source="CCE"/>
15874 <description>The /etc/gshadow file should be owned by the appropriate user.</description>
15875 </metadata>
15876 <criteria>
15877 <criterion test_ref="oval:org.open-scap.f14:tst:20038"/>
15878 </criteria>
15879 </definition>
15880 <definition class="compliance" id="oval:org.open-scap.f14:def:20039" version="1">
15881 <metadata>
15882 <title>Verify group who owns 'gshadow' file</title>
15883 <reference ref_id="CCE-4064-2" source="CCE"/>
15884 <description>The /etc/gshadow file should be owned by the appropriate group.</description>
15885 </metadata>
15886 <criteria>
15887 <criterion test_ref="oval:org.open-scap.f14:tst:20039"/>
15888 </criteria>
15889 </definition>
15890 <definition class="compliance" id="oval:org.open-scap.f14:def:20040" version="1">
15891 <metadata>
15892 <title>Verify user who owns 'passwd' file</title>
15893 <reference ref_id="CCE-3958-6" source="CCE"/>
15894 <description>The /etc/passwd file should be owned by the appropriate user.</description>
15895 </metadata>
15896 <criteria>
15897 <criterion test_ref="oval:org.open-scap.f14:tst:20040"/>
15898 </criteria>
15899 </definition>
15900 <definition class="compliance" id="oval:org.open-scap.f14:def:20041" version="1">
15901 <metadata>
15902 <title>Verify group who owns 'passwd' file</title>
15903 <reference ref_id="CCE-3495-9" source="CCE"/>
15904 <description>The /etc/passwd file should be owned by the appropriate group.</description>
15905 </metadata>
15906 <criteria>
15907 <criterion test_ref="oval:org.open-scap.f14:tst:20041"/>
15908 </criteria>
15909 </definition>
15910 <definition class="compliance" id="oval:org.open-scap.f14:def:20042" version="1">
15911 <metadata>
15912 <title>Verify permissions on 'shadow' file</title>
15913 <reference ref_id="CCE-4130-1" source="CCE"/>
15914 <description>File permissions for /etc/shadow should be set correctly.</description>
15915 </metadata>
15916 <criteria>
15917 <criterion test_ref="oval:org.open-scap.f14:tst:20042"/>
15918 </criteria>
15919 </definition>
15920 <definition class="compliance" id="oval:org.open-scap.f14:def:20043" version="1">
15921 <metadata>
15922 <title>Verify permissions on 'group' file</title>
15923 <reference ref_id="CCE-3967-7" source="CCE"/>
15924 <description>File permissions for /etc/group should be set correctly.</description>
15925 </metadata>
15926 <criteria>
15927 <criterion test_ref="oval:org.open-scap.f14:tst:20043"/>
15928 </criteria>
15929 </definition>
15930 <definition class="compliance" id="oval:org.open-scap.f14:def:20044" version="1">
15931 <metadata>
15932 <title>Verify permissions on 'gshadow' file</title>
15933 <reference ref_id="CCE-3932-1" source="CCE"/>
15934 <description>File permissions for /etc/gshadow should be set correctly.</description>
15935 </metadata>
15936 <criteria>
15937 <criterion test_ref="oval:org.open-scap.f14:tst:20044"/>
15938 </criteria>
15939 </definition>
15940 <definition class="compliance" id="oval:org.open-scap.f14:def:20045" version="1">
15941 <metadata>
15942 <title>Verify permissions on 'passwd' file</title>
15943 <reference ref_id="CCE-3566-7" source="CCE"/>
15944 <description>File permissions for /etc/passwd should be set correctly.</description>
15945 </metadata>
15946 <criteria>
15947 <criterion test_ref="oval:org.open-scap.f14:tst:20045"/>
15948 </criteria>
15949 </definition>
15950 <definition class="compliance" id="oval:org.open-scap.f14:def:20046" version="1">
15951 <metadata>
15952 <title>Verify that All World-Writable Directories Have Sticky Bits Set</title>
15953 <reference ref_id="CCE-3399-3" source="CCE"/>
15954 <description>The sticky bit should be set for all world-writable directories.</description>
15955 </metadata>
15956 <criteria>
15957 <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"/>
15958 </criteria>
15959 </definition>
15960 <definition class="compliance" id="oval:org.open-scap.f14:def:20047" version="1">
15961 <metadata>
15962 <title>Find Unauthorized World-Writable Files</title>
15963 <reference ref_id="CCE-3795-2" source="CCE"/>
15964 <description>The world-write permission should be disabled for all files.</description>
15965 </metadata>
15966 <criteria>
15967 <!-- Need a way to add exceptions to a list somehow -->
15968 <criterion comment="Check all files and make sure they are not world writable" negate="true" test_ref="oval:org.open-scap.f14:tst:20047"/>
15969 </criteria>
15970 </definition>
15971 <definition class="compliance" id="oval:org.open-scap.f14:def:20048" version="1">
15972 <metadata>
15973 <title>Find Unauthorized SGID System Executables</title>
15974 <reference ref_id="CCE-4178-0" source="CCE"/>
15975 <description>The sgid bit should be not set for all executable files.</description>
15976 </metadata>
15977 <criteria>
15978 <criterion comment="Check that there are no unexpected files with sgid bit set" test_ref="oval:org.open-scap.f14:tst:20048"/>
15979 </criteria>
15980 </definition>
15981 <definition class="compliance" id="oval:org.open-scap.f14:def:20049" version="1">
15982 <metadata>
15983 <title>Find Unauthorized SUID System Executables</title>
15984 <reference ref_id="CCE-3324-1" source="CCE"/>
15985 <description>The suid bit should be not set for all files.</description>
15986 </metadata>
15987 <criteria>
15988 <criterion comment="Check that there are no unexpected files with suid bit set" test_ref="oval:org.open-scap.f14:tst:20049"/>
15989 </criteria>
15990 </definition>
15991 <definition class="compliance" id="oval:org.open-scap.f14:def:20050" version="1">
15992 <metadata>
15993 <title>Find files unowned by a user</title>
15994 <reference ref_id="CCE-4223-4" source="CCE"/>
15995 <description>All files should be owned by a user</description>
15996 </metadata>
15997 <criteria>
15998 <criterion comment="Check all files and make sure they are owned by a user" test_ref="oval:org.open-scap.f14:tst:20050"/>
15999 </criteria>
16000 </definition>
16001 <definition class="compliance" id="oval:org.open-scap.f14:def:20051" version="1">
16002 <metadata>
16003 <title>Find files unowned by a group</title>
16004 <reference ref_id="CCE-3573-3" source="CCE"/>
16005 <description>All files should be owned by a group</description>
16006 </metadata>
16007 <criteria>
16008 <criterion comment="Check all files and make sure they are owned by a group" test_ref="oval:org.open-scap.f14:tst:20051"/>
16009 </criteria>
16010 </definition>
16011 <definition class="compliance" id="oval:org.open-scap.f14:def:20052" version="1">
16012 <metadata>
16013 <title>Find world writable directories not owned by a system account</title>
16014 <reference ref_id="TBD" source="CCE"/>
16015 <description>All world writable directories should be owned by a system user</description>
16016 </metadata>
16017 <criteria>
16018 <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"/>
16019 </criteria>
16020 </definition>
16021 <definition class="compliance" id="oval:org.open-scap.f14:def:20053" version="1">
16022 <metadata>
16023 <title>Set Daemon umask</title>
16024 <reference ref_id="CCE-4220-0" source="CCE"/>
16025 <description>The daemon umask should be set as appropriate</description>
16026 </metadata>
16027 <criteria>
16028 <criterion test_ref="oval:org.open-scap.f14:tst:20053"/>
16029 </criteria>
16030 </definition>
16031 <definition class="compliance" id="oval:org.open-scap.f14:def:20055" version="1">
16032 <metadata>
16033 <title>Disable Core Dumps</title>
16034 <reference ref_id="CCE-4225-9" source="CCE"/>
16035 <description>Core dumps for all users should be disabled</description>
16036 </metadata>
16037 <criteria>
16038 <criterion comment="Are core dumps disabled" test_ref="oval:org.open-scap.f14:tst:20055"/>
16039 </criteria>
16040 </definition>
16041 <definition class="compliance" id="oval:org.open-scap.f14:def:20056" version="1">
16042 <metadata>
16043 <title>Disable Core Dumps for setuid programs</title>
16044 <reference ref_id="CCE-4247-3" source="CCE"/>
16045 <description>Core dumps for setuid programs should be disabled</description>
16046 </metadata>
16047 <criteria>
16048 <criterion comment="Are core dumps for setuid programs disabled?" test_ref="oval:org.open-scap.f14:tst:20056"/>
16049 </criteria>
16050 </definition>
16051 <definition class="compliance" id="oval:org.open-scap.f14:def:20057" version="1">
16052 <metadata>
16053 <title>Enable ExecShield</title>
16054 <reference ref_id="CCE-4168-1" source="CCE"/>
16055 <description>ExecShield should be enabled</description>
16056 </metadata>
16057 <criteria>
16058 <criterion comment="Is execshield enabled" test_ref="oval:org.open-scap.f14:tst:20057"/>
16059 </criteria>
16060 </definition>
16061 <definition class="compliance" id="oval:org.open-scap.f14:def:20058" version="1">
16062 <metadata>
16063 <title>Enable ExecShield randomized placement of virtual memory regions</title>
16064 <reference ref_id="CCE-4146-7" source="CCE"/>
16065 <description>ExecShield randomized placement of virtual memory regions should be enabled</description>
16066 </metadata>
16067 <criteria>
16068 <criterion comment="check ExecShield randomized placement of virtual memory regions" test_ref="oval:org.open-scap.f14:tst:20058"/>
16069 </criteria>
16070 </definition>
16071 <definition class="compliance" id="oval:org.open-scap.f14:def:20060" version="1">
16072 <metadata>
16073 <title>Enable XD/NX processor support in the BIOS</title>
16074 <reference ref_id="CCE-4177-2" source="CCE"/>
16075 <description>The XD/NX processor feature should be enabled in the BIOS</description>
16076 </metadata>
16077 <criteria>
16078 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20060"/>
16079 </criteria>
16080 </definition>
16081 <definition class="compliance" id="oval:org.open-scap.f14:def:20061" version="1">
16082 <metadata>
16083 <title>Restrict Root Logins to System Console</title>
16084 <reference ref_id="CCE-3820-8" source="CCE"/>
16085 <description>Logins through the specified virtual console interface should be enabled</description>
16086 </metadata>
16087 <criteria>
16088 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20061"/>
16089 </criteria>
16090 </definition>
16091 <definition class="compliance" id="oval:org.open-scap.f14:def:20062" version="1">
16092 <metadata>
16093 <title>Restrict Root Logins to System Console</title>
16094 <reference ref_id="CCE-3485-0" source="CCE"/>
16095 <description>Logins through the specified virtual console device should be enabled</description>
16096 </metadata>
16097 <criteria>
16098 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20062"/>
16099 </criteria>
16100 </definition>
16101 <definition class="compliance" id="oval:org.open-scap.f14:def:20063" version="1">
16102 <metadata>
16103 <title>Restrict Root Logins to System Console</title>
16104 <reference ref_id="CCE-4111-1" source="CCE"/>
16105 <description>Logins through the primary console device should be disabled</description>
16106 </metadata>
16107 <criteria>
16108 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20063"/>
16109 </criteria>
16110 </definition>
16111 <definition class="compliance" id="oval:org.open-scap.f14:def:20064" version="1">
16112 <metadata>
16113 <title>Restrict Root Logins to System Console</title>
16114 <reference ref_id="CCE-4256-4" source="CCE"/>
16115 <description>Login prompts on serial ports should be disabled.</description>
16116 </metadata>
16117 <criteria>
16118 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20064"/>
16119 </criteria>
16120 </definition>
16121 <definition class="compliance" id="oval:org.open-scap.f14:def:20065" version="1">
16122 <metadata>
16123 <title>Limit su Access to the wheel group</title>
16124 <description>The wheel group should exist</description>
16125 </metadata>
16126 <criteria>
16127 <criterion comment="Does wheel group exist" test_ref="oval:org.open-scap.f14:tst:20065"/>
16128 </criteria>
16129 </definition>
16130 <definition class="compliance" id="oval:org.open-scap.f14:def:20066" version="1">
16131 <metadata>
16132 <title>Limit command Access to the Root Account</title>
16133 <description>Command access to the root account should be restricted to the wheel group.</description>
16134 </metadata>
16135 <criteria>
16136 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20066"/>
16137 </criteria>
16138 </definition>
16139 <definition class="compliance" id="oval:org.open-scap.f14:def:20067" version="1">
16140 <metadata>
16141 <title>Configure sudo to Improve Auditing of Root Access</title>
16142 <reference ref_id="CCE-4044-4" source="CCE"/>
16143 <description>Sudo privileges should be granted to the wheel group</description>
16144 </metadata>
16145 <criteria>
16146 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20067"/>
16147 </criteria>
16148 </definition>
16149 <definition class="compliance" id="oval:org.open-scap.f14:def:20068" version="1">
16150 <metadata>
16151 <title>Block Shell and Login Access for Non-Root System Accounts</title>
16152 <reference ref_id="CCE-3987-5" source="CCE"/>
16153 <description>Login access to non-root system accounts should be disabled</description>
16154 </metadata>
16155 <criteria>
16156 <criterion comment="check /etc/passwd for /sbin/nologin on non root system accounts" negate="true" test_ref="oval:org.open-scap.f14:tst:20068"/>
16157 </criteria>
16158 </definition>
16159 <definition class="compliance" id="oval:org.open-scap.f14:def:20069" version="1">
16160 <metadata>
16161 <title>Verify that No Accounts Have Empty Password Fields</title>
16162 <reference ref_id="CCE-4238-2" source="CCE"/>
16163 <description>Login access to accounts without passwords should be disabled</description>
16164 </metadata>
16165 <criteria>
16166 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20069"/>
16167 </criteria>
16168 </definition>
16169 <definition class="compliance" id="oval:org.open-scap.f14:def:200695" version="1">
16170 <metadata>
16171 <title>Verify that All Account Password Hashes are Shadowed</title>
16172 <reference ref_id="CCE-4238-2" source="CCE"/>
16173 <description>Check that passwords are shadowed</description>
16174 </metadata>
16175 <criteria>
16176 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:200695"/>
16177 </criteria>
16178 </definition>
16179 <definition class="compliance" id="oval:org.open-scap.f14:def:20070" version="1">
16180 <metadata>
16181 <title>Verify that No Non-Root Accounts Have UID 0</title>
16182 <reference ref_id="CCE-4009-7" source="CCE"/>
16183 <description>Anonymous root logins are disabled</description>
16184 </metadata>
16185 <criteria>
16186 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20070"/>
16187 </criteria>
16188 </definition>
16189 <definition class="compliance" id="oval:org.open-scap.f14:def:20071" version="1">
16190 <metadata>
16191 <title>Set Password Expiration Parameters</title>
16192 <reference ref_id="CCE-4154-1" source="CCE"/>
16193 <description>The password minimum length should be set appropriately</description>
16194 </metadata>
16195 <criteria>
16196 <criterion test_ref="oval:org.open-scap.f14:tst:20071"/>
16197 </criteria>
16198 </definition>
16199 <definition class="compliance" id="oval:org.open-scap.f14:def:20072" version="1">
16200 <metadata>
16201 <title>Set Password Expiration Parameters</title>
16202 <reference ref_id="CCE-4180-6" source="CCE"/>
16203 <description>The "minimum password age" policy should meet minimum requirements. </description>
16204 </metadata>
16205 <criteria>
16206 <criterion test_ref="oval:org.open-scap.f14:tst:20072"/>
16207 </criteria>
16208 </definition>
16209 <definition class="compliance" id="oval:org.open-scap.f14:def:20073" version="1">
16210 <metadata>
16211 <title>Set Password Expiration Parameters</title>
16212 <reference ref_id="CCE-4092-3" source="CCE"/>
16213 <description>The "maximum password age" policy should meet minimum requirements. </description>
16214 </metadata>
16215 <criteria>
16216 <criterion test_ref="oval:org.open-scap.f14:tst:20073"/>
16217 </criteria>
16218 </definition>
16219 <definition class="compliance" id="oval:org.open-scap.f14:def:20074" version="1">
16220 <metadata>
16221 <title>Set Password Expiration Parameters</title>
16222 <reference ref_id="CCE-4097-2" source="CCE"/>
16223 <description>The password warn age should be set appropriately</description>
16224 </metadata>
16225 <criteria>
16226 <criterion test_ref="oval:org.open-scap.f14:tst:20074"/>
16227 </criteria>
16228 </definition>
16229 <definition class="compliance" id="oval:org.open-scap.f14:def:20075" version="1">
16230 <metadata>
16231 <title>Remove Legacy + Entries from Password Files</title>
16232 <description>NIS file inclusions should be set appropriately in the /etc/shadow file</description>
16233 </metadata>
16234 <criteria>
16235 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20075"/>
16236 </criteria>
16237 </definition>
16238 <definition class="compliance" id="oval:org.open-scap.f14:def:20076" version="1">
16239 <metadata>
16240 <title>Remove Legacy + Entries from Password Files</title>
16241 <description>NIS file inclusions should be set appropriately in the /etc/group file</description>
16242 </metadata>
16243 <criteria>
16244 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20076"/>
16245 </criteria>
16246 </definition>
16247 <definition class="compliance" id="oval:org.open-scap.f14:def:20077" version="1">
16248 <metadata>
16249 <title>Remove Legacy + Entries from Password Files</title>
16250 <reference ref_id="CCE-4114-5" source="CCE"/>
16251 <description>NIS file inclusions should be set appropriately in the /etc/passwd file</description>
16252 </metadata>
16253 <criteria>
16254 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20077"/>
16255 </criteria>
16256 </definition>
16257 <definition class="compliance" id="oval:org.open-scap.f14:def:20078" version="1">
16258 <metadata>
16259 <title>Set Password Quality Requirements</title>
16260 <reference ref_id="CCE-3762-2" source="CCE"/>
16261 <description>The password strength should meet minimum requirements using pam_cracklib</description>
16262 </metadata>
16263 <criteria comment="Conditions for retry, minlen, dcredit, ucredit, ocredit, lcredit and difok are satisfied" operator="AND">
16264 <criterion comment="Test retry" test_ref="oval:org.open-scap.f14:tst:200781"/>
16265 <criterion comment="Test minlen" test_ref="oval:org.open-scap.f14:tst:200782"/>
16266 <criterion comment="Test dcredit" test_ref="oval:org.open-scap.f14:tst:200783"/>
16267 <criterion comment="Test ucredit" test_ref="oval:org.open-scap.f14:tst:200784"/>
16268 <criterion comment="Test ocredit" test_ref="oval:org.open-scap.f14:tst:200785"/>
16269 <criterion comment="Test lcredit" test_ref="oval:org.open-scap.f14:tst:200786"/>
16270 <criterion comment="Test difok" test_ref="oval:org.open-scap.f14:tst:200787"/>
16271 </criteria>
16272 </definition>
16273 <definition class="compliance" id="oval:org.open-scap.f14:def:20079" version="1">
16274 <metadata>
16275 <title>Set Password Quality Requirements</title>
16276 <reference ref_id="CCE-3762-2" source="CCE"/>
16277 <description>The password strength should meet minimum requirements using pam_passwdqc</description>
16278 </metadata>
16279 <criteria>
16280 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20079"/>
16281 </criteria>
16282 </definition>
16283 <definition class="compliance" id="oval:org.open-scap.f14:def:20080" version="1">
16284 <metadata>
16285 <title>Set Lockouts for Failed Password Attempts</title>
16286 <reference ref_id="CCE-3410-8" source="CCE"/>
16287 <description>The "account lockout threshold" policy should meet minimum requirements.</description>
16288 </metadata>
16289 <criteria>
16290 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16291 <criteria comment="unlock_time is not present">
16292 <criterion comment="check unlock_time is 0" test_ref="oval:org.open-scap.f14:tst:200800"/>
16293 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16294 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16295 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16296 </criteria>
16297 </criteria>
16298 <criteria comment="unlock_time is present">
16299 <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"/>
16300 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16301 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16302 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16303 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008013"/>
16304 </criteria>
16305 </criteria>
16306 </criteria>
16307 <criterion comment="check that pam_tally2 account module is configured correctly" test_ref="oval:org.open-scap.f14:tst:200803"/>
16308 </criteria>
16309 </definition>
16310 <definition class="compliance" id="oval:org.open-scap.f14:def:200805" version="1">
16311 <metadata>
16312 <title>Do not leak information on authorization failure</title>
16313 <reference ref_id="TBD" source="CCE"/>
16314 <description>Authorization failures should not alert attackers as to what went wrong.</description>
16315 </metadata>
16316 <criteria>
16317 <criterion comment="Unknown test stub (use required instead of sufficient)" test_ref="oval:org.open-scap.f14:tst:200805"/>
16318 </criteria>
16319 </definition>
16320 <definition class="compliance" id="oval:org.open-scap.f14:def:200806" version="1">
16321 <metadata>
16322 <title>Do not log authorization failures and successes</title>
16323 <reference ref_id="TBD" source="CCE"/>
16324 <description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</description>
16325 </metadata>
16326 <criteria>
16327 <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"/>
16328 <criterion comment="Unknown test stub (check that pam_deny is not there)" test_ref="oval:org.open-scap.f14:tst:2008062"/>
16329 </criteria>
16330 </definition>
16331 <definition class="compliance" id="oval:org.open-scap.f14:def:20081" version="1">
16332 <metadata>
16333 <title>Restrict Execution of userhelper to Console Users</title>
16334 <reference ref_id="CCE-4185-5" source="CCE"/>
16335 <description>The /usr/sbin/userhelper file should be owned by the appropriate group.</description>
16336 </metadata>
16337 <criteria operator="AND">
16338 <criterion comment="test group owner of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20081"/>
16339 <criterion comment="test group existence" test_ref="oval:org.open-scap.f14:tst:200811"/>
16340 </criteria>
16341 </definition>
16342 <definition class="compliance" id="oval:org.open-scap.f14:def:20082" version="1">
16343 <metadata>
16344 <title>Restrict Execution of userhelper to Console Users</title>
16345 <reference ref_id="CCE-3952-9" source="CCE"/>
16346 <description>File permissions for /usr/sbin/userhelper should be set correctly.</description>
16347 </metadata>
16348 <criteria>
16349 <criterion comment="check permissions of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20082"/>
16350 </criteria>
16351 </definition>
16352 <definition class="compliance" id="oval:org.open-scap.f14:def:20083" version="1">
16353 <metadata>
16354 <title>Set Password hashing algorithm</title>
16355 <reference ref_id="TBD" source="CCE"/>
16356 <description>The password hashing algorithm should be set correctly.</description>
16357 </metadata>
16358 <criteria operator="ONE">
16359 <criteria>
16360 <criterion comment="check that desired hashing algorithm is MD5" test_ref="oval:org.open-scap.f14:tst:200831"/>
16361 <criterion comment="Make sure /etc/login.defs is set to use md5" test_ref="oval:org.open-scap.f14:tst:200832"/>
16362 </criteria>
16363 <criteria>
16364 <criterion comment="check that desired hashing algorithm is not MD5 (negate previous test)" negate="true" test_ref="oval:org.open-scap.f14:tst:200831"/>
16365 <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"/>
16366 <criterion comment="Make sure /etc/login.defs is set to use ENCRYPT_METHOD" test_ref="oval:org.open-scap.f14:tst:200833"/>
16367 <criterion comment="Make sure /etc/pam.d/system-auth is set to use hashing algorithm" test_ref="oval:org.open-scap.f14:tst:200834"/>
16368 <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"/>
16369 </criteria>
16370 </criteria>
16371 </definition>
16372 <definition class="compliance" id="oval:org.open-scap.f14:def:20084" version="1">
16373 <metadata>
16374 <title>Limit password reuse</title>
16375 <reference ref_id="TBD" source="CCE"/>
16376 <description>The passwords to remember should be set correctly.</description>
16377 </metadata>
16378 <criteria operator="ONE">
16379 <criteria>
16380 <criterion comment="remember parameter is set to 0" test_ref="oval:org.open-scap.f14:tst:200841"/>
16381 </criteria>
16382 <criteria>
16383 <criterion comment="remember parameter is set to 0 (note this is negated)" negate="true" test_ref="oval:org.open-scap.f14:tst:200841"/>
16384 <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"/>
16385 </criteria>
16386 </criteria>
16387 </definition>
16388 <definition class="compliance" id="oval:org.open-scap.f14:def:20085" version="1">
16389 <metadata>
16390 <title>Ensure that No Dangerous Directories Exist in Root's Path</title>
16391 <reference ref_id="CCE-3301-9" source="CCE"/>
16392 <description>The PATH variable should be set correctly for user root</description>
16393 </metadata>
16394 <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">
16395 <criterion comment="PATH starts with : or ." test_ref="oval:org.open-scap.f14:tst:200851"/>
16396 <criterion comment="PATH ends with : or ." test_ref="oval:org.open-scap.f14:tst:200852"/>
16397 <criterion comment="PATH contains :: or :.:" test_ref="oval:org.open-scap.f14:tst:200853"/>
16398 </criteria>
16399 </definition>
16400 <definition class="compliance" id="oval:org.open-scap.f14:def:200855" version="1">
16401 <metadata>
16402 <title>Write permissions are disabled for group and other in all directories in Root's Path</title>
16403 <reference ref_id="TBD" source="CCE"/>
16404 <description>Check each directory in root's path and make use it does not grant write permission to group and other</description>
16405 </metadata>
16406 <criteria>
16407 <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"/>
16408 </criteria>
16409 </definition>
16410 <definition class="compliance" id="oval:org.open-scap.f14:def:20086" version="1">
16411 <metadata>
16412 <title>Ensure that User Home Directories are not Group-Writable or World-Readable</title>
16413 <reference ref_id="CCE-4090-7" source="CCE"/>
16414 <description>File permissions should be set correctly for the home directories for all user accounts.</description>
16415 </metadata>
16416 <criteria comment="Both criterion are negated to get desired result">
16417 <criterion comment="Home directories are group writable" test_ref="oval:org.open-scap.f14:tst:200861"/>
16418 <criterion comment="Home directories are world readable" test_ref="oval:org.open-scap.f14:tst:200862"/>
16419 </criteria>
16420 </definition>
16421 <definition class="compliance" id="oval:org.open-scap.f14:def:20087" version="1">
16422 <metadata>
16423 <title>Ensure that Users Have Sensible Umask Values set for bash</title>
16424 <reference ref_id="CCE-3844-8" source="CCE"/>
16425 <description>The default umask for all users should be set correctly for the bash shell</description>
16426 </metadata>
16427 <criteria>
16428 <criterion test_ref="oval:org.open-scap.f14:tst:20087"/>
16429 </criteria>
16430 </definition>
16431 <definition class="compliance" id="oval:org.open-scap.f14:def:20088" version="1">
16432 <metadata>
16433 <title>Ensure that Users Have Sensible Umask Values set for csh</title>
16434 <reference ref_id="CCE-4227-5" source="CCE"/>
16435 <description>The default umask for all users should be set correctly for the csh shell</description>
16436 </metadata>
16437 <criteria>
16438 <criterion test_ref="oval:org.open-scap.f14:tst:20088"/>
16439 </criteria>
16440 </definition>
16441 <definition class="compliance" id="oval:org.open-scap.f14:def:20091" version="1">
16442 <metadata>
16443 <title>Check for existance of .netrc file</title>
16444 <reference ref_id="TBD" source="CCE"/>
16445 <description>No user directory should contain file .netrc</description>
16446 </metadata>
16447 <criteria>
16448 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16449 </criteria>
16450 </definition>
16451 <definition class="compliance" id="oval:org.open-scap.f14:def:20092" version="1">
16452 <metadata>
16453 <title>Set Boot Loader Password</title>
16454 <reference ref_id="CCE-4144-2" source="CCE"/>
16455 <description>The /etc/grub.conf file should be owned by the appropriate user.</description>
16456 </metadata>
16457 <criteria>
16458 <criterion test_ref="oval:org.open-scap.f14:tst:20092"/>
16459 </criteria>
16460 </definition>
16461 <definition class="compliance" id="oval:org.open-scap.f14:def:20093" version="1">
16462 <metadata>
16463 <title>Set Boot Loader Password</title>
16464 <reference ref_id="CCE-4197-0" source="CCE"/>
16465 <description>The /etc/grub.conf file should be owned by the appropriate group.</description>
16466 </metadata>
16467 <criteria>
16468 <criterion test_ref="oval:org.open-scap.f14:tst:20093"/>
16469 </criteria>
16470 </definition>
16471 <definition class="compliance" id="oval:org.open-scap.f14:def:20094" version="1">
16472 <metadata>
16473 <title>Set Boot Loader Password</title>
16474 <reference ref_id="CCE-3923-0" source="CCE"/>
16475 <description>File permissions for /etc/grub.conf should be set correctly.</description>
16476 </metadata>
16477 <criteria>
16478 <criterion test_ref="oval:org.open-scap.f14:tst:20094"/>
16479 </criteria>
16480 </definition>
16481 <definition class="compliance" id="oval:org.open-scap.f14:def:20095" version="1">
16482 <metadata>
16483 <title>Set Boot Loader Password</title>
16484 <reference ref_id="CCE-3818-2" source="CCE"/>
16485 <description>The grub boot loader should have password protection enabled</description>
16486 </metadata>
16487 <criteria>
16488 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20095"/>
16489 </criteria>
16490 </definition>
16491 <definition class="compliance" id="oval:org.open-scap.f14:def:20096" version="1">
16492 <metadata>
16493 <title>Require Authentication for Single-User Mode</title>
16494 <reference ref_id="CCE-4241-6" source="CCE"/>
16495 <description>The requirement for a password to boot into single-user mode should be configured correctly.</description>
16496 </metadata>
16497 <criteria>
16498 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20096"/>
16499 </criteria>
16500 </definition>
16501 <definition class="compliance" id="oval:org.open-scap.f14:def:20097" version="1">
16502 <metadata>
16503 <title>Disable Interactive Boot</title>
16504 <reference ref_id="CCE-4245-7" source="CCE"/>
16505 <description>The ability for users to perform interactive startups should be disabled.</description>
16506 </metadata>
16507 <criteria>
16508 <criterion test_ref="oval:org.open-scap.f14:tst:20097"/>
16509 </criteria>
16510 </definition>
16511 <definition class="compliance" id="oval:org.open-scap.f14:def:20098" version="1">
16512 <metadata>
16513 <title>Implement Inactivity Time-out for Login Shells</title>
16514 <reference ref_id="CCE-3689-7" source="CCE"/>
16515 <description>The idle time-out value for the default /bin/tcsh shell should meet the minimum requirements.</description>
16516 </metadata>
16517 <criteria>
16518 <criterion test_ref="oval:org.open-scap.f14:tst:20098"/>
16519 </criteria>
16520 </definition>
16521 <definition class="compliance" id="oval:org.open-scap.f14:def:20099" version="1">
16522 <metadata>
16523 <title>Implement Inactivity Time-out for Login Shells</title>
16524 <reference ref_id="CCE-3707-7" source="CCE"/>
16525 <description>The idle time-out value for the default /bin/bash shell should meet the minimum requirements.</description>
16526 </metadata>
16527 <criteria>
16528 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20099"/>
16529 </criteria>
16530 </definition>
16531 <definition class="compliance" id="oval:org.open-scap.f14:def:20100" version="1">
16532 <metadata>
16533 <title>Configure GUI Screen Locking</title>
16534 <reference ref_id="CCE-3315-9" source="CCE"/>
16535 <description>The allowed period of inactivity gnome desktop lockout should be configured correctly.</description>
16536 </metadata>
16537 <criteria>
16538 <criterion comment="check value of idle_delay in GCONF" test_ref="oval:org.open-scap.f14:tst:20100"/>
16539 </criteria>
16540 </definition>
16541 <definition class="compliance" id="oval:org.open-scap.f14:def:201005" version="1">
16542 <metadata>
16543 <title>Implement idle activation of screen saver</title>
16544 <reference ref_id="TBD" source="CCE"/>
16545 <description>Idle activation of the screen saver should be enabled.</description>
16546 </metadata>
16547 <criteria>
16548 <criterion comment="check value of idle_activation_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201005"/>
16549 </criteria>
16550 </definition>
16551 <definition class="compliance" id="oval:org.open-scap.f14:def:201006" version="1">
16552 <metadata>
16553 <title>Implement idle activation of screen lock</title>
16554 <reference ref_id="TBD" source="CCE"/>
16555 <description>Idle activation of the screen lock should be enabled.</description>
16556 </metadata>
16557 <criteria>
16558 <criterion comment="check value of lock_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201006"/>
16559 </criteria>
16560 </definition>
16561 <definition class="compliance" id="oval:org.open-scap.f14:def:201007" version="1">
16562 <metadata>
16563 <title>Implement blank screen saver</title>
16564 <reference ref_id="TBD" source="CCE"/>
16565 <description>The screen saver should be blank.</description>
16566 </metadata>
16567 <criteria>
16568 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:201007"/>
16569 </criteria>
16570 </definition>
16571 <definition class="compliance" id="oval:org.open-scap.f14:def:20101" version="1">
16572 <metadata>
16573 <title>Configure GUI Screen Locking</title>
16574 <reference ref_id="CCE-3910-7" source="CCE"/>
16575 <description>The vlock package should be installed</description>
16576 </metadata>
16577 <criteria>
16578 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20101"/>
16579 </criteria>
16580 </definition>
16581 <definition class="compliance" id="oval:org.open-scap.f14:def:20102" version="1">
16582 <metadata>
16583 <title>Modify the System Login Banner</title>
16584 <reference ref_id="CCE-4060-0" source="CCE"/>
16585 <description>The system login banner text should be set correctly.</description>
16586 </metadata>
16587 <criteria>
16588 <criterion comment="/etc/issue is set appropriately" test_ref="oval:org.open-scap.f14:tst:20102"/>
16589 </criteria>
16590 </definition>
16591 <definition class="compliance" id="oval:org.open-scap.f14:def:20103" version="1">
16592 <metadata>
16593 <title>Implement a GUI Warning Banner</title>
16594 <reference ref_id="CCE-4188-9" source="CCE"/>
16595 <description>The direct gnome login warning banner should be set correctly.</description>
16596 </metadata>
16597 <criteria>
16598 <criterion comment="Check that the GConf setting for the login banner is set correctly" test_ref="oval:org.open-scap.f14:tst:20103"/>
16599 </criteria>
16600 </definition>
16601 <definition class="compliance" id="oval:org.open-scap.f14:def:201035" version="1">
16602 <metadata>
16603 <title>Ensure SELinux is Properly Enabled</title>
16604 <reference ref_id="TBD" source="CCE"/>
16605 <description>Check output of /usr/sbin/sestatus.</description>
16606 </metadata>
16607 <criteria>
16608 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16609 </criteria>
16610 </definition>
16611 <definition class="compliance" id="oval:org.open-scap.f14:def:20104" version="1">
16612 <metadata>
16613 <title>Enable SELinux</title>
16614 <reference ref_id="CCE-3977-6" source="CCE"/>
16615 <description>SELinux should be enabled</description>
16616 </metadata>
16617 <criteria>
16618 <criterion test_ref="oval:org.open-scap.f14:tst:20104"/>
16619 </criteria>
16620 </definition>
16621 <definition class="compliance" id="oval:org.open-scap.f14:def:20105" version="1">
16622 <metadata>
16623 <title>Enable SELinux enforcing</title>
16624 <reference ref_id="TBD" source="CCE"/>
16625 <description>SELinux should be enforcing in the bootloader</description>
16626 </metadata>
16627 <criteria>
16628 <criterion test_ref="oval:org.open-scap.f14:tst:20105"/>
16629 </criteria>
16630 </definition>
16631 <definition class="compliance" id="oval:org.open-scap.f14:def:20106" version="1">
16632 <metadata>
16633 <title>Enable SELinux state</title>
16634 <reference ref_id="TBD" source="CCE"/>
16635 <description>The SELinux state should be set appropriately.</description>
16636 </metadata>
16637 <criteria>
16638 <criterion test_ref="oval:org.open-scap.f14:tst:20106"/>
16639 </criteria>
16640 </definition>
16641 <definition class="compliance" id="oval:org.open-scap.f14:def:20107" version="1">
16642 <metadata>
16643 <title>Enable SELinux</title>
16644 <reference ref_id="CCE-3624-4" source="CCE"/>
16645 <description>The SELinux policy should be set appropriately.</description>
16646 </metadata>
16647 <criteria>
16648 <criterion test_ref="oval:org.open-scap.f14:tst:20107"/>
16649 </criteria>
16650 </definition>
16651 <definition class="compliance" id="oval:org.open-scap.f14:def:20108" version="1">
16652 <metadata>
16653 <title>Disable and Remove SETroubleshoot if Possible</title>
16654 <reference ref_id="CCE-4148-3" source="CCE"/>
16655 <description>The setroubleshoot package should be uninstalled.</description>
16656 </metadata>
16657 <criteria>
16658 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20108"/>
16659 </criteria>
16660 </definition>
16661 <definition class="compliance" id="oval:org.open-scap.f14:def:20109" version="1">
16662 <metadata>
16663 <title>Disable and Remove SETroubleshoot if Possible</title>
16664 <reference ref_id="CCE-4254-9" source="CCE"/>
16665 <description>The setroubleshoot service should be disabled.</description>
16666 </metadata>
16667 <criteria comment="The setroubleshoot package should be uninstalled or conditions are met" operator="OR">
16668 <extend_definition comment="setroubleshoot is not installed" definition_ref="oval:org.open-scap.f14:def:20108"/>
16669 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20109"/>
16670 </criteria>
16671 </definition>
16672 <definition class="compliance" id="oval:org.open-scap.f14:def:20110" version="1">
16673 <metadata>
16674 <title>Disable MCS Translation Service (mcstrans) if Possible</title>
16675 <reference ref_id="CCE-3668-1" source="CCE"/>
16676 <description>The mcstrans service should be disabled.</description>
16677 </metadata>
16678 <criteria>
16679 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20110"/>
16680 </criteria>
16681 </definition>
16682 <definition class="compliance" id="oval:org.open-scap.f14:def:201115" version="1">
16683 <metadata>
16684 <title>Check for Unconfined Daemons</title>
16685 <reference ref_id="TBD" source="CCE"/>
16686 <description>Check for device file that is not labeled.</description>
16687 </metadata>
16688 <criteria>
16689 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16690 </criteria>
16691 </definition>
16692 <definition class="compliance" id="oval:org.open-scap.f14:def:20111" version="1">
16693 <metadata>
16694 <title>Restorecon Service (restorecond)</title>
16695 <reference ref_id="CCE-4129-3" source="CCE"/>
16696 <description>The restorecond service should be disabled.</description>
16697 </metadata>
16698 <criteria>
16699 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20111"/>
16700 </criteria>
16701 </definition>
16702 <!-- BEGIN -->
16703 <definition class="compliance" id="oval:org.open-scap.f14:def:20112" version="1">
16704 <metadata>
16705 <title>Network Parameters for Hosts Only</title>
16706 <reference ref_id="CCE-4151-7" source="CCE"/>
16707 <description>The default setting for sending ICMP redirects should be disabled for network interfaces.</description>
16708 <tested_by name="dkopecek" time="1282130094"/>
16709 </metadata>
16710 <criteria operator="AND">
16711 <criterion test_ref="oval:org.open-scap.f14:tst:201120"/>
16712 <criteria operator="OR">
16713 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201121"/>
16714 <criterion test_ref="oval:org.open-scap.f14:tst:201122"/>
16715 </criteria>
16716 </criteria>
16717 </definition>
16718 <!-- ^^^ ok ^^^ -->
16719 <definition class="compliance" id="oval:org.open-scap.f14:def:20113" version="1">
16720 <metadata>
16721 <title>Network Parameters for Hosts Only</title>
16722 <reference ref_id="CCE-4155-8" source="CCE"/>
16723 <description>Sending ICMP redirects should be disabled for all interfaces.</description>
16724 <tested_by name="dkopecek" time="1282130094"/>
16725 </metadata>
16726 <criteria operator="AND">
16727 <criterion test_ref="oval:org.open-scap.f14:tst:201130"/>
16728 <criteria operator="OR">
16729 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201131"/>
16730 <criterion test_ref="oval:org.open-scap.f14:tst:201132"/>
16731 </criteria>
16732 </criteria>
16733 </definition>
16734 <definition class="compliance" id="oval:org.open-scap.f14:def:20114" version="1">
16735 <metadata>
16736 <title>Network Parameters for Hosts Only</title>
16737 <reference ref_id="CCE-3561-8" source="CCE"/>
16738 <description>IP forwarding should be disabled.</description>
16739 <tested_by name="dkopecek" time="1282130094"/>
16740 </metadata>
16741 <criteria operator="AND">
16742 <criterion test_ref="oval:org.open-scap.f14:tst:201140"/>
16743 <criteria operator="OR">
16744 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201141"/>
16745 <criterion test_ref="oval:org.open-scap.f14:tst:201142"/>
16746 </criteria>
16747 </criteria>
16748 </definition>
16749 <definition class="compliance" id="oval:org.open-scap.f14:def:20115" version="1">
16750 <metadata>
16751 <title>Network Parameters for Hosts and Routers</title>
16752 <reference ref_id="CCE-4236-6" source="CCE"/>
16753 <description>Accepting source routed packets should be enabled or disabled for all interfaces as appropriate.</description>
16754 </metadata>
16755 <criteria operator="AND">
16756 <criterion test_ref="oval:org.open-scap.f14:tst:201150"/>
16757 <criteria operator="OR">
16758 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201151"/>
16759 <criterion test_ref="oval:org.open-scap.f14:tst:201152"/>
16760 </criteria>
16761 </criteria>
16762 </definition>
16763 <definition class="compliance" id="oval:org.open-scap.f14:def:20116" version="1">
16764 <metadata>
16765 <title>Network Parameters for Hosts and Routers</title>
16766 <reference ref_id="CCE-4217-6" source="CCE"/>
16767 <description>Accepting ICMP redirects should be enabled or disabled for all interfaces as appropriate.</description>
16768 </metadata>
16769 <criteria operator="AND">
16770 <criterion test_ref="oval:org.open-scap.f14:tst:201160"/>
16771 <criteria operator="OR">
16772 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201161"/>
16773 <criterion test_ref="oval:org.open-scap.f14:tst:201162"/>
16774 </criteria>
16775 </criteria>
16776 </definition>
16777 <definition class="compliance" id="oval:org.open-scap.f14:def:20117" version="1">
16778 <metadata>
16779 <title>Network Parameters for Hosts and Routers</title>
16780 <reference ref_id="CCE-3472-8" source="CCE"/>
16781 <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>
16782 </metadata>
16783 <criteria operator="AND">
16784 <criterion test_ref="oval:org.open-scap.f14:tst:201170"/>
16785 <criteria operator="OR">
16786 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201171"/>
16787 <criterion test_ref="oval:org.open-scap.f14:tst:201172"/>
16788 </criteria>
16789 </criteria>
16790 </definition>
16791 <definition class="compliance" id="oval:org.open-scap.f14:def:20118" version="1">
16792 <metadata>
16793 <title>Network Parameters for Hosts and Routers</title>
16794 <reference ref_id="CCE-4320-8" source="CCE"/>
16795 <description>Logging of "martian" packets (those with impossible addresses) should be enabled or disabled for all interfaces as appropriate.</description>
16796 </metadata>
16797 <criteria operator="AND">
16798 <criterion test_ref="oval:org.open-scap.f14:tst:201180"/>
16799 <criteria operator="OR">
16800 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201181"/>
16801 <criterion test_ref="oval:org.open-scap.f14:tst:201182"/>
16802 </criteria>
16803 </criteria>
16804 </definition>
16805 <definition class="compliance" id="oval:org.open-scap.f14:def:20119" version="1">
16806 <metadata>
16807 <title>Network Parameters for Hosts and Routers</title>
16808 <reference ref_id="CCE-4091-5" source="CCE"/>
16809 <description>The default setting for accepting source routed packets should be enabled or disabled for network interfaces as appropriate.</description>
16810 </metadata>
16811 <criteria operator="AND">
16812 <criterion test_ref="oval:org.open-scap.f14:tst:201190"/>
16813 <criteria operator="OR">
16814 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201191"/>
16815 <criterion test_ref="oval:org.open-scap.f14:tst:201192"/>
16816 </criteria>
16817 </criteria>
16818 </definition>
16819 <definition class="compliance" id="oval:org.open-scap.f14:def:20120" version="1">
16820 <metadata>
16821 <title>Network Parameters for Hosts and Routers</title>
16822 <reference ref_id="CCE-4186-3" source="CCE"/>
16823 <description>The default setting for accepting ICMP redirects should be enabled or disabled for network interfaces as appropriate.</description>
16824 </metadata>
16825 <criteria operator="AND">
16826 <criterion test_ref="oval:org.open-scap.f14:tst:201200"/>
16827 <criteria operator="OR">
16828 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201201"/>
16829 <criterion test_ref="oval:org.open-scap.f14:tst:201202"/>
16830 </criteria>
16831 </criteria>
16832 </definition>
16833 <definition class="compliance" id="oval:org.open-scap.f14:def:20121" version="1">
16834 <metadata>
16835 <title>Network Parameters for Hosts and Routers</title>
16836 <reference ref_id="CCE-3339-9" source="CCE"/>
16837 <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>
16838 </metadata>
16839 <criteria operator="AND">
16840 <criterion test_ref="oval:org.open-scap.f14:tst:201210"/>
16841 <criteria operator="OR">
16842 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201211"/>
16843 <criterion test_ref="oval:org.open-scap.f14:tst:201212"/>
16844 </criteria>
16845 </criteria>
16846 </definition>
16847 <definition class="compliance" id="oval:org.open-scap.f14:def:20122" version="1">
16848 <metadata>
16849 <title>Network Parameters for Hosts and Routers</title>
16850 <reference ref_id="CCE-3644-2" source="CCE"/>
16851 <description>Ignoring ICMP echo requests (pings) sent to broadcast / multicast addresses should be enabled or disabled as appropriate.</description>
16852 </metadata>
16853 <criteria operator="AND">
16854 <criterion test_ref="oval:org.open-scap.f14:tst:201220"/>
16855 <criteria operator="OR">
16856 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201221"/>
16857 <criterion test_ref="oval:org.open-scap.f14:tst:201222"/>
16858 </criteria>
16859 </criteria>
16860 </definition>
16861 <definition class="compliance" id="oval:org.open-scap.f14:def:20123" version="1">
16862 <metadata>
16863 <title>Network Parameters for Hosts and Routers</title>
16864 <reference ref_id="CCE-4133-5" source="CCE"/>
16865 <description>Ignoring bogus ICMP responses to broadcasts should be enabled or disabled as appropriate.</description>
16866 </metadata>
16867 <criteria operator="AND">
16868 <criterion test_ref="oval:org.open-scap.f14:tst:201230"/>
16869 <criteria operator="OR">
16870 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201231"/>
16871 <criterion test_ref="oval:org.open-scap.f14:tst:201232"/>
16872 </criteria>
16873 </criteria>
16874 </definition>
16875 <definition class="compliance" id="oval:org.open-scap.f14:def:20124" version="1">
16876 <metadata>
16877 <title>Network Parameters for Hosts and Routers</title>
16878 <reference ref_id="CCE-4265-5" source="CCE"/>
16879 <description>Sending TCP syncookies should be enabled or disabled as appropriate.</description>
16880 </metadata>
16881 <criteria operator="AND">
16882 <criterion test_ref="oval:org.open-scap.f14:tst:201240"/>
16883 <criteria operator="OR">
16884 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201241"/>
16885 <criterion test_ref="oval:org.open-scap.f14:tst:201242"/>
16886 </criteria>
16887 </criteria>
16888 </definition>
16889 <definition class="compliance" id="oval:org.open-scap.f14:def:20125" version="1">
16890 <metadata>
16891 <title>Network Parameters for Hosts and Routers</title>
16892 <reference ref_id="CCE-4080-8" source="CCE"/>
16893 <description>Performing source validation by reverse path should be enabled or disabled for all interfaces as appropriate.</description>
16894 </metadata>
16895 <criteria operator="AND">
16896 <criterion test_ref="oval:org.open-scap.f14:tst:201250"/>
16897 <criteria operator="OR">
16898 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201251"/>
16899 <criterion test_ref="oval:org.open-scap.f14:tst:201252"/>
16900 </criteria>
16901 </criteria>
16902 </definition>
16903 <definition class="compliance" id="oval:org.open-scap.f14:def:20126" version="1">
16904 <metadata>
16905 <title>Network Parameters for Hosts and Routers</title>
16906 <reference ref_id="CCE-3840-6" source="CCE"/>
16907 <description>The default setting for performing source validation by reverse path should be enabled or disabled for network interfaces as appropriate.</description>
16908 </metadata>
16909 <criteria operator="AND">
16910 <criterion test_ref="oval:org.open-scap.f14:tst:201260"/>
16911 <criteria operator="OR">
16912 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201261"/>
16913 <criterion test_ref="oval:org.open-scap.f14:tst:201262"/>
16914 </criteria>
16915 </criteria>
16916 </definition>
16917 <definition class="compliance" id="oval:org.open-scap.f14:def:20127" version="1">
16918 <metadata>
16919 <title>Disable Wireless in BIOS</title>
16920 <reference ref_id="CCE-3628-5" source="CCE"/>
16921 <description>All wireless devices should be disabled in the BIOS.</description>
16922 </metadata>
16923 <criteria>
16924 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16925 </criteria>
16926 </definition>
16927 <definition class="compliance" id="oval:org.open-scap.f14:def:20128" version="1">
16928 <metadata>
16929 <title>Deactivate Wireless Interfaces</title>
16930 <reference ref_id="CCE-4276-2" source="CCE"/>
16931 <description>All wireless interfaces should be disabled.</description>
16932 </metadata>
16933 <criteria>
16934 <criterion comment="Find wireless interfaces" test_ref="oval:org.open-scap.f14:tst:20128"/>
16935 </criteria>
16936 </definition>
16937 <definition class="compliance" id="oval:org.open-scap.f14:def:20129" version="1">
16938 <metadata>
16939 <title>Disable Wireless Drivers</title>
16940 <reference ref_id="CCE-4170-7" source="CCE"/>
16941 <description>Device drivers for wireless devices should be excluded from the kernel.</description>
16942 </metadata>
16943 <criteria>
16944 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20129"/>
16945 </criteria>
16946 </definition>
16947 <!-- ipv6 -->
16948 <definition class="compliance" id="oval:org.open-scap.f14:def:20130" version="1">
16949 <metadata>
16950 <title>Disable Automatic Loading of IPv6 Kernel Module</title>
16951 <reference ref_id="CCE-3562-6" source="CCE"/>
16952 <description>Automatic loading of the IPv6 kernel module should be disabled.</description>
16953 </metadata>
16954 <criteria>
16955 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20130"/>
16956 </criteria>
16957 </definition>
16958 <definition class="compliance" id="oval:org.open-scap.f14:def:20131" version="1">
16959 <metadata>
16960 <title>Disable Interface Usage of IPv6</title>
16961 <reference ref_id="CCE-3381-1" source="CCE"/>
16962 <description>The default setting for IPv6 configuration should be disabled for network interfaces.</description>
16963 </metadata>
16964 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
16965 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
16966 <criterion test_ref="oval:org.open-scap.f14:tst:20131"/>
16967 </criteria>
16968 </definition>
16969 <definition class="compliance" id="oval:org.open-scap.f14:def:20132" version="1">
16970 <metadata>
16971 <title>Disable Interface Usage of IPv6</title>
16972 <reference ref_id="CCE-3377-9" source="CCE"/>
16973 <description>Global IPv6 initialization should be disabled.</description>
16974 </metadata>
16975 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
16976 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
16977 <criterion test_ref="oval:org.open-scap.f14:tst:20132"/>
16978 </criteria>
16979 </definition>
16980 <definition class="compliance" id="oval:org.open-scap.f14:def:20133" version="1">
16981 <metadata>
16982 <title>Disable Interface Usage of IPv6</title>
16983 <reference ref_id="CCE-4296-0" source="CCE"/>
16984 <description>IPv6 configuration should be disabled for all interfaces.</description>
16985 </metadata>
16986 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
16987 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
16988 <criterion test_ref="oval:org.open-scap.f14:tst:20133"/>
16989 </criteria>
16990 </definition>
16991 <definition class="compliance" id="oval:org.open-scap.f14:def:20134" version="1">
16992 <metadata>
16993 <title>Disable Automatic Configuration</title>
16994 <reference ref_id="CCE-4269-7" source="CCE"/>
16995 <description>Accepting IPv6 router advertisements should be disabled for all network interfaces.</description>
16996 </metadata>
16997 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
16998 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
16999 <criterion test_ref="oval:org.open-scap.f14:tst:20134"/>
17000 </criteria>
17001 </definition>
17002 <definition class="compliance" id="oval:org.open-scap.f14:def:20135" version="1">
17003 <metadata>
17004 <title>Disable Automatic Configuration</title>
17005 <reference ref_id="CCE-4291-1" source="CCE"/>
17006 <description>The default setting for accepting IPv6 router advertisements should be disabled for network interfaces. (and dependencies are met)</description>
17007 </metadata>
17008 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17009 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17010 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17011 </criteria>
17012 </definition>
17013 <definition class="compliance" id="oval:org.open-scap.f14:def:20136" version="1">
17014 <metadata>
17015 <title>Disable Automatic Configuration</title>
17016 <reference ref_id="CCE-4313-3" source="CCE"/>
17017 <description>Accepting redirects from IPv6 routers should be disabled as appropriate for all network interfaces. (and dependencies are met)</description>
17018 </metadata>
17019 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17020 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17021 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17022 </criteria>
17023 </definition>
17024 <definition class="compliance" id="oval:org.open-scap.f14:def:20137" version="1">
17025 <metadata>
17026 <title>Disable Automatic Configuration</title>
17027 <reference ref_id="CCE-4198-8" source="CCE"/>
17028 <description>The default setting for accepting redirects from IPv6 routers should be disabled for network interfaces. (and dependencies are met)</description>
17029 </metadata>
17030 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17031 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17032 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17033 </criteria>
17034 </definition>
17035 <definition class="compliance" id="oval:org.open-scap.f14:def:20138" version="1">
17036 <metadata>
17037 <title>Use Privacy Extensions for Address if Necessary</title>
17038 <reference ref_id="CCE-3842-2" source="CCE"/>
17039 <description>IPv6 privacy extensions should be configured appropriately for all interfaces. (and dependencies are met)</description>
17040 </metadata>
17041 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17042 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17043 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17044 </criteria>
17045 </definition>
17046 <!-- sysctl -->
17047 <definition class="compliance" id="oval:org.open-scap.f14:def:20139" version="1">
17048 <metadata>
17049 <title>Limit Network-Transmitted Configuration</title>
17050 <reference ref_id="CCE-4159-0" source="CCE"/>
17051 <description>The default number of IPv6 router solicitations for network interfaces to send should be set appropriately. (and dependencies are met)</description>
17052 </metadata>
17053 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17054 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17055 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17056 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17057 <criteria operator="AND">
17058 <criterion test_ref="oval:org.open-scap.f14:tst:201390"/>
17059 <criteria operator="OR">
17060 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201391"/>
17061 <criterion test_ref="oval:org.open-scap.f14:tst:201392"/>
17062 </criteria>
17063 </criteria>
17064 </criteria>
17065 </definition>
17066 <definition class="compliance" id="oval:org.open-scap.f14:def:20140" version="1">
17067 <metadata>
17068 <title>Limit Network-Transmitted Configuration</title>
17069 <reference ref_id="CCE-4221-8" source="CCE"/>
17070 <description>The default setting for accepting router preference via IPv6 router advertisement should be disabled for network interfaces. (and dependencies are met)</description>
17071 </metadata>
17072 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17073 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17074 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17075 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17076 <criteria operator="AND">
17077 <criterion test_ref="oval:org.open-scap.f14:tst:201400"/>
17078 <criteria operator="OR">
17079 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201401"/>
17080 <criterion test_ref="oval:org.open-scap.f14:tst:201402"/>
17081 </criteria>
17082 </criteria>
17083 </criteria>
17084 </definition>
17085 <definition class="compliance" id="oval:org.open-scap.f14:def:20141" version="1">
17086 <metadata>
17087 <title>Limit Network-Transmitted Configuration</title>
17088 <reference ref_id="CCE-4058-4" source="CCE"/>
17089 <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>
17090 </metadata>
17091 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17092 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17093 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17094 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17095 <criteria operator="AND">
17096 <criterion test_ref="oval:org.open-scap.f14:tst:201410"/>
17097 <criteria operator="OR">
17098 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201411"/>
17099 <criterion test_ref="oval:org.open-scap.f14:tst:201412"/>
17100 </criteria>
17101 </criteria>
17102 </criteria>
17103 </definition>
17104 <definition class="compliance" id="oval:org.open-scap.f14:def:20142" version="1">
17105 <metadata>
17106 <title>Limit Network-Transmitted Configuration</title>
17107 <reference ref_id="CCE-4128-5" source="CCE"/>
17108 <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>
17109 </metadata>
17110 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17111 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17112 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17113 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17114 <criteria operator="AND">
17115 <criterion test_ref="oval:org.open-scap.f14:tst:201420"/>
17116 <criteria operator="OR">
17117 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201421"/>
17118 <criterion test_ref="oval:org.open-scap.f14:tst:201422"/>
17119 </criteria>
17120 </criteria>
17121 </criteria>
17122 </definition>
17123 <definition class="compliance" id="oval:org.open-scap.f14:def:20143" version="1">
17124 <metadata>
17125 <title>Limit Network-Transmitted Configuration</title>
17126 <reference ref_id="CCE-4287-9" source="CCE"/>
17127 <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>
17128 </metadata>
17129 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17130 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17131 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17132 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17133 <criteria operator="AND">
17134 <criterion test_ref="oval:org.open-scap.f14:tst:201430"/>
17135 <criteria operator="OR">
17136 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201431"/>
17137 <criterion test_ref="oval:org.open-scap.f14:tst:201432"/>
17138 </criteria>
17139 </criteria>
17140 </criteria>
17141 </definition>
17142 <definition class="compliance" id="oval:org.open-scap.f14:def:20144" version="1">
17143 <metadata>
17144 <title>Limit Network-Transmitted Configuration</title>
17145 <reference ref_id="CCE-3895-0" source="CCE"/>
17146 <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>
17147 </metadata>
17148 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17149 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17150 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17151 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17152 <criteria operator="AND">
17153 <criterion test_ref="oval:org.open-scap.f14:tst:201440"/>
17154 <criteria operator="OR">
17155 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201441"/>
17156 <criterion test_ref="oval:org.open-scap.f14:tst:201442"/>
17157 </criteria>
17158 </criteria>
17159 </criteria>
17160 </definition>
17161 <definition class="compliance" id="oval:org.open-scap.f14:def:20145" version="1">
17162 <metadata>
17163 <title>Limit Network-Transmitted Configuration</title>
17164 <reference ref_id="CCE-4137-6" source="CCE"/>
17165 <description>The default number of global unicast IPv6 addresses allowed per network interface should be set appropriately. (and dependencies are met)</description>
17166 </metadata>
17167 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17168 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17169 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17170 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17171 <criteria operator="AND">
17172 <criterion test_ref="oval:org.open-scap.f14:tst:201450"/>
17173 <criteria operator="OR">
17174 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201451"/>
17175 <criterion test_ref="oval:org.open-scap.f14:tst:201452"/>
17176 </criteria>
17177 </criteria>
17178 </criteria>
17179 </definition>
17180 <definition class="compliance" id="oval:org.open-scap.f14:def:20146" version="1">
17181 <metadata>
17182 <title>Verify ip6tables is enabled</title>
17183 <reference ref_id="CCE-4167-3" source="CCE"/>
17184 <description>The ip6tables service should be enabled.</description>
17185 </metadata>
17186 <criteria>
17187 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20146"/>
17188 </criteria>
17189 </definition>
17190 <!-- non sysctl -->
17191 <definition class="compliance" id="oval:org.open-scap.f14:def:20147" version="1">
17192 <metadata>
17193 <title>Inspect and Activate Default Rules </title>
17194 <reference ref_id="CCE-4189-7" source="CCE"/>
17195 <description>The iptables service should be enabled.</description>
17196 </metadata>
17197 <criteria>
17198 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20147"/>
17199 </criteria>
17200 </definition>
17201 <definition class="compliance" id="oval:org.open-scap.f14:def:201474" version="1">
17202 <metadata>
17203 <title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</title>
17204 <reference ref_id="TBD" source="CCE"/>
17205 <description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</description>
17206 </metadata>
17207 <criteria>
17208 <criterion comment=":INPUT DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014741"/>
17209 <criterion comment=":INPUT ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014742"/>
17210 </criteria>
17211 </definition>
17212 <definition class="compliance" id="oval:org.open-scap.f14:def:201475" version="1">
17213 <metadata>
17214 <title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</title>
17215 <reference ref_id="TBD" source="CCE"/>
17216 <description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</description>
17217 </metadata>
17218 <criteria>
17219 <criterion comment=":FORWARD DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014751"/>
17220 <criterion comment=":FORWARD ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014752"/>
17221 </criteria>
17222 </definition>
17223 <!--
17224 <definition class="compliance" id="oval:org.open-scap.f14:def:201476" version="1">
17225 <metadata>
17226 <title>Disable Support for DCCP</title>
17227 <reference ref_id="TBD" source="CCE"/>
17228 <description>Support for DCCP should be disabled.</description>
17229 </metadata>
17230 <criteria>
17231 <criterion comment="check for DCCP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201476"/>
17232 </criteria>
17233 </definition>
17234
17235 <definition class="compliance" id="oval:org.open-scap.f14:def:201477" version="1">
17236 <metadata>
17237 <title>Disable Support for SCTP</title>
17238 <reference ref_id="TBD" source="CCE"/>
17239 <description>Support for SCTP should be disabled.</description>
17240 </metadata>
17241 <criteria>
17242 <criterion comment="check for SCTP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201477"/>
17243 </criteria>
17244 </definition>
17245
17246 <definition class="compliance" id="oval:org.open-scap.f14:def:201478" version="1">
17247 <metadata>
17248 <title>Disable Support for RDS</title>
17249 <reference ref_id="TBD" source="CCE"/>
17250 <description>Support for RDS should be disabled.</description>
17251 </metadata>
17252 <criteria>
17253 <criterion comment="check for RDS in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201478"/>
17254 </criteria>
17255 </definition>
17256
17257 <definition class="compliance" id="oval:org.open-scap.f14:def:201479" version="1">
17258 <metadata>
17259 <title>Disable Support for TIPC</title>
17260 <reference ref_id="TBD" source="CCE"/>
17261 <description>Support for TIPC should be disabled.</description>
17262 </metadata>
17263 <criteria>
17264 <criterion comment="check for TIPC in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201479"/>
17265 </criteria>
17266 </definition>
17267 -->
17268 <definition class="compliance" id="oval:org.open-scap.f14:def:20148" version="1">
17269 <metadata>
17270 <title>Configure Syslog</title>
17271 <reference ref_id="CCE-3679-8" source="CCE"/>
17272 <description>The syslog service should be enabled or disabled as appropriate.</description>
17273 </metadata>
17274 <criteria>
17275 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20148"/>
17276 </criteria>
17277 </definition>
17278 <definition class="compliance" id="oval:org.open-scap.f14:def:20149" version="1">
17279 <metadata>
17280 <title>Confirm Existence and Permissions of System Log Files </title>
17281 <reference ref_id="CCE-4366-1" source="CCE"/>
17282 <description>All mandatory log files should be owned by root user.</description>
17283 </metadata>
17284 <criteria operator="AND">
17285 <criterion comment="check if user owns all mandatory log files" test_ref="oval:org.open-scap.f14:tst:20149"/>
17286 <criterion comment="check if user exists" test_ref="oval:org.open-scap.f14:tst:201491"/>
17287 </criteria>
17288 </definition>
17289 <definition class="compliance" id="oval:org.open-scap.f14:def:20150" version="1">
17290 <metadata>
17291 <title>Confirm Existence and Permissions of System Log Files</title>
17292 <reference ref_id="CCE-3701-0" source="CCE"/>
17293 <description>All syslog log files should be owned by the appropriate group.</description>
17294 </metadata>
17295 <criteria operator="AND">
17296 <criterion comment="check if group root owns all syslog log files" test_ref="oval:org.open-scap.f14:tst:20150"/>
17297 <criterion comment="check if group exists" test_ref="oval:org.open-scap.f14:tst:201501"/>
17298 </criteria>
17299 </definition>
17300 <definition class="compliance" id="oval:org.open-scap.f14:def:20151" version="1">
17301 <metadata>
17302 <title>Confirm Existence and Permissions of System Log Files </title>
17303 <reference ref_id="CCE-4233-3" source="CCE"/>
17304 <description>File permissions for all syslog log files should be set correctly.</description>
17305 </metadata>
17306 <criteria>
17307 <criterion comment="check permissions of all syslog log files" test_ref="oval:org.open-scap.f14:tst:20151"/>
17308 </criteria>
17309 </definition>
17310 <definition class="compliance" id="oval:org.open-scap.f14:def:20152" version="1">
17311 <metadata>
17312 <title>Send Logs to a Remote Loghost </title>
17313 <reference ref_id="CCE-4260-6" source="CCE"/>
17314 <description>Syslog logs should be sent to a remote loghost</description>
17315 </metadata>
17316 <criteria>
17317 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20152"/>
17318 </criteria>
17319 </definition>
17320 <definition class="compliance" id="oval:org.open-scap.f14:def:20153" version="1">
17321 <metadata>
17322 <title>Disable syslogd from Accepting Remote Messages on Loghosts Only</title>
17323 <reference ref_id="CCE-3382-9" source="CCE"/>
17324 <description>Syslogd should reject remote messages</description>
17325 </metadata>
17326 <criteria>
17327 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20153"/>
17328 </criteria>
17329 </definition>
17330 <!--
17331 <definition class="compliance" id="oval:org.open-scap.f14:def:20154" version="1">
17332 <metadata>
17333 <title>Ensure All Logs are Rotated by logrotate</title>
17334 <reference ref_id="CCE-4182-2" source="CCE"/>
17335 <description>The logrotate (syslog rotater) service should be enabled.</description>
17336 </metadata>
17337 <criteria>
17338 <criterion comment="Find each file in /etc/syslog.conf in /etc/logrotate.d/syslog" test_ref="oval:org.open-scap.f14:tst:20154"/>
17339 </criteria>
17340 </definition>
17341 -->
17342 <definition class="compliance" id="oval:org.open-scap.f14:def:20155" version="1">
17343 <metadata>
17344 <title>Monitor Suspicious Log Messages using Logwatch</title>
17345 <reference ref_id="CCE-4323-2" source="CCE"/>
17346 <description>The logwatch service should be enabled or disabled as appropriate</description>
17347 </metadata>
17348 <criteria>
17349 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17350 </criteria>
17351 </definition>
17352 <!-- END -->
17353 <definition class="compliance" id="oval:org.open-scap.f14:def:20156" version="1">
17354 <metadata>
17355 <title>Enable the auditd Service</title>
17356 <reference ref_id="CCE-4292-9" source="CCE"/>
17357 <description>The auditd service should be enabled.</description>
17358 </metadata>
17359 <criteria>
17360 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20156"/>
17361 </criteria>
17362 </definition>
17363 <definition class="compliance" id="oval:org.open-scap.f14:def:20157" version="1">
17364 <metadata>
17365 <title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</title>
17366 <reference ref_id="TBD" source="CCE"/>
17367 <description>Look for argument audit=1 in the kernel line in /etc/grub.conf</description>
17368 </metadata>
17369 <criteria>
17370 <criterion comment="check for audit=1 in /etc/grub.conf" test_ref="oval:org.open-scap.f14:tst:20157"/>
17371 </criteria>
17372 </definition>
17373 <definition class="compliance" id="oval:org.open-scap.f14:def:201575" version="1">
17374 <metadata>
17375 <title>Records Events that Modify Date and Time Information</title>
17376 <reference ref_id="TBD" source="CCE"/>
17377 <description>Audit rules about time are enabled</description>
17378 </metadata>
17379 <criteria>
17380 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17381 <criteria comment="32bit arch">
17382 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17383 <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"/>
17384 <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"/>
17385 </criteria>
17386 <criteria comment="62bit arch">
17387 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17388 <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"/>
17389 <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"/>
17390 </criteria>
17391 </criteria>
17392 <criterion comment="/etc/audit/audit.rules contains -w /etc/localtime -p wa -k time-change" test_ref="oval:org.open-scap.f14:tst:2015754"/>
17393 </criteria>
17394 </definition>
17395 <definition class="compliance" id="oval:org.open-scap.f14:def:20158" version="1">
17396 <metadata>
17397 <title>Record Events that Modify User/Group Information</title>
17398 <reference ref_id="TBD" source="CCE"/>
17399 <description>Audit rules about User/Group Information are enabled</description>
17400 </metadata>
17401 <criteria>
17402 <criterion comment="/etc/audit/audit.rules contains -w /etc/group -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201580"/>
17403 <criterion comment="/etc/audit/audit.rules contains -w /etc/passwd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201581"/>
17404 <criterion comment="/etc/audit/audit.rules contains -w /etc/gshadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201582"/>
17405 <criterion comment="/etc/audit/audit.rules contains -w /etc/shadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201583"/>
17406 <criterion comment="/etc/audit/audit.rules contains -w /etc/security/opasswd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201584"/>
17407 </criteria>
17408 </definition>
17409 <definition class="compliance" id="oval:org.open-scap.f14:def:20159" version="1">
17410 <metadata>
17411 <title>Record Events that Modify the System’s Network Environment</title>
17412 <reference ref_id="TBD" source="CCE"/>
17413 <description>Audit rules about the System’s Network Environment are enabled</description>
17414 </metadata>
17415 <criteria>
17416 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17417 <criteria comment="32bit arch">
17418 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17419 <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"/>
17420 </criteria>
17421 <criteria comment="62bit arch">
17422 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17423 <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"/>
17424 </criteria>
17425 </criteria>
17426 <criterion comment="/etc/audit/audit.rules contains -w /etc/issue -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201592"/>
17427 <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"/>
17428 <criterion comment="/etc/audit/audit.rules contains -w /etc/hosts -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201594"/>
17429 <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"/>
17430 </criteria>
17431 </definition>
17432 <definition class="compliance" id="oval:org.open-scap.f14:def:20160" version="1">
17433 <metadata>
17434 <title>Record Events that Modify the System’s Mandatory Access Controls</title>
17435 <reference ref_id="TBD" source="CCE"/>
17436 <description>Audit rules about the System’s Mandatory Access Controls are enabled</description>
17437 </metadata>
17438 <criteria>
17439 <criterion comment="/etc/audit/audit.rules contains -w /etc/selinux/ -p wa -k MAC-policy" test_ref="oval:org.open-scap.f14:tst:20160"/>
17440 </criteria>
17441 </definition>
17442 <definition class="compliance" id="oval:org.open-scap.f14:def:20161" version="1">
17443 <metadata>
17444 <title>Ensure auditd Collects Logon and Logout Events</title>
17445 <reference ref_id="TBD" source="CCE"/>
17446 <description>Audit rules about the Logon and Logout Events are enabled</description>
17447 </metadata>
17448 <criteria>
17449 <criterion comment="/etc/audit/audit.rules contains -w /var/log/faillog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201610"/>
17450 <criterion comment="/etc/audit/audit.rules contains -w /var/log/lastlog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201611"/>
17451 </criteria>
17452 </definition>
17453 <definition class="compliance" id="oval:org.open-scap.f14:def:20162" version="1">
17454 <metadata>
17455 <title>Ensure auditd Collects Process and Session Initiation Information</title>
17456 <reference ref_id="TBD" source="CCE"/>
17457 <description>Audit rules about the Process and Session Initiation Information are enabled</description>
17458 </metadata>
17459 <criteria>
17460 <criterion comment="/etc/audit/audit.rules contains -w /var/run/utmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201620"/>
17461 <criterion comment="/etc/audit/audit.rules contains -w /var/log/btmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201621"/>
17462 <criterion comment="/etc/audit/audit.rules contains -w /var/log/wtmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201622"/>
17463 </criteria>
17464 </definition>
17465 <definition class="compliance" id="oval:org.open-scap.f14:def:20163" version="1">
17466 <metadata>
17467 <title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</title>
17468 <reference ref_id="TBD" source="CCE"/>
17469 <description>Audit rules about the Discretionary Access Control Permission Modification Events are enabled</description>
17470 </metadata>
17471 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17472 <criteria comment="32bit arch">
17473 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17474 <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"/>
17475 <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"/>
17476 <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"/>
17477 </criteria>
17478 <criteria comment="62bit arch">
17479 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17480 <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"/>
17481 <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"/>
17482 <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"/>
17483 </criteria>
17484 </criteria>
17485 </definition>
17486 <definition class="compliance" id="oval:org.open-scap.f14:def:20164" version="1">
17487 <metadata>
17488 <title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</title>
17489 <reference ref_id="TBD" source="CCE"/>
17490 <description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful) are enabled</description>
17491 </metadata>
17492 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17493 <criteria comment="32bit arch">
17494 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17495 <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"/>
17496 <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"/>
17497 </criteria>
17498 <criteria comment="62bit arch">
17499 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17500 <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"/>
17501 <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"/>
17502 </criteria>
17503 </criteria>
17504 </definition>
17505 <definition class="compliance" id="oval:org.open-scap.f14:def:20165" version="1">
17506 <metadata>
17507 <title>Ensure auditd Collects Information on the Use of Privileged Commands</title>
17508 <reference ref_id="TBD" source="CCE"/>
17509 <description>Audit rules about the Information on the Use of Privileged Commands are enabled</description>
17510 </metadata>
17511 <criteria>
17512 <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"/>
17513 </criteria>
17514 </definition>
17515 <definition class="compliance" id="oval:org.open-scap.f14:def:20166" version="1">
17516 <metadata>
17517 <title>Ensure auditd Collects Information on Exporting to Media (successful)</title>
17518 <reference ref_id="TBD" source="CCE"/>
17519 <description>Audit rules about the Information on Exporting to Media (successful) are enabled</description>
17520 </metadata>
17521 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17522 <criteria comment="32bit arch">
17523 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17524 <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"/>
17525 </criteria>
17526 <criteria comment="62bit arch">
17527 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17528 <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"/>
17529 </criteria>
17530 </criteria>
17531 </definition>
17532 <definition class="compliance" id="oval:org.open-scap.f14:def:20167" version="1">
17533 <metadata>
17534 <title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</title>
17535 <reference ref_id="TBD" source="CCE"/>
17536 <description>Audit rules about the Files Deletion Events by User (successful and unsuccessful) are enabled</description>
17537 </metadata>
17538 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17539 <criteria comment="32bit arch">
17540 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17541 <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"/>
17542 </criteria>
17543 <criteria comment="62bit arch">
17544 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17545 <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"/>
17546 </criteria>
17547 </criteria>
17548 </definition>
17549 <definition class="compliance" id="oval:org.open-scap.f14:def:20168" version="1">
17550 <metadata>
17551 <title>Ensure auditd Collects System Administrator Actions</title>
17552 <reference ref_id="TBD" source="CCE"/>
17553 <description>Audit rules about the System Administrator Actions are enabled</description>
17554 </metadata>
17555 <criteria>
17556 <criterion comment="/etc/audit/audit.rules contains -w /etc/sudoers -p wa -k actions" test_ref="oval:org.open-scap.f14:tst:20168"/>
17557 </criteria>
17558 </definition>
17559 <definition class="compliance" id="oval:org.open-scap.f14:def:201685" version="1">
17560 <metadata>
17561 <title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</title>
17562 <reference ref_id="TBD" source="CCE"/>
17563 <description>Audit rules about the Information on Kernel Module Loading and Unloading.</description>
17564 </metadata>
17565 <criteria>
17566 <!-- <criterion comment="/etc/audit/audit.rules contains -w /sbin/insmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016851"/> -->
17567 <criterion comment="/etc/audit/audit.rules contains -w /sbin/rmmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016852"/>
17568 <criterion comment="/etc/audit/audit.rules contains -w /sbin/modprobe -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016853"/>
17569 <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"/>
17570 </criteria>
17571 </definition>
17572 <definition class="compliance" id="oval:org.open-scap.f14:def:20169" version="1">
17573 <metadata>
17574 <title>Make the auditd Configuration Immutable</title>
17575 <reference ref_id="TBD" source="CCE"/>
17576 <description>Force a reboot to change audit rules is enabled</description>
17577 </metadata>
17578 <criteria>
17579 <criterion comment="look in /etc/audit/audit.rules for -e 2" test_ref="oval:org.open-scap.f14:tst:20169"/>
17580 </criteria>
17581 </definition>
17582 <definition class="compliance" id="oval:org.open-scap.f14:def:20170" version="1">
17583 <metadata>
17584 <title>Inetd and Xinetd</title>
17585 <reference ref_id="CCE-4234-1" source="CCE"/>
17586 <description>The inetd service should be disabled.</description>
17587 </metadata>
17588 <criteria comment="inetd is not installed or conditions are met" operator="OR">
17589 <extend_definition comment="inetd is not installed" definition_ref="oval:org.open-scap.f14:def:20172"/>
17590 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20170"/>
17591 </criteria>
17592 </definition>
17593 <definition class="compliance" id="oval:org.open-scap.f14:def:20171" version="1">
17594 <metadata>
17595 <title>Inetd and Xinetd</title>
17596 <reference ref_id="CCE-4252-3" source="CCE"/>
17597 <description>The xinetd service should be disabled.</description>
17598 </metadata>
17599 <criteria comment="xinetd is not installed or conditions are met" operator="OR">
17600 <extend_definition comment="xinetd is not installed" definition_ref="oval:org.open-scap.f14:def:20173"/>
17601 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20171"/>
17602 </criteria>
17603 </definition>
17604 <definition class="compliance" id="oval:org.open-scap.f14:def:20172" version="1">
17605 <metadata>
17606 <title>Inetd and Xinetd</title>
17607 <reference ref_id="CCE-4023-8" source="CCE"/>
17608 <description>The inetd package should be uninstalled.</description>
17609 </metadata>
17610 <criteria>
17611 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20172"/>
17612 </criteria>
17613 </definition>
17614 <definition class="compliance" id="oval:org.open-scap.f14:def:20173" version="1">
17615 <metadata>
17616 <title>Inetd and Xinetd</title>
17617 <reference ref_id="CCE-4164-0" source="CCE"/>
17618 <description>The xinetd package should be uninstalled.</description>
17619 </metadata>
17620 <criteria>
17621 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20173"/>
17622 </criteria>
17623 </definition>
17624 <definition class="compliance" id="oval:org.open-scap.f14:def:20174" version="1">
17625 <metadata>
17626 <title>Telnet</title>
17627 <reference ref_id="CCE-4330-7" source="CCE"/>
17628 <description>The telnet-server package should be uninstalled.</description>
17629 </metadata>
17630 <criteria>
17631 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20174"/>
17632 </criteria>
17633 </definition>
17634 <definition class="compliance" id="oval:org.open-scap.f14:def:201745" version="1">
17635 <metadata>
17636 <title>Disable Telnet service</title>
17637 <reference ref_id="CCE-3390-2" source="CCE"/>
17638 <description>The telnet service should be disabled.</description>
17639 </metadata>
17640 <criteria comment="telnet is not installed or conditions are met" operator="OR">
17641 <extend_definition comment="telnet is not installed" definition_ref="oval:org.open-scap.f14:def:20174"/>
17642 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201745"/>
17643 </criteria>
17644 </definition>
17645 <definition class="compliance" id="oval:org.open-scap.f14:def:20175" version="1">
17646 <metadata>
17647 <title>Telnet Client installation</title>
17648 <reference ref_id="TBD" source="CCE"/>
17649 <description>The telnet package should be uninstalled.</description>
17650 </metadata>
17651 <criteria>
17652 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20175"/>
17653 </criteria>
17654 </definition>
17655 <definition class="compliance" id="oval:org.open-scap.f14:def:20176" version="1">
17656 <metadata>
17657 <title>Telnet kerberos client</title>
17658 <reference ref_id="TBD" source="CCE"/>
17659 <description>The krb5-workstation package should be uninstalled.</description>
17660 </metadata>
17661 <criteria>
17662 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20176"/>
17663 </criteria>
17664 </definition>
17665 <definition class="compliance" id="oval:org.open-scap.f14:def:20177" version="1">
17666 <metadata>
17667 <title>Remove the Rsh Server Commands from the System</title>
17668 <reference ref_id="CCE-4308-3" source="CCE"/>
17669 <description>The rsh-server package should be uninstalled.</description>
17670 </metadata>
17671 <criteria>
17672 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20177"/>
17673 </criteria>
17674 </definition>
17675 <definition class="compliance" id="oval:org.open-scap.f14:def:201774" version="1">
17676 <metadata>
17677 <title>disable rcp</title>
17678 <reference ref_id="CCE-3974-3" source="CCE"/>
17679 <description>The rcp service should be disabled.</description>
17680 </metadata>
17681 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
17682 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
17683 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17684 </criteria>
17685 </definition>
17686 <definition class="compliance" id="oval:org.open-scap.f14:def:201775" version="1">
17687 <metadata>
17688 <title>disable rsh</title>
17689 <reference ref_id="CCE-4141-8" source="CCE"/>
17690 <description>The rsh service should be disabled.</description>
17691 </metadata>
17692 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
17693 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
17694 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201775"/>
17695 </criteria>
17696 </definition>
17697 <definition class="compliance" id="oval:org.open-scap.f14:def:201776" version="1">
17698 <metadata>
17699 <title>disable rlogin</title>
17700 <reference ref_id="CCE-3537-8" source="CCE"/>
17701 <description>The rlogin service should be disabled.</description>
17702 </metadata>
17703 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
17704 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
17705 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201776"/>
17706 </criteria>
17707 </definition>
17708 <definition class="compliance" id="oval:org.open-scap.f14:def:20178" version="1">
17709 <metadata>
17710 <title>Remove .rhosts Support from PAM Configuration Files</title>
17711 <reference ref_id="TBD" source="CCE"/>
17712 <description>Check that pam rhosts authentication is not used by any PAM services.</description>
17713 </metadata>
17714 <criteria>
17715 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20178"/>
17716 </criteria>
17717 </definition>
17718 <definition class="compliance" id="oval:org.open-scap.f14:def:20179" version="1">
17719 <metadata>
17720 <title>Remove the Rsh Client Commands from the System</title>
17721 <reference ref_id="TBD" source="CCE"/>
17722 <description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</description>
17723 </metadata>
17724 <criteria>
17725 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20179"/>
17726 </criteria>
17727 </definition>
17728 <definition class="compliance" id="oval:org.open-scap.f14:def:20180" version="1">
17729 <metadata>
17730 <title>NIS</title>
17731 <reference ref_id="CCE-4348-9" source="CCE"/>
17732 <description>The ypserv package should be uninstalled.</description>
17733 </metadata>
17734 <criteria>
17735 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20180"/>
17736 </criteria>
17737 </definition>
17738 <definition class="compliance" id="oval:org.open-scap.f14:def:20181" version="1">
17739 <metadata>
17740 <title>NIS</title>
17741 <reference ref_id="CCE-3705-1" source="CCE"/>
17742 <description>The ypbind service should be disabled.</description>
17743 </metadata>
17744 <criteria comment="ypserv is not installed or conditions are met" operator="OR">
17745 <extend_definition comment="ypserv is not installed" definition_ref="oval:org.open-scap.f14:def:20180"/>
17746 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20181"/>
17747 </criteria>
17748 </definition>
17749 <definition class="compliance" id="oval:org.open-scap.f14:def:20182" version="1">
17750 <metadata>
17751 <title>Uninstall TFTP Server</title>
17752 <reference ref_id="CCE-3916-4" source="CCE"/>
17753 <description>The tftp-server package should be uninstalled.</description>
17754 </metadata>
17755 <criteria>
17756 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20182"/>
17757 </criteria>
17758 </definition>
17759 <definition class="compliance" id="oval:org.open-scap.f14:def:201825" version="1">
17760 <metadata>
17761 <title>Disable TFTP Server</title>
17762 <reference ref_id="CCE-4273-9" source="CCE"/>
17763 <description>The tftp service should be disabled.</description>
17764 </metadata>
17765 <criteria comment="tftp-server is not installed or conditions are met" operator="OR">
17766 <extend_definition comment="tftp-server is not installed" definition_ref="oval:org.open-scap.f14:def:20182"/>
17767 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201825"/>
17768 </criteria>
17769 </definition>
17770 <definition class="compliance" id="oval:org.open-scap.f14:def:20183" version="1">
17771 <metadata>
17772 <title>Installation Helper Service (firstboot)</title>
17773 <reference ref_id="CCE-3412-4" source="CCE"/>
17774 <description>The firstboot service should be disabled.</description>
17775 </metadata>
17776 <criteria>
17777 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20183"/>
17778 </criteria>
17779 </definition>
17780 <definition class="compliance" id="oval:org.open-scap.f14:def:20184" version="1">
17781 <metadata>
17782 <title>Console Mouse Service (gpm)</title>
17783 <reference ref_id="CCE-4229-1" source="CCE"/>
17784 <description>The gpm service should be disabled.</description>
17785 </metadata>
17786 <criteria>
17787 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20184"/>
17788 </criteria>
17789 </definition>
17790 <definition class="compliance" id="oval:org.open-scap.f14:def:20185" version="1">
17791 <metadata>
17792 <title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</title>
17793 <reference ref_id="CCE-4123-6" source="CCE"/>
17794 <description>The irqbalance service should be disabled.</description>
17795 </metadata>
17796 <criteria>
17797 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20185"/>
17798 </criteria>
17799 </definition>
17800 <definition class="compliance" id="oval:org.open-scap.f14:def:20186" version="1">
17801 <metadata>
17802 <title>ISDN Support (isdn)</title>
17803 <reference ref_id="CCE-4286-1" source="CCE"/>
17804 <description>The isdn service should be disabled.</description>
17805 </metadata>
17806 <criteria>
17807 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20186"/>
17808 </criteria>
17809 </definition>
17810 <definition class="compliance" id="oval:org.open-scap.f14:def:20187" version="1">
17811 <metadata>
17812 <title>Kdump Kernel Crash Analyzer (kdump)</title>
17813 <reference ref_id="CCE-3425-6" source="CCE"/>
17814 <description>The kdump service should be disabled.</description>
17815 </metadata>
17816 <criteria>
17817 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20187"/>
17818 </criteria>
17819 </definition>
17820 <definition class="compliance" id="oval:org.open-scap.f14:def:20188" version="1">
17821 <metadata>
17822 <title>Kudzu Hardware Probing Utility (kudzu)</title>
17823 <reference ref_id="CCE-4211-9" source="CCE"/>
17824 <description>The kudzu service should be disabled.</description>
17825 </metadata>
17826 <criteria>
17827 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20188"/>
17828 </criteria>
17829 </definition>
17830 <definition class="compliance" id="oval:org.open-scap.f14:def:20189" version="1">
17831 <metadata>
17832 <title>Software RAID Monitor (mdmonitor)</title>
17833 <reference ref_id="CCE-3854-7" source="CCE"/>
17834 <description>The mdmonitor service should be disabled.</description>
17835 </metadata>
17836 <criteria>
17837 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20189"/>
17838 </criteria>
17839 </definition>
17840 <definition class="compliance" id="oval:org.open-scap.f14:def:20190" version="1">
17841 <metadata>
17842 <title>IA32 Microcode Utility(microcodectl)</title>
17843 <reference ref_id="CCE-4356-2" source="CCE"/>
17844 <description>The microcode_ctl service should be disabled.</description>
17845 </metadata>
17846 <criteria>
17847 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20190"/>
17848 </criteria>
17849 </definition>
17850 <definition class="compliance" id="oval:org.open-scap.f14:def:20191" version="1">
17851 <metadata>
17852 <title>Disable All Networking if Not Needed</title>
17853 <reference ref_id="TBD" source="CCE"/>
17854 <description>The network service should be disabled.</description>
17855 </metadata>
17856 <criteria>
17857 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20191"/>
17858 </criteria>
17859 </definition>
17860 <definition class="compliance" id="oval:org.open-scap.f14:def:20192" version="1">
17861 <metadata>
17862 <title>Disable All External Network Interfaces if Not Needed</title>
17863 <reference ref_id="CCE-4369-5" source="CCE"/>
17864 <description>All files of the form ifcfg-interface except
17865 for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</description>
17866 </metadata>
17867 <criteria>
17868 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20192"/>
17869 </criteria>
17870 </definition>
17871 <definition class="compliance" id="oval:org.open-scap.f14:def:20193" version="1">
17872 <metadata>
17873 <title>Disable Zeroconf Networking</title>
17874 <reference ref_id="CCE-4369-5" source="CCE"/>
17875 <description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</description>
17876 </metadata>
17877 <criteria>
17878 <criterion comment="Look for NOZEROCONF=yes in /etc/sysconfig/network" test_ref="oval:org.open-scap.f14:tst:20193"/>
17879 </criteria>
17880 </definition>
17881 <definition class="compliance" id="oval:org.open-scap.f14:def:20194" version="1">
17882 <metadata>
17883 <title>Smart Card Support (pcscd)</title>
17884 <reference ref_id="CCE-4100-4" source="CCE"/>
17885 <description>The pcscd service should be disabled.</description>
17886 </metadata>
17887 <criteria>
17888 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20194"/>
17889 </criteria>
17890 </definition>
17891 <definition class="compliance" id="oval:org.open-scap.f14:def:20195" version="1">
17892 <metadata>
17893 <title>SMART Disk Monitoring Support (smartd)</title>
17894 <reference ref_id="CCE-3455-3" source="CCE"/>
17895 <description>The smartd service should be disabled.</description>
17896 </metadata>
17897 <criteria>
17898 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20195"/>
17899 </criteria>
17900 </definition>
17901 <definition class="compliance" id="oval:org.open-scap.f14:def:20196" version="1">
17902 <metadata>
17903 <title>Boot Caching (readahead early/readahead later)</title>
17904 <reference ref_id="CCE-4421-4" source="CCE"/>
17905 <description>The readahead_early service should be disabled.</description>
17906 </metadata>
17907 <criteria>
17908 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20196"/>
17909 </criteria>
17910 </definition>
17911 <definition class="compliance" id="oval:org.open-scap.f14:def:20197" version="1">
17912 <metadata>
17913 <title>Boot Caching (readahead early/readahead later)</title>
17914 <reference ref_id="CCE-4302-6" source="CCE"/>
17915 <description>The readahead_later service should be disabled.</description>
17916 </metadata>
17917 <criteria>
17918 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20197"/>
17919 </criteria>
17920 </definition>
17921 <definition class="compliance" id="oval:org.open-scap.f14:def:20198" version="1">
17922 <metadata>
17923 <title>D-Bus IPC Service (messagebus)</title>
17924 <reference ref_id="CCE-3822-4" source="CCE"/>
17925 <description>The messagebus service should be disabled.</description>
17926 </metadata>
17927 <criteria>
17928 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20198"/>
17929 </criteria>
17930 </definition>
17931 <definition class="compliance" id="oval:org.open-scap.f14:def:20199" version="1">
17932 <metadata>
17933 <title>HAL Daemon (haldaemon)</title>
17934 <reference ref_id="CCE-4364-6" source="CCE"/>
17935 <description>The haldaemon service should be disabled.</description>
17936 </metadata>
17937 <criteria>
17938 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20199"/>
17939 </criteria>
17940 </definition>
17941 <definition class="compliance" id="oval:org.open-scap.f14:def:20200" version="1">
17942 <metadata>
17943 <title>Bluetooth Host Controller Interface Daemon (bluetooth)</title>
17944 <reference ref_id="CCE-4355-4" source="CCE"/>
17945 <description>The bluetooth service should be disabled.</description>
17946 </metadata>
17947 <criteria>
17948 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20200"/>
17949 </criteria>
17950 </definition>
17951 <definition class="compliance" id="oval:org.open-scap.f14:def:20201" version="1">
17952 <metadata>
17953 <title>Bluetooth Input Devices (hidd)</title>
17954 <reference ref_id="CCE-4377-8" source="CCE"/>
17955 <description>The hidd service should be disabled.</description>
17956 </metadata>
17957 <criteria>
17958 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20201"/>
17959 </criteria>
17960 </definition>
17961 <definition class="compliance" id="oval:org.open-scap.f14:def:202015" version="1">
17962 <metadata>
17963 <title>Disable Bluetooth Kernel Modules</title>
17964 <reference ref_id="TBD" source="CCE"/>
17965 <description>Prevent loading of the Bluetooth module.</description>
17966 </metadata>
17967 <criteria>
17968 <criterion comment="check that net-pf-31 is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020151"/>
17969 <criterion comment="check that bluetooth is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020152"/>
17970 </criteria>
17971 </definition>
17972 <definition class="compliance" id="oval:org.open-scap.f14:def:20202" version="1">
17973 <metadata>
17974 <title>Advanced Power Management Subsystem (apmd)</title>
17975 <reference ref_id="CCE-4289-5" source="CCE"/>
17976 <description>The apmd service should be disabled.</description>
17977 </metadata>
17978 <criteria>
17979 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20202"/>
17980 </criteria>
17981 </definition>
17982 <definition class="compliance" id="oval:org.open-scap.f14:def:20203" version="1">
17983 <metadata>
17984 <title>Advanced Configuration and Power Interface (acpid)</title>
17985 <reference ref_id="CCE-4298-6" source="CCE"/>
17986 <description>The acpid service should be disabled.</description>
17987 </metadata>
17988 <criteria>
17989 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20203"/>
17990 </criteria>
17991 </definition>
17992 <definition class="compliance" id="oval:org.open-scap.f14:def:20204" version="1">
17993 <metadata>
17994 <title>CPU Throttling (cpuspeed)</title>
17995 <reference ref_id="CCE-4051-9" source="CCE"/>
17996 <description>The cpuspeed service should be disabled.</description>
17997 </metadata>
17998 <criteria>
17999 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20204"/>
18000 </criteria>
18001 </definition>
18002 <definition class="compliance" id="oval:org.open-scap.f14:def:20205" version="1">
18003 <metadata>
18004 <title>Cron Daemon running state</title>
18005 <reference ref_id="CCE-4324-0" source="CCE"/>
18006 <description>The crond service should be enabled.</description>
18007 </metadata>
18008 <criteria>
18009 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20205"/>
18010 </criteria>
18011 </definition>
18012 <definition class="compliance" id="oval:org.open-scap.f14:def:202052" version="1">
18013 <metadata>
18014 <title>At Daemon running state</title>
18015 <reference ref_id="TBD" source="CCE"/>
18016 <description>The atd service should be disabled.</description>
18017 </metadata>
18018 <criteria comment="at is not installed or conditions are met" operator="OR">
18019 <extend_definition comment="at is not installed" definition_ref="oval:org.open-scap.f14:def:202053"/>
18020 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:202052"/>
18021 </criteria>
18022 </definition>
18023 <definition class="compliance" id="oval:org.open-scap.f14:def:202053" version="1">
18024 <metadata>
18025 <title>At Daemons package is installed</title>
18026 <reference ref_id="TBD" source="CCE"/>
18027 <description>The at package should be removed.</description>
18028 </metadata>
18029 <criteria>
18030 <criterion comment="Check for package at" test_ref="oval:org.open-scap.f14:tst:202053"/>
18031 </criteria>
18032 </definition>
18033 <definition class="compliance" id="oval:org.open-scap.f14:def:20206" version="1">
18034 <metadata>
18035 <title>Disable anacron if Possible</title>
18036 <reference ref_id="CCE-4406-5" source="CCE"/>
18037 <description>The anacron service should be disabled.</description>
18038 </metadata>
18039 <criteria>
18040 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20206"/>
18041 </criteria>
18042 </definition>
18043 <definition class="compliance" id="oval:org.open-scap.f14:def:20207" version="1">
18044 <metadata>
18045 <title>Disable anacron if Possible</title>
18046 <reference ref_id="CCE-4428-9" source="CCE"/>
18047 <description>The anacron package should be uninstalled.</description>
18048 </metadata>
18049 <criteria>
18050 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20207"/>
18051 </criteria>
18052 </definition>
18053 <definition class="compliance" id="oval:org.open-scap.f14:def:20208" version="1">
18054 <metadata>
18055 <title>Restrict Permissions on Files Used by cron</title>
18056 <reference ref_id="CCE-3626-9" source="CCE"/>
18057 <description>The /etc/crontab file should be owned by the appropriate group.</description>
18058 </metadata>
18059 <criteria>
18060 <criterion test_ref="oval:org.open-scap.f14:tst:20208"/>
18061 </criteria>
18062 </definition>
18063 <definition class="compliance" id="oval:org.open-scap.f14:def:20209" version="1">
18064 <metadata>
18065 <title>Restrict Permissions on Files Used by cron</title>
18066 <reference ref_id="CCE-3851-3" source="CCE"/>
18067 <description>The /etc/crontab file should be owned by the appropriate user.</description>
18068 </metadata>
18069 <criteria>
18070 <criterion test_ref="oval:org.open-scap.f14:tst:20209"/>
18071 </criteria>
18072 </definition>
18073 <definition class="compliance" id="oval:org.open-scap.f14:def:20210" version="1">
18074 <metadata>
18075 <title>Restrict Permissions on Files Used by cron</title>
18076 <reference ref_id="CCE-4388-5" source="CCE"/>
18077 <description>File permissions for /etc/crontab should be set correctly.</description>
18078 </metadata>
18079 <criteria>
18080 <criterion test_ref="oval:org.open-scap.f14:tst:20210"/>
18081 </criteria>
18082 </definition>
18083 <definition class="compliance" id="oval:org.open-scap.f14:def:20211" version="1">
18084 <metadata>
18085 <title>Restrict Permissions on Files Used by cron</title>
18086 <reference ref_id="CCE-3604-6" source="CCE"/>
18087 <description>The /etc/anacrontab file should be owned by the appropriate group.</description>
18088 </metadata>
18089 <criteria>
18090 <criterion test_ref="oval:org.open-scap.f14:tst:20211"/>
18091 </criteria>
18092 </definition>
18093 <definition class="compliance" id="oval:org.open-scap.f14:def:20212" version="1">
18094 <metadata>
18095 <title>Restrict Permissions on Files Used by cron</title>
18096 <reference ref_id="CCE-4379-4" source="CCE"/>
18097 <description>The /etc/anacrontab file should be owned by the appropriate user.</description>
18098 </metadata>
18099 <criteria>
18100 <criterion test_ref="oval:org.open-scap.f14:tst:20212"/>
18101 </criteria>
18102 </definition>
18103 <definition class="compliance" id="oval:org.open-scap.f14:def:20213" version="1">
18104 <metadata>
18105 <title>Restrict Permissions on Files Used by cron</title>
18106 <reference ref_id="CCE-4304-2" source="CCE"/>
18107 <description>File permissions for /etc/anacrontab should be set correctly.</description>
18108 </metadata>
18109 <criteria>
18110 <criterion test_ref="oval:org.open-scap.f14:tst:20213"/>
18111 </criteria>
18112 </definition>
18113 <definition class="compliance" id="oval:org.open-scap.f14:def:20214" version="1">
18114 <metadata>
18115 <title>Restrict Permissions on Files Used by cron</title>
18116 <reference ref_id="CCE-4054-3" source="CCE"/>
18117 <description>The /etc/cron.hourly file should be owned by the appropriate group.</description>
18118 </metadata>
18119 <criteria>
18120 <criterion test_ref="oval:org.open-scap.f14:tst:20214"/>
18121 </criteria>
18122 </definition>
18123 <definition class="compliance" id="oval:org.open-scap.f14:def:20215" version="1">
18124 <metadata>
18125 <title>Restrict Permissions on Files Used by cron</title>
18126 <reference ref_id="CCE-3481-9" source="CCE"/>
18127 <description>The /etc/cron.daily file should be owned by the appropriate group.</description>
18128 </metadata>
18129 <criteria>
18130 <criterion test_ref="oval:org.open-scap.f14:tst:20215"/>
18131 </criteria>
18132 </definition>
18133 <definition class="compliance" id="oval:org.open-scap.f14:def:20216" version="1">
18134 <metadata>
18135 <title>Restrict Permissions on Files Used by cron</title>
18136 <reference ref_id="CCE-4331-5" source="CCE"/>
18137 <description>The /etc/cron.weekly file should be owned by the appropriate group.</description>
18138 </metadata>
18139 <criteria>
18140 <criterion test_ref="oval:org.open-scap.f14:tst:20216"/>
18141 </criteria>
18142 </definition>
18143 <definition class="compliance" id="oval:org.open-scap.f14:def:20217" version="1">
18144 <metadata>
18145 <title>Restrict Permissions on Files Used by cron</title>
18146 <reference ref_id="CCE-4322-4" source="CCE"/>
18147 <description>The /etc/cron.monthly file should be owned by the appropriate group.</description>
18148 </metadata>
18149 <criteria>
18150 <criterion test_ref="oval:org.open-scap.f14:tst:20217"/>
18151 </criteria>
18152 </definition>
18153 <definition class="compliance" id="oval:org.open-scap.f14:def:20218" version="1">
18154 <metadata>
18155 <title>Restrict Permissions on Files Used by cron</title>
18156 <reference ref_id="CCE-4212-7" source="CCE"/>
18157 <description>The /etc/cron.d file should be owned by the appropriate group.</description>
18158 </metadata>
18159 <criteria>
18160 <criterion test_ref="oval:org.open-scap.f14:tst:20218"/>
18161 </criteria>
18162 </definition>
18163 <definition class="compliance" id="oval:org.open-scap.f14:def:20219" version="1">
18164 <metadata>
18165 <title>Restrict Permissions on Files Used by cron</title>
18166 <reference ref_id="CCE-3983-4" source="CCE"/>
18167 <description>The /etc/cron.hourly file should be owned by the appropriate user.</description>
18168 </metadata>
18169 <criteria>
18170 <criterion test_ref="oval:org.open-scap.f14:tst:20219"/>
18171 </criteria>
18172 </definition>
18173 <definition class="compliance" id="oval:org.open-scap.f14:def:20220" version="1">
18174 <metadata>
18175 <title>Restrict Permissions on Files Used by cron</title>
18176 <reference ref_id="CCE-4022-0" source="CCE"/>
18177 <description>The /etc/cron.daily file should be owned by the appropriate user.</description>
18178 </metadata>
18179 <criteria>
18180 <criterion test_ref="oval:org.open-scap.f14:tst:20220"/>
18181 </criteria>
18182 </definition>
18183 <definition class="compliance" id="oval:org.open-scap.f14:def:20221" version="1">
18184 <metadata>
18185 <title>Restrict Permissions on Files Used by cron</title>
18186 <reference ref_id="CCE-3833-1" source="CCE"/>
18187 <description>The /etc/cron.weekly file should be owned by the appropriate user.</description>
18188 </metadata>
18189 <criteria>
18190 <criterion test_ref="oval:org.open-scap.f14:tst:20221"/>
18191 </criteria>
18192 </definition>
18193 <definition class="compliance" id="oval:org.open-scap.f14:def:20222" version="1">
18194 <metadata>
18195 <title>Restrict Permissions on Files Used by cron</title>
18196 <reference ref_id="CCE-4441-2" source="CCE"/>
18197 <description>The /etc/cron.monthly file should be owned by the appropriate user.</description>
18198 </metadata>
18199 <criteria>
18200 <criterion test_ref="oval:org.open-scap.f14:tst:20222"/>
18201 </criteria>
18202 </definition>
18203 <definition class="compliance" id="oval:org.open-scap.f14:def:20223" version="1">
18204 <metadata>
18205 <title>Restrict Permissions on Files Used by cron</title>
18206 <reference ref_id="CCE-4380-2" source="CCE"/>
18207 <description>The /etc/cron.d file should be owned by the appropriate user.</description>
18208 </metadata>
18209 <criteria>
18210 <criterion test_ref="oval:org.open-scap.f14:tst:20223"/>
18211 </criteria>
18212 </definition>
18213 <definition class="compliance" id="oval:org.open-scap.f14:def:20224" version="1">
18214 <metadata>
18215 <title>Restrict Permissions on Files Used by cron</title>
18216 <reference ref_id="CCE-4106-1" source="CCE"/>
18217 <description>File permissions for /etc/cron.hourly should be set correctly.</description>
18218 </metadata>
18219 <criteria>
18220 <criterion test_ref="oval:org.open-scap.f14:tst:20224"/>
18221 </criteria>
18222 </definition>
18223 <definition class="compliance" id="oval:org.open-scap.f14:def:20225" version="1">
18224 <metadata>
18225 <title>Restrict Permissions on Files Used by cron</title>
18226 <reference ref_id="CCE-4450-3" source="CCE"/>
18227 <description>File permissions for /etc/cron.daily should be set correctly.</description>
18228 </metadata>
18229 <criteria>
18230 <criterion test_ref="oval:org.open-scap.f14:tst:20225"/>
18231 </criteria>
18232 </definition>
18233 <definition class="compliance" id="oval:org.open-scap.f14:def:20226" version="1">
18234 <metadata>
18235 <title>Restrict Permissions on Files Used by cron</title>
18236 <reference ref_id="CCE-4203-6" source="CCE"/>
18237 <description>File permissions for /etc/cron.weekly should be set correctly.</description>
18238 </metadata>
18239 <criteria>
18240 <criterion test_ref="oval:org.open-scap.f14:tst:20226"/>
18241 </criteria>
18242 </definition>
18243 <definition class="compliance" id="oval:org.open-scap.f14:def:20227" version="1">
18244 <metadata>
18245 <title>Restrict Permissions on Files Used by cron</title>
18246 <reference ref_id="CCE-4251-5" source="CCE"/>
18247 <description>File permissions for /etc/cron.monthly should be set correctly.</description>
18248 </metadata>
18249 <criteria>
18250 <criterion test_ref="oval:org.open-scap.f14:tst:20227"/>
18251 </criteria>
18252 </definition>
18253 <definition class="compliance" id="oval:org.open-scap.f14:def:20228" version="1">
18254 <metadata>
18255 <title>Restrict Permissions on Files Used by cron</title>
18256 <reference ref_id="CCE-4250-7" source="CCE"/>
18257 <description>File permissions for /etc/cron.d should be set correctly.</description>
18258 </metadata>
18259 <criteria>
18260 <criterion test_ref="oval:org.open-scap.f14:tst:20228"/>
18261 </criteria>
18262 </definition>
18263 <definition class="compliance" id="oval:org.open-scap.f14:def:20229" version="1">
18264 <metadata>
18265 <title>Restrict group owner on /var/spool/cron file</title>
18266 <reference ref_id="TBD" source="CCE"/>
18267 <description>The /var/spool/cron file should be owned by the appropriate group.</description>
18268 </metadata>
18269 <criteria>
18270 <criterion test_ref="oval:org.open-scap.f14:tst:20229"/>
18271 </criteria>
18272 </definition>
18273 <definition class="compliance" id="oval:org.open-scap.f14:def:20230" version="1">
18274 <metadata>
18275 <title>Restrict user owner on /var/spool/cron file</title>
18276 <reference ref_id="TBD" source="CCE"/>
18277 <description>The /var/spool/cron file should be owned by the appropriate user.</description>
18278 </metadata>
18279 <criteria>
18280 <criterion test_ref="oval:org.open-scap.f14:tst:20230"/>
18281 </criteria>
18282 </definition>
18283 <definition class="compliance" id="oval:org.open-scap.f14:def:20231" version="1">
18284 <metadata>
18285 <title>Restrict Permissions on /var/spool/cron file</title>
18286 <reference ref_id="TBD" source="CCE"/>
18287 <description>File permissions for /var/spool/cron should be set correctly.</description>
18288 </metadata>
18289 <criteria>
18290 <criterion test_ref="oval:org.open-scap.f14:tst:20231"/>
18291 </criteria>
18292 </definition>
18293 <definition class="compliance" id="oval:org.open-scap.f14:def:20232" version="1">
18294 <metadata>
18295 <title>Remove /etc/cron.deny</title>
18296 <reference ref_id="TBD" source="CCE"/>
18297 <description>/etc/cron.deny file should not exist.</description>
18298 </metadata>
18299 <criteria>
18300 <criterion comment="Check existence of file /etc/cron.deny" test_ref="oval:org.open-scap.f14:tst:20232"/>
18301 </criteria>
18302 </definition>
18303 <definition class="compliance" id="oval:org.open-scap.f14:def:20233" version="1">
18304 <metadata>
18305 <title>Remove /etc/at.deny</title>
18306 <reference ref_id="TBD" source="CCE"/>
18307 <description>/etc/at.deny file should not exist.</description>
18308 </metadata>
18309 <criteria>
18310 <criterion comment="Check existence of file /etc/at.deny" test_ref="oval:org.open-scap.f14:tst:20233"/>
18311 </criteria>
18312 </definition>
18313 <definition class="compliance" id="oval:org.open-scap.f14:def:20234" version="1">
18314 <metadata>
18315 <title>Disable OpenSSH Software</title>
18316 <reference ref_id="CCE-4268-9" source="CCE"/>
18317 <description>The sshd service should be disabled.</description>
18318 </metadata>
18319 <criteria comment="SSH is not installed or conditions are met" operator="OR">
18320 <extend_definition comment="ssh is not installed" definition_ref="oval:org.open-scap.f14:def:20235"/>
18321 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20234"/>
18322 </criteria>
18323 </definition>
18324 <definition class="compliance" id="oval:org.open-scap.f14:def:20235" version="1">
18325 <metadata>
18326 <title>Remove OpenSSH Software</title>
18327 <reference ref_id="CCE-4272-1" source="CCE"/>
18328 <description>SSH should be uninstalled</description>
18329 </metadata>
18330 <criteria>
18331 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20235"/>
18332 </criteria>
18333 </definition>
18334 <definition class="compliance" id="oval:org.open-scap.f14:def:20236" version="1">
18335 <metadata>
18336 <title>Remove SSH Server iptables Firewall Exception</title>
18337 <reference ref_id="CCE-4295-2" source="CCE"/>
18338 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18339 </metadata>
18340 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18341 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18342 <criterion comment="Remove IPv4 inbound connections" test_ref="oval:org.open-scap.f14:tst:20236"/>
18343 </criteria>
18344 </definition>
18345 <definition class="compliance" id="oval:org.open-scap.f14:def:20237" version="1">
18346 <metadata>
18347 <title>Remove SSH Server ip6tables Firewall Exception</title>
18348 <reference ref_id="TBD" source="CCE"/>
18349 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18350 </metadata>
18351 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18352 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18353 <criterion comment="Remove IPv6 inbound connections" test_ref="oval:org.open-scap.f14:tst:20237"/>
18354 </criteria>
18355 </definition>
18356 <definition class="compliance" id="oval:org.open-scap.f14:def:20238" version="1">
18357 <metadata>
18358 <title>Ensure Only Protocol 2 Connections Allowed</title>
18359 <reference ref_id="CCE-4325-7" source="CCE"/>
18360 <description>SSH version 1 protocol support should be disabled. (and dependencies are met)</description>
18361 </metadata>
18362 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18363 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18364 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20238"/>
18365 </criteria>
18366 </definition>
18367 <definition class="compliance" id="oval:org.open-scap.f14:def:20239" version="1">
18368 <metadata>
18369 <title>Set Idle Timeout Interval for User Logins</title>
18370 <reference ref_id="CCE-3845-5" source="CCE"/>
18371 <description>The SSH idle timout interval should be set to an appropriate value (and dependencies are met)</description>
18372 </metadata>
18373 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18374 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18375 <criterion comment="check ClientAliveInterval in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20239"/>
18376 </criteria>
18377 </definition>
18378 <definition class="compliance" id="oval:org.open-scap.f14:def:20240" version="1">
18379 <metadata>
18380 <title>Set ClientAliveCountMax for User Logins</title>
18381 <reference ref_id="TBD" source="CCE"/>
18382 <description>The SSH ClientAliveCountMax should be set to an appropriate value (and dependencies are met)</description>
18383 </metadata>
18384 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18385 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18386 <criterion comment="check ClientAliveCountMax in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20240"/>
18387 </criteria>
18388 </definition>
18389 <definition class="compliance" id="oval:org.open-scap.f14:def:20241" version="1">
18390 <metadata>
18391 <title>Disable .rhosts Files</title>
18392 <reference ref_id="CCE-4475-0" source="CCE"/>
18393 <description>Emulation of the rsh command through the ssh server should be disabled (and dependencies are met)</description>
18394 </metadata>
18395 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18396 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18397 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20241"/>
18398 </criteria>
18399 </definition>
18400 <definition class="compliance" id="oval:org.open-scap.f14:def:20242" version="1">
18401 <metadata>
18402 <title>Disable Host-Based Authentication</title>
18403 <reference ref_id="CCE-4370-3" source="CCE"/>
18404 <description>SSH host-based authentication should be disabled (and dependencies are met)</description>
18405 </metadata>
18406 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18407 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18408 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20242"/>
18409 </criteria>
18410 </definition>
18411 <definition class="compliance" id="oval:org.open-scap.f14:def:20243" version="1">
18412 <metadata>
18413 <title>Disable root Login via SSH</title>
18414 <reference ref_id="CCE-4387-7" source="CCE"/>
18415 <description>Root login via SSH should be disabled (and dependencies are met)</description>
18416 </metadata>
18417 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18418 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18419 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20243"/>
18420 </criteria>
18421 </definition>
18422 <definition class="compliance" id="oval:org.open-scap.f14:def:20244" version="1">
18423 <metadata>
18424 <title>Disable Empty Passwords</title>
18425 <reference ref_id="CCE-3660-8" source="CCE"/>
18426 <description>Remote connections from accounts with empty passwords should be disabled (and dependencies are met)</description>
18427 </metadata>
18428 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18429 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18430 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20244"/>
18431 </criteria>
18432 </definition>
18433 <definition class="compliance" id="oval:org.open-scap.f14:def:20245" version="1">
18434 <metadata>
18435 <title>Enable a Warning Banner</title>
18436 <reference ref_id="CCE-4431-3" source="CCE"/>
18437 <description>SSH warning banner should be enabled (and dependencies are met)</description>
18438 </metadata>
18439 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18440 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18441 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20245"/>
18442 </criteria>
18443 </definition>
18444 <definition class="compliance" id="oval:org.open-scap.f14:def:202455" version="1">
18445 <metadata>
18446 <title>Do Not Allow Users to Set Environment Options</title>
18447 <reference ref_id="CCE-4422-2" source="CCE"/>
18448 <description>PermitUserEnvironment should be disabled</description>
18449 </metadata>
18450 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18451 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18452 <criterion comment="Check value of PermitUserEnvironment in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202455"/>
18453 </criteria>
18454 </definition>
18455 <definition class="compliance" id="oval:org.open-scap.f14:def:202456" version="1">
18456 <metadata>
18457 <title>Use Only Approved Ciphers</title>
18458 <reference ref_id="CCE-4422-2" source="CCE"/>
18459 <description>Use only approved ciphers</description>
18460 </metadata>
18461 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18462 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18463 <criterion comment="Check value of Ciphers in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202456"/>
18464 </criteria>
18465 </definition>
18466 <definition class="compliance" id="oval:org.open-scap.f14:def:20246" version="1">
18467 <metadata>
18468 <title>Disable X Windows at System Boot</title>
18469 <reference ref_id="CCE-4462-8" source="CCE"/>
18470 <description>X Windows should be disabled at system boot</description>
18471 </metadata>
18472 <criteria>
18473 <criterion test_ref="oval:org.open-scap.f14:tst:20246"/>
18474 </criteria>
18475 </definition>
18476 <definition class="compliance" id="oval:org.open-scap.f14:def:20247" version="1">
18477 <metadata>
18478 <title>Remove X Windows from the System if Possible</title>
18479 <reference ref_id="CCE-4422-2" source="CCE"/>
18480 <description>X Windows should be removed</description>
18481 </metadata>
18482 <criteria>
18483 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18484 </criteria>
18485 </definition>
18486 <definition class="compliance" id="oval:org.open-scap.f14:def:20248" version="1">
18487 <metadata>
18488 <title>Disable X Window System Listening</title>
18489 <reference ref_id="CCE-4074-1" source="CCE"/>
18490 <description>Disable the ability to provide remote graphical display</description>
18491 </metadata>
18492 <criteria>
18493 <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"/>
18494 </criteria>
18495 </definition>
18496 <definition class="compliance" id="oval:org.open-scap.f14:def:20249" version="1">
18497 <metadata>
18498 <title>Create Warning Banners for GUI Login Users</title>
18499 <reference ref_id="CCE-3717-6" source="CCE"/>
18500 <description>Enable warning banner for GUI login</description>
18501 </metadata>
18502 <criteria>
18503 <criterion comment="check the value of InfoMsgFile=/etc/issue in /etc/gdm/custom.conf" test_ref="oval:org.open-scap.f14:tst:20249"/>
18504 </criteria>
18505 </definition>
18506 <definition class="compliance" id="oval:org.open-scap.f14:def:20250" version="1">
18507 <metadata>
18508 <title>Disable Avahi Server Software</title>
18509 <reference ref_id="CCE-4365-3" source="CCE"/>
18510 <description>The avahi-daemon service should be disabled.</description>
18511 </metadata>
18512 <criteria>
18513 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20250"/>
18514 </criteria>
18515 </definition>
18516 <definition class="compliance" id="oval:org.open-scap.f14:def:20251" version="1">
18517 <metadata>
18518 <title>Serve Only via Required Protocol</title>
18519 <reference ref_id="CCE-4136-8" source="CCE"/>
18520 <description>The Avahi daemon should be configured not to serve via Ipv6 (and dependencies are met)</description>
18521 </metadata>
18522 <criteria comment="avahi is diabled or do not use ipv6" operator="OR">
18523 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18524 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20251"/>
18525 </criteria>
18526 </definition>
18527 <definition class="compliance" id="oval:org.open-scap.f14:def:20252" version="1">
18528 <metadata>
18529 <title>Serve Only via Required Protocol</title>
18530 <reference ref_id="CCE-4409-9" source="CCE"/>
18531 <description>The Avahi daemon should be configured not to serve via Ipv4 (and dependencies are met)</description>
18532 </metadata>
18533 <criteria comment="avahi is diabled or do not use ipv4" operator="OR">
18534 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18535 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20252"/>
18536 </criteria>
18537 </definition>
18538 <definition class="compliance" id="oval:org.open-scap.f14:def:20253" version="1">
18539 <metadata>
18540 <title>Check Responses' TTL Field</title>
18541 <reference ref_id="CCE-4426-3" source="CCE"/>
18542 <description>Avahi should be configured to reject packets with a TTL field not equal to 255 (and dependencies are met)</description>
18543 </metadata>
18544 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18545 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18546 <criterion test_ref="oval:org.open-scap.f14:tst:20253"/>
18547 </criteria>
18548 </definition>
18549 <definition class="compliance" id="oval:org.open-scap.f14:def:20254" version="1">
18550 <metadata>
18551 <title>Prevent Other Programs from Using Avahi's Port</title>
18552 <reference ref_id="CCE-4193-9" source="CCE"/>
18553 <description>Avahi should be configured to not allow other stacks from binding to port 5353 (and dependencies are met)</description>
18554 </metadata>
18555 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18556 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18557 <criterion test_ref="oval:org.open-scap.f14:tst:20254"/>
18558 </criteria>
18559 </definition>
18560 <definition class="compliance" id="oval:org.open-scap.f14:def:20255" version="1">
18561 <metadata>
18562 <title>Disable Publishing if Possible</title>
18563 <reference ref_id="CCE-4444-6" source="CCE"/>
18564 <description>Avahi publishing of local information should be disabled (and dependencies are met)</description>
18565 </metadata>
18566 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18567 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18568 <criterion test_ref="oval:org.open-scap.f14:tst:20255"/>
18569 </criteria>
18570 </definition>
18571 <definition class="compliance" id="oval:org.open-scap.f14:def:20256" version="1">
18572 <metadata>
18573 <title>Restrict Published Information</title>
18574 <reference ref_id="CCE-4352-1" source="CCE"/>
18575 <description>Avahi publishing of local information by user applications should be disabled (and dependencies are met)</description>
18576 </metadata>
18577 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18578 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18579 <criterion test_ref="oval:org.open-scap.f14:tst:20256"/>
18580 </criteria>
18581 </definition>
18582 <definition class="compliance" id="oval:org.open-scap.f14:def:20257" version="1">
18583 <metadata>
18584 <title>Restrict Published Information</title>
18585 <reference ref_id="CCE-4433-9" source="CCE"/>
18586 <description>Avahi publishing of hardware information should be disabled (and dependencies are met)</description>
18587 </metadata>
18588 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18589 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18590 <criterion test_ref="oval:org.open-scap.f14:tst:20257"/>
18591 </criteria>
18592 </definition>
18593 <definition class="compliance" id="oval:org.open-scap.f14:def:20258" version="1">
18594 <metadata>
18595 <title>Restrict Published Information</title>
18596 <reference ref_id="CCE-4451-1" source="CCE"/>
18597 <description>Avahi publishing of workstation name should be disabled (and dependencies are met)</description>
18598 </metadata>
18599 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18600 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18601 <criterion test_ref="oval:org.open-scap.f14:tst:20258"/>
18602 </criteria>
18603 </definition>
18604 <definition class="compliance" id="oval:org.open-scap.f14:def:20259" version="1">
18605 <metadata>
18606 <title>Restrict Published Information</title>
18607 <reference ref_id="CCE-4341-4" source="CCE"/>
18608 <description>Avahi publishing of IP addresses should be disabled (and dependencies are met)</description>
18609 </metadata>
18610 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18611 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18612 <criterion test_ref="oval:org.open-scap.f14:tst:20259"/>
18613 </criteria>
18614 </definition>
18615 <definition class="compliance" id="oval:org.open-scap.f14:def:20260" version="1">
18616 <metadata>
18617 <title>Restrict Published Information</title>
18618 <reference ref_id="CCE-4358-8" source="CCE"/>
18619 <description>Avahi publishing of domain name should be disabled (and dependencies are met)</description>
18620 </metadata>
18621 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18622 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18623 <criterion test_ref="oval:org.open-scap.f14:tst:20260"/>
18624 </criteria>
18625 </definition>
18626 <definition class="compliance" id="oval:org.open-scap.f14:def:20261" version="1">
18627 <metadata>
18628 <title>Disable the CUPS Service if Possible</title>
18629 <reference ref_id="CCE-4112-9" source="CCE"/>
18630 <description>The cups service should be disabled.</description>
18631 </metadata>
18632 <criteria>
18633 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20261"/>
18634 </criteria>
18635 </definition>
18636 <definition class="compliance" id="oval:org.open-scap.f14:def:20262" version="1">
18637 <metadata>
18638 <title>Disable Firewall Access to Printing Service over IPv4 if Possible</title>
18639 <reference ref_id="CCE-3649-1" source="CCE"/>
18640 <description>Firewall access to printing service should be disabled</description>
18641 </metadata>
18642 <criteria>
18643 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18644 </criteria>
18645 </definition>
18646 <definition class="compliance" id="oval:org.open-scap.f14:def:20263" version="1">
18647 <metadata>
18648 <title>Disable Firewall Access to Printing Service over IPv6 if Possible</title>
18649 <reference ref_id="TBD" source="CCE"/>
18650 <description>Firewall access to printing service should be disabled</description>
18651 </metadata>
18652 <criteria>
18653 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18654 </criteria>
18655 </definition>
18656 <definition class="compliance" id="oval:org.open-scap.f14:def:20264" version="1">
18657 <metadata>
18658 <title>Disable Printer Browsing Entirely if Possible</title>
18659 <reference ref_id="CCE-4420-6" source="CCE"/>
18660 <description>Remote print browsing should be disabled (and dependencies are met)</description>
18661 </metadata>
18662 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
18663 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
18664 <criterion test_ref="oval:org.open-scap.f14:tst:20264"/>
18665 </criteria>
18666 </definition>
18667 <definition class="compliance" id="oval:org.open-scap.f14:def:20265" version="1">
18668 <metadata>
18669 <title>Disable Printer Browsing Entirely if Possible</title>
18670 <reference ref_id="CCE-4407-3" source="CCE"/>
18671 <description>CUPS should be allowed or denied the ability to listen for Incoming printer information as appropriate (and dependencies are met)</description>
18672 </metadata>
18673 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
18674 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
18675 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20265"/>
18676 </criteria>
18677 </definition>
18678 <definition class="compliance" id="oval:org.open-scap.f14:def:20266" version="1">
18679 <metadata>
18680 <title>Disable HPLIP Service if Possible</title>
18681 <reference ref_id="CCE-4425-5" source="CCE"/>
18682 <description>The hplip service should be disabled.</description>
18683 </metadata>
18684 <criteria>
18685 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20266"/>
18686 </criteria>
18687 </definition>
18688 <definition class="compliance" id="oval:org.open-scap.f14:def:20267" version="1">
18689 <metadata>
18690 <title>Disable DHCP Client if Possible</title>
18691 <reference ref_id="CCE-4191-3" source="CCE"/>
18692 <description>The dhcp client service should be disabled for each interface.</description>
18693 </metadata>
18694 <criteria>
18695 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20267"/>
18696 </criteria>
18697 </definition>
18698 <definition class="compliance" id="oval:org.open-scap.f14:def:20268" version="1">
18699 <metadata>
18700 <title>Disable DHCP Server if possible</title>
18701 <reference ref_id="CCE-4336-4" source="CCE"/>
18702 <description>The dhcpd service should be enabled or disabled as appropriate.</description>
18703 </metadata>
18704 <criteria comment="dhcp is not installed or conditions are met" operator="OR">
18705 <extend_definition comment="dhcp is not installed" definition_ref="oval:org.open-scap.f14:def:20269"/>
18706 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20268"/>
18707 </criteria>
18708 </definition>
18709 <definition class="compliance" id="oval:org.open-scap.f14:def:20269" version="1">
18710 <metadata>
18711 <title>Disable DHCP Server if possible</title>
18712 <reference ref_id="CCE-4464-4" source="CCE"/>
18713 <description>The dhcp package should be uninstalled.</description>
18714 </metadata>
18715 <criteria>
18716 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20269"/>
18717 </criteria>
18718 </definition>
18719 <definition class="compliance" id="oval:org.open-scap.f14:def:20270" version="1">
18720 <metadata>
18721 <title>Do Not Use Dynamic DNS</title>
18722 <reference ref_id="CCE-4257-2" source="CCE"/>
18723 <description>The dynamic DNS feature of the DHCP server should be disabled (and dependencies are met)</description>
18724 </metadata>
18725 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18726 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18727 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20270"/>
18728 </criteria>
18729 </definition>
18730 <definition class="compliance" id="oval:org.open-scap.f14:def:20271" version="1">
18731 <metadata>
18732 <title>Deny Decline Messages</title>
18733 <reference ref_id="CCE-4403-2" source="CCE"/>
18734 <description>DHCPDECLINE messages should be denied by the DHCP server (and dependencies are met)</description>
18735 </metadata>
18736 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18737 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18738 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20271"/>
18739 </criteria>
18740 </definition>
18741 <definition class="compliance" id="oval:org.open-scap.f14:def:20272" version="1">
18742 <metadata>
18743 <title>Deny BOOTP Queries</title>
18744 <reference ref_id="CCE-4345-5" source="CCE"/>
18745 <description>BOOTP queries should be accepted or denied by the DHCP server as appropriate (and dependencies are met)</description>
18746 </metadata>
18747 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18748 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18749 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20272"/>
18750 </criteria>
18751 </definition>
18752 <definition class="compliance" id="oval:org.open-scap.f14:def:20273" version="1">
18753 <metadata>
18754 <title>Minimize Served Information</title>
18755 <reference ref_id="CCE-3724-2" source="CCE"/>
18756 <description>Domain name server information should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18757 </metadata>
18758 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18759 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18760 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18761 </criteria>
18762 </definition>
18763 <definition class="compliance" id="oval:org.open-scap.f14:def:20274" version="1">
18764 <metadata>
18765 <title>Minimize Served Information</title>
18766 <reference ref_id="CCE-4243-2" source="CCE"/>
18767 <description>Default routers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18768 </metadata>
18769 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18770 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18771 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18772 </criteria>
18773 </definition>
18774 <definition class="compliance" id="oval:org.open-scap.f14:def:20275" version="1">
18775 <metadata>
18776 <title>Minimize Served Information</title>
18777 <reference ref_id="CCE-4389-3" source="CCE"/>
18778 <description>Domain name should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18779 </metadata>
18780 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18781 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18782 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18783 </criteria>
18784 </definition>
18785 <definition class="compliance" id="oval:org.open-scap.f14:def:20276" version="1">
18786 <metadata>
18787 <title>Minimize Served Information</title>
18788 <reference ref_id="CCE-3913-1" source="CCE"/>
18789 <description>NIS domain should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18790 </metadata>
18791 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18792 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18793 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18794 </criteria>
18795 </definition>
18796 <definition class="compliance" id="oval:org.open-scap.f14:def:20277" version="1">
18797 <metadata>
18798 <title>Minimize Served Information</title>
18799 <reference ref_id="CCE-4169-9" source="CCE"/>
18800 <description>NIS servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18801 </metadata>
18802 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18803 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18804 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18805 </criteria>
18806 </definition>
18807 <definition class="compliance" id="oval:org.open-scap.f14:def:20278" version="1">
18808 <metadata>
18809 <title>Minimize Served Information</title>
18810 <reference ref_id="CCE-4318-2" source="CCE"/>
18811 <description>Time offset should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18812 </metadata>
18813 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18814 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18815 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18816 </criteria>
18817 </definition>
18818 <definition class="compliance" id="oval:org.open-scap.f14:def:20279" version="1">
18819 <metadata>
18820 <title>Minimize Served Information</title>
18821 <reference ref_id="CCE-4319-0" source="CCE"/>
18822 <description>NTP servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18823 </metadata>
18824 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18825 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18826 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18827 </criteria>
18828 </definition>
18829 <definition class="compliance" id="oval:org.open-scap.f14:def:20280" version="1">
18830 <metadata>
18831 <title>Configure DHCP Logging</title>
18832 <reference ref_id="CCE-3733-3" source="CCE"/>
18833 <description>dhcpd logging should be enabled. (and dependencies are met)</description>
18834 </metadata>
18835 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18836 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18837 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20280"/>
18838 </criteria>
18839 </definition>
18840 <definition class="compliance" id="oval:org.open-scap.f14:def:20281" version="1">
18841 <metadata>
18842 <title>Enable the NTP Daemon</title>
18843 <reference ref_id="CCE-4376-0" source="CCE"/>
18844 <description>The ntpd service should be enabled.</description>
18845 </metadata>
18846 <criteria>
18847 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20281"/>
18848 </criteria>
18849 </definition>
18850 <definition class="compliance" id="oval:org.open-scap.f14:def:20282" version="1">
18851 <metadata>
18852 <title>Deny All Access to ntpd by Default</title>
18853 <reference ref_id="CCE-4134-3" source="CCE"/>
18854 <description>Network access to ntpd should be denied (and dependencies are met)</description>
18855 </metadata>
18856 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
18857 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
18858 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20282"/>
18859 </criteria>
18860 </definition>
18861 <definition class="compliance" id="oval:org.open-scap.f14:def:20283" version="1">
18862 <metadata>
18863 <title>Specify a Remote NTP Server for Time Data</title>
18864 <reference ref_id="CCE-4385-1" source="CCE"/>
18865 <description>A remote NTP Server for time synchronization should be specified (and dependencies are met)</description>
18866 </metadata>
18867 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
18868 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
18869 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18870 </criteria>
18871 </definition>
18872 <definition class="compliance" id="oval:org.open-scap.f14:def:20284" version="1">
18873 <metadata>
18874 <title>Obtain NTP Software</title>
18875 <reference ref_id="CCE-4032-9" source="CCE"/>
18876 <description>OpenNTPD should be installed</description>
18877 </metadata>
18878 <criteria>
18879 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18880 </criteria>
18881 </definition>
18882 <definition class="compliance" id="oval:org.open-scap.f14:def:20285" version="1">
18883 <metadata>
18884 <title>Enable the NTP Daemon</title>
18885 <reference ref_id="CCE-4424-8" source="CCE"/>
18886 <description>The ntp daemon should be enabled (and dependencies are met)</description>
18887 </metadata>
18888 <criteria comment="OpenNTPD is installed and conditions are met" operator="AND">
18889 <extend_definition comment="OpenNTPD is installed" definition_ref="oval:org.open-scap.f14:def:20284"/>
18890 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281" negate="true"/>
18891 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20285"/>
18892 </criteria>
18893 </definition>
18894 <definition class="compliance" id="oval:org.open-scap.f14:def:20286" version="1">
18895 <metadata>
18896 <title>Configure the Client NTP Daemon to Use the Local Server</title>
18897 <reference ref_id="CCE-3487-6" source="CCE"/>
18898 <description>The ntp daemon synchronization server should be set appropriately (and dependencies are met)</description>
18899 </metadata>
18900 <criteria comment="OpenNTPD is installed and conditions are met" operator="AND">
18901 <extend_definition comment="OpenNTPD is installed" definition_ref="oval:org.open-scap.f14:def:20284"/>
18902 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18903 </criteria>
18904 </definition>
18905 <definition class="compliance" id="oval:org.open-scap.f14:def:20287" version="1">
18906 <metadata>
18907 <title>Mail Transfer Agent</title>
18908 <reference ref_id="CCE-4416-4" source="CCE"/>
18909 <description>The sendmail service should be disabled.</description>
18910 </metadata>
18911 <criteria>
18912 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20287"/>
18913 </criteria>
18914 </definition>
18915 <definition class="compliance" id="oval:org.open-scap.f14:def:20288" version="1">
18916 <metadata>
18917 <title>Disable the Listening Sendmail Daemon</title>
18918 <reference ref_id="CCE-4293-7" source="CCE"/>
18919 <description>The listening sendmail daemon should be disabled. (and dependencies are met)</description>
18920 </metadata>
18921 <criteria comment="sendmail is not enabled or conditions are met" operator="OR">
18922 <extend_definition comment="sendmail is not enabled" definition_ref="oval:org.open-scap.f14:def:20287"/>
18923 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20288"/>
18924 </criteria>
18925 </definition>
18926 <definition class="compliance" id="oval:org.open-scap.f14:def:202885" version="1">
18927 <metadata>
18928 <title>Configure LDAP to Use TLS for All Transactions</title>
18929 <reference ref_id="TBD" source="CCE"/>
18930 <description>Clients require LDAP servers to provide valid certificates for SSL communications.</description>
18931 </metadata>
18932 <criteria>
18933 <criterion comment="look for tls_checkpeer yess in /etc/ldap.conf" test_ref="oval:org.open-scap.f14:tst:202885"/>
18934 </criteria>
18935 </definition>
18936 <definition class="compliance" id="oval:org.open-scap.f14:def:20289" version="1">
18937 <metadata>
18938 <title>Install OpenLDAP Server RPM</title>
18939 <reference ref_id="CCE-3501-4" source="CCE"/>
18940 <description>The ldap service should be disabled.</description>
18941 </metadata>
18942 <criteria>
18943 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20289"/>
18944 </criteria>
18945 </definition>
18946 <definition class="compliance" id="oval:org.open-scap.f14:def:20290" version="1">
18947 <metadata>
18948 <title>Correct Permissions on LDAP Server Files</title>
18949 <reference ref_id="CCE-4484-2" source="CCE"/>
18950 <description>The /var/lib/ldap/* files should be owned by the appropriate group.</description>
18951 </metadata>
18952 <criteria>
18953 <criterion test_ref="oval:org.open-scap.f14:tst:20290"/>
18954 </criteria>
18955 </definition>
18956 <definition class="compliance" id="oval:org.open-scap.f14:def:20291" version="1">
18957 <metadata>
18958 <title>Correct Permissions on LDAP Server Files</title>
18959 <reference ref_id="CCE-4502-1" source="CCE"/>
18960 <description>The /var/lib/ldap/* files should be owned by the appropriate user.</description>
18961 </metadata>
18962 <criteria>
18963 <criterion test_ref="oval:org.open-scap.f14:tst:20291"/>
18964 </criteria>
18965 </definition>
18966 <definition class="compliance" id="oval:org.open-scap.f14:def:20292" version="1">
18967 <metadata>
18968 <title>Disable Services Used Only by NFS</title>
18969 <reference ref_id="CCE-4396-8" source="CCE"/>
18970 <description>The nfslock service should be disabled.</description>
18971 </metadata>
18972 <criteria>
18973 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20292"/>
18974 </criteria>
18975 </definition>
18976 <definition class="compliance" id="oval:org.open-scap.f14:def:20293" version="1">
18977 <metadata>
18978 <title>Disable Services Used Only by NFS</title>
18979 <reference ref_id="CCE-3535-2" source="CCE"/>
18980 <description>The rpcgssd service should be disabled.</description>
18981 </metadata>
18982 <criteria>
18983 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20293"/>
18984 </criteria>
18985 </definition>
18986 <definition class="compliance" id="oval:org.open-scap.f14:def:20294" version="1">
18987 <metadata>
18988 <title>Disable Services Used Only by NFS</title>
18989 <reference ref_id="CCE-3568-3" source="CCE"/>
18990 <description>The rpcidmapd service should be disabled.</description>
18991 </metadata>
18992 <criteria>
18993 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20294"/>
18994 </criteria>
18995 </definition>
18996 <definition class="compliance" id="oval:org.open-scap.f14:def:20295" version="1">
18997 <metadata>
18998 <title>Disable netfs if Possible</title>
18999 <reference ref_id="CCE-4533-6" source="CCE"/>
19000 <description>The netfs service should be disabled.</description>
19001 </metadata>
19002 <criteria>
19003 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20295"/>
19004 </criteria>
19005 </definition>
19006 <definition class="compliance" id="oval:org.open-scap.f14:def:20296" version="1">
19007 <metadata>
19008 <title>Disable RPC Portmapper if Possible</title>
19009 <reference ref_id="CCE-4550-0" source="CCE"/>
19010 <description>The portmap service should be disabled.</description>
19011 </metadata>
19012 <criteria>
19013 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20296"/>
19014 </criteria>
19015 </definition>
19016 <definition class="compliance" id="oval:org.open-scap.f14:def:20297" version="1">
19017 <metadata>
19018 <title>Configure NFS Services to Use Fixed Ports</title>
19019 <reference ref_id="CCE-4559-1" source="CCE"/>
19020 <description>The lockd service should be configured to use a static port for TCP</description>
19021 </metadata>
19022 <criteria>
19023 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20297"/>
19024 </criteria>
19025 </definition>
19026 <definition class="compliance" id="oval:org.open-scap.f14:def:20298" version="1">
19027 <metadata>
19028 <title>Configure NFS Services to Use Fixed Ports</title>
19029 <reference ref_id="CCE-4015-4" source="CCE"/>
19030 <description>The statd service should be configured to use an outgoing static port</description>
19031 </metadata>
19032 <criteria>
19033 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20298"/>
19034 </criteria>
19035 </definition>
19036 <definition class="compliance" id="oval:org.open-scap.f14:def:20299" version="1">
19037 <metadata>
19038 <title>Configure NFS Services to Use Fixed Ports</title>
19039 <reference ref_id="CCE-3667-3" source="CCE"/>
19040 <description>The statd service should be configured to use a static port</description>
19041 </metadata>
19042 <criteria>
19043 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20299"/>
19044 </criteria>
19045 </definition>
19046 <definition class="compliance" id="oval:org.open-scap.f14:def:20300" version="1">
19047 <metadata>
19048 <title>Configure NFS Services to Use Fixed Ports</title>
19049 <reference ref_id="CCE-4310-9" source="CCE"/>
19050 <description>The lockd service should be configured to use a static port for UDP</description>
19051 </metadata>
19052 <criteria>
19053 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20300"/>
19054 </criteria>
19055 </definition>
19056 <definition class="compliance" id="oval:org.open-scap.f14:def:20301" version="1">
19057 <metadata>
19058 <title>Configure NFS Services to Use Fixed Ports</title>
19059 <reference ref_id="CCE-4438-8" source="CCE"/>
19060 <description>The mountd service should be configured to use a static port</description>
19061 </metadata>
19062 <criteria>
19063 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20301"/>
19064 </criteria>
19065 </definition>
19066 <definition class="compliance" id="oval:org.open-scap.f14:def:20302" version="1">
19067 <metadata>
19068 <title>Configure NFS Services to Use Fixed Ports</title>
19069 <reference ref_id="CCE-3579-0" source="CCE"/>
19070 <description>The rquotad service should be configured to use a static port</description>
19071 </metadata>
19072 <criteria>
19073 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20302"/>
19074 </criteria>
19075 </definition>
19076 <definition class="compliance" id="oval:org.open-scap.f14:def:20303" version="1">
19077 <metadata>
19078 <title>Disable NFS Server Daemons</title>
19079 <reference ref_id="CCE-4473-5" source="CCE"/>
19080 <description>The nfs service should be disabled</description>
19081 </metadata>
19082 <criteria>
19083 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20303"/>
19084 </criteria>
19085 </definition>
19086 <definition class="compliance" id="oval:org.open-scap.f14:def:20304" version="1">
19087 <metadata>
19088 <title>Disable NFS Server Daemons</title>
19089 <reference ref_id="CCE-4491-7" source="CCE"/>
19090 <description>The rpcsvcgssd service should be disabled</description>
19091 </metadata>
19092 <criteria>
19093 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20304"/>
19094 </criteria>
19095 </definition>
19096 <!-- <definition class="compliance" id="oval:org.open-scap.f14:def:20305" version="1">
19097 <metadata>
19098 <title>Mount Remote Filesystems with nodev</title>
19099 <reference ref_id="CCE-4368-7" source="CCE"/>
19100 <description>The nodev option should be enabled for all NFS mounts</description>
19101 </metadata>
19102 <criteria>
19103 <criterion comment="if type is nfs[4] in /etc/fstab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203051"/>
19104 <criterion comment="if type is nfs[4] in /etc/mtab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203052"/>
19105 </criteria>
19106 </definition> -->
19107 <definition class="compliance" id="oval:org.open-scap.f14:def:20306" version="1">
19108 <metadata>
19109 <title>Mount Remote Filesystems with nosuid</title>
19110 <reference ref_id="CCE-4024-6" source="CCE"/>
19111 <description>The nosuid option should be enabled for all NFS mounts</description>
19112 </metadata>
19113 <criteria>
19114 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19115 </criteria>
19116 </definition>
19117 <definition class="compliance" id="oval:org.open-scap.f14:def:20307" version="1">
19118 <metadata>
19119 <title>Mount Remote Filesystems with noexec</title>
19120 <reference ref_id="CCE-4526-0" source="CCE"/>
19121 <description>The noexec option should be enabled for all NFS mounts</description>
19122 </metadata>
19123 <criteria>
19124 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19125 </criteria>
19126 </definition>
19127 <definition class="compliance" id="oval:org.open-scap.f14:def:20308" version="1">
19128 <metadata>
19129 <title>Use Root-Squashing on All Exports</title>
19130 <reference ref_id="CCE-4544-3" source="CCE"/>
19131 <description>Root squashing should be enabled for all NFS shares</description>
19132 </metadata>
19133 <criteria comment="nfs is not running or conditions are met" operator="OR">
19134 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19135 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20308"/>
19136 </criteria>
19137 </definition>
19138 <definition class="compliance" id="oval:org.open-scap.f14:def:20309" version="1">
19139 <metadata>
19140 <title>Restrict NFS Clients to Privileged Ports</title>
19141 <reference ref_id="CCE-4465-1" source="CCE"/>
19142 <description>Restriction of NFS clients to privileged ports should be enabled</description>
19143 </metadata>
19144 <criteria comment="nfs is not running or conditions are met" operator="OR">
19145 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19146 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20309"/>
19147 </criteria>
19148 </definition>
19149 <definition class="compliance" id="oval:org.open-scap.f14:def:20310" version="1">
19150 <metadata>
19151 <title>Export Filesystems Read-Only if Possible</title>
19152 <reference ref_id="CCE-4350-5" source="CCE"/>
19153 <description>Write access to NFS shares should be disabled</description>
19154 </metadata>
19155 <criteria>
19156 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20310"/>
19157 </criteria>
19158 </definition>
19159 <definition class="compliance" id="oval:org.open-scap.f14:def:20311" version="1">
19160 <metadata>
19161 <title>Disable DNS Server if Possible</title>
19162 <reference ref_id="CCE-3578-2" source="CCE"/>
19163 <description>The named service should be disabled.</description>
19164 </metadata>
19165 <criteria comment="bind is not installed or conditions are met" operator="OR">
19166 <extend_definition comment="bind is not installed" definition_ref="oval:org.open-scap.f14:def:20312"/>
19167 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20311"/>
19168 </criteria>
19169 </definition>
19170 <definition class="compliance" id="oval:org.open-scap.f14:def:20312" version="1">
19171 <metadata>
19172 <title>Disable DNS Server if Possible</title>
19173 <reference ref_id="CCE-4219-2" source="CCE"/>
19174 <description>The bind package should be uninstalled.</description>
19175 </metadata>
19176 <criteria>
19177 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20312"/>
19178 </criteria>
19179 </definition>
19180 <definition class="compliance" id="oval:org.open-scap.f14:def:20313" version="1">
19181 <metadata>
19182 <title>Run DNS Software in a chroot Jail</title>
19183 <reference ref_id="CCE-3985-9" source="CCE"/>
19184 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group. (and dependencies are met)</description>
19185 </metadata>
19186 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19187 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19188 <criterion test_ref="oval:org.open-scap.f14:tst:20313"/>
19189 </criteria>
19190 </definition>
19191 <definition class="compliance" id="oval:org.open-scap.f14:def:20314" version="1">
19192 <metadata>
19193 <title>Run DNS Software in a chroot Jail</title>
19194 <reference ref_id="CCE-4258-0" source="CCE"/>
19195 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user. (and dependencies are met)</description>
19196 </metadata>
19197 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19198 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19199 <criterion test_ref="oval:org.open-scap.f14:tst:20314"/>
19200 </criteria>
19201 </definition>
19202 <definition class="compliance" id="oval:org.open-scap.f14:def:20315" version="1">
19203 <metadata>
19204 <title>Run DNS Software in a chroot Jail</title>
19205 <reference ref_id="CCE-4487-5" source="CCE"/>
19206 <description>File permissions for /var/named/chroot/etc/named.conf should be set correctly. (and dependencies are met)</description>
19207 </metadata>
19208 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19209 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19210 <criterion test_ref="oval:org.open-scap.f14:tst:20315"/>
19211 </criteria>
19212 </definition>
19213 <definition class="compliance" id="oval:org.open-scap.f14:def:20316" version="1">
19214 <metadata>
19215 <title>Disable Dynamic Updates if Possible</title>
19216 <reference ref_id="CCE-4399-2" source="CCE"/>
19217 <description>LDAP's dynamic updates feature should be disabled as appropriate (and dependencies are met)</description>
19218 </metadata>
19219 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19220 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19221 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19222 </criteria>
19223 </definition>
19224 <definition class="compliance" id="oval:org.open-scap.f14:def:20317" version="1">
19225 <metadata>
19226 <title>Disable vsftpd if Possible</title>
19227 <reference ref_id="CCE-3919-8" source="CCE"/>
19228 <description>The vsftpd service should be disabled.</description>
19229 </metadata>
19230 <criteria comment="vsftpd is not installed or conditions are met" operator="OR">
19231 <extend_definition comment="vsftpd is not installed" definition_ref="oval:org.open-scap.f14:def:203175"/>
19232 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20317"/>
19233 </criteria>
19234 </definition>
19235 <definition class="compliance" id="oval:org.open-scap.f14:def:203175" version="1">
19236 <metadata>
19237 <title>Uninstall vsftpd if Possible</title>
19238 <reference ref_id="CCE-3919-8" source="CCE"/>
19239 <description>The vsftpd service should be uninstalled.</description>
19240 </metadata>
19241 <criteria>
19242 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203175"/>
19243 </criteria>
19244 </definition>
19245 <definition class="compliance" id="oval:org.open-scap.f14:def:20318" version="1">
19246 <metadata>
19247 <title>Enable Logging of All FTP Transactions</title>
19248 <reference ref_id="CCE-4549-2" source="CCE"/>
19249 <description>Logging of vsftpd transactions should be enabled (and dependencies are met)</description>
19250 </metadata>
19251 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19252 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19253 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19254 </criteria>
19255 </definition>
19256 <definition class="compliance" id="oval:org.open-scap.f14:def:20319" version="1">
19257 <metadata>
19258 <title>Create Warning Banners for All FTP Users</title>
19259 <reference ref_id="CCE-4554-2" source="CCE"/>
19260 <description>A warning banner for all FTP users should be enabled (and dependencies are met)</description>
19261 </metadata>
19262 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19263 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19264 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20319"/>
19265 </criteria>
19266 </definition>
19267 <definition class="compliance" id="oval:org.open-scap.f14:def:20320" version="1">
19268 <metadata>
19269 <title>Restrict Access to Anonymous Users if Possible</title>
19270 <reference ref_id="CCE-4443-8" source="CCE"/>
19271 <description>Local user login to the vsftpd service should be disabled (and dependencies are met)</description>
19272 </metadata>
19273 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19274 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19275 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19276 </criteria>
19277 </definition>
19278 <definition class="compliance" id="oval:org.open-scap.f14:def:20321" version="1">
19279 <metadata>
19280 <title>Disable FTP Uploads if Possible</title>
19281 <reference ref_id="CCE-4461-0" source="CCE"/>
19282 <description>File uploads via vsftpd should be disabled (and dependencies are met)</description>
19283 </metadata>
19284 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19285 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19286 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19287 </criteria>
19288 </definition>
19289 <definition class="compliance" id="oval:org.open-scap.f14:def:20322" version="1">
19290 <metadata>
19291 <title>Disable Apache if Possible</title>
19292 <reference ref_id="CCE-4338-0" source="CCE"/>
19293 <description>The httpd service should be disabled.</description>
19294 </metadata>
19295 <criteria comment="httpd is not installed or conditions are met" operator="OR">
19296 <extend_definition comment="httpd is not installed" definition_ref="oval:org.open-scap.f14:def:20323"/>
19297 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20322"/>
19298 </criteria>
19299 </definition>
19300 <definition class="compliance" id="oval:org.open-scap.f14:def:20323" version="1">
19301 <metadata>
19302 <title>Uninstall Apache if Possible</title>
19303 <reference ref_id="CCE-4514-6" source="CCE"/>
19304 <description>The httpd package should be uninstalled.</description>
19305 </metadata>
19306 <criteria>
19307 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20323"/>
19308 </criteria>
19309 </definition>
19310 <definition class="compliance" id="oval:org.open-scap.f14:def:20324" version="1">
19311 <metadata>
19312 <title>Restrict Information Leakage</title>
19313 <reference ref_id="CCE-4474-3" source="CCE"/>
19314 <description>The apache2 server's ServerTokens value should be set appropriately (and dependencies are met)</description>
19315 </metadata>
19316 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19317 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19318 <criterion test_ref="oval:org.open-scap.f14:tst:20324"/>
19319 </criteria>
19320 </definition>
19321 <definition class="compliance" id="oval:org.open-scap.f14:def:20325" version="1">
19322 <metadata>
19323 <title>Restrict Information Leakage</title>
19324 <reference ref_id="CCE-3756-4" source="CCE"/>
19325 <description>The apache2 server's ServerSignature value should be set appropriately (and dependencies are met)</description>
19326 </metadata>
19327 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19328 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19329 <criterion test_ref="oval:org.open-scap.f14:tst:20325"/>
19330 </criteria>
19331 </definition>
19332 <definition class="compliance" id="oval:org.open-scap.f14:def:20326" version="1">
19333 <metadata>
19334 <title>Restrict File and Directory Access</title>
19335 <reference ref_id="CCE-4509-6" source="CCE"/>
19336 <description>File permissions for /etc/httpd/conf should be set correctly. (and dependencies are met)</description>
19337 </metadata>
19338 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19339 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19340 <criterion test_ref="oval:org.open-scap.f14:tst:20326"/>
19341 </criteria>
19342 </definition>
19343 <definition class="compliance" id="oval:org.open-scap.f14:def:20327" version="1">
19344 <metadata>
19345 <title>Restrict File and Directory Access</title>
19346 <reference ref_id="CCE-4386-9" source="CCE"/>
19347 <description>File permissions for /etc/httpd/conf/* should be set correctly. (and dependencies are met)</description>
19348 </metadata>
19349 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19350 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19351 <criterion test_ref="oval:org.open-scap.f14:tst:20327"/>
19352 </criteria>
19353 </definition>
19354 <definition class="compliance" id="oval:org.open-scap.f14:def:20328" version="1">
19355 <metadata>
19356 <title>Restrict File and Directory Access</title>
19357 <reference ref_id="CCE-4029-5" source="CCE"/>
19358 <description>File permissions for /usr/sbin/httpd should be set correctly. (and dependencies are met)</description>
19359 </metadata>
19360 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19361 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19362 <criterion test_ref="oval:org.open-scap.f14:tst:20328"/>
19363 </criteria>
19364 </definition>
19365 <definition class="compliance" id="oval:org.open-scap.f14:def:20329" version="1">
19366 <metadata>
19367 <title>Restrict File and Directory Access</title>
19368 <reference ref_id="CCE-3581-6" source="CCE"/>
19369 <description>The /etc/httpd/conf/* files should be owned by the appropriate group.</description>
19370 </metadata>
19371 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19372 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19373 <criterion test_ref="oval:org.open-scap.f14:tst:20329"/>
19374 </criteria>
19375 </definition>
19376 <definition class="compliance" id="oval:org.open-scap.f14:def:20330" version="1">
19377 <metadata>
19378 <title>Restrict File and Directory Access</title>
19379 <reference ref_id="CCE-4574-0" source="CCE"/>
19380 <description>File permissions for /var/log/httpd should be set correctly. (and dependencies are met)</description>
19381 </metadata>
19382 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19383 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19384 <criterion test_ref="oval:org.open-scap.f14:tst:20330"/>
19385 </criteria>
19386 </definition>
19387 <definition class="compliance" id="oval:org.open-scap.f14:def:20331" version="1">
19388 <metadata>
19389 <title>Disable Dovecot if Possible</title>
19390 <reference ref_id="CCE-3847-1" source="CCE"/>
19391 <description>The dovecot service should be disabled.</description>
19392 </metadata>
19393 <criteria comment="dovecot is not installed or conditions are met" operator="OR">
19394 <extend_definition comment="dovecot is not installed" definition_ref="oval:org.open-scap.f14:def:20332"/>
19395 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20331"/>
19396 </criteria>
19397 </definition>
19398 <definition class="compliance" id="oval:org.open-scap.f14:def:20332" version="1">
19399 <metadata>
19400 <title>Disable Dovecot if Possible</title>
19401 <reference ref_id="CCE-4239-0" source="CCE"/>
19402 <description>The dovecot package should be uninstalled.</description>
19403 </metadata>
19404 <criteria>
19405 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20332"/>
19406 </criteria>
19407 </definition>
19408 <definition class="compliance" id="oval:org.open-scap.f14:def:20333" version="1">
19409 <metadata>
19410 <title>Support Only the Necessary Protocols</title>
19411 <reference ref_id="CCE-4384-4" source="CCE"/>
19412 <description>Dovecot should be configured to not support the imaps protocol (and dependencies are met)</description>
19413 </metadata>
19414 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19415 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19416 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20333"/>
19417 </criteria>
19418 </definition>
19419 <definition class="compliance" id="oval:org.open-scap.f14:def:20334" version="1">
19420 <metadata>
19421 <title>Support Only the Necessary Protocols</title>
19422 <reference ref_id="CCE-3887-7" source="CCE"/>
19423 <description>Dovecot should be configured to not support the pop3s protocol (and dependencies are met)</description>
19424 </metadata>
19425 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19426 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19427 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20334"/>
19428 </criteria>
19429 </definition>
19430 <definition class="compliance" id="oval:org.open-scap.f14:def:20335" version="1">
19431 <metadata>
19432 <title>Support Only the Necessary Protocols</title>
19433 <reference ref_id="CCE-4530-2" source="CCE"/>
19434 <description>Dovecot should be configured to not support the pop3 (and dependencies are met)</description>
19435 </metadata>
19436 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19437 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19438 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20335"/>
19439 </criteria>
19440 </definition>
19441 <definition class="compliance" id="oval:org.open-scap.f14:def:20336" version="1">
19442 <metadata>
19443 <title>Support Only the Necessary Protocols</title>
19444 <reference ref_id="CCE-4547-6" source="CCE"/>
19445 <description>Dovecot should be configured to not support the imap protocol (and dependencies are met)</description>
19446 </metadata>
19447 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19448 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19449 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20336"/>
19450 </criteria>
19451 </definition>
19452 <definition class="compliance" id="oval:org.open-scap.f14:def:20337" version="1">
19453 <metadata>
19454 <title>Disable Plaintext Authentication</title>
19455 <reference ref_id="CCE-4552-6" source="CCE"/>
19456 <description>Dovecot plaintext authentication of clients should be disabled as necessary (and dependencies are met)</description>
19457 </metadata>
19458 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19459 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19460 <criterion test_ref="oval:org.open-scap.f14:tst:20337"/>
19461 </criteria>
19462 </definition>
19463 <definition class="compliance" id="oval:org.open-scap.f14:def:20338" version="1">
19464 <metadata>
19465 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
19466 <reference ref_id="CCE-4371-1" source="CCE"/>
19467 <description>The Dovecot option to drop privileges to user before executing mail process should be enabled (and dependencies are met)</description>
19468 </metadata>
19469 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19470 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19471 <criterion test_ref="oval:org.open-scap.f14:tst:20338"/>
19472 </criteria>
19473 </definition>
19474 <definition class="compliance" id="oval:org.open-scap.f14:def:20339" version="1">
19475 <metadata>
19476 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
19477 <reference ref_id="CCE-4410-7" source="CCE"/>
19478 <description>The Dovecot option to spawn a new login process per connection should be enabled (and dependencies are met)</description>
19479 </metadata>
19480 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19481 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19482 <criterion test_ref="oval:org.open-scap.f14:tst:20339"/>
19483 </criteria>
19484 </definition>
19485 <definition class="compliance" id="oval:org.open-scap.f14:def:20340" version="1">
19486 <metadata>
19487 <title>Disable Samba if Possible</title>
19488 <reference ref_id="CCE-4551-8" source="CCE"/>
19489 <description>The smb service should be disabled.</description>
19490 </metadata>
19491 <criteria>
19492 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20340"/>
19493 </criteria>
19494 </definition>
19495 <definition class="compliance" id="oval:org.open-scap.f14:def:203403" version="1">
19496 <metadata>
19497 <title>Disable Guest Access and Local Login Support</title>
19498 <reference ref_id="CCE-4551-8" source="CCE"/>
19499 <description>Do not allow guest users to access local file or printer shares.</description>
19500 </metadata>
19501 <criteria>
19502 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203403"/>
19503 </criteria>
19504 </definition>
19505 <definition class="compliance" id="oval:org.open-scap.f14:def:2034010" version="1">
19506 <metadata>
19507 <title>Require Client SMB Packet Signing, if using smbclient</title>
19508 <reference ref_id="CCE-4551-8" source="CCE"/>
19509 <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>
19510 </metadata>
19511 <criteria>
19512 <criterion comment="check for client signing = mandatory in /etc/samba/smb.conf" test_ref="oval:org.open-scap.f14:tst:2034010"/>
19513 </criteria>
19514 </definition>
19515 <definition class="compliance" id="oval:org.open-scap.f14:def:2034011" version="1">
19516 <metadata>
19517 <title>Disable Samba if Possible</title>
19518 <reference ref_id="CCE-4551-8" source="CCE"/>
19519 <description>The smb service should be disabled.</description>
19520 </metadata>
19521 <criteria>
19522 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/fstab" test_ref="oval:org.open-scap.f14:tst:20340111"/>
19523 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/mtab" test_ref="oval:org.open-scap.f14:tst:20340112"/>
19524 </criteria>
19525 </definition>
19526 <definition class="compliance" id="oval:org.open-scap.f14:def:20341" version="1">
19527 <metadata>
19528 <title>Disable Squid if Possible</title>
19529 <reference ref_id="CCE-4556-7" source="CCE"/>
19530 <description>The squid service should be disabled.</description>
19531 </metadata>
19532 <criteria comment="squid is not installed or conditions are met" operator="OR">
19533 <extend_definition comment="squid is not installed" definition_ref="oval:org.open-scap.f14:def:20342"/>
19534 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20341"/>
19535 </criteria>
19536 </definition>
19537 <definition class="compliance" id="oval:org.open-scap.f14:def:20342" version="1">
19538 <metadata>
19539 <title>Disable Squid if Possible</title>
19540 <reference ref_id="CCE-4076-6" source="CCE"/>
19541 <description>The squid package should be uninstalled.</description>
19542 </metadata>
19543 <criteria>
19544 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20342"/>
19545 </criteria>
19546 </definition>
19547 <definition class="compliance" id="oval:org.open-scap.f14:def:20343" version="1">
19548 <metadata>
19549 <title>Verify Default Secure Settings</title>
19550 <reference ref_id="CCE-4454-5" source="CCE"/>
19551 <description>The Squid option to force FTP passive connections should be enabled (and dependencies are met)</description>
19552 </metadata>
19553 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19554 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19555 <criterion test_ref="oval:org.open-scap.f14:tst:20343"/>
19556 </criteria>
19557 </definition>
19558 <definition class="compliance" id="oval:org.open-scap.f14:def:20344" version="1">
19559 <metadata>
19560 <title>Verify Default Secure Settings</title>
19561 <reference ref_id="CCE-4459-4" source="CCE"/>
19562 <description>The Squid option to perform FTP sanity checks should be enabled or not as appropriate (and dependencies are met)</description>
19563 </metadata>
19564 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19565 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19566 <criterion test_ref="oval:org.open-scap.f14:tst:20344"/>
19567 </criteria>
19568 </definition>
19569 <definition class="compliance" id="oval:org.open-scap.f14:def:20345" version="1">
19570 <metadata>
19571 <title>Verify Default Secure Settings</title>
19572 <reference ref_id="CCE-4503-9" source="CCE"/>
19573 <description>The Squid option to check for RFC compliant hostnames should be enabled or not as appropriate (and dependencies are met)</description>
19574 </metadata>
19575 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19576 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19577 <criterion test_ref="oval:org.open-scap.f14:tst:20345"/>
19578 </criteria>
19579 </definition>
19580 <definition class="compliance" id="oval:org.open-scap.f14:def:20346" version="1">
19581 <metadata>
19582 <title>Verify Default Secure Settings</title>
19583 <reference ref_id="CCE-4353-9" source="CCE"/>
19584 <description>The Squid max request HTTP header length should be set to an appropriate value (and dependencies are met)</description>
19585 </metadata>
19586 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19587 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19588 <criterion test_ref="oval:org.open-scap.f14:tst:20346"/>
19589 </criteria>
19590 </definition>
19591 <definition class="compliance" id="oval:org.open-scap.f14:def:20347" version="1">
19592 <metadata>
19593 <title>Verify Default Secure Settings</title>
19594 <reference ref_id="CCE-4419-8" source="CCE"/>
19595 <description>The Squid max reply HTTP header length should be set to an appropriate value (and dependencies are met)</description>
19596 </metadata>
19597 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19598 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19599 <criterion test_ref="oval:org.open-scap.f14:tst:20347"/>
19600 </criteria>
19601 </definition>
19602 <definition class="compliance" id="oval:org.open-scap.f14:def:20348" version="1">
19603 <metadata>
19604 <title>Verify Default Secure Settings</title>
19605 <reference ref_id="CCE-3692-1" source="CCE"/>
19606 <description>The Squid EUID should be set to an appropriate user (and dependencies are met)</description>
19607 </metadata>
19608 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19609 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19610 <criterion test_ref="oval:org.open-scap.f14:tst:20348"/>
19611 </criteria>
19612 </definition>
19613 <definition class="compliance" id="oval:org.open-scap.f14:def:20349" version="1">
19614 <metadata>
19615 <title>Verify Default Secure Settings</title>
19616 <reference ref_id="CCE-4476-8" source="CCE"/>
19617 <description>The Squid GUID should be set to an appropriate group (and dependencies are met)</description>
19618 </metadata>
19619 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19620 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19621 <criterion test_ref="oval:org.open-scap.f14:tst:20349"/>
19622 </criteria>
19623 </definition>
19624 <definition class="compliance" id="oval:org.open-scap.f14:def:20350" version="1">
19625 <metadata>
19626 <title>Verify Default Secure Settings</title>
19627 <reference ref_id="CCE-3585-7" source="CCE"/>
19628 <description>The Squid option to ignore unknown nameservers should be enabled (and dependencies are met)</description>
19629 </metadata>
19630 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19631 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19632 <criterion test_ref="oval:org.open-scap.f14:tst:20350"/>
19633 </criteria>
19634 </definition>
19635 <definition class="compliance" id="oval:org.open-scap.f14:def:20351" version="1">
19636 <metadata>
19637 <title>Change Default Insecure Settings</title>
19638 <reference ref_id="CCE-4344-8" source="CCE"/>
19639 <description>The Squid option to allow underscores in hostnames should be disabled (and dependencies are met)</description>
19640 </metadata>
19641 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19642 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19643 <criterion test_ref="oval:org.open-scap.f14:tst:20351"/>
19644 </criteria>
19645 </definition>
19646 <definition class="compliance" id="oval:org.open-scap.f14:def:20352" version="1">
19647 <metadata>
19648 <title>Change Default Insecure Settings</title>
19649 <reference ref_id="CCE-4494-1" source="CCE"/>
19650 <description>The Squid option to suppress the httpd version string should be enabled (and dependencies are met)</description>
19651 </metadata>
19652 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19653 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19654 <criterion test_ref="oval:org.open-scap.f14:tst:20352"/>
19655 </criteria>
19656 </definition>
19657 <definition class="compliance" id="oval:org.open-scap.f14:def:20353" version="1">
19658 <metadata>
19659 <title>Change Default Insecure Settings</title>
19660 <reference ref_id="CCE-4181-4" source="CCE"/>
19661 <description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled (and dependencies are met)</description>
19662 </metadata>
19663 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19664 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19665 <criterion test_ref="oval:org.open-scap.f14:tst:20353"/>
19666 </criteria>
19667 </definition>
19668 <definition class="compliance" id="oval:org.open-scap.f14:def:20354" version="1">
19669 <metadata>
19670 <title>Change Default Insecure Settings</title>
19671 <reference ref_id="CCE-4577-3" source="CCE"/>
19672 <description>The Squid option to log HTTP MIME headers should be enabled (and dependencies are met)</description>
19673 </metadata>
19674 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19675 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19676 <criterion test_ref="oval:org.open-scap.f14:tst:20354"/>
19677 </criteria>
19678 </definition>
19679 <definition class="compliance" id="oval:org.open-scap.f14:def:20355" version="1">
19680 <metadata>
19681 <title>Access Control Lists (ACL)</title>
19682 <reference ref_id="CCE-4511-2" source="CCE"/>
19683 <description>Squid should be configured to not allow gss-http traffic (and dependencies are met)</description>
19684 </metadata>
19685 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19686 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19687 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19688 </criteria>
19689 </definition>
19690 <definition class="compliance" id="oval:org.open-scap.f14:def:20356" version="1">
19691 <metadata>
19692 <title>Access Control Lists (ACL)</title>
19693 <reference ref_id="CCE-4529-4" source="CCE"/>
19694 <description>Squid should be configured to not allow https traffic (and dependencies are met)</description>
19695 </metadata>
19696 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19697 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19698 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19699 </criteria>
19700 </definition>
19701 <definition class="compliance" id="oval:org.open-scap.f14:def:20357" version="1">
19702 <metadata>
19703 <title>Access Control Lists (ACL)</title>
19704 <reference ref_id="CCE-3610-3" source="CCE"/>
19705 <description>Squid should be configured to not allow wais traffic (and dependencies are met)</description>
19706 </metadata>
19707 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19708 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19709 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19710 </criteria>
19711 </definition>
19712 <definition class="compliance" id="oval:org.open-scap.f14:def:20358" version="1">
19713 <metadata>
19714 <title>Access Control Lists (ACL)</title>
19715 <reference ref_id="CCE-4466-9" source="CCE"/>
19716 <description>Squid should be configured to not allow multiling http traffic (and dependencies are met)</description>
19717 </metadata>
19718 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19719 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19720 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19721 </criteria>
19722 </definition>
19723 <definition class="compliance" id="oval:org.open-scap.f14:def:20359" version="1">
19724 <metadata>
19725 <title>Access Control Lists (ACL)</title>
19726 <reference ref_id="CCE-4607-8" source="CCE"/>
19727 <description>Squid should be configured to not allow http traffic (and dependencies are met)</description>
19728 </metadata>
19729 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19730 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19731 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19732 </criteria>
19733 </definition>
19734 <definition class="compliance" id="oval:org.open-scap.f14:def:20360" version="1">
19735 <metadata>
19736 <title>Access Control Lists (ACL)</title>
19737 <reference ref_id="CCE-4255-6" source="CCE"/>
19738 <description>Squid should be configured to not allow ftp traffic (and dependencies are met)</description>
19739 </metadata>
19740 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19741 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19742 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19743 </criteria>
19744 </definition>
19745 <definition class="compliance" id="oval:org.open-scap.f14:def:20361" version="1">
19746 <metadata>
19747 <title>Access Control Lists (ACL)</title>
19748 <reference ref_id="CCE-4127-7" source="CCE"/>
19749 <description>Squid should be configured to not allow gopher traffic (and dependencies are met)</description>
19750 </metadata>
19751 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19752 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19753 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19754 </criteria>
19755 </definition>
19756 <definition class="compliance" id="oval:org.open-scap.f14:def:20362" version="1">
19757 <metadata>
19758 <title>Access Control Lists (ACL)</title>
19759 <reference ref_id="CCE-4519-5" source="CCE"/>
19760 <description>Squid should be configured to not allow filemaker traffic (and dependencies are met)</description>
19761 </metadata>
19762 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19763 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19764 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19765 </criteria>
19766 </definition>
19767 <definition class="compliance" id="oval:org.open-scap.f14:def:20363" version="1">
19768 <metadata>
19769 <title>Access Control Lists (ACL)</title>
19770 <reference ref_id="CCE-4413-1" source="CCE"/>
19771 <description>Squid proxy access to localhost should be denied (and dependencies are met)</description>
19772 </metadata>
19773 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19774 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19775 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19776 </criteria>
19777 </definition>
19778 <definition class="compliance" id="oval:org.open-scap.f14:def:20364" version="1">
19779 <metadata>
19780 <title>Access Control Lists (ACL)</title>
19781 <reference ref_id="CCE-4373-7" source="CCE"/>
19782 <description>Squid should be configured to not allow http-mgmt traffic (and dependencies are met)</description>
19783 </metadata>
19784 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19785 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19786 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19787 </criteria>
19788 </definition>
19789 <definition class="compliance" id="oval:org.open-scap.f14:def:20365" version="1">
19790 <metadata>
19791 <title>Disable SNMP Server if Possible</title>
19792 <reference ref_id="CCE-3765-5" source="CCE"/>
19793 <description>The snmpd service should be disabled.</description>
19794 </metadata>
19795 <criteria comment="net-snmp is not installed or conditions are met" operator="OR">
19796 <extend_definition comment="net-snmp is not installed" definition_ref="oval:org.open-scap.f14:def:20366"/>
19797 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20365"/>
19798 </criteria>
19799 </definition>
19800 <definition class="compliance" id="oval:org.open-scap.f14:def:20366" version="1">
19801 <metadata>
19802 <title>Disable SNMP Server if Possible</title>
19803 <reference ref_id="CCE-4404-0" source="CCE"/>
19804 <description>The net-snmp package should be uninstalled.</description>
19805 </metadata>
19806 <criteria>
19807 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20366"/>
19808 </criteria>
19809 </definition>
19810 </definitions>
19811 <tests>
19812 <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">
19813 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19814 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20000"/>
19815 </ind-def:textfilecontent54_test>
19816 <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">
19817 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19818 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20002"/>
19819 </ind-def:textfilecontent54_test>
19820 <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">
19821 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19822 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20004"/>
19823 </ind-def:textfilecontent54_test>
19824 <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">
19825 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19826 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20005"/>
19827 </ind-def:textfilecontent54_test>
19828 <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">
19829 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19830 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20006"/>
19831 </ind-def:textfilecontent54_test>
19832 <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">
19833 <lin-def:object object_ref="oval:org.open-scap.f14:obj:200065"/>
19834 <lin-def:state state_ref="oval:org.open-scap.f14:ste:200065"/>
19835 </lin-def:rpminfo_test>
19836 <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">
19837 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20009"/>
19838 </unix-def:file_test>
19839 <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">
19840 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20010"/>
19841 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20010"/>
19842 </ind-def:textfilecontent54_test>
19843 <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">
19844 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20011"/>
19845 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20011"/>
19846 </ind-def:textfilecontent54_test>
19847 <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">
19848 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20012"/>
19849 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20012"/>
19850 </ind-def:textfilecontent54_test>
19851 <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">
19852 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20013"/>
19853 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20013"/>
19854 </ind-def:textfilecontent54_test>
19855 <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">
19856 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
19857 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
19858 </ind-def:textfilecontent54_test>
19859 <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">
19860 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
19861 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
19862 </ind-def:textfilecontent54_test>
19863 <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">
19864 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
19865 <lin-def:state state_ref="oval:org.open-scap.f14:ste:10000"/>
19866 </lin-def:rpminfo_test>
19867 <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">
19868 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
19869 <lin-def:state state_ref="oval:org.open-scap.f14:ste:11000"/>
19870 </lin-def:rpminfo_test>
19871 <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">
19872 <ind-def:object object_ref="oval:org.open-scap.f14:obj:10001"/>
19873 <ind-def:state state_ref="oval:org.open-scap.f14:ste:10001"/>
19874 </ind-def:family_test>
19875 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20008" version="1">
19876 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20008"/>
19877 </unix-def:runlevel_test>
19878 <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">
19879 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20014"/>
19880 </lin-def:rpminfo_test>
19881 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:22" version="1"/>
19882 <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">
19883 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20020"/>
19884 </ind-def:textfilecontent54_test>
19885 <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">
19886 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19887 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20021"/>
19888 </ind-def:textfilecontent54_test>
19889 <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">
19890 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20022"/>
19891 </unix-def:file_test>
19892 <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">
19893 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20023"/>
19894 </ind-def:textfilecontent54_test>
19895 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20025" version="1">
19896 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20025"/>
19897 </unix-def:runlevel_test>
19898 <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">
19899 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20026"/>
19900 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20026"/>
19901 </ind-def:xmlfilecontent_test>
19902 <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">
19903 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19904 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20027"/>
19905 </ind-def:textfilecontent54_test>
19906 <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">
19907 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19908 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20028"/>
19909 </ind-def:textfilecontent54_test>
19910 <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">
19911 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19912 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20029"/>
19913 </ind-def:textfilecontent54_test>
19914 <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">
19915 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19916 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20030"/>
19917 </ind-def:textfilecontent54_test>
19918 <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">
19919 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19920 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20031"/>
19921 </ind-def:textfilecontent54_test>
19922 <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">
19923 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19924 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20032"/>
19925 </ind-def:textfilecontent54_test>
19926 <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">
19927 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19928 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20033"/>
19929 </ind-def:textfilecontent54_test>
19930 <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">
19931 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
19932 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20034"/>
19933 </unix-def:file_test>
19934 <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">
19935 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
19936 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20035"/>
19937 </unix-def:file_test>
19938 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20036" version="1">
19939 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
19940 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20036"/>
19941 </unix-def:file_test>
19942 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20037" version="1">
19943 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
19944 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20037"/>
19945 </unix-def:file_test>
19946 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20038" version="1">
19947 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
19948 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20038"/>
19949 </unix-def:file_test>
19950 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20039" version="1">
19951 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
19952 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20039"/>
19953 </unix-def:file_test>
19954 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20040" version="1">
19955 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
19956 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20040"/>
19957 </unix-def:file_test>
19958 <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">
19959 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
19960 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20041"/>
19961 </unix-def:file_test>
19962 <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">
19963 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
19964 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20042"/>
19965 </unix-def:file_test>
19966 <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">
19967 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
19968 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20043"/>
19969 </unix-def:file_test>
19970 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow permissions" id="oval:org.open-scap.f14:tst:20044" version="1">
19971 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
19972 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20044"/>
19973 </unix-def:file_test>
19974 <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">
19975 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
19976 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20045"/>
19977 </unix-def:file_test>
19978 <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">
19979 <notes>
19980 <note>This will enumerate all world writable directories on local partitions</note>
19981 </notes>
19982 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200461"/>
19983 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20046"/>
19984 </unix-def:file_test>
19985 <unix-def:file_test check="all" comment="world writable files" id="oval:org.open-scap.f14:tst:20047" version="1">
19986 <notes>
19987 <note>This will enumerate all world writable files on local partitions</note>
19988 </notes>
19989 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200471"/>
19990 </unix-def:file_test>
19991 <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">
19992 <notes>
19993 <note>This will enumerate all files on local partitions</note>
19994 </notes>
19995 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20048"/>
19996 </unix-def:file_test>
19997 <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">
19998 <notes>
19999 <note>This will enumerate all files on local partitions</note>
20000 </notes>
20001 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20049"/>
20002 </unix-def:file_test>
20003 <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">
20004 <notes>
20005 <note>This will enumerate all files on local partitions</note>
20006 </notes>
20007 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20050"/>
20008 </unix-def:file_test>
20009 <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">
20010 <notes>
20011 <note>This will enumerate all files on local partitions</note>
20012 </notes>
20013 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20051"/>
20014 </unix-def:file_test>
20015 <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">
20016 <notes>
20017 <note>This will enumerate all directories on local partitions</note>
20018 </notes>
20019 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20052"/>
20020 </unix-def:file_test>
20021 <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">
20022 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20053"/>
20023 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20053"/>
20024 </ind-def:textfilecontent54_test>
20025 <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">
20026 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20055"/>
20027 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20055"/>
20028 </ind-def:textfilecontent54_test>
20029 <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">
20030 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20056"/>
20031 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20056"/>
20032 </ind-def:textfilecontent54_test>
20033 <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">
20034 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20057"/>
20035 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20057"/>
20036 </ind-def:textfilecontent54_test>
20037 <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">
20038 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20058"/>
20039 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20058"/>
20040 </ind-def:textfilecontent54_test>
20041 <ind-def:unknown_test check="all" comment="BIOS test cannot be automated" id="oval:org.open-scap.f14:tst:20060" version="1"/>
20042 <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">
20043 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20061"/>
20044 </ind-def:textfilecontent54_test>
20045 <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">
20046 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20062"/>
20047 </ind-def:textfilecontent54_test>
20048 <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">
20049 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20063"/>
20050 </ind-def:textfilecontent54_test>
20051 <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">
20052 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20064"/>
20053 </ind-def:textfilecontent54_test>
20054 <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">
20055 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20065"/>
20056 </ind-def:textfilecontent54_test>
20057 <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">
20058 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20066"/>
20059 </ind-def:textfilecontent54_test>
20060 <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">
20061 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20067"/>
20062 </ind-def:textfilecontent54_test>
20063 <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">
20064 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20068"/>
20065 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20068"/>
20066 </unix-def:password_test>
20067 <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">
20068 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20069"/>
20069 </ind-def:textfilecontent54_test>
20070 <unix-def:password_test check="all" comment="Check that passwords are shadowed" id="oval:org.open-scap.f14:tst:200695" version="1">
20071 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200695"/>
20072 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200695"/>
20073 </unix-def:password_test>
20074 <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">
20075 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20070"/>
20076 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20070"/>
20077 </ind-def:textfilecontent54_test>
20078 <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">
20079 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20071"/>
20080 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20071"/>
20081 </ind-def:textfilecontent54_test>
20082 <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">
20083 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20072"/>
20084 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20072"/>
20085 </ind-def:textfilecontent54_test>
20086 <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">
20087 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20073"/>
20088 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20073"/>
20089 </ind-def:textfilecontent54_test>
20090 <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">
20091 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20074"/>
20092 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20074"/>
20093 </ind-def:textfilecontent54_test>
20094 <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">
20095 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20075"/>
20096 </ind-def:textfilecontent54_test>
20097 <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">
20098 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20076"/>
20099 </ind-def:textfilecontent54_test>
20100 <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">
20101 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20077"/>
20102 </ind-def:textfilecontent54_test>
20103 <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">
20104 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200781"/>
20105 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200781"/>
20106 </ind-def:textfilecontent54_test>
20107 <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">
20108 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200782"/>
20109 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200782"/>
20110 </ind-def:textfilecontent54_test>
20111 <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">
20112 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200783"/>
20113 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200783"/>
20114 </ind-def:textfilecontent54_test>
20115 <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">
20116 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200784"/>
20117 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200784"/>
20118 </ind-def:textfilecontent54_test>
20119 <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">
20120 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200785"/>
20121 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200785"/>
20122 </ind-def:textfilecontent54_test>
20123 <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">
20124 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200786"/>
20125 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200786"/>
20126 </ind-def:textfilecontent54_test>
20127 <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">
20128 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200787"/>
20129 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200787"/>
20130 </ind-def:textfilecontent54_test>
20131 <ind-def:unknown_test check="all" comment="pam_passwdqc is not implemented" id="oval:org.open-scap.f14:tst:20079" version="1"/>
20132 <ind-def:variable_test check="all" comment="check value of unlock_time" id="oval:org.open-scap.f14:tst:200800" version="1">
20133 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200800"/>
20134 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200800"/>
20135 </ind-def:variable_test>
20136 <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">
20137 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008011"/>
20138 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008011"/>
20139 </ind-def:textfilecontent54_test>
20140 <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">
20141 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008012"/>
20142 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008012"/>
20143 </ind-def:textfilecontent54_test>
20144 <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">
20145 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008013"/>
20146 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008013"/>
20147 </ind-def:textfilecontent54_test>
20148 <!-- 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"> -->
20149 <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">
20150 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200803"/>
20151 </ind-def:textfilecontent54_test>
20152 <ind-def:unknown_test check="all" comment="Check for required in pam_unix auth" id="oval:org.open-scap.f14:tst:200805" version="1"/>
20153 <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"/>
20154 <ind-def:unknown_test check="all" comment="check that pam_deny is not there" id="oval:org.open-scap.f14:tst:2008062" version="1"/>
20155 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20081" version="1">
20156 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20157 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20081"/>
20158 </unix-def:file_test>
20159 <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">
20160 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200811"/>
20161 </ind-def:textfilecontent54_test>
20162 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20082" version="1">
20163 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20164 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20082"/>
20165 </unix-def:file_test>
20166 <ind-def:variable_test check="all" comment="check value of hashing algorithm is md5" id="oval:org.open-scap.f14:tst:200831" version="1">
20167 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200831"/>
20168 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200831"/>
20169 </ind-def:variable_test>
20170 <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">
20171 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200832"/>
20172 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200832"/>
20173 </ind-def:textfilecontent54_test>
20174 <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">
20175 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200833"/>
20176 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20177 </ind-def:textfilecontent54_test>
20178 <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">
20179 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200834"/>
20180 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20181 </ind-def:textfilecontent54_test>
20182 <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">
20183 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200835"/>
20184 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20185 </ind-def:textfilecontent54_test>
20186 <ind-def:variable_test check="all" comment="check remember parameter is set to 0" id="oval:org.open-scap.f14:tst:200841" version="1">
20187 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200841"/>
20188 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200841"/>
20189 </ind-def:variable_test>
20190 <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">
20191 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200842"/>
20192 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200842"/>
20193 </ind-def:textfilecontent54_test>
20194 <ind-def:environmentvariable_test check="all" comment="PATH starts with : or ." id="oval:org.open-scap.f14:tst:200851" version="1">
20195 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20196 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200851"/>
20197 </ind-def:environmentvariable_test>
20198 <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">
20199 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20200 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200852"/>
20201 </ind-def:environmentvariable_test>
20202 <ind-def:environmentvariable_test check="all" comment="PATH contains :: or :.:" id="oval:org.open-scap.f14:tst:200853" version="1">
20203 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20204 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200853"/>
20205 </ind-def:environmentvariable_test>
20206 <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">
20207 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2008551"/>
20208 </unix-def:file_test>
20209 <unix-def:file_test check="none satisfy" comment="home directories are group writeable" id="oval:org.open-scap.f14:tst:200861" version="1">
20210 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20211 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200861"/>
20212 </unix-def:file_test>
20213 <unix-def:file_test check="none satisfy" comment="home directories are world readable" id="oval:org.open-scap.f14:tst:200862" version="1">
20214 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20215 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200862"/>
20216 </unix-def:file_test>
20217 <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">
20218 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20087"/>
20219 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20220 </ind-def:textfilecontent54_test>
20221 <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">
20222 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20088"/>
20223 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20224 </ind-def:textfilecontent54_test>
20225 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20092" version="1">
20226 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20092"/>
20227 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20092"/>
20228 </unix-def:file_test>
20229 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20093" version="1">
20230 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20093"/>
20231 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20093"/>
20232 </unix-def:file_test>
20233 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20094" version="1">
20234 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20094"/>
20235 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20094"/>
20236 </unix-def:file_test>
20237 <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">
20238 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20095"/>
20239 </ind-def:textfilecontent54_test>
20240 <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">
20241 <ind-def:object object_ref="oval:org.open-scap.f14:obj:73"/>
20242 </ind-def:textfilecontent54_test>
20243 <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">
20244 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20096"/>
20245 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20097"/>
20246 </ind-def:textfilecontent54_test>
20247 <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">
20248 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20098"/>
20249 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20098"/>
20250 </ind-def:textfilecontent54_test>
20251 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20099" version="1"/>
20252 <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">
20253 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20100"/>
20254 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20100"/>
20255 </ind-def:xmlfilecontent_test>
20256 <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">
20257 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201005"/>
20258 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201005"/>
20259 </ind-def:xmlfilecontent_test>
20260 <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">
20261 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201006"/>
20262 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201006"/>
20263 </ind-def:xmlfilecontent_test>
20264 <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">
20265 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201007"/>
20266 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201007"/>
20267 </ind-def:xmlfilecontent_test>
20268 <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">
20269 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20101"/>
20270 </lin-def:rpminfo_test>
20271 <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">
20272 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20102"/>
20273 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20102"/>
20274 </ind-def:textfilecontent54_test>
20275 <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">
20276 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20103"/>
20277 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20103"/>
20278 </ind-def:xmlfilecontent_test>
20279 <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">
20280 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20104"/>
20281 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20104"/>
20282 </ind-def:textfilecontent54_test>
20283 <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">
20284 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20105"/>
20285 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20105"/>
20286 </ind-def:textfilecontent54_test>
20287 <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">
20288 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20106"/>
20289 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20106"/>
20290 </ind-def:textfilecontent54_test>
20291 <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">
20292 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20107"/>
20293 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20107"/>
20294 </ind-def:textfilecontent54_test>
20295 <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">
20296 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20108"/>
20297 </lin-def:rpminfo_test>
20298 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20109" version="1">
20299 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20109"/>
20300 </unix-def:runlevel_test>
20301 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20110" version="1">
20302 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20110"/>
20303 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
20304 </unix-def:runlevel_test>
20305 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20111" version="1">
20306 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20111"/>
20307 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
20308 </unix-def:runlevel_test>
20309 <!-- BEGIN -->
20310 <!-- def:20112 -->
20311 <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">
20312 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201120"/>
20313 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20314 </ind-def:textfilecontent54_test>
20315 <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">
20316 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
20317 </ind-def:textfilecontent54_test>
20318 <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">
20319 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
20320 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20321 </ind-def:textfilecontent54_test>
20322 <!-- def:20113 -->
20323 <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">
20324 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201130"/>
20325 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20326 </ind-def:textfilecontent54_test>
20327 <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">
20328 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
20329 </ind-def:textfilecontent54_test>
20330 <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">
20331 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
20332 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20333 </ind-def:textfilecontent54_test>
20334 <!-- def:20114 -->
20335 <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">
20336 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201140"/>
20337 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20338 </ind-def:textfilecontent54_test>
20339 <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">
20340 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
20341 </ind-def:textfilecontent54_test>
20342 <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">
20343 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
20344 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20345 </ind-def:textfilecontent54_test>
20346 <!-- def:20115 -->
20347 <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">
20348 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201150"/>
20349 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20350 </ind-def:textfilecontent54_test>
20351 <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">
20352 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
20353 </ind-def:textfilecontent54_test>
20354 <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">
20355 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
20356 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20357 </ind-def:textfilecontent54_test>
20358 <!-- def:20116 -->
20359 <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">
20360 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201160"/>
20361 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20362 </ind-def:textfilecontent54_test>
20363 <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">
20364 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
20365 </ind-def:textfilecontent54_test>
20366 <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">
20367 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
20368 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20369 </ind-def:textfilecontent54_test>
20370 <!-- def:20117 -->
20371 <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">
20372 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201170"/>
20373 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20374 </ind-def:textfilecontent54_test>
20375 <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">
20376 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
20377 </ind-def:textfilecontent54_test>
20378 <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">
20379 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
20380 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20381 </ind-def:textfilecontent54_test>
20382 <!-- def:20118 -->
20383 <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">
20384 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201180"/>
20385 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20386 </ind-def:textfilecontent54_test>
20387 <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">
20388 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
20389 </ind-def:textfilecontent54_test>
20390 <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">
20391 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
20392 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20393 </ind-def:textfilecontent54_test>
20394 <!-- def:20119 -->
20395 <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">
20396 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201190"/>
20397 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20398 </ind-def:textfilecontent54_test>
20399 <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">
20400 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
20401 </ind-def:textfilecontent54_test>
20402 <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">
20403 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
20404 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20405 </ind-def:textfilecontent54_test>
20406 <!-- def:20120 -->
20407 <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">
20408 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201200"/>
20409 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20410 </ind-def:textfilecontent54_test>
20411 <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">
20412 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
20413 </ind-def:textfilecontent54_test>
20414 <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">
20415 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
20416 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20417 </ind-def:textfilecontent54_test>
20418 <!-- def:20121 -->
20419 <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">
20420 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201210"/>
20421 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20422 </ind-def:textfilecontent54_test>
20423 <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">
20424 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
20425 </ind-def:textfilecontent54_test>
20426 <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">
20427 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
20428 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20429 </ind-def:textfilecontent54_test>
20430 <!-- def:20122 -->
20431 <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">
20432 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201220"/>
20433 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20434 </ind-def:textfilecontent54_test>
20435 <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">
20436 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
20437 </ind-def:textfilecontent54_test>
20438 <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">
20439 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
20440 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20441 </ind-def:textfilecontent54_test>
20442 <!-- def:20123 -->
20443 <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">
20444 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201230"/>
20445 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20446 </ind-def:textfilecontent54_test>
20447 <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">
20448 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
20449 </ind-def:textfilecontent54_test>
20450 <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">
20451 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
20452 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20453 </ind-def:textfilecontent54_test>
20454 <!-- def:20124 -->
20455 <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">
20456 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201240"/>
20457 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20458 </ind-def:textfilecontent54_test>
20459 <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">
20460 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
20461 </ind-def:textfilecontent54_test>
20462 <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">
20463 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
20464 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20465 </ind-def:textfilecontent54_test>
20466 <!-- def:20125 -->
20467 <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">
20468 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201250"/>
20469 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20470 </ind-def:textfilecontent54_test>
20471 <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">
20472 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
20473 </ind-def:textfilecontent54_test>
20474 <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">
20475 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
20476 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20477 </ind-def:textfilecontent54_test>
20478 <!-- def:20126 -->
20479 <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">
20480 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201260"/>
20481 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20482 </ind-def:textfilecontent54_test>
20483 <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">
20484 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
20485 </ind-def:textfilecontent54_test>
20486 <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">
20487 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
20488 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20489 </ind-def:textfilecontent54_test>
20490 <!-- ^^^ ok ^^^ -->
20491 <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">
20492 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20128"/>
20493 </ind-def:textfilecontent54_test>
20494 <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">
20495 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20129"/>
20496 </unix-def:file_test>
20497 <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">
20498 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20130"/>
20499 </ind-def:textfilecontent54_test>
20500 <!-- assuming the default is "no" i.e. if IPV6INIT is not present -->
20501 <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">
20502 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20131"/>
20503 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20131"/>
20504 </ind-def:textfilecontent54_test>
20505 <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">
20506 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20132"/>
20507 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20132"/>
20508 </ind-def:textfilecontent54_test>
20509 <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">
20510 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20133"/>
20511 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20133"/>
20512 </ind-def:textfilecontent54_test>
20513 <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">
20514 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20134"/>
20515 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20134"/>
20516 </ind-def:textfilecontent54_test>
20517 <!-- sysctl (ip6) -->
20518 <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">
20519 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201390"/>
20520 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
20521 </ind-def:textfilecontent54_test>
20522 <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">
20523 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
20524 </ind-def:textfilecontent54_test>
20525 <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">
20526 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
20527 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
20528 </ind-def:textfilecontent54_test>
20529 <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">
20530 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201400"/>
20531 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20532 </ind-def:textfilecontent54_test>
20533 <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">
20534 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
20535 </ind-def:textfilecontent54_test>
20536 <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">
20537 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
20538 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20539 </ind-def:textfilecontent54_test>
20540 <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">
20541 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201410"/>
20542 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20543 </ind-def:textfilecontent54_test>
20544 <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">
20545 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
20546 </ind-def:textfilecontent54_test>
20547 <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">
20548 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
20549 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20550 </ind-def:textfilecontent54_test>
20551 <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">
20552 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201420"/>
20553 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20554 </ind-def:textfilecontent54_test>
20555 <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">
20556 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
20557 </ind-def:textfilecontent54_test>
20558 <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">
20559 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
20560 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20561 </ind-def:textfilecontent54_test>
20562 <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">
20563 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201430"/>
20564 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20565 </ind-def:textfilecontent54_test>
20566 <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">
20567 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
20568 </ind-def:textfilecontent54_test>
20569 <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">
20570 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
20571 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20572 </ind-def:textfilecontent54_test>
20573 <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">
20574 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201440"/>
20575 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
20576 </ind-def:textfilecontent54_test>
20577 <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">
20578 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
20579 </ind-def:textfilecontent54_test>
20580 <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">
20581 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
20582 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
20583 </ind-def:textfilecontent54_test>
20584 <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">
20585 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201450"/>
20586 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
20587 </ind-def:textfilecontent54_test>
20588 <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">
20589 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
20590 </ind-def:textfilecontent54_test>
20591 <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">
20592 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
20593 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
20594 </ind-def:textfilecontent54_test>
20595 <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">
20596 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20146"/>
20597 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
20598 </unix-def:runlevel_test>
20599 <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">
20600 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20147"/>
20601 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
20602 </unix-def:runlevel_test>
20603 <!--- New end -->
20604 <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">
20605 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014741"/>
20606 </ind-def:textfilecontent54_test>
20607 <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">
20608 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014742"/>
20609 </ind-def:textfilecontent54_test>
20610 <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">
20611 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014751"/>
20612 </ind-def:textfilecontent54_test>
20613 <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">
20614 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014752"/>
20615 </ind-def:textfilecontent54_test>
20616 <!--
20617 <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">
20618 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201476" />
20619 </ind-def:textfilecontent54_test>
20620 <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">
20621 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201477" />
20622 </ind-def:textfilecontent54_test>
20623 <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">
20624 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201478" />
20625 </ind-def:textfilecontent54_test>
20626 <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">
20627 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201479" />
20628 </ind-def:textfilecontent54_test>
20629 -->
20630 <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">
20631 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20148"/>
20632 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20148"/>
20633 </unix-def:runlevel_test>
20634 <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">
20635 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
20636 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20149"/>
20637 </unix-def:file_test>
20638 <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">
20639 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
20640 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20150"/>
20641 </unix-def:file_test>
20642 <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">
20643 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
20644 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20151"/>
20645 </unix-def:file_test>
20646 <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">
20647 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2014911"/>
20648 </unix-def:password_test>
20649 <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">
20650 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201501"/>
20651 </ind-def:textfilecontent54_test>
20652 <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">
20653 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20152"/>
20654 </ind-def:textfilecontent54_test>
20655 <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">
20656 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20153"/>
20657 </ind-def:textfilecontent54_test>
20658 <!--
20659 <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">
20660 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20154"/>
20661 </ind-def:textfilecontent54_test>
20662 -->
20663 <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">
20664 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20156"/>
20665 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20156"/>
20666 </unix-def:runlevel_test>
20667 <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">
20668 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20157"/>
20669 </ind-def:textfilecontent54_test>
20670 <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">
20671 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015750"/>
20672 </ind-def:textfilecontent54_test>
20673 <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">
20674 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015751"/>
20675 </ind-def:textfilecontent54_test>
20676 <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">
20677 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015752"/>
20678 </ind-def:textfilecontent54_test>
20679 <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">
20680 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015753"/>
20681 </ind-def:textfilecontent54_test>
20682 <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">
20683 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015754"/>
20684 </ind-def:textfilecontent54_test>
20685 <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">
20686 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201580"/>
20687 </ind-def:textfilecontent54_test>
20688 <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">
20689 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201581"/>
20690 </ind-def:textfilecontent54_test>
20691 <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">
20692 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201582"/>
20693 </ind-def:textfilecontent54_test>
20694 <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">
20695 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201583"/>
20696 </ind-def:textfilecontent54_test>
20697 <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">
20698 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201584"/>
20699 </ind-def:textfilecontent54_test>
20700 <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">
20701 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201590"/>
20702 </ind-def:textfilecontent54_test>
20703 <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">
20704 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201591"/>
20705 </ind-def:textfilecontent54_test>
20706 <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">
20707 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201592"/>
20708 </ind-def:textfilecontent54_test>
20709 <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">
20710 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201593"/>
20711 </ind-def:textfilecontent54_test>
20712 <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">
20713 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201594"/>
20714 </ind-def:textfilecontent54_test>
20715 <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">
20716 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201595"/>
20717 </ind-def:textfilecontent54_test>
20718 <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">
20719 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20160"/>
20720 </ind-def:textfilecontent54_test>
20721 <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">
20722 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201610"/>
20723 </ind-def:textfilecontent54_test>
20724 <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">
20725 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201611"/>
20726 </ind-def:textfilecontent54_test>
20727 <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">
20728 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201620"/>
20729 </ind-def:textfilecontent54_test>
20730 <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">
20731 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201621"/>
20732 </ind-def:textfilecontent54_test>
20733 <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">
20734 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201622"/>
20735 </ind-def:textfilecontent54_test>
20736 <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">
20737 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201630"/>
20738 </ind-def:textfilecontent54_test>
20739 <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">
20740 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201631"/>
20741 </ind-def:textfilecontent54_test>
20742 <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">
20743 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201632"/>
20744 </ind-def:textfilecontent54_test>
20745 <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">
20746 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201633"/>
20747 </ind-def:textfilecontent54_test>
20748 <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">
20749 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201634"/>
20750 </ind-def:textfilecontent54_test>
20751 <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">
20752 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201635"/>
20753 </ind-def:textfilecontent54_test>
20754 <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">
20755 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201640"/>
20756 </ind-def:textfilecontent54_test>
20757 <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">
20758 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201641"/>
20759 </ind-def:textfilecontent54_test>
20760 <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">
20761 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201642"/>
20762 </ind-def:textfilecontent54_test>
20763 <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">
20764 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201643"/>
20765 </ind-def:textfilecontent54_test>
20766 <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">
20767 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20165"/>
20768 </ind-def:textfilecontent54_test>
20769 <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">
20770 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201660"/>
20771 </ind-def:textfilecontent54_test>
20772 <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">
20773 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201661"/>
20774 </ind-def:textfilecontent54_test>
20775 <unix-def:uname_test check="all" comment="check architecture is 32 bit" id="oval:org.open-scap.f14:tst:201670" version="1">
20776 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
20777 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201670"/>
20778 </unix-def:uname_test>
20779 <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">
20780 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201671"/>
20781 </ind-def:textfilecontent54_test>
20782 <unix-def:uname_test check="all" comment="check architecture is 64 bit" id="oval:org.open-scap.f14:tst:201672" version="1">
20783 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
20784 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201672"/>
20785 </unix-def:uname_test>
20786 <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">
20787 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201673"/>
20788 </ind-def:textfilecontent54_test>
20789 <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">
20790 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20168"/>
20791 </ind-def:textfilecontent54_test>
20792 <!-- <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">
20793 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016861"/>
20794 </ind-def:textfilecontent54_test> -->
20795 <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">
20796 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016852"/>
20797 </ind-def:textfilecontent54_test>
20798 <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">
20799 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016853"/>
20800 </ind-def:textfilecontent54_test>
20801 <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">
20802 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016854"/>
20803 </ind-def:textfilecontent54_test>
20804 <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">
20805 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20169"/>
20806 </ind-def:textfilecontent54_test>
20807 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20170" version="1">
20808 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20170"/>
20809 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20810 </unix-def:runlevel_test>
20811 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20171" version="1">
20812 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20171"/>
20813 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20814 </unix-def:runlevel_test>
20815 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201745" version="1">
20816 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201745"/>
20817 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20818 </ind-def:textfilecontent54_test>
20819 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201774" version="1">
20820 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201774"/>
20821 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20822 </ind-def:textfilecontent54_test>
20823 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201775" version="1">
20824 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201775"/>
20825 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20826 </ind-def:textfilecontent54_test>
20827 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201776" version="1">
20828 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201776"/>
20829 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20830 </ind-def:textfilecontent54_test>
20831 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Xinetd services test" id="oval:org.open-scap.f14:tst:20178" version="1">
20832 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20178"/>
20833 </ind-def:textfilecontent54_test>
20834 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201825" version="1">
20835 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201825"/>
20836 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20837 </ind-def:textfilecontent54_test>
20838 <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">
20839 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20179"/>
20840 </lin-def:rpminfo_test>
20841 <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">
20842 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20172"/>
20843 </lin-def:rpminfo_test>
20844 <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">
20845 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20173"/>
20846 </lin-def:rpminfo_test>
20847 <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">
20848 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20174"/>
20849 </lin-def:rpminfo_test>
20850 <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">
20851 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20175"/>
20852 </lin-def:rpminfo_test>
20853 <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">
20854 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20176"/>
20855 </lin-def:rpminfo_test>
20856 <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">
20857 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20177"/>
20858 </lin-def:rpminfo_test>
20859 <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">
20860 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20180"/>
20861 </lin-def:rpminfo_test>
20862 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20181" version="1">
20863 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20181"/>
20864 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20865 </unix-def:runlevel_test>
20866 <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">
20867 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20182"/>
20868 </lin-def:rpminfo_test>
20869 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20183" version="1">
20870 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20183"/>
20871 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20872 </unix-def:runlevel_test>
20873 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20184" version="1">
20874 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20184"/>
20875 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20876 </unix-def:runlevel_test>
20877 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20185" version="1">
20878 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20185"/>
20879 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20880 </unix-def:runlevel_test>
20881 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20186" version="1">
20882 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20186"/>
20883 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20884 </unix-def:runlevel_test>
20885 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20187" version="1">
20886 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20187"/>
20887 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20888 </unix-def:runlevel_test>
20889 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20188" version="1">
20890 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20188"/>
20891 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20892 </unix-def:runlevel_test>
20893 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20189" version="1">
20894 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20189"/>
20895 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20896 </unix-def:runlevel_test>
20897 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20190" version="1">
20898 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20190"/>
20899 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20900 </unix-def:runlevel_test>
20901 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20191" version="1">
20902 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20191"/>
20903 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20904 </unix-def:runlevel_test>
20905 <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">
20906 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20192"/>
20907 </unix-def:file_test>
20908 <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">
20909 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20193"/>
20910 </ind-def:textfilecontent54_test>
20911 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20194" version="1">
20912 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20194"/>
20913 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20914 </unix-def:runlevel_test>
20915 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20195" version="1">
20916 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20195"/>
20917 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20918 </unix-def:runlevel_test>
20919 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20196" version="1">
20920 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20196"/>
20921 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20922 </unix-def:runlevel_test>
20923 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20197" version="1">
20924 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20197"/>
20925 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20926 </unix-def:runlevel_test>
20927 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20198" version="1">
20928 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20198"/>
20929 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20930 </unix-def:runlevel_test>
20931 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20199" version="1">
20932 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20199"/>
20933 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20934 </unix-def:runlevel_test>
20935 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20200" version="1">
20936 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20200"/>
20937 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20938 </unix-def:runlevel_test>
20939 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20201" version="1">
20940 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20201"/>
20941 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20942 </unix-def:runlevel_test>
20943 <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">
20944 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020151"/>
20945 </ind-def:textfilecontent54_test>
20946 <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">
20947 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020152"/>
20948 </ind-def:textfilecontent54_test>
20949 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20202" version="1">
20950 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20202"/>
20951 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20952 </unix-def:runlevel_test>
20953 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20203" version="1">
20954 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20203"/>
20955 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20956 </unix-def:runlevel_test>
20957 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20204" version="1">
20958 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20204"/>
20959 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20960 </unix-def:runlevel_test>
20961 <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">
20962 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20205"/>
20963 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20172"/>
20964 </unix-def:runlevel_test>
20965 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:202052" version="1">
20966 <unix-def:object object_ref="oval:org.open-scap.f14:obj:202052"/>
20967 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20968 </unix-def:runlevel_test>
20969 <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">
20970 <lin-def:object object_ref="oval:org.open-scap.f14:obj:202053"/>
20971 </lin-def:rpminfo_test>
20972 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20206" version="1">
20973 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20206"/>
20974 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20975 </unix-def:runlevel_test>
20976 <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">
20977 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20207"/>
20978 </lin-def:rpminfo_test>
20979 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20208" version="1">
20980 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20208"/>
20981 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20208"/>
20982 </unix-def:file_test>
20983 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20209" version="1">
20984 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20209"/>
20985 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20209"/>
20986 </unix-def:file_test>
20987 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20210" version="1">
20988 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20210"/>
20989 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20210"/>
20990 </unix-def:file_test>
20991 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20211" version="1">
20992 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20211"/>
20993 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20211"/>
20994 </unix-def:file_test>
20995 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20212" version="1">
20996 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20212"/>
20997 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20212"/>
20998 </unix-def:file_test>
20999 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20213" version="1">
21000 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20213"/>
21001 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20213"/>
21002 </unix-def:file_test>
21003 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20214" version="1">
21004 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20214"/>
21005 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20214"/>
21006 </unix-def:file_test>
21007 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20215" version="1">
21008 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20215"/>
21009 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20215"/>
21010 </unix-def:file_test>
21011 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20216" version="1">
21012 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20216"/>
21013 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20216"/>
21014 </unix-def:file_test>
21015 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20217" version="1">
21016 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20217"/>
21017 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20217"/>
21018 </unix-def:file_test>
21019 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20218" version="1">
21020 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20218"/>
21021 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20218"/>
21022 </unix-def:file_test>
21023 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20219" version="1">
21024 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20219"/>
21025 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20219"/>
21026 </unix-def:file_test>
21027 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20220" version="1">
21028 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20220"/>
21029 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20220"/>
21030 </unix-def:file_test>
21031 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20221" version="1">
21032 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20221"/>
21033 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20221"/>
21034 </unix-def:file_test>
21035 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20222" version="1">
21036 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20222"/>
21037 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20222"/>
21038 </unix-def:file_test>
21039 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20223" version="1">
21040 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20223"/>
21041 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20223"/>
21042 </unix-def:file_test>
21043 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20224" version="1">
21044 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20224"/>
21045 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20224"/>
21046 </unix-def:file_test>
21047 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20225" version="1">
21048 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20225"/>
21049 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20225"/>
21050 </unix-def:file_test>
21051 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20226" version="1">
21052 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20226"/>
21053 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20226"/>
21054 </unix-def:file_test>
21055 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20227" version="1">
21056 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20227"/>
21057 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20227"/>
21058 </unix-def:file_test>
21059 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20228" version="1">
21060 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20228"/>
21061 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20228"/>
21062 </unix-def:file_test>
21063 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20229" version="1">
21064 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21065 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20229"/>
21066 </unix-def:file_test>
21067 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20230" version="1">
21068 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21069 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20230"/>
21070 </unix-def:file_test>
21071 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20231" version="1">
21072 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21073 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20231"/>
21074 </unix-def:file_test>
21075 <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">
21076 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20232"/>
21077 </unix-def:file_test>
21078 <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">
21079 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20233"/>
21080 </unix-def:file_test>
21081 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20234" version="1">
21082 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20234"/>
21083 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21084 </unix-def:runlevel_test>
21085 <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">
21086 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20235"/>
21087 </lin-def:rpminfo_test>
21088 <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">
21089 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20236"/>
21090 </ind-def:textfilecontent54_test>
21091 <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">
21092 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20237"/>
21093 </ind-def:textfilecontent54_test>
21094 <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">
21095 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20238"/>
21096 </ind-def:textfilecontent54_test>
21097 <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">
21098 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20239"/>
21099 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20239"/>
21100 </ind-def:textfilecontent54_test>
21101 <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">
21102 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20240"/>
21103 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20240"/>
21104 </ind-def:textfilecontent54_test>
21105 <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">
21106 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20241"/>
21107 </ind-def:textfilecontent54_test>
21108 <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">
21109 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20242"/>
21110 </ind-def:textfilecontent54_test>
21111 <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">
21112 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20243"/>
21113 </ind-def:textfilecontent54_test>
21114 <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">
21115 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20244"/>
21116 </ind-def:textfilecontent54_test>
21117 <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">
21118 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20245"/>
21119 </ind-def:textfilecontent54_test>
21120 <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">
21121 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202455"/>
21122 </ind-def:textfilecontent54_test>
21123 <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">
21124 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202456"/>
21125 <ind-def:state state_ref="oval:org.open-scap.f14:ste:202456"/>
21126 </ind-def:textfilecontent54_test>
21127 <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">
21128 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20246"/>
21129 <ind-def:state state_ref="oval:org.open-scap.f14:ste:87"/>
21130 </ind-def:textfilecontent54_test>
21131 <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">
21132 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20248"/>
21133 </ind-def:textfilecontent54_test>
21134 <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">
21135 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20249"/>
21136 </ind-def:textfilecontent54_test>
21137 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20250" version="1">
21138 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20250"/>
21139 </unix-def:runlevel_test>
21140 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20251" version="1"/>
21141 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20252" version="1"/>
21142 <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">
21143 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20253"/>
21144 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20253"/>
21145 </ind-def:textfilecontent54_test>
21146 <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">
21147 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20254"/>
21148 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20254"/>
21149 </ind-def:textfilecontent54_test>
21150 <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">
21151 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20255"/>
21152 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20255"/>
21153 </ind-def:textfilecontent54_test>
21154 <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">
21155 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20256"/>
21156 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20256"/>
21157 </ind-def:textfilecontent54_test>
21158 <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">
21159 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20257"/>
21160 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20257"/>
21161 </ind-def:textfilecontent54_test>
21162 <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">
21163 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20258"/>
21164 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20258"/>
21165 </ind-def:textfilecontent54_test>
21166 <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">
21167 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20259"/>
21168 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20259"/>
21169 </ind-def:textfilecontent54_test>
21170 <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">
21171 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20260"/>
21172 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20260"/>
21173 </ind-def:textfilecontent54_test>
21174 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20261" version="1">
21175 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20261"/>
21176 </unix-def:runlevel_test>
21177 <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">
21178 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20264"/>
21179 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20264"/>
21180 </ind-def:textfilecontent54_test>
21181 <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">
21182 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20265"/>
21183 </ind-def:textfilecontent54_test>
21184 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20266" version="1">
21185 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20266"/>
21186 </unix-def:runlevel_test>
21187 <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">
21188 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20267"/>
21189 </ind-def:textfilecontent54_test>
21190 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20268" version="1">
21191 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20268"/>
21192 </unix-def:runlevel_test>
21193 <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">
21194 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20269"/>
21195 </lin-def:rpminfo_test>
21196 <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">
21197 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20270"/>
21198 </ind-def:textfilecontent54_test>
21199 <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">
21200 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20271"/>
21201 </ind-def:textfilecontent54_test>
21202 <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">
21203 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20272"/>
21204 </ind-def:textfilecontent54_test>
21205 <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">
21206 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20280"/>
21207 </ind-def:textfilecontent54_test>
21208 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20281" version="1">
21209 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20281"/>
21210 </unix-def:runlevel_test>
21211 <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">
21212 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20282"/>
21213 </ind-def:textfilecontent54_test>
21214 <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">
21215 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20285"/>
21216 </ind-def:textfilecontent54_test>
21217 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20287" version="1">
21218 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20287"/>
21219 </unix-def:runlevel_test>
21220 <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">
21221 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20288"/>
21222 </ind-def:textfilecontent54_test>
21223 <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">
21224 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202885"/>
21225 </ind-def:textfilecontent54_test>
21226 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20289" version="1">
21227 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20289"/>
21228 </unix-def:runlevel_test>
21229 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20290" version="1">
21230 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20290"/>
21231 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20290"/>
21232 </unix-def:file_test>
21233 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20291" version="1">
21234 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20291"/>
21235 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20291"/>
21236 </unix-def:file_test>
21237 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20292" version="1">
21238 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20292"/>
21239 </unix-def:runlevel_test>
21240 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20293" version="1">
21241 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20293"/>
21242 </unix-def:runlevel_test>
21243 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20294" version="1">
21244 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20294"/>
21245 </unix-def:runlevel_test>
21246 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20295" version="1">
21247 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20295"/>
21248 </unix-def:runlevel_test>
21249 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20296" version="1">
21250 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20296"/>
21251 </unix-def:runlevel_test>
21252 <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">
21253 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20297"/>
21254 </ind-def:textfilecontent54_test>
21255 <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">
21256 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20298"/>
21257 </ind-def:textfilecontent54_test>
21258 <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">
21259 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20299"/>
21260 </ind-def:textfilecontent54_test>
21261 <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">
21262 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20300"/>
21263 </ind-def:textfilecontent54_test>
21264 <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">
21265 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20301"/>
21266 </ind-def:textfilecontent54_test>
21267 <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">
21268 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20302"/>
21269 </ind-def:textfilecontent54_test>
21270 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20303" version="1">
21271 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20303"/>
21272 </unix-def:runlevel_test>
21273 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20304" version="1">
21274 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20304"/>
21275 </unix-def:runlevel_test>
21276 <!-- <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">
21277 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
21278 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203051"/>
21279 </ind-def:textfilecontent54_test> -->
21280 <!-- <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">
21281 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
21282 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203052"/>
21283 </ind-def:textfilecontent54_test> -->
21284 <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">
21285 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20308"/>
21286 </ind-def:textfilecontent54_test>
21287 <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">
21288 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20309"/>
21289 </ind-def:textfilecontent54_test>
21290 <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">
21291 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20310"/>
21292 </ind-def:textfilecontent54_test>
21293 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20311" version="1">
21294 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20311"/>
21295 </unix-def:runlevel_test>
21296 <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">
21297 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20312"/>
21298 </lin-def:rpminfo_test>
21299 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20313" version="1">
21300 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20313"/>
21301 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20313"/>
21302 </unix-def:file_test>
21303 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20314" version="1">
21304 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20314"/>
21305 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20314"/>
21306 </unix-def:file_test>
21307 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20315" version="1">
21308 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20315"/>
21309 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20315"/>
21310 </unix-def:file_test>
21311 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20317" version="1">
21312 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20317"/>
21313 </unix-def:runlevel_test>
21314 <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">
21315 <lin-def:object object_ref="oval:org.open-scap.f14:obj:203175"/>
21316 </lin-def:rpminfo_test>
21317 <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">
21318 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20319"/>
21319 </ind-def:textfilecontent54_test>
21320 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20322" version="1">
21321 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20322"/>
21322 </unix-def:runlevel_test>
21323 <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">
21324 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20323"/>
21325 </lin-def:rpminfo_test>
21326 <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">
21327 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20324"/>
21328 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20324"/>
21329 </ind-def:textfilecontent54_test>
21330 <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">
21331 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20325"/>
21332 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20325"/>
21333 </ind-def:textfilecontent54_test>
21334 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20326" version="1">
21335 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20326"/>
21336 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20326"/>
21337 </unix-def:file_test>
21338 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20327" version="1">
21339 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20327"/>
21340 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20327"/>
21341 </unix-def:file_test>
21342 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20328" version="1">
21343 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20328"/>
21344 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20328"/>
21345 </unix-def:file_test>
21346 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20329" version="1">
21347 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20329"/>
21348 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20329"/>
21349 </unix-def:file_test>
21350 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20330" version="1">
21351 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20330"/>
21352 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20330"/>
21353 </unix-def:file_test>
21354 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20331" version="1">
21355 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20331"/>
21356 </unix-def:runlevel_test>
21357 <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">
21358 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20332"/>
21359 </lin-def:rpminfo_test>
21360 <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">
21361 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20333"/>
21362 </ind-def:textfilecontent54_test>
21363 <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">
21364 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20334"/>
21365 </ind-def:textfilecontent54_test>
21366 <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">
21367 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20335"/>
21368 </ind-def:textfilecontent54_test>
21369 <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">
21370 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20336"/>
21371 </ind-def:textfilecontent54_test>
21372 <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">
21373 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20337"/>
21374 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20337"/>
21375 </ind-def:textfilecontent54_test>
21376 <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">
21377 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20338"/>
21378 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20338"/>
21379 </ind-def:textfilecontent54_test>
21380 <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">
21381 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20339"/>
21382 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20339"/>
21383 </ind-def:textfilecontent54_test>
21384 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20340" version="1">
21385 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20340"/>
21386 </unix-def:runlevel_test>
21387 <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">
21388 <ind-def:object object_ref="oval:org.open-scap.f14:obj:203403"/>
21389 </ind-def:textfilecontent54_test>
21390 <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">
21391 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2034010"/>
21392 </ind-def:textfilecontent54_test>
21393 <!-- <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"> -->
21394 <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">
21395 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340111"/>
21396 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
21397 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
21398 </ind-def:textfilecontent54_test>
21399 <!-- <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"> -->
21400 <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">
21401 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340112"/>
21402 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
21403 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
21404 </ind-def:textfilecontent54_test>
21405 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20341" version="1">
21406 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20341"/>
21407 </unix-def:runlevel_test>
21408 <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">
21409 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20342"/>
21410 </lin-def:rpminfo_test>
21411 <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">
21412 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20343"/>
21413 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20343"/>
21414 </ind-def:textfilecontent54_test>
21415 <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">
21416 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20344"/>
21417 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20344"/>
21418 </ind-def:textfilecontent54_test>
21419 <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">
21420 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20345"/>
21421 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20345"/>
21422 </ind-def:textfilecontent54_test>
21423 <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">
21424 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20346"/>
21425 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20346"/>
21426 </ind-def:textfilecontent54_test>
21427 <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">
21428 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20347"/>
21429 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20347"/>
21430 </ind-def:textfilecontent54_test>
21431 <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">
21432 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20348"/>
21433 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20348"/>
21434 </ind-def:textfilecontent54_test>
21435 <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">
21436 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20349"/>
21437 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20349"/>
21438 </ind-def:textfilecontent54_test>
21439 <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">
21440 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20350"/>
21441 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20350"/>
21442 </ind-def:textfilecontent54_test>
21443 <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">
21444 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20351"/>
21445 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20351"/>
21446 </ind-def:textfilecontent54_test>
21447 <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">
21448 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20352"/>
21449 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20352"/>
21450 </ind-def:textfilecontent54_test>
21451 <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">
21452 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20353"/>
21453 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20353"/>
21454 </ind-def:textfilecontent54_test>
21455 <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">
21456 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20354"/>
21457 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20354"/>
21458 </ind-def:textfilecontent54_test>
21459 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20365" version="1">
21460 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20365"/>
21461 </unix-def:runlevel_test>
21462 <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">
21463 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20366"/>
21464 </lin-def:rpminfo_test>
21465 </tests>
21466 <objects>
21467 <ind-def:textfilecontent54_object comment="look for the partition mount point in /etc/fstab" id="oval:org.open-scap.f14:obj:20000" version="1">
21468 <ind-def:path>/etc</ind-def:path>
21469 <ind-def:filename>fstab</ind-def:filename>
21470 <ind-def:pattern operation="pattern match">^[[:space:]]*[^[:space:]]+[[:space:]]+([^[:space:]]+)[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+</ind-def:pattern>
21471 <!-- <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+([\S]+)[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+</ind-def:pattern> -->
21472 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21473 </ind-def:textfilecontent54_object>
21474 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20009" version="1">
21475 <unix-def:path operation="pattern match">^/etc/cron\.(hourly|daily|weekly|monthly)$</unix-def:path>
21476 <unix-def:filename>0yum.cron</unix-def:filename>
21477 </unix-def:file_object>
21478 <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">
21479 <ind-def:path>/etc</ind-def:path>
21480 <ind-def:filename>yum.conf</ind-def:filename>
21481 <ind-def:pattern operation="pattern match">^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
21482 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21483 </ind-def:textfilecontent54_object>
21484 <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">
21485 <ind-def:path>/etc/yum.repos.d</ind-def:path>
21486 <ind-def:filename operation="pattern match">.*</ind-def:filename>
21487 <ind-def:pattern operation="pattern match">^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
21488 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21489 </ind-def:textfilecontent54_object>
21490 <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">
21491 <ind-def:path>/etc</ind-def:path>
21492 <ind-def:filename>yum.conf</ind-def:filename>
21493 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
21494 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21495 </ind-def:textfilecontent54_object>
21496 <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">
21497 <ind-def:path>/etc/yum.repos.d</ind-def:path>
21498 <ind-def:filename operation="pattern match">.*</ind-def:filename>
21499 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
21500 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21501 </ind-def:textfilecontent54_object>
21502 <ind-def:textfilecontent54_object comment="file systems defined in /etc/fstab" id="oval:org.open-scap.f14:obj:20016" version="1">
21503 <ind-def:path>/etc</ind-def:path>
21504 <ind-def:filename>fstab</ind-def:filename>
21505 <ind-def:pattern operation="pattern match">^[^#]*\/.+*ext[234]([^#]*)</ind-def:pattern>
21506 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21507 </ind-def:textfilecontent54_object>
21508 <ind-def:textfilecontent54_object comment="file systems defined in /etc/mtab" id="oval:org.open-scap.f14:obj:200162" version="1">
21509 <ind-def:path>/etc</ind-def:path>
21510 <ind-def:filename>mtab</ind-def:filename>
21511 <ind-def:pattern operation="pattern match">^[^#]*\/[^[:space:]]*ext[234]([^#])?</ind-def:pattern>
21512 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21513 </ind-def:textfilecontent54_object>
21514 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:10000" version="1">
21515 <lin-def:name>redhat-release</lin-def:name>
21516 </lin-def:rpminfo_object>
21517 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:200065" version="1">
21518 <lin-def:name>gpg-pubkey</lin-def:name>
21519 </lin-def:rpminfo_object>
21520 <ind-def:family_object id="oval:org.open-scap.f14:obj:10001" version="1"/>
21521 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20008" version="1">
21522 <unix-def:service_name>yum-updatesd</unix-def:service_name>
21523 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
21524 </unix-def:runlevel_object>
21525 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20014" version="1">
21526 <lin-def:name>aide</lin-def:name>
21527 </lin-def:rpminfo_object>
21528 <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">
21529 <ind-def:path>/etc/security/console.perms.d</ind-def:path>
21530 <ind-def:filename>50-default.perms</ind-def:filename>
21531 <ind-def:pattern operation="pattern match">^[\s]*(&lt;console&gt;|&lt;xconsole&gt;)</ind-def:pattern>
21532 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21533 </ind-def:textfilecontent54_object>
21534 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/usb/storage/usb-storage.ko" id="oval:org.open-scap.f14:obj:20022" version="1">
21535 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/usb/storage</unix-def:path>
21536 <unix-def:filename>usb-storage.ko</unix-def:filename>
21537 </unix-def:file_object>
21538 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20023" version="1">
21539 <ind-def:path>/etc</ind-def:path>
21540 <ind-def:filename>grub.conf</ind-def:filename>
21541 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel[^#]nousb</ind-def:pattern>
21542 <ind-def:instance datatype="int">1</ind-def:instance>
21543 </ind-def:textfilecontent54_object>
21544 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20025" version="1">
21545 <unix-def:service_name>autofs</unix-def:service_name>
21546 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
21547 </unix-def:runlevel_object>
21548 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20026" version="1">
21549 <ind-def:path>/etc/gconf</ind-def:path>
21550 <ind-def:filename>gconf.xml.mandatory</ind-def:filename>
21551 <ind-def:xpath>/desktop/gnome/volume_manager/automount_(media)|(drives)</ind-def:xpath>
21552 </ind-def:xmlfilecontent_object>
21553 <ind-def:textfilecontent54_object comment="Check in /etc/modprobe.conf for modules being loaded" id="oval:org.open-scap.f14:obj:20027" version="1">
21554 <ind-def:path>/etc/modprobe.d</ind-def:path>
21555 <ind-def:filename>denylist.conf</ind-def:filename>
21556 <ind-def:pattern operation="pattern match">^[^#]*denylist[[:space:]]+([^#]*)$</ind-def:pattern>
21557 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21558 </ind-def:textfilecontent54_object>
21559 <unix-def:file_object comment="/etc/shadow" id="oval:org.open-scap.f14:obj:20034" version="1">
21560 <unix-def:path>/etc</unix-def:path>
21561 <unix-def:filename>shadow</unix-def:filename>
21562 </unix-def:file_object>
21563 <unix-def:file_object comment="/etc/group" id="oval:org.open-scap.f14:obj:20036" version="1">
21564 <unix-def:path>/etc</unix-def:path>
21565 <unix-def:filename>group</unix-def:filename>
21566 </unix-def:file_object>
21567 <unix-def:file_object comment="/etc/gshadow" id="oval:org.open-scap.f14:obj:20038" version="1">
21568 <unix-def:path>/etc</unix-def:path>
21569 <unix-def:filename>gshadow</unix-def:filename>
21570 </unix-def:file_object>
21571 <unix-def:file_object comment="/etc/passwd" id="oval:org.open-scap.f14:obj:20040" version="1">
21572 <unix-def:path>/etc</unix-def:path>
21573 <unix-def:filename>passwd</unix-def:filename>
21574 </unix-def:file_object>
21575 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200461" version="1">
21576 <set set_operator="UNION">
21577 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
21578 <filter>oval:org.open-scap.f14:ste:200462</filter>
21579 </set>
21580 </unix-def:file_object>
21581 <unix-def:file_object comment="all local directories" id="oval:org.open-scap.f14:obj:20046" version="1">
21582 <unix-def:behaviors recurse="directories" recurse_direction="down" recurse_file_system="local"/>
21583 <unix-def:path>/</unix-def:path>
21584 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
21585 </unix-def:file_object>
21586 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200471" version="1">
21587 <set set_operator="UNION">
21588 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21589 <filter>oval:org.open-scap.f14:ste:200471</filter>
21590 <filter>oval:org.open-scap.f14:ste:200472</filter>
21591 </set>
21592 </unix-def:file_object>
21593 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:20047" version="1">
21594 <unix-def:behaviors recurse="directories" recurse_direction="down" recurse_file_system="local"/>
21595 <unix-def:path>/</unix-def:path>
21596 <unix-def:filename operation="pattern match">.*</unix-def:filename>
21597 </unix-def:file_object>
21598 <unix-def:file_object comment="all local files with sgid bit set" id="oval:org.open-scap.f14:obj:20048" version="1">
21599 <set set_operator="UNION">
21600 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21601 <filter>oval:org.open-scap.f14:ste:200481</filter>
21602 <filter>oval:org.open-scap.f14:ste:200482</filter>
21603 <filter>oval:org.open-scap.f14:ste:200483</filter>
21604 <filter>oval:org.open-scap.f14:ste:200484</filter>
21605 <filter>oval:org.open-scap.f14:ste:200485</filter>
21606 <filter>oval:org.open-scap.f14:ste:200486</filter>
21607 <filter>oval:org.open-scap.f14:ste:200487</filter>
21608 <filter>oval:org.open-scap.f14:ste:200488</filter>
21609 </set>
21610 </unix-def:file_object>
21611 <unix-def:file_object comment="all local files with suid bit set" id="oval:org.open-scap.f14:obj:20049" version="1">
21612 <set set_operator="UNION">
21613 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21614 <filter>oval:org.open-scap.f14:ste:2004901</filter>
21615 <filter>oval:org.open-scap.f14:ste:2004902</filter>
21616 <filter>oval:org.open-scap.f14:ste:2004903</filter>
21617 <filter>oval:org.open-scap.f14:ste:2004904</filter>
21618 <filter>oval:org.open-scap.f14:ste:2004905</filter>
21619 <filter>oval:org.open-scap.f14:ste:2004906</filter>
21620 <filter>oval:org.open-scap.f14:ste:2004907</filter>
21621 <filter>oval:org.open-scap.f14:ste:2004908</filter>
21622 <filter>oval:org.open-scap.f14:ste:2004909</filter>
21623 <filter>oval:org.open-scap.f14:ste:2004910</filter>
21624 <filter>oval:org.open-scap.f14:ste:2004911</filter>
21625 <filter>oval:org.open-scap.f14:ste:2004912</filter>
21626 <filter>oval:org.open-scap.f14:ste:2004913</filter>
21627 <filter>oval:org.open-scap.f14:ste:2004914</filter>
21628 <filter>oval:org.open-scap.f14:ste:2004915</filter>
21629 <filter>oval:org.open-scap.f14:ste:2004916</filter>
21630 </set>
21631 </unix-def:file_object>
21632 <unix-def:file_object comment="all local files without a valid user assigned" id="oval:org.open-scap.f14:obj:20050" version="1">
21633 <set set_operator="UNION">
21634 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21635 <filter>oval:org.open-scap.f14:ste:20050</filter>
21636 </set>
21637 </unix-def:file_object>
21638 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200501" version="1">
21639 <ind-def:path>/etc</ind-def:path>
21640 <ind-def:filename>passwd</ind-def:filename>
21641 <ind-def:pattern operation="pattern match">^[^:]+:[^:]+:([[:digit:]]+):[[:digit:]]+:[^:]*:[^:]+:[^:]*</ind-def:pattern>
21642 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21643 </ind-def:textfilecontent54_object>
21644 <unix-def:file_object comment="all local files without a valid group assigned" id="oval:org.open-scap.f14:obj:20051" version="1">
21645 <set set_operator="UNION">
21646 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21647 <filter>oval:org.open-scap.f14:ste:20051</filter>
21648 </set>
21649 </unix-def:file_object>
21650 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200511" version="1">
21651 <ind-def:path>/etc</ind-def:path>
21652 <ind-def:filename>group</ind-def:filename>
21653 <ind-def:pattern operation="pattern match">^[^:]+:[^:]*:([[:digit:]]+):[^:]*</ind-def:pattern>
21654 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21655 </ind-def:textfilecontent54_object>
21656 <unix-def:file_object comment="world writable directories with uid not less than 500" id="oval:org.open-scap.f14:obj:20052" version="1">
21657 <set set_operator="UNION">
21658 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
21659 <filter>oval:org.open-scap.f14:ste:20052</filter>
21660 </set>
21661 </unix-def:file_object>
21662 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20053" version="1">
21663 <ind-def:path>/etc/rc.d/init.d</ind-def:path>
21664 <ind-def:filename>functions</ind-def:filename>
21665 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:digit:]]+).*</ind-def:pattern>
21666 <ind-def:instance datatype="int">1</ind-def:instance>
21667 </ind-def:textfilecontent54_object>
21668 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20055" version="1">
21669 <ind-def:path>/etc/security</ind-def:path>
21670 <ind-def:filename>limits.conf</ind-def:filename>
21671 <ind-def:pattern operation="pattern match">^[[:space:]]*\*[[:space:]]+hard[[:space:]]+core[[:space:]]+([[:digit:]]+)</ind-def:pattern>
21672 <ind-def:instance datatype="int">1</ind-def:instance>
21673 </ind-def:textfilecontent54_object>
21674 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20056" version="1">
21675 <ind-def:path>/proc/sys/fs</ind-def:path>
21676 <ind-def:filename>suid_dumpable</ind-def:filename>
21677 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
21678 <ind-def:instance datatype="int">1</ind-def:instance>
21679 </ind-def:textfilecontent54_object>
21680 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20058" version="1">
21681 <ind-def:path>/proc/sys/kernel</ind-def:path>
21682 <ind-def:filename>randomize_va_space</ind-def:filename>
21683 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
21684 <ind-def:instance datatype="int">1</ind-def:instance>
21685 </ind-def:textfilecontent54_object>
21686 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20057" version="1">
21687 <ind-def:path>/proc/sys/kernel</ind-def:path>
21688 <ind-def:filename>exec-shield</ind-def:filename>
21689 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
21690 <ind-def:instance datatype="int">1</ind-def:instance>
21691 </ind-def:textfilecontent54_object>
21692 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20061" version="1">
21693 <ind-def:path>/etc</ind-def:path>
21694 <ind-def:filename>securetty</ind-def:filename>
21695 <ind-def:pattern operation="pattern match">^[[:space:]]*tty[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
21696 <ind-def:instance datatype="int">1</ind-def:instance>
21697 </ind-def:textfilecontent54_object>
21698 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20062" version="1">
21699 <ind-def:path>/etc</ind-def:path>
21700 <ind-def:filename>securetty</ind-def:filename>
21701 <ind-def:pattern operation="pattern match">^[[:space:]]*vc\/[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
21702 <ind-def:instance datatype="int">1</ind-def:instance>
21703 </ind-def:textfilecontent54_object>
21704 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20063" version="1">
21705 <ind-def:path>/etc</ind-def:path>
21706 <ind-def:filename>securetty</ind-def:filename>
21707 <ind-def:pattern operation="pattern match">^[[:space:]]*console[[:space:]]*(#.*)?$</ind-def:pattern>
21708 <ind-def:instance datatype="int">1</ind-def:instance>
21709 </ind-def:textfilecontent54_object>
21710 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20064" version="1">
21711 <ind-def:path>/etc</ind-def:path>
21712 <ind-def:filename>securetty</ind-def:filename>
21713 <ind-def:pattern operation="pattern match">^[[:space:]]*ttyS[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
21714 <ind-def:instance datatype="int">1</ind-def:instance>
21715 </ind-def:textfilecontent54_object>
21716 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20065" version="1">
21717 <ind-def:path>/etc</ind-def:path>
21718 <ind-def:filename>group</ind-def:filename>
21719 <ind-def:pattern operation="pattern match">^[[:space:]]*wheel.*$</ind-def:pattern>
21720 <ind-def:instance datatype="int">1</ind-def:instance>
21721 </ind-def:textfilecontent54_object>
21722 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20066" version="1">
21723 <ind-def:path>/etc/pam.d</ind-def:path>
21724 <ind-def:filename>su</ind-def:filename>
21725 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_wheel\.so[[:space:]]+use_uid([[[:space:]]#].*)?$</ind-def:pattern>
21726 <ind-def:instance datatype="int">1</ind-def:instance>
21727 </ind-def:textfilecontent54_object>
21728 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20067" version="1">
21729 <ind-def:path>/etc</ind-def:path>
21730 <ind-def:filename>sudoers</ind-def:filename>
21731 <ind-def:pattern operation="pattern match">^[[:space:]]*%wheel[[:space:]]+ALL=\(ALL\)[[:space:]]+ALL</ind-def:pattern>
21732 <ind-def:instance datatype="int">1</ind-def:instance>
21733 </ind-def:textfilecontent54_object>
21734 <unix-def:password_object id="oval:org.open-scap.f14:obj:20068" version="1">
21735 <unix-def:username operation="not equal">root</unix-def:username>
21736 </unix-def:password_object>
21737 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20069" version="1">
21738 <ind-def:path>/etc</ind-def:path>
21739 <ind-def:filename>shadow</ind-def:filename>
21740 <ind-def:pattern operation="pattern match">^[^:]*::</ind-def:pattern>
21741 <ind-def:instance datatype="int">1</ind-def:instance>
21742 </ind-def:textfilecontent54_object>
21743 <unix-def:password_object id="oval:org.open-scap.f14:obj:200695" version="1">
21744 <unix-def:username operation="pattern match">.*</unix-def:username>
21745 </unix-def:password_object>
21746 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20070" version="1">
21747 <ind-def:path>/etc</ind-def:path>
21748 <ind-def:filename>passwd</ind-def:filename>
21749 <ind-def:pattern operation="pattern match">^([^:]+):[^:]*:0:.*</ind-def:pattern>
21750 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21751 </ind-def:textfilecontent54_object>
21752 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20071" version="1">
21753 <ind-def:path>/etc</ind-def:path>
21754 <ind-def:filename>login.defs</ind-def:filename>
21755 <ind-def:pattern operation="pattern match">^PASS_MIN_LEN[[:space:]]*(.*)</ind-def:pattern>
21756 <ind-def:instance datatype="int">1</ind-def:instance>
21757 </ind-def:textfilecontent54_object>
21758 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20072" version="1">
21759 <ind-def:path>/etc</ind-def:path>
21760 <ind-def:filename>login.defs</ind-def:filename>
21761 <ind-def:pattern operation="pattern match">^PASS_MIN_DAYS[[:space:]]*(.*)</ind-def:pattern>
21762 <ind-def:instance datatype="int">1</ind-def:instance>
21763 </ind-def:textfilecontent54_object>
21764 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20073" version="1">
21765 <ind-def:path>/etc</ind-def:path>
21766 <ind-def:filename>login.defs</ind-def:filename>
21767 <ind-def:pattern operation="pattern match">^PASS_MAX_DAYS[[:space:]]*(.*)</ind-def:pattern>
21768 <ind-def:instance datatype="int">1</ind-def:instance>
21769 </ind-def:textfilecontent54_object>
21770 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20074" version="1">
21771 <ind-def:path>/etc</ind-def:path>
21772 <ind-def:filename>login.defs</ind-def:filename>
21773 <ind-def:pattern operation="pattern match">^PASS_WARN_AGE[[:space:]]*(.*)</ind-def:pattern>
21774 <ind-def:instance datatype="int">1</ind-def:instance>
21775 </ind-def:textfilecontent54_object>
21776 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20075" version="1">
21777 <ind-def:path>/etc</ind-def:path>
21778 <ind-def:filename>passwd</ind-def:filename>
21779 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
21780 <ind-def:instance datatype="int">1</ind-def:instance>
21781 </ind-def:textfilecontent54_object>
21782 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20076" version="1">
21783 <ind-def:path>/etc</ind-def:path>
21784 <ind-def:filename>group</ind-def:filename>
21785 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
21786 <ind-def:instance datatype="int">1</ind-def:instance>
21787 </ind-def:textfilecontent54_object>
21788 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20077" version="1">
21789 <ind-def:path>/etc</ind-def:path>
21790 <ind-def:filename>passwd</ind-def:filename>
21791 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
21792 <ind-def:instance datatype="int">1</ind-def:instance>
21793 </ind-def:textfilecontent54_object>
21794 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200781" version="1">
21795 <ind-def:path>/etc/pam.d</ind-def:path>
21796 <ind-def:filename>system-auth</ind-def:filename>
21797 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*retry=([[:digit:]]+)</ind-def:pattern>
21798 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21799 </ind-def:textfilecontent54_object>
21800 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200782" version="1">
21801 <ind-def:path>/etc/pam.d</ind-def:path>
21802 <ind-def:filename>system-auth</ind-def:filename>
21803 <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>
21804 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21805 </ind-def:textfilecontent54_object>
21806 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200783" version="1">
21807 <ind-def:path>/etc/pam.d</ind-def:path>
21808 <ind-def:filename>system-auth</ind-def:filename>
21809 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*dcredit=([-]?[[:digit:]]+)</ind-def:pattern>
21810 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21811 </ind-def:textfilecontent54_object>
21812 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200784" version="1">
21813 <ind-def:path>/etc/pam.d</ind-def:path>
21814 <ind-def:filename>system-auth</ind-def:filename>
21815 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*ucredit=([-]?[[:digit:]]+)</ind-def:pattern>
21816 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21817 </ind-def:textfilecontent54_object>
21818 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200785" version="1">
21819 <ind-def:path>/etc/pam.d</ind-def:path>
21820 <ind-def:filename>system-auth</ind-def:filename>
21821 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*ocredit=([-]?[[:digit:]]+)</ind-def:pattern>
21822 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21823 </ind-def:textfilecontent54_object>
21824 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200786" version="1">
21825 <ind-def:path>/etc/pam.d</ind-def:path>
21826 <ind-def:filename>system-auth</ind-def:filename>
21827 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*lcredit=([-]?[[:digit:]]+)</ind-def:pattern>
21828 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21829 </ind-def:textfilecontent54_object>
21830 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200787" version="1">
21831 <ind-def:path>/etc/pam.d</ind-def:path>
21832 <ind-def:filename>system-auth</ind-def:filename>
21833 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*difok=([[:digit:]]+)</ind-def:pattern>
21834 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21835 </ind-def:textfilecontent54_object>
21836 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200800" version="1">
21837 <ind-def:var_ref>oval:org.open-scap.f14:var:200803</ind-def:var_ref>
21838 </ind-def:variable_object>
21839 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008011" version="1">
21840 <ind-def:path>/etc/pam.d</ind-def:path>
21841 <ind-def:filename>system-auth</ind-def:filename>
21842 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*deny=([[:digit:]]+)</ind-def:pattern>
21843 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21844 </ind-def:textfilecontent54_object>
21845 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008012" version="1">
21846 <ind-def:path>/etc/pam.d</ind-def:path>
21847 <ind-def:filename>system-auth</ind-def:filename>
21848 <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>
21849 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21850 </ind-def:textfilecontent54_object>
21851 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008013" version="1">
21852 <ind-def:path>/etc/pam.d</ind-def:path>
21853 <ind-def:filename>system-auth</ind-def:filename>
21854 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*unlock_time=([[:digit:]]+)</ind-def:pattern>
21855 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21856 </ind-def:textfilecontent54_object>
21857 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200803" version="1">
21858 <ind-def:path>/etc/pam.d</ind-def:path>
21859 <ind-def:filename>system-auth</ind-def:filename>
21860 <ind-def:pattern operation="pattern match">^[[:space:]]*account[[:space:]]+required[[:space:]]+pam_tally2\.so$</ind-def:pattern>
21861 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21862 </ind-def:textfilecontent54_object>
21863 <unix-def:file_object comment="/usr/sbin/userhelper" id="oval:org.open-scap.f14:obj:20081" version="1">
21864 <unix-def:path>/usr/sbin</unix-def:path>
21865 <unix-def:filename>userhelper</unix-def:filename>
21866 </unix-def:file_object>
21867 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200831" version="1">
21868 <ind-def:var_ref>oval:org.open-scap.f14:var:20083</ind-def:var_ref>
21869 </ind-def:variable_object>
21870 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200832" version="1">
21871 <ind-def:path>/etc</ind-def:path>
21872 <ind-def:filename>login.defs</ind-def:filename>
21873 <ind-def:pattern operation="pattern match">^MD5_CRYPT_ENAB[[:space:]]+(yes|no)</ind-def:pattern>
21874 <ind-def:instance datatype="int">1</ind-def:instance>
21875 </ind-def:textfilecontent54_object>
21876 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200833" version="1">
21877 <ind-def:path>/etc</ind-def:path>
21878 <ind-def:filename>login.defs</ind-def:filename>
21879 <ind-def:pattern operation="pattern match">^ENCRYPT_METHOD[[:space:]]+(MD5|SHA256|SHA512)</ind-def:pattern>
21880 <ind-def:instance datatype="int">1</ind-def:instance>
21881 </ind-def:textfilecontent54_object>
21882 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200834" version="1">
21883 <ind-def:path>/etc/pam.d</ind-def:path>
21884 <ind-def:filename>system-auth</ind-def:filename>
21885 <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>
21886 <ind-def:instance datatype="int">1</ind-def:instance>
21887 </ind-def:textfilecontent54_object>
21888 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200835" version="1">
21889 <ind-def:path>/etc</ind-def:path>
21890 <ind-def:filename>libuser.conf</ind-def:filename>
21891 <ind-def:pattern operation="pattern match">^crypt_style[[:space:]]+\=[[:space:]]+(sha256|sha512)</ind-def:pattern>
21892 <ind-def:instance datatype="int">1</ind-def:instance>
21893 </ind-def:textfilecontent54_object>
21894 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200841" version="1">
21895 <ind-def:var_ref>oval:org.open-scap.f14:var:20084</ind-def:var_ref>
21896 </ind-def:variable_object>
21897 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200842" version="1">
21898 <ind-def:path>/etc/pam.d</ind-def:path>
21899 <ind-def:filename>system-auth</ind-def:filename>
21900 <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>
21901 <ind-def:instance datatype="int">1</ind-def:instance>
21902 </ind-def:textfilecontent54_object>
21903 <ind-def:environmentvariable_object id="oval:org.open-scap.f14:obj:20085" version="1">
21904 <ind-def:name>PATH</ind-def:name>
21905 </ind-def:environmentvariable_object>
21906 <unix-def:file_object comment="root's PATH filtered" id="oval:org.open-scap.f14:obj:2008551" version="1">
21907 <set set_operator="UNION">
21908 <object_reference>oval:org.open-scap.f14:obj:200855</object_reference>
21909 <filter>oval:org.open-scap.f14:ste:2008551</filter>
21910 </set>
21911 </unix-def:file_object>
21912 <unix-def:file_object comment="root's PATH" id="oval:org.open-scap.f14:obj:200855" version="1">
21913 <unix-def:path var_check="at least one" var_ref="oval:org.open-scap.f14:var:200855"/>
21914 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
21915 </unix-def:file_object>
21916 <unix-def:file_object comment="/home/*" id="oval:org.open-scap.f14:obj:20086" version="1">
21917 <unix-def:behaviors max_depth="1" recurse="directories" recurse_direction="down"/>
21918 <unix-def:path>/home</unix-def:path>
21919 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
21920 </unix-def:file_object>
21921 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20087" version="1">
21922 <ind-def:path>/etc</ind-def:path>
21923 <ind-def:filename>bashrc</ind-def:filename>
21924 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
21925 <ind-def:instance datatype="int">1</ind-def:instance>
21926 </ind-def:textfilecontent54_object>
21927 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20088" version="1">
21928 <ind-def:path>/etc</ind-def:path>
21929 <ind-def:filename>csh.cshrc</ind-def:filename>
21930 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
21931 <ind-def:instance datatype="int">1</ind-def:instance>
21932 </ind-def:textfilecontent54_object>
21933 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20092" version="1">
21934 <unix-def:path>/boot/grub</unix-def:path>
21935 <unix-def:filename>grub.conf</unix-def:filename>
21936 </unix-def:file_object>
21937 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20094" version="1">
21938 <unix-def:path>/boot/grub</unix-def:path>
21939 <unix-def:filename>grub.conf</unix-def:filename>
21940 </unix-def:file_object>
21941 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20095" version="1">
21942 <ind-def:path>/boot/grub</ind-def:path>
21943 <ind-def:filename>grub.conf</ind-def:filename>
21944 <ind-def:pattern operation="pattern match">password[[:space:]]+--md5[[:space:]]+.*</ind-def:pattern>
21945 <ind-def:instance datatype="int">1</ind-def:instance>
21946 </ind-def:textfilecontent54_object>
21947 <unix-def:file_object comment="/etc/grub.conf" id="oval:org.open-scap.f14:obj:20093" version="1">
21948 <unix-def:path>/etc</unix-def:path>
21949 <unix-def:filename>grub.conf</unix-def:filename>
21950 </unix-def:file_object>
21951 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:73" version="1">
21952 <ind-def:path>/etc</ind-def:path>
21953 <ind-def:filename>inittab</ind-def:filename>
21954 <ind-def:pattern operation="pattern match">~~:S:wait:/sbin/sulogin</ind-def:pattern>
21955 <ind-def:instance datatype="int">1</ind-def:instance>
21956 </ind-def:textfilecontent54_object>
21957 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20096" version="1">
21958 <ind-def:path>/etc/sysconfig</ind-def:path>
21959 <ind-def:filename>init</ind-def:filename>
21960 <ind-def:pattern operation="pattern match">PROMPT[\s]*=[\s]*([^#]*)</ind-def:pattern>
21961 <ind-def:instance datatype="int">1</ind-def:instance>
21962 </ind-def:textfilecontent54_object>
21963 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20098" version="1">
21964 <ind-def:path>/etc/profile.d</ind-def:path>
21965 <ind-def:filename>autologout.csh</ind-def:filename>
21966 <ind-def:pattern operation="pattern match">^[\s]*set[\s]+-r[\s]+autologout[\s]+([^#]*)</ind-def:pattern>
21967 <ind-def:instance datatype="int">1</ind-def:instance>
21968 </ind-def:textfilecontent54_object>
21969 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20100" version="1">
21970 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21971 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21972 <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>
21973 </ind-def:xmlfilecontent_object>
21974 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201005" version="1">
21975 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21976 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21977 <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>
21978 </ind-def:xmlfilecontent_object>
21979 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201006" version="1">
21980 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21981 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21982 <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>
21983 </ind-def:xmlfilecontent_object>
21984 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201007" version="1">
21985 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21986 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21987 <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>
21988 </ind-def:xmlfilecontent_object>
21989 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20101" version="1">
21990 <lin-def:name>vlock</lin-def:name>
21991 </lin-def:rpminfo_object>
21992 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20102" version="1">
21993 <ind-def:path>/etc</ind-def:path>
21994 <ind-def:filename>issue</ind-def:filename>
21995 <ind-def:pattern operation="pattern match">(.*)</ind-def:pattern>
21996 <ind-def:instance datatype="int">1</ind-def:instance>
21997 </ind-def:textfilecontent54_object>
21998 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20103" version="1">
21999 <ind-def:path>/usr/share/gdm/themes/RHEL</ind-def:path>
22000 <ind-def:filename>RHEL.xml</ind-def:filename>
22001 <ind-def:xpath>/greeter/item[@id='banner']/box[1]/item[@id='DOD_Banner']/text[1]</ind-def:xpath>
22002 </ind-def:xmlfilecontent_object>
22003 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20104" version="1">
22004 <ind-def:path>/etc</ind-def:path>
22005 <ind-def:filename>grub.conf</ind-def:filename>
22006 <ind-def:pattern operation="pattern match">[[:space:]]selinux=([^[:space:]]*)</ind-def:pattern>
22007 <ind-def:instance datatype="int">1</ind-def:instance>
22008 </ind-def:textfilecontent54_object>
22009 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20105" version="1">
22010 <ind-def:path>/etc</ind-def:path>
22011 <ind-def:filename>grub.conf</ind-def:filename>
22012 <ind-def:pattern operation="pattern match">[[:space:]]enforcing=([^[:space:]]*)</ind-def:pattern>
22013 <ind-def:instance datatype="int">1</ind-def:instance>
22014 </ind-def:textfilecontent54_object>
22015 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20106" version="1">
22016 <ind-def:path>/etc/selinux</ind-def:path>
22017 <ind-def:filename>config</ind-def:filename>
22018 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUX[[:space:]]*=[[:space:]]*([[:alnum:]]*)</ind-def:pattern>
22019 <ind-def:instance datatype="int">1</ind-def:instance>
22020 </ind-def:textfilecontent54_object>
22021 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20107" version="1">
22022 <ind-def:path>/etc/selinux</ind-def:path>
22023 <ind-def:filename>config</ind-def:filename>
22024 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUXTYPE[[:space:]]*=[[:space:]]*([[:alnum:]]*)</ind-def:pattern>
22025 <ind-def:instance datatype="int">1</ind-def:instance>
22026 </ind-def:textfilecontent54_object>
22027 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20109" version="1">
22028 <unix-def:service_name>setroubleshoot</unix-def:service_name>
22029 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22030 </unix-def:runlevel_object>
22031 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20108" version="1">
22032 <lin-def:name>setroubleshoot</lin-def:name>
22033 </lin-def:rpminfo_object>
22034 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20110" version="1">
22035 <unix-def:service_name>mcstrans</unix-def:service_name>
22036 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22037 </unix-def:runlevel_object>
22038 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20111" version="1">
22039 <unix-def:service_name>restorecond</unix-def:service_name>
22040 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22041 </unix-def:runlevel_object>
22042 <!-- EDIT -->
22043 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201120" version="1">
22044 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22045 <ind-def:filename>send_redirects</ind-def:filename>
22046 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22047 <ind-def:instance datatype="int">1</ind-def:instance>
22048 </ind-def:textfilecontent54_object>
22049 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201121" version="1">
22050 <ind-def:path>/etc</ind-def:path>
22051 <ind-def:filename>sysctl.conf</ind-def:filename>
22052 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.send_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22053 <ind-def:instance datatype="int">1</ind-def:instance>
22054 </ind-def:textfilecontent54_object>
22055 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201130" version="1">
22056 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22057 <ind-def:filename>send_redirects</ind-def:filename>
22058 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22059 <ind-def:instance datatype="int">1</ind-def:instance>
22060 </ind-def:textfilecontent54_object>
22061 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201131" version="1">
22062 <ind-def:path>/etc</ind-def:path>
22063 <ind-def:filename>sysctl.conf</ind-def:filename>
22064 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.send_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22065 <ind-def:instance datatype="int">1</ind-def:instance>
22066 </ind-def:textfilecontent54_object>
22067 <!-- ^^^ ok ^^^ -->
22068 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201140" version="1">
22069 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22070 <ind-def:filename>ip_forward</ind-def:filename>
22071 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22072 <ind-def:instance datatype="int">1</ind-def:instance>
22073 </ind-def:textfilecontent54_object>
22074 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201141" version="1">
22075 <ind-def:path>/etc</ind-def:path>
22076 <ind-def:filename>sysctl.conf</ind-def:filename>
22077 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.ip_forward[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22078 <ind-def:instance datatype="int">1</ind-def:instance>
22079 </ind-def:textfilecontent54_object>
22080 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201150" version="1">
22081 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22082 <ind-def:filename>accept_source_route</ind-def:filename>
22083 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22084 <ind-def:instance datatype="int">1</ind-def:instance>
22085 </ind-def:textfilecontent54_object>
22086 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201151" version="1">
22087 <ind-def:path>/etc</ind-def:path>
22088 <ind-def:filename>sysctl.conf</ind-def:filename>
22089 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.accept_source_route[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22090 <ind-def:instance datatype="int">1</ind-def:instance>
22091 </ind-def:textfilecontent54_object>
22092 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201160" version="1">
22093 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22094 <ind-def:filename>accept_redirects</ind-def:filename>
22095 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22096 <ind-def:instance datatype="int">1</ind-def:instance>
22097 </ind-def:textfilecontent54_object>
22098 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201161" version="1">
22099 <ind-def:path>/etc</ind-def:path>
22100 <ind-def:filename>sysctl.conf</ind-def:filename>
22101 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.accept_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22102 <ind-def:instance datatype="int">1</ind-def:instance>
22103 </ind-def:textfilecontent54_object>
22104 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201170" version="1">
22105 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22106 <ind-def:filename>secure_redirects</ind-def:filename>
22107 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22108 <ind-def:instance datatype="int">1</ind-def:instance>
22109 </ind-def:textfilecontent54_object>
22110 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201171" version="1">
22111 <ind-def:path>/etc</ind-def:path>
22112 <ind-def:filename>sysctl.conf</ind-def:filename>
22113 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.secure_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22114 <ind-def:instance datatype="int">1</ind-def:instance>
22115 </ind-def:textfilecontent54_object>
22116 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201180" version="1">
22117 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22118 <ind-def:filename>log_martians</ind-def:filename>
22119 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22120 <ind-def:instance datatype="int">1</ind-def:instance>
22121 </ind-def:textfilecontent54_object>
22122 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201181" version="1">
22123 <ind-def:path>/etc</ind-def:path>
22124 <ind-def:filename>sysctl.conf</ind-def:filename>
22125 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.log_martians[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22126 <ind-def:instance datatype="int">1</ind-def:instance>
22127 </ind-def:textfilecontent54_object>
22128 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201190" version="1">
22129 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22130 <ind-def:filename>accept_source_route</ind-def:filename>
22131 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22132 <ind-def:instance datatype="int">1</ind-def:instance>
22133 </ind-def:textfilecontent54_object>
22134 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201191" version="1">
22135 <ind-def:path>/etc</ind-def:path>
22136 <ind-def:filename>sysctl.conf</ind-def:filename>
22137 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.accept_source_route[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22138 <ind-def:instance datatype="int">1</ind-def:instance>
22139 </ind-def:textfilecontent54_object>
22140 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201200" version="1">
22141 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22142 <ind-def:filename>accept_redirects</ind-def:filename>
22143 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22144 <ind-def:instance datatype="int">1</ind-def:instance>
22145 </ind-def:textfilecontent54_object>
22146 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201201" version="1">
22147 <ind-def:path>/etc</ind-def:path>
22148 <ind-def:filename>sysctl.conf</ind-def:filename>
22149 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.accept_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22150 <ind-def:instance datatype="int">1</ind-def:instance>
22151 </ind-def:textfilecontent54_object>
22152 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201210" version="1">
22153 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22154 <ind-def:filename>secure_redirects</ind-def:filename>
22155 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22156 <ind-def:instance datatype="int">1</ind-def:instance>
22157 </ind-def:textfilecontent54_object>
22158 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201211" version="1">
22159 <ind-def:path>/etc</ind-def:path>
22160 <ind-def:filename>sysctl.conf</ind-def:filename>
22161 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.secure_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22162 <ind-def:instance datatype="int">1</ind-def:instance>
22163 </ind-def:textfilecontent54_object>
22164 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201220" version="1">
22165 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22166 <ind-def:filename>icmp_echo_ignore_broadcasts</ind-def:filename>
22167 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22168 <ind-def:instance datatype="int">1</ind-def:instance>
22169 </ind-def:textfilecontent54_object>
22170 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201221" version="1">
22171 <ind-def:path>/etc</ind-def:path>
22172 <ind-def:filename>sysctl.conf</ind-def:filename>
22173 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.icmp_echo_ignore_broadcasts[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22174 <ind-def:instance datatype="int">1</ind-def:instance>
22175 </ind-def:textfilecontent54_object>
22176 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201230" version="1">
22177 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22178 <ind-def:filename>icmp_ignore_bogus_error_responses</ind-def:filename>
22179 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22180 <ind-def:instance datatype="int">1</ind-def:instance>
22181 </ind-def:textfilecontent54_object>
22182 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201231" version="1">
22183 <ind-def:path>/etc</ind-def:path>
22184 <ind-def:filename>sysctl.conf</ind-def:filename>
22185 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.icmp_ignore_bogus_error_responses[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22186 <ind-def:instance datatype="int">1</ind-def:instance>
22187 </ind-def:textfilecontent54_object>
22188 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201240" version="1">
22189 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22190 <ind-def:filename>tcp_syncookies</ind-def:filename>
22191 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22192 <ind-def:instance datatype="int">1</ind-def:instance>
22193 </ind-def:textfilecontent54_object>
22194 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201241" version="1">
22195 <ind-def:path>/etc</ind-def:path>
22196 <ind-def:filename>sysctl.conf</ind-def:filename>
22197 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.tcp_syncookies[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22198 <ind-def:instance datatype="int">1</ind-def:instance>
22199 </ind-def:textfilecontent54_object>
22200 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201250" version="1">
22201 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22202 <ind-def:filename>rp_filter</ind-def:filename>
22203 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22204 <ind-def:instance datatype="int">1</ind-def:instance>
22205 </ind-def:textfilecontent54_object>
22206 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201251" version="1">
22207 <ind-def:path>/etc</ind-def:path>
22208 <ind-def:filename>sysctl.conf</ind-def:filename>
22209 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.rp_filter[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22210 <ind-def:instance datatype="int">1</ind-def:instance>
22211 </ind-def:textfilecontent54_object>
22212 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201260" version="1">
22213 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22214 <ind-def:filename>rp_filter</ind-def:filename>
22215 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22216 <ind-def:instance datatype="int">1</ind-def:instance>
22217 </ind-def:textfilecontent54_object>
22218 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201261" version="1">
22219 <ind-def:path>/etc</ind-def:path>
22220 <ind-def:filename>sysctl.conf</ind-def:filename>
22221 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.rp_filter[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22222 <ind-def:instance datatype="int">1</ind-def:instance>
22223 </ind-def:textfilecontent54_object>
22224 <!-- ^^^ ok ^^^ -->
22225 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20128" version="1">
22226 <ind-def:path>/proc/net</ind-def:path>
22227 <ind-def:filename>wireless</ind-def:filename>
22228 <ind-def:pattern operation="pattern match">^[[:space:]]*([^[:space:]]*):.*</ind-def:pattern>
22229 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22230 </ind-def:textfilecontent54_object>
22231 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/net/wireless" id="oval:org.open-scap.f14:obj:20129" version="1">
22232 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/net/wireless$</unix-def:path>
22233 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22234 </unix-def:file_object>
22235 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20130" version="1">
22236 <ind-def:path>/etc/modprobe.d</ind-def:path>
22237 <ind-def:filename>dist.conf</ind-def:filename>
22238 <ind-def:pattern operation="pattern match">^[[:space:]]*alias[[:space:]]+net-pf-10[[:space:]]+off[[:space:]]*(#.*)?$</ind-def:pattern>
22239 <ind-def:instance datatype="int">1</ind-def:instance>
22240 </ind-def:textfilecontent54_object>
22241 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20132" version="1">
22242 <ind-def:path>/etc/sysconfig</ind-def:path>
22243 <ind-def:filename>network</ind-def:filename>
22244 <ind-def:pattern operation="pattern match">^[[:space:]]*NETWORKING_IPV6[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22245 <ind-def:instance datatype="int">1</ind-def:instance>
22246 </ind-def:textfilecontent54_object>
22247 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20133" version="1">
22248 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
22249 <ind-def:filename operation="pattern match">ifcfg-.*</ind-def:filename>
22250 <ind-def:pattern operation="pattern match">^[[:space:]]*NETWORKING_IPV6[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22251 <ind-def:instance datatype="int">1</ind-def:instance>
22252 </ind-def:textfilecontent54_object>
22253 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20131" version="1">
22254 <ind-def:path>/etc/sysconfig</ind-def:path>
22255 <ind-def:filename>network</ind-def:filename>
22256 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22257 <ind-def:instance datatype="int">1</ind-def:instance>
22258 </ind-def:textfilecontent54_object>
22259 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20134" version="1">
22260 <ind-def:path>/etc/sysconfig</ind-def:path>
22261 <ind-def:filename>network</ind-def:filename>
22262 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22263 <ind-def:instance datatype="int">1</ind-def:instance>
22264 </ind-def:textfilecontent54_object>
22265 <!-- sysctl -->
22266 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201400" version="1">
22267 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22268 <ind-def:filename>accept_ra_rtr_pref</ind-def:filename>
22269 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22270 <ind-def:instance datatype="int">1</ind-def:instance>
22271 </ind-def:textfilecontent54_object>
22272 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201401" version="1">
22273 <ind-def:path>/etc</ind-def:path>
22274 <ind-def:filename>sysctl.conf</ind-def:filename>
22275 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_rtr_pref[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22276 <ind-def:instance datatype="int">1</ind-def:instance>
22277 </ind-def:textfilecontent54_object>
22278 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201450" version="1">
22279 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22280 <ind-def:filename>max_addresses</ind-def:filename>
22281 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22282 <ind-def:instance datatype="int">1</ind-def:instance>
22283 </ind-def:textfilecontent54_object>
22284 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201451" version="1">
22285 <ind-def:path>/etc</ind-def:path>
22286 <ind-def:filename>sysctl.conf</ind-def:filename>
22287 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.max_addresses[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22288 <ind-def:instance datatype="int">1</ind-def:instance>
22289 </ind-def:textfilecontent54_object>
22290 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201390" version="1">
22291 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22292 <ind-def:filename>router_solicitations</ind-def:filename>
22293 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22294 <ind-def:instance datatype="int">1</ind-def:instance>
22295 </ind-def:textfilecontent54_object>
22296 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201391" version="1">
22297 <ind-def:path>/etc</ind-def:path>
22298 <ind-def:filename>sysctl.conf</ind-def:filename>
22299 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.router_solicitations[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22300 <ind-def:instance datatype="int">1</ind-def:instance>
22301 </ind-def:textfilecontent54_object>
22302 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201440" version="1">
22303 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22304 <ind-def:filename>dad_transmits</ind-def:filename>
22305 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22306 <ind-def:instance datatype="int">1</ind-def:instance>
22307 </ind-def:textfilecontent54_object>
22308 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201441" version="1">
22309 <ind-def:path>/etc</ind-def:path>
22310 <ind-def:filename>sysctl.conf</ind-def:filename>
22311 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.dad_transmits[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22312 <ind-def:instance datatype="int">1</ind-def:instance>
22313 </ind-def:textfilecontent54_object>
22314 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201430" version="1">
22315 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22316 <ind-def:filename>autoconf</ind-def:filename>
22317 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22318 <ind-def:instance datatype="int">1</ind-def:instance>
22319 </ind-def:textfilecontent54_object>
22320 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201431" version="1">
22321 <ind-def:path>/etc</ind-def:path>
22322 <ind-def:filename>sysctl.conf</ind-def:filename>
22323 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.autoconf[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22324 <ind-def:instance datatype="int">1</ind-def:instance>
22325 </ind-def:textfilecontent54_object>
22326 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201410" version="1">
22327 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22328 <ind-def:filename>accept_ra_pinfo</ind-def:filename>
22329 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22330 <ind-def:instance datatype="int">1</ind-def:instance>
22331 </ind-def:textfilecontent54_object>
22332 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201411" version="1">
22333 <ind-def:path>/etc</ind-def:path>
22334 <ind-def:filename>sysctl.conf</ind-def:filename>
22335 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_pinfo[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22336 <ind-def:instance datatype="int">1</ind-def:instance>
22337 </ind-def:textfilecontent54_object>
22338 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201420" version="1">
22339 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22340 <ind-def:filename>accept_ra_defrtr</ind-def:filename>
22341 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22342 <ind-def:instance datatype="int">1</ind-def:instance>
22343 </ind-def:textfilecontent54_object>
22344 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201421" version="1">
22345 <ind-def:path>/etc</ind-def:path>
22346 <ind-def:filename>sysctl.conf</ind-def:filename>
22347 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_defrtr[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22348 <ind-def:instance datatype="int">1</ind-def:instance>
22349 </ind-def:textfilecontent54_object>
22350 <!-- non-sysctl -->
22351 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20146" version="1">
22352 <unix-def:service_name>ip6tables</unix-def:service_name>
22353 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22354 </unix-def:runlevel_object>
22355 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20147" version="1">
22356 <unix-def:service_name>iptables</unix-def:service_name>
22357 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22358 </unix-def:runlevel_object>
22359 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014741" version="1">
22360 <ind-def:path>/etc/sysconfig</ind-def:path>
22361 <ind-def:filename>iptables</ind-def:filename>
22362 <ind-def:pattern operation="pattern match">^[[:space:]]*:INPUT[:space:]DROP[:space:]\[0:0\]</ind-def:pattern>
22363 <ind-def:instance datatype="int">1</ind-def:instance>
22364 </ind-def:textfilecontent54_object>
22365 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014742" version="1">
22366 <ind-def:path>/etc/sysconfig</ind-def:path>
22367 <ind-def:filename>iptables</ind-def:filename>
22368 <ind-def:pattern operation="pattern match">^[[:space:]]*:INPUT[:space:]ACCEPT[:space:]\[0:0\]</ind-def:pattern>
22369 <ind-def:instance datatype="int">1</ind-def:instance>
22370 </ind-def:textfilecontent54_object>
22371 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014751" version="1">
22372 <ind-def:path>/etc/sysconfig</ind-def:path>
22373 <ind-def:filename>iptables</ind-def:filename>
22374 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]DROP[:space:]\[0:0\]</ind-def:pattern>
22375 <ind-def:instance datatype="int">1</ind-def:instance>
22376 </ind-def:textfilecontent54_object>
22377 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014752" version="1">
22378 <ind-def:path>/etc/sysconfig</ind-def:path>
22379 <ind-def:filename>iptables</ind-def:filename>
22380 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]ACCEPT[:space:]\[0:0\]</ind-def:pattern>
22381 <ind-def:instance datatype="int">1</ind-def:instance>
22382 </ind-def:textfilecontent54_object>
22383 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201476" version="1">
22384 <ind-def:path>/etc/modprobe.d</ind-def:path>
22385 <ind-def:filename>dist.conf</ind-def:filename>
22386 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+DCCP[[:space:]]+/bin/true</ind-def:pattern>
22387 <ind-def:instance datatype="int">1</ind-def:instance>
22388 </ind-def:textfilecontent54_object>
22389 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201477" version="1">
22390 <ind-def:path>/etc/modprobe.d</ind-def:path>
22391 <ind-def:filename>dist.conf</ind-def:filename>
22392 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+SCTP[[:space:]]+/bin/true</ind-def:pattern>
22393 <ind-def:instance datatype="int">1</ind-def:instance>
22394 </ind-def:textfilecontent54_object>
22395 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201478" version="1">
22396 <ind-def:path>/etc/modprobe.d</ind-def:path>
22397 <ind-def:filename>dist.conf</ind-def:filename>
22398 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+RDS[[:space:]]+/bin/true</ind-def:pattern>
22399 <ind-def:instance datatype="int">1</ind-def:instance>
22400 </ind-def:textfilecontent54_object>
22401 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201479" version="1">
22402 <ind-def:path>/etc/modprobe.d</ind-def:path>
22403 <ind-def:filename>dist.conf</ind-def:filename>
22404 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+TIPC[[:space:]]+/bin/true</ind-def:pattern>
22405 <ind-def:instance datatype="int">1</ind-def:instance>
22406 </ind-def:textfilecontent54_object>
22407 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20148" version="1">
22408 <unix-def:service_name>rsyslog</unix-def:service_name>
22409 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22410 </unix-def:runlevel_object>
22411 <ind-def:textfilecontent54_object comment="paths in /etc/syslog.conf" id="oval:org.open-scap.f14:obj:201490" version="1">
22412 <ind-def:path>/etc</ind-def:path>
22413 <ind-def:filename>rsyslog.conf</ind-def:filename>
22414 <ind-def:pattern operation="pattern match">^[^\#][[:space:]]*[^[:space:]]+\.[^[:space:]]+[[:space:]]+[\-]?([^[:space:]]+)</ind-def:pattern>
22415 <ind-def:instance datatype="int">1</ind-def:instance>
22416 </ind-def:textfilecontent54_object>
22417 <unix-def:file_object comment="Mandatory log files" id="oval:org.open-scap.f14:obj:201491" version="1">
22418 <unix-def:behaviors max_depth="4" recurse="directories" recurse_direction="down"/>
22419 <unix-def:path>/var/log</unix-def:path>
22420 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"/>
22421 </unix-def:file_object>
22422 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20152" version="1">
22423 <ind-def:path>/etc</ind-def:path>
22424 <ind-def:filename>rsyslog.conf</ind-def:filename>
22425 <ind-def:pattern operation="pattern match">^[^#]*\*\.\*[[:space:]]+@</ind-def:pattern>
22426 <ind-def:instance datatype="int">1</ind-def:instance>
22427 </ind-def:textfilecontent54_object>
22428 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20153" version="1">
22429 <ind-def:path>/etc/sysconfig</ind-def:path>
22430 <ind-def:filename>rsyslog</ind-def:filename>
22431 <ind-def:pattern operation="pattern match">SYSLOGD_OPTIONS[[:space:]]*=[[:space:]]*.*-r.*</ind-def:pattern>
22432 <ind-def:instance datatype="int">1</ind-def:instance>
22433 </ind-def:textfilecontent54_object>
22434 <!--
22435 <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">
22436 <ind-def:path>/etc/logrotate.d</ind-def:path>
22437 <ind-def:filename>syslog</ind-def:filename>
22438 <ind-def:pattern operation="pattern match" var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"></ind-def:pattern>
22439 <ind-def:instance datatype="int">1</ind-def:instance>
22440 </ind-def:textfilecontent54_object>
22441 -->
22442 <!-- END -->
22443 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20156" version="1">
22444 <unix-def:service_name>auditd</unix-def:service_name>
22445 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22446 </unix-def:runlevel_object>
22447 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20157" version="1">
22448 <ind-def:path>/etc</ind-def:path>
22449 <ind-def:filename>grub.conf</ind-def:filename>
22450 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel.+[[:space:]]audit=1</ind-def:pattern>
22451 <ind-def:instance datatype="int">1</ind-def:instance>
22452 </ind-def:textfilecontent54_object>
22453 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015750" version="1">
22454 <ind-def:path>/etc/audit</ind-def:path>
22455 <ind-def:filename>audit.rules</ind-def:filename>
22456 <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>
22457 <ind-def:instance datatype="int">1</ind-def:instance>
22458 </ind-def:textfilecontent54_object>
22459 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015751" version="1">
22460 <ind-def:path>/etc/audit</ind-def:path>
22461 <ind-def:filename>audit.rules</ind-def:filename>
22462 <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>
22463 <ind-def:instance datatype="int">1</ind-def:instance>
22464 </ind-def:textfilecontent54_object>
22465 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015752" version="1">
22466 <ind-def:path>/etc/audit</ind-def:path>
22467 <ind-def:filename>audit.rules</ind-def:filename>
22468 <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>
22469 <ind-def:instance datatype="int">1</ind-def:instance>
22470 </ind-def:textfilecontent54_object>
22471 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015753" version="1">
22472 <ind-def:path>/etc/audit</ind-def:path>
22473 <ind-def:filename>audit.rules</ind-def:filename>
22474 <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>
22475 <ind-def:instance datatype="int">1</ind-def:instance>
22476 </ind-def:textfilecontent54_object>
22477 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015754" version="1">
22478 <ind-def:path>/etc/audit</ind-def:path>
22479 <ind-def:filename>audit.rules</ind-def:filename>
22480 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/localtime[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]time\-change$</ind-def:pattern>
22481 <ind-def:instance datatype="int">1</ind-def:instance>
22482 </ind-def:textfilecontent54_object>
22483 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201580" version="1">
22484 <ind-def:path>/etc/audit</ind-def:path>
22485 <ind-def:filename>audit.rules</ind-def:filename>
22486 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/group[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
22487 <ind-def:instance datatype="int">1</ind-def:instance>
22488 </ind-def:textfilecontent54_object>
22489 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201581" version="1">
22490 <ind-def:path>/etc/audit</ind-def:path>
22491 <ind-def:filename>audit.rules</ind-def:filename>
22492 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/passwd[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
22493 <ind-def:instance datatype="int">1</ind-def:instance>
22494 </ind-def:textfilecontent54_object>
22495 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201582" version="1">
22496 <ind-def:path>/etc/audit</ind-def:path>
22497 <ind-def:filename>audit.rules</ind-def:filename>
22498 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/gshadow[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
22499 <ind-def:instance datatype="int">1</ind-def:instance>
22500 </ind-def:textfilecontent54_object>
22501 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201583" version="1">
22502 <ind-def:path>/etc/audit</ind-def:path>
22503 <ind-def:filename>audit.rules</ind-def:filename>
22504 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/shadow[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
22505 <ind-def:instance datatype="int">1</ind-def:instance>
22506 </ind-def:textfilecontent54_object>
22507 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201584" version="1">
22508 <ind-def:path>/etc/audit</ind-def:path>
22509 <ind-def:filename>audit.rules</ind-def:filename>
22510 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/security/opasswd[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
22511 <ind-def:instance datatype="int">1</ind-def:instance>
22512 </ind-def:textfilecontent54_object>
22513 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201590" version="1">
22514 <ind-def:path>/etc/audit</ind-def:path>
22515 <ind-def:filename>audit.rules</ind-def:filename>
22516 <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>
22517 <ind-def:instance datatype="int">1</ind-def:instance>
22518 </ind-def:textfilecontent54_object>
22519 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201591" version="1">
22520 <ind-def:path>/etc/audit</ind-def:path>
22521 <ind-def:filename>audit.rules</ind-def:filename>
22522 <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>
22523 <ind-def:instance datatype="int">1</ind-def:instance>
22524 </ind-def:textfilecontent54_object>
22525 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201592" version="1">
22526 <ind-def:path>/etc/audit</ind-def:path>
22527 <ind-def:filename>audit.rules</ind-def:filename>
22528 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/issue[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
22529 <ind-def:instance datatype="int">1</ind-def:instance>
22530 </ind-def:textfilecontent54_object>
22531 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201593" version="1">
22532 <ind-def:path>/etc/audit</ind-def:path>
22533 <ind-def:filename>audit.rules</ind-def:filename>
22534 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/issue\.net[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
22535 <ind-def:instance datatype="int">1</ind-def:instance>
22536 </ind-def:textfilecontent54_object>
22537 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201594" version="1">
22538 <ind-def:path>/etc/audit</ind-def:path>
22539 <ind-def:filename>audit.rules</ind-def:filename>
22540 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/hosts[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
22541 <ind-def:instance datatype="int">1</ind-def:instance>
22542 </ind-def:textfilecontent54_object>
22543 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201595" version="1">
22544 <ind-def:path>/etc/audit</ind-def:path>
22545 <ind-def:filename>audit.rules</ind-def:filename>
22546 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/sysconfig/network[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
22547 <ind-def:instance datatype="int">1</ind-def:instance>
22548 </ind-def:textfilecontent54_object>
22549 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20160" version="1">
22550 <ind-def:path>/etc/audit</ind-def:path>
22551 <ind-def:filename>audit.rules</ind-def:filename>
22552 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/selinux/[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]MAC\-policy$</ind-def:pattern>
22553 <ind-def:instance datatype="int">1</ind-def:instance>
22554 </ind-def:textfilecontent54_object>
22555 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201610" version="1">
22556 <ind-def:path>/etc/audit</ind-def:path>
22557 <ind-def:filename>audit.rules</ind-def:filename>
22558 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/faillog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</ind-def:pattern>
22559 <ind-def:instance datatype="int">1</ind-def:instance>
22560 </ind-def:textfilecontent54_object>
22561 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201611" version="1">
22562 <ind-def:path>/etc/audit</ind-def:path>
22563 <ind-def:filename>audit.rules</ind-def:filename>
22564 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/lastlog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</ind-def:pattern>
22565 <ind-def:instance datatype="int">1</ind-def:instance>
22566 </ind-def:textfilecontent54_object>
22567 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201620" version="1">
22568 <ind-def:path>/etc/audit</ind-def:path>
22569 <ind-def:filename>audit.rules</ind-def:filename>
22570 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/run/utmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
22571 <ind-def:instance datatype="int">1</ind-def:instance>
22572 </ind-def:textfilecontent54_object>
22573 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201621" version="1">
22574 <ind-def:path>/etc/audit</ind-def:path>
22575 <ind-def:filename>audit.rules</ind-def:filename>
22576 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/btmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
22577 <ind-def:instance datatype="int">1</ind-def:instance>
22578 </ind-def:textfilecontent54_object>
22579 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201622" version="1">
22580 <ind-def:path>/etc/audit</ind-def:path>
22581 <ind-def:filename>audit.rules</ind-def:filename>
22582 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/wtmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
22583 <ind-def:instance datatype="int">1</ind-def:instance>
22584 </ind-def:textfilecontent54_object>
22585 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201630" version="1">
22586 <ind-def:path>/etc/audit</ind-def:path>
22587 <ind-def:filename>audit.rules</ind-def:filename>
22588 <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>
22589 <ind-def:instance datatype="int">1</ind-def:instance>
22590 </ind-def:textfilecontent54_object>
22591 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201631" version="1">
22592 <ind-def:path>/etc/audit</ind-def:path>
22593 <ind-def:filename>audit.rules</ind-def:filename>
22594 <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>
22595 <ind-def:instance datatype="int">1</ind-def:instance>
22596 </ind-def:textfilecontent54_object>
22597 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201632" version="1">
22598 <ind-def:path>/etc/audit</ind-def:path>
22599 <ind-def:filename>audit.rules</ind-def:filename>
22600 <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>
22601 <ind-def:instance datatype="int">1</ind-def:instance>
22602 </ind-def:textfilecontent54_object>
22603 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201633" version="1">
22604 <ind-def:path>/etc/audit</ind-def:path>
22605 <ind-def:filename>audit.rules</ind-def:filename>
22606 <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>
22607 <ind-def:instance datatype="int">1</ind-def:instance>
22608 </ind-def:textfilecontent54_object>
22609 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201634" version="1">
22610 <ind-def:path>/etc/audit</ind-def:path>
22611 <ind-def:filename>audit.rules</ind-def:filename>
22612 <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>
22613 <ind-def:instance datatype="int">1</ind-def:instance>
22614 </ind-def:textfilecontent54_object>
22615 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201635" version="1">
22616 <ind-def:path>/etc/audit</ind-def:path>
22617 <ind-def:filename>audit.rules</ind-def:filename>
22618 <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>
22619 <ind-def:instance datatype="int">1</ind-def:instance>
22620 </ind-def:textfilecontent54_object>
22621 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201640" version="1">
22622 <ind-def:path>/etc/audit</ind-def:path>
22623 <ind-def:filename>audit.rules</ind-def:filename>
22624 <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>
22625 <ind-def:instance datatype="int">1</ind-def:instance>
22626 </ind-def:textfilecontent54_object>
22627 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201641" version="1">
22628 <ind-def:path>/etc/audit</ind-def:path>
22629 <ind-def:filename>audit.rules</ind-def:filename>
22630 <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>
22631 <ind-def:instance datatype="int">1</ind-def:instance>
22632 </ind-def:textfilecontent54_object>
22633 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201642" version="1">
22634 <ind-def:path>/etc/audit</ind-def:path>
22635 <ind-def:filename>audit.rules</ind-def:filename>
22636 <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>
22637 <ind-def:instance datatype="int">1</ind-def:instance>
22638 </ind-def:textfilecontent54_object>
22639 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201643" version="1">
22640 <ind-def:path>/etc/audit</ind-def:path>
22641 <ind-def:filename>audit.rules</ind-def:filename>
22642 <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>
22643 <ind-def:instance datatype="int">1</ind-def:instance>
22644 </ind-def:textfilecontent54_object>
22645 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20165" version="1">
22646 <ind-def:path>/etc/audit</ind-def:path>
22647 <ind-def:filename>audit.rules</ind-def:filename>
22648 <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>
22649 <ind-def:instance datatype="int">1</ind-def:instance>
22650 </ind-def:textfilecontent54_object>
22651 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201660" version="1">
22652 <ind-def:path>/etc/audit</ind-def:path>
22653 <ind-def:filename>audit.rules</ind-def:filename>
22654 <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>
22655 <ind-def:instance datatype="int">1</ind-def:instance>
22656 </ind-def:textfilecontent54_object>
22657 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201661" version="1">
22658 <ind-def:path>/etc/audit</ind-def:path>
22659 <ind-def:filename>audit.rules</ind-def:filename>
22660 <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>
22661 <ind-def:instance datatype="int">1</ind-def:instance>
22662 </ind-def:textfilecontent54_object>
22663 <unix-def:uname_object id="oval:org.open-scap.f14:obj:201670" version="1"/>
22664 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201671" version="1">
22665 <ind-def:path>/etc/audit</ind-def:path>
22666 <ind-def:filename>audit.rules</ind-def:filename>
22667 <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>
22668 <ind-def:instance datatype="int">1</ind-def:instance>
22669 </ind-def:textfilecontent54_object>
22670 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201673" version="1">
22671 <ind-def:path>/etc/audit</ind-def:path>
22672 <ind-def:filename>audit.rules</ind-def:filename>
22673 <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>
22674 <ind-def:instance datatype="int">1</ind-def:instance>
22675 </ind-def:textfilecontent54_object>
22676 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20168" version="1">
22677 <ind-def:path>/etc/audit</ind-def:path>
22678 <ind-def:filename>audit.rules</ind-def:filename>
22679 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/sudoers[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]actions</ind-def:pattern>
22680 <ind-def:instance datatype="int">1</ind-def:instance>
22681 </ind-def:textfilecontent54_object>
22682 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016851" version="1">
22683 <ind-def:path>/etc/audit</ind-def:path>
22684 <ind-def:filename>audit.rules</ind-def:filename>
22685 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/insmod[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
22686 <ind-def:instance datatype="int">1</ind-def:instance>
22687 </ind-def:textfilecontent54_object>
22688 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016852" version="1">
22689 <ind-def:path>/etc/audit</ind-def:path>
22690 <ind-def:filename>audit.rules</ind-def:filename>
22691 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/rmmod[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
22692 <ind-def:instance datatype="int">1</ind-def:instance>
22693 </ind-def:textfilecontent54_object>
22694 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016853" version="1">
22695 <ind-def:path>/etc/audit</ind-def:path>
22696 <ind-def:filename>audit.rules</ind-def:filename>
22697 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/modprobe[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
22698 <ind-def:instance datatype="int">1</ind-def:instance>
22699 </ind-def:textfilecontent54_object>
22700 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016854" version="1">
22701 <ind-def:path>/etc/audit</ind-def:path>
22702 <ind-def:filename>audit.rules</ind-def:filename>
22703 <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>
22704 <ind-def:instance datatype="int">1</ind-def:instance>
22705 </ind-def:textfilecontent54_object>
22706 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201745" version="1">
22707 <ind-def:path>/etc/xinetd.d</ind-def:path>
22708 <ind-def:filename>telnet</ind-def:filename>
22709 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
22710 <ind-def:instance datatype="int">1</ind-def:instance>
22711 </ind-def:textfilecontent54_object>
22712 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201774" version="1">
22713 <ind-def:path>/etc/xinetd.d</ind-def:path>
22714 <ind-def:filename>rcp</ind-def:filename>
22715 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
22716 <ind-def:instance datatype="int">1</ind-def:instance>
22717 </ind-def:textfilecontent54_object>
22718 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201775" version="1">
22719 <ind-def:path>/etc/xinetd.d</ind-def:path>
22720 <ind-def:filename>rsh</ind-def:filename>
22721 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
22722 <ind-def:instance datatype="int">1</ind-def:instance>
22723 </ind-def:textfilecontent54_object>
22724 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201776" version="1">
22725 <ind-def:path>/etc/xinetd.d</ind-def:path>
22726 <ind-def:filename>rlogin</ind-def:filename>
22727 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
22728 <ind-def:instance datatype="int">1</ind-def:instance>
22729 </ind-def:textfilecontent54_object>
22730 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201825" version="1">
22731 <ind-def:path>/etc/xinetd.d</ind-def:path>
22732 <ind-def:filename>tftp</ind-def:filename>
22733 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
22734 <ind-def:instance datatype="int">1</ind-def:instance>
22735 </ind-def:textfilecontent54_object>
22736 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20178" version="1">
22737 <ind-def:path>/etc/pam.d</ind-def:path>
22738 <ind-def:filename operation="pattern match">.*</ind-def:filename>
22739 <ind-def:pattern operation="pattern match">^[[:space:]]*.*pam_rhosts</ind-def:pattern>
22740 <ind-def:instance datatype="int">1</ind-def:instance>
22741 </ind-def:textfilecontent54_object>
22742 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20169" version="1">
22743 <ind-def:path>/etc/audit</ind-def:path>
22744 <ind-def:filename>audit.rules</ind-def:filename>
22745 <ind-def:pattern operation="pattern match">^\-e[[:space:]]2</ind-def:pattern>
22746 <ind-def:instance datatype="int">1</ind-def:instance>
22747 </ind-def:textfilecontent54_object>
22748 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20170" version="1">
22749 <unix-def:service_name>inetd</unix-def:service_name>
22750 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22751 </unix-def:runlevel_object>
22752 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20171" version="1">
22753 <unix-def:service_name>xinetd</unix-def:service_name>
22754 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22755 </unix-def:runlevel_object>
22756 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20179" version="1">
22757 <lin-def:name>rsh</lin-def:name>
22758 </lin-def:rpminfo_object>
22759 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20172" version="1">
22760 <lin-def:name>inetd</lin-def:name>
22761 </lin-def:rpminfo_object>
22762 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20173" version="1">
22763 <lin-def:name>xinetd</lin-def:name>
22764 </lin-def:rpminfo_object>
22765 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20174" version="1">
22766 <lin-def:name>telnet-server</lin-def:name>
22767 </lin-def:rpminfo_object>
22768 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20175" version="1">
22769 <lin-def:name>telnet</lin-def:name>
22770 </lin-def:rpminfo_object>
22771 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20176" version="1">
22772 <lin-def:name>krb5-workstation</lin-def:name>
22773 </lin-def:rpminfo_object>
22774 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20177" version="1">
22775 <lin-def:name>rsh-server</lin-def:name>
22776 </lin-def:rpminfo_object>
22777 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20181" version="1">
22778 <unix-def:service_name>ypbind</unix-def:service_name>
22779 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22780 </unix-def:runlevel_object>
22781 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20180" version="1">
22782 <lin-def:name>ypserv</lin-def:name>
22783 </lin-def:rpminfo_object>
22784 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20182" version="1">
22785 <lin-def:name>tftp-server</lin-def:name>
22786 </lin-def:rpminfo_object>
22787 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20183" version="1">
22788 <unix-def:service_name>firstboot</unix-def:service_name>
22789 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22790 </unix-def:runlevel_object>
22791 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20184" version="1">
22792 <unix-def:service_name>gpm</unix-def:service_name>
22793 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22794 </unix-def:runlevel_object>
22795 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20185" version="1">
22796 <unix-def:service_name>irqbalance</unix-def:service_name>
22797 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22798 </unix-def:runlevel_object>
22799 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20186" version="1">
22800 <unix-def:service_name>isdn</unix-def:service_name>
22801 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22802 </unix-def:runlevel_object>
22803 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20187" version="1">
22804 <unix-def:service_name>kdump</unix-def:service_name>
22805 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22806 </unix-def:runlevel_object>
22807 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20188" version="1">
22808 <unix-def:service_name>kudzu</unix-def:service_name>
22809 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22810 </unix-def:runlevel_object>
22811 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20189" version="1">
22812 <unix-def:service_name>mdmonitor</unix-def:service_name>
22813 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22814 </unix-def:runlevel_object>
22815 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20190" version="1">
22816 <unix-def:service_name>microcode_ctl</unix-def:service_name>
22817 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22818 </unix-def:runlevel_object>
22819 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20191" version="1">
22820 <unix-def:service_name>network</unix-def:service_name>
22821 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22822 </unix-def:runlevel_object>
22823 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20192" version="1">
22824 <unix-def:path>/etc/sysconfig/network-scripts</unix-def:path>
22825 <unix-def:filename operation="pattern match">ifcfg-[^l][^o].*</unix-def:filename>
22826 </unix-def:file_object>
22827 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20193" version="1">
22828 <ind-def:path>/etc/sysconfig</ind-def:path>
22829 <ind-def:filename>network</ind-def:filename>
22830 <ind-def:pattern operation="pattern match">^[:space:]*NOZEROCONF=yes</ind-def:pattern>
22831 <ind-def:instance datatype="int">1</ind-def:instance>
22832 </ind-def:textfilecontent54_object>
22833 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20194" version="1">
22834 <unix-def:service_name>pcscd</unix-def:service_name>
22835 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22836 </unix-def:runlevel_object>
22837 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20195" version="1">
22838 <unix-def:service_name>smartd</unix-def:service_name>
22839 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22840 </unix-def:runlevel_object>
22841 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20196" version="1">
22842 <unix-def:service_name>readahead_early</unix-def:service_name>
22843 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22844 </unix-def:runlevel_object>
22845 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20197" version="1">
22846 <unix-def:service_name>readahead_later</unix-def:service_name>
22847 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22848 </unix-def:runlevel_object>
22849 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20198" version="1">
22850 <unix-def:service_name>messagebus</unix-def:service_name>
22851 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22852 </unix-def:runlevel_object>
22853 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20199" version="1">
22854 <unix-def:service_name>haldaemon</unix-def:service_name>
22855 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22856 </unix-def:runlevel_object>
22857 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20200" version="1">
22858 <unix-def:service_name>bluetooth</unix-def:service_name>
22859 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22860 </unix-def:runlevel_object>
22861 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20201" version="1">
22862 <unix-def:service_name>hidd</unix-def:service_name>
22863 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22864 </unix-def:runlevel_object>
22865 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2020151" version="1">
22866 <ind-def:path>/etc/modprobe.d</ind-def:path>
22867 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
22868 <ind-def:pattern operation="pattern match">alias[:space:]net\-pf\-31[:space:]off</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:2020152" version="1">
22872 <ind-def:path>/etc/modprobe.d</ind-def:path>
22873 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
22874 <ind-def:pattern operation="pattern match">alias[:space:]bluetooth[:space:]off</ind-def:pattern>
22875 <ind-def:instance datatype="int">1</ind-def:instance>
22876 </ind-def:textfilecontent54_object>
22877 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20202" version="1">
22878 <unix-def:service_name>apmd</unix-def:service_name>
22879 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22880 </unix-def:runlevel_object>
22881 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20203" version="1">
22882 <unix-def:service_name>acpid</unix-def:service_name>
22883 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22884 </unix-def:runlevel_object>
22885 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20204" version="1">
22886 <unix-def:service_name>cpuspeed</unix-def:service_name>
22887 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22888 </unix-def:runlevel_object>
22889 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20205" version="1">
22890 <unix-def:service_name>crond</unix-def:service_name>
22891 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22892 </unix-def:runlevel_object>
22893 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:202052" version="1">
22894 <unix-def:service_name>atd</unix-def:service_name>
22895 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22896 </unix-def:runlevel_object>
22897 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:202053" version="1">
22898 <lin-def:name>at</lin-def:name>
22899 </lin-def:rpminfo_object>
22900 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20206" version="1">
22901 <unix-def:service_name>anacron</unix-def:service_name>
22902 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22903 </unix-def:runlevel_object>
22904 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20207" version="1">
22905 <lin-def:name>cronie-anacron</lin-def:name>
22906 </lin-def:rpminfo_object>
22907 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20217" version="1">
22908 <unix-def:path>/etc/cron.monthly</unix-def:path>
22909 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22910 </unix-def:file_object>
22911 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20225" version="1">
22912 <unix-def:path>/etc/cron.daily</unix-def:path>
22913 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22914 </unix-def:file_object>
22915 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20216" version="1">
22916 <unix-def:path>/etc/cron.weekly</unix-def:path>
22917 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22918 </unix-def:file_object>
22919 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20209" version="1">
22920 <unix-def:path>/etc</unix-def:path>
22921 <unix-def:filename>crontab</unix-def:filename>
22922 </unix-def:file_object>
22923 <unix-def:password_object id="oval:org.open-scap.f14:obj:202091" version="1">
22924 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20209"/>
22925 </unix-def:password_object>
22926 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20212" version="1">
22927 <unix-def:path>/etc</unix-def:path>
22928 <unix-def:filename>anacrontab</unix-def:filename>
22929 </unix-def:file_object>
22930 <unix-def:password_object id="oval:org.open-scap.f14:obj:202121" version="1">
22931 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20212"/>
22932 </unix-def:password_object>
22933 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20210" version="1">
22934 <unix-def:path>/etc</unix-def:path>
22935 <unix-def:filename>crontab</unix-def:filename>
22936 </unix-def:file_object>
22937 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20214" version="1">
22938 <unix-def:path>/etc/cron.hourly</unix-def:path>
22939 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22940 </unix-def:file_object>
22941 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20222" version="1">
22942 <unix-def:path>/etc/cron.monthly</unix-def:path>
22943 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22944 </unix-def:file_object>
22945 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20218" version="1">
22946 <unix-def:behaviors recurse="symlinks and directories"/>
22947 <unix-def:path>/etc/cron.d</unix-def:path>
22948 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22949 </unix-def:file_object>
22950 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20223" version="1">
22951 <unix-def:behaviors recurse="symlinks and directories"/>
22952 <unix-def:path>/etc/cron.d</unix-def:path>
22953 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22954 </unix-def:file_object>
22955 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20221" version="1">
22956 <unix-def:path>/etc/cron.weekly</unix-def:path>
22957 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22958 </unix-def:file_object>
22959 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20211" version="1">
22960 <unix-def:path>/etc</unix-def:path>
22961 <unix-def:filename>anacrontab</unix-def:filename>
22962 </unix-def:file_object>
22963 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20224" version="1">
22964 <unix-def:path>/etc/cron.hourly</unix-def:path>
22965 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22966 </unix-def:file_object>
22967 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20219" version="1">
22968 <unix-def:path>/etc/cron.hourly</unix-def:path>
22969 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22970 </unix-def:file_object>
22971 <unix-def:password_object id="oval:org.open-scap.f14:obj:202191" version="1">
22972 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20219"/>
22973 </unix-def:password_object>
22974 <unix-def:password_object id="oval:org.open-scap.f14:obj:2014911" version="1">
22975 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20149"/>
22976 </unix-def:password_object>
22977 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20208" version="1">
22978 <unix-def:path>/etc</unix-def:path>
22979 <unix-def:filename>crontab</unix-def:filename>
22980 </unix-def:file_object>
22981 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20220" version="1">
22982 <unix-def:path>/etc/cron.daily</unix-def:path>
22983 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22984 </unix-def:file_object>
22985 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20213" version="1">
22986 <unix-def:path>/etc</unix-def:path>
22987 <unix-def:filename>anacrontab</unix-def:filename>
22988 </unix-def:file_object>
22989 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20226" version="1">
22990 <unix-def:path>/etc/cron.weekly</unix-def:path>
22991 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22992 </unix-def:file_object>
22993 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20227" version="1">
22994 <unix-def:path>/etc/cron.monthly</unix-def:path>
22995 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22996 </unix-def:file_object>
22997 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20215" version="1">
22998 <unix-def:path>/etc/cron.daily</unix-def:path>
22999 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23000 </unix-def:file_object>
23001 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20228" version="1">
23002 <unix-def:behaviors recurse="symlinks and directories"/>
23003 <unix-def:path>/etc/cron.d</unix-def:path>
23004 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23005 </unix-def:file_object>
23006 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20229" version="1">
23007 <unix-def:path>/var/spool/cron</unix-def:path>
23008 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23009 </unix-def:file_object>
23010 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20232" version="1">
23011 <unix-def:path>/etc</unix-def:path>
23012 <unix-def:filename>cron.deny</unix-def:filename>
23013 </unix-def:file_object>
23014 <unix-def:file_object comment="/etc/at.deny" id="oval:org.open-scap.f14:obj:20233" version="1">
23015 <unix-def:path>/etc</unix-def:path>
23016 <unix-def:filename>at.deny</unix-def:filename>
23017 </unix-def:file_object>
23018 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20234" version="1">
23019 <unix-def:service_name>sshd</unix-def:service_name>
23020 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23021 </unix-def:runlevel_object>
23022 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20235" version="1">
23023 <lin-def:name>openssh-server</lin-def:name>
23024 </lin-def:rpminfo_object>
23025 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20236" version="1">
23026 <ind-def:path>/etc/sysconfig</ind-def:path>
23027 <ind-def:filename>iptables</ind-def:filename>
23028 <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>
23029 <ind-def:instance datatype="int">1</ind-def:instance>
23030 </ind-def:textfilecontent54_object>
23031 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20237" version="1">
23032 <ind-def:path>/etc/sysconfig</ind-def:path>
23033 <ind-def:filename>ip6tables</ind-def:filename>
23034 <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>
23035 <ind-def:instance datatype="int">1</ind-def:instance>
23036 </ind-def:textfilecontent54_object>
23037 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20238" version="1">
23038 <ind-def:path>/etc/ssh</ind-def:path>
23039 <ind-def:filename>sshd_config</ind-def:filename>
23040 <ind-def:pattern operation="pattern match">^[[:space:]]*Protocol[[:space:]](2)</ind-def:pattern>
23041 <ind-def:instance datatype="int">1</ind-def:instance>
23042 </ind-def:textfilecontent54_object>
23043 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20239" version="1">
23044 <ind-def:path>/etc/ssh</ind-def:path>
23045 <ind-def:filename>sshd_config</ind-def:filename>
23046 <ind-def:pattern operation="pattern match">^[[:space:]]*ClientAliveInterval[[:space:]]*([[:digit:]]+)</ind-def:pattern>
23047 <ind-def:instance datatype="int">1</ind-def:instance>
23048 </ind-def:textfilecontent54_object>
23049 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20240" version="1">
23050 <ind-def:path>/etc/ssh</ind-def:path>
23051 <ind-def:filename>sshd_config</ind-def:filename>
23052 <ind-def:pattern operation="pattern match">^[[:space:]]*ClientAliveCountMax[[:space:]]*([[:digit:]]+)</ind-def:pattern>
23053 <ind-def:instance datatype="int">1</ind-def:instance>
23054 </ind-def:textfilecontent54_object>
23055 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20241" version="1">
23056 <ind-def:path>/etc/ssh</ind-def:path>
23057 <ind-def:filename>sshd_config</ind-def:filename>
23058 <ind-def:pattern operation="pattern match">^[[:space:]]*IgnoreRhosts[[:space:]]*yes</ind-def:pattern>
23059 <ind-def:instance datatype="int">1</ind-def:instance>
23060 </ind-def:textfilecontent54_object>
23061 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20242" version="1">
23062 <ind-def:path>/etc/ssh</ind-def:path>
23063 <ind-def:filename>sshd_config</ind-def:filename>
23064 <ind-def:pattern operation="pattern match">^[[:space:]]*HostbasedAuthentication[[:space:]]*no</ind-def:pattern>
23065 <ind-def:instance datatype="int">1</ind-def:instance>
23066 </ind-def:textfilecontent54_object>
23067 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20243" version="1">
23068 <ind-def:path>/etc/ssh</ind-def:path>
23069 <ind-def:filename>sshd_config</ind-def:filename>
23070 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitRootLogin[[:space:]]*no</ind-def:pattern>
23071 <ind-def:instance datatype="int">1</ind-def:instance>
23072 </ind-def:textfilecontent54_object>
23073 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20244" version="1">
23074 <ind-def:path>/etc/ssh</ind-def:path>
23075 <ind-def:filename>sshd_config</ind-def:filename>
23076 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitEmptyPasswords[[:space:]]*no</ind-def:pattern>
23077 <ind-def:instance datatype="int">1</ind-def:instance>
23078 </ind-def:textfilecontent54_object>
23079 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20245" version="1">
23080 <ind-def:path>/etc/ssh</ind-def:path>
23081 <ind-def:filename>sshd_config</ind-def:filename>
23082 <ind-def:pattern operation="pattern match">^[[:space:]]*Banner[[:space:]]+/etc/issue$</ind-def:pattern>
23083 <ind-def:instance datatype="int">1</ind-def:instance>
23084 </ind-def:textfilecontent54_object>
23085 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202455" version="1">
23086 <ind-def:path>/etc/ssh</ind-def:path>
23087 <ind-def:filename>sshd_config</ind-def:filename>
23088 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitUserEnvironment[[:space:]]+no</ind-def:pattern>
23089 <ind-def:instance datatype="int">1</ind-def:instance>
23090 </ind-def:textfilecontent54_object>
23091 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202456" version="1">
23092 <ind-def:path>/etc/ssh</ind-def:path>
23093 <ind-def:filename>sshd_config</ind-def:filename>
23094 <ind-def:pattern operation="pattern match">^[[:space:]]*Ciphers[[:space:]]+([^ \t\r\n\v\f]+)</ind-def:pattern>
23095 <ind-def:instance datatype="int">1</ind-def:instance>
23096 </ind-def:textfilecontent54_object>
23097 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20246" version="1">
23098 <ind-def:path>/etc</ind-def:path>
23099 <ind-def:filename>inittab</ind-def:filename>
23100 <ind-def:pattern operation="pattern match">^[\s]*id:([^:]*):initdefault:</ind-def:pattern>
23101 <ind-def:instance datatype="int">1</ind-def:instance>
23102 </ind-def:textfilecontent54_object>
23103 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20248" version="1">
23104 <ind-def:path>/etc/X11/xinit</ind-def:path>
23105 <ind-def:filename>xserverrc</ind-def:filename>
23106 <ind-def:pattern operation="pattern match">^[\s]*exec\sX\s:0\s\-nolisten\stcp\s\$@</ind-def:pattern>
23107 <ind-def:instance datatype="int">1</ind-def:instance>
23108 </ind-def:textfilecontent54_object>
23109 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20249" version="1">
23110 <ind-def:path>/etc/gdm</ind-def:path>
23111 <ind-def:filename>custom.conf</ind-def:filename>
23112 <ind-def:pattern operation="pattern match">^[\s]*InfoMsgFile[\s]*=[\s]*/etc/issue</ind-def:pattern>
23113 <ind-def:instance datatype="int">1</ind-def:instance>
23114 </ind-def:textfilecontent54_object>
23115 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20250" version="1">
23116 <unix-def:service_name>avahi-daemon</unix-def:service_name>
23117 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23118 </unix-def:runlevel_object>
23119 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20253" version="1">
23120 <ind-def:path>/etc/avahi</ind-def:path>
23121 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23122 <ind-def:pattern operation="pattern match">check-response-ttl[\s]*=[\s]*([^#]*)</ind-def:pattern>
23123 <ind-def:instance datatype="int">1</ind-def:instance>
23124 </ind-def:textfilecontent54_object>
23125 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20254" version="1">
23126 <ind-def:path>/etc/avahi</ind-def:path>
23127 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23128 <ind-def:pattern operation="pattern match">disallow-other-stacks[\s]*=[\s]*([^#]*)</ind-def:pattern>
23129 <ind-def:instance datatype="int">1</ind-def:instance>
23130 </ind-def:textfilecontent54_object>
23131 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20255" version="1">
23132 <ind-def:path>/etc/avahi</ind-def:path>
23133 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23134 <ind-def:pattern operation="pattern match">disable-publishing[\s]*=[\s]*([^#]*)</ind-def:pattern>
23135 <ind-def:instance datatype="int">1</ind-def:instance>
23136 </ind-def:textfilecontent54_object>
23137 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20256" version="1">
23138 <ind-def:path>/etc/avahi</ind-def:path>
23139 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23140 <ind-def:pattern operation="pattern match">disable-user-service-publishing[\s]*=[\s]*([^#]*)</ind-def:pattern>
23141 <ind-def:instance datatype="int">1</ind-def:instance>
23142 </ind-def:textfilecontent54_object>
23143 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20257" version="1">
23144 <ind-def:path>/etc/avahi</ind-def:path>
23145 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23146 <ind-def:pattern operation="pattern match">publish-hinfo[\s]*=[\s]*([^#]*)</ind-def:pattern>
23147 <ind-def:instance datatype="int">1</ind-def:instance>
23148 </ind-def:textfilecontent54_object>
23149 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20258" version="1">
23150 <ind-def:path>/etc/avahi</ind-def:path>
23151 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23152 <ind-def:pattern operation="pattern match">publish-workstation[\s]*=[\s]*([^#]*)</ind-def:pattern>
23153 <ind-def:instance datatype="int">1</ind-def:instance>
23154 </ind-def:textfilecontent54_object>
23155 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20259" version="1">
23156 <ind-def:path>/etc/avahi</ind-def:path>
23157 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23158 <ind-def:pattern operation="pattern match">publish-addresses[\s]*=[\s]*([^#]*)</ind-def:pattern>
23159 <ind-def:instance datatype="int">1</ind-def:instance>
23160 </ind-def:textfilecontent54_object>
23161 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20260" version="1">
23162 <ind-def:path>/etc/avahi</ind-def:path>
23163 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23164 <ind-def:pattern operation="pattern match">publish-domain[\s]*=[\s]*([^#]*)</ind-def:pattern>
23165 <ind-def:instance datatype="int">1</ind-def:instance>
23166 </ind-def:textfilecontent54_object>
23167 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20261" version="1">
23168 <unix-def:service_name>cups</unix-def:service_name>
23169 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23170 </unix-def:runlevel_object>
23171 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20264" version="1">
23172 <ind-def:path>/etc/cups</ind-def:path>
23173 <ind-def:filename>cupsd.conf</ind-def:filename>
23174 <ind-def:pattern operation="pattern match">Browsing[\s]+([^#]*)</ind-def:pattern>
23175 <ind-def:instance datatype="int">1</ind-def:instance>
23176 </ind-def:textfilecontent54_object>
23177 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20265" version="1">
23178 <ind-def:path>/etc/cups</ind-def:path>
23179 <ind-def:filename>cupsd.conf</ind-def:filename>
23180 <ind-def:pattern operation="pattern match">BrowseAllow[\s]+none</ind-def:pattern>
23181 <ind-def:instance datatype="int">1</ind-def:instance>
23182 </ind-def:textfilecontent54_object>
23183 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20266" version="1">
23184 <unix-def:service_name>hplip</unix-def:service_name>
23185 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23186 </unix-def:runlevel_object>
23187 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20267" version="1">
23188 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
23189 <ind-def:filename operation="pattern match">ifcfg-eth.*</ind-def:filename>
23190 <ind-def:pattern operation="pattern match">^[\s]*BOOTPROTO[\s]*=[\s]*([^#]*)</ind-def:pattern>
23191 <ind-def:instance datatype="int">1</ind-def:instance>
23192 </ind-def:textfilecontent54_object>
23193 <ind-def:variable_object id="oval:org.open-scap.f14:obj:256" version="1">
23194 <ind-def:var_ref>oval:org.open-scap.f14:var:20267</ind-def:var_ref>
23195 </ind-def:variable_object>
23196 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20268" version="1">
23197 <unix-def:service_name>dhcpd</unix-def:service_name>
23198 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23199 </unix-def:runlevel_object>
23200 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20269" version="1">
23201 <lin-def:name>dhcp</lin-def:name>
23202 </lin-def:rpminfo_object>
23203 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20270" version="1">
23204 <ind-def:path>/etc</ind-def:path>
23205 <ind-def:filename>dhcpd.conf</ind-def:filename>
23206 <ind-def:pattern operation="pattern match">ddns-update-style[\s]+none;</ind-def:pattern>
23207 <ind-def:instance datatype="int">1</ind-def:instance>
23208 </ind-def:textfilecontent54_object>
23209 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20271" version="1">
23210 <ind-def:path>/etc</ind-def:path>
23211 <ind-def:filename>dhcpd.conf</ind-def:filename>
23212 <ind-def:pattern operation="pattern match">deny[\s]+declines;</ind-def:pattern>
23213 <ind-def:instance datatype="int">1</ind-def:instance>
23214 </ind-def:textfilecontent54_object>
23215 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20272" version="1">
23216 <ind-def:path>/etc</ind-def:path>
23217 <ind-def:filename>dhcpd.conf</ind-def:filename>
23218 <ind-def:pattern operation="pattern match">deny[\s]+bootp;</ind-def:pattern>
23219 <ind-def:instance datatype="int">1</ind-def:instance>
23220 </ind-def:textfilecontent54_object>
23221 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:267" version="1">
23222 <ind-def:path>/etc</ind-def:path>
23223 <ind-def:filename>dhcpd.conf</ind-def:filename>
23224 <ind-def:pattern operation="pattern match">option[\s]+domain-name-servers</ind-def:pattern>
23225 <ind-def:instance datatype="int">1</ind-def:instance>
23226 </ind-def:textfilecontent54_object>
23227 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:269" version="1">
23228 <ind-def:path>/etc</ind-def:path>
23229 <ind-def:filename>dhcpd.conf</ind-def:filename>
23230 <ind-def:pattern operation="pattern match">option[\s]+routers</ind-def:pattern>
23231 <ind-def:instance datatype="int">1</ind-def:instance>
23232 </ind-def:textfilecontent54_object>
23233 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:271" version="1">
23234 <ind-def:path>/etc</ind-def:path>
23235 <ind-def:filename>dhcpd.conf</ind-def:filename>
23236 <ind-def:pattern operation="pattern match">option[\s]+domain-name</ind-def:pattern>
23237 <ind-def:instance datatype="int">1</ind-def:instance>
23238 </ind-def:textfilecontent54_object>
23239 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:273" version="1">
23240 <ind-def:path>/etc</ind-def:path>
23241 <ind-def:filename>dhcpd.conf</ind-def:filename>
23242 <ind-def:pattern operation="pattern match">option[\s]+nis-domain</ind-def:pattern>
23243 <ind-def:instance datatype="int">1</ind-def:instance>
23244 </ind-def:textfilecontent54_object>
23245 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:275" version="1">
23246 <ind-def:path>/etc</ind-def:path>
23247 <ind-def:filename>dhcpd.conf</ind-def:filename>
23248 <ind-def:pattern operation="pattern match">option[\s]+nis-servers</ind-def:pattern>
23249 <ind-def:instance datatype="int">1</ind-def:instance>
23250 </ind-def:textfilecontent54_object>
23251 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:277" version="1">
23252 <ind-def:path>/etc</ind-def:path>
23253 <ind-def:filename>dhcpd.conf</ind-def:filename>
23254 <ind-def:pattern operation="pattern match">option[\s]+time-offset</ind-def:pattern>
23255 <ind-def:instance datatype="int">1</ind-def:instance>
23256 </ind-def:textfilecontent54_object>
23257 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:279" version="1">
23258 <ind-def:path>/etc</ind-def:path>
23259 <ind-def:filename>dhcpd.conf</ind-def:filename>
23260 <ind-def:pattern operation="pattern match">option[\s]+ntp-servers</ind-def:pattern>
23261 <ind-def:instance datatype="int">1</ind-def:instance>
23262 </ind-def:textfilecontent54_object>
23263 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20280" version="1">
23264 <ind-def:path>/etc</ind-def:path>
23265 <ind-def:filename>syslog.conf</ind-def:filename>
23266 <ind-def:pattern operation="pattern match">daemon\.\*[\s]+/var/log/daemon\.log</ind-def:pattern>
23267 <ind-def:instance datatype="int">1</ind-def:instance>
23268 </ind-def:textfilecontent54_object>
23269 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20281" version="1">
23270 <unix-def:service_name>ntpd</unix-def:service_name>
23271 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23272 </unix-def:runlevel_object>
23273 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20282" version="1">
23274 <ind-def:path>/etc</ind-def:path>
23275 <ind-def:filename>ntp.conf</ind-def:filename>
23276 <ind-def:pattern operation="pattern match">restrict[\s]+default[\s]+ignore</ind-def:pattern>
23277 <ind-def:instance datatype="int">1</ind-def:instance>
23278 </ind-def:textfilecontent54_object>
23279 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20285" version="1">
23280 <ind-def:path>/etc</ind-def:path>
23281 <ind-def:filename>rc.local</ind-def:filename>
23282 <ind-def:pattern operation="pattern match">/usr/local/sbin/ntpd -s</ind-def:pattern>
23283 <ind-def:instance datatype="int">1</ind-def:instance>
23284 </ind-def:textfilecontent54_object>
23285 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20287" version="1">
23286 <unix-def:service_name>sendmail</unix-def:service_name>
23287 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23288 </unix-def:runlevel_object>
23289 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20288" version="1">
23290 <ind-def:path>/etc/sysconfig</ind-def:path>
23291 <ind-def:filename>sendmail</ind-def:filename>
23292 <ind-def:pattern operation="pattern match">DAEMON[\s]*=[\s]*yes</ind-def:pattern>
23293 <ind-def:instance datatype="int">1</ind-def:instance>
23294 </ind-def:textfilecontent54_object>
23295 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202885" version="1">
23296 <ind-def:path>/etc</ind-def:path>
23297 <ind-def:filename>ldap.conf</ind-def:filename>
23298 <ind-def:pattern operation="pattern match">^[\s]*tls_checkpeer[\s]+yes</ind-def:pattern>
23299 <ind-def:instance datatype="int">1</ind-def:instance>
23300 </ind-def:textfilecontent54_object>
23301 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20289" version="1">
23302 <unix-def:service_name>ldap</unix-def:service_name>
23303 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23304 </unix-def:runlevel_object>
23305 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20290" version="1">
23306 <unix-def:path>/var/lib/ldap</unix-def:path>
23307 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23308 </unix-def:file_object>
23309 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20291" version="1">
23310 <unix-def:path>/var/lib/ldap</unix-def:path>
23311 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23312 </unix-def:file_object>
23313 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20292" version="1">
23314 <unix-def:service_name>nfslock</unix-def:service_name>
23315 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23316 </unix-def:runlevel_object>
23317 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20293" version="1">
23318 <unix-def:service_name>rpcgssd</unix-def:service_name>
23319 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23320 </unix-def:runlevel_object>
23321 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20294" version="1">
23322 <unix-def:service_name>rpcidmapd</unix-def:service_name>
23323 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23324 </unix-def:runlevel_object>
23325 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20295" version="1">
23326 <unix-def:service_name>netfs</unix-def:service_name>
23327 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23328 </unix-def:runlevel_object>
23329 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20296" version="1">
23330 <unix-def:service_name>portmap</unix-def:service_name>
23331 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23332 </unix-def:runlevel_object>
23333 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20297" version="1">
23334 <ind-def:path>/etc/sysconfig</ind-def:path>
23335 <ind-def:filename>nfs</ind-def:filename>
23336 <ind-def:pattern operation="pattern match">LOCKD_TCPPORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23337 <ind-def:instance datatype="int">1</ind-def:instance>
23338 </ind-def:textfilecontent54_object>
23339 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20298" version="1">
23340 <ind-def:path>/etc/sysconfig</ind-def:path>
23341 <ind-def:filename>nfs</ind-def:filename>
23342 <ind-def:pattern operation="pattern match">STATD_OUTGOING_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23343 <ind-def:instance datatype="int">1</ind-def:instance>
23344 </ind-def:textfilecontent54_object>
23345 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20299" version="1">
23346 <ind-def:path>/etc/sysconfig</ind-def:path>
23347 <ind-def:filename>nfs</ind-def:filename>
23348 <ind-def:pattern operation="pattern match">STATD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23349 <ind-def:instance datatype="int">1</ind-def:instance>
23350 </ind-def:textfilecontent54_object>
23351 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20300" version="1">
23352 <ind-def:path>/etc/sysconfig</ind-def:path>
23353 <ind-def:filename>nfs</ind-def:filename>
23354 <ind-def:pattern operation="pattern match">LOCKD_UDPPORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23355 <ind-def:instance datatype="int">1</ind-def:instance>
23356 </ind-def:textfilecontent54_object>
23357 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20301" version="1">
23358 <ind-def:path>/etc/sysconfig</ind-def:path>
23359 <ind-def:filename>nfs</ind-def:filename>
23360 <ind-def:pattern operation="pattern match">MOUNTD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23361 <ind-def:instance datatype="int">1</ind-def:instance>
23362 </ind-def:textfilecontent54_object>
23363 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20302" version="1">
23364 <ind-def:path>/etc/sysconfig</ind-def:path>
23365 <ind-def:filename>nfs</ind-def:filename>
23366 <ind-def:pattern operation="pattern match">RQUOTAD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23367 <ind-def:instance datatype="int">1</ind-def:instance>
23368 </ind-def:textfilecontent54_object>
23369 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20303" version="1">
23370 <unix-def:service_name>nfs</unix-def:service_name>
23371 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23372 </unix-def:runlevel_object>
23373 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20304" version="1">
23374 <unix-def:service_name>rpcsvcgssd</unix-def:service_name>
23375 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23376 </unix-def:runlevel_object>
23377 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20308" version="1">
23378 <ind-def:path>/etc</ind-def:path>
23379 <ind-def:filename>exports</ind-def:filename>
23380 <ind-def:pattern operation="pattern match">no_root_squash</ind-def:pattern>
23381 <ind-def:instance datatype="int">1</ind-def:instance>
23382 </ind-def:textfilecontent54_object>
23383 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20309" version="1">
23384 <ind-def:path>/etc</ind-def:path>
23385 <ind-def:filename>exports</ind-def:filename>
23386 <ind-def:pattern operation="pattern match">insecure</ind-def:pattern>
23387 <ind-def:instance datatype="int">1</ind-def:instance>
23388 </ind-def:textfilecontent54_object>
23389 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20310" version="1">
23390 <ind-def:path>/etc</ind-def:path>
23391 <ind-def:filename>exports</ind-def:filename>
23392 <ind-def:pattern operation="pattern match">rw</ind-def:pattern>
23393 <ind-def:instance datatype="int">1</ind-def:instance>
23394 </ind-def:textfilecontent54_object>
23395 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20311" version="1">
23396 <unix-def:service_name>named</unix-def:service_name>
23397 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23398 </unix-def:runlevel_object>
23399 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20312" version="1">
23400 <lin-def:name>bind</lin-def:name>
23401 </lin-def:rpminfo_object>
23402 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20313" version="1">
23403 <unix-def:path>/var/named/chroot/etc</unix-def:path>
23404 <unix-def:filename>named.conf</unix-def:filename>
23405 </unix-def:file_object>
23406 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20315" version="1">
23407 <unix-def:path>/var/named/chroot/etc</unix-def:path>
23408 <unix-def:filename>named.conf</unix-def:filename>
23409 </unix-def:file_object>
23410 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20314" version="1">
23411 <unix-def:path>/var/named/chroot/etc</unix-def:path>
23412 <unix-def:filename>named.conf</unix-def:filename>
23413 </unix-def:file_object>
23414 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20317" version="1">
23415 <unix-def:service_name>vsftpd</unix-def:service_name>
23416 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23417 </unix-def:runlevel_object>
23418 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:203175" version="1">
23419 <lin-def:name>vsftpd</lin-def:name>
23420 </lin-def:rpminfo_object>
23421 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20319" version="1">
23422 <ind-def:path>/etc</ind-def:path>
23423 <ind-def:filename>vsftpd.conf</ind-def:filename>
23424 <ind-def:pattern operation="pattern match">banner_file[\s]*=[\s]*/etc/issue</ind-def:pattern>
23425 <ind-def:instance datatype="int">1</ind-def:instance>
23426 </ind-def:textfilecontent54_object>
23427 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:340" version="1">
23428 <ind-def:path>/etc</ind-def:path>
23429 <ind-def:filename>vsftpd.conf</ind-def:filename>
23430 <ind-def:pattern operation="pattern match">local_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
23431 <ind-def:instance datatype="int">1</ind-def:instance>
23432 </ind-def:textfilecontent54_object>
23433 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:341" version="1">
23434 <ind-def:path>/etc</ind-def:path>
23435 <ind-def:filename>vsftpd.conf</ind-def:filename>
23436 <ind-def:pattern operation="pattern match">write_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
23437 <ind-def:instance datatype="int">1</ind-def:instance>
23438 </ind-def:textfilecontent54_object>
23439 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20322" version="1">
23440 <unix-def:service_name>httpd</unix-def:service_name>
23441 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23442 </unix-def:runlevel_object>
23443 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20323" version="1">
23444 <lin-def:name>httpd</lin-def:name>
23445 </lin-def:rpminfo_object>
23446 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20324" version="1">
23447 <ind-def:path>/etc/httpd/conf</ind-def:path>
23448 <ind-def:filename>httpd.conf</ind-def:filename>
23449 <ind-def:pattern operation="pattern match">ServerTokens[\s]+([^#]*)</ind-def:pattern>
23450 <ind-def:instance datatype="int">1</ind-def:instance>
23451 </ind-def:textfilecontent54_object>
23452 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20325" version="1">
23453 <ind-def:path>/etc/httpd/conf</ind-def:path>
23454 <ind-def:filename>httpd.conf</ind-def:filename>
23455 <ind-def:pattern operation="pattern match">ServerSignature[\s]+([^#]*)</ind-def:pattern>
23456 <ind-def:instance datatype="int">1</ind-def:instance>
23457 </ind-def:textfilecontent54_object>
23458 <unix-def:file_object comment="/etc/httpd/conf" id="oval:org.open-scap.f14:obj:20326" version="1">
23459 <unix-def:path>/etc/httpd/conf</unix-def:path>
23460 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23461 </unix-def:file_object>
23462 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20327" version="1">
23463 <unix-def:path>/etc/httpd/conf</unix-def:path>
23464 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23465 </unix-def:file_object>
23466 <unix-def:file_object comment="/usr/sbin/httpd" id="oval:org.open-scap.f14:obj:20328" version="1">
23467 <unix-def:path>/usr/sbin</unix-def:path>
23468 <unix-def:filename>httpd</unix-def:filename>
23469 </unix-def:file_object>
23470 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20329" version="1">
23471 <unix-def:path>/etc/httpd/conf</unix-def:path>
23472 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23473 </unix-def:file_object>
23474 <unix-def:file_object comment="/var/log/httpd" id="oval:org.open-scap.f14:obj:20330" version="1">
23475 <unix-def:path>/var/log/httpd</unix-def:path>
23476 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23477 </unix-def:file_object>
23478 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20331" version="1">
23479 <unix-def:service_name>dovecot</unix-def:service_name>
23480 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23481 </unix-def:runlevel_object>
23482 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20332" version="1">
23483 <lin-def:name>dovecot</lin-def:name>
23484 </lin-def:rpminfo_object>
23485 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20333" version="1">
23486 <ind-def:path>/etc</ind-def:path>
23487 <ind-def:filename>dovecot.conf</ind-def:filename>
23488 <ind-def:pattern operation="pattern match">protocols[\s]*=.*imaps</ind-def:pattern>
23489 <ind-def:instance datatype="int">1</ind-def:instance>
23490 </ind-def:textfilecontent54_object>
23491 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20334" version="1">
23492 <ind-def:path>/etc</ind-def:path>
23493 <ind-def:filename>dovecot.conf</ind-def:filename>
23494 <ind-def:pattern operation="pattern match">protocols[\s]*=.*pop3s</ind-def:pattern>
23495 <ind-def:instance datatype="int">1</ind-def:instance>
23496 </ind-def:textfilecontent54_object>
23497 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20335" version="1">
23498 <ind-def:path>/etc</ind-def:path>
23499 <ind-def:filename>dovecot.conf</ind-def:filename>
23500 <ind-def:pattern operation="pattern match">protocols[\s]*=.*pop3</ind-def:pattern>
23501 <ind-def:instance datatype="int">1</ind-def:instance>
23502 </ind-def:textfilecontent54_object>
23503 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20336" version="1">
23504 <ind-def:path>/etc</ind-def:path>
23505 <ind-def:filename>dovecot.conf</ind-def:filename>
23506 <ind-def:pattern operation="pattern match">protocols[\s]*=.*imap</ind-def:pattern>
23507 <ind-def:instance datatype="int">1</ind-def:instance>
23508 </ind-def:textfilecontent54_object>
23509 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20337" version="1">
23510 <ind-def:path>/etc</ind-def:path>
23511 <ind-def:filename>dovecot.conf</ind-def:filename>
23512 <ind-def:pattern operation="pattern match">disable_plaintext_auth[\s]*=[\s]*([^#]*)</ind-def:pattern>
23513 <ind-def:instance datatype="int">1</ind-def:instance>
23514 </ind-def:textfilecontent54_object>
23515 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20338" version="1">
23516 <ind-def:path>/etc</ind-def:path>
23517 <ind-def:filename>dovecot.conf</ind-def:filename>
23518 <ind-def:pattern operation="pattern match">mail_drop_priv_before_exec[\s]*=[\s]*([^#]*)</ind-def:pattern>
23519 <ind-def:instance datatype="int">1</ind-def:instance>
23520 </ind-def:textfilecontent54_object>
23521 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20339" version="1">
23522 <ind-def:path>/etc</ind-def:path>
23523 <ind-def:filename>dovecot.conf</ind-def:filename>
23524 <ind-def:pattern operation="pattern match">login_process_per_connection[\s]*=[\s]*([^#]*)</ind-def:pattern>
23525 <ind-def:instance datatype="int">1</ind-def:instance>
23526 </ind-def:textfilecontent54_object>
23527 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20340" version="1">
23528 <unix-def:service_name>smb</unix-def:service_name>
23529 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23530 </unix-def:runlevel_object>
23531 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:203403" version="1">
23532 <ind-def:path>/etc/samba</ind-def:path>
23533 <ind-def:filename>smb.conf</ind-def:filename>
23534 <ind-def:pattern operation="pattern match">^[\s]*guest[\s]+ok[\s]*=[\s]yes</ind-def:pattern>
23535 <ind-def:instance datatype="int">1</ind-def:instance>
23536 </ind-def:textfilecontent54_object>
23537 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2034010" version="1">
23538 <ind-def:path>/etc/samba</ind-def:path>
23539 <ind-def:filename>smb.conf</ind-def:filename>
23540 <ind-def:pattern operation="pattern match">^[\s]*client[\s]+signing[\s]*=[\s]mandatory</ind-def:pattern>
23541 <ind-def:instance datatype="int">1</ind-def:instance>
23542 </ind-def:textfilecontent54_object>
23543 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340111" version="1">
23544 <ind-def:path>/etc</ind-def:path>
23545 <ind-def:filename>fstab</ind-def:filename>
23546 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
23547 <ind-def:instance datatype="int">1</ind-def:instance>
23548 </ind-def:textfilecontent54_object>
23549 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340112" version="1">
23550 <ind-def:path>/etc</ind-def:path>
23551 <ind-def:filename>mtab</ind-def:filename>
23552 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
23553 <ind-def:instance datatype="int">1</ind-def:instance>
23554 </ind-def:textfilecontent54_object>
23555 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20341" version="1">
23556 <unix-def:service_name>squid</unix-def:service_name>
23557 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23558 </unix-def:runlevel_object>
23559 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20342" version="1">
23560 <lin-def:name>squid</lin-def:name>
23561 </lin-def:rpminfo_object>
23562 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20343" version="1">
23563 <ind-def:path>/etc/squid</ind-def:path>
23564 <ind-def:filename>squid.conf</ind-def:filename>
23565 <ind-def:pattern operation="pattern match">^[[:space:]]*ftp_passive[[:space:]]+([^#]*)</ind-def:pattern>
23566 <ind-def:instance datatype="int">1</ind-def:instance>
23567 </ind-def:textfilecontent54_object>
23568 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20346" version="1">
23569 <ind-def:path>/etc/squid</ind-def:path>
23570 <ind-def:filename>squid.conf</ind-def:filename>
23571 <ind-def:pattern operation="pattern match">^[[:space:]]*request_header_max_size[[:space:]]+([^#]*)</ind-def:pattern>
23572 <ind-def:instance datatype="int">1</ind-def:instance>
23573 </ind-def:textfilecontent54_object>
23574 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20345" version="1">
23575 <ind-def:path>/etc/squid</ind-def:path>
23576 <ind-def:filename>squid.conf</ind-def:filename>
23577 <ind-def:pattern operation="pattern match">^[[:space:]]*check_hostnames[[:space:]]+([^#]*)</ind-def:pattern>
23578 <ind-def:instance datatype="int">1</ind-def:instance>
23579 </ind-def:textfilecontent54_object>
23580 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20350" version="1">
23581 <ind-def:path>/etc/squid</ind-def:path>
23582 <ind-def:filename>squid.conf</ind-def:filename>
23583 <ind-def:pattern operation="pattern match">^[[:space:]]*ignore_unknown_nameservers[[:space:]]+([^#]*)</ind-def:pattern>
23584 <ind-def:instance datatype="int">1</ind-def:instance>
23585 </ind-def:textfilecontent54_object>
23586 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20347" version="1">
23587 <ind-def:path>/etc/squid</ind-def:path>
23588 <ind-def:filename>squid.conf</ind-def:filename>
23589 <ind-def:pattern operation="pattern match">^[[:space:]]*reply_header_max_size[[:space:]]+([^#]*)</ind-def:pattern>
23590 <ind-def:instance datatype="int">1</ind-def:instance>
23591 </ind-def:textfilecontent54_object>
23592 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20348" version="1">
23593 <ind-def:path>/etc/squid</ind-def:path>
23594 <ind-def:filename>squid.conf</ind-def:filename>
23595 <ind-def:pattern operation="pattern match">^[[:space:]]*cache_effective_user[[:space:]]+([^#]*)</ind-def:pattern>
23596 <ind-def:instance datatype="int">1</ind-def:instance>
23597 </ind-def:textfilecontent54_object>
23598 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20344" version="1">
23599 <ind-def:path>/etc/squid</ind-def:path>
23600 <ind-def:filename>squid.conf</ind-def:filename>
23601 <ind-def:pattern operation="pattern match">^[[:space:]]*ftp_sanitycheck[[:space:]]+([^#]*)</ind-def:pattern>
23602 <ind-def:instance datatype="int">1</ind-def:instance>
23603 </ind-def:textfilecontent54_object>
23604 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20349" version="1">
23605 <ind-def:path>/etc/squid</ind-def:path>
23606 <ind-def:filename>squid.conf</ind-def:filename>
23607 <ind-def:pattern operation="pattern match">^[[:space:]]*cache_effective_group[[:space:]]+([^#]*)</ind-def:pattern>
23608 <ind-def:instance datatype="int">1</ind-def:instance>
23609 </ind-def:textfilecontent54_object>
23610 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20353" version="1">
23611 <ind-def:path>/etc/squid</ind-def:path>
23612 <ind-def:filename>squid.conf</ind-def:filename>
23613 <ind-def:pattern operation="pattern match">^[[:space:]]*forwarded_for[[:space:]]+([^#]*)</ind-def:pattern>
23614 <ind-def:instance datatype="int">1</ind-def:instance>
23615 </ind-def:textfilecontent54_object>
23616 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20354" version="1">
23617 <ind-def:path>/etc/squid</ind-def:path>
23618 <ind-def:filename>squid.conf</ind-def:filename>
23619 <ind-def:pattern operation="pattern match">^[[:space:]]*log_mime_hdrs[[:space:]]+([^#]*)</ind-def:pattern>
23620 <ind-def:instance datatype="int">1</ind-def:instance>
23621 </ind-def:textfilecontent54_object>
23622 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20351" version="1">
23623 <ind-def:path>/etc/squid</ind-def:path>
23624 <ind-def:filename>squid.conf</ind-def:filename>
23625 <ind-def:pattern operation="pattern match">^[[:space:]]*allow_underscore[[:space:]]+([^#]*)</ind-def:pattern>
23626 <ind-def:instance datatype="int">1</ind-def:instance>
23627 </ind-def:textfilecontent54_object>
23628 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20352" version="1">
23629 <ind-def:path>/etc/squid</ind-def:path>
23630 <ind-def:filename>squid.conf</ind-def:filename>
23631 <ind-def:pattern operation="pattern match">^[[:space:]]*httpd_suppress_version_string[[:space:]]+([^#]*)</ind-def:pattern>
23632 <ind-def:instance datatype="int">1</ind-def:instance>
23633 </ind-def:textfilecontent54_object>
23634 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20365" version="1">
23635 <unix-def:service_name>snmpd</unix-def:service_name>
23636 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23637 </unix-def:runlevel_object>
23638 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20366" version="1">
23639 <lin-def:name>net-snmp</lin-def:name>
23640 </lin-def:rpminfo_object>
23641 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202081" version="1">
23642 <ind-def:path>/etc</ind-def:path>
23643 <ind-def:filename>group</ind-def:filename>
23644 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202081"/>
23645 <ind-def:instance datatype="int">1</ind-def:instance>
23646 </ind-def:textfilecontent54_object>
23647 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202111" version="1">
23648 <ind-def:path>/etc</ind-def:path>
23649 <ind-def:filename>group</ind-def:filename>
23650 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202111"/>
23651 <ind-def:instance datatype="int">1</ind-def:instance>
23652 </ind-def:textfilecontent54_object>
23653 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202141" version="1">
23654 <ind-def:path>/etc</ind-def:path>
23655 <ind-def:filename>group</ind-def:filename>
23656 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202141"/>
23657 <ind-def:instance datatype="int">1</ind-def:instance>
23658 </ind-def:textfilecontent54_object>
23659 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202291" version="1">
23660 <ind-def:path>/etc</ind-def:path>
23661 <ind-def:filename>group</ind-def:filename>
23662 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202291"/>
23663 <ind-def:instance datatype="int">1</ind-def:instance>
23664 </ind-def:textfilecontent54_object>
23665 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202301" version="1">
23666 <ind-def:path>/etc</ind-def:path>
23667 <ind-def:filename>group</ind-def:filename>
23668 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202301"/>
23669 <ind-def:instance datatype="int">1</ind-def:instance>
23670 </ind-def:textfilecontent54_object>
23671 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:200811" version="1">
23672 <ind-def:path>/etc</ind-def:path>
23673 <ind-def:filename>group</ind-def:filename>
23674 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:200811"/>
23675 <ind-def:instance datatype="int">1</ind-def:instance>
23676 </ind-def:textfilecontent54_object>
23677 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:201501" version="1">
23678 <ind-def:path>/etc</ind-def:path>
23679 <ind-def:filename>group</ind-def:filename>
23680 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:201501"/>
23681 <ind-def:instance datatype="int">1</ind-def:instance>
23682 </ind-def:textfilecontent54_object>
23683 </objects>
23684 <states>
23685 <ind-def:textfilecontent54_state comment="/tmp mount point is defined" id="oval:org.open-scap.f14:ste:20000" version="1">
23686 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/tmp</ind-def:subexpression>
23687 </ind-def:textfilecontent54_state>
23688 <ind-def:textfilecontent54_state comment="/var mount point is defined" id="oval:org.open-scap.f14:ste:20002" version="1">
23689 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var</ind-def:subexpression>
23690 </ind-def:textfilecontent54_state>
23691 <ind-def:textfilecontent54_state comment="/var/log mount point is defined" id="oval:org.open-scap.f14:ste:20004" version="1">
23692 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log</ind-def:subexpression>
23693 </ind-def:textfilecontent54_state>
23694 <ind-def:textfilecontent54_state comment="/var/log/audit mount point is defined" id="oval:org.open-scap.f14:ste:20005" version="1">
23695 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log/audit</ind-def:subexpression>
23696 </ind-def:textfilecontent54_state>
23697 <ind-def:textfilecontent54_state comment="/home mount point is defined" id="oval:org.open-scap.f14:ste:20006" version="1">
23698 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/home</ind-def:subexpression>
23699 </ind-def:textfilecontent54_state>
23700 <ind-def:textfilecontent54_state comment="Expected value of gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20010" version="1">
23701 <ind-def:instance datatype="int">1</ind-def:instance>
23702 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
23703 </ind-def:textfilecontent54_state>
23704 <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">
23705 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
23706 </ind-def:textfilecontent54_state>
23707 <ind-def:textfilecontent54_state comment="Expected value of repo_gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20012" version="1">
23708 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
23709 </ind-def:textfilecontent54_state>
23710 <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">
23711 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
23712 </ind-def:textfilecontent54_state>
23713 <ind-def:textfilecontent54_state comment="ext2 and ext3 filing systems" id="oval:org.open-scap.f14:ste:200161" version="1">
23714 <ind-def:subexpression datatype="string" entity_check="all" operation="pattern match">.*,nodev.*</ind-def:subexpression>
23715 </ind-def:textfilecontent54_state>
23716 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:10000" version="1">
23717 <lin-def:version operation="pattern match">^5[^\d]</lin-def:version>
23718 </lin-def:rpminfo_state>
23719 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:200065" version="1">
23720 <lin-def:release>4c49d6fe</lin-def:release>
23721 <lin-def:version>97a1071f</lin-def:version>
23722 </lin-def:rpminfo_state>
23723 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:11000" version="1">
23724 <lin-def:release operation="pattern match">^5\.[2-9]</lin-def:release>
23725 </lin-def:rpminfo_state>
23726 <ind-def:family_state id="oval:org.open-scap.f14:ste:10001" version="1">
23727 <ind-def:family>unix</ind-def:family>
23728 </ind-def:family_state>
23729 <ind-def:xmlfilecontent_state id="oval:org.open-scap.f14:ste:20026" version="1">
23730 <ind-def:value_of operation="equals">false</ind-def:value_of>
23731 </ind-def:xmlfilecontent_state>
23732 <ind-def:textfilecontent54_state comment="Check for the usb_storage module" id="oval:org.open-scap.f14:ste:20021" version="1">
23733 <ind-def:subexpression datatype="string" entity_check="all">usb_storage</ind-def:subexpression>
23734 </ind-def:textfilecontent54_state>
23735 <ind-def:textfilecontent54_state comment="Check for the cramfs file system" id="oval:org.open-scap.f14:ste:20027" version="1">
23736 <ind-def:subexpression datatype="string" entity_check="all">cramfs</ind-def:subexpression>
23737 </ind-def:textfilecontent54_state>
23738 <ind-def:textfilecontent54_state comment="Check for the freevxfs file system" id="oval:org.open-scap.f14:ste:20028" version="1">
23739 <ind-def:subexpression datatype="string" entity_check="all">freevxfs</ind-def:subexpression>
23740 </ind-def:textfilecontent54_state>
23741 <ind-def:textfilecontent54_state comment="Check for the jffs2 file system" id="oval:org.open-scap.f14:ste:20029" version="1">
23742 <ind-def:subexpression datatype="string" entity_check="all">jffs2</ind-def:subexpression>
23743 </ind-def:textfilecontent54_state>
23744 <ind-def:textfilecontent54_state comment="Check for the hfs file system" id="oval:org.open-scap.f14:ste:20030" version="1">
23745 <ind-def:subexpression datatype="string" entity_check="all">hfs</ind-def:subexpression>
23746 </ind-def:textfilecontent54_state>
23747 <ind-def:textfilecontent54_state comment="Check for the hfsplus file system" id="oval:org.open-scap.f14:ste:20031" version="1">
23748 <ind-def:subexpression datatype="string" entity_check="all">hfsplus</ind-def:subexpression>
23749 </ind-def:textfilecontent54_state>
23750 <ind-def:textfilecontent54_state comment="Check for the squashfs file system" id="oval:org.open-scap.f14:ste:20032" version="1">
23751 <ind-def:subexpression datatype="string" entity_check="all">squashfs</ind-def:subexpression>
23752 </ind-def:textfilecontent54_state>
23753 <ind-def:textfilecontent54_state comment="Check for the udf file system" id="oval:org.open-scap.f14:ste:20033" version="1">
23754 <ind-def:subexpression datatype="string" entity_check="all">udf</ind-def:subexpression>
23755 </ind-def:textfilecontent54_state>
23756 <unix-def:file_state id="oval:org.open-scap.f14:ste:20034" version="1">
23757 <unix-def:user_id datatype="int">0</unix-def:user_id>
23758 </unix-def:file_state>
23759 <unix-def:file_state id="oval:org.open-scap.f14:ste:20035" version="1">
23760 <unix-def:group_id datatype="int">0</unix-def:group_id>
23761 </unix-def:file_state>
23762 <unix-def:file_state id="oval:org.open-scap.f14:ste:20042" version="1">
23763 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:1"/>
23764 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:2"/>
23765 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:3"/>
23766 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:4"/>
23767 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:5"/>
23768 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:6"/>
23769 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:7"/>
23770 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:8"/>
23771 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:9"/>
23772 </unix-def:file_state>
23773 <unix-def:file_state id="oval:org.open-scap.f14:ste:20036" version="1">
23774 <unix-def:user_id datatype="int">0</unix-def:user_id>
23775 </unix-def:file_state>
23776 <unix-def:file_state id="oval:org.open-scap.f14:ste:20037" version="1">
23777 <unix-def:group_id datatype="int">0</unix-def:group_id>
23778 </unix-def:file_state>
23779 <unix-def:file_state id="oval:org.open-scap.f14:ste:20043" version="1">
23780 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:10"/>
23781 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:11"/>
23782 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:12"/>
23783 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:13"/>
23784 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:14"/>
23785 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:15"/>
23786 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:16"/>
23787 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:17"/>
23788 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:18"/>
23789 </unix-def:file_state>
23790 <unix-def:file_state id="oval:org.open-scap.f14:ste:20038" version="1">
23791 <unix-def:user_id datatype="int">0</unix-def:user_id>
23792 </unix-def:file_state>
23793 <unix-def:file_state id="oval:org.open-scap.f14:ste:20039" version="1">
23794 <unix-def:group_id datatype="int">0</unix-def:group_id>
23795 </unix-def:file_state>
23796 <unix-def:file_state id="oval:org.open-scap.f14:ste:20044" version="1">
23797 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:19"/>
23798 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:20"/>
23799 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:21"/>
23800 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:22"/>
23801 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:23"/>
23802 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:24"/>
23803 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:25"/>
23804 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:26"/>
23805 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:27"/>
23806 </unix-def:file_state>
23807 <unix-def:file_state id="oval:org.open-scap.f14:ste:20040" version="1">
23808 <unix-def:user_id datatype="int">0</unix-def:user_id>
23809 </unix-def:file_state>
23810 <unix-def:file_state id="oval:org.open-scap.f14:ste:20041" version="1">
23811 <unix-def:group_id datatype="int">0</unix-def:group_id>
23812 </unix-def:file_state>
23813 <unix-def:file_state id="oval:org.open-scap.f14:ste:20045" version="1">
23814 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:28"/>
23815 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:29"/>
23816 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:30"/>
23817 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:31"/>
23818 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:32"/>
23819 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:33"/>
23820 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:34"/>
23821 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:35"/>
23822 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:36"/>
23823 </unix-def:file_state>
23824 <unix-def:file_state id="oval:org.open-scap.f14:ste:20046" version="1">
23825 <unix-def:sticky datatype="boolean">1</unix-def:sticky>
23826 </unix-def:file_state>
23827 <unix-def:file_state id="oval:org.open-scap.f14:ste:200462" version="1">
23828 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
23829 </unix-def:file_state>
23830 <unix-def:file_state id="oval:org.open-scap.f14:ste:200471" version="1">
23831 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
23832 </unix-def:file_state>
23833 <unix-def:file_state id="oval:org.open-scap.f14:ste:200472" version="1">
23834 <unix-def:type datatype="string" operation="not equal">regular</unix-def:type>
23835 </unix-def:file_state>
23836 <unix-def:file_state id="oval:org.open-scap.f14:ste:200481" operator="OR" version="1">
23837 <unix-def:type operation="not equal">regular</unix-def:type>
23838 <unix-def:sgid datatype="boolean">0</unix-def:sgid>
23839 </unix-def:file_state>
23840 <unix-def:file_state id="oval:org.open-scap.f14:ste:200482" version="1">
23841 <unix-def:path>/sbin</unix-def:path>
23842 <unix-def:filename>netreport</unix-def:filename>
23843 </unix-def:file_state>
23844 <unix-def:file_state id="oval:org.open-scap.f14:ste:200483" version="1">
23845 <unix-def:path>/var/cache/jwhois</unix-def:path>
23846 <unix-def:filename>jwhois.db</unix-def:filename>
23847 </unix-def:file_state>
23848 <unix-def:file_state id="oval:org.open-scap.f14:ste:200484" version="1">
23849 <unix-def:path>/usr/sbin</unix-def:path>
23850 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200484"/>
23851 </unix-def:file_state>
23852 <unix-def:file_state id="oval:org.open-scap.f14:ste:200485" version="1">
23853 <unix-def:path>/usr/bin</unix-def:path>
23854 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200485"/>
23855 </unix-def:file_state>
23856 <unix-def:file_state id="oval:org.open-scap.f14:ste:200486" version="1">
23857 <unix-def:path>/usr/libexec/utempter</unix-def:path>
23858 <unix-def:filename>utempter</unix-def:filename>
23859 </unix-def:file_state>
23860 <unix-def:file_state id="oval:org.open-scap.f14:ste:200487" version="1">
23861 <unix-def:path>/usr/lib/vte</unix-def:path>
23862 <unix-def:filename>gnome-pty-helper</unix-def:filename>
23863 </unix-def:file_state>
23864 <unix-def:file_state id="oval:org.open-scap.f14:ste:200488" version="1">
23865 <unix-def:path>/usr/lib64/vte</unix-def:path>
23866 <unix-def:filename>gnome-pty-helper</unix-def:filename>
23867 </unix-def:file_state>
23868 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004901" operator="OR" version="1">
23869 <unix-def:type operation="not equal">regular</unix-def:type>
23870 <unix-def:suid datatype="boolean">0</unix-def:suid>
23871 </unix-def:file_state>
23872 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004902" version="1">
23873 <unix-def:path>/bin</unix-def:path>
23874 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004902"/>
23875 </unix-def:file_state>
23876 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004903" version="1">
23877 <unix-def:path>/lib/dbus-1</unix-def:path>
23878 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
23879 </unix-def:file_state>
23880 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004904" version="1">
23881 <unix-def:path>/lib64/dbus-1</unix-def:path>
23882 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
23883 </unix-def:file_state>
23884 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004905" version="1">
23885 <unix-def:path>/sbin</unix-def:path>
23886 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004905"/>
23887 </unix-def:file_state>
23888 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004906" version="1">
23889 <unix-def:path>/usr/bin</unix-def:path>
23890 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004906"/>
23891 </unix-def:file_state>
23892 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004907" version="1">
23893 <unix-def:path>/usr/lib/nspluginwrapper</unix-def:path>
23894 <unix-def:filename>plugin-config</unix-def:filename>
23895 </unix-def:file_state>
23896 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004908" version="1">
23897 <unix-def:path>/usr/lib64/nspluginwrapper</unix-def:path>
23898 <unix-def:filename>plugin-config</unix-def:filename>
23899 </unix-def:file_state>
23900 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004909" version="1">
23901 <unix-def:path>/usr/libexec/kde4</unix-def:path>
23902 <unix-def:filename>kpac_dhcp_helper</unix-def:filename>
23903 </unix-def:file_state>
23904 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004910" version="1">
23905 <unix-def:path>/usr/libexec/news</unix-def:path>
23906 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004910"/>
23907 </unix-def:file_state>
23908 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004911" version="1">
23909 <unix-def:path>/usr/libexec/openssh</unix-def:path>
23910 <unix-def:filename>ssh-keysign</unix-def:filename>
23911 </unix-def:file_state>
23912 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004912" version="1">
23913 <unix-def:path>/usr/libexec/polkit-1</unix-def:path>
23914 <unix-def:filename>polkit-agent-helper-1</unix-def:filename>
23915 </unix-def:file_state>
23916 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004913" version="1">
23917 <unix-def:path>/usr/libexec</unix-def:path>
23918 <unix-def:filename>pt_chown</unix-def:filename>
23919 </unix-def:file_state>
23920 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004914" version="1">
23921 <unix-def:path>/usr/libexec/pulse</unix-def:path>
23922 <unix-def:filename>proximity-helper</unix-def:filename>
23923 </unix-def:file_state>
23924 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004915" version="1">
23925 <unix-def:path>/usr/sbin</unix-def:path>
23926 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004915"/>
23927 </unix-def:file_state>
23928 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004916" version="1">
23929 <unix-def:path>/usr/share/BackupPC/sbin</unix-def:path>
23930 <unix-def:filename>BackupPC_Admin</unix-def:filename>
23931 </unix-def:file_state>
23932 <unix-def:file_state comment="Files with a valid user id assigned" id="oval:org.open-scap.f14:ste:20050" version="1">
23933 <unix-def:user_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20050"/>
23934 </unix-def:file_state>
23935 <unix-def:file_state comment="Files with a valid group id assigned" id="oval:org.open-scap.f14:ste:20051" version="1">
23936 <unix-def:group_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20051"/>
23937 </unix-def:file_state>
23938 <unix-def:file_state id="oval:org.open-scap.f14:ste:20052" operator="OR" version="1">
23939 <unix-def:group_id datatype="int" operation="less than">500</unix-def:group_id>
23940 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
23941 </unix-def:file_state>
23942 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20053" version="1">
23943 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20053"/>
23944 </ind-def:textfilecontent54_state>
23945 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20055" version="1">
23946 <ind-def:subexpression operation="equals">0</ind-def:subexpression>
23947 </ind-def:textfilecontent54_state>
23948 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20056" version="1">
23949 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
23950 </ind-def:textfilecontent54_state>
23951 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20058" version="1">
23952 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
23953 </ind-def:textfilecontent54_state>
23954 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20057" version="1">
23955 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
23956 </ind-def:textfilecontent54_state>
23957 <unix-def:password_state id="oval:org.open-scap.f14:ste:20068" version="1">
23958 <unix-def:user_id datatype="int" operation="less than">500</unix-def:user_id>
23959 <unix-def:login_shell operation="not equal">/sbin/nologin</unix-def:login_shell>
23960 </unix-def:password_state>
23961 <unix-def:password_state id="oval:org.open-scap.f14:ste:200695" version="1">
23962 <unix-def:password>x</unix-def:password>
23963 </unix-def:password_state>
23964 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20071" version="1">
23965 <ind-def:subexpression datatype="int" operation="greater than or equal" var_check="all" var_ref="oval:org.open-scap.f14:var:20071"/>
23966 </ind-def:textfilecontent54_state>
23967 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20072" version="1">
23968 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20072"/>
23969 </ind-def:textfilecontent54_state>
23970 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20073" version="1">
23971 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20073"/>
23972 </ind-def:textfilecontent54_state>
23973 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20074" version="1">
23974 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20074"/>
23975 </ind-def:textfilecontent54_state>
23976 <ind-def:textfilecontent54_state comment="retry" id="oval:org.open-scap.f14:ste:200781" version="1">
23977 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200781"/>
23978 </ind-def:textfilecontent54_state>
23979 <ind-def:textfilecontent54_state comment="minlen" id="oval:org.open-scap.f14:ste:200782" version="1">
23980 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200782"/>
23981 </ind-def:textfilecontent54_state>
23982 <ind-def:textfilecontent54_state comment="dcredit" id="oval:org.open-scap.f14:ste:200783" version="1">
23983 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200783"/>
23984 </ind-def:textfilecontent54_state>
23985 <ind-def:textfilecontent54_state comment="ucredit" id="oval:org.open-scap.f14:ste:200784" version="1">
23986 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200784"/>
23987 </ind-def:textfilecontent54_state>
23988 <ind-def:textfilecontent54_state comment="ocredit" id="oval:org.open-scap.f14:ste:200785" version="1">
23989 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200785"/>
23990 </ind-def:textfilecontent54_state>
23991 <ind-def:textfilecontent54_state comment="lcredit" id="oval:org.open-scap.f14:ste:200786" version="1">
23992 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200786"/>
23993 </ind-def:textfilecontent54_state>
23994 <ind-def:textfilecontent54_state comment="difok" id="oval:org.open-scap.f14:ste:200787" version="1">
23995 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200787"/>
23996 </ind-def:textfilecontent54_state>
23997 <ind-def:variable_state comment="expected value of unlock_time" id="oval:org.open-scap.f14:ste:200800" version="1">
23998 <ind-def:value>0</ind-def:value>
23999 </ind-def:variable_state>
24000 <ind-def:textfilecontent54_state comment="deny" id="oval:org.open-scap.f14:ste:2008011" version="1">
24001 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200801"/>
24002 </ind-def:textfilecontent54_state>
24003 <ind-def:textfilecontent54_state comment="lock_time" id="oval:org.open-scap.f14:ste:2008012" version="1">
24004 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200802"/>
24005 </ind-def:textfilecontent54_state>
24006 <ind-def:textfilecontent54_state comment="unlock_time" id="oval:org.open-scap.f14:ste:2008013" version="1">
24007 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200803"/>
24008 </ind-def:textfilecontent54_state>
24009 <unix-def:file_state id="oval:org.open-scap.f14:ste:20081" version="1">
24010 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:200812"/>
24011 </unix-def:file_state>
24012 <unix-def:file_state id="oval:org.open-scap.f14:ste:20082" version="1">
24013 <unix-def:suid datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200820"/>
24014 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200821"/>
24015 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200822"/>
24016 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200823"/>
24017 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200824"/>
24018 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200825"/>
24019 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200826"/>
24020 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200827"/>
24021 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200828"/>
24022 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200829"/>
24023 </unix-def:file_state>
24024 <ind-def:variable_state comment="hashing algorithm is md5" id="oval:org.open-scap.f14:ste:200831" version="1">
24025 <ind-def:value>md5</ind-def:value>
24026 </ind-def:variable_state>
24027 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200832" version="1">
24028 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24029 </ind-def:textfilecontent54_state>
24030 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200833" version="1">
24031 <ind-def:subexpression operation="case insensitive equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20083"/>
24032 </ind-def:textfilecontent54_state>
24033 <ind-def:variable_state comment="remember is set to 0" id="oval:org.open-scap.f14:ste:200841" version="1">
24034 <ind-def:value datatype="string">0</ind-def:value>
24035 </ind-def:variable_state>
24036 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200842" version="1">
24037 <ind-def:subexpression datatype="string" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20084"/>
24038 </ind-def:textfilecontent54_state>
24039 <ind-def:environmentvariable_state comment="starts with . or :" id="oval:org.open-scap.f14:ste:200851" version="1">
24040 <ind-def:value operation="pattern match">^:|^\.</ind-def:value>
24041 </ind-def:environmentvariable_state>
24042 <ind-def:environmentvariable_state comment="ends with . or :" id="oval:org.open-scap.f14:ste:200852" version="1">
24043 <ind-def:value operation="pattern match">:$|\.$</ind-def:value>
24044 </ind-def:environmentvariable_state>
24045 <ind-def:environmentvariable_state comment="contains :.: or ::" id="oval:org.open-scap.f14:ste:200853" version="1">
24046 <ind-def:value operation="pattern match">:\.:|::</ind-def:value>
24047 </ind-def:environmentvariable_state>
24048 <unix-def:file_state comment="Group has NO write privilege" id="oval:org.open-scap.f14:ste:2008551" version="1">
24049 <unix-def:gwrite datatype="boolean">0</unix-def:gwrite>
24050 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24051 </unix-def:file_state>
24052 <unix-def:file_state id="oval:org.open-scap.f14:ste:200861" version="1">
24053 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24054 <unix-def:gwrite datatype="boolean">1</unix-def:gwrite>
24055 </unix-def:file_state>
24056 <unix-def:file_state id="oval:org.open-scap.f14:ste:200862" version="1">
24057 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24058 <unix-def:oread datatype="boolean">1</unix-def:oread>
24059 </unix-def:file_state>
24060 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20087" version="1">
24061 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20087"/>
24062 </ind-def:textfilecontent54_state>
24063 <unix-def:file_state id="oval:org.open-scap.f14:ste:20092" version="1">
24064 <unix-def:user_id datatype="int">0</unix-def:user_id>
24065 </unix-def:file_state>
24066 <unix-def:file_state id="oval:org.open-scap.f14:ste:20094" version="1">
24067 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:37"/>
24068 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:38"/>
24069 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:39"/>
24070 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:40"/>
24071 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:41"/>
24072 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:42"/>
24073 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:43"/>
24074 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:44"/>
24075 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:45"/>
24076 </unix-def:file_state>
24077 <unix-def:file_state id="oval:org.open-scap.f14:ste:20093" version="1">
24078 <unix-def:group_id datatype="int">0</unix-def:group_id>
24079 </unix-def:file_state>
24080 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20097" version="1">
24081 <ind-def:subexpression>no</ind-def:subexpression>
24082 </ind-def:textfilecontent54_state>
24083 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20098" version="1">
24084 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24085 </ind-def:textfilecontent54_state>
24086 <ind-def:xmlfilecontent_state comment="idle_delay (time before activation in minutes)" id="oval:org.open-scap.f14:ste:20100" version="1">
24087 <ind-def:value_of datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24088 </ind-def:xmlfilecontent_state>
24089 <ind-def:xmlfilecontent_state comment="idle_activation_enabled (Activation when idle)" id="oval:org.open-scap.f14:ste:201005" version="1">
24090 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24091 </ind-def:xmlfilecontent_state>
24092 <ind-def:xmlfilecontent_state comment="lock_enabled (lock on Activation)" id="oval:org.open-scap.f14:ste:201006" version="1">
24093 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24094 </ind-def:xmlfilecontent_state>
24095 <ind-def:xmlfilecontent_state comment="mode (Screensaver theme selection mode)" id="oval:org.open-scap.f14:ste:201007" version="1">
24096 <ind-def:value_of datatype="string" var_check="all">blank-only</ind-def:value_of>
24097 </ind-def:xmlfilecontent_state>
24098 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20102" version="1">
24099 <ind-def:subexpression var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24100 </ind-def:textfilecontent54_state>
24101 <ind-def:xmlfilecontent_state comment="Logon banner" id="oval:org.open-scap.f14:ste:20103" version="1">
24102 <ind-def:value_of var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24103 </ind-def:xmlfilecontent_state>
24104 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20104" version="1">
24105 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24106 </ind-def:textfilecontent54_state>
24107 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20105" version="1">
24108 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24109 </ind-def:textfilecontent54_state>
24110 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20106" version="1">
24111 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20106"/>
24112 </ind-def:textfilecontent54_state>
24113 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20107" version="1">
24114 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20107"/>
24115 </ind-def:textfilecontent54_state>
24116 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20111" version="1">
24117 <unix-def:start datatype="boolean">false</unix-def:start>
24118 <unix-def:kill datatype="boolean">true</unix-def:kill>
24119 </unix-def:runlevel_state>
24120 <unix-def:runlevel_state comment="Define state of disableed service" id="oval:org.open-scap.f14:ste:20171" version="1">
24121 <unix-def:start datatype="boolean">false</unix-def:start>
24122 <unix-def:kill datatype="boolean">true</unix-def:kill>
24123 </unix-def:runlevel_state>
24124 <unix-def:runlevel_state comment="Define state of enabled service" id="oval:org.open-scap.f14:ste:20172" version="1">
24125 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24126 <unix-def:start datatype="boolean">true</unix-def:start>
24127 </unix-def:runlevel_state>
24128 <!-- shared states: subexpression == {0, 1} -->
24129 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201120" version="1">
24130 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24131 </ind-def:textfilecontent54_state>
24132 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201121" version="1">
24133 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24134 </ind-def:textfilecontent54_state>
24135 <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
24136 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20113" version="1">
24137 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24138 </ind-def:textfilecontent54_state>
24139 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20114" version="1">
24140 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24141 </ind-def:textfilecontent54_state>
24142 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20117" version="1">
24143 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20117"/>
24144 </ind-def:textfilecontent54_state>
24145 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20116" version="1">
24146 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20116"/>
24147 </ind-def:textfilecontent54_state>
24148 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20123" version="1">
24149 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20123"/>
24150 </ind-def:textfilecontent54_state>
24151 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20124" version="1">
24152 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20124"/>
24153 </ind-def:textfilecontent54_state>
24154 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20122" version="1">
24155 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20122"/>
24156 </ind-def:textfilecontent54_state>
24157 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20120" version="1">
24158 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20120"/>
24159 </ind-def:textfilecontent54_state>
24160 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20125" version="1">
24161 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20125"/>
24162 </ind-def:textfilecontent54_state>
24163 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20121" version="1">
24164 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20121"/>
24165 </ind-def:textfilecontent54_state>
24166 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20118" version="1">
24167 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20118"/>
24168 </ind-def:textfilecontent54_state>
24169 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20126" version="1">
24170 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20126"/>
24171 </ind-def:textfilecontent54_state>
24172 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20119" version="1">
24173 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20119"/>
24174 </ind-def:textfilecontent54_state>
24175 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20115" version="1">
24176 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20115"/>
24177 </ind-def:textfilecontent54_state>
24178 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20132" version="1">
24179 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24180 </ind-def:textfilecontent54_state>
24181 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20133" version="1">
24182 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24183 </ind-def:textfilecontent54_state>
24184 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20131" version="1">
24185 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24186 </ind-def:textfilecontent54_state>
24187 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20134" version="1">
24188 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20134"/>
24189 </ind-def:textfilecontent54_state>
24190 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20140" version="1">
24191 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20140"/>
24192 </ind-def:textfilecontent54_state>
24193 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20145" version="1">
24194 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20145"/>
24195 </ind-def:textfilecontent54_state>
24196 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20139" version="1">
24197 <ind-def:subexpression operation="equals" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20139"/>
24198 </ind-def:textfilecontent54_state>
24199 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20144" version="1">
24200 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20144"/>
24201 </ind-def:textfilecontent54_state>
24202 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20143" version="1">
24203 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20143"/>
24204 </ind-def:textfilecontent54_state>
24205 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20141" version="1">
24206 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20141"/>
24207 </ind-def:textfilecontent54_state>
24208 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20142" version="1">
24209 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20142"/>
24210 </ind-def:textfilecontent54_state>
24211 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201745" version="1">
24212 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24213 </ind-def:textfilecontent54_state>
24214 <unix-def:runlevel_state comment="Starts at runlevel 3 or 5 (with network)" id="oval:org.open-scap.f14:ste:20146" version="1">
24215 <unix-def:runlevel operation="pattern match">^[35]$</unix-def:runlevel>
24216 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24217 </unix-def:runlevel_state>
24218 <unix-def:runlevel_state comment="Starts at runlevel 2, 3, 4 or 5" id="oval:org.open-scap.f14:ste:20148" version="1">
24219 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24220 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24221 </unix-def:runlevel_state>
24222 <unix-def:file_state id="oval:org.open-scap.f14:ste:20149" version="1">
24223 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:201491"/>
24224 </unix-def:file_state>
24225 <unix-def:file_state id="oval:org.open-scap.f14:ste:20150" version="1">
24226 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:201502"/>
24227 </unix-def:file_state>
24228 <unix-def:file_state id="oval:org.open-scap.f14:ste:20151" version="1">
24229 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201510"/>
24230 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201511"/>
24231 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201512"/>
24232 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201513"/>
24233 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201514"/>
24234 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201515"/>
24235 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201516"/>
24236 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201517"/>
24237 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201518"/>
24238 </unix-def:file_state>
24239 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20156" version="1">
24240 <unix-def:start datatype="boolean">true</unix-def:start>
24241 <unix-def:kill datatype="boolean">false</unix-def:kill>
24242 </unix-def:runlevel_state>
24243 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201670" version="1">
24244 <unix-def:processor_type operation="pattern match">^i386$|^i686$</unix-def:processor_type>
24245 </unix-def:uname_state>
24246 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201672" version="1">
24247 <unix-def:processor_type operation="pattern match">^x86_64$|^ia64$|</unix-def:processor_type>
24248 </unix-def:uname_state>
24249 <unix-def:file_state id="oval:org.open-scap.f14:ste:20217" version="1">
24250 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24251 </unix-def:file_state>
24252 <unix-def:file_state id="oval:org.open-scap.f14:ste:20225" version="1">
24253 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:46"/>
24254 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:47"/>
24255 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:48"/>
24256 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:49"/>
24257 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:50"/>
24258 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:51"/>
24259 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:52"/>
24260 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:53"/>
24261 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:54"/>
24262 </unix-def:file_state>
24263 <unix-def:file_state id="oval:org.open-scap.f14:ste:20216" version="1">
24264 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24265 </unix-def:file_state>
24266 <unix-def:file_state id="oval:org.open-scap.f14:ste:20209" version="1">
24267 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202091"/>
24268 </unix-def:file_state>
24269 <unix-def:file_state id="oval:org.open-scap.f14:ste:20212" version="1">
24270 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202121"/>
24271 </unix-def:file_state>
24272 <unix-def:file_state id="oval:org.open-scap.f14:ste:20210" version="1">
24273 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:55"/>
24274 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:56"/>
24275 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:57"/>
24276 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:58"/>
24277 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:59"/>
24278 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:60"/>
24279 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:61"/>
24280 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:62"/>
24281 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:63"/>
24282 </unix-def:file_state>
24283 <unix-def:file_state id="oval:org.open-scap.f14:ste:20214" version="1">
24284 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24285 </unix-def:file_state>
24286 <unix-def:file_state id="oval:org.open-scap.f14:ste:20222" version="1">
24287 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24288 </unix-def:file_state>
24289 <unix-def:file_state id="oval:org.open-scap.f14:ste:20218" version="1">
24290 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24291 </unix-def:file_state>
24292 <unix-def:file_state id="oval:org.open-scap.f14:ste:20223" version="1">
24293 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24294 </unix-def:file_state>
24295 <unix-def:file_state id="oval:org.open-scap.f14:ste:20221" version="1">
24296 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24297 </unix-def:file_state>
24298 <unix-def:file_state id="oval:org.open-scap.f14:ste:20211" version="1">
24299 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202112"/>
24300 </unix-def:file_state>
24301 <unix-def:file_state id="oval:org.open-scap.f14:ste:20224" version="1">
24302 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:64"/>
24303 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:65"/>
24304 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:66"/>
24305 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:67"/>
24306 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:68"/>
24307 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:69"/>
24308 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:70"/>
24309 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:71"/>
24310 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:72"/>
24311 </unix-def:file_state>
24312 <unix-def:file_state id="oval:org.open-scap.f14:ste:20219" version="1">
24313 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24314 </unix-def:file_state>
24315 <unix-def:file_state id="oval:org.open-scap.f14:ste:20208" version="1">
24316 <unix-def:group_id datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:202082"/>
24317 </unix-def:file_state>
24318 <unix-def:file_state id="oval:org.open-scap.f14:ste:20220" version="1">
24319 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24320 </unix-def:file_state>
24321 <unix-def:file_state id="oval:org.open-scap.f14:ste:20213" version="1">
24322 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:73"/>
24323 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:74"/>
24324 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:75"/>
24325 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:76"/>
24326 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:77"/>
24327 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:78"/>
24328 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:79"/>
24329 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:80"/>
24330 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:81"/>
24331 </unix-def:file_state>
24332 <unix-def:file_state id="oval:org.open-scap.f14:ste:20226" version="1">
24333 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:82"/>
24334 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:83"/>
24335 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:84"/>
24336 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:85"/>
24337 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:86"/>
24338 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:87"/>
24339 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:88"/>
24340 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:89"/>
24341 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:90"/>
24342 </unix-def:file_state>
24343 <unix-def:file_state id="oval:org.open-scap.f14:ste:20227" version="1">
24344 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:91"/>
24345 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:92"/>
24346 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:93"/>
24347 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:94"/>
24348 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:95"/>
24349 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:96"/>
24350 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:97"/>
24351 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:98"/>
24352 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:99"/>
24353 </unix-def:file_state>
24354 <unix-def:file_state id="oval:org.open-scap.f14:ste:20215" version="1">
24355 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24356 </unix-def:file_state>
24357 <unix-def:file_state id="oval:org.open-scap.f14:ste:20228" version="1">
24358 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:100"/>
24359 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:101"/>
24360 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:102"/>
24361 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:103"/>
24362 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:104"/>
24363 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:105"/>
24364 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:106"/>
24365 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:107"/>
24366 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:108"/>
24367 </unix-def:file_state>
24368 <unix-def:file_state id="oval:org.open-scap.f14:ste:20229" version="1">
24369 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202292"/>
24370 </unix-def:file_state>
24371 <unix-def:file_state id="oval:org.open-scap.f14:ste:20230" version="1">
24372 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202302"/>
24373 </unix-def:file_state>
24374 <unix-def:file_state id="oval:org.open-scap.f14:ste:20231" version="1">
24375 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:160"/>
24376 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:161"/>
24377 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:162"/>
24378 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:163"/>
24379 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:164"/>
24380 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:165"/>
24381 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:166"/>
24382 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:167"/>
24383 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:168"/>
24384 </unix-def:file_state>
24385 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:86" version="1">
24386 <ind-def:subexpression datatype="int" operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24387 </ind-def:textfilecontent54_state>
24388 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:87" version="1">
24389 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20246"/>
24390 </ind-def:textfilecontent54_state>
24391 <ind-def:textfilecontent54_state comment="ClientAliveInterval in seconds" id="oval:org.open-scap.f14:ste:20239" version="1">
24392 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24393 </ind-def:textfilecontent54_state>
24394 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20240" version="1">
24395 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20240"/>
24396 </ind-def:textfilecontent54_state>
24397 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:202456" version="1">
24398 <ind-def:subexpression operation="equals">aes128-ctr,aes192-ctr,aes256-ctr</ind-def:subexpression>
24399 </ind-def:textfilecontent54_state>
24400 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20253" version="1">
24401 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24402 </ind-def:textfilecontent54_state>
24403 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20254" version="1">
24404 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24405 </ind-def:textfilecontent54_state>
24406 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20255" version="1">
24407 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24408 </ind-def:textfilecontent54_state>
24409 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20256" version="1">
24410 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24411 </ind-def:textfilecontent54_state>
24412 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20257" version="1">
24413 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24414 </ind-def:textfilecontent54_state>
24415 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20258" version="1">
24416 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24417 </ind-def:textfilecontent54_state>
24418 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20259" version="1">
24419 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24420 </ind-def:textfilecontent54_state>
24421 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20260" version="1">
24422 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24423 </ind-def:textfilecontent54_state>
24424 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20264" version="1">
24425 <ind-def:subexpression operation="equals">off</ind-def:subexpression>
24426 </ind-def:textfilecontent54_state>
24427 <unix-def:file_state id="oval:org.open-scap.f14:ste:20290" version="1">
24428 <unix-def:group_id datatype="int">0</unix-def:group_id>
24429 </unix-def:file_state>
24430 <unix-def:file_state id="oval:org.open-scap.f14:ste:20291" version="1">
24431 <unix-def:user_id datatype="int">0</unix-def:user_id>
24432 </unix-def:file_state>
24433 <unix-def:file_state id="oval:org.open-scap.f14:ste:20313" version="1">
24434 <unix-def:group_id datatype="int">0</unix-def:group_id>
24435 </unix-def:file_state>
24436 <unix-def:file_state id="oval:org.open-scap.f14:ste:20315" version="1">
24437 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:109"/>
24438 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:110"/>
24439 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:111"/>
24440 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:112"/>
24441 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:113"/>
24442 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:114"/>
24443 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:115"/>
24444 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:116"/>
24445 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:117"/>
24446 </unix-def:file_state>
24447 <unix-def:file_state id="oval:org.open-scap.f14:ste:20314" version="1">
24448 <unix-def:user_id datatype="int">0</unix-def:user_id>
24449 </unix-def:file_state>
24450 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20324" version="1">
24451 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20324"/>
24452 </ind-def:textfilecontent54_state>
24453 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20325" version="1">
24454 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20325"/>
24455 </ind-def:textfilecontent54_state>
24456 <unix-def:file_state id="oval:org.open-scap.f14:ste:20326" version="1">
24457 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:118"/>
24458 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:119"/>
24459 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:120"/>
24460 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:121"/>
24461 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:122"/>
24462 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:123"/>
24463 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:124"/>
24464 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:125"/>
24465 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:126"/>
24466 </unix-def:file_state>
24467 <unix-def:file_state id="oval:org.open-scap.f14:ste:20327" version="1">
24468 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:127"/>
24469 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:128"/>
24470 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:129"/>
24471 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:130"/>
24472 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:131"/>
24473 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:132"/>
24474 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:133"/>
24475 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:134"/>
24476 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:135"/>
24477 </unix-def:file_state>
24478 <unix-def:file_state id="oval:org.open-scap.f14:ste:20328" version="1">
24479 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:136"/>
24480 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:137"/>
24481 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:138"/>
24482 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:139"/>
24483 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:140"/>
24484 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:141"/>
24485 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:142"/>
24486 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:143"/>
24487 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:144"/>
24488 </unix-def:file_state>
24489 <unix-def:file_state id="oval:org.open-scap.f14:ste:20329" version="1">
24490 <unix-def:group_id datatype="int">0</unix-def:group_id>
24491 </unix-def:file_state>
24492 <unix-def:file_state id="oval:org.open-scap.f14:ste:20330" version="1">
24493 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:145"/>
24494 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:146"/>
24495 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:147"/>
24496 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:148"/>
24497 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:149"/>
24498 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:150"/>
24499 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:151"/>
24500 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:152"/>
24501 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:153"/>
24502 </unix-def:file_state>
24503 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20337" version="1">
24504 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24505 </ind-def:textfilecontent54_state>
24506 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20338" version="1">
24507 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24508 </ind-def:textfilecontent54_state>
24509 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20339" version="1">
24510 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24511 </ind-def:textfilecontent54_state>
24512 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340111" version="1">
24513 <ind-def:instance datatype="int">1</ind-def:instance>
24514 <ind-def:subexpression operation="not equal">cifs</ind-def:subexpression>
24515 </ind-def:textfilecontent54_state>
24516 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340112" version="1">
24517 <ind-def:instance datatype="int">2</ind-def:instance>
24518 <ind-def:subexpression operation="pattern match">sec=(krb5i|ntlmv2i)</ind-def:subexpression>
24519 </ind-def:textfilecontent54_state>
24520 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20343" version="1">
24521 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
24522 </ind-def:textfilecontent54_state>
24523 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20346" version="1">
24524 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20346"/>
24525 </ind-def:textfilecontent54_state>
24526 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20345" version="1">
24527 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
24528 </ind-def:textfilecontent54_state>
24529 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20350" version="1">
24530 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
24531 </ind-def:textfilecontent54_state>
24532 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20347" version="1">
24533 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20347"/>
24534 </ind-def:textfilecontent54_state>
24535 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20348" version="1">
24536 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20348"/>
24537 </ind-def:textfilecontent54_state>
24538 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20344" version="1">
24539 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
24540 </ind-def:textfilecontent54_state>
24541 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20349" version="1">
24542 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20349"/>
24543 </ind-def:textfilecontent54_state>
24544 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20353" version="1">
24545 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20353"/>
24546 </ind-def:textfilecontent54_state>
24547 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20354" version="1">
24548 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20354"/>
24549 </ind-def:textfilecontent54_state>
24550 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20351" version="1">
24551 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20351"/>
24552 </ind-def:textfilecontent54_state>
24553 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20352" version="1">
24554 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20352"/>
24555 </ind-def:textfilecontent54_state>
24556 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20070" version="1">
24557 <ind-def:subexpression operation="equals">root</ind-def:subexpression>
24558 </ind-def:textfilecontent54_state>
24559 </states>
24560 <variables>
24561 <external_variable comment="External variable for definition 20042" datatype="string" id="oval:org.open-scap.f14:var:20042" version="1"/>
24562 <external_variable comment="External variable for definition 20043" datatype="string" id="oval:org.open-scap.f14:var:20043" version="1"/>
24563 <external_variable comment="External variable for definition 20044" datatype="string" id="oval:org.open-scap.f14:var:20044" version="1"/>
24564 <external_variable comment="External variable for definition 20045" datatype="string" id="oval:org.open-scap.f14:var:20045" version="1"/>
24565 <external_variable comment="External variable for definition 20053" datatype="int" id="oval:org.open-scap.f14:var:20053" version="1"/>
24566 <external_variable comment="External variable for definition 20071" datatype="int" id="oval:org.open-scap.f14:var:20071" version="1"/>
24567 <!-- val:org.fedoraproject.f14:def:20071 -->
24568 <external_variable comment="External variable for definition 20072" datatype="string" id="oval:org.open-scap.f14:var:20072" version="1"/>
24569 <external_variable comment="External variable for definition 20073" datatype="string" id="oval:org.open-scap.f14:var:20073" version="1"/>
24570 <external_variable comment="External variable for definition 20074" datatype="string" id="oval:org.open-scap.f14:var:20074" version="1"/>
24571 <external_variable comment="External variable for definition 200781" datatype="int" id="oval:org.open-scap.f14:var:200781" version="1"/>
24572 <external_variable comment="External variable for definition 200782" datatype="int" id="oval:org.open-scap.f14:var:200782" version="1"/>
24573 <external_variable comment="External variable for definition 200783" datatype="int" id="oval:org.open-scap.f14:var:200783" version="1"/>
24574 <external_variable comment="External variable for definition 200784" datatype="int" id="oval:org.open-scap.f14:var:200784" version="1"/>
24575 <external_variable comment="External variable for definition 200785" datatype="int" id="oval:org.open-scap.f14:var:200785" version="1"/>
24576 <external_variable comment="External variable for definition 200786" datatype="int" id="oval:org.open-scap.f14:var:200786" version="1"/>
24577 <external_variable comment="External variable for definition 200787" datatype="int" id="oval:org.open-scap.f14:var:200787" version="1"/>
24578 <external_variable comment="External variable for definition 20080 deny" datatype="int" id="oval:org.open-scap.f14:var:200801" version="1"/>
24579 <external_variable comment="External variable for definition 20080 lock_time" datatype="int" id="oval:org.open-scap.f14:var:200802" version="1"/>
24580 <external_variable comment="External variable for definition 20080 unlock_time" datatype="int" id="oval:org.open-scap.f14:var:200803" version="1"/>
24581 <external_variable comment="External variable for definition 20081" datatype="string" id="oval:org.open-scap.f14:var:20081" version="1"/>
24582 <external_variable comment="External variable for definition 20082" datatype="string" id="oval:org.open-scap.f14:var:20082" version="1"/>
24583 <external_variable comment="External variable for definition 20083 Password hashing algorithm" datatype="string" id="oval:org.open-scap.f14:var:20083" version="1"/>
24584 <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"/>
24585 <external_variable comment="External variable for definition 20087 - 20090" datatype="string" id="oval:org.open-scap.f14:var:20087" version="1"/>
24586 <external_variable comment="External variable for definition 20092" datatype="string" id="oval:org.open-scap.f14:var:20092" version="1"/>
24587 <external_variable comment="External variable for definition 20094" datatype="string" id="oval:org.open-scap.f14:var:20094" version="1"/>
24588 <external_variable comment="External variable for definition 20093" datatype="string" id="oval:org.open-scap.f14:var:20093" version="1"/>
24589 <external_variable comment="External variable for definitions 20098 20100" datatype="int" id="oval:org.open-scap.f14:var:20098" version="1"/>
24590 <external_variable comment="External variable for definitions 20099" datatype="int" id="oval:org.open-scap.f14:var:20099" version="1"/>
24591 <!-- turn minutes into seconds -->
24592 <external_variable comment="External variable for definitions 200102 20103 Warning Banner" datatype="string" id="oval:org.open-scap.f14:var:20102" version="1"/>
24593 <external_variable comment="External variable for definition 20106" datatype="string" id="oval:org.open-scap.f14:var:20106" version="1"/>
24594 <external_variable comment="External variable for definition 20107" datatype="string" id="oval:org.open-scap.f14:var:20107" version="1"/>
24595 <external_variable comment="External variable for definition 20115" datatype="string" id="oval:org.open-scap.f14:var:20115" version="1"/>
24596 <external_variable comment="External variable for definition 20116" datatype="string" id="oval:org.open-scap.f14:var:20116" version="1"/>
24597 <external_variable comment="External variable for definition 20117" datatype="string" id="oval:org.open-scap.f14:var:20117" version="1"/>
24598 <external_variable comment="External variable for definition 20118" datatype="string" id="oval:org.open-scap.f14:var:20118" version="1"/>
24599 <external_variable comment="External variable for definition 20119" datatype="string" id="oval:org.open-scap.f14:var:20119" version="1"/>
24600 <external_variable comment="External variable for definition 20120" datatype="string" id="oval:org.open-scap.f14:var:20120" version="1"/>
24601 <external_variable comment="External variable for definition 20121" datatype="string" id="oval:org.open-scap.f14:var:20121" version="1"/>
24602 <external_variable comment="External variable for definition 20122" datatype="string" id="oval:org.open-scap.f14:var:20122" version="1"/>
24603 <external_variable comment="External variable for definition 20123" datatype="string" id="oval:org.open-scap.f14:var:20123" version="1"/>
24604 <external_variable comment="External variable for definition 20124" datatype="string" id="oval:org.open-scap.f14:var:20124" version="1"/>
24605 <external_variable comment="External variable for definition 20125" datatype="string" id="oval:org.open-scap.f14:var:20125" version="1"/>
24606 <external_variable comment="External variable for definition 20126" datatype="string" id="oval:org.open-scap.f14:var:20126" version="1"/>
24607 <external_variable comment="External variable for definition 20134" datatype="string" id="oval:org.open-scap.f14:var:20134" version="1"/>
24608 <external_variable comment="External variable for definition 20135" datatype="string" id="oval:org.open-scap.f14:var:20135" version="1"/>
24609 <external_variable comment="External variable for definition 20136" datatype="string" id="oval:org.open-scap.f14:var:20136" version="1"/>
24610 <external_variable comment="External variable for definition 20137" datatype="string" id="oval:org.open-scap.f14:var:20137" version="1"/>
24611 <external_variable comment="External variable for definition 20138" datatype="string" id="oval:org.open-scap.f14:var:20138" version="1"/>
24612 <external_variable comment="External variable for definition 20139" datatype="string" id="oval:org.open-scap.f14:var:20139" version="1"/>
24613 <external_variable comment="External variable for definition 20140" datatype="string" id="oval:org.open-scap.f14:var:20140" version="1"/>
24614 <external_variable comment="External variable for definition 20141" datatype="string" id="oval:org.open-scap.f14:var:20141" version="1"/>
24615 <external_variable comment="External variable for definition 20142" datatype="string" id="oval:org.open-scap.f14:var:20142" version="1"/>
24616 <external_variable comment="External variable for definition 20143" datatype="string" id="oval:org.open-scap.f14:var:20143" version="1"/>
24617 <external_variable comment="External variable for definition 20144" datatype="string" id="oval:org.open-scap.f14:var:20144" version="1"/>
24618 <external_variable comment="External variable for definition 20145" datatype="string" id="oval:org.open-scap.f14:var:20145" version="1"/>
24619 <external_variable comment="External variable for definition 20149" datatype="string" id="oval:org.open-scap.f14:var:20149" version="1"/>
24620 <external_variable comment="External variable for definition 20150" datatype="string" id="oval:org.open-scap.f14:var:20150" version="1"/>
24621 <external_variable comment="External variable for definition 20151" datatype="string" id="oval:org.open-scap.f14:var:20151" version="1"/>
24622 <external_variable comment="External variable for definition 20208" datatype="string" id="oval:org.open-scap.f14:var:20208" version="1"/>
24623 <external_variable comment="External variable for definition 20209" datatype="string" id="oval:org.open-scap.f14:var:20209" version="1"/>
24624 <external_variable comment="External variable for definition 20210" datatype="string" id="oval:org.open-scap.f14:var:20210" version="1"/>
24625 <external_variable comment="External variable for definition 20211" datatype="string" id="oval:org.open-scap.f14:var:20211" version="1"/>
24626 <external_variable comment="External variable for definition 20212" datatype="string" id="oval:org.open-scap.f14:var:20212" version="1"/>
24627 <external_variable comment="External variable for definition 20213" datatype="string" id="oval:org.open-scap.f14:var:20213" version="1"/>
24628 <external_variable comment="External variable for definition 20214 20216 20217 20218" datatype="string" id="oval:org.open-scap.f14:var:20214" version="1"/>
24629 <external_variable comment="External variable for definition 20219 20220 20221 20222 20223" datatype="string" id="oval:org.open-scap.f14:var:20219" version="1"/>
24630 <external_variable comment="External variable for definition 20224 20225 20226 20227 20228" datatype="string" id="oval:org.open-scap.f14:var:20224" version="1"/>
24631 <external_variable comment="External variable for definition 20229" datatype="string" id="oval:org.open-scap.f14:var:20229" version="1"/>
24632 <external_variable comment="External variable for definition 20230" datatype="string" id="oval:org.open-scap.f14:var:20230" version="1"/>
24633 <external_variable comment="External variable for definition 20231" datatype="string" id="oval:org.open-scap.f14:var:20231" version="1"/>
24634 <external_variable comment="External variable for ClientActiveinterval in definition 20239" datatype="int" id="oval:org.open-scap.f14:var:20239" version="1"/>
24635 <external_variable comment="External variable for ClientAliveCountMax in definition 20240" datatype="int" id="oval:org.open-scap.f14:var:20240" version="1"/>
24636 <external_variable comment="External variable for definition 20246" datatype="string" id="oval:org.open-scap.f14:var:20246" version="1"/>
24637 <external_variable comment="External variable for definition 20262" datatype="string" id="oval:org.open-scap.f14:var:20262" version="1"/>
24638 <external_variable comment="External variable for definition 20264" datatype="string" id="oval:org.open-scap.f14:var:20264" version="1"/>
24639 <external_variable comment="External variable for definition 20267" datatype="string" id="oval:org.open-scap.f14:var:20267" version="1"/>
24640 <external_variable comment="External variable for definition 20290" datatype="string" id="oval:org.open-scap.f14:var:20290" version="1"/>
24641 <external_variable comment="External variable for definition 20291" datatype="string" id="oval:org.open-scap.f14:var:20291" version="1"/>
24642 <external_variable comment="External variable for definition 20313" datatype="string" id="oval:org.open-scap.f14:var:20313" version="1"/>
24643 <external_variable comment="External variable for definition 20314" datatype="string" id="oval:org.open-scap.f14:var:20314" version="1"/>
24644 <external_variable comment="External variable for definition 20315" datatype="string" id="oval:org.open-scap.f14:var:20315" version="1"/>
24645 <external_variable comment="External variable for definition 20324" datatype="string" id="oval:org.open-scap.f14:var:20324" version="1"/>
24646 <external_variable comment="External variable for definition 20325" datatype="string" id="oval:org.open-scap.f14:var:20325" version="1"/>
24647 <external_variable comment="External variable for definition 20326" datatype="string" id="oval:org.open-scap.f14:var:20326" version="1"/>
24648 <external_variable comment="External variable for definition 20327" datatype="string" id="oval:org.open-scap.f14:var:20327" version="1"/>
24649 <external_variable comment="External variable for definition 20328" datatype="string" id="oval:org.open-scap.f14:var:20328" version="1"/>
24650 <external_variable comment="External variable for definition 20329" datatype="string" id="oval:org.open-scap.f14:var:20329" version="1"/>
24651 <external_variable comment="External variable for definition 20330" datatype="string" id="oval:org.open-scap.f14:var:20330" version="1"/>
24652 <external_variable comment="External variable for definition 20346" datatype="string" id="oval:org.open-scap.f14:var:20346" version="1"/>
24653 <external_variable comment="External variable for definition 20347" datatype="string" id="oval:org.open-scap.f14:var:20347" version="1"/>
24654 <external_variable comment="External variable for definition 20348" datatype="string" id="oval:org.open-scap.f14:var:20348" version="1"/>
24655 <external_variable comment="External variable for definition 20349" datatype="string" id="oval:org.open-scap.f14:var:20349" version="1"/>
24656 <external_variable comment="External variable for definition 20351" datatype="string" id="oval:org.open-scap.f14:var:20351" version="1"/>
24657 <external_variable comment="External variable for definition 20352" datatype="string" id="oval:org.open-scap.f14:var:20352" version="1"/>
24658 <external_variable comment="External variable for definition 20353" datatype="string" id="oval:org.open-scap.f14:var:20353" version="1"/>
24659 <external_variable comment="External variable for definition 20354" datatype="string" id="oval:org.open-scap.f14:var:20354" version="1"/>
24660 <!--
24661 <local_variable id="oval:org.open-scap.f14:var:201490" version="1" datatype="string" comment="list of paths in /etc/syslog.conf" >
24662 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201490"/>
24663 </local_variable>
24664 -->
24665 <!--
24666 <constant_variable id="oval:org.open-scap.f14:var:20107" version="1" datatype="string" comment="foo">
24667 <value>targeted</value>
24668 </constant_variable>
24669 -->
24670 <constant_variable comment="Filenames of mandatory log files" datatype="string" id="oval:org.open-scap.f14:var:201490" version="1">
24671 <value>cron</value>
24672 <value>messages</value>
24673 <value>secure</value>
24674 <value>maillog</value>
24675 <!--
24676 <value>boot.log</value>
24677 <value>faillog</value>
24678 <value>dmesg</value>
24679 <value>audit</value>
24680 <value>lastlog</value>
24681 -->
24682 </constant_variable>
24683 <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">
24684 <value>lockdev</value>
24685 <value>sendmail.sendmail</value>
24686 </constant_variable>
24687 <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">
24688 <value>write</value>
24689 <value>locate</value>
24690 <value>ssh-agent</value>
24691 <value>wall</value>
24692 <value>screen</value>
24693 <value>lockfile</value>
24694 <value>gnomine</value>
24695 <value>jwhois</value>
24696 <value>iagno</value>
24697 <value>crontab</value>
24698 </constant_variable>
24699 <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">
24700 <value>cgexec</value>
24701 <value>fusermount</value>
24702 <value>mount</value>
24703 <value>ping</value>
24704 <value>ping6</value>
24705 <value>su</value>
24706 <value>umount</value>
24707 </constant_variable>
24708 <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">
24709 <value>mount.nfs</value>
24710 <value>pam_timestamp_check</value>
24711 <value>unix_chkpwd</value>
24712 </constant_variable>
24713 <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">
24714 <value>Xorg</value>
24715 <value>at</value>
24716 <value>chage</value>
24717 <value>chfn</value>
24718 <value>chsh</value>
24719 <value>crontab</value>
24720 <value>gpasswd</value>
24721 <value>ksu</value>
24722 <value>newgrp</value>
24723 <value>passwd</value>
24724 <value>pkexec</value>
24725 <value>rcp</value>
24726 <value>rlogin</value>
24727 <value>rsh</value>
24728 <value>staprun</value>
24729 <value>sudo</value>
24730 <value>sudoedit</value>
24731 </constant_variable>
24732 <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">
24733 <value>innbind</value>
24734 <value>rnews</value>
24735 </constant_variable>
24736 <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">
24737 <value>ccreds_chkpwd</value>
24738 <value>mtr</value>
24739 <value>seunshare</value>
24740 <value>suexec</value>
24741 <value>userhelper</value>
24742 <value>usernetctl</value>
24743 <value>userisdnctl</value>
24744 </constant_variable>
24745 <constant_variable comment="Regexp pattern for xinetd services" datatype="string" id="oval:org.open-scap.f14:var:2017" version="1">
24746 <value>^[[:space:]]+disable[[:space:]]*=[[:space:]]*(yes|no)</value>
24747 </constant_variable>
24748 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:1" version="1">
24749 <substring substring_length="1" substring_start="1">
24750 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24751 </substring>
24752 </local_variable>
24753 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:2" version="1">
24754 <substring substring_length="1" substring_start="2">
24755 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24756 </substring>
24757 </local_variable>
24758 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:3" version="1">
24759 <substring substring_length="1" substring_start="3">
24760 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24761 </substring>
24762 </local_variable>
24763 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:4" version="1">
24764 <substring substring_length="1" substring_start="4">
24765 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24766 </substring>
24767 </local_variable>
24768 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:5" version="1">
24769 <substring substring_length="1" substring_start="5">
24770 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24771 </substring>
24772 </local_variable>
24773 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:6" version="1">
24774 <substring substring_length="1" substring_start="6">
24775 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24776 </substring>
24777 </local_variable>
24778 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:7" version="1">
24779 <substring substring_length="1" substring_start="7">
24780 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24781 </substring>
24782 </local_variable>
24783 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:8" version="1">
24784 <substring substring_length="1" substring_start="8">
24785 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24786 </substring>
24787 </local_variable>
24788 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:9" version="1">
24789 <substring substring_length="1" substring_start="9">
24790 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24791 </substring>
24792 </local_variable>
24793 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:10" version="1">
24794 <substring substring_length="1" substring_start="1">
24795 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24796 </substring>
24797 </local_variable>
24798 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:11" version="1">
24799 <substring substring_length="1" substring_start="2">
24800 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24801 </substring>
24802 </local_variable>
24803 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:12" version="1">
24804 <substring substring_length="1" substring_start="3">
24805 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24806 </substring>
24807 </local_variable>
24808 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:13" version="1">
24809 <substring substring_length="1" substring_start="4">
24810 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24811 </substring>
24812 </local_variable>
24813 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:14" version="1">
24814 <substring substring_length="1" substring_start="5">
24815 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24816 </substring>
24817 </local_variable>
24818 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:15" version="1">
24819 <substring substring_length="1" substring_start="6">
24820 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24821 </substring>
24822 </local_variable>
24823 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:16" version="1">
24824 <substring substring_length="1" substring_start="7">
24825 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24826 </substring>
24827 </local_variable>
24828 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:17" version="1">
24829 <substring substring_length="1" substring_start="8">
24830 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24831 </substring>
24832 </local_variable>
24833 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:18" version="1">
24834 <substring substring_length="1" substring_start="9">
24835 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24836 </substring>
24837 </local_variable>
24838 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:19" version="1">
24839 <substring substring_length="1" substring_start="1">
24840 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24841 </substring>
24842 </local_variable>
24843 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:20" version="1">
24844 <substring substring_length="1" substring_start="2">
24845 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24846 </substring>
24847 </local_variable>
24848 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:21" version="1">
24849 <substring substring_length="1" substring_start="3">
24850 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24851 </substring>
24852 </local_variable>
24853 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:22" version="1">
24854 <substring substring_length="1" substring_start="4">
24855 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24856 </substring>
24857 </local_variable>
24858 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:23" version="1">
24859 <substring substring_length="1" substring_start="5">
24860 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24861 </substring>
24862 </local_variable>
24863 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:24" version="1">
24864 <substring substring_length="1" substring_start="6">
24865 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24866 </substring>
24867 </local_variable>
24868 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:25" version="1">
24869 <substring substring_length="1" substring_start="7">
24870 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24871 </substring>
24872 </local_variable>
24873 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:26" version="1">
24874 <substring substring_length="1" substring_start="8">
24875 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24876 </substring>
24877 </local_variable>
24878 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:27" version="1">
24879 <substring substring_length="1" substring_start="9">
24880 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24881 </substring>
24882 </local_variable>
24883 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:28" version="1">
24884 <substring substring_length="1" substring_start="1">
24885 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24886 </substring>
24887 </local_variable>
24888 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:29" version="1">
24889 <substring substring_length="1" substring_start="2">
24890 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24891 </substring>
24892 </local_variable>
24893 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:30" version="1">
24894 <substring substring_length="1" substring_start="3">
24895 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24896 </substring>
24897 </local_variable>
24898 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:31" version="1">
24899 <substring substring_length="1" substring_start="4">
24900 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24901 </substring>
24902 </local_variable>
24903 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:32" version="1">
24904 <substring substring_length="1" substring_start="5">
24905 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24906 </substring>
24907 </local_variable>
24908 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:33" version="1">
24909 <substring substring_length="1" substring_start="6">
24910 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24911 </substring>
24912 </local_variable>
24913 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:34" version="1">
24914 <substring substring_length="1" substring_start="7">
24915 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24916 </substring>
24917 </local_variable>
24918 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:35" version="1">
24919 <substring substring_length="1" substring_start="8">
24920 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24921 </substring>
24922 </local_variable>
24923 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:36" version="1">
24924 <substring substring_length="1" substring_start="9">
24925 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24926 </substring>
24927 </local_variable>
24928 <local_variable comment="List of user ids" datatype="int" id="oval:org.open-scap.f14:var:20050" version="1">
24929 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200501"/>
24930 </local_variable>
24931 <local_variable comment="List of group ids" datatype="int" id="oval:org.open-scap.f14:var:20051" version="1">
24932 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200511"/>
24933 </local_variable>
24934 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200820" version="1">
24935 <substring substring_length="1" substring_start="1">
24936 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24937 </substring>
24938 </local_variable>
24939 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200821" version="1">
24940 <substring substring_length="1" substring_start="4">
24941 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24942 </substring>
24943 </local_variable>
24944 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200822" version="1">
24945 <substring substring_length="1" substring_start="5">
24946 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24947 </substring>
24948 </local_variable>
24949 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200823" version="1">
24950 <substring substring_length="1" substring_start="6">
24951 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24952 </substring>
24953 </local_variable>
24954 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200824" version="1">
24955 <substring substring_length="1" substring_start="7">
24956 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24957 </substring>
24958 </local_variable>
24959 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200825" version="1">
24960 <substring substring_length="1" substring_start="8">
24961 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24962 </substring>
24963 </local_variable>
24964 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200826" version="1">
24965 <substring substring_length="1" substring_start="9">
24966 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24967 </substring>
24968 </local_variable>
24969 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200827" version="1">
24970 <substring substring_length="1" substring_start="10">
24971 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24972 </substring>
24973 </local_variable>
24974 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200828" version="1">
24975 <substring substring_length="1" substring_start="11">
24976 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24977 </substring>
24978 </local_variable>
24979 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200829" version="1">
24980 <substring substring_length="1" substring_start="12">
24981 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24982 </substring>
24983 </local_variable>
24984 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:37" version="1">
24985 <substring substring_length="1" substring_start="1">
24986 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
24987 </substring>
24988 </local_variable>
24989 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:38" version="1">
24990 <substring substring_length="1" substring_start="2">
24991 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
24992 </substring>
24993 </local_variable>
24994 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:39" version="1">
24995 <substring substring_length="1" substring_start="3">
24996 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
24997 </substring>
24998 </local_variable>
24999 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:40" version="1">
25000 <substring substring_length="1" substring_start="4">
25001 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25002 </substring>
25003 </local_variable>
25004 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:41" version="1">
25005 <substring substring_length="1" substring_start="5">
25006 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25007 </substring>
25008 </local_variable>
25009 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:42" version="1">
25010 <substring substring_length="1" substring_start="6">
25011 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25012 </substring>
25013 </local_variable>
25014 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:43" version="1">
25015 <substring substring_length="1" substring_start="7">
25016 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25017 </substring>
25018 </local_variable>
25019 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:44" version="1">
25020 <substring substring_length="1" substring_start="8">
25021 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25022 </substring>
25023 </local_variable>
25024 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:45" version="1">
25025 <substring substring_length="1" substring_start="9">
25026 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25027 </substring>
25028 </local_variable>
25029 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201510" version="1">
25030 <substring substring_length="1" substring_start="1">
25031 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25032 </substring>
25033 </local_variable>
25034 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201511" version="1">
25035 <substring substring_length="1" substring_start="2">
25036 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25037 </substring>
25038 </local_variable>
25039 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201512" version="1">
25040 <substring substring_length="1" substring_start="3">
25041 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25042 </substring>
25043 </local_variable>
25044 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201513" version="1">
25045 <substring substring_length="1" substring_start="4">
25046 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25047 </substring>
25048 </local_variable>
25049 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201514" version="1">
25050 <substring substring_length="1" substring_start="5">
25051 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25052 </substring>
25053 </local_variable>
25054 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201515" version="1">
25055 <substring substring_length="1" substring_start="6">
25056 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25057 </substring>
25058 </local_variable>
25059 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201516" version="1">
25060 <substring substring_length="1" substring_start="7">
25061 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25062 </substring>
25063 </local_variable>
25064 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201517" version="1">
25065 <substring substring_length="1" substring_start="8">
25066 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25067 </substring>
25068 </local_variable>
25069 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201518" version="1">
25070 <substring substring_length="1" substring_start="9">
25071 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25072 </substring>
25073 </local_variable>
25074 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:46" version="1">
25075 <substring substring_length="1" substring_start="1">
25076 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25077 </substring>
25078 </local_variable>
25079 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:47" version="1">
25080 <substring substring_length="1" substring_start="2">
25081 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25082 </substring>
25083 </local_variable>
25084 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:48" version="1">
25085 <substring substring_length="1" substring_start="3">
25086 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25087 </substring>
25088 </local_variable>
25089 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:49" version="1">
25090 <substring substring_length="1" substring_start="4">
25091 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25092 </substring>
25093 </local_variable>
25094 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:50" version="1">
25095 <substring substring_length="1" substring_start="5">
25096 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25097 </substring>
25098 </local_variable>
25099 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:51" version="1">
25100 <substring substring_length="1" substring_start="6">
25101 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25102 </substring>
25103 </local_variable>
25104 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:52" version="1">
25105 <substring substring_length="1" substring_start="7">
25106 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25107 </substring>
25108 </local_variable>
25109 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:53" version="1">
25110 <substring substring_length="1" substring_start="8">
25111 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25112 </substring>
25113 </local_variable>
25114 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:54" version="1">
25115 <substring substring_length="1" substring_start="9">
25116 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25117 </substring>
25118 </local_variable>
25119 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:55" version="1">
25120 <substring substring_length="1" substring_start="1">
25121 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25122 </substring>
25123 </local_variable>
25124 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:56" version="1">
25125 <substring substring_length="1" substring_start="2">
25126 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25127 </substring>
25128 </local_variable>
25129 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:57" version="1">
25130 <substring substring_length="1" substring_start="3">
25131 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25132 </substring>
25133 </local_variable>
25134 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:58" version="1">
25135 <substring substring_length="1" substring_start="4">
25136 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25137 </substring>
25138 </local_variable>
25139 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:59" version="1">
25140 <substring substring_length="1" substring_start="5">
25141 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25142 </substring>
25143 </local_variable>
25144 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:60" version="1">
25145 <substring substring_length="1" substring_start="6">
25146 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25147 </substring>
25148 </local_variable>
25149 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:61" version="1">
25150 <substring substring_length="1" substring_start="7">
25151 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25152 </substring>
25153 </local_variable>
25154 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:62" version="1">
25155 <substring substring_length="1" substring_start="8">
25156 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25157 </substring>
25158 </local_variable>
25159 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:63" version="1">
25160 <substring substring_length="1" substring_start="9">
25161 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25162 </substring>
25163 </local_variable>
25164 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:64" version="1">
25165 <substring substring_length="1" substring_start="1">
25166 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25167 </substring>
25168 </local_variable>
25169 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:65" version="1">
25170 <substring substring_length="1" substring_start="2">
25171 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25172 </substring>
25173 </local_variable>
25174 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:66" version="1">
25175 <substring substring_length="1" substring_start="3">
25176 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25177 </substring>
25178 </local_variable>
25179 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:67" version="1">
25180 <substring substring_length="1" substring_start="4">
25181 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25182 </substring>
25183 </local_variable>
25184 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:68" version="1">
25185 <substring substring_length="1" substring_start="5">
25186 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25187 </substring>
25188 </local_variable>
25189 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:69" version="1">
25190 <substring substring_length="1" substring_start="6">
25191 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25192 </substring>
25193 </local_variable>
25194 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:70" version="1">
25195 <substring substring_length="1" substring_start="7">
25196 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25197 </substring>
25198 </local_variable>
25199 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:71" version="1">
25200 <substring substring_length="1" substring_start="8">
25201 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25202 </substring>
25203 </local_variable>
25204 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:72" version="1">
25205 <substring substring_length="1" substring_start="9">
25206 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25207 </substring>
25208 </local_variable>
25209 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:73" version="1">
25210 <substring substring_length="1" substring_start="1">
25211 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25212 </substring>
25213 </local_variable>
25214 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:74" version="1">
25215 <substring substring_length="1" substring_start="2">
25216 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25217 </substring>
25218 </local_variable>
25219 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:75" version="1">
25220 <substring substring_length="1" substring_start="3">
25221 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25222 </substring>
25223 </local_variable>
25224 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:76" version="1">
25225 <substring substring_length="1" substring_start="4">
25226 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25227 </substring>
25228 </local_variable>
25229 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:77" version="1">
25230 <substring substring_length="1" substring_start="5">
25231 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25232 </substring>
25233 </local_variable>
25234 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:78" version="1">
25235 <substring substring_length="1" substring_start="6">
25236 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25237 </substring>
25238 </local_variable>
25239 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:79" version="1">
25240 <substring substring_length="1" substring_start="7">
25241 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25242 </substring>
25243 </local_variable>
25244 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:80" version="1">
25245 <substring substring_length="1" substring_start="8">
25246 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25247 </substring>
25248 </local_variable>
25249 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:81" version="1">
25250 <substring substring_length="1" substring_start="9">
25251 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25252 </substring>
25253 </local_variable>
25254 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:82" version="1">
25255 <substring substring_length="1" substring_start="1">
25256 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25257 </substring>
25258 </local_variable>
25259 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:83" version="1">
25260 <substring substring_length="1" substring_start="2">
25261 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25262 </substring>
25263 </local_variable>
25264 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:84" version="1">
25265 <substring substring_length="1" substring_start="3">
25266 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25267 </substring>
25268 </local_variable>
25269 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:85" version="1">
25270 <substring substring_length="1" substring_start="4">
25271 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25272 </substring>
25273 </local_variable>
25274 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:86" version="1">
25275 <substring substring_length="1" substring_start="5">
25276 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25277 </substring>
25278 </local_variable>
25279 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:87" version="1">
25280 <substring substring_length="1" substring_start="6">
25281 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25282 </substring>
25283 </local_variable>
25284 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:88" version="1">
25285 <substring substring_length="1" substring_start="7">
25286 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25287 </substring>
25288 </local_variable>
25289 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:89" version="1">
25290 <substring substring_length="1" substring_start="8">
25291 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25292 </substring>
25293 </local_variable>
25294 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:90" version="1">
25295 <substring substring_length="1" substring_start="9">
25296 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25297 </substring>
25298 </local_variable>
25299 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:91" version="1">
25300 <substring substring_length="1" substring_start="1">
25301 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25302 </substring>
25303 </local_variable>
25304 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:92" version="1">
25305 <substring substring_length="1" substring_start="2">
25306 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25307 </substring>
25308 </local_variable>
25309 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:93" version="1">
25310 <substring substring_length="1" substring_start="3">
25311 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25312 </substring>
25313 </local_variable>
25314 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:94" version="1">
25315 <substring substring_length="1" substring_start="4">
25316 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25317 </substring>
25318 </local_variable>
25319 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:95" version="1">
25320 <substring substring_length="1" substring_start="5">
25321 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25322 </substring>
25323 </local_variable>
25324 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:96" version="1">
25325 <substring substring_length="1" substring_start="6">
25326 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25327 </substring>
25328 </local_variable>
25329 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:97" version="1">
25330 <substring substring_length="1" substring_start="7">
25331 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25332 </substring>
25333 </local_variable>
25334 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:98" version="1">
25335 <substring substring_length="1" substring_start="8">
25336 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25337 </substring>
25338 </local_variable>
25339 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:99" version="1">
25340 <substring substring_length="1" substring_start="9">
25341 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25342 </substring>
25343 </local_variable>
25344 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:100" version="1">
25345 <substring substring_length="1" substring_start="1">
25346 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25347 </substring>
25348 </local_variable>
25349 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:101" version="1">
25350 <substring substring_length="1" substring_start="2">
25351 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25352 </substring>
25353 </local_variable>
25354 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:102" version="1">
25355 <substring substring_length="1" substring_start="3">
25356 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25357 </substring>
25358 </local_variable>
25359 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:103" version="1">
25360 <substring substring_length="1" substring_start="4">
25361 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25362 </substring>
25363 </local_variable>
25364 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:104" version="1">
25365 <substring substring_length="1" substring_start="5">
25366 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25367 </substring>
25368 </local_variable>
25369 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:105" version="1">
25370 <substring substring_length="1" substring_start="6">
25371 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25372 </substring>
25373 </local_variable>
25374 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:106" version="1">
25375 <substring substring_length="1" substring_start="7">
25376 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25377 </substring>
25378 </local_variable>
25379 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:107" version="1">
25380 <substring substring_length="1" substring_start="8">
25381 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25382 </substring>
25383 </local_variable>
25384 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:108" version="1">
25385 <substring substring_length="1" substring_start="9">
25386 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25387 </substring>
25388 </local_variable>
25389 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:109" version="1">
25390 <substring substring_length="1" substring_start="1">
25391 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25392 </substring>
25393 </local_variable>
25394 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:110" version="1">
25395 <substring substring_length="1" substring_start="2">
25396 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25397 </substring>
25398 </local_variable>
25399 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:111" version="1">
25400 <substring substring_length="1" substring_start="3">
25401 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25402 </substring>
25403 </local_variable>
25404 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:112" version="1">
25405 <substring substring_length="1" substring_start="4">
25406 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25407 </substring>
25408 </local_variable>
25409 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:113" version="1">
25410 <substring substring_length="1" substring_start="5">
25411 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25412 </substring>
25413 </local_variable>
25414 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:114" version="1">
25415 <substring substring_length="1" substring_start="6">
25416 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25417 </substring>
25418 </local_variable>
25419 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:115" version="1">
25420 <substring substring_length="1" substring_start="7">
25421 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25422 </substring>
25423 </local_variable>
25424 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:116" version="1">
25425 <substring substring_length="1" substring_start="8">
25426 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25427 </substring>
25428 </local_variable>
25429 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:117" version="1">
25430 <substring substring_length="1" substring_start="9">
25431 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25432 </substring>
25433 </local_variable>
25434 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:118" version="1">
25435 <substring substring_length="1" substring_start="1">
25436 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25437 </substring>
25438 </local_variable>
25439 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:119" version="1">
25440 <substring substring_length="1" substring_start="2">
25441 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25442 </substring>
25443 </local_variable>
25444 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:120" version="1">
25445 <substring substring_length="1" substring_start="3">
25446 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25447 </substring>
25448 </local_variable>
25449 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:121" version="1">
25450 <substring substring_length="1" substring_start="4">
25451 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25452 </substring>
25453 </local_variable>
25454 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:122" version="1">
25455 <substring substring_length="1" substring_start="5">
25456 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25457 </substring>
25458 </local_variable>
25459 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:123" version="1">
25460 <substring substring_length="1" substring_start="6">
25461 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25462 </substring>
25463 </local_variable>
25464 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:124" version="1">
25465 <substring substring_length="1" substring_start="7">
25466 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25467 </substring>
25468 </local_variable>
25469 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:125" version="1">
25470 <substring substring_length="1" substring_start="8">
25471 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25472 </substring>
25473 </local_variable>
25474 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:126" version="1">
25475 <substring substring_length="1" substring_start="9">
25476 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25477 </substring>
25478 </local_variable>
25479 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:127" version="1">
25480 <substring substring_length="1" substring_start="1">
25481 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25482 </substring>
25483 </local_variable>
25484 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:128" version="1">
25485 <substring substring_length="1" substring_start="2">
25486 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25487 </substring>
25488 </local_variable>
25489 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:129" version="1">
25490 <substring substring_length="1" substring_start="3">
25491 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25492 </substring>
25493 </local_variable>
25494 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:130" version="1">
25495 <substring substring_length="1" substring_start="4">
25496 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25497 </substring>
25498 </local_variable>
25499 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:131" version="1">
25500 <substring substring_length="1" substring_start="5">
25501 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25502 </substring>
25503 </local_variable>
25504 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:132" version="1">
25505 <substring substring_length="1" substring_start="6">
25506 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25507 </substring>
25508 </local_variable>
25509 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:133" version="1">
25510 <substring substring_length="1" substring_start="7">
25511 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25512 </substring>
25513 </local_variable>
25514 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:134" version="1">
25515 <substring substring_length="1" substring_start="8">
25516 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25517 </substring>
25518 </local_variable>
25519 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:135" version="1">
25520 <substring substring_length="1" substring_start="9">
25521 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25522 </substring>
25523 </local_variable>
25524 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:136" version="1">
25525 <substring substring_length="1" substring_start="1">
25526 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25527 </substring>
25528 </local_variable>
25529 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:137" version="1">
25530 <substring substring_length="1" substring_start="2">
25531 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25532 </substring>
25533 </local_variable>
25534 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:138" version="1">
25535 <substring substring_length="1" substring_start="3">
25536 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25537 </substring>
25538 </local_variable>
25539 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:139" version="1">
25540 <substring substring_length="1" substring_start="4">
25541 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25542 </substring>
25543 </local_variable>
25544 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:140" version="1">
25545 <substring substring_length="1" substring_start="5">
25546 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25547 </substring>
25548 </local_variable>
25549 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:141" version="1">
25550 <substring substring_length="1" substring_start="6">
25551 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25552 </substring>
25553 </local_variable>
25554 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:142" version="1">
25555 <substring substring_length="1" substring_start="7">
25556 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25557 </substring>
25558 </local_variable>
25559 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:143" version="1">
25560 <substring substring_length="1" substring_start="8">
25561 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25562 </substring>
25563 </local_variable>
25564 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:144" version="1">
25565 <substring substring_length="1" substring_start="9">
25566 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25567 </substring>
25568 </local_variable>
25569 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:145" version="1">
25570 <substring substring_length="1" substring_start="1">
25571 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25572 </substring>
25573 </local_variable>
25574 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:146" version="1">
25575 <substring substring_length="1" substring_start="2">
25576 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25577 </substring>
25578 </local_variable>
25579 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:147" version="1">
25580 <substring substring_length="1" substring_start="3">
25581 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25582 </substring>
25583 </local_variable>
25584 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:148" version="1">
25585 <substring substring_length="1" substring_start="4">
25586 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25587 </substring>
25588 </local_variable>
25589 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:149" version="1">
25590 <substring substring_length="1" substring_start="5">
25591 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25592 </substring>
25593 </local_variable>
25594 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:150" version="1">
25595 <substring substring_length="1" substring_start="6">
25596 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25597 </substring>
25598 </local_variable>
25599 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:151" version="1">
25600 <substring substring_length="1" substring_start="7">
25601 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25602 </substring>
25603 </local_variable>
25604 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:152" version="1">
25605 <substring substring_length="1" substring_start="8">
25606 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25607 </substring>
25608 </local_variable>
25609 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:153" version="1">
25610 <substring substring_length="1" substring_start="9">
25611 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25612 </substring>
25613 </local_variable>
25614 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:160" version="1">
25615 <substring substring_length="1" substring_start="1">
25616 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25617 </substring>
25618 </local_variable>
25619 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:161" version="1">
25620 <substring substring_length="1" substring_start="2">
25621 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25622 </substring>
25623 </local_variable>
25624 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:162" version="1">
25625 <substring substring_length="1" substring_start="3">
25626 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25627 </substring>
25628 </local_variable>
25629 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:163" version="1">
25630 <substring substring_length="1" substring_start="4">
25631 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25632 </substring>
25633 </local_variable>
25634 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:164" version="1">
25635 <substring substring_length="1" substring_start="5">
25636 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25637 </substring>
25638 </local_variable>
25639 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:165" version="1">
25640 <substring substring_length="1" substring_start="6">
25641 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25642 </substring>
25643 </local_variable>
25644 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:166" version="1">
25645 <substring substring_length="1" substring_start="7">
25646 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25647 </substring>
25648 </local_variable>
25649 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:167" version="1">
25650 <substring substring_length="1" substring_start="8">
25651 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25652 </substring>
25653 </local_variable>
25654 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:168" version="1">
25655 <substring substring_length="1" substring_start="9">
25656 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25657 </substring>
25658 </local_variable>
25659 <local_variable comment="Split the PATH on the : delimiter" datatype="string" id="oval:org.open-scap.f14:var:200855" version="1">
25660 <split delimiter=":">
25661 <object_component item_field="value" object_ref="oval:org.open-scap.f14:obj:20085"/>
25662 </split>
25663 </local_variable>
25664 <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">
25665 <concat>
25666 <literal_component>^</literal_component>
25667 <variable_component var_ref="oval:org.open-scap.f14:var:20208"/>
25668 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25669 </concat>
25670 </local_variable>
25671 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202082" version="1">
25672 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202081"/>
25673 </local_variable>
25674 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202091" version="1">
25675 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202091"/>
25676 </local_variable>
25677 <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">
25678 <concat>
25679 <literal_component>^</literal_component>
25680 <variable_component var_ref="oval:org.open-scap.f14:var:20211"/>
25681 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25682 </concat>
25683 </local_variable>
25684 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202112" version="1">
25685 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202111"/>
25686 </local_variable>
25687 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202121" version="1">
25688 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202121"/>
25689 </local_variable>
25690 <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">
25691 <concat>
25692 <literal_component>^</literal_component>
25693 <variable_component var_ref="oval:org.open-scap.f14:var:20214"/>
25694 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25695 </concat>
25696 </local_variable>
25697 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202142" version="1">
25698 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202141"/>
25699 </local_variable>
25700 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202191" version="1">
25701 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202191"/>
25702 </local_variable>
25703 <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">
25704 <concat>
25705 <literal_component>^</literal_component>
25706 <variable_component var_ref="oval:org.open-scap.f14:var:20229"/>
25707 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25708 </concat>
25709 </local_variable>
25710 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202292" version="1">
25711 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202291"/>
25712 </local_variable>
25713 <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">
25714 <concat>
25715 <literal_component>^</literal_component>
25716 <variable_component var_ref="oval:org.open-scap.f14:var:20230"/>
25717 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25718 </concat>
25719 </local_variable>
25720 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202302" version="1">
25721 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202301"/>
25722 </local_variable>
25723 <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">
25724 <concat>
25725 <literal_component>^</literal_component>
25726 <variable_component var_ref="oval:org.open-scap.f14:var:20081"/>
25727 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25728 </concat>
25729 </local_variable>
25730 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:200812" version="1">
25731 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200811"/>
25732 </local_variable>
25733 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201491" version="1">
25734 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:2014911"/>
25735 </local_variable>
25736 <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">
25737 <concat>
25738 <literal_component>^</literal_component>
25739 <variable_component var_ref="oval:org.open-scap.f14:var:20150"/>
25740 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25741 </concat>
25742 </local_variable>
25743 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201502" version="1">
25744 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201501"/>
25745 </local_variable>
25746 </variables>
25747 </oval_definitions>
25748 </ds:component>
25749 </ds:data-stream-collection>