Debian Codegraph @

tests/DS/ds_sds_index/sds_multiple.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">
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:data-stream id="scap_org.open-scap_datastream_from_xccdf_scap-fedora14-xccdf.xml_2" scap-version="1.2" use-case="OTHER">
16 <ds:checklists>
17 <ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-xccdf.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-xccdf.xml">
18 <cat:catalog>
19 <cat:uri name="scap-fedora14-oval.xml" uri="#scap_org.open-scap_cref_scap-fedora14-oval.xml"/>
20 </cat:catalog>
21 </ds:component-ref>
22 </ds:checklists>
23 <ds:checks>
24 <ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-oval.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-oval.xml"/>
25 </ds:checks>
26 </ds:data-stream>
27 <ds:component id="scap_org.open-scap_comp_scap-fedora14-xccdf.xml" timestamp="2012-07-20T12:22:58">
28 <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">
29 <xccdf:status date="2011-10-12">draft</xccdf:status>
30 <xccdf:title>Example of SCAP Security Guidance</xccdf:title>
31 <xccdf:description>This example security guidance has been created to demonstrate SCAP functionality
32 on Linux.</xccdf:description>
33 <xccdf:version>0.1</xccdf:version>
34 <xccdf:model system="urn:xccdf:scoring:default"/>
35 <xccdf:model system="urn:xccdf:scoring:flat"/>
36 <!-- ==================================================================================================== -->
37 <!-- ============================================ PROFILES ============================================= -->
38 <!-- ==================================================================================================== -->
39 <!-- -->
40 <!-- These profiles outline the specific guidance outlined by this document. -->
41 <!-- Each defines the set of XCCDF rules that are applicable for that guidance as well as specific values -->
42 <!-- to be used when determining complinace. -->
43 <!-- -->
44 <xccdf:Profile abstract="false" id="xccdf_cdf_profile_F14-Default">
45 <xccdf:title xml:lang="en">Default install settings</xccdf:title>
46 <xccdf:description xml:lang="en">This profile is an example policy that simply checks if some of Fedora 14 default
47 install settings have been modified. It is not comprehensive nor checks security hardening. It is just for testing
48 purposes.</xccdf:description>
49 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false"/>
50 <!-- DONE -->
51 <!-- Separate Partition or Logical Volume for /tmp -->
52 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false"/>
53 <!-- DONE -->
54 <!-- Minimum size of /tmp -->
55 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false"/>
56 <!-- DONE -->
57 <!-- Separate Partition or Logical Volume for /var -->
58 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false"/>
59 <!-- DONE -->
60 <!-- Minimum size of /var -->
61 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false"/>
62 <!-- DONE -->
63 <!-- Separate Partition or Logical Volume for /var/log -->
64 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false"/>
65 <!-- DONE -->
66 <!-- Separate Partition or Logical Volume for /var/log/audit -->
67 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false"/>
68 <!-- DONE -->
69 <!-- Separate Partition or Logical Volume for /home -->
70 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="true"/>
71 <!-- READY+ -->
72 <!-- Ensure that GPG Key for Fedora is installed -->
73 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false"/>
74 <!-- DONE -->
75 <!-- Disable the yum-updatesd daemon -->
76 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false"/>
77 <!-- DONE -->
78 <!-- Automatic Update Retrieval should be scheduled with Cron -->
79 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="true"/>
80 <!-- READY+ -->
81 <!-- Ensure gpgcheck is Globally Activated -->
82 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="true"/>
83 <!-- READY+ -->
84 <!-- Ensure Package Signature Checking is Not Disabled For Any Repos -->
85 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false"/>
86 <!-- DONE -->
87 <!-- Ensure Repodata Signature Checking is Globally Activated -->
88 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="true"/>
89 <!-- READY+ -->
90 <!-- Ensure Repodata Signature Checking is Not Disabled For Any Repos -->
91 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false"/>
92 <!-- DONE -->
93 <!-- Install AIDE -->
94 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.4.a" selected="false"/>
95 <!-- DONE -->
96 <!-- run AIDE (integrity check) periodically -->
97 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false"/>
98 <!-- DONE (unknown)-->
99 <!-- Verify Package Integrity Using RPM -->
100 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.1.a" selected="false"/>
101 <!-- DONE -->
102 <!-- Add nodev Option to Non-Root Local Partitions -->
103 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false"/>
104 <!-- DONE (unknown)-->
105 <!-- Add nodev Option to Removable Media Partitions -->
106 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false"/>
107 <!-- DONE (unknown)-->
108 <!-- Add noexec Option to Removable Media Partitions -->
109 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false"/>
110 <!-- DONE (unknown)-->
111 <!-- Add nosuid Option to Removable Media Partitions -->
112 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false"/>
113 <!-- DONE -->
114 <!-- Disable Modprobe Loading of USB Storage Driver -->
115 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false"/>
116 <!-- DONE -->
117 <!-- Remove USB Storage Driver -->
118 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false"/>
119 <!-- DONE -->
120 <!-- Disable Kernel Support for USB via Bootloader Configuration (will disable all USB devices including keyboards, mice, etc) -->
121 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false"/>
122 <!-- READY (unknown)-->
123 <!-- Disable Booting from USB Devices -->
124 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false"/>
125 <!-- DONE -->
126 <!-- Disable the Automounter if Possible -->
127 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false"/>
128 <!-- BUG? -->
129 <!-- Disable GNOME Automounting if Possible -->
130 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false"/>
131 <!-- READY -->
132 <!-- Disable Mounting of cramfs -->
133 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false"/>
134 <!-- READY -->
135 <!-- Disable Mounting of freevxfs -->
136 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false"/>
137 <!-- READY -->
138 <!-- Disable Mounting of jffs2 -->
139 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false"/>
140 <!-- READY -->
141 <!-- Disable Mounting of hfs -->
142 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false"/>
143 <!-- READY -->
144 <!-- Disable Mounting of hfsplus -->
145 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false"/>
146 <!-- READY -->
147 <!-- Disable Mounting of squashfs -->
148 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false"/>
149 <!-- READY -->
150 <!-- Disable Mounting of udf -->
151 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.a" selected="true"/>
152 <!-- READY+ -->
153 <!-- Verify user who owns '/etc/shadow' file -->
154 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.b" selected="true"/>
155 <!-- READY+ -->
156 <!-- Verify group who owns '/etc/shadow' file -->
157 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.c" selected="true"/>
158 <!-- READY+ -->
159 <!-- Verify user who owns '/etc/group' file -->
160 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.d" selected="true"/>
161 <!-- READY+ -->
162 <!-- Verify group who owns '/etc/group' file -->
163 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.e" selected="true"/>
164 <!-- READY+ -->
165 <!-- Verify user who owns '/etc/gshadow' file -->
166 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.f" selected="true"/>
167 <!-- READY+ -->
168 <!-- Verify group who owns '/etc/gshadow' file -->
169 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.g" selected="true"/>
170 <!-- READY+ -->
171 <!-- Verify user who owns '/etc/passwd' file -->
172 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.h" selected="true"/>
173 <!-- READY+ -->
174 <!-- Verify group who owns '/etc/passwd' file -->
175 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.i" selected="true"/>
176 <!-- READY+ -->
177 <!-- Verify permissions on '/etc/shadow' file -->
178 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.j" selected="true"/>
179 <!-- READY+ -->
180 <!-- Verify permissions on '/etc/group' file -->
181 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.k" selected="true"/>
182 <!-- READY+ -->
183 <!-- Verify permissions on '/etc/gshadow' file -->
184 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.l" selected="true"/>
185 <!-- READY+ -->
186 <!-- Verify permissions on '/etc/passwd' file -->
187 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.2.a" selected="true"/>
188 <!-- READY+ -->
189 <!-- Verify that All World-Writable Directories Have Sticky Bits Set -->
190 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.3.a" selected="true"/>
191 <!-- READY+ -->
192 <!-- Find Unauthorized World-Writable Files -->
193 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.a" selected="true"/>
194 <!-- READY+ -->
195 <!-- Find Unauthorized SGID System Executables -->
196 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.b" selected="true"/>
197 <!-- READY+ -->
198 <!-- Find Unauthorized SUID System Executables -->
199 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.a" selected="true"/>
200 <!-- READY+ -->
201 <!-- Find files unowned by a user -->
202 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.b" selected="true"/>
203 <!-- READY+ -->
204 <!-- Find files unowned by a group -->
205 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.6.a" selected="true"/>
206 <!-- READY+ -->
207 <!-- Find world writable directories not owned by a system account-->
208 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.1.a" selected="true"/>
209 <!-- READY+ -->
210 <!-- Set Daemon umask -->
211 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false"/>
212 <!-- DONE -->
213 <!-- Disable Core Dumps for all users -->
214 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.b" selected="true"/>
215 <!-- READY+ -->
216 <!-- Disable Core Dumps for SUID programs -->
217 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.a" selected="true"/>
218 <!-- READY+ -->
219 <!-- Enable ExecShield -->
220 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.b" selected="true"/>
221 <!-- READY+ -->
222 <!-- Enable ExecShield randomized placement of virtual memory regions -->
223 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false"/>
224 <!-- DONE (unknown) -->
225 <!-- Enable NX or XD Support in the BIOS -->
226 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false"/>
227 <!-- DONE -->
228 <!-- Restrict Root Logins to System Console -->
229 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false"/>
230 <!-- DONE -->
231 <!-- Restrict virtual console Root Logins -->
232 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false"/>
233 <!-- DONE -->
234 <!-- Restrict deprecated virtual console Root Logins -->
235 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.d" selected="true"/>
236 <!-- READY+ -->
237 <!-- Restrict serial port Root Logins -->
238 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false"/>
239 <!-- DONE -->
240 <!-- Limit su Access to the Root Account -->
241 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false"/>
242 <!-- DONE -->
243 <!-- Limit su Access to the wheel group -->
244 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false"/>
245 <!-- DONE -->
246 <!-- Configure sudo to Improve Auditing of Root Access -->
247 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false"/>
248 <!-- DONE -->
249 <!-- Block Shell and Login Access for Non-Root System Accounts -->
250 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="true"/>
251 <!-- READY+ -->
252 <!-- Verify that No Accounts Have Empty Password Fields -->
253 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="true"/>
254 <!-- READY+ -->
255 <!-- Verify that all Account Password Hashes are Shadowed -->
256 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.6.a" selected="true"/>
257 <!-- READY+ -->
258 <!-- Verify that No Non-Root Accounts Have UID 0 -->
259 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.a" selected="true"/>
260 <!-- READY+ -->
261 <!-- Set password minimum length -->
262 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false"/>
263 <!-- DONE -->
264 <!-- Set minimum password age -->
265 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false"/>
266 <!-- DONE -->
267 <!-- Set maximum password age -->
268 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.d" selected="true"/>
269 <!-- READY+ -->
270 <!-- Set password warn age -->
271 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false"/>
272 <!-- DONE -->
273 <!-- Remove Legacy + Entries from /etc/shadow -->
274 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false"/>
275 <!-- DONE -->
276 <!-- Remove Legacy + Entries from /etc/group -->
277 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false"/>
278 <!-- DONE -->
279 <!-- Remove Legacy + Entries from /etc/passwd -->
280 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false"/>
281 <!-- DONE -->
282 <!-- Set Password Quality Requirements using pam_cracklib -->
283 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false"/>
284 <!-- DONE -->
285 <!-- Set Password Quality Requirements using pam_passwdqc -->
286 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false"/>
287 <!-- DONE -->
288 <!-- Set Lockouts for Failed Password Attempts -->
289 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false"/>
290 <!-- DONE (unknown) -->
291 <!-- Do not leak information on authorization failure -->
292 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false"/>
293 <!-- DONE -->
294 <!-- Restrict Execution of userhelper to Console Users -->
295 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false"/>
296 <!-- DONE -->
297 <!-- Restrict File permissions of userhelper -->
298 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.5.a" selected="true"/>
299 <!-- READY+ -->
300 <!-- Set Password hashing algorithm -->
301 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false"/>
302 <!-- DONE -->
303 <!-- Limit password reuse -->
304 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.a" selected="true"/>
305 <!-- READY+ -->
306 <!-- Ensure that No Dangerous Directories Exist in Root's Path -->
307 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.b" selected="true"/>
308 <!-- READY+ -->
309 <!-- Write permissions are disabled for group and other in all directories in Root's Path -->
310 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.2.a" selected="true"/>
311 <!-- READY+ -->
312 <!-- Ensure that User Home Directories are not Group-Writable or World-Readable -->
313 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.a" selected="true"/>
314 <!-- READY+ -->
315 <!-- Ensure that Users Have Sensible Umask Values in /etc/bashrc -->
316 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.b" selected="true"/>
317 <!-- READY+ -->
318 <!-- Ensure that Users Have Sensible Umask Values in /etc/cshrc -->
319 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false"/>
320 <!-- DONE (unknown) -->
321 <!-- Check for existance of .netrc file -->
322 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.a" selected="true"/>
323 <!-- READY+ -->
324 <!-- Set Boot Loader user owner -->
325 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.b" selected="true"/>
326 <!-- READY+ -->
327 <!-- Set Boot Loader group owner -->
328 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.c" selected="true"/>
329 <!-- READY+ -->
330 <!-- Set permission on /etc/grub.conf -->
331 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false"/>
332 <!-- DONE -->
333 <!-- Set Boot Loader Password -->
334 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false"/>
335 <!-- ToDo -->
336 <!-- Require Authentication for Single-User Mode -->
337 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false"/>
338 <!-- DONE -->
339 <!-- Disable Interactive Boot -->
340 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false"/>
341 <!-- DONE -->
342 <!-- Implement Inactivity Time-out for csh Shell -->
343 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false"/>
344 <!-- DONE (unknown) -->
345 <!-- Implement Inactivity Time-out for bash Shell -->
346 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false"/>
347 <!-- DONE -->
348 <!-- Implement Inactivity Time-out for Login Shells -->
349 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false"/>
350 <!-- DONE -->
351 <!-- Implement idle activation of screen saver -->
352 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false"/>
353 <!-- DONE -->
354 <!-- Implement idle activation of screen lock -->
355 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false"/>
356 <!-- DONE -->
357 <!-- Implement blank screen saver -->
358 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false"/>
359 <!-- DONE -->
360 <!-- Configure console screen locking -->
361 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false"/>
362 <!-- DONE -->
363 <!-- Modify the System Login Banner -->
364 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false"/>
365 <!-- BUG -->
366 <!-- Implement a GUI Warning Banner -->
367 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.a" selected="true"/>
368 <!-- READY+ -->
369 <!-- Enable SELinux in /etc/grub.conf -->
370 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.b" selected="false"/>
371 <!-- DONE -->
372 <!-- Enable SELinux enforcement in /etc/grub.conf -->
373 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.c" selected="true"/>
374 <!-- READY+ -->
375 <!-- Set the SELinux state -->
376 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.d" selected="true"/>
377 <!-- READY+ -->
378 <!-- Set the SELinux policy -->
379 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false"/>
380 <!-- DONE (unknown) -->
381 <!-- Ensure SELinux is Properly Enabled -->
382 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false"/>
383 <!-- DONE -->
384 <!-- Disable MCS Translation Service (mcstrans) if Possible -->
385 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false"/>
386 <!-- DONE -->
387 <!-- Restorecon Service (restorecond) -->
388 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.5.a" selected="false"/>
389 <!-- DONE (unknown) -->
390 <!-- Check for Unconfined Daemons -->
391 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false"/>
392 <!-- DONE -->
393 <!-- Disable net.ipv4.conf.default.send_redirects for Hosts Only -->
394 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false"/>
395 <!-- DONE -->
396 <!-- Disable net.ipv4.conf.all.send_redirects for Hosts Only -->
397 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false"/>
398 <!-- DONE -->
399 <!-- Disable net.ipv4.ip forward for Hosts Only -->
400 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false"/>
401 <!-- DONE -->
402 <!-- Set net.ipv4.conf.all.accept_source_route for Hosts and Routers -->
403 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false"/>
404 <!-- DONE -->
405 <!-- Set net.ipv4.conf.all.accept_redirects for Hosts and Routers -->
406 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false"/>
407 <!-- DONE -->
408 <!-- Set net.ipv4.conf.all.secure_redirects for Hosts and Routers -->
409 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false"/>
410 <!-- DONE -->
411 <!-- Set net.ipv4.conf.all.log_martians for Hosts and Routers -->
412 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false"/>
413 <!-- DONE -->
414 <!-- Set net.ipv4.conf.default.accept_source_route for Hosts and Routers -->
415 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false"/>
416 <!-- DONE -->
417 <!-- Set net.ipv4.conf.default.accept_redirects for Hosts and Routers -->
418 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false"/>
419 <!-- DONE -->
420 <!-- Set net.ipv4.conf.default.secure_redirects for Hosts and Routers -->
421 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false"/>
422 <!-- DONE -->
423 <!-- Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers -->
424 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false"/>
425 <!-- DONE -->
426 <!-- Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers -->
427 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false"/>
428 <!-- DONE -->
429 <!-- Set net.ipv4.tcp_syncookies for Hosts and Routers -->
430 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false"/>
431 <!-- DONE -->
432 <!-- Set net.ipv4.conf.all.rp_filter for Hosts and Routers -->
433 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false"/>
434 <!-- DONE -->
435 <!-- Set net.ipv4.conf.default.rp_filter for Hosts and Routers -->
436 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false"/>
437 <!-- DONE -->
438 <!-- Disable Wireless in BIOS -->
439 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false"/>
440 <!-- DONE -->
441 <!-- Deactivate Wireless Interfaces -->
442 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false"/>
443 <!-- DONE -->
444 <!-- Disable Wireless Drivers -->
445 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false"/>
446 <!-- DONE -->
447 <!-- Disable Automatic Loading of IPv6 Kernel Module -->
448 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false"/>
449 <!-- DONE -->
450 <!-- Disable NETWORKING_IPV6 in /etc/sysconfig/network -->
451 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false"/>
452 <!-- DONE -->
453 <!-- Disable IPV6INIT in /etc/sysconfig/network -->
454 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false"/>
455 <!-- DONE -->
456 <!-- Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-* -->
457 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false"/>
458 <!-- DONE -->
459 <!-- Disable IPV6_AUTOCONF in /etc/sysconfig/network -->
460 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false"/>
461 <!-- DONE -->
462 <!-- Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra) -->
463 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false"/>
464 <!-- DONE -->
465 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects) -->
466 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false"/>
467 <!-- DONE -->
468 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects) -->
469 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false"/>
470 <!-- DONE -->
471 <!-- Use Privacy Extensions for Address if Necessary -->
472 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false"/>
473 <!-- DONE -->
474 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations -->
475 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false"/>
476 <!-- DONE -->
477 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref -->
478 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false"/>
479 <!-- DONE -->
480 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo -->
481 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false"/>
482 <!-- DONE -->
483 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr -->
484 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false"/>
485 <!-- DONE -->
486 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf -->
487 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false"/>
488 <!-- DONE -->
489 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits -->
490 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false"/>
491 <!-- DONE -->
492 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses -->
493 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.a" selected="true"/>
494 <!-- READY+ -->
495 <!-- Verify ip6tables is enabled -->
496 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.b" selected="true"/>
497 <!-- READY+ -->
498 <!-- Verify iptables is enabled -->
499 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false"/>
500 <!-- DONE -->
501 <!-- Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain -->
502 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false"/>
503 <!-- DONE -->
504 <!-- Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain -->
505 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false"/>
506 <!-- ERASE -->
507 <!-- Disable Support for DCCP -->
508 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false"/>
509 <!-- ERASE -->
510 <!-- Disable Support for SCTP -->
511 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false"/>
512 <!-- ERASE -->
513 <!-- Disable Support for RDS -->
514 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false"/>
515 <!-- ERASE -->
516 <!-- Disable Support for TIPC -->
517 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.a" selected="true"/>
518 <!-- DONE+ -->
519 <!-- Configure Syslog -->
520 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.a" selected="true"/>
521 <!-- DONE+ -->
522 <!-- Confirm user that owns System Log Files -->
523 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.b" selected="true"/>
524 <!-- DONE+ -->
525 <!-- Confirm group that owns System Log Files -->
526 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.c" selected="true"/>
527 <!-- DONE+ -->
528 <!-- Confirm Permissions of System Log Files -->
529 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false"/>
530 <!-- OK -->
531 <!-- Send Logs to a Remote Loghost -->
532 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false"/>
533 <!-- F14 test needed-->
534 <!-- Disable syslogd from Accepting Remote Messages on Loghosts Only -->
535 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false"/>
536 <!-- missing -->
537 <!-- Ensure All Logs are Rotated by logrotate -->
538 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false"/>
539 <!-- DONE (unknown) -->
540 <!-- Monitor Suspicious Log Messages using Logwatch -->
541 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.1.a" selected="true"/>
542 <!-- DONE+ -->
543 <!-- Enable the auditd Service -->
544 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false"/>
545 <!-- DONE -->
546 <!-- Enable Auditing for Processes Which Start Prior to the Audit Daemon -->
547 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false"/>
548 <!-- DONE -->
549 <!-- Records Events that Modify Date and Time Information -->
550 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false"/>
551 <!-- DONE -->
552 <!-- Record Events that Modify User/Group Information -->
553 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false"/>
554 <!-- DONE -->
555 <!-- Record Events that Modify the System’s Network Environment -->
556 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false"/>
557 <!-- DONE -->
558 <!-- Record Events that Modify the System’s Mandatory Access Controls -->
559 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false"/>
560 <!-- DONE -->
561 <!-- Ensure auditd Collects Logon and Logout Events -->
562 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false"/>
563 <!-- DONE -->
564 <!-- Ensure auditd Collects Process and Session Initiation Information -->
565 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false"/>
566 <!-- DONE -->
567 <!-- Ensure auditd Collects Discretionary Access Control Permission Modification Events -->
568 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false"/>
569 <!-- DONE -->
570 <!-- Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful -->
571 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false"/>
572 <!-- DONE -->
573 <!-- Ensure auditd Collects Information on the Use of Privileged Commands -->
574 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false"/>
575 <!-- DONE -->
576 <!-- Ensure auditd Collects Information on Exporting to Media (successful) -->
577 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false"/>
578 <!-- DONE -->
579 <!-- Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful) -->
580 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false"/>
581 <!-- DONE -->
582 <!-- Ensure auditd Collects System Administrator Actions -->
583 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false"/>
584 <!-- DONE -->
585 <!-- Ensure auditd Collects Information on Kernel Module Loading and Unloading -->
586 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false"/>
587 <!-- DONE -->
588 <!-- Make the auditd Configuration Immutable -->
589 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.a" selected="false"/>
590 <!-- DONE -->
591 <!-- Disable Inetd -->
592 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.b" selected="false"/>
593 <!-- DONE -->
594 <!-- Disable Xinetd -->
595 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.c" selected="false"/>
596 <!-- DONE -->
597 <!-- Uninstall Inetd -->
598 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.d" selected="false"/>
599 <!-- DONE -->
600 <!-- Uninstall Xinetd -->
601 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.a" selected="false"/>
602 <!-- DONE -->
603 <!-- Telnet server package is uninstalled -->
604 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.b" selected="false"/>
605 <!-- DONE -->
606 <!-- Disable telnet service -->
607 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false"/>
608 <!-- DONE -->
609 <!-- Remove the telnet client command from the System -->
610 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false"/>
611 <!-- DONE -->
612 <!-- Remove the kerberos telnet client from the System -->
613 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false"/>
614 <!-- DONE -->
615 <!-- Remove the Rsh Server Commands from the System -->
616 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false"/>
617 <!-- ERASE -->
618 <!-- disable rcp -->
619 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false"/>
620 <!-- DONE -->
621 <!-- disable rsh -->
622 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false"/>
623 <!-- DONE -->
624 <!-- disable rlogin -->
625 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false"/>
626 <!-- DONE -->
627 <!-- Remove .rhosts Support from PAM Configuration Files -->
628 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false"/>
629 <!-- DONE -->
630 <!-- Remove the Rsh Client Commands from the System -->
631 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.a" selected="false"/>
632 <!-- DONE -->
633 <!-- Uninstall NIS -->
634 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.b" selected="false"/>
635 <!-- DONE -->
636 <!-- Disable NIS -->
637 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.a" selected="false"/>
638 <!-- DONE -->
639 <!-- Uninstall TFTP Server -->
640 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.b" selected="false"/>
641 <!-- DONE -->
642 <!-- disable TFTP Server -->
643 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.1.a" selected="false"/>
644 <!-- DONE -->
645 <!-- Installation Helper Service (firstboot) -->
646 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.2.a" selected="false"/>
647 <!-- DONE -->
648 <!-- Console Mouse Service (gpm) -->
649 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.3.a" selected="false"/>
650 <!-- DONE -->
651 <!-- Interrupt Distribution on Multiprocessor Systems (irqbalance) -->
652 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.4.a" selected="false"/>
653 <!-- DONE -->
654 <!-- ISDN Support (isdn) -->
655 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.5.a" selected="false"/>
656 <!-- DONE -->
657 <!-- Kdump Kernel Crash Analyzer (kdump) -->
658 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.6.a" selected="false"/>
659 <!-- DONE -->
660 <!-- Kudzu Hardware Probing Utility (kudzu) -->
661 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.7.a" selected="false"/>
662 <!-- DONE -->
663 <!-- Software RAID Monitor (mdmonitor) -->
664 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.8.a" selected="false"/>
665 <!-- DONE -->
666 <!-- A32 Microcode Utility(microcodectl) -->
667 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false"/>
668 <!-- DONE -->
669 <!-- Disable All Networking if Not Needed) -->
670 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false"/>
671 <!-- DONE -->
672 <!-- Disable All External Network Interfaces if Not Needed -->
673 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false"/>
674 <!-- DONE -->
675 <!-- Disable Zeroconf Networking -->
676 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.10.a" selected="false"/>
677 <!-- DONE -->
678 <!-- Smart Card Support (pcscd) -->
679 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.11.a" selected="false"/>
680 <!-- DONE -->
681 <!-- SMART Disk Monitoring Support (smartd) -->
682 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.a" selected="false"/>
683 <!-- DONE -->
684 <!-- Boot Caching (readahead early/readahead later) -->
685 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.b" selected="false"/>
686 <!-- DONE -->
687 <!-- Boot Caching (readahead early/readahead later) -->
688 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false"/>
689 <!-- DONE -->
690 <!-- D-Bus IPC Service (messagebus) -->
691 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false"/>
692 <!-- DONE -->
693 <!-- HAL Daemon (haldaemon) -->
694 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false"/>
695 <!-- DONE -->
696 <!-- Bluetooth Host Controller Interface Daemon (bluetooth) -->
697 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false"/>
698 <!-- DONE -->
699 <!-- Bluetooth Input Devices (hidd) -->
700 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false"/>
701 <!-- TODO -->
702 <!-- Disable Bluetooth Kernel Modules -->
703 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false"/>
704 <!-- DONE -->
705 <!-- Advanced Power Management Subsystem (apmd) -->
706 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false"/>
707 <!-- DONE -->
708 <!-- Advanced Configuration and Power Interface (acpid) -->
709 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false"/>
710 <!-- DONE -->
711 <!-- CPU Throttling (cpuspeed) -->
712 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.a" selected="false"/>
713 <!-- DONE -->
714 <!-- Enable Cron Daemon -->
715 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.a" selected="false"/>
716 <!-- DONE -->
717 <!-- Disable anacron if Possible -->
718 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.b" selected="false"/>
719 <!-- DONE -->
720 <!-- Uninstall anacron if Possible -->
721 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.a" selected="true"/>
722 <!-- DONE -->
723 <!-- Set group owner on /etc/crontab -->
724 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.b" selected="true"/>
725 <!-- DONE -->
726 <!-- Set user owner on /etc/crontab -->
727 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.c" selected="true"/>
728 <!-- DONE -->
729 <!-- Set Permissions on /etc/crontab -->
730 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.a" selected="true"/>
731 <!-- DONE -->
732 <!-- Set group owner on /etc/anacrontab -->
733 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.b" selected="true"/>
734 <!-- DONE -->
735 <!-- Set user owner on /etc/anacrontab -->
736 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.c" selected="true"/>
737 <!-- DONE -->
738 <!-- Set Permissions on /etc/anacrontab -->
739 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.a" selected="true"/>
740 <!-- DONE -->
741 <!-- Set group owner on /etc/cron.hourly -->
742 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.b" selected="true"/>
743 <!-- DONE -->
744 <!-- Set group owner on /etc/cron.daily -->
745 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.c" selected="true"/>
746 <!-- DONE -->
747 <!-- Set group owner on /etc/cron.weekly -->
748 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.d" selected="true"/>
749 <!-- DONE -->
750 <!-- Set group owner on /etc/cron.monthly -->
751 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.e" selected="true"/>
752 <!-- DONE -->
753 <!-- Set group owner on /etc/cron.d -->
754 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.f" selected="true"/>
755 <!-- DONE -->
756 <!-- Set user owner on /etc/cron.hourly -->
757 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.g" selected="true"/>
758 <!-- DONE -->
759 <!-- Set user owner on /etc/cron.daily -->
760 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.h" selected="true"/>
761 <!-- DONE -->
762 <!-- Set user owner on /etc/cron.weekly -->
763 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.i" selected="true"/>
764 <!-- DONE -->
765 <!-- Set user owner on /etc/cron.monthly -->
766 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.j" selected="true"/>
767 <!-- DONE -->
768 <!-- Set user owner on /etc/cron.d -->
769 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.k" selected="true"/>
770 <!-- DONE -->
771 <!-- Set permissions on /etc/cron.hourly -->
772 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.l" selected="true"/>
773 <!-- DONE -->
774 <!-- Set permissions on /etc/cron.daily -->
775 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.m" selected="true"/>
776 <!-- DONE -->
777 <!-- Set permissions on /etc/cron.weekly -->
778 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.n" selected="true"/>
779 <!-- DONE -->
780 <!-- Set permissions on /etc/cron.monthly -->
781 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.o" selected="true"/>
782 <!-- DONE -->
783 <!-- Set permissions on /etc/cron.d -->
784 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.a" selected="true"/>
785 <!-- DONE -->
786 <!-- Restrict group owner on /var/spool/cron file -->
787 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.b" selected="true"/>
788 <!-- DONE -->
789 <!-- Restrict user owner on /var/spool/cron file -->
790 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.c" selected="true"/>
791 <!-- DONE -->
792 <!-- Restrict Permissions on /var/spool/cron file -->
793 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.a" selected="false"/>
794 <!-- DONE -->
795 <!-- Disable at Daemon if possible -->
796 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.b" selected="false"/>
797 <!-- DONE -->
798 <!-- uninstall at Daemon -->
799 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.a" selected="false"/>
800 <!-- DONE -->
801 <!-- Remove /etc/cron.deny -->
802 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.b" selected="false"/>
803 <!-- DONE -->
804 <!-- Remove /etc/at.deny -->
805 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false"/>
806 <!-- DONE -->
807 <!-- Disable OpenSSH Software -->
808 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false"/>
809 <!-- DONE -->
810 <!-- Remove OpenSSH Software -->
811 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false"/>
812 <!-- DONE -->
813 <!-- Remove SSH Server iptables Firewall Exception -->
814 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false"/>
815 <!-- DONE -->
816 <!-- Remove SSH Server ip6tables Firewall Exception -->
817 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false"/>
818 <!-- DONE -->
819 <!-- Ensure Only Protocol 2 Connections Allowed -->
820 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false"/>
821 <!-- DONE -->
822 <!-- Set Idle Timeout Interval for User Logins -->
823 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false"/>
824 <!-- DONE -->
825 <!-- Set ClientAliveCountMax for User Logins -->
826 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false"/>
827 <!-- DONE -->
828 <!-- Disable .rhosts Files -->
829 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false"/>
830 <!-- DONE -->
831 <!-- Disable Host-Based Authentication -->
832 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false"/>
833 <!-- DONE -->
834 <!-- Disable root Login via SSH -->
835 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false"/>
836 <!-- DONE -->
837 <!-- Disable Empty Passwords -->
838 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false"/>
839 <!-- DONE -->
840 <!-- Enable a Warning Banner -->
841 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false"/>
842 <!-- DONE -->
843 <!-- Do not allow users to set Environment options -->
844 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false"/>
845 <!-- TODO -->
846 <!-- Use Only Approved Ciphers -->
847 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false"/>
848 <!-- Disable X Windows at System Boot -->
849 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false"/>
850 <!-- Remove X Windows from the System if Possible -->
851 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false"/>
852 <!-- Disable X Window System Listening -->
853 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false"/>
854 <!-- Create Warning Banners for GUI Login Users -->
855 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false"/>
856 <!-- Disable Avahi Server Software -->
857 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false"/>
858 <!-- Do not serve ipv6 Protocol -->
859 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false"/>
860 <!-- Do not serve ipv4 Protocol -->
861 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false"/>
862 <!-- Check Responses' TTL Field -->
863 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false"/>
864 <!-- Prevent Other Programs from Using Avahi's Port -->
865 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false"/>
866 <!-- Disable Publishing if Possible -->
867 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false"/>
868 <!-- Restrict disable-user-service-publishing -->
869 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false"/>
870 <!-- Restrict publish-addresses -->
871 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false"/>
872 <!-- Restrict publish-hinfo -->
873 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false"/>
874 <!-- Restrict publish-workstation -->
875 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false"/>
876 <!-- Restrict publish-domain -->
877 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.1.a" selected="false"/>
878 <!-- Disable the CUPS Service if Possible -->
879 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.a" selected="false"/>
880 <!-- Disable Firewall Access to Printing Service over IPv4 if Possible -->
881 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.b" selected="false"/>
882 <!-- Disable Firewall Access to Printing Service over IPv6 if Possible -->
883 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false"/>
884 <!-- Disable Printer Browsing Entirely if Possible -->
885 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false"/>
886 <!-- Deny CUPS ability to listen for Incoming printer information -->
887 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false"/>
888 <!-- Disable HPLIP Service if Possible -->
889 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.1.a" selected="false"/>
890 <!-- Disable DHCP Client if Possible -->
891 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.a" selected="false"/>
892 <!-- Disable DHCP Server if Possible -->
893 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.b" selected="false"/>
894 <!-- Uninstall DHCP Server if possible -->
895 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false"/>
896 <!-- Do Not Use Dynamic DNS -->
897 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false"/>
898 <!-- Deny Decline Messages -->
899 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false"/>
900 <!-- Deny BOOTP Queries -->
901 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false"/>
902 <!-- DHCP should not send domain-name -->
903 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false"/>
904 <!-- DHCP should not send domain-name-servers -->
905 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false"/>
906 <!-- DHCP should not send nis-domain -->
907 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false"/>
908 <!-- DHCP should not send nis-servers -->
909 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false"/>
910 <!-- DHCP should not send ntp-servers -->
911 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false"/>
912 <!-- DHCP should not send routers -->
913 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false"/>
914 <!-- DHCP should not send time-offset -->
915 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false"/>
916 <!-- Configure DHCP Logging -->
917 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false"/>
918 <!-- Enable the NTP Daemon -->
919 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false"/>
920 <!-- Deny All Access to ntpd by Default -->
921 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false"/>
922 <!-- Specify a Remote NTP Server for Time Data -->
923 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false"/>
924 <!-- Obtain NTP Software -->
925 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false"/>
926 <!-- Enable the NTP Daemon -->
927 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false"/>
928 <!-- Configure the Client NTP Daemon to Use the Local Server -->
929 <xccdf:select idref="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false"/>
930 <!-- Disable the Listening Sendmail Daemon -->
931 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false"/>
932 <!-- Configure LDAP to Use TLS for All Transactions -->
933 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false"/>
934 <!-- Disable OpenLDAP service -->
935 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false"/>
936 <!-- Disable nfslock -->
937 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false"/>
938 <!-- Disable rpcgssd -->
939 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false"/>
940 <!-- Disable rpcidmapd -->
941 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false"/>
942 <!-- Disable netfs if Possible -->
943 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false"/>
944 <!-- Configure lockd to Use Fixed Ports for TCP -->
945 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false"/>
946 <!-- Configure statd to Use a outgoing static port-->
947 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false"/>
948 <!-- Configure statd to Use a static port -->
949 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false"/>
950 <!-- Configure lockd to Use a static port for UDP -->
951 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false"/>
952 <!-- Configure mountd to Use a static port -->
953 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false"/>
954 <!-- Configure rquotad to Use Fixed Ports -->
955 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false"/>
956 <!-- Disable nfs service -->
957 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false"/>
958 <!-- Disable rpcsvcgssd service -->
959 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false"/>
960 <!-- INCOMPLETE OVAL -->
961 <!-- Mount Remote Filesystems with nodev -->
962 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false"/>
963 <!-- Mount Remote Filesystems with nosuid -->
964 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false"/>
965 <!-- Mount Remote Filesystems with noexec -->
966 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false"/>
967 <!-- Use Root-Squashing on All Exports -->
968 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false"/>
969 <!-- Restrict NFS Clients to Privileged Ports -->
970 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false"/>
971 <!-- Export Filesystems Read-Only if Possible -->
972 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.a" selected="false"/>
973 <!-- Disable DNS Server if Possible -->
974 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.b" selected="false"/>
975 <!-- Uninstall bind if Possible -->
976 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false"/>
977 <!-- Run DNS Software in a chroot Jail owned by root group -->
978 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false"/>
979 <!-- Run DNS Software in a chroot Jail owned by root user -->
980 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false"/>
981 <!-- Set permissions on chroot Jail for DNS -->
982 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false"/>
983 <!-- Disable DNS Dynamic Updates if Possible -->
984 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.a" selected="false"/>
985 <!-- Disable vsftpd if Possible -->
986 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.b" selected="false"/>
987 <!-- Uninstall vsftpd if Possible -->
988 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false"/>
989 <!-- Enable Logging of All FTP Transactions -->
990 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false"/>
991 <!-- Create Warning Banners for All FTP Users -->
992 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false"/>
993 <!-- Restrict Access to Anonymous Users if Possible -->
994 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false"/>
995 <!-- Disable FTP Uploads if Possible -->
996 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.a" selected="false"/>
997 <!-- Disable Apache if Possible -->
998 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.b" selected="false"/>
999 <!-- Uninstall Apache if Possible -->
1000 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false"/>
1001 <!-- Restrict Information Leakageusing ServerTokens -->
1002 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false"/>
1003 <!-- Restrict Information Leakage using ServerSignature -->
1004 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false"/>
1005 <!-- Restrict permissions on /etc/httpd/conf -->
1006 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false"/>
1007 <!-- Restrict permissions on /etc/httpd/conf/* -->
1008 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false"/>
1009 <!-- Restrict permissions on /usr/sbin/httpd -->
1010 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false"/>
1011 <!-- Restrict group access to /etc/httpd/conf/* -->
1012 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false"/>
1013 <!-- Restrict permissions on /var/log/httpd -->
1014 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.a" selected="false"/>
1015 <!-- Disable Dovecot if Possible -->
1016 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.b" selected="false"/>
1017 <!-- Uninstall Dovecot if Possible -->
1018 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false"/>
1019 <!-- Dovecot should not support imaps -->
1020 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false"/>
1021 <!-- Dovecot should not support pop3s -->
1022 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false"/>
1023 <!-- Dovecot should not support pop3 -->
1024 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false"/>
1025 <!-- Dovecot should not support imap -->
1026 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false"/>
1027 <!-- Disable Plaintext Authentication -->
1028 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false"/>
1029 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1030 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false"/>
1031 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1032 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.1.a" selected="false"/>
1033 <!-- Disable smb if Possible -->
1034 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false"/>
1035 <!-- Disable Guest Access and Local Login Support -->
1036 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false"/>
1037 <!-- Require Client SMB Packet Signing, if using smbclient -->
1038 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false"/>
1039 <!-- NO OVAL 5.5 test -->
1040 <!-- Require Client SMB Packet Signing, if using mount.cifs -->
1041 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.a" selected="false"/>
1042 <!-- DONE -->
1043 <!-- Disable squid if Possible -->
1044 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.b" selected="false"/>
1045 <!-- DONE -->
1046 <!-- Uninstall squid if Possible -->
1047 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false"/>
1048 <!-- DONE -->
1049 <!-- Verify ftp_passive setting -->
1050 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false"/>
1051 <!-- DONE -->
1052 <!-- Verify ftp_sanitycheck setting -->
1053 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false"/>
1054 <!-- DONE -->
1055 <!-- Verify check_hostnames stting -->
1056 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false"/>
1057 <!-- DONE -->
1058 <!-- Verify request_header_max_size setting -->
1059 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false"/>
1060 <!-- DONE -->
1061 <!-- Verify reply_header_max_size setting -->
1062 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false"/>
1063 <!-- DONE -->
1064 <!-- Verify cache_effective_user setting -->
1065 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false"/>
1066 <!-- DONE -->
1067 <!-- Verify cache_effective_group setting -->
1068 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false"/>
1069 <!-- DONE -->
1070 <!-- Verify ignore_unknown_nameservers setting -->
1071 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false"/>
1072 <!-- DONE -->
1073 <!-- Check allow_underscore setting -->
1074 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false"/>
1075 <!-- DONE -->
1076 <!-- Check httpd_suppress_version setting -->
1077 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false"/>
1078 <!-- DONE -->
1079 <!-- Check forwarded_for setting -->
1080 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false"/>
1081 <!-- DONE -->
1082 <!-- Check log_mime_hdrs setting -->
1083 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false"/>
1084 <!-- DONE -->
1085 <!-- Restrict gss-http traffic -->
1086 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false"/>
1087 <!-- DONE -->
1088 <!-- Restrict https traffic -->
1089 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false"/>
1090 <!-- DONE -->
1091 <!-- Restrict wais traffic -->
1092 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false"/>
1093 <!-- DONE -->
1094 <!-- Restrict multiling http traffic -->
1095 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false"/>
1096 <!-- DONE -->
1097 <!-- Restrict http traffic -->
1098 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false"/>
1099 <!-- DONE -->
1100 <!-- Restrict ftp traffic -->
1101 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false"/>
1102 <!-- DONE -->
1103 <!-- Restrict gopher traffic -->
1104 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false"/>
1105 <!-- DONE -->
1106 <!-- Restrict filemaker traffic -->
1107 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false"/>
1108 <!-- DONE -->
1109 <!-- Restrict proxy access to localhost -->
1110 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false"/>
1111 <!-- DONE -->
1112 <!-- Restrict http-mgmt traffic -->
1113 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.a" selected="false"/>
1114 <!-- DONE -->
1115 <!-- Disable snmpd if Possible -->
1116 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.b" selected="false"/>
1117 <!-- DONE -->
1118 <!-- Uninstall net-snmp if Possible -->
1119 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.i" selector="000"/>
1120 <!-- Permissions for shadow -->
1121 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.j" selector="644"/>
1122 <!-- Permissions for group -->
1123 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.k" selector="000"/>
1124 <!-- Permissions for gshadow -->
1125 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.l" selector="644"/>
1126 <!-- Permissions for passwd -->
1127 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.4.1.a" selector="022"/>
1128 <!-- daemon umask -->
1129 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.a" selector="5"/>
1130 <!-- password minimum length -->
1131 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.b" selector="1_day"/>
1132 <!-- minimum password age (days) -->
1133 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.c" selector="60_days"/>
1134 <!-- maximum password age -->
1135 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.d" selector="7_days"/>
1136 <!-- password warn age -->
1137 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.retry" selector="3"/>
1138 <!-- Number of retry attempts before erroring out -->
1139 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.minlen" selector="14"/>
1140 <!-- Minimum number of characters in password -->
1141 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit" selector="2"/>
1142 <!-- Mininum number of digits in password -->
1143 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit" selector="2"/>
1144 <!-- Mininum number of upper case in password -->
1145 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit" selector="2"/>
1146 <!-- Mininum number of other (special characters) in password< -->
1147 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit" selector="2"/>
1148 <!-- Mininum number of lower case in password -->
1149 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.difok" selector="3"/>
1150 <!-- Mininum number of characters not present in old password -->
1151 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.deny" selector="3"/>
1152 <!-- Deny access if tally for this user exceeds n. -->
1153 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.lock_time" selector="3"/>
1154 <!-- Always deny for n seconds after failed attempt -->
1155 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.unlock_time" selector="none"/>
1156 <!-- Allow access after n seconds after failed attempt -->
1157 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.a" selector="usergroup"/>
1158 <!-- Name of group containing human users -->
1159 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.b" selector="4710"/>
1160 <!-- userhelper file permissions -->
1161 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.5.a" selector="SHA-512"/>
1162 <!-- Password hashing algorithm -->
1163 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.6.a" selector="5"/>
1164 <!-- Passwords to remember -->
1165 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.4.4" selector="002"/>
1166 <!-- Sensible umask -->
1167 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.a" selector="root"/>
1168 <!-- User that owns /etc/grub.conf -->
1169 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.b" selector="root"/>
1170 <!-- Group that owns /etc/grub.conf -->
1171 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.c" selector="600"/>
1172 <!-- permissions on /etc/hrub.conf -->
1173 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.5" selector="15_minutes"/>
1174 <!-- Inactivity timout -->
1175 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.7" selector="Empty_text"/>
1176 <!-- login banner verbiage -->
1177 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.c" selector="enforcing"/>
1178 <!-- SELinux state -->
1179 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.d" selector="targeted"/>
1180 <!-- SELinux policy -->
1181 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.a" selector="disabled"/>
1182 <!-- net.ipv4.conf.all.accept_source_route -->
1183 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.b" selector="disabled"/>
1184 <!-- net.ipv4.conf.all.accept_redirectse -->
1185 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.c" selector="disabled"/>
1186 <!-- net.ipv4.conf.all.secure_redirects -->
1187 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.d" selector="enabled"/>
1188 <!-- net.ipv4.conf.all.log_martians -->
1189 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.e" selector="disabled"/>
1190 <!-- net.ipv4.conf.default.accept_source_route -->
1191 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.f" selector="disabled"/>
1192 <!-- net.ipv4.conf.default.accept_redirects -->
1193 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.g" selector="disabled"/>
1194 <!-- net.ipv4.conf.default.secure_redirects -->
1195 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.h" selector="enabled"/>
1196 <!-- net.ipv4.icmp_echo_ignore_broadcast -->
1197 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.i" selector="enabled"/>
1198 <!-- net.ipv4.icmp_ignore_bogus_error_messages -->
1199 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.j" selector="enabled"/>
1200 <!-- net.ipv4.tcp_syncookie -->
1201 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.k" selector="enabled"/>
1202 <!-- net.ipv4.conf.all.rp_filtere -->
1203 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.b" selector="disabled"/>
1204 <!-- accept default router advertisements -->
1205 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.c" selector="disabled"/>
1206 <!-- accept default router advertisements -->
1207 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.l" selector="enabled"/>
1208 <!-- net.ipv4.conf.default.rp_filter -->
1209 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.a" selector="root"/>
1210 <!-- user that owns system log files -->
1211 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.b" selector="root"/>
1212 <!-- group that owns system log files -->
1213 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.c" selector="600"/>
1214 <!-- permissions of system log files -->
1215 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" selector="root"/>
1216 <!-- group owner of /etc/crontab -->
1217 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" selector="root"/>
1218 <!-- user owner of /etc/crontab -->
1219 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" selector="644"/>
1220 <!-- permissions on /etc/crontab file -->
1221 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" selector="root"/>
1222 <!-- group owner of /etc/anacrontab -->
1223 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" selector="root"/>
1224 <!-- user owner of /etc/anacrontab -->
1225 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" selector="644"/>
1226 <!-- permissions on /etc/anacrontab file -->
1227 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" selector="root"/>
1228 <!-- group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1229 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" selector="root"/>
1230 <!-- user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1231 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" selector="755"/>
1232 <!-- permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1233 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.a" selector="5_minutes"/>
1234 <!-- SSH session Idle time -->
1235 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.b" selector="0"/>
1236 <!-- SSH session ClientAliveCountMax -->
1237 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.group" selector="root"/>
1238 <!-- Group owner of /var/spool/cron -->
1239 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.user" selector="root"/>
1240 <!-- User owner of /var/spool/cron -->
1241 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" selector="700"/>
1242 <!-- Permissions on /var/spool/cron -->
1243 </xccdf:Profile>
1244 <!-- ==================================================================================================== -->
1245 <!-- ======================================== SECURITY GUIDANCE ======================================= -->
1246 <!-- ==================================================================================================== -->
1247 <!-- -->
1248 <!-- The following groups represent the collection of guidance for this document. For -->
1249 <!-- specific recommendations regarding which rules to enable and which values to use, please refer to -->
1250 <!-- the XCCDF profiles above. -->
1251 <!-- -->
1252 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1">
1253 <xccdf:title xml:lang="en">Introduction</xccdf:title>
1254 <xccdf:description xml:lang="en">
1255 The purpose of this guide is to provide security configuration
1256 recommendations for Fedora Linux. Recommended settings for the basic
1257 operating system are provided, as well as for many commonly-used services
1258 that the system can host in a network environment.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1259 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1260 The guide is intended for system administrators. Readers are
1261 assumed to possess basic system administration skills for Unix-like systems, as well as some
1262 familiarity with Red Hat's documentation and administration conventions. Some instructions
1263 within this guide are complex. All directions should be followed completely and with
1264 understanding of their effects in order to avoid serious adverse effects on the system and its
1265 security.
1266 </xccdf:description>
1267 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1">
1268 <xccdf:title xml:lang="en">General Principles</xccdf:title>
1269 <xccdf:description xml:lang="en">
1270 The following general principles motivate much of the advice in
1271 this guide and should also influence any configuration decisions that are not explicitly
1272 covered.</xccdf:description>
1273 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.1" weight="1.0">
1274 <xccdf:title xml:lang="en">Encrypt Transmitted Data Whenever Possible</xccdf:title>
1275 <xccdf:description xml:lang="en">
1276 Data transmitted over a network, whether wired or wireless, is
1277 susceptible to passive monitoring. Whenever practical solutions for encrypting such data
1278 exist, they should be applied. Even if data is expected to be transmitted only over a
1279 local network, it should still be encrypted. Encrypting authentication data, such as
1280 passwords, is particularly important. Networks of machines can and should be
1281 configured so that no unencrypted authentication data is ever transmitted between
1282 machines.</xccdf:description>
1283 </xccdf:Group>
1284 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.2">
1285 <xccdf:title xml:lang="en">Minimize Software to Minimize Vulnerability</xccdf:title>
1286 <xccdf:description xml:lang="en">
1287 The simplest way to avoid vulnerabilities in software is to avoid
1288 installing that software. The RPM Package Manager allows for careful management of the
1289 set of software packages installed on a system. Installed software contributes to system
1290 vulnerability in several ways. Packages that include setuid programs may provide local
1291 attackers a potential path to privilege escalation. Packages that include network services
1292 may give this opportunity to network-based attackers. Packages that include programs
1293 which are predictably executed by local users (e.g. after graphical login) may provide
1294 opportunities for trojan horses or other attack code to be run undetected. The number of
1295 software packages installed on a system can almost always be significantly pruned to include only
1296 the software for which there is an environmental or operational need.</xccdf:description>
1297 </xccdf:Group>
1298 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.3">
1299 <xccdf:title xml:lang="en">Run Different Network Services on Separate Systems</xccdf:title>
1300 <xccdf:description xml:lang="en">
1301 Whenever possible, a server should be dedicated to serving
1302 exactly one network service. This limits the number of other services that can be
1303 compromised in the event that an attacker is able to successfully exploit a software flaw
1304 in one network service.</xccdf:description>
1305 </xccdf:Group>
1306 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.4">
1307 <xccdf:title xml:lang="en">Configure Security Tools to Improve System Robustness</xccdf:title>
1308 <xccdf:description xml:lang="en">
1309 Several tools exist which can be effectively used to improve a
1310 system's resistance to and detection of unknown attacks. These tools can improve
1311 robustness against attack at the cost of relatively little configuration effort. In
1312 particular, this guide recommends and discusses the use of Iptables for host-based
1313 firewalling, SELinux for protection against vulnerable services, and a logging and
1314 auditing infrastructure for detection of problems.</xccdf:description>
1315 </xccdf:Group>
1316 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.5">
1317 <xccdf:title xml:lang="en">Least Privilege</xccdf:title>
1318 <xccdf:description xml:lang="en">
1319 Grant the least privilege necessary for user accounts and
1320 software to perform tasks. For example, do not allow users except those that need
1321 administrator access to use sudo. Another example is to limit logins on server
1322 systems to only those administrators who need to log into them in order to perform
1323 administration tasks. Using SELinux also follows the principle of least privilege:
1324 SELinux policy can confine software to perform only actions on the system that are
1325 specifically allowed. This can be far more restrictive than the actions permissible
1326 by the traditional Unix permissions model.</xccdf:description>
1327 </xccdf:Group>
1328 </xccdf:Group>
1329 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2">
1330 <xccdf:title xml:lang="en">How to Use This Guide</xccdf:title>
1331 <xccdf:description xml:lang="en">Readers should heed the following points when using the guide.</xccdf:description>
1332 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.1">
1333 <xccdf:title xml:lang="en">Read Sections Completely and in Order</xccdf:title>
1334 <xccdf:description xml:lang="en">
1335 Each section may build on information and recommendations
1336 discussed in prior sections. Each section should be read and understood completely;
1337 instructions should never be blindly applied. Relevant discussion will occur after
1338 instructions for an action. The system-level configuration guidance in Chapter 2 must be
1339 applied to all machines. The guidance for individual services in Chapter 3 must be
1340 considered for all machines as well: apply the guidance if the machine is either a server
1341 or a client for that service, and ensure that the service is disabled according to the
1342 instructions provided if the machine is neither a server nor a client.</xccdf:description>
1343 </xccdf:Group>
1344 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.2">
1345 <xccdf:title xml:lang="en">Test in Non-Production Environment</xccdf:title>
1346 <xccdf:description xml:lang="en">
1347 This guidance should always be tested in a non-production
1348 environment before deployment. This test environment should simulate the setup in which
1349 the system will be deployed as closely as possible.</xccdf:description>
1350 </xccdf:Group>
1351 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.3">
1352 <xccdf:title xml:lang="en">Root Shell Environment Assumed</xccdf:title>
1353 <xccdf:description xml:lang="en">
1354 Most of the actions listed in this document are written with the
1355 assumption that they will be executed by the root user running the /bin/bash shell. Any
1356 commands preceded with a hash mark (#) assume that the administrator will execute the
1357 commands as root, i.e. apply the command via sudo whenever possible, or use su to gain
1358 root privileges if sudo cannot be used.</xccdf:description>
1359 </xccdf:Group>
1360 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.4">
1361 <xccdf:title xml:lang="en">Formatting Conventions</xccdf:title>
1362 <xccdf:description xml:lang="en">
1363 Commands intended for shell execution, as well as configuration
1364 file text, are featured in a monospace font. Italics are used to indicate instances where
1365 the system administrator must substitute the appropriate information into a command or
1366 configuration file.</xccdf:description>
1367 </xccdf:Group>
1368 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.5">
1369 <xccdf:title xml:lang="en">Reboot Required</xccdf:title>
1370 <xccdf:description xml:lang="en">
1371 A system reboot is implicitly required after some actions in
1372 order to complete the reconfiguration of the system. In many cases, the changes will not
1373 take effect until a reboot is performed. In order to ensure that changes are applied
1374 properly and to test functionality, always reboot the system after applying a set of
1375 recommendations from this guide.</xccdf:description>
1376 </xccdf:Group>
1377 </xccdf:Group>
1378 </xccdf:Group>
1379 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2">
1380 <xccdf:title xml:lang="en">System-wide Configuration</xccdf:title>
1381 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1">
1382 <xccdf:title xml:lang="en">Installing and Maintaining Software</xccdf:title>
1383 <xccdf:description xml:lang="en">
1384 The following sections contain information on security-relevant
1385 choices during the initial operating system installation process and the setup of software
1386 updates.</xccdf:description>
1387 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1">
1388 <xccdf:title xml:lang="en">Initial Installation Recommendations</xccdf:title>
1389 <xccdf:description xml:lang="en">
1390 The recommendations here apply to a clean installation of the
1391 system, where any previous installations are wiped out. The sections presented here are in
1392 the same order that the installer presents, but only installation choices with security
1393 implications are covered. Many of the configuration choices presented here can also be
1394 applied after the system is installed. The choices can also be automatically applied via
1395 Kickstart files.</xccdf:description>
1396 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1">
1397 <xccdf:title xml:lang="en">Disk Partitioning</xccdf:title>
1398 <xccdf:description xml:lang="en">
1399 Some system directories should be placed on their own partitions
1400 (or logical volumes). This allows for better separation and protection of data.
1401 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1402 The installer’s default partitioning scheme creates separate partitions (or logical volumes)
1403 for /, /boot, and swap.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1404 <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
1405 partitioning.” This allows for the easy creation of additional logical volumes inside
1406 the volume group already created, though it may require making /’s logical volume smaller
1407 to create space. In general, using logical volumes is preferable to using partitions
1408 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
1409 (which the installer will require anyway), as well as separate ones described in the
1410 following sections.</xhtml:li></xhtml:ul>
1411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1412 If a system has already been installed, and the default partitioning scheme was
1413 used, it is possible but nontrivial to modify it to create separate logical volumes for the
1414 directories listed above. The Logical Volume Manager (LVM) makes this possible. See the LVM
1415 HOWTO at http://tldp.org/HOWTO/LVM-HOWTO/ for more detailed information on LVM.
1416 </xccdf:description>
1417 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.1">
1418 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /tmp</xccdf:title>
1419 <xccdf:description xml:lang="en">
1420 The /tmp directory is a world-writable directory used for
1421 temporary file storage. Ensure that it has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1423 Because software may need to use /tmp to temporarily store large files, ensure
1424 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
1425 the availability of space on the drive and the system’s operating requirements
1426 </xccdf:description>
1427 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.1.b" operator="equals" type="string">
1428 <xccdf:title>Minimum size for /tmp</xccdf:title>
1429 <xccdf:question xml:lang="en">Choose minimum size of /tmp</xccdf:question>
1430 <xccdf:value>2G</xccdf:value>
1431 <xccdf:value selector="125M">125M</xccdf:value>
1432 <xccdf:value selector="500M">500M</xccdf:value>
1433 <xccdf:value selector="2G">2G</xccdf:value>
1434 <xccdf:value selector="10G">10G</xccdf:value>
1435 <xccdf:value selector="40G">40G</xccdf:value>
1436 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1437 </xccdf:Value>
1438 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false" weight="10.0">
1439 <xccdf:title xml:lang="en">Ensure that /tmp has its own partition or logical volume</xccdf:title>
1440 <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>
1441 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1442 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20000"/>
1443 </xccdf:check>
1444 </xccdf:Rule>
1445 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false" weight="2.0">
1446 <xccdf:title xml:lang="en">Ensure that /tmp is of adequate size</xccdf:title>
1447 <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>
1448 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1449 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20001"/>
1450 </xccdf:check>
1451 </xccdf:Rule>
1452 </xccdf:Group>
1453 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.2">
1454 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var</xccdf:title>
1455 <xccdf:description xml:lang="en">
1456 The /var directory is used by daemons and other system
1457 services to store frequently-changing data. It is not uncommon for the /var directory
1458 to contain world-writable directories, installed by other software packages.
1459 Ensure that /var has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1460 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1461 Because the yum package manager and other software uses /var to temporarily store
1462 large files, ensure that it is of adequate size. For a modern, general-purpose system,
1463 10GB should be adequate.
1464 </xccdf:description>
1465 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.2.b" operator="equals" type="string">
1466 <xccdf:title>Minimum size of /var</xccdf:title>
1467 <xccdf:description>Choose minimum size of /var</xccdf:description>
1468 <xccdf:question xml:lang="en">Choose minimum size of /var</xccdf:question>
1469 <xccdf:value>5G</xccdf:value>
1470 <xccdf:value selector="500k">500K</xccdf:value>
1471 <xccdf:value selector="1G">1G</xccdf:value>
1472 <xccdf:value selector="5G">5G</xccdf:value>
1473 <xccdf:value selector="10G">10G</xccdf:value>
1474 <xccdf:value selector="15G">15G</xccdf:value>
1475 <xccdf:value selector="20G">20G</xccdf:value>
1476 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1477 </xccdf:Value>
1478 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false" severity="low" weight="10.0">
1479 <xccdf:title xml:lang="en">Ensure that /var has its own partition or logical volume</xccdf:title>
1480 <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>
1481 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1482 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20002"/>
1483 </xccdf:check>
1484 </xccdf:Rule>
1485 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false" weight="10.0">
1486 <xccdf:title xml:lang="en">Ensure that /var is of adequate size</xccdf:title>
1487 <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>
1488 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1489 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20003" value-id="xccdf_cdf_value_var-2.1.1.1.2.b"/>
1490 <!-- TBD -->
1491 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20003"/>
1492 </xccdf:check>
1493 </xccdf:Rule>
1494 </xccdf:Group>
1495 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.3">
1496 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log</xccdf:title>
1497 <xccdf:description xml:lang="en">
1498 System logs are stored in the /var/log directory.
1499 Ensure that it has its own partition or logical volume.
1500 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1501 See 2.6 for more information about logging and auditing.</xccdf:description>
1502 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false" weight="10.0">
1503 <xccdf:title xml:lang="en">Ensure that /var/log has its own partition or logical volume</xccdf:title>
1504 <xccdf:description xml:lang="en">
1505 System logs are stored in the /var/log directory.
1506 Ensure that it has its own partition or logical volume.</xccdf:description>
1507 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1508 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20004"/>
1509 </xccdf:check>
1510 </xccdf:Rule>
1511 </xccdf:Group>
1512 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.4">
1513 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log/audit</xccdf:title>
1514 <xccdf:description xml:lang="en">
1515 Audit logs are stored in the /var/log/audit directory.
1516 Ensure that it has its own partition or logical volume. Make absolutely certain
1517 that it is large enough to store all audit logs that will be created by the auditing
1518 daemon.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1519 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1520 See 2.6.2.2 for discussion on deciding on an appropriate size for the volume.</xccdf:description>
1521 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false" weight="10.0">
1522 <xccdf:title xml:lang="en">Ensure that /var/log/audit has its own partition or logical volume</xccdf:title>
1523 <xccdf:description xml:lang="en">
1524 Audit logs are stored in the /var/log/audit directory.
1525 Ensure that it has its own partition or logical volume.
1526 Make absolutely certain that it is large enough to store
1527 all audit logs that will be created by the auditing daemon.</xccdf:description>
1528 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1529 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20005"/>
1530 </xccdf:check>
1531 </xccdf:Rule>
1532 </xccdf:Group>
1533 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.5">
1534 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /home if Using Local Home Directories</xccdf:title>
1535 <xccdf:description xml:lang="en">
1536 If user home directories will be stored locally, create a separate
1537 partition for /home. If /home will be mounted from another system such as an NFS server, then
1538 creating a separate partition is not necessary at this time, and the mountpoint can
1539 instead be configured later.</xccdf:description>
1540 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false" severity="low" weight="10.0">
1541 <xccdf:title xml:lang="en">Ensure that /home has its own partition or logical volume</xccdf:title>
1542 <xccdf:description xml:lang="en">
1543 If user home directories will be stored locally, create a separate partition for /home.
1544 If /home will be mounted from another system such as an NFS server, then creating a
1545 separate partition is not necessary at this time, and the mountpoint can instead be
1546 configured later.</xccdf:description>
1547 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1548 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20006"/>
1549 </xccdf:check>
1550 </xccdf:Rule>
1551 </xccdf:Group>
1552 </xccdf:Group>
1553 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.2">
1554 <xccdf:title xml:lang="en">Boot Loader Configuration</xccdf:title>
1555 <xccdf:description xml:lang="en">
1556 Check the box to "Use a boot loader password" and create a
1557 password. Once this password is set, anyone who wishes to change the boot loader
1558 configuration will need to enter it. More information is available in Section
1559 2.3.5.2.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1560 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1561 Assigning a boot loader password prevents a local user
1562 with physical access from altering the boot loader configuration at system startup.
1563 </xccdf:description>
1564 </xccdf:Group>
1565 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.3">
1566 <xccdf:title xml:lang="en">Network Devices</xccdf:title>
1567 <xccdf:description xml:lang="en">
1568 The default network device configuration uses DHCP, which is
1569 not recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1570 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1571 Unless use of DHCP is absolutely necessary, click
1572 the "Edit" button and:
1573 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>
1574 Uncheck "Use Dynamic IP configuration
1575 (DHCP)".Uncheck "Enable IPv4 Support" if the system does not require IPv4. (This is
1576 uncommon.)
1577 </xhtml:li><xhtml:li>
1578 Uncheck "Enable IPv6 Support" if the system does not require
1579 IPv6.
1580 </xhtml:li><xhtml:li>
1581 Enter appropriate IPv4 and IPv6 addresses and prefixes as
1582 required.
1583 </xhtml:li></xhtml:ul>
1584 With the DHCP setting disabled, the hostname, gateway, and DNS
1585 servers should then be assigned on the main screen.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1586 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1587 Sections 3.9.1
1588 and 3.9.2 contain more information on network configuration and the use of DHCP.
1589 </xccdf:description>
1590 </xccdf:Group>
1591 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.4">
1592 <xccdf:title xml:lang="en">Root Password</xccdf:title>
1593 <xccdf:description xml:lang="en">
1594 The security of the entire system depends on the strength of
1595 the root password. The password should be at least 12 characters long, and should
1596 include a mix of capitalized and lowercase letters, special characters, and numbers. It
1597 should also not be based on any dictionary word.</xccdf:description>
1598 </xccdf:Group>
1599 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.5">
1600 <xccdf:title xml:lang="en">Software Packages</xccdf:title>
1601 <xccdf:description xml:lang="en">
1602 Uncheck all package groups, including the package groups
1603 "Software Development" and "Web Server", unless there is a specific requirement to
1604 install software using the system installer. If the machine will be used as a web
1605 server, it is preferable to manually install the necessary RPMs instead of installing
1606 the full "Web Server" package group. See Section 3.16 for installation and configuration
1607 details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1609 Use the "Customize now" radio box to prune package groups
1610 as much as possible. This brings up a two-column view of categories and package groups.
1611 If appropriate, uncheck "X Window System" in the "Base System" category to avoid
1612 installing X entirely. Any other package groups not necessary for system operation
1613 should also be unchecked.
1614 </xccdf:description>
1615 </xccdf:Group>
1616 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.6">
1617 <xccdf:title xml:lang="en">First-boot Configuration</xccdf:title>
1618 <xccdf:description xml:lang="en">
1619 The system presents more configuration options during the first
1620 boot after installation. For the screens listed, implement the security-related
1621 recommendations:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1622 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1623 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>
1624 Firewall - Leave set to
1625 'Enabled.' Only check the 'Trusted Services' that this system needs to serve. Uncheck
1626 the default selection of SSH if the system does not need to serve
1627 SSH.
1628 </xhtml:li><xhtml:li>
1629 SELinux - Leave SELinux set to 'Enforcing' mode.
1630 </xhtml:li><xhtml:li>
1631 Kdump -
1632 Leave Kdump off unless the feature is required, such as for kernel development and
1633 testing.
1634 </xhtml:li><xhtml:li>
1635 Set Up Software Updates - If the system is connected to the
1636 Internet now, click 'Yes, I'd like to register now.' This will require a connection to
1637 either the Red Hat Network servers or their proxies or satellites. This can also be
1638 configured later as described in Section 2.1.2.1.
1639 </xhtml:li><xhtml:li>
1640 Create User - If the
1641 system will require a local user account, it can be created here. Even if the system
1642 will be using a network-wide authentication system as described in Section 2.3.6, do
1643 not click on the 'Use Network Login...' button. Manually applying configuration later
1644 is preferable.
1645 </xhtml:li></xhtml:ul>
1646 </xccdf:description>
1647 </xccdf:Group>
1648 </xccdf:Group>
1649 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2">
1650 <xccdf:title xml:lang="en">Security Updates</xccdf:title>
1651 <xccdf:description xml:lang="en">
1652 As security vulnerabilities are discovered, the affected software must be updated in order
1653 to limit any potential security risks. If the software is part of a package within a Fedora
1654 distribution that is currently supported, Fedora is committed to releasing updated packages
1655 that fix the vulnerability as soon as is possible. Often, announcements about a given
1656 security exploit are accompanied with a patch (or source code that fixes the problem).
1657 This patch is then applied to the Fedora package and tested and released as an errata update.
1658 However, if an announcement does not include a patch, a developer first works with the maintainer
1659 of the software to fix the problem. Once the problem is fixed, the package is tested
1660 and released as an errata update.
1661 </xccdf:description>
1662 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1">
1663 <xccdf:title xml:lang="en">Updating Software</xccdf:title>
1664 <xccdf:description xml:lang="en">
1665 The yum command line tool is used to install and update software
1666 packages. The system also provides package management service called PackageKit
1667 that allows the session users to manage packages in a secure way. There are several
1668 graphical utilities designed for installing, updating and removing packages on your
1669 system that use PackageKit API. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1671 It is recommended to use these mechanisms to keep systems up to date with the latest
1672 security patches.
1673 </xccdf:description>
1674 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1.1">
1675 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1676 <xccdf:description xml:lang="en">
1677 To ensure that the system can cryptographically verify update packages run the following command to verify
1678 that the system has the Fedora GPG properly installed:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1679 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1680 <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"/>
1681 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1682 The command should return the string:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1684 gpg(Fedora (14) &lt;[email protected]&gt;)</xccdf:description>
1685 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="false" weight="10">
1686 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1687 <xccdf:description>The GPG key should be installed.</xccdf:description>
1688 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1689 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200065"/>
1690 </xccdf:check>
1691 </xccdf:Rule>
1692 </xccdf:Group>
1693 </xccdf:Group>
1694 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3">
1695 <xccdf:title xml:lang="en">Obtain Software Package Updates with yum</xccdf:title>
1696 <xccdf:description xml:lang="en">
1697 The yum update utility can be run by hand from the command
1698 line, called through one of the provided front-end tools, or configured to run
1699 automatically at specified intervals.</xccdf:description>
1700 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.2">
1701 <xccdf:title xml:lang="en">Configure Automatic Update Retrieval and Installation with Cron</xccdf:title>
1702 <xccdf:description xml:lang="en">
1703 The yum-updatesd service is not mature enough for an
1704 enterprise environment, and the service may introduce unnecessary overhead. When
1705 possible, replace this service with a cron job that calls yum
1706 directly.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1707 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1708 Create the file yum.cron, make it executable, and place it in
1709 /etc/cron.daily:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1710 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1711 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#!/bin/sh<xhtml:br/>
1712 <xhtml:br/>
1713 /usr/bin/yum -R 120 -e 0 -d 0 -y update yum
1714 <xhtml:br/>
1715 /usr/bin/yum -R 10 -e 0 -d 0 -y update<xhtml:br/></xhtml:code>
1716 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1717 This particular script instructs yum to update any
1718 packages it finds. Placing the script in /etc/cron.daily ensures its daily execution.
1719 To only apply updates once a week, place the script in /etc/cron.weekly instead.
1720 </xccdf:description>
1721 <xccdf:Value id="xccdf_cdf_value_var-2.1.2.3.2.b" operator="equals" type="string">
1722 <xccdf:title>Schedule yum update using cron</xccdf:title>
1723 <xccdf:description>Enter frequency of with which to invoke yum update</xccdf:description>
1724 <xccdf:question xml:lang="en">Select frequency of yum update</xccdf:question>
1725 <xccdf:value>daily</xccdf:value>
1726 <xccdf:value selector="hourly">hourly</xccdf:value>
1727 <xccdf:value selector="daily">daily</xccdf:value>
1728 <xccdf:value selector="weekly">weekly</xccdf:value>
1729 <xccdf:value selector="monthly">monthly</xccdf:value>
1730 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1731 <xccdf:choices mustMatch="1">
1732 <xccdf:choice>hourly</xccdf:choice>
1733 <xccdf:choice>daily</xccdf:choice>
1734 <xccdf:choice>weekly</xccdf:choice>
1735 <xccdf:choice>monthly</xccdf:choice>
1736 </xccdf:choices>
1737 </xccdf:Value>
1738 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false" severity="low" weight="10.0">
1739 <xccdf:title>yum-updatesd service should be disabled</xccdf:title>
1740 <xccdf:description>The yum-updatesd service should be disabled</xccdf:description>
1741 <xccdf:ident system="http://cce.mitre.org">CCE-4218-4</xccdf:ident>
1742 <xccdf:fix># chkconfig yum-updatesd off</xccdf:fix>
1743 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1744 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20008"/>
1745 </xccdf:check>
1746 </xccdf:Rule>
1747 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false" severity="medium" weight="10.0">
1748 <xccdf:title>Automatic Update Retrieval should be scheduled with Cron</xccdf:title>
1749 <xccdf:description>Place the yum.cron script somewhere in /etc/cron.*/</xccdf:description>
1750 <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>
1751 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1752 <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"/>
1753 <!-- TBD -->
1754 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20009"/>
1755 </xccdf:check>
1756 </xccdf:Rule>
1757 </xccdf:Group>
1758 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.3">
1759 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Globally Activated</xccdf:title>
1760 <xccdf:description xml:lang="en">
1761 The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
1762 to its installation.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1763 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1764 To force yum to check package signatures before installing them, ensure that the following line appears in
1765 /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1766 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1767 gpgcheck=1
1768 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1769 </xccdf:description>
1770 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="false" weight="10.0">
1771 <xccdf:title>Ensure gpgcheck is Globally Activated</xccdf:title>
1772 <xccdf:description>
1773 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"/>
1774 <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"/>
1775 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1776 gpgcheck=1</xccdf:description>
1777 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1778 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20010"/>
1779 </xccdf:check>
1780 </xccdf:Rule>
1781 </xccdf:Group>
1782 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.4">
1783 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1784 <xccdf:description xml:lang="en">
1785 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1786 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1787 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1788 gpgcheck=0
1789 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1790 </xccdf:description>
1791 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="false" weight="10.0">
1792 <xccdf:title>Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1793 <xccdf:description>
1794 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"/>
1795 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1796 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1797 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20011"/>
1798 </xccdf:check>
1799 </xccdf:Rule>
1800 </xccdf:Group>
1801 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.5">
1802 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1803 <xccdf:description xml:lang="en">
1804 The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
1805 to using it.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1806 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1807 To force yum to check the signature on repodata sent by a repository prior to using it, ensure that the
1808 following line appears in /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1809 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1810 repo_gpgcheck=1
1811 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1812 </xccdf:description>
1813 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false" weight="10.0">
1814 <xccdf:title>Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1815 <xccdf:description>
1816 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"/>
1817 <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"/>
1818 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>repo_gpgcheck=1</xccdf:description>
1819 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1820 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20012"/>
1821 </xccdf:check>
1822 </xccdf:Rule>
1823 </xccdf:Group>
1824 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.6">
1825 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1826 <xccdf:description xml:lang="en">
1827 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1828 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1829 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1830 gpgcheck=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1831 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1832 Note: Red Hat’s repositories support signatures on repodata, but some public repositories do not. If a repository
1833 does not support signature checking on repodata, then this risk must be weighed against the value of using the
1834 repository.
1835 </xccdf:description>
1836 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="false" weight="10.0">
1837 <xccdf:title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1838 <xccdf:description>
1839 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"/>
1840 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1841 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1842 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20013"/>
1843 </xccdf:check>
1844 </xccdf:Rule>
1845 </xccdf:Group>
1846 </xccdf:Group>
1847 </xccdf:Group>
1848 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3">
1849 <xccdf:title xml:lang="en">Software Integrity Checking</xccdf:title>
1850 <xccdf:description xml:lang="en">
1851 The AIDE (Advanced Intrusion Detection Environment) software is
1852 included with the system to provide software integrity checking. It is designed to be a
1853 replacement for the well-known Tripwire integrity checker. Integrity checking cannot
1854 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">prevent</xhtml:em>
1855 intrusions into your system, but can detect that they have occurred.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1856 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1857 Any integrity checking software should be configured before
1858 the system is deployed and able to provides services to users. Ideally, the integrity
1859 checking database would be built before the system is connected to any network, though
1860 this may prove impractical due to registration and software updates.
1861 </xccdf:description>
1862 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1">
1863 <xccdf:title xml:lang="en">Configure AIDE</xccdf:title>
1864 <xccdf:description xml:lang="en">
1865 Requirements for software integrity checking should be defined
1866 by policy, and this is highly dependent on the environment in which the system will be
1867 used. As such, a general strategy for implementing integrity checking is provided, but
1868 precise recommendations (such as to check a particular file) cannot be. Documentation
1869 for AIDE, including the quick-start on which this advice is based, is available in
1870 /usr/share/doc/aide-0.12.</xccdf:description>
1871 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.1">
1872 <xccdf:title xml:lang="en">Install AIDE</xccdf:title>
1873 <xccdf:description xml:lang="en">AIDE is not installed by default.</xccdf:description>
1874 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false" severity="medium" weight="10.0">
1875 <xccdf:title>Install AIDE</xccdf:title>
1876 <xccdf:description>The AIDE package should be installed</xccdf:description>
1877 <xccdf:ident system="http://cce.mitre.org">CCE-4209-3</xccdf:ident>
1878 <xccdf:fix>yum install aide</xccdf:fix>
1879 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1880 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20014"/>
1881 </xccdf:check>
1882 </xccdf:Rule>
1883 </xccdf:Group>
1884 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.2">
1885 <xccdf:title xml:lang="en">Customize Configuration File</xccdf:title>
1886 <xccdf:description xml:lang="en">
1887 Customize /etc/aide.conf to meet your requirements. The
1888 default configuration is acceptable for many environments.
1889 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1890 The man page aide.conf(5)
1891 provides detailed information about the configuration file format.
1892 </xccdf:description>
1893 </xccdf:Group>
1894 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.3">
1895 <xccdf:title xml:lang="en">Build, Store, and Test Database</xccdf:title>
1896 <xccdf:description xml:lang="en">
1897 Generate a new database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1899 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --init<xhtml:br/></xhtml:code>
1900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1901 By default, the database will be written to
1902 the file /var/lib/aide/aide.db.new.gz. The database, as well as the configuration file
1903 /etc/aide.conf and the binary /usr/sbin/aide (or hashes of these files) should be
1904 copied and stored in a secure location. Storing these copies or hashes on read-only
1905 media may provide further confidence that they will not be
1906 altered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1907 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1908 Install the newly-generated database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1909 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1910 <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>
1911 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1912 Run a manual check:
1913 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1914 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1915 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --check<xhtml:br/></xhtml:code>
1916 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1917 If this check produces any unexpected output, investigate.
1918 </xccdf:description>
1919 </xccdf:Group>
1920 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.4">
1921 <xccdf:title xml:lang="en">Implement Periodic Execution of Integrity Checking</xccdf:title>
1922 <xccdf:description xml:lang="en">
1923 By default, AIDE does not install itself for periodic execution.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1925 Implement checking with whatever frequency is required
1926 by your security policy. A once-daily check may be suitable for many environments. For
1927 example, to implement a daily execution of AIDE at 4:05am, add the following line to
1928 /etc/crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1929 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1930 05 4 * * * root /usr/sbin/aide --check<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1931 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1932 AIDE output may be an indication of an attack against
1933 your system, or it may be the result of something innocuous such as an administrator's
1934 configuration change or a software update. The steps in Section 2.1.3.1.3 should be
1935 repeated when configuration changes or software updates necessitate. This will
1936 certainly be necessary after applying guidance later in this guide.
1937 </xccdf:description>
1938 <xccdf:Value id="xccdf_cdf_value_var-2.1.3.1.4.a" operator="equals" type="string">
1939 <xccdf:title>Schedule AIDE check using cron</xccdf:title>
1940 <xccdf:description>Frequency with which to run AIDE check</xccdf:description>
1941 <xccdf:question xml:lang="en">Select frequency with which to run AIDE check</xccdf:question>
1942 <xccdf:value>daily</xccdf:value>
1943 <xccdf:value selector="hourly">hourly</xccdf:value>
1944 <xccdf:value selector="daily">daily</xccdf:value>
1945 <xccdf:value selector="weekly">weekly</xccdf:value>
1946 <xccdf:value selector="monthly">monthly</xccdf:value>
1947 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1948 <xccdf:choices mustMatch="1">
1949 <xccdf:choice>hourly</xccdf:choice>
1950 <xccdf:choice>daily</xccdf:choice>
1951 <xccdf:choice>weekly</xccdf:choice>
1952 <xccdf:choice>monthly</xccdf:choice>
1953 </xccdf:choices>
1954 </xccdf:Value>
1955 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.4.a" role="full" selected="false" severity="medium" weight="10.0">
1956 <xccdf:title>Run AIDE periodically</xccdf:title>
1957 <xccdf:description>Setup cron to run AIDE periodically using cron.</xccdf:description>
1958 <!-- note that anything periodic will pass including monthly -->
1959 <xccdf:fix>echo -e "/usr/sbin/aide --check" &gt; /etc/cron.daily/aide.cron</xccdf:fix>
1960 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1961 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20015" value-id="xccdf_cdf_value_var-2.1.3.1.4.a"/>
1962 <!-- TBD -->
1963 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20015"/>
1964 </xccdf:check>
1965 </xccdf:Rule>
1966 </xccdf:Group>
1967 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.5">
1968 <xccdf:title xml:lang="en">Manually Verify Integrity of AIDE</xccdf:title>
1969 <xccdf:description xml:lang="en">
1970 Because integrity checking is a means of intrusion detection
1971 and not intrusion prevention, it cannot be guaranteed that the AIDE binaries,
1972 configuration files, or database have not been tampered with. An attacker could
1973 disable or alter these files after a successful intrusion. Because of this, manual and
1974 frequent checks on these files is recommended. The safely stored copies (or hashes) of
1975 the database, binary, and configuration file were created earlier for this
1976 purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1977 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1978 Manually verify the integrity of the AIDE binaries,
1979 configuration file, and database. Possibilities for doing so include:
1980 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Use sha1sum or md5sum to generate checksums on the
1981 files and then visually compare them to those generated from the safely stored
1982 versions. This does not, of course, preclude the possibility that such output could
1983 also be faked.</xhtml:li><xhtml:li>Mount the stored versions on read-only media and run
1984 /bin/diff to verify that there are no differences between the
1985 files.</xhtml:li><xhtml:li>Copying the files to another system and performing the hash or file
1986 comparisons there may impart additional confidence that the manual verification
1987 process is not being interfered with.</xhtml:li></xhtml:ol>
1988 </xccdf:description>
1989 </xccdf:Group>
1990 </xccdf:Group>
1991 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.2">
1992 <xccdf:title xml:lang="en">Verify Package Integrity Using RPM</xccdf:title>
1993 <xccdf:description xml:lang="en">
1994 The RPM package management system includes the ability to
1995 verify the integrity of installed packages by comparing the installed files with
1996 information about the files taken from the package metadata stored in the RPM
1997 database. Although an attacker could corrupt the RPM database (analogous to
1998 attacking the AIDE database as described above), this check can still reveal
1999 modification of important files.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2000 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2001 To determine which files on the system differ from what is expected by the RPM
2002 database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2003 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2004 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa<xhtml:br/></xhtml:code>
2005 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2006 A “c” in the second column indicates that a file is a configuration file (and may be
2007 expected to change). In order to exclude configuration files from this list, run:
2008 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2009 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa | awk '$2!="c" {print $0}'<xhtml:br/></xhtml:code>
2010 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2011 The man page rpm(8) describes the format of the output. Any files that do not
2012 match the expected output demand further investigation if the system is being
2013 seriously examined. This check could also be run as a cron job.
2014 </xccdf:description>
2015 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false" weight="10.0">
2016 <xccdf:title>Verify Package Integrity Using RPM</xccdf:title>
2017 <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>
2018 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2019 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200155"/>
2020 </xccdf:check>
2021 </xccdf:Rule>
2022 </xccdf:Group>
2023 </xccdf:Group>
2024 </xccdf:Group>
2025 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2">
2026 <xccdf:title xml:lang="en">File Permissions and Masks</xccdf:title>
2027 <xccdf:description xml:lang="en">
2028 Traditional Unix security relies heavily on file and directory
2029 permissions to prevent unauthorized users from reading or modifying files to which they
2030 should not have access. Adhere to the principle of least privilege — configure each file,
2031 directory, and filesystem to allow only the access needed in order for that file to serve
2032 its purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2034 However, Linux systems contain a large number of files, so
2035 it is often prohibitively time-consuming to ensure that every file on a machine has exactly
2036 the permissions needed. This section introduces several permission restrictions which are
2037 almost always appropriate for system security, and which are easy to test and
2038 correct. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2039 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2040 Note: Several of the commands in this section search
2041 filesystems for files or directories with certain characteristics, and are intended to be
2042 run on every local ext2, ext3 and ext4 partition on a given machine. When the variable
2043 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2044 appears in one of the commands below, it means that the command
2045 is intended to be run repeatedly, with the name of each local partition substituted for
2046 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2047 in turn.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2048 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2049 The following command prints a
2050 list of ext2, ext3 and ext4 partitions on a given machine:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2051 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2052 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ mount -t ext2,ext3,ext4 | awk '{print $3}'<xhtml:br/></xhtml:code>
2053 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2054 If your site uses a local filesystem type other than ext{234}, you will need to modify
2055 this command.
2056 </xccdf:description>
2057 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1">
2058 <xccdf:title xml:lang="en">Restrict Partition Mount Options</xccdf:title>
2059 <xccdf:description xml:lang="en">
2060 System partitions can be mounted with certain options which limit
2061 what files on those partitions can do. These options are set in the file /etc/fstab, and
2062 can be used to make certain types of malicious behavior more difficult.</xccdf:description>
2063 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.1" weight="1.0">
2064 <xccdf:title xml:lang="en">Add nodev Option to Non-Root Local Partitions</xccdf:title>
2065 <xccdf:description xml:lang="en">
2066 The nodev option prevents users from mounting unauthorized
2067 devices on any partition which is known not to contain any authorized devices. The root
2068 partition typically contains the /dev partition, which is the primary location for
2069 authorized devices, so this option should not be set on /. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2070 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2071 However, if system programs are being run in chroot jails, this advice may need to be
2072 modified further, since it is often necessary to create device files inside the chroot
2073 directory for use by the restricted program.
2074 </xccdf:description>
2075 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.1.a" role="full" selected="false" severity="unknown" weight="10.0">
2076 <xccdf:title>Add nodev Option to Non-Root Local Partitions</xccdf:title>
2077 <xccdf:description>The nodev option should be disabled as appropriate for all non-root partitions.</xccdf:description>
2078 <xccdf:ident system="http://cce.mitre.org">CCE-4249-9</xccdf:ident>
2079 <xccdf:fixtext>
2080 Edit the file /etc/fstab. The important columns for purposes of
2081 this section are column 2 (mount point), column 3 (filesystem type), and column 4 (mount
2082 options). For any line which satisfies all of the conditions:
2083 <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>
2084 add the text “,nodev” to the list of mount options in column 4. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2085 </xccdf:fixtext>
2086 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2087 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20016"/>
2088 </xccdf:check>
2089 </xccdf:Rule>
2090 </xccdf:Group>
2091 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.2">
2092 <xccdf:title xml:lang="en">Add nodev, nosuid, and noexec Options to Removable Media Partitions</xccdf:title>
2093 <xccdf:description xml:lang="en">
2094 Users should not be allowed to introduce arbitrary devices or
2095 setuid programs to a system. These options are used to prevent that. In addition, while
2096 users are usually allowed to add executable programs to a system, the noexec option
2097 prevents code from being executed directly from the media itself, and may therefore
2098 provide a line of defense against certain types of worms or malicious code.</xccdf:description>
2099 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false" weight="10.0">
2100 <xccdf:title>Add nodev Option to Removable Media Partitions</xccdf:title>
2101 <xccdf:description>The nodev option should be disabled for all removable media.</xccdf:description>
2102 <xccdf:ident system="http://cce.mitre.org">CCE-3522-0</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 ',nodev' 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:20017"/>
2109 </xccdf:check>
2110 </xccdf:Rule>
2111 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false" weight="10.0">
2112 <xccdf:title>Add noexec Option to Removable Media Partitions</xccdf:title>
2113 <xccdf:description>The noexec option should be disabled for all removable media.</xccdf:description>
2114 <xccdf:ident system="http://cce.mitre.org">CCE-4275-4</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 ',noexec' 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:20018"/>
2121 </xccdf:check>
2122 </xccdf:Rule>
2123 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false" severity="medium" weight="10.0">
2124 <xccdf:title>Add nosuid Option to Removable Media Partitions</xccdf:title>
2125 <xccdf:description>The nosuid option should be disabled for all removable media.</xccdf:description>
2126 <xccdf:ident system="http://cce.mitre.org">CCE-4042-8</xccdf:ident>
2127 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2128 located by finding lines whose mount points contain strings like floppy or cdrom, or
2129 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2130 mountpoint, add the text ',nosuid' to the list of mount options in column 4.</xccdf:fixtext>
2131 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2132 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20019"/>
2133 </xccdf:check>
2134 </xccdf:Rule>
2135 </xccdf:Group>
2136 </xccdf:Group>
2137 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2">
2138 <xccdf:title xml:lang="en">Restrict Dynamic Mounting and Unmounting of Filesystems</xccdf:title>
2139 <xccdf:description xml:lang="en">
2140 Linux includes a number of facilities for the automated addition
2141 and removal of filesystems on a running system. These facilities may increase convenience,
2142 but they all bring some risk, whether direct risk from allowing unprivileged users to
2143 introduce arbitrary filesystems to a machine, or risk that software flaws in the automated
2144 mount facility itself will allow an attacker to compromise the
2145 system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2146 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2147 Use caution when enabling any such facility, and find out
2148 whether better configuration management or user education might solve the same problem
2149 with less risk.
2150 </xccdf:description>
2151 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1">
2152 <xccdf:title xml:lang="en">Disable USB Device Support</xccdf:title>
2153 <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>
2154 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.1">
2155 <xccdf:title xml:lang="en">Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2156 <xccdf:description xml:lang="en">
2157 If USB storage devices should not be used, the modprobe
2158 program used for automatic kernel module loading should be configured to not load the
2159 USB storage driver upon demand. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2160 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2161 This will prevent the modprobe program from loading the usb-storage module, but will
2162 not prevent an administrator (or another program) from using the insmod program to
2163 load the module manually.
2164 </xccdf:description>
2165 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false" weight="10.0">
2166 <xccdf:title>Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2167 <xccdf:description>The USB device support module should not be loaded</xccdf:description>
2168 <xccdf:ident system="http://cce.mitre.org">CCE-4187-1</xccdf:ident>
2169 <xccdf:fix>echo -e "\ndenylist usb_storage" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2170 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2171 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20021"/>
2172 </xccdf:check>
2173 </xccdf:Rule>
2174 </xccdf:Group>
2175 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.2">
2176 <xccdf:title xml:lang="en">Remove USB Storage Driver</xccdf:title>
2177 <xccdf:description xml:lang="en">
2178 If your system never requires the use of USB storage devices,
2179 then the supporting driver can be removed. Though more effective (as USB storage
2180 certainly cannot be used if the driver is not available at all), this is less elegant
2181 than the method described in Section 2.2.2.1.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2182 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2183 Note that this guidance will not prevent USB storage devices from being mounted if a
2184 custom kernel (i.e., not the one supplied with the system) with built-in USB support
2185 is used.
2186 </xccdf:description>
2187 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false" weight="10.0">
2188 <xccdf:title>Remove USB Storage Driver</xccdf:title>
2189 <xccdf:description>
2190 The USB device support module should not be installed. The command in
2191 the FIX will need to be repeated every time the kernel is updated. This command
2192 will also cause the command rpm -q --verify kernel to fail, which may be an
2193 undesirable side effect.</xccdf:description>
2194 <xccdf:ident system="http://cce.mitre.org">CCE-4006-3</xccdf:ident>
2195 <xccdf:fix>rm /lib/modules/2.6.*/kernel/drivers/usb/storage/usb-storage.ko</xccdf:fix>
2196 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2197 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20022"/>
2198 </xccdf:check>
2199 </xccdf:Rule>
2200 </xccdf:Group>
2201 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.3">
2202 <xccdf:title xml:lang="en">Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2203 <xccdf:description xml:lang="en">
2204 Another means of disabling USB storage is to disable all USB
2205 support provided by the operating system. This can be accomplished by adding the
2206 'nousb' argument to the kernel's boot loader configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2208 NOTE
2209 - Disabling all kernel support for USB will cause problems for systems with USB-based
2210 keyboards, mice, or printers. This guidance is inappropriate for systems which require
2211 USB connectivity.
2212 </xccdf:description>
2213 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false" weight="10.0">
2214 <xccdf:title>Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2215 <xccdf:description>USB kernel support should be disabled.</xccdf:description>
2216 <xccdf:ident system="http://cce.mitre.org">CCE-4173-1</xccdf:ident>
2217 <xccdf:fixtext>To disable kernel support for USB, append 'nousb' to the kernel line in
2218 /etc/grub.conf as follows: kernel /vmlinuz-version ro vga=ext
2219 root=/dev/VolGroup00/LogVol00 rhgb quiet nousb</xccdf:fixtext>
2220 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2221 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20023"/>
2222 </xccdf:check>
2223 </xccdf:Rule>
2224 </xccdf:Group>
2225 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.4">
2226 <xccdf:title xml:lang="en">Disable Booting from USB Devices</xccdf:title>
2227 <xccdf:description xml:lang="en">
2228 An attacker with physical access could try to boot the system
2229 from a USB flash drive and then access any data on the system's hard drive,
2230 circumventing the normal operating system's access controls. To prevent this,
2231 configure the BIOS to disallow booting from USB drives. Also configure the BIOS or
2232 firmware password as described in Section 2.3.5.1 to prevent unauthorized
2233 configuration changes.</xccdf:description>
2234 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false" severity="high" weight="10.0">
2235 <xccdf:title>Disable Booting from USB Devices in the BIOS</xccdf:title>
2236 <xccdf:description>The ability to boot from USB devices should be disabled</xccdf:description>
2237 <xccdf:ident system="http://cce.mitre.org">CCE-3944-6</xccdf:ident>
2238 <xccdf:fixtext>BIOS settings</xccdf:fixtext>
2239 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2240 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20024"/>
2241 </xccdf:check>
2242 </xccdf:Rule>
2243 </xccdf:Group>
2244 </xccdf:Group>
2245 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.2">
2246 <xccdf:title xml:lang="en">Disable the Automounter if Possible</xccdf:title>
2247 <xccdf:description xml:lang="en">
2248 If the autofs service is not needed to dynamically mount NFS
2249 filesystems or removable media, disable the service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2250 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2251 The autofs daemon mounts and unmounts filesystems, such as user home directories shared
2252 via NFS, on demand. In addition, autofs can be used to handle removable media, and the
2253 default configuration provides the cdrom device as /misc/cd. However, this method of
2254 providing access to removable media is not common, so autofs can almost always be
2255 disabled if NFS is not in use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2256 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2257 Even if NFS is required, it is almost always
2258 possible to configure filesystem mounts statically by editing /etc/fstab rather than
2259 relying on the automounter.
2260 </xccdf:description>
2261 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false" severity="medium" weight="10.0">
2262 <xccdf:title>Disable the Automounter if Possible</xccdf:title>
2263 <xccdf:description>The autofs service should be disabled.</xccdf:description>
2264 <xccdf:ident system="http://cce.mitre.org">CCE-4072-5</xccdf:ident>
2265 <xccdf:fix>chkconfig autofs off</xccdf:fix>
2266 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2267 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20025"/>
2268 </xccdf:check>
2269 </xccdf:Rule>
2270 </xccdf:Group>
2271 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.3">
2272 <xccdf:title xml:lang="en">Disable GNOME Automounting if Possible</xccdf:title>
2273 <xccdf:description xml:lang="en">
2274 The system's default desktop environment, GNOME, runs the
2275 program gnome-volume-manager to mount devices and removable media (such as DVDs, CDs and
2276 USB flash drives) whenever they are inserted into the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2277 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2278 The system's capabilities for automatic mounting should be configured to match whatever
2279 is defined by security policy. Disabling USB storage as described in Section 2.2.2.2.1
2280 will prevent the use of USB storage devices, but this step can also be taken as an
2281 additional layer of prevention and to prevent automatic mounting of CDs and DVDs if
2282 required. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2284 Particularly for kiosk-style systems, where users should
2285 have extremely limited access to the system, more detailed information can be found in
2286 Red Hat Desktop: Deployment Guide. The gconf-editor program, available in an RPM of the
2287 same name, can be used to explore other settings available in the GNOME environment.
2288 </xccdf:description>
2289 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false" severity="medium" weight="10.0">
2290 <xccdf:title>Disable GNOME Automounting if Possible</xccdf:title>
2291 <xccdf:description>The GNOME automounter (gnome-volume-manager) should be disabled if possible</xccdf:description>
2292 <xccdf:ident system="http://cce.mitre.org">CCE-4231-7</xccdf:ident>
2293 <xccdf:fixtext>Execute the following commands to prevent gnome-volume-manager from automatically
2294 mounting devices and media: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2295 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2296 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
2297 # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2298 --type bool --set /desktop/gnome/volume_manager/automount_media false
2299 <xhtml:br/> <xhtml:br/>
2300 # gconftool-2 --direct
2301 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2302 --type bool
2303 --set /desktop/gnome/volume_manager/automount_drives false
2304 </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2306 Verify the changes by executing
2307 the following command, which should return a list of settings: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2309 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># gconftool-2 -R /desktop/gnome/volume_manager <xhtml:br/></xhtml:code>
2310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2311 The automount drives and automount media settings should
2312 be set to false. Survey the list for any other options that should be adjusted.</xccdf:fixtext>
2313 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2314 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20026"/>
2315 </xccdf:check>
2316 </xccdf:Rule>
2317 </xccdf:Group>
2318 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.4">
2319 <xccdf:title xml:lang="en">Disable Mounting of Uncommon Filesystem Types</xccdf:title>
2320 <xccdf:description xml:lang="en">
2321 Specifying kernel module in /etc/modprobe.d/denylist.conf will prevent
2322 kernel module loading system from inserting the modele into the kernel.
2323 This mechanism effectively prevents usage of these uncommon filesystems.</xccdf:description>
2324 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false" weight="10.0">
2325 <xccdf:title>Disable Mounting of cramfs</xccdf:title>
2326 <xccdf:description>cramfs is uncommon filesystems</xccdf:description>
2327 <xccdf:fix>echo "denylist cramfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2328 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2329 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20027"/>
2330 </xccdf:check>
2331 </xccdf:Rule>
2332 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false" weight="10.0">
2333 <xccdf:title>Disable Mounting of freevxfs</xccdf:title>
2334 <xccdf:description>freevxfs is uncommon filesystems</xccdf:description>
2335 <xccdf:fix>echo "denylist freevxfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2336 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2337 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20028"/>
2338 </xccdf:check>
2339 </xccdf:Rule>
2340 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false" weight="10.0">
2341 <xccdf:title>Disable Mounting of jffs2</xccdf:title>
2342 <xccdf:description>jffs2 is uncommon filesystems</xccdf:description>
2343 <xccdf:fix>echo "denylist jffs2" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2344 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2345 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20029"/>
2346 </xccdf:check>
2347 </xccdf:Rule>
2348 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false" weight="10.0">
2349 <xccdf:title>Disable Mounting of hfs</xccdf:title>
2350 <xccdf:description>hfs is uncommon filesystems</xccdf:description>
2351 <xccdf:fix>echo "denylist hfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2352 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2353 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20030"/>
2354 </xccdf:check>
2355 </xccdf:Rule>
2356 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false" weight="10.0">
2357 <xccdf:title>Disable Mounting of hfsplus</xccdf:title>
2358 <xccdf:description>hfsplus is uncommon filesystems</xccdf:description>
2359 <xccdf:fix>echo "denylist hfsplus" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2360 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2361 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20031"/>
2362 </xccdf:check>
2363 </xccdf:Rule>
2364 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false" weight="10.0">
2365 <xccdf:title>Disable Mounting of squashfs</xccdf:title>
2366 <xccdf:description>squashfs is uncommon filesystems</xccdf:description>
2367 <xccdf:fix>echo "denylist squashfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2368 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2369 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20032"/>
2370 </xccdf:check>
2371 </xccdf:Rule>
2372 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false" weight="10.0">
2373 <xccdf:title>Disable Mounting of udf</xccdf:title>
2374 <xccdf:description>udf is uncommon filesystems</xccdf:description>
2375 <xccdf:fix>echo "denylist udf" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2376 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2377 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20033"/>
2378 </xccdf:check>
2379 </xccdf:Rule>
2380 </xccdf:Group>
2381 </xccdf:Group>
2382 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3">
2383 <xccdf:title xml:lang="en">Verify Permissions on Important Files and Directories</xccdf:title>
2384 <xccdf:description xml:lang="en">
2385 Permissions for many files on a system should be set to conform
2386 to system policy. This section discusses important permission restrictions which
2387 should be checked on a regular basis to ensure that no harmful discrepancies have arisen.
2388 </xccdf:description>
2389 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.1">
2390 <xccdf:title xml:lang="en">Verify Permissions on passwd, shadow, group and gshadow Files</xccdf:title>
2391 <xccdf:description xml:lang="en">
2392 These are the default permissions for these files. Many
2393 utilities need read access to the passwd file in order to function properly, but read
2394 access to the shadow file allows malicious attacks against system passwords, and should
2395 never be enabled.</xccdf:description>
2396 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.i" operator="equals" type="string">
2397 <xccdf:title>Permissions for shadow</xccdf:title>
2398 <xccdf:description>File permissions for /etc/shadow</xccdf:description>
2399 <xccdf:question xml:lang="en">Select permissions for /etc/shadow</xccdf:question>
2400 <xccdf:value>000000000</xccdf:value>
2401 <xccdf:value selector="000">000000000</xccdf:value>
2402 <xccdf:value selector="400">100000000</xccdf:value>
2403 <xccdf:value selector="644">110100100</xccdf:value>
2404 <xccdf:match>^[10]+$</xccdf:match>
2405 </xccdf:Value>
2406 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.j" operator="equals" type="string">
2407 <xccdf:title>Permissions for group</xccdf:title>
2408 <xccdf:description>File permissions for /etc/group</xccdf:description>
2409 <xccdf:question xml:lang="en">Select permissions for /etc/group</xccdf:question>
2410 <xccdf:value>110100100</xccdf:value>
2411 <xccdf:value selector="400">100000000</xccdf:value>
2412 <xccdf:value selector="644">110100100</xccdf:value>
2413 <xccdf:value selector="700">111000000</xccdf:value>
2414 <xccdf:match>^[10]+$</xccdf:match>
2415 </xccdf:Value>
2416 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.k" operator="equals" type="string">
2417 <xccdf:title>Permissions for gshadow</xccdf:title>
2418 <xccdf:description>File permissions for /etc/gshadow</xccdf:description>
2419 <xccdf:question xml:lang="en">Select permissions for /etc/gshadow</xccdf:question>
2420 <xccdf:value>000000000</xccdf:value>
2421 <xccdf:value selector="000">000000000</xccdf:value>
2422 <xccdf:value selector="400">100000000</xccdf:value>
2423 <xccdf:value selector="644">110100100</xccdf:value>
2424 <xccdf:match>^[10]+$</xccdf:match>
2425 </xccdf:Value>
2426 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.l" operator="equals" type="string">
2427 <xccdf:title>Permissions for passwd</xccdf:title>
2428 <xccdf:description>File permissions for /etc/password</xccdf:description>
2429 <xccdf:question xml:lang="en">Select permissions for /etc/password</xccdf:question>
2430 <xccdf:value>110100100</xccdf:value>
2431 <xccdf:value selector="400">100000000</xccdf:value>
2432 <xccdf:value selector="644">110100100</xccdf:value>
2433 <xccdf:value selector="700">111000000</xccdf:value>
2434 <xccdf:match>^[10]+$</xccdf:match>
2435 </xccdf:Value>
2436 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.a" selected="false" severity="medium" weight="10.0">
2437 <xccdf:title>Verify user who owns 'shadow' file</xccdf:title>
2438 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2439 <xccdf:ident system="http://cce.mitre.org">CCE-3918-0</xccdf:ident>
2440 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2441 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20034"/>
2442 </xccdf:check>
2443 </xccdf:Rule>
2444 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.b" selected="false" severity="medium" weight="10.0">
2445 <xccdf:title>Verify group who owns 'shadow' file</xccdf:title>
2446 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2447 <xccdf:ident system="http://cce.mitre.org">CCE-3988-3</xccdf:ident>
2448 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2449 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20035"/>
2450 </xccdf:check>
2451 </xccdf:Rule>
2452 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.c" selected="false" severity="medium" weight="10.0">
2453 <xccdf:title>Verify user who owns 'group' file</xccdf:title>
2454 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2455 <xccdf:ident system="http://cce.mitre.org">CCE-3276-3</xccdf:ident>
2456 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2457 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20036"/>
2458 </xccdf:check>
2459 </xccdf:Rule>
2460 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.d" selected="false" severity="medium" weight="10.0">
2461 <xccdf:title>Verify group who owns 'group' file</xccdf:title>
2462 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2463 <xccdf:ident system="http://cce.mitre.org">CCE-3883-6</xccdf:ident>
2464 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2465 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20037"/>
2466 </xccdf:check>
2467 </xccdf:Rule>
2468 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.e" selected="false" severity="medium" weight="10.0">
2469 <xccdf:title>Verify user who owns 'gshadow' file</xccdf:title>
2470 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2471 <xccdf:ident system="http://cce.mitre.org">CCE-4210-1</xccdf:ident>
2472 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2473 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20038"/>
2474 </xccdf:check>
2475 </xccdf:Rule>
2476 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.f" selected="false" severity="medium" weight="10.0">
2477 <xccdf:title>Verify group who owns 'gshadow' file</xccdf:title>
2478 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2479 <xccdf:ident system="http://cce.mitre.org">CCE-4064-2</xccdf:ident>
2480 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2481 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20039"/>
2482 </xccdf:check>
2483 </xccdf:Rule>
2484 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.g" selected="false" severity="medium" weight="10.0">
2485 <xccdf:title>Verify user who owns 'passwd' file</xccdf:title>
2486 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2487 <xccdf:ident system="http://cce.mitre.org">CCE-3958-6</xccdf:ident>
2488 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2489 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20040"/>
2490 </xccdf:check>
2491 </xccdf:Rule>
2492 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.h" selected="false" severity="medium" weight="10.0">
2493 <xccdf:title>Verify group who owns 'passwd' file</xccdf:title>
2494 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2495 <xccdf:ident system="http://cce.mitre.org">CCE-3495-9</xccdf:ident>
2496 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2497 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20041"/>
2498 </xccdf:check>
2499 </xccdf:Rule>
2500 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.i" selected="false" severity="medium" weight="10.0">
2501 <xccdf:title>Verify permissions on 'shadow' file</xccdf:title>
2502 <xccdf:description>File permissions for /etc/shadow should be set correctly.</xccdf:description>
2503 <xccdf:ident system="http://cce.mitre.org">CCE-4130-1</xccdf:ident>
2504 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2505 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20042" value-id="xccdf_cdf_value_var-2.2.3.1.i"/>
2506 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20042"/>
2507 </xccdf:check>
2508 </xccdf:Rule>
2509 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.j" selected="false" severity="medium" weight="10.0">
2510 <xccdf:title>Verify permissions on 'group' file</xccdf:title>
2511 <xccdf:description>File permissions for /etc/group should be set correctly.</xccdf:description>
2512 <xccdf:ident system="http://cce.mitre.org">CCE-3967-7</xccdf:ident>
2513 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2514 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20043" value-id="xccdf_cdf_value_var-2.2.3.1.j"/>
2515 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20043"/>
2516 </xccdf:check>
2517 </xccdf:Rule>
2518 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.k" selected="false" severity="medium" weight="10.0">
2519 <xccdf:title>Verify permissions on 'gshadow' file</xccdf:title>
2520 <xccdf:description>File permissions for /etc/gshadow should be set correctly.</xccdf:description>
2521 <xccdf:ident system="http://cce.mitre.org">CCE-3932-1</xccdf:ident>
2522 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2523 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20044" value-id="xccdf_cdf_value_var-2.2.3.1.k"/>
2524 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20044"/>
2525 </xccdf:check>
2526 </xccdf:Rule>
2527 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.l" selected="false" severity="medium" weight="10.0">
2528 <xccdf:title>Verify permissions on 'passwd' file</xccdf:title>
2529 <xccdf:description>File permissions for /etc/passwd should be set correctly.</xccdf:description>
2530 <xccdf:ident system="http://cce.mitre.org">CCE-3566-7</xccdf:ident>
2531 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2532 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20045" value-id="xccdf_cdf_value_var-2.2.3.1.l"/>
2533 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20045"/>
2534 </xccdf:check>
2535 </xccdf:Rule>
2536 </xccdf:Group>
2537 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.2">
2538 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2539 <xccdf:description xml:lang="en">
2540 When the so-called 'sticky bit' is set on a directory, only the
2541 owner of a given file may remove that file from the directory. Without the sticky bit,
2542 any user with write access to a directory may remove any file in the directory. Setting
2543 the sticky bit prevents users from removing each other's files. In cases where there is
2544 no reason for a directory to be world-writable, a better solution is to remove that
2545 permission rather than to set the sticky bit. However, if a directory is used by a
2546 particular application, consult that application's documentation instead of blindly
2547 changing modes.</xccdf:description>
2548 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.2.a" selected="false" severity="low" weight="10.0">
2549 <xccdf:title>Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2550 <xccdf:description>The sticky bit should be set for all world-writable directories.</xccdf:description>
2551 <xccdf:ident system="http://cce.mitre.org">CCE-3399-3</xccdf:ident>
2552 <xccdf:fixtext>Locate any directories in local partitions which are world-writable and do not have
2553 their sticky bits set. The following command will discover and print these. Run it
2554 once for each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2555 <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 !
2556 -perm -1000 \) -print </xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2558 If this command produces any output, fix each reported directory
2559 /dir using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2560 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2561 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod +t /dir</xhtml:code></xccdf:fixtext>
2562 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2563 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20046"/>
2564 </xccdf:check>
2565 </xccdf:Rule>
2566 </xccdf:Group>
2567 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.3">
2568 <xccdf:title xml:lang="en">Find Unauthorized World-Writable Files</xccdf:title>
2569 <xccdf:description xml:lang="en">
2570 Data in world-writable files can be modified by any user on the
2571 system. In almost all circumstances, files can be configured using a combination of user
2572 and group permissions to support whatever legitimate access is needed without the risk
2573 caused by world-writable files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2575 It is generally a good idea to
2576 remove global (other) write access to a file when it is discovered. However, check with
2577 documentation for specific applications before making changes. Also, monitor for
2578 recurring world-writable files, as these may be symptoms of a misconfigured application
2579 or user account.
2580 </xccdf:description>
2581 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.3.a" selected="false" severity="medium" weight="10.0">
2582 <xccdf:title>Find Unauthorized World-Writable Files</xccdf:title>
2583 <xccdf:description>The world-write permission should be disabled for all files.</xccdf:description>
2584 <xccdf:ident system="http://cce.mitre.org">CCE-3795-2</xccdf:ident>
2585 <xccdf:fixtext>The following command discovers and prints any world-writable files in local
2586 partitions. Run it once for each local partition PART: <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">find PART -xdev -type f -perm -0002 -print | xargs chmod o-w</xhtml:code></xccdf:fixtext>
2589 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2590 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20047"/>
2591 </xccdf:check>
2592 </xccdf:Rule>
2593 </xccdf:Group>
2594 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.4">
2595 <xccdf:title xml:lang="en">Find Unauthorized SUID/SGID System Executables</xccdf:title>
2596 <xccdf:description xml:lang="en">
2597 The following command discovers and prints any setuid or setgid
2598 files on local partitions. Run it once for each local partition : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2600 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"> # for PART in `mount -t ext2,ext3,ext4 | awk '{print $3}'`;
2601 do find $PART -xdev \( -perm -4000 -o -perm -2000 \) -type f -print;
2602 done </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2604 If the file does not require a setuid or
2605 setgid bit as discussed below, then these bits can be removed with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2607 <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"/>
2608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2609 The following table contains all setuid and setgid files which are expected to
2610 be on a stock system. The setuid or setgid bit on these files may be disabled to reduce
2611 system risk if only an administrator requires their functionality. The table indicates
2612 those files which may not be needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2614 Note: Several of these files are used for applications which are unlikely to be
2615 relevant to most production environments, such as ISDN networking, SSH hostbased
2616 authentication, or modification of network interfaces by unprivileged users. It is
2617 extremely likely that your site can disable a subset of these files with no loss of
2618 functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2619 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2620 Any files found by the above command which are not in the table should be examined.
2621 If the files are not authorized, they should have permissions removed, and further
2622 investigation may be warranted.
2623 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2624 <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>
2625 </xccdf:description>
2626 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.a" selected="false" severity="medium" weight="10.0">
2627 <xccdf:title>Find Unauthorized SGID System Executables</xccdf:title>
2628 <xccdf:description>The sgid bit should not be set for all files.</xccdf:description>
2629 <xccdf:ident system="http://cce.mitre.org">CCE-4178-0</xccdf:ident>
2630 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2631 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20048"/>
2632 </xccdf:check>
2633 </xccdf:Rule>
2634 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.b" selected="false" severity="high" weight="10.0">
2635 <xccdf:title>Find Unauthorized SUID System Executables</xccdf:title>
2636 <xccdf:description>The suid bit should not be set for all files.</xccdf:description>
2637 <xccdf:ident system="http://cce.mitre.org">CCE-3324-1</xccdf:ident>
2638 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2639 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20049"/>
2640 </xccdf:check>
2641 </xccdf:Rule>
2642 </xccdf:Group>
2643 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.5">
2644 <xccdf:title xml:lang="en">Find and Repair Unowned Files</xccdf:title>
2645 <xccdf:description xml:lang="en">
2646 The following command will discover and print any files on
2647 local partitions which do not belong to a valid user and a valid group. Run it once for
2648 each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2649 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2650 <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"/>
2651 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2652 If this command prints any results, investigate each reported file and either assign it to an
2653 appropriate user and group or remove it. Unowned files are not directly exploitable, but
2654 they are generally a sign that something is wrong with some system process. They may be
2655 caused by an intruder, by incorrect software installation or incomplete software
2656 removal, or by failure to remove all files belonging to a deleted account. The files
2657 should be repaired so that they will not cause problems when accounts are created in the
2658 future, and the problem which led to unowned files should be discovered and addressed.</xccdf:description>
2659 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.a" selected="false" severity="medium" weight="10.0">
2660 <xccdf:title>Find files unowned by a user</xccdf:title>
2661 <xccdf:description>All files should be owned by a user</xccdf:description>
2662 <xccdf:ident system="http://cce.mitre.org">CCE-4223-4</xccdf:ident>
2663 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2664 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20050"/>
2665 </xccdf:check>
2666 </xccdf:Rule>
2667 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.b" selected="false" severity="medium" weight="10.0">
2668 <xccdf:title>Find files unowned by a group</xccdf:title>
2669 <xccdf:description>All files should be owned by a group</xccdf:description>
2670 <xccdf:ident system="http://cce.mitre.org">CCE-3573-3</xccdf:ident>
2671 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2672 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20051"/>
2673 </xccdf:check>
2674 </xccdf:Rule>
2675 </xccdf:Group>
2676 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.6">
2677 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Proper Ownership</xccdf:title>
2678 <xccdf:description xml:lang="en">
2679 Locate any directories in local partitions which are world-writable and
2680 ensure that they are owned by root or another system account. The following command will discover
2681 and print these (assuming only system accounts have a uid lower than 500). Run it once for each
2682 local partition PART:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2684 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># find PART -xdev -type d -perm -0002 -uid +500 -print<xhtml:br/></xhtml:code>
2685 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2686 If this command produces any output, investigate why the current owner is not root or another
2687 system account.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2688 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2689 Allowing a user account to own a world-writeable directory is undesirable because it allows the
2690 owner of that directory to remove or replace any files that may be placed in the directory by
2691 other users.</xccdf:description>
2692 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.6.a" selected="false" severity="medium" weight="10.0">
2693 <xccdf:title>Find world writable directories not owned by a system account</xccdf:title>
2694 <xccdf:description>All world writable directories should be owned by a system user</xccdf:description>
2695 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2696 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20052"/>
2697 </xccdf:check>
2698 </xccdf:Rule>
2699 </xccdf:Group>
2700 </xccdf:Group>
2701 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4">
2702 <xccdf:title xml:lang="en">Restrict Programs from Dangerous Execution Patterns</xccdf:title>
2703 <xccdf:description xml:lang="en">
2704 The recommendations in this section provide broad protection
2705 against information disclosure or other misbehavior. These protections are applied at the
2706 system initialization or kernel level, and defend against certain types of
2707 badly-configured or compromised programs.</xccdf:description>
2708 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.1">
2709 <xccdf:title xml:lang="en">Set Daemon umask</xccdf:title>
2710 <xccdf:description xml:lang="en">
2711 The system umask for scripts in /etc/init.d must be set to at least 022, or daemon
2712 processes may create world-writable files. The more restrictive setting
2713 027 protects files, including temporary files and log files, from unauthorized reading
2714 by unprivileged users on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2715 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2716 If a particular daemon needs a
2717 less restrictive umask, consider editing the startup script or sysconfig file of that
2718 daemon to make a specific exception.
2719 </xccdf:description>
2720 <xccdf:Value id="xccdf_cdf_value_var-2.2.4.1.a" operator="equals" type="string">
2721 <xccdf:title>daemon umask</xccdf:title>
2722 <xccdf:description>Enter umask for daemons</xccdf:description>
2723 <xccdf:question xml:lang="en">Enter umask which will be used for new files created by daemons</xccdf:question>
2724 <xccdf:value>022</xccdf:value>
2725 <xccdf:value selector="022">022</xccdf:value>
2726 <xccdf:value selector="027">027</xccdf:value>
2727 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
2728 </xccdf:Value>
2729 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.1.a" selected="false" severity="medium" weight="10.0">
2730 <xccdf:title>Set Daemon umask</xccdf:title>
2731 <xccdf:description>The daemon umask should be set to profile value</xccdf:description>
2732 <xccdf:ident system="http://cce.mitre.org">CCE-4220-0</xccdf:ident>
2733 <xccdf:fixtext>Edit the file /etc/rc.d/init.d/functions, and add or correct the following line: umask
2734 <xccdf:sub idref="xccdf_cdf_value_var-2.2.4.1.a"/></xccdf:fixtext>
2735 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2736 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20053" value-id="xccdf_cdf_value_var-2.2.4.1.a"/>
2737 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20053"/>
2738 </xccdf:check>
2739 </xccdf:Rule>
2740 </xccdf:Group>
2741 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.2">
2742 <xccdf:title xml:lang="en">Disable Core Dumps</xccdf:title>
2743 <xccdf:description xml:lang="en">
2744 A core dump file is the memory image of an executable program
2745 when it was terminated by the operating system due to errant behavior. In most cases,
2746 only software developers would legitimately need to access these files. The core dump
2747 files may also contain sensitive information, or unnecessarily occupy large amounts of
2748 disk space. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2750 By default, the system sets a soft limit to stop the
2751 creation of core dump files for all users. This is accomplished in /etc/profile with the
2752 line: ulimit -S -c 0 &gt; /dev/null 2&gt;&amp;1 However, compliance with this
2753 limit is voluntary; it is a default intended only to protect users from the annoyance of
2754 generating unwanted core files. Users can increase the allowed core file size up to the
2755 hard limit, which is unlimited by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2756 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2757 Once a hard limit is set
2758 in /etc/security/limits.conf, the user cannot increase that limit within his own
2759 session. If access to core dumps is required, consider restricting them to only certain
2760 users or groups. See the limits.conf man page for more
2761 information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2762 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2763 The core dumps of setuid programs are further
2764 protected. The sysctl variable fs.suid_dumpable controls whether the kernel allows core
2765 dumps from these programs at all. The default value of 0 is recommended.
2766 </xccdf:description>
2767 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false" severity="low" weight="10.0">
2768 <xccdf:title>Disable Core Dumps for all users</xccdf:title>
2769 <xccdf:description>Core dumps for all users should be disabled</xccdf:description>
2770 <xccdf:ident system="http://cce.mitre.org">CCE-4225-9</xccdf:ident>
2771 <xccdf:fixtext>To disable core dumps for all users, add or correct the following line in
2772 /etc/security/limits.conf: * hard core 0</xccdf:fixtext>
2773 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2774 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20055"/>
2775 </xccdf:check>
2776 </xccdf:Rule>
2777 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.b" selected="false" severity="low" weight="10.0">
2778 <xccdf:title>Disable Core Dumps for SUID programs</xccdf:title>
2779 <xccdf:description>Core dumps for setuid programs should be disabled</xccdf:description>
2780 <xccdf:ident system="http://cce.mitre.org">CCE-4247-3</xccdf:ident>
2781 <xccdf:fixtext>To ensure that core dumps can never be made by setuid programs, edit
2782 /etc/sysctl.conf and add or correct the line: fs.suid_dumpable = 0</xccdf:fixtext>
2783 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2784 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20056"/>
2785 </xccdf:check>
2786 </xccdf:Rule>
2787 </xccdf:Group>
2788 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.3">
2789 <xccdf:title xml:lang="en">Enable ExecShield</xccdf:title>
2790 <xccdf:description xml:lang="en">
2791 ExecShield comprises a number of kernel features to provide
2792 protection against buffer overflows. These features include random placement of the
2793 stack and other memory regions, prevention of execution in memory that should only hold
2794 data, and special handling of text buffers. This protection is enabled by default, but
2795 the sysctl variables kernel.exec-shield and kernel.randomize va space should be checked
2796 to ensure that it has not been disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2798 ExecShield uses the
2799 segmentation feature on all x86 systems to prevent execution in memory higher than a
2800 certain address. It writes an address as a limit in the code segment descriptor, to
2801 control where code can be executed, on a per-process basis. When the kernel places a
2802 process's memory regions such as the stack and heap higher than this address, the
2803 hardware prevents execution there. However, this cannot always be done for all memory
2804 regions in which execution should not occur, so follow guidance in Section 2.2.4.4 to
2805 further protect the system.
2806 </xccdf:description>
2807 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.a" selected="false" weight="10.0">
2808 <xccdf:title>Enable ExecShield</xccdf:title>
2809 <xccdf:description>ExecShield should be enabled</xccdf:description>
2810 <xccdf:ident system="http://cce.mitre.org">CCE-4168-1</xccdf:ident>
2811 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
2812 activated at boot, add or correct the following settings in /etc/sysctl.conf:
2813 kernel.exec-shield = 1</xccdf:fixtext>
2814 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2815 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20057"/>
2816 </xccdf:check>
2817 </xccdf:Rule>
2818 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.b" selected="false" weight="10.0">
2819 <xccdf:title>Enable ExecShield randomized placement of virtual memory regions</xccdf:title>
2820 <xccdf:description>ExecShield randomized placement of virtual memory regions should be enabled</xccdf:description>
2821 <xccdf:ident system="http://cce.mitre.org">CCE-4146-7</xccdf:ident>
2822 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
2823 activated at boot, add or correct the following settings in /etc/sysctl.conf:
2824 kernel.randomize_va_space = 2</xccdf:fixtext>
2825 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2826 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20058"/>
2827 </xccdf:check>
2828 </xccdf:Rule>
2829 </xccdf:Group>
2830 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4">
2831 <xccdf:title xml:lang="en">Enable Execute Disable (XD) or No Execute (NX) Support on x86 Systems</xccdf:title>
2832 <xccdf:description xml:lang="en">
2833 Recent processors in the x86 family support the ability to
2834 prevent code execution on a per memory page basis. Generically and on AMD processors,
2835 this ability is called No Execute (NX), while on Intel processors it is called Execute
2836 Disable (XD). This ability can help prevent exploitation of buffer overflow
2837 vulnerabilities and should be activated whenever possible. Extra steps must be taken to
2838 ensure that this protection is enabled, particularly on 32-bit x86 systems. Other
2839 processors, such as Itanium and POWER, have included such support since inception and
2840 the standard kernel for those platforms supports the feature.</xccdf:description>
2841 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.1">
2842 <xccdf:title xml:lang="en">Check for Processor Support on x86 Systems</xccdf:title>
2843 <xccdf:description xml:lang="en">
2844 Check to see if the processor supports the PAE and NX
2845 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>
2846 </xccdf:Group>
2847 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.2">
2848 <xccdf:title xml:lang="en">Enable NX or XD Support in the BIOS</xccdf:title>
2849 <xccdf:description xml:lang="en">
2850 Computers with the ability to prevent this type of code
2851 execution frequently put an option in the BIOS that will allow users to turn the
2852 feature on or off at will. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2853 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2854 See Section 2.3.5.1 for information on protecting this and
2855 other BIOS settings.</xccdf:description>
2856 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false" weight="10.0">
2857 <xccdf:title>Enable NX or XD Support in the BIOS</xccdf:title>
2858 <xccdf:description>The XD/NX processor feature should be enabled in the BIOS</xccdf:description>
2859 <xccdf:ident system="http://cce.mitre.org">CCE-4177-2</xccdf:ident>
2860 <xccdf:fixtext>Reboot the system and enter the BIOS or 'Setup' configuration menu. Navigate the
2861 BIOS configuration menu and make sure that the option is enabled. The setting may be
2862 located under a 'Security' section. Look for Execute Disable (XD) on Intel-based
2863 systems and No Execute (NX) on AMD-based systems.</xccdf:fixtext>
2864 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2865 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20060"/>
2866 </xccdf:check>
2867 </xccdf:Rule>
2868 </xccdf:Group>
2869 </xccdf:Group>
2870 </xccdf:Group>
2871 </xccdf:Group>
2872 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3">
2873 <xccdf:title xml:lang="en">Account and Access Control</xccdf:title>
2874 <xccdf:description xml:lang="en">
2875 In traditional Unix security, if an attacker gains shell access to
2876 a certain login account, he can perform any action or access any file to which that account
2877 has access. Therefore, making it more difficult for unauthorized people to gain shell access
2878 to accounts, particularly to privileged accounts, is a necessary part of securing a system.
2879 This section introduces mechanisms for restricting access to login accounts.</xccdf:description>
2880 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1">
2881 <xccdf:title xml:lang="en">Protect Accounts by Restricting Password-Based Login</xccdf:title>
2882 <xccdf:description xml:lang="en">
2883 Conventionally, Unix shell accounts are accessed by providing a
2884 username and password to a login program, which tests these values for correctness using
2885 the /etc/passwd and /etc/shadow files. Password-based login is vulnerable to guessing of
2886 weak passwords, and to sniffing and man-in-the-middle attacks against passwords entered
2887 over a network or at an insecure console. Therefore, mechanisms for accessing accounts by
2888 entering usernames and passwords should be restricted to those which are operationally
2889 necessary.</xccdf:description>
2890 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.1">
2891 <xccdf:title xml:lang="en">Restrict Root Logins to System Console</xccdf:title>
2892 <xccdf:description xml:lang="en">
2893 Edit the file /etc/securetty. Ensure that the file contains
2894 only the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2895 <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
2896 tty6 ... </xhtml:li><xhtml:li>If required by your organization, the deprecated virtual console interface
2897 may be retained for backwards compatibility:<xhtml:br/>vc/1 vc/2 vc/3 vc/4 vc/5
2898 vc/6 ...</xhtml:li><xhtml:li>If required by your organization, the serial consoles may be added:<xhtml:br/>
2899 ttyS0 ttyS1</xhtml:li></xhtml:ul>
2900 Direct root logins should be allowed only for
2901 emergency use. In normal situations, the administrator should access the system via a
2902 unique unprivileged account, and use su or sudo to execute privileged commands.
2903 Discouraging administrators from accessing the root account directly ensures an audit
2904 trail in organizations with multiple administrators. Locking down the channels through
2905 which root can connect directly reduces opportunities for password-guessing against the
2906 root account. The login program uses the file /etc/securetty to determine which
2907 interfaces should allow root logins. The virtual devices /dev/console and /dev/tty*
2908 represent the system consoles (accessible via the Ctrl-Alt-F1 through Ctrl-Alt-F6
2909 keyboard sequences on a default installation). The default securetty file also contains
2910 /dev/vc/*. These are likely to be deprecated in most environments, but may be retained
2911 for compatibility. Root should also be prohibited from connecting via network protocols.
2912 See Section 3.5 for instructions on preventing root from logging in via SSH.</xccdf:description>
2913 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false" severity="medium" weight="10.0">
2914 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
2915 <xccdf:description>Logins through the specified virtual console interface should be disabled
2916 </xccdf:description>
2917 <xccdf:ident system="http://cce.mitre.org">CCE-3820-8</xccdf:ident>
2918 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
2919 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2920 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20061"/>
2921 </xccdf:check>
2922 </xccdf:Rule>
2923 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false" severity="medium" weight="10.0">
2924 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
2925 <xccdf:description>Logins through the specified virtual console device should be disabled</xccdf:description>
2926 <xccdf:ident system="http://cce.mitre.org">CCE-3485-0</xccdf:ident>
2927 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
2928 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2929 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20062"/>
2930 </xccdf:check>
2931 </xccdf:Rule>
2932 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false" severity="medium" weight="10.0">
2933 <xccdf:title>Restrict virtual console Root Logins</xccdf:title>
2934 <xccdf:description>Logins through the virtual console devices should be disabled</xccdf:description>
2935 <xccdf:ident system="http://cce.mitre.org">CCE-4111-1</xccdf:ident>
2936 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
2937 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2938 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20063"/>
2939 </xccdf:check>
2940 </xccdf:Rule>
2941 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.d" selected="false" severity="medium" weight="10.0">
2942 <xccdf:title>Restrict serial port Root Logins</xccdf:title>
2943 <xccdf:description>Login prompts on serial ports should be disabled.</xccdf:description>
2944 <xccdf:ident system="http://cce.mitre.org">CCE-4256-4</xccdf:ident>
2945 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
2946 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2947 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20064"/>
2948 </xccdf:check>
2949 </xccdf:Rule>
2950 </xccdf:Group>
2951 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.2">
2952 <xccdf:title xml:lang="en">Limit su Access to the Root Account</xccdf:title>
2953 <xccdf:description xml:lang="en">
2954 The su command allows a user to gain the privileges of another user by entering the
2955 password for that user's account. It is desirable to restrict the root user so that only
2956 known administrators are ever allowed to access the root account. This restricts
2957 password-guessing against the root account by unauthorized users or by accounts which
2958 have been compromised. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2960 By convention, the group wheel contains all users who are allowed to run privileged
2961 commands. The PAM module pam_wheel.so is used to restrict root access to this set of
2962 users.</xccdf:description>
2963 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false" severity="medium" weight="10.0">
2964 <xccdf:title>Limit su Access to the Root Account</xccdf:title>
2965 <xccdf:description>The wheel group should exist</xccdf:description>
2966 <xccdf:fixtext> Ensure that the group wheel exists, and that the usernames of all administrators
2967 who should be allowed to execute commands as root are members of that group.
2968 </xccdf:fixtext>
2969 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2970 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20065"/>
2971 </xccdf:check>
2972 </xccdf:Rule>
2973 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false" severity="medium" weight="10.0">
2974 <xccdf:title>Limit su Access to the wheel group</xccdf:title>
2975 <xccdf:description>Command access to the root account should be restricted to the wheel group.</xccdf:description>
2976 <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"/>
2977 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2978 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">auth required pam_wheel.so use_uid</xhtml:code>
2979 </xccdf:fixtext>
2980 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2981 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20066"/>
2982 </xccdf:check>
2983 </xccdf:Rule>
2984 </xccdf:Group>
2985 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.3">
2986 <xccdf:title xml:lang="en">Configure sudo to Improve Auditing of Root Access</xccdf:title>
2987 <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
2988 of all administrators who should be allowed to execute commands as root are members of
2989 that group. <xhtml:br/>
2990 <xhtml:br/>
2991 <xhtml:code># grep ^wheel /etc/group</xhtml:code></xhtml:li><xhtml:li>Edit the file /etc/sudoers. Add, uncomment, or
2992 correct the line: <xhtml:br/>
2993 <xhtml:br/>
2994 %wheel ALL=(ALL) ALL</xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2995 The sudo command allows fine-grained control over
2996 which users can execute commands using other accounts. The primary benefit of sudo when
2997 configured as above is that it provides an audit trail of every command run by a
2998 privileged user. It is possible for a malicious administrator to circumvent this
2999 restriction, but, if there is an established procedure that all root commands are run
3000 using sudo, then it is easy for an auditor to detect unusual behavior when this
3001 procedure is not followed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3002 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3003 Editing /etc/sudoers by hand can be dangerous, since a configuration error may make it
3004 impossible to access the root account remotely. The recommended means of editing this
3005 file is using the visudo command, which checks the file's syntax for correctness before
3006 allowing it to be saved.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3007 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3008 Note that sudo allows any attacker who gains access to the password of an administrator
3009 account to run commands as root. This is a downside which must be weighed against the
3010 benefits of increased audit capability and of being able to heavily restrict the use of
3011 the high-value root password (which can be logistically difficult to change often). As
3012 a basic precaution, never use the NOPASSWD directive, which would allow anyone with
3013 access to an administrator account to execute commands as root without knowing the
3014 administrator's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3015 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3016 The sudo command has many options which can be used to further customize its behavior.
3017 See the sudoers(5) man page for details.</xccdf:description>
3018 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false" severity="medium" weight="10.0">
3019 <xccdf:title>Configure sudo to Improve Auditing of Root Access</xccdf:title>
3020 <xccdf:description>Sudo privileges should granted to the wheel group</xccdf:description>
3021 <xccdf:ident system="http://cce.mitre.org">CCE-4044-4</xccdf:ident>
3022 <xccdf:fix>echo "%wheel ALL=(ALL) ALL" &gt;&gt; /etc/sudoers</xccdf:fix>
3023 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3024 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20067"/>
3025 </xccdf:check>
3026 </xccdf:Rule>
3027 </xccdf:Group>
3028 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.4">
3029 <xccdf:title xml:lang="en">Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3030 <xccdf:description xml:lang="en">
3031 Using /etc/passwd, obtain a listing of all users, their UIDs,
3032 and their shells, for instance by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3034 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '{print $1 ":" $3 ":" $7}' /etc/passwd<xhtml:br/></xhtml:code>
3035 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3036 Identify the system accounts from this listing. These will primarily be the accounts
3037 with UID numbers less than 500, other than root.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3038 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3039 For each identified system account SYSACCT , lock the account: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3040 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3041 <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"/>
3042 and disable its shell: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3043 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3044 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># usermod -s /sbin/nologin SYSACCT <xhtml:br/></xhtml:code>
3045 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3046 These are the accounts which are
3047 not associated with a human user of the system, but which exist to perform some
3048 administrative function. Make it more difficult for an attacker to use these accounts by
3049 locking their passwords and by setting their shells to some non-valid shell. The Fedora
3050 default non-valid shell is /sbin/nologin, but any command which will exit with a failure
3051 status and disallow execution of any further commands, such as /bin/false or /dev/null,
3052 will work.</xccdf:description>
3053 <xccdf:warning category="functionality" xml:lang="en">Do not perform the steps in this section on the root account.
3054 Doing so might cause the system to become inaccessible.</xccdf:warning>
3055 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false" severity="medium" weight="10.0">
3056 <xccdf:title>Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3057 <xccdf:description>Login access to non-root system accounts should be disabled</xccdf:description>
3058 <xccdf:ident system="http://cce.mitre.org">CCE-3987-5</xccdf:ident>
3059 <xccdf:fixtext>Edit /etc/passwd</xccdf:fixtext>
3060 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3061 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20068"/>
3062 </xccdf:check>
3063 </xccdf:Rule>
3064 </xccdf:Group>
3065 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5">
3066 <xccdf:title xml:lang="en">Verify Proper Storage and Existence of Password Hashes</xccdf:title>
3067 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.1">
3068 <xccdf:title xml:lang="en">Verify that No Accounts Have Empty Password Fields</xccdf:title>
3069 <xccdf:description xml:lang="en">
3070 Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3071 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3072 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 == "") {print}' /etc/shadow <xhtml:br/></xhtml:code>
3073 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3074 If this produces any output, fix the problem by locking each account
3075 (see Section 2.3.1.4 above) or by setting a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3076 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3077 If an account has an empty password, anybody may log in and run commands with the
3078 privileges of that account. Accounts with empty passwords should never be used in
3079 operational environments.</xccdf:description>
3080 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="false" severity="medium" weight="10.0">
3081 <xccdf:title>Verify that No Accounts Have Empty Password Fields</xccdf:title>
3082 <xccdf:description>Login access to accounts without passwords should be disabled</xccdf:description>
3083 <xccdf:ident system="http://cce.mitre.org">CCE-4238-2</xccdf:ident>
3084 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3085 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20069"/>
3086 </xccdf:check>
3087 </xccdf:Rule>
3088 </xccdf:Group>
3089 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.2">
3090 <xccdf:title xml:lang="en">Verify that All Account Password Hashes are Shadowed</xccdf:title>
3091 <xccdf:description xml:lang="en">
3092 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"/>
3093 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3094 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 != "x") {print}' /etc/passwd<xhtml:br/></xhtml:code>
3095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3096 The hashes for all user account passwords should be stored in the file /etc/shadow and never in /etc/passwd,
3097 which is readable by all users.
3098 </xccdf:description>
3099 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="false" severity="medium" weight="10.0">
3100 <xccdf:title>Verify that All Account Password Hashes are Shadowed</xccdf:title>
3101 <xccdf:description>Check that passwords are shadowed</xccdf:description>
3102 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3103 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200695"/>
3104 </xccdf:check>
3105 </xccdf:Rule>
3106 </xccdf:Group>
3107 </xccdf:Group>
3108 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.6">
3109 <xccdf:title xml:lang="en">Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3110 <xccdf:description xml:lang="en">
3111 This command will print all password file entries for accounts
3112 with UID 0: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3113 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3114 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($3 == "0") {print}' /etc/passwd <xhtml:br/></xhtml:code>
3115 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3116 This should print only one line, for the user root. If any other lines appear, ensure
3117 that these additional UID-0 accounts are authorized, and that there is a good reason for
3118 them to exist. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3120 In general, the best practice solution for auditing use of the root account is to restrict
3121 the set of cases in which root must be accessed anonymously by requiring use of su or sudo
3122 in almost all cases. Some sites choose to have more than one account with UID 0 in order
3123 to differentiate between administrators, but this practice may have unexpected side
3124 effects, and is therefore not recommended.</xccdf:description>
3125 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.6.a" selected="false" severity="medium" weight="10.0">
3126 <xccdf:title>Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3127 <xccdf:description>Anonymous root logins should be disabled</xccdf:description>
3128 <xccdf:ident system="http://cce.mitre.org">CCE-4009-7</xccdf:ident>
3129 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3130 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20070"/>
3131 </xccdf:check>
3132 </xccdf:Rule>
3133 </xccdf:Group>
3134 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.7">
3135 <xccdf:title xml:lang="en">Set Password Expiration Parameters</xccdf:title>
3136 <xccdf:description xml:lang="en">
3137 Edit the file /etc/login.defs to specify password expiration
3138 settings for new accounts. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3139 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
3140 PASS_MAX_DAYS=180<xhtml:br/>
3141 PASS_MIN_DAYS=7 <xhtml:br/>
3142 PASS_MIN_LEN=8 <xhtml:br/>
3143 PASS_WARN_AGE=7 <xhtml:br/></xhtml:code>
3144 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3145 For each existing human user USER , modify the current expiration settings to match
3146 these: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3147 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chage -M 180 -m 7 -W 7 USER<xhtml:br/></xhtml:code>
3148 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3149 Users should be forced to change their passwords, in order to decrease the utility of
3150 compromised passwords. However, the need to change passwords often should be balanced
3151 against the risk that users will reuse or write down passwords if forced to change them
3152 too often. Forcing password changes every 90-360 days, depending on the environment, is
3153 recommended. Set the appropriate value as PASS_MAX_DAYS and apply it to existing
3154 accounts with the -M flag. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3155 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3156 The PASS_MIN_DAYS (-m) setting prevents password changes for 7 days after the first
3157 change, to discourage password cycling. If you use this setting, train users to contact
3158 an administrator for an emergency password change in case a new password becomes
3159 compromised. The PASS_WARN_AGE (-W) setting gives users 7 days of warnings at login time
3160 that their passwords are about to expire.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3161 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3162 The PASS_MIN_LEN setting, which controls minimum password length, should be set to
3163 whatever is required by your site or organization security policy. The example value of
3164 8 provided here may be inadequate for many environments. See Section 2.3.3 for
3165 information on how to enforce more sophisticated requirements on password length and
3166 quality
3167 </xccdf:description>
3168 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.a" operator="equals" type="string">
3169 <xccdf:title xml:lang="en">minimum password length</xccdf:title>
3170 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3171 <xccdf:warning>This will only check new passwords</xccdf:warning>
3172 <xccdf:question xml:lang="en">Select minimum number of characters in password</xccdf:question>
3173 <xccdf:value>14</xccdf:value>
3174 <xccdf:value selector="5">5</xccdf:value>
3175 <xccdf:value selector="6">6</xccdf:value>
3176 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3177 <xccdf:value selector="8">8</xccdf:value>
3178 <xccdf:value selector="10">10</xccdf:value>
3179 <xccdf:value selector="14">14</xccdf:value>
3180 <xccdf:match>^[\d]+$</xccdf:match>
3181 </xccdf:Value>
3182 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.b" operator="equals" type="string">
3183 <xccdf:title>minimum password age</xccdf:title>
3184 <xccdf:description xml:lang="en">Enter minimum duration before allowing a password change</xccdf:description>
3185 <xccdf:question xml:lang="en">Select minimum duration (in days) before allowing a password change</xccdf:question>
3186 <xccdf:value>1</xccdf:value>
3187 <xccdf:value selector="1_day">1</xccdf:value>
3188 <xccdf:value selector="7_days">7</xccdf:value>
3189 <xccdf:match>^[\d]+$</xccdf:match>
3190 </xccdf:Value>
3191 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.c" operator="equals" type="string">
3192 <xccdf:title>maximum password age</xccdf:title>
3193 <xccdf:description xml:lang="en">Enter age before which a password must be changed</xccdf:description>
3194 <xccdf:question xml:lang="en">Select age (in days) before which a password must be changed</xccdf:question>
3195 <xccdf:value>60</xccdf:value>
3196 <xccdf:value selector="0_days">0</xccdf:value>
3197 <xccdf:value selector="30_days">30</xccdf:value>
3198 <xccdf:value selector="60_days">60</xccdf:value>
3199 <xccdf:value selector="90_days">90</xccdf:value>
3200 <xccdf:value selector="120_days">120</xccdf:value>
3201 <xccdf:value selector="150_days">150</xccdf:value>
3202 <xccdf:value selector="180_days">180</xccdf:value>
3203 <xccdf:match>^[\d]+$</xccdf:match>
3204 </xccdf:Value>
3205 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.d" operator="equals" type="string">
3206 <xccdf:title>password warn age</xccdf:title>
3207 <xccdf:description xml:lang="en">
3208 The number of days warning given before a password expires. A zero
3209 means warning is given only upon the day of expiration, a negative
3210 value means no warning is given. If not specified, no warning will
3211 be provided.</xccdf:description>
3212 <xccdf:question xml:lang="en">Select number of days warning is given before a password expires</xccdf:question>
3213 <xccdf:value>14</xccdf:value>
3214 <xccdf:value selector="7_days">7</xccdf:value>
3215 <xccdf:value selector="8_days">8</xccdf:value>
3216 <xccdf:value selector="14_days">14</xccdf:value>
3217 <xccdf:match>^[\d]+$</xccdf:match>
3218 </xccdf:Value>
3219 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.a" selected="false" severity="medium" weight="10.0">
3220 <xccdf:title>Set password minimum length</xccdf:title>
3221 <xccdf:description xml:lang="en">The password minimum length should be set to:
3222 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.a"/></xccdf:description>
3223 <xccdf:ident system="http://cce.mitre.org">CCE-4154-1</xccdf:ident>
3224 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3225 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20071" value-id="xccdf_cdf_value_var-2.3.1.7.a"/>
3226 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20071"/>
3227 </xccdf:check>
3228 </xccdf:Rule>
3229 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false" severity="medium" weight="10.0">
3230 <xccdf:title>Set minimum password age</xccdf:title>
3231 <xccdf:description>The minimum password age should be set to:
3232 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.b"/></xccdf:description>
3233 <xccdf:ident system="http://cce.mitre.org">CCE-4180-6</xccdf:ident>
3234 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3235 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20072" value-id="xccdf_cdf_value_var-2.3.1.7.b"/>
3236 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20072"/>
3237 </xccdf:check>
3238 </xccdf:Rule>
3239 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false" severity="medium" weight="10.0">
3240 <xccdf:title>Set maximum password age</xccdf:title>
3241 <xccdf:description>The maximum password age should be set to:
3242 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.c"/></xccdf:description>
3243 <xccdf:ident system="http://cce.mitre.org">CCE-4092-3</xccdf:ident>
3244 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3245 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20073" value-id="xccdf_cdf_value_var-2.3.1.7.c"/>
3246 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20073"/>
3247 </xccdf:check>
3248 </xccdf:Rule>
3249 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.d" selected="false" severity="medium" weight="10.0">
3250 <xccdf:title>Set password warn age</xccdf:title>
3251 <xccdf:description>The password warn age should be set to:
3252 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.d"/></xccdf:description>
3253 <xccdf:ident system="http://cce.mitre.org">CCE-4097-2</xccdf:ident>
3254 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3255 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20074" value-id="xccdf_cdf_value_var-2.3.1.7.d"/>
3256 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20074"/>
3257 </xccdf:check>
3258 </xccdf:Rule>
3259 </xccdf:Group>
3260 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.8">
3261 <xccdf:title xml:lang="en">Remove Legacy + Entries from Password Files</xccdf:title>
3262 <xccdf:description xml:lang="en">
3263 The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3264 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3265 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep "^+:" /etc/passwd /etc/shadow /etc/group<xhtml:br/></xhtml:code>
3266 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3267 should produce no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3268 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3269 The + symbol was used by systems to include data from NIS maps
3270 into existing files. However, a certain configuration error in which a NIS inclusion
3271 line appears in /etc/passwd, but NIS is not running, could lead to anyone being able to
3272 access the system with the username + and no password. Therefore, it is important to
3273 verify that no such line appears in any of the relevant system files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3275 The correct way to
3276 tell the local system to consult network databases such as LDAP or NIS for user
3277 information is to make appropriate modifications to /etc/nsswitch.conf.</xccdf:description>
3278 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false" severity="medium" weight="10.0">
3279 <xccdf:title>Remove Legacy + Entries from /etc/shadow</xccdf:title>
3280 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/shadow file</xccdf:description>
3281 <xccdf:fixtext>(1) via /etc/shadow</xccdf:fixtext>
3282 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3283 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20075"/>
3284 </xccdf:check>
3285 </xccdf:Rule>
3286 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false" severity="medium" weight="10.0">
3287 <xccdf:title>Remove Legacy + Entries from /etc/group</xccdf:title>
3288 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/group file</xccdf:description>
3289 <xccdf:fixtext>(1) via /etc/group</xccdf:fixtext>
3290 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3291 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20076"/>
3292 </xccdf:check>
3293 </xccdf:Rule>
3294 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false" severity="medium" weight="10.0">
3295 <xccdf:title>Remove Legacy + Entries from /etc/passwd</xccdf:title>
3296 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/passwd file</xccdf:description>
3297 <xccdf:ident system="http://cce.mitre.org">CCE-4114-5</xccdf:ident>
3298 <xccdf:fixtext>(1) via /etc/passwd</xccdf:fixtext>
3299 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3300 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20077"/>
3301 </xccdf:check>
3302 </xccdf:Rule>
3303 </xccdf:Group>
3304 </xccdf:Group>
3305 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2">
3306 <xccdf:title xml:lang="en">Use Unix Groups to Enhance Security</xccdf:title>
3307 <xccdf:description xml:lang="en">
3308 The access control policies which can be enforced by standard
3309 Unix permissions are limited, and configuring SELinux (Section 2.4) is frequently a better
3310 choice. However, this guide recommends that security be enhanced to the extent possible by
3311 enforcing the Unix group policies outlined in this section.</xccdf:description>
3312 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.1" weight="1.0">
3313 <xccdf:title xml:lang="en">Create a Unique Default Group for Each User</xccdf:title>
3314 <xccdf:description xml:lang="en">
3315 When running useradd, do not use the -g flag or otherwise
3316 override the default group. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3317 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3318 The Red Hat default is that each new user account should
3319 have a unique primary group whose name is the same as that of the account. This default
3320 is recommended, in order to provide additional protection against files which are
3321 created with group write permission enabled.</xccdf:description>
3322 </xccdf:Group>
3323 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.2">
3324 <xccdf:title xml:lang="en">Create and Maintain a Group Containing All Human Users</xccdf:title>
3325 <xccdf:description xml:lang="en">
3326 Identify all user accounts on the system which correspond to
3327 human users. Depending on your system configuration, this may be all entries in
3328 /etc/passwd with UID values of at least 500. Once, you have identified such a set of
3329 users, create a group named usergroup (substitute some name appropriate to your
3330 environment) and populate it with each human user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3331 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3332 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># groupadd usergroup <xhtml:br/>
3333 # usermod -G usergroup human1 <xhtml:br/>
3334 # usermod -G usergroup human2 ... <xhtml:br/>
3335 # usermod -G usergroup humanN <xhtml:br/></xhtml:code>
3336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3337 Then modify your procedure for creating new user accounts by adding -G usergroup to the
3338 set of flags with which useradd is invoked, so that new human users will be placed in
3339 the correct group by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3341 Creating a group of human users does not, by itself, enhance
3342 system security. However, as you work on securing your system, you will often find
3343 commands which never need to be run by system accounts, or which are only ever needed by
3344 users logged into the graphical console (which should only ever be available to human
3345 users, even on workstations). Once a group of users has been created, it is easy to
3346 restrict access to a given command, for instance /path/to/graphical/command , to
3347 authorized users: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3348 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3349 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /path/to/graphical/command <xhtml:br/>
3350 # chmod 750 /path/graphical/command <xhtml:br/></xhtml:code>
3351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3352 Without a group of human users, it is necessary to restrict
3353 access by somehow preventing each system account from running the command, which is an
3354 error-prone process even when it is possible at all.</xccdf:description>
3355 </xccdf:Group>
3356 </xccdf:Group>
3357 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3">
3358 <xccdf:title xml:lang="en">Protect Accounts by Configuring PAM</xccdf:title>
3359 <xccdf:description xml:lang="en">
3360 PAM, or Pluggable Authentication Modules, is a system which
3361 implements modular authentication for Linux programs. PAM is well-integrated into Linux's
3362 authentication architecture, making it difficult to remove, but it can be configured to
3363 minimize your system's exposure to unnecessary risk. This section contains guidance on how
3364 to accomplish that, and how to ensure that the modules used by your PAM configuration do
3365 what they are supposed to do. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3366 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3367 PAM is implemented as a set of shared objects which are
3368 loaded and invoked whenever an application wishes to authenticate a user. Typically, the
3369 application must be running as root in order to take advantage of PAM. Traditional
3370 privileged network listeners (e.g. sshd) or SUID programs (e.g. sudo) already meet this
3371 requirement. An SUID root application, userhelper, is provided so that programs which are
3372 not SUID or privileged themselves can still take advantage of PAM. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3374 PAM looks in the
3375 directory /etc/pam.d for application-specific configuration information. For instance, if
3376 the program login attempts to authenticate a user, then PAM's libraries follow the
3377 instructions in the file /etc/ pam.d/login to determine what actions should be taken.
3378 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3379 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>One
3380 very important file in /etc/pam.d is /etc/pam.d/system-auth. This file, which is included
3381 by many other PAM configuration files, defines 'default' system authentication measures.
3382 Modifying this file is a good way to make far-reaching authentication changes, for
3383 instance when implementing a centralized authentication service.
3384 </xccdf:description>
3385 <xccdf:warning xml:lang="en">
3386 Be careful when making changes to PAM's configuration files. The syntax for these files
3387 is complex, and modifications can have unexpected consequences.1 The default
3388 configurations shipped with applications should be sufficient for most users.
3389 </xccdf:warning>
3390 <xccdf:warning xml:lang="en">
3391 Running authconfig or system-config-authentication will re-write the PAM configuration
3392 files, destroying any manually made changes and replacing them with a series of system
3393 defaults. 1One reference to the configuration file syntax can be found at
3394 http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/ sag-configuration-file.html.
3395 </xccdf:warning>
3396 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1">
3397 <xccdf:title xml:lang="en">Set Password Quality Requirements</xccdf:title>
3398 <xccdf:description xml:lang="en">
3399 The default pam_cracklib PAM module provides strength checking
3400 for passwords. It performs a number of checks, such as making sure passwords are not
3401 similar to dictionary words, are of at least a certain length, are not the previous
3402 password reversed, and are not simply a change of case from the previous password. It
3403 can also require passwords to be in certain character classes.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3404 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3405 The pam_passwdqc PAM module provides the ability to enforce even more stringent
3406 password strength requirements. It is provided in an RPM of the same name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3407 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3408 The man pages pam_cracklib(8) and pam_passwdqc(8) provide information on the
3409 capabilities and configuration of each.
3410 </xccdf:description>
3411 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.1">
3412 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_cracklib</xccdf:title>
3413 <xccdf:description xml:lang="en">
3414 The pam_cracklib PAM module can be configured to meet
3415 recommendations for DoD systems as stated in [12].<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3416 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3417 To configure pam_cracklib to require at least one uppercase character, lowercase
3418 character, digit, and other (special) character, locate the following line in
3419 /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3420 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3421 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3423 and then alter it to read:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3425 password required pam_cracklib.so try_first_pass retry=3 minlen=14 dcredit=-1 /
3426 ucredit=-1 ocredit=-1 lcredit=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3427 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3428 If necessary, modify the arguments to ensure compliance with your organization’s
3429 security policy.
3430 </xccdf:description>
3431 <xccdf:warning xml:lang="en">Note that the password quality requirements are not enforced
3432 for the root account for some reason.
3433 </xccdf:warning>
3434 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.retry">
3435 <xccdf:title xml:lang="en">retry</xccdf:title>
3436 <xccdf:description xml:lang="en">Number of retry attempts before erroring out</xccdf:description>
3437 <xccdf:question xml:lang="en">Select number of password retry attempts before erroring out</xccdf:question>
3438 <xccdf:value>3</xccdf:value>
3439 <xccdf:value selector="1">1</xccdf:value>
3440 <xccdf:value selector="2">2</xccdf:value>
3441 <xccdf:value selector="3">3</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.difok">
3445 <xccdf:title xml:lang="en">difok</xccdf:title>
3446 <xccdf:description xml:lang="en">Mininum number of characters not present in old password</xccdf:description>
3447 <xccdf:warning xml:lang="en">Keep this high for short passwords</xccdf:warning>
3448 <xccdf:question xml:lang="en">Select minimum number of characters not present in old password</xccdf:question>
3449 <xccdf:value>5</xccdf:value>
3450 <xccdf:value selector="2">2</xccdf:value>
3451 <xccdf:value selector="3">3</xccdf:value>
3452 <xccdf:value selector="4">4</xccdf:value>
3453 <xccdf:value selector="5">5</xccdf:value>
3454 <xccdf:match>^[\d]+$</xccdf:match>
3455 </xccdf:Value>
3456 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.minlen">
3457 <xccdf:title xml:lang="en">minlen</xccdf:title>
3458 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3459 <xccdf:question xml:lang="en">Select minimum number of characters in pasword</xccdf:question>
3460 <xccdf:value>14</xccdf:value>
3461 <xccdf:value selector="6">6</xccdf:value>
3462 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3463 <xccdf:value selector="8">8</xccdf:value>
3464 <xccdf:value selector="10">10</xccdf:value>
3465 <xccdf:value selector="14">14</xccdf:value>
3466 <xccdf:value selector="15">15</xccdf:value>
3467 <xccdf:match>^[\d]+$</xccdf:match>
3468 </xccdf:Value>
3469 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit">
3470 <xccdf:title xml:lang="en">dcredit</xccdf:title>
3471 <xccdf:description xml:lang="en">Mininum number of digits in password</xccdf:description>
3472 <xccdf:question xml:lang="en">Select number of digits in password</xccdf:question>
3473 <xccdf:value>-2</xccdf:value>
3474 <xccdf:value selector="2">-2</xccdf:value>
3475 <xccdf:value selector="1">-1</xccdf:value>
3476 <xccdf:value selector="0">0</xccdf:value>
3477 <xccdf:match>^-?[\d]+$</xccdf:match>
3478 </xccdf:Value>
3479 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit">
3480 <xccdf:title xml:lang="en">ocredit</xccdf:title>
3481 <xccdf:description xml:lang="en">Mininum number of other (special characters) in password</xccdf:description>
3482 <xccdf:question xml:lang="en">Select number of special characters in password</xccdf:question>
3483 <xccdf:value>-2</xccdf:value>
3484 <xccdf:value selector="2">-2</xccdf:value>
3485 <xccdf:value selector="1">-1</xccdf:value>
3486 <xccdf:value selector="0">0</xccdf:value>
3487 <xccdf:match>^-?[\d]+$</xccdf:match>
3488 </xccdf:Value>
3489 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit">
3490 <xccdf:title xml:lang="en">lcredit</xccdf:title>
3491 <xccdf:description xml:lang="en">Mininum number of lower case in password</xccdf:description>
3492 <xccdf:question xml:lang="en">Select minimum number of lower case in password</xccdf:question>
3493 <xccdf:value>-2</xccdf:value>
3494 <xccdf:value selector="2">-2</xccdf:value>
3495 <xccdf:value selector="1">-1</xccdf:value>
3496 <xccdf:value selector="0">0</xccdf:value>
3497 <xccdf:match>^-?[\d]+$</xccdf:match>
3498 </xccdf:Value>
3499 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit">
3500 <xccdf:title xml:lang="en">ucredit</xccdf:title>
3501 <xccdf:description xml:lang="en">Mininum number of upper case in password</xccdf:description>
3502 <xccdf:question xml:lang="en">Select minimum number of upper case in password</xccdf:question>
3503 <xccdf:value>-2</xccdf:value>
3504 <xccdf:value selector="2">-2</xccdf:value>
3505 <xccdf:value selector="1">-1</xccdf:value>
3506 <xccdf:value selector="0">0</xccdf:value>
3507 <xccdf:match>^-?[\d]+$</xccdf:match>
3508 </xccdf:Value>
3509 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false" severity="medium" weight="10.0">
3510 <xccdf:title>Set Password Quality Requirements</xccdf:title>
3511 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3512 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3513 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3514 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3515 <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"/>
3516 <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"/>
3517 <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"/>
3518 <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"/>
3519 <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"/>
3520 <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"/>
3521 <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"/>
3522 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20078"/>
3523 <!-- TBD -->
3524 </xccdf:check>
3525 </xccdf:Rule>
3526 </xccdf:Group>
3527 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.2">
3528 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_passwdqc</xccdf:title>
3529 <xccdf:description xml:lang="en">
3530 If password strength stronger than that guaranteed by
3531 pam_cracklib is required, configure PAM to use pam_passwdqc.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3532 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3533 To activate pam_passwdqc, locate the following line in /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3534 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3535 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3537 and then replace it with the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3538 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3539 password requisite pam_passwdqc.so min=disabled,disabled,16,12,8<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3540 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3541 If necessary, modify the arguments (min=disabled,disabled,16,12,8) to ensure
3542 compliance with your organization’s security policy. Configuration options are
3543 described in the man page pam_passwdqc(8) and also in /usr/share/doc/pam_passwdqc-version.
3544 The minimum lengths provided here supercede that specified
3545 by the argument PASS MIN LEN as described in Section 2.3.1.7.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3546 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3547 The options given in the example above set a minimum length for each of the
3548 password “classes” that pam_passwdqc recognizes. Setting a particular minimum
3549 value to disabled will stop users from choosing a password that falls into
3550 that category alone.
3551 </xccdf:description>
3552 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N0">
3553 <!-- TODO -->
3554 <xccdf:title xml:lang="en">N0</xccdf:title>
3555 <xccdf:description xml:lang="en">
3556 N0 is used for passwords consisting of characters
3557 from one character class only. The character classes are: digits,
3558 lower-case letters, upper-case letters, and other characters. There is
3559 also a special class for non-ASCII characters which could not be
3560 classified, but are assumed to be non-digits. </xccdf:description>
3561 <xccdf:value>24</xccdf:value>
3562 <xccdf:value selector="disabled">disabled</xccdf:value>
3563 <xccdf:value selector="24">24</xccdf:value>
3564 <xccdf:value selector="30">30</xccdf:value>
3565 </xccdf:Value>
3566 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N1">
3567 <!-- TODO -->
3568 <xccdf:title xml:lang="en">N1</xccdf:title>
3569 <xccdf:description xml:lang="en">
3570 N1 is used for passwords consisting of characters
3571 from two character classes which do not meet the requirements for a
3572 passphrase.</xccdf:description>
3573 <xccdf:value>16</xccdf:value>
3574 <xccdf:value selector="disabled">disabled</xccdf:value>
3575 <xccdf:value selector="18">18</xccdf:value>
3576 <xccdf:value selector="24">24</xccdf:value>
3577 </xccdf:Value>
3578 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N2">
3579 <!-- TODO -->
3580 <xccdf:title xml:lang="en">N2</xccdf:title>
3581 <xccdf:description xml:lang="en">
3582 N2 is used for passphrases. Note that besides
3583 meeting this length requirement, a passphrase must also consist of a
3584 sufficient number of words (see the "passphrase" option below). </xccdf:description>
3585 <xccdf:value>16</xccdf:value>
3586 <xccdf:value selector="disabled">disabled</xccdf:value>
3587 <xccdf:value selector="16">16</xccdf:value>
3588 <xccdf:value selector="17">17</xccdf:value>
3589 <xccdf:value selector="18">18</xccdf:value>
3590 </xccdf:Value>
3591 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N3">
3592 <!-- TODO -->
3593 <xccdf:title xml:lang="en">N3</xccdf:title>
3594 <xccdf:description xml:lang="en">N3 is the number of characters required for a password that uses characters from 3 character classes.</xccdf:description>
3595 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 3 character classes</xccdf:question>
3596 <xccdf:value>16</xccdf:value>
3597 <xccdf:value selector="disabled">disabled</xccdf:value>
3598 <xccdf:value selector="14">14</xccdf:value>
3599 <xccdf:value selector="15">15</xccdf:value>
3600 <xccdf:value selector="16">16</xccdf:value>
3601 </xccdf:Value>
3602 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N4">
3603 <!-- TODO -->
3604 <xccdf:title xml:lang="en">N4</xccdf:title>
3605 <xccdf:description xml:lang="en">N4 is the number of characters required for a password that uses characters from 4 character classes.</xccdf:description>
3606 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 4 character classes</xccdf:question>
3607 <xccdf:value>14</xccdf:value>
3608 <xccdf:value selector="10">10</xccdf:value>
3609 <xccdf:value selector="12">12</xccdf:value>
3610 <xccdf:value selector="14">14</xccdf:value>
3611 </xccdf:Value>
3612 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.passphrase">
3613 <!-- TODO -->
3614 <xccdf:title xml:lang="en">passphrase</xccdf:title>
3615 <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>
3616 <xccdf:question xml:lang="en">Select the number of words required for a passphrase</xccdf:question>
3617 <xccdf:value>3</xccdf:value>
3618 <xccdf:value selector="disabled">0</xccdf:value>
3619 <xccdf:value selector="3">3</xccdf:value>
3620 <xccdf:value selector="5">5</xccdf:value>
3621 <xccdf:match>^[\d]+$</xccdf:match>
3622 </xccdf:Value>
3623 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.match">
3624 <!-- TODO -->
3625 <xccdf:title xml:lang="en">match</xccdf:title>
3626 <xccdf:description xml:lang="en">
3627 The length of common substring required to
3628 conclude that a password is at least partially based on information
3629 found in a character string, or 0 to disable the substring search.
3630 Note that the password will not be rejected once a weak substring is
3631 found; it will instead be subjected to the usual strength requirements
3632 with the weak substring removed.</xccdf:description>
3633 <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>
3634 <xccdf:value>5</xccdf:value>
3635 <xccdf:value selector="disable">0</xccdf:value>
3636 <xccdf:value selector="3">3</xccdf:value>
3637 <xccdf:value selector="4">4</xccdf:value>
3638 <xccdf:value selector="5">5</xccdf:value>
3639 <xccdf:match>^[\d]+$</xccdf:match>
3640 </xccdf:Value>
3641 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.retry">
3642 <!-- TODO -->
3643 <xccdf:title xml:lang="en">retry</xccdf:title>
3644 <xccdf:description xml:lang="en">
3645 The number of times the module will ask for a
3646 new password if the user fails to provide a sufficiently strong
3647 password and enter it twice the first time. </xccdf:description>
3648 <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>
3649 <xccdf:value>3</xccdf:value>
3650 <xccdf:value selector="2">2</xccdf:value>
3651 <xccdf:value selector="3">3</xccdf:value>
3652 <xccdf:value selector="4">4</xccdf:value>
3653 <xccdf:match>^[\d]+$</xccdf:match>
3654 </xccdf:Value>
3655 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false" weight="10.0">
3656 <xccdf:title>Set Password Quality Requirements using pam_passwdqc</xccdf:title>
3657 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3658 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3659 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3660 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3661 <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"/>
3662 <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"/>
3663 <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"/>
3664 <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"/>
3665 <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"/>
3666 <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"/>
3667 <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"/>
3668 <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"/>
3669 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20079"/>
3670 </xccdf:check>
3671 </xccdf:Rule>
3672 </xccdf:Group>
3673 </xccdf:Group>
3674 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.2">
3675 <xccdf:title xml:lang="en">Set Lockouts for Failed Password Attempts</xccdf:title>
3676 <xccdf:description xml:lang="en">
3677 The pam_tally2 PAM module provides the capability to lock out
3678 user accounts after a number of failed login attempts. Its documentation is available in
3679 /usr/share/doc/pam-version/txts/README.pam_tally2. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3680 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3681 If locking out accounts after a number of incorrect login attempts is required by your
3682 security policy, implement use of pam_tally2.so for the relevant PAM-aware programs
3683 such as login, sshd, and vsftpd. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3685 Find the following line in /etc/pam.d/system-auth: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3686 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3687 auth sufficient pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3688 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3689 and then change it so that it reads as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3690 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3691 auth required pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3692 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3693 In the same file, comment out or delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3694 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3695 auth requisite pam_succeed_if.so uid &gt;= 500 quiet <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3696 auth required pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3697 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3698 To enforce password lockout, add the following to the individual programs'
3699 configuration files in /etc/pam.d. First, add to end of the auth lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3700 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3701 auth required pam_tally2.so deny=5 onerr=fail <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3702 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3703 Second, add to the end of the account lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3704 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3705 account required pam_tally2.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3706 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3707 Adjust the deny argument to conform to your system security policy. The pam_tally2
3708 utility can be used to unlock user accounts as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3709 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3710 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /sbin/pam_tally2 --user username --reset <xhtml:br/></xhtml:code>
3711 </xccdf:description>
3712 <xccdf:warning xml:lang="en">
3713 Locking out user accounts presents the risk of a denial-of-service attack. The security
3714 policy regarding system lockout must weigh whether the risk of such a denial-of-service
3715 attack outweighs the benefits of thwarting password guessing attacks. The pam_tally2
3716 utility can be run from a cron job on a hourly or daily basis to try and offset this
3717 risk.
3718 </xccdf:warning>
3719 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.deny">
3720 <!-- TODO -->
3721 <xccdf:title xml:lang="en">deny</xccdf:title>
3722 <xccdf:description xml:lang="en">Deny access if tally for this user exceeds n.</xccdf:description>
3723 <xccdf:value>3</xccdf:value>
3724 <xccdf:value selector="1">1</xccdf:value>
3725 <xccdf:value selector="3">3</xccdf:value>
3726 <xccdf:value selector="5">5</xccdf:value>
3727 <xccdf:value selector="10">10</xccdf:value>
3728 <xccdf:match>^[\d]+$</xccdf:match>
3729 </xccdf:Value>
3730 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.lock_time">
3731 <xccdf:title xml:lang="en">lock_time</xccdf:title>
3732 <xccdf:description xml:lang="en">Always deny for n seconds after failed attempt.</xccdf:description>
3733 <xccdf:value>5</xccdf:value>
3734 <xccdf:value selector="1">1</xccdf:value>
3735 <xccdf:value selector="3">3</xccdf:value>
3736 <xccdf:value selector="5">5</xccdf:value>
3737 <xccdf:value selector="10">10</xccdf:value>
3738 <xccdf:match>^[\d]+$</xccdf:match>
3739 </xccdf:Value>
3740 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.unlock_time">
3741 <xccdf:title xml:lang="en">unlock_time</xccdf:title>
3742 <xccdf:description xml:lang="en">
3743 Allow access after n seconds after failed attempt. If this
3744 option is used the user will be locked out for the specified amount of time after
3745 he exceeded his maximum allowed attempts. Otherwise the account is locked until the
3746 lock is removed by a manual intervention of the system administrator.</xccdf:description>
3747 <xccdf:question xml:lang="en">Select time (in seconds) user will be locked out after he exceeded his maximum allowed attempts</xccdf:question>
3748 <xccdf:value>0</xccdf:value>
3749 <xccdf:value selector="none">1</xccdf:value>
3750 <xccdf:value selector="15_minutes">900</xccdf:value>
3751 <xccdf:value selector="30_minutes">1800</xccdf:value>
3752 <xccdf:value selector="1_hour">3600</xccdf:value>
3753 <xccdf:match>^[\d]+$</xccdf:match>
3754 </xccdf:Value>
3755 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false" severity="medium" weight="10.0">
3756 <xccdf:title>Set Lockouts for Failed Password Attempts</xccdf:title>
3757 <xccdf:description>The "account lockout threshold" policy should meet minimum requirements.</xccdf:description>
3758 <xccdf:ident system="http://cce.mitre.org">CCE-3410-8</xccdf:ident>
3759 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3760 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3761 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200801" value-id="xccdf_cdf_value_var-2.3.3.2.a.deny"/>
3762 <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"/>
3763 <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"/>
3764 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20080"/>
3765 <!-- TBD -->
3766 </xccdf:check>
3767 </xccdf:Rule>
3768 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false" weight="10.0">
3769 <xccdf:title>Do not leak information on authorization failure</xccdf:title>
3770 <xccdf:description>Authorization failures should not alert attackers as to what went wrong.</xccdf:description>
3771 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3772 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3773 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200805"/>
3774 <!-- TBD -->
3775 </xccdf:check>
3776 </xccdf:Rule>
3777 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.c" selected="false" severity="medium" weight="10.0">
3778 <xccdf:title>Do not log authorization failures and successes</xccdf:title>
3779 <xccdf:description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</xccdf:description>
3780 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3781 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3782 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200806"/>
3783 <!-- TBD -->
3784 </xccdf:check>
3785 </xccdf:Rule>
3786 </xccdf:Group>
3787 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.3">
3788 <xccdf:title xml:lang="en">Use pam_deny.so to Quickly Deny Access to a Service</xccdf:title>
3789 <xccdf:description xml:lang="en">
3790 In order to deny access to a service SVCNAME via PAM, edit the
3791 file /etc/pam.d/SVCNAME . Prepend this line to the beginning of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3792 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3793 auth requisite pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3794 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3795 Under most circumstances, there are better ways to disable a service than to
3796 deny access via PAM. However, this should suffice as a way to quickly make a service
3797 unavailable to future users (existing sessions which have already been authenticated,
3798 are not affected). The requisite tag tells PAM that, if the named module returns
3799 failure, authentication should fail, and PAM should immediately stop processing the
3800 configuration file. The pam_deny.so module always returns failure regardless of its
3801 input.</xccdf:description>
3802 </xccdf:Group>
3803 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.4">
3804 <xccdf:title xml:lang="en">Restrict Execution of userhelper to Console Users</xccdf:title>
3805 <xccdf:description xml:lang="en">
3806 If your environment has defined a group, usergroup containing
3807 all the human users of your system, restrict execution of the userhelper program to only
3808 that group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3809 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3810 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /usr/sbin/userhelper <xhtml:br/>
3811 # chmod 4710 /usr/sbin/userhelper <xhtml:br/></xhtml:code>
3812 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3813 The userhelper program provides authentication for graphical services which must run
3814 with root privileges, such as the system-config- family of graphical configuration
3815 utilities. Only human users logged into the system console are likely to ever have a
3816 legitimate need to run these utilities. This step provides some protection against
3817 possible flaws in userhelper's implementation, and against further privilege escalation
3818 when system accounts are compromised. See Section 2.3.2.2 for more information on
3819 creating a group of human users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3820 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3821 The userhelper program is configured by the files in /etc/security/console.apps/. Each
3822 file specifies, for some program, what user the program should run as, and what program
3823 should be executed after successful authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3824 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3825 Note: The configuration in /etc/security/console.apps/ is applied in
3826 combination with the PAM configuration of the service defined in /etc/pam.d/. First,
3827 userhelper determines what user the service should run as. (Typically, this will be
3828 root.) Next, userhelper uses the PAM API to allow the user who ran the program to
3829 attempt to authenticate as the desired user. The PAM API exchange is wrapped in a GUI if
3830 the application's configuration requests one.</xccdf:description>
3831 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.a" operator="equals" type="string">
3832 <xccdf:title>Name of group containing human users</xccdf:title>
3833 <xccdf:description xml:lang="en">Enter group to aggregate human users</xccdf:description>
3834 <xccdf:value>usergroup</xccdf:value>
3835 <xccdf:value selector="usergroup">usergroup</xccdf:value>
3836 </xccdf:Value>
3837 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.b" operator="equals" type="string">
3838 <xccdf:title>userhelper file permissions</xccdf:title>
3839 <xccdf:description xml:lang="en">Enter file permissions for /usr/sbin/userhelper</xccdf:description>
3840 <xccdf:question xml:lang="en">Enter file permission for /usr/bin/userhelper</xccdf:question>
3841 <xccdf:value>100111001000</xccdf:value>
3842 <xccdf:value selector="4710">100111001000</xccdf:value>
3843 <xccdf:match>^[10]+$</xccdf:match>
3844 </xccdf:Value>
3845 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false" weight="10.0">
3846 <xccdf:title>Restrict Execution of userhelper to Console Users</xccdf:title>
3847 <xccdf:description>The /usr/sbin/userhelper file should be owned by the appropriate group.</xccdf:description>
3848 <xccdf:ident system="http://cce.mitre.org">CCE-4185-5</xccdf:ident>
3849 <xccdf:fix># chgrp usergroup /usr/sbin/userhelper</xccdf:fix>
3850 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3851 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20081" value-id="xccdf_cdf_value_var-2.3.3.4.a"/>
3852 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20081"/>
3853 </xccdf:check>
3854 </xccdf:Rule>
3855 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false" weight="10.0">
3856 <xccdf:title>Restrict File permissions of userhelper</xccdf:title>
3857 <xccdf:description>File permissions for /usr/sbin/userhelper should be set correctly.</xccdf:description>
3858 <xccdf:ident system="http://cce.mitre.org">CCE-3952-9</xccdf:ident>
3859 <xccdf:fix># chmod 4710 /usr/sbin/userhelper</xccdf:fix>
3860 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3861 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20082" value-id="xccdf_cdf_value_var-2.3.3.4.b"/>
3862 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20082"/>
3863 </xccdf:check>
3864 </xccdf:Rule>
3865 </xccdf:Group>
3866 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.5">
3867 <xccdf:title xml:lang="en">Password Hashing Algorithm</xccdf:title>
3868 <xccdf:description xml:lang="en">
3869 The default algorithm for storing password hashes should be SHA-512.
3870 </xccdf:description>
3871 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.5.a" operator="equals" type="string">
3872 <xccdf:title>Password hashing algorithm</xccdf:title>
3873 <xccdf:description xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:description>
3874 <xccdf:question xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:question>
3875 <xccdf:value>sha512</xccdf:value>
3876 <xccdf:value selector="MD5">md5</xccdf:value>
3877 <xccdf:value selector="SHA-256">sha256</xccdf:value>
3878 <xccdf:value selector="SHA-512">sha512</xccdf:value>
3879 <xccdf:choices>
3880 <xccdf:choice>md5</xccdf:choice>
3881 <xccdf:choice>sha256</xccdf:choice>
3882 <xccdf:choice>sha512</xccdf:choice>
3883 </xccdf:choices>
3884 </xccdf:Value>
3885 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.5.a" selected="false" severity="medium" weight="10.0">
3886 <xccdf:title>Password hashing algorithm</xccdf:title>
3887 <xccdf:description>The password hashing algorithm should be set to SHA-512</xccdf:description>
3888 <xccdf:fix>/usr/sbin/authconfig --passalgo=sha512 --update</xccdf:fix>
3889 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3890 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20083" value-id="xccdf_cdf_value_var-2.3.3.5.a"/>
3891 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20083"/>
3892 </xccdf:check>
3893 </xccdf:Rule>
3894 </xccdf:Group>
3895 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.6">
3896 <xccdf:title xml:lang="en">Limit Password Reuse</xccdf:title>
3897 <xccdf:description xml:lang="en">
3898 Do not allow users to reuse recent passwords. This can be
3899 accomplished by using the remember option for the pam_unix PAM module. In order to
3900 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,
3901 append remember=<xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/> to the password line which uses the
3902 pam_unix module in the file /etc/pam.d/system-auth, as shown:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3903 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3904 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"/>
3905 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3906 Old (and thus no longer valid) passwords are stored in the file /etc/security/opasswd.
3907 </xccdf:description>
3908 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.6.a" operator="equals" type="string">
3909 <xccdf:title>remember</xccdf:title>
3910 <xccdf:description xml:lang="en">
3911 The last n passwords for each user are saved in
3912 /etc/security/opasswd in order to force password change history and keep the user from
3913 alternating between the same password too frequently. </xccdf:description>
3914 <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>
3915 <xccdf:value>5</xccdf:value>
3916 <xccdf:value selector="5">5</xccdf:value>
3917 <xccdf:value selector="10">10</xccdf:value>
3918 <xccdf:match>^[\d]+$</xccdf:match>
3919 </xccdf:Value>
3920 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false" severity="medium" weight="10.0">
3921 <xccdf:title>Limit password reuse</xccdf:title>
3922 <xccdf:description>The passwords to remember should be set to: <xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/></xccdf:description>
3923 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3924 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20084" value-id="xccdf_cdf_value_var-2.3.3.6.a"/>
3925 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20084"/>
3926 <!-- TBD -->
3927 </xccdf:check>
3928 </xccdf:Rule>
3929 </xccdf:Group>
3930 </xccdf:Group>
3931 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4">
3932 <xccdf:title xml:lang="en">Secure Session Configuration Files for Login Accounts</xccdf:title>
3933 <xccdf:description xml:lang="en">
3934 When a user logs into a Unix account, the system configures the
3935 user's session by reading a number of files. Many of these files are located in the user's
3936 home directory, and may have weak permissions as a result of user error or
3937 misconfiguration. If an attacker can modify or even read certain types of account
3938 configuration information, he can often gain full access to the affected user's account.
3939 Therefore, it is important to test and correct configuration file permissions for
3940 interactive accounts, particularly those of privileged users such as root or system
3941 administrators.</xccdf:description>
3942 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.1">
3943 <xccdf:title xml:lang="en">Ensure that No Dangerous Directories Exist in Roots Path '</xccdf:title>
3944 <xccdf:description xml:lang="en">
3945 The active path of the root account can be obtained by starting
3946 a new root shell and running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3948 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># echo $PATH <xhtml:br/></xhtml:code>
3949 This will produce a colon-separated list of directories in the path. For each directory
3950 DIR in the path, ensure that DIR is not equal to a single . character. Also ensure that
3951 there are no 'empty' elements in the path, such as in these examples: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3952 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3953 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH=:/bin <xhtml:br/>
3954 PATH=/bin: <xhtml:br/>
3955 PATH=/bin::/sbin <xhtml:br/></xhtml:code>
3956 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3957 These empty elements have the same effect as a single . character. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3958 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3959 For each element in the path, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3961 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld DIR <xhtml:br/></xhtml:code>
3962 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3963 and ensure that write permissions are disabled for group and other. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3965 It is important to prevent root from executing unknown or untrusted programs, since such
3966 programs could contain malicious code. Therefore, root should not run programs installed
3967 by unprivileged users. Since root may often be working inside untrusted directories, the
3968 . character, which represents the current directory, should never be in the root path,
3969 nor should any directory which can be written to by an unprivileged or semi-privileged
3970 (system) user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3971 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3972 It is a good practice for administrators to always execute privileged
3973 commands by typing the full path to the command.</xccdf:description>
3974 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.a" selected="false" severity="medium" weight="10.0">
3975 <xccdf:title>Ensure that No Dangerous Directories Exist in Root's Path</xccdf:title>
3976 <xccdf:description>The PATH variable should be set correctly for user root</xccdf:description>
3977 <xccdf:ident system="http://cce.mitre.org">CCE-3301-9</xccdf:ident>
3978 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3979 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20085"/>
3980 </xccdf:check>
3981 </xccdf:Rule>
3982 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.b" selected="false" severity="medium" weight="10.0">
3983 <xccdf:title>Write permissions are disabled for group and other in all directories in Root's Path</xccdf:title>
3984 <xccdf:description>Check each directory in root's path and make use it does not grant write permission to group and other</xccdf:description>
3985 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3986 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200855"/>
3987 </xccdf:check>
3988 </xccdf:Rule>
3989 </xccdf:Group>
3990 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.2">
3991 <xccdf:title xml:lang="en">Ensure that User Home Directories are not Group-Writable or
3992 World-Readable</xccdf:title>
3993 <xccdf:description xml:lang="en">
3994 For each human user USER of the system, view the permissions of the
3995 user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3997 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER <xhtml:br/></xhtml:code>
3998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3999 Ensure that the directory is not group-writable and that it is not world-readable. If
4000 necessary, repair the permissions:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4002 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod g-w /home/USER <xhtml:br/>
4003 # chmod o-rwx /home/USER <xhtml:br/></xhtml:code>
4004 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4005 User home directories contain many
4006 configuration files which affect the behavior of a user's account. No user should ever
4007 have write permission to another user's home directory. Group shared directories can be
4008 configured in subdirectories or elsewhere in the filesystem if they are needed.
4009 Typically, user home directories should not be world-readable. If a subset of users need
4010 read access to one another's home directories, this can be provided using groups.</xccdf:description>
4011 <xccdf:warning xml:lang="en">Sections 2.3.4.2–2.3.4.5 recommend modifying user home
4012 directories. Notify your user community, and solicit input if appropriate, before making
4013 this type of change. </xccdf:warning>
4014 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.2.a" selected="false" severity="medium" weight="10.0">
4015 <xccdf:title>Ensure that User Home Directories are not Group-Writable or World-Readable</xccdf:title>
4016 <xccdf:description>File permissions should be set correctly for the home directories for all user accounts.</xccdf:description>
4017 <xccdf:ident system="http://cce.mitre.org">CCE-4090-7</xccdf:ident>
4018 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4019 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20086"/>
4020 </xccdf:check>
4021 </xccdf:Rule>
4022 </xccdf:Group>
4023 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.3">
4024 <xccdf:title xml:lang="en">Ensure that User Dot-Files are not World-writable</xccdf:title>
4025 <xccdf:description xml:lang="en">
4026 For each human user USER of the system, view the permissions of
4027 all dot-files in the user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4029 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER /.[A-Za-z0-9]* <xhtml:br/></xhtml:code>
4030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4031 Ensure that none of these files are group- or world-writable. Correct each misconfigured file
4032 FILE by executing: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4034 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod go-w /home/USER /FILE <xhtml:br/></xhtml:code>
4035 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4036 A user who can modify another user's configuration files can likely execute commands
4037 with the other user's privileges, including stealing data, destroying files, or
4038 launching further attacks on the system.</xccdf:description>
4039 </xccdf:Group>
4040 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.4">
4041 <xccdf:title xml:lang="en">Ensure that Users Have Sensible Umask Values</xccdf:title>
4042 <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.
4043 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/*,
4044 and ensure that none of these files redefine the umask to a more permissive value
4045 unless there is a good reason for it.</xhtml:li></xhtml:ol>
4046 With a default umask setting of 077, files and directories created by users will not be
4047 readable by any other user on the system. Users who wish to make specific files group-
4048 or world-readable can accomplish this using the chmod command. Additionally, users can
4049 make all their files readable to their group by default by setting a umask of 027 in
4050 their shell configuration files. If default per-user groups exist (that is, if every
4051 user has a default group whose name is the same as that user's username and whose only
4052 member is the user), then it may even be safe for users to select a umask of 007, making
4053 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"/>
4054 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4055 In addition, it may be necessary to change root's umask temporarily in order to install
4056 software or files which must be readable by other users, or to change the default umasks
4057 of certain service accounts such as the FTP user. However, setting a restrictive default
4058 protects the files of users who have not taken steps to make their files more available,
4059 and preventing files from being inadvertently shared.</xccdf:description>
4060 <xccdf:Value id="xccdf_cdf_value_var-2.3.4.4" operator="equals" type="string">
4061 <xccdf:title>Sensible umask</xccdf:title>
4062 <xccdf:description xml:lang="en">Enter default user umask</xccdf:description>
4063 <xccdf:question xml:lang="en">Enter default user umask</xccdf:question>
4064 <xccdf:value>002</xccdf:value>
4065 <xccdf:value selector="002">002</xccdf:value>
4066 <xccdf:value selector="007">007</xccdf:value>
4067 <xccdf:value selector="022">022</xccdf:value>
4068 <xccdf:value selector="027">027</xccdf:value>
4069 <xccdf:value selector="077">077</xccdf:value>
4070 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
4071 </xccdf:Value>
4072 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.a" selected="false" severity="medium" weight="10.0">
4073 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/bashrc</xccdf:title>
4074 <xccdf:description>The default umask for all users for the bash shell should be set to:
4075 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4076 <xccdf:ident system="http://cce.mitre.org">CCE-3844-8</xccdf:ident>
4077 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4078 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4079 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20087"/>
4080 </xccdf:check>
4081 </xccdf:Rule>
4082 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.b" selected="false" severity="medium" weight="10.0">
4083 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/csh.cshrc</xccdf:title>
4084 <xccdf:description>The default umask for all users for the csh shell should be set to:
4085 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4086 <xccdf:ident system="http://cce.mitre.org">CCE-4227-5</xccdf:ident>
4087 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4088 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4089 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20088"/>
4090 </xccdf:check>
4091 </xccdf:Rule>
4092 </xccdf:Group>
4093 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.5">
4094 <xccdf:title xml:lang="en">Ensure that Users do not Have .netrc Files</xccdf:title>
4095 <xccdf:description xml:lang="en">
4096 For each human user USER of the system, ensure that the user
4097 has no .netrc file. The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4099 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -l /home/USER /.netrc <xhtml:br/></xhtml:code>
4100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4101 should return the error 'No such file or directory'. If any user has such a file,
4102 approach that user to discuss removing this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4103 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4104 The .netrc file is a configuration file used to make unattended
4105 logins to other systems via FTP. When this file exists, it frequently contains
4106 unencrypted passwords which may be used to attack other systems.</xccdf:description>
4107 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false" severity="medium" weight="10.0">
4108 <xccdf:title xml:lang="en">Check for existance of .netrc file</xccdf:title>
4109 <xccdf:description xml:lang="en">No user directory should contain file .netrc</xccdf:description>
4110 <xccdf:fix>rm .netrc</xccdf:fix>
4111 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4112 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20091"/>
4113 </xccdf:check>
4114 </xccdf:Rule>
4115 </xccdf:Group>
4116 </xccdf:Group>
4117 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5">
4118 <xccdf:title xml:lang="en">Protect Physical Console Access</xccdf:title>
4119 <xccdf:description xml:lang="en">
4120 It is impossible to fully protect a system from an attacker with
4121 physical access, so securing the space in which the system is located should be considered
4122 a necessary step. However, there are some steps which, if taken, make it more difficult
4123 for an attacker to quickly or undetectably modify a system from its console.</xccdf:description>
4124 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.1">
4125 <xccdf:title xml:lang="en">Set BIOS Password</xccdf:title>
4126 <xccdf:description xml:lang="en">
4127 The BIOS (on x86 systems) is the first code to execute during
4128 system startup and controls many important system parameters, including which devices
4129 the system will try to boot from, and in which order. Assign a password to prevent any
4130 unauthorized changes to the BIOS configuration. The exact steps will vary depending on
4131 your machine, but are likely to include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4132 <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>
4133 The exact process will be system-specific and the system's
4134 hardware manual may provide detailed instructions. This password should prevent
4135 attackers with physical access from attempting to change important parameters, such as
4136 those described in Sections 2.5.2.2.1 and 2.2.2.2.4. However, an attacker with physical
4137 access can usually clear the BIOS password. The password should be written down and
4138 stored in a physically-secure location, such as a safe, in the event that it is
4139 forgotten and must be retrieved.</xccdf:description>
4140 </xccdf:Group>
4141 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.2">
4142 <xccdf:title xml:lang="en">Set Boot Loader Password</xccdf:title>
4143 <xccdf:description xml:lang="en">
4144 During the boot process, the boot loader is responsible for
4145 starting the execution of the kernel and passing options to it. The boot loader allows
4146 for the selection of different kernels – possibly on different partitions or media.
4147 Options it can pass to the kernel include 'single-user mode,' which provides root access
4148 without any authentication, and the ability to disable SELinux. To prevent local users
4149 from modifying the boot parameters and endangering security, the boot loader
4150 configuration should be protected with a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4151 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4152 The default Fedora boot loader for x86 systems is called GRUB. To protect its
4153 configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4154 <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/>
4155 <xhtml:br/>
4156 <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
4157 comments. (Use the output from grub-md5-crypt as the value of password-hash ): <xhtml:br/>
4158 <xhtml:br/>
4159 <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):
4160 <xhtml:br/>
4161 <xhtml:br/>
4162 <xhtml:code># chown root:root /boot/grub/grub.conf <xhtml:br/>
4163 # chmod 600 /boot/grub/grub.conf</xhtml:code></xhtml:li></xhtml:ol>
4164 Boot loaders for other platforms should offer a similar password protection feature.</xccdf:description>
4165 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.a" operator="equals" type="string">
4166 <xccdf:title>User that owns /boot/grub/grub.conf</xccdf:title>
4167 <xccdf:description xml:lang="en">Choose user that should own /boot/grub/grub.conf</xccdf:description>
4168 <xccdf:value>root</xccdf:value>
4169 <xccdf:value selector="root">root</xccdf:value>
4170 </xccdf:Value>
4171 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.b" operator="equals" type="string">
4172 <xccdf:title>Group that owns /boot/grub/grub.conf</xccdf:title>
4173 <xccdf:description xml:lang="en">Choose group that should own /boot/grub/grub.conf</xccdf:description>
4174 <xccdf:value>root</xccdf:value>
4175 <xccdf:value selector="root">root</xccdf:value>
4176 </xccdf:Value>
4177 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.c" operator="equals" type="string">
4178 <xccdf:title>permissions on /boot/grub/grub.conf</xccdf:title>
4179 <xccdf:description xml:lang="en">Choose file permissions on /boot/grub/grub.conf</xccdf:description>
4180 <xccdf:value>110000000</xccdf:value>
4181 <xccdf:value selector="600">110000000</xccdf:value>
4182 <xccdf:match>^[01]+$</xccdf:match>
4183 </xccdf:Value>
4184 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.a" selected="false" severity="medium" weight="10.0">
4185 <xccdf:title>Set Boot Loader user owner</xccdf:title>
4186 <xccdf:description>The /boot/grub/grub.conf file should be owned by root.</xccdf:description>
4187 <xccdf:ident system="http://cce.mitre.org">CCE-4144-2</xccdf:ident>
4188 <xccdf:fix>chown root /boot/grub/grub.conf</xccdf:fix>
4189 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4190 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20092" value-id="xccdf_cdf_value_var-2.3.5.2.a"/>
4191 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20092"/>
4192 </xccdf:check>
4193 </xccdf:Rule>
4194 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.b" selected="false" severity="medium" weight="10.0">
4195 <xccdf:title>Set Boot Loader group owner</xccdf:title>
4196 <xccdf:description>The /boot/grub/grub.conf file should be owned by group root.</xccdf:description>
4197 <xccdf:ident system="http://cce.mitre.org">CCE-4197-0</xccdf:ident>
4198 <xccdf:fix>chown :root /boot/grub/grub.conf</xccdf:fix>
4199 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4200 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20093" value-id="xccdf_cdf_value_var-2.3.5.2.b"/>
4201 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20093"/>
4202 </xccdf:check>
4203 </xccdf:Rule>
4204 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.c" selected="false" severity="medium" weight="10.0">
4205 <xccdf:title>Set permission on /boot/grub/grub.conf</xccdf:title>
4206 <xccdf:description>File permissions for /boot/grub/grub.conf should be set correctly.</xccdf:description>
4207 <xccdf:ident system="http://cce.mitre.org">CCE-3923-0</xccdf:ident>
4208 <xccdf:fix>chmod 600 /boot/grub/grub.conf</xccdf:fix>
4209 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4210 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20094" value-id="xccdf_cdf_value_var-2.3.5.2.c"/>
4211 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20094"/>
4212 </xccdf:check>
4213 </xccdf:Rule>
4214 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false" severity="high" weight="10.0">
4215 <xccdf:title>Set Boot Loader Password</xccdf:title>
4216 <xccdf:description>The grub boot loader should have password protection enabled</xccdf:description>
4217 <xccdf:ident system="http://cce.mitre.org">CCE-3818-2</xccdf:ident>
4218 <xccdf:fixtext>Edit /boot/grub/grub.conf</xccdf:fixtext>
4219 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4220 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20095"/>
4221 </xccdf:check>
4222 </xccdf:Rule>
4223 </xccdf:Group>
4224 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.3">
4225 <xccdf:title xml:lang="en">Require Authentication for Single-User Mode</xccdf:title>
4226 <xccdf:description xml:lang="en">
4227 Single-user mode is intended as a system recovery method,
4228 providing a single user root access to the system by providing a boot option at startup.
4229 By default, no authentication is performed if single-user mode is selected. This
4230 provides a trivial mechanism of bypassing security on the machine and gaining root
4231 access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4232 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4233 To require entry of the root password even if the system is started in
4234 single-user mode, add the following line to the /etc/inittab file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4235 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4236 ~~:S:wait:/sbin/sulogin</xccdf:description>
4237 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false" severity="medium" weight="10.0">
4238 <xccdf:title>Require Authentication for Single-User Mode</xccdf:title>
4239 <xccdf:description>The requirement for a password to boot into single-user mode should be enabled.</xccdf:description>
4240 <xccdf:ident system="http://cce.mitre.org">CCE-4241-6</xccdf:ident>
4241 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
4242 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4243 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20096"/>
4244 </xccdf:check>
4245 </xccdf:Rule>
4246 </xccdf:Group>
4247 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.4">
4248 <xccdf:title xml:lang="en">Disable Interactive Boot</xccdf:title>
4249 <xccdf:description xml:lang="en">
4250 Edit the file /etc/sysconfig/init. Add or correct the setting:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4251 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4252 PROMPT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4253 The PROMPT option allows the console user to perform an interactive system
4254 startup, in which it is possible to select the set of services which are started on
4255 boot. Using interactive boot, the console user could disable auditing, firewalls, or
4256 other services, weakening system security.</xccdf:description>
4257 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false" severity="medium" weight="10.0">
4258 <xccdf:title>Disable Interactive Boot</xccdf:title>
4259 <xccdf:description>The ability for users to perform interactive startups should be disabled.</xccdf:description>
4260 <xccdf:ident system="http://cce.mitre.org">CCE-4245-7</xccdf:ident>
4261 <xccdf:fixtext>(1) via /etc/sysconfig/init</xccdf:fixtext>
4262 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4263 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20097"/>
4264 </xccdf:check>
4265 </xccdf:Rule>
4266 </xccdf:Group>
4267 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.5">
4268 <xccdf:title xml:lang="en">Implement Inactivity Time-out for Login Shells</xccdf:title>
4269 <xccdf:description xml:lang="en">
4270 If the system does not run X Windows, then the login shells can
4271 be configured to automatically log users out after a period of inactivity. The following
4272 instructions are not practical for systems which run X Windows, as they will close
4273 terminal windows in the X environment. For information on how to automatically lock
4274 those systems, see Section 2.3.5.6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4275 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4276 To implement a 15-minute idle time-out for the
4277 default /bin/bash shell, create a new file tmout.sh in the directory /etc/profile.d with
4278 the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4279 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4280 TMOUT=900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4281 readonly TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4282 export TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4284 To implement a 15-minute idle
4285 time-out for the tcsh shell, create a new file autologout.csh in the directory
4286 /etc/profile.d with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4287 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4288 set -r autologout 15 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4290 Similar actions should be taken for any other login shells used. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4291 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4292 The example time-out here of 15 minutes should be
4293 adjusted to whatever your security policy requires. The readonly line for bash and the
4294 -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"/>
4295 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4296 The automatic shell logout only occurs when the shell is the foreground process. If, for
4297 example, a vi session is left idle, then automatic logout would not occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4299 When logging in through a remote connection, as with SSH, it may be more effective to set
4300 the timeout value directly through that service. To learn how to set automatic timeout
4301 intervals for SSH, see Section 3.5.2.3.</xccdf:description>
4302 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.5" operator="equals" type="string">
4303 <xccdf:title>Inactivity timout</xccdf:title>
4304 <xccdf:description xml:lang="en">Choose allowed duration of inactive SSH connections, shells, and X sessions</xccdf:description>
4305 <xccdf:question xml:lang="en">Choose allowed duration of inactive SSH connections, shells and X sessions in minutes</xccdf:question>
4306 <xccdf:value>15</xccdf:value>
4307 <xccdf:value selector="0_minutes">0</xccdf:value>
4308 <xccdf:value selector="10_minutes">10</xccdf:value>
4309 <xccdf:value selector="15_minutes">15</xccdf:value>
4310 <xccdf:match>^[\d]+$</xccdf:match>
4311 </xccdf:Value>
4312 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false" severity="medium" weight="10.0">
4313 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4314 <xccdf:description>The idle time-out value for the default /bin/tcsh shell should be:
4315 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4316 <xccdf:ident system="http://cce.mitre.org">CCE-3689-7</xccdf:ident>
4317 <xccdf:fixtext>(1) via /etc/profile.d/autologout.csh</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:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4320 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20098"/>
4321 </xccdf:check>
4322 </xccdf:Rule>
4323 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false" severity="medium" weight="10.0">
4324 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4325 <xccdf:description>The idle time-out value for the default /bin/bash shell should be:
4326 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4327 <xccdf:warning xml:lang="en">Time out is in seconds</xccdf:warning>
4328 <xccdf:ident system="http://cce.mitre.org">CCE-3707-7</xccdf:ident>
4329 <xccdf:fixtext>(1) via /etc/profile.d/tmout.sh</xccdf:fixtext>
4330 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4331 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20099" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4332 <!-- turn minutes into seconds -->
4333 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20099"/>
4334 </xccdf:check>
4335 </xccdf:Rule>
4336 </xccdf:Group>
4337 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6">
4338 <xccdf:title xml:lang="en">Configure Screen Locking</xccdf:title>
4339 <xccdf:description xml:lang="en">
4340 When a user must temporarily leave an account logged-in, screen
4341 locking should be employed to prevent passersby from abusing the account. User education
4342 and training is particularly important for screen locking to be effective. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4343 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4344 A policy should be implemented that trains all users to lock the screen when they plan to
4345 temporarily step away from a logged-in account. Automatic screen locking is only meant
4346 as a safeguard for those cases where a user forgot to lock the screen.</xccdf:description>
4347 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.1">
4348 <xccdf:title xml:lang="en">Configure GUI Screen Locking</xccdf:title>
4349 <xccdf:description xml:lang="en">
4350 In the default GNOME desktop, the screen can be locked by
4351 choosing Lock Screen from the System menu. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4352 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4353 The gconftool-2 program can be used to
4354 enforce mandatory screen locking settings for the default GNOME environment. Run the
4355 following commands to enforce idle activation of the screen saver, screen locking, a
4356 blank-screen screensaver, and 15-minute idle activation time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4357 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:code>
4358 # gconftool-2 --direct \
4359 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4360 --type bool \
4361 --set /apps/gnome-screensaver/idle_activation_enabled true
4362 # gconftool-2 --direct \
4363 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4364 --type bool \
4365 --set /apps/gnome-screensaver/lock_enabled true
4366 # gconftool-2 --direct \
4367 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4368 --type string \
4369 --set /apps/gnome-screensaver/mode blank-only
4370 # gconftool-2 --direct \
4371 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4372 --type int \
4373 --set /apps/gnome-screensaver/idle_delay 15
4374 </xhtml:code></xhtml:pre>
4375 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4376 The default setting of 15 minutes for idle
4377 activation is reasonable for many office environments, but the setting should conform
4378 to whatever policy is defined. The screensaver mode blank-only is selected to conceal
4379 the contents of the display from passersby. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4380 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4381 Because users should be trained to lock
4382 the screen when they step away from the computer, the automatic locking feature is
4383 only meant as a backup. The Lock Screen icon from the System menu can also be dragged
4384 to the taskbar in order to facilitate even more convenient screen-locking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4385 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4386 The root
4387 account cannot be screen-locked, but this should have no practical effect as the root
4388 account should never be used to log into an X Windows environment, and should only be
4389 used to for direct login via console in emergency circumstances. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4390 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4391 For more information
4392 about configuring GNOME screensaver, see http://live.gnome.org/GnomeScreensaver. For
4393 more information about enforcing preferences in the GNOME environment using the GConf
4394 configuration system, see http://www.gnome.org/projects/gconf and the man page
4395 gconftool-2(1).</xccdf:description>
4396 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false" severity="medium" weight="10.0">
4397 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4398 <xccdf:description>The idle time-out value for period of inactivity gnome desktop lockout should be 15 minutes</xccdf:description>
4399 <xccdf:ident system="http://cce.mitre.org">CCE-3315-9</xccdf:ident>
4400 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4401 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4402 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4403 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20100"/>
4404 </xccdf:check>
4405 </xccdf:Rule>
4406 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false" severity="medium" weight="10.0">
4407 <xccdf:title>Implement idle activation of screen saver</xccdf:title>
4408 <xccdf:description>Idle activation of the screen saver should be enabled</xccdf:description>
4409 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4410 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4411 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201005"/>
4412 </xccdf:check>
4413 </xccdf:Rule>
4414 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false" severity="medium" weight="10.0">
4415 <xccdf:title>Implement idle activation of screen lock</xccdf:title>
4416 <xccdf:description>Idle activation of the screen lock should be enabled</xccdf:description>
4417 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4418 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4419 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201006"/>
4420 </xccdf:check>
4421 </xccdf:Rule>
4422 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false" severity="medium" weight="10.0">
4423 <xccdf:title>Implement blank screen saver</xccdf:title>
4424 <xccdf:description>The screen saver should be blank</xccdf:description>
4425 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4426 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4427 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201007"/>
4428 </xccdf:check>
4429 </xccdf:Rule>
4430 </xccdf:Group>
4431 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.2">
4432 <xccdf:title xml:lang="en">Configure Console Screen Locking</xccdf:title>
4433 <xccdf:description xml:lang="en">
4434 A console screen locking mechanism is provided in the vlock
4435 package, which is not installed by default. If the ability to lock console screens is
4436 necessary, install the vlock package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4437 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4438 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install vlock <xhtml:br/></xhtml:code>
4439 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4440 Instruct users to invoke the
4441 program when necessary, in order to prevent passersby from abusing their login: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4442 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ vlock <xhtml:br/></xhtml:code>
4443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4444 The -a option can be used to prevent switching to other virtual consoles.</xccdf:description>
4445 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false" severity="medium" weight="10.0">
4446 <xccdf:title>Configure console screen locking</xccdf:title>
4447 <xccdf:description>The vlock package should be installed</xccdf:description>
4448 <xccdf:ident system="http://cce.mitre.org">CCE-3910-7</xccdf:ident>
4449 <xccdf:fix>yum install vlock</xccdf:fix>
4450 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4451 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20101"/>
4452 </xccdf:check>
4453 </xccdf:Rule>
4454 </xccdf:Group>
4455 </xccdf:Group>
4456 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.7">
4457 <xccdf:title xml:lang="en">Disable Unnecessary Ports</xccdf:title>
4458 <xccdf:description xml:lang="en">
4459 Though unusual, some systems may be managed only remotely and yet
4460 also exposed to risk from attackers with direct physical access to them. In these cases,
4461 reduce an attacker’s access to the system by disabling unnecessary external ports (e.g.
4462 USB, FireWire, NIC) in the system’s BIOS.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4463 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4464 Disable ports on the system which are not necessary for normal system operation. The exact
4465 steps will vary depending on your machine, but are likely to include:
4466 <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>
4467 </xccdf:description>
4468 <xccdf:warning xml:lang="en">Disabling USB ports is particularly unusual and will cause problems
4469 for important input devices such as keyboards or mice attached to the system.</xccdf:warning>
4470 </xccdf:Group>
4471 </xccdf:Group>
4472 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.6">
4473 <xccdf:title xml:lang="en">Use a Centralized Authentication Service</xccdf:title>
4474 <xccdf:description xml:lang="en">
4475 A centralized authentication service is any method of maintaining
4476 central control over account and authentication data and of keeping this data synchronized
4477 between machines. Such services can range in complexity from a script which pushes
4478 centrally-generated password files out to all machines, to a managed scheme such as LDAP
4479 or Kerberos. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4481 If authentication information is not centrally managed, it quickly becomes
4482 inconsistent, leading to out-of-date credentials and forgotten accounts which should have
4483 been deleted. In addition, many older protocols (such as NFS) make use of the UID to
4484 identify users over a network. This is not a good practice, and these protocols should be
4485 avoided if possible. However, since most sites must still make use of some older
4486 protocols, having consistent UIDs and GIDs site-wide is a significant benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4487 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4488 Centralized
4489 authentication services do have the disadvantage that authentication information must be
4490 transmitted over a network, leading to a risk that credentials may be intercepted or
4491 manipulated. Therefore, these services must be deployed carefully. The following
4492 precautions should be taken when configuring any authentication service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4493 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Ensure that authentication information and any sensitive account information
4494 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
4495 of network outage or authentication server failure.</xhtml:li></xhtml:ul>
4496 This guide recommends
4497 the use of LDAP. Secure configuration of OpenLDAP for clients and servers is described in
4498 Section 3.12. Kerberos is also a good choice for a centralized authentication service, but
4499 a description of its configuration is beyond the scope of this guide. The NIS service is
4500 not recommended, and should be considered obsolete. (See Section 3.2.4.)</xccdf:description>
4501 </xccdf:Group>
4502 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7">
4503 <xccdf:title xml:lang="en">Warning Banners for System Accesses</xccdf:title>
4504 <xccdf:description xml:lang="en">
4505 Each system should expose as little information about itself as
4506 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4507 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4508 System banners, which are typically displayed just before a login prompt, give
4509 out information about the service or the host's operating system. This might include the
4510 distribution name and the system kernel version, and the particular version of a network
4511 service. This information can assist intruders in gaining access to the system as it can
4512 reveal whether the system is running vulnerable software. Most network services can be
4513 configured to limit what information is displayed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4514 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4515 Many organizations implement security
4516 policies that require a system banner provide notice of the system's ownership, provide
4517 warning to unauthorized users, and remind authorized users of their consent to monitoring.</xccdf:description>
4518 <xccdf:Value id="xccdf_cdf_value_var-2.3.7" operator="equals" type="string">
4519 <xccdf:title>login banner verbiage</xccdf:title>
4520 <xccdf:description xml:lang="en">Enter an appropriate login banner for your organization</xccdf:description>
4521 <xccdf:question xml:lang="en">Enter an appropriate login banner for your organization</xccdf:question>
4522 <xccdf:value/>
4523 <xccdf:value selector="Empty_text"/>
4524 </xccdf:Value>
4525 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.1">
4526 <xccdf:title xml:lang="en">Modify the System Login Banner</xccdf:title>
4527 <xccdf:description xml:lang="en">
4528 The contents of the file /etc/issue are displayed on the screen
4529 just above the login prompt for users logging directly into a terminal. Remote login
4530 programs such as SSH or FTP can be configured to display /etc/issue as well.
4531 Instructions for configuring each server daemon to show this file can be found in the
4532 relevant sections of Chapter 3. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4533 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4534 By default, the system will display the version of the
4535 OS, the kernel version, and the host name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4537 Edit /etc/issue. Replace the default text
4538 with a message compliant with the local site policy or a legal disclaimer.</xccdf:description>
4539 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false" severity="medium" weight="10.0">
4540 <xccdf:title>Modify the System Login Banner</xccdf:title>
4541 <xccdf:description>The system login banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4542 <xccdf:ident system="http://cce.mitre.org">CCE-4060-0</xccdf:ident>
4543 <xccdf:fixtext>Take value of DOD_text and put it in /etc/issue</xccdf:fixtext>
4544 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4545 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4546 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20102"/>
4547 <!-- TBD -->
4548 </xccdf:check>
4549 </xccdf:Rule>
4550 </xccdf:Group>
4551 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.2">
4552 <xccdf:title xml:lang="en">Implement a GUI Warning Banner</xccdf:title>
4553 <xccdf:description xml:lang="en">
4554 In the default graphical environment, users logging directly
4555 into the system are greeted with a login screen provided by the GNOME display manager.
4556 The warning banner should be displayed in this graphical environment for these
4557 users.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4558 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4559 The files for the default RHEL theme can be found in
4560 /usr/share/gdm/themes/RHEL. Add the following sample block of XML to
4561 /usr/share/gdm/themes/RHEL/RHEL.xml after the first two "pixmap"
4562 entries:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4563 <xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml">
4564 &lt;item type="rect"&gt;
4565 &lt;pos anchor="n" x="50%" y="10" width="box" height="box"/&gt;
4566 &lt;box&gt;
4567 &lt;item type="label"&gt;
4568 &lt;normal font="Sans 14" color="#ffffff"/&gt;
4569 &lt;text&gt;Insert the text of your warning banner here.&lt;/text&gt;
4570 &lt;/item&gt;
4571 &lt;/box&gt;
4572 &lt;/item&gt;
4573 </xhtml:pre>
4574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4575 The
4576 full syntax that GDM theme files expect is documented elsewhere, but the above XML will
4577 create a text box centered at the top of the screen. The font, text color, and exact
4578 positioning can all be easily modified by editing the appropriate values. The latest
4579 current GDM theme manual can be found at http://www.gnome.org/
4580 projects/gdm/docs/thememanual.html.
4581 </xccdf:description>
4582 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false" severity="medium" weight="10.0">
4583 <xccdf:title>Implement a GUI Warning Banner</xccdf:title>
4584 <xccdf:description>The direct gnome login warning banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4585 <xccdf:ident system="http://cce.mitre.org">CCE-4188-9</xccdf:ident>
4586 <xccdf:fixtext>(1) via RHEL.xml</xccdf:fixtext>
4587 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4588 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4589 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20103"/>
4590 <!-- TBD -->
4591 </xccdf:check>
4592 </xccdf:Rule>
4593 </xccdf:Group>
4594 </xccdf:Group>
4595 </xccdf:Group>
4596 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4">
4597 <xccdf:title xml:lang="en">SELinux</xccdf:title>
4598 <xccdf:description xml:lang="en">
4599 SELinux is a feature of the Linux kernel which can be used to guard
4600 against misconfigured or compromised programs. SELinux enforces the idea that programs
4601 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"/>
4602 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4603 The default
4604 SELinux policy, as configured on RHEL5, has been sufficiently developed and debugged that it
4605 should be usable on almost any Red Hat machine with minimal configuration and a small amount
4606 of system administrator training. This policy prevents system services — including most of
4607 the common network-visible services such as mail servers, ftp servers, and DNS servers —
4608 from accessing files which those services have no valid reason to access. This action alone
4609 prevents a huge amount of possible damage from network attacks against services, from
4610 trojaned software, and so forth. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4612 This guide recommends that SELinux be enabled using the
4613 default (targeted) policy on every Red Hat system, unless that system has requirements which
4614 make a stronger policy appropriate.</xccdf:description>
4615 <xccdf:reference>Frank Mayer, K. M., and Caplan, D. SELinux by Example: Using Security Enhanced Linux</xccdf:reference>
4616 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.1">
4617 <xccdf:title xml:lang="en">How SELinux Works</xccdf:title>
4618 <xccdf:description xml:lang="en">
4619 In the traditional Linux/Unix security model, known as
4620 Discretionary Access Control (DAC), processes run under a user and group identity, and
4621 enjoy that user and group's access rights to all files and other objects on the system.
4622 This system brings with it a number of security problems, most notably: that processes
4623 frequently do not need and should not have the full rights of the user who ran them; that
4624 user and group access rights are not very granular, and may require administrators to
4625 allow too much access in order to allow the access that is needed; that the Unix
4626 filesystem contains many resources (such as temporary directories and world-readable
4627 files) which are accessible to users who have no legitimate reason to access them; and
4628 that legitimate users can easily provide open access to their own resources through
4629 confusion or carelessness. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4630 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4631 SELinux provides a Mandatory Access Control (MAC) system that
4632 greatly augments the DAC model. Under SELinux, every process and every object (e.g. file,
4633 socket, pipe) on the system is given a security context, a label which include detailed
4634 type information about the object. The kernel allows processes to access objects only if
4635 that access is explicitly allowed by the policy in effect. The policy defines transitions,
4636 so that a user can be allowed to run software, but the software can run under a different
4637 context than the user's default. This automatically limits the damage that the software
4638 can do to files accessible by the calling user — the user does not need to take any action
4639 to gain this benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4640 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4641 For an action to occur, both the traditional DAC permissions must be
4642 satisifed as well as SELinux's MAC rules. If either do not permit the action, then it will
4643 not be allowed. In this way, SELinux rules can only make a system's permissions more
4644 restrictive and secure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4645 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4646 SELinux requires a complex policy in order to allow all the
4647 actions required of a system under normal operation. Three such policies have been
4648 designed for use with RHEL5, and are included with the system. In increasing order of
4649 power and complexity, they are: targeted, strict, and mls. The targeted SELinux policy
4650 consists mostly of Type Enforcement (TE) rules, and a small number of Role-Based Access
4651 Control (RBAC) rules. It restricts the actions of many types of programs, but leaves
4652 interactive users largely unaffected. The strict policy also uses TE and RBAC rules, but
4653 on more programs and more aggressively. The mls policy implements Multi-Level Security
4654 (MLS), which introduces even more kinds of labels — sensitivity and category — and rules
4655 that govern access based on these. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4656 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4657 The remainder of this section provides guidance for the
4658 configuration of the targeted policy and the administration of systems under this policy.
4659 Some pointers will be provided for readers who are interested in further strengthening
4660 their systems by using one of the stricter policies provided with RHEL5 or in writing
4661 their own policy.</xccdf:description>
4662 </xccdf:Group>
4663 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2">
4664 <xccdf:title xml:lang="en">Enable SELinux</xccdf:title>
4665 <xccdf:description xml:lang="en">
4666 Edit the file /etc/selinux/config. Add or correct the following
4667 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4668 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4669 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUX=enforcing <xhtml:br/>
4670 SELINUXTYPE=targeted <xhtml:br/></xhtml:code>
4671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4672 Edit the file /etc/grub.conf. Ensure that
4673 the following arguments DO NOT appear on any kernel command line in the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4674 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4675 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">selinux=0 <xhtml:br/>
4676 enforcing=0 <xhtml:br/></xhtml:code>
4677 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4678 The directive SELINUX=enforcing enables SELinux at boot time. If SELinux is
4679 causing a lot of problems or preventing the system from booting, it is possible to boot
4680 into the warning-only mode SELINUX=permissive for debugging purposes. Make certain to
4681 change the mode back to enforcing after debugging, set the filesystems to be relabelled
4682 for consistency using the command touch /.autorelabel, and reboot. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4684 However, the RHEL5
4685 default SELinux configuration should be sufficiently reasonable that most systems will
4686 boot without serious problems. Some applications that require deep or unusual system
4687 privileges, such as virtual machine software, may not be compatible with SELinux in its
4688 default configuration. However, this should be uncommon, and SELinux's application support
4689 continues to improve. In other cases, SELinux may reveal unusual or insecure program
4690 behavior by design. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4691 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4692 The directive SELINUXTYPE=targeted configures SELinux to use the
4693 default targeted policy. See Section 2.4.6 if a stricter policy is appropriate for your
4694 site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4695 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4696 The SELinux boot mode specified in /etc/selinux/config can be overridden by
4697 command-line arguments passed to the kernel. It is necessary to check grub.conf to ensure
4698 that this has not been done and to protect the bootloader as described in Section 2.3.5.2.</xccdf:description>
4699 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.c" operator="equals" type="string">
4700 <xccdf:title>SELinux state</xccdf:title>
4701 <xccdf:description xml:lang="en">
4702 enforcing - SELinux security policy is enforced. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4703 permissive - SELinux prints warnings instead of enforcing.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4704 disabled - SELinux is fully disabled.
4705 </xccdf:description>
4706 <xccdf:question xml:lang="en">Set the SELinux state</xccdf:question>
4707 <xccdf:value>enforcing</xccdf:value>
4708 <xccdf:value selector="enforcing">enforcing</xccdf:value>
4709 <xccdf:value selector="permissive">permissive</xccdf:value>
4710 <xccdf:value selector="disabled">disabled</xccdf:value>
4711 <xccdf:match>enforcing|permissive|disabled</xccdf:match>
4712 <xccdf:choices mustMatch="1">
4713 <xccdf:choice>enforcing</xccdf:choice>
4714 <xccdf:choice>permissive</xccdf:choice>
4715 <xccdf:choice>disabled</xccdf:choice>
4716 </xccdf:choices>
4717 </xccdf:Value>
4718 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.d" operator="equals" type="string">
4719 <xccdf:title>SELinux policy</xccdf:title>
4720 <xccdf:description xml:lang="en">
4721 Type of policy in use. Possible values are:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4722 targeted - Only targeted network daemons are protected.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4723 strict - Full SELinux protection.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4724 mls - Multiple levels of security</xccdf:description>
4725 <xccdf:question xml:lang="en">Set the SELinux policy</xccdf:question>
4726 <xccdf:value>targeted</xccdf:value>
4727 <xccdf:value selector="targeted">targeted</xccdf:value>
4728 <xccdf:value selector="strict">strict</xccdf:value>
4729 <xccdf:value selector="mls">mls</xccdf:value>
4730 <xccdf:match>targeted|strict|mls</xccdf:match>
4731 <xccdf:choices mustMatch="1">
4732 <xccdf:choice>targeted</xccdf:choice>
4733 <xccdf:choice>strict</xccdf:choice>
4734 <xccdf:choice>mls</xccdf:choice>
4735 </xccdf:choices>
4736 </xccdf:Value>
4737 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2.1">
4738 <xccdf:title xml:lang="en">Ensure SELinux is Properly Enabled</xccdf:title>
4739 <xccdf:description xml:lang="en">
4740 Run the command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4741 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4742 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ /usr/sbin/sestatus<xhtml:br/></xhtml:code>
4743 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4744 If the system is properly configured, the output should indicate:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4745 <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>
4746 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false" severity="medium" weight="10.0">
4747 <xccdf:title>Ensure SELinux is Properly Enabled</xccdf:title>
4748 <xccdf:description>Check output of /usr/sbin/sestatus</xccdf:description>
4749 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4750 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201035"/>
4751 </xccdf:check>
4752 </xccdf:Rule>
4753 </xccdf:Group>
4754 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.a" selected="false" severity="medium" weight="10.0">
4755 <xccdf:title>Enable SELinux in /etc/grub.conf</xccdf:title>
4756 <xccdf:description>SELinux should NOT be disabled in /etc/grub.conf. Check that selinux=0 is not found</xccdf:description>
4757 <xccdf:ident system="http://cce.mitre.org">CCE-3977-6</xccdf:ident>
4758 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4759 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4760 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20104"/>
4761 </xccdf:check>
4762 </xccdf:Rule>
4763 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.b" selected="false" severity="medium" weight="10.0">
4764 <xccdf:title>Enable SELinux enforcement in /etc/grub.conf</xccdf:title>
4765 <xccdf:description>SELinux enforcement should NOT be disabled in /etc/grub.conf. Check that enforcing=0 is not found.</xccdf:description>
4766 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4767 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4768 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20105"/>
4769 </xccdf:check>
4770 </xccdf:Rule>
4771 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.c" selected="false" severity="medium" weight="10.0">
4772 <xccdf:title>Set the SELinux state</xccdf:title>
4773 <xccdf:description>The SELinux state should be: <xccdf:sub idref="xccdf_cdf_value_var-2.4.2.c"/></xccdf:description>
4774 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4775 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4776 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20106" value-id="xccdf_cdf_value_var-2.4.2.c"/>
4777 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20106"/>
4778 <!-- TBD -->
4779 </xccdf:check>
4780 </xccdf:Rule>
4781 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.d" selected="false" severity="medium" weight="10.0">
4782 <xccdf:title>Set the SELinux policy</xccdf:title>
4783 <xccdf:description>The SELinux policy should be set appropriately.</xccdf:description>
4784 <xccdf:ident system="http://cce.mitre.org">CCE-3624-4</xccdf:ident>
4785 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4786 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4787 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20107" value-id="xccdf_cdf_value_var-2.4.2.d"/>
4788 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20107"/>
4789 </xccdf:check>
4790 </xccdf:Rule>
4791 </xccdf:Group>
4792 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3">
4793 <xccdf:title xml:lang="en">Disable Unnecessary SELinux Daemons</xccdf:title>
4794 <xccdf:description xml:lang="en">
4795 Several daemons are installed by default as part of the RHEL5
4796 SELinux support mechanism. These daemons may improve the system's ability to enforce
4797 SELinux policy in a useful fashion, but may also represent unnecessary code running on the
4798 machine, increasing system risk. If these daemons are not needed on your system, they
4799 should be disabled.</xccdf:description>
4800 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.1">
4801 <xccdf:title xml:lang="en">Disable and Remove SETroubleshoot if Possible</xccdf:title>
4802 <xccdf:description xml:lang="en">
4803 Is there a mission-critical reason to allow users to view
4804 SELinux denial information using the sealert GUI? If not, disable the service and remove
4805 the RPM: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4806 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4807 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig setroubleshoot off <xhtml:br/>
4808 # yum erase setroubleshoot <xhtml:br/></xhtml:code>
4809 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4810 The setroubleshoot
4811 service is a facility for notifying the desktop user of SELinux denials in a
4812 user-friendly fashion. SELinux errors may provide important information about intrusion
4813 attempts in progress, or may give information about SELinux configuration problems which
4814 are preventing correct system operation. In order to maintain a secure and usable
4815 SELinux installation, error logging and notification is necessary. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4816 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4817 However,
4818 setroubleshoot is a service which has complex functionality, which runs a daemon and
4819 uses IPC to distribute information which may be sensitive, or even to allow users to
4820 modify SELinux settings, and which does not yet implement real authentication
4821 mechanisms. This guide recommends disabling setroubleshoot and using the kernel audit
4822 functionality to monitor SELinux's behavior. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4823 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4824 In addition, since setroubleshoot
4825 automatically runs client-side code whenever a denial occurs, regardless of whether the
4826 setroubleshootd daemon is running, it is recommended that the program be removed
4827 entirely unless it is needed.</xccdf:description>
4828 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.a" selected="false" weight="10.0">
4829 <xccdf:title>Remove SETroubleshoot if Possible</xccdf:title>
4830 <xccdf:description>The setroubleshoot package should be uninstalled.</xccdf:description>
4831 <xccdf:ident system="http://cce.mitre.org">CCE-4148-3</xccdf:ident>
4832 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
4833 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4834 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20108"/>
4835 </xccdf:check>
4836 </xccdf:Rule>
4837 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.b" selected="false" severity="low" weight="10.0">
4838 <xccdf:title>Disable SETroubleshoot if Possible</xccdf:title>
4839 <xccdf:description>The setroubleshoot service should be disabled.</xccdf:description>
4840 <xccdf:ident system="http://cce.mitre.org">CCE-4254-9</xccdf:ident>
4841 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4842 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4843 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20109"/>
4844 </xccdf:check>
4845 </xccdf:Rule>
4846 </xccdf:Group>
4847 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.2">
4848 <xccdf:title xml:lang="en">Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
4849 <xccdf:description xml:lang="en">
4850 Unless there is some overriding need for the convenience of
4851 category label translation, disable the MCS translation service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4852 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4853 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mcstrans off <xhtml:br/></xhtml:code>
4854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4855 The mcstransd daemon provides the category label translation information defined in
4856 /etc/selinux/targeted/ setrans.conf to client processes which request this information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4858 Category labelling is unlikely to be used except in sites with special requirements.
4859 Therefore, it should be disabled in order to reduce the amount of potentially vulnerable
4860 code running on the system. See Section 2.4.6 for more information about systems which
4861 use category labelling.</xccdf:description>
4862 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false" severity="low" weight="10.0">
4863 <xccdf:title>Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
4864 <xccdf:description>The mcstrans service should be disabled.</xccdf:description>
4865 <xccdf:ident system="http://cce.mitre.org">CCE-3668-1</xccdf:ident>
4866 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4867 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4868 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20110"/>
4869 </xccdf:check>
4870 </xccdf:Rule>
4871 </xccdf:Group>
4872 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.3">
4873 <xccdf:title xml:lang="en">Restorecon Service (restorecond)</xccdf:title>
4874 <xccdf:description xml:lang="en">
4875 The restorecond daemon monitors a list of files which are
4876 frequently created or modified on running systems, and whose SELinux contexts are not
4877 set correctly. It looks for creation events related to files listed in /etc/
4878 selinux/restorecond.conf, and sets the contexts of those files when they are discovered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4879 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4880 The restorecond program is fairly simple, so it brings low risk, but, in its default
4881 configuration, does not add much value to a system. An automated program such as
4882 restorecond may be used to monitor problematic files for context problems, or system
4883 administrators may be trained to check file contexts of newly-created files using the
4884 command ls -lZ, and to repair contexts manually using the restorecon command. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4885 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4886 This guide
4887 makes no recommendation either for or against the use of restorecond.</xccdf:description>
4888 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false" severity="low" weight="10.0">
4889 <xccdf:title>Disable restorecon Service (restorecond)</xccdf:title>
4890 <xccdf:description>The restorecond service should be disabled.</xccdf:description>
4891 <xccdf:ident system="http://cce.mitre.org">CCE-4129-3</xccdf:ident>
4892 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4893 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4894 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20111"/>
4895 </xccdf:check>
4896 </xccdf:Rule>
4897 </xccdf:Group>
4898 </xccdf:Group>
4899 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.4">
4900 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
4901 <xccdf:description xml:lang="en">
4902 Daemons that SELinux policy does not know about will inherit the
4903 context of the parent process. Because daemons are launched during startup and descend
4904 from the init process, they inherit the initrc t context. This is a problem because it may
4905 cause AVC denials, or it could allow privileges that the daemon does not require. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4906 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4907 To check for unconfined daemons, run the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4908 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4909 <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>
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:Group>
4913 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.5">
4914 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
4915 <xccdf:description xml:lang="en">
4916 Device files are used for communication with important system
4917 resources. SELinux contexts should exist for these. If a device file is not labeled, then
4918 misconfiguration is likely.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4920 To check for unlabeled device files, run the following command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4921 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z | grep unlabeled_t<xhtml:br/></xhtml:code>
4922 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4923 It should produce no output in a well-configured system.</xccdf:description>
4924 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.5.a" selected="false" severity="medium" weight="10.0">
4925 <xccdf:title>Check for Unconfined Daemons</xccdf:title>
4926 <xccdf:description>Check for device file that is not labeled.</xccdf:description>
4927 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
4928 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4929 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201115"/>
4930 </xccdf:check>
4931 </xccdf:Rule>
4932 </xccdf:Group>
4933 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.6">
4934 <xccdf:title xml:lang="en">Debugging SELinux Policy Errors</xccdf:title>
4935 <xccdf:description xml:lang="en">
4936 SELinux's default policies have improved significantly over time,
4937 and most systems should have few problems using the targeted SELinux policy. However,
4938 policy problems may still occasionally prevent accesses which should be allowed. This is
4939 especially true if your site runs any custom or heavily modified applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4940 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4941 This section gives some brief guidance on discovering and repairing SELinux-related access
4942 problems. Guidance given here is necessarily incomplete, but should provide a starting
4943 point for debugging. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4944 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4945 If you suspect that a permission error or other failure may be caused
4946 by SELinux (and are certain that misconfiguration of the traditional Unix permissions are
4947 not the cause of the problem), search the audit logs for AVC events: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4949 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch -m AVC,USER_AVC -sv no <xhtml:br/></xhtml:code>
4950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4951 The output of this command will be a set of events. The timestamp,
4952 along with the comm and pid fields, should indicate which line describes the problem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4953 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4954 Look
4955 up the context under which the process is running. Assuming the process ID is PID , find
4956 the context by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4957 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4958 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ps -p PID -Z <xhtml:br/></xhtml:code>
4959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4960 The AVC denial message should identify the
4961 offending file or directory. The name field should contain the filename (not the full
4962 pathname by default), and the ino field can be used to search by inode, if necessary.
4963 Assuming the file is FILE , find its SELinux context: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4965 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z FILE <xhtml:br/></xhtml:code>
4966 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4967 An administrator should
4968 suspect an SELinux misconfiguration whenever a program gets a 'permission denied' error
4969 but the standard Unix permissions appear to be correct, or a program fails mysteriously on
4970 a task which seems to involve file access or network communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4971 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4972 As described in
4973 Section 2.4.1, SELinux augments each process with a context providing detailed type
4974 information about that process. The contexts under which processes run may be referred to
4975 as subject contexts. Similarly, each filesystem object is given a context. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4976 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4977 The targeted
4978 policy consists of a set of rules, each of which allows a subject type to perform some
4979 operation on a given object type. The kernel stores information about these access
4980 decisions in an structure known as an Access Vector Cache (AVC), so authorization
4981 decisions made by the system are audited with the type AVC. It is also possible for
4982 userspace modules to implement their own policies based on SELinux, and these decisions
4983 are audited with the type USER_AVC. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4984 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4985 AVC denials are logged by the kernel audit facility
4986 (see Section 2.6.2 for configuration guidance on this subsystem) and may also be visible
4987 via setroubleshoot. This guide recommends the use of the audit userspace utilities to find
4988 AVC errors. It is possible to manually locate these errors by looking in the file
4989 /var/log/audit/audit.log or in /var/log/messages (depending on the syslog configuration in
4990 effect), but the ausearch tool allows finegrained searching on audit event types, which
4991 may be necessary if system call auditing is enabled as well. The command line above tells
4992 ausearch to look for kernel or userspace AVC messages (-m AVC,USER AVC) where the access
4993 attempt did not succeed (-sv no). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4994 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4995 If an AVC denial occurs when it should not have, the
4996 problem is generally one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4997 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The program is running with the wrong subject
4998 context. This could happen as a result of an incorrect context on the program's executable
4999 file, which could happen if 3rd party software is installed and not given appropriate
5000 SELinux file contexts. </xhtml:li><xhtml:li>The file has the wrong object context because the current file's
5001 context does not match the specification. This can occur when files are created or
5002 modified in certain ways. It is not atypical for configuration files to get the wrong
5003 contexts after a system configuration change performed by an administrator. To repair the
5004 file, use the command: <xhtml:br/>
5005 <xhtml:br/>
5006 <xhtml:code># restorecon -v FILE <xhtml:br/></xhtml:code>
5007 <xhtml:br/>
5008 This should produce output indicating that the
5009 file's context has been changed. The /usr/bin/chcon program can be used to manually change
5010 a file's context, but this is problematic because the change will not persist if it does
5011 not agree with the policy-defined contexts applied by restorecon.</xhtml:li><xhtml:li>The file has the wrong
5012 object context because the specification is either incorrect or does not match the way the
5013 file is being used on this system. In this case, it will be necessary to change the system
5014 file contexts. <xhtml:br/>
5015 <xhtml:br/>
5016 Run the system-config-selinux tool, and go to the 'File Labeling' menu.
5017 This will give a list of files and wildcards corresponding to file labelling rules on the
5018 system. Add a rule which maps the file in question to the desired context. As an
5019 alternative, file contexts can be modified from the command line using the semanage(8)
5020 tool.</xhtml:li><xhtml:li>The program and file have the correct contexts, but the policy should allow some
5021 operation between those two contexts which is currently not allowed. In this case, it will
5022 be necessary to modify the SELinux policy. <xhtml:br/>
5023 <xhtml:br/>
5024 Run the system-config-selinux tool, and go to
5025 the 'Boolean' menu. If your configuration is supported, but is not the Red Hat default,
5026 then there will be a boolean allowing real-time modification of the SELinux policy to fix
5027 the problem. Browse through the items in this menu, looking for one which is related to
5028 the service which is not working. As an alternative, SELinux booleans can be modified from
5029 the command line using the getsebool(8) and setsebool(8) tools. <xhtml:br/>
5030 <xhtml:br/>
5031 If there is no boolean, it
5032 will be necessary to create and load a policy module. A simple way to build a policy
5033 module is to use the audit2allow tool. This tool can take input in the format of AVC
5034 denial messages, and generate syntactically correct Type Enforcement rules which would be
5035 sufficient to prevent those denials. For example, to generate and display rules which
5036 would allow all kernel denials seen in the past five minutes, run: <xhtml:br/>
5037 <xhtml:br/>
5038 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow <xhtml:br/></xhtml:code>
5039 <xhtml:br/>
5040 It is possible to use audit2allow to directly create a module
5041 package suitable for loading into the kernel policy. To do this, invoke audit2allow with
5042 the -M flag: <xhtml:br/>
5043 <xhtml:br/>
5044 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow -M localmodule <xhtml:br/></xhtml:code>
5045 <xhtml:br/>
5046 If this is
5047 successful, several lines of output should appear. Review the generated TE rules in the
5048 file localmodule .te and ensure that they express what you wish to allow. <xhtml:br/>
5049 <xhtml:br/>
5050 The file
5051 localmodule .pp should also have been created. This file is a policy module package that
5052 can be loaded into the kernel. To do so, use system-config-selinux, go to the 'Policy
5053 Module' menu and use the 'Add' button to enable your module package in SELinux, or load it
5054 from the command line using semodule(8): <xhtml:br/>
5055 <xhtml:br/>
5056 <xhtml:code># semodule -i localmodule .pp <xhtml:br/></xhtml:code>
5057 <xhtml:br/>
5058 Section 45.2 of [9] covers this procedure in detail.</xhtml:li></xhtml:ul></xccdf:description>
5059 </xccdf:Group>
5060 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7">
5061 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
5062 <xccdf:description xml:lang="en">
5063 The recommendations up to this point have discussed how to
5064 configure and maintain a system under the default configuration of the targeted policy,
5065 which constrains only the actions of daemons and system software. This guide strongly
5066 recommends that any site which is not currently using SELinux at all transition to the
5067 targeted policy, to gain the substantial security benefits provided by that policy.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5068 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5069 However, the default policy provides only a subset of the full security gains available
5070 from using SELinux. In particular, the SELinux policy is also capable of constraining the
5071 actions of interactive users, of providing compartmented access by sensitivity level (MLS)
5072 and/or category (MCS), and of restricting certain types of system actions using booleans
5073 beyond the RHEL5 defaults. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5074 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5075 This section introduces other uses of SELinux which may be
5076 possible, and provides links to some outside resources about their use. Detailed
5077 description of how to implement these steps is beyond the scope of this guide.</xccdf:description>
5078 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.1">
5079 <xccdf:title xml:lang="en">Strengthen the Default SELinux Boolean Configuration</xccdf:title>
5080 <xccdf:description xml:lang="en">
5081 SELinux booleans are used to enable or disable segments of
5082 policy to comply with site policy. Booleans may apply to the entire system or to an
5083 individual daemon. For instance, the boolean allow execstack, if enabled, allows
5084 programs to make part of their stack memory region executable. This would apply to all
5085 programs on the system. The boolean ftp home dir allows ftpd processes to access user
5086 home directories, and applies only to daemons which implement FTP. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5087 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5088 The command <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5090 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ getsebool -a <xhtml:br/></xhtml:code>
5091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5092 lists the values of all SELinux booleans on the system. Section 2.4.5
5093 discussed loosening boolean values in order to debug functionality problems which occur
5094 under more restrictive defaults. It is also useful to examine and strengthen the boolean
5095 settings, to disable functionality which is not required by legitimate programs on your
5096 system, but which might be symptomatic of an attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5098 See the manpages booleans(8),
5099 getsebool(8), and setsebool(8) for general information about booleans. There are also
5100 manual pages for several subsystems which discuss the use of SELinux with those systems.
5101 Examples include ftpd selinux(8), httpd selinux(8), and nfs selinux(8). Another good
5102 reference is the html documentation distributed with the selinux-policy RPM. This
5103 documentation is stored under <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5104 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5105 /usr/share/doc/selinux-policy-version/html/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5107 The pages
5108 global tunables.html and global booleans.html may be useful when examining booleans.</xccdf:description>
5109 </xccdf:Group>
5110 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.2">
5111 <xccdf:title xml:lang="en">Use a Stronger Policy</xccdf:title>
5112 <xccdf:description xml:lang="en">
5113 Using a stronger policy can greatly enhance security, but will
5114 generally require customization to be compatible with the particular system's purpose,
5115 and this may be costly or time consuming. Under the targeted policy, interactive
5116 processes are given the type unconfined t, so interactive users are not constrained by
5117 SELinux even if they attempt to take strange or malicious actions. The first alternative
5118 policy available with RHEL5's SELinux distribution, called strict, extends the
5119 protections offered by the default policy from daemons and system processes to all
5120 processes. To use the strict policy, first ensure that the policy module is installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5121 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5122 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install selinux-policy-strict <xhtml:br/></xhtml:code>
5123 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5124 Then edit /etc/selinux/config and correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5125 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5126 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=strict <xhtml:br/></xhtml:code>
5127 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5128 The mls policy type can be used to enforce sensitivity or category
5129 labelling, and requires site-specific configuration of these labels in order to be
5130 useful. To use this policy, install the appropriate policy module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5131 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5132 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install selinux-policy-mls <xhtml:br/></xhtml:code>
5133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5134 Then edit /etc/selinux/config and correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5135 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5136 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=mls</xhtml:code></xccdf:description>
5137 <xccdf:warning xml:lang="en">
5138 Note: Switching between policies typically requires the entire disk to be relabelled, so
5139 that files get the appropriate SELinux contexts under the new policy. Boot with the
5140 additional grub command-line options <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5141 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5142 <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"/>
5143 to relabel the disk in single-user mode, then reboot normally.</xccdf:warning>
5144 </xccdf:Group>
5145 </xccdf:Group>
5146 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.8">
5147 <xccdf:title xml:lang="en">SELinux References</xccdf:title>
5148 <xccdf:description xml:lang="en">
5149 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
5150 <xhtml:li>NSA SELinux resources:<xhtml:br/>
5151 <xhtml:ul><xhtml:li>Web page: http://www.nsa.gov/selinux/</xhtml:li><xhtml:li>Mailing list: [email protected] <xhtml:br/>
5152 List information at: http://www.nsa.gov/selinux/info/list.cfm</xhtml:li></xhtml:ul>
5153 </xhtml:li>
5154 <xhtml:li>Fedora SELinux resources:<xhtml:br/>
5155 <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/>
5156 List information at:
5157 https://www.redhat.com/mailman/listinfo/fedora-selinux-list</xhtml:li></xhtml:ul>
5158 </xhtml:li>
5159 <xhtml:li>Chapters 43–45 of Red Hat Enterprise Linux 5: Deployment Guide [9]</xhtml:li>
5160 <xhtml:li>The book SELinux by Example: Using Security Enhanced Linux [13]</xhtml:li>
5161 </xhtml:ul>
5162 </xccdf:description>
5163 </xccdf:Group>
5164 </xccdf:Group>
5165 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5">
5166 <xccdf:title xml:lang="en">Network Configuration and Firewalls</xccdf:title>
5167 <xccdf:description xml:lang="en">
5168 Most machines must be connected to a network of some sort, and this
5169 brings with it the substantial risk of network attack. This section discusses the security
5170 impact of decisions about networking which must be made when configuring a system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5172 This section also discusses firewalls, network access controls, and other network security
5173 frameworks, which allow system-level rules to be written that can limit attackers' ability
5174 to connect to your system. These rules can specify that network traffic should be allowed or
5175 denied from certain IP addresses, hosts, and networks. The rules can also specify which of
5176 the system's network services are available to particular hosts or networks.</xccdf:description>
5177 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1">
5178 <xccdf:title xml:lang="en">Kernel Parameters which Affect Networking</xccdf:title>
5179 <xccdf:description xml:lang="en">
5180 The sysctl utility is used to set a number of parameters which
5181 affect the operation of the Linux kernel. Several of these parameters are specific to
5182 networking, and the configuration options in this section are recommended.</xccdf:description>
5183 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.1">
5184 <xccdf:title xml:lang="en">Network Parameters for Hosts Only</xccdf:title>
5185 <xccdf:description xml:lang="en">
5186 Is this system going to be used as a firewall or gateway to
5187 pass IP traffic between different networks? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5188 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"/>
5189 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5190 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">net.ipv4.ip_forward = 0 <xhtml:br/>
5191 net.ipv4.conf.all.send_redirects = 0 <xhtml:br/>
5192 net.ipv4.conf.default.send_redirects = 0 <xhtml:br/></xhtml:code>
5193 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5194 These settings disable hosts from
5195 performing network functionality which is only appropriate for routers.</xccdf:description>
5196 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false" severity="medium" weight="10.0">
5197 <xccdf:title>Disable net.ipv4.conf.default.send_redirects for Hosts Only</xccdf:title>
5198 <xccdf:description>The default setting for sending ICMP redirects should be disabled for network interfaces.</xccdf:description>
5199 <xccdf:ident system="http://cce.mitre.org">CCE-4151-7</xccdf:ident>
5200 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.send_redirects</xccdf:fixtext>
5201 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5202 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20112"/>
5203 </xccdf:check>
5204 </xccdf:Rule>
5205 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false" severity="medium" weight="10.0">
5206 <xccdf:title>Disable net.ipv4.conf.all.send_redirects for Hosts Only</xccdf:title>
5207 <xccdf:description>Sending ICMP redirects should be disabled for all interfaces.</xccdf:description>
5208 <xccdf:ident system="http://cce.mitre.org">CCE-4155-8</xccdf:ident>
5209 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.send_redirects</xccdf:fixtext>
5210 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5211 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20113"/>
5212 </xccdf:check>
5213 </xccdf:Rule>
5214 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false" severity="medium" weight="10.0">
5215 <xccdf:title>Disable net.ipv4.ip forward for Hosts Only</xccdf:title>
5216 <xccdf:description>IP forwarding should be disabled.</xccdf:description>
5217 <xccdf:ident system="http://cce.mitre.org">CCE-3561-8</xccdf:ident>
5218 <xccdf:fixtext>(1) via sysctl - net.ipv4.ip_forward</xccdf:fixtext>
5219 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5220 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20114"/>
5221 </xccdf:check>
5222 </xccdf:Rule>
5223 </xccdf:Group>
5224 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.2">
5225 <xccdf:title xml:lang="en">Network Parameters for Hosts and Routers</xccdf:title>
5226 <xccdf:description xml:lang="en">
5227 Edit the file /etc/sysctl.conf and add or correct the following
5228 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5229 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5230 net.ipv4.conf.all.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5231 net.ipv4.conf.all.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5232 net.ipv4.conf.all.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5233 net.ipv4.conf.all.log_martians = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5234 net.ipv4.conf.default.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5235 net.ipv4.conf.default.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5236 net.ipv4.conf.default.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5237 net.ipv4.icmp_echo_ignore_broadcasts = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5238 net.ipv4.icmp_ignore_bogus_error_messages = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5239 net.ipv4.tcp_syncookies = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5240 net.ipv4.conf.all.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5241 net.ipv4.conf.default.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5242 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5243 These options
5244 improve Linux's ability to defend against certain types of IPv4 protocol attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5245 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5246 The
5247 accept source route, accept redirects, and secure redirects options are turned off to
5248 disable IPv4 protocol features which are considered to have few legitimate uses and to
5249 be easy to abuse. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5250 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5251 The net.ipv4.conf.all.log martians option logs several types of
5252 suspicious packets, such as spoofed packets, source-routed packets, and redirects. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5253 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5254 The icmp echo ignore broadcasts icmp ignore bogus error messages options protect against
5255 ICMP attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5256 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5257 The tcp syncookies option uses a cryptographic feature called SYN cookies
5258 to allow machines to continue to accept legitimate connections when faced with a SYN
5259 flood attack. See [12] for further information on this option. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5260 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5261 The rp filter option
5262 enables RFC-recommended source validation. It should not be used on machines which are
5263 routers for very complicated networks, but is helpful for end hosts and routers serving
5264 small networks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5265 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5266 For more information on any of these, see the kernel source
5267 documentation file /Documentation/networking/ip-sysctl.txt.2</xccdf:description>
5268 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.a" operator="equals" type="boolean">
5269 <xccdf:title>Deactivating "source routed packets"</xccdf:title>
5270 <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>
5271 <xccdf:question xml:lang="en">Enable/Disable source routed packets</xccdf:question>
5272 <xccdf:value>0</xccdf:value>
5273 <xccdf:value selector="enabled">1</xccdf:value>
5274 <xccdf:value selector="disabled">0</xccdf:value>
5275 </xccdf:Value>
5276 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.b" operator="equals" type="boolean">
5277 <xccdf:title>ICMP redirect messages</xccdf:title>
5278 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5279 <xccdf:question xml:lang="en">Enable/Disable ICMP redirect messages</xccdf:question>
5280 <xccdf:value>0</xccdf:value>
5281 <xccdf:value selector="enabled">1</xccdf:value>
5282 <xccdf:value selector="disabled">0</xccdf:value>
5283 </xccdf:Value>
5284 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.c" operator="equals" type="boolean">
5285 <xccdf:title>net.ipv4.conf.all.secure_redirects</xccdf:title>
5286 <xccdf:description xml:lang="en">Enable to prevent hijacking of routing path by only allowing redirects from gateways known in routing table. </xccdf:description>
5287 <xccdf:question xml:lang="en">Enable/Disable IPv4 prevent hijacking of routing paths</xccdf:question>
5288 <xccdf:value>1</xccdf:value>
5289 <xccdf:value selector="enabled">1</xccdf:value>
5290 <xccdf:value selector="disabled">0</xccdf:value>
5291 </xccdf:Value>
5292 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.d" operator="equals" type="boolean">
5293 <xccdf:title>net.ipv4.conf.all.log_martians</xccdf:title>
5294 <xccdf:description xml:lang="en">Disable so you don't Log Spoofed Packets, Source Routed Packets, Redirect Packets </xccdf:description>
5295 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging Spoofed packets, source routed packets and redirect packets</xccdf:question>
5296 <xccdf:value>0</xccdf:value>
5297 <xccdf:value selector="enabled">1</xccdf:value>
5298 <xccdf:value selector="disabled">0</xccdf:value>
5299 </xccdf:Value>
5300 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.e" operator="equals" type="boolean">
5301 <xccdf:title>net.ipv4.conf.default.accept_source_route</xccdf:title>
5302 <xccdf:description xml:lang="en">Disable IP source routing?</xccdf:description>
5303 <xccdf:question xml:lang="en">Enable/Disable IPv4 source routing</xccdf:question>
5304 <xccdf:value>0</xccdf:value>
5305 <xccdf:value selector="enabled">1</xccdf:value>
5306 <xccdf:value selector="disabled">0</xccdf:value>
5307 </xccdf:Value>
5308 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.f" operator="equals" type="boolean">
5309 <xccdf:title>net.ipv4.conf.default.accept_redirects</xccdf:title>
5310 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5311 <xccdf:question xml:lang="en">Enable/Disable default IPv4 ICMP Redirect Acceptance</xccdf:question>
5312 <xccdf:value>0</xccdf:value>
5313 <xccdf:value selector="enabled">1</xccdf:value>
5314 <xccdf:value selector="disabled">0</xccdf:value>
5315 </xccdf:Value>
5316 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.g" operator="equals" type="boolean">
5317 <xccdf:title>net.ipv4.conf.default.secure_redirects</xccdf:title>
5318 <xccdf:description xml:lang="en">Log packets with impossible addresses to kernel log?</xccdf:description>
5319 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging packets with impossible addresses to kernel log</xccdf:question>
5320 <xccdf:value>1</xccdf:value>
5321 <xccdf:value selector="enabled">1</xccdf:value>
5322 <xccdf:value selector="disabled">0</xccdf:value>
5323 </xccdf:Value>
5324 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.h" operator="equals" type="boolean">
5325 <xccdf:title>net.ipv4.icmp_echo_ignore_broadcast</xccdf:title>
5326 <xccdf:description xml:lang="en">Ignore all ICMP ECHO and TIMESTAMP requests sent to it via broadcast/multicast</xccdf:description>
5327 <xccdf:question xml:lang="en">Enable/Disable IPv4 ignoring ICMP ECHO and TIMESTAMP requests from broadcast/multicast</xccdf:question>
5328 <xccdf:value>1</xccdf:value>
5329 <xccdf:value selector="enabled">1</xccdf:value>
5330 <xccdf:value selector="disabled">0</xccdf:value>
5331 </xccdf:Value>
5332 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.i" operator="equals" type="boolean">
5333 <!-- TODO -->
5334 <xccdf:title>net.ipv4.icmp_ignore_bogus_error_messages</xccdf:title>
5335 <xccdf:description xml:lang="en">Enable to prevent certain types of attacks</xccdf:description>
5336 <xccdf:value>1</xccdf:value>
5337 <xccdf:value selector="enabled">1</xccdf:value>
5338 <xccdf:value selector="disabled">0</xccdf:value>
5339 </xccdf:Value>
5340 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.j" operator="equals" type="boolean">
5341 <xccdf:title>net.ipv4.tcp_syncookie</xccdf:title>
5342 <xccdf:description xml:lang="en">Enable to turn on TCP SYN Cookie Protection</xccdf:description>
5343 <xccdf:question xml:lang="en">Enable/Disable TCP SYN Cookie Protection</xccdf:question>
5344 <xccdf:value>1</xccdf:value>
5345 <xccdf:value selector="enabled">1</xccdf:value>
5346 <xccdf:value selector="disabled">0</xccdf:value>
5347 </xccdf:Value>
5348 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.k" operator="equals" type="boolean">
5349 <xccdf:title>net.ipv4.conf.all.rp_filter</xccdf:title>
5350 <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>
5351 <xccdf:question xml:lang="en">Enable/Disable all enforcing sanity checks</xccdf:question>
5352 <xccdf:value>1</xccdf:value>
5353 <xccdf:value selector="enabled">1</xccdf:value>
5354 <xccdf:value selector="disabled">0</xccdf:value>
5355 </xccdf:Value>
5356 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.l" operator="equals" type="boolean">
5357 <xccdf:title>net.ipv4.conf.default.rp_filter</xccdf:title>
5358 <xccdf:description xml:lang="en">Enables source route verification</xccdf:description>
5359 <xccdf:question xml:lang="en">Enable/Disable default source route verification</xccdf:question>
5360 <xccdf:value>1</xccdf:value>
5361 <xccdf:value selector="enabled">1</xccdf:value>
5362 <xccdf:value selector="disabled">0</xccdf:value>
5363 </xccdf:Value>
5364 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false" severity="medium" weight="10.0">
5365 <xccdf:title>Set net.ipv4.conf.all.accept_source_route for Hosts and Routers</xccdf:title>
5366 <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>
5367 <xccdf:ident system="http://cce.mitre.org">CCE-4236-6</xccdf:ident>
5368 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_source_route</xccdf:fixtext>
5369 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5370 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20115" value-id="xccdf_cdf_value_var-2.5.1.2.a"/>
5371 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20115"/>
5372 </xccdf:check>
5373 </xccdf:Rule>
5374 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false" severity="medium" weight="10.0">
5375 <xccdf:title>Set net.ipv4.conf.all.accept_redirects for Hosts and Routers</xccdf:title>
5376 <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>
5377 <xccdf:ident system="http://cce.mitre.org">CCE-4217-6</xccdf:ident>
5378 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_redirects</xccdf:fixtext>
5379 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5380 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20116" value-id="xccdf_cdf_value_var-2.5.1.2.b"/>
5381 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20116"/>
5382 </xccdf:check>
5383 </xccdf:Rule>
5384 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false" severity="medium" weight="10.0">
5385 <xccdf:title>Set net.ipv4.conf.all.secure_redirects for Hosts and Routers</xccdf:title>
5386 <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>
5387 <xccdf:ident system="http://cce.mitre.org">CCE-3472-8</xccdf:ident>
5388 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.secure_redirects</xccdf:fixtext>
5389 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5390 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20117" value-id="xccdf_cdf_value_var-2.5.1.2.c"/>
5391 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20117"/>
5392 </xccdf:check>
5393 </xccdf:Rule>
5394 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false" severity="medium" weight="10.0">
5395 <xccdf:title>Set net.ipv4.conf.all.log_martians for Hosts and Routers</xccdf:title>
5396 <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>
5397 <xccdf:ident system="http://cce.mitre.org">CCE-4320-8</xccdf:ident>
5398 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.log_martians</xccdf:fixtext>
5399 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5400 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20118" value-id="xccdf_cdf_value_var-2.5.1.2.d"/>
5401 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20118"/>
5402 </xccdf:check>
5403 </xccdf:Rule>
5404 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false" severity="medium" weight="10.0">
5405 <xccdf:title>Set net.ipv4.conf.default.accept_source_route for Hosts and Routers</xccdf:title>
5406 <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>
5407 <xccdf:ident system="http://cce.mitre.org">CCE-4091-5</xccdf:ident>
5408 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_source_route</xccdf:fixtext>
5409 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5410 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20119" value-id="xccdf_cdf_value_var-2.5.1.2.e"/>
5411 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20119"/>
5412 </xccdf:check>
5413 </xccdf:Rule>
5414 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false" severity="medium" weight="10.0">
5415 <xccdf:title>Set net.ipv4.conf.default.accept_redirects for Hosts and Routers</xccdf:title>
5416 <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>
5417 <xccdf:ident system="http://cce.mitre.org">CCE-4186-3</xccdf:ident>
5418 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_redirects</xccdf:fixtext>
5419 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5420 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20120" value-id="xccdf_cdf_value_var-2.5.1.2.f"/>
5421 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20120"/>
5422 </xccdf:check>
5423 </xccdf:Rule>
5424 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false" severity="medium" weight="10.0">
5425 <xccdf:title>Set net.ipv4.conf.default.secure_redirects for Hosts and Routers</xccdf:title>
5426 <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>
5427 <xccdf:ident system="http://cce.mitre.org">CCE-3339-9</xccdf:ident>
5428 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.secure_redirects</xccdf:fixtext>
5429 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5430 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20121" value-id="xccdf_cdf_value_var-2.5.1.2.g"/>
5431 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20121"/>
5432 </xccdf:check>
5433 </xccdf:Rule>
5434 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false" severity="medium" weight="10.0">
5435 <xccdf:title>Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers</xccdf:title>
5436 <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>
5437 <xccdf:ident system="http://cce.mitre.org">CCE-3644-2</xccdf:ident>
5438 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_echo_ignore_broadcasts</xccdf:fixtext>
5439 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5440 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20122" value-id="xccdf_cdf_value_var-2.5.1.2.h"/>
5441 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20122"/>
5442 </xccdf:check>
5443 </xccdf:Rule>
5444 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false" severity="medium" weight="10.0">
5445 <xccdf:title>Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers</xccdf:title>
5446 <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>
5447 <xccdf:ident system="http://cce.mitre.org">CCE-4133-5</xccdf:ident>
5448 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_ignore_bogus_error_messages</xccdf:fixtext>
5449 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5450 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20123" value-id="xccdf_cdf_value_var-2.5.1.2.i"/>
5451 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20123"/>
5452 </xccdf:check>
5453 </xccdf:Rule>
5454 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false" severity="medium" weight="10.0">
5455 <xccdf:title>Set net.ipv4.tcp_syncookies for Hosts and Routers</xccdf:title>
5456 <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>
5457 <xccdf:ident system="http://cce.mitre.org">CCE-4265-5</xccdf:ident>
5458 <xccdf:fixtext>(1) via sysctl - net.ipv4.tcp_syncookies</xccdf:fixtext>
5459 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5460 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20124" value-id="xccdf_cdf_value_var-2.5.1.2.j"/>
5461 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20124"/>
5462 </xccdf:check>
5463 </xccdf:Rule>
5464 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false" severity="medium" weight="10.0">
5465 <xccdf:title>Set net.ipv4.conf.all.rp_filter for Hosts and Routers</xccdf:title>
5466 <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>
5467 <xccdf:ident system="http://cce.mitre.org">CCE-4080-8</xccdf:ident>
5468 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.rp_filter</xccdf:fixtext>
5469 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5470 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20125" value-id="xccdf_cdf_value_var-2.5.1.2.k"/>
5471 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20125"/>
5472 </xccdf:check>
5473 </xccdf:Rule>
5474 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false" severity="medium" weight="10.0">
5475 <xccdf:title>Set net.ipv4.conf.default.rp_filter for Hosts and Routers</xccdf:title>
5476 <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>
5477 <xccdf:ident system="http://cce.mitre.org">CCE-3840-6</xccdf:ident>
5478 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.rp_filter</xccdf:fixtext>
5479 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5480 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20126" value-id="xccdf_cdf_value_var-2.5.1.2.l"/>
5481 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20126"/>
5482 </xccdf:check>
5483 </xccdf:Rule>
5484 </xccdf:Group>
5485 </xccdf:Group>
5486 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2">
5487 <xccdf:title xml:lang="en">Wireless Networking</xccdf:title>
5488 <xccdf:description xml:lang="en">
5489 Wireless networking (sometimes referred to as 802.11 or Wi-Fi)
5490 presents a serious security risk to sensitive or classified systems and networks. Wireless
5491 networking hardware is much more likely to be included in laptop or portable systems than
5492 desktops or servers. See Section 3.3.14 for information on Bluetooth wireless support.
5493 Bluetooth serves a different purpose and possesses a much shorter range, but it still
5494 presents serious security risks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5495 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5496 Removal of hardware is the only way to absolutely ensure
5497 that the wireless capability remains disabled. If it is completely impractical to remove
5498 the wireless hardware, and site policy still allows the device to enter sensitive spaces,
5499 every effort to disable the capability via software should be made. In general,
5500 acquisition policy should include provisions to prevent the purchase of equipment that
5501 will be used in sensitive spaces and includes wireless capabilities.</xccdf:description>
5502 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.1">
5503 <xccdf:title xml:lang="en">Remove Wireless Hardware if Possible</xccdf:title>
5504 <xccdf:description xml:lang="en">
5505 Identifying the wireless hardware is the first step in removing
5506 it. The system's hardware manual should contain information on its wireless
5507 capabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5508 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5509 Wireless hardware included with a laptop typically takes the form of a
5510 mini-PCI card or PC card. Other forms include devices which plug into USB or Ethernet
5511 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"/>
5512 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5513 A PC Card (originally called a PCMCIA card) is designed to be easy to remove, though it
5514 may be hidden when inserted into the system. Frequently, there will be one or more
5515 buttons near the card slot that, when pressed, eject the card from the system. If no
5516 card is ejected, the slot is empty. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5517 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5518 A mini-PCI card is approximately credit-card sized
5519 and typically accessible via a removable panel on the underside of the laptop. Removing
5520 the panel may require simple tools. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5521 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5522 In addition to manually inspecting the hardware, it
5523 is also possible to query the system for its installed hardware devices. The commands
5524 /sbin/lspci and /sbin/lsusb will show a list of all recognized devices on their
5525 respective buses, and this may indicate the presence of a wireless device.</xccdf:description>
5526 </xccdf:Group>
5527 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2">
5528 <xccdf:title xml:lang="en">Disable Wireless Through Software Configuration</xccdf:title>
5529 <xccdf:description xml:lang="en">
5530 If it is impossible to remove the wireless hardware from the
5531 device in question, disable as much of it as possible through software. The following
5532 methods can disable software support for wireless networking, but note that these
5533 methods do not prevent malicious software or careless users from re-activating the
5534 devices.</xccdf:description>
5535 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.1">
5536 <xccdf:title xml:lang="en">Disable Wireless in BIOS</xccdf:title>
5537 <xccdf:description xml:lang="en">
5538 Some laptops that include built-in wireless support offer the
5539 ability to disable the device through the BIOS. This is system-specific; consult your
5540 hardware manual or explore the BIOS setup during boot. 2A recent version of this file
5541 can be found online at
5542 http://lxr.linux.no/source/Documentation/networking/ip-sysctl.txt.</xccdf:description>
5543 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false" severity="medium" weight="10.0">
5544 <xccdf:title>Disable Wireless in BIOS</xccdf:title>
5545 <xccdf:description>All wireless devices should be disabled in the BIOS.</xccdf:description>
5546 <xccdf:ident system="http://cce.mitre.org">CCE-3628-5</xccdf:ident>
5547 <xccdf:fixtext>(1) via BIOS menus</xccdf:fixtext>
5548 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5549 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20127"/>
5550 </xccdf:check>
5551 </xccdf:Rule>
5552 </xccdf:Group>
5553 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.2">
5554 <xccdf:title xml:lang="en">Deactivate Wireless Interfaces</xccdf:title>
5555 <xccdf:description xml:lang="en">
5556 Deactivating the wireless interfaces should prevent normal
5557 usage of the wireless capability. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5558 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5559 First, identify the interfaces available 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"># ifconfig -a <xhtml:br/></xhtml:code>
5562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5563 Additionally,the following command may also be used to
5564 determine whether wireless support ('extensions') is included for a particular
5565 interface, though this may not always be a clear indicator: <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"># iwconfig <xhtml:br/></xhtml:code>
5568 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5569 After
5570 identifying any wireless interfaces (which may have names like wlan0, ath0, wifi0, or
5571 eth0), deactivate the interface with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5572 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5573 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ifdown interface <xhtml:br/></xhtml:code>
5574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5575 These changes
5576 will only last until the next reboot. To disable the interface for future boots,
5577 remove the appropriate interface file from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5578 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5579 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
5580 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false" severity="medium" weight="10.0">
5581 <xccdf:title>Deactivate Wireless Interfaces</xccdf:title>
5582 <xccdf:description>All wireless interfaces should be disabled.</xccdf:description>
5583 <xccdf:ident system="http://cce.mitre.org">CCE-4276-2</xccdf:ident>
5584 <xccdf:fixtext>rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fixtext>
5585 <xccdf:fixtext>ifdown interface</xccdf:fixtext>
5586 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5587 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20128"/>
5588 </xccdf:check>
5589 </xccdf:Rule>
5590 </xccdf:Group>
5591 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.3">
5592 <xccdf:title xml:lang="en">Disable Wireless Drivers</xccdf:title>
5593 <xccdf:description xml:lang="en">
5594 Removing the kernel drivers that provide support for wireless
5595 Ethernet devices will prevent users from easily activating the devices. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5597 To remove the wireless drivers from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5599 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm -r /lib/modules/kernelversion(s)/kernel/drivers/net/wireless <xhtml:br/></xhtml:code>
5600 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5601 This command must also be repeated every time the kernel is upgraded.</xccdf:description>
5602 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false" severity="medium" weight="10.0">
5603 <xccdf:title>Disable Wireless Drivers</xccdf:title>
5604 <xccdf:description>Device drivers for wireless devices should be excluded from the kernel.</xccdf:description>
5605 <xccdf:ident system="http://cce.mitre.org">CCE-4170-7</xccdf:ident>
5606 <xccdf:fixtext>(1) via modprobe</xccdf:fixtext>
5607 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5608 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20129"/>
5609 </xccdf:check>
5610 </xccdf:Rule>
5611 </xccdf:Group>
5612 </xccdf:Group>
5613 </xccdf:Group>
5614 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3">
5615 <xccdf:title xml:lang="en">IPv6</xccdf:title>
5616 <xccdf:description xml:lang="en">
5617 The system includes support for Internet Protocol version 6. A
5618 major and often-mentioned improvement over IPv4 is its enormous increase in the number of
5619 available addresses. Another important feature is its support for automatic configuration
5620 of many network settings.</xccdf:description>
5621 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1">
5622 <xccdf:title xml:lang="en">Disable Support for IPv6 unless Needed</xccdf:title>
5623 <xccdf:description xml:lang="en">
5624 Because the IPv6 networking code is relatively new and complex,
5625 it is particularly important that it be disabled unless needed. Despite configuration
5626 that suggests support for IPv6 has been disabled, link-local IPv6 address
5627 autoconfiguration occurs even when only an IPv4 address is assigned. The only way to
5628 effectively prevent execution of the IPv6 networking stack is to prevent the kernel from
5629 loading the IPv6 kernel module.</xccdf:description>
5630 <xccdf:reference>MO3:S0-C1-1</xccdf:reference>
5631 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.1">
5632 <xccdf:title xml:lang="en">Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5633 <xccdf:description xml:lang="en">
5634 To prevent the IPv6 kernel module (ipv6) from being loaded,
5635 add the following line to /etc/modprobe.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5636 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5637 install ipv6 /bin/true <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5638 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5639 When the kernel requests the ipv6 module, this line will direct the system to run the
5640 program /bin/true instead.</xccdf:description>
5641 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false" severity="medium" weight="10.0">
5642 <xccdf:title>Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5643 <xccdf:description>Automatic loading of the IPv6 kernel module should be disabled.</xccdf:description>
5644 <xccdf:reference>MO3:S0-C1-1 MO3:S0-C1-2</xccdf:reference>
5645 <xccdf:ident system="http://cce.mitre.org">CCE-3562-6</xccdf:ident>
5646 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
5647 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5648 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20130"/>
5649 </xccdf:check>
5650 </xccdf:Rule>
5651 </xccdf:Group>
5652 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.2">
5653 <xccdf:title xml:lang="en">Disable Interface Usage of IPv6</xccdf:title>
5654 <xccdf:description xml:lang="en">
5655 To prevent configuration of IPv6 for all interfaces, add or
5656 correct the following lines in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5657 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5658 NETWORKING_IPV6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5659 IPV6INIT=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5660 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5661 For each network interface IFACE , add or correct the following lines in
5662 /etc/sysconfig/network-scripts/ifcfg-IFACE as an additional prevention mechanism:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5663 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5664 IPV6INIT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5665 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5666 If it becomes necessary later to configure IPv6, only the interfaces
5667 requiring it should be enabled.</xccdf:description>
5668 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false" severity="medium" weight="10.0">
5669 <xccdf:title>Disable NETWORKING_IPV6 in /etc/sysconfig/network</xccdf:title>
5670 <xccdf:description>The default setting for IPv6 configuration should be disabled</xccdf:description>
5671 <xccdf:ident system="http://cce.mitre.org">CCE-3381-1</xccdf:ident>
5672 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5673 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5674 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20131"/>
5675 </xccdf:check>
5676 </xccdf:Rule>
5677 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false" severity="medium" weight="10.0">
5678 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network</xccdf:title>
5679 <xccdf:description>Global IPv6 initialization should be disabled</xccdf:description>
5680 <xccdf:ident system="http://cce.mitre.org">CCE-3377-9</xccdf:ident>
5681 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5682 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5683 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20132"/>
5684 </xccdf:check>
5685 </xccdf:Rule>
5686 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false" severity="medium" weight="10.0">
5687 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-*</xccdf:title>
5688 <xccdf:description>IPv6 configuration should be disabled for all interfaces.</xccdf:description>
5689 <xccdf:ident system="http://cce.mitre.org">CCE-4296-0</xccdf:ident>
5690 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-*</xccdf:fixtext>
5691 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5692 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20133"/>
5693 </xccdf:check>
5694 </xccdf:Rule>
5695 </xccdf:Group>
5696 </xccdf:Group>
5697 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2">
5698 <xccdf:title xml:lang="en">Configure IPv6 Settings if Necessary</xccdf:title>
5699 <xccdf:description xml:lang="en">
5700 A major feature of IPv6 is the extent to which systems
5701 implementing it can automatically configure their networking devices using information
5702 from the network. From a security perspective, manually configuring important
5703 configuration information is always preferable to accepting it from the network in an
5704 unauthenticated fashion.</xccdf:description>
5705 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.1">
5706 <xccdf:title xml:lang="en">Disable Automatic Configuration</xccdf:title>
5707 <xccdf:description xml:lang="en">
5708 Disable the system's acceptance of router advertisements and
5709 redirects by adding or correcting the following line in /etc/sysconfig/network (note
5710 that this does not disable sending router solicitations): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5711 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5712 IPV6_AUTOCONF=no</xccdf:description>
5713 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.a" operator="equals" type="string">
5714 <xccdf:title>IPV6_AUTOCONF</xccdf:title>
5715 <xccdf:description xml:lang="en">Toggle global IPv6 autoconfiguration (only, if global forwarding is disabled)</xccdf:description>
5716 <xccdf:question xml:lang="en">Enable/Disable global IPv6 autoconfiguration</xccdf:question>
5717 <xccdf:value>disabled</xccdf:value>
5718 <xccdf:value selector="enabled">enabled</xccdf:value>
5719 <xccdf:value selector="disabled">disabled</xccdf:value>
5720 <xccdf:match>enabled|disabled</xccdf:match>
5721 </xccdf:Value>
5722 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.b" operator="equals" type="string">
5723 <xccdf:title>net.ipv6.conf.default.accept_ra</xccdf:title>
5724 <xccdf:description xml:lang="en">accept default router advertisements</xccdf:description>
5725 <xccdf:question xml:lang="en">Enable/Disable IPv6 accepting default router advertisements</xccdf:question>
5726 <xccdf:value>no</xccdf:value>
5727 <xccdf:value selector="enabled">yes</xccdf:value>
5728 <xccdf:value selector="disabled">no</xccdf:value>
5729 <xccdf:match>yes|no</xccdf:match>
5730 </xccdf:Value>
5731 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.c" operator="equals" type="string">
5732 <xccdf:title>net.ipv6.conf.default.accept_redirects</xccdf:title>
5733 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5734 <xccdf:question xml:lang="en">Enable/Disable IPv6 default ICMP Redirect Acceptance</xccdf:question>
5735 <xccdf:value>disabled</xccdf:value>
5736 <xccdf:value selector="enabled">enabled</xccdf:value>
5737 <xccdf:value selector="disabled">disabled</xccdf:value>
5738 <xccdf:match>enabled|disabled</xccdf:match>
5739 </xccdf:Value>
5740 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.d" operator="equals" type="string">
5741 <xccdf:title>net.ipv6.conf.all.accept_redirects</xccdf:title>
5742 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5743 <xccdf:question xml:lang="en">Enable/Disable all IPv6 ICMP Redirect Acceptance</xccdf:question>
5744 <xccdf:value>disabled</xccdf:value>
5745 <xccdf:value selector="enabled">enabled</xccdf:value>
5746 <xccdf:value selector="disabled">disabled</xccdf:value>
5747 <xccdf:match>enabled|disabled</xccdf:match>
5748 </xccdf:Value>
5749 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false" severity="medium" weight="10.0">
5750 <xccdf:title>Disable IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:title>
5751 <xccdf:description>Accepting IPv6 router advertisements should be disabled for all interfaces.</xccdf:description>
5752 <xccdf:ident system="http://cce.mitre.org">CCE-4269-7</xccdf:ident>
5753 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5754 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5755 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20134" value-id="xccdf_cdf_value_var-2.5.3.2.1.a"/>
5756 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20134"/>
5757 </xccdf:check>
5758 </xccdf:Rule>
5759 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false" severity="medium" weight="10.0">
5760 <xccdf:title>Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra)</xccdf:title>
5761 <xccdf:description>The default setting for accepting IPv6 router advertisements should be: for all interfaces.</xccdf:description>
5762 <xccdf:ident system="http://cce.mitre.org">CCE-4291-1</xccdf:ident>
5763 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5764 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5765 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20135" value-id="xccdf_cdf_value_var-2.5.3.2.1.b"/>
5766 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20135"/>
5767 </xccdf:check>
5768 </xccdf:Rule>
5769 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false" severity="medium" weight="10.0">
5770 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects)</xccdf:title>
5771 <xccdf:description>Accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
5772 <xccdf:ident system="http://cce.mitre.org">CCE-4313-3</xccdf:ident>
5773 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5774 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5775 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20136" value-id="xccdf_cdf_value_var-2.5.3.2.1.c"/>
5776 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20136"/>
5777 </xccdf:check>
5778 </xccdf:Rule>
5779 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false" severity="medium" weight="10.0">
5780 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects)</xccdf:title>
5781 <xccdf:description>The default setting for accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
5782 <xccdf:ident system="http://cce.mitre.org">CCE-4198-8</xccdf:ident>
5783 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5784 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5785 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20137" value-id="xccdf_cdf_value_var-2.5.3.2.1.d"/>
5786 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20137"/>
5787 </xccdf:check>
5788 </xccdf:Rule>
5789 </xccdf:Group>
5790 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.2">
5791 <xccdf:title xml:lang="en">Manually Assign Global IPv6 Address</xccdf:title>
5792 <xccdf:description xml:lang="en">
5793 To manually assign an IP address for an interface IFACE, edit
5794 the file /etc/sysconfig/network-scripts/ ifcfg-IFACE. Add or correct the following
5795 line (substituting the correct IPv6 address): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5796 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5797 IPV6ADDR=2001:0DB8::ABCD/64 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5798 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5799 Manually
5800 assigning an IP address is preferable to accepting one from routers or from the
5801 network otherwise. The example address here is an IPv6 address reserved for
5802 documentation purposes, as defined by RFC3849.</xccdf:description>
5803 </xccdf:Group>
5804 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.3">
5805 <xccdf:title xml:lang="en">Use Privacy Extensions for Address if Necessary</xccdf:title>
5806 <xccdf:description xml:lang="en">
5807 To introduce randomness into the automatic generation of IPv6
5808 addresses, add or correct the following line in
5809 /etc/sysconfig/network-scripts/ifcfg-IFACE: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5810 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5811 IPV6_PRIVACY=rfc3041<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5812 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5813 Automatically-generated IPv6 addresses are based on the underlying hardware (e.g.
5814 Ethernet) address, and so it becomes possible to track a piece of hardware over its
5815 lifetime using its traffic. If it is important for a system's IP address to not
5816 trivially reveal its hardware address, this setting should be applied.</xccdf:description>
5817 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.3.a" operator="equals" type="string">
5818 <xccdf:title>IPV6_PRIVACY in /etc/sysconfig/network-scripts/ifcfg-IFACE</xccdf:title>
5819 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
5820 <xccdf:question xml:lang="en">Select control of IPv6 address creation privacy</xccdf:question>
5821 <xccdf:value>rfc3041</xccdf:value>
5822 <xccdf:value selector="disabled">disabled</xccdf:value>
5823 <xccdf:value selector="lightweight">lightweight</xccdf:value>
5824 <xccdf:value selector="rfc3041">rfc3041</xccdf:value>
5825 </xccdf:Value>
5826 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false" weight="10.0">
5827 <xccdf:title>Use Privacy Extensions for Address if Necessary</xccdf:title>
5828 <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>
5829 <xccdf:ident system="http://cce.mitre.org">CCE-3842-2</xccdf:ident>
5830 <xccdf:fixtext>(1) via IPV6_PRIVACY in
5831 /etc/sysconfig/network-scripts/ifcfg-&lt;interface&gt;</xccdf:fixtext>
5832 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5833 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20138" value-id="xccdf_cdf_value_var-2.5.3.2.3.a"/>
5834 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20138"/>
5835 </xccdf:check>
5836 </xccdf:Rule>
5837 </xccdf:Group>
5838 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.4">
5839 <xccdf:title xml:lang="en">Manually Assign IPv6 Router Address</xccdf:title>
5840 <xccdf:description xml:lang="en">
5841 Edit the file /etc/sysconfig/network-scripts/ifcfg-IFACE ,
5842 and add or correct the following line (substituting your gateway IP as appropriate):<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5843 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5844 IPV6_DEFAULTGW=2001:0DB8::0001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5845 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5846 Router addresses should be manually set and not
5847 accepted via any autoconfiguration or router advertisement.</xccdf:description>
5848 </xccdf:Group>
5849 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.5">
5850 <xccdf:title xml:lang="en">Limit Network-Transmitted Configuration</xccdf:title>
5851 <xccdf:description xml:lang="en">
5852 Add the following lines to /etc/sysctl.conf to limit the
5853 configuration information requested from other systems, and accepted from the network:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5855 net.ipv6.conf.default.router_solicitations = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5856 net.ipv6.conf.default.accept_ra_rtr_pref = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5857 net.ipv6.conf.default.accept_ra_pinfo = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5858 net.ipv6.conf.default.accept_ra_defrtr = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5859 net.ipv6.conf.default.autoconf = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5860 net.ipv6.conf.default.dad_transmits = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5861 net.ipv6.conf.default.max_addresses = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5862 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5863 The router solicitations setting determines how many router solicitations are sent
5864 when bringing up the interface. If addresses are statically assigned, there is no need
5865 to send any solicitations. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5867 The accept_ra_pinfo setting controls whether the system will
5868 accept prefix info from the router. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5869 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5870 The accept_ra_defrtr setting controls whether the
5871 system will accept Hop Limit settings from a router advertisement. Setting it to 0
5872 prevents a router from changing your default IPv6 Hop Limit for outgoing packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5873 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5874 The autoconf setting controls whether router advertisements can cause the system to
5875 assign a global unicast address to an interface. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5876 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5877 The dad_transmits setting determines how
5878 many neighbor solicitations to send out per address (global and link-local) when
5879 bringing up an interface to ensure the desired address is unique on the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5880 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5881 The max_addresses setting determines how many global unicast IPv6 addresses can be
5882 assigned to each interface. The default is 16, but it should be set to exactly the
5883 number of statically configured global addresses required.</xccdf:description>
5884 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.a" operator="equals" type="number">
5885 <xccdf:title> net.ipv6.conf.default.router_solicitations</xccdf:title>
5886 <xccdf:description xml:lang="en">
5887 Setting determines how many router solicitations are
5888 sent when bringing up the interface. If addresses are statically assigned, there
5889 is no need to send any solicitation</xccdf:description>
5890 <xccdf:question xml:lang="en">Select how many router solicitations are sent when bringing up the interface</xccdf:question>
5891 <xccdf:value>0</xccdf:value>
5892 <xccdf:value selector="0">0</xccdf:value>
5893 <xccdf:value selector="1">1</xccdf:value>
5894 </xccdf:Value>
5895 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.b" operator="equals" type="boolean">
5896 <xccdf:title>Accept Router Preference in Router Advertisements?</xccdf:title>
5897 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
5898 <xccdf:question xml:lang="en">Enable/Disable IPv6 router advertisements</xccdf:question>
5899 <xccdf:value>0</xccdf:value>
5900 <xccdf:value selector="enabled">1</xccdf:value>
5901 <xccdf:value selector="disabled">0</xccdf:value>
5902 </xccdf:Value>
5903 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.c" operator="equals" type="boolean">
5904 <xccdf:title>net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
5905 <xccdf:description xml:lang="en">Setting controls whether the system will accept prefix info from the router</xccdf:description>
5906 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of router prefix info</xccdf:question>
5907 <xccdf:value>0</xccdf:value>
5908 <xccdf:value selector="enabled">1</xccdf:value>
5909 <xccdf:value selector="disabled">0</xccdf:value>
5910 </xccdf:Value>
5911 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.d" operator="equals" type="boolean">
5912 <xccdf:title>net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
5913 <xccdf:description xml:lang="en">
5914 Setting controls whether the system will accept Hop Limit
5915 settings from a router advertisement. Setting it to 0 prevents a router from
5916 changing your default IPv6 Hop Limit for outgoing packets.</xccdf:description>
5917 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of Hop limits from router advertisement</xccdf:question>
5918 <xccdf:value>0</xccdf:value>
5919 <xccdf:value selector="enabled">1</xccdf:value>
5920 <xccdf:value selector="disabled">0</xccdf:value>
5921 </xccdf:Value>
5922 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.e" operator="equals" type="boolean">
5923 <xccdf:title>net.ipv6.conf.default.autoconf</xccdf:title>
5924 <xccdf:description>Setting controls whether router advertisements can cause the system to assign a global unicast address to an interface.</xccdf:description>
5925 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of global unicast address from router advertisement</xccdf:question>
5926 <xccdf:value>0</xccdf:value>
5927 <xccdf:value selector="enabled">1</xccdf:value>
5928 <xccdf:value selector="disabled">0</xccdf:value>
5929 </xccdf:Value>
5930 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.f" operator="equals" type="number">
5931 <xccdf:title>net.ipv6.conf.default.dad_transmits</xccdf:title>
5932 <xccdf:description xml:lang="en">
5933 Setting determines how many neighbor solicitations to
5934 send out per address (global and link-local) when bringing up an interface to
5935 ensure the desired address is unique on the network</xccdf:description>
5936 <xccdf:question xml:lang="en">Select how many neighbor solicitations send out per address to ensure uniqueness of desired address for IPv6</xccdf:question>
5937 <xccdf:value>0</xccdf:value>
5938 <xccdf:value selector="0">0</xccdf:value>
5939 <xccdf:value selector="1">1</xccdf:value>
5940 </xccdf:Value>
5941 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.g" operator="equals" type="number">
5942 <xccdf:title>net.ipv6.conf.default.max_addresses</xccdf:title>
5943 <xccdf:description>
5944 Setting determines how many global unicast IPv6 addresses can be
5945 assigned to each interface. The default is 16, but it should be set to exactly
5946 the number of statically configured global addresses required.</xccdf:description>
5947 <xccdf:question xml:lang="en">Select how many global unicast IPv6 addresses can be assigned to each interface</xccdf:question>
5948 <xccdf:value>16</xccdf:value>
5949 <xccdf:value selector="0">0</xccdf:value>
5950 <xccdf:value selector="1">1</xccdf:value>
5951 <xccdf:value selector="2">2</xccdf:value>
5952 <xccdf:value selector="4">4</xccdf:value>
5953 <xccdf:value selector="8">8</xccdf:value>
5954 <xccdf:value selector="16">16</xccdf:value>
5955 </xccdf:Value>
5956 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false" weight="10.0">
5957 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations</xccdf:title>
5958 <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>
5959 <xccdf:ident system="http://cce.mitre.org">CCE-4159-0</xccdf:ident>
5960 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.router_solicitations</xccdf:fixtext>
5961 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5962 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20139" value-id="xccdf_cdf_value_var-2.5.3.2.5.a"/>
5963 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20139"/>
5964 </xccdf:check>
5965 </xccdf:Rule>
5966 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false" weight="10.0">
5967 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:title>
5968 <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>
5969 <xccdf:ident system="http://cce.mitre.org">CCE-4221-8</xccdf:ident>
5970 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:fixtext>
5971 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5972 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20140" value-id="xccdf_cdf_value_var-2.5.3.2.5.b"/>
5973 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20140"/>
5974 </xccdf:check>
5975 </xccdf:Rule>
5976 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false" weight="10.0">
5977 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
5978 <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>
5979 <xccdf:ident system="http://cce.mitre.org">CCE-4058-4</xccdf:ident>
5980 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_pinfo</xccdf:fixtext>
5981 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5982 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20141" value-id="xccdf_cdf_value_var-2.5.3.2.5.c"/>
5983 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20141"/>
5984 </xccdf:check>
5985 </xccdf:Rule>
5986 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false" weight="10.0">
5987 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
5988 <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>
5989 <xccdf:ident system="http://cce.mitre.org">CCE-4128-5</xccdf:ident>
5990 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_defrtr</xccdf:fixtext>
5991 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5992 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20142" value-id="xccdf_cdf_value_var-2.5.3.2.5.d"/>
5993 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20142"/>
5994 </xccdf:check>
5995 </xccdf:Rule>
5996 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false" weight="10.0">
5997 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf</xccdf:title>
5998 <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>
5999 <xccdf:ident system="http://cce.mitre.org">CCE-4287-9</xccdf:ident>
6000 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.autoconf</xccdf:fixtext>
6001 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6002 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20143" value-id="xccdf_cdf_value_var-2.5.3.2.5.e"/>
6003 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20143"/>
6004 </xccdf:check>
6005 </xccdf:Rule>
6006 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false" weight="10.0">
6007 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits</xccdf:title>
6008 <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>
6009 <xccdf:ident system="http://cce.mitre.org">CCE-3895-0</xccdf:ident>
6010 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.dad_transmits</xccdf:fixtext>
6011 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6012 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20144" value-id="xccdf_cdf_value_var-2.5.3.2.5.f"/>
6013 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20144"/>
6014 </xccdf:check>
6015 </xccdf:Rule>
6016 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false" weight="10.0">
6017 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses</xccdf:title>
6018 <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>
6019 <xccdf:ident system="http://cce.mitre.org">CCE-4137-6</xccdf:ident>
6020 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.max_addresses</xccdf:fixtext>
6021 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6022 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20145" value-id="xccdf_cdf_value_var-2.5.3.2.5.g"/>
6023 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20145"/>
6024 </xccdf:check>
6025 </xccdf:Rule>
6026 </xccdf:Group>
6027 </xccdf:Group>
6028 </xccdf:Group>
6029 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4">
6030 <xccdf:title xml:lang="en">TCP Wrapper</xccdf:title>
6031 <xccdf:description xml:lang="en">
6032 TCP Wrapper is a library which provides simple access control and
6033 standardized logging for supported applications which accept connections over a network.
6034 Historically, TCP Wrapper was used to support inetd services. Now that inetd is deprecated
6035 (see Section 3.2.1), TCP Wrapper supports only services which were built to make use of
6036 the libwrap library. To determine whether a given executable daemon /path/to/daemon
6037 supports TCP Wrapper, check the documentation, or run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6038 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6039 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ ldd /path/to/daemon | grep libwrap.so <xhtml:br/></xhtml:code>
6040 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6041 If this command returns any output, then the daemon probably supports TCP Wrapper. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6043 An alternative to TCP Wrapper support is packet filtering using iptables. Note
6044 that iptables works at the network level, while TCP Wrapper works at the application
6045 level. This means that iptables filtering is more efficient and more resistant to flaws in
6046 the software being protected, but TCP Wrapper provides support for logging, banners, and
6047 other application-level tricks which iptables cannot provide.</xccdf:description>
6048 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.1">
6049 <xccdf:title xml:lang="en">How TCP Wrapper Protects Services</xccdf:title>
6050 <xccdf:description xml:lang="en">
6051 TCP Wrapper provides access control for the system's network
6052 services using two configuration files. When a connection is attempted: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6053 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The file
6054 /etc/hosts.allow is searched for a rule matching the connection. If one is found, the
6055 connection is allowed. </xhtml:li><xhtml:li>Otherwise, the file /etc/hosts.deny is searched for a rule
6056 matching the connection. If one is found, the connection is rejected. </xhtml:li><xhtml:li>If no matching
6057 rules are found in either file, then the connection is allowed. By default, TCP Wrapper
6058 does not block access to any services. </xhtml:li></xhtml:ol>
6059 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6060 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"/>
6061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6062 daemon : client <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6063 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6064 where daemon is the
6065 name of the server process for which the connection is destined, and client is the
6066 partial or full hostname or IP address of the client. It is valid for daemon and client
6067 to contain one item, a comma-separated list of items, or a special keyword like ALL,
6068 which matches any service or client. (See the hosts access(5) manpage for a list of
6069 other keywords.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6070 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6071 Note: Partial hostnames start at the root domain and are delimited by
6072 the . character. So the client machine host03.dev.example.com, with IP address 10.7.2.3,
6073 could be matched by any of the specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6074 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6075 .example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6076 .dev.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6077 10.7.2.</xccdf:description>
6078 </xccdf:Group>
6079 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.2">
6080 <xccdf:title xml:lang="en">Reject All Connections From Other Hosts if Appropriate</xccdf:title>
6081 <xccdf:description xml:lang="en">
6082 Restrict all connections to non-public services to localhost
6083 only. Suppose pubsrv1 and pubsrv2 are the names of daemons which must be accessed
6084 remotely. Configure TCP Wrapper as follows. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6085 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6086 Edit /etc/hosts.allow. Add the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6087 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6088 pubsrv1 ,pubsrv2 : ALL<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6089 ALL: localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6090 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6091 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6092 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6093 ALL: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6095 These rules deny connections to all TCP Wrapper enabled services from any
6096 host other than localhost, but allow connections from anywhere to the services which
6097 must be publicly accessible. (If no public services exist, the first line in
6098 /etc/hosts.allow may be omitted.)</xccdf:description>
6099 </xccdf:Group>
6100 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.3">
6101 <xccdf:title xml:lang="en">Allow Connections Only From Hosts in This Domain if Appropriate</xccdf:title>
6102 <xccdf:description xml:lang="en">
6103 For each daemon, domainsrv , which only needs to be contacted
6104 from inside the local domain, example.com , configure TCP Wrapper to deny remote
6105 connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6107 Edit /etc/hosts.allow. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6108 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6109 domainsrv : .example.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6110 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6111 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6112 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6113 domainsrv : ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6114 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6115 There are many possible
6116 examples of services which need to communicate only within the local domain. If a
6117 machine is a local compute server, it may be necessary for users to connect via SSH from
6118 their desktop workstations, but not from outside the domain. In that case, you should
6119 protect the daemon sshd using this method. As another example, RPC-based services such
6120 as NFS might be enabled within the domain only, in which case the daemon portmap should
6121 be protected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6122 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6123 </xccdf:description>
6124 <xccdf:warning xml:lang="en">Note: This example protects only the service domainsrv . No filtering is
6125 done on other services unless a line is entered into /etc/hosts.deny which refers to
6126 those services by name, or which restricts the special service ALL.</xccdf:warning>
6127 </xccdf:Group>
6128 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.4">
6129 <xccdf:title xml:lang="en">Monitor Syslog for Relevant Connections and Failures</xccdf:title>
6130 <xccdf:description xml:lang="en">
6131 Ensure that the following line exists in /etc/syslog.conf.
6132 (This is the default, so it is likely to be correct if the configuration has not been
6133 modified): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6135 authpriv.* /var/log/secure <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6136 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6137 Configure logwatch or other log monitoring tools
6138 to periodically summarize failed connections reported by TCP Wrapper at the facility
6139 authpriv.info. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6140 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6141 By default, TCP Wrapper audits all rejected connections at the facility
6142 authpriv, level info. In the log file, TCP Wrapper rejections will contain the
6143 substring: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6144 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6145 daemon [pid ]: refused connect from ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6146 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6147 These lines can be used to detect
6148 malicious scans, and to debug failures resulting from an incorrect TCP Wrapper
6149 configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6150 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6151 If appropriate, it is possible to change the syslog facility and level
6152 used by a given TCP Wrapper rule by adding the severity option to each desired
6153 configuration line in /etc/hosts.deny: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6154 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6155 daemon : client : severity facility .level <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6156 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6157 By default, successful connections are not logged by TCP Wrapper. See Section 2.6 for
6158 more information about system auditing.</xccdf:description>
6159 </xccdf:Group>
6160 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.5">
6161 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6162 <xccdf:description xml:lang="en">
6163 For more information about TCP Wrapper, see the tcpd(8) and
6164 hosts access(5) manpages and the documentation directory /usr/share/doc/tcp
6165 wrappers-version. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6166 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6167 Some information may be available from the Tools section of the
6168 author's website, http://www.porcupine.org, and from the RHEL4 Reference Guide [6].</xccdf:description>
6169 </xccdf:Group>
6170 </xccdf:Group>
6171 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5">
6172 <xccdf:title xml:lang="en">Iptables and Ip6tables</xccdf:title>
6173 <xccdf:description xml:lang="en">
6174 A host-based firewall called Netfilter is included as part of the
6175 Linux kernel distributed with the system. It is activated by default. This firewall is
6176 controlled by the program iptables, and the entire capability is frequently referred to by
6177 this name. An analogous program called ip6tables handles filtering for IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6178 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6179 Unlike TCP
6180 Wrappers, which depends on the network server program to support and respect the rules
6181 written, Netfilter filtering occurs at the kernel level, before a program can even process
6182 the data from the network packet. As such, any program on the system is affected by the
6183 rules written. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6184 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6185 This section provides basic information about strengthening the iptables
6186 and ip6tables configurations included with the system. For more complete information that
6187 may allow the construction of a sophisticated ruleset tailored to your environment, please
6188 consult the references at the end of this section.</xccdf:description>
6189 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.1">
6190 <xccdf:title xml:lang="en">Inspect and Activate Default Rules</xccdf:title>
6191 <xccdf:description xml:lang="en">
6192 View the currently-enforced iptables rules by running the
6193 command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6194 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6195 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># iptables -nL --line-numbers <xhtml:br/></xhtml:code>
6196 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6197 The command is analogous for the ip6tables program. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6198 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6199 If the firewall does not appear to be active (i.e., no rules appear), activate
6200 it and ensure that it starts at boot by issuing the following commands (and analogously
6201 for ip6tables): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6202 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6203 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service iptables restart <xhtml:br/>
6204 # chkconfig iptables on <xhtml:br/></xhtml:code>
6205 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6206 The default iptables rules are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6208 Chain INPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6209 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6210 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"/>
6211 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6212 Chain FORWARD (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6213 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6214 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"/>
6215 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6216 Chain OUTPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6217 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6218 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6219 Chain RH-Firewall-1-INPUT (2 references) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6220 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6221 1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6222 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"/>
6223 3 ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6224 4 ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6225 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"/>
6226 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"/>
6227 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"/>
6228 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"/>
6229 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"/>
6230 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"/>
6231 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6232 The ip6tables default rules are similar, with
6233 its rules 2 and 10 reflecting protocol naming and addressing differences. Instead of
6234 rule 8, however, ip6tables includes two rules that accept all incoming udp and tcp
6235 packets with a particular destination port range. This is because the current Netfilter
6236 implementation for IPv6 lacks reliable connection-tracking functionality.</xccdf:description>
6237 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.a" selected="false" severity="high" weight="10.0">
6238 <xccdf:title>Verify ip6tables is enabled</xccdf:title>
6239 <xccdf:description>The ip6tables service should be enabled.</xccdf:description>
6240 <xccdf:ident system="http://cce.mitre.org">CCE-4167-3</xccdf:ident>
6241 <xccdf:fix>chkconfig ip6tables on</xccdf:fix>
6242 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6243 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20146"/>
6244 </xccdf:check>
6245 </xccdf:Rule>
6246 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.b" selected="false" severity="high" weight="10.0">
6247 <xccdf:title>Verify iptables is enabled</xccdf:title>
6248 <xccdf:description>The iptables service should be enabled.</xccdf:description>
6249 <xccdf:ident system="http://cce.mitre.org">CCE-4189-7</xccdf:ident>
6250 <xccdf:fix>chkconfig iptables on</xccdf:fix>
6251 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6252 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20147"/>
6253 </xccdf:check>
6254 </xccdf:Rule>
6255 </xccdf:Group>
6256 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.2">
6257 <xccdf:title xml:lang="en">Understand the Default Ruleset</xccdf:title>
6258 <xccdf:description xml:lang="en">
6259 Understanding and creating firewall rules can be a challenging
6260 activity, filled with corner cases and difficult-todebug problems. Because of this,
6261 administrators should develop a thorough understanding of the default ruleset before
6262 carefully modifying it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6263 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6264 The default ruleset is divided into four sections, each of which
6265 is called a chain: INPUT, FORWARD, OUTPUT, and RH-Firewall-1-INPUT. INPUT, OUTPUT, and
6266 FORWARD are built-in chains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6267 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The INPUT chain is activated on packets destined for
6268 (i.e., addressed to) the system. </xhtml:li><xhtml:li>The OUTPUT chain is activated on packets which are
6269 originating from the system. </xhtml:li><xhtml:li>The FORWARD chain is activated for packets that the
6270 system will process and send through another interface, if so configured. </xhtml:li><xhtml:li>The
6271 RH-Firewall-1-INPUT chain is a custom (or user-defined) chain, which is used by the
6272 INPUT and FORWARD chains. </xhtml:li></xhtml:ul>
6273 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6274 A packet starts at the first rule in the appropriate chain and
6275 proceeds until it matches a rule. If a match occurs, then control will jump to the
6276 specified target. The default ruleset uses the built-in targets ACCEPT and REJECT, and
6277 also the user-defined target/chain RH-Firewall-1-INPUT. Jumping to the target ACCEPT
6278 means to allow the packet through, while REJECT means to drop the packet and send an
6279 error message to the sending host. A related target called DROP means to drop the packet
6280 on the floor without even sending an error message. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6281 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6282 The default policy for all of the
6283 built-in chains (shown after their names in the rule output above) is set to ACCEPT.
6284 This means that if no rules in the chain match the packets, they are allowed through.
6285 Because no rules at all are written for the OUTPUT chain, this means that iptables does
6286 not stop any packets originating from the system. The INPUT and FORWARD chains jump to
6287 the user-defined target RH-Firewall-1-INPUT for all packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6289 RH-Firewall-1-INPUT tries
6290 to match, in order, the following rules for both iptables and ip6tables: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6291 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Rule 1
6292 appears to accept all packets. However, this appears true only because the rules are not
6293 presented in verbose mode. Executing the command <xhtml:br/>
6294 <xhtml:br/>
6295 <xhtml:code># iptables -vnL --line-numbers <xhtml:br/></xhtml:code>
6296 <xhtml:br/>
6297 reveals
6298 that this rule applies only to the loopback (lo) interface (see column in), while all
6299 other rules apply to all interfaces. Thus, packets not coming from the loopback
6300 interface do not match and proceed to the next rule. </xhtml:li><xhtml:li>Rule 2 explicitly allows all icmp
6301 packet types; iptables uses the code 255 to mean all icmp types. </xhtml:li><xhtml:li>Rule 3 explicitly
6302 allows all esp packets; these are packets which contain IPsec ESP headers.</xhtml:li><xhtml:li>Rule 4
6303 explicitly allows all ah packets; these are packets which contain an IPsec
6304 authentication header SPI. </xhtml:li><xhtml:li>Rule 5 allows inbound communication on udp port 5353
6305 (mDNS), which the avahi daemon uses. </xhtml:li><xhtml:li>Rules 6 and 7 allows inbound communication on
6306 both tcp and udp port 631, which the cups daemon uses. </xhtml:li><xhtml:li>Rule 8, in the iptables rules,
6307 allows inbound packets that are part of a session initiated by the system. In ip6tables,
6308 rules 8 and 9 allow any inbound packets with a destination port address between 32768
6309 and 61000. </xhtml:li><xhtml:li>Rule 9 (10, for ip6tables) allows inbound connections in tcp port 22, which
6310 is the SSH protocol. </xhtml:li><xhtml:li>Rule 10 (11, for ip6tables) rejects all other packets and sends
6311 an error message to the sender. Because this is the last rule and matches any packet, it
6312 effectively prevents any packet from reaching the chain's default ACCEPT target.
6313 Preventing the acceptance of any packet that is not explicitly allowed is proper design
6314 for a firewall.</xhtml:li></xhtml:ul></xccdf:description>
6315 </xccdf:Group>
6316 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3">
6317 <xccdf:title xml:lang="en">Strengthen the Default Ruleset</xccdf:title>
6318 <xccdf:description xml:lang="en">
6319 The default rules can be strengthened. The system scripts that
6320 activate the firewall rules expect them to be defined in the configuration files
6321 iptables and ip6tables in the directory /etc/sysconfig. Many of the lines in these files
6322 are similar to the command line arguments that would be provided to the programs
6323 /sbin/iptables or /sbin/ip6tables – but some are quite different. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6324 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6325 The following recommendations describe how to strengthen the default
6326 ruleset configuration file. An alternative to editing this configuration file is to
6327 create a shell script that makes calls to the iptables program to load in rules, and
6328 then invokes service iptables save to write those loaded rules to
6329 /etc/sysconfig/iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6330 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6331 The following alterations can be made directly to
6332 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables. Instructions apply to both unless
6333 otherwise noted. Language and address conventions for regular iptables are used
6334 throughout this section; configuration for ip6tables will be either analogous or
6335 explicitly covered.</xccdf:description>
6336 <xccdf:warning xml:lang="en">The program
6337 system-config-securitylevel allows additional services to penetrate the default firewall
6338 rules and automatically adjusts /etc/ sysconfig/ iptables . This program is only useful
6339 if the default ruleset meets your security requirements. Otherwise, this program should
6340 not be used to make changes to the firewall configuration because it re-writes the saved
6341 configuration file. </xccdf:warning>
6342 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.1">
6343 <xccdf:title xml:lang="en">Change the Default Policies</xccdf:title>
6344 <xccdf:description xml:lang="en">
6345 Change the default policy to DROP (from ACCEPT) for the INPUT
6346 and FORWARD built-in chains: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6347 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6348 *filter <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6349 :INPUT DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6350 :FORWARD DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6352 Changing
6353 the default policy in this way implements proper design for a firewall, i.e. any
6354 packets which are not explicitly permitted should not be accepted.</xccdf:description>
6355 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false" severity="high" weight="10.0">
6356 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</xccdf:title>
6357 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</xccdf:description>
6358 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6359 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6360 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201474"/>
6361 </xccdf:check>
6362 </xccdf:Rule>
6363 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false" severity="high" weight="10.0">
6364 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</xccdf:title>
6365 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</xccdf:description>
6366 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6367 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6368 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201475"/>
6369 </xccdf:check>
6370 </xccdf:Rule>
6371 </xccdf:Group>
6372 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.2">
6373 <xccdf:title xml:lang="en">Restrict ICMP Message Types</xccdf:title>
6374 <xccdf:description xml:lang="en">
6375 In /etc/sysconfig/iptables, the accepted ICMP messages types
6376 can be restricted. To accept only ICMP echo reply, destination unreachable, and time
6377 exceeded messages, remove the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6378 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6379 -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6380 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6381 and insert the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6382 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-reply -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6383 -A RH-Firewall-1-INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6384 -A RH-Firewall-1-INPUT -p icmp --icmp-type time-exceeded -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6385 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6386 To allow the system to respond to pings, also insert the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6387 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6388 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-request -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6389 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6390 Ping responses can also be limited to certain
6391 networks or hosts by using the -s option in the previous rule. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6392 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6393 Because IPv6 depends so
6394 heavily on ICMPv6, it is preferable to deny the ICMPv6 packets you know you don't need
6395 (e.g. ping requests) in /etc/sysconfig/ip6tables, while letting everything else
6396 through: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6397 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6398 -A RH-Firewall-1-INPUT -p icmpv6 --icmpv6-type echo-request -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6399 If you
6400 are going to statically configure the machine's address, it should ignore Router
6401 Advertisements which could add another IPv6 address to the interface or alter
6402 important network settings: <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 icmpv6 --icmpv6-type router-advertisement -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6405 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6406 Restricting other ICMPv6 message types in
6407 /etc/sysconfig/ip6tables is not recommended because the operation of IPv6 depends
6408 heavily on ICMPv6. Thus, more care must be taken when blocking ICMPv6 types.</xccdf:description>
6409 </xccdf:Group>
6410 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.3">
6411 <xccdf:title xml:lang="en">Remove IPsec Rules</xccdf:title>
6412 <xccdf:description xml:lang="en">
6413 If the system will not process IPsec traffic, then remove the
6414 following rules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6416 -A RH-Firewall-1-INPUT -p 50 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6417 -A RH-Firewall-1-INPUT -p 51 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/></xccdf:description>
6418 </xccdf:Group>
6419 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.4">
6420 <xccdf:title xml:lang="en">Log and Drop Packets with Suspicious Source Addresses</xccdf:title>
6421 <xccdf:description xml:lang="en">
6422 Packets with non-routable source addresses should be
6423 rejected, as they may indicate spoofing. Because the modified policy will reject
6424 non-matching packets, you only need to add these rules if you are interested in also
6425 logging these spoofing or suspicious attempts before they are dropped. If you do
6426 choose to log various suspicious traffic, add identical rules with a target of DROP
6427 after each LOG. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6428 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6429 To log and then drop these IPv4 packets, insert the following rules in
6430 /etc/sysconfig/iptables (excepting any that are intentionally used): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6431 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6432 -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"/>
6433 -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"/>
6434 -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"/>
6435 -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"/>
6436 -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"/>
6437 -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"/>
6438 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6439 Similarly, you might wish to log packets containing some IPv6
6440 reserved addresses if they are not expected on your network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6441 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6442 -A INPUT -i eth0 -s ::1 -j LOG --log-prefix "IPv6 DROP LOOPBACK: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6443 -A INPUT -s 2002:E000::/20 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6444 -A INPUT -s 2002:7F00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6445 -A INPUT -s 2002:0000::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6446 -A INPUT -s 2002:FF00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6447 -A INPUT -s 2002:0A00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6448 -A INPUT -s 2002:AC10::/28 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6449 -A INPUT -s 2002:C0A8::/32 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6450 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6451 If you are not expecting to see site-local multicast or auto-tunneled traffic, you
6452 can log those: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6453 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6454 -A INPUT -s FF05::/16 -j LOG --log-prefix "IPv6 SITE-LOCAL MULTICAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6455 -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"/>
6456 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6457 If you wish to block multicasts to all
6458 link-local nodes (e.g. if you are not using router autoconfiguration and do not plan
6459 to have any services that multicast to the entire local network), you can block the
6460 link-local all-nodes multicast address (before accepting incoming ICMPv6): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6462 -A INPUT -d FF02::1 -j LOG --log-prefix "Link-local All-Nodes Multicast: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6463 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6464 However, if you're
6465 going to allow IPv4 compatible IPv6 addresses (of the form ::0.0.0.0/96), you should
6466 then consider logging the non-routable IPv4-compatible addresses: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6467 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6468 -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"/>
6469 -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"/>
6470 -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"/>
6471 -A INPUT -s ::255.0.0.0/104 -j LOG --log-prefix "IP BROADCAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6472 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6473 If you are not expecting to see any IPv4 (or IPv4-compatible) traffic
6474 on your network, consider logging it before it gets dropped: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6475 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6476 -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"/>
6477 -A INPUT -s 2002::/16 -j LOG --log-prefix "IPv6 6to4 ADDR: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6478 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6479 The following rule will log all traffic
6480 originating from a site-local address, which is deprecated address space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6481 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6482 -A INPUT -s FEC0::/10 -j LOG --log-prefix "SITE-LOCAL ADDRESS TRAFFIC: "</xccdf:description>
6483 </xccdf:Group>
6484 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.5">
6485 <xccdf:title xml:lang="en">Log and Drop All Other Packets</xccdf:title>
6486 <xccdf:description xml:lang="en">
6487 To log before dropping all packets that are not explicitly
6488 accepted by previous rules, change the final lines from <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6489 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6490 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6491 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6492 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6493 to <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6494 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6495 -A RH-Firewall-1-INPUT -j LOG <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6496 -A RH-Firewall-1-INPUT -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6497 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6498 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6499 The rule to log all dropped packets must be used
6500 with care. Chatty but otherwise non-malicious network protocols (e.g. NetBIOS) may
6501 result in voluminous logs; insertion of earlier rules to explicitly drop their packets
6502 without logging may be appropriate.</xccdf:description>
6503 </xccdf:Group>
6504 </xccdf:Group>
6505 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.4">
6506 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
6507 <xccdf:description xml:lang="en">
6508 Further strengthening, particularly as a result of
6509 customization to a particular environment, is possible for the iptables rules. Consider
6510 the following options, though their practicality depends on the network environment and
6511 usage scenario: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6512 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Restrict outgoing traffic. As shown above, the OUTPUT chain's default
6513 policy can be changed to DROP, and rules can be written to specifically allow only
6514 certain types of outbound traffic. Such a policy could prevent casual usage of insecure
6515 protocols such as ftp and telnet, or even disrupt spyware. However, it would still not
6516 prevent a sophisticated user or program from using a proxy to circumvent the intended
6517 effects, and many client programs even try to automatically tunnel through port 80 to
6518 avoid such restrictions.</xhtml:li><xhtml:li>SYN flood protection. SYN flood protection can be provided by
6519 iptables, but might run into limiting issues for servers. For example, the iplimit match
6520 can be used to limit simultaneous connections from a given host or class. Similarly, the
6521 recent match allows the firewall to deny additional connections from any host within a
6522 given period of time (e.g. more than 3 –state NEW connections on port 22 within a minute
6523 to prevent dictionary login attacks). <xhtml:br/>
6524 <xhtml:br/>
6525 A more precise option for DoS protection is using
6526 TCP SYN cookies. (See Section 2.5.1.2 for more information.)</xhtml:li></xhtml:ul></xccdf:description>
6527 </xccdf:Group>
6528 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.5">
6529 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6530 <xccdf:description xml:lang="en">
6531 More complex, restrictive, and powerful rulesets can be
6532 created, but this requires careful customization that relies on knowledge of the
6533 particular environment. The following resources provide more detailed information: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6534 <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>
6535 </xccdf:Group>
6536 </xccdf:Group>
6537 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6">
6538 <xccdf:title xml:lang="en">Secure Sockets Layer Support</xccdf:title>
6539 <xccdf:description xml:lang="en">
6540 The Secure Sockets Layer (SSL) protocol provides encrypted and
6541 authenticated network communications, and many network services include support for it.
6542 Using SSL is recommended, especially to avoid any plaintext transmission of sensitive
6543 data, even over a local network. The SSL implementation included with the system is called
6544 OpenSSL. Recent implementations of SSL may also be referred to as Transport Layer Security
6545 (TLS). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6546 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6547 SSL uses public key cryptography to provide authentication and encryption. Public
6548 key cryptography involves two keys, one called the public key and the other called the
6549 private key. These keys are mathematically related such that data encrypted with one key
6550 can only be decrypted by the other, and vice versa. As their names suggest, public keys
6551 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"/>
6552 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6553 SSL uses certificates, which are files that hold cryptographic data: a public key, and a
6554 signature of that public key. In SSL authentication, a server presents a client with its
6555 certificate as a means of demonstrating that it is who it claims it is. If everything goes
6556 correctly, the client can verify the server's certificate by determining that the
6557 signature inside the certificate could only have been generated by a third party whom the
6558 client trusts. This third party is called a Certificate Authority (CA). Each client system
6559 should also have certificates from trusted CAs, and the client uses these CA certificates
6560 to verify the authenticity of the server's certificate. After authenticating a server
6561 using its certificate and a CA certificate, SSL provides encryption by using the server
6562 certificate to securely negotiate a shared secret key. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6563 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6564 If your server must communicate
6565 using SSL with systems that might not be able to securely accept a new CA certificate
6566 prior to any SSL communication, then paying an established CA (whose certificates your
6567 clients already have) to sign your server certificates is recommended. The steps for doing
6568 this vary by vendor. Once the signed certificates have been obtained, configuration of the
6569 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"/>
6570 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6571 For setting up an internal network and encrypting local traffic, creating your own CA to
6572 sign SSL certificates can be appropriate. The major steps in this process are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6573 <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>
6574 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.1">
6575 <xccdf:title xml:lang="en">Create a CA to Sign Certificates</xccdf:title>
6576 <xccdf:description xml:lang="en">
6577 The following instructions apply to OpenSSL since it is
6578 included with the system, but creating a CA is possible with any standards-compliant SSL
6579 toolkit. The security of certificates depends on the security of the CA that signed
6580 them, so performing these steps on a secure machine is critical. The system used as a CA
6581 should be physically secure and not connected to any network. It should receive any
6582 certificate signing requests (CSRs) via removable media and output certificates onto
6583 removable media. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6585 The script /etc/pki/tls/misc/CA is included to assist in the process of
6586 setting up a CA. This script uses many settings in /etc/pki/tls/openssl.cnf. The
6587 settings in this file can be changed to suit your needs and allow easier selection of
6588 default settings, particularly in the [req distinguished name] section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6589 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6590 To create the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6591 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6592 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/misc <xhtml:br/>
6593 # ./CA -newca <xhtml:br/></xhtml:code>
6594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6595 <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
6596 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
6597 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
6598 to write the certificate.</xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6600 This step performs the following actions:
6601 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>creates the directory
6602 /etc/pki/CA (by default), which contains files necessary for the operation of a
6603 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
6604 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
6605 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"/>
6606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6607 When the CA later signs a server certificate using its private
6608 key, it means that it is vouching for the authenticity of that server. A client can then
6609 use the CA's certificate (which contains its public key) to verify the authenticity of
6610 the server certificate. To accomplish this, it is necessary to distribute the CA
6611 certificate to any clients as covered in Section 2.5.6.3.</xccdf:description>
6612 </xccdf:Group>
6613 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.2">
6614 <xccdf:title xml:lang="en">Create SSL Certificates for Servers</xccdf:title>
6615 <xccdf:description xml:lang="en">
6616 Creating an SSL certificate for a server involves the following steps: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6617 <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
6618 certificate authority (CA) to create the server certificate. If a CA has been set up as
6619 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>
6620 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6621 Instructions on how to generate and sign SSL certificates are provided for the following
6622 common services:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6623 <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>
6624 </xccdf:Group>
6625 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3">
6626 <xccdf:title xml:lang="en">Enable Client Support</xccdf:title>
6627 <xccdf:description xml:lang="en">
6628 The system ships with certificates from well-known commercial
6629 CAs. If your server certificates were signed by one of these established CAs, then this
6630 step is not necessary since the clients should include the CA certificate already. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6632 If your servers use certificates signed by your own CA, some user applications will warn
6633 that the server's certificate cannot be verified because the CA is not recognized. Other
6634 applications may simply fail to accept the certificate and refuse to operate, or
6635 continue operating without ever having properly verified the server certificate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6636 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6637 To avoid this warning, and properly authenticate the servers, your CA certificate must be
6638 exported to every application on every client system that will be connecting to an
6639 SSL-enabled server.</xccdf:description>
6640 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.1">
6641 <xccdf:title xml:lang="en">Adding a Trusted CA for Firefox</xccdf:title>
6642 <xccdf:description xml:lang="en">
6643 Firefox needs to have a certificate from the CA that signed
6644 the web server's certificate, so that it can authenticate the web server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6645 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6646 To import a new CA certificate into Firefox 1.5:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6647 <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>
6648 </xccdf:Group>
6649 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.2">
6650 <xccdf:title xml:lang="en">Adding a Trusted CA for Thunderbird</xccdf:title>
6651 <xccdf:description xml:lang="en">
6652 Thunderbird needs to have a certificate from the CA that
6653 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"/>
6654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6655 To import a new CA certificate into Thunderbird 2: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6656 <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
6657 be used to identify web sites, e-mail users, and software developers and trust it for
6658 each accordingly.</xhtml:li></xhtml:ol></xccdf:description>
6659 </xccdf:Group>
6660 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.3">
6661 <xccdf:title xml:lang="en">Adding a Trusted CA for Evolution</xccdf:title>
6662 <xccdf:description xml:lang="en">
6663 The Evolution e-mail client needs to have a certificate from
6664 the CA that signed the mail server's certificates, so that it can authenticate the
6665 mail server(s). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6666 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6667 To import a new CA certificate into Evolution: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6668 <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>
6669 </xccdf:Group>
6670 </xccdf:Group>
6671 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.4">
6672 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6673 <xccdf:description xml:lang="en">
6674 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6675 <xhtml:li>The OpenSSL Project home page at http://www.openssl.org</xhtml:li>
6676 <xhtml:li>The openssl(1) man page</xhtml:li>
6677 <xhtml:li>Jeremy Mates's how-to: http://sial.org/howto/openssl</xhtml:li>
6678 </xhtml:ul>
6679 </xccdf:description>
6680 </xccdf:Group>
6681 </xccdf:Group>
6682 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7">
6683 <xccdf:title xml:lang="en">Uncommon Network Protocols</xccdf:title>
6684 <xccdf:description xml:lang="en">
6685 The system includes support for several network protocols which are not commonly used. Although security vul-
6686 nerabilities in kernel networking code are not frequently discovered, the consequences can be dramatic. Ensuring
6687 uncommon network protocols are disabled reduces the system’s risk to attacks targeted at its implementation of
6688 those protocols.</xccdf:description>
6689 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.1">
6690 <xccdf:title xml:lang="en">Disable Support for DCCP</xccdf:title>
6691 <xccdf:description xml:lang="en">
6692 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"/>
6693 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6694 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install dccp /bin/true<xhtml:br/></xhtml:code>
6695 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6696 The Datagram Congestion Control Protocol (DCCP) is a relatively new transport layer protocol, designed to
6697 support streaming media and telephony.</xccdf:description>
6698 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false" severity="medium" weight="10.0">
6699 <xccdf:title>Disable Support for DCCP</xccdf:title>
6700 <xccdf:description>Support for DCCP should be disabled.</xccdf:description>
6701 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6702 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6703 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201476"/>
6704 </xccdf:check>
6705 </xccdf:Rule>
6706 </xccdf:Group>
6707 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.2">
6708 <xccdf:title xml:lang="en">Disable Support for SCTP</xccdf:title>
6709 <xccdf:description xml:lang="en">
6710 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"/>
6711 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6712 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install sctp /bin/true<xhtml:br/></xhtml:code>
6713 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6714 The Stream Control Transmission Protocol (SCTP) is a transport layer protocol, designed to support the idea
6715 of message-oriented communication, with several streams of messages within one connection.</xccdf:description>
6716 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false" severity="medium" weight="10.0">
6717 <xccdf:title>Disable Support for SCTP</xccdf:title>
6718 <xccdf:description>Support for SCTP should be disabled.</xccdf:description>
6719 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6720 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6721 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201477"/>
6722 </xccdf:check>
6723 </xccdf:Rule>
6724 </xccdf:Group>
6725 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.3">
6726 <xccdf:title xml:lang="en">Disable Support for RDS</xccdf:title>
6727 <xccdf:description xml:lang="en">
6728 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"/>
6729 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6730 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
6731 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6732 The Reliable Datagram Sockets (RDS) protocol is a transport layer protocol designed to provide reliable high-
6733 bandwidth, low-latency communications between nodes in a cluster.</xccdf:description>
6734 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false" severity="medium" weight="10.0">
6735 <xccdf:title>Disable Support for RDS</xccdf:title>
6736 <xccdf:description>Support for RDS should be disabled.</xccdf:description>
6737 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6738 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6739 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201478"/>
6740 </xccdf:check>
6741 </xccdf:Rule>
6742 </xccdf:Group>
6743 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.4">
6744 <xccdf:title xml:lang="en">Disable Support for TIPC</xccdf:title>
6745 <xccdf:description xml:lang="en">
6746 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"/>
6747 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6748 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
6749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6750 The Transparent Inter-Process Communication (TIPC) protocol is designed to provide communications between
6751 nodes in a cluster..</xccdf:description>
6752 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false" severity="medium" weight="10.0">
6753 <xccdf:title>Disable Support for TIPC</xccdf:title>
6754 <xccdf:description>Support for TIPC should be disabled.</xccdf:description>
6755 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
6756 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6757 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201479"/>
6758 </xccdf:check>
6759 </xccdf:Rule>
6760 </xccdf:Group>
6761 </xccdf:Group>
6762 </xccdf:Group>
6763 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6">
6764 <xccdf:title xml:lang="en">Logging and Auditing</xccdf:title>
6765 <xccdf:description xml:lang="en">
6766 Successful local or network attacks on systems do not necessarily
6767 leave clear evidence of what happened. It is necessary to build a configuration in advance
6768 that collects this evidence, both in order to determine that something anomalous has
6769 occurred, and in order to respond appropriately. In addition, a well-configured logging and
6770 audit infrastructure will show evidence of any misconfiguration which might leave the system
6771 vulnerable to attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6772 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6773 Logging and auditing take different approaches to collecting data. A
6774 logging infrastructure provides a framework for individual programs running on the system to
6775 report whatever events are considered interesting: the sshd program may report each
6776 successful or failed login attempt, while the sendmail program may report each time it sends
6777 an e-mail on behalf of a local or remote user. An auditing infrastructure, on the other
6778 hand, reports each instance of certain low-level events, such as entry to the setuid system
6779 call, regardless of which program caused the event to occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6780 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6781 Auditing has the advantage of
6782 being more comprehensive, but the disadvantage of reporting a large amount of information,
6783 most of which is uninteresting. Logging (particularly using a standard framework like
6784 syslog) has the advantage of being compatible with a wide variety of client applications,
6785 and of reporting only information considered important by each application, but the
6786 disadvantage that the information reported is not consistent between applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6787 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6788 A robust
6789 infrastructure will perform both logging and auditing, and will use configurable automated
6790 methods of summarizing the reported data, so that system administrators can remove or
6791 compress reports of events known to be uninteresting in favor of alert monitoring for events
6792 known to be interesting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6793 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6794 This section discusses how to configure logging, log monitoring,
6795 and auditing, using tools included with RHEL5. It is recommended that syslog be used for
6796 logging, with logwatch providing summarization, and that auditd be used for auditing, with
6797 aureport providing summarization.</xccdf:description>
6798 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1">
6799 <xccdf:title xml:lang="en">Configure Syslog</xccdf:title>
6800 <xccdf:description xml:lang="en">
6801 Syslog has been the default Unix logging mechanism for many years. This section
6802 discusses how to configure syslog for best effect, and how to use tools provided with the
6803 system to maintain and monitor your logs.</xccdf:description>
6804 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.a" selected="false" severity="medium" weight="10.0">
6805 <xccdf:title>Configure Rsyslog</xccdf:title>
6806 <xccdf:description>The rsyslog service should be enabled.</xccdf:description>
6807 <xccdf:ident system="http://cce.mitre.org">CCE-3679-8</xccdf:ident>
6808 <xccdf:fix>chkconfig rsyslog on</xccdf:fix>
6809 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6810 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20148"/>
6811 </xccdf:check>
6812 </xccdf:Rule>
6813 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.1">
6814 <xccdf:title xml:lang="en">Ensure All Important Messages are Captured</xccdf:title>
6815 <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
6816 following lines are appropriate for your environment: <xhtml:br/>
6817 <xhtml:br/>
6818 auth,info.* /var/log/messages<xhtml:br/>
6819 kern.* /var/log/kern.log <xhtml:br/>
6820 daemon.* /var/log/daemon.log <xhtml:br/>
6821 syslog.* /var/log/syslog<xhtml:br/>
6822 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"/>
6823 When a message is sent to syslog for logging, it is sent with a facility name (such as
6824 mail, auth, or local2), and a priority (such as debug, notice, or emerg). Each line of
6825 syslog's configuration file is a directive which specifies a set of facility/priority
6826 pairs, and then gives a filename or host to which log messages of matching types should
6827 be sent. In order for a message to match a type, the facility must match, and the
6828 priority must be the priority named in the rule or any higher priority. (See
6829 syslog.conf(5) for an ordered list of priorities.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6830 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6831 Older versions of syslog mandated a
6832 very restrictive format for the syslog.conf file. However, the version of syslog shipped
6833 with RHEL5 allows any sort of whitespace (spaces or tabs, not just tabs) to separate the
6834 selection criteria from the message disposition, and allows the use of facility.* as a
6835 wildcard matching a given facility at any priority. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6836 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6837 The default RHEL5 syslog
6838 configuration stores the facilities authpriv, cron, and mail in named logs. This guide
6839 describes the implementation of the following configuration, but any configuration which
6840 stores the important facilities and is usable by the administrators will suffice:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6841 <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
6842 easy to access information about messages from those facilities. </xhtml:li><xhtml:li>Restrict the
6843 information stored in /var/log/messages to only the facilities auth and user, and store
6844 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
6845 called /var/log/ unused.log. If any messages are logged to this file at some future
6846 point, this may be an indication that an unknown service is running, and should be
6847 investigated. In addition, if news and uucp are not in use at this site, remove the
6848 directive from the default syslog.conf which stores those facilities. </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6849 Making use of the
6850 local facilities is also recommended. Specific configuration is beyond the scope of this
6851 guide, but applications such as SSH can easily be configured to log to a local facility
6852 which is not being used for anything else. If this is done, reconfigure /etc/syslog.conf
6853 to store this facility in an appropriate named log or in /var/log/messages, rather than
6854 in /var/log/unused.log.</xccdf:description>
6855 </xccdf:Group>
6856 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.2">
6857 <xccdf:title xml:lang="en">Confirm Existence and Permissions of System Log Files</xccdf:title>
6858 <xccdf:description xml:lang="en">
6859 For each log file LOGFILE referenced in /etc/syslog.conf, run
6860 the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6862 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># touch LOGFILE<xhtml:br/>
6863 # chown root:root LOGFILE <xhtml:br/>
6864 # chmod 0600 LOGFILE <xhtml:br/></xhtml:code>
6865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6866 Syslog will
6867 refuse to log to a file which does not exist. All messages intended for that file will
6868 be silently discarded, so it is important to verify that all log files exist. Some logs
6869 may contain sensitive information, so it is better to restrict permissions so that only
6870 administrative users can read or write logfiles.</xccdf:description>
6871 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.a" operator="equals" type="string">
6872 <xccdf:title>User who owns log files</xccdf:title>
6873 <xccdf:description xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
6874 <xccdf:question xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
6875 <xccdf:value>root</xccdf:value>
6876 <xccdf:value selector="root">root</xccdf:value>
6877 </xccdf:Value>
6878 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.b" operator="equals" type="string">
6879 <xccdf:title>group who owns log files</xccdf:title>
6880 <xccdf:description xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
6881 <xccdf:question xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
6882 <xccdf:value>root</xccdf:value>
6883 <xccdf:value selector="root">root</xccdf:value>
6884 </xccdf:Value>
6885 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.c" operator="equals" type="string">
6886 <xccdf:title>File permissions on logfiles</xccdf:title>
6887 <xccdf:description xml:lang="en">Specify file permissions of all logfiles specified in /etc/syslog.conf.</xccdf:description>
6888 <xccdf:question xml:lang="en">Specify permissions of all logfiles specified in /etc/syslog.conf</xccdf:question>
6889 <xccdf:value>110000000</xccdf:value>
6890 <xccdf:value selector="400">100000000</xccdf:value>
6891 <xccdf:value selector="600">110000000</xccdf:value>
6892 <xccdf:value selector="700">111000000</xccdf:value>
6893 </xccdf:Value>
6894 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.a" selected="false" severity="medium" weight="10.0">
6895 <xccdf:title>Confirm user that owns System Log Files</xccdf:title>
6896 <xccdf:description>All syslog log files should be owned by root.</xccdf:description>
6897 <xccdf:ident system="http://cce.mitre.org">CCE-4366-1</xccdf:ident>
6898 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
6899 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6900 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20149" value-id="xccdf_cdf_value_var-2.6.1.2.a"/>
6901 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20149"/>
6902 </xccdf:check>
6903 </xccdf:Rule>
6904 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.b" selected="false" severity="medium" weight="10.0">
6905 <xccdf:title>Confirm group that owns System Log Files</xccdf:title>
6906 <xccdf:description>All syslog log files should be group owned by root.</xccdf:description>
6907 <xccdf:ident system="http://cce.mitre.org">CCE-3701-0</xccdf:ident>
6908 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
6909 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6910 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20150" value-id="xccdf_cdf_value_var-2.6.1.2.b"/>
6911 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20150"/>
6912 </xccdf:check>
6913 </xccdf:Rule>
6914 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.c" selected="false" severity="medium" weight="10.0">
6915 <xccdf:title>Confirm Permissions of System Log Files</xccdf:title>
6916 <xccdf:description>File permissions for all syslog log files should be set correctly.</xccdf:description>
6917 <xccdf:ident system="http://cce.mitre.org">CCE-4233-3</xccdf:ident>
6918 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
6919 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6920 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20151" value-id="xccdf_cdf_value_var-2.6.1.2.c"/>
6921 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20151"/>
6922 </xccdf:check>
6923 </xccdf:Rule>
6924 </xccdf:Group>
6925 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.3">
6926 <xccdf:title xml:lang="en">Send Logs to a Remote Loghost</xccdf:title>
6927 <xccdf:description xml:lang="en">
6928 Edit /etc/syslog.conf. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6929 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6930 *.* @loghost.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6931 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6932 where loghost.example.com is the name of your central log server.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6933 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6934 If system logs are to be useful in detecting malicious activities, it is necessary to
6935 send logs to a remote server. An intruder who has compromised the root account on a
6936 machine may delete the log entries which indicate that the system was attacked before
6937 they are seen by an administrator. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6938 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6939 However, it is recommended that logs be stored on the
6940 local host in addition to being sent to the loghost, because syslog uses the UDP
6941 protocol to send messages over a network. UDP does not guarantee reliable delivery, and
6942 moderately busy sites will lose log messages occasionally, especially in periods of high
6943 traffic which may be the result of an attack. In addition, remote syslog messages are
6944 not authenticated in any way, so it is easy for an attacker to introduce spurious
6945 messages to the central log server. Also, some problems cause loss of network
6946 connectivity, which will prevent the sending of messages to the central server. For all
6947 of these reasons, it is better to store log messages both centrally and on each host, so
6948 that they can be correlated if necessary.</xccdf:description>
6949 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false" severity="medium" weight="10.0">
6950 <xccdf:title>Send Logs to a Remote Loghost</xccdf:title>
6951 <xccdf:description>Syslog logs should be sent to a remote loghost</xccdf:description>
6952 <xccdf:ident system="http://cce.mitre.org">CCE-4260-6</xccdf:ident>
6953 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
6954 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6955 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20152"/>
6956 </xccdf:check>
6957 </xccdf:Rule>
6958 </xccdf:Group>
6959 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.4">
6960 <xccdf:title xml:lang="en">Enable syslogd to Accept Remote Messages on Loghosts Only</xccdf:title>
6961 <xccdf:description xml:lang="en">
6962 Is this machine the central log server for your organization?
6963 If so, edit the file /etc/sysconfig/syslog. Add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6965 SYSLOGD_OPTIONS="-m 0 -r -s example.com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6966 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6967 where example.com is the name of your domain.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6968 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6969 If the machine is not a log server, edit /etc/sysconfig/syslog, and instead add or
6970 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6971 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6972 SYSLOGD_OPTIONS="-m 0" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6973 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6974 By default, RHEL5's syslog does not listen over
6975 the network for log messages. The -r flag enables syslogd to listen over a network, and
6976 should be used only if necessary. The -s example.com flag strips the domain name
6977 example.com from each sending machine's hostname before logging messages from that host,
6978 to reduce the amount of redundant information placed in log files. See the syslogd(8)
6979 man page for further information.</xccdf:description>
6980 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false" severity="medium" weight="10.0">
6981 <xccdf:title>Disable syslogd from Accepting Remote Messages on Loghosts Only</xccdf:title>
6982 <xccdf:description>Syslogd should reject remote messages</xccdf:description>
6983 <xccdf:ident system="http://cce.mitre.org">CCE-3382-9</xccdf:ident>
6984 <xccdf:fixtext>(1) via /etc/sysconfig/syslog</xccdf:fixtext>
6985 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6986 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20153"/>
6987 </xccdf:check>
6988 </xccdf:Rule>
6989 </xccdf:Group>
6990 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.5">
6991 <xccdf:title xml:lang="en">Ensure All Logs are Rotated by logrotate</xccdf:title>
6992 <xccdf:description xml:lang="en">
6993 Edit the file /etc/logrotate.d/syslog. Find the first line,
6994 which should look like this (wrapped for clarity): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6995 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6996 /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler \
6997 /var/log/boot.log /var/log/cron { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6999 Edit this line so
7000 that it contains a one-space-separated listing of each log file referenced in
7001 /etc/syslog.conf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7002 All logs in use on a system must be rotated regularly, or the log
7003 files will consume disk space over time, eventually interfering with system operation.
7004 The file /etc/logrotate.d/syslog is the configuration file used by the logrotate program
7005 to maintain all log files written by syslog. By default, it rotates logs weekly and
7006 stores four archival copies of each log. These settings can be modified by editing
7007 /etc/logrotate.conf, but the defaults are sufficient for purposes of this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7008 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7009 Note
7010 that logrotate is run nightly by the cron job /etc/cron.daily/logrotate. If particularly
7011 active logs need to be rotated more often than once a day, some other mechanism must be
7012 used.</xccdf:description>
7013 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false" severity="medium" weight="10.0">
7014 <xccdf:title>Ensure All Logs are Rotated by logrotate</xccdf:title>
7015 <xccdf:description>The logrotate (syslog rotater) service should be enabled.</xccdf:description>
7016 <xccdf:ident system="http://cce.mitre.org">CCE-4182-2</xccdf:ident>
7017 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7018 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7019 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20154"/>
7020 </xccdf:check>
7021 </xccdf:Rule>
7022 </xccdf:Group>
7023 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6">
7024 <xccdf:title xml:lang="en">Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7025 <xccdf:description xml:lang="en">
7026 The system includes an extensible program called Logwatch for
7027 reporting on unusual items in syslog. Logwatch is valuable because it provides a parser
7028 for the syslog entry format and a number of signatures for types of lines which are
7029 considered to be mundane or noteworthy. Logwatch has a number of downsides: the
7030 signatures can be inaccurate and are not always categorized consistently, and you must
7031 be able to program in Perl in order to customize the signature database. However, it is
7032 recommended that all Linux sites which do not have time to deploy a third-party log
7033 monitoring application run Logwatch in its default configuration. This provides some
7034 useful information about system activity in exchange for very little administrator
7035 effort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7037 This guide recommends that Logwatch be run only on the central logserver, if
7038 your site has one, in order to focus administrator attention by sending all daily logs
7039 in a single e-mail.</xccdf:description>
7040 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false" severity="medium" weight="10.0">
7041 <xccdf:title>Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7042 <xccdf:description>The logwatch service should be enabled</xccdf:description>
7043 <xccdf:ident system="http://cce.mitre.org">CCE-4323-2</xccdf:ident>
7044 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7045 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7046 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20155"/>
7047 </xccdf:check>
7048 </xccdf:Rule>
7049 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.1">
7050 <xccdf:title xml:lang="en">Configure Logwatch on the Central Log Server</xccdf:title>
7051 <xccdf:description xml:lang="en">
7052 Is this machine the central log server? If so, edit the file
7053 /etc/logwatch/conf/logwatch.conf. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7054 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7055 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">HostLimit = no<xhtml:br/>
7056 SplitHosts = yes <xhtml:br/>
7057 MultiEmail = no <xhtml:br/></xhtml:code>
7058 Service = -zz-disk_space <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7059 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7060 Ensure that logwatch.pl is run nightly from cron. (This is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7062 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/cron.daily <xhtml:br/>
7063 # ln -s /usr/share/logwatch/scripts/logwatch.pl 0logwatch <xhtml:br/></xhtml:code>
7064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7065 On a central logserver, you want
7066 Logwatch to summarize all syslog entries, including those which did not originate on
7067 the logserver itself. The HostLimit setting tells Logwatch to report on all hosts, not
7068 just the one on which it is running. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7069 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7070 If SplitHosts is set, Logwatch will separate
7071 entries by hostname. This makes the report longer but significantly more usable. If it
7072 is not set, then Logwatch will not report which host generated a given log entry, and
7073 that information is almost always necessary. If MultiEmail is set, then each host's
7074 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"/>
7075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7076 The Service directive -zz-disk space tells Logwatch not to run the zz-disk space
7077 report, which reports on free disk space. Since all log monitoring is being done on
7078 the central logserver, the disk space listing will always be that of the logserver,
7079 regardless of which host is being monitored. This is confusing, so disable that
7080 service. Note that this does mean that Logwatch will not monitor disk usage
7081 information. Many workarounds are possible, such as running df on each host daily via
7082 cron and sending the output to syslog so that it will be reported to the logserver.</xccdf:description>
7083 </xccdf:Group>
7084 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.2">
7085 <xccdf:title xml:lang="en">Disable Logwatch on Clients if a Logserver Exists</xccdf:title>
7086 <xccdf:description xml:lang="en">
7087 Does your site have a central logserver which has been
7088 configured to report on logs received from all systems? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7090 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/cron.daily/0logwatch <xhtml:br/></xhtml:code>
7091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7092 If no logserver exists, it will be necessary for each
7093 machine to run Logwatch individually. Using a central logserver provides the security
7094 and reliability benefits discussed earlier, and also makes monitoring logs easier and
7095 less time-intensive for administrators.</xccdf:description>
7096 </xccdf:Group>
7097 </xccdf:Group>
7098 </xccdf:Group>
7099 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2">
7100 <xccdf:title xml:lang="en">System Accounting with auditd</xccdf:title>
7101 <xccdf:description xml:lang="en">
7102 The audit service is the current Linux recommendation for
7103 kernel-level auditing. By default, the service audits about SELinux AVC denials and
7104 certain types of security-relevant events such as system logins, account modifications,
7105 and authentication events performed by programs such as sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7107 Under its default
7108 configuration, auditd has modest disk space requirements, and should not noticeably impact
7109 system performance. The audit service, in its default configuration, is strongly
7110 recommended for all sites, regardless of whether they are running SELinux. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7111 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7112 DoD or federal networks often have substantial auditing requirements and auditd can be
7113 configured to meet these requirements.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7114 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7115 Typical DoD requirements include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7116 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7117 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Ensure Auditing is Configured to Collect Certain System Events
7118 <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>
7119 </xhtml:li><xhtml:li>Ensure the auditing software can record the following for each audit event:
7120 <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
7121 name of the object, and in MLS systems, the objects security level.</xhtml:li></xhtml:ul>
7122 </xhtml:li><xhtml:li>Ensure files are backed up no less than weekly onto a different system than the system being audited or
7123 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
7124 rules.</xhtml:li><xhtml:li>Ensure that the audit data files have permissions of 640, or more restrictive.</xhtml:li></xhtml:ul>
7125 </xccdf:description>
7126 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.1">
7127 <xccdf:title xml:lang="en">Enable the auditd Service</xccdf:title>
7128 <xccdf:description xml:lang="en">
7129 Ensure that the auditd service is enabled (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7130 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7131 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig auditd on <xhtml:br/></xhtml:code>
7132 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7133 By default, auditd logs only SELinux denials, which are
7134 helpful for debugging SELinux and discovering intrusion attempts, and certain types of
7135 security events, such as modifications to user accounts (useradd, passwd, etc), login
7136 events, and calls to sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7137 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7138 Data is stored in /var/log/audit/audit.log. By default,
7139 auditd rotates 4 logs by size (5MB), retaining a maximum of 20MB of data in total, and
7140 refuses to write entries when the disk is too full. This minimizes the risk of audit
7141 data filling its partition and impacting other services. However, it is possible to lose
7142 audit data if the system is busy.</xccdf:description>
7143 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.1.a" selected="false" severity="medium" weight="10.0">
7144 <xccdf:title>Enable the auditd Service</xccdf:title>
7145 <xccdf:description>The auditd service should be enabled.</xccdf:description>
7146 <xccdf:ident system="http://cce.mitre.org">CCE-4292-9</xccdf:ident>
7147 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7148 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7149 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20156"/>
7150 </xccdf:check>
7151 </xccdf:Rule>
7152 </xccdf:Group>
7153 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.2">
7154 <xccdf:title xml:lang="en">Configure auditd Data Retention</xccdf:title>
7155 <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
7156 file. Edit the file /etc/audit/auditd.conf. Add or modify the following line:<xhtml:br/>
7157 <xhtml:br/>
7158 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
7159 or logical volume during system installation time. The partition should be larger than the maximum
7160 space which auditd will ever use, which is the maximum size of each log file (max log file) multiplied
7161 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
7162 to halt the system when disk space for auditing runs low. Edit /etc/audit/auditd.conf, and add or
7163 correct the following lines:<xhtml:br/>
7164 <xhtml:br/>
7165 space_left_action = email<xhtml:br/>
7166 action_mail_acct = root<xhtml:br/>
7167 admin_space_left_action = halt<xhtml:br/></xhtml:li></xhtml:ul>
7168 The default action to take when the logs reach their maximum size is to rotate the log files, discarding the
7169 oldest one. If it is more important to retain all possible auditing information, even if that opens the possibility
7170 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"/>
7171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7172 max_log_file_action = keep_logs<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7173 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7174 By default, auditd retains 4 log files of size 5Mb apiece. For a busy system or a system which is thoroughly
7175 auditing system activity, this is likely to be insufficient.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7176 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7177 The log file size needed will depend heavily on what types of events are being audited. First configure auditing
7178 to log all the events of interest. Then monitor the log size manually for awhile to determine what file size will
7179 allow you to keep the required data for the correct time period.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7180 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7181 Using a dedicated partition for /var/log/audit prevents the auditd logs from disrupting system functionality if
7182 they fill, and, more importantly, prevents other activity in /var from filling the partition and stopping the audit
7183 trail. (The audit logs are size-limited and therefore unlikely to grow without bound unless configured to do so.)
7184 Some machines may have requirements that no actions occur which cannot be audited. If this is the case, then
7185 auditd can be configured to halt the machine if it runs out of space.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7186 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7187 Note: Since older logs are rotated, configuring auditd this way does not prevent older logs from being rotated
7188 away before they can be viewed.
7189 </xccdf:description>
7190 <xccdf:warning xml:lang="en">If your system is configured to halt when logging cannot be performed, make sure this can never
7191 happen under normal circumstances! Ensure that /var/ log/ audit is on its own partition, and
7192 that this partition is larger than the maximum amount of data auditd will retain normally.</xccdf:warning>
7193 </xccdf:Group>
7194 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.3">
7195 <xccdf:title xml:lang="en">Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7196 <xccdf:description xml:lang="en">
7197 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the
7198 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"/>
7199 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7200 kernel /vmlinuz-version ro vga=ext root=/dev/VolGroup00/LogVol00 rhgb quiet audit=1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7201 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7202 Each process on the system carries an ”auditable” flag which indicates whether its activities can be audited.
7203 Although auditd takes care of enabling this for all processes which launch after it does, adding the kernel
7204 argument ensures that it is set for every process during boot.
7205 </xccdf:description>
7206 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false" severity="medium" weight="10.0">
7207 <xccdf:title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7208 <xccdf:description>
7209 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the argument audit=1
7210 to the kernel line in /etc/grub.conf, in the manner below:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7211 <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>
7212 <xccdf:fixtext>(1) via /etc/grub.conf add audit=1 to kernel line</xccdf:fixtext>
7213 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7214 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20157"/>
7215 </xccdf:check>
7216 </xccdf:Rule>
7217 </xccdf:Group>
7218 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4">
7219 <xccdf:title xml:lang="en">Configure auditd Rules for Comprehensive Auditing</xccdf:title>
7220 <xccdf:description xml:lang="en">
7221 The auditd program can perform comprehensive monitoring of system activity. This section describes rec-
7222 ommended configuration settings for comprehensive auditing, but a full description of the auditing system’s
7223 capabilities is beyond the scope of this guide. The mailing list [email protected] may be a good source
7224 of further information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7226 The audit subsystem supports extensive collection of events, including:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7227 <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"/>
7228 Auditing rules are controlled in the file /etc/audit/audit.rules. Add rules to it to meet the auditing re-
7229 quirements for your organization. Each line in /etc/audit/audit.rules represents a series of arguments that
7230 can be passed to auditctl and can be individually tested as such. See documentation in /usr/share/doc/
7231 audit-version and in the related man pages for more details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7232 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7233 Recommended audit rules are provided in /usr/share/doc/audit-version /stig.rules. In order to activate
7234 those rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7235 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7236 <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>
7237 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7238 and then edit /etc/audit/audit.rules and comment out the lines containing arch= which are not appropriate
7239 for your system’s architecture. Then review and understand the following rules, ensuring rules are activated as
7240 needed for the appropriate architecture.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7241 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7242 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"/>
7243 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7244 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service auditd restart</xhtml:code></xccdf:description>
7245 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.1">
7246 <xccdf:title xml:lang="en">Records Events that Modify Date and Time Information</xccdf:title>
7247 <xccdf:description xml:lang="en">
7248 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7249 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7250 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7251 -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"/>
7252 -a always,exit -F arch=ARCH -S clock_settime -k time-change<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7253 -w /etc/localtime -p wa -k time-change
7254 </xccdf:description>
7255 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false" severity="medium" weight="10.0">
7256 <xccdf:title>Records Events that Modify Date and Time Information</xccdf:title>
7257 <xccdf:description>Audit rules about time</xccdf:description>
7258 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7259 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7260 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7261 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201575"/>
7262 </xccdf:check>
7263 </xccdf:Rule>
7264 </xccdf:Group>
7265 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.2">
7266 <xccdf:title xml:lang="en">Record Events that Modify User/Group Information</xccdf:title>
7267 <xccdf:description xml:lang="en">
7268 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"/>
7269 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7270 -w /etc/group -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7271 -w /etc/passwd -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7272 -w /etc/gshadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7273 -w /etc/shadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7274 -w /etc/security/opasswd -p wa -k identity
7275 </xccdf:description>
7276 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false" severity="medium" weight="10.0">
7277 <xccdf:title>Record Events that Modify User/Group Information</xccdf:title>
7278 <xccdf:description>Audit rules about User/Group Information</xccdf:description>
7279 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7280 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7281 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7282 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20158"/>
7283 </xccdf:check>
7284 </xccdf:Rule>
7285 </xccdf:Group>
7286 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.3">
7287 <xccdf:title xml:lang="en">Record Events that Modify the System’s Network Environment</xccdf:title>
7288 <xccdf:description xml:lang="en">
7289 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7290 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7291 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7292 -a exit,always -F arch=ARCH -S sethostname -S setdomainname -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7293 -w /etc/issue -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7294 -w /etc/issue.net -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7295 -w /etc/hosts -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7296 -w /etc/sysconfig/network -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7297 </xccdf:description>
7298 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false" severity="medium" weight="10.0">
7299 <xccdf:title>Record Events that Modify the System’s Network Environment</xccdf:title>
7300 <xccdf:description>Audit rules about the System’s Network Environment</xccdf:description>
7301 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7302 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7303 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7304 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20159"/>
7305 </xccdf:check>
7306 </xccdf:Rule>
7307 </xccdf:Group>
7308 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.4">
7309 <xccdf:title xml:lang="en">Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7310 <xccdf:description xml:lang="en">
7311 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7312 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7313 -w /etc/selinux/ -p wa -k MAC-policy
7314 </xccdf:description>
7315 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false" severity="medium" weight="10.0">
7316 <xccdf:title>Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7317 <xccdf:description>Audit rules about the System’s Mandatory Access Controls</xccdf:description>
7318 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7319 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7320 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7321 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20160"/>
7322 </xccdf:check>
7323 </xccdf:Rule>
7324 </xccdf:Group>
7325 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.5">
7326 <xccdf:title xml:lang="en">Ensure auditd Collects Logon and Logout Events</xccdf:title>
7327 <xccdf:description xml:lang="en">
7328 At a minimum the audit system should collect login info for all users and root. Add the following to
7329 /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7330 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7331 -w /var/log/faillog -p wa -k logins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7332 -w /var/log/lastlog -p wa -k logins
7333 </xccdf:description>
7334 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false" severity="medium" weight="10.0">
7335 <xccdf:title>Ensure auditd Collects Logon and Logout Events</xccdf:title>
7336 <xccdf:description>Audit rules about the Logon and Logout Events</xccdf:description>
7337 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7338 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7339 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7340 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20161"/>
7341 </xccdf:check>
7342 </xccdf:Rule>
7343 </xccdf:Group>
7344 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.6">
7345 <xccdf:title xml:lang="en">Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7346 <xccdf:description xml:lang="en">
7347 At a minimum the audit system should collect process information for all users and root. Add the following
7348 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7350 -w /var/run/utmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7351 -w /var/log/btmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7352 -w /var/log/wtmp -p wa -k session
7353 </xccdf:description>
7354 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false" severity="medium" weight="10.0">
7355 <xccdf:title>Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7356 <xccdf:description>Audit rules about the Process and Session Initiation Information</xccdf:description>
7357 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7358 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7359 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7360 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20162"/>
7361 </xccdf:check>
7362 </xccdf:Rule>
7363 </xccdf:Group>
7364 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.7">
7365 <xccdf:title xml:lang="en">Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7366 <xccdf:description xml:lang="en">
7367 At a minimum the audit system should collect file permission changes for all users and root. Add the
7368 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"/>
7369 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7370 -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"/>
7371 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7372 -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"/>
7373 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7374 -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"/>
7375 lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod
7376 </xccdf:description>
7377 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false" severity="medium" weight="10.0">
7378 <xccdf:title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7379 <xccdf:description>Audit rules about the Discretionary Access Control Permission Modification Events</xccdf:description>
7380 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7381 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7382 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7383 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20163"/>
7384 </xccdf:check>
7385 </xccdf:Rule>
7386 </xccdf:Group>
7387 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.8">
7388 <xccdf:title xml:lang="en">Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7389 <xccdf:description xml:lang="en">
7390 At a minimum the audit system should collect unauthorized file accesses for all users and root. Add the
7391 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"/>
7392 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7393 -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"/>
7394 -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7395 -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"/>
7396 -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access
7397 </xccdf:description>
7398 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false" severity="medium" weight="10.0">
7399 <xccdf:title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7400 <xccdf:description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful)</xccdf:description>
7401 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7402 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7403 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7404 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20164"/>
7405 </xccdf:check>
7406 </xccdf:Rule>
7407 </xccdf:Group>
7408 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.9">
7409 <xccdf:title xml:lang="en">Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7410 <xccdf:description xml:lang="en">
7411 At a minimum the audit system should collect the execution of privileged commands for all users and root.
7412 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7413 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7414 -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"/>
7415 -k privileged
7416 </xccdf:description>
7417 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false" severity="medium" weight="10.0">
7418 <xccdf:title>Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7419 <xccdf:description>Audit rules about the Information on the Use of Privileged Commands</xccdf:description>
7420 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7421 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7422 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7423 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20165"/>
7424 </xccdf:check>
7425 </xccdf:Rule>
7426 </xccdf:Group>
7427 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.10">
7428 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7429 <xccdf:description xml:lang="en">
7430 At a minimum the audit system should collect media exportation events for all users and root. Add the
7431 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"/>
7432 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7433 -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export
7434 </xccdf:description>
7435 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false" severity="medium" weight="10.0">
7436 <xccdf:title>Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7437 <xccdf:description>Audit rules about the Information on Exporting to Media (successful)</xccdf:description>
7438 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7439 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7440 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7441 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20166"/>
7442 </xccdf:check>
7443 </xccdf:Rule>
7444 </xccdf:Group>
7445 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.11">
7446 <xccdf:title xml:lang="en">Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7447 <xccdf:description xml:lang="en">
7448 At a minimum the audit system should collect file deletion events for all users and root. Add the following
7449 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"/>
7450 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7451 -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"/>
7452 -F auid!=4294967295 -k delete
7453 </xccdf:description>
7454 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false" severity="medium" weight="10.0">
7455 <xccdf:title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7456 <xccdf:description>Audit rules about the Files Deletion Events by User (successful and unsuccessful)</xccdf:description>
7457 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7458 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7459 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7460 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20167"/>
7461 </xccdf:check>
7462 </xccdf:Rule>
7463 </xccdf:Group>
7464 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.12">
7465 <xccdf:title xml:lang="en">Ensure auditd Collects System Administrator Actions</xccdf:title>
7466 <xccdf:description xml:lang="en">
7467 At a minimum the audit system should collect administrator actions for all users and root. Add the following
7468 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7469 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7470 -w /etc/sudoers -p wa -k actions</xccdf:description>
7471 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false" severity="medium" weight="10.0">
7472 <xccdf:title>Ensure auditd Collects System Administrator Actions</xccdf:title>
7473 <xccdf:description>Audit rules about the System Administrator Actions</xccdf:description>
7474 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7475 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7476 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7477 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20168"/>
7478 </xccdf:check>
7479 </xccdf:Rule>
7480 </xccdf:Group>
7481 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.13">
7482 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7483 <xccdf:description xml:lang="en">
7484 Add the following to /etc/audit/audit.rules in order to capture kernel module loading and unloading
7485 events:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7486 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7487 -w /sbin/insmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7488 -w /sbin/rmmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7489 -w /sbin/modprobe -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7490 -a always,exit -S init_module -S delete_module -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7491 </xccdf:description>
7492 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false" severity="medium" weight="10.0">
7493 <xccdf:title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7494 <xccdf:description>Audit rules about the Information on Kernel Module Loading and Unloading</xccdf:description>
7495 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7496 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7497 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7498 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201685"/>
7499 </xccdf:check>
7500 </xccdf:Rule>
7501 </xccdf:Group>
7502 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.14">
7503 <xccdf:title xml:lang="en">Make the auditd Configuration Immutable</xccdf:title>
7504 <xccdf:description xml:lang="en">
7505 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"/>
7506 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7507 -e 2<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7508 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7509 With this setting, a reboot will be required to change any audit rules.
7510 </xccdf:description>
7511 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false" severity="medium" weight="10.0">
7512 <xccdf:title>Make the auditd Configuration Immutable</xccdf:title>
7513 <xccdf:description>Force a reboot to change audit rules</xccdf:description>
7514 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7515 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7516 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7517 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20169"/>
7518 </xccdf:check>
7519 </xccdf:Rule>
7520 </xccdf:Group>
7521 </xccdf:Group>
7522 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.5">
7523 <xccdf:title xml:lang="en">Summarize and Review Audit Logs using aureport</xccdf:title>
7524 <xccdf:description xml:lang="en">
7525 Familiarize yourself with the aureport(8) man page, then design a short series of audit reporting commands
7526 suitable for exploring the audit logs on a daily (or more frequent) basis. These commands can be added as a cron
7527 job by placing an appropriately named file in /etc/cron.daily. See the next section for information on how to
7528 ensure that the audit system collects all events needed.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7529 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7530 For example, to generate a daily report of every user to login to the machine, the following command could be
7531 run from cron:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7532 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7533 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport -l -i -ts yesterday -te today<xhtml:br/></xhtml:code>
7534 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7535 To review all audited activity for unusual behavior, a good place to start is to see a summary of which audit
7536 rules have been triggering:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7537 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7538 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">aureport --key --summary<xhtml:br/></xhtml:code>
7539 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7540 If access violations stand out, review them with:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7541 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7542 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --raw | aureport --file --summary<xhtml:br/></xhtml:code>
7543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7544 To review what executables are doing:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7546 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --raw | aureport -x --summary<xhtml:br/></xhtml:code>
7547 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7548 If access violations have been occurring on a particular file (such as /etc/shadow) and you want to determine
7549 which user is doing this:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7551 <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>
7552 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7553 Check for anomalous activity (such as device changing to promiscuous mode, processes ending abnormally, login
7554 failure limits being reached) using:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7555 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7556 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport --anomaly<xhtml:br/></xhtml:code>
7557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7558 The foundation to audit analysis is using keys to classify the events. Information about using ausearch to find
7559 an SELinux problem can be found in Section 2.4.6.
7560 </xccdf:description>
7561 </xccdf:Group>
7562 </xccdf:Group>
7563 </xccdf:Group>
7564 </xccdf:Group>
7565 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3">
7566 <xccdf:title xml:lang="en">Services</xccdf:title>
7567 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1">
7568 <xccdf:title xml:lang="en">Disable All Unneeded Services at Boot Time</xccdf:title>
7569 <xccdf:description xml:lang="en">
7570 The best protection against vulnerable software is running less
7571 software. This section describes how to review the software which Red Hat Enterprise Linux
7572 installs on a system and disable software which is not needed. It then enumerates the
7573 software packages installed on a default RHEL5 system and provides guidance about which ones
7574 can be safely disabled.</xccdf:description>
7575 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.1">
7576 <xccdf:title xml:lang="en">Determine which Services are Enabled at Boot</xccdf:title>
7577 <xccdf:description xml:lang="en">
7578 Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7579 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7580 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig --list | grep :on <xhtml:br/></xhtml:code>
7581 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7582 The first column
7583 of this output is the name of a service which is currently enabled at boot. Review each
7584 listed service to determine whether it can be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7585 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7586 If it is appropriate to disable
7587 some service srvname , do so using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7588 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7589 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig srvname off <xhtml:br/></xhtml:code>
7590 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7591 Use the guidance below for information about unfamiliar services.</xccdf:description>
7592 </xccdf:Group>
7593 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.2">
7594 <xccdf:title xml:lang="en">Guidance on Default Services</xccdf:title>
7595 <xccdf:description xml:lang="en">
7596 The table in this section contains a list of all services which
7597 are enabled at boot by a default RHEL5 installation. For each service, one of the
7598 following recommendations is made: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7599 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Enable: The service provides a significant capability
7600 with limited risk exposure. Leave the service enabled. </xhtml:li><xhtml:li>Configure: The service either is
7601 required for most systems to function properly or provides an important security function.
7602 It should be left enabled by most environments. However, it must be configured securely on
7603 all machines, and different options may be needed for workstations than for servers. See
7604 the referenced section for recommended configuration of this service.</xhtml:li><xhtml:li>Disable if
7605 possible: The service opens the system to some risk, but may be required by some
7606 environments. See the appropriate section of the guide, and disable the service if at all
7607 possible.</xhtml:li><xhtml:li>Servers only: The service provides some function to other machines over the
7608 network. If that function is needed in the target environment, the service should remain
7609 enabled only on a small number of dedicated servers, and should be disabled on all other
7610 machines on the network. </xhtml:li></xhtml:ul>
7611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7612 <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>
7613 </xccdf:description>
7614 </xccdf:Group>
7615 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.3">
7616 <xccdf:title xml:lang="en">Guidance for Unfamiliar Services</xccdf:title>
7617 <xccdf:description xml:lang="en">
7618 If the system is running any services which have not been
7619 covered, determine what these services do, and disable them if they are not needed or if
7620 they pose a high risk. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7621 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7622 If a service srvname is unknown, try running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7623 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7624 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qf /etc/init.d/srvname <xhtml:br/></xhtml:code>
7625 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7626 to discover which RPM package installed the service. Then, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7627 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7628 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qi rpmname <xhtml:br/></xhtml:code>
7629 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7630 for a brief description of what that RPM does.</xccdf:description>
7631 </xccdf:Group>
7632 </xccdf:Group>
7633 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2">
7634 <xccdf:title xml:lang="en">Obsolete Services</xccdf:title>
7635 <xccdf:description xml:lang="en">
7636 This section discusses a number of network-visible services which
7637 have historically caused problems for system security, and for which disabling or severely
7638 limiting the service has been the best available guidance for some time. As a result of this
7639 consensus, these services are not installed as part of RHEL5 by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7640 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7641 Organizations which
7642 are running these services should prioritize switching to more secure services which provide
7643 the needed functionality. If it is absolutely necessary to run one of these services for
7644 legacy reasons, care should be taken to restrict the service as much as possible, for
7645 instance by configuring host firewall software (see Section 2.5.5) to restrict access to the
7646 vulnerable service to only those remote hosts which have a known need to use it.</xccdf:description>
7647 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.1">
7648 <xccdf:title xml:lang="en">Inetd and Xinetd</xccdf:title>
7649 <xccdf:description xml:lang="en">
7650 Is there an operational need to run the deprecated inetd or
7651 xinetd software packages? If not, ensure that they are removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7652 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7653 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase inetd xinetd <xhtml:br/></xhtml:code>
7654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7655 Beginning with Red Hat Enterprise Linux 5, the xinetd service is no
7656 longer installed by default. This change represents increased awareness that the dedicated
7657 network listener model does not improve security or reliability of services, and that
7658 restriction of network listeners is better handled using a granular model such as SELinux
7659 than using xinetd's limited security options.</xccdf:description>
7660 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.a" selected="false" severity="medium" weight="10.0">
7661 <xccdf:title>Disable Inetd</xccdf:title>
7662 <xccdf:description>The inetd service should be disabled.</xccdf:description>
7663 <xccdf:ident system="http://cce.mitre.org">CCE-4234-1</xccdf:ident>
7664 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7665 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7666 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20170"/>
7667 </xccdf:check>
7668 </xccdf:Rule>
7669 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.b" selected="false" severity="medium" weight="10.0">
7670 <xccdf:title>Disable Xinetd</xccdf:title>
7671 <xccdf:description>The xinetd service should be disabled.</xccdf:description>
7672 <xccdf:ident system="http://cce.mitre.org">CCE-4252-3</xccdf:ident>
7673 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7674 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7675 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20171"/>
7676 </xccdf:check>
7677 </xccdf:Rule>
7678 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.c" selected="false" weight="10.0">
7679 <xccdf:title>Uninstall Inetd</xccdf:title>
7680 <xccdf:description>The inetd package should be uninstalled.</xccdf:description>
7681 <xccdf:ident system="http://cce.mitre.org">CCE-4023-8</xccdf:ident>
7682 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7683 <xccdf:fix># yum erase inetd</xccdf:fix>
7684 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7685 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20172"/>
7686 </xccdf:check>
7687 </xccdf:Rule>
7688 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.d" selected="false" weight="10.0">
7689 <xccdf:title>Uninstall Xinetd</xccdf:title>
7690 <xccdf:description>The xinetd package should be uninstalled.</xccdf:description>
7691 <xccdf:ident system="http://cce.mitre.org">CCE-4164-0</xccdf:ident>
7692 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7693 <xccdf:fix># yum erase xinetd</xccdf:fix>
7694 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7695 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20173"/>
7696 </xccdf:check>
7697 </xccdf:Rule>
7698 </xccdf:Group>
7699 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2">
7700 <xccdf:title xml:lang="en">Telnet</xccdf:title>
7701 <xccdf:description xml:lang="en">
7702 Is there a mission-critical reason for users to access the system
7703 via the insecure telnet protocol, rather than the more secure SSH protocol? If not, ensure
7704 that the telnet server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7705 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7706 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet-server <xhtml:br/></xhtml:code>
7707 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7708 The telnet
7709 protocol uses unencrypted network communication, which means that data from the login
7710 session, including passwords and all other information transmitted during the session, can
7711 be stolen by eavesdroppers on the network, and also that outsiders can easily hijack the
7712 session to gain authenticated access to the telnet server. Organizations which use telnet
7713 should be actively working to migrate to a more secure protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7714 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7715 See Section 3.5 for information about the SSH service.</xccdf:description>
7716 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2.1">
7717 <xccdf:title xml:lang="en">Remove Telnet Clients</xccdf:title>
7718 <xccdf:description xml:lang="en">
7719 In order to prevent users from casually attempting to use a telnet server, and thus exposing their credentials
7720 over the network, remove the telnet package, which contains a telnet client program:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7721 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7722 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet<xhtml:br/></xhtml:code>
7723 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7724 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"/>
7725 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7726 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase krb5-workstation<xhtml:br/></xhtml:code>
7727 </xccdf:description>
7728 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false" severity="high" weight="10.0">
7729 <xccdf:title>Remove the telnet client command from the System</xccdf:title>
7730 <xccdf:description>The telnet package should be uninstalled.</xccdf:description>
7731 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7732 <xccdf:fix># yum erase telnet</xccdf:fix>
7733 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7734 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20175"/>
7735 </xccdf:check>
7736 </xccdf:Rule>
7737 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false" weight="10.0">
7738 <xccdf:title>Remove the kerberos telnet client from the System</xccdf:title>
7739 <xccdf:description>The krb5-workstation package should be uninstalled.</xccdf:description>
7740 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7741 <xccdf:fix># yum erase rsh-server</xccdf:fix>
7742 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7743 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20176"/>
7744 </xccdf:check>
7745 </xccdf:Rule>
7746 </xccdf:Group>
7747 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.a" selected="false" severity="high" weight="10.0">
7748 <xccdf:title>Uninstall Telnet server</xccdf:title>
7749 <xccdf:description>The telnet-server package should be uninstalled.</xccdf:description>
7750 <xccdf:ident system="http://cce.mitre.org">CCE-4330-7</xccdf:ident>
7751 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7752 <xccdf:fix># yum erase telnet-server</xccdf:fix>
7753 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7754 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20174"/>
7755 </xccdf:check>
7756 </xccdf:Rule>
7757 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.b" selected="false" severity="high" weight="10.0">
7758 <xccdf:title>Disable telnet service</xccdf:title>
7759 <xccdf:description>telnet service should be disabled.</xccdf:description>
7760 <xccdf:ident system="http://cce.mitre.org">CCE-3390-2</xccdf:ident>
7761 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7762 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7763 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201745"/>
7764 </xccdf:check>
7765 </xccdf:Rule>
7766 </xccdf:Group>
7767 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3">
7768 <xccdf:title xml:lang="en">Rlogin, Rsh, and Rcp</xccdf:title>
7769 <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>
7770 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.1">
7771 <xccdf:title xml:lang="en">Remove the Rsh Server Commands from the System</xccdf:title>
7772 <xccdf:description xml:lang="en">
7773 Is there a mission-critical reason for users to access the
7774 system via the insecure rlogin, rsh, or rcp commands rather than the more secure ssh and
7775 scp? If not, ensure that the rsh server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7776 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7777 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh-server <xhtml:br/></xhtml:code>
7778 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7779 SSH was designed to be a drop-in replacement for the r-commands, which suffer
7780 from the same hijacking and eavesdropping problems as telnet. There is unlikely to be a
7781 case in which these commands cannot be replaced with SSH.</xccdf:description>
7782 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false" severity="high" weight="10.0">
7783 <xccdf:title>Remove the Rsh Server Commands from the System</xccdf:title>
7784 <xccdf:description>The rsh-server package should be uninstalled.</xccdf:description>
7785 <xccdf:ident system="http://cce.mitre.org">CCE-4308-3</xccdf:ident>
7786 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7787 <xccdf:fix># yum erase rsh-server</xccdf:fix>
7788 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7789 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20177"/>
7790 </xccdf:check>
7791 </xccdf:Rule>
7792 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false" severity="high" weight="10.0">
7793 <xccdf:title>disable rcp</xccdf:title>
7794 <xccdf:description>The rcp service should be disabled.</xccdf:description>
7795 <xccdf:ident system="http://cce.mitre.org">CCE-3974-3</xccdf:ident>
7796 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7797 <xccdf:fix># chkconfig rcp off</xccdf:fix>
7798 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7799 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201774"/>
7800 </xccdf:check>
7801 </xccdf:Rule>
7802 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false" severity="high" weight="10.0">
7803 <xccdf:title>disable rsh</xccdf:title>
7804 <xccdf:description>The rsh service should be disabled.</xccdf:description>
7805 <xccdf:ident system="http://cce.mitre.org">CCE-4141-8</xccdf:ident>
7806 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7807 <xccdf:fix># chkconfig rsh off</xccdf:fix>
7808 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7809 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201775"/>
7810 </xccdf:check>
7811 </xccdf:Rule>
7812 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false" severity="high" weight="10.0">
7813 <xccdf:title>disable rlogin</xccdf:title>
7814 <xccdf:description>The rlogin service should be disabled.</xccdf:description>
7815 <xccdf:ident system="http://cce.mitre.org">CCE-3537-8</xccdf:ident>
7816 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7817 <xccdf:fix># chkconfig rlogin off</xccdf:fix>
7818 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7819 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201776"/>
7820 </xccdf:check>
7821 </xccdf:Rule>
7822 </xccdf:Group>
7823 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.2">
7824 <xccdf:title xml:lang="en">Remove .rhosts Support from PAM Configuration Files</xccdf:title>
7825 <xccdf:description xml:lang="en">
7826 Check that pam_rhosts authentication is not used by any PAM
7827 services. Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7829 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep -l pam_rhosts /etc/pam.d/* <xhtml:br/></xhtml:code>
7830 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7831 This command should return no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7832 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7833 The RHEL5 default is not to rely on .rhosts or /etc/hosts.equiv for any
7834 PAM-based services, so, on an uncustomized system, this command should return no output.
7835 If any files do use pam_rhosts, modify them to make use of a more secure authentication
7836 method instead. For more information about PAM, see Section 2.3.3.</xccdf:description>
7837 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false" severity="medium" weight="10.0">
7838 <xccdf:title>Remove .rhosts Support from PAM Configuration Files</xccdf:title>
7839 <xccdf:description>Check that pam_rhosts authentication is not used by any PAM services.</xccdf:description>
7840 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7841 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20178"/>
7842 </xccdf:check>
7843 </xccdf:Rule>
7844 </xccdf:Group>
7845 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.3">
7846 <xccdf:title xml:lang="en">Remove the Rsh Client Commands from the System</xccdf:title>
7847 <xccdf:description xml:lang="en">
7848 In order to prevent users from casually attempting to make use of an rsh server and thus exposing their
7849 credentials over the network, remove the rsh package, which contains client programs for many of r-commands
7850 described above:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7851 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7852 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh<xhtml:br/></xhtml:code>
7853 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7854 Users should be trained to use the SSH client, and never attempt to connect to an rsh or telnet server. The
7855 krb5-workstation package also contains r-command client programs and should be removed as described in
7856 Section 3.2.2.1, if Kerberos is not in use.
7857 </xccdf:description>
7858 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false" severity="high" weight="10.0">
7859 <xccdf:title>Remove the Rsh Client Commands from the System</xccdf:title>
7860 <xccdf:description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</xccdf:description>
7861 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7862 <xccdf:fix># yum erase rsh</xccdf:fix>
7863 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7864 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20179"/>
7865 </xccdf:check>
7866 </xccdf:Rule>
7867 </xccdf:Group>
7868 </xccdf:Group>
7869 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.4">
7870 <xccdf:title xml:lang="en">NIS</xccdf:title>
7871 <xccdf:description xml:lang="en">
7872 The NIS client service ypbind is not activated by default. In the
7873 event that it was activated at some point, disable it by executing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7874 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7875 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ypbind off <xhtml:br/></xhtml:code>
7876 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7877 The NIS server package is not installed by default. In the event that
7878 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"/>
7879 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7880 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase ypserv <xhtml:br/></xhtml:code>
7881 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7882 The Network Information Service (NIS), also known as 'Yellow Pages' (YP), and
7883 its successor NIS+ have been made obsolete by Kerberos, LDAP, and other modern centralized
7884 authentication services. NIS should not be used because it suffers from security problems
7885 inherent in its design, such as inadequate protection of important authentication
7886 information.</xccdf:description>
7887 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.a" selected="false" severity="medium" weight="10.0">
7888 <xccdf:title>Uninstall NIS</xccdf:title>
7889 <xccdf:description>The ypserv package should be uninstalled.</xccdf:description>
7890 <xccdf:ident system="http://cce.mitre.org">CCE-4348-9</xccdf:ident>
7891 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7892 <xccdf:fix># yum erase ypserv</xccdf:fix>
7893 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7894 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20180"/>
7895 </xccdf:check>
7896 </xccdf:Rule>
7897 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.b" selected="false" severity="medium" weight="10.0">
7898 <xccdf:title>Disable NIS</xccdf:title>
7899 <xccdf:description>The ypbind service should be disabled.</xccdf:description>
7900 <xccdf:ident system="http://cce.mitre.org">CCE-3705-1</xccdf:ident>
7901 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7902 <xccdf:fix># chkconfig ypbind off</xccdf:fix>
7903 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7904 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20181"/>
7905 </xccdf:check>
7906 </xccdf:Rule>
7907 </xccdf:Group>
7908 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.5">
7909 <xccdf:title xml:lang="en">TFTP Server</xccdf:title>
7910 <xccdf:description xml:lang="en">
7911 Is there an operational need to run the deprecated TFTP server
7912 software? If not, ensure that it is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7913 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7914 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase tftp-server <xhtml:br/></xhtml:code>
7915 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7916 TFTP is a lightweight version of the FTP protocol which has traditionally been used to
7917 configure networking equipment. However, TFTP provides little security, and modern
7918 versions of networking operating systems frequently support configuration via SSH or
7919 other more secure protocols. A TFTP server should be run only if no more secure method of
7920 supporting existing equipment can be found.</xccdf:description>
7921 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.a" selected="false" weight="10.0">
7922 <xccdf:title>Uninstall TFTP Server</xccdf:title>
7923 <xccdf:description>The tftp-server package should be uninstalled.</xccdf:description>
7924 <xccdf:ident system="http://cce.mitre.org">CCE-3916-4</xccdf:ident>
7925 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
7926 <xccdf:fix># yum erase tftp-server</xccdf:fix>
7927 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7928 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20182"/>
7929 </xccdf:check>
7930 </xccdf:Rule>
7931 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.b" selected="false" severity="low" weight="10.0">
7932 <xccdf:title>Disable TFTP Server</xccdf:title>
7933 <xccdf:description>The tftp service should be disabled.</xccdf:description>
7934 <xccdf:ident system="http://cce.mitre.org">CCE-4273-9</xccdf:ident>
7935 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7936 <xccdf:fix># chkconfig tftp off</xccdf:fix>
7937 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7938 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201825"/>
7939 </xccdf:check>
7940 </xccdf:Rule>
7941 </xccdf:Group>
7942 </xccdf:Group>
7943 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3">
7944 <xccdf:title xml:lang="en">BaseServices</xccdf:title>
7945 <xccdf:description xml:lang="en">
7946 This section addresses the base services that are configured to
7947 start up on boot in a RHEL5 default installation. Some of these services listen on the
7948 network and should be treated with particular discretion. The other services are local
7949 system utilities that may or may not be extraneous. Each of these services should be
7950 disabled if not required.</xccdf:description>
7951 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.1">
7952 <xccdf:title xml:lang="en">Installation Helper Service (firstboot)</xccdf:title>
7953 <xccdf:description xml:lang="en">
7954 Firstboot is a daemon specific to the Red Hat installation
7955 process. It handles 'one-time' configuration following successful installation of the
7956 operating system. As such, there is no reason for this service to remain enabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7957 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7958 Disable firstboot by issuing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7960 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig firstboot off</xhtml:code></xccdf:description>
7961 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.1.a" selected="false" severity="low" weight="10.0">
7962 <xccdf:title>Installation Helper Service (firstboot)</xccdf:title>
7963 <xccdf:description>The firstboot service should be disabled.</xccdf:description>
7964 <xccdf:ident system="http://cce.mitre.org">CCE-3412-4</xccdf:ident>
7965 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7966 <xccdf:fix># chkconfig firstboot off</xccdf:fix>
7967 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7968 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20183"/>
7969 </xccdf:check>
7970 </xccdf:Rule>
7971 </xccdf:Group>
7972 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.2">
7973 <xccdf:title xml:lang="en">Console Mouse Service (gpm)</xccdf:title>
7974 <xccdf:description xml:lang="en">
7975 GPM is the service that controls the text console mouse pointer.
7976 (The X Windows mouse pointer is unaffected by this service.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7977 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7978 If mouse functionality in the console is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7979 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7980 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig gpm off <xhtml:br/></xhtml:code>
7981 Although it is
7982 preferable to run as few services as possible, the console mouse pointer can be useful for
7983 preventing administrator mistakes in runlevel 3 by enabling copy-and-paste operations.</xccdf:description>
7984 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.2.a" selected="false" severity="low" weight="10.0">
7985 <xccdf:title>Console Mouse Service (gpm)</xccdf:title>
7986 <xccdf:description>The gpm service should be disabled.</xccdf:description>
7987 <xccdf:ident system="http://cce.mitre.org">CCE-4229-1</xccdf:ident>
7988 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7989 <xccdf:fix># chkconfig gpm off</xccdf:fix>
7990 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7991 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20184"/>
7992 </xccdf:check>
7993 </xccdf:Rule>
7994 </xccdf:Group>
7995 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.3">
7996 <xccdf:title xml:lang="en">Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
7997 <xccdf:description xml:lang="en">
7998 The goal of the irqbalance service is to optimize the balance
7999 between power savings and performance through distribution of hardware interrupts across
8000 multiple processors. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8002 In a server environment with multiple processors, this provides a
8003 useful service and should be left enabled. If a machine has only one processor, the
8004 service may be disabled: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8005 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8006 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig irqbalance off</xhtml:code></xccdf:description>
8007 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.3.a" selected="false" severity="low" weight="10.0">
8008 <xccdf:title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
8009 <xccdf:description>The irqbalance service should be disabled.</xccdf:description>
8010 <xccdf:ident system="http://cce.mitre.org">CCE-4123-6</xccdf:ident>
8011 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8012 <xccdf:fix># chkconfig irqbalance off</xccdf:fix>
8013 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8014 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20185"/>
8015 </xccdf:check>
8016 </xccdf:Rule>
8017 </xccdf:Group>
8018 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.4">
8019 <xccdf:title xml:lang="en">ISDN Support (isdn)</xccdf:title>
8020 <xccdf:description xml:lang="en">
8021 The ISDN service facilitates Internet connectivity in the
8022 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"/>
8023 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8024 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig isdn off</xhtml:code></xccdf:description>
8025 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.4.a" selected="false" severity="low" weight="10.0">
8026 <xccdf:title>ISDN Support (isdn)</xccdf:title>
8027 <xccdf:description>The isdn service should be disabled.</xccdf:description>
8028 <xccdf:ident system="http://cce.mitre.org">CCE-4286-1</xccdf:ident>
8029 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8030 <xccdf:fix># chkconfig isdn off</xccdf:fix>
8031 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8032 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20186"/>
8033 </xccdf:check>
8034 </xccdf:Rule>
8035 </xccdf:Group>
8036 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.5">
8037 <xccdf:title xml:lang="en">Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8038 <xccdf:description xml:lang="en">
8039 Kdump is a new kernel crash dump analyzer. It uses kexec to boot
8040 a secondary kernel ('capture' kernel) following a system crash. The kernel dump from the
8041 system crash is loaded into the capture kernel for analysis. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8043 Unless the system is used for kernel development or testing, disable the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8044 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8045 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kdump off</xhtml:code></xccdf:description>
8046 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.5.a" selected="false" severity="low" weight="10.0">
8047 <xccdf:title>Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8048 <xccdf:description>The kdump service should be disabled.</xccdf:description>
8049 <xccdf:ident system="http://cce.mitre.org">CCE-3425-6</xccdf:ident>
8050 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8051 <xccdf:fix># chkconfig kdump off</xccdf:fix>
8052 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8053 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20187"/>
8054 </xccdf:check>
8055 </xccdf:Rule>
8056 </xccdf:Group>
8057 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.6">
8058 <xccdf:title xml:lang="en">Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8059 <xccdf:description xml:lang="en">
8060 Is there a mission-critical reason for console users to add new
8061 hardware to the system? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8062 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8063 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kudzu off <xhtml:br/></xhtml:code>
8064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8065 Kudzu, Red Hat's hardware detection
8066 program, represents an unnecessary security risk as it allows unprivileged users to
8067 perform hardware configuration without authorization. Unless this specific functionality
8068 is required, Kudzu should be disabled.</xccdf:description>
8069 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.6.a" selected="false" severity="low" weight="10.0">
8070 <xccdf:title>Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8071 <xccdf:description>The kudzu service should be disabled.</xccdf:description>
8072 <xccdf:ident system="http://cce.mitre.org">CCE-4211-9</xccdf:ident>
8073 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8074 <xccdf:fix># chkconfig kudzu off</xccdf:fix>
8075 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8076 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20188"/>
8077 </xccdf:check>
8078 </xccdf:Rule>
8079 </xccdf:Group>
8080 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.7">
8081 <xccdf:title xml:lang="en">Software RAID Monitor (mdmonitor)</xccdf:title>
8082 <xccdf:description xml:lang="en">
8083 The mdmonitor service is used for monitoring a software RAID
8084 (hardware RAID setups do not use this service). This service is extraneous unless software
8085 RAID is in use (which is not common). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8087 If software RAID monitoring is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8088 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8089 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mdmonitor off</xhtml:code></xccdf:description>
8090 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.7.a" selected="false" severity="low" weight="10.0">
8091 <xccdf:title>Software RAID Monitor (mdmonitor)</xccdf:title>
8092 <xccdf:description>The mdmonitor service should be disabled.</xccdf:description>
8093 <xccdf:ident system="http://cce.mitre.org">CCE-3854-7</xccdf:ident>
8094 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8095 <xccdf:fix># chkconfig mdmonitor off</xccdf:fix>
8096 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8097 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20189"/>
8098 </xccdf:check>
8099 </xccdf:Rule>
8100 </xccdf:Group>
8101 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.8">
8102 <xccdf:title xml:lang="en">IA32 Microcode Utility(microcodectl)</xccdf:title>
8103 <xccdf:description xml:lang="en">
8104 microcode ctl is a microcode utility for use with Intel IA32
8105 processors (Pentium Pro, PII, Celeron, PIII, Xeon, Pentium 4, etc) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8107 If the system is not running an Intel IA32 processor, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8108 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8109 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig microcode ctl off</xhtml:code></xccdf:description>
8110 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.8.a" selected="false" severity="low" weight="10.0">
8111 <xccdf:title>IA32 Microcode Utility(microcodectl)</xccdf:title>
8112 <xccdf:description>The microcode_ctl service should be disabled.</xccdf:description>
8113 <xccdf:ident system="http://cce.mitre.org">CCE-4356-2</xccdf:ident>
8114 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8115 <xccdf:fix># chkconfig microcode ctl off</xccdf:fix>
8116 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8117 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20190"/>
8118 </xccdf:check>
8119 </xccdf:Rule>
8120 </xccdf:Group>
8121 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9">
8122 <xccdf:title xml:lang="en">Network Service (network)</xccdf:title>
8123 <xccdf:description xml:lang="en">
8124 The network service allows associated network interfaces to
8125 access the network. This section contains general guidance for controlling the operation
8126 of the service. For kernel parameters which affect networking, see Section</xccdf:description>
8127 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.1">
8128 <xccdf:title xml:lang="en">Disable All Networking if Not Needed</xccdf:title>
8129 <xccdf:description xml:lang="en">
8130 If the system is a standalone machine with no need for network
8131 access or even communication over the loopback device, then disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8132 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8133 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig network off</xhtml:code></xccdf:description>
8134 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false" severity="low" weight="10.0">
8135 <xccdf:title>Disable All Networking if Not Needed)</xccdf:title>
8136 <xccdf:description>The network service should be disabled.</xccdf:description>
8137 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8138 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8139 <xccdf:fix># chkconfig network off</xccdf:fix>
8140 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8141 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20191"/>
8142 </xccdf:check>
8143 </xccdf:Rule>
8144 </xccdf:Group>
8145 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.2">
8146 <xccdf:title xml:lang="en">Disable All External Network Interfaces if Not Needed</xccdf:title>
8147 <xccdf:description xml:lang="en">
8148 If the system does not require network communications but still
8149 needs to use the loopback interface, remove all files of the form ifcfg-interface except
8150 for ifcfg-lo from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8151 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8152 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
8153 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false" severity="medium" weight="10.0">
8154 <xccdf:title>Disable All External Network Interfaces if Not Needed</xccdf:title>
8155 <xccdf:description>All files of the form ifcfg-interface except for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</xccdf:description>
8156 <xccdf:fixtext>via /etc/sysconfig/network-scripts</xccdf:fixtext>
8157 <xccdf:fix># rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fix>
8158 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8159 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20192"/>
8160 </xccdf:check>
8161 </xccdf:Rule>
8162 </xccdf:Group>
8163 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.3">
8164 <xccdf:title xml:lang="en">Disable Zeroconf Networking</xccdf:title>
8165 <xccdf:description xml:lang="en">
8166 Zeroconf networking allows the system to assign itself an IP
8167 address and engage in IP communication without a statically-assigned address or even a
8168 DHCP server. Automatic address assignment via Zeroconf (or DHCP) is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8170 To disable Zeroconf automatic route assignment in the 169.245.0.0 subnet, add or correct
8171 the following line in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8172 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8173 NOZEROCONF=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8174 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8175 Zeroconf addresses are in
8176 the network 169.254.0.0. The networking scripts add entries to the system's routing
8177 table for these addresses. Zeroconf address assignment commonly occurs when the system
8178 is configured to use DHCP but fails to receive an address assignment from the DHCP
8179 server.</xccdf:description>
8180 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false" severity="medium" weight="10.0">
8181 <xccdf:title>Disable Zeroconf Networking</xccdf:title>
8182 <xccdf:description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</xccdf:description>
8183 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8184 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
8185 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8186 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20193"/>
8187 </xccdf:check>
8188 </xccdf:Rule>
8189 </xccdf:Group>
8190 </xccdf:Group>
8191 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.10">
8192 <xccdf:title xml:lang="en">Smart Card Support (pcscd)</xccdf:title>
8193 <xccdf:description xml:lang="en">
8194 The pcscd service provides support for Smart Cards and Smart Card
8195 Readers. If Smart Cards are not in use on the system, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8196 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8197 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig pcscd off</xhtml:code></xccdf:description>
8198 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.10.a" selected="false" severity="low" weight="10.0">
8199 <xccdf:title>Smart Card Support (pcscd)</xccdf:title>
8200 <xccdf:description>The pcscd service should be disabled.</xccdf:description>
8201 <xccdf:ident system="http://cce.mitre.org">CCE-4100-4</xccdf:ident>
8202 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8203 <xccdf:fix># chkconfig pcscd off</xccdf:fix>
8204 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8205 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20194"/>
8206 </xccdf:check>
8207 </xccdf:Rule>
8208 </xccdf:Group>
8209 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.11">
8210 <xccdf:title xml:lang="en">SMART Disk Monitoring Support (smartd)</xccdf:title>
8211 <xccdf:description xml:lang="en">
8212 SMART (Self-Monitoring, Analysis, and Reporting Technology) is a
8213 feature of hard drives that allows them to detect symptoms of disk failure and relay an
8214 appropriate warning. This technology is considered to bring relatively low security risk,
8215 and can be useful. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8216 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8217 Leave this service running if the system's hard drives are
8218 SMART-capable. Otherwise, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8219 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8220 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smartd off</xhtml:code></xccdf:description>
8221 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.11.a" selected="false" severity="low" weight="10.0">
8222 <xccdf:title>SMART Disk Monitoring Support (smartd)</xccdf:title>
8223 <xccdf:description>The smartd service should be disabled.</xccdf:description>
8224 <xccdf:ident system="http://cce.mitre.org">CCE-3455-3</xccdf:ident>
8225 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8226 <xccdf:fix># chkconfig smartd off</xccdf:fix>
8227 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8228 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20195"/>
8229 </xccdf:check>
8230 </xccdf:Rule>
8231 </xccdf:Group>
8232 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.12">
8233 <xccdf:title xml:lang="en">Boot Caching (readahead early/readahead later)</xccdf:title>
8234 <xccdf:description xml:lang="en">
8235 The following services provide one-time caching of files
8236 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"/>
8237 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8238 It is recommended that this service be disabled on most machines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8239 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8240 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig readahead_early off <xhtml:br/>
8241 # chkconfig readahead_later off <xhtml:br/></xhtml:code>
8242 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8243 The readahead services do not substantially increase a
8244 system's risk exposure, but they also do not provide great benefit. Unless the system is
8245 running a specialized application for which the file caching substantially improves system
8246 boot time, this guide recommends disabling the services.</xccdf:description>
8247 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.a" selected="false" severity="low" weight="10.0">
8248 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8249 <xccdf:description>The readahead_early service should be disabled.</xccdf:description>
8250 <xccdf:ident system="http://cce.mitre.org">CCE-4421-4</xccdf:ident>
8251 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8252 <xccdf:fix># chkconfig readahead early off</xccdf:fix>
8253 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8254 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20196"/>
8255 </xccdf:check>
8256 </xccdf:Rule>
8257 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.b" selected="false" severity="low" weight="10.0">
8258 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8259 <xccdf:description>The readahead_later service should be disabled.</xccdf:description>
8260 <xccdf:ident system="http://cce.mitre.org">CCE-4302-6</xccdf:ident>
8261 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8262 <xccdf:fix># chkconfig readahead later off</xccdf:fix>
8263 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8264 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20197"/>
8265 </xccdf:check>
8266 </xccdf:Rule>
8267 </xccdf:Group>
8268 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13">
8269 <xccdf:title xml:lang="en">Application Support Services</xccdf:title>
8270 <xccdf:description xml:lang="en">
8271 The following services are software projects of freedesktop.org
8272 that are meant to provide system integration through a series of common APIs for
8273 applications. They are heavily integrated into the X Windows environment. If the system is
8274 not using X Windows, these services can typically be disabled.</xccdf:description>
8275 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.1">
8276 <xccdf:title xml:lang="en">D-Bus IPC Service (messagebus)</xccdf:title>
8277 <xccdf:description xml:lang="en">
8278 D-Bus is an IPC mechanism that provides a common channel for
8279 inter-process communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8280 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8281 If no services which require D-Bus are in use, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8282 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8283 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig messagebus off <xhtml:br/></xhtml:code>
8284 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8285 A number of default services make use of D-Bus,
8286 including X Windows (Section 3.6), Bluetooth (Section 3.3.14) and Avahi (Section 3.7).
8287 This guide recommends that D-Bus and all its dependencies be disabled unless there is a
8288 mission-critical need for them. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8290 Stricter configuration of D-Bus is possible and
8291 documented in the man page dbus-daemon(1). D-Bus maintains two separate configuration
8292 files, located in /etc/dbus-1/, one for system-specific configuration and the other for
8293 session-specific configuration.</xccdf:description>
8294 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false" severity="low" weight="10.0">
8295 <xccdf:title>D-Bus IPC Service (messagebus)</xccdf:title>
8296 <xccdf:description>The messagebus service should be disabled.</xccdf:description>
8297 <xccdf:ident system="http://cce.mitre.org">CCE-3822-4</xccdf:ident>
8298 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8299 <xccdf:fix># chkconfig messagebus off</xccdf:fix>
8300 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8301 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20198"/>
8302 </xccdf:check>
8303 </xccdf:Rule>
8304 </xccdf:Group>
8305 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2">
8306 <xccdf:title xml:lang="en">HAL Daemon (haldaemon)</xccdf:title>
8307 <xccdf:description xml:lang="en">
8308 The haldaemon service provides a dynamic way of managing device
8309 interfaces. It automates device configuration and provides an API for making devices
8310 accessible to applications through the D-Bus interface.</xccdf:description>
8311 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false" severity="low" weight="10.0">
8312 <xccdf:title>HAL Daemon (haldaemon)</xccdf:title>
8313 <xccdf:description>The haldaemon service should be disabled.</xccdf:description>
8314 <xccdf:ident system="http://cce.mitre.org">CCE-4364-6</xccdf:ident>
8315 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8316 <xccdf:fix># chkconfig haldaemon off</xccdf:fix>
8317 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8318 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20199"/>
8319 </xccdf:check>
8320 </xccdf:Rule>
8321 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.1">
8322 <xccdf:title xml:lang="en">Disable HAL Daemon if Possible</xccdf:title>
8323 <xccdf:description xml:lang="en">
8324 HAL provides valuable attack surfaces to attackers as an
8325 intermediary to privileged operations and should be disabled unless necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8326 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8327 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig haldaemon off</xhtml:code></xccdf:description>
8328 </xccdf:Group>
8329 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.2">
8330 <xccdf:title xml:lang="en">Configure HAL Daemon if Necessary</xccdf:title>
8331 <xccdf:description xml:lang="en">
8332 HAL provides a limited user the ability to mount system
8333 devices. This is primarily used by X utilities such as gnome-volume-manager to perform
8334 automounting of removable media.
8335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8337 HAL configuration is currently
8338 only possible through a series of fdi files located in
8339 /usr/share/hal/fdi/
8340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8342 Note: The HAL future road map includes a
8343 mandatory framework for managing administrative privileges called
8344 PolicyKit.
8345 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8346 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8347 To prevent users from accessing devices through HAL,
8348 create the
8349 file
8350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8351 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8352 /etc/hal/fdi/policy/99-policy-all-drives.fdi
8353 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8354 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8355 with the contents: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8356 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8357 &lt;?xml version="1.0"
8358 encoding="UTF-8"?&gt;&lt;deviceinfo
8359 version="0.2"&gt;&lt;device&gt;&lt;match key="info.capabilities"
8360 contains="volume"&gt;&lt;merge key="volume.ignore"
8361 type="bool"&gt;true&lt;/merge&gt;&lt;/match&gt;&lt;/device&gt;&lt;/deviceinfo&gt;
8362 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8364 The
8365 above code matches any device labeled with the volume capability (any device capable
8366 of being mounted will be labeled this way) and sets the corresponding volume.ignore
8367 key to true, indicating that the volume should be ignored. This both makes the volume
8368 invisible to the UI, and denies mount attempts by unprivileged users.
8369 </xccdf:description>
8370 </xccdf:Group>
8371 </xccdf:Group>
8372 </xccdf:Group>
8373 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14">
8374 <xccdf:title xml:lang="en">Bluetooth Support</xccdf:title>
8375 <xccdf:description xml:lang="en">
8376 Bluetooth provides a way to transfer information between devices
8377 such as mobile phones, laptops, PCs, printers, digital cameras, and video game consoles
8378 over a short-range wireless link. Any wireless communication presents a serious security
8379 risk to sensitive or classified systems. Section 2.5.2 contains information on the related
8380 topic of wireless networking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8381 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8382 Removal of hardware is the only way to ensure that the
8383 Bluetooth wireless capability remains disabled. If it is completely impractical to remove
8384 the Bluetooth hardware module, and site policy still allows the device to enter sensitive
8385 spaces, every effort to disable the capability via software should be made. In general,
8386 acquisition policy should include provisions to prevent the purchase of equipment that
8387 will be used in sensitive spaces and includes Bluetooth capabilities.</xccdf:description>
8388 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.1">
8389 <xccdf:title xml:lang="en">Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8390 <xccdf:description xml:lang="en">
8391 The bluetooth service enables the system to use Bluetooth
8392 devices. If the system requires no Bluetooth devices, disable this service:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8393 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig bluetooth off</xhtml:code></xccdf:description>
8394 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false" severity="medium" weight="10.0">
8395 <xccdf:title>Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8396 <xccdf:description>The bluetooth service should be disabled.</xccdf:description>
8397 <xccdf:ident system="http://cce.mitre.org">CCE-4355-4</xccdf:ident>
8398 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8399 <xccdf:fix># chkconfig bluetooth off</xccdf:fix>
8400 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8401 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20200"/>
8402 </xccdf:check>
8403 </xccdf:Rule>
8404 </xccdf:Group>
8405 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.2">
8406 <xccdf:title xml:lang="en">Bluetooth Input Devices (hidd)</xccdf:title>
8407 <xccdf:description xml:lang="en">
8408 The hidd service provides support for Bluetooth input devices.
8409 If the system has no Bluetooth input devices (e.g. keyboard or mouse), disable this
8410 service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8412 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hidd off</xhtml:code></xccdf:description>
8413 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false" severity="low" weight="10.0">
8414 <xccdf:title>Bluetooth Input Devices (hidd)</xccdf:title>
8415 <xccdf:description>The hidd service should be disabled.</xccdf:description>
8416 <xccdf:ident system="http://cce.mitre.org">CCE-4377-8</xccdf:ident>
8417 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8418 <xccdf:fix># chkconfig hidd off</xccdf:fix>
8419 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8420 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20201"/>
8421 </xccdf:check>
8422 </xccdf:Rule>
8423 </xccdf:Group>
8424 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.3">
8425 <xccdf:title xml:lang="en">Disable Bluetooth Kernel Modules</xccdf:title>
8426 <xccdf:description xml:lang="en">
8427 The kernel's module loading system can be configured to prevent
8428 loading of the Bluetooth module. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8429 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8430 Add the following to /etc/modprobe.conf to prevent the
8431 loading of the Bluetooth module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8432 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8433 alias net-pf-31 off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8435 The unexpected name, net-pf-31, is
8436 a result of how the kernel requests modules for network protocol families; it is an
8437 alias for the bluetooth module.</xccdf:description>
8438 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false" severity="medium" weight="10.0">
8439 <xccdf:title>Disable Bluetooth Kernel Modules</xccdf:title>
8440 <xccdf:description>Prevent loading of the Bluetooth module.</xccdf:description>
8441 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
8442 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8443 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202015"/>
8444 </xccdf:check>
8445 </xccdf:Rule>
8446 </xccdf:Group>
8447 </xccdf:Group>
8448 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15">
8449 <xccdf:title xml:lang="en">Power Management Support</xccdf:title>
8450 <xccdf:description xml:lang="en">
8451 The following services provide an interface to power management
8452 functions. These functions include monitoring battery power, system hibernate/suspend, CPU
8453 throttling, and various power-save utilities.</xccdf:description>
8454 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.1">
8455 <xccdf:title xml:lang="en">Advanced Power Management Subsystem (apmd)</xccdf:title>
8456 <xccdf:description xml:lang="en">
8457 The apmd service provides last generation power management
8458 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8459 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8460 If the system is capable of ACPI support, or if power management is not
8461 necessary, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8462 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8463 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig apmd off <xhtml:br/></xhtml:code>
8464 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8465 APM is being replaced by ACPI and
8466 should be considered deprecated. As such, it can be disabled if ACPI is supported by
8467 your hardware and kernel. If the file /proc/acpi/info exists and contains ACPI version
8468 information, then APM can safely be disabled without loss of functionality.</xccdf:description>
8469 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false" severity="low" weight="10.0">
8470 <xccdf:title>Advanced Power Management Subsystem (apmd)</xccdf:title>
8471 <xccdf:description>The apmd service should be disabled.</xccdf:description>
8472 <xccdf:ident system="http://cce.mitre.org">CCE-4289-5</xccdf:ident>
8473 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8474 <xccdf:fix># chkconfig apmd off</xccdf:fix>
8475 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8476 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20202"/>
8477 </xccdf:check>
8478 </xccdf:Rule>
8479 </xccdf:Group>
8480 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.2">
8481 <xccdf:title xml:lang="en">Advanced Configuration and Power Interface (acpid)</xccdf:title>
8482 <xccdf:description xml:lang="en">
8483 The acpid service provides next generation power management
8484 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8485 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8486 Unless power management features are not necessary, leave this service enabled.</xccdf:description>
8487 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false" severity="low" weight="10.0">
8488 <xccdf:title>Advanced Configuration and Power Interface (acpid)</xccdf:title>
8489 <xccdf:description>The acpid service should be disabled.</xccdf:description>
8490 <xccdf:ident system="http://cce.mitre.org">CCE-4298-6</xccdf:ident>
8491 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8492 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8493 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20203"/>
8494 </xccdf:check>
8495 </xccdf:Rule>
8496 </xccdf:Group>
8497 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.3">
8498 <xccdf:title xml:lang="en">CPU Throttling (cpuspeed)</xccdf:title>
8499 <xccdf:description xml:lang="en">
8500 The cpuspeed service uses hardware support to throttle the CPU
8501 when the system is idle. Unless CPU power optimization is unnecessary, leave this
8502 service enabled.</xccdf:description>
8503 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false" severity="low" weight="10.0">
8504 <xccdf:title>CPU Throttling (cpuspeed)</xccdf:title>
8505 <xccdf:description>The cpuspeed service should be disabled.</xccdf:description>
8506 <xccdf:ident system="http://cce.mitre.org">CCE-4051-9</xccdf:ident>
8507 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8508 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8509 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20204"/>
8510 </xccdf:check>
8511 </xccdf:Rule>
8512 </xccdf:Group>
8513 </xccdf:Group>
8514 </xccdf:Group>
8515 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4">
8516 <xccdf:title xml:lang="en">Cron and At Daemons</xccdf:title>
8517 <xccdf:description xml:lang="en">
8518 The cron and at services are used to allow commands to be executed
8519 at a later time. The cron service is required by almost all systems to perform necessary
8520 maintenance tasks, while at may or may not be required on a given system. Both daemons
8521 should be configured defensively.</xccdf:description>
8522 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.a" selected="false" severity="high" weight="10.0">
8523 <xccdf:title>Enable cron Daemon</xccdf:title>
8524 <xccdf:description>The crond service should be enabled.</xccdf:description>
8525 <xccdf:ident system="http://cce.mitre.org">CCE-4324-0</xccdf:ident>
8526 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8527 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8528 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20205"/>
8529 </xccdf:check>
8530 </xccdf:Rule>
8531 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.1">
8532 <xccdf:title xml:lang="en">Disable anacron if Possible</xccdf:title>
8533 <xccdf:description xml:lang="en">
8534 Is this a machine which is designed to run all the time, such as
8535 a server or a workstation which is left on at night? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8537 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase anacron<xhtml:br/></xhtml:code>
8538 The
8539 anacron subsystem is designed to provide cron functionality for machines which may be shut
8540 down during the normal times that system cron jobs run, frequently in the middle of the
8541 night. Laptops and workstations which are shut down at night should keep anacron enabled,
8542 so that standard system cron jobs will run when the machine boots. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8544 However, on machines
8545 which do not need this additional functionality, anacron represents another piece of
8546 privileged software which could contain vulnerabilities. Therefore, it should be removed
8547 when possible to reduce system risk.</xccdf:description>
8548 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.a" selected="false" severity="low" weight="10.0">
8549 <xccdf:title>Disable anacron if Possible</xccdf:title>
8550 <xccdf:description>The anacron service should be disabled.</xccdf:description>
8551 <xccdf:ident system="http://cce.mitre.org">CCE-4406-5</xccdf:ident>
8552 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8553 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8554 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20206"/>
8555 </xccdf:check>
8556 </xccdf:Rule>
8557 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.b" selected="false" weight="10.0">
8558 <xccdf:title>Uninstall anacron if Possible</xccdf:title>
8559 <xccdf:description>The anacron package should be uninstalled.</xccdf:description>
8560 <xccdf:ident system="http://cce.mitre.org">CCE-4428-9</xccdf:ident>
8561 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8562 <xccdf:fix># yum erase anacron</xccdf:fix>
8563 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8564 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20207"/>
8565 </xccdf:check>
8566 </xccdf:Rule>
8567 </xccdf:Group>
8568 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.2">
8569 <xccdf:title xml:lang="en">Restrict Permissions on Files Used by cron</xccdf:title>
8570 <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/>
8571 <xhtml:br/>
8572 <xhtml:code># chown root:root /etc/crontab <xhtml:br/>
8573 # chmod 600 /etc/crontab</xhtml:code></xhtml:li><xhtml:li>If anacron has not been removed,
8574 restrict the permissions on its primary configuration file: <xhtml:br/>
8575 <xhtml:br/>
8576 <xhtml:code># chown root:root /etc/anacrontab <xhtml:br/>
8577 # chmod 600 /etc/anacrontab </xhtml:code></xhtml:li><xhtml:li>Restrict the permission on all system
8578 crontab directories: <xhtml:br/>
8579 <xhtml:br/>
8580 <xhtml:code># cd /etc <xhtml:br/>
8581 # chown -R root:root cron.hourly cron.daily cron.weekly cron.monthly cron.d <xhtml:br/>
8582 # 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/>
8583 <xhtml:br/>
8584 <xhtml:code># chown root:root /var/spool/cron <xhtml:br/>
8585 # 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"/>
8586 Cron and anacron make use of a
8587 number of configuration files and directories. The system crontabs need only be edited by
8588 root, and user crontabs are edited using the setuid root crontab command. If unprivileged
8589 users can modify system cron configuration files, they may be able to gain elevated
8590 privileges, so all unnecessary access to these files should be disabled.</xccdf:description>
8591 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" operator="equals" type="string">
8592 <xccdf:title>group owner of /etc/crontab</xccdf:title>
8593 <xccdf:description xml:lang="en">Specify group owner of /etc/crontab.</xccdf:description>
8594 <xccdf:question xml:lang="en">Specify group owner of /etc/crontab</xccdf:question>
8595 <xccdf:value>root</xccdf:value>
8596 <xccdf:value selector="root">root</xccdf:value>
8597 </xccdf:Value>
8598 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" operator="equals" type="string">
8599 <xccdf:title>user owner of /etc/crontab</xccdf:title>
8600 <xccdf:description xml:lang="en">Specify user owner of /etc/crontab.</xccdf:description>
8601 <xccdf:question xml:lang="en">Specify user owner of /etc/crontab</xccdf:question>
8602 <xccdf:value>root</xccdf:value>
8603 <xccdf:value selector="root">root</xccdf:value>
8604 </xccdf:Value>
8605 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" operator="equals" type="string">
8606 <xccdf:title>permissions on /etc/crontab file</xccdf:title>
8607 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
8608 <xccdf:question xml:lang="en">Specify permissions of /etc/crontab</xccdf:question>
8609 <xccdf:value>110100100</xccdf:value>
8610 <xccdf:value selector="644">110100100</xccdf:value>
8611 <xccdf:value selector="400">100000000</xccdf:value>
8612 <xccdf:value selector="600">110000000</xccdf:value>
8613 <xccdf:value selector="700">111000000</xccdf:value>
8614 </xccdf:Value>
8615 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" operator="equals" type="string">
8616 <xccdf:title>group owner of /etc/anacrontab</xccdf:title>
8617 <xccdf:description xml:lang="en">Specify group owner of /etc/ancrontab.</xccdf:description>
8618 <xccdf:question xml:lang="en">Specify group owner of /etc/anacrontab</xccdf:question>
8619 <xccdf:value>root</xccdf:value>
8620 <xccdf:value selector="root">root</xccdf:value>
8621 </xccdf:Value>
8622 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" operator="equals" type="string">
8623 <xccdf:title>user owner of /etc/anacrontab</xccdf:title>
8624 <xccdf:description xml:lang="en">Specify user owner of /etc/anacrontab.</xccdf:description>
8625 <xccdf:question xml:lang="en">Specify user owner of /etc/anacrontab</xccdf:question>
8626 <xccdf:value>root</xccdf:value>
8627 <xccdf:value selector="root">root</xccdf:value>
8628 </xccdf:Value>
8629 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" operator="equals" type="string">
8630 <xccdf:title>permissions on /etc/anacrontab file</xccdf:title>
8631 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
8632 <xccdf:question xml:lang="en">Specify permissions of /etc/anacrontab</xccdf:question>
8633 <xccdf:value>110100100</xccdf:value>
8634 <xccdf:value selector="644">110100100</xccdf:value>
8635 <xccdf:value selector="400">100000000</xccdf:value>
8636 <xccdf:value selector="600">110000000</xccdf:value>
8637 <xccdf:value selector="700">111000000</xccdf:value>
8638 </xccdf:Value>
8639 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" operator="equals" type="string">
8640 <xccdf:title>group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
8641 <xccdf:description xml:lang="en">Specify group owner of /etc/cron.* files and directories.</xccdf:description>
8642 <xccdf:question xml:lang="en">Specify group owner of /etc/cron.* files and directories</xccdf:question>
8643 <xccdf:value>root</xccdf:value>
8644 <xccdf:value selector="root">root</xccdf:value>
8645 </xccdf:Value>
8646 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" operator="equals" type="string">
8647 <xccdf:title>user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
8648 <xccdf:description xml:lang="en">Specify user owner of /etc/cron.* files and directories.</xccdf:description>
8649 <xccdf:question xml:lang="en">Specify user owner of /etc/cron.* files and directories</xccdf:question>
8650 <xccdf:value>root</xccdf:value>
8651 <xccdf:value selector="root">root</xccdf:value>
8652 </xccdf:Value>
8653 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" operator="equals" type="string">
8654 <xccdf:title>permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
8655 <xccdf:description xml:lang="en">Specify file and directory permissions on /etc/cron.*.</xccdf:description>
8656 <xccdf:question xml:lang="en">Specify permissions of /etc/cron.* files and directories</xccdf:question>
8657 <xccdf:value>111101101</xccdf:value>
8658 <xccdf:value selector="755">111101101</xccdf:value>
8659 <xccdf:value selector="400">100000000</xccdf:value>
8660 <xccdf:value selector="600">110000000</xccdf:value>
8661 <xccdf:value selector="700">111000000</xccdf:value>
8662 </xccdf:Value>
8663 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.group" operator="equals" type="string">
8664 <xccdf:title>group owner of /var/spool/cron</xccdf:title>
8665 <xccdf:description xml:lang="en">Specify group owner of /var/spool/cron.</xccdf:description>
8666 <xccdf:question xml:lang="en">Specify group owner of /var/spool/cron</xccdf:question>
8667 <xccdf:value>root</xccdf:value>
8668 <xccdf:value selector="root">root</xccdf:value>
8669 </xccdf:Value>
8670 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.user" operator="equals" type="string">
8671 <xccdf:title>user owner of /var/spool/cron</xccdf:title>
8672 <xccdf:description xml:lang="en">Specify user owner of /var/spool/cron.</xccdf:description>
8673 <xccdf:value>root</xccdf:value>
8674 <xccdf:value selector="root">root</xccdf:value>
8675 </xccdf:Value>
8676 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" operator="equals" type="string">
8677 <xccdf:title>permissions on /var/spool/cron file</xccdf:title>
8678 <xccdf:description xml:lang="en">Specify file permissions on /var/spool/cron.</xccdf:description>
8679 <xccdf:question xml:lang="en">Specify file permissions of /var/spool/cron</xccdf:question>
8680 <xccdf:value>111000000</xccdf:value>
8681 <xccdf:value selector="400">100000000</xccdf:value>
8682 <xccdf:value selector="600">110000000</xccdf:value>
8683 <xccdf:value selector="700">111000000</xccdf:value>
8684 </xccdf:Value>
8685 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.a" selected="false" severity="medium" weight="10.0">
8686 <xccdf:title>Set group owner on /etc/crontab</xccdf:title>
8687 <xccdf:description>The /etc/crontab file should be owned by the appropriate group.</xccdf:description>
8688 <xccdf:ident system="http://cce.mitre.org">CCE-3626-9</xccdf:ident>
8689 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8690 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8691 <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"/>
8692 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20208"/>
8693 </xccdf:check>
8694 </xccdf:Rule>
8695 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.b" selected="false" severity="medium" weight="10.0">
8696 <xccdf:title>Set user owner on /etc/crontab</xccdf:title>
8697 <xccdf:description>The /etc/crontab file should be owned by the appropriate user.</xccdf:description>
8698 <xccdf:ident system="http://cce.mitre.org">CCE-3851-3</xccdf:ident>
8699 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8700 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8701 <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"/>
8702 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20209"/>
8703 </xccdf:check>
8704 </xccdf:Rule>
8705 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.c" selected="false" severity="medium" weight="10.0">
8706 <xccdf:title>Set Permissions on /etc/crontab</xccdf:title>
8707 <xccdf:title>Restrict Permissions on Files Used by cron</xccdf:title>
8708 <xccdf:description>File permissions for /etc/crontab should be set correctly.</xccdf:description>
8709 <xccdf:ident system="http://cce.mitre.org">CCE-4388-5</xccdf:ident>
8710 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8711 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8712 <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"/>
8713 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20210"/>
8714 </xccdf:check>
8715 </xccdf:Rule>
8716 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.a" selected="false" severity="medium" weight="10.0">
8717 <xccdf:title>Set group owner on /etc/anacrontab</xccdf:title>
8718 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate group.</xccdf:description>
8719 <xccdf:ident system="http://cce.mitre.org">CCE-3604-6</xccdf:ident>
8720 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8721 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8722 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20211" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group"/>
8723 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20211"/>
8724 </xccdf:check>
8725 </xccdf:Rule>
8726 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.b" selected="false" severity="medium" weight="10.0">
8727 <xccdf:title>Set user owner on /etc/anacrontab</xccdf:title>
8728 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate user.</xccdf:description>
8729 <xccdf:ident system="http://cce.mitre.org">CCE-4379-4</xccdf:ident>
8730 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8731 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8732 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20212" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user"/>
8733 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20212"/>
8734 </xccdf:check>
8735 </xccdf:Rule>
8736 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.c" selected="false" severity="medium" weight="10.0">
8737 <xccdf:title>Set Permissions on /etc/anacrontab</xccdf:title>
8738 <xccdf:description>File permissions for /etc/anacrontab should be set correctly.</xccdf:description>
8739 <xccdf:ident system="http://cce.mitre.org">CCE-4304-2</xccdf:ident>
8740 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8741 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8742 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20213" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions"/>
8743 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20213"/>
8744 </xccdf:check>
8745 </xccdf:Rule>
8746 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.a" selected="false" severity="medium" weight="10.0">
8747 <xccdf:title>Set group owner on /etc/cron.hourly</xccdf:title>
8748 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate group.</xccdf:description>
8749 <xccdf:ident system="http://cce.mitre.org">CCE-4054-3</xccdf:ident>
8750 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8751 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8752 <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"/>
8753 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20214"/>
8754 </xccdf:check>
8755 </xccdf:Rule>
8756 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.b" selected="false" severity="medium" weight="10.0">
8757 <xccdf:title>Set group owner on /etc/cron.daily</xccdf:title>
8758 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate group.</xccdf:description>
8759 <xccdf:ident system="http://cce.mitre.org">CCE-3481-9</xccdf:ident>
8760 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8761 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8762 <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"/>
8763 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20215"/>
8764 </xccdf:check>
8765 </xccdf:Rule>
8766 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.c" selected="false" severity="medium" weight="10.0">
8767 <xccdf:title>Set group owner on /etc/cron.weekly</xccdf:title>
8768 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate group.</xccdf:description>
8769 <xccdf:ident system="http://cce.mitre.org">CCE-4331-5</xccdf:ident>
8770 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8771 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8772 <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"/>
8773 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20216"/>
8774 </xccdf:check>
8775 </xccdf:Rule>
8776 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.d" selected="false" severity="medium" weight="10.0">
8777 <xccdf:title>Set group owner on /etc/cron.monthly</xccdf:title>
8778 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate group.</xccdf:description>
8779 <xccdf:ident system="http://cce.mitre.org">CCE-4322-4</xccdf:ident>
8780 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8781 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8782 <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"/>
8783 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20217"/>
8784 </xccdf:check>
8785 </xccdf:Rule>
8786 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.e" selected="false" severity="medium" weight="10.0">
8787 <xccdf:title>Set group owner on /etc/cron.d</xccdf:title>
8788 <xccdf:description>The /etc/cron.d file should be owned by the appropriate group.</xccdf:description>
8789 <xccdf:ident system="http://cce.mitre.org">CCE-4212-7</xccdf:ident>
8790 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8791 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8792 <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"/>
8793 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20218"/>
8794 </xccdf:check>
8795 </xccdf:Rule>
8796 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.f" selected="false" severity="medium" weight="10.0">
8797 <xccdf:title>Set user owner on /etc/cron.hourly</xccdf:title>
8798 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate user.</xccdf:description>
8799 <xccdf:ident system="http://cce.mitre.org">CCE-3983-4</xccdf:ident>
8800 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8801 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8802 <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"/>
8803 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20219"/>
8804 </xccdf:check>
8805 </xccdf:Rule>
8806 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.g" selected="false" severity="medium" weight="10.0">
8807 <xccdf:title>Set user owner on /etc/cron.daily</xccdf:title>
8808 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate user.</xccdf:description>
8809 <xccdf:ident system="http://cce.mitre.org">CCE-4022-0</xccdf:ident>
8810 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8811 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8812 <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"/>
8813 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20220"/>
8814 </xccdf:check>
8815 </xccdf:Rule>
8816 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.h" selected="false" severity="medium" weight="10.0">
8817 <xccdf:title>Set user owner on /etc/cron.weekly</xccdf:title>
8818 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate user.</xccdf:description>
8819 <xccdf:ident system="http://cce.mitre.org">CCE-3833-1</xccdf:ident>
8820 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8821 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8822 <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"/>
8823 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20221"/>
8824 </xccdf:check>
8825 </xccdf:Rule>
8826 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.i" selected="false" severity="medium" weight="10.0">
8827 <xccdf:title>Set user owner on /etc/cron.monthly</xccdf:title>
8828 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate user.</xccdf:description>
8829 <xccdf:ident system="http://cce.mitre.org">CCE-4441-2</xccdf:ident>
8830 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8831 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8832 <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"/>
8833 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20222"/>
8834 </xccdf:check>
8835 </xccdf:Rule>
8836 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.j" selected="false" severity="medium" weight="10.0">
8837 <xccdf:title>Set user owner on /etc/cron.d</xccdf:title>
8838 <xccdf:description>The /etc/cron.d file should be owned by the appropriate user.</xccdf:description>
8839 <xccdf:ident system="http://cce.mitre.org">CCE-4380-2</xccdf:ident>
8840 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8841 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8842 <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"/>
8843 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20223"/>
8844 </xccdf:check>
8845 </xccdf:Rule>
8846 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.k" selected="false" severity="medium" weight="10.0">
8847 <xccdf:title>Set permissions on /etc/cron.hourly</xccdf:title>
8848 <xccdf:description>File permissions for /etc/cron.hourly should be set correctly.</xccdf:description>
8849 <xccdf:ident system="http://cce.mitre.org">CCE-4106-1</xccdf:ident>
8850 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8851 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8852 <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"/>
8853 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20224"/>
8854 </xccdf:check>
8855 </xccdf:Rule>
8856 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.l" selected="false" severity="medium" weight="10.0">
8857 <xccdf:title>Set permissions on /etc/cron.daily</xccdf:title>
8858 <xccdf:description>File permissions for /etc/cron.daily should be set correctly.</xccdf:description>
8859 <xccdf:ident system="http://cce.mitre.org">CCE-4450-3</xccdf:ident>
8860 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8861 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8862 <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"/>
8863 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20225"/>
8864 </xccdf:check>
8865 </xccdf:Rule>
8866 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.m" selected="false" severity="medium" weight="10.0">
8867 <xccdf:title>Set permissions on /etc/cron.weekly</xccdf:title>
8868 <xccdf:description>File permissions for /etc/cron.weekly should be set correctly.</xccdf:description>
8869 <xccdf:ident system="http://cce.mitre.org">CCE-4203-6</xccdf:ident>
8870 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8871 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8872 <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"/>
8873 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20226"/>
8874 </xccdf:check>
8875 </xccdf:Rule>
8876 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.n" selected="false" severity="medium" weight="10.0">
8877 <xccdf:title>Set permissions on /etc/cron.monthly</xccdf:title>
8878 <xccdf:description>File permissions for /etc/cron.monthly should be set correctly.</xccdf:description>
8879 <xccdf:ident system="http://cce.mitre.org">CCE-4251-5</xccdf:ident>
8880 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8881 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8882 <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"/>
8883 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20227"/>
8884 </xccdf:check>
8885 </xccdf:Rule>
8886 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.o" selected="false" severity="medium" weight="10.0">
8887 <xccdf:title>Set permissions on /etc/cron.d</xccdf:title>
8888 <xccdf:description>File permissions for /etc/cron.d should be set correctly.</xccdf:description>
8889 <xccdf:ident system="http://cce.mitre.org">CCE-4250-7</xccdf:ident>
8890 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8891 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8892 <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"/>
8893 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20228"/>
8894 </xccdf:check>
8895 </xccdf:Rule>
8896 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.a" selected="false" severity="medium" weight="10.0">
8897 <xccdf:title>Restrict group owner on /var/spool/cron directory</xccdf:title>
8898 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate group.</xccdf:description>
8899 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8900 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8901 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20229" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.group"/>
8902 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20229"/>
8903 <!-- TBD -->
8904 </xccdf:check>
8905 </xccdf:Rule>
8906 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.b" selected="false" severity="medium" weight="10.0">
8907 <xccdf:title>Restrict user owner on /var/spool/cron directory</xccdf:title>
8908 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate user.</xccdf:description>
8909 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
8910 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8911 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20230" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.user"/>
8912 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20230"/>
8913 <!-- TBD -->
8914 </xccdf:check>
8915 </xccdf:Rule>
8916 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.c" selected="false" severity="medium" weight="10.0">
8917 <xccdf:title>Restrict Permissions on /var/spool/cron directory</xccdf:title>
8918 <xccdf:description>Directory permissions for /var/spool/cron should be set correctly.</xccdf:description>
8919 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
8920 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8921 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20231" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions"/>
8922 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20231"/>
8923 <!-- TBD -->
8924 </xccdf:check>
8925 </xccdf:Rule>
8926 </xccdf:Group>
8927 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.3">
8928 <xccdf:title xml:lang="en">Disable at if Possible</xccdf:title>
8929 <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"/>
8930 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8931 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig atd off<xhtml:br/></xhtml:code>
8932 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8933 Many of the periodic or delayed execution features of the at daemon can be provided through the cron daemon
8934 instead.
8935 </xccdf:description>
8936 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.a" selected="false" severity="low" weight="10.0">
8937 <xccdf:title>Disable at Daemon</xccdf:title>
8938 <xccdf:description>The atd service should be disabled.</xccdf:description>
8939 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8940 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8941 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202052"/>
8942 </xccdf:check>
8943 </xccdf:Rule>
8944 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.b" selected="false" weight="10.0">
8945 <xccdf:title>uninstall at Daemon</xccdf:title>
8946 <xccdf:description>The at package should be removed.</xccdf:description>
8947 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8948 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8949 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202053"/>
8950 </xccdf:check>
8951 </xccdf:Rule>
8952 </xccdf:Group>
8953 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.4">
8954 <xccdf:title xml:lang="en">Restrict at and cron to Authorized Users</xccdf:title>
8955 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Remove the cron.deny file: <xhtml:br/>
8956 <xhtml:br/>
8957 <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
8958 create cron jobs. </xhtml:li><xhtml:li>Remove the at.deny file: <xhtml:br/>
8959 <xhtml:br/>
8960 <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"/>
8961 The
8962 /etc/cron.allow and /etc/at.allow files contain lists of users who are allowed to use cron
8963 and at to delay execution of processes. If these files exist and if the corresponding
8964 files /etc/cron.deny and /etc/at.deny do not exist, then only users listed in the relevant
8965 allow files can run the crontab and at commands to submit jobs to be run at scheduled
8966 intervals. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8967 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8968 On many systems, only the system administrator needs the ability to schedule
8969 jobs. Note that even if a given user is not listed in cron.allow, cron jobs can still be
8970 run as that user. The cron.allow file controls only administrative access to the crontab
8971 command for scheduling and modifying cron jobs.</xccdf:description>
8972 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.a" selected="false" severity="medium" weight="10.0">
8973 <xccdf:title>Remove /etc/cron.deny</xccdf:title>
8974 <xccdf:description>/etc/cron.deny file should not exist.</xccdf:description>
8975 <xccdf:fix>rm /etc/cron.deny</xccdf:fix>
8976 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8977 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20232"/>
8978 </xccdf:check>
8979 </xccdf:Rule>
8980 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.b" selected="false" severity="medium" weight="10.0">
8981 <xccdf:title>Remove /etc/at.deny</xccdf:title>
8982 <xccdf:description>/etc/at.deny file should not exist.</xccdf:description>
8983 <xccdf:fix>rm /etc/at.deny</xccdf:fix>
8984 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8985 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20233"/>
8986 </xccdf:check>
8987 </xccdf:Rule>
8988 </xccdf:Group>
8989 </xccdf:Group>
8990 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5">
8991 <xccdf:title xml:lang="en">SSH Server</xccdf:title>
8992 <xccdf:description xml:lang="en">
8993 The SSH protocol is recommended for remote login and remote file
8994 transfer. SSH provides confidentiality and integrity for data exchanged between two systems,
8995 as well as server authentication, through the use of public key cryptography. The
8996 implementation included with the system is called OpenSSH, and more detailed documentation
8997 is available from its website, http://www.openssh.org. Its server program is called sshd and
8998 provided by the RPM package openssh-server.</xccdf:description>
8999 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1">
9000 <xccdf:title xml:lang="en">Disable OpenSSH Server if Possible</xccdf:title>
9001 <xccdf:description xml:lang="en">
9002 Unless the system needs to provide the remote login and file
9003 transfer capabilities of SSH, disable and remove the OpenSSH server and its configuration.</xccdf:description>
9004 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.1">
9005 <xccdf:title xml:lang="en">Disable and Remove OpenSSH Software</xccdf:title>
9006 <xccdf:description xml:lang="en">
9007 Disable and remove openssh-server with the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9008 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9009 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig sshd off <xhtml:br/>
9010 # yum erase openssh-server <xhtml:br/></xhtml:code>
9011 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9012 Users of the system will still be able to
9013 use the SSH client program /usr/bin/ssh to access SSH servers on other systems.</xccdf:description>
9014 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false" severity="low" weight="10.0">
9015 <xccdf:title>Disable OpenSSH Software</xccdf:title>
9016 <xccdf:description>The sshd service should be disabled.</xccdf:description>
9017 <xccdf:ident system="http://cce.mitre.org">CCE-4268-9</xccdf:ident>
9018 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9019 <xccdf:fix># chkconfig sshd off</xccdf:fix>
9020 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9021 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20234"/>
9022 </xccdf:check>
9023 </xccdf:Rule>
9024 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false" weight="10.0">
9025 <xccdf:title>Remove OpenSSH Software</xccdf:title>
9026 <xccdf:description>SSH should be uninstalled</xccdf:description>
9027 <xccdf:ident system="http://cce.mitre.org">CCE-4272-1</xccdf:ident>
9028 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9029 <xccdf:fix># yum erase openssh-server</xccdf:fix>
9030 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9031 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20235"/>
9032 </xccdf:check>
9033 </xccdf:Rule>
9034 </xccdf:Group>
9035 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.2">
9036 <xccdf:title xml:lang="en">Remove SSH Server iptables Firewall Exception</xccdf:title>
9037 <xccdf:description xml:lang="en">
9038 Edit the files /etc/sysconfig/iptables and
9039 /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"/>
9040 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9041 -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"/>
9042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9043 By default, inbound connections to SSH's port are allowed. If the SSH server is not
9044 being used, this exception should be removed from the firewall configuration. See
9045 Section 2.5.5 for more information about Iptables.</xccdf:description>
9046 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false" severity="high" weight="10.0">
9047 <xccdf:title>Remove SSH Server iptables Firewall Exception</xccdf:title>
9048 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9049 <xccdf:ident system="http://cce.mitre.org">CCE-4295-2</xccdf:ident>
9050 <xccdf:fixtext>(1) /etc/sysconfig/iptables</xccdf:fixtext>
9051 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9052 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20236"/>
9053 </xccdf:check>
9054 </xccdf:Rule>
9055 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false" severity="high" weight="10.0">
9056 <xccdf:title>Remove SSH Server ip6tables Firewall Exception</xccdf:title>
9057 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9058 <xccdf:fixtext>(1) /etc/sysconfig/ip6tables</xccdf:fixtext>
9059 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9060 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20237"/>
9061 </xccdf:check>
9062 </xccdf:Rule>
9063 </xccdf:Group>
9064 </xccdf:Group>
9065 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2">
9066 <xccdf:title xml:lang="en">Configure OpenSSH Server if Necessary</xccdf:title>
9067 <xccdf:description xml:lang="en">
9068 If the system needs to act as an SSH server, then certain changes
9069 should be made to the OpenSSH daemon configuration file /etc/ssh/sshd config. The
9070 following recommendations can be applied to this file. See the sshd config(5) man page for
9071 more detailed information.</xccdf:description>
9072 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.1">
9073 <xccdf:title xml:lang="en">Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9074 <xccdf:description xml:lang="en">
9075 Only SSH protocol version 2 connections should be permitted.
9076 Version 1 of the protocol contains security vulnerabilities. The default setting shipped
9077 in the configuration file is correct, but it is important enough to check. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9078 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9079 Verify that the following line appears: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9080 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9081 Protocol 2</xccdf:description>
9082 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false" severity="high" weight="10.0">
9083 <xccdf:title>Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9084 <xccdf:description>SSH version 1 protocol support should be disabled.</xccdf:description>
9085 <xccdf:ident system="http://cce.mitre.org">CCE-4325-7</xccdf:ident>
9086 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9087 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9088 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20238"/>
9089 </xccdf:check>
9090 </xccdf:Rule>
9091 </xccdf:Group>
9092 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.2">
9093 <xccdf:title xml:lang="en">Limit Users SSH Access'</xccdf:title>
9094 <xccdf:description xml:lang="en">
9095 By default, the SSH configuration allows any user to access the
9096 system. In order to allow all users to login via SSH but deny only a few users, add or
9097 correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9099 DenyUsers USER1 USER2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9101 Alternatively, if it is appropriate to allow only a few users access to the system via
9102 SSH, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9103 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9104 AllowUsers USER1 USER2</xccdf:description>
9105 </xccdf:Group>
9106 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.3">
9107 <xccdf:title xml:lang="en">Set Idle Timeout Interval for User Logins</xccdf:title>
9108 <xccdf:description xml:lang="en">
9109 SSH allows administrators to set an idle timeout interval.
9110 After this interval has passed, the idle user will be automatically logged out. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9111 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9112 Find and edit the following lines in /etc/ssh/sshd config as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9113 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9114 ClientAliveInterval interval <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9115 ClientAliveCountMax 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9116 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9117 The timeout interval is given in seconds.
9118 To have a timeout of 5 minutes, set interval to 300. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9120 If a shorter timeout has already been set for
9121 the login shell, as in Section 2.3.5.5, that value will preempt any SSH setting made
9122 here. Keep in mind that some processes may stop SSH from correctly detecting that the
9123 user is idle.</xccdf:description>
9124 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.a" operator="equals" type="number">
9125 <xccdf:title>SSH session Idle time</xccdf:title>
9126 <xccdf:description xml:lang="en">Specify duration of allowed idle time.</xccdf:description>
9127 <xccdf:question xml:lang="en">Specify duration of allowed idle time (in seconds) for SSH session</xccdf:question>
9128 <xccdf:value>300</xccdf:value>
9129 <xccdf:value selector="5_minutes">300</xccdf:value>
9130 <xccdf:value selector="10_minutes">600</xccdf:value>
9131 </xccdf:Value>
9132 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.b" operator="equals" type="number">
9133 <xccdf:title>SSH session ClientAliveCountMax</xccdf:title>
9134 <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>
9135 <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>
9136 <xccdf:value>3</xccdf:value>
9137 <xccdf:value selector="0">0</xccdf:value>
9138 <xccdf:value selector="3">3</xccdf:value>
9139 </xccdf:Value>
9140 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false" severity="medium" weight="10.0">
9141 <xccdf:title>Set Idle Timeout Interval for User Logins</xccdf:title>
9142 <xccdf:description>The SSH idle timout interval should be set to an appropriate
9143 value</xccdf:description>
9144 <xccdf:ident system="http://cce.mitre.org">CCE-3845-5</xccdf:ident>
9145 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9146 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9147 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20239" value-id="xccdf_cdf_value_var-3.5.2.3.a"/>
9148 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20239"/>
9149 </xccdf:check>
9150 </xccdf:Rule>
9151 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false" weight="10.0">
9152 <xccdf:title>Set ClientAliveCountMax for User Logins</xccdf:title>
9153 <xccdf:description>The ClientAliveCountMax should be set to an appropriate value</xccdf:description>
9154 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9155 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9156 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20240" value-id="xccdf_cdf_value_var-3.5.2.3.b"/>
9157 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20240"/>
9158 </xccdf:check>
9159 </xccdf:Rule>
9160 </xccdf:Group>
9161 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.4">
9162 <xccdf:title xml:lang="en">Disable .rhosts Files</xccdf:title>
9163 <xccdf:description xml:lang="en">
9164 SSH can emulate the behavior of the obsolete rsh command in
9165 allowing users to enable insecure access to their accounts via .rhosts files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9166 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9167 To ensure that this behavior is disabled, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9168 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9169 IgnoreRhosts yes</xccdf:description>
9170 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false" severity="high" weight="10.0">
9171 <xccdf:title>Disable .rhosts Files</xccdf:title>
9172 <xccdf:description>Emulation of the rsh command through the ssh server should be disabled</xccdf:description>
9173 <xccdf:ident system="http://cce.mitre.org">CCE-4475-0</xccdf:ident>
9174 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9175 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9176 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20241"/>
9177 </xccdf:check>
9178 </xccdf:Rule>
9179 </xccdf:Group>
9180 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.5">
9181 <xccdf:title xml:lang="en">Disable Host-Based Authentication</xccdf:title>
9182 <xccdf:description xml:lang="en">
9183 SSH's cryptographic host-based authentication is slightly more
9184 secure than .rhosts authentication, since hosts are cryptographically authenticated.
9185 However, it is not recommended that hosts unilaterally trust one another, even within an
9186 organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9187 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9188 To disable host-based authentication, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9189 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9190 HostbasedAuthentication no</xccdf:description>
9191 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false" weight="10.0">
9192 <xccdf:title>Disable Host-Based Authentication</xccdf:title>
9193 <xccdf:description>SSH host-based authentication should be disabled</xccdf:description>
9194 <xccdf:ident system="http://cce.mitre.org">CCE-4370-3</xccdf:ident>
9195 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9196 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9197 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20242"/>
9198 </xccdf:check>
9199 </xccdf:Rule>
9200 </xccdf:Group>
9201 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.6">
9202 <xccdf:title xml:lang="en">Disable root Login via SSH</xccdf:title>
9203 <xccdf:description xml:lang="en">
9204 The root user should never be allowed to login directly over a
9205 network, as this both reduces auditable information about who ran privileged commands on
9206 the system and allows direct attack attempts on root's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9208 To disable root login via SSH, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9209 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9210 PermitRootLogin no</xccdf:description>
9211 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false" severity="medium" weight="10.0">
9212 <xccdf:title>Disable root Login via SSH</xccdf:title>
9213 <xccdf:description>Root login via SSH should be disabled</xccdf:description>
9214 <xccdf:ident system="http://cce.mitre.org">CCE-4387-7</xccdf:ident>
9215 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9216 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9217 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20243"/>
9218 </xccdf:check>
9219 </xccdf:Rule>
9220 </xccdf:Group>
9221 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.7">
9222 <xccdf:title xml:lang="en">Disable Empty Passwords</xccdf:title>
9223 <xccdf:description xml:lang="en">
9224 To explicitly disallow remote login from accounts with empty
9225 passwords, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9226 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9227 PermitEmptyPasswords no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9228 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9229 Measures should also be taken to disable accounts with empty passwords system-wide,
9230 as described in Section 2.3.1.5.</xccdf:description>
9231 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false" weight="10.0">
9232 <xccdf:title>Disable Empty Passwords</xccdf:title>
9233 <xccdf:description>Remote connections from accounts with empty passwords should be disabled</xccdf:description>
9234 <xccdf:ident system="http://cce.mitre.org">CCE-3660-8</xccdf:ident>
9235 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9236 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9237 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20244"/>
9238 </xccdf:check>
9239 </xccdf:Rule>
9240 </xccdf:Group>
9241 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.8">
9242 <xccdf:title xml:lang="en">Enable a Warning Banner</xccdf:title>
9243 <xccdf:description xml:lang="en">
9244 Section 2.3.7 contains information on how to create an
9245 appropriate warning banner. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9246 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9247 To enable a warning banner, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9248 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9249 Banner /etc/issue</xccdf:description>
9250 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false" severity="medium" weight="10.0">
9251 <xccdf:title>Enable a Warning Banner</xccdf:title>
9252 <xccdf:description>SSH warning banner should be enabled</xccdf:description>
9253 <xccdf:ident system="http://cce.mitre.org">CCE-4431-3</xccdf:ident>
9254 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9255 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9256 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20245"/>
9257 </xccdf:check>
9258 </xccdf:Rule>
9259 </xccdf:Group>
9260 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.9">
9261 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9262 <xccdf:description xml:lang="en">
9263 To prevent users from being able to present environment options to the SSH daemon and potentially bypass
9264 some access restrictions, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9265 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9266 PermitUserEnvironment no
9267 </xccdf:description>
9268 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false" weight="10">
9269 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9270 <xccdf:description>PermitUserEnvironment should be disabled</xccdf:description>
9271 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9272 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9273 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202455"/>
9274 </xccdf:check>
9275 </xccdf:Rule>
9276 </xccdf:Group>
9277 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.10">
9278 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9279 <xccdf:description xml:lang="en">
9280 Limit the ciphers to those which are FIPS-approved and only use ciphers in counter (CTR) mode. The
9281 following line demonstrates use of FIPS-approved ciphers in CTR mode:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9282 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9283 Ciphers aes128-ctr,aes192-ctr,aes256-ctr<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9284 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9285 The man page sshd_config(5) contains a list of the ciphers supported for the current release of the SSH daemon.</xccdf:description>
9286 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false" weight="10">
9287 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9288 <xccdf:description>Use only FIPS approved ciphers not in CBC mode</xccdf:description>
9289 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9290 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9291 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202456"/>
9292 </xccdf:check>
9293 </xccdf:Rule>
9294 </xccdf:Group>
9295 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.11">
9296 <xccdf:title xml:lang="en">Strengthen Firewall Configuration if Possible</xccdf:title>
9297 <xccdf:description xml:lang="en">
9298 If the SSH server must only accept connections from the local
9299 network, then strengthen the default firewall rule for the SSH service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9300 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9301 Determine an
9302 appropriate network block, netwk, and network mask, mask, representing the machines on
9303 your network which must be allowed to access this SSH server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9305 Edit the files
9306 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in use). In each file,
9307 locate the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9309 -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"/>
9310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9311 and replace it with: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9312 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9313 -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"/>
9314 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9315 If your site uses IPv6, and you are editing ip6tables, use the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9316 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9317 -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"/>
9318 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9319 instead because Netfilter does not yet reliably support stateful filtering for
9320 IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9321 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9322 See Section 2.5.5 for more information about Iptables configuration.</xccdf:description>
9323 </xccdf:Group>
9324 </xccdf:Group>
9325 </xccdf:Group>
9326 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6">
9327 <xccdf:title xml:lang="en">X Window System</xccdf:title>
9328 <xccdf:description xml:lang="en">The X Window System implementation included with the system is called X.org.</xccdf:description>
9329 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1">
9330 <xccdf:title xml:lang="en">Disable X Windows if Possible</xccdf:title>
9331 <xccdf:description xml:lang="en">
9332 Unless there is a mission-critical reason for the machine to run
9333 a GUI login screen, prevent X from starting automatically at boot. There is usually no
9334 reason to run X Windows on a dedicated server machine, since administrators can login via
9335 SSH or on the text console.</xccdf:description>
9336 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.1">
9337 <xccdf:title xml:lang="en">Disable X Windows at System Boot</xccdf:title>
9338 <xccdf:description xml:lang="en">
9339 Edit the file /etc/inittab, and correct the line
9340 id:5:initdefault: to: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9342 id:3:initdefault: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9343 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9344 This action changes the default boot runlevel of
9345 the system from 5 to 3. These two runlevels should be identical except that runlevel 5
9346 starts X on boot, while runlevel 3 does not.</xccdf:description>
9347 <xccdf:Value id="xccdf_cdf_value_var-3.6.1.1.a" operator="equals" type="number">
9348 <xccdf:title>default boot level</xccdf:title>
9349 <xccdf:description xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI.</xccdf:description>
9350 <xccdf:question xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI</xccdf:question>
9351 <xccdf:value>5</xccdf:value>
9352 <xccdf:value selector="multi-user-graphical">5</xccdf:value>
9353 <xccdf:value selector="multi-user-text">3</xccdf:value>
9354 <xccdf:value selector="single-user-text">1</xccdf:value>
9355 </xccdf:Value>
9356 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false" severity="medium" weight="10.0">
9357 <xccdf:title>Disable X Windows at System Boot</xccdf:title>
9358 <xccdf:description>X Windows should be disabled at system boot</xccdf:description>
9359 <xccdf:ident system="http://cce.mitre.org">CCE-4462-8</xccdf:ident>
9360 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
9361 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9362 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20246" value-id="xccdf_cdf_value_var-3.6.1.1.a"/>
9363 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20246"/>
9364 </xccdf:check>
9365 </xccdf:Rule>
9366 </xccdf:Group>
9367 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.2">
9368 <xccdf:title xml:lang="en">Remove X Windows from the System if Possible</xccdf:title>
9369 <xccdf:description xml:lang="en">
9370 Remove the X11 RPMs from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9371 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9372 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum groupremove "X Window System" <xhtml:br/></xhtml:code>
9373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9374 As long as X.org remains installed on the system, users can still run X
9375 Windows by typing startx at the shell prompt. This may run X Windows using configuration
9376 settings which are less secure than the system defaults. Therefore, if the machine is a
9377 dedicated server which does not need to provide graphical logins at all, it is safest to
9378 remove the X.org software entirely. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9379 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9380 The command given here will remove over 100
9381 packages. It should safely and effectively remove X from machines which do not need it.</xccdf:description>
9382 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false" weight="10.0">
9383 <xccdf:title>Remove X Windows from the System if Possible</xccdf:title>
9384 <xccdf:description>X Windows should be removed</xccdf:description>
9385 <xccdf:ident system="http://cce.mitre.org">CCE-4422-2</xccdf:ident>
9386 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9387 <xccdf:fix># yum groupremove "X Window System"</xccdf:fix>
9388 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9389 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20247"/>
9390 </xccdf:check>
9391 </xccdf:Rule>
9392 </xccdf:Group>
9393 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3">
9394 <xccdf:title xml:lang="en">Lock Down X Windows startx Configuration if Necessary</xccdf:title>
9395 <xccdf:description xml:lang="en">
9396 If X is not to be started at boot time but the software must
9397 remain installed, users will be able to run X manually using the startx command. In some
9398 cases, this runs X with a configuration which is less safe than the default. Follow
9399 these instructions to mitigate risk from this configuration.</xccdf:description>
9400 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.1">
9401 <xccdf:title xml:lang="en">Disable X Font Server</xccdf:title>
9402 <xccdf:description xml:lang="en">
9403 Disable the xfs helper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9404 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9405 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig xfs off <xhtml:br/></xhtml:code>
9406 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9407 The
9408 system's X.org requires the X Font Server service (xfs) to function. The xfs service
9409 will be started automatically if X.org is activated via startx. Therefore, it is safe
9410 to prevent xfs from starting at boot when X is disabled, even if users are allowed to
9411 run X manually.</xccdf:description>
9412 </xccdf:Group>
9413 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.2">
9414 <xccdf:title xml:lang="en">Disable X Window System Listening</xccdf:title>
9415 <xccdf:description xml:lang="en">
9416 To prevent X.org from listening for remote connections,
9417 create the file /etc/X11/xinit/xserverrc and fill it with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9418 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9419 exec X :0 -nolisten tcp $@ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9420 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9421 One of X.org's features is the ability to provide remote graphical
9422 display. This feature should be disabled unless it is required. If the system uses
9423 runlevel 5, which is the default, the GDM display manager starts X safely, with remote
9424 listening disabled. However, if X is started from the command line with the startx
9425 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"/>
9426 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9427 See the xinit(1), startx(1), and Xserver(1) man pages for more information.</xccdf:description>
9428 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false" severity="medium" weight="10.0">
9429 <xccdf:title>Disable X Window System Listening</xccdf:title>
9430 <xccdf:description>Disable the ability to provide remote graphical display</xccdf:description>
9431 <xccdf:ident system="http://cce.mitre.org">CCE-4074-1</xccdf:ident>
9432 <xccdf:fixtext>(1) via /etc/X11/xinit/xserverrc</xccdf:fixtext>
9433 <xccdf:fix>echo "exec X :0 -nolisten tcp $@" &gt; /etc/X11/xinit/xserverrc</xccdf:fix>
9434 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9435 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20248"/>
9436 </xccdf:check>
9437 </xccdf:Rule>
9438 </xccdf:Group>
9439 </xccdf:Group>
9440 </xccdf:Group>
9441 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2">
9442 <xccdf:title xml:lang="en">Configure X Windows if Necessary</xccdf:title>
9443 <xccdf:description xml:lang="en">
9444 If there is a mission-critical reason for this machine to run a
9445 GUI, improve the security of the default X configuration by following the guidance in this
9446 section.</xccdf:description>
9447 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2.1">
9448 <xccdf:title xml:lang="en">Create Warning Banners for GUI Login Users</xccdf:title>
9449 <xccdf:description xml:lang="en">
9450 Edit the file /etc/gdm/custom.conf. Locate the [greeter]
9451 section, and correct that section to contain the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9452 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9453 [greeter] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9454 InfoMsgFile=/etc/issue<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9455 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9456 See Section 2.3.7 for an explanation of banner file use. This setting will cause the
9457 system greeting banner to be displayed in a box prior to GUI login. If the default
9458 banner font is inappropriate, it can be changed by specifying the InfoMsgFont directive
9459 as well, for instance: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9460 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9461 InfoMsgFont=Sans 12</xccdf:description>
9462 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false" severity="medium" weight="10.0">
9463 <xccdf:title>Create Warning Banners for GUI Login Users</xccdf:title>
9464 <xccdf:description>Enable warning banner for GUI login</xccdf:description>
9465 <xccdf:ident system="http://cce.mitre.org">CCE-3717-6</xccdf:ident>
9466 <xccdf:fixtext>(1) via /etc/gdm/custom.conf</xccdf:fixtext>
9467 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9468 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20249"/>
9469 </xccdf:check>
9470 </xccdf:Rule>
9471 </xccdf:Group>
9472 </xccdf:Group>
9473 </xccdf:Group>
9474 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7">
9475 <xccdf:title xml:lang="en">Avahi Server</xccdf:title>
9476 <xccdf:description xml:lang="en">
9477 The Avahi daemon implements the DNS Service Discovery and Multicast
9478 DNS protocols, which provide service and host discovery on a network. It allows a system to
9479 automatically identify resources on the network, such as printers or web servers. This
9480 capability is also known as mDNSresponder and is a major part of Zeroconf networking. By
9481 default, it is enabled.</xccdf:description>
9482 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1">
9483 <xccdf:title xml:lang="en">Disable Avahi Server if Possible</xccdf:title>
9484 <xccdf:description xml:lang="en">
9485 Because the Avahi daemon service keeps an open network port, it
9486 is subject to network attacks. Disabling it is particularly important to reduce the
9487 system's vulnerability to such attacks.</xccdf:description>
9488 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.1">
9489 <xccdf:title xml:lang="en">Disable Avahi Server Software</xccdf:title>
9490 <xccdf:description xml:lang="en">
9491 Issue the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9492 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9493 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig avahi-daemon off</xhtml:code></xccdf:description>
9494 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false" severity="low" weight="10.0">
9495 <xccdf:title>Disable Avahi Server Software</xccdf:title>
9496 <xccdf:description>The avahi-daemon service should be disabled.</xccdf:description>
9497 <xccdf:ident system="http://cce.mitre.org">CCE-4365-3</xccdf:ident>
9498 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9499 <xccdf:fix># chkconfig avahi-daemon off</xccdf:fix>
9500 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9501 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20250"/>
9502 </xccdf:check>
9503 </xccdf:Rule>
9504 </xccdf:Group>
9505 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.2">
9506 <xccdf:title xml:lang="en">Remove Avahi Server iptables Firewall Exception</xccdf:title>
9507 <xccdf:description xml:lang="en">
9508 Edit the files /etc/sysconfig/iptables and
9509 /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"/>
9510 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9511 -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"/>
9512 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9513 By default, inbound
9514 connections to Avahi's port are allowed. If the Avahi server is not being used, this
9515 exception should be removed from the firewall configuration. See Section 2.5.5 for more
9516 information about the Iptables firewall.</xccdf:description>
9517 </xccdf:Group>
9518 </xccdf:Group>
9519 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2">
9520 <xccdf:title xml:lang="en">Configure Avahi if Necessary</xccdf:title>
9521 <xccdf:description xml:lang="en">
9522 If your system requires the Avahi daemon, its configuration can
9523 be restricted to improve security. The Avahi daemon configuration file is
9524 /etc/avahi/avahi-daemon.conf. The following security recommendations should be applied to
9525 this file. See the avahi-daemon.conf(5) man page or documentation at http://www.avahi.org
9526 for more detailed information about the configuration options.</xccdf:description>
9527 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.1">
9528 <xccdf:title xml:lang="en">Serve Only via Required Protocol</xccdf:title>
9529 <xccdf:description xml:lang="en">
9530 The default setting in the configuration file allows Avahi to
9531 use both IPv4 and IPv6 sockets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9532 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9533 If you are using only IPv4, edit
9534 /etc/avahi/avahi-daemon.conf and ensure the following line exists in the [server]
9535 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9537 use-ipv6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9538 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9539 Similarly, if you are using only IPv6, disable IPv4 sockets with the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9540 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9541 use-ipv4=no</xccdf:description>
9542 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false" severity="medium" weight="10.0">
9543 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9544 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv6</xccdf:description>
9545 <xccdf:ident system="http://cce.mitre.org">CCE-4136-8</xccdf:ident>
9546 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9547 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9548 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20251"/>
9549 </xccdf:check>
9550 </xccdf:Rule>
9551 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false" severity="medium" weight="10.0">
9552 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9553 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv4</xccdf:description>
9554 <xccdf:ident system="http://cce.mitre.org">CCE-4409-9</xccdf:ident>
9555 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9556 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9557 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20252"/>
9558 </xccdf:check>
9559 </xccdf:Rule>
9560 </xccdf:Group>
9561 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.2">
9562 <xccdf:title xml:lang="en">Check Responses TTL Field '</xccdf:title>
9563 <xccdf:description xml:lang="en">
9564 Avahi can be set to ignore IP packets unless their TTL field is
9565 255. To make Avahi ignore packets unless the TTL field is 255, edit
9566 /etc/avahi/avahi-daemon.conf and ensure the following line appears in the [server]
9567 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9568 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9569 check-response-ttl=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9570 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9571 This helps to ensure that only mDNS responses from the
9572 local network are processed, because the TTL field in a packet is decremented from its
9573 initial value of 255 whenever it is routed from one network to another. Although a
9574 properly-configured router or firewall should not allow mDNS packets into the local
9575 network at all, this option provides another check to ensure they are not trusted.</xccdf:description>
9576 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false" weight="10.0">
9577 <xccdf:title>Check Responses' TTL Field</xccdf:title>
9578 <xccdf:description>Avahi should be configured to reject packets with a TTL field not equal to 255</xccdf:description>
9579 <xccdf:ident system="http://cce.mitre.org">CCE-4426-3</xccdf:ident>
9580 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9581 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9582 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20253"/>
9583 </xccdf:check>
9584 </xccdf:Rule>
9585 </xccdf:Group>
9586 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.3">
9587 <xccdf:title xml:lang="en">Prevent Other Programs from Using Avahis Port '</xccdf:title>
9588 <xccdf:description xml:lang="en">
9589 Avahi can stop other mDNS stacks from running on the host by
9590 preventing other processes from binding to port 5353. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9591 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9592 To prevent other mDNS stacks from
9593 running, edit /etc/avahi/avahi-daemon.conf and ensure the following line appears in the
9594 [server] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9595 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9596 disallow-other-stacks=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9597 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9598 This is designed to help ensure that only
9599 Avahi is responsible for mDNS traffic coming from that port on the system.</xccdf:description>
9600 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false" weight="10.0">
9601 <xccdf:title>Prevent Other Programs from Using Avahi's Port</xccdf:title>
9602 <xccdf:description>Avahi should be configured to not allow other stacks from binding to port 5353</xccdf:description>
9603 <xccdf:ident system="http://cce.mitre.org">CCE-4193-9</xccdf:ident>
9604 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9605 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9606 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20254"/>
9607 </xccdf:check>
9608 </xccdf:Rule>
9609 </xccdf:Group>
9610 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.4">
9611 <xccdf:title xml:lang="en">Disable Publishing if Possible</xccdf:title>
9612 <xccdf:description xml:lang="en">
9613 The default setting in the configuration file allows the
9614 avahi-daemon to send information about the local host, such as its address records and
9615 the services it offers, to the local network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9616 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9617 To stop sending this information but still
9618 allow Avahi to query the network for services, ensure the configuration file includes
9619 the following line in the [publish] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9620 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9621 disable-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9622 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9623 This line may be
9624 particularly useful if Avahi is needed for printer discovery, but not to advertise
9625 services. This configuration is highly recommended for client systems that should not
9626 advertise their services (or existence).</xccdf:description>
9627 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false" weight="10.0">
9628 <xccdf:title>Disable Publishing if Possible</xccdf:title>
9629 <xccdf:description>Avahi publishing of local information should be disabled</xccdf:description>
9630 <xccdf:ident system="http://cce.mitre.org">CCE-4444-6</xccdf:ident>
9631 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9632 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9633 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20255"/>
9634 </xccdf:check>
9635 </xccdf:Rule>
9636 </xccdf:Group>
9637 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.5">
9638 <xccdf:title xml:lang="en">Restrict Published Information</xccdf:title>
9639 <xccdf:description xml:lang="en">
9640 If it is necessary to publish some information to the network,
9641 it should not be joined by any extraneous information, or by information supplied by a
9642 non-trusted source on the system. Prevent user applications from using Avahi to publish
9643 services by adding or correcting the following line in the [publish] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9644 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9645 disable-user-service-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9647 Implement as many of the following lines as
9648 possible, to restrict the information published by Avahi: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9649 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9650 publish-addresses=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9651 publish-hinfo=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9652 publish-workstation=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9653 publish-domain=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9655 Inspect the files in the
9656 directory /etc/avahi/services/. Unless there is an operational need to publish
9657 information about each of these services, delete the corresponding file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9659 These options
9660 should be used even if publishing is disabled entirely via disable-publishing, since
9661 that option prevents publishing attempts from succeeding, while these options prevent
9662 the attempts from being made in the first place. Using both approaches is recommended
9663 for completeness.</xccdf:description>
9664 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false" weight="10.0">
9665 <xccdf:title>Restrict disable-user-service-publishing</xccdf:title>
9666 <xccdf:description>Avahi publishing of local information by user applications should be disabled</xccdf:description>
9667 <xccdf:ident system="http://cce.mitre.org">CCE-4352-1</xccdf:ident>
9668 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9669 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9670 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20256"/>
9671 </xccdf:check>
9672 </xccdf:Rule>
9673 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false" weight="10.0">
9674 <xccdf:title>Restrict publish-addresses</xccdf:title>
9675 <xccdf:description>Avahi publishing of hardware information should be disabled</xccdf:description>
9676 <xccdf:ident system="http://cce.mitre.org">CCE-4433-9</xccdf:ident>
9677 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9678 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9679 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20257"/>
9680 </xccdf:check>
9681 </xccdf:Rule>
9682 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false" weight="10.0">
9683 <xccdf:title>Restrict publish-hinfo</xccdf:title>
9684 <xccdf:description>Avahi publishing of workstation name should be disabled</xccdf:description>
9685 <xccdf:ident system="http://cce.mitre.org">CCE-4451-1</xccdf:ident>
9686 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9687 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9688 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20258"/>
9689 </xccdf:check>
9690 </xccdf:Rule>
9691 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false" weight="10.0">
9692 <xccdf:title>Restrict publish-workstation</xccdf:title>
9693 <xccdf:description>Avahi publishing of IP addresses should be disabled</xccdf:description>
9694 <xccdf:ident system="http://cce.mitre.org">CCE-4341-4</xccdf:ident>
9695 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9696 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9697 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20259"/>
9698 </xccdf:check>
9699 </xccdf:Rule>
9700 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false" weight="10.0">
9701 <xccdf:title>Restrict publish-domain</xccdf:title>
9702 <xccdf:description>Avahi publishing of domain name should be disabled</xccdf:description>
9703 <xccdf:ident system="http://cce.mitre.org">CCE-4358-8</xccdf:ident>
9704 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9705 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9706 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20260"/>
9707 </xccdf:check>
9708 </xccdf:Rule>
9709 </xccdf:Group>
9710 </xccdf:Group>
9711 </xccdf:Group>
9712 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8">
9713 <xccdf:title xml:lang="en">Print Support</xccdf:title>
9714 <xccdf:description xml:lang="en">
9715 The Common Unix Printing System (CUPS) service provides both local
9716 and network printing support. A system running the CUPS service can accept print jobs from
9717 other systems, process them, and send them to the appropriate printer. It also provides an
9718 interface for remote administration through a web browser. The CUPS service is installed and
9719 activated by default. The project homepage and more detailed documentation are available at
9720 http://www.cups.org. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9721 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9722 The HP Linux Imaging and Printing service (HPLIP) is a separate package
9723 that provides support for some of the additional features that HP printers provide that CUPS
9724 may not necessarily support. It relies upon the CUPS service.</xccdf:description>
9725 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.1">
9726 <xccdf:title xml:lang="en">Disable the CUPS Service if Possible</xccdf:title>
9727 <xccdf:description xml:lang="en">
9728 Do you need the ability to print from this machine or to allow
9729 others to print to it? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9730 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9731 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig cups off</xhtml:code></xccdf:description>
9732 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.1.a" selected="false" severity="medium" weight="10.0">
9733 <xccdf:title>Disable the CUPS Service if Possible</xccdf:title>
9734 <xccdf:description>The cups service should be disabled.</xccdf:description>
9735 <xccdf:ident system="http://cce.mitre.org">CCE-4112-9</xccdf:ident>
9736 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9737 <xccdf:fix># chkconfig cups off</xccdf:fix>
9738 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9739 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20261"/>
9740 </xccdf:check>
9741 </xccdf:Rule>
9742 </xccdf:Group>
9743 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.2">
9744 <xccdf:title xml:lang="en">Disable Firewall Access to Printing Service if Possible</xccdf:title>
9745 <xccdf:description xml:lang="en">
9746 Does this system need to operate as a network print server? If
9747 not, edit the files /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in
9748 use). In each file, locate and delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9750 -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9751 -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9752 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9753 By
9754 default, inbound connections to the Internet Printing Protocol port are allowed. If the
9755 print server does not need to be accessed, either because the machine is not running the
9756 print service at all or because the machine is not providing a remote network printer to
9757 other machines, this exception should be removed from the firewall configuration. See
9758 Section 2.5.5 for more information about the Iptables firewall.</xccdf:description>
9759 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.a" operator="equals" type="string">
9760 <xccdf:title>accept udp over IPv4</xccdf:title>
9761 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv4.</xccdf:description>
9762 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv4</xccdf:question>
9763 <xccdf:value>disabled</xccdf:value>
9764 <xccdf:value selector="enabled">enabled</xccdf:value>
9765 <xccdf:value selector="disabled">disabled</xccdf:value>
9766 <xccdf:match>enabled|disabled</xccdf:match>
9767 <xccdf:choices mustMatch="1">
9768 <xccdf:choice>enabled</xccdf:choice>
9769 <xccdf:choice>disabled</xccdf:choice>
9770 </xccdf:choices>
9771 </xccdf:Value>
9772 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.b" operator="equals" type="string">
9773 <xccdf:title>accept udp over IPv6</xccdf:title>
9774 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv6.</xccdf:description>
9775 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv6</xccdf:question>
9776 <xccdf:value>disabled</xccdf:value>
9777 <xccdf:value selector="enabled">enabled</xccdf:value>
9778 <xccdf:value selector="disabled">disabled</xccdf:value>
9779 <xccdf:match>enabled|disabled</xccdf:match>
9780 <xccdf:choices mustMatch="1">
9781 <xccdf:choice>enabled</xccdf:choice>
9782 <xccdf:choice>disabled</xccdf:choice>
9783 </xccdf:choices>
9784 </xccdf:Value>
9785 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.a" selected="false" severity="high" weight="10.0">
9786 <xccdf:title>Disable Firewall Access to Printing Service over IPv4 if Possible</xccdf:title>
9787 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
9788 <xccdf:ident system="http://cce.mitre.org">CCE-3649-1</xccdf:ident>
9789 <xccdf:fixtext>(1) via /etc/sysconfig/iptables</xccdf:fixtext>
9790 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9791 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20262" value-id="xccdf_cdf_value_var-3.8.2.a"/>
9792 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20262"/>
9793 </xccdf:check>
9794 </xccdf:Rule>
9795 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.b" selected="false" severity="high" weight="10.0">
9796 <xccdf:title>Disable Firewall Access to Printing Service over IPv6 if Possible</xccdf:title>
9797 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
9798 <xccdf:fixtext>(1) via /etc/sysconfig/ip6tables</xccdf:fixtext>
9799 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9800 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20263" value-id="xccdf_cdf_value_var-3.8.2.b"/>
9801 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20263"/>
9802 </xccdf:check>
9803 </xccdf:Rule>
9804 </xccdf:Group>
9805 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3">
9806 <xccdf:title xml:lang="en">Configure the CUPS Service if Necessary</xccdf:title>
9807 <xccdf:description xml:lang="en">
9808 CUPS provides the ability to easily share local printers with
9809 other machines over the network. It does this by allowing machines to share lists of
9810 available printers. Additionally, each machine that runs the CUPS service can potentially
9811 act as a print server. Whenever possible, the printer sharing and print server
9812 capabilities of CUPS should be limited or disabled. The following recommendations should
9813 demonstrate how to do just that.</xccdf:description>
9814 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1">
9815 <xccdf:title xml:lang="en">Limit Printer Browsing</xccdf:title>
9816 <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>
9817 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.1">
9818 <xccdf:title xml:lang="en">Disable Printer Browsing Entirely if Possible</xccdf:title>
9819 <xccdf:description xml:lang="en">
9820 To disable printer browsing entirely, edit the CUPS
9821 configuration file, located at /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9822 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9823 Browsing Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9824 BrowseAllow none <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9825 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9826 The
9827 CUPS print service can be configured to broadcast a list of available printers to the
9828 network. Other machines on the network, also running the CUPS print service, can be
9829 configured to listen to these broadcasts and add and configure these printers for
9830 immediate use. By disabling this browsing capability, the machine will no longer
9831 generate or receive such broadcasts.</xccdf:description>
9832 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false" weight="10.0">
9833 <xccdf:title>Disable Printer Browsing Entirely if Possible</xccdf:title>
9834 <xccdf:description>Remote print browsing should be disabled</xccdf:description>
9835 <xccdf:ident system="http://cce.mitre.org">CCE-4420-6</xccdf:ident>
9836 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
9837 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9838 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20264"/>
9839 </xccdf:check>
9840 </xccdf:Rule>
9841 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false" weight="10.0">
9842 <xccdf:title>Deny CUPS ability to listen for Incoming printer information</xccdf:title>
9843 <xccdf:description>CUPS should be denied the ability to listen for Incoming printer information</xccdf:description>
9844 <xccdf:ident system="http://cce.mitre.org">CCE-4407-3</xccdf:ident>
9845 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
9846 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9847 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20265"/>
9848 </xccdf:check>
9849 </xccdf:Rule>
9850 </xccdf:Group>
9851 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.2">
9852 <xccdf:title xml:lang="en">Limit Printer Browsing to a Particular Subnet if Necessary</xccdf:title>
9853 <xccdf:description xml:lang="en">
9854 It is possible to disable outgoing printer list broadcasts
9855 without affecting incoming broadcasts from other machines. To do so, open the CUPS
9856 configuration file, located at /etc/cups/cupsd.conf. Look for the line that begins
9857 with BrowseAddress and remove it. The line will look like the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9858 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9859 BrowseAddress @LOCAL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9860 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9861 If the intent is not to block printer sharing, but to limit it to a particular
9862 set of machines, you can limit the UDP printer broadcasts to trusted network
9863 addresses. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9864 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9865 BrowseAddress ip-address :631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9867 Likewise, to ignore incoming UDP printer list
9868 broadcasts, or to limit the set of machines to listen to, use the BrowseAllow and
9869 BrowseDeny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9870 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9871 BrowseDeny all <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9872 BrowseAllow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9873 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9874 This combination will
9875 deny incoming broadcasts from any machine except those that are explicitly allowed
9876 with BrowseAllow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9878 By default, when printer sharing is enabled, CUPS will broadcast to
9879 every network that its host machine is connected to through all available network
9880 interfaces on port 631. It will also listen to incoming broadcasts from other machines
9881 on the network. Either list one BrowseAddress line for each client machine and one
9882 BrowseAllow line for each print server or use one of the supported shorthand notations
9883 that the CUPS service recognizes. Please see the cupsd.conf(5) man page or the
9884 documentation provided at http://www.cups.org for more information on other ways to
9885 format these directives.</xccdf:description>
9886 </xccdf:Group>
9887 </xccdf:Group>
9888 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.2">
9889 <xccdf:title xml:lang="en">Disable Print Server Capabilities if Possible</xccdf:title>
9890 <xccdf:description xml:lang="en">
9891 To prevent remote users from potentially
9892 connecting to and using locally configured printers, disable the CUPS print server
9893 sharing capabilities. To do so, limit how the server will listen for print jobs by
9894 removing the more generic port directive from /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9896 Port 631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9898 and replacing it with the Listen directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9899 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9900 Listen localhost:631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9902 This will prevent remote
9903 users from printing to locally configured printers while still allowing local users on
9904 the machine to print normally. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9905 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9906 By default, locally configured printers will not be
9907 shared over the network, but if this functionality has somehow been enabled, these
9908 recommendations will disable it again. Be sure to disable outgoing printer list
9909 broadcasts, or remote users will still be able to see the locally configured printers,
9910 even if they cannot actually print to them. To limit print serving to a particular set
9911 of users, use the Policy directive.</xccdf:description>
9912 <xccdf:warning xml:lang="en">Disabling the print server capabilities in this manner will
9913 also disable the Web Administration interface. </xccdf:warning>
9914 </xccdf:Group>
9915 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.3">
9916 <xccdf:title xml:lang="en">Limit Access to the Web Administration Interface</xccdf:title>
9917 <xccdf:description xml:lang="en">
9918 By default, access to the CUPS web administration interface is
9919 limited to the local machine. It is recommended that this not be changed, especially
9920 since the authentication mechanisms that CUPS provides are limited in their
9921 effectiveness. If it is absolutely necessary to allow remote users to administer locally
9922 installed printers, be sure to limit that access as much as possible by taking advantage
9923 of the Location and Policy directive blocks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9925 For example, to enable
9926 remote access for ip-address for user username, modify each of the Location and Policy
9927 directive blocks as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9929 &lt;Location /&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9930 AuthType Basic <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9931 Require user username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9932 Order allow,deny <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9933 Allow localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9934 Allow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9935 &lt;/Location&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9936 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9937 As with the
9938 BrowseAllow directive, use one Allow directive for each machine that needs access or use
9939 one of the available CUPS directive definition shortcuts to enable access from a class
9940 of machines at once. The Require user directive can take a list of individual users, a
9941 group of users (prefixed with @), or the shorthand valid-user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9942 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9943 Host-based authentication has known limitations,
9944 especially since IP addresses are easy to spoof. Requiring users to authenticate
9945 themselves can alleviate this problem, but it cannot eliminate it. Do not use the root
9946 account to manage and administer printers. Create a separate account for this purpose
9947 and limit access to valid users with Require valid-user or Require user printeradmin .
9948 </xccdf:description>
9949 </xccdf:Group>
9950 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.4">
9951 <xccdf:title xml:lang="en">Take Further Security Measures When Appropriate</xccdf:title>
9952 <xccdf:description xml:lang="en">
9953 Whenever possible, limit outside networks' access to port 631.
9954 Consider using CUPS directives that limit the number of incoming clients, such as
9955 MaxClients or MaxClientsPerHost. Additionally, there are a series of Policy and Location
9956 directives intended to limit which users can perform different printing tasks. When used
9957 together, these may help to mitigate the possibility of a denial of service attack. See
9958 cupsd.conf(5) for a full list of possible directives.</xccdf:description>
9959 </xccdf:Group>
9960 </xccdf:Group>
9961 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4">
9962 <xccdf:title xml:lang="en">The HP Linux Imaging and Printing (HPLIP) Toolkit</xccdf:title>
9963 <xccdf:description xml:lang="en">
9964 The HPLIP package is an HP printing support utility that is
9965 installed and enabled in a default installation. The HPLIP package is comprised of two
9966 separate components. The first is the main HPLIP service and the second is a smaller
9967 subcomponent called HPIJS. HPLIP is a feature-oriented network service that provides
9968 higher level printing support (such as bi-directional I/O, scanning, photo card, and
9969 toolbox functionality). HPIJS is a lower level basic printing driver that provides basic
9970 support for non-PostScript HP printers.</xccdf:description>
9971 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4.1">
9972 <xccdf:title xml:lang="en">Disable HPLIP Service if Possible</xccdf:title>
9973 <xccdf:description xml:lang="en">
9974 Since the HPIJS driver will still function without the added
9975 HPLIP service, HPLIP should be disabled unless the specific higher level functions that
9976 HPLIP provides are needed by a non-PostScript HP printer on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9977 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9978 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hplip off <xhtml:br/></xhtml:code>
9979 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9980 Note: If installing the HPLIP package from scratch, it should be noted that
9981 HPIJS can be installed directly without HPLIP. Please see the FAQ at the HPLIP web site
9982 at http://hplip.sourceforge.net/faqs.html for more information on how to do this.</xccdf:description>
9983 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false" severity="low" weight="10.0">
9984 <xccdf:title>Disable HPLIP Service if Possible</xccdf:title>
9985 <xccdf:description>The hplip service should be disabled.</xccdf:description>
9986 <xccdf:ident system="http://cce.mitre.org">CCE-4425-5</xccdf:ident>
9987 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9988 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9989 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20266"/>
9990 </xccdf:check>
9991 </xccdf:Rule>
9992 </xccdf:Group>
9993 </xccdf:Group>
9994 </xccdf:Group>
9995 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9">
9996 <xccdf:title xml:lang="en">DHCP</xccdf:title>
9997 <xccdf:description xml:lang="en">
9998 The Dynamic Host Configuration Protocol (DHCP) allows systems to
9999 request and obtain an IP address and many other parameters from a server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10000 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10001 In general, sites
10002 use DHCP either to allow a large pool of mobile or unknown machines to share a limited
10003 number of IP addresses, or to standardize installations by avoiding static, individual IP
10004 address configuration on hosts. It is recommended that sites avoid DHCP as much as possible.
10005 Since DHCP authentication is not well-supported, DHCP clients are open to attacks from rogue
10006 DHCP servers. Such servers can give clients incorrect information (e.g. malicious DNS server
10007 addresses) which could lead to their compromise. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10008 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10009 If a machine must act as a DHCP client or
10010 server, configure it defensively using the guidance in this section. This guide recommends
10011 configuring networking on clients by manually editing the appropriate files under
10012 /etc/sysconfig. It is also possible to use the graphical front-end programs
10013 system-config-network and system-config-network-tui, but these programs rewrite
10014 configuration files from scratch based on their defaults – destroying any manual changes –
10015 and should therefore be used with caution.</xccdf:description>
10016 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.1">
10017 <xccdf:title xml:lang="en">Disable DHCP Client if Possible</xccdf:title>
10018 <xccdf:description xml:lang="en">
10019 For each interface IFACE on the system (e.g. eth0), edit
10020 /etc/sysconfig/network-scripts/ifcfg-IFACE and make the following changes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10022 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Correct the BOOTPROTO line to read: <xhtml:br/>
10023 <xhtml:br/>
10024 BOOTPROTO=static
10025 </xhtml:li><xhtml:li>Add or correct the following lines,
10026 substituting the appropriate values based on your site's addressing scheme:<xhtml:br/>
10027 <xhtml:br/>
10028 NETMASK=255.255.255.0<xhtml:br/>
10029 IPADDR=192.168.1.2<xhtml:br/>
10030 GATEWAY=192.168.1.1 <xhtml:br/>
10031 </xhtml:li></xhtml:ol>
10032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10033 DHCP is the default network
10034 configuration method provided by the system installer, so it may be enabled on many
10035 systems.</xccdf:description>
10036 <xccdf:Value id="xccdf_cdf_value_var-3.9.1.a" operator="equals" type="string">
10037 <xccdf:title>DHCP BOOTPROTO</xccdf:title>
10038 <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>
10039 <xccdf:question xml:lang="en">Choose DHCP BOOTPROTO</xccdf:question>
10040 <xccdf:value>static</xccdf:value>
10041 <xccdf:value selector="bootp">bootp</xccdf:value>
10042 <xccdf:value selector="dhcp">dhcp</xccdf:value>
10043 <xccdf:value selector="static">static</xccdf:value>
10044 <!-- <value selector="none">none</value>-->
10045 <xccdf:choices>
10046 <xccdf:choice>bootp</xccdf:choice>
10047 <xccdf:choice>dhcp</xccdf:choice>
10048 <xccdf:choice>static</xccdf:choice>
10049 </xccdf:choices>
10050 </xccdf:Value>
10051 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.1.a" selected="false" severity="low" weight="10.0">
10052 <xccdf:title>Disable DHCP Client if Possible</xccdf:title>
10053 <xccdf:description>The dhcp client service should be disabled for each interface.</xccdf:description>
10054 <xccdf:ident system="http://cce.mitre.org">CCE-4191-3</xccdf:ident>
10055 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-eth*</xccdf:fixtext>
10056 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10057 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20267" value-id="xccdf_cdf_value_var-3.9.1.a"/>
10058 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20267"/>
10059 </xccdf:check>
10060 </xccdf:Rule>
10061 </xccdf:Group>
10062 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2">
10063 <xccdf:title xml:lang="en">Configure DHCP Client if necessary</xccdf:title>
10064 <xccdf:description xml:lang="en">
10065 If DHCP must be used, then certain configuration changes can
10066 minimize the amount of information it receives and applies from the network, and thus the
10067 amount of incorrect information a rogue DHCP server could successfully distribute. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10068 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10069 For more information on configuring dhclient, see the dhclient(8) and dhclient.conf(5)
10070 man pages.</xccdf:description>
10071 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2.1">
10072 <xccdf:title xml:lang="en">Minimize the DHCP-Configured Options</xccdf:title>
10073 <xccdf:description xml:lang="en">
10074 Create the file /etc/dhclient.conf, and add an appropriate
10075 setting for each of the ten configuration settings which can be obtained via DHCP. For
10076 each setting, setting , do one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10077 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>If the setting should not be
10078 configured remotely by the DHCP server, select an appropriate static value, and add the
10079 line: <xhtml:br/>
10080 <xhtml:br/>
10081 supersede setting value ; </xhtml:li><xhtml:li>If the setting should be configured remotely by the
10082 DHCP server, add the lines: <xhtml:br/>
10083 <xhtml:br/>
10084 request setting ; <xhtml:br/>
10085 require setting ; </xhtml:li></xhtml:ul>
10086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10087 For example, suppose the
10088 DHCP server should provide only the IP address itself and the subnet mask. Then the
10089 entire file should look like: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10090 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10091 supersede domain-name "example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10092 supersede domain-name-servers 192.168.1.2 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10093 supersede nis-domain ""; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10094 supersede nis-servers "";<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10095 supersede ntp-servers "ntp.example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10096 supersede routers 192.168.1.1 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10097 supersede time-offset -18000 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10099 request subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10100 require subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10101 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10102 By default, the DHCP
10103 client program, dhclient, requests and applies ten configuration options (in addition to
10104 the IP address) from the DHCP server: subnet-mask, broadcast-address, time-offset,
10105 routers, domain-name, domain-name-servers, host-name, nis-domain, nis-servers, and
10106 ntp-servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10108 Many of the options requested and applied by dhclient may be the same for
10109 every system on a network. It is recommended that almost all configuration options be
10110 assigned statically, and only options which must vary on a host-by-host basis be
10111 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"/>
10112 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10113 If
10114 appropriate for your site, it is also possible to supersede the host-name directive in
10115 /etc/dhclient.conf, establishing a static hostname for the machine. However, dhclient
10116 does not use the host name option provided by the DHCP server (instead using the value
10117 provided by a reverse DNS lookup). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10119 Note: In this example, the options nis-servers and
10120 nis-domain are set to empty strings, on the assumption that the deprecated NIS protocol
10121 is not in use. (See Section 3.2.4.) It is necessary to supersede settings for unused
10122 services so that they cannot be set by a hostile DHCP server. If an option is set to an
10123 empty string, dhclient will typically not attempt to configure the service.</xccdf:description>
10124 </xccdf:Group>
10125 </xccdf:Group>
10126 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.3">
10127 <xccdf:title xml:lang="en">Disable DHCP Server if possible</xccdf:title>
10128 <xccdf:description xml:lang="en">
10129 If the dhcp package has been installed on a machine which does
10130 not need to operate as a DHCP server, disable the daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10131 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10132 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dhcpd off <xhtml:br/></xhtml:code>
10133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10134 If possible, remove the software as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10135 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10136 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase dhcp <xhtml:br/></xhtml:code>
10137 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10138 The DHCP server dhcpd is not
10139 installed or activated by default. If the software was installed and activated, but the
10140 system does not need to act as a DHCP server, it should be disabled and removed. Unmanaged
10141 DHCP servers will provide faulty information to clients, interfering with the operation of
10142 a legitimate site DHCP server if there is one, or causing misconfigured machines to
10143 exhibit unpredictable behavior if there is not.</xccdf:description>
10144 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.a" selected="false" severity="low" weight="10.0">
10145 <xccdf:title>Disable DHCP Server if possible</xccdf:title>
10146 <xccdf:description>The dhcpd service should be disabled.</xccdf:description>
10147 <xccdf:ident system="http://cce.mitre.org">CCE-4336-4</xccdf:ident>
10148 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10149 <xccdf:fix># chkconfig dhcpd off</xccdf:fix>
10150 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10151 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20268"/>
10152 </xccdf:check>
10153 </xccdf:Rule>
10154 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.b" selected="false" weight="10.0">
10155 <xccdf:title>Uninstall DHCP Server if possible</xccdf:title>
10156 <xccdf:description>The dhcp package should be uninstalled.</xccdf:description>
10157 <xccdf:ident system="http://cce.mitre.org">CCE-4464-4</xccdf:ident>
10158 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
10159 <xccdf:fix># yum erase dhcp</xccdf:fix>
10160 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10161 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20269"/>
10162 </xccdf:check>
10163 </xccdf:Rule>
10164 </xccdf:Group>
10165 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4">
10166 <xccdf:title xml:lang="en">Configure the DHCP Server if necessary</xccdf:title>
10167 <xccdf:description xml:lang="en">
10168 If the system must act as a DHCP server, the configuration
10169 information it serves should be minimized. Also, support for other protocols and
10170 DNS-updating schemes should be explicitly disabled unless needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10172 The configuration file
10173 for dhcpd is called /etc/dhcpd.conf. The file begins with a number of global configuration
10174 options. The remainder of the file is divided into sections, one for each block of
10175 addresses offered by dhcpd, each of which contains configuration options specific to that
10176 address block.</xccdf:description>
10177 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.1">
10178 <xccdf:title xml:lang="en">Do Not Use Dynamic DNS</xccdf:title>
10179 <xccdf:description xml:lang="en">
10180 To prevent the DHCP server from receiving DNS information from
10181 clients, edit /etc/dhcpd.conf, and add or correct the following global option:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10182 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10183 ddns-update-style none; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10184 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10185 The Dynamic DNS protocol is used to remotely update the data
10186 served by a DNS server. DHCP servers can use Dynamic DNS to publish information about
10187 their clients. This setup carries security risks, and its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10188 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10189 If Dynamic DNS must be used despite the risks it poses, it is critical that Dynamic DNS
10190 transactions be protected using TSIG or some other cryptographic authentication
10191 mechanism. See Section 3.14 for more information about DNS servers, including further
10192 information about TSIG and Dynamic DNS. Also see dhcpd.conf(5) for more information
10193 about protecting the DHCP server from passing along malicious DNS data from its clients.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10194 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10195 Note: The ddns-update-style option controls only whether the DHCP server will attempt to
10196 act as a Dynamic DNS client. As long as the DNS server itself is correctly configured to
10197 reject DDNS attempts, an incorrect ddns-update-style setting on the client is harmless
10198 (but should be fixed as a best practice).</xccdf:description>
10199 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false" weight="10.0">
10200 <xccdf:title>Do Not Use Dynamic DNS</xccdf:title>
10201 <xccdf:description>The dynamic DNS feature of the DHCP server should be disabled</xccdf:description>
10202 <xccdf:ident system="http://cce.mitre.org">CCE-4257-2</xccdf:ident>
10203 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10204 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10205 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20270"/>
10206 </xccdf:check>
10207 </xccdf:Rule>
10208 </xccdf:Group>
10209 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.2">
10210 <xccdf:title xml:lang="en">Deny Decline Messages</xccdf:title>
10211 <xccdf:description xml:lang="en">
10212 Edit /etc/dhcpd.conf and add or correct the following global
10213 option to prevent the DHCP server from responding the DHCPDECLINE messages, if possible:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10214 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10215 deny declines; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10216 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10217 The DHCPDECLINE message can be sent by a DHCP client to indicate that it
10218 does not consider the lease offered by the server to be valid. By issuing many
10219 DHCPDECLINE messages, a malicious client can exhaust the DHCP server's pool of IP
10220 addresses, causing the DHCP server to forget old address allocations.</xccdf:description>
10221 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false" weight="10.0">
10222 <xccdf:title>Deny Decline Messages</xccdf:title>
10223 <xccdf:description>DHCPDECLINE messages should be denied by the DHCP server</xccdf:description>
10224 <xccdf:ident system="http://cce.mitre.org">CCE-4403-2</xccdf:ident>
10225 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10226 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10227 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20271"/>
10228 </xccdf:check>
10229 </xccdf:Rule>
10230 </xccdf:Group>
10231 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.3">
10232 <xccdf:title xml:lang="en">Deny BOOTP Queries</xccdf:title>
10233 <xccdf:description xml:lang="en">
10234 Unless your network needs to support older BOOTP clients,
10235 disable support for the bootp protocol by adding or correcting the global option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10236 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10237 deny bootp; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10238 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10239 The bootp option tells dhcpd to respond to BOOTP queries. If support for this
10240 simpler protocol is not needed, it should be disabled to remove attack vectors against
10241 the DHCP server.</xccdf:description>
10242 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false" weight="10.0">
10243 <xccdf:title>Deny BOOTP Queries</xccdf:title>
10244 <xccdf:description>BOOTP queries should be denied by the DHCP server</xccdf:description>
10245 <xccdf:ident system="http://cce.mitre.org">CCE-4345-5</xccdf:ident>
10246 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10247 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10248 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20272"/>
10249 </xccdf:check>
10250 </xccdf:Rule>
10251 </xccdf:Group>
10252 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.4">
10253 <xccdf:title xml:lang="en">Minimize Served Information</xccdf:title>
10254 <xccdf:description xml:lang="en">
10255 Edit /etc/dhcpd.conf. Examine each address range section within
10256 the file, and ensure that the following options are not defined unless there is an
10257 operational need to provide this information via DHCP: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10258 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10259 option domain-name <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10260 option domain-name-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10261 option nis-domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10262 option nis-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10263 option ntp-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10264 option routers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10265 option time-offset <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10266 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10267 Because the configuration information provided by the DHCP
10268 server could be maliciously provided to clients by a rogue DHCP server, the amount of
10269 information provided via DHCP should be minimized. Remove these definitions from the
10270 DHCP server configuration to ensure that legitimate clients do not unnecessarily rely on
10271 DHCP for this information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10273 Note: By default, the RHEL5 client installation uses DHCP to
10274 request much of the above information from the DHCP server. In particular, domain-name,
10275 domain-name-servers, and routers are configured via DHCP. These settings are typically
10276 necessary for proper network functionality, but are also usually static across machines
10277 at a given site. See Section 3.9.2.1 for a description of how to configure static site
10278 information within the DHCP client configuration.</xccdf:description>
10279 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false" weight="10.0">
10280 <xccdf:title>DHCP should not send domain-name</xccdf:title>
10281 <xccdf:description>Domain name server information should not be sent by the DHCP server.</xccdf:description>
10282 <xccdf:ident system="http://cce.mitre.org">CCE-3724-2</xccdf:ident>
10283 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10284 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10285 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20273"/>
10286 </xccdf:check>
10287 </xccdf:Rule>
10288 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false" weight="10.0">
10289 <xccdf:title>DHCP should not send domain-name-servers</xccdf:title>
10290 <xccdf:description>Default routers should not be sent by the DHCP server.</xccdf:description>
10291 <xccdf:ident system="http://cce.mitre.org">CCE-4243-2</xccdf:ident>
10292 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10293 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10294 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20274"/>
10295 </xccdf:check>
10296 </xccdf:Rule>
10297 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false" weight="10.0">
10298 <xccdf:title>DHCP should not send nis-domain</xccdf:title>
10299 <xccdf:description>Domain name should not be sent by the DHCP server.</xccdf:description>
10300 <xccdf:ident system="http://cce.mitre.org">CCE-4389-3</xccdf:ident>
10301 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10302 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10303 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20275"/>
10304 </xccdf:check>
10305 </xccdf:Rule>
10306 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false" weight="10.0">
10307 <xccdf:title>DHCP should not send nis-servers</xccdf:title>
10308 <xccdf:description>NIS domain should not be sent by the DHCP server.</xccdf:description>
10309 <xccdf:ident system="http://cce.mitre.org">CCE-3913-1</xccdf:ident>
10310 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10311 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10312 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20276"/>
10313 </xccdf:check>
10314 </xccdf:Rule>
10315 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false" weight="10.0">
10316 <xccdf:title>DHCP should not send ntp-servers</xccdf:title>
10317 <xccdf:description>NIS servers should not be sent by the DHCP server.</xccdf:description>
10318 <xccdf:ident system="http://cce.mitre.org">CCE-4169-9</xccdf:ident>
10319 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10320 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10321 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20277"/>
10322 </xccdf:check>
10323 </xccdf:Rule>
10324 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false" weight="10.0">
10325 <xccdf:title>DHCP should not send routers</xccdf:title>
10326 <xccdf:description>Time offset should not be sent by the DHCP server.</xccdf:description>
10327 <xccdf:ident system="http://cce.mitre.org">CCE-4318-2</xccdf:ident>
10328 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10329 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10330 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20278"/>
10331 </xccdf:check>
10332 </xccdf:Rule>
10333 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false" weight="10.0">
10334 <xccdf:title>DHCP should not send time-offset</xccdf:title>
10335 <xccdf:description>NTP servers should not be sent by the DHCP server.</xccdf:description>
10336 <xccdf:ident system="http://cce.mitre.org">CCE-4319-0</xccdf:ident>
10337 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10338 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10339 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20279"/>
10340 </xccdf:check>
10341 </xccdf:Rule>
10342 </xccdf:Group>
10343 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.5">
10344 <xccdf:title xml:lang="en">Configure Logging</xccdf:title>
10345 <xccdf:description xml:lang="en">
10346 Ensure that the following line exists in /etc/syslog.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10347 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10348 daemon.* /var/log/daemon.log <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10350 Configure logwatch or other log monitoring tools to
10351 summarize error conditions reported by the dhcpd process. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10352 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10353 By default, dhcpd logs notices
10354 to the daemon facility. Sending all daemon messages to a dedicated log file is part of
10355 the syslog configuration outlined in Section 2.6.1.1.</xccdf:description>
10356 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false" weight="10.0">
10357 <xccdf:title>Configure DHCP Logging</xccdf:title>
10358 <xccdf:description>dhcpd logging should be enabled.</xccdf:description>
10359 <xccdf:ident system="http://cce.mitre.org">CCE-3733-3</xccdf:ident>
10360 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
10361 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10362 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20280"/>
10363 </xccdf:check>
10364 </xccdf:Rule>
10365 </xccdf:Group>
10366 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.6">
10367 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
10368 <xccdf:description xml:lang="en">* The man pages dhcpd.conf(5) and dhcpd(8) * ISC web page http://isc.org/products/DHCP</xccdf:description>
10369 </xccdf:Group>
10370 </xccdf:Group>
10371 </xccdf:Group>
10372 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10">
10373 <xccdf:title xml:lang="en">Network Time Protocol</xccdf:title>
10374 <xccdf:description xml:lang="en">
10375 The Network Time Protocol is used to manage the system clock over a
10376 network. Computer clocks are not very accurate, so time will drift unpredictably on
10377 unmanaged systems. Central time protocols can be used both to ensure that time is consistent
10378 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"/>
10379 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10380 Local time synchronization is recommended for all networks. If every machine on your network
10381 reliably reports the same time as every other machine, then it is much easier to correlate
10382 log messages in case of an attack. In addition, a number of cryptographic protocols (such as
10383 Kerberos) use timestamps to prevent certain types of attacks. If your network does not have
10384 synchronized time, these protocols may be unreliable or even unusable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10385 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10386 Depending on the specifics of the network, global time accuracy may be just as important as
10387 local synchronization, or not very important at all. If your network is connected to the
10388 Internet, it is recommended that you make use of a public timeserver, since globally
10389 accurate timestamps may be necessary if you need to investigate or respond to an attack
10390 which originated outside of your network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10391 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10392 Whether or not you use an outside timeserver, configure
10393 the network to have a small number of machines operating as NTP servers, and the remainder
10394 obtaining time information from those internal servers.</xccdf:description>
10395 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.1">
10396 <xccdf:title xml:lang="en">Select NTP Software</xccdf:title>
10397 <xccdf:description xml:lang="en">
10398 The Network Time Protocol (RFC 1305) is designed to synchronize
10399 time with a very high degree of accuracy even on an unreliable network. NTP is therefore a
10400 complex protocol. The Simple Network Time Protocol (RFC 4330) implements a subset of NTP
10401 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"/>
10402 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10403 The primary implementation of NTP comes from ntp.org, and is shipped with RHEL5 as the ntp
10404 RPM. An alternative is OpenNTPD, which is an implementation of SNTP, and which can be
10405 obtained as source code from http://www.openntpd.org. OpenNTPD may be simpler to configure
10406 than the reference NTP implementation, at the cost of the need to install and maintain
10407 third-party software. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10408 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10409 This guide does not recommend the use of a particular NTP/SNTP
10410 software package, but does recommend that some NTP software be selected and installed on
10411 all machines. The remainder of this section describes how to securely configure NTP
10412 clients and servers, and discusses both the reference NTP implementation and OpenNTPD.</xccdf:description>
10413 </xccdf:Group>
10414 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2">
10415 <xccdf:title xml:lang="en">Configure Reference NTP if Appropriate</xccdf:title>
10416 <xccdf:description xml:lang="en">The ntp RPM implements the reference NTP server.</xccdf:description>
10417 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1">
10418 <xccdf:title xml:lang="en">Configure an NTP Client</xccdf:title>
10419 <xccdf:description xml:lang="en">
10420 There are a number of options for configuring clients to work with the reference NTP server. It is possible to run
10421 ntpd as a service (i.e., continuously) on each host, configuring clients so that the ntp protocol ignores all network
10422 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"/>
10423 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10424 This guide instead recommends running ntpd periodically via cron. It is also possible to run ntpdate via cron
10425 with the -u option, but it is being obsoleted in favor of ntpd.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10426 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10427 Alternately, even if the server is running the reference NTP implementation, it is possible for clients to access it
10428 using SNTP. See Section 3.10.3.2 for information about configuring SNTP clients.</xccdf:description>
10429 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.1">
10430 <xccdf:title xml:lang="en">Set Up Client NTP Configuration File</xccdf:title>
10431 <xccdf:description xml:lang="en">
10432 A valid configuration file for the client system’s ntpd must exist at /etc/ntp.conf. Ensure that /etc/ntp.conf
10433 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"/>
10434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10435 server ntp-server<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10437 Note: The ntpd software also includes authentication and encryption support which allows for clients to verify the
10438 identity of the server, and thus guarantee the integrity of time data with high probability. See ntpd documentation
10439 at http://www.ntp.org for more details on implementing this recommended feature.
10440 </xccdf:description>
10441 </xccdf:Group>
10442 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.2">
10443 <xccdf:title xml:lang="en">Run ntpdate using Cron</xccdf:title>
10444 <xccdf:description xml:lang="en">
10445 Create a file /etc/cron.d/ntpd containing the following crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10446 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10447 15 * * * * root /usr/sbin/ntpd -q -u ntp:ntp<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10448 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10449 The -q option instructs ntpd to exit just after setting the clock, and the -u option instructs it to run as the
10450 specified user.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10451 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10452 Note: When setting the clock for the first time, execute the above command with the -g option, as ntpd
10453 will refuse to set the clock if it is significantly different from the source.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10454 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10455 This crontab will execute ntpd to synchronize the time to the NTP server at 15 minutes past every hour. (It is
10456 possible to choose a different minute, or to vary the minute between machines in order to avoid heavy traffic to
10457 the NTP server.) Hourly synchronization should be sufficiently frequent that clock drift will not be noticeable.</xccdf:description>
10458 </xccdf:Group>
10459 </xccdf:Group>
10460 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2">
10461 <xccdf:title xml:lang="en">Configure an NTP Server</xccdf:title>
10462 <xccdf:description xml:lang="en">
10463 The site’s NTP server contacts a central NTP server, probably either one provided by your ISP or a public time
10464 server, to obtain accurate time data. The server then allows other machines on your network to request the time
10465 data.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10466 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10467 The NTP server configuration file is located at /etc/ntp.conf.</xccdf:description>
10468 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.1">
10469 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10470 <xccdf:description xml:lang="en">
10471 If this machine is an NTP server, ensure that ntpd is enabled
10472 at boot time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10473 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10474 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ntpd on</xhtml:code></xccdf:description>
10475 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false" severity="high" weight="10.0">
10476 <xccdf:title>Enable the NTP Daemon</xccdf:title>
10477 <xccdf:description>The ntpd service should be enabled.</xccdf:description>
10478 <xccdf:ident system="http://cce.mitre.org">CCE-4376-0</xccdf:ident>
10479 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10480 <xccdf:fix># chkconfig ntpd on</xccdf:fix>
10481 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10482 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20281"/>
10483 </xccdf:check>
10484 </xccdf:Rule>
10485 </xccdf:Group>
10486 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.2">
10487 <xccdf:title xml:lang="en">Deny All Access to ntpd by Default</xccdf:title>
10488 <xccdf:description xml:lang="en">
10489 Edit the file /etc/ntp.conf. Prepend or correct the following
10490 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10491 restrict default ignore <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10492 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10493 Since ntpd is a complex software package which listens
10494 for network connections and runs as root, it must be protected from network access by
10495 unauthorized machines. This setting uses ntpd's internal authorization to deny all
10496 access to any machine, server or client, which is not specifically authorized by other
10497 policy settings.</xccdf:description>
10498 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false" weight="10.0">
10499 <xccdf:title>Deny All Access to ntpd by Default</xccdf:title>
10500 <xccdf:description>Network access to ntpd should be denied</xccdf:description>
10501 <xccdf:ident system="http://cce.mitre.org">CCE-4134-3</xccdf:ident>
10502 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10503 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10504 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20282"/>
10505 </xccdf:check>
10506 </xccdf:Rule>
10507 </xccdf:Group>
10508 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.3">
10509 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
10510 <xccdf:description xml:lang="en">
10511 Find the IP address, server-ip , of an appropriate remote NTP
10512 server. Edit the file /etc/ntp.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10513 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10514 restrict server-ip mask 255.255.255.255 nomodify notrap noquery <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10515 server server-ip <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10516 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10517 If your site
10518 does not require time data to be accurate, but merely to be synchronized among local
10519 machines, this step can be omitted, and the NTP server will default to providing time
10520 data from the local clock. However, it is a good idea to periodically synchronize the
10521 clock to some source of accurate time, even if it is not appropriate to do so
10522 automatically. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10523 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10524 The previous step disabled all remote access to this NTP server's state
10525 data. This NTP server must contact a remote server to obtain accurate data, so NTP's
10526 configuration must allow that remote data to be used to modify the system clock. The
10527 restrict line changes the default access permissions for that remote server. The
10528 server line specifies the remote server as the preferred NTP server for time data. If
10529 you intend to synchronize to more than one server, specify restrict and server lines
10530 for each server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10532 Note: It would be possible to specify a hostname, rather than an IP
10533 address, for the server field. However, the restrict setting applies only to network
10534 blocks of IP addresses, so it is considered more maintainable to use the IP address in
10535 both fields.</xccdf:description>
10536 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false" weight="10.0">
10537 <xccdf:title>Specify a Remote NTP Server for Time Data</xccdf:title>
10538 <xccdf:description>A remote NTP Server for time synchronization should be specified</xccdf:description>
10539 <xccdf:ident system="http://cce.mitre.org">CCE-4385-1</xccdf:ident>
10540 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10541 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10542 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20283"/>
10543 </xccdf:check>
10544 </xccdf:Rule>
10545 </xccdf:Group>
10546 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.4">
10547 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
10548 <xccdf:description xml:lang="en">
10549 Determine an appropriate network block, netwk , and network
10550 mask, mask , representing the machines on your network which will synchronize to this
10551 server. Edit /etc/ntp.conf and add the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10552 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10553 restrict netwk mask mask nomodify notrap<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10554 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10555 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears before
10556 the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10558 -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"/>
10559 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10560 If the clients are
10561 spread across more than one netblock, separate restrict and ACCEPT lines should be
10562 added for each netblock. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10563 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10564 The iptables configuration is needed because the default
10565 iptables configuration does not allow inbound access to any services. See Section
10566 2.5.5 for more information about iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10568 Note: The reference NTP implementation will
10569 refuse to serve time data to clients until enough time has elapsed that the server
10570 host's time can be assumed to have settled to an accurate value. While testing, wait
10571 ten minutes after starting ntpd before attempting to synchronize clients.</xccdf:description>
10572 </xccdf:Group>
10573 </xccdf:Group>
10574 </xccdf:Group>
10575 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3">
10576 <xccdf:title xml:lang="en">Configure OpenNTPD if Appropriate</xccdf:title>
10577 <xccdf:description xml:lang="en">
10578 OpenNTPD is an implementation of the SNTP protocol which is
10579 provided as a simple alternative to the reference NTP server. Advantages of OpenNTPD
10580 include simplicity of configuration, built-in privilege separation and chroot jailing of
10581 the NTP protocol code, and a small codebase which lacks many of the management and other
10582 protocol features used by the reference NTP server. This simplicity comes at the cost of
10583 degraded time accuracy, but SNTP is probably accurate enough for most sites with typical
10584 monitoring requirements.</xccdf:description>
10585 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.1">
10586 <xccdf:title xml:lang="en">Obtain NTP Software</xccdf:title>
10587 <xccdf:description xml:lang="en">
10588 If your site intends to use the OpenNTPD implementation, it is
10589 necessary to compile and install the software. (If your site intends to use the
10590 reference NTP implementation, no installation is necessary.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10591 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Obtain the software by
10592 downloading an appropriate source version, openntpd-version .tar.gz, from
10593 http://www.openntpd.org/portable.html. </xhtml:li><xhtml:li>Unpack the source code: <xhtml:br/>
10594 <xhtml:br/>
10595 <xhtml:code>$ tar xzf openntpd-version .tar.gz</xhtml:code> </xhtml:li><xhtml:li>Configure and compile the source. (By default, the code will
10596 be compiled for installation into /usr/ local): <xhtml:br/>
10597 <xhtml:br/>
10598 <xhtml:code>$ cd openntpd-version <xhtml:br/>
10599 $ ./configure --with-privsep-user=ntp <xhtml:br/>
10600 $ make </xhtml:code></xhtml:li><xhtml:li>As root, install the resulting program into
10601 /usr/local: <xhtml:br/>
10602 <xhtml:br/>
10603 <xhtml:code># make install </xhtml:code></xhtml:li></xhtml:ol>
10604 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10605 The configuration option --with-privsep-user=ntp tells
10606 OpenNTPD to use the existing system account ntp for the non-root portion of its
10607 operation.</xccdf:description>
10608 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false" weight="10.0">
10609 <xccdf:title>Obtain NTP Software</xccdf:title>
10610 <xccdf:description>OpenNTPD should be installed</xccdf:description>
10611 <xccdf:ident system="http://cce.mitre.org">CCE-4032-9</xccdf:ident>
10612 <xccdf:fixtext>(1) via openntpd package</xccdf:fixtext>
10613 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10614 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20284"/>
10615 </xccdf:check>
10616 </xccdf:Rule>
10617 </xccdf:Group>
10618 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2">
10619 <xccdf:title xml:lang="en">Configure an SNTP Client</xccdf:title>
10620 <xccdf:description xml:lang="en">
10621 OpenNTPD runs only in daemon mode — there is no command line
10622 suitable to be run from cron. However, this is considered reasonably safe for client use
10623 because the daemon does not listen on any network ports by default, and because OpenNTPD
10624 is a small codebase with no remote management interface or other complex features.
10625 However, it is possible to run a time-stepping program, such as rdate(1), from cron
10626 instead of configuring the daemon as outlined in this section.</xccdf:description>
10627 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.1">
10628 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10629 <xccdf:description xml:lang="en">Edit the file /etc/rc.local. Add or correct the following line: /usr/local/sbin/ntpd -s</xccdf:description>
10630 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false" severity="high" weight="10.0">
10631 <xccdf:title>Enable the NTP Daemon</xccdf:title>
10632 <xccdf:description>The ntp daemon should be enabled</xccdf:description>
10633 <xccdf:ident system="http://cce.mitre.org">CCE-4424-8</xccdf:ident>
10634 <xccdf:fixtext>(1) via /etc/rc.local</xccdf:fixtext>
10635 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10636 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20285"/>
10637 </xccdf:check>
10638 </xccdf:Rule>
10639 </xccdf:Group>
10640 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.2">
10641 <xccdf:title xml:lang="en">Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
10642 <xccdf:description xml:lang="en">
10643 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
10644 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10645 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10646 server local-server.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10647 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10648 where local-server.example.com is the
10649 hostname of the site's local NTP or SNTP server.</xccdf:description>
10650 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false" severity="high" weight="10.0">
10651 <xccdf:title>Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
10652 <xccdf:description>The ntp daemon synchronization server should be set appropriately</xccdf:description>
10653 <xccdf:ident system="http://cce.mitre.org">CCE-3487-6</xccdf:ident>
10654 <xccdf:fixtext>(1) via /usr/local/etc/ntpd.conf</xccdf:fixtext>
10655 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10656 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20286"/>
10657 </xccdf:check>
10658 </xccdf:Rule>
10659 </xccdf:Group>
10660 </xccdf:Group>
10661 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3">
10662 <xccdf:title xml:lang="en">Configure an SNTP Server</xccdf:title>
10663 <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>
10664 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.1">
10665 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10666 <xccdf:description xml:lang="en">
10667 Edit the file /etc/rc.local. Add or correct the following
10668 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10669 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10670 /usr/local/sbin/ntpd -s <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10672 Since OpenNTPD is third-party software, it does not have
10673 a standard startup script, so the daemon is started at boot using the local facility.</xccdf:description>
10674 </xccdf:Group>
10675 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.2">
10676 <xccdf:title xml:lang="en">Listen for Client Connections</xccdf:title>
10677 <xccdf:description xml:lang="en">
10678 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
10679 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10680 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10681 listen on ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10683 where ipaddr is the primary IP address of this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10685 By default, ntpd does not listen for any connections over a network. Listening
10686 must be actively enabled on NTP servers so that clients may obtain time data.</xccdf:description>
10687 </xccdf:Group>
10688 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.3">
10689 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
10690 <xccdf:description xml:lang="en">
10691 Determine an appropriate network block, netwk , and network
10692 mask, mask , representing the machines on your network which will synchronize to this
10693 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10694 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10695 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears
10696 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10697 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10698 -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"/>
10699 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10700 The iptables configuration is needed because the default iptables configuration does
10701 not allow inbound access to any services. See Section 2.5.5 for more information about
10702 iptables.</xccdf:description>
10703 </xccdf:Group>
10704 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.4">
10705 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
10706 <xccdf:description xml:lang="en">
10707 Find the hostname, server-host , of an appropriate remote NTP
10708 server. Edit the file /usr/local/etc/ ntpd.conf, and add or correct the following
10709 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10710 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10711 server server-host <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10712 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10713 This setting configures ntpd to obtain time data from the
10714 remote host. To use multiple time servers, add one line for each server.</xccdf:description>
10715 </xccdf:Group>
10716 </xccdf:Group>
10717 </xccdf:Group>
10718 </xccdf:Group>
10719 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11">
10720 <xccdf:title xml:lang="en">Mail Transfer Agent</xccdf:title>
10721 <xccdf:description xml:lang="en">
10722 Mail servers are used to send and receive mail over a network on
10723 behalf of site users. Mail is a very common service, and MTAs are frequent targets of
10724 network attack. Ensure that machines are not running MTAs unnecessarily, and configure
10725 needed MTAs as defensively as possible.</xccdf:description>
10726 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.a" selected="false" severity="low" weight="10.0">
10727 <xccdf:title>Mail Transfer Agent</xccdf:title>
10728 <xccdf:description>The sendmail service should be disabled.</xccdf:description>
10729 <xccdf:ident system="http://cce.mitre.org">CCE-4416-4</xccdf:ident>
10730 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10731 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10732 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20287"/>
10733 </xccdf:check>
10734 </xccdf:Rule>
10735 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.1">
10736 <xccdf:title xml:lang="en">Select Mail Server Software and Configuration</xccdf:title>
10737 <xccdf:description xml:lang="en">
10738 Select one of the following options for configuring e-mail on the
10739 machine: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10740 <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
10741 instructions in Section 3.11.2 to run sendmail in submission-only mode.</xhtml:li><xhtml:li>If the machine
10742 must operate as a mail server, read the strategies for MTA configuration in Section 3.11.3
10743 for information about configuration options. Then apply both the MTA-independent operating
10744 system configuration guidance in Section 3.11.4, and the specific guidance for your MTA:
10745 <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
10746 implement the ideas in Section 3.11.3. </xhtml:li></xhtml:ul>
10747 </xhtml:li></xhtml:ul>
10748 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10749 It is recommended that very few machines at any
10750 site be configured to receive mail over a network. However, it may be necessary for most
10751 machines at a given site to send e-mail, for instance so that cron jobs can report output
10752 to an administrator. Sendmail supports a submission-only mode in which mail can be sent
10753 from the machine to a central site MTA, but the machine cannot receive mail over a
10754 network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10755 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10756 If a Mail Transfer Agent (MTA) is needed, the system default is Sendmail.
10757 Postfix, a popular alternative written with security in mind, is also available. Postfix
10758 can be more effectively contained by SELinux as its modular design has resulted in
10759 separate processes performing specific actions. More information on these MTAs is
10760 available from their respective websites, http://www.sendmail.org and
10761 http://www.postfix.org.</xccdf:description>
10762 <xccdf:reference>Hildebrandt, R., and Koetter, P. The Book of Postfix. No Starch Press, 2005</xccdf:reference>
10763 </xccdf:Group>
10764 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2">
10765 <xccdf:title xml:lang="en">Configure SMTP For Mail Client</xccdf:title>
10766 <xccdf:description xml:lang="en">
10767 This guide discusses the use of Sendmail for submission-only
10768 e-mail configuration. It is also possible to use Postfix.</xccdf:description>
10769 <xccdf:reference>Hunt, C. Sendmail Cookbook. O’Reilly and Associates, 2003</xccdf:reference>
10770 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.1">
10771 <xccdf:title xml:lang="en">Disable the Listening Sendmail Daemon</xccdf:title>
10772 <xccdf:description xml:lang="en">
10773 Edit the file /etc/sysconfig/sendmail. Add or modify the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10774 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10775 DAEMON=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10776 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10777 The MTA performs two functions: listening over a network for incoming SMTP
10778 e-mail requests, and sending mail from the local machine. Since outbound mail may be
10779 delayed due to network outages or other problems, the outbound MTA runs in a queue-only
10780 mode, in which it periodically attempts to resend any delayed mail. Setting DAEMON=no
10781 tells sendmail to execute only the queue runner on this machine, and never to receive
10782 SMTP mail requests.</xccdf:description>
10783 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false" weight="10.0">
10784 <xccdf:title>Disable the Listening Sendmail Daemon</xccdf:title>
10785 <xccdf:description>The listening sendmail daemon should be disabled.</xccdf:description>
10786 <xccdf:ident system="http://cce.mitre.org">CCE-4293-7</xccdf:ident>
10787 <xccdf:fixtext>(1) via /etc/sysconfig/sendmail</xccdf:fixtext>
10788 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10789 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20288"/>
10790 </xccdf:check>
10791 </xccdf:Rule>
10792 </xccdf:Group>
10793 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.2">
10794 <xccdf:title xml:lang="en">Configure Mail Submission if Appropriate</xccdf:title>
10795 <xccdf:description xml:lang="en">
10796 If it is appropriate to configure mail submission with a
10797 central MTA, edit /etc/mail/submit.cf. Locate the line beginning with D{MTAHost}, and
10798 modify it to read: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10799 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10800 D{MTAHost}mailserver <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10802 where mailserver is the hostname of the server
10803 to which this machine should forward its outgoing mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10804 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10805 This suggestion is provided as a
10806 simple way to migrate away from a configuration in which each machine at a site runs its
10807 own MTA, to a configuration in which client machines do not run listening daemons. If
10808 this modification is made to /etc/mail/submit.cf, then, when a local process on a
10809 machine attempts to send mail, the message will be forwarded to the machine mailserver
10810 for processing. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10811 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10812 Modifying /etc/mail/submit.cf directly is only appropriate if your site
10813 does not perform any other mailserver customization on clients. If other customization
10814 is done, use your usual Sendmail change procedure to define the MTA host. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10816 Note: In
10817 addition to making this change on the client, it may also be necessary to reconfigure
10818 the MTA on mailserver so that it will relay mail on behalf of this host.</xccdf:description>
10819 </xccdf:Group>
10820 </xccdf:Group>
10821 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3">
10822 <xccdf:title xml:lang="en">Strategies for MTA Security</xccdf:title>
10823 <xccdf:description xml:lang="en">
10824 This section discusses several types of MTA configuration which
10825 should be performed in order to protect against attacks involving the mail system. Though
10826 configuration syntax will differ depending on which MTA is in use (see Section 3.11.5 for
10827 Sendmail configuration syntax and Section 3.11.6 for Postfix), these strategies are
10828 generally advisable for any MTA, including ones not covered by this guide.</xccdf:description>
10829 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.1">
10830 <xccdf:title xml:lang="en">Use Resource Limits to Mitigate Denial of Service</xccdf:title>
10831 <xccdf:description xml:lang="en">
10832 It is often desirable to constrain an attacker's ability to
10833 consume a mail server's resources simply by sending otherwise valid mail at a high rate,
10834 whether maliciously or accidentally. Relevant resource limits include con106 CHAPTER 3.
10835 SERVICES straints on: the number of MTA daemons which may run at one time, the rate at
10836 which incoming messages may be received, the size and complexity of each message, or the
10837 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"/>
10838 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10839 That last parameter deserves additional explanation. Most MTAs require queue space for
10840 temporary files in order to process existing messages in their queues. Therefore, if the
10841 queue filesystem is allowed to fill completely in a denial of service, the MTA will not
10842 be able to clear its own queue even when the malicious traffic has stopped. This will
10843 delay recovery from an attack.</xccdf:description>
10844 </xccdf:Group>
10845 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.2">
10846 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
10847 <xccdf:description xml:lang="en">
10848 When remote mail senders connect to the MTA on port 25, they
10849 are greeted by an initial banner as part of the SMTP dialogue. This banner is necessary,
10850 but it frequently gives away too much information, including the MTA software which is
10851 in use, and sometimes also its version number. Remote mail senders do not need this
10852 information in order to send mail, so the banner should be changed to reveal only the
10853 hostname (which is already known and may be useful) and the word ESMTP, to indicate that
10854 the modern SMTP protocol variant is supported.</xccdf:description>
10855 </xccdf:Group>
10856 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.3">
10857 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
10858 <xccdf:description xml:lang="en">
10859 The sending of Unsolicited Bulk E-mail, referred to variously
10860 as UBE, UCE, or spam, is a major problem on the Internet today. The security
10861 implications of spam are that it operates as a Denial of Service attack on legitimate
10862 e-mail use. Strategies for fighting spam receipt at your site are complex and quickly
10863 evolving, and thus far beyond the scope of this guide. The problem of relaying
10864 unauthorized e-mail, however, can and should be addressed by any network-connected site.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10866 Most MTAs perform two functions: to accept mail from remote sites on behalf of local
10867 users, and to allow local users to send mail to remote sites. The former function is
10868 relatively easy — mail whose recipient address is local can be assumed to be destined
10869 for a local user. The latter function is more complex. Since it is typically considered
10870 neither secure nor desirable for users to log in to the MTA host itself to send mail,
10871 the MTA must be able to remotely accept mail addressed to anyone from the user's
10872 workstation. If the MTA is running very old software or is configured poorly, it can be
10873 possible for attackers to take advantage of this feature, using your MTA to relay their
10874 spam from one remote site to another. This is undesirable for many reasons, not least
10875 that your site will quickly be denylisted as a spam source, leaving you unable to send
10876 legitimate e-mail to your correspondents. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10878 The simplest solution described in this guide
10879 is to configure the MTA to relay mail only from the local site's address range, and some
10880 variant on this is the default for most modern MTAs. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10881 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10882 That solution may be insufficient
10883 for sites whose users need to send mail from remote machines, for instance while
10884 travelling, as well as for sites where mail submission must be accepted from network
10885 ranges which are not considered secure, either because authorized machines are unmanaged
10886 or because it is possible to connect unauthorized machines to the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10887 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10888 If remote or
10889 mobile hosts are authorized to relay, or if local clients exist in insecure netblocks,
10890 the SMTP AUTH protocol should be used to require mail senders to authenticate before
10891 submitting messages. For better protection and to allow support for a wide range of
10892 authentication mechanisms without sending passwords over a network in clear text, SMTP
10893 AUTH transactions should be encrypted using SSL. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10894 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10895 Another approach is to require mail to
10896 be submitted on port 587, the designated Message Submission Port. Use of a separate port
10897 allows the mail relay function to be entirely separated from the mail delivery function.
10898 This may become a best practice in the future, but description of how to configure the
10899 Message Submission Port is currently beyond the scope of this guide. See RFC 2476 for
10900 information about this configuration.</xccdf:description>
10901 </xccdf:Group>
10902 </xccdf:Group>
10903 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4">
10904 <xccdf:title xml:lang="en">Configure Operating System to Protect Mail Server</xccdf:title>
10905 <xccdf:description xml:lang="en">
10906 The guidance in this section is appropriate for any host which is
10907 operating as a site MTA, whether the mail server runs using Sendmail, Postfix, or some
10908 other software.</xccdf:description>
10909 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.1">
10910 <xccdf:title xml:lang="en">Use Separate Hosts for External and Internal Mail if Possible</xccdf:title>
10911 <xccdf:description xml:lang="en">
10912 The mail server is a frequent target of network attack from the
10913 outside. However, since all site users receive mail, the mail server must be open to
10914 some connection from each inside users. It is strongly recommended that these functions
10915 be separated, by having an externally visible mail server which processes all incoming
10916 and outgoing mail, then forwards internal mail to a separate machine from which users
10917 can access it.</xccdf:description>
10918 </xccdf:Group>
10919 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.2">
10920 <xccdf:title xml:lang="en">Protect the MTA Host from User Access</xccdf:title>
10921 <xccdf:description xml:lang="en">
10922 The mail server contains privileged data belonging to all users
10923 and performs a vital network function. Preventing users from logging into this server is
10924 a precaution against privilege escalation or denial of service attacks which might
10925 compromise the mail service. Take steps to ensure that only system administrators are
10926 allowed shell access to the MTA host.</xccdf:description>
10927 </xccdf:Group>
10928 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.3">
10929 <xccdf:title xml:lang="en">Restrict Remote Access to the Mail Spool</xccdf:title>
10930 <xccdf:description xml:lang="en">
10931 If users directly connect to this machine to receive mail,
10932 ensure that there is a single, well-secured mechanism for access to the directory
10933 /var/spool/mail (the directory /var/mail is a symlink to this). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10934 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10935 Allowing unrestricted
10936 access to /var/spool/mail can be dangerous, since this directory contains sensitive
10937 information belonging to all users. Protocols such as NFS, which have an insecure
10938 authorization mechanism by default, should be considered insufficient for these
10939 purposes. See Section 3.17 for details on secure configuration of POP3 or IMAP, which
10940 are the preferred ways to provide user access to mail.</xccdf:description>
10941 </xccdf:Group>
10942 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.4">
10943 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Mail Server</xccdf:title>
10944 <xccdf:description xml:lang="en">
10945 Edit /etc/sysconfig/iptables. Add the following line, ensuring
10946 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"/>
10947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10948 -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"/>
10949 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10950 The default
10951 Iptables configuration does not allow inbound access to the SMTP service. This
10952 modification allows that access, while keeping other ports on the server in their
10953 default protected state. See Section 2.5.5 for more information about Iptables.</xccdf:description>
10954 </xccdf:Group>
10955 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.5">
10956 <xccdf:title xml:lang="en">Verify System Logging and Log Permissions for Mail</xccdf:title>
10957 <xccdf:description xml:lang="en">
10958 Edit the file /etc/syslog.conf. Add or correct the following
10959 line if necessary (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10961 mail.* -/var/log/maillog <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10962 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10963 Run the following commands to ensure correct permissions on the mail log: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10965 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /var/log/maillog <xhtml:br/>
10966 # chmod 600 /var/log/maillog <xhtml:br/></xhtml:code>
10967 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10968 The mail server logs contain a record of
10969 every e-mail which is sent or received on the system, which is considered sensitive
10970 information by most sites. It is necessary that these logs be collected for purposes of
10971 debugging and statistics, but their contents should be protected from unauthorized
10972 access.</xccdf:description>
10973 </xccdf:Group>
10974 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6">
10975 <xccdf:title xml:lang="en">Configure SSL Certificates for Use with SMTP AUTH</xccdf:title>
10976 <xccdf:description xml:lang="en">
10977 If SMTP AUTH is to be used (see Section 3.11.3.3 for a
10978 description of possible anti-relaying mechanisms), the use of SSL to protect credentials
10979 in transit is strongly recommended. There are also configurations for which it may be
10980 desirable to encrypt all mail in transit from one MTA to another, though such
10981 configurations are beyond the scope of this guide. In either event, the steps for
10982 creating and installing an SSL certificate are independent of the MTA in use, and are
10983 described here.</xccdf:description>
10984 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.1">
10985 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
10986 <xccdf:description xml:lang="en">
10987 Note: This step must be performed on your CA system, not on
10988 the MTA host itself. If you will have a commercial CA sign certificates, then this
10989 step should be performed on a separate, physically secure system devoted to that
10990 purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10991 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10992 Change into the CA certificate directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10994 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
10995 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10996 Generate a key pair for the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10997 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10998 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out mailserverkey.pem 2048 <xhtml:br/></xhtml:code>
10999 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11000 Next,
11001 generate a certificate signing request (CSR) for the CA to sign, making sure to supply
11002 your mail server's fully qualified domain name as the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11003 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11004 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key mailserverkey.pem -out mailserver.csr <xhtml:br/></xhtml:code>
11005 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11006 Next, the mail server CSR must be signed to
11007 create the mail server certificate. You can either send the CSR to an established CA
11008 or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11009 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11010 To sign mailserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11011 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11012 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in mailserver.csr -out mailservercert.pem <xhtml:br/></xhtml:code>
11013 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11014 This step creates a private key,
11015 mailserverkey.pem, and a public certificate, mailservercert.pem. The mail server will
11016 use these to prove its identity by demonstrating that it has a certificate which has
11017 been signed by a CA. Mail clients at your site should be willing to send their mail
11018 only to a server they can authenticate.</xccdf:description>
11019 </xccdf:Group>
11020 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.2">
11021 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
11022 <xccdf:description xml:lang="en">
11023 Create the PKI directory for mail certificates, if it does
11024 not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11025 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11026 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/mail <xhtml:br/>
11027 # chown root:root /etc/pki/tls/mail <xhtml:br/>
11028 # chmod 755 /etc/pki/tls/mail <xhtml:br/></xhtml:code>
11029 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11030 Using removable media or some other secure transmission
11031 format, install the files generated in the previous step onto the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11033 <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>
11034 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11035 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11037 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11038 # chown root:root /etc/pki/tls/mail/servercert.pem <xhtml:br/>
11039 # chmod 600 /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11040 # chmod 644 /etc/pki/tls/mail/servercert.pem<xhtml:br/></xhtml:code>
11041 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11042 Verify that the CA's public certificate file has been installed as
11043 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11044 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11045 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11046 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
11047 </xccdf:Group>
11048 </xccdf:Group>
11049 </xccdf:Group>
11050 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5">
11051 <xccdf:title xml:lang="en">Configure Sendmail Server if Necessary</xccdf:title>
11052 <xccdf:description xml:lang="en">
11053 When sendmail is configured to act as a server for incoming mail,
11054 it listens on port 25 for connections, and responds to those connections using the
11055 configuration in /etc/mail/sendmail.cf. This file has a somewhat opaque format, and
11056 modifying it directly is generally not recommended. Instead, the following procedure
11057 should be used to modify the sendmail configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11058 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11059 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Install the sendmail-cf RPM, which
11060 is required in order to compile a new configuration file: <xhtml:br/>
11061 <xhtml:br/>
11062 <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
11063 are applying. </xhtml:li><xhtml:li>Inside the directory /etc/mail/, use make to build the configuration
11064 according to the Makefile provided by Sendmail: <xhtml:br/>
11065 <xhtml:br/>
11066 <xhtml:code># cd /etc/mail <xhtml:br/>
11067 # make sendmail.cf</xhtml:code></xhtml:li></xhtml:ol></xccdf:description>
11068 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.1">
11069 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11070 <xccdf:description xml:lang="en">
11071 Edit /etc/mail/sendmail.mc, and add or correct the following
11072 options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11073 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11074 define(`confMAX_DAEMON_CHILDREN',`40')dnl
11075 define(`confCONNECTION_RATE_THROTTLE', `3 ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11076 define(`confMIN_FREE_BLOCKS',`20971520')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11077 define(`confMAX_HEADERS_LENGTH',`51200')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11078 define(`confMAX_MESSAGE_SIZE',`10485760')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11079 define(`confMAX_RCPTS_PER_MESSAGE',`100')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11080 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11081 Note: The values given here are examples, and may need to be modified for any
11082 particular site, especially one with high e-mail volume. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11083 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11084 These configuration options
11085 serve to make it more difficult for attackers to consume resources on the MTA host. (See
11086 Section 3.11.3.1 for details on why this is done.) The MAX DAEMON CHILDREN option limits
11087 the number of sendmail processes which may be deployed to handle incoming connections at
11088 any one time, while CONNECTION RATE THROTTLE limits the number of connections per second
11089 which each listener may receive. The MIN FREE BLOCKS option stops e-mail receipt when
11090 the queue filesystem is close to full. The MAX HEADERS LENGTH (bytes), MAX MESSAGE SIZE
11091 (bytes), and MAX RCPTS PER MESSAGE (distinct recipients) options place bounds on the
11092 legal sizes of messages received via SMTP.</xccdf:description>
11093 </xccdf:Group>
11094 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.2">
11095 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11096 <xccdf:description xml:lang="en">
11097 Edit /etc/mail/sendmail.mc, and add or correct the following
11098 line, substituting an appropriate greeting string for $j : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11099 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11100 define(`confSMTP_LOGIN_MSG', `$j ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11101 and recompile sendmail's configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11102 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11103 The default greeting banner discloses
11104 that the listening mail process is Sendmail rather than some other MTA, and also
11105 provides the version number. See Section 2.3.7 for more about warning banners, and
11106 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11108 The Sendmail variable $j contains the hostname of the mail server, which may be an
11109 appropriate greeting string for most environments.</xccdf:description>
11110 </xccdf:Group>
11111 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3">
11112 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11113 <xccdf:description xml:lang="en">
11114 This guide will discuss two mechanisms for controlling mail
11115 relaying in Sendmail. The /etc/mail/relay-domains file contains a list of hostnames that
11116 are allowed to relay mail. Follow the guidance in Section 3.11.5.3.1 to configure
11117 relaying for trusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11119 If there are machines which must be allowed to relay
11120 mail, but which cannot be trusted to relay unconditionally, configure SMTP AUTH with TLS
11121 support using the guidance in Sections 3.11.5.3.2 and following.</xccdf:description>
11122 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.1">
11123 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11124 <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
11125 name may relay, then edit /etc/mail/ relay-domains, adding a line for each domain or
11126 subdomain, e.g.: <xhtml:br/>
11127 <xhtml:br/>
11128 example.com <xhtml:br/>
11129 trusted-subnet.school.edu <xhtml:br/>
11130 ... </xhtml:li><xhtml:li>If the machines which are
11131 allowed to relay must be specified on a per-host basis, then edit /etc/mail/
11132 relay-domains, adding a line for each such host: <xhtml:br/>
11133 <xhtml:br/>
11134 host1.example.com<xhtml:br/>
11135 host5.subnet.example.com <xhtml:br/>
11136 smtp.trusted-subnet.school.edu <xhtml:br/>
11137 <xhtml:br/>
11138 Then edit /etc/mail/sendmail.mc, add or correct the line: <xhtml:br/>
11139 <xhtml:br/>
11140 FEATURE(`relay_hosts_only')dnl <xhtml:br/>
11141 <xhtml:br/>
11142 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"/>
11143 The file /etc/mail/relay-domains must contain only
11144 the set of machines for which this MTA should unconditionally relay mail. This
11145 configures both inbound and outbound relaying, that is, hosts mentioned in
11146 relay-domains may send mail through the MTA, and the MTA will also accept inbound mail
11147 addressed to such hosts. This is a trust relationship — if spammers gain access to
11148 these machines, your site will effectively become an open relay. It is recommended
11149 that only machines which are managed by you or by another trusted organization be
11150 placed in relay-domains, and that users of all other machines be required to use SMTP
11151 AUTH to send mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11152 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11153 Note: The relay-domains file must be configured to contain either a
11154 list of domains (in which case every host in each of those domains will be allowed to
11155 relay) or a list of hosts (in which case each individual relaying host must be listed
11156 and the sendmail.cf must be reconfigured to interpret the relay-domains file in the
11157 desired way).</xccdf:description>
11158 </xccdf:Group>
11159 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.2">
11160 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11161 <xccdf:description xml:lang="en">
11162 By default, Sendmail uses the Cyrus-SASL library to provide
11163 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11164 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11165 To enable the use of SASL authentication for relaying, edit
11166 /etc/mail/sendmail.mc and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11167 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11168 TRUST_AUTH_MECH(`LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11169 define(`confAUTH_MECHANISMS', `LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11170 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11171 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11172 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11173 Then edit /usr/lib/sasl2/Sendmail.conf and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11174 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11175 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11176 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11177 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11178 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11179 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11180 The AUTH MECHANISMS configuration option tells sendmail to allow the
11181 specified authentication mechanisms to be used during the SMTP dialogue. The two
11182 listed mechanisms use SASL to test a password provided by the user. Since these
11183 mechanisms transmit plaintext passwords, they should be protected using TLS as
11184 described in the next section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11185 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11186 The TRUST AUTH MECH command tells sendmail that senders
11187 who successfully authenticate using the specified mechanism may relay mail through
11188 this MTA even if their addresses are not in relay-domains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11189 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11190 The file
11191 /usr/lib/sasl/Sendmail.conf is the Cyrus-SASL configuration file for Sendmail. The
11192 pwcheck method directive tells SASL how to find passwords. The simplest method,
11193 described here, is to run a separate authentication daemon, saslauthd, which is able
11194 to communicate with the system authentication service. On Red Hat, saslauthd uses PAM
11195 by default, which should work in most cases. If you have a centralized authentication
11196 system which does not work via PAM, look at the saslauthd(8) manpage to determine how
11197 to configure saslauthd for your environment.</xccdf:description>
11198 </xccdf:Group>
11199 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.3">
11200 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11201 <xccdf:description xml:lang="en">
11202 Edit /etc/mail/sendmail.mc, add or correct the following
11203 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11205 define(`confAUTH_OPTIONS', `A p')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11206 define(`confCACERT_PATH', `/etc/pki/tls/CA')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11207 define(`confCACERT', `/etc/pki/tls/CA/cacert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11208 define(`confSERVER_CERT', `/etc/pki/tls/mail/servercert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11209 define(`confSERVER_KEY', `/etc/pki/tls/mail/serverkey.pem')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11210 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11211 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11212 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11213 These options, combined with the previous settings, tell Sendmail to
11214 protect all SMTP AUTH transactions using TLS. The first four options describe the
11215 location of the necessary TLS certificate and key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11216 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11217 The AUTH OPTIONS parameter
11218 configures the SMTP AUTH dialogue. The A option is enabled by default, and simply says
11219 that authentication is allowed if an appropriate mechanism can be found. The p option
11220 tells Sendmail to protect against passive attacks. The PLAIN and LOGIN authentication
11221 mechanisms, recommended by this guide for compatibility with PAM, send passwords in
11222 the clear. (Cleartext password transmissions are vulnerable to passive attack.)
11223 Therefore, if p is set, the SMTP daemon will not make the AUTH command available until
11224 after the client has used the STARTTLS command to encrypt the session. If other
11225 authentication mechanisms were enabled which did not send passwords in the clear, then
11226 TLS would not necessarily be required.</xccdf:description>
11227 </xccdf:Group>
11228 </xccdf:Group>
11229 </xccdf:Group>
11230 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6">
11231 <xccdf:title xml:lang="en">Configure Postfix if Necessary</xccdf:title>
11232 <xccdf:description xml:lang="en">
11233 Postfix stores its configuration files in the directory
11234 /etc/postfix by default. The primary configuration file is /etc/postfix/main.cf. Other
11235 files will be introduced as needed.</xccdf:description>
11236 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.1">
11237 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11238 <xccdf:description xml:lang="en">
11239 Edit /etc/postfix/main.cf. Add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11240 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11241 default_process_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11242 smtpd_client_connection_count_limit = 10<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11243 smtpd_client_connection_rate_limit = 30 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11244 queue_minfree = 20971520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11245 header_size_limit = 51200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11246 message_size_limit = 10485760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11247 smtpd_recipient_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11248 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11249 Note: The values given
11250 here are examples, and may need to be modified for any particular site. By default, the
11251 Postfix anvil process gathers mail receipt statistics. To get information about about
11252 what connection rates are typical at your site, look in /var/log/maillog for lines with
11253 the daemon name postfix/anvil. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11254 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11255 These configuration options serve to make it more
11256 difficult for attackers to consume resources on the MTA host. (See Section 3.11.3.1 for
11257 details on why this is done.) The default process limit parameter controls how many
11258 smtpd processes can exist at a time, while smtpd_client_connection_count_limit controls
11259 the number of those which can be occupied by any one remote sender, and
11260 smtpd_client_connection_rate_limit controls the number of connections any one client
11261 can make per minute. By default, local hosts (those in mynetworks) are exempted from
11262 per-client rate limiting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11263 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11264 The queue_minfree parameter establishes a free space threshold, in order to
11265 stop e-mail receipt before the queue filesystem is entirely full. The header_size_limit,
11266 message_size_limit, and smtpd recipient limit parameters place bounds on the legal sizes
11267 of messages received via SMTP.</xccdf:description>
11268 </xccdf:Group>
11269 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.2">
11270 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11271 <xccdf:description xml:lang="en">
11272 Edit /etc/postfix/main.cf, and add or correct the following
11273 line, substituting some other wording for the banner information if you prefer:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11275 smtpd_banner = $myhostname ESMTP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11276 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11277 The default greeting banner discloses that the
11278 listening mail process is Postfix. See Section 2.3.7 for more about warning banners, and
11279 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular.</xccdf:description>
11280 </xccdf:Group>
11281 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3">
11282 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11283 <xccdf:description xml:lang="en">
11284 Postfix's mail relay controls are implemented with the help of
11285 the smtpd recipient restrictions option, which controls the restrictions placed on the
11286 SMTP dialogue once the sender and recipient envelope addresses are known. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11287 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11288 The guidance
11289 in Sections 3.11.6.3.1–3.11.6.3.2 should be applied to all machines. If there are
11290 machines which must be allowed to relay mail, but which cannot be trusted to relay
11291 unconditionally, configure SMTP AUTH with SSL support using the guidance in Sections
11292 3.11.6.3.3 and following.</xccdf:description>
11293 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.1">
11294 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11295 <xccdf:description xml:lang="en">
11296 Edit /etc/postfix/main.cf, and configure the contents of the
11297 mynetworks variable in one of the following ways: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11299 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>If any machine in the subnet
11300 containing the MTA may be trusted to relay messages, add or correct the line:<xhtml:br/>
11301 <xhtml:br/>
11302 mynetworks_style = subnet </xhtml:li><xhtml:li>If only the MTA host itself is trusted to relay messages,
11303 add or correct: <xhtml:br/>
11304 <xhtml:br/>
11305 mynetworks_style = host </xhtml:li><xhtml:li>If the set of machines which can relay is
11306 more complicated, manually specify an entry for each netblock or IP address which is
11307 trusted to relay by setting the mynetworks variable directly: <xhtml:br/>
11308 <xhtml:br/>
11309 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"/>
11310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11311 The mynetworks variable must contain only the set of
11312 machines for which this MTA should unconditionally relay mail. This is a trust
11313 relationship — if spammers gain access to these machines, your site will effectively
11314 become an open relay. It is recommended that only machines which are managed by you or
11315 by another trusted organization be placed in mynetworks, and users of all other
11316 machines be required to use SMTP AUTH to send mail.</xccdf:description>
11317 </xccdf:Group>
11318 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.2">
11319 <xccdf:title xml:lang="en">Allow Unlimited Relaying for Trusted Networks Only</xccdf:title>
11320 <xccdf:description xml:lang="en">
11321 Edit /etc/postfix/main.cf, and add or correct the smtpd
11322 recipient restrictions definition so that it contains at least:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11323 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11324 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11325 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11326 permit_mynetworks, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11327 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11328 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11329 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11330 The full contents of smtpd recipient restrictions will vary by site, since this is a
11331 common place to put spam restrictions and other site-specific options. The permit
11332 mynetworks option allows all mail to be relayed from the machines in mynetworks. Then,
11333 the reject unauth destination option denies all mail whose destination address is not
11334 local, preventing any other machines from relaying. These two options should always
11335 appear in this order, and should usually follow one another immediately unless SMTP
11336 AUTH is used.</xccdf:description>
11337 </xccdf:Group>
11338 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.3">
11339 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11340 <xccdf:description xml:lang="en">
11341 SMTP authentication allows remote clients to relay mail
11342 safely by requiring them to authenticate before submitting mail. Postfix's SMTP AUTH
11343 uses an authentication library called SASL, which is not part of Postfix itself. This
11344 section describes how to configure authentication using the Cyrus-SASL implementation.
11345 See below for a discussion of other options. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11346 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11347 To enable the use of SASL authentication,
11348 edit /etc/postfix/main.cf and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11350 smtpd_sasl_auth_enable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11351 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11352 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11353 permit_mynetworks,<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11354 permit_sasl_authenticated, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11355 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11356 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11357 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11358 Then edit
11359 /usr/lib/sasl/smtpd.conf and add or correct the following line with the correct
11360 authentication mechanism for SASL to use: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11362 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11364 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11365 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11366 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11368 Postfix can use either the Cyrus library or
11369 Dovecot as a source for SASL authentication. If this host is running Dovecot for some
11370 other reason, it is recommended that Dovecot's SASL support be used instead of running
11371 the Cyrus code as well. See http://www.postfix.org/SASL README.html for instructions
11372 on implementing that configuration, which is not described in this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11374 In Postfix's
11375 configuration, the directive smtpd sasl auth enable tells smtpd to allow the use of
11376 the SMTP AUTH command during the SMTP dialogue, and to support that command by getting
11377 authentication information from SASL. The smtpd recipient restrictions directive is
11378 changed so that, if the client is not connecting from a trusted address, it is allowed
11379 to attempt authentication (permit sasl authenticated) in order to relay mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11380 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11381 The file
11382 /usr/lib/sasl/smtpd.conf is the Cyrus-SASL configuration file. The pwcheck method
11383 directive tells SASL how to find passwords. The simplest method, described above, is
11384 to run a separate authentication daemon, saslauthd, which is able to communicate with
11385 the system authentication system. On RHEL5, saslauthd uses PAM by default, which
11386 should work in most cases. If you have a centralized authentication system which does
11387 not work via PAM, look at the saslauthd(8) manpage to find out how to configure
11388 saslauthd for your environment.</xccdf:description>
11389 </xccdf:Group>
11390 </xccdf:Group>
11391 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.4">
11392 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11393 <xccdf:description xml:lang="en">
11394 Edit /etc/postfix/main.cf, and add or correct the following
11395 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11396 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11397 smtpd_tls_CApath = /etc/pki/tls/CA <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11398 smtpd_tls_CAfile = /etc/pki/tls/CA/cacert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11399 smtpd_tls_cert_file = /etc/pki/tls/mail/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11400 smtpd_tls_key_file = /etc/pki/tls/mail/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11401 smtpd_tls_security_level = may <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11402 smtpd_tls_auth_only = yes<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11403 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11404 These options tell Postfix to protect all SMTP AUTH transactions using TLS. The first
11405 four options describe the locations of the necessary TLS key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11406 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11407 The smtpd_tls_security_level directive tells smtpd to allow the STARTTLS command during the SMTP
11408 protocol exchange, but not to require it for mail senders. (Unless your site receives
11409 mail only from other trusted sites whose sysadmins can be asked to maintain a copy of
11410 your site certificate, you do not want to require TLS for all SMTP exchanges.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11412 The smtpd_tls_auth_only directive tells smtpd to require the STARTTLS command before allowing the
11413 client to attempt to authenticate for relaying using SMTP AUTH. It may not be possible
11414 to use this directive if you must allow relaying from non-TLS-capable client software.
11415 If this is the case, simply omit that line.</xccdf:description>
11416 </xccdf:Group>
11417 </xccdf:Group>
11418 </xccdf:Group>
11419 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12">
11420 <xccdf:title xml:lang="en">LDAP</xccdf:title>
11421 <xccdf:description xml:lang="en">
11422 LDAP is a popular directory service, that is, a standardized way of
11423 looking up information from a central database. It is relatively simple to configure a RHEL5
11424 machine to obtain authentication information from an LDAP server. If your network uses LDAP
11425 for authentication, be sure to configure both clients and servers securely.</xccdf:description>
11426 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.1">
11427 <xccdf:title xml:lang="en">Use OpenLDAP to Provide LDAP Service if Possible</xccdf:title>
11428 <xccdf:description xml:lang="en">
11429 The system's default LDAP client/server program is called
11430 OpenLDAP. Its documentation is available at the project web page: http://www.openldap.org.</xccdf:description>
11431 </xccdf:Group>
11432 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2">
11433 <xccdf:title xml:lang="en">Configure OpenLDAP Clients</xccdf:title>
11434 <xccdf:description xml:lang="en">
11435 This guide recommends configuring OpenLDAP clients by manually
11436 editing the appropriate configuration files. RHEL5 provides an automated configuration
11437 tool called authconfig and a graphical wrapper for authconfig called
11438 system-config-authentication. However, these tools do not give sufficient flexibility over
11439 configuration. The authconfig tools do not allow you to specify locations of SSL
11440 certificate files, which is useful when trying to use SSL cleanly across several
11441 protocols. They are also overly aggressive in placing services such as netgroups and
11442 automounter maps under LDAP control, where it is safer to use LDAP only for services to
11443 which it is relevant in your environment.</xccdf:description>
11444 <xccdf:warning xml:lang="en">Before configuring any machine to be an LDAP client, ensure that
11445 a working LDAP server is present on the network. See Section 3.12.3 for instructions on
11446 configuring an LDAP server. </xccdf:warning>
11447 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.1">
11448 <xccdf:title xml:lang="en">Configure the Appropriate LDAP Parameters for the Domain</xccdf:title>
11449 <xccdf:description xml:lang="en">
11450 Assume the fully qualified host name of your LDAP server is
11451 ldap.example.com and the base DN of your domain is dc=example,dc=com (it is conventional
11452 to use the domain name as a base DN). Edit /etc/ldap. conf, and add or correct the
11453 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11454 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11455 base dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11456 uri ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11457 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11458 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11459 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11460 BASE dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11461 URI ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11462 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11463 The machine whose hostname is given here must be
11464 configured as an LDAP server, serving data identified by the base DN used here. See
11465 Section 3.12.3 for details on configuring an LDAP server.</xccdf:description>
11466 </xccdf:Group>
11467 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.2">
11468 <xccdf:title xml:lang="en">Configure LDAP to Use TLS for All Transactions</xccdf:title>
11469 <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
11470 in the file /etc/pki/tls/CA/cacert.pem. </xhtml:li><xhtml:li>Configure LDAP to enforce TLS use and to
11471 trust certificates signed by the site's CA. First, edit the file /etc/ldap.conf, and add
11472 or correct the following lines: <xhtml:br/>
11473 <xhtml:br/>
11474 ssl start_tls <xhtml:br/>
11475 tls_checkpeer yes <xhtml:br/>
11476 tls_cacertdir /etc/pki/tls/CA <xhtml:br/>
11477 tls_cacertfile /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11478 <xhtml:br/>
11479 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br/>
11480 <xhtml:br/>
11481 TLS_CACERTDIR /etc/pki/tls/CA <xhtml:br/>
11482 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"/>
11483 Section 2.5.6 describes the
11484 system-wide configuration of SSL for your enterprise. It is possible to place your
11485 certificate information under some directory other than /etc/pki/tls, but using a
11486 consistent directory structure across all SSL services at your site is recommended. The
11487 LDAP server must be configured with a certificate signed by the CA certificate named
11488 here.</xccdf:description>
11489 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false" weight="10.0">
11490 <xccdf:title>Configure LDAP to Use TLS for All Transactions</xccdf:title>
11491 <xccdf:description>Clients require LDAP servers to provide valid certificates for SSL communications.</xccdf:description>
11492 <xccdf:fixtext>(1) via /etc/ldap.conf</xccdf:fixtext>
11493 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11494 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202885"/>
11495 </xccdf:check>
11496 </xccdf:Rule>
11497 </xccdf:Group>
11498 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.3">
11499 <xccdf:title xml:lang="en">Configure Authentication Services to Use OpenLDAP</xccdf:title>
11500 <xccdf:description xml:lang="en">
11501 Edit the file /etc/ldap.conf, and add or correct the following
11502 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11503 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11504 pam_password md5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11506 Edit the file /etc/nsswitch.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11507 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11508 passwd: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11509 shadow: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11510 group: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11511 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11512 Edit the file
11513 /etc/pam.d/system-auth-ac. Make the following changes, which will add references to LDAP
11514 in each of the four sections of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11515 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11516 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Immediately before the last line in the auth
11517 section (the one containing pam_deny.so), insert the line: <xhtml:br/>
11518 <xhtml:br/>
11519 auth sufficient pam_ldap.so use_first_pass </xhtml:li><xhtml:li>Modify the first line in the account section by adding the option
11520 broken shadow. The line should then read: <xhtml:br/>
11521 <xhtml:br/>
11522 account required pam_unix.so broken_shadow </xhtml:li><xhtml:li>Immediately before the last line in the account section (the one containing pam
11523 permit.so), insert the line: <xhtml:br/>
11524 <xhtml:br/>
11525 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
11526 containing pam_deny.so), insert the line: <xhtml:br/>
11527 <xhtml:br/>
11528 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/>
11529 <xhtml:br/>
11530 session optional pam_ldap.so </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11532 The first modification tells LDAP to expect passwords in
11533 MD5 hash format, rather than clear text. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11534 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11535 Red Hat systems use the file /etc/nsswitch.conf
11536 to determine the appropriate sources to search for certain kinds of data, such as
11537 usernames, groups, hostnames, netgroups, or protocols. It is possible to manage many
11538 other types of data using LDAP, but this guide recommends that only usernames (passwd
11539 data), passwords (shadow data), and groups (group data) be managed using LDAP. If your
11540 site uses netgroups, it may be appropriate to manage these via LDAP as well. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11541 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11542 However,
11543 data which almost never changes, such as the contents of the /etc/services file, is a
11544 poor choice for central administration, since it introduces risk with little benefit. It
11545 is recommended that the automounter not be used at all, so LDAP control of automounter
11546 maps is unlikely to be appropriate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11547 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11548 The file /etc/pam.d/system-auth-ac is used by PAM to
11549 control access to most authenticated services. The syntax of the PAM configuration file
11550 is somewhat cryptic. The lines recommended here have the combined effect of using LDAP
11551 to find authentication data for users who cannot be found in the local /etc/passwd file.
11552 This means that, for instance, it is still possible to use a local root password. The
11553 details of options such as broken_shadow, use_authtok, and use_first_pass may be looked
11554 up in the man pages for the various PAM modules. Their basic effect is to attempt to
11555 authenticate given a password against both the local /etc/shadow and the central LDAP
11556 server, without forcing the user to type the password more than once. PAM configuration
11557 is discussed further in Section 2.3.3.</xccdf:description>
11558 </xccdf:Group>
11559 </xccdf:Group>
11560 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3">
11561 <xccdf:title xml:lang="en">Configure OpenLDAP Server</xccdf:title>
11562 <xccdf:description xml:lang="en">
11563 This section contains guidance on how to configure an OpenLDAP
11564 server to securely provide information for use in a centralized authentication service.
11565 This is not a comprehensive guide to maintaining an OpenLDAP server, but may be helpful in
11566 transitioning to an OpenLDAP infrastructure nonetheless.</xccdf:description>
11567 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.1">
11568 <xccdf:title xml:lang="en">Install OpenLDAP Server RPM</xccdf:title>
11569 <xccdf:description xml:lang="en">
11570 Is this machine the OpenLDAP server? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11571 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11572 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install openldap-servers <xhtml:br/>
11573 # chkconfig ldap on <xhtml:br/></xhtml:code>
11574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11575 The openldap-servers RPM is not installed by
11576 default on RHEL5 machines. It is needed only by the OpenLDAP server, not by the clients
11577 which use LDAP for authentication.</xccdf:description>
11578 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false" severity="low" weight="10.0">
11579 <xccdf:title>Disable OpenLDAP service</xccdf:title>
11580 <xccdf:description>The ldap service should be disabled.</xccdf:description>
11581 <xccdf:ident system="http://cce.mitre.org">CCE-3501-4</xccdf:ident>
11582 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
11583 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11584 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20289"/>
11585 </xccdf:check>
11586 </xccdf:Rule>
11587 </xccdf:Group>
11588 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.2">
11589 <xccdf:title xml:lang="en">Configure Domain-Specific Parameters</xccdf:title>
11590 <xccdf:description xml:lang="en">
11591 Edit the file /etc/openldap/slapd.conf. Add or correct the
11592 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11593 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11594 suffix "dc=example,dc=com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11595 rootdn "cn=Manager,dc=example,dc=com "<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11597 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"/>
11598 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11599 These are
11600 basic LDAP configuration directives. The suffix parameter gives the root name of all
11601 information served by this LDAP server, and should be some name related to your domain.
11602 The rootdn parameter names LDAP's privileged user, who is allowed to read or write all
11603 data managed by this LDAP server.</xccdf:description>
11604 </xccdf:Group>
11605 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.3">
11606 <xccdf:title xml:lang="en">Configure an LDAP Root Password</xccdf:title>
11607 <xccdf:description xml:lang="en">
11608 Ensure that the configuration file has reasonable permissions
11609 before putting the hashed root password in that file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11611 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/openldap/slapd.conf <xhtml:br/>
11612 # chmod 640 /etc/openldap/slapd.conf <xhtml:br/></xhtml:code>
11613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11614 Generate a hashed password using the slappasswd utility: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11615 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11616 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># slappasswd <xhtml:br/></xhtml:code>
11617 New password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11618 Re-enter new password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11619 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11620 This
11621 will output a hashed password string. Edit the file /etc/openldap/slapd.conf, and add or
11622 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11623 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11624 rootpw {SSHA}hashed-password-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11625 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11626 Be sure to select a secure
11627 password for the LDAP root user, since this user has permission to read and write all
11628 LDAP data, so a compromise of the LDAP root password will probably enable a full
11629 compromise of your site. Protect configuration files containing the hashed password the
11630 same way you would protect other files, such as /etc/shadow, which contain hashed
11631 authentication data. In addition, be sure to use a reasonably strong hash function, such
11632 as SHA-1, rather than an insecure scheme such as crypt.</xccdf:description>
11633 <xccdf:description xml:lang="en">If you are using SHA-1, the hashed password string will begin with “{SHA}” or “{SSHA}”</xccdf:description>
11634 </xccdf:Group>
11635 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4">
11636 <xccdf:title xml:lang="en">Configure the LDAP Server to Require TLS for All Transactions</xccdf:title>
11637 <xccdf:description xml:lang="en">
11638 Because LDAP queries and responses, particularly those
11639 containing authentication information or other sensitive data, must be protected from
11640 disclosure or modification while in transit over the network, this guide recommends
11641 using SSL to protect all transactions. In order to do this, it is necessary to have a
11642 site-wide SSL infrastructure in which a CA certificate is used to verify that other
11643 certificates, such as that presented by the LDAP server to its clients, are authentic.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11644 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11645 Therefore, this procedure involves using the CA system to create a certificate for the
11646 LDAP server, then installing that certificate on the LDAP server and configuring slapd
11647 to require its use. See Section 2.5.6 for details about the process of creating SSL
11648 certificates for use by servers at your site.</xccdf:description>
11649 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.1">
11650 <xccdf:title xml:lang="en">Create the Certificate for the LDAP Server</xccdf:title>
11651 <xccdf:description xml:lang="en">
11652 Note: This step must be performed on the CA system, not on
11653 the LDAP server itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11655 Change into the CA certificate directory: <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"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
11658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11659 Generate a key pair for the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11660 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11661 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out ldapserverkey.pem 2048 <xhtml:br/></xhtml:code>
11662 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11663 Next, generate a certificate signing request (CSR) for the CA to sign: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11664 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11665 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key ldapserverkey.pem -out ldapserver.csr <xhtml:br/></xhtml:code>
11666 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11667 Sign the ldapserver.csr request: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11668 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11669 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in ldapserver.csr -out ldapservercert.pem <xhtml:br/></xhtml:code>
11670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11671 This step creates a private key, ldapserverkey.pem, and a public certificate,
11672 ldapservercert.pem. The LDAP server will use these to prove its identity by
11673 demonstrating that it has a certificate which has been signed by the site CA. LDAP
11674 clients at your site should only be willing to accept authentication data from a
11675 verified LDAP server.</xccdf:description>
11676 </xccdf:Group>
11677 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.2">
11678 <xccdf:title xml:lang="en">Install the Certificate on the LDAP Server</xccdf:title>
11679 <xccdf:description xml:lang="en">
11680 Create the PKI directory for LDAP certificates if it does not
11681 already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11683 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/ldap <xhtml:br/>
11684 # chown root:root /etc/pki/tls/ldap <xhtml:br/>
11685 # chmod 755 /etc/pki/tls/ldap <xhtml:br/></xhtml:code>
11686 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11687 Using removable media or some other secure transmission format,
11688 install the files generated in the previous step onto the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11689 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11690 <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"/>
11691 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11692 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11693 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11694 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
11695 # chown root:ldap /etc/pki/tls/ldap/servercert.pem <xhtml:br/>
11696 # chmod 640 /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
11697 # chmod 640 /etc/pki/tls/ldap/servercert.pem<xhtml:br/></xhtml:code>
11698 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11699 Verify that the CA's public certificate file has been installed as
11700 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11701 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11702 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/CA <xhtml:br/>
11703 # chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11704 # chmod 644 /etc/pki/tls/CA/cacert.pem <xhtml:br/></xhtml:code>
11705 As a
11706 result of these steps, the LDAP server will have access to its own private certificate
11707 and the key with which that certificate is encrypted, and to the public certificate
11708 file belonging to the CA. Note that it would be possible for the key to be protected
11709 further, so that processes running as ldap could not read it. If this were done, the
11710 LDAP server process would need to be restarted manually whenever the server rebooted.</xccdf:description>
11711 </xccdf:Group>
11712 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.3">
11713 <xccdf:title xml:lang="en">Configure slapd to Use the Certificates</xccdf:title>
11714 <xccdf:description xml:lang="en">
11715 Edit the file /etc/openldap/slapd.conf. Add or correct the
11716 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11717 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11718 TLSCACertificateFile /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11719 TLSCertificateFile /etc/pki/tls/ldap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11720 TLSCertificateKeyFile /etc/pki/tls/ldap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11721 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11722 security simple_bind=128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11723 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11724 The first set of lines tell slapd where to find the
11725 appropriate SSL certificates to present to clients when they request an encrypted
11726 transaction. The last setting tells slapd never to allow clients to present
11727 credentials (i.e. passwords) in an unencrypted session. It is a good security
11728 principle never to allow unencrypted passwords to traverse a network, so ensure that
11729 LDAP mandates this.</xccdf:description>
11730 </xccdf:Group>
11731 </xccdf:Group>
11732 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5">
11733 <xccdf:title xml:lang="en">Install Account Information into the LDAP Database</xccdf:title>
11734 <xccdf:description xml:lang="en">
11735 There are many ways to maintain an OpenLDAP database. Methods
11736 include: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11738 <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
11739 slapadd to import those entries while slapd is not running: <xhtml:br/>
11740 <xhtml:br/>
11741 <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
11742 server normally. The Perl Net::LDAP module is appropriate for this, there is a Python
11743 API called python-ldap, and functionality is likely available for other scripting
11744 languages as well. </xhtml:li><xhtml:li>Use an LDAP front-end program which provides an interface for
11745 editing the database. If the front-end program is web-based or otherwise accessible over
11746 a network, ensure that authentication information is protected via SSL between the
11747 administrator's client and the program, as well as between the program and the LDAP
11748 database. </xhtml:li></xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11750 Any of these methods or others may be appropriate for your site. This guide
11751 does not provide a recommendation, and there will be no further discussion of the syntax
11752 of entering LDAP data into the database.</xccdf:description>
11753 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.1">
11754 <xccdf:title xml:lang="en">Create Top-level LDAP Structure for Domain</xccdf:title>
11755 <xccdf:description xml:lang="en">
11756 Create a structure for the domain itself with at least the
11757 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11758 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11759 dn: dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11760 objectClass: dcObject <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11761 objectClass: organization <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11762 dc: example <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11763 o: Organization Description <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11765 This is a placeholder for the
11766 root of the domain's LDAP tree. Without this entry, LDAP will not be able to find any
11767 other entries for the domain.</xccdf:description>
11768 </xccdf:Group>
11769 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.2">
11770 <xccdf:title xml:lang="en">Create LDAP Structures for Users and Groups</xccdf:title>
11771 <xccdf:description xml:lang="en">
11772 Create LDAP structures for people (users) and for groups with
11773 at least the following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11774 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11775 dn: ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11776 ou: people<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11777 structuralObjectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11778 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11779 dn: ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11780 ou: groups <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11781 structuralObjectClass: organizationalUnit<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11782 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11783 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11784 Posix users and groups are the two top-level items
11785 which will be needed in order to use LDAP for authentication. These organizational
11786 units are used to identify the two categories within LDAP.</xccdf:description>
11787 </xccdf:Group>
11788 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.3">
11789 <xccdf:title xml:lang="en">Create Unix Accounts</xccdf:title>
11790 <xccdf:description xml:lang="en">
11791 For each Unix user, create an LDAP entry with at least the
11792 following attributes (others may be appropriate for your site as well), using variable
11793 values appropriate to that user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11794 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11795 dn: uid=username ,ou=people,dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11796 structuralObjectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11797 objectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11798 objectClass: posixAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11799 objectClass: shadowAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11800 cn: fullname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11801 sn: surname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11802 gecos: fullname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11803 gidNumber: primary-group-id <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11804 homeDirectory: /home/username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11805 loginShell: /path/to/shell<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11806 uid: username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11807 uidNumber: uid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11808 userPassword: {MD5}md5-hashed-password <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11809 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11810 If your site
11811 implements password expiration in which passwords must be changed every N days (see
11812 Section 2.3.1.7), then each entry should also have the attribute: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11814 shadowMax: N <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11816 In general, the LDAP schemas for users use uid to refer to the text username, and
11817 uidNumber for the numeric UID. This usage may be slightly confusing when compared to
11818 the standard Unix usage. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11819 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11820 You should not create entries for the root account or for
11821 system accounts which are unique to individual systems, but only for user accounts
11822 which are to be shared across machines, and which have authentication information
11823 (such as a password) associated with them.</xccdf:description>
11824 </xccdf:Group>
11825 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.4">
11826 <xccdf:title xml:lang="en">Create Unix Groups</xccdf:title>
11827 <xccdf:description xml:lang="en">
11828 For each Unix group, create an LDAP entry with at least the
11829 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11830 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11831 dn: cn=groupname ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11832 cn: groupname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11833 structuralObjectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11834 objectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11835 gidNumber: gid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11836 memberUid: username1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11837 memberUid: username2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11838 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11839 memberUid: usernameN <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11840 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11841 Note that each user has a
11842 primary group, identified by the gidNumber field in the user's account entry. That
11843 group must be created, but it is not necessary to list the user as a memberUid of the
11844 group. This behavior should be familiar to administrators, since it is identical to
11845 the handling of the /etc/passwd and /etc/group files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11847 Do not create entries for the
11848 root group or for system groups, but only for groups which contain human users or
11849 which are shared across systems.</xccdf:description>
11850 </xccdf:Group>
11851 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.5">
11852 <xccdf:title xml:lang="en">Create Groups to Administer LDAP</xccdf:title>
11853 <xccdf:description xml:lang="en">
11854 If a group of LDAP administrators, admins , is desired, that
11855 group must be created somewhat differently. The specification should have these
11856 attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11858 dn: cn=admins ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11859 cn: admins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11860 structuralObjectClass: groupOfUniqueNames <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11861 objectClass: groupOfUniqueNames<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11862 uniqueMember: cn=Manager,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11863 uniqueMember: uid=admin1-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11864 uniqueMember: uid=admin2-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11865 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11866 uniqueMember: uid=adminN-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11868 LDAP cannot use Posix groups for its own internal
11869 authentication — it needs to compare the username specified in an authenticated bind
11870 to some internal groupOfUniqueNames. If you do not specify an LDAP administrators'
11871 group, then all LDAP management will need to be done using the LDAP root user
11872 (Manager). For reasons of auditing and error detection, it is recommended that LDAP
11873 administrators have unique identities. (See Section 2.3.1.3 for similar reasoning
11874 applied to the use of sudo for privileged system commands.)</xccdf:description>
11875 </xccdf:Group>
11876 </xccdf:Group>
11877 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.6">
11878 <xccdf:title xml:lang="en">Configure slapd to Protect Authentication Information</xccdf:title>
11879 <xccdf:description xml:lang="en">
11880 Edit the file /etc/openldap/slapd.conf. Add or correct the
11881 following access specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11882 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11883 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Protect the user's password by allowing the user
11884 himself or the LDAP administrators to change it, allowing the anonymous user to
11885 authenticate against it, and allowing no other access: <xhtml:br/>
11886 <xhtml:br/>
11887 access to attrs=userPassword <xhtml:br/>
11888 by self write <xhtml:br/>
11889 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
11890 by anonymous auth <xhtml:br/>
11891 by * none <xhtml:br/>
11892 access to attrs=shadowLastChange <xhtml:br/>
11893 by self write <xhtml:br/>
11894 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
11895 by * read</xhtml:li><xhtml:li>Allow anyone to read other
11896 information, and allow the administrators to change it: <xhtml:br/>
11897 <xhtml:br/>
11898 access to * by<xhtml:br/>
11899 group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
11900 by * read </xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11902 Access rules are applied in the order encountered, so more specific rules should
11903 appear first. In particular, the rule restricting access to userPassword must appear
11904 before the rule allowing access to all data. The shadowLastChange attribute is a
11905 timestamp, and is only critical if your site implements password expiration. If your
11906 site does not have an LDAP administrators group, the LDAP root user (called Manager in
11907 this guide) will be able to change data without an explicit access statement.</xccdf:description>
11908 </xccdf:Group>
11909 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.7">
11910 <xccdf:title xml:lang="en">Correct Permissions on LDAP Server Files</xccdf:title>
11911 <xccdf:description xml:lang="en">
11912 Correct the permissions on the ldap server's files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11913 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11914 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown ldap:root /var/lib/ldap/* <xhtml:br/></xhtml:code>
11915 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11916 Some manual methods of inserting information into the LDAP
11917 database may leave these files with incorrect permissions. This will prevent slapd from
11918 starting correctly.</xccdf:description>
11919 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.a" operator="equals" type="string">
11920 <xccdf:title>group owner of ldap files</xccdf:title>
11921 <xccdf:description xml:lang="en">Specify group owner of /var/lib/ldap/*.</xccdf:description>
11922 <xccdf:question xml:lang="en">Specify group owner of /var/lib/ldap/*</xccdf:question>
11923 <xccdf:value>root</xccdf:value>
11924 <xccdf:value selector="root">root</xccdf:value>
11925 </xccdf:Value>
11926 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.b" operator="equals" type="string">
11927 <xccdf:title>user owner of ldap files</xccdf:title>
11928 <xccdf:description xml:lang="en">Specify user owner of /var/lib/ldap/*.</xccdf:description>
11929 <xccdf:question xml:lang="en">Specify user owner of /var/lib/ldap/*</xccdf:question>
11930 <xccdf:value>ldap</xccdf:value>
11931 <xccdf:value selector="ldap">ldap</xccdf:value>
11932 </xccdf:Value>
11933 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.a" selected="false" weight="10.0">
11934 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
11935 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate group.</xccdf:description>
11936 <xccdf:ident system="http://cce.mitre.org">CCE-4484-2</xccdf:ident>
11937 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
11938 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11939 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20290" value-id="xccdf_cdf_value_var-3.12.3.7.a"/>
11940 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20290"/>
11941 </xccdf:check>
11942 </xccdf:Rule>
11943 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.b" selected="false" weight="10.0">
11944 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
11945 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate user.</xccdf:description>
11946 <xccdf:ident system="http://cce.mitre.org">CCE-4502-1</xccdf:ident>
11947 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
11948 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11949 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20291" value-id="xccdf_cdf_value_var-3.12.3.7.b"/>
11950 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20291"/>
11951 </xccdf:check>
11952 </xccdf:Rule>
11953 </xccdf:Group>
11954 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.8">
11955 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the LDAP Server</xccdf:title>
11956 <xccdf:description xml:lang="en">
11957 Determine an appropriate network block, netwk , and network
11958 mask, mask , representing the machines on your network which will synchronize to this
11959 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11961 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that they appear
11962 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11963 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11964 -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"/>
11965 -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"/>
11966 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11967 The default Iptables configuration does not allow inbound access to any services. These
11968 modifications allow access to the LDAP primary (389) and encrypted-only (636) ports,
11969 while keeping all other ports on the server in their default protected state. See
11970 Section 2.5.5 for more information about Iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11971 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11972 Note: Even if the LDAP server
11973 restricts connections so that only encrypted queries are allowed, it will probably be
11974 necessary to allow traffic to the default port 389. This is true because many LDAP
11975 clients implement encryption by connecting to the primary port and issuing the STARTTLS
11976 command.</xccdf:description>
11977 </xccdf:Group>
11978 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.9">
11979 <xccdf:title xml:lang="en">Configure Logging for LDAP</xccdf:title>
11980 <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/>
11981 <xhtml:br/>
11982 local4.* /var/log/ldap.log </xhtml:li><xhtml:li>Create the log file with safe permissions: <xhtml:br/>
11983 <xhtml:br/>
11984 <xhtml:code># touch /var/log/ldap.log <xhtml:br/>
11985 # chown root:root /var/log/ldap.log <xhtml:br/>
11986 # 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/>
11987 <xhtml:br/>
11988 /var/log/ldap.log <xhtml:br/>
11989 <xhtml:br/>
11990 to the space-separated list in the first line. </xhtml:li><xhtml:li>Edit the LDAP configuration file
11991 /etc/openldap/slapd.conf and set a reasonable set of default log parameters, such as:<xhtml:br/>
11992 <xhtml:br/>
11993 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"/>
11994 OpenLDAP sends its log data to the syslog facility local4 at priority
11995 debug. By default, RHEL5 does not store this facility at all. The syslog configuration
11996 suggested here will store any output logged by slapd in the file /var/log/ldap.log, and
11997 will include that file in the standard log rotation for syslog files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11999 By default, LDAP's
12000 logging is quite verbose. The loglevel parameter is a space-separated list of items to
12001 be logged. Specifying stats2 will reduce the log output somewhat, but this level will
12002 still produce some logging every time an LDAP query is made. (This may be appropriate,
12003 depending on your site's auditing requirements.) In order to capture only slapd startup
12004 messages, specify loglevel none. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12005 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12006 See slapd.conf(5) for detailed information about the
12007 loglevel parameter. See Section 2.6.1 for more information about syslog.</xccdf:description>
12008 </xccdf:Group>
12009 </xccdf:Group>
12010 </xccdf:Group>
12011 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13">
12012 <xccdf:title xml:lang="en">NFS and RPC</xccdf:title>
12013 <xccdf:description xml:lang="en">
12014 The Network File System is the most popular distributed filesystem
12015 for the Unix environment, and is very widely deployed. Unfortunately, NFS was not designed
12016 with security in mind, and has a number of weaknesses, both in terms of the protocol itself
12017 and because any NFS installation must expose several daemons, running on both servers and
12018 clients, to network attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12019 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12020 This section discusses the circumstances under which it is
12021 possible to disable NFS and its dependencies, and then details steps which should be taken
12022 to secure, as much as possible, NFS's configuration. This section is relevant to machines
12023 operating as NFS clients, as well as to those operating as NFS servers.</xccdf:description>
12024 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1">
12025 <xccdf:title xml:lang="en">Disable All NFS Services if Possible</xccdf:title>
12026 <xccdf:description xml:lang="en">
12027 Is there a mission-critical reason for this machine to operate as
12028 either an NFS client or an NFS server? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12029 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12030 If not, follow all instructions in the remainder of
12031 Section 3.13.1 to disable subsystems required by NFS. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12033 NFS is a commonly used mechanism for
12034 sharing data between machines in an organization. However, its use opens many potential
12035 security holes. If NFS is not universally needed in your organization, improve the
12036 security posture of any machine which does not require NFS by disabling it entirely.</xccdf:description>
12037 <xccdf:warning xml:lang="en">The steps in Section 3.13.1 will prevent a machine from operating
12038 as either an NFS client or an NFS server. Only perform these steps on machines which do
12039 not need NFS at all. </xccdf:warning>
12040 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.1">
12041 <xccdf:title xml:lang="en">Disable Services Used Only by NFS</xccdf:title>
12042 <xccdf:description xml:lang="en">
12043 If NFS is not needed, perform the following steps to disable
12044 NFS client daemons: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12045 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfslock off <xhtml:br/>
12046 # chkconfig rpcgssd off <xhtml:br/>
12047 # chkconfig rpcidmapd off <xhtml:br/></xhtml:code>
12048 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12049 The nfslock, rpcgssd, and rpcidmapd daemons all perform NFS client functions. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12050 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12051 All of these daemons run with elevated privileges, and many listen for
12052 network connections. If they are not needed, they should be disabled to improve system
12053 security posture.</xccdf:description>
12054 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false" severity="low" weight="10.0">
12055 <xccdf:title>Disable nfslock</xccdf:title>
12056 <xccdf:description>The nfslock service should be disabled.</xccdf:description>
12057 <xccdf:ident system="http://cce.mitre.org">CCE-4396-8</xccdf:ident>
12058 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12059 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12060 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20292"/>
12061 </xccdf:check>
12062 </xccdf:Rule>
12063 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false" severity="low" weight="10.0">
12064 <xccdf:title>Disable rpcgssd</xccdf:title>
12065 <xccdf:description>The rpcgssd service should be disabled.</xccdf:description>
12066 <xccdf:ident system="http://cce.mitre.org">CCE-3535-2</xccdf:ident>
12067 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12068 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12069 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20293"/>
12070 </xccdf:check>
12071 </xccdf:Rule>
12072 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false" severity="low" weight="10.0">
12073 <xccdf:title>Disable rpcidmapd</xccdf:title>
12074 <xccdf:description>The rpcidmapd service should be disabled.</xccdf:description>
12075 <xccdf:ident system="http://cce.mitre.org">CCE-3568-3</xccdf:ident>
12076 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12077 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12078 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20294"/>
12079 </xccdf:check>
12080 </xccdf:Rule>
12081 </xccdf:Group>
12082 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.2">
12083 <xccdf:title xml:lang="en">Disable netfs if Possible</xccdf:title>
12084 <xccdf:description xml:lang="en">
12085 Determine whether any network filesystems handled by netfs are
12086 mounted on this system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12087 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12088 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mount -t nfs,nfs4,smbfs,cifs,ncpfs <xhtml:br/></xhtml:code>
12089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12090 If this command returns no output, disable netfs to improve system security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12092 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig netfs off <xhtml:br/></xhtml:code>
12093 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12094 The netfs script
12095 manages the boot-time mounting of several types of networked filesystems, of which NFS
12096 and Samba (see Section 3.18) are the most common. If these filesystem types are not in
12097 use, the script can be disabled, protecting the system somewhat against accidental or
12098 malicious changes to /etc/fstab and against flaws in the netfs script itself.</xccdf:description>
12099 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false" severity="low" weight="10.0">
12100 <xccdf:title>Disable netfs if Possible</xccdf:title>
12101 <xccdf:description>The netfs service should be disabled.</xccdf:description>
12102 <xccdf:ident system="http://cce.mitre.org">CCE-4533-6</xccdf:ident>
12103 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12104 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12105 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20295"/>
12106 </xccdf:check>
12107 </xccdf:Rule>
12108 </xccdf:Group>
12109 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.3">
12110 <xccdf:title xml:lang="en">Disable RPC Portmapper if Possible</xccdf:title>
12111 <xccdf:description xml:lang="en">
12112 If: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12113 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12114 <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"/>
12115 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12116 then disable the RPC portmapper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12117 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12118 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig portmap off <xhtml:br/></xhtml:code>
12119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12120 By design, the RPC
12121 model does not require particular services to listen on fixed ports, but instead uses a
12122 daemon, portmap, to tell prospective clients which ports to use to contact the services
12123 they are trying to reach. This model weakens system security by introducing another
12124 privileged daemon which may be directly attacked, and is unnecessary because RPC was
12125 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"/>
12126 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12127 Unfortunately, the portmapper is central to RPC design, so it cannot be disabled if your
12128 site is using any RPCbased services, including NFS, NIS (see Section 3.2.4 for
12129 information about NIS, which is not recommended), or any third-party or custom RPC-based
12130 program. If none of these programs are in use, however, portmap should be disabled to
12131 improve system security. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12132 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12133 In order to get more information about whether portmap may be
12134 disabled on a given host, query the local portmapper using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12135 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12136 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpcinfo -p <xhtml:br/></xhtml:code>
12137 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12138 If the only services listed are portmapper and status, it is safe to disable the
12139 portmapper. If other services are listed and your site is not running NFS or NIS,
12140 investigate these services and disable them if possible.</xccdf:description>
12141 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.3.a" selected="false" severity="low" weight="10.0">
12142 <xccdf:title>Disable RPC Portmapper if Possible</xccdf:title>
12143 <xccdf:description>The portmap service should be disabled.</xccdf:description>
12144 <xccdf:ident system="http://cce.mitre.org">CCE-4550-0</xccdf:ident>
12145 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12146 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12147 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20296"/>
12148 </xccdf:check>
12149 </xccdf:Rule>
12150 </xccdf:Group>
12151 </xccdf:Group>
12152 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2">
12153 <xccdf:title xml:lang="en">Configure All Machines which Use NFS</xccdf:title>
12154 <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>
12155 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.1">
12156 <xccdf:title xml:lang="en">Make Each Machine a Client or a Server, not Both</xccdf:title>
12157 <xccdf:description xml:lang="en">
12158 If NFS must be used, it should be deployed in the simplest
12159 configuration possible to avoid maintainability problems which may lead to unnecessary
12160 security exposure. Due to the reliability and security problems caused by NFS, it is not
12161 a good idea for machines which act as NFS servers to also mount filesystems via NFS. At
12162 the least, crossed mounts (the situation in which each of two servers mounts a
12163 filesystem from the other) should never be used.</xccdf:description>
12164 </xccdf:Group>
12165 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.2">
12166 <xccdf:title xml:lang="en">Restrict Access to the Portmapper</xccdf:title>
12167 <xccdf:description xml:lang="en">
12168 Edit the file /etc/hosts.deny. Add or correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12170 portmap: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12172 Edit the file /etc/hosts.allow. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12173 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12174 portmap: IPADDR1 , IPADDR2 , ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12175 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12176 where each IPADDR is the IP address of a server or client with which this
12177 machine shares NFS filesystems. If the machine is an NFS server, it may be simpler to
12178 use an IP netblock specification, such as 10.3.2. (this is the TCP Wrappers syntax
12179 representing the netblock 10.3.2.0/24), or a hostname specification, such as
12180 .subdomain.example.com. The use of hostnames is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12181 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12182 The /etc/hosts.allow
12183 and /etc/hosts.deny files are used by TCP Wrappers to determine whether specified remote
12184 hosts are allowed to access certain services. The default portmapper shipped with RHEL5
12185 has TCP Wrappers support built in, so this specification can be used to provide some
12186 protection against network attacks on the portmapper. (See Section 2.5.4 for more
12187 information about TCP Wrappers.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12188 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12189 Note: This step protects only the portmap service
12190 itself. It is still possible for attackers to guess the port numbers of NFS services and
12191 attack those services directly, even if they are denied access to the portmapper.</xccdf:description>
12192 </xccdf:Group>
12193 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.3">
12194 <xccdf:title xml:lang="en">Configure NFS Services to Use Fixed Ports</xccdf:title>
12195 <xccdf:description xml:lang="en">
12196 Edit the file /etc/sysconfig/nfs. Add or correct the following
12197 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12198 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12199 LOCKD_TCPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12200 LOCKD_UDPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12201 MOUNTD_PORT=mountd-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12202 RQUOTAD_PORT=rquotad-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12203 STATD_PORT=statd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12204 STATD_OUTGOING_PORT=statd-outgoing-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12205 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12206 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"/>
12207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12208 Firewalling should be done at each host and at the border firewalls to protect the NFS
12209 daemons from remote access, since NFS servers should never be accessible from outside
12210 the organization. However, by default, the portmapper assigns each NFS service to a port
12211 dynamically at service startup time. Dynamic ports cannot be protected by port filtering
12212 firewalls such as iptables (Section 2.5.5). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12213 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12214 Therefore, restrict each service to always
12215 use a given port, so that firewalling can be done effectively. Note that, because of the
12216 way RPC is implemented, it is not possible to disable the portmapper even if ports are
12217 assigned statically to all RPC services.</xccdf:description>
12218 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false" weight="10.0">
12219 <xccdf:title>Configure lockd to Use Fixed Ports for TCP</xccdf:title>
12220 <xccdf:description>The lockd service should be configured to use a static port for TCP</xccdf:description>
12221 <xccdf:ident system="http://cce.mitre.org">CCE-4559-1</xccdf:ident>
12222 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12223 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12224 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20297"/>
12225 </xccdf:check>
12226 </xccdf:Rule>
12227 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false" weight="10.0">
12228 <xccdf:title>Configure statd to Use an outgoing static port</xccdf:title>
12229 <xccdf:description>The statd service should be configured to use an outgoing static port</xccdf:description>
12230 <xccdf:ident system="http://cce.mitre.org">CCE-4015-4</xccdf:ident>
12231 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12232 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12233 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20298"/>
12234 </xccdf:check>
12235 </xccdf:Rule>
12236 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false" weight="10.0">
12237 <xccdf:title>Configure statd to Use a static port</xccdf:title>
12238 <xccdf:description>The statd service should be configured to use a static port</xccdf:description>
12239 <xccdf:ident system="http://cce.mitre.org">CCE-3667-3</xccdf:ident>
12240 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12241 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12242 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20299"/>
12243 </xccdf:check>
12244 </xccdf:Rule>
12245 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false" weight="10.0">
12246 <xccdf:title>Configure lockd to Use a static port for UDP</xccdf:title>
12247 <xccdf:description>The lockd service should be configured to use a static port for UDP</xccdf:description>
12248 <xccdf:ident system="http://cce.mitre.org">CCE-4310-9</xccdf:ident>
12249 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12250 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12251 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20300"/>
12252 </xccdf:check>
12253 </xccdf:Rule>
12254 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false" weight="10.0">
12255 <xccdf:title>Configure mountd to Use a static port</xccdf:title>
12256 <xccdf:description>The mountd service should be configured to use a static port</xccdf:description>
12257 <xccdf:ident system="http://cce.mitre.org">CCE-4438-8</xccdf:ident>
12258 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12259 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12260 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20301"/>
12261 </xccdf:check>
12262 </xccdf:Rule>
12263 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false" weight="10.0">
12264 <xccdf:title>Configure rquotad to Use Fixed Ports</xccdf:title>
12265 <xccdf:description>The rquotad service should be configured to use a static port</xccdf:description>
12266 <xccdf:ident system="http://cce.mitre.org">CCE-3579-0</xccdf:ident>
12267 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12268 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12269 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20302"/>
12270 </xccdf:check>
12271 </xccdf:Rule>
12272 </xccdf:Group>
12273 </xccdf:Group>
12274 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3">
12275 <xccdf:title xml:lang="en">Configure NFS Clients</xccdf:title>
12276 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS clients.</xccdf:description>
12277 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.1">
12278 <xccdf:title xml:lang="en">Disable NFS Server Daemons</xccdf:title>
12279 <xccdf:description xml:lang="en"><xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfs off <xhtml:br/>
12280 # chkconfig rpcsvcgssd off <xhtml:br/></xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12281 There is no need
12282 to run the NFS server daemons except on a small number of properly secured machines
12283 designated as NFS servers. Ensure that these daemons are turned off on clients.</xccdf:description>
12284 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false" severity="low" weight="10.0">
12285 <xccdf:title>Disable nfs service</xccdf:title>
12286 <xccdf:description>The nfs service should be disabled</xccdf:description>
12287 <xccdf:ident system="http://cce.mitre.org">CCE-4473-5</xccdf:ident>
12288 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12289 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12290 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20303"/>
12291 </xccdf:check>
12292 </xccdf:Rule>
12293 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false" severity="low" weight="10.0">
12294 <xccdf:title>Disable rpcsvcgssd service</xccdf:title>
12295 <xccdf:description>The rpcsvcgssd service should be disabled</xccdf:description>
12296 <xccdf:ident system="http://cce.mitre.org">CCE-4491-7</xccdf:ident>
12297 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12298 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12299 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20304"/>
12300 </xccdf:check>
12301 </xccdf:Rule>
12302 </xccdf:Group>
12303 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.2">
12304 <xccdf:title xml:lang="en">Mount Remote Filesystems with Restrictive Options</xccdf:title>
12305 <xccdf:description xml:lang="en">
12306 Edit the file /etc/fstab. For each filesystem whose type
12307 (column 3) is nfs or nfs4, add the text ,nodev,nosuid to the list of mount options in
12308 column 4. If appropriate, also add ,noexec. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12309 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12310 See Section 2.2.1.2 for a description of the
12311 effects of these options. In general, execution of files mounted via NFS should be
12312 considered risky because of the possibility that an adversary could intercept the
12313 request and substitute a malicious file. Allowing setuid files to be executed from
12314 remote servers is particularly risky, both for this reason and because it requires the
12315 clients to extend root-level trust to the NFS server.</xccdf:description>
12316 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false" weight="10.0">
12317 <xccdf:title>Mount Remote Filesystems with nodev</xccdf:title>
12318 <xccdf:description>The nodev option should be enabled for all NFS mounts</xccdf:description>
12319 <xccdf:ident system="http://cce.mitre.org">CCE-4368-7</xccdf:ident>
12320 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12321 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12322 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20305"/>
12323 </xccdf:check>
12324 </xccdf:Rule>
12325 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false" severity="medium" weight="10.0">
12326 <xccdf:title>Mount Remote Filesystems with nosuid</xccdf:title>
12327 <xccdf:description>The nosuid option should be enabled for all NFS mounts</xccdf:description>
12328 <xccdf:ident system="http://cce.mitre.org">CCE-4024-6</xccdf:ident>
12329 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12330 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12331 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20306"/>
12332 </xccdf:check>
12333 </xccdf:Rule>
12334 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false" severity="medium" weight="10.0">
12335 <xccdf:title>Mount Remote Filesystems with noexec</xccdf:title>
12336 <xccdf:description>The noexec option should be enabled for all NFS mounts</xccdf:description>
12337 <xccdf:ident system="http://cce.mitre.org">CCE-4526-0</xccdf:ident>
12338 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12339 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12340 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20307"/>
12341 </xccdf:check>
12342 </xccdf:Rule>
12343 </xccdf:Group>
12344 </xccdf:Group>
12345 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4">
12346 <xccdf:title xml:lang="en">Configure NFS Servers</xccdf:title>
12347 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS servers.</xccdf:description>
12348 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1">
12349 <xccdf:title xml:lang="en">Configure the Exports File Restrictively</xccdf:title>
12350 <xccdf:description xml:lang="en">
12351 Linux's NFS implementation uses the file /etc/exports to
12352 control what filesystems and directories may be accessed via NFS. (See the exports(5)
12353 manpage for more information about the format of this file.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12354 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12355 The syntax of the exports
12356 file is not necessarily checked fully on reload, and syntax errors can leave your NFS
12357 configuration more open than intended. Therefore, exercise caution when modifying the
12358 file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12359 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12360 The syntax of each line in /etc/exports is <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12361 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12362 /DIR ipaddr1 (opt1 ,opt2 ) ipaddr2 (opt3 ) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12364 where /DIR is a directory or filesystem to export, ipaddrN is an IP address,
12365 netblock, hostname, domain, or netgroup to which to export, and optN is an option.</xccdf:description>
12366 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.1">
12367 <xccdf:title xml:lang="en">Use Access Lists to Enforce Authorization Restrictions on Mounts</xccdf:title>
12368 <xccdf:description xml:lang="en">
12369 Edit /etc/exports. Ensure that each export line contains a
12370 set of IP addresses or hosts which are allowed to access that export. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12371 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12372 If no IP
12373 addresses or hostnames are specified on an export line, then that export is available
12374 to any remote host which requests it. All lines of the exports file should specify the
12375 hosts (or subnets, if needed) which are allowed to access the exported directory, so
12376 that unknown or remote hosts will be denied.</xccdf:description>
12377 </xccdf:Group>
12378 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.2">
12379 <xccdf:title xml:lang="en">Use Root-Squashing on All Exports</xccdf:title>
12380 <xccdf:description xml:lang="en">
12381 Edit /etc/exports. Ensure that no line contains the option no_root_squash. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12382 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12383 If a filesystem is exported using root squashing, requests from root on
12384 the client are considered to be unprivileged (mapped to a user such as nobody). This
12385 provides some mild protection against remote abuse of an NFS server. Root squashing is
12386 enabled by default, and should not be disabled.</xccdf:description>
12387 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false" weight="10.0">
12388 <xccdf:title>Use Root-Squashing on All Exports</xccdf:title>
12389 <xccdf:description>Root squashing should be enabled for all NFS shares</xccdf:description>
12390 <xccdf:ident system="http://cce.mitre.org">CCE-4544-3</xccdf:ident>
12391 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12392 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12393 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20308"/>
12394 </xccdf:check>
12395 </xccdf:Rule>
12396 </xccdf:Group>
12397 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.3">
12398 <xccdf:title xml:lang="en">Restrict NFS Clients to Privileged Ports</xccdf:title>
12399 <xccdf:description xml:lang="en">
12400 Edit /etc/exports. Ensure that no line contains the option insecure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12401 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12402 By default, Linux's NFS implementation requires that all client requests be
12403 made from ports less than 1024. If your organization has control over machines
12404 connected to its network, and if NFS requests are prohibited at the border firewall,
12405 this offers some protection against malicious requests from unprivileged users.
12406 Therefore, the default should not be changed.</xccdf:description>
12407 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false" weight="10.0">
12408 <xccdf:title>Restrict NFS Clients to Privileged Ports</xccdf:title>
12409 <xccdf:description>Restriction of NFS clients to privileged ports should be enabled</xccdf:description>
12410 <xccdf:ident system="http://cce.mitre.org">CCE-4465-1</xccdf:ident>
12411 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12412 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12413 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20309"/>
12414 </xccdf:check>
12415 </xccdf:Rule>
12416 </xccdf:Group>
12417 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.4">
12418 <xccdf:title xml:lang="en">Export Filesystems Read-Only if Possible</xccdf:title>
12419 <xccdf:description xml:lang="en">
12420 Edit /etc/exports. Ensure that every line contains the option
12421 ro and does not contain the option rw, unless there is an operational need for remote
12422 clients to modify that filesystem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12423 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12424 If a filesystem is being exported so that users can
12425 view the files in a convenient fashion, but there is no need for users to edit those
12426 files, exporting the filesystem read-only removes an attack vector against the server.
12427 The default filesystem export mode is ro, so do not specify rw without a good reason.</xccdf:description>
12428 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false" weight="10.0">
12429 <xccdf:title>Export Filesystems Read-Only if Possible</xccdf:title>
12430 <xccdf:description>Write access to NFS shares should be disabled</xccdf:description>
12431 <xccdf:ident system="http://cce.mitre.org">CCE-4350-5</xccdf:ident>
12432 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12433 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12434 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20310"/>
12435 </xccdf:check>
12436 </xccdf:Rule>
12437 </xccdf:Group>
12438 </xccdf:Group>
12439 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.2">
12440 <xccdf:title xml:lang="en">Allow Legitimate NFS Clients to Access the Server</xccdf:title>
12441 <xccdf:description xml:lang="en">
12442 Determine an appropriate network block, netwk , and network
12443 mask, mask , representing the machines on your network which must mount NFS filesystems
12444 from this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12445 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12446 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that
12447 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"/>
12448 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12449 -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"/>
12450 -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"/>
12451 -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"/>
12452 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12453 -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"/>
12454 -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"/>
12455 -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"/>
12456 -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"/>
12457 -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"/>
12458 -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"/>
12459 -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"/>
12460 -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"/>
12461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12462 where the variable port numbers match those selected in Section 3.13.2.3 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12463 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12464 The default iptables configuration does not allow inbound access to any services. This
12465 modification will allow the specified block of remote hosts to initiate connections to
12466 the set of NFS daemons, while keeping all other ports on the server in their default
12467 protected state. See Section 2.5.5 for more information about iptables.</xccdf:description>
12468 </xccdf:Group>
12469 </xccdf:Group>
12470 </xccdf:Group>
12471 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14">
12472 <xccdf:title xml:lang="en">DNS Server</xccdf:title>
12473 <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>
12474 <xccdf:reference>Liu, C. DNS &amp; BIND Cookbook. O’Reilly and Associates, Oct 2002</xccdf:reference>
12475 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.1">
12476 <xccdf:title xml:lang="en">Disable DNS Server if Possible</xccdf:title>
12477 <xccdf:description xml:lang="en">
12478 Is there an operational need for this machine to act as a DNS
12479 server for this site? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12481 If not, disable the software and remove it from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12482 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12483 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig named off <xhtml:br/>
12484 # yum erase bind <xhtml:br/></xhtml:code>
12485 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12486 DNS software should be disabled on any machine which
12487 does not need to be a nameserver. Note that the BIND DNS server software is not installed
12488 on RHEL5 by default. The remainder of this section discusses secure configuration of
12489 machines which must be nameservers.</xccdf:description>
12490 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.a" selected="false" severity="low" weight="10.0">
12491 <xccdf:title>Disable DNS Server if Possible</xccdf:title>
12492 <xccdf:description>The named service should be disabled.</xccdf:description>
12493 <xccdf:ident system="http://cce.mitre.org">CCE-3578-2</xccdf:ident>
12494 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12495 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12496 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20311"/>
12497 </xccdf:check>
12498 </xccdf:Rule>
12499 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.b" selected="false" weight="10.0">
12500 <xccdf:title>Uninstall bind if Possible</xccdf:title>
12501 <xccdf:description>The bind package should be uninstalled.</xccdf:description>
12502 <xccdf:ident system="http://cce.mitre.org">CCE-4219-2</xccdf:ident>
12503 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
12504 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12505 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20312"/>
12506 </xccdf:check>
12507 </xccdf:Rule>
12508 </xccdf:Group>
12509 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.2">
12510 <xccdf:title xml:lang="en">Run the BIND9 Software if DNS Service is Needed</xccdf:title>
12511 <xccdf:description xml:lang="en">
12512 It is highly recommended that the BIND9 software be used to
12513 provide DNS service. BIND is the Internet standard Unix nameserver, and, while it has had
12514 security problems in the past, it is also well-maintained and Red Hat is likely to quickly
12515 issue updates in response to any problems discovered in the future. In addition, BIND
12516 version 9 has new security features and more secure default settings than earlier
12517 versions. In particular, BIND version 4 is no longer recommended for production use, and
12518 BIND4 servers should be upgraded to a newer version as soon as possible.</xccdf:description>
12519 </xccdf:Group>
12520 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3">
12521 <xccdf:title xml:lang="en">Isolate DNS from Other Services</xccdf:title>
12522 <xccdf:description xml:lang="en">
12523 This section discusses mechanisms for preventing the DNS server
12524 from interfering with other services. This is done both to protect the remainder of the
12525 network should a nameserver be compromised, and to make direct attacks on nameservers more
12526 difficult.</xccdf:description>
12527 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.1">
12528 <xccdf:title xml:lang="en">Run DNS Software on Dedicated Servers if Possible</xccdf:title>
12529 <xccdf:description xml:lang="en">
12530 Since DNS is a high-risk service which must frequently be made
12531 available to the entire Internet, it is strongly recommended that no other services be
12532 offered by machines which act as organizational DNS servers.</xccdf:description>
12533 </xccdf:Group>
12534 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.2">
12535 <xccdf:title xml:lang="en">Run DNS Software in a chroot Jail</xccdf:title>
12536 <xccdf:description xml:lang="en">
12537 Install the bind-chroot package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12538 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12539 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install bind-chroot<xhtml:br/></xhtml:code>
12540 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12541 Place a valid named.conf file inside the chroot jail: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12542 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp /etc/named.conf /var/named/chroot/etc/named.conf <xhtml:br/>
12543 # chown root:root /var/named/chroot/etc/named.conf <xhtml:br/>
12544 # chmod 644 /var/named/chroot/etc/named.conf <xhtml:br/></xhtml:code>
12545 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12546 Create and populate an appropriate zone
12547 directory within the jail, based on the options directive. If your named.conf includes:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12549 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12550 directory "/path/to/DIRNAME "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12551 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12552 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12553 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12554 then copy that directory and its contents from the original zone directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12555 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12556 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp -r /path/to/DIRNAME /var/named/chroot/DIRNAME<xhtml:br/></xhtml:code>
12557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12558 Edit the file /etc/sysconfig/named. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12559 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12560 ROOTDIR=/var/named/chroot<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12561 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12562 Chroot jails are not foolproof. However, they serve to make it more difficult for a
12563 compromised program to be used to attack the entire host. They do this by restricting a
12564 program's ability to traverse the directory upward, so that files outside the jail are
12565 not visible to the chrooted process. Since RHEL5 supports a standard mechanism for
12566 placing BIND in a chroot jail, you should take advantage of this feature. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12568 Note: If you
12569 are running BIND in a chroot jail, then you should use the jailed named.conf as the
12570 primary nameserver configuration file. That is, when this guide recommends editing
12571 /etc/named.conf, you should instead edit /var/named/chroot/etc/named.conf.</xccdf:description>
12572 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.a" operator="equals" type="string">
12573 <xccdf:title>group owner of jail</xccdf:title>
12574 <xccdf:description xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:description>
12575 <xccdf:question xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:question>
12576 <xccdf:value>root</xccdf:value>
12577 <xccdf:value selector="root">root</xccdf:value>
12578 </xccdf:Value>
12579 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.b" operator="equals" type="string">
12580 <xccdf:title>user owner of jail</xccdf:title>
12581 <xccdf:description xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:description>
12582 <xccdf:question xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:question>
12583 <xccdf:value>root</xccdf:value>
12584 <xccdf:value selector="root">root</xccdf:value>
12585 </xccdf:Value>
12586 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.c" operator="equals" type="string">
12587 <xccdf:title>permisison of jail</xccdf:title>
12588 <xccdf:description xml:lang="en">Specify file permissions on /var/named/chroot/etc/named.conf</xccdf:description>
12589 <xccdf:question xml:lang="en">Specify permissions of /var/named/chroot/etc/named.conf</xccdf:question>
12590 <xccdf:value>110100100</xccdf:value>
12591 <xccdf:value selector="400">100000000</xccdf:value>
12592 <xccdf:value selector="644">110100100</xccdf:value>
12593 <xccdf:value selector="700">111000000</xccdf:value>
12594 <xccdf:match>^[01]+$</xccdf:match>
12595 </xccdf:Value>
12596 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false" weight="10.0">
12597 <xccdf:title>Run DNS Software in a chroot Jail owned by root group</xccdf:title>
12598 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group.</xccdf:description>
12599 <xccdf:ident system="http://cce.mitre.org">CCE-3985-9</xccdf:ident>
12600 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12601 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12602 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20313" value-id="xccdf_cdf_value_var-3.14.3.2.a"/>
12603 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20313"/>
12604 </xccdf:check>
12605 </xccdf:Rule>
12606 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false" weight="10.0">
12607 <xccdf:title>Run DNS Software in a chroot Jail owned by root user</xccdf:title>
12608 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user.</xccdf:description>
12609 <xccdf:ident system="http://cce.mitre.org">CCE-4258-0</xccdf:ident>
12610 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12611 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12612 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20314" value-id="xccdf_cdf_value_var-3.14.3.2.b"/>
12613 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20314"/>
12614 </xccdf:check>
12615 </xccdf:Rule>
12616 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false" weight="10.0">
12617 <xccdf:title>Set permissions on chroot Jail for DNS</xccdf:title>
12618 <xccdf:description>File permissions for /var/named/chroot/etc/named.conf should be set correctly.</xccdf:description>
12619 <xccdf:ident system="http://cce.mitre.org">CCE-4487-5</xccdf:ident>
12620 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
12621 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12622 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20315" value-id="xccdf_cdf_value_var-3.14.3.2.c"/>
12623 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20315"/>
12624 </xccdf:check>
12625 </xccdf:Rule>
12626 </xccdf:Group>
12627 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.3">
12628 <xccdf:title xml:lang="en">Configure Firewalls to Protect the DNS Server</xccdf:title>
12629 <xccdf:description xml:lang="en">
12630 Edit the file /etc/sysconfig/iptables. Add the following lines,
12631 ensuring that they appear before the final LOG and DROP lines for the
12632 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12633 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12634 -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"/>
12635 -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"/>
12636 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12637 These
12638 lines are necessary in order to allow remote machines to contact the DNS server. If this
12639 server is only available to the local network, it may be appropriate to insert a -s flag
12640 into this rule to allow traffic only from packets on the local network. See Section
12641 3.5.1.2 for an example of such a modification. See Section 2.5.5 for general information
12642 about iptables.</xccdf:description>
12643 </xccdf:Group>
12644 </xccdf:Group>
12645 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4">
12646 <xccdf:title xml:lang="en">Protect DNS Data from Tampering or Attack</xccdf:title>
12647 <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>
12648 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.1">
12649 <xccdf:title xml:lang="en">Run Separate DNS Servers for External and Internal Queries if
12650 Possible</xccdf:title>
12651 <xccdf:description xml:lang="en">
12652 Is it possible to run external and internal nameservers on
12653 separate machines? If so, follow the configuration guidance in this section. If not, see
12654 Section 3.14.4.2 for an alternate approach using BIND9. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12655 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12656 On the external nameserver, edit /etc/named.conf. Add or correct the following
12657 directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12659 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12660 allow-query { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12661 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12662 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12663 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12664 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12665 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12666 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12667 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12668 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12669 On the internal nameserver, edit
12670 /etc/named.conf. Add or correct the following directives, where SUBNET is the numerical
12671 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12672 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12673 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12674 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12675 localhost; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12676 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12677 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12678 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12679 allow-query { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12680 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12681 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12683 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12684 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12685 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12686 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12687 Enterprise nameservers generally serve two
12688 functions. One is to provide public information about the machines in a domain for the
12689 benefit of outside users who wish to contact those machines, for instance in order to
12690 send mail to users in the enterprise, or to visit the enterprise's external web page.
12691 The other is to provide nameservice to client machines within the enterprise. Client
12692 machines require both private information about enterprise machines (which may be
12693 different from the public information served to the rest of the world) and public
12694 information about machines outside the enterprise, which is used to send mail or visit
12695 websites outside of the organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12696 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12697 In order to provide the public nameservice
12698 function, it is necessary to share data with untrusted machines which request it —
12699 otherwise, the enterprise cannot be conveniently contacted by outside users. However,
12700 internal data should be protected from disclosure, and serving irrelevant public name
12701 queries for outside domains leaves the DNS server open to cache poisoning and other
12702 attacks. Therefore, local network nameservice functions should not be provided to
12703 untrusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12704 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12705 Separate machines should be used to fill these two functions whenever possible.</xccdf:description>
12706 </xccdf:Group>
12707 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.2">
12708 <xccdf:title xml:lang="en">Use Views to Partition External and Internal Information if Necessary</xccdf:title>
12709 <xccdf:description xml:lang="en">
12710 If it is not possible to run external and internal nameservers
12711 on separate physical machines, run BIND9 and simulate this feature using views. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12712 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12713 Edit
12714 /etc/named.conf. Add or correct the following directives (where SUBNET is the numerical
12715 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12716 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12717 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12718 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12719 localhost; <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 view "internal-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12723 match-clients { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12724 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12725 zone "." IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12726 type hint; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12727 file "db.cache"; <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 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12731 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12732 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12733 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12734 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12735 view "external-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12736 match-clients { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12737 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12738 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12739 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12740 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12741 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12742 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12743 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12744 The view feature is provided by BIND9 as a way to allow a single nameserver to make
12745 different sets of data available to different sets of clients. If possible, it is always
12746 better to run external and internal nameservers on separate machines, so that even
12747 complete compromise of the external server cannot be used to obtain internal data or
12748 confuse internal DNS clients. However, this is not always feasible, and use of a feature
12749 like views is preferable to leaving internal DNS data entirely unprotected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12751 Note: As
12752 shown in the example, database files which are required for recursion, such as the root
12753 hints file, must be available to any clients which are allowed to make recursive
12754 queries. Under typical circumstances, this includes only the internal clients which are
12755 allowed to use this server as a general-purpose nameserver.</xccdf:description>
12756 </xccdf:Group>
12757 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.3">
12758 <xccdf:title xml:lang="en">Disable Zone Transfers from the Nameserver if Possible</xccdf:title>
12759 <xccdf:description xml:lang="en">
12760 Is it necessary for a secondary nameserver to receive zone data
12761 via zone transfer from the primary server? If not, follow the instructions in this
12762 section. If so, see the next section for instructions on protecting zone transfers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12763 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12764 Edit /etc/named.conf. Add or correct the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12765 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12766 options { allow-transfer { none; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12767 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12768 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12769 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12770 If both the primary and secondary nameserver are under your control, or
12771 if you have only one nameserver, it may be possible to use an external configuration
12772 management mechanism to distribute zone updates. In that case, it is not necessary to
12773 allow zone transfers within BIND itself, so they should be disabled to avoid the
12774 potential for abuse.</xccdf:description>
12775 </xccdf:Group>
12776 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.4">
12777 <xccdf:title xml:lang="en">Authenticate Zone Transfers if Necessary</xccdf:title>
12778 <xccdf:description xml:lang="en">
12779 If it is necessary for a secondary nameserver to receive zone
12780 data via zone transfer from the primary server, follow the instructions here. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12781 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12782 Use dnssec-keygen to create a symmetric key file in the current directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12783 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12784 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /tmp <xhtml:br/>
12785 # dnssec-keygen -a HMAC-MD5 -b 128 -n HOST dns.example.com <xhtml:br/></xhtml:code>
12786 Kdns.example.com .+aaa +iiiii<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12787 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12788 This output is the name of a file containing the new key. Read the file to find the
12789 base64-encoded key string: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12790 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12791 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cat Kdns.example.com.+NNN+MMMMM.key <xhtml:br/></xhtml:code>
12792 dns.example.com IN KEY 512 3 157 base64-key-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12793 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12794 Edit /etc/named.conf on the primary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12795 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12796 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12797 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12798 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12799 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12800 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12801 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12802 type primary; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12803 allow-transfer { key 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 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12807 Edit /etc/named.conf on the secondary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12808 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12809 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12810 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12811 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12812 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12814 server IP-OF-PRIMARY { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12815 keys { zone-transfer-key; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12816 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12817 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12818 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12819 type secondary;<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12820 primaries { IP-OF-PRIMARY ; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12821 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12822 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12823 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12824 The BIND transaction signature (TSIG) functionality
12825 allows primary and secondary nameservers to use a shared secret to verify authorization
12826 to perform zone transfers. This method is more secure than using IP-based limiting to
12827 restrict nameserver access, since IP addresses can be easily spoofed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12829 However, if you
12830 cannot configure TSIG between your servers because, for instance, the secondary
12831 nameserver is not under your control and its administrators are unwilling to configure
12832 TSIG, you can configure an allow-transfer directive with numerical IP addresses or ACLs
12833 as a last resort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12834 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12835 Note: The purpose of the dnssec-keygen command is to create the shared
12836 secret string base64-key-string . Once this secret has been obtained and inserted into
12837 named.conf on the primary and secondary servers, the key files
12838 Kdns.example.com.+NNN+MMMMM.key and Kdns.example.com.+NNN+MMMMM.private are no longer
12839 needed, and may safely be deleted.</xccdf:description>
12840 </xccdf:Group>
12841 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.5">
12842 <xccdf:title xml:lang="en">Disable Dynamic Updates if Possible</xccdf:title>
12843 <xccdf:description xml:lang="en">
12844 Is there a mission-critical reason to enable the risky dynamic
12845 update functionality? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12847 Edit /etc/named.conf. For each zone specification, correct
12848 the following directive if necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12849 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12850 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12851 allow-update { none; };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12852 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12853 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12855 Dynamic updates allow remote servers to add, delete, or modify any entries in your
12856 zone file. Therefore, they should be considered highly risky, and disabled unless there
12857 is a very good reason for their use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12858 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12859 If dynamic updates must be allowed, IP-based ACLs
12860 are insufficient protection, since they are easily spoofed. Instead, use TSIG keys (see
12861 the previous section for an example), and consider using the update-policy directive to
12862 restrict changes to only the precise type of change needed.</xccdf:description>
12863 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false" weight="10.0">
12864 <xccdf:title>Disable DNS Dynamic Updates if Possible</xccdf:title>
12865 <xccdf:description>LDAP's dynamic updates feature should be disabled</xccdf:description>
12866 <xccdf:ident system="http://cce.mitre.org">CCE-4399-2</xccdf:ident>
12867 <xccdf:fixtext>(1) via /etc/named.conf</xccdf:fixtext>
12868 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12869 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20316"/>
12870 </xccdf:check>
12871 </xccdf:Rule>
12872 </xccdf:Group>
12873 </xccdf:Group>
12874 </xccdf:Group>
12875 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15">
12876 <xccdf:title xml:lang="en">FTPServer</xccdf:title>
12877 <xccdf:description xml:lang="en">
12878 FTP is a common method for allowing remote access to files. Like
12879 telnet, the FTP protocol is unencrypted, which means that passwords and other data
12880 transmitted during the session can be captured and that the session is vulnerable to
12881 hijacking. Therefore, running the FTP server software is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12882 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12883 However, there are
12884 some FTP server configurations which may be appropriate for some environments, particularly
12885 those which allow only read-only anonymous access as a means of downloading data available
12886 to the public.</xccdf:description>
12887 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.1">
12888 <xccdf:title xml:lang="en">Disable vsftpd if Possible</xccdf:title>
12889 <xccdf:description xml:lang="en">
12890 Is there a mission-critical reason for the machine to act as an
12891 FTP server? If not, disable vsftpd if it has been installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12892 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12893 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig vsftpd off</xhtml:code></xccdf:description>
12894 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.a" selected="false" severity="low" weight="10.0">
12895 <xccdf:title>Disable vsftpd if Possible</xccdf:title>
12896 <xccdf:description>The vsftpd service should be disabled.</xccdf:description>
12897 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
12898 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12899 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12900 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20317"/>
12901 </xccdf:check>
12902 </xccdf:Rule>
12903 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.b" selected="false" severity="low" weight="10.0">
12904 <xccdf:title>Uninstall vsftpd if Possible</xccdf:title>
12905 <xccdf:description>The vsftpd service should be uninstalled.</xccdf:description>
12906 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
12907 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
12908 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12909 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203175"/>
12910 </xccdf:check>
12911 </xccdf:Rule>
12912 </xccdf:Group>
12913 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.2">
12914 <xccdf:title xml:lang="en">Use vsftpd to Provide FTP Service if Necessary</xccdf:title>
12915 <xccdf:description xml:lang="en">
12916 If this machine must operate as an FTP server, install the vsftpd
12917 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
12918 from distributing wu-ftpd with RHEL to distributing vsftpd. For security and for
12919 consistency with future Red Hat releases, the use of vsftpd is recommended.</xccdf:description>
12920 </xccdf:Group>
12921 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3">
12922 <xccdf:title xml:lang="en">Configure vsftpd Securely</xccdf:title>
12923 <xccdf:description xml:lang="en">
12924 The primary vsftpd configuration file is /etc/vsftpd.conf, if
12925 that file exists, or /etc/vsftpd/vsftpd.conf if it does not. For the remainder of this
12926 section, the phrase 'the configuration file' will refer to whichever of those files is
12927 appropriate for your environment.</xccdf:description>
12928 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.1">
12929 <xccdf:title xml:lang="en">Enable Logging of All FTP Transactions</xccdf:title>
12930 <xccdf:description xml:lang="en">
12931 Edit the vsftpd configuration file. Add or correct the
12932 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12933 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12934 xferlog_std_format=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12935 log_ftp_protocol=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12936 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12937 The
12938 modifications above ensure that all commands sent to the ftp server are logged using the
12939 verbose vsftpd log format. The default vsftpd log file is /var/log/vsftpd.log. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12940 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12941 Note: If
12942 verbose logging to vsftpd.log is done, sparse logging of downloads to /var/log/xferlog
12943 will not also occur. However, the information about what files were downloaded is
12944 included in the information logged to vsftpd.log.</xccdf:description>
12945 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false" severity="low" weight="10.0">
12946 <xccdf:title>Enable Logging of All FTP Transactions</xccdf:title>
12947 <xccdf:description>Logging of vsftpd transactions should be enabled</xccdf:description>
12948 <xccdf:ident system="http://cce.mitre.org">CCE-4549-2</xccdf:ident>
12949 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
12950 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12951 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20318"/>
12952 </xccdf:check>
12953 </xccdf:Rule>
12954 </xccdf:Group>
12955 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.2">
12956 <xccdf:title xml:lang="en">Create Warning Banners for All FTP Users</xccdf:title>
12957 <xccdf:description xml:lang="en">
12958 Edit the vsftpd configuration file. Add or correct the
12959 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12961 banner_file=/etc/issue <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12962 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12963 See Section 2.3.7 for an
12964 explanation of banner file use. This setting will cause the system greeting banner to be
12965 used for FTP connections as well.</xccdf:description>
12966 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false" weight="10.0">
12967 <xccdf:title>Create Warning Banners for All FTP Users</xccdf:title>
12968 <xccdf:description>A warning banner for all FTP users should be enabled</xccdf:description>
12969 <xccdf:ident system="http://cce.mitre.org">CCE-4554-2</xccdf:ident>
12970 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
12971 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12972 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20319"/>
12973 </xccdf:check>
12974 </xccdf:Rule>
12975 </xccdf:Group>
12976 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3">
12977 <xccdf:title xml:lang="en">Restrict the Set of Users Allowed to Access FTP</xccdf:title>
12978 <xccdf:description xml:lang="en">
12979 This section describes how to disable non-anonymous
12980 (password-based) FTP logins, or, if it is not possible to do this entirely due to legacy
12981 applications, how to restrict insecure FTP login to only those users who have an
12982 identified need for this access.</xccdf:description>
12983 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.1">
12984 <xccdf:title xml:lang="en">Restrict Access to Anonymous Users if Possible</xccdf:title>
12985 <xccdf:description xml:lang="en">
12986 Is there a mission-critical reason for users to transfer
12987 files to/from their own accounts using FTP, rather than using a secure protocol like
12988 SCP/SFTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12989 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12990 Edit the vsftpd configuration file. Add or correct the following
12991 configuration option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12992 local_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12994 If non-anonymous FTP logins are necessary,
12995 follow the guidance in the remainder of this section to secure these logins as much as
12996 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12997 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12998 The use of non-anonymous FTP logins is strongly discouraged. Since SSH
12999 clients and servers are widely available, and since SSH provides support for a
13000 transfer mode which resembles FTP in user interface, there is no good reason to allow
13001 password-based FTP access. See Section 3.5 for more information about SSH.</xccdf:description>
13002 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false" severity="high" weight="10.0">
13003 <xccdf:title>Restrict Access to Anonymous Users if Possible</xccdf:title>
13004 <xccdf:description>Local user login to the vsftpd service should be disabled</xccdf:description>
13005 <xccdf:ident system="http://cce.mitre.org">CCE-4443-8</xccdf:ident>
13006 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13007 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13008 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20320"/>
13009 </xccdf:check>
13010 </xccdf:Rule>
13011 </xccdf:Group>
13012 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.2">
13013 <xccdf:title xml:lang="en">Limit Users Allowed FTP Access if Necessary</xccdf:title>
13014 <xccdf:description xml:lang="en">
13015 If there is a mission-critical reason for users to access
13016 their accounts via the insecure FTP protocol, limit the set of users who are allowed
13017 this access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13018 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13019 Edit the vsftpd configuration file. Add or correct the following
13020 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13022 userlist_enable=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13023 userlist_file=/etc/vsftp.ftpusers<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13024 userlist_deny=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13025 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13026 Edit the file /etc/vsftp.ftpusers. For each user USERNAME who should
13027 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"/>
13028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13029 USERNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13031 If anonymous access is also required, add the anonymous usernames to
13032 /etc/vsftp.ftpusers as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13034 anonymous <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13035 ftp <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13037 Historically, the file /etc/ftpusers
13038 contained a list of users who were not allowed to access the system via ftp. It was
13039 used to prevent system users such as the root user from logging in via the insecure
13040 ftp protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13041 However, when the configuration option userlist_deny=NO is set, vsftpd
13042 interprets ftpusers as the set of users who are allowed to login via ftp. Since it
13043 should be possible for most users to access their accounts via secure protocols, it is
13044 recommended that this setting be used, so that non-anonymous ftp access can be limited
13045 to legacy users who have been explicitly identified.</xccdf:description>
13046 </xccdf:Group>
13047 </xccdf:Group>
13048 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.4">
13049 <xccdf:title xml:lang="en">Disable FTP Uploads if Possible</xccdf:title>
13050 <xccdf:description xml:lang="en">
13051 Is there a mission-critical reason for users to upload files
13052 via FTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13053 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13054 Edit the vsftpd configuration file. Add or correct the following
13055 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13056 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13057 write_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13058 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13059 If FTP uploads are necessary, follow the guidance
13060 in the remainder of this section to secure these transactions as much as possible.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13062 Anonymous FTP can be a convenient way to make files available for universal download.
13063 However, it is less common to have a need to allow unauthenticated users to place files
13064 on the FTP server. If this must be done, it is necessary to ensure that files cannot be
13065 uploaded and downloaded from the same directory.</xccdf:description>
13066 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false" severity="medium" weight="10.0">
13067 <xccdf:title>Disable FTP Uploads if Possible</xccdf:title>
13068 <xccdf:description>File uploads via vsftpd should be disabled</xccdf:description>
13069 <xccdf:ident system="http://cce.mitre.org">CCE-4461-0</xccdf:ident>
13070 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13071 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13072 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20321"/>
13073 </xccdf:check>
13074 </xccdf:Rule>
13075 </xccdf:Group>
13076 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.5">
13077 <xccdf:title xml:lang="en">Place the FTP Home Directory on its Own Partition</xccdf:title>
13078 <xccdf:description xml:lang="en">
13079 By default, the anonymous FTP root is the home directory of the
13080 ftp user account. The df command can be used to verify that this directory is on its own
13081 partition. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13082 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13083 If there is a mission-critical reason for anonymous users to upload files,
13084 precautions must be taken to prevent these users from filling a disk used by other
13085 services.</xccdf:description>
13086 </xccdf:Group>
13087 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.6">
13088 <xccdf:title xml:lang="en">Configure Firewalls to Protect the FTP Server</xccdf:title>
13089 <xccdf:description xml:lang="en">
13090 Edit the file /etc/sysconfig/iptables. Add the following lines,
13091 ensuring that they appear before the final LOG and DROP lines for the
13092 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13093 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13094 -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"/>
13095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13096 Edit the file /etc/sysconfig/iptables-config. Ensure that the space-separated
13097 list of modules contains the FTP connection tracking module:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13099 IPTABLES_MODULES="ip_conntrack_ftp" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13101 These settings configure iptables to allow
13102 connections to an FTP server. The first line allows initial connections to the FTP
13103 server port. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13104 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13105 FTP is an older protocol which is not very compatible with firewalls.
13106 During the initial FTP dialogue, the client and server negotiate an arbitrary port to be
13107 used for data transfer. The ip conntrack ftp module is used by iptables to listen to
13108 that dialogue and allow connections to the data ports which FTP negotiates. This allows
13109 an FTP server to operate on a machine which is running a firewall.</xccdf:description>
13110 </xccdf:Group>
13111 </xccdf:Group>
13112 </xccdf:Group>
13113 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16">
13114 <xccdf:title xml:lang="en">Web Server</xccdf:title>
13115 <xccdf:description xml:lang="en">
13116 The web server is responsible for providing access to content via
13117 the HTTP protocol. Web servers represent a significant security risk because: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13119 <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"/>
13120 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13121 The system's default web server software is Apache 2 and is provided
13122 in the RPM package httpd.</xccdf:description>
13123 <xccdf:reference>Ristic, I. Apache Security. O’Reilly and Associates, Mar 2005</xccdf:reference>
13124 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.1">
13125 <xccdf:title xml:lang="en">Disable Apache if Possible</xccdf:title>
13126 <xccdf:description xml:lang="en">
13127 If Apache was installed and activated, but the system does not
13128 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"/>
13129 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13130 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig httpd off <xhtml:br/>
13131 # yum erase httpd</xhtml:code></xccdf:description>
13132 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.a" selected="false" severity="low" weight="10.0">
13133 <xccdf:title>Disable Apache if Possible</xccdf:title>
13134 <xccdf:description>The httpd service should be disabled.</xccdf:description>
13135 <xccdf:ident system="http://cce.mitre.org">CCE-4338-0</xccdf:ident>
13136 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
13137 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13138 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20322"/>
13139 </xccdf:check>
13140 </xccdf:Rule>
13141 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.b" selected="false" weight="10.0">
13142 <xccdf:title>Uninstall Apache if Possible</xccdf:title>
13143 <xccdf:description>The httpd package should be uninstalled.</xccdf:description>
13144 <xccdf:ident system="http://cce.mitre.org">CCE-4514-6</xccdf:ident>
13145 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
13146 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13147 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20323"/>
13148 </xccdf:check>
13149 </xccdf:Rule>
13150 </xccdf:Group>
13151 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2">
13152 <xccdf:title xml:lang="en">Install Apache if Necessary</xccdf:title>
13153 <xccdf:description xml:lang="en">
13154 If the Apache web server must be run, follow these guidelines to
13155 install it defensively. Then follow the guidelines in the remainder of Section 3.16 to
13156 configure the web server machine and software as securely as possible.</xccdf:description>
13157 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.1">
13158 <xccdf:title xml:lang="en">Install Apache Software Safely</xccdf:title>
13159 <xccdf:description xml:lang="en">
13160 Install the Apache 2 package from the standard Red Hat
13161 distribution channel: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13162 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13163 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install httpd <xhtml:br/></xhtml:code>
13164 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13165 Note: This method of installation is
13166 recommended over installing the 'Web Server' package group during the system
13167 installation process. The Web Server package group includes many packages which are
13168 likely extraneous, while the command-line method installs only the required httpd
13169 package itself.</xccdf:description>
13170 </xccdf:Group>
13171 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.2">
13172 <xccdf:title xml:lang="en">Confirm Minimal Built-in Modules</xccdf:title>
13173 <xccdf:description xml:lang="en">
13174 The default Apache installation minimizes the number of modules
13175 that are compiled directly into the binary (core prefork http core mod so). This
13176 minimizes risk by limiting the capabilities allowed by the webserver. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13177 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13178 Query the set of compiled-in modules using the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13179 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13180 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ httpd -l <xhtml:br/></xhtml:code>
13181 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13182 If the number of compiled-in
13183 modules is significantly larger than the aforementioned set, this guide recommends
13184 reinstallating Apache with a reduced configuration.</xccdf:description>
13185 </xccdf:Group>
13186 </xccdf:Group>
13187 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3">
13188 <xccdf:title xml:lang="en">Secure the Apache Configuration</xccdf:title>
13189 <xccdf:description xml:lang="en">
13190 The Apache configuration file is /etc/httpd/conf/httpd.conf.
13191 Apply the recommendations in the remainder of this section to this file.</xccdf:description>
13192 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.1">
13193 <xccdf:title xml:lang="en">Restrict Information Leakage</xccdf:title>
13194 <xccdf:description xml:lang="en">
13195 The ServerTokens and ServerSignature directives determine how
13196 much information the web server discloses about the configuration of the system.
13197 ServerTokens Prod restricts information in page headers, returning only the word
13198 'Apache.' ServerSignature Off keeps Apache from displaying the server version on error
13199 pages. It is a good security practice to limit the information provided to clients. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13201 Add
13202 or correct the following directives in /etc/httpd/conf/httpd.conf so that as little
13203 information as possible is released: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13205 ServerTokens Prod <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13206 ServerSignature Off</xccdf:description>
13207 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.a" operator="equals" type="string">
13208 <xccdf:title>value of ServerTokens</xccdf:title>
13209 <xccdf:description xml:lang="en">Tells apache to only return Apache in the Server header, returned on every page request.</xccdf:description>
13210 <xccdf:question xml:lang="en">Specify restrictions of of provided information in page headers for web server</xccdf:question>
13211 <xccdf:value>Prod</xccdf:value>
13212 <xccdf:value selector="prod">Prod</xccdf:value>
13213 </xccdf:Value>
13214 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.b" operator="equals" type="string">
13215 <xccdf:title>value of ServerSignature</xccdf:title>
13216 <xccdf:description xml:lang="en">Tells apache not to display the server version on error pages, or other pages it generates.</xccdf:description>
13217 <xccdf:question xml:lang="en">Enable/Disable Apache displaying the server version on error pages</xccdf:question>
13218 <xccdf:value>Off</xccdf:value>
13219 <xccdf:value selector="off">Off</xccdf:value>
13220 </xccdf:Value>
13221 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false" weight="10.0">
13222 <xccdf:title>Restrict Information Leakageusing ServerTokens</xccdf:title>
13223 <xccdf:description>The apache2 server's ServerTokens value should be set appropriately</xccdf:description>
13224 <xccdf:ident system="http://cce.mitre.org">CCE-4474-3</xccdf:ident>
13225 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13226 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13227 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20324" value-id="xccdf_cdf_value_var-3.16.3.1.a"/>
13228 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20324"/>
13229 </xccdf:check>
13230 </xccdf:Rule>
13231 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false" weight="10.0">
13232 <xccdf:title>Restrict Information Leakage using ServerSignature</xccdf:title>
13233 <xccdf:description>The apache2 server's ServerSignature value should be set appropriately</xccdf:description>
13234 <xccdf:ident system="http://cce.mitre.org">CCE-3756-4</xccdf:ident>
13235 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13236 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13237 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20325" value-id="xccdf_cdf_value_var-3.16.3.1.b"/>
13238 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20325"/>
13239 </xccdf:check>
13240 </xccdf:Rule>
13241 </xccdf:Group>
13242 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2">
13243 <xccdf:title xml:lang="en">Minimize Loadable Modules</xccdf:title>
13244 <xccdf:description xml:lang="en">
13245 A default installation of Apache includes a plethora of
13246 'dynamically shared objects' (DSO) that are loaded at run-time. Unlike the
13247 aforementioned 'compiled-in' modules, a DSO can be disabled in the configuration file by
13248 removing the corresponding LoadModule directive. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13249 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13250 Note: A DSO only provides additional
13251 functionality if associated directives are included in the Apache configuration file. It
13252 should also be noted that removing a DSO will produce errors on Apache startup if the
13253 configuration file contains directives that apply to that module. Refer to
13254 http://httpd.apache.org/docs/ for details on which directives are associated with each
13255 DSO. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13256 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13257 Follow each DSO removal, the configuration can be tested with the following command
13258 to check if everything still works: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13259 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13260 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service httpd configtest <xhtml:br/></xhtml:code>
13261 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13262 The purpose of each of
13263 the modules loaded by default will now be addressed one at a time. If none of a module's
13264 directives are being used, remove it.</xccdf:description>
13265 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.1">
13266 <xccdf:title xml:lang="en">Apache Core Modules</xccdf:title>
13267 <xccdf:description xml:lang="en">
13268 These modules comprise a basic subset of modules that are
13269 likely needed for base Apache functionality; ensure they are not commented out in
13270 /etc/httpd/conf/httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13272 LoadModule auth_basic_module modules/mod_auth_basic.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13273 LoadModule authn_default_module modules/mod_authn_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13274 LoadModule authz_host_module modules/mod_authz_host.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13275 LoadModule authz_user_module modules/mod_authz_user.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13276 LoadModule authz_groupfile_module modules/mod_authz_groupfile.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13277 LoadModule authz_default_module modules/mod_authz_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13278 LoadModule log_config_module modules/mod_log_config.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13279 LoadModule logio_module modules/mod_logio.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13280 LoadModule setenvif_module modules/mod_setenvif.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13281 LoadModule mime_module modules/mod_mome.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13282 LoadModule autoindex_module modules/mod_autoindex.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13283 LoadModule negotiation_module modules/mod_negotiation.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13284 LoadModule dir_module modules/mod_dir.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13285 LoadModule alias_module modules/mod_alias.so</xccdf:description>
13286 </xccdf:Group>
13287 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.2">
13288 <xccdf:title xml:lang="en">HTTP Basic Authentication</xccdf:title>
13289 <xccdf:description xml:lang="en">
13290 The following modules are necessary if this web server will
13291 provide content that will be restricted by a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13292 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13293 Authentication can be performed
13294 using local plain text password files (authn file), local DBM password files (authn
13295 dbm) or an LDAP directory (see Section 3.16.3.2.5). The only module required by the
13296 web server depends on your choice of authentication. Comment out the modules you don't
13297 need from the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13299 LoadModule authn_file_module modules/mod_authn_file.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13300 LoadModule authn_dbm_module modules/mod_authn_dbm.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13301 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13302 authn_alias allows for
13303 authentication based on aliases. authn_anon allows anonymous authentication similar to
13304 that of anonymous ftp sites. authz owner allows authorization based on file ownership.
13305 authz dbm allows for authorization based on group membership if the web server is
13306 using DBM authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13307 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13308 If the above functionality is unnecessary, comment out the
13309 related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13311 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule authn_alias_module modules/mod_authn_alias.so <xhtml:br/>
13312 #LoadModule authn_anon_module modules/mod_authn_anon.so <xhtml:br/>
13313 #LoadModule authz_owner_module modules/mod_authz_owner.so <xhtml:br/>
13314 #LoadModule authz_dbm_module modules/mod_authz_dbm.so</xhtml:code></xccdf:description>
13315 </xccdf:Group>
13316 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.3">
13317 <xccdf:title xml:lang="en">HTTP Digest Authentication</xccdf:title>
13318 <xccdf:description xml:lang="en">
13319 This module provides encrypted authentication sessions.
13320 However, this module is rarely used and considered experimental. Alternate methods of
13321 encrypted authentication are recommended, such as SSL (Section 3.16.4.1) <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
13324 functionality is 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 auth_digest_module modules/mod_auth_digest.so</xhtml:code></xccdf:description>
13327 </xccdf:Group>
13328 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.4">
13329 <xccdf:title xml:lang="en">mod rewrite</xccdf:title>
13330 <xccdf:description xml:lang="en">
13331 The mod rewrite module is very powerful and can protect
13332 against certain classes of web attacks. However, it is also very complex and has a
13333 significant history of vulnerabilities itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13334 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13335 If the above functionality is
13336 unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13337 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13338 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule rewrite_module modules/mod_rewrite.so</xhtml:code></xccdf:description>
13339 </xccdf:Group>
13340 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.5">
13341 <xccdf:title xml:lang="en">LDAP Support</xccdf:title>
13342 <xccdf:description xml:lang="en">
13343 This module provides HTTP authentication via an LDAP
13344 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13345 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13346 If the above functionality is unnecessary, comment out the related modules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13347 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13348 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule ldap_module modules/mod_ldap.so <xhtml:br/>
13349 #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so <xhtml:br/></xhtml:code>
13350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13351 If LDAP is to be used, SSL encryption (Section 3.16.4.1)
13352 should be used as well.</xccdf:description>
13353 </xccdf:Group>
13354 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.6">
13355 <xccdf:title xml:lang="en">Server Side Includes</xccdf:title>
13356 <xccdf:description xml:lang="en">
13357 Server Side Includes provide a method of dynamically
13358 generating web pages through the insertion of server-side code. However, the
13359 technology is also deprecated and introduces significant security concerns. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13360 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13361 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13362 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13363 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule include_module modules/mod_include.so <xhtml:br/></xhtml:code>
13364 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13365 If there is a critical need for Server Side
13366 Includes, they should be enabled with the option IncludesNoExec to prevent arbitrary
13367 code execution. Additionally, user supplied data should be encoded to prevent
13368 cross-site scripting vulnerabilities.</xccdf:description>
13369 </xccdf:Group>
13370 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.7">
13371 <xccdf:title xml:lang="en">MIME Magic</xccdf:title>
13372 <xccdf:description xml:lang="en">
13373 This module provides a second layer of MIME support that in
13374 most configurations is likely extraneous. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13375 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13376 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13377 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13378 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule mime_magic_module modules/mod_mime_magic.so</xhtml:code></xccdf:description>
13379 </xccdf:Group>
13380 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.8">
13381 <xccdf:title xml:lang="en">WebDAV (Distributed Authoring and Versioning)</xccdf:title>
13382 <xccdf:description xml:lang="en">
13383 WebDAV is an extension of the HTTP protocol that provides
13384 distributed and collaborative access to web content. Due to a number of security
13385 concerns with WebDAV, its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13386 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13387 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13388 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13389 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule dav_module modules/mod_dav.so <xhtml:br/>
13390 #LoadModule dav_fs_module modules/mod_dav_fs.so <xhtml:br/></xhtml:code>
13391 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13392 If there is a
13393 critical need for WebDAV, extra care should be taken in its configuration. Since DAV
13394 access allows remote clients to manipulate server files, any location on the server
13395 that is DAV enabled should be protected by encrypted authentication.</xccdf:description>
13396 </xccdf:Group>
13397 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.9">
13398 <xccdf:title xml:lang="en">Server Activity Status</xccdf:title>
13399 <xccdf:description xml:lang="en">
13400 This module provides real-time access to statistics on the
13401 internal operation of the web server. This is an unnecessary information leak and
13402 should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13403 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13404 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13405 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13406 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule status_module modules/mod_status.so <xhtml:br/></xhtml:code>
13407 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13408 If there is a critical need
13409 for this module, ensure that access to the status page is properly restricted to a
13410 limited set of hosts in the status handler configuration.</xccdf:description>
13411 </xccdf:Group>
13412 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.10">
13413 <xccdf:title xml:lang="en">Web Server Configuration Display</xccdf:title>
13414 <xccdf:description xml:lang="en">
13415 This module creates a web page illustrating the configuration
13416 of the web server. This is an unnecessary security leak and should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13417 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13418 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13419 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13420 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule info_module modules/mod_info.so <xhtml:br/></xhtml:code>
13421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13422 If there is a critical need for this module, use the
13423 Location directive to provide an access control list to restrict access to the
13424 information.</xccdf:description>
13425 </xccdf:Group>
13426 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.11">
13427 <xccdf:title xml:lang="en">URL Correction on Misspelled Entries</xccdf:title>
13428 <xccdf:description xml:lang="en">
13429 This module attempts to find a document match by allowing one
13430 misspelling in an otherwise failed request. <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 speling_module modules/mod_speling.so <xhtml:br/></xhtml:code>
13435 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13436 This functionality weakens server security by making site enumeration easier.</xccdf:description>
13437 </xccdf:Group>
13438 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.12">
13439 <xccdf:title xml:lang="en">User-specific directories</xccdf:title>
13440 <xccdf:description xml:lang="en">
13441 The UserDir directive provides user-specific directory
13442 translation, allowing URLs based on associated usernames. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13444 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13445 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13446 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule userdir_module modules/mod_userdir.so <xhtml:br/></xhtml:code>
13447 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13448 If there is a critical need for this module, include the line
13449 UserDir disabled root (at a minimum) in the configuration file. Ideally, UserDir
13450 should be disabled, and then enabled on a case-by-case basis for specific users that
13451 require this functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13452 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13453 Note: A web server's users can be trivially enumerated
13454 using this module.</xccdf:description>
13455 </xccdf:Group>
13456 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.13">
13457 <xccdf:title xml:lang="en">Proxy Support</xccdf:title>
13458 <xccdf:description xml:lang="en">
13459 This module provides proxying support, allowing Apache to
13460 forward requests and serve as a gateway for other servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13461 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13462 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13463 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13464 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule proxy_module modules/mod_proxy.so <xhtml:br/>
13465 #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<xhtml:br/>
13466 #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so <xhtml:br/>
13467 #LoadModule proxy_http_module modules/mod_proxy_http.so <xhtml:br/>
13468 #LoadModule proxy_connect_module modules/mod_proxy_connect.so <xhtml:br/></xhtml:code>
13469 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13470 If proxy support is needed, load proxy and the
13471 appropriate proxy protocol handler module (one of proxy http, proxy ftp, or proxy
13472 connect). Additionally, make certain that a server is secure before enabling proxying,
13473 as open proxy servers are a security risk. proxy balancer enables load balancing, but
13474 requires that mod status be enabled. Since mod status is not recommended, proxy
13475 balancer should be avoided as well.</xccdf:description>
13476 </xccdf:Group>
13477 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.14">
13478 <xccdf:title xml:lang="en">Cache Support</xccdf:title>
13479 <xccdf:description xml:lang="en">
13480 This module allows Apache to cache data, optimizing access to
13481 frequently accessed content. However, not only is it an experimental module, but it
13482 also introduces potential security flaws into the web server such as the possibility
13483 of circumventing Allow and Deny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13484 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13485 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13486 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13487 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cache_module modules/mod_cache.so<xhtml:br/>
13488 #LoadModule disk_cache_module modules/mod_disk_cache.so <xhtml:br/>
13489 #LoadModule file_cache_module modules/mod_file_cache.so <xhtml:br/>
13490 #LoadModule mem_cache_module modules/mod_mem_cache.so <xhtml:br/></xhtml:code>
13491 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13492 If caching is required, it should not be enabled for any limited-access content.</xccdf:description>
13493 </xccdf:Group>
13494 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.15">
13495 <xccdf:title xml:lang="en">CGI Support (and Related Modules)</xccdf:title>
13496 <xccdf:description xml:lang="en">
13497 This module allows HTML to interact with the CGI web
13498 programming language. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13499 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13500 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13501 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cgi_module modules/mod_cgi.so <xhtml:br/>
13502 #LoadModule env_module modules/mod_env.so <xhtml:br/>
13503 #LoadModule actions_module modules/mod_actions.so <xhtml:br/>
13504 #LoadModule suexec_module modules/mod_suexec.so <xhtml:br/></xhtml:code>
13505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13506 If the web server requires the use of CGI, enable
13507 the cgi module. If extended CGI functionality is required, include the appropriate
13508 modules. env allows for control of the environment passed to CGI scripts. actions
13509 allows CGI events to be triggered when files of a certain type are requested. su exec
13510 allows CGI scripts to run as a specified user/group instead of as the server's
13511 user/group.</xccdf:description>
13512 </xccdf:Group>
13513 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.16">
13514 <xccdf:title xml:lang="en">Various Optional Components</xccdf:title>
13515 <xccdf:description xml:lang="en">
13516 The following modules perform very specific tasks, sometimes
13517 providing access to just a few additional directives. If this functionality is not
13518 required (or if you are not using these directives), comment out the associated
13519 module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13521 <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/>
13522 <xhtml:br/>
13523 <xhtml:code>#LoadModule ext_filter_module modules/mod_ext_filter.so </xhtml:code></xhtml:li><xhtml:li>User-specified
13524 Cache Control and Expiration <xhtml:br/>
13525 <xhtml:br/>
13526 <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/>
13527 <xhtml:br/>
13528 <xhtml:code>#LoadModule deflate_module modules/mod_deflate.so </xhtml:code></xhtml:li><xhtml:li>HTTP Response/Request Header Customization <xhtml:br/>
13529 <xhtml:br/>
13530 <xhtml:code>#LoadModule headers_module modules/mod_headers.so</xhtml:code> </xhtml:li><xhtml:li>User activity monitoring via cookies <xhtml:br/>
13531 <xhtml:br/>
13532 <xhtml:code>#LoadModule usertrack_module modules/mod_usertrack.so </xhtml:code></xhtml:li><xhtml:li>Dynamically configured mass virtual hosting <xhtml:br/>
13533 <xhtml:br/>
13534 <xhtml:code>#LoadModule vhost_alias_module modules/mod_vhost_alias.so</xhtml:code></xhtml:li></xhtml:ul>
13535 </xccdf:description>
13536 </xccdf:Group>
13537 </xccdf:Group>
13538 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.3">
13539 <xccdf:title xml:lang="en">Minimize Configuration Files Included</xccdf:title>
13540 <xccdf:description xml:lang="en">
13541 The Include directive directs Apache to load supplementary
13542 configuration files from a provided path. The default configuration loads all files that
13543 end in .conf from the /etc/httpd/conf.d directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13544 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13545 To restrict excess configuration, the
13546 following line should be commented out and replaced with Include directives that only
13547 reference required configuration files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13549 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#Include conf.d/*.conf <xhtml:br/></xhtml:code>
13550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13551 If the above change was
13552 made, ensure that the SSL encryption remains loaded by explicitly including the
13553 corresponding configuration file: (see Section 3.16.4.1 for further details on SSL
13554 configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13555 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13556 Include conf.d/ssl.conf <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13558 If PHP is necessary, a similar alteration must be
13559 made: (see Section 3.16.4.4.1 for further details on PHP configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13560 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13561 Include conf.d/php.conf</xccdf:description>
13562 </xccdf:Group>
13563 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4">
13564 <xccdf:title xml:lang="en">Directory Restrictions</xccdf:title>
13565 <xccdf:description xml:lang="en">
13566 The Directory tags in the web server configuration file allow
13567 finer grained access control for a specified directory. All web directories should be
13568 configured on a case-by-case basis, allowing access only where needed.</xccdf:description>
13569 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.1">
13570 <xccdf:title xml:lang="en">Restrict Root Directory</xccdf:title>
13571 <xccdf:description xml:lang="en">
13572 The Apache root directory should always have the most
13573 restrictive configuration enabled.
13574 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13575 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13576 &lt;Directory
13577 /&gt;
13578 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13579 Options None
13580 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13581 AllowOverride None
13582 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13583 Order
13584 allow,deny
13585 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13586 &lt;/Directory&gt;
13587 </xccdf:description>
13588 </xccdf:Group>
13589 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.2">
13590 <xccdf:title xml:lang="en">Restrict Web Directory</xccdf:title>
13591 <xccdf:description xml:lang="en">
13592 The default configuration for the web (/var/www/html)
13593 Directory allows directory indexing (Indexes)and the following of symbolic links
13594 (FollowSymLinks). Neither of these is recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13595 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13596 The
13597 /var/www/html directory hierarchy should not be viewable via the web, and symlinks
13598 should only be followed if the owner of the symlink also owns the linked
13599 file.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13600 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13601 Ensure that this policy is adhered to by altering the
13602 related section of the configuration:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13604 &lt;Directory
13605 "/var/www/html"&gt;
13606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13607 # ...
13608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13609 Options SymLinksIfOwnerMatch
13610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13611 # ...
13612 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13613 &lt;/Directory&gt;
13614 </xccdf:description>
13615 </xccdf:Group>
13616 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.3">
13617 <xccdf:title xml:lang="en">Restrict Other Critical Directories</xccdf:title>
13618 <xccdf:description xml:lang="en">
13619 All accessible web directories should be configured with
13620 similar restrictive settings. The Options directive should be limited to necessary
13621 functionality and the AllowOverride directive should be used only if needed. The Order
13622 and Deny access control tags should be used to deny access by default, allowing access
13623 only where necessary.</xccdf:description>
13624 </xccdf:Group>
13625 </xccdf:Group>
13626 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.5">
13627 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
13628 <xccdf:description xml:lang="en"><xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>Set up a password file. <xhtml:br/>
13629 <xhtml:br/>
13630 If a password file doesn't yet exist, one must be generated with the following command: <xhtml:br/>
13631 <xhtml:br/>
13632 <xhtml:code># htpasswd -cs passwdfile user <xhtml:br/></xhtml:code>
13633 <xhtml:br/>
13634 <xhtml:em>WARNING: This command will overwrite an existing file at this location.</xhtml:em>
13635 <xhtml:br/>
13636 Once a password file has been generated, subsequent users can be added with the
13637 following command: <xhtml:br/>
13638 <xhtml:br/>
13639 <xhtml:code># htpasswd -s passwdfile user </xhtml:code></xhtml:li><xhtml:li>Optionally, set up a group file (if using group authentication). <xhtml:br/>
13640 <xhtml:br/>
13641 The group file is a plain text file of the following format
13642 (each group is on its own line, followed by a colon and a list of users that belong to
13643 that group, separated by spaces): <xhtml:br/>
13644 <xhtml:br/>
13645 group : user1 user2 <xhtml:br/>
13646 group2 : user3 </xhtml:li><xhtml:li>Modify file
13647 permissions so that Apache can read the group and passwd files: <xhtml:br/>
13648 <xhtml:br/>
13649 <xhtml:code># chgrp apache passwdfile groupfile <xhtml:br/>
13650 # chmod 640 passwdfile groupfile </xhtml:code></xhtml:li><xhtml:li>Turn on authentication for desired directories <xhtml:br/>
13651 <xhtml:br/>
13652 Add the following options inside the appropriate Directory tag: <xhtml:br/>
13653 <xhtml:br/>
13654 <xhtml:ul><xhtml:li>For single-user authentication: <xhtml:br/>
13655 &lt;Directory "directory "&gt; <xhtml:br/>
13656 # ... AuthName "Private Data" <xhtml:br/>
13657 AuthType Basic <xhtml:br/>
13658 AuthUserFile passwdfile <xhtml:br/>
13659 require user user <xhtml:br/>
13660 # ...<xhtml:br/>
13661 &lt;/Directory&gt; </xhtml:li><xhtml:li>For multiple-user authentication restricted by groups:<xhtml:br/>
13662 &lt;Directory "directory "&gt; <xhtml:br/>
13663 # ... <xhtml:br/>
13664 AuthName "Private Data" <xhtml:br/>
13665 AuthType Basic<xhtml:br/>
13666 <xhtml:br/>
13667 AuthUserFile passwdfile <xhtml:br/>
13668 AuthGroupFile groupfile <xhtml:br/>
13669 require group group <xhtml:br/>
13670 # ...<xhtml:br/>
13671 &lt;/Directory&gt; </xhtml:li><xhtml:li>For multiple-user authentication restricted by valid user accounts: <xhtml:br/>
13672 <xhtml:br/>
13673 &lt;Directory "directory "&gt; <xhtml:br/>
13674 # ... <xhtml:br/>
13675 AuthName "Private Data" <xhtml:br/>
13676 AuthType Basic <xhtml:br/>
13677 AuthUserFile passwdfile <xhtml:br/>
13678 require valid-user <xhtml:br/>
13679 # ... <xhtml:br/>
13680 &lt;/Directory&gt; </xhtml:li></xhtml:ul>
13681 </xhtml:li></xhtml:ol>
13682 The AuthName directive specifies a label for the protected content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13684 The AuthType directive
13685 specifies the kind of authentication (if using Digest authentication, this line would
13686 instead read AuthType Digest) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13687 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13688 The AuthUserFile and AuthGroupFile directives point to the
13689 password and group files (if using Digest authentication, these directives would instead
13690 be AuthDigestFile and AuthDigestGroupFile.)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13691 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13692 The require user directive restricts access
13693 to a single user. The require group directive restricts access to multiple users in a
13694 designated group. The short-hand require valid-user directive restricts access to any
13695 user in the passwdfile <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13696 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13697 Note: Make sure the AuthUserFile and AuthGroupFile locations are
13698 outside the web server document tree to prevent remote clients from having access to
13699 restricted usernames and passwords. This guide recommends /etc/httpd/conf as a location
13700 for these files.</xccdf:description>
13701 <xccdf:warning xml:lang="en">Basic authentication is handled in plaintext over the network.
13702 Therefore, all login attempts are vulnerable to password sniffing. For increased
13703 protection against passive monitoring, encrypted authentication over a secure channel
13704 such as SSL (Section 3.16.4.1) is recommended. </xccdf:warning>
13705 </xccdf:Group>
13706 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.6">
13707 <xccdf:title xml:lang="en">Limit Available Methods</xccdf:title>
13708 <xccdf:description xml:lang="en">
13709 Web server methods are defined in section 9 of RFC 2616
13710 (http://www.ietf.org/rfc/rfc2616.txt). If a web server does not require the
13711 implementation of all available methods, they should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13712 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13713 Note: GET and POST are
13714 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"/>
13715 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13716 &lt;Directory /var/www/html&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13717 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13718 # Only allow specific methods (this command is case-sensitive!) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13719 &lt;LimitExcept GET POST&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13720 Order allow,deny<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13721 &lt;/LimitExcept&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13722 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13723 &lt;/Directory&gt;</xccdf:description>
13724 </xccdf:Group>
13725 </xccdf:Group>
13726 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4">
13727 <xccdf:title xml:lang="en">Use Appropriate Modules to Improve Apaches Security'</xccdf:title>
13728 <xccdf:description xml:lang="en">
13729 Among the modules available for Apache are several whose use may
13730 improve the security of the web server installation. This section recommends and discusses
13731 the deployment of security-relevant modules.</xccdf:description>
13732 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1">
13733 <xccdf:title xml:lang="en">Deploy mod ssl</xccdf:title>
13734 <xccdf:description xml:lang="en">
13735 Because HTTP is a plain text protocol, all traffic is
13736 susceptible to passive monitoring. If there is a need for confidentiality, SSL should be
13737 configured and enabled to encrypt content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13738 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13739 Note: mod nss is a FIPS 140-2 certified
13740 alternative to mod ssl. The modules share a considerable amount of code and should be
13741 nearly identical in functionality. If FIPS 140-2 validation is required, then mod nss
13742 should be used. If it provides some feature or its greater compatibility is required,
13743 thenmod ssl should be used.</xccdf:description>
13744 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.1">
13745 <xccdf:title xml:lang="en">Install mod ssl</xccdf:title>
13746 <xccdf:description xml:lang="en">
13747 Install mod ssl: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13748 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13749 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install mod ssl</xhtml:code></xccdf:description>
13750 </xccdf:Group>
13751 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.2">
13752 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
13753 <xccdf:description xml:lang="en">
13754 On your CA (if you are using your own) or on another
13755 physically secure system, generate a key pair for the web server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13756 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13757 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/>
13758 # openssl genrsa -des3 -out httpserverkey.pem 2048 <xhtml:br/></xhtml:code>
13759 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13760 When prompted,
13761 enter a strong, unique passphrase to protect the web server key pair. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13762 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13763 Next, generate a Certificate Signing Request (CSR) from the key for the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13765 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key httpserverkey.pem -out httpserver.csr <xhtml:br/></xhtml:code>
13766 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13767 Enter the passphrase for the web server key pair
13768 and then fill out the fields as completely as possible (or hit return to accept
13769 defaults); the Common Name field is especially important. It must match the
13770 fullyqualified domain name of your server exactly (e.g. www.example.com) or the
13771 certificate will not work. The /etc/pki/tls/openssl.conf file will determine which
13772 other fields (e.g. Country Name, Organization Name, etc) must match between the server
13773 request and the CA. Leave the challenge password and an optional company name blank.
13774 Next, the web server CSR must be signed to create the web server certificate. You can
13775 either send the CSR to an established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13776 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13777 To sign httpserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13778 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13779 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in httpserver.csr -out httpservercert.pem<xhtml:br/></xhtml:code>
13780 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13781 When prompted, enter the CA passphrase to continue and then complete the process. The
13782 httpservercert. pem certificate needed to enable SSL on the web server is now in the
13783 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13784 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13785 Finally, the web server key and certificate file need to be moved to the
13786 web server. Use removable media if possible. Place the server key and certificate file
13787 in /etc/pki/tls/http/, naming them serverkey.pem and servercert.pem, respectively.</xccdf:description>
13788 </xccdf:Group>
13789 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.3">
13790 <xccdf:title xml:lang="en">Install SSL Certificate</xccdf:title>
13791 <xccdf:description xml:lang="en">
13792 Add or modify the configuration file
13793 /etc/httpd/conf.d/ssl.conf to match the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13794 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13795 # establish new listening port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13796 Listen 443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13797 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13798 # seed appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13799 SSLRandomSeed startup file:/dev/urandom 1024<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13800 SSLRandomSeed connect file:/dev/urandom 1024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13802 &lt;VirtualHost site-on-certificate.com:443&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13803 # Enable SSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13804 SSLEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13805 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13806 # Path to server certificate + private key <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13807 SSLCertificateFile /etc/pki/tls/http/servercert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13808 SSLCertificateKeyFile /etc/pki/tls/http/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13809 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13810 SSLProtocol All -SSLv2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13811 # Weak ciphers and null authentication should be denied unless absolutely necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13812 # (and even then, such cipher weakening should occur within a Location enclosure)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13813 SSLCipherSuite HIGH:MEDIUM:!aNULL:+MD5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13814 &lt;/VirtualHost&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13816 Ensure that all
13817 directories that house SSL content are restricted to SSL access only in
13818 /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13819 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13820 &lt;Directory /var/www/html/secure&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13821 # require SSL for access <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13822 SSLRequireSSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13823 SSLOptions +StrictRequire <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13824 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13825 # require domain to match certificate domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13826 SSLRequire %{HTTP HOST} eq "site-on-certificate.com" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13827 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13828 # rather than reply with 403 error, redirect user to appropriate site <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13829 # this is OPTIONAL - uncomment to apply <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13830 # ErrorDocument 403 https://site-on-certificate.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13831 &lt;/Directory&gt;</xccdf:description>
13832 </xccdf:Group>
13833 </xccdf:Group>
13834 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2">
13835 <xccdf:title xml:lang="en">Deploy mod security</xccdf:title>
13836 <xccdf:description xml:lang="en">
13837 mod security provides an application level firewall for Apache.
13838 Following the installation of mod security with the base ruleset, specific configuration
13839 advice can be found at http://www.modsecurity.org/ to design a policy that best matches
13840 the security needs of the web applications.</xccdf:description>
13841 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.1">
13842 <xccdf:title xml:lang="en">Install mod security</xccdf:title>
13843 <xccdf:description xml:lang="en">
13844 Install mod security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13845 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13846 # yum install mod_security</xccdf:description>
13847 </xccdf:Group>
13848 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.2">
13849 <xccdf:title xml:lang="en">Configure mod security Filtering</xccdf:title>
13850 <xccdf:description xml:lang="en">
13851 mod security supports a significant number of options, far
13852 too many to be fully covered in this guide. However, the following list comprises a
13853 smaller subset of suggested filters to be added to /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13855 # enable mod_security <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13856 SecFilterEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13858 # enable POST filtering <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13859 SecFilterScanPost On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13860 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13861 # Make sure that URL encoding is valid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13862 SecFilterCheckURLEncoding On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13863 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13864 # Accept almost all byte values <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13865 SecFilterForceByteRange 1 255 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13867 # Prevent directory traversal <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13868 SecFilter "\.\./" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13869 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13870 # Filter on specific system specific paths <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13871 SecFilter /etc/passwd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13872 SecFilter /bin/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13873 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13874 # Prevent cross-site scripting <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13875 SecFilter "&lt;[[:space:]]* script" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13876 # Prevent SQL injection <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13877 SecFilter "delete[[:space:]]+from" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13878 SecFilter "insert[[:space:]]+into"<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13879 SecFilter "select.+from"</xccdf:description>
13880 </xccdf:Group>
13881 </xccdf:Group>
13882 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.3">
13883 <xccdf:title xml:lang="en">Use Denial-of-Service Protection Modules</xccdf:title>
13884 <xccdf:description xml:lang="en">
13885 Denial-of-service attacks are difficult to detect and prevent
13886 while maintaining acceptable access to authorized users. However, there are a number of
13887 traffic-shaping modules that attempt to address the problem. Well-known DoS protection
13888 modules include: mod_throttle mod_bwshare mod_limitipconn mod_dosevasive It is
13889 recommended that denial-of-service prevention be implemented for the web server.
13890 However, this guide leaves specific configuration details to the discretion of the
13891 reader.</xccdf:description>
13892 </xccdf:Group>
13893 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4">
13894 <xccdf:title xml:lang="en">Configure Supplemental Modules Appropriately</xccdf:title>
13895 <xccdf:description xml:lang="en">Any required functionality added to the web server via additional modules should be configured appropriately.</xccdf:description>
13896 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4.1">
13897 <xccdf:title xml:lang="en">Configure PHP Securely</xccdf:title>
13898 <xccdf:description xml:lang="en">
13899 PHP is a widely used and often misconfigured server-side
13900 scripting language. It should be used with caution, but configured appropriately when
13901 needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13902 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13903 Make the following changes to /etc/php.ini: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13904 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13905 # Do not expose PHP error messages to external users <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13906 display_errors = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13907 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13908 # Enable safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13909 safe_mode = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13910 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13911 # Only allow access to executables in isolated directory <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13912 safe_mode_exec_dir = php-required-executables-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13913 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13914 # Limit external access to PHP environment<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13915 safe_mode_allowed_env_vars = PHP_ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13916 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13917 # Restrict PHP information leakage <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13918 expose_php = Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13920 # Log all errors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13921 log_errors = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13922 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13923 # Do not register globals for input data<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13924 register_globals = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13925 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13926 # Minimize allowable PHP post size <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13927 post_max_size = 1K <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13929 # Ensure PHP redirects appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13930 cgi.force_redirect = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13931 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13932 # Disallow uploading unless necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13933 file_uploads = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13934 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13935 # Disallow treatment of file requests as fopen calls<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13936 allow_url_fopen = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13937 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13938 # Enable SQL safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13939 sql.safe_mode = On</xccdf:description>
13940 </xccdf:Group>
13941 </xccdf:Group>
13942 </xccdf:Group>
13943 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5">
13944 <xccdf:title xml:lang="en">Configure Operating System to Protect Web Server</xccdf:title>
13945 <xccdf:description xml:lang="en">
13946 The following configuration steps should be taken on the machine
13947 which hosts the web server, in order to provide as safe an environment as possible for the
13948 web server.</xccdf:description>
13949 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.1">
13950 <xccdf:title xml:lang="en">Restrict File and Directory Access</xccdf:title>
13951 <xccdf:description xml:lang="en">
13952 Minimize access to critical Apache files and directories: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13953 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13954 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod 511 /usr/sbin/httpd <xhtml:br/>
13955 # chmod 750 /var/log/httpd/ <xhtml:br/>
13956 # chmod 750 /etc/httpd/conf/ <xhtml:br/>
13957 # chmod 640 /etc/httpd/conf/* <xhtml:br/>
13958 # chgrp -R apache /etc/httpd/conf</xhtml:code></xccdf:description>
13959 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.a" operator="equals" type="string">
13960 <xccdf:title>Directory permissions on /etc/httpd/conf</xccdf:title>
13961 <xccdf:description xml:lang="en">Specify directory permissions on /etc/httpd/conf</xccdf:description>
13962 <xccdf:question xml:lang="en">Specify directory permissions of /etc/httpd/conf</xccdf:question>
13963 <xccdf:value>111101000</xccdf:value>
13964 <xccdf:value selector="750">111101000</xccdf:value>
13965 <xccdf:match>^[01]+$</xccdf:match>
13966 </xccdf:Value>
13967 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.b" operator="equals" type="string">
13968 <xccdf:title>File permissions on /etc/httpd/conf/*</xccdf:title>
13969 <xccdf:description xml:lang="en">Specify file permissions on /etc/httpd/conf/*</xccdf:description>
13970 <xccdf:question xml:lang="en">Specify file permissions of /etc/httpd/conf/*</xccdf:question>
13971 <xccdf:value>110100000</xccdf:value>
13972 <xccdf:value selector="640">110100000</xccdf:value>
13973 <xccdf:match>^[01]+$</xccdf:match>
13974 </xccdf:Value>
13975 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.c" operator="equals" type="string">
13976 <xccdf:title>File permissions on /usr/sbin/httpd</xccdf:title>
13977 <xccdf:description xml:lang="en">Specify file permissions on /usr/sbin/httpd</xccdf:description>
13978 <xccdf:question xml:lang="en">Specify file permissions of /etc/sbin/httpd</xccdf:question>
13979 <xccdf:value>101001001</xccdf:value>
13980 <xccdf:value selector="511">101001001</xccdf:value>
13981 <xccdf:match>^[01]+$</xccdf:match>
13982 </xccdf:Value>
13983 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.d" operator="equals" type="string">
13984 <xccdf:title>group owner of /etc/httpd/conf/*</xccdf:title>
13985 <xccdf:description xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:description>
13986 <xccdf:question xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:question>
13987 <xccdf:value>apache</xccdf:value>
13988 <xccdf:value selector="apache">apache</xccdf:value>
13989 </xccdf:Value>
13990 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.e" operator="equals" type="string">
13991 <xccdf:title>File permissions on /var/log/httpd/</xccdf:title>
13992 <xccdf:description xml:lang="en">Specify file permissions on /var/log/httpd/</xccdf:description>
13993 <xccdf:question xml:lang="en">Specify file permissions of /var/log/httpd/</xccdf:question>
13994 <xccdf:value>111101000</xccdf:value>
13995 <xccdf:value selector="750">111101000</xccdf:value>
13996 <xccdf:match>^[01]+$</xccdf:match>
13997 </xccdf:Value>
13998 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false" weight="10.0">
13999 <xccdf:title>Restrict permissions on /etc/httpd/conf</xccdf:title>
14000 <xccdf:description>File permissions for /etc/httpd/conf should be set correctly.</xccdf:description>
14001 <xccdf:ident system="http://cce.mitre.org">CCE-4509-6</xccdf:ident>
14002 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14003 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14004 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20326" value-id="xccdf_cdf_value_var-3.16.5.1.a"/>
14005 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20326"/>
14006 </xccdf:check>
14007 </xccdf:Rule>
14008 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false" weight="10.0">
14009 <xccdf:title>Restrict permissions on /etc/httpd/conf/*</xccdf:title>
14010 <xccdf:description>File permissions for /etc/httpd/conf/* should be set correctly.</xccdf:description>
14011 <xccdf:ident system="http://cce.mitre.org">CCE-4386-9</xccdf:ident>
14012 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14013 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14014 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20327" value-id="xccdf_cdf_value_var-3.16.5.1.b"/>
14015 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20327"/>
14016 </xccdf:check>
14017 </xccdf:Rule>
14018 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false" weight="10.0">
14019 <xccdf:title>Restrict permissions on /usr/sbin/httpd</xccdf:title>
14020 <xccdf:description>File permissions for /usr/sbin/httpd should be set correctly.</xccdf:description>
14021 <xccdf:ident system="http://cce.mitre.org">CCE-4029-5</xccdf:ident>
14022 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14023 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14024 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20328" value-id="xccdf_cdf_value_var-3.16.5.1.c"/>
14025 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20328"/>
14026 </xccdf:check>
14027 </xccdf:Rule>
14028 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false" weight="10.0">
14029 <xccdf:title>Restrict group access to /etc/httpd/conf/*</xccdf:title>
14030 <xccdf:description>The /etc/httpd/conf/* files should be owned by the appropriate group.</xccdf:description>
14031 <xccdf:ident system="http://cce.mitre.org">CCE-3581-6</xccdf:ident>
14032 <xccdf:fixtext>(1) via chgrp</xccdf:fixtext>
14033 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14034 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20329" value-id="xccdf_cdf_value_var-3.16.5.1.d"/>
14035 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20329"/>
14036 </xccdf:check>
14037 </xccdf:Rule>
14038 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false" weight="10.0">
14039 <xccdf:title>Restrict permissions on /var/log/httpd</xccdf:title>
14040 <xccdf:description>File permissions for /var/log/httpd should be set correctly.</xccdf:description>
14041 <xccdf:ident system="http://cce.mitre.org">CCE-4574-0</xccdf:ident>
14042 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14043 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14044 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20330" value-id="xccdf_cdf_value_var-3.16.5.1.e"/>
14045 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20330"/>
14046 </xccdf:check>
14047 </xccdf:Rule>
14048 </xccdf:Group>
14049 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.2">
14050 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Web Server</xccdf:title>
14051 <xccdf:description xml:lang="en">
14052 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
14053 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"/>
14054 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14055 -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"/>
14056 -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"/>
14057 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14058 The default
14059 Iptables configuration does not allow inbound access to the HTTP (80) and HTTPS (443)
14060 ports used by the web server. This modification allows that access, while keeping other
14061 ports on the server in their default protected state. See Section 2.5.5 for more
14062 information about Iptables.</xccdf:description>
14063 </xccdf:Group>
14064 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.3">
14065 <xccdf:title xml:lang="en">Run Apache in a chroot Jail if Possible</xccdf:title>
14066 <xccdf:description xml:lang="en">
14067 Putting Apache in a chroot jail minimizes the damage done by a
14068 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"/>
14069 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14070 In
14071 order to configure Apache to run from a chroot directory, edit the Apache configuration
14072 file, /etc/httpd/ conf/httpd.conf, and add the directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14073 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14074 SecChrootDir /chroot/apache <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14076 It
14077 is also necessary to place all files required by Apache inside the filesystem rooted at
14078 /chroot/apache , including Apache's binaries, modules, configuration files, and served
14079 web pages. The details of this configuration are beyond the scope of this guide.</xccdf:description>
14080 </xccdf:Group>
14081 </xccdf:Group>
14082 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.6">
14083 <xccdf:title xml:lang="en">Additional Resources</xccdf:title>
14084 <xccdf:description xml:lang="en">
14085 Further resources should be consulted if your web server requires
14086 more extensive configuration guidance, especially if particular applications need to be
14087 secured. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14088 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14089 In particular, [26] is recommended as a more comprehensive guide to securing Apache.</xccdf:description>
14090 </xccdf:Group>
14091 </xccdf:Group>
14092 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17">
14093 <xccdf:title xml:lang="en">IMAP and POP3 Server</xccdf:title>
14094 <xccdf:description xml:lang="en">
14095 Dovecot provides IMAP and POP3 services. It is not installed by
14096 default. The project page at http://www.dovecot.org contains more detailed information
14097 about Dovecot configuration.</xccdf:description>
14098 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.1">
14099 <xccdf:title xml:lang="en">Disable Dovecot if Possible</xccdf:title>
14100 <xccdf:description xml:lang="en">
14101 If the system does not need to operate as an IMAP or POP3 server,
14102 disable and remove Dovecot if it was installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14103 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14104 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dovecot off <xhtml:br/>
14105 # yum erase dovecot</xhtml:code></xccdf:description>
14106 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.a" selected="false" severity="low" weight="10.0">
14107 <xccdf:title>Disable Dovecot if Possible</xccdf:title>
14108 <xccdf:description>The dovecot service should be disabled.</xccdf:description>
14109 <xccdf:ident system="http://cce.mitre.org">CCE-3847-1</xccdf:ident>
14110 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14111 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14112 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20331"/>
14113 </xccdf:check>
14114 </xccdf:Rule>
14115 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.b" selected="false" weight="10.0">
14116 <xccdf:title>Uninstall Dovecot if Possible</xccdf:title>
14117 <xccdf:description>The dovecot package should be uninstalled.</xccdf:description>
14118 <xccdf:ident system="http://cce.mitre.org">CCE-4239-0</xccdf:ident>
14119 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
14120 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14121 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20332"/>
14122 </xccdf:check>
14123 </xccdf:Rule>
14124 </xccdf:Group>
14125 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2">
14126 <xccdf:title xml:lang="en">Configure Dovecot if Necessary</xccdf:title>
14127 <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>
14128 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.1">
14129 <xccdf:title xml:lang="en">Support Only the Necessary Protocols</xccdf:title>
14130 <xccdf:description xml:lang="en">
14131 Edit /etc/dovecot.conf. Add or correct the following lines,
14132 replacing PROTOCOL with only the subset of protocols (imap, imaps, pop3, pop3s)
14133 required: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14135 protocols = PROTOCOL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14136 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14137 Dovecot supports the IMAP and POP3 protocols, as well as
14138 SSL-protected versions of those protocols. Configure the Dovecot server to support only
14139 the protocols needed by your site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14140 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14141 If possible, require SSL protection for all
14142 transactions. The SSL protocol variants listen on alternate ports (995 instead of 110
14143 for pop3s, and 993 instead of 143 for imaps), and require SSL-aware clients. An
14144 alternate approach is to listen on the standard port and require the client to use the
14145 STARTTLS command before authenticating.</xccdf:description>
14146 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false" weight="10.0">
14147 <xccdf:title>Dovecot should not support imaps</xccdf:title>
14148 <xccdf:description>Dovecot should be configured to not support the imaps protocol</xccdf:description>
14149 <xccdf:ident system="http://cce.mitre.org">CCE-4384-4</xccdf:ident>
14150 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14151 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14152 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20333"/>
14153 </xccdf:check>
14154 </xccdf:Rule>
14155 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false" weight="10.0">
14156 <xccdf:title>Dovecot should not support pop3s</xccdf:title>
14157 <xccdf:description>Dovecot should be configured to not support the pop3s protocol</xccdf:description>
14158 <xccdf:ident system="http://cce.mitre.org">CCE-3887-7</xccdf:ident>
14159 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14160 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14161 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20334"/>
14162 </xccdf:check>
14163 </xccdf:Rule>
14164 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false" weight="10.0">
14165 <xccdf:title>Dovecot should not support pop3</xccdf:title>
14166 <xccdf:description>Dovecot should be configured to not support the pop3 protocol</xccdf:description>
14167 <xccdf:ident system="http://cce.mitre.org">CCE-4530-2</xccdf:ident>
14168 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14169 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14170 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20335"/>
14171 </xccdf:check>
14172 </xccdf:Rule>
14173 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false" weight="10.0">
14174 <xccdf:title>Dovecot should not support imap</xccdf:title>
14175 <xccdf:description>Dovecot should be configured to not support the imap protocol</xccdf:description>
14176 <xccdf:ident system="http://cce.mitre.org">CCE-4547-6</xccdf:ident>
14177 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14178 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14179 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20336"/>
14180 </xccdf:check>
14181 </xccdf:Rule>
14182 </xccdf:Group>
14183 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2">
14184 <xccdf:title xml:lang="en">Enable SSL Support</xccdf:title>
14185 <xccdf:description xml:lang="en">
14186 SSL should be used to encrypt network traffic between the
14187 Dovecot server and its clients. Users must authenticate to the Dovecot server in order
14188 to read their mail, and passwords should never be transmitted in clear text. In
14189 addition, protecting mail as it is downloaded is a privacy measure, and clients may use
14190 SSL certificates to authenticate the server, preventing another system from
14191 impersonating the server. See Section 2.5.6 for general SSL information, including the
14192 setup of a Certificate Authority (CA).</xccdf:description>
14193 <xccdf:reference>Apache 2 with SSL/TLS: Step-by-step, Part 2. Tech. rep.</xccdf:reference>
14194 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.1">
14195 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
14196 <xccdf:description xml:lang="en">
14197 Note: The following steps should be performed on your CA
14198 system, and not on the Dovecot server itself. If you will have a commercial CA sign
14199 certificates, then these steps should be performed on a separate, physically secure
14200 system devoted to that purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14201 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14202 On your CA (if you are using your own) or on another
14203 physically secure system, generate a key pair for the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14205 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/>
14206 # openssl genrsa -out imapserverkey.pem 2048 <xhtml:br/></xhtml:code>
14207 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14208 Next, generate a
14209 certificate signing request (CSR) for the CA to sign, making sure to enter the
14210 server's fully-qualified domain name when prompted for the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14211 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14212 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key imapserverkey.pem -out imapserver.csr <xhtml:br/></xhtml:code>
14213 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14214 Next, the mail server CSR must be
14215 signed to create the Dovecot server certificate. You can either send the CSR to an
14216 established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14217 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14218 To sign imapserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14219 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14220 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in imapserver.csr -out imapservercert.pem <xhtml:br/></xhtml:code>
14221 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14222 This step creates a private key,
14223 imapserverkey.pem, and a public certificate, imapservercert.pem. The Dovecot server
14224 will use these to prove its identity by demonstrating that it has a certificate which
14225 has been signed by a CA. POP3 or IMAP clients at your site should only be willing to
14226 provide users' credentials to a server they can authenticate.</xccdf:description>
14227 </xccdf:Group>
14228 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.2">
14229 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
14230 <xccdf:description xml:lang="en">
14231 Create the PKI directory for POP and IMAP certificates if it
14232 does not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14233 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14234 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/imap <xhtml:br/>
14235 # chown root:root /etc/pki/tls/imap<xhtml:br/>
14236 # chmod 755 /etc/pki/tls/imap <xhtml:br/></xhtml:code>
14237 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14238 Using removable media or some other secure transmission
14239 format, install the files generated in the previous step onto the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14240 <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"/>
14241 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14242 Verify thepermissions on these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14243 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14244 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/imap/serverkey.pem <xhtml:br/>
14245 # chown root:root /etc/pki/tls/imap/servercert.pem <xhtml:br/>
14246 # chmod 600 /etc/pki/tls/imap/serverkey.pem<xhtml:br/>
14247 # chmod 600 /etc/pki/tls/imap/servercert.pem <xhtml:br/></xhtml:code>
14248 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14249 Verify that the CA's public certificate
14250 file has been installed as /etc/pki/tls/CA/cacert.pem, and has the correct
14251 permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14252 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14253 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
14254 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
14255 </xccdf:Group>
14256 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.3">
14257 <xccdf:title xml:lang="en">Configure Dovecot to Use the SSL Certificate</xccdf:title>
14258 <xccdf:description xml:lang="en">
14259 Edit /etc/dovecot.conf and add or correct the following lines
14260 (ensuring they reference the appropriate files): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14261 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14262 ssl_cert_file = /etc/pki/tls/imap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14263 ssl_key_file = /etc/pki/tls/imap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14264 ssl_ca_file = /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14265 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14266 These options tell Dovecot where to find the
14267 TLS configuration, allowing clients to make encrypted connections.</xccdf:description>
14268 </xccdf:Group>
14269 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.4">
14270 <xccdf:title xml:lang="en">Disable Plaintext Authentication</xccdf:title>
14271 <xccdf:description xml:lang="en">
14272 To prevent Dovecot from attempting plaintext authentication
14273 of clients, edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14275 disable_plaintext_auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14276 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14277 The disable_plaintext_auth command disallows
14278 login-related commands until an encrypted session has been negotiated using SSL. If
14279 client compatibility requires you to allow connections to the pop3 or imap ports,
14280 rather than the alternate SSL ports, you should use this command to require STARTTLS
14281 before authentication.</xccdf:description>
14282 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false" weight="10.0">
14283 <xccdf:title>Disable Plaintext Authentication</xccdf:title>
14284 <xccdf:description>Dovecot plaintext authentication of clients should be disabled</xccdf:description>
14285 <xccdf:ident system="http://cce.mitre.org">CCE-4552-6</xccdf:ident>
14286 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14287 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14288 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20337"/>
14289 </xccdf:check>
14290 </xccdf:Rule>
14291 </xccdf:Group>
14292 </xccdf:Group>
14293 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.3">
14294 <xccdf:title xml:lang="en">Enable Dovecot Options to Protect Against Code Flaws</xccdf:title>
14295 <xccdf:description xml:lang="en">
14296 Edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14297 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14298 login_process_per_connection = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14299 mail_drop_priv_before_exec = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14300 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14301 IMAP and POP3 are
14302 remote authenticated protocols, meaning that the server must accept remote connections
14303 from anyone, but provide substantial services only to clients who have successfully
14304 authenticated. To protect against security problems, Dovecot splits these functions into
14305 separate server processes. The imap-login and/or pop3-login processes accept connections
14306 from unauthenticated users, and only spawn imap or pop3 processes on successful
14307 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14309 However, the imap-login and pop3-login processes themselves may contain
14310 vulnerabilities. Since each of these processes operates as a daemon, handling multiple
14311 sequential client connections from different users, bugs in the code could allow
14312 unauthenticated users to steal credential data. If the login_process_per_connection
14313 option is enabled, then a separate imap-login or pop3-login process is created for each
14314 new connection, protecting against this class of problems. This option has an efficiency
14315 cost, but is strongly recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14316 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14317 If the mail_drop_priv_before_exec option is on, the
14318 imap-login or pop3-login process will drop privileges to the user's ID after
14319 authentication and before executing the imap or pop3 process itself. Under some very
14320 limited circumstances, this could protect against privilege escalation by authenticated
14321 users. However, if the mail executable option is used to run code before starting each
14322 user's session, it is important to drop privileges to prevent the custom code from
14323 running as root.</xccdf:description>
14324 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false" weight="10.0">
14325 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14326 <xccdf:description>The Dovecot option to drop privileges to user before executing mail process should be enabled</xccdf:description>
14327 <xccdf:ident system="http://cce.mitre.org">CCE-4371-1</xccdf:ident>
14328 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14329 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14330 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20338"/>
14331 </xccdf:check>
14332 </xccdf:Rule>
14333 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false" weight="10.0">
14334 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14335 <xccdf:description>The Dovecot option to spawn a new login process per connection should be enabled</xccdf:description>
14336 <xccdf:ident system="http://cce.mitre.org">CCE-4410-7</xccdf:ident>
14337 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14338 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14339 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20339"/>
14340 </xccdf:check>
14341 </xccdf:Rule>
14342 </xccdf:Group>
14343 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.4">
14344 <xccdf:title xml:lang="en">Allow IMAP Clients to Access the Server</xccdf:title>
14345 <xccdf:description xml:lang="en">
14346 Edit /etc/sysconfig/iptables. Add the following line, ensuring
14347 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"/>
14348 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14349 -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"/>
14350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14351 The default
14352 iptables configuration does not allow inbound access to any services. This modification
14353 will allow remote hosts to initiate connections to the IMAP daemon, while keeping all
14354 other ports on the server in their default protected state. See Section 2.5.5 for more
14355 information about iptables.</xccdf:description>
14356 </xccdf:Group>
14357 </xccdf:Group>
14358 </xccdf:Group>
14359 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18">
14360 <xccdf:title xml:lang="en">Samba(SMB) Microsoft Windows File Sharing Server</xccdf:title>
14361 <xccdf:description xml:lang="en">
14362 When properly configured, the Samba service allows Linux machines
14363 to provide file and print sharing to Microsoft Windows machines. There are two software
14364 packages that provide Samba support. The first, samba-client, provides a series of command
14365 line tools that enable a client machine to access Samba shares. The second, simply labeled
14366 samba, provides the Samba service. It is this second package that allows a Linux machine to
14367 act as an Active Directory server, a domain controller, or as a domain member. Only the
14368 samba-client package is installed by default.</xccdf:description>
14369 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.1">
14370 <xccdf:title xml:lang="en">Disable Samba if Possible</xccdf:title>
14371 <xccdf:description xml:lang="en">
14372 If the Samba service has been enabled and will not be used, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14373 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14374 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smb off <xhtml:br/></xhtml:code>
14375 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14376 Even after the Samba server package has been installed, it
14377 will remain disabled. Do not enable this service unless it is absolutely necessary to
14378 provide Microsoft Windows file and print sharing functionality.</xccdf:description>
14379 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.1.a" selected="false" severity="medium" weight="10.0">
14380 <xccdf:title>Disable Samba if Possible</xccdf:title>
14381 <xccdf:description>The smb service should be disabled.</xccdf:description>
14382 <xccdf:ident system="http://cce.mitre.org">CCE-4551-8</xccdf:ident>
14383 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14384 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14385 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20340"/>
14386 </xccdf:check>
14387 </xccdf:Rule>
14388 </xccdf:Group>
14389 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2">
14390 <xccdf:title xml:lang="en">Configure Samba if Necessary</xccdf:title>
14391 <xccdf:description xml:lang="en">
14392 All settings for the Samba daemon can be found in
14393 /etc/samba/smb.conf. Settings are divided between a [global] configuration section and a
14394 series of user created share definition sections meant to describe file or print shares on
14395 the system. By default, Samba will operate in user mode and allow client machines to
14396 access local home directories and printers. It is recommended that these settings be
14397 changed or that additional limitations be set in place.</xccdf:description>
14398 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.1">
14399 <xccdf:title xml:lang="en">Testing the Samba Configuration File</xccdf:title>
14400 <xccdf:description xml:lang="en">
14401 To test the configuration file for syntax errors, use the
14402 testparm command. It will also list all settings currently in place, including defaults
14403 that may not appear in the configuration file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14404 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14405 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># testparm -v</xhtml:code></xccdf:description>
14406 </xccdf:Group>
14407 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2">
14408 <xccdf:title xml:lang="en">Choosing the Appropriate security Parameter</xccdf:title>
14409 <xccdf:description xml:lang="en">
14410 There are two kinds of security in Samba, share-level (share)
14411 and user-level. User-level security is further subdivided into four separate
14412 implementations: user, domain, ads, and server. It is recommended that the share and
14413 server security modes not be used. In share security, everyone is given the same
14414 password for each share, preventing individual user accountability. server security mode
14415 has been superseded by the domain and ads security modes. It may now be considered
14416 obsolete. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14417 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14418 The security parameter is set in the [global] section of the Samba
14419 configuration file. It determines how the server will handle user names and passwords.
14420 Some security modes require additional parameters, such as workgroup, realm, or password
14421 server names. All security modes will require that each remote user have a matching
14422 local account. One workaround to this problem is to use the winbindd daemon. Please
14423 consult the official Samba documentation to learn more.</xccdf:description>
14424 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.1">
14425 <xccdf:title xml:lang="en">Use user Security for Servers Not in a Domain Context</xccdf:title>
14426 <xccdf:description xml:lang="en">
14427 This is the default setting with a new Samba installation and
14428 the best choice when operating outside of a domain security context. The relevant
14429 parameters in /etc/samba/smb.conf will read as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14430 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14431 security = user <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14432 workgroup = MYGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14433 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14434 Set the value of workgroup so that it matches the value of other machines on
14435 the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14437 In user mode, authentication requests are handled locally and not passed
14438 on to a separate authentication server. This is the desired behavior for standalone
14439 servers and domain controllers.</xccdf:description>
14440 </xccdf:Group>
14441 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.2">
14442 <xccdf:title xml:lang="en">Use domain Security for Servers in a Domain Context</xccdf:title>
14443 <xccdf:description xml:lang="en">
14444 First, change the security parameter to domain.
14445 Next, set the workgroup and netbios name parameters (if necessary): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14446 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14447 security = domain<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14448 workgroup = WORKGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14449 netbios name = NETBIOSNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14450 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14451 domain mode is used for any machine
14452 that will act as a domain member server. It lets Samba know that the authentication
14453 information it needs can be found on another machine. Primary and Backup Domain
14454 Controllers host copies of this information. Samba will try to automatically determine
14455 which machine it should authenticate against on a domain network. If this detection
14456 fails, it may be necessary to specify the location manually. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14457 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14458 Unlike the Microsoft
14459 Windows implementation of the SMB standard, a Samba machine can freely change roles
14460 within a domain without requiring that the machine be reinstalled (such roles include
14461 primary and backup domain controllers, domain member servers, and ordinary domain
14462 workstations). However, there are some limitations on how each machine can fulfill
14463 each role in a mixed network.</xccdf:description>
14464 <xccdf:warning xml:lang="en">When using Samba as a Primary or Backup Domain Controller,
14465 use security = user, not security = domain. This tells Samba that the local machine is
14466 hosting the authentication backend. </xccdf:warning>
14467 </xccdf:Group>
14468 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.3">
14469 <xccdf:title xml:lang="en">Use ads (Active Directory Service) Security For Servers in an ADS
14470 Domain</xccdf:title>
14471 <xccdf:description xml:lang="en">
14472 Context The security mode ads enables a Samba machine to act
14473 as an ADS domain member server. Since ADS requires Kerberos, be sure to set the realm
14474 parameter appropriately and configure the local copy of Kerberos. If necessary, it is
14475 also possible to manually set the password server parameter. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14476 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14477 security = ads <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14478 realm = MY_REALM <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14479 password server = your.kerberos.server <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14481 Currently, it is possible to act as an
14482 Active Directory domain member server, but not as a domain controller. Be sure to
14483 operate in mixed mode. Native mode may not work yet in current versions of Samba.
14484 Future support for ADS should be forthcoming in Samba 4. See the Samba project web
14485 site at http://www.samba.org for more details.</xccdf:description>
14486 </xccdf:Group>
14487 </xccdf:Group>
14488 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.3">
14489 <xccdf:title xml:lang="en">Disable Guest Access and Local Login Support</xccdf:title>
14490 <xccdf:description xml:lang="en">
14491 Do not allow guest users to access local file or printer
14492 shares. In global or in each share, set the parameter guest ok to no: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14493 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14494 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14495 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14496 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14497 It is safe to disable local login support for remote Samba users. Consider changing
14498 the add user account script to set remote user shells to /sbin/nologin.</xccdf:description>
14499 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false" weight="10.0">
14500 <xccdf:title>Disable Guest Access and Local Login Support</xccdf:title>
14501 <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>
14502 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [share] guest ok = no </xccdf:fixtext>
14503 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14504 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203403"/>
14505 </xccdf:check>
14506 </xccdf:Rule>
14507 </xccdf:Group>
14508 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.4">
14509 <xccdf:title xml:lang="en">Disable Root Access</xccdf:title>
14510 <xccdf:description xml:lang="en">
14511 Administrators should not use administrator accounts to access
14512 Samba file and printer shares. If possible, disable the root user and the wheel
14513 administrator group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14514 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14515 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14516 invalid users = root @wheel <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14517 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14518 If administrator accounts
14519 cannot be disabled, ensure that local machine passwords and Samba service passwords do
14520 not match. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14521 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14522 Typically, administrator access is required when Samba must create user and
14523 machine accounts and shares. Domain member servers and standalone servers may not need
14524 administrator access at all. If that is the case, add the invalid users parameter to
14525 [global] instead.</xccdf:description>
14526 </xccdf:Group>
14527 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.5">
14528 <xccdf:title xml:lang="en">Set the Allowed Authentication Negotiation Levels</xccdf:title>
14529 <xccdf:description xml:lang="en">By default, Samba will attempt to negotiate with Microsoft
14530 Windows machines to set a common communication protocol. Whenever possible, be sure to
14531 disable LANMAN authentication, as it is far weaker than the other supported protocols.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14532 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14533 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14534 client lanman auth = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14535 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14536 Newer versions of Microsoft Windows may require the use
14537 of NTLMv2. NTLMv2 is the preferred protocol for authentication, but since older machines
14538 do not support it, Samba has disabled it by default. If possible, reenable it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14539 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14540 [global]<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14541 client ntlmv2 auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14542 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14543 For the sake of backwards compatibility, most modern Windows
14544 machines will still allow other machines to communicate with them over weak protocols
14545 such as LANMAN. On Samba, by enabling NTLMv2, you are also disabling LANMAN and NTLMv1.
14546 If NTLMv1 is required, it is still possible to individually disable LANMAN.</xccdf:description>
14547 </xccdf:Group>
14548 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.6">
14549 <xccdf:title xml:lang="en">Let Domain Controllers Create Machine Trust Accounts On-the-Fly</xccdf:title>
14550 <xccdf:description xml:lang="en">
14551 Add or correct an add machine script entry to the [global]
14552 section of /etc/samba/smb.conf to allow Samba to dynamically create Machine Trust
14553 Accounts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14554 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14555 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14556 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"/>
14557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14558 Make sure that the group machines exists. If not, add it with the
14559 following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14560 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14561 /usr/sbin/groupadd machines <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14563 When acting as a PDC, it becomes
14564 necessary to create and store Machine Trust Accounts for each machine that joins the
14565 domain. On a Microsoft Windows PDC, this account is created with the Server Manager
14566 tool, but on a Samba PDC, two accounts must be created. The first is the local machine
14567 account, and the second is the Samba account. For security purposes, it is recommended
14568 to let Samba create these accounts on-the-fly. When Machine Trust Accounts are created
14569 manually, there is a small window of opportunity in which a rogue machine could join the
14570 domain in place of the new server.</xccdf:description>
14571 </xccdf:Group>
14572 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.7">
14573 <xccdf:title xml:lang="en">Restrict Access to the [IPC$] Share</xccdf:title>
14574 <xccdf:description xml:lang="en">
14575 Limit access to the [IPC$] share so that only machines in your
14576 network will be able to connect to it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14577 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14578 [IPC$] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14579 hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14580 hosts deny = 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14581 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14582 The [IPC$] share allows users to anonymously fetch a list of shared
14583 resources from a server. It is intended to allow users to browse the list of available
14584 shares. It also can be used as a point of attack into a system. Disabling it completely
14585 may break some functionality, so it is recommended that you merely limit access to it
14586 instead.</xccdf:description>
14587 </xccdf:Group>
14588 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.8">
14589 <xccdf:title xml:lang="en">Restrict File Sharing</xccdf:title>
14590 <xccdf:description xml:lang="en">
14591 Only users with local user accounts will be able to log in to
14592 Samba shares by default. Shares can be limited to particular users or network addresses.
14593 Use the hosts allow and hosts deny directives accordingly, and consider setting the
14594 valid users directive to a limited subset of users or to a group of users. Separate each
14595 address, user, or user group with a space as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14597 [share] hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14598 valid users = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14600 It is also possible to limit read and
14601 write access to particular users with the read list and write list options, though the
14602 permissions set by the system itself will override these settings. Set the read only
14603 attribute for each share to ensure that global settings will not accidentally override
14604 the individual share settings. Then, as with the valid users directive, separate each
14605 user or group of users with a space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14607 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14608 read only = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14609 write list = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14611 The Samba service is only required for sharing files and printers
14612 with Microsoft Windows workstations, and even then, other options may exist. Do not use
14613 the Samba service to share files between Unix or Linux machines.</xccdf:description>
14614 </xccdf:Group>
14615 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.9">
14616 <xccdf:title xml:lang="en">Require Server SMB Packet Signing</xccdf:title>
14617 <xccdf:description xml:lang="en">
14618 To make the server use packet signing, add the following to the [global] section of the Samba configuration
14619 file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14620 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14621 server signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14622 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14623 The Samba server should only communicate with clients who can support SMB packet signing. Packet signing
14624 can prevent man-in-the-middle attacks which modify SMB packets in transit.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14625 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14626 The Samba service is only required for sharing files and printers with Microsoft Windows workstations, and even
14627 then, other options may exist. Do not use the Samba service to share files between Unix or Linux machines.
14628 </xccdf:description>
14629 </xccdf:Group>
14630 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.10">
14631 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using smbclient</xccdf:title>
14632 <xccdf:description xml:lang="en">
14633 To require samba clients running smbclient to use packet signing, add the following to the [global] section
14634 of the Samba configuration file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14635 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14636 client signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14637 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14638 A Samba client should only communicate with servers who can support SMB packet signing. Packet signing can
14639 prevent man-in-the-middle attacks which modify SMB packets in transit.
14640 </xccdf:description>
14641 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false" weight="10.0">
14642 <xccdf:title>Require Client SMB Packet Signing, if using smbclient</xccdf:title>
14643 <xccdf:description>
14644 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
14645 prevent man-in-the-middle attacks which modify SMB packets in transit.</xccdf:description>
14646 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
14647 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [global] client signing = mandatory</xccdf:fixtext>
14648 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14649 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:2034010"/>
14650 </xccdf:check>
14651 </xccdf:Rule>
14652 </xccdf:Group>
14653 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.11">
14654 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
14655 <xccdf:description xml:lang="en">
14656 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
14657 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
14658 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14659 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14660 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
14661 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
14662 packets in transit.
14663 </xccdf:description>
14664 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false" weight="10.0">
14665 <xccdf:title>Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
14666 <xccdf:description>
14667 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
14668 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
14669 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14671 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
14672 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
14673 packets in transit.</xccdf:description>
14674 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
14675 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
14676 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14677 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:2034011"/>
14678 </xccdf:check>
14679 </xccdf:Rule>
14680 </xccdf:Group>
14681 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.12">
14682 <xccdf:title xml:lang="en">Restrict Printer Sharing</xccdf:title>
14683 <xccdf:description xml:lang="en">
14684 By default, Samba utilizes the CUPS printing service to enable
14685 printer sharing with Microsoft Windows workstations. If there are no printers on the
14686 local machine, or if printer sharing with Microsoft Windows is not required, disable the
14687 printer sharing capability by commenting out the following lines, found in /etc/
14688 samba/smb.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14689 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14690 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14691 ; load printers = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14692 ; cups options = raw <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14693 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14694 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14695 comment = All Printers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14696 path = /usr/spool/samba <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14697 browseable = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14698 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14699 writable = no
14700 printable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14701 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14702 There may be other options present, but these are the only options
14703 enabled and uncommented by default. Removing the [printers] share should be enough for
14704 most users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14705 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14706 If the Samba printer sharing capability is needed, consider disabling the
14707 Samba network browsing capability or restricting access to a particular set of users or
14708 network addresses. Set the valid users parameter to a small subset of users or restrict
14709 it to a particular group of users with the shorthand @. Separate each user or group of
14710 users with a space. For example, under the [printers] share: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14711 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14712 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14713 valid users = user @printerusers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14714 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14715 The CUPS service is capable of sharing printers with other Unix and
14716 Linux machines on the local network without the Samba service. The Samba service is only
14717 required when a Microsoft Windows machine needs printer access on a Unix or Linux host.</xccdf:description>
14718 </xccdf:Group>
14719 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.13">
14720 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Samba Server</xccdf:title>
14721 <xccdf:description xml:lang="en">
14722 Determine an appropriate network block, netwk , and network
14723 mask, mask , representing the machines on your network which should operate as clients
14724 of the Samba server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14725 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14726 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
14727 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"/>
14728 -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"/>
14729 -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"/>
14730 -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"/>
14731 -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"/>
14732 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14733 The default Iptables configuration does not allow inbound access to the ports used by
14734 the Samba service. This modification allows that access, while keeping other ports on
14735 the server in their default protected state. Since these ports are frequent targets of
14736 network scanning attacks, restricting access to only the network segments which need to
14737 access the Samba server is strongly recommended. See Section 2.5.5 for more information
14738 about Iptables.</xccdf:description>
14739 </xccdf:Group>
14740 </xccdf:Group>
14741 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.3">
14742 <xccdf:title xml:lang="en">Avoid the Samba Web Administration Tool (SWAT)</xccdf:title>
14743 <xccdf:description xml:lang="en">
14744 SWAT is a web based configuration tool provided by the Samba team
14745 that enables both local and remote configuration management. It is not installed by
14746 default. It is recommended that SWAT not be used, as it requires the use of a Samba
14747 administrator account and sends that password in the clear over a network connection. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14748 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14749 If
14750 SWAT is absolutely required, limit access to the local machine or tunnel SWAT connections
14751 through SSL with stunnel.</xccdf:description>
14752 </xccdf:Group>
14753 </xccdf:Group>
14754 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19">
14755 <xccdf:title xml:lang="en">Proxy Server</xccdf:title>
14756 <xccdf:description xml:lang="en">
14757 A proxy server is a very desirable target for a potential adversary
14758 because much (or all) sensitive data for a given infrastructure may flow through it.
14759 Therefore, if one is required, the machine acting as a proxy server should be dedicated to
14760 that purpose alone and be stored in a physically secure location. The system's default proxy
14761 server software is Squid, and provided in an RPM package of the same name.</xccdf:description>
14762 <xccdf:reference>Galarneua, E. Security Considerations with Squid proxy server. Tech. rep., Apr 2003</xccdf:reference>
14763 <xccdf:reference>Wessels, D. Squid: The Definitive Guide. O’Reilly and Associates, Jan 2004</xccdf:reference>
14764 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.1">
14765 <xccdf:title xml:lang="en">Disable Squid if Possible</xccdf:title>
14766 <xccdf:description xml:lang="en">
14767 If Squid was installed and activated, but the system does not
14768 need to act as a proxy server, then it should be disabled and removed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14769 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14770 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig squid off <xhtml:br/>
14771 # yum erase squid</xhtml:code></xccdf:description>
14772 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.a" selected="false" severity="low" weight="10.0">
14773 <xccdf:title>Disable Squid if Possible</xccdf:title>
14774 <xccdf:description>The squid service should be disabled.</xccdf:description>
14775 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
14776 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14777 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14778 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20341"/>
14779 </xccdf:check>
14780 </xccdf:Rule>
14781 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.b" selected="false" weight="10.0">
14782 <xccdf:title>Uninstall Squid if Possible</xccdf:title>
14783 <xccdf:description>The squid package should be uninstalled.</xccdf:description>
14784 <xccdf:ident system="http://cce.mitre.org">CCE-4076-6</xccdf:ident>
14785 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
14786 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14787 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20342"/>
14788 </xccdf:check>
14789 </xccdf:Rule>
14790 </xccdf:Group>
14791 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2">
14792 <xccdf:title xml:lang="en">Configure Squid if Necessary</xccdf:title>
14793 <xccdf:description xml:lang="en">
14794 The Squid configuration file is /etc/squid/squid.conf. The
14795 following recommendations can be applied to this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14796 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14797 Note: If a particular tag is not
14798 present in the configuration file, Squid falls back to the default setting (which is often
14799 illustrated by a comment).</xccdf:description>
14800 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.1">
14801 <xccdf:title xml:lang="en">Listen on Uncommon Port</xccdf:title>
14802 <xccdf:description xml:lang="en">
14803 The default listening port for the Squid service is 3128. As
14804 such, it is frequently scanned by adversaries looking for proxy servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14805 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14806 Select an
14807 arbitrary (but uncommon) high port to use as the Squid listening port and make the
14808 corresponding change to the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14809 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14810 http_port port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14811 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14812 Run the following command
14813 to add a new SELinux port mapping for the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14814 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14815 <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>
14816 </xccdf:Group>
14817 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.2">
14818 <xccdf:title xml:lang="en">Verify Default Secure Settings</xccdf:title>
14819 <xccdf:description xml:lang="en">
14820 Several security-enhancing settings in the Squid configuration
14821 file are enabled by default, but appear as comments in the configuration file (as
14822 mentioned in Section 3.19.2). In these instances, the explicit directive is not present,
14823 which means it is implicitly enabled. If you are operating with a default configuration
14824 file, this section can be ignored. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14825 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14826 Ensure that the following security settings are NOT
14827 explicitly changed from their default values: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14828 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14829 ftp_passive on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14830 ftp_sanitycheck on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14831 check_hostnames on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14832 request_header_max_size 20 KB <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14833 reply_header_max_size 20 KB<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14834 cache_effective_user squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14835 cache_effective_group squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14836 ignore_unknown_nameservers on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14837 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14838 ftp_passive forces FTP passive connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14839 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14840 ftp_sanitycheck performs additional sanity checks on FTP data connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14841 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14842 check_hostnames ensures that hostnames meet RFC compliance. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14843 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14844 request_header_max_size and reply_header_max_size place an upper limit on
14845 HTTP header length, precautions against denial-of-service and buffer overflow
14846 vulnerabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14847 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14848 cache_effective_user and cache_effective_group designate the EUID and
14849 EGID of Squid following initialization (it is essential that the EUID/EGID be set to an
14850 unprivileged sandbox account). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14851 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14852 ignore_unknown_nameservers checks to make sure that DNS
14853 responses come from the same IP the request was sent to.</xccdf:description>
14854 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.d" operator="equals" type="string">
14855 <xccdf:title>request_header_max_size</xccdf:title>
14856 <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>
14857 <xccdf:question xml:lang="en">Specify an upper limit on HTTP request header length</xccdf:question>
14858 <xccdf:value>20kb</xccdf:value>
14859 <xccdf:value selector="20kb">20kb</xccdf:value>
14860 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
14861 </xccdf:Value>
14862 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.e" operator="equals" type="string">
14863 <xccdf:title>reply_header_max_size</xccdf:title>
14864 <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>
14865 <xccdf:question xml:lang="en">Specify an upper limit on HTTP reply header length</xccdf:question>
14866 <xccdf:value>20kb</xccdf:value>
14867 <xccdf:value selector="20kb">20kb</xccdf:value>
14868 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
14869 </xccdf:Value>
14870 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.f" operator="equals" type="string">
14871 <xccdf:title>cache_effective_user</xccdf:title>
14872 <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>
14873 <xccdf:question xml:lang="en">Designate the EUID of Squid following initialization</xccdf:question>
14874 <xccdf:value>squid</xccdf:value>
14875 <xccdf:value selector="squid">squid</xccdf:value>
14876 </xccdf:Value>
14877 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.g" operator="equals" type="string">
14878 <xccdf:title>cache_effective_group</xccdf:title>
14879 <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>
14880 <xccdf:question xml:lang="en">Designate the EGID of Squid following initialization</xccdf:question>
14881 <xccdf:value>squid</xccdf:value>
14882 <xccdf:value selector="squid">squid</xccdf:value>
14883 </xccdf:Value>
14884 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false" weight="10.0">
14885 <xccdf:title>Verify ftp_passive setting</xccdf:title>
14886 <xccdf:description>The Squid option to force FTP passive connections should be enabled</xccdf:description>
14887 <xccdf:ident system="http://cce.mitre.org">CCE-4454-5</xccdf:ident>
14888 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14889 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14890 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20343"/>
14891 </xccdf:check>
14892 </xccdf:Rule>
14893 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false" weight="10.0">
14894 <xccdf:title>Verify ftp_sanitycheck setting</xccdf:title>
14895 <xccdf:description>The Squid option to perform FTP sanity checks should be enabled</xccdf:description>
14896 <xccdf:ident system="http://cce.mitre.org">CCE-4459-4</xccdf:ident>
14897 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14898 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14899 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20344"/>
14900 </xccdf:check>
14901 </xccdf:Rule>
14902 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false" weight="10.0">
14903 <xccdf:title>Verify check_hostnames stting</xccdf:title>
14904 <xccdf:description>The Squid option to check for RFC compliant hostnames should be enabled</xccdf:description>
14905 <xccdf:ident system="http://cce.mitre.org">CCE-4503-9</xccdf:ident>
14906 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14907 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14908 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20345"/>
14909 </xccdf:check>
14910 </xccdf:Rule>
14911 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false" weight="10.0">
14912 <xccdf:title>Verify request_header_max_size setting</xccdf:title>
14913 <xccdf:description>The Squid max request HTTP header length should be set to an appropriate value</xccdf:description>
14914 <xccdf:ident system="http://cce.mitre.org">CCE-4353-9</xccdf:ident>
14915 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14916 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14917 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20346" value-id="xccdf_cdf_value_var-3.19.2.2.d"/>
14918 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20346"/>
14919 </xccdf:check>
14920 </xccdf:Rule>
14921 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false" weight="10.0">
14922 <xccdf:title>Verify reply_header_max_size setting</xccdf:title>
14923 <xccdf:description>The Squid max reply HTTP header length should be set to an appropriate value</xccdf:description>
14924 <xccdf:ident system="http://cce.mitre.org">CCE-4419-8</xccdf:ident>
14925 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14926 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14927 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20347" value-id="xccdf_cdf_value_var-3.19.2.2.e"/>
14928 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20347"/>
14929 </xccdf:check>
14930 </xccdf:Rule>
14931 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false" weight="10.0">
14932 <xccdf:title>Verify cache_effective_user setting</xccdf:title>
14933 <xccdf:description>The Squid EUID should be set to an appropriate user</xccdf:description>
14934 <xccdf:ident system="http://cce.mitre.org">CCE-3692-1</xccdf:ident>
14935 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14936 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14937 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20348" value-id="xccdf_cdf_value_var-3.19.2.2.f"/>
14938 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20348"/>
14939 </xccdf:check>
14940 </xccdf:Rule>
14941 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false" weight="10.0">
14942 <xccdf:title>Verify cache_effective_group setting</xccdf:title>
14943 <xccdf:description>The Squid GUID should be set to an appropriate group</xccdf:description>
14944 <xccdf:ident system="http://cce.mitre.org">CCE-4476-8</xccdf:ident>
14945 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14946 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14947 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20349" value-id="xccdf_cdf_value_var-3.19.2.2.g"/>
14948 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20349"/>
14949 </xccdf:check>
14950 </xccdf:Rule>
14951 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false" weight="10.0">
14952 <xccdf:title>Verify ignore_unknown_nameservers setting</xccdf:title>
14953 <xccdf:description>The Squid option to ignore unknown nameservers should be enabled</xccdf:description>
14954 <xccdf:ident system="http://cce.mitre.org">CCE-3585-7</xccdf:ident>
14955 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
14956 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14957 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20350"/>
14958 </xccdf:check>
14959 </xccdf:Rule>
14960 </xccdf:Group>
14961 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.3">
14962 <xccdf:title xml:lang="en">Change Default Insecure Settings</xccdf:title>
14963 <xccdf:description xml:lang="en">
14964 The default configuration settings for the following tags are
14965 considered to be weak security and NOT recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14966 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14967 Add or modify the configuration file to include the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14968 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14969 allow_underscore off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14970 httpd_suppress_version_string on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14971 forwarded_for off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14972 log_mime_hdrs on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14973 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14974 allow_underscore enforces RFC 1034 compliance on
14975 hostnames by disallowing the use of underscores. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14976 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14977 httpd_suppress_version string prevents
14978 Squid from revealing version information in web headers and error pages. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14979 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14980 forwarded_for
14981 reveals proxy client IP addresses in HTTP headers and should be disabled to prevent the
14982 leakage of internal network configuration details. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14983 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14984 log_mime_hdrs enables logging of HTTP
14985 response/request headers.</xccdf:description>
14986 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.a" operator="equals" type="string">
14987 <xccdf:title>allow_underscore</xccdf:title>
14988 <xccdf:description xml:lang="en">allow_underscore enforces RFC 1034 compliance on hostnames by disallowing the use of underscores.</xccdf:description>
14989 <xccdf:question xml:lang="en">Enable/Disable enforcing RFC 1034 compliance on hostnames</xccdf:question>
14990 <xccdf:value>off</xccdf:value>
14991 <xccdf:value selector="enabled">on</xccdf:value>
14992 <xccdf:value selector="disabled">off</xccdf:value>
14993 <xccdf:match>on|off</xccdf:match>
14994 <xccdf:choices mustMatch="1">
14995 <xccdf:choice>on</xccdf:choice>
14996 <xccdf:choice>off</xccdf:choice>
14997 </xccdf:choices>
14998 </xccdf:Value>
14999 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.b" operator="equals" type="string">
15000 <xccdf:title>httpd_suppress_version</xccdf:title>
15001 <xccdf:description xml:lang="en">httpd_suppress_version string prevents Squid from revealing version information in web headers and error pages.</xccdf:description>
15002 <xccdf:question xml:lang="en">Enable/Disable preventing squid from revealing version information in web headers and error pages</xccdf:question>
15003 <xccdf:value>on</xccdf:value>
15004 <xccdf:value selector="enabled">on</xccdf:value>
15005 <xccdf:value selector="disabled">off</xccdf:value>
15006 <xccdf:match>on|off</xccdf:match>
15007 <xccdf:choices mustMatch="1">
15008 <xccdf:choice>on</xccdf:choice>
15009 <xccdf:choice>off</xccdf:choice>
15010 </xccdf:choices>
15011 </xccdf:Value>
15012 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.c" operator="equals" type="string">
15013 <xccdf:title>forwarded_for</xccdf:title>
15014 <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>
15015 <xccdf:question xml:lang="en">Enable/Disable revealing proxy client IP addresses in HTTP headers</xccdf:question>
15016 <xccdf:value>off</xccdf:value>
15017 <xccdf:value selector="enabled">on</xccdf:value>
15018 <xccdf:value selector="disabled">off</xccdf:value>
15019 <xccdf:match>on|off</xccdf:match>
15020 <xccdf:choices mustMatch="1">
15021 <xccdf:choice>on</xccdf:choice>
15022 <xccdf:choice>off</xccdf:choice>
15023 </xccdf:choices>
15024 </xccdf:Value>
15025 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.d" operator="equals" type="string">
15026 <xccdf:title>log_mime_hdrs</xccdf:title>
15027 <xccdf:description xml:lang="en">log_mime_hdrs enables logging of HTTP response/request headers.</xccdf:description>
15028 <xccdf:question xml:lang="en">Enable/Disable logging of HTTP response/request headers</xccdf:question>
15029 <xccdf:value>on</xccdf:value>
15030 <xccdf:value selector="enabled">on</xccdf:value>
15031 <xccdf:value selector="disabled">off</xccdf:value>
15032 <xccdf:match>on|off</xccdf:match>
15033 <xccdf:choices mustMatch="1">
15034 <xccdf:choice>on</xccdf:choice>
15035 <xccdf:choice>off</xccdf:choice>
15036 </xccdf:choices>
15037 </xccdf:Value>
15038 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false" weight="10.0">
15039 <xccdf:title>Check allow_underscore setting</xccdf:title>
15040 <xccdf:description>The Squid option to allow underscores in hostnames should be disabled</xccdf:description>
15041 <xccdf:ident system="http://cce.mitre.org">CCE-4344-8</xccdf:ident>
15042 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15043 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15044 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20351" value-id="xccdf_cdf_value_var-3.19.2.3.a"/>
15045 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20351"/>
15046 </xccdf:check>
15047 </xccdf:Rule>
15048 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false" weight="10.0">
15049 <xccdf:title>Check httpd_suppress_version setting</xccdf:title>
15050 <xccdf:description>The Squid option to suppress the httpd version string should be enabled</xccdf:description>
15051 <xccdf:ident system="http://cce.mitre.org">CCE-4494-1</xccdf:ident>
15052 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15053 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15054 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20352" value-id="xccdf_cdf_value_var-3.19.2.3.b"/>
15055 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20352"/>
15056 </xccdf:check>
15057 </xccdf:Rule>
15058 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false" weight="10.0">
15059 <xccdf:title>Check forwarded_for setting</xccdf:title>
15060 <xccdf:description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled</xccdf:description>
15061 <xccdf:ident system="http://cce.mitre.org">CCE-4181-4</xccdf:ident>
15062 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15063 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15064 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20353" value-id="xccdf_cdf_value_var-3.19.2.3.c"/>
15065 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20353"/>
15066 </xccdf:check>
15067 </xccdf:Rule>
15068 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false" weight="10.0">
15069 <xccdf:title>Check log_mime_hdrs setting</xccdf:title>
15070 <xccdf:description>The Squid option to log HTTP MIME headers should be enabled</xccdf:description>
15071 <xccdf:ident system="http://cce.mitre.org">CCE-4577-3</xccdf:ident>
15072 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15073 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15074 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20354" value-id="xccdf_cdf_value_var-3.19.2.3.d"/>
15075 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20354"/>
15076 </xccdf:check>
15077 </xccdf:Rule>
15078 </xccdf:Group>
15079 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.4">
15080 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
15081 <xccdf:description xml:lang="en">
15082 Note: Authentication cannot be used in the case of transparent
15083 proxies due to limitations of the TCP/IP protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15084 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15085 Similar to web servers, two of the
15086 available options are Basic and Digest authentication. The other options are NTLM and
15087 Negotiate authentication. As noted in Section 3.16.3.5, Basic authentication transmits
15088 passwords in plain-text and is susceptible to passive monitoring. If network sniffing is
15089 a concern, basic authentication should not be used. Negotiate is the newest and most
15090 secure protocol. It attempts to use Kerberos authentication and falls back to NTLM if it
15091 cannot. It should be noted that Kerberos requires a third-party Key Distribution Center
15092 (KDC) to function properly, whereas the other methods of authentication are two-party
15093 schemes. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15095 Squid also offers the ability to choose a custom external authenticator.
15096 Designating an external authenticator (also known as a 'helper' module) allows Squid to
15097 offer pluggable third-party authentication schemes. LDAP is one example of a helper
15098 module that exists and is in use today. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15099 There are comments under the auth_param tag
15100 inside /etc/squid/squid.conf that provide extensive detail on how to configure each of
15101 these methods. If authentication is necessary, choose a method of authentication and
15102 configure appropriately. The recommended minimum configurations illustrated for each
15103 method are acceptable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15104 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15105 To force an ACL (as discussed in Section 3.19.2.5) to require
15106 authentication, use the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15108 acl name-of-ACL proxy_auth REQUIRED <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15109 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15110 Note:
15111 The keyword REQUIRED can be replaced with a user or list of users to further restrict
15112 access to a smaller subset of users.</xccdf:description>
15113 </xccdf:Group>
15114 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.5">
15115 <xccdf:title xml:lang="en">Access Control Lists (ACL)</xccdf:title>
15116 <xccdf:description xml:lang="en">
15117 The acl and http access tags are used in combination to allow filtering based on a series of
15118 access control lists. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15120 Squid has a list of default ACLs for localhost, SSL ports, and
15121 'safe' ports. Following the definition of these ACLs, a series of http access directives
15122 establish the following default filtering policy: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15123 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15124 <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"/>
15125 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15126 The
15127 default ACL policies are reasonable from a security standpoint. However, the number of
15128 ports listed as 'safe' could be significantly trimmed depending on the needs of your
15129 network. Out of the box, ports 21, 70, 80, 210, 280, 443, 488, 591, 777, and 1025
15130 through 65535 are all considered safe. Some of these ports are associated with
15131 deprecated or rarely used protocols. As such, this list could be trimmed to further
15132 tighten filtering. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15134 The following actions should be taken to tighten the ACL policies: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15135 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15136 <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.
15137 This line should be uncommented or added to prevent access to localhost from the proxy:<xhtml:br/>
15138 <xhtml:br/>
15139 http access deny to_localhost </xhtml:li><xhtml:li>An access list should be setup for the specific network
15140 or networks that the proxy is intended to serve. Only this subset of IP addresses should
15141 be allowed access. <xhtml:br/>
15142 <xhtml:br/>
15143 Add these lines where the following comment appears: <xhtml:br/>
15144 <xhtml:br/>
15145 # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS <xhtml:br/>
15146 acl your-network-acl-name src ip-range <xhtml:br/>
15147 http_access allow your-network-acl-name <xhtml:br/>
15148 <xhtml:br/>
15149 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
15150 is the following: <xhtml:br/>
15151 <xhtml:br/>
15152 http_access deny all <xhtml:br/>
15153 <xhtml:br/>
15154 This guarantees that all traffic not meeting an
15155 explicit filtering rule is denied. <xhtml:br/>
15156 <xhtml:br/>
15157 Further filters should be established to meet the
15158 specific needs of a network, explicitly allowing access only where necessary.</xhtml:li><xhtml:li>Consult
15159 the chart below. Corresponding acl entries for unused protocols should be commented out
15160 and thus denied. </xhtml:li></xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15161 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15162 <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)
15163 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
15164 deprecated search and retrieval protocol that is almost extinct, with as few as 100
15165 gopher servers present worldwide. Support for gopher is disabled in most modern
15166 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
15167 system to scour indexes on remote machines. Today, it is deprecated and nearly
15168 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
15169 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
15170 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
15171 documentation of any kind could be found on the obscure service that resides on this
15172 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
15173 in the 1980s. Although development continues and it remains in use today, it should be
15174 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
15175 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
15176 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>
15177 <xccdf:warning xml:lang="en">Be very careful with the order of access control tags. Access
15178 control is handled top-down. The first rule that matches is the only rule adhered to.
15179 The last rule on the list defines the default behavior in the case of no rule match. </xccdf:warning>
15180 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false" weight="10.0">
15181 <xccdf:title>Restrict gss-http traffic</xccdf:title>
15182 <xccdf:description>Squid should be configured to not allow gss-http traffic</xccdf:description>
15183 <xccdf:ident system="http://cce.mitre.org">CCE-4511-2</xccdf:ident>
15184 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15185 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15186 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20355"/>
15187 </xccdf:check>
15188 </xccdf:Rule>
15189 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false" weight="10.0">
15190 <xccdf:title>Restrict https traffic</xccdf:title>
15191 <xccdf:description>Squid should be configured to not allow https traffic</xccdf:description>
15192 <xccdf:ident system="http://cce.mitre.org">CCE-4529-4</xccdf:ident>
15193 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15194 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15195 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20356"/>
15196 </xccdf:check>
15197 </xccdf:Rule>
15198 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false" weight="10.0">
15199 <xccdf:title>Restrict wais traffic</xccdf:title>
15200 <xccdf:description>Squid should be configured to not allow wais traffic</xccdf:description>
15201 <xccdf:ident system="http://cce.mitre.org">CCE-3610-3</xccdf:ident>
15202 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15203 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15204 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20357"/>
15205 </xccdf:check>
15206 </xccdf:Rule>
15207 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false" weight="10.0">
15208 <xccdf:title>Restrict multiling http traffic</xccdf:title>
15209 <xccdf:description>Squid should be configured to not allow multiling http traffic</xccdf:description>
15210 <xccdf:ident system="http://cce.mitre.org">CCE-4466-9</xccdf:ident>
15211 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15212 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15213 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20358"/>
15214 </xccdf:check>
15215 </xccdf:Rule>
15216 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false" weight="10.0">
15217 <xccdf:title>Restrict http traffic</xccdf:title>
15218 <xccdf:description>Squid should be configured to not allow http traffic</xccdf:description>
15219 <xccdf:ident system="http://cce.mitre.org">CCE-4607-8</xccdf:ident>
15220 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15221 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15222 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20359"/>
15223 </xccdf:check>
15224 </xccdf:Rule>
15225 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false" weight="10.0">
15226 <xccdf:title>Restrict ftp traffic</xccdf:title>
15227 <xccdf:description>Squid should be configured to not allow ftp traffic</xccdf:description>
15228 <xccdf:ident system="http://cce.mitre.org">CCE-4255-6</xccdf:ident>
15229 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15230 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15231 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20360"/>
15232 </xccdf:check>
15233 </xccdf:Rule>
15234 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false" weight="10.0">
15235 <xccdf:title>Restrict gopher traffic</xccdf:title>
15236 <xccdf:description>Squid should be configured to not allow gopher traffic</xccdf:description>
15237 <xccdf:ident system="http://cce.mitre.org">CCE-4127-7</xccdf:ident>
15238 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15239 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15240 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20361"/>
15241 </xccdf:check>
15242 </xccdf:Rule>
15243 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false" weight="10.0">
15244 <xccdf:title>Restrict filemaker traffic</xccdf:title>
15245 <xccdf:description>Squid should be configured to not allow filemaker traffic</xccdf:description>
15246 <xccdf:ident system="http://cce.mitre.org">CCE-4519-5</xccdf:ident>
15247 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15248 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15249 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20362"/>
15250 </xccdf:check>
15251 </xccdf:Rule>
15252 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false" weight="10.0">
15253 <xccdf:title>Restrict proxy access to localhost </xccdf:title>
15254 <xccdf:description>Squid proxy access to localhost should be denied</xccdf:description>
15255 <xccdf:ident system="http://cce.mitre.org">CCE-4413-1</xccdf:ident>
15256 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15257 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15258 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20363"/>
15259 </xccdf:check>
15260 </xccdf:Rule>
15261 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false" weight="10.0">
15262 <xccdf:title>Restrict http-mgmt traffic</xccdf:title>
15263 <xccdf:description>Squid should be configured to not allow http-mgmt traffic</xccdf:description>
15264 <xccdf:ident system="http://cce.mitre.org">CCE-4373-7</xccdf:ident>
15265 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15266 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15267 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20364"/>
15268 </xccdf:check>
15269 </xccdf:Rule>
15270 </xccdf:Group>
15271 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.6">
15272 <xccdf:title xml:lang="en">Configure Internet Cache Protocol (ICP) if Necessary</xccdf:title>
15273 <xccdf:description xml:lang="en">
15274 The ICP protocol is a cache communication protocol that allows
15275 multiple Squid servers to communicate. The ICP protocol was designed with no security in
15276 mind, relying on user-defined access control lists alone to determine which ICP messages
15277 to allow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15278 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15279 If a Squid server is standalone, the ICP port should be disabled by adding or
15280 correcting the following line in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15281 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15282 icp_port 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15284 If the Squid server
15285 is meant to speak with peers, strict ACLs should be established to only allow ICP
15286 traffic from trusted neighbors. To accomplish this, add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15287 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15288 icp_access allow acl-defining-trusted-neighbors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15289 icp_access deny all</xccdf:description>
15290 </xccdf:Group>
15291 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.7">
15292 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Proxy Server</xccdf:title>
15293 <xccdf:description xml:lang="en">
15294 Determine an appropriate network block, netwk , and network
15295 mask, mask , representing the machines on your network which should operate as clients
15296 of the proxy server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15297 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15298 Edit /etc/sysconfig/iptables. Add the following line, ensuring that
15299 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"/>
15300 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15301 -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"/>
15302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15303 For port , use either the default 3128 or the alternate port was selected in Section
15304 3.19.2.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15306 The default Iptables configuration does not allow inbound access to the Squid
15307 proxy service. This modification allows that access, while keeping other ports on the
15308 server in their default protected state. See Section 2.5.5 for more information about
15309 Iptables.</xccdf:description>
15310 </xccdf:Group>
15311 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.8">
15312 <xccdf:title xml:lang="en">Forward Log Messages to Syslog Daemon</xccdf:title>
15313 <xccdf:description xml:lang="en">
15314 The default behavior of Squid is to record its log messages in
15315 /var/log/squid.log. This behavior can be supplemented so that Squid also sends messages
15316 to syslog as well. This is useful for centralizing log data, particularly in instances
15317 where multiple Squid servers are present. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15318 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15319 Squid provides a command line argument to
15320 enable syslog forwarding. Modify the SQUID OPTS line in /etc/init.d/squid to include the
15321 -s option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15322 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15323 SQUID_OPTS="${SQUID_OPTS:-"-D"} -s"</xccdf:description>
15324 </xccdf:Group>
15325 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9">
15326 <xccdf:title xml:lang="en">Do Not Run as Root</xccdf:title>
15327 <xccdf:description xml:lang="en">
15328 Since Squid is loaded by the system's service utility, it
15329 starts as root and then changes its effective UID to the UID specified by the cache
15330 effective user directive. However, since it was still executed by root, the program
15331 maintains a saved UID of root even after changing its effective UID. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15332 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15333 To prevent this
15334 undesired behavior, Squid must either be configured to run in a chroot environment or it
15335 must be executed by a non-privileged user in non-daemon mode (the service utility must
15336 not be used).</xccdf:description>
15337 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.1">
15338 <xccdf:title xml:lang="en">Run Squid in a chroot Jail</xccdf:title>
15339 <xccdf:description xml:lang="en">
15340 Chrooting Squid can be a very complicated task. Documentation
15341 for the process is vague and a great deal of trial and error may be required to
15342 determine all the files that need to be transitioned over to the chroot environment.
15343 Therefore, this guide recommends instead the method detailed in Section 3.19.2.9.2 to
15344 lower privileges. If chrooting Squid is still desired, it can be enabled with the
15345 following directive in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15346 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15347 chroot chroot-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15348 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15349 Then, all the
15350 necessary files used by Squid must be copied into the chroot-path directory. The
15351 specifics of this step cannot be covered in this guide because they are highly
15352 dependent on the external programs used in the Squid configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15353 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15354 Note: The strace
15355 utility is a valuable resource for discovering the files needed for the chroot
15356 environment.</xccdf:description>
15357 </xccdf:Group>
15358 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.2">
15359 <xccdf:title xml:lang="en">Modify Service Entry to Lower Privileges</xccdf:title>
15360 <xccdf:description xml:lang="en">T
15361 he following modification to /etc/init.d/squid forces the
15362 service utility to execute Squid as the squid user instead of the root user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15364 # determine the name of the squid binary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15365 [ -f /usr/sbin/squid ] &amp;&amp; SQUID="sudo -u squid squid" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15366 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15367 Making this change prevents Squid from writing its pid to
15368 /var/run. This pid file is used by service to check to see if the program started
15369 successfully. Therefore, a new location must be chosen for this pid file that the
15370 squid user has access to, and the corresponding references in /etc/init.d/squid must
15371 be altered to point to it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15372 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15373 Make the following modification to the Squid configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15374 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15375 pid_filename /var/spool/squid/squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15376 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15377 Edit the file /etc/init.d/squid by
15378 changing all occurrences of /var/run/squid.pid to /var/spool/squid/ squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15379 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15380 Also modify the following line in /etc/init.d/squid: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15381 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15382 [ $RETVAL -eq 0 ] &amp;&amp; touch /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15383 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15384 and add the following lines immediately after it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15385 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15386 rm -f /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15387 status squid</xccdf:description>
15388 </xccdf:Group>
15389 </xccdf:Group>
15390 </xccdf:Group>
15391 </xccdf:Group>
15392 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20">
15393 <xccdf:title xml:lang="en">SNMP Server</xccdf:title>
15394 <xccdf:description xml:lang="en">
15395 The Simple Network Management Protocol allows administrators to
15396 monitor the state of network devices, including computers. Older versions of SNMP were
15397 well-known for weak security, such as plaintext transmission of the community string (used
15398 for authentication) and also usage of easily-guessable choices for community string.</xccdf:description>
15399 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.1">
15400 <xccdf:title xml:lang="en">Disable SNMP Server if Possible</xccdf:title>
15401 <xccdf:description xml:lang="en">
15402 The system includes an SNMP daemon that allows for its remote
15403 monitoring, though it not installed by default. If it was installed and activated, it is
15404 important that the software be disabled and removed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15405 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15406 If there is not a mission-critical
15407 need for hosts at this site to be remotely monitored by a SNMP tool, then disable and
15408 remove SNMP as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15409 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15410 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig snmpd off <xhtml:br/>
15411 # yum erase net-snmpd</xhtml:code></xccdf:description>
15412 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.a" selected="false" severity="medium" weight="10.0">
15413 <xccdf:title>Disable snmpd if Possible</xccdf:title>
15414 <xccdf:description>The snmpd service should be disabled.</xccdf:description>
15415 <xccdf:ident system="http://cce.mitre.org">CCE-3765-5</xccdf:ident>
15416 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
15417 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15418 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20365"/>
15419 </xccdf:check>
15420 </xccdf:Rule>
15421 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.b" selected="false" weight="10.0">
15422 <xccdf:title>Uninstall net-snmp if Possible</xccdf:title>
15423 <xccdf:description>The net-snmp package should be uninstalled.</xccdf:description>
15424 <xccdf:ident system="http://cce.mitre.org">CCE-4404-0</xccdf:ident>
15425 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
15426 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15427 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20366"/>
15428 </xccdf:check>
15429 </xccdf:Rule>
15430 </xccdf:Group>
15431 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2">
15432 <xccdf:title xml:lang="en">Configure SNMP Server if Necessary</xccdf:title>
15433 <xccdf:description xml:lang="en">
15434 If it is necessary to run the snmpd agent on the system, some
15435 best practices should be followed to minimize the security risk from the installation. The
15436 multiple security models implemented by SNMP cannot be fully covered here so only the
15437 following general configuration advice can be offered: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15438 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15439 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>use only SNMP version 3 security
15440 models and enable the use of authentication and encryption for those </xhtml:li><xhtml:li>write access to the
15441 MIB (Management Information Base) should be allowed only if necessary </xhtml:li><xhtml:li>all access to the
15442 MIB should be restricted following a principle of least privilege </xhtml:li><xhtml:li>network access should
15443 be limited to the maximum extent possible including restricting to expected network
15444 addresses both in the configuration files and in the system firewall rules </xhtml:li><xhtml:li>ensure SNMP
15445 agents send traps only to, and accept SNMP queries only from, authorized management
15446 stations </xhtml:li><xhtml:li>ensure that permissions on the snmpd.conf configuration file (by default, in
15447 /etc/snmp) are 640 or more restrictive </xhtml:li><xhtml:li>ensure that any MIB files' permissions are also
15448 640 or more restrictive</xhtml:li></xhtml:ul></xccdf:description>
15449 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2.1">
15450 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
15451 <xccdf:description xml:lang="en">
15452 The following resources provide more detailed information about the SNMP software: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15453 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15454 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:li>The CERT SNMP Vulnerabilities FAQ at http://www.cert.org/tech
15455 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>
15456 </xccdf:description>
15457 </xccdf:Group>
15458 </xccdf:Group>
15459 </xccdf:Group>
15460 </xccdf:Group>
15461 </xccdf:Benchmark>
15462 </ds:component>
15463 <ds:component id="scap_org.open-scap_comp_scap-fedora14-oval.xml" timestamp="2012-07-20T12:22:58">
15464 <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">
15465 <generator>
15466 <oval:product_name>vim, emacs</oval:product_name>
15467 <oval:schema_version>5.5</oval:schema_version>
15468 <oval:timestamp>2010-08-30T12:00:00-04:00</oval:timestamp>
15469 </generator>
15470 <definitions>
15471 <definition class="compliance" id="oval:org.open-scap.f14:def:20000" version="1">
15472 <metadata>
15473 <title>Ensure that /tmp has its own partition or logical volume</title>
15474 <reference ref_id="TBD" source="CCE"/>
15475 <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>
15476 </metadata>
15477 <criteria>
15478 <criterion comment="Check in /etc/fstab for a /tmp mount point" test_ref="oval:org.open-scap.f14:tst:20000"/>
15479 </criteria>
15480 </definition>
15481 <definition class="compliance" id="oval:org.open-scap.f14:def:20001" version="1">
15482 <metadata>
15483 <title>Ensure that /tmp is of adequate size</title>
15484 <reference ref_id="TBD" source="CCE"/>
15485 <description>Because software may need to use /tmp to temporarily store large files, ensure that it is of adequate size.</description>
15486 </metadata>
15487 <criteria>
15488 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15489 </criteria>
15490 </definition>
15491 <definition class="compliance" id="oval:org.open-scap.f14:def:20002" version="1">
15492 <metadata>
15493 <title>Ensure that /var has its own partition or logical volume</title>
15494 <reference ref_id="TBD" source="CCE"/>
15495 <description>The /var directory is used by daemons and other system
15496 services to store frequently-changing data. It is not uncommon for the /var directory
15497 to contain world-writable directories, installed by other software packages.
15498 Ensure that /var has its own partition or logical volume.</description>
15499 </metadata>
15500 <criteria>
15501 <criterion comment="Check in /etc/fstab for a /var mount point" test_ref="oval:org.open-scap.f14:tst:20002"/>
15502 </criteria>
15503 </definition>
15504 <definition class="compliance" id="oval:org.open-scap.f14:def:20003" version="1">
15505 <metadata>
15506 <title>Ensure that /var is of adequate size</title>
15507 <reference ref_id="TBD" source="CCE"/>
15508 <description>Because the yum package manager and other software uses /var to temporarily store
15509 large files, ensure that it is of adequate size. For a modern, general-purpose system,
15510 10GB should be adequate.</description>
15511 </metadata>
15512 <criteria>
15513 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15514 </criteria>
15515 </definition>
15516 <definition class="compliance" id="oval:org.open-scap.f14:def:20004" version="1">
15517 <metadata>
15518 <title>Ensure that /var/log has its own partition or logical volum</title>
15519 <reference ref_id="TBD" source="CCE"/>
15520 <description>System logs are stored in the /var/log directory. Ensure that it has its own partition or logical volume.</description>
15521 </metadata>
15522 <criteria>
15523 <criterion comment="Check in /etc/fstab for a /var/log mount point" test_ref="oval:org.open-scap.f14:tst:20004"/>
15524 </criteria>
15525 </definition>
15526 <definition class="compliance" id="oval:org.open-scap.f14:def:20005" version="1">
15527 <metadata>
15528 <title>Ensure that /var/log/audit has its own partition or logical volume</title>
15529 <reference ref_id="TBD" source="CCE"/>
15530 <description>Audit logs are stored in the /var/log/audit directory.
15531 Ensure that it has its own partition or logical volume. Make absolutely certain
15532 that it is large enough to store all audit logs that will be created by the auditing
15533 daemon.</description>
15534 </metadata>
15535 <criteria>
15536 <criterion comment="Check in /etc/fstab for a /var/log/audit mount point" test_ref="oval:org.open-scap.f14:tst:20005"/>
15537 </criteria>
15538 </definition>
15539 <definition class="compliance" id="oval:org.open-scap.f14:def:20006" version="1">
15540 <metadata>
15541 <title>Ensure that /home has its own partition or logical volume</title>
15542 <reference ref_id="TBD" source="CCE"/>
15543 <description>If user home directories will be stored locally, create a separate
15544 partition for /home. If /home will be mounted from another system such as an NFS server, then
15545 creating a separate partition is not necessary at this time, and the mountpoint can
15546 instead be configured later.</description>
15547 </metadata>
15548 <criteria>
15549 <criterion comment="Check in /etc/fstab for a /home mount point" test_ref="oval:org.open-scap.f14:tst:20006"/>
15550 </criteria>
15551 </definition>
15552 <definition class="compliance" id="oval:org.open-scap.f14:def:200065" version="1">
15553 <metadata>
15554 <title>Ensure that GPG Key for Fedora is installed</title>
15555 <reference ref_id="TBD" source="CCE"/>
15556 <description>The GPG key should be installed.</description>
15557 </metadata>
15558 <criteria>
15559 <criterion comment="check gpg signature" test_ref="oval:org.open-scap.f14:tst:200065"/>
15560 </criteria>
15561 </definition>
15562 <definition class="compliance" id="oval:org.open-scap.f14:def:20008" version="1">
15563 <metadata>
15564 <title>yum-updatesd service should be disabled</title>
15565 <reference ref_id="CCE-4218-4" source="CCE"/>
15566 <description>The yum-updatesd service should be disabled</description>
15567 </metadata>
15568 <criteria>
15569 <criterion comment="check that yum-updatesd service is disabled" test_ref="oval:org.open-scap.f14:tst:20008"/>
15570 </criteria>
15571 </definition>
15572 <definition class="compliance" id="oval:org.open-scap.f14:def:20009" version="1">
15573 <metadata>
15574 <title>Automatic Update Retrieval should be scheduled with Cron</title>
15575 <reference ref_id="TBD" source="CCE"/>
15576 <description>Place the yum.cron script somewhere in /etc/cron.*/</description>
15577 </metadata>
15578 <criteria>
15579 <criterion comment="check for existence of yum.cron" test_ref="oval:org.open-scap.f14:tst:20009"/>
15580 </criteria>
15581 </definition>
15582 <definition class="compliance" id="oval:org.open-scap.f14:def:20010" version="1">
15583 <metadata>
15584 <title>Ensure gpgcheck is Globally Activated</title>
15585 <reference ref_id="TBD" source="CCE"/>
15586 <description>The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
15587 to its installation./</description>
15588 </metadata>
15589 <criteria>
15590 <criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20010"/>
15591 </criteria>
15592 </definition>
15593 <definition class="compliance" id="oval:org.open-scap.f14:def:20011" version="1">
15594 <metadata>
15595 <title>Ensure Package Signature Checking is Not Disabled For Any Repos</title>
15596 <reference ref_id="TBD" source="CCE"/>
15597 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
15598 appear in any repo configuration files in /etc/yum.repos.d or elsewhere</description>
15599 </metadata>
15600 <criteria>
15601 <criterion comment="check value of gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20011"/>
15602 </criteria>
15603 </definition>
15604 <definition class="compliance" id="oval:org.open-scap.f14:def:20012" version="1">
15605 <metadata>
15606 <title>Ensure Repodata Signature Checking is Globally Activated</title>
15607 <reference ref_id="TBD" source="CCE"/>
15608 <description>The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
15609 to using it.</description>
15610 </metadata>
15611 <criteria>
15612 <criterion comment="check value of repo_gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20012"/>
15613 </criteria>
15614 </definition>
15615 <definition class="compliance" id="oval:org.open-scap.f14:def:20013" version="1">
15616 <metadata>
15617 <title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</title>
15618 <reference ref_id="TBD" source="CCE"/>
15619 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
15620 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:</description>
15621 </metadata>
15622 <criteria>
15623 <criterion comment="check value of repo_gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20013"/>
15624 </criteria>
15625 </definition>
15626 <definition class="compliance" id="oval:org.open-scap.f14:def:20014" version="1">
15627 <metadata>
15628 <title>Install AIDE</title>
15629 <reference ref_id="CCE-4209-3" source="CCE"/>
15630 <description>The AIDE package should be installed</description>
15631 </metadata>
15632 <criteria>
15633 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20014"/>
15634 </criteria>
15635 </definition>
15636 <definition class="compliance" id="oval:org.open-scap.f14:def:20015" version="1">
15637 <metadata>
15638 <title>Run AIDE periodically</title>
15639 <reference ref_id="CCE-4209-3" source="CCE"/>
15640 <description>&gt;Setup cron to run AIDE periodically using cron.</description>
15641 </metadata>
15642 <criteria>
15643 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:22"/>
15644 </criteria>
15645 </definition>
15646 <definition class="compliance" id="oval:org.open-scap.f14:def:200155" version="1">
15647 <metadata>
15648 <title>Verify Package Integrity Using RPM</title>
15649 <reference ref_id="CCE-4209-3" source="CCE"/>
15650 <description>&gt;Verify the integrity of installed packages by comparing the installed files with
15651 information about the files taken from the package metadata stored in the RPM
15652 database.</description>
15653 </metadata>
15654 <criteria>
15655 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15656 </criteria>
15657 </definition>
15658 <definition class="compliance" id="oval:org.open-scap.f14:def:20016" version="1">
15659 <metadata>
15660 <title>Add nodev Option to Non-Root Local Partitions</title>
15661 <reference ref_id="CCE-4249-9" source="CCE"/>
15662 <description>The nodev option should be enabled for all non-root partitions.</description>
15663 </metadata>
15664 <criteria>
15665 <criterion comment="Check options for nodev in /etc/fstab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:20016"/>
15666 <criterion comment="Check options for nodev in /etc/mtab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:200162"/>
15667 </criteria>
15668 </definition>
15669 <definition class="compliance" id="oval:org.open-scap.f14:def:20017" version="1">
15670 <metadata>
15671 <title>Add nodev Option to Removable Media Partitions</title>
15672 <reference ref_id="CCE-3522-0" source="CCE"/>
15673 <description>The nodev option should be enabled for all removable media.</description>
15674 </metadata>
15675 <criteria>
15676 <!-- TODO create a udev rule and make sure it is present -->
15677 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15678 </criteria>
15679 </definition>
15680 <definition class="compliance" id="oval:org.open-scap.f14:def:20018" version="1">
15681 <metadata>
15682 <title>Add noexec Option to Removable Media Partitions</title>
15683 <reference ref_id="CCE-4275-4" source="CCE"/>
15684 <description>The noexec option should be enabled for all removable media.</description>
15685 </metadata>
15686 <criteria>
15687 <!-- TODO create a udev rule and make sure it is present -->
15688 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15689 </criteria>
15690 </definition>
15691 <definition class="compliance" id="oval:org.open-scap.f14:def:20019" version="1">
15692 <metadata>
15693 <title>Add nosuid Option to Removable Media Partitions</title>
15694 <reference ref_id="CCE-4042-8" source="CCE"/>
15695 <description>The nosuid option should be enabled for all removable media.</description>
15696 </metadata>
15697 <criteria>
15698 <!-- TODO create a udev rule and make sure it is present -->
15699 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15700 </criteria>
15701 </definition>
15702 <definition class="compliance" id="oval:org.open-scap.f14:def:20020" version="1">
15703 <metadata>
15704 <title>Restrict Console Device Access</title>
15705 <reference ref_id="CCE-3685-5" source="CCE"/>
15706 <description>Console device ownership should be restricted to root-only as appropriate.</description>
15707 </metadata>
15708 <criteria>
15709 <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"/>
15710 </criteria>
15711 </definition>
15712 <definition class="compliance" id="oval:org.open-scap.f14:def:20021" version="1">
15713 <metadata>
15714 <title>Disable Modprobe Loading of USB Storage Driver</title>
15715 <reference ref_id="CCE-4187-1" source="CCE"/>
15716 <description>The USB device support module should not be loaded</description>
15717 </metadata>
15718 <criteria>
15719 <criterion comment="check the usb storage support" test_ref="oval:org.open-scap.f14:tst:20021"/>
15720 </criteria>
15721 </definition>
15722 <definition class="compliance" id="oval:org.open-scap.f14:def:20022" version="1">
15723 <metadata>
15724 <title>Remove USB Storage Driver</title>
15725 <reference ref_id="CCE-4006-3" source="CCE"/>
15726 <description>The USB device support module should not be installed.</description>
15727 </metadata>
15728 <criteria>
15729 <criterion comment="Check if The USB device support module is not installed" test_ref="oval:org.open-scap.f14:tst:20022"/>
15730 </criteria>
15731 </definition>
15732 <definition class="compliance" id="oval:org.open-scap.f14:def:20023" version="1">
15733 <metadata>
15734 <title>Disable Kernel Support for USB via Bootloader Configuration</title>
15735 <reference ref_id="CCE-4173-1" source="CCE"/>
15736 <description>USB kernel support should be disabled.</description>
15737 </metadata>
15738 <criteria>
15739 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20023"/>
15740 </criteria>
15741 </definition>
15742 <definition class="compliance" id="oval:org.open-scap.f14:def:20024" version="1">
15743 <metadata>
15744 <title>Disable Booting from USB Devices in the BIOS</title>
15745 <reference ref_id="CCE-3944-6" source="CCE"/>
15746 <description>The ability to boot from USB devices should be disabled</description>
15747 </metadata>
15748 <criteria>
15749 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
15750 </criteria>
15751 </definition>
15752 <definition class="compliance" id="oval:org.open-scap.f14:def:20025" version="1">
15753 <metadata>
15754 <title>Disable the Automounter if Possible</title>
15755 <reference ref_id="CCE-4072-5" source="CCE"/>
15756 <description>The autofs service is disabled.</description>
15757 </metadata>
15758 <criteria>
15759 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20025"/>
15760 </criteria>
15761 </definition>
15762 <definition class="compliance" id="oval:org.open-scap.f14:def:20026" version="1">
15763 <metadata>
15764 <title>Disable GNOME Automounting if Possible</title>
15765 <reference ref_id="CCE-4231-7" source="CCE"/>
15766 <description>The GNOME automounter (gnome-volume-manager) should be disabled</description>
15767 </metadata>
15768 <criteria>
15769 <criterion comment="XMLFile test" test_ref="oval:org.open-scap.f14:tst:20026"/>
15770 </criteria>
15771 </definition>
15772 <definition class="compliance" id="oval:org.open-scap.f14:def:20027" version="1">
15773 <metadata>
15774 <title>Disable Mounting of cramfs</title>
15775 <reference ref_id="CCE-4231-7" source="CCE"/>
15776 <description>prevents usage of this uncommon filesystems.</description>
15777 </metadata>
15778 <criteria>
15779 <criterion comment="check for cramfs" test_ref="oval:org.open-scap.f14:tst:20027"/>
15780 </criteria>
15781 </definition>
15782 <definition class="compliance" id="oval:org.open-scap.f14:def:20028" version="1">
15783 <metadata>
15784 <title>Disable Mounting of freevxfs</title>
15785 <reference ref_id="CCE-4231-7" source="CCE"/>
15786 <description>prevents usage of this uncommon filesystems.</description>
15787 </metadata>
15788 <criteria>
15789 <criterion comment="check for freevxfs" test_ref="oval:org.open-scap.f14:tst:20028"/>
15790 </criteria>
15791 </definition>
15792 <definition class="compliance" id="oval:org.open-scap.f14:def:20029" version="1">
15793 <metadata>
15794 <title>Disable Mounting of jffs2</title>
15795 <reference ref_id="CCE-4231-7" source="CCE"/>
15796 <description>prevents usage of this uncommon filesystems.</description>
15797 </metadata>
15798 <criteria>
15799 <criterion comment="check for jffs2" test_ref="oval:org.open-scap.f14:tst:20029"/>
15800 </criteria>
15801 </definition>
15802 <definition class="compliance" id="oval:org.open-scap.f14:def:20030" version="1">
15803 <metadata>
15804 <title>Disable Mounting of hfs</title>
15805 <reference ref_id="CCE-4231-7" source="CCE"/>
15806 <description>prevents usage of this uncommon filesystems.</description>
15807 </metadata>
15808 <criteria>
15809 <criterion comment="check for hfs" test_ref="oval:org.open-scap.f14:tst:20030"/>
15810 </criteria>
15811 </definition>
15812 <definition class="compliance" id="oval:org.open-scap.f14:def:20031" version="1">
15813 <metadata>
15814 <title>Disable Mounting of hfsplus</title>
15815 <reference ref_id="CCE-4231-7" source="CCE"/>
15816 <description>prevents usage of this uncommon filesystems.</description>
15817 </metadata>
15818 <criteria>
15819 <criterion comment="check for hfsplus" test_ref="oval:org.open-scap.f14:tst:20031"/>
15820 </criteria>
15821 </definition>
15822 <definition class="compliance" id="oval:org.open-scap.f14:def:20032" version="1">
15823 <metadata>
15824 <title>Disable Mounting of squashfs</title>
15825 <reference ref_id="CCE-4231-7" source="CCE"/>
15826 <description>prevents usage of this uncommon filesystems.</description>
15827 </metadata>
15828 <criteria>
15829 <criterion comment="check for squashfs" test_ref="oval:org.open-scap.f14:tst:20032"/>
15830 </criteria>
15831 </definition>
15832 <definition class="compliance" id="oval:org.open-scap.f14:def:20033" version="1">
15833 <metadata>
15834 <title>Disable Mounting of udf</title>
15835 <reference ref_id="CCE-4231-7" source="CCE"/>
15836 <description>prevents usage of this uncommon filesystems.</description>
15837 </metadata>
15838 <criteria>
15839 <criterion comment="check for udf" test_ref="oval:org.open-scap.f14:tst:20033"/>
15840 </criteria>
15841 </definition>
15842 <definition class="compliance" id="oval:org.open-scap.f14:def:20034" version="1">
15843 <metadata>
15844 <title>Verify user who owns 'shadow' file</title>
15845 <reference ref_id="CCE-3918-0" source="CCE"/>
15846 <description>The /etc/shadow file should be owned by the appropriate user.</description>
15847 </metadata>
15848 <criteria>
15849 <criterion comment="Check file ownership of /etc/shadow" test_ref="oval:org.open-scap.f14:tst:20034"/>
15850 </criteria>
15851 </definition>
15852 <definition class="compliance" id="oval:org.open-scap.f14:def:20035" version="1">
15853 <metadata>
15854 <title>Verify group who owns 'shadow' file</title>
15855 <reference ref_id="CCE-3988-3" source="CCE"/>
15856 <description>The /etc/shadow file should be owned by the appropriate group.</description>
15857 </metadata>
15858 <criteria>
15859 <criterion test_ref="oval:org.open-scap.f14:tst:20035"/>
15860 </criteria>
15861 </definition>
15862 <definition class="compliance" id="oval:org.open-scap.f14:def:20036" version="1">
15863 <metadata>
15864 <title>Verify user who owns 'group' file</title>
15865 <reference ref_id="CCE-3276-3" source="CCE"/>
15866 <description>The /etc/group file should be owned by the appropriate user.</description>
15867 </metadata>
15868 <criteria>
15869 <criterion test_ref="oval:org.open-scap.f14:tst:20036"/>
15870 </criteria>
15871 </definition>
15872 <definition class="compliance" id="oval:org.open-scap.f14:def:20037" version="1">
15873 <metadata>
15874 <title>Verify group who owns 'group' file</title>
15875 <reference ref_id="CCE-3883-6" source="CCE"/>
15876 <description>The /etc/group file should be owned by the appropriate group.</description>
15877 </metadata>
15878 <criteria>
15879 <criterion test_ref="oval:org.open-scap.f14:tst:20037"/>
15880 </criteria>
15881 </definition>
15882 <definition class="compliance" id="oval:org.open-scap.f14:def:20038" version="1">
15883 <metadata>
15884 <title>Verify user who owns 'gshadow' file</title>
15885 <reference ref_id="CCE-4210-1" source="CCE"/>
15886 <description>The /etc/gshadow file should be owned by the appropriate user.</description>
15887 </metadata>
15888 <criteria>
15889 <criterion test_ref="oval:org.open-scap.f14:tst:20038"/>
15890 </criteria>
15891 </definition>
15892 <definition class="compliance" id="oval:org.open-scap.f14:def:20039" version="1">
15893 <metadata>
15894 <title>Verify group who owns 'gshadow' file</title>
15895 <reference ref_id="CCE-4064-2" source="CCE"/>
15896 <description>The /etc/gshadow file should be owned by the appropriate group.</description>
15897 </metadata>
15898 <criteria>
15899 <criterion test_ref="oval:org.open-scap.f14:tst:20039"/>
15900 </criteria>
15901 </definition>
15902 <definition class="compliance" id="oval:org.open-scap.f14:def:20040" version="1">
15903 <metadata>
15904 <title>Verify user who owns 'passwd' file</title>
15905 <reference ref_id="CCE-3958-6" source="CCE"/>
15906 <description>The /etc/passwd file should be owned by the appropriate user.</description>
15907 </metadata>
15908 <criteria>
15909 <criterion test_ref="oval:org.open-scap.f14:tst:20040"/>
15910 </criteria>
15911 </definition>
15912 <definition class="compliance" id="oval:org.open-scap.f14:def:20041" version="1">
15913 <metadata>
15914 <title>Verify group who owns 'passwd' file</title>
15915 <reference ref_id="CCE-3495-9" source="CCE"/>
15916 <description>The /etc/passwd file should be owned by the appropriate group.</description>
15917 </metadata>
15918 <criteria>
15919 <criterion test_ref="oval:org.open-scap.f14:tst:20041"/>
15920 </criteria>
15921 </definition>
15922 <definition class="compliance" id="oval:org.open-scap.f14:def:20042" version="1">
15923 <metadata>
15924 <title>Verify permissions on 'shadow' file</title>
15925 <reference ref_id="CCE-4130-1" source="CCE"/>
15926 <description>File permissions for /etc/shadow should be set correctly.</description>
15927 </metadata>
15928 <criteria>
15929 <criterion test_ref="oval:org.open-scap.f14:tst:20042"/>
15930 </criteria>
15931 </definition>
15932 <definition class="compliance" id="oval:org.open-scap.f14:def:20043" version="1">
15933 <metadata>
15934 <title>Verify permissions on 'group' file</title>
15935 <reference ref_id="CCE-3967-7" source="CCE"/>
15936 <description>File permissions for /etc/group should be set correctly.</description>
15937 </metadata>
15938 <criteria>
15939 <criterion test_ref="oval:org.open-scap.f14:tst:20043"/>
15940 </criteria>
15941 </definition>
15942 <definition class="compliance" id="oval:org.open-scap.f14:def:20044" version="1">
15943 <metadata>
15944 <title>Verify permissions on 'gshadow' file</title>
15945 <reference ref_id="CCE-3932-1" source="CCE"/>
15946 <description>File permissions for /etc/gshadow should be set correctly.</description>
15947 </metadata>
15948 <criteria>
15949 <criterion test_ref="oval:org.open-scap.f14:tst:20044"/>
15950 </criteria>
15951 </definition>
15952 <definition class="compliance" id="oval:org.open-scap.f14:def:20045" version="1">
15953 <metadata>
15954 <title>Verify permissions on 'passwd' file</title>
15955 <reference ref_id="CCE-3566-7" source="CCE"/>
15956 <description>File permissions for /etc/passwd should be set correctly.</description>
15957 </metadata>
15958 <criteria>
15959 <criterion test_ref="oval:org.open-scap.f14:tst:20045"/>
15960 </criteria>
15961 </definition>
15962 <definition class="compliance" id="oval:org.open-scap.f14:def:20046" version="1">
15963 <metadata>
15964 <title>Verify that All World-Writable Directories Have Sticky Bits Set</title>
15965 <reference ref_id="CCE-3399-3" source="CCE"/>
15966 <description>The sticky bit should be set for all world-writable directories.</description>
15967 </metadata>
15968 <criteria>
15969 <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"/>
15970 </criteria>
15971 </definition>
15972 <definition class="compliance" id="oval:org.open-scap.f14:def:20047" version="1">
15973 <metadata>
15974 <title>Find Unauthorized World-Writable Files</title>
15975 <reference ref_id="CCE-3795-2" source="CCE"/>
15976 <description>The world-write permission should be disabled for all files.</description>
15977 </metadata>
15978 <criteria>
15979 <!-- Need a way to add exceptions to a list somehow -->
15980 <criterion comment="Check all files and make sure they are not world writable" negate="true" test_ref="oval:org.open-scap.f14:tst:20047"/>
15981 </criteria>
15982 </definition>
15983 <definition class="compliance" id="oval:org.open-scap.f14:def:20048" version="1">
15984 <metadata>
15985 <title>Find Unauthorized SGID System Executables</title>
15986 <reference ref_id="CCE-4178-0" source="CCE"/>
15987 <description>The sgid bit should be not set for all executable files.</description>
15988 </metadata>
15989 <criteria>
15990 <criterion comment="Check that there are no unexpected files with sgid bit set" test_ref="oval:org.open-scap.f14:tst:20048"/>
15991 </criteria>
15992 </definition>
15993 <definition class="compliance" id="oval:org.open-scap.f14:def:20049" version="1">
15994 <metadata>
15995 <title>Find Unauthorized SUID System Executables</title>
15996 <reference ref_id="CCE-3324-1" source="CCE"/>
15997 <description>The suid bit should be not set for all files.</description>
15998 </metadata>
15999 <criteria>
16000 <criterion comment="Check that there are no unexpected files with suid bit set" test_ref="oval:org.open-scap.f14:tst:20049"/>
16001 </criteria>
16002 </definition>
16003 <definition class="compliance" id="oval:org.open-scap.f14:def:20050" version="1">
16004 <metadata>
16005 <title>Find files unowned by a user</title>
16006 <reference ref_id="CCE-4223-4" source="CCE"/>
16007 <description>All files should be owned by a user</description>
16008 </metadata>
16009 <criteria>
16010 <criterion comment="Check all files and make sure they are owned by a user" test_ref="oval:org.open-scap.f14:tst:20050"/>
16011 </criteria>
16012 </definition>
16013 <definition class="compliance" id="oval:org.open-scap.f14:def:20051" version="1">
16014 <metadata>
16015 <title>Find files unowned by a group</title>
16016 <reference ref_id="CCE-3573-3" source="CCE"/>
16017 <description>All files should be owned by a group</description>
16018 </metadata>
16019 <criteria>
16020 <criterion comment="Check all files and make sure they are owned by a group" test_ref="oval:org.open-scap.f14:tst:20051"/>
16021 </criteria>
16022 </definition>
16023 <definition class="compliance" id="oval:org.open-scap.f14:def:20052" version="1">
16024 <metadata>
16025 <title>Find world writable directories not owned by a system account</title>
16026 <reference ref_id="TBD" source="CCE"/>
16027 <description>All world writable directories should be owned by a system user</description>
16028 </metadata>
16029 <criteria>
16030 <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"/>
16031 </criteria>
16032 </definition>
16033 <definition class="compliance" id="oval:org.open-scap.f14:def:20053" version="1">
16034 <metadata>
16035 <title>Set Daemon umask</title>
16036 <reference ref_id="CCE-4220-0" source="CCE"/>
16037 <description>The daemon umask should be set as appropriate</description>
16038 </metadata>
16039 <criteria>
16040 <criterion test_ref="oval:org.open-scap.f14:tst:20053"/>
16041 </criteria>
16042 </definition>
16043 <definition class="compliance" id="oval:org.open-scap.f14:def:20055" version="1">
16044 <metadata>
16045 <title>Disable Core Dumps</title>
16046 <reference ref_id="CCE-4225-9" source="CCE"/>
16047 <description>Core dumps for all users should be disabled</description>
16048 </metadata>
16049 <criteria>
16050 <criterion comment="Are core dumps disabled" test_ref="oval:org.open-scap.f14:tst:20055"/>
16051 </criteria>
16052 </definition>
16053 <definition class="compliance" id="oval:org.open-scap.f14:def:20056" version="1">
16054 <metadata>
16055 <title>Disable Core Dumps for setuid programs</title>
16056 <reference ref_id="CCE-4247-3" source="CCE"/>
16057 <description>Core dumps for setuid programs should be disabled</description>
16058 </metadata>
16059 <criteria>
16060 <criterion comment="Are core dumps for setuid programs disabled?" test_ref="oval:org.open-scap.f14:tst:20056"/>
16061 </criteria>
16062 </definition>
16063 <definition class="compliance" id="oval:org.open-scap.f14:def:20057" version="1">
16064 <metadata>
16065 <title>Enable ExecShield</title>
16066 <reference ref_id="CCE-4168-1" source="CCE"/>
16067 <description>ExecShield should be enabled</description>
16068 </metadata>
16069 <criteria>
16070 <criterion comment="Is execshield enabled" test_ref="oval:org.open-scap.f14:tst:20057"/>
16071 </criteria>
16072 </definition>
16073 <definition class="compliance" id="oval:org.open-scap.f14:def:20058" version="1">
16074 <metadata>
16075 <title>Enable ExecShield randomized placement of virtual memory regions</title>
16076 <reference ref_id="CCE-4146-7" source="CCE"/>
16077 <description>ExecShield randomized placement of virtual memory regions should be enabled</description>
16078 </metadata>
16079 <criteria>
16080 <criterion comment="check ExecShield randomized placement of virtual memory regions" test_ref="oval:org.open-scap.f14:tst:20058"/>
16081 </criteria>
16082 </definition>
16083 <definition class="compliance" id="oval:org.open-scap.f14:def:20060" version="1">
16084 <metadata>
16085 <title>Enable XD/NX processor support in the BIOS</title>
16086 <reference ref_id="CCE-4177-2" source="CCE"/>
16087 <description>The XD/NX processor feature should be enabled in the BIOS</description>
16088 </metadata>
16089 <criteria>
16090 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20060"/>
16091 </criteria>
16092 </definition>
16093 <definition class="compliance" id="oval:org.open-scap.f14:def:20061" version="1">
16094 <metadata>
16095 <title>Restrict Root Logins to System Console</title>
16096 <reference ref_id="CCE-3820-8" source="CCE"/>
16097 <description>Logins through the specified virtual console interface should be enabled</description>
16098 </metadata>
16099 <criteria>
16100 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20061"/>
16101 </criteria>
16102 </definition>
16103 <definition class="compliance" id="oval:org.open-scap.f14:def:20062" version="1">
16104 <metadata>
16105 <title>Restrict Root Logins to System Console</title>
16106 <reference ref_id="CCE-3485-0" source="CCE"/>
16107 <description>Logins through the specified virtual console device should be enabled</description>
16108 </metadata>
16109 <criteria>
16110 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20062"/>
16111 </criteria>
16112 </definition>
16113 <definition class="compliance" id="oval:org.open-scap.f14:def:20063" version="1">
16114 <metadata>
16115 <title>Restrict Root Logins to System Console</title>
16116 <reference ref_id="CCE-4111-1" source="CCE"/>
16117 <description>Logins through the primary console device should be disabled</description>
16118 </metadata>
16119 <criteria>
16120 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20063"/>
16121 </criteria>
16122 </definition>
16123 <definition class="compliance" id="oval:org.open-scap.f14:def:20064" version="1">
16124 <metadata>
16125 <title>Restrict Root Logins to System Console</title>
16126 <reference ref_id="CCE-4256-4" source="CCE"/>
16127 <description>Login prompts on serial ports should be disabled.</description>
16128 </metadata>
16129 <criteria>
16130 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20064"/>
16131 </criteria>
16132 </definition>
16133 <definition class="compliance" id="oval:org.open-scap.f14:def:20065" version="1">
16134 <metadata>
16135 <title>Limit su Access to the wheel group</title>
16136 <description>The wheel group should exist</description>
16137 </metadata>
16138 <criteria>
16139 <criterion comment="Does wheel group exist" test_ref="oval:org.open-scap.f14:tst:20065"/>
16140 </criteria>
16141 </definition>
16142 <definition class="compliance" id="oval:org.open-scap.f14:def:20066" version="1">
16143 <metadata>
16144 <title>Limit command Access to the Root Account</title>
16145 <description>Command access to the root account should be restricted to the wheel group.</description>
16146 </metadata>
16147 <criteria>
16148 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20066"/>
16149 </criteria>
16150 </definition>
16151 <definition class="compliance" id="oval:org.open-scap.f14:def:20067" version="1">
16152 <metadata>
16153 <title>Configure sudo to Improve Auditing of Root Access</title>
16154 <reference ref_id="CCE-4044-4" source="CCE"/>
16155 <description>Sudo privileges should be granted to the wheel group</description>
16156 </metadata>
16157 <criteria>
16158 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20067"/>
16159 </criteria>
16160 </definition>
16161 <definition class="compliance" id="oval:org.open-scap.f14:def:20068" version="1">
16162 <metadata>
16163 <title>Block Shell and Login Access for Non-Root System Accounts</title>
16164 <reference ref_id="CCE-3987-5" source="CCE"/>
16165 <description>Login access to non-root system accounts should be disabled</description>
16166 </metadata>
16167 <criteria>
16168 <criterion comment="check /etc/passwd for /sbin/nologin on non root system accounts" negate="true" test_ref="oval:org.open-scap.f14:tst:20068"/>
16169 </criteria>
16170 </definition>
16171 <definition class="compliance" id="oval:org.open-scap.f14:def:20069" version="1">
16172 <metadata>
16173 <title>Verify that No Accounts Have Empty Password Fields</title>
16174 <reference ref_id="CCE-4238-2" source="CCE"/>
16175 <description>Login access to accounts without passwords should be disabled</description>
16176 </metadata>
16177 <criteria>
16178 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20069"/>
16179 </criteria>
16180 </definition>
16181 <definition class="compliance" id="oval:org.open-scap.f14:def:200695" version="1">
16182 <metadata>
16183 <title>Verify that All Account Password Hashes are Shadowed</title>
16184 <reference ref_id="CCE-4238-2" source="CCE"/>
16185 <description>Check that passwords are shadowed</description>
16186 </metadata>
16187 <criteria>
16188 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:200695"/>
16189 </criteria>
16190 </definition>
16191 <definition class="compliance" id="oval:org.open-scap.f14:def:20070" version="1">
16192 <metadata>
16193 <title>Verify that No Non-Root Accounts Have UID 0</title>
16194 <reference ref_id="CCE-4009-7" source="CCE"/>
16195 <description>Anonymous root logins are disabled</description>
16196 </metadata>
16197 <criteria>
16198 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20070"/>
16199 </criteria>
16200 </definition>
16201 <definition class="compliance" id="oval:org.open-scap.f14:def:20071" version="1">
16202 <metadata>
16203 <title>Set Password Expiration Parameters</title>
16204 <reference ref_id="CCE-4154-1" source="CCE"/>
16205 <description>The password minimum length should be set appropriately</description>
16206 </metadata>
16207 <criteria>
16208 <criterion test_ref="oval:org.open-scap.f14:tst:20071"/>
16209 </criteria>
16210 </definition>
16211 <definition class="compliance" id="oval:org.open-scap.f14:def:20072" version="1">
16212 <metadata>
16213 <title>Set Password Expiration Parameters</title>
16214 <reference ref_id="CCE-4180-6" source="CCE"/>
16215 <description>The "minimum password age" policy should meet minimum requirements. </description>
16216 </metadata>
16217 <criteria>
16218 <criterion test_ref="oval:org.open-scap.f14:tst:20072"/>
16219 </criteria>
16220 </definition>
16221 <definition class="compliance" id="oval:org.open-scap.f14:def:20073" version="1">
16222 <metadata>
16223 <title>Set Password Expiration Parameters</title>
16224 <reference ref_id="CCE-4092-3" source="CCE"/>
16225 <description>The "maximum password age" policy should meet minimum requirements. </description>
16226 </metadata>
16227 <criteria>
16228 <criterion test_ref="oval:org.open-scap.f14:tst:20073"/>
16229 </criteria>
16230 </definition>
16231 <definition class="compliance" id="oval:org.open-scap.f14:def:20074" version="1">
16232 <metadata>
16233 <title>Set Password Expiration Parameters</title>
16234 <reference ref_id="CCE-4097-2" source="CCE"/>
16235 <description>The password warn age should be set appropriately</description>
16236 </metadata>
16237 <criteria>
16238 <criterion test_ref="oval:org.open-scap.f14:tst:20074"/>
16239 </criteria>
16240 </definition>
16241 <definition class="compliance" id="oval:org.open-scap.f14:def:20075" version="1">
16242 <metadata>
16243 <title>Remove Legacy + Entries from Password Files</title>
16244 <description>NIS file inclusions should be set appropriately in the /etc/shadow file</description>
16245 </metadata>
16246 <criteria>
16247 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20075"/>
16248 </criteria>
16249 </definition>
16250 <definition class="compliance" id="oval:org.open-scap.f14:def:20076" version="1">
16251 <metadata>
16252 <title>Remove Legacy + Entries from Password Files</title>
16253 <description>NIS file inclusions should be set appropriately in the /etc/group file</description>
16254 </metadata>
16255 <criteria>
16256 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20076"/>
16257 </criteria>
16258 </definition>
16259 <definition class="compliance" id="oval:org.open-scap.f14:def:20077" version="1">
16260 <metadata>
16261 <title>Remove Legacy + Entries from Password Files</title>
16262 <reference ref_id="CCE-4114-5" source="CCE"/>
16263 <description>NIS file inclusions should be set appropriately in the /etc/passwd file</description>
16264 </metadata>
16265 <criteria>
16266 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20077"/>
16267 </criteria>
16268 </definition>
16269 <definition class="compliance" id="oval:org.open-scap.f14:def:20078" version="1">
16270 <metadata>
16271 <title>Set Password Quality Requirements</title>
16272 <reference ref_id="CCE-3762-2" source="CCE"/>
16273 <description>The password strength should meet minimum requirements using pam_cracklib</description>
16274 </metadata>
16275 <criteria comment="Conditions for retry, minlen, dcredit, ucredit, ocredit, lcredit and difok are satisfied" operator="AND">
16276 <criterion comment="Test retry" test_ref="oval:org.open-scap.f14:tst:200781"/>
16277 <criterion comment="Test minlen" test_ref="oval:org.open-scap.f14:tst:200782"/>
16278 <criterion comment="Test dcredit" test_ref="oval:org.open-scap.f14:tst:200783"/>
16279 <criterion comment="Test ucredit" test_ref="oval:org.open-scap.f14:tst:200784"/>
16280 <criterion comment="Test ocredit" test_ref="oval:org.open-scap.f14:tst:200785"/>
16281 <criterion comment="Test lcredit" test_ref="oval:org.open-scap.f14:tst:200786"/>
16282 <criterion comment="Test difok" test_ref="oval:org.open-scap.f14:tst:200787"/>
16283 </criteria>
16284 </definition>
16285 <definition class="compliance" id="oval:org.open-scap.f14:def:20079" version="1">
16286 <metadata>
16287 <title>Set Password Quality Requirements</title>
16288 <reference ref_id="CCE-3762-2" source="CCE"/>
16289 <description>The password strength should meet minimum requirements using pam_passwdqc</description>
16290 </metadata>
16291 <criteria>
16292 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20079"/>
16293 </criteria>
16294 </definition>
16295 <definition class="compliance" id="oval:org.open-scap.f14:def:20080" version="1">
16296 <metadata>
16297 <title>Set Lockouts for Failed Password Attempts</title>
16298 <reference ref_id="CCE-3410-8" source="CCE"/>
16299 <description>The "account lockout threshold" policy should meet minimum requirements.</description>
16300 </metadata>
16301 <criteria>
16302 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16303 <criteria comment="unlock_time is not present">
16304 <criterion comment="check unlock_time is 0" test_ref="oval:org.open-scap.f14:tst:200800"/>
16305 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16306 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16307 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16308 </criteria>
16309 </criteria>
16310 <criteria comment="unlock_time is present">
16311 <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"/>
16312 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16313 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16314 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16315 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008013"/>
16316 </criteria>
16317 </criteria>
16318 </criteria>
16319 <criterion comment="check that pam_tally2 account module is configured correctly" test_ref="oval:org.open-scap.f14:tst:200803"/>
16320 </criteria>
16321 </definition>
16322 <definition class="compliance" id="oval:org.open-scap.f14:def:200805" version="1">
16323 <metadata>
16324 <title>Do not leak information on authorization failure</title>
16325 <reference ref_id="TBD" source="CCE"/>
16326 <description>Authorization failures should not alert attackers as to what went wrong.</description>
16327 </metadata>
16328 <criteria>
16329 <criterion comment="Unknown test stub (use required instead of sufficient)" test_ref="oval:org.open-scap.f14:tst:200805"/>
16330 </criteria>
16331 </definition>
16332 <definition class="compliance" id="oval:org.open-scap.f14:def:200806" version="1">
16333 <metadata>
16334 <title>Do not log authorization failures and successes</title>
16335 <reference ref_id="TBD" source="CCE"/>
16336 <description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</description>
16337 </metadata>
16338 <criteria>
16339 <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"/>
16340 <criterion comment="Unknown test stub (check that pam_deny is not there)" test_ref="oval:org.open-scap.f14:tst:2008062"/>
16341 </criteria>
16342 </definition>
16343 <definition class="compliance" id="oval:org.open-scap.f14:def:20081" version="1">
16344 <metadata>
16345 <title>Restrict Execution of userhelper to Console Users</title>
16346 <reference ref_id="CCE-4185-5" source="CCE"/>
16347 <description>The /usr/sbin/userhelper file should be owned by the appropriate group.</description>
16348 </metadata>
16349 <criteria operator="AND">
16350 <criterion comment="test group owner of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20081"/>
16351 <criterion comment="test group existence" test_ref="oval:org.open-scap.f14:tst:200811"/>
16352 </criteria>
16353 </definition>
16354 <definition class="compliance" id="oval:org.open-scap.f14:def:20082" version="1">
16355 <metadata>
16356 <title>Restrict Execution of userhelper to Console Users</title>
16357 <reference ref_id="CCE-3952-9" source="CCE"/>
16358 <description>File permissions for /usr/sbin/userhelper should be set correctly.</description>
16359 </metadata>
16360 <criteria>
16361 <criterion comment="check permissions of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20082"/>
16362 </criteria>
16363 </definition>
16364 <definition class="compliance" id="oval:org.open-scap.f14:def:20083" version="1">
16365 <metadata>
16366 <title>Set Password hashing algorithm</title>
16367 <reference ref_id="TBD" source="CCE"/>
16368 <description>The password hashing algorithm should be set correctly.</description>
16369 </metadata>
16370 <criteria operator="ONE">
16371 <criteria>
16372 <criterion comment="check that desired hashing algorithm is MD5" test_ref="oval:org.open-scap.f14:tst:200831"/>
16373 <criterion comment="Make sure /etc/login.defs is set to use md5" test_ref="oval:org.open-scap.f14:tst:200832"/>
16374 </criteria>
16375 <criteria>
16376 <criterion comment="check that desired hashing algorithm is not MD5 (negate previous test)" negate="true" test_ref="oval:org.open-scap.f14:tst:200831"/>
16377 <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"/>
16378 <criterion comment="Make sure /etc/login.defs is set to use ENCRYPT_METHOD" test_ref="oval:org.open-scap.f14:tst:200833"/>
16379 <criterion comment="Make sure /etc/pam.d/system-auth is set to use hashing algorithm" test_ref="oval:org.open-scap.f14:tst:200834"/>
16380 <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"/>
16381 </criteria>
16382 </criteria>
16383 </definition>
16384 <definition class="compliance" id="oval:org.open-scap.f14:def:20084" version="1">
16385 <metadata>
16386 <title>Limit password reuse</title>
16387 <reference ref_id="TBD" source="CCE"/>
16388 <description>The passwords to remember should be set correctly.</description>
16389 </metadata>
16390 <criteria operator="ONE">
16391 <criteria>
16392 <criterion comment="remember parameter is set to 0" test_ref="oval:org.open-scap.f14:tst:200841"/>
16393 </criteria>
16394 <criteria>
16395 <criterion comment="remember parameter is set to 0 (note this is negated)" negate="true" test_ref="oval:org.open-scap.f14:tst:200841"/>
16396 <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"/>
16397 </criteria>
16398 </criteria>
16399 </definition>
16400 <definition class="compliance" id="oval:org.open-scap.f14:def:20085" version="1">
16401 <metadata>
16402 <title>Ensure that No Dangerous Directories Exist in Root's Path</title>
16403 <reference ref_id="CCE-3301-9" source="CCE"/>
16404 <description>The PATH variable should be set correctly for user root</description>
16405 </metadata>
16406 <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">
16407 <criterion comment="PATH starts with : or ." test_ref="oval:org.open-scap.f14:tst:200851"/>
16408 <criterion comment="PATH ends with : or ." test_ref="oval:org.open-scap.f14:tst:200852"/>
16409 <criterion comment="PATH contains :: or :.:" test_ref="oval:org.open-scap.f14:tst:200853"/>
16410 </criteria>
16411 </definition>
16412 <definition class="compliance" id="oval:org.open-scap.f14:def:200855" version="1">
16413 <metadata>
16414 <title>Write permissions are disabled for group and other in all directories in Root's Path</title>
16415 <reference ref_id="TBD" source="CCE"/>
16416 <description>Check each directory in root's path and make use it does not grant write permission to group and other</description>
16417 </metadata>
16418 <criteria>
16419 <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"/>
16420 </criteria>
16421 </definition>
16422 <definition class="compliance" id="oval:org.open-scap.f14:def:20086" version="1">
16423 <metadata>
16424 <title>Ensure that User Home Directories are not Group-Writable or World-Readable</title>
16425 <reference ref_id="CCE-4090-7" source="CCE"/>
16426 <description>File permissions should be set correctly for the home directories for all user accounts.</description>
16427 </metadata>
16428 <criteria comment="Both criterion are negated to get desired result">
16429 <criterion comment="Home directories are group writable" test_ref="oval:org.open-scap.f14:tst:200861"/>
16430 <criterion comment="Home directories are world readable" test_ref="oval:org.open-scap.f14:tst:200862"/>
16431 </criteria>
16432 </definition>
16433 <definition class="compliance" id="oval:org.open-scap.f14:def:20087" version="1">
16434 <metadata>
16435 <title>Ensure that Users Have Sensible Umask Values set for bash</title>
16436 <reference ref_id="CCE-3844-8" source="CCE"/>
16437 <description>The default umask for all users should be set correctly for the bash shell</description>
16438 </metadata>
16439 <criteria>
16440 <criterion test_ref="oval:org.open-scap.f14:tst:20087"/>
16441 </criteria>
16442 </definition>
16443 <definition class="compliance" id="oval:org.open-scap.f14:def:20088" version="1">
16444 <metadata>
16445 <title>Ensure that Users Have Sensible Umask Values set for csh</title>
16446 <reference ref_id="CCE-4227-5" source="CCE"/>
16447 <description>The default umask for all users should be set correctly for the csh shell</description>
16448 </metadata>
16449 <criteria>
16450 <criterion test_ref="oval:org.open-scap.f14:tst:20088"/>
16451 </criteria>
16452 </definition>
16453 <definition class="compliance" id="oval:org.open-scap.f14:def:20091" version="1">
16454 <metadata>
16455 <title>Check for existance of .netrc file</title>
16456 <reference ref_id="TBD" source="CCE"/>
16457 <description>No user directory should contain file .netrc</description>
16458 </metadata>
16459 <criteria>
16460 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16461 </criteria>
16462 </definition>
16463 <definition class="compliance" id="oval:org.open-scap.f14:def:20092" version="1">
16464 <metadata>
16465 <title>Set Boot Loader Password</title>
16466 <reference ref_id="CCE-4144-2" source="CCE"/>
16467 <description>The /etc/grub.conf file should be owned by the appropriate user.</description>
16468 </metadata>
16469 <criteria>
16470 <criterion test_ref="oval:org.open-scap.f14:tst:20092"/>
16471 </criteria>
16472 </definition>
16473 <definition class="compliance" id="oval:org.open-scap.f14:def:20093" version="1">
16474 <metadata>
16475 <title>Set Boot Loader Password</title>
16476 <reference ref_id="CCE-4197-0" source="CCE"/>
16477 <description>The /etc/grub.conf file should be owned by the appropriate group.</description>
16478 </metadata>
16479 <criteria>
16480 <criterion test_ref="oval:org.open-scap.f14:tst:20093"/>
16481 </criteria>
16482 </definition>
16483 <definition class="compliance" id="oval:org.open-scap.f14:def:20094" version="1">
16484 <metadata>
16485 <title>Set Boot Loader Password</title>
16486 <reference ref_id="CCE-3923-0" source="CCE"/>
16487 <description>File permissions for /etc/grub.conf should be set correctly.</description>
16488 </metadata>
16489 <criteria>
16490 <criterion test_ref="oval:org.open-scap.f14:tst:20094"/>
16491 </criteria>
16492 </definition>
16493 <definition class="compliance" id="oval:org.open-scap.f14:def:20095" version="1">
16494 <metadata>
16495 <title>Set Boot Loader Password</title>
16496 <reference ref_id="CCE-3818-2" source="CCE"/>
16497 <description>The grub boot loader should have password protection enabled</description>
16498 </metadata>
16499 <criteria>
16500 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20095"/>
16501 </criteria>
16502 </definition>
16503 <definition class="compliance" id="oval:org.open-scap.f14:def:20096" version="1">
16504 <metadata>
16505 <title>Require Authentication for Single-User Mode</title>
16506 <reference ref_id="CCE-4241-6" source="CCE"/>
16507 <description>The requirement for a password to boot into single-user mode should be configured correctly.</description>
16508 </metadata>
16509 <criteria>
16510 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20096"/>
16511 </criteria>
16512 </definition>
16513 <definition class="compliance" id="oval:org.open-scap.f14:def:20097" version="1">
16514 <metadata>
16515 <title>Disable Interactive Boot</title>
16516 <reference ref_id="CCE-4245-7" source="CCE"/>
16517 <description>The ability for users to perform interactive startups should be disabled.</description>
16518 </metadata>
16519 <criteria>
16520 <criterion test_ref="oval:org.open-scap.f14:tst:20097"/>
16521 </criteria>
16522 </definition>
16523 <definition class="compliance" id="oval:org.open-scap.f14:def:20098" version="1">
16524 <metadata>
16525 <title>Implement Inactivity Time-out for Login Shells</title>
16526 <reference ref_id="CCE-3689-7" source="CCE"/>
16527 <description>The idle time-out value for the default /bin/tcsh shell should meet the minimum requirements.</description>
16528 </metadata>
16529 <criteria>
16530 <criterion test_ref="oval:org.open-scap.f14:tst:20098"/>
16531 </criteria>
16532 </definition>
16533 <definition class="compliance" id="oval:org.open-scap.f14:def:20099" version="1">
16534 <metadata>
16535 <title>Implement Inactivity Time-out for Login Shells</title>
16536 <reference ref_id="CCE-3707-7" source="CCE"/>
16537 <description>The idle time-out value for the default /bin/bash shell should meet the minimum requirements.</description>
16538 </metadata>
16539 <criteria>
16540 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20099"/>
16541 </criteria>
16542 </definition>
16543 <definition class="compliance" id="oval:org.open-scap.f14:def:20100" version="1">
16544 <metadata>
16545 <title>Configure GUI Screen Locking</title>
16546 <reference ref_id="CCE-3315-9" source="CCE"/>
16547 <description>The allowed period of inactivity gnome desktop lockout should be configured correctly.</description>
16548 </metadata>
16549 <criteria>
16550 <criterion comment="check value of idle_delay in GCONF" test_ref="oval:org.open-scap.f14:tst:20100"/>
16551 </criteria>
16552 </definition>
16553 <definition class="compliance" id="oval:org.open-scap.f14:def:201005" version="1">
16554 <metadata>
16555 <title>Implement idle activation of screen saver</title>
16556 <reference ref_id="TBD" source="CCE"/>
16557 <description>Idle activation of the screen saver should be enabled.</description>
16558 </metadata>
16559 <criteria>
16560 <criterion comment="check value of idle_activation_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201005"/>
16561 </criteria>
16562 </definition>
16563 <definition class="compliance" id="oval:org.open-scap.f14:def:201006" version="1">
16564 <metadata>
16565 <title>Implement idle activation of screen lock</title>
16566 <reference ref_id="TBD" source="CCE"/>
16567 <description>Idle activation of the screen lock should be enabled.</description>
16568 </metadata>
16569 <criteria>
16570 <criterion comment="check value of lock_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201006"/>
16571 </criteria>
16572 </definition>
16573 <definition class="compliance" id="oval:org.open-scap.f14:def:201007" version="1">
16574 <metadata>
16575 <title>Implement blank screen saver</title>
16576 <reference ref_id="TBD" source="CCE"/>
16577 <description>The screen saver should be blank.</description>
16578 </metadata>
16579 <criteria>
16580 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:201007"/>
16581 </criteria>
16582 </definition>
16583 <definition class="compliance" id="oval:org.open-scap.f14:def:20101" version="1">
16584 <metadata>
16585 <title>Configure GUI Screen Locking</title>
16586 <reference ref_id="CCE-3910-7" source="CCE"/>
16587 <description>The vlock package should be installed</description>
16588 </metadata>
16589 <criteria>
16590 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20101"/>
16591 </criteria>
16592 </definition>
16593 <definition class="compliance" id="oval:org.open-scap.f14:def:20102" version="1">
16594 <metadata>
16595 <title>Modify the System Login Banner</title>
16596 <reference ref_id="CCE-4060-0" source="CCE"/>
16597 <description>The system login banner text should be set correctly.</description>
16598 </metadata>
16599 <criteria>
16600 <criterion comment="/etc/issue is set appropriately" test_ref="oval:org.open-scap.f14:tst:20102"/>
16601 </criteria>
16602 </definition>
16603 <definition class="compliance" id="oval:org.open-scap.f14:def:20103" version="1">
16604 <metadata>
16605 <title>Implement a GUI Warning Banner</title>
16606 <reference ref_id="CCE-4188-9" source="CCE"/>
16607 <description>The direct gnome login warning banner should be set correctly.</description>
16608 </metadata>
16609 <criteria>
16610 <criterion comment="Check that the GConf setting for the login banner is set correctly" test_ref="oval:org.open-scap.f14:tst:20103"/>
16611 </criteria>
16612 </definition>
16613 <definition class="compliance" id="oval:org.open-scap.f14:def:201035" version="1">
16614 <metadata>
16615 <title>Ensure SELinux is Properly Enabled</title>
16616 <reference ref_id="TBD" source="CCE"/>
16617 <description>Check output of /usr/sbin/sestatus.</description>
16618 </metadata>
16619 <criteria>
16620 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16621 </criteria>
16622 </definition>
16623 <definition class="compliance" id="oval:org.open-scap.f14:def:20104" version="1">
16624 <metadata>
16625 <title>Enable SELinux</title>
16626 <reference ref_id="CCE-3977-6" source="CCE"/>
16627 <description>SELinux should be enabled</description>
16628 </metadata>
16629 <criteria>
16630 <criterion test_ref="oval:org.open-scap.f14:tst:20104"/>
16631 </criteria>
16632 </definition>
16633 <definition class="compliance" id="oval:org.open-scap.f14:def:20105" version="1">
16634 <metadata>
16635 <title>Enable SELinux enforcing</title>
16636 <reference ref_id="TBD" source="CCE"/>
16637 <description>SELinux should be enforcing in the bootloader</description>
16638 </metadata>
16639 <criteria>
16640 <criterion test_ref="oval:org.open-scap.f14:tst:20105"/>
16641 </criteria>
16642 </definition>
16643 <definition class="compliance" id="oval:org.open-scap.f14:def:20106" version="1">
16644 <metadata>
16645 <title>Enable SELinux state</title>
16646 <reference ref_id="TBD" source="CCE"/>
16647 <description>The SELinux state should be set appropriately.</description>
16648 </metadata>
16649 <criteria>
16650 <criterion test_ref="oval:org.open-scap.f14:tst:20106"/>
16651 </criteria>
16652 </definition>
16653 <definition class="compliance" id="oval:org.open-scap.f14:def:20107" version="1">
16654 <metadata>
16655 <title>Enable SELinux</title>
16656 <reference ref_id="CCE-3624-4" source="CCE"/>
16657 <description>The SELinux policy should be set appropriately.</description>
16658 </metadata>
16659 <criteria>
16660 <criterion test_ref="oval:org.open-scap.f14:tst:20107"/>
16661 </criteria>
16662 </definition>
16663 <definition class="compliance" id="oval:org.open-scap.f14:def:20108" version="1">
16664 <metadata>
16665 <title>Disable and Remove SETroubleshoot if Possible</title>
16666 <reference ref_id="CCE-4148-3" source="CCE"/>
16667 <description>The setroubleshoot package should be uninstalled.</description>
16668 </metadata>
16669 <criteria>
16670 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20108"/>
16671 </criteria>
16672 </definition>
16673 <definition class="compliance" id="oval:org.open-scap.f14:def:20109" version="1">
16674 <metadata>
16675 <title>Disable and Remove SETroubleshoot if Possible</title>
16676 <reference ref_id="CCE-4254-9" source="CCE"/>
16677 <description>The setroubleshoot service should be disabled.</description>
16678 </metadata>
16679 <criteria comment="The setroubleshoot package should be uninstalled or conditions are met" operator="OR">
16680 <extend_definition comment="setroubleshoot is not installed" definition_ref="oval:org.open-scap.f14:def:20108"/>
16681 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20109"/>
16682 </criteria>
16683 </definition>
16684 <definition class="compliance" id="oval:org.open-scap.f14:def:20110" version="1">
16685 <metadata>
16686 <title>Disable MCS Translation Service (mcstrans) if Possible</title>
16687 <reference ref_id="CCE-3668-1" source="CCE"/>
16688 <description>The mcstrans service should be disabled.</description>
16689 </metadata>
16690 <criteria>
16691 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20110"/>
16692 </criteria>
16693 </definition>
16694 <definition class="compliance" id="oval:org.open-scap.f14:def:201115" version="1">
16695 <metadata>
16696 <title>Check for Unconfined Daemons</title>
16697 <reference ref_id="TBD" source="CCE"/>
16698 <description>Check for device file that is not labeled.</description>
16699 </metadata>
16700 <criteria>
16701 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16702 </criteria>
16703 </definition>
16704 <definition class="compliance" id="oval:org.open-scap.f14:def:20111" version="1">
16705 <metadata>
16706 <title>Restorecon Service (restorecond)</title>
16707 <reference ref_id="CCE-4129-3" source="CCE"/>
16708 <description>The restorecond service should be disabled.</description>
16709 </metadata>
16710 <criteria>
16711 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20111"/>
16712 </criteria>
16713 </definition>
16714 <!-- BEGIN -->
16715 <definition class="compliance" id="oval:org.open-scap.f14:def:20112" version="1">
16716 <metadata>
16717 <title>Network Parameters for Hosts Only</title>
16718 <reference ref_id="CCE-4151-7" source="CCE"/>
16719 <description>The default setting for sending ICMP redirects should be disabled for network interfaces.</description>
16720 <tested_by name="dkopecek" time="1282130094"/>
16721 </metadata>
16722 <criteria operator="AND">
16723 <criterion test_ref="oval:org.open-scap.f14:tst:201120"/>
16724 <criteria operator="OR">
16725 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201121"/>
16726 <criterion test_ref="oval:org.open-scap.f14:tst:201122"/>
16727 </criteria>
16728 </criteria>
16729 </definition>
16730 <!-- ^^^ ok ^^^ -->
16731 <definition class="compliance" id="oval:org.open-scap.f14:def:20113" version="1">
16732 <metadata>
16733 <title>Network Parameters for Hosts Only</title>
16734 <reference ref_id="CCE-4155-8" source="CCE"/>
16735 <description>Sending ICMP redirects should be disabled for all interfaces.</description>
16736 <tested_by name="dkopecek" time="1282130094"/>
16737 </metadata>
16738 <criteria operator="AND">
16739 <criterion test_ref="oval:org.open-scap.f14:tst:201130"/>
16740 <criteria operator="OR">
16741 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201131"/>
16742 <criterion test_ref="oval:org.open-scap.f14:tst:201132"/>
16743 </criteria>
16744 </criteria>
16745 </definition>
16746 <definition class="compliance" id="oval:org.open-scap.f14:def:20114" version="1">
16747 <metadata>
16748 <title>Network Parameters for Hosts Only</title>
16749 <reference ref_id="CCE-3561-8" source="CCE"/>
16750 <description>IP forwarding should be disabled.</description>
16751 <tested_by name="dkopecek" time="1282130094"/>
16752 </metadata>
16753 <criteria operator="AND">
16754 <criterion test_ref="oval:org.open-scap.f14:tst:201140"/>
16755 <criteria operator="OR">
16756 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201141"/>
16757 <criterion test_ref="oval:org.open-scap.f14:tst:201142"/>
16758 </criteria>
16759 </criteria>
16760 </definition>
16761 <definition class="compliance" id="oval:org.open-scap.f14:def:20115" version="1">
16762 <metadata>
16763 <title>Network Parameters for Hosts and Routers</title>
16764 <reference ref_id="CCE-4236-6" source="CCE"/>
16765 <description>Accepting source routed packets should be enabled or disabled for all interfaces as appropriate.</description>
16766 </metadata>
16767 <criteria operator="AND">
16768 <criterion test_ref="oval:org.open-scap.f14:tst:201150"/>
16769 <criteria operator="OR">
16770 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201151"/>
16771 <criterion test_ref="oval:org.open-scap.f14:tst:201152"/>
16772 </criteria>
16773 </criteria>
16774 </definition>
16775 <definition class="compliance" id="oval:org.open-scap.f14:def:20116" version="1">
16776 <metadata>
16777 <title>Network Parameters for Hosts and Routers</title>
16778 <reference ref_id="CCE-4217-6" source="CCE"/>
16779 <description>Accepting ICMP redirects should be enabled or disabled for all interfaces as appropriate.</description>
16780 </metadata>
16781 <criteria operator="AND">
16782 <criterion test_ref="oval:org.open-scap.f14:tst:201160"/>
16783 <criteria operator="OR">
16784 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201161"/>
16785 <criterion test_ref="oval:org.open-scap.f14:tst:201162"/>
16786 </criteria>
16787 </criteria>
16788 </definition>
16789 <definition class="compliance" id="oval:org.open-scap.f14:def:20117" version="1">
16790 <metadata>
16791 <title>Network Parameters for Hosts and Routers</title>
16792 <reference ref_id="CCE-3472-8" source="CCE"/>
16793 <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>
16794 </metadata>
16795 <criteria operator="AND">
16796 <criterion test_ref="oval:org.open-scap.f14:tst:201170"/>
16797 <criteria operator="OR">
16798 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201171"/>
16799 <criterion test_ref="oval:org.open-scap.f14:tst:201172"/>
16800 </criteria>
16801 </criteria>
16802 </definition>
16803 <definition class="compliance" id="oval:org.open-scap.f14:def:20118" version="1">
16804 <metadata>
16805 <title>Network Parameters for Hosts and Routers</title>
16806 <reference ref_id="CCE-4320-8" source="CCE"/>
16807 <description>Logging of "martian" packets (those with impossible addresses) should be enabled or disabled for all interfaces as appropriate.</description>
16808 </metadata>
16809 <criteria operator="AND">
16810 <criterion test_ref="oval:org.open-scap.f14:tst:201180"/>
16811 <criteria operator="OR">
16812 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201181"/>
16813 <criterion test_ref="oval:org.open-scap.f14:tst:201182"/>
16814 </criteria>
16815 </criteria>
16816 </definition>
16817 <definition class="compliance" id="oval:org.open-scap.f14:def:20119" version="1">
16818 <metadata>
16819 <title>Network Parameters for Hosts and Routers</title>
16820 <reference ref_id="CCE-4091-5" source="CCE"/>
16821 <description>The default setting for accepting source routed packets should be enabled or disabled for network interfaces as appropriate.</description>
16822 </metadata>
16823 <criteria operator="AND">
16824 <criterion test_ref="oval:org.open-scap.f14:tst:201190"/>
16825 <criteria operator="OR">
16826 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201191"/>
16827 <criterion test_ref="oval:org.open-scap.f14:tst:201192"/>
16828 </criteria>
16829 </criteria>
16830 </definition>
16831 <definition class="compliance" id="oval:org.open-scap.f14:def:20120" version="1">
16832 <metadata>
16833 <title>Network Parameters for Hosts and Routers</title>
16834 <reference ref_id="CCE-4186-3" source="CCE"/>
16835 <description>The default setting for accepting ICMP redirects should be enabled or disabled for network interfaces as appropriate.</description>
16836 </metadata>
16837 <criteria operator="AND">
16838 <criterion test_ref="oval:org.open-scap.f14:tst:201200"/>
16839 <criteria operator="OR">
16840 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201201"/>
16841 <criterion test_ref="oval:org.open-scap.f14:tst:201202"/>
16842 </criteria>
16843 </criteria>
16844 </definition>
16845 <definition class="compliance" id="oval:org.open-scap.f14:def:20121" version="1">
16846 <metadata>
16847 <title>Network Parameters for Hosts and Routers</title>
16848 <reference ref_id="CCE-3339-9" source="CCE"/>
16849 <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>
16850 </metadata>
16851 <criteria operator="AND">
16852 <criterion test_ref="oval:org.open-scap.f14:tst:201210"/>
16853 <criteria operator="OR">
16854 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201211"/>
16855 <criterion test_ref="oval:org.open-scap.f14:tst:201212"/>
16856 </criteria>
16857 </criteria>
16858 </definition>
16859 <definition class="compliance" id="oval:org.open-scap.f14:def:20122" version="1">
16860 <metadata>
16861 <title>Network Parameters for Hosts and Routers</title>
16862 <reference ref_id="CCE-3644-2" source="CCE"/>
16863 <description>Ignoring ICMP echo requests (pings) sent to broadcast / multicast addresses should be enabled or disabled as appropriate.</description>
16864 </metadata>
16865 <criteria operator="AND">
16866 <criterion test_ref="oval:org.open-scap.f14:tst:201220"/>
16867 <criteria operator="OR">
16868 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201221"/>
16869 <criterion test_ref="oval:org.open-scap.f14:tst:201222"/>
16870 </criteria>
16871 </criteria>
16872 </definition>
16873 <definition class="compliance" id="oval:org.open-scap.f14:def:20123" version="1">
16874 <metadata>
16875 <title>Network Parameters for Hosts and Routers</title>
16876 <reference ref_id="CCE-4133-5" source="CCE"/>
16877 <description>Ignoring bogus ICMP responses to broadcasts should be enabled or disabled as appropriate.</description>
16878 </metadata>
16879 <criteria operator="AND">
16880 <criterion test_ref="oval:org.open-scap.f14:tst:201230"/>
16881 <criteria operator="OR">
16882 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201231"/>
16883 <criterion test_ref="oval:org.open-scap.f14:tst:201232"/>
16884 </criteria>
16885 </criteria>
16886 </definition>
16887 <definition class="compliance" id="oval:org.open-scap.f14:def:20124" version="1">
16888 <metadata>
16889 <title>Network Parameters for Hosts and Routers</title>
16890 <reference ref_id="CCE-4265-5" source="CCE"/>
16891 <description>Sending TCP syncookies should be enabled or disabled as appropriate.</description>
16892 </metadata>
16893 <criteria operator="AND">
16894 <criterion test_ref="oval:org.open-scap.f14:tst:201240"/>
16895 <criteria operator="OR">
16896 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201241"/>
16897 <criterion test_ref="oval:org.open-scap.f14:tst:201242"/>
16898 </criteria>
16899 </criteria>
16900 </definition>
16901 <definition class="compliance" id="oval:org.open-scap.f14:def:20125" version="1">
16902 <metadata>
16903 <title>Network Parameters for Hosts and Routers</title>
16904 <reference ref_id="CCE-4080-8" source="CCE"/>
16905 <description>Performing source validation by reverse path should be enabled or disabled for all interfaces as appropriate.</description>
16906 </metadata>
16907 <criteria operator="AND">
16908 <criterion test_ref="oval:org.open-scap.f14:tst:201250"/>
16909 <criteria operator="OR">
16910 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201251"/>
16911 <criterion test_ref="oval:org.open-scap.f14:tst:201252"/>
16912 </criteria>
16913 </criteria>
16914 </definition>
16915 <definition class="compliance" id="oval:org.open-scap.f14:def:20126" version="1">
16916 <metadata>
16917 <title>Network Parameters for Hosts and Routers</title>
16918 <reference ref_id="CCE-3840-6" source="CCE"/>
16919 <description>The default setting for performing source validation by reverse path should be enabled or disabled for network interfaces as appropriate.</description>
16920 </metadata>
16921 <criteria operator="AND">
16922 <criterion test_ref="oval:org.open-scap.f14:tst:201260"/>
16923 <criteria operator="OR">
16924 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201261"/>
16925 <criterion test_ref="oval:org.open-scap.f14:tst:201262"/>
16926 </criteria>
16927 </criteria>
16928 </definition>
16929 <definition class="compliance" id="oval:org.open-scap.f14:def:20127" version="1">
16930 <metadata>
16931 <title>Disable Wireless in BIOS</title>
16932 <reference ref_id="CCE-3628-5" source="CCE"/>
16933 <description>All wireless devices should be disabled in the BIOS.</description>
16934 </metadata>
16935 <criteria>
16936 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16937 </criteria>
16938 </definition>
16939 <definition class="compliance" id="oval:org.open-scap.f14:def:20128" version="1">
16940 <metadata>
16941 <title>Deactivate Wireless Interfaces</title>
16942 <reference ref_id="CCE-4276-2" source="CCE"/>
16943 <description>All wireless interfaces should be disabled.</description>
16944 </metadata>
16945 <criteria>
16946 <criterion comment="Find wireless interfaces" test_ref="oval:org.open-scap.f14:tst:20128"/>
16947 </criteria>
16948 </definition>
16949 <definition class="compliance" id="oval:org.open-scap.f14:def:20129" version="1">
16950 <metadata>
16951 <title>Disable Wireless Drivers</title>
16952 <reference ref_id="CCE-4170-7" source="CCE"/>
16953 <description>Device drivers for wireless devices should be excluded from the kernel.</description>
16954 </metadata>
16955 <criteria>
16956 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20129"/>
16957 </criteria>
16958 </definition>
16959 <!-- ipv6 -->
16960 <definition class="compliance" id="oval:org.open-scap.f14:def:20130" version="1">
16961 <metadata>
16962 <title>Disable Automatic Loading of IPv6 Kernel Module</title>
16963 <reference ref_id="CCE-3562-6" source="CCE"/>
16964 <description>Automatic loading of the IPv6 kernel module should be disabled.</description>
16965 </metadata>
16966 <criteria>
16967 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20130"/>
16968 </criteria>
16969 </definition>
16970 <definition class="compliance" id="oval:org.open-scap.f14:def:20131" version="1">
16971 <metadata>
16972 <title>Disable Interface Usage of IPv6</title>
16973 <reference ref_id="CCE-3381-1" source="CCE"/>
16974 <description>The default setting for IPv6 configuration should be disabled for network interfaces.</description>
16975 </metadata>
16976 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
16977 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
16978 <criterion test_ref="oval:org.open-scap.f14:tst:20131"/>
16979 </criteria>
16980 </definition>
16981 <definition class="compliance" id="oval:org.open-scap.f14:def:20132" version="1">
16982 <metadata>
16983 <title>Disable Interface Usage of IPv6</title>
16984 <reference ref_id="CCE-3377-9" source="CCE"/>
16985 <description>Global IPv6 initialization should be disabled.</description>
16986 </metadata>
16987 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
16988 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
16989 <criterion test_ref="oval:org.open-scap.f14:tst:20132"/>
16990 </criteria>
16991 </definition>
16992 <definition class="compliance" id="oval:org.open-scap.f14:def:20133" version="1">
16993 <metadata>
16994 <title>Disable Interface Usage of IPv6</title>
16995 <reference ref_id="CCE-4296-0" source="CCE"/>
16996 <description>IPv6 configuration should be disabled for all interfaces.</description>
16997 </metadata>
16998 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
16999 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17000 <criterion test_ref="oval:org.open-scap.f14:tst:20133"/>
17001 </criteria>
17002 </definition>
17003 <definition class="compliance" id="oval:org.open-scap.f14:def:20134" version="1">
17004 <metadata>
17005 <title>Disable Automatic Configuration</title>
17006 <reference ref_id="CCE-4269-7" source="CCE"/>
17007 <description>Accepting IPv6 router advertisements should be disabled for all network interfaces.</description>
17008 </metadata>
17009 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17010 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17011 <criterion test_ref="oval:org.open-scap.f14:tst:20134"/>
17012 </criteria>
17013 </definition>
17014 <definition class="compliance" id="oval:org.open-scap.f14:def:20135" version="1">
17015 <metadata>
17016 <title>Disable Automatic Configuration</title>
17017 <reference ref_id="CCE-4291-1" source="CCE"/>
17018 <description>The default setting for accepting IPv6 router advertisements should be disabled for network interfaces. (and dependencies are met)</description>
17019 </metadata>
17020 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17021 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17022 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17023 </criteria>
17024 </definition>
17025 <definition class="compliance" id="oval:org.open-scap.f14:def:20136" version="1">
17026 <metadata>
17027 <title>Disable Automatic Configuration</title>
17028 <reference ref_id="CCE-4313-3" source="CCE"/>
17029 <description>Accepting redirects from IPv6 routers should be disabled as appropriate for all network interfaces. (and dependencies are met)</description>
17030 </metadata>
17031 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17032 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17033 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17034 </criteria>
17035 </definition>
17036 <definition class="compliance" id="oval:org.open-scap.f14:def:20137" version="1">
17037 <metadata>
17038 <title>Disable Automatic Configuration</title>
17039 <reference ref_id="CCE-4198-8" source="CCE"/>
17040 <description>The default setting for accepting redirects from IPv6 routers should be disabled for network interfaces. (and dependencies are met)</description>
17041 </metadata>
17042 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17043 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17044 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17045 </criteria>
17046 </definition>
17047 <definition class="compliance" id="oval:org.open-scap.f14:def:20138" version="1">
17048 <metadata>
17049 <title>Use Privacy Extensions for Address if Necessary</title>
17050 <reference ref_id="CCE-3842-2" source="CCE"/>
17051 <description>IPv6 privacy extensions should be configured appropriately for all interfaces. (and dependencies are met)</description>
17052 </metadata>
17053 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17054 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17055 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17056 </criteria>
17057 </definition>
17058 <!-- sysctl -->
17059 <definition class="compliance" id="oval:org.open-scap.f14:def:20139" version="1">
17060 <metadata>
17061 <title>Limit Network-Transmitted Configuration</title>
17062 <reference ref_id="CCE-4159-0" source="CCE"/>
17063 <description>The default number of IPv6 router solicitations for network interfaces to send should be set appropriately. (and dependencies are met)</description>
17064 </metadata>
17065 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17066 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17067 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17068 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17069 <criteria operator="AND">
17070 <criterion test_ref="oval:org.open-scap.f14:tst:201390"/>
17071 <criteria operator="OR">
17072 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201391"/>
17073 <criterion test_ref="oval:org.open-scap.f14:tst:201392"/>
17074 </criteria>
17075 </criteria>
17076 </criteria>
17077 </definition>
17078 <definition class="compliance" id="oval:org.open-scap.f14:def:20140" version="1">
17079 <metadata>
17080 <title>Limit Network-Transmitted Configuration</title>
17081 <reference ref_id="CCE-4221-8" source="CCE"/>
17082 <description>The default setting for accepting router preference via IPv6 router advertisement should be disabled for network interfaces. (and dependencies are met)</description>
17083 </metadata>
17084 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17085 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17086 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17087 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17088 <criteria operator="AND">
17089 <criterion test_ref="oval:org.open-scap.f14:tst:201400"/>
17090 <criteria operator="OR">
17091 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201401"/>
17092 <criterion test_ref="oval:org.open-scap.f14:tst:201402"/>
17093 </criteria>
17094 </criteria>
17095 </criteria>
17096 </definition>
17097 <definition class="compliance" id="oval:org.open-scap.f14:def:20141" version="1">
17098 <metadata>
17099 <title>Limit Network-Transmitted Configuration</title>
17100 <reference ref_id="CCE-4058-4" source="CCE"/>
17101 <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>
17102 </metadata>
17103 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17104 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17105 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17106 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17107 <criteria operator="AND">
17108 <criterion test_ref="oval:org.open-scap.f14:tst:201410"/>
17109 <criteria operator="OR">
17110 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201411"/>
17111 <criterion test_ref="oval:org.open-scap.f14:tst:201412"/>
17112 </criteria>
17113 </criteria>
17114 </criteria>
17115 </definition>
17116 <definition class="compliance" id="oval:org.open-scap.f14:def:20142" version="1">
17117 <metadata>
17118 <title>Limit Network-Transmitted Configuration</title>
17119 <reference ref_id="CCE-4128-5" source="CCE"/>
17120 <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>
17121 </metadata>
17122 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17123 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17124 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17125 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17126 <criteria operator="AND">
17127 <criterion test_ref="oval:org.open-scap.f14:tst:201420"/>
17128 <criteria operator="OR">
17129 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201421"/>
17130 <criterion test_ref="oval:org.open-scap.f14:tst:201422"/>
17131 </criteria>
17132 </criteria>
17133 </criteria>
17134 </definition>
17135 <definition class="compliance" id="oval:org.open-scap.f14:def:20143" version="1">
17136 <metadata>
17137 <title>Limit Network-Transmitted Configuration</title>
17138 <reference ref_id="CCE-4287-9" source="CCE"/>
17139 <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>
17140 </metadata>
17141 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17142 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17143 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17144 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17145 <criteria operator="AND">
17146 <criterion test_ref="oval:org.open-scap.f14:tst:201430"/>
17147 <criteria operator="OR">
17148 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201431"/>
17149 <criterion test_ref="oval:org.open-scap.f14:tst:201432"/>
17150 </criteria>
17151 </criteria>
17152 </criteria>
17153 </definition>
17154 <definition class="compliance" id="oval:org.open-scap.f14:def:20144" version="1">
17155 <metadata>
17156 <title>Limit Network-Transmitted Configuration</title>
17157 <reference ref_id="CCE-3895-0" source="CCE"/>
17158 <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>
17159 </metadata>
17160 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17161 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17162 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17163 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17164 <criteria operator="AND">
17165 <criterion test_ref="oval:org.open-scap.f14:tst:201440"/>
17166 <criteria operator="OR">
17167 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201441"/>
17168 <criterion test_ref="oval:org.open-scap.f14:tst:201442"/>
17169 </criteria>
17170 </criteria>
17171 </criteria>
17172 </definition>
17173 <definition class="compliance" id="oval:org.open-scap.f14:def:20145" version="1">
17174 <metadata>
17175 <title>Limit Network-Transmitted Configuration</title>
17176 <reference ref_id="CCE-4137-6" source="CCE"/>
17177 <description>The default number of global unicast IPv6 addresses allowed per network interface should be set appropriately. (and dependencies are met)</description>
17178 </metadata>
17179 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17180 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17181 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17182 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17183 <criteria operator="AND">
17184 <criterion test_ref="oval:org.open-scap.f14:tst:201450"/>
17185 <criteria operator="OR">
17186 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201451"/>
17187 <criterion test_ref="oval:org.open-scap.f14:tst:201452"/>
17188 </criteria>
17189 </criteria>
17190 </criteria>
17191 </definition>
17192 <definition class="compliance" id="oval:org.open-scap.f14:def:20146" version="1">
17193 <metadata>
17194 <title>Verify ip6tables is enabled</title>
17195 <reference ref_id="CCE-4167-3" source="CCE"/>
17196 <description>The ip6tables service should be enabled.</description>
17197 </metadata>
17198 <criteria>
17199 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20146"/>
17200 </criteria>
17201 </definition>
17202 <!-- non sysctl -->
17203 <definition class="compliance" id="oval:org.open-scap.f14:def:20147" version="1">
17204 <metadata>
17205 <title>Inspect and Activate Default Rules </title>
17206 <reference ref_id="CCE-4189-7" source="CCE"/>
17207 <description>The iptables service should be enabled.</description>
17208 </metadata>
17209 <criteria>
17210 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20147"/>
17211 </criteria>
17212 </definition>
17213 <definition class="compliance" id="oval:org.open-scap.f14:def:201474" version="1">
17214 <metadata>
17215 <title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</title>
17216 <reference ref_id="TBD" source="CCE"/>
17217 <description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</description>
17218 </metadata>
17219 <criteria>
17220 <criterion comment=":INPUT DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014741"/>
17221 <criterion comment=":INPUT ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014742"/>
17222 </criteria>
17223 </definition>
17224 <definition class="compliance" id="oval:org.open-scap.f14:def:201475" version="1">
17225 <metadata>
17226 <title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</title>
17227 <reference ref_id="TBD" source="CCE"/>
17228 <description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</description>
17229 </metadata>
17230 <criteria>
17231 <criterion comment=":FORWARD DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014751"/>
17232 <criterion comment=":FORWARD ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014752"/>
17233 </criteria>
17234 </definition>
17235 <!--
17236 <definition class="compliance" id="oval:org.open-scap.f14:def:201476" version="1">
17237 <metadata>
17238 <title>Disable Support for DCCP</title>
17239 <reference ref_id="TBD" source="CCE"/>
17240 <description>Support for DCCP should be disabled.</description>
17241 </metadata>
17242 <criteria>
17243 <criterion comment="check for DCCP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201476"/>
17244 </criteria>
17245 </definition>
17246
17247 <definition class="compliance" id="oval:org.open-scap.f14:def:201477" version="1">
17248 <metadata>
17249 <title>Disable Support for SCTP</title>
17250 <reference ref_id="TBD" source="CCE"/>
17251 <description>Support for SCTP should be disabled.</description>
17252 </metadata>
17253 <criteria>
17254 <criterion comment="check for SCTP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201477"/>
17255 </criteria>
17256 </definition>
17257
17258 <definition class="compliance" id="oval:org.open-scap.f14:def:201478" version="1">
17259 <metadata>
17260 <title>Disable Support for RDS</title>
17261 <reference ref_id="TBD" source="CCE"/>
17262 <description>Support for RDS should be disabled.</description>
17263 </metadata>
17264 <criteria>
17265 <criterion comment="check for RDS in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201478"/>
17266 </criteria>
17267 </definition>
17268
17269 <definition class="compliance" id="oval:org.open-scap.f14:def:201479" version="1">
17270 <metadata>
17271 <title>Disable Support for TIPC</title>
17272 <reference ref_id="TBD" source="CCE"/>
17273 <description>Support for TIPC should be disabled.</description>
17274 </metadata>
17275 <criteria>
17276 <criterion comment="check for TIPC in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201479"/>
17277 </criteria>
17278 </definition>
17279 -->
17280 <definition class="compliance" id="oval:org.open-scap.f14:def:20148" version="1">
17281 <metadata>
17282 <title>Configure Syslog</title>
17283 <reference ref_id="CCE-3679-8" source="CCE"/>
17284 <description>The syslog service should be enabled or disabled as appropriate.</description>
17285 </metadata>
17286 <criteria>
17287 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20148"/>
17288 </criteria>
17289 </definition>
17290 <definition class="compliance" id="oval:org.open-scap.f14:def:20149" version="1">
17291 <metadata>
17292 <title>Confirm Existence and Permissions of System Log Files </title>
17293 <reference ref_id="CCE-4366-1" source="CCE"/>
17294 <description>All mandatory log files should be owned by root user.</description>
17295 </metadata>
17296 <criteria operator="AND">
17297 <criterion comment="check if user owns all mandatory log files" test_ref="oval:org.open-scap.f14:tst:20149"/>
17298 <criterion comment="check if user exists" test_ref="oval:org.open-scap.f14:tst:201491"/>
17299 </criteria>
17300 </definition>
17301 <definition class="compliance" id="oval:org.open-scap.f14:def:20150" version="1">
17302 <metadata>
17303 <title>Confirm Existence and Permissions of System Log Files</title>
17304 <reference ref_id="CCE-3701-0" source="CCE"/>
17305 <description>All syslog log files should be owned by the appropriate group.</description>
17306 </metadata>
17307 <criteria operator="AND">
17308 <criterion comment="check if group root owns all syslog log files" test_ref="oval:org.open-scap.f14:tst:20150"/>
17309 <criterion comment="check if group exists" test_ref="oval:org.open-scap.f14:tst:201501"/>
17310 </criteria>
17311 </definition>
17312 <definition class="compliance" id="oval:org.open-scap.f14:def:20151" version="1">
17313 <metadata>
17314 <title>Confirm Existence and Permissions of System Log Files </title>
17315 <reference ref_id="CCE-4233-3" source="CCE"/>
17316 <description>File permissions for all syslog log files should be set correctly.</description>
17317 </metadata>
17318 <criteria>
17319 <criterion comment="check permissions of all syslog log files" test_ref="oval:org.open-scap.f14:tst:20151"/>
17320 </criteria>
17321 </definition>
17322 <definition class="compliance" id="oval:org.open-scap.f14:def:20152" version="1">
17323 <metadata>
17324 <title>Send Logs to a Remote Loghost </title>
17325 <reference ref_id="CCE-4260-6" source="CCE"/>
17326 <description>Syslog logs should be sent to a remote loghost</description>
17327 </metadata>
17328 <criteria>
17329 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20152"/>
17330 </criteria>
17331 </definition>
17332 <definition class="compliance" id="oval:org.open-scap.f14:def:20153" version="1">
17333 <metadata>
17334 <title>Disable syslogd from Accepting Remote Messages on Loghosts Only</title>
17335 <reference ref_id="CCE-3382-9" source="CCE"/>
17336 <description>Syslogd should reject remote messages</description>
17337 </metadata>
17338 <criteria>
17339 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20153"/>
17340 </criteria>
17341 </definition>
17342 <!--
17343 <definition class="compliance" id="oval:org.open-scap.f14:def:20154" version="1">
17344 <metadata>
17345 <title>Ensure All Logs are Rotated by logrotate</title>
17346 <reference ref_id="CCE-4182-2" source="CCE"/>
17347 <description>The logrotate (syslog rotater) service should be enabled.</description>
17348 </metadata>
17349 <criteria>
17350 <criterion comment="Find each file in /etc/syslog.conf in /etc/logrotate.d/syslog" test_ref="oval:org.open-scap.f14:tst:20154"/>
17351 </criteria>
17352 </definition>
17353 -->
17354 <definition class="compliance" id="oval:org.open-scap.f14:def:20155" version="1">
17355 <metadata>
17356 <title>Monitor Suspicious Log Messages using Logwatch</title>
17357 <reference ref_id="CCE-4323-2" source="CCE"/>
17358 <description>The logwatch service should be enabled or disabled as appropriate</description>
17359 </metadata>
17360 <criteria>
17361 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17362 </criteria>
17363 </definition>
17364 <!-- END -->
17365 <definition class="compliance" id="oval:org.open-scap.f14:def:20156" version="1">
17366 <metadata>
17367 <title>Enable the auditd Service</title>
17368 <reference ref_id="CCE-4292-9" source="CCE"/>
17369 <description>The auditd service should be enabled.</description>
17370 </metadata>
17371 <criteria>
17372 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20156"/>
17373 </criteria>
17374 </definition>
17375 <definition class="compliance" id="oval:org.open-scap.f14:def:20157" version="1">
17376 <metadata>
17377 <title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</title>
17378 <reference ref_id="TBD" source="CCE"/>
17379 <description>Look for argument audit=1 in the kernel line in /etc/grub.conf</description>
17380 </metadata>
17381 <criteria>
17382 <criterion comment="check for audit=1 in /etc/grub.conf" test_ref="oval:org.open-scap.f14:tst:20157"/>
17383 </criteria>
17384 </definition>
17385 <definition class="compliance" id="oval:org.open-scap.f14:def:201575" version="1">
17386 <metadata>
17387 <title>Records Events that Modify Date and Time Information</title>
17388 <reference ref_id="TBD" source="CCE"/>
17389 <description>Audit rules about time are enabled</description>
17390 </metadata>
17391 <criteria>
17392 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17393 <criteria comment="32bit arch">
17394 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17395 <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"/>
17396 <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"/>
17397 </criteria>
17398 <criteria comment="62bit arch">
17399 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17400 <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"/>
17401 <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"/>
17402 </criteria>
17403 </criteria>
17404 <criterion comment="/etc/audit/audit.rules contains -w /etc/localtime -p wa -k time-change" test_ref="oval:org.open-scap.f14:tst:2015754"/>
17405 </criteria>
17406 </definition>
17407 <definition class="compliance" id="oval:org.open-scap.f14:def:20158" version="1">
17408 <metadata>
17409 <title>Record Events that Modify User/Group Information</title>
17410 <reference ref_id="TBD" source="CCE"/>
17411 <description>Audit rules about User/Group Information are enabled</description>
17412 </metadata>
17413 <criteria>
17414 <criterion comment="/etc/audit/audit.rules contains -w /etc/group -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201580"/>
17415 <criterion comment="/etc/audit/audit.rules contains -w /etc/passwd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201581"/>
17416 <criterion comment="/etc/audit/audit.rules contains -w /etc/gshadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201582"/>
17417 <criterion comment="/etc/audit/audit.rules contains -w /etc/shadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201583"/>
17418 <criterion comment="/etc/audit/audit.rules contains -w /etc/security/opasswd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201584"/>
17419 </criteria>
17420 </definition>
17421 <definition class="compliance" id="oval:org.open-scap.f14:def:20159" version="1">
17422 <metadata>
17423 <title>Record Events that Modify the System’s Network Environment</title>
17424 <reference ref_id="TBD" source="CCE"/>
17425 <description>Audit rules about the System’s Network Environment are enabled</description>
17426 </metadata>
17427 <criteria>
17428 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17429 <criteria comment="32bit arch">
17430 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17431 <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"/>
17432 </criteria>
17433 <criteria comment="62bit arch">
17434 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17435 <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"/>
17436 </criteria>
17437 </criteria>
17438 <criterion comment="/etc/audit/audit.rules contains -w /etc/issue -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201592"/>
17439 <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"/>
17440 <criterion comment="/etc/audit/audit.rules contains -w /etc/hosts -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201594"/>
17441 <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"/>
17442 </criteria>
17443 </definition>
17444 <definition class="compliance" id="oval:org.open-scap.f14:def:20160" version="1">
17445 <metadata>
17446 <title>Record Events that Modify the System’s Mandatory Access Controls</title>
17447 <reference ref_id="TBD" source="CCE"/>
17448 <description>Audit rules about the System’s Mandatory Access Controls are enabled</description>
17449 </metadata>
17450 <criteria>
17451 <criterion comment="/etc/audit/audit.rules contains -w /etc/selinux/ -p wa -k MAC-policy" test_ref="oval:org.open-scap.f14:tst:20160"/>
17452 </criteria>
17453 </definition>
17454 <definition class="compliance" id="oval:org.open-scap.f14:def:20161" version="1">
17455 <metadata>
17456 <title>Ensure auditd Collects Logon and Logout Events</title>
17457 <reference ref_id="TBD" source="CCE"/>
17458 <description>Audit rules about the Logon and Logout Events are enabled</description>
17459 </metadata>
17460 <criteria>
17461 <criterion comment="/etc/audit/audit.rules contains -w /var/log/faillog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201610"/>
17462 <criterion comment="/etc/audit/audit.rules contains -w /var/log/lastlog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201611"/>
17463 </criteria>
17464 </definition>
17465 <definition class="compliance" id="oval:org.open-scap.f14:def:20162" version="1">
17466 <metadata>
17467 <title>Ensure auditd Collects Process and Session Initiation Information</title>
17468 <reference ref_id="TBD" source="CCE"/>
17469 <description>Audit rules about the Process and Session Initiation Information are enabled</description>
17470 </metadata>
17471 <criteria>
17472 <criterion comment="/etc/audit/audit.rules contains -w /var/run/utmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201620"/>
17473 <criterion comment="/etc/audit/audit.rules contains -w /var/log/btmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201621"/>
17474 <criterion comment="/etc/audit/audit.rules contains -w /var/log/wtmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201622"/>
17475 </criteria>
17476 </definition>
17477 <definition class="compliance" id="oval:org.open-scap.f14:def:20163" version="1">
17478 <metadata>
17479 <title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</title>
17480 <reference ref_id="TBD" source="CCE"/>
17481 <description>Audit rules about the Discretionary Access Control Permission Modification Events are enabled</description>
17482 </metadata>
17483 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17484 <criteria comment="32bit arch">
17485 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17486 <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"/>
17487 <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"/>
17488 <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"/>
17489 </criteria>
17490 <criteria comment="62bit arch">
17491 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17492 <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"/>
17493 <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"/>
17494 <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"/>
17495 </criteria>
17496 </criteria>
17497 </definition>
17498 <definition class="compliance" id="oval:org.open-scap.f14:def:20164" version="1">
17499 <metadata>
17500 <title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</title>
17501 <reference ref_id="TBD" source="CCE"/>
17502 <description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful) are enabled</description>
17503 </metadata>
17504 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17505 <criteria comment="32bit arch">
17506 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17507 <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"/>
17508 <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"/>
17509 </criteria>
17510 <criteria comment="62bit arch">
17511 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17512 <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"/>
17513 <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"/>
17514 </criteria>
17515 </criteria>
17516 </definition>
17517 <definition class="compliance" id="oval:org.open-scap.f14:def:20165" version="1">
17518 <metadata>
17519 <title>Ensure auditd Collects Information on the Use of Privileged Commands</title>
17520 <reference ref_id="TBD" source="CCE"/>
17521 <description>Audit rules about the Information on the Use of Privileged Commands are enabled</description>
17522 </metadata>
17523 <criteria>
17524 <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"/>
17525 </criteria>
17526 </definition>
17527 <definition class="compliance" id="oval:org.open-scap.f14:def:20166" version="1">
17528 <metadata>
17529 <title>Ensure auditd Collects Information on Exporting to Media (successful)</title>
17530 <reference ref_id="TBD" source="CCE"/>
17531 <description>Audit rules about the Information on Exporting to Media (successful) are enabled</description>
17532 </metadata>
17533 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17534 <criteria comment="32bit arch">
17535 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17536 <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"/>
17537 </criteria>
17538 <criteria comment="62bit arch">
17539 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17540 <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"/>
17541 </criteria>
17542 </criteria>
17543 </definition>
17544 <definition class="compliance" id="oval:org.open-scap.f14:def:20167" version="1">
17545 <metadata>
17546 <title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</title>
17547 <reference ref_id="TBD" source="CCE"/>
17548 <description>Audit rules about the Files Deletion Events by User (successful and unsuccessful) are enabled</description>
17549 </metadata>
17550 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17551 <criteria comment="32bit arch">
17552 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17553 <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"/>
17554 </criteria>
17555 <criteria comment="62bit arch">
17556 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17557 <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"/>
17558 </criteria>
17559 </criteria>
17560 </definition>
17561 <definition class="compliance" id="oval:org.open-scap.f14:def:20168" version="1">
17562 <metadata>
17563 <title>Ensure auditd Collects System Administrator Actions</title>
17564 <reference ref_id="TBD" source="CCE"/>
17565 <description>Audit rules about the System Administrator Actions are enabled</description>
17566 </metadata>
17567 <criteria>
17568 <criterion comment="/etc/audit/audit.rules contains -w /etc/sudoers -p wa -k actions" test_ref="oval:org.open-scap.f14:tst:20168"/>
17569 </criteria>
17570 </definition>
17571 <definition class="compliance" id="oval:org.open-scap.f14:def:201685" version="1">
17572 <metadata>
17573 <title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</title>
17574 <reference ref_id="TBD" source="CCE"/>
17575 <description>Audit rules about the Information on Kernel Module Loading and Unloading.</description>
17576 </metadata>
17577 <criteria>
17578 <!-- <criterion comment="/etc/audit/audit.rules contains -w /sbin/insmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016851"/> -->
17579 <criterion comment="/etc/audit/audit.rules contains -w /sbin/rmmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016852"/>
17580 <criterion comment="/etc/audit/audit.rules contains -w /sbin/modprobe -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016853"/>
17581 <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"/>
17582 </criteria>
17583 </definition>
17584 <definition class="compliance" id="oval:org.open-scap.f14:def:20169" version="1">
17585 <metadata>
17586 <title>Make the auditd Configuration Immutable</title>
17587 <reference ref_id="TBD" source="CCE"/>
17588 <description>Force a reboot to change audit rules is enabled</description>
17589 </metadata>
17590 <criteria>
17591 <criterion comment="look in /etc/audit/audit.rules for -e 2" test_ref="oval:org.open-scap.f14:tst:20169"/>
17592 </criteria>
17593 </definition>
17594 <definition class="compliance" id="oval:org.open-scap.f14:def:20170" version="1">
17595 <metadata>
17596 <title>Inetd and Xinetd</title>
17597 <reference ref_id="CCE-4234-1" source="CCE"/>
17598 <description>The inetd service should be disabled.</description>
17599 </metadata>
17600 <criteria comment="inetd is not installed or conditions are met" operator="OR">
17601 <extend_definition comment="inetd is not installed" definition_ref="oval:org.open-scap.f14:def:20172"/>
17602 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20170"/>
17603 </criteria>
17604 </definition>
17605 <definition class="compliance" id="oval:org.open-scap.f14:def:20171" version="1">
17606 <metadata>
17607 <title>Inetd and Xinetd</title>
17608 <reference ref_id="CCE-4252-3" source="CCE"/>
17609 <description>The xinetd service should be disabled.</description>
17610 </metadata>
17611 <criteria comment="xinetd is not installed or conditions are met" operator="OR">
17612 <extend_definition comment="xinetd is not installed" definition_ref="oval:org.open-scap.f14:def:20173"/>
17613 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20171"/>
17614 </criteria>
17615 </definition>
17616 <definition class="compliance" id="oval:org.open-scap.f14:def:20172" version="1">
17617 <metadata>
17618 <title>Inetd and Xinetd</title>
17619 <reference ref_id="CCE-4023-8" source="CCE"/>
17620 <description>The inetd package should be uninstalled.</description>
17621 </metadata>
17622 <criteria>
17623 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20172"/>
17624 </criteria>
17625 </definition>
17626 <definition class="compliance" id="oval:org.open-scap.f14:def:20173" version="1">
17627 <metadata>
17628 <title>Inetd and Xinetd</title>
17629 <reference ref_id="CCE-4164-0" source="CCE"/>
17630 <description>The xinetd package should be uninstalled.</description>
17631 </metadata>
17632 <criteria>
17633 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20173"/>
17634 </criteria>
17635 </definition>
17636 <definition class="compliance" id="oval:org.open-scap.f14:def:20174" version="1">
17637 <metadata>
17638 <title>Telnet</title>
17639 <reference ref_id="CCE-4330-7" source="CCE"/>
17640 <description>The telnet-server package should be uninstalled.</description>
17641 </metadata>
17642 <criteria>
17643 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20174"/>
17644 </criteria>
17645 </definition>
17646 <definition class="compliance" id="oval:org.open-scap.f14:def:201745" version="1">
17647 <metadata>
17648 <title>Disable Telnet service</title>
17649 <reference ref_id="CCE-3390-2" source="CCE"/>
17650 <description>The telnet service should be disabled.</description>
17651 </metadata>
17652 <criteria comment="telnet is not installed or conditions are met" operator="OR">
17653 <extend_definition comment="telnet is not installed" definition_ref="oval:org.open-scap.f14:def:20174"/>
17654 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201745"/>
17655 </criteria>
17656 </definition>
17657 <definition class="compliance" id="oval:org.open-scap.f14:def:20175" version="1">
17658 <metadata>
17659 <title>Telnet Client installation</title>
17660 <reference ref_id="TBD" source="CCE"/>
17661 <description>The telnet package should be uninstalled.</description>
17662 </metadata>
17663 <criteria>
17664 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20175"/>
17665 </criteria>
17666 </definition>
17667 <definition class="compliance" id="oval:org.open-scap.f14:def:20176" version="1">
17668 <metadata>
17669 <title>Telnet kerberos client</title>
17670 <reference ref_id="TBD" source="CCE"/>
17671 <description>The krb5-workstation package should be uninstalled.</description>
17672 </metadata>
17673 <criteria>
17674 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20176"/>
17675 </criteria>
17676 </definition>
17677 <definition class="compliance" id="oval:org.open-scap.f14:def:20177" version="1">
17678 <metadata>
17679 <title>Remove the Rsh Server Commands from the System</title>
17680 <reference ref_id="CCE-4308-3" source="CCE"/>
17681 <description>The rsh-server package should be uninstalled.</description>
17682 </metadata>
17683 <criteria>
17684 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20177"/>
17685 </criteria>
17686 </definition>
17687 <definition class="compliance" id="oval:org.open-scap.f14:def:201774" version="1">
17688 <metadata>
17689 <title>disable rcp</title>
17690 <reference ref_id="CCE-3974-3" source="CCE"/>
17691 <description>The rcp service should be disabled.</description>
17692 </metadata>
17693 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
17694 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
17695 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17696 </criteria>
17697 </definition>
17698 <definition class="compliance" id="oval:org.open-scap.f14:def:201775" version="1">
17699 <metadata>
17700 <title>disable rsh</title>
17701 <reference ref_id="CCE-4141-8" source="CCE"/>
17702 <description>The rsh service should be disabled.</description>
17703 </metadata>
17704 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
17705 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
17706 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201775"/>
17707 </criteria>
17708 </definition>
17709 <definition class="compliance" id="oval:org.open-scap.f14:def:201776" version="1">
17710 <metadata>
17711 <title>disable rlogin</title>
17712 <reference ref_id="CCE-3537-8" source="CCE"/>
17713 <description>The rlogin service should be disabled.</description>
17714 </metadata>
17715 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
17716 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
17717 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201776"/>
17718 </criteria>
17719 </definition>
17720 <definition class="compliance" id="oval:org.open-scap.f14:def:20178" version="1">
17721 <metadata>
17722 <title>Remove .rhosts Support from PAM Configuration Files</title>
17723 <reference ref_id="TBD" source="CCE"/>
17724 <description>Check that pam rhosts authentication is not used by any PAM services.</description>
17725 </metadata>
17726 <criteria>
17727 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20178"/>
17728 </criteria>
17729 </definition>
17730 <definition class="compliance" id="oval:org.open-scap.f14:def:20179" version="1">
17731 <metadata>
17732 <title>Remove the Rsh Client Commands from the System</title>
17733 <reference ref_id="TBD" source="CCE"/>
17734 <description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</description>
17735 </metadata>
17736 <criteria>
17737 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20179"/>
17738 </criteria>
17739 </definition>
17740 <definition class="compliance" id="oval:org.open-scap.f14:def:20180" version="1">
17741 <metadata>
17742 <title>NIS</title>
17743 <reference ref_id="CCE-4348-9" source="CCE"/>
17744 <description>The ypserv package should be uninstalled.</description>
17745 </metadata>
17746 <criteria>
17747 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20180"/>
17748 </criteria>
17749 </definition>
17750 <definition class="compliance" id="oval:org.open-scap.f14:def:20181" version="1">
17751 <metadata>
17752 <title>NIS</title>
17753 <reference ref_id="CCE-3705-1" source="CCE"/>
17754 <description>The ypbind service should be disabled.</description>
17755 </metadata>
17756 <criteria comment="ypserv is not installed or conditions are met" operator="OR">
17757 <extend_definition comment="ypserv is not installed" definition_ref="oval:org.open-scap.f14:def:20180"/>
17758 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20181"/>
17759 </criteria>
17760 </definition>
17761 <definition class="compliance" id="oval:org.open-scap.f14:def:20182" version="1">
17762 <metadata>
17763 <title>Uninstall TFTP Server</title>
17764 <reference ref_id="CCE-3916-4" source="CCE"/>
17765 <description>The tftp-server package should be uninstalled.</description>
17766 </metadata>
17767 <criteria>
17768 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20182"/>
17769 </criteria>
17770 </definition>
17771 <definition class="compliance" id="oval:org.open-scap.f14:def:201825" version="1">
17772 <metadata>
17773 <title>Disable TFTP Server</title>
17774 <reference ref_id="CCE-4273-9" source="CCE"/>
17775 <description>The tftp service should be disabled.</description>
17776 </metadata>
17777 <criteria comment="tftp-server is not installed or conditions are met" operator="OR">
17778 <extend_definition comment="tftp-server is not installed" definition_ref="oval:org.open-scap.f14:def:20182"/>
17779 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201825"/>
17780 </criteria>
17781 </definition>
17782 <definition class="compliance" id="oval:org.open-scap.f14:def:20183" version="1">
17783 <metadata>
17784 <title>Installation Helper Service (firstboot)</title>
17785 <reference ref_id="CCE-3412-4" source="CCE"/>
17786 <description>The firstboot service should be disabled.</description>
17787 </metadata>
17788 <criteria>
17789 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20183"/>
17790 </criteria>
17791 </definition>
17792 <definition class="compliance" id="oval:org.open-scap.f14:def:20184" version="1">
17793 <metadata>
17794 <title>Console Mouse Service (gpm)</title>
17795 <reference ref_id="CCE-4229-1" source="CCE"/>
17796 <description>The gpm service should be disabled.</description>
17797 </metadata>
17798 <criteria>
17799 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20184"/>
17800 </criteria>
17801 </definition>
17802 <definition class="compliance" id="oval:org.open-scap.f14:def:20185" version="1">
17803 <metadata>
17804 <title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</title>
17805 <reference ref_id="CCE-4123-6" source="CCE"/>
17806 <description>The irqbalance service should be disabled.</description>
17807 </metadata>
17808 <criteria>
17809 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20185"/>
17810 </criteria>
17811 </definition>
17812 <definition class="compliance" id="oval:org.open-scap.f14:def:20186" version="1">
17813 <metadata>
17814 <title>ISDN Support (isdn)</title>
17815 <reference ref_id="CCE-4286-1" source="CCE"/>
17816 <description>The isdn service should be disabled.</description>
17817 </metadata>
17818 <criteria>
17819 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20186"/>
17820 </criteria>
17821 </definition>
17822 <definition class="compliance" id="oval:org.open-scap.f14:def:20187" version="1">
17823 <metadata>
17824 <title>Kdump Kernel Crash Analyzer (kdump)</title>
17825 <reference ref_id="CCE-3425-6" source="CCE"/>
17826 <description>The kdump service should be disabled.</description>
17827 </metadata>
17828 <criteria>
17829 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20187"/>
17830 </criteria>
17831 </definition>
17832 <definition class="compliance" id="oval:org.open-scap.f14:def:20188" version="1">
17833 <metadata>
17834 <title>Kudzu Hardware Probing Utility (kudzu)</title>
17835 <reference ref_id="CCE-4211-9" source="CCE"/>
17836 <description>The kudzu service should be disabled.</description>
17837 </metadata>
17838 <criteria>
17839 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20188"/>
17840 </criteria>
17841 </definition>
17842 <definition class="compliance" id="oval:org.open-scap.f14:def:20189" version="1">
17843 <metadata>
17844 <title>Software RAID Monitor (mdmonitor)</title>
17845 <reference ref_id="CCE-3854-7" source="CCE"/>
17846 <description>The mdmonitor service should be disabled.</description>
17847 </metadata>
17848 <criteria>
17849 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20189"/>
17850 </criteria>
17851 </definition>
17852 <definition class="compliance" id="oval:org.open-scap.f14:def:20190" version="1">
17853 <metadata>
17854 <title>IA32 Microcode Utility(microcodectl)</title>
17855 <reference ref_id="CCE-4356-2" source="CCE"/>
17856 <description>The microcode_ctl service should be disabled.</description>
17857 </metadata>
17858 <criteria>
17859 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20190"/>
17860 </criteria>
17861 </definition>
17862 <definition class="compliance" id="oval:org.open-scap.f14:def:20191" version="1">
17863 <metadata>
17864 <title>Disable All Networking if Not Needed</title>
17865 <reference ref_id="TBD" source="CCE"/>
17866 <description>The network service should be disabled.</description>
17867 </metadata>
17868 <criteria>
17869 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20191"/>
17870 </criteria>
17871 </definition>
17872 <definition class="compliance" id="oval:org.open-scap.f14:def:20192" version="1">
17873 <metadata>
17874 <title>Disable All External Network Interfaces if Not Needed</title>
17875 <reference ref_id="CCE-4369-5" source="CCE"/>
17876 <description>All files of the form ifcfg-interface except
17877 for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</description>
17878 </metadata>
17879 <criteria>
17880 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20192"/>
17881 </criteria>
17882 </definition>
17883 <definition class="compliance" id="oval:org.open-scap.f14:def:20193" version="1">
17884 <metadata>
17885 <title>Disable Zeroconf Networking</title>
17886 <reference ref_id="CCE-4369-5" source="CCE"/>
17887 <description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</description>
17888 </metadata>
17889 <criteria>
17890 <criterion comment="Look for NOZEROCONF=yes in /etc/sysconfig/network" test_ref="oval:org.open-scap.f14:tst:20193"/>
17891 </criteria>
17892 </definition>
17893 <definition class="compliance" id="oval:org.open-scap.f14:def:20194" version="1">
17894 <metadata>
17895 <title>Smart Card Support (pcscd)</title>
17896 <reference ref_id="CCE-4100-4" source="CCE"/>
17897 <description>The pcscd service should be disabled.</description>
17898 </metadata>
17899 <criteria>
17900 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20194"/>
17901 </criteria>
17902 </definition>
17903 <definition class="compliance" id="oval:org.open-scap.f14:def:20195" version="1">
17904 <metadata>
17905 <title>SMART Disk Monitoring Support (smartd)</title>
17906 <reference ref_id="CCE-3455-3" source="CCE"/>
17907 <description>The smartd service should be disabled.</description>
17908 </metadata>
17909 <criteria>
17910 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20195"/>
17911 </criteria>
17912 </definition>
17913 <definition class="compliance" id="oval:org.open-scap.f14:def:20196" version="1">
17914 <metadata>
17915 <title>Boot Caching (readahead early/readahead later)</title>
17916 <reference ref_id="CCE-4421-4" source="CCE"/>
17917 <description>The readahead_early service should be disabled.</description>
17918 </metadata>
17919 <criteria>
17920 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20196"/>
17921 </criteria>
17922 </definition>
17923 <definition class="compliance" id="oval:org.open-scap.f14:def:20197" version="1">
17924 <metadata>
17925 <title>Boot Caching (readahead early/readahead later)</title>
17926 <reference ref_id="CCE-4302-6" source="CCE"/>
17927 <description>The readahead_later service should be disabled.</description>
17928 </metadata>
17929 <criteria>
17930 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20197"/>
17931 </criteria>
17932 </definition>
17933 <definition class="compliance" id="oval:org.open-scap.f14:def:20198" version="1">
17934 <metadata>
17935 <title>D-Bus IPC Service (messagebus)</title>
17936 <reference ref_id="CCE-3822-4" source="CCE"/>
17937 <description>The messagebus service should be disabled.</description>
17938 </metadata>
17939 <criteria>
17940 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20198"/>
17941 </criteria>
17942 </definition>
17943 <definition class="compliance" id="oval:org.open-scap.f14:def:20199" version="1">
17944 <metadata>
17945 <title>HAL Daemon (haldaemon)</title>
17946 <reference ref_id="CCE-4364-6" source="CCE"/>
17947 <description>The haldaemon service should be disabled.</description>
17948 </metadata>
17949 <criteria>
17950 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20199"/>
17951 </criteria>
17952 </definition>
17953 <definition class="compliance" id="oval:org.open-scap.f14:def:20200" version="1">
17954 <metadata>
17955 <title>Bluetooth Host Controller Interface Daemon (bluetooth)</title>
17956 <reference ref_id="CCE-4355-4" source="CCE"/>
17957 <description>The bluetooth service should be disabled.</description>
17958 </metadata>
17959 <criteria>
17960 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20200"/>
17961 </criteria>
17962 </definition>
17963 <definition class="compliance" id="oval:org.open-scap.f14:def:20201" version="1">
17964 <metadata>
17965 <title>Bluetooth Input Devices (hidd)</title>
17966 <reference ref_id="CCE-4377-8" source="CCE"/>
17967 <description>The hidd service should be disabled.</description>
17968 </metadata>
17969 <criteria>
17970 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20201"/>
17971 </criteria>
17972 </definition>
17973 <definition class="compliance" id="oval:org.open-scap.f14:def:202015" version="1">
17974 <metadata>
17975 <title>Disable Bluetooth Kernel Modules</title>
17976 <reference ref_id="TBD" source="CCE"/>
17977 <description>Prevent loading of the Bluetooth module.</description>
17978 </metadata>
17979 <criteria>
17980 <criterion comment="check that net-pf-31 is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020151"/>
17981 <criterion comment="check that bluetooth is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020152"/>
17982 </criteria>
17983 </definition>
17984 <definition class="compliance" id="oval:org.open-scap.f14:def:20202" version="1">
17985 <metadata>
17986 <title>Advanced Power Management Subsystem (apmd)</title>
17987 <reference ref_id="CCE-4289-5" source="CCE"/>
17988 <description>The apmd service should be disabled.</description>
17989 </metadata>
17990 <criteria>
17991 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20202"/>
17992 </criteria>
17993 </definition>
17994 <definition class="compliance" id="oval:org.open-scap.f14:def:20203" version="1">
17995 <metadata>
17996 <title>Advanced Configuration and Power Interface (acpid)</title>
17997 <reference ref_id="CCE-4298-6" source="CCE"/>
17998 <description>The acpid service should be disabled.</description>
17999 </metadata>
18000 <criteria>
18001 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20203"/>
18002 </criteria>
18003 </definition>
18004 <definition class="compliance" id="oval:org.open-scap.f14:def:20204" version="1">
18005 <metadata>
18006 <title>CPU Throttling (cpuspeed)</title>
18007 <reference ref_id="CCE-4051-9" source="CCE"/>
18008 <description>The cpuspeed service should be disabled.</description>
18009 </metadata>
18010 <criteria>
18011 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20204"/>
18012 </criteria>
18013 </definition>
18014 <definition class="compliance" id="oval:org.open-scap.f14:def:20205" version="1">
18015 <metadata>
18016 <title>Cron Daemon running state</title>
18017 <reference ref_id="CCE-4324-0" source="CCE"/>
18018 <description>The crond service should be enabled.</description>
18019 </metadata>
18020 <criteria>
18021 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20205"/>
18022 </criteria>
18023 </definition>
18024 <definition class="compliance" id="oval:org.open-scap.f14:def:202052" version="1">
18025 <metadata>
18026 <title>At Daemon running state</title>
18027 <reference ref_id="TBD" source="CCE"/>
18028 <description>The atd service should be disabled.</description>
18029 </metadata>
18030 <criteria comment="at is not installed or conditions are met" operator="OR">
18031 <extend_definition comment="at is not installed" definition_ref="oval:org.open-scap.f14:def:202053"/>
18032 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:202052"/>
18033 </criteria>
18034 </definition>
18035 <definition class="compliance" id="oval:org.open-scap.f14:def:202053" version="1">
18036 <metadata>
18037 <title>At Daemons package is installed</title>
18038 <reference ref_id="TBD" source="CCE"/>
18039 <description>The at package should be removed.</description>
18040 </metadata>
18041 <criteria>
18042 <criterion comment="Check for package at" test_ref="oval:org.open-scap.f14:tst:202053"/>
18043 </criteria>
18044 </definition>
18045 <definition class="compliance" id="oval:org.open-scap.f14:def:20206" version="1">
18046 <metadata>
18047 <title>Disable anacron if Possible</title>
18048 <reference ref_id="CCE-4406-5" source="CCE"/>
18049 <description>The anacron service should be disabled.</description>
18050 </metadata>
18051 <criteria>
18052 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20206"/>
18053 </criteria>
18054 </definition>
18055 <definition class="compliance" id="oval:org.open-scap.f14:def:20207" version="1">
18056 <metadata>
18057 <title>Disable anacron if Possible</title>
18058 <reference ref_id="CCE-4428-9" source="CCE"/>
18059 <description>The anacron package should be uninstalled.</description>
18060 </metadata>
18061 <criteria>
18062 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20207"/>
18063 </criteria>
18064 </definition>
18065 <definition class="compliance" id="oval:org.open-scap.f14:def:20208" version="1">
18066 <metadata>
18067 <title>Restrict Permissions on Files Used by cron</title>
18068 <reference ref_id="CCE-3626-9" source="CCE"/>
18069 <description>The /etc/crontab file should be owned by the appropriate group.</description>
18070 </metadata>
18071 <criteria>
18072 <criterion test_ref="oval:org.open-scap.f14:tst:20208"/>
18073 </criteria>
18074 </definition>
18075 <definition class="compliance" id="oval:org.open-scap.f14:def:20209" version="1">
18076 <metadata>
18077 <title>Restrict Permissions on Files Used by cron</title>
18078 <reference ref_id="CCE-3851-3" source="CCE"/>
18079 <description>The /etc/crontab file should be owned by the appropriate user.</description>
18080 </metadata>
18081 <criteria>
18082 <criterion test_ref="oval:org.open-scap.f14:tst:20209"/>
18083 </criteria>
18084 </definition>
18085 <definition class="compliance" id="oval:org.open-scap.f14:def:20210" version="1">
18086 <metadata>
18087 <title>Restrict Permissions on Files Used by cron</title>
18088 <reference ref_id="CCE-4388-5" source="CCE"/>
18089 <description>File permissions for /etc/crontab should be set correctly.</description>
18090 </metadata>
18091 <criteria>
18092 <criterion test_ref="oval:org.open-scap.f14:tst:20210"/>
18093 </criteria>
18094 </definition>
18095 <definition class="compliance" id="oval:org.open-scap.f14:def:20211" version="1">
18096 <metadata>
18097 <title>Restrict Permissions on Files Used by cron</title>
18098 <reference ref_id="CCE-3604-6" source="CCE"/>
18099 <description>The /etc/anacrontab file should be owned by the appropriate group.</description>
18100 </metadata>
18101 <criteria>
18102 <criterion test_ref="oval:org.open-scap.f14:tst:20211"/>
18103 </criteria>
18104 </definition>
18105 <definition class="compliance" id="oval:org.open-scap.f14:def:20212" version="1">
18106 <metadata>
18107 <title>Restrict Permissions on Files Used by cron</title>
18108 <reference ref_id="CCE-4379-4" source="CCE"/>
18109 <description>The /etc/anacrontab file should be owned by the appropriate user.</description>
18110 </metadata>
18111 <criteria>
18112 <criterion test_ref="oval:org.open-scap.f14:tst:20212"/>
18113 </criteria>
18114 </definition>
18115 <definition class="compliance" id="oval:org.open-scap.f14:def:20213" version="1">
18116 <metadata>
18117 <title>Restrict Permissions on Files Used by cron</title>
18118 <reference ref_id="CCE-4304-2" source="CCE"/>
18119 <description>File permissions for /etc/anacrontab should be set correctly.</description>
18120 </metadata>
18121 <criteria>
18122 <criterion test_ref="oval:org.open-scap.f14:tst:20213"/>
18123 </criteria>
18124 </definition>
18125 <definition class="compliance" id="oval:org.open-scap.f14:def:20214" version="1">
18126 <metadata>
18127 <title>Restrict Permissions on Files Used by cron</title>
18128 <reference ref_id="CCE-4054-3" source="CCE"/>
18129 <description>The /etc/cron.hourly file should be owned by the appropriate group.</description>
18130 </metadata>
18131 <criteria>
18132 <criterion test_ref="oval:org.open-scap.f14:tst:20214"/>
18133 </criteria>
18134 </definition>
18135 <definition class="compliance" id="oval:org.open-scap.f14:def:20215" version="1">
18136 <metadata>
18137 <title>Restrict Permissions on Files Used by cron</title>
18138 <reference ref_id="CCE-3481-9" source="CCE"/>
18139 <description>The /etc/cron.daily file should be owned by the appropriate group.</description>
18140 </metadata>
18141 <criteria>
18142 <criterion test_ref="oval:org.open-scap.f14:tst:20215"/>
18143 </criteria>
18144 </definition>
18145 <definition class="compliance" id="oval:org.open-scap.f14:def:20216" version="1">
18146 <metadata>
18147 <title>Restrict Permissions on Files Used by cron</title>
18148 <reference ref_id="CCE-4331-5" source="CCE"/>
18149 <description>The /etc/cron.weekly file should be owned by the appropriate group.</description>
18150 </metadata>
18151 <criteria>
18152 <criterion test_ref="oval:org.open-scap.f14:tst:20216"/>
18153 </criteria>
18154 </definition>
18155 <definition class="compliance" id="oval:org.open-scap.f14:def:20217" version="1">
18156 <metadata>
18157 <title>Restrict Permissions on Files Used by cron</title>
18158 <reference ref_id="CCE-4322-4" source="CCE"/>
18159 <description>The /etc/cron.monthly file should be owned by the appropriate group.</description>
18160 </metadata>
18161 <criteria>
18162 <criterion test_ref="oval:org.open-scap.f14:tst:20217"/>
18163 </criteria>
18164 </definition>
18165 <definition class="compliance" id="oval:org.open-scap.f14:def:20218" version="1">
18166 <metadata>
18167 <title>Restrict Permissions on Files Used by cron</title>
18168 <reference ref_id="CCE-4212-7" source="CCE"/>
18169 <description>The /etc/cron.d file should be owned by the appropriate group.</description>
18170 </metadata>
18171 <criteria>
18172 <criterion test_ref="oval:org.open-scap.f14:tst:20218"/>
18173 </criteria>
18174 </definition>
18175 <definition class="compliance" id="oval:org.open-scap.f14:def:20219" version="1">
18176 <metadata>
18177 <title>Restrict Permissions on Files Used by cron</title>
18178 <reference ref_id="CCE-3983-4" source="CCE"/>
18179 <description>The /etc/cron.hourly file should be owned by the appropriate user.</description>
18180 </metadata>
18181 <criteria>
18182 <criterion test_ref="oval:org.open-scap.f14:tst:20219"/>
18183 </criteria>
18184 </definition>
18185 <definition class="compliance" id="oval:org.open-scap.f14:def:20220" version="1">
18186 <metadata>
18187 <title>Restrict Permissions on Files Used by cron</title>
18188 <reference ref_id="CCE-4022-0" source="CCE"/>
18189 <description>The /etc/cron.daily file should be owned by the appropriate user.</description>
18190 </metadata>
18191 <criteria>
18192 <criterion test_ref="oval:org.open-scap.f14:tst:20220"/>
18193 </criteria>
18194 </definition>
18195 <definition class="compliance" id="oval:org.open-scap.f14:def:20221" version="1">
18196 <metadata>
18197 <title>Restrict Permissions on Files Used by cron</title>
18198 <reference ref_id="CCE-3833-1" source="CCE"/>
18199 <description>The /etc/cron.weekly file should be owned by the appropriate user.</description>
18200 </metadata>
18201 <criteria>
18202 <criterion test_ref="oval:org.open-scap.f14:tst:20221"/>
18203 </criteria>
18204 </definition>
18205 <definition class="compliance" id="oval:org.open-scap.f14:def:20222" version="1">
18206 <metadata>
18207 <title>Restrict Permissions on Files Used by cron</title>
18208 <reference ref_id="CCE-4441-2" source="CCE"/>
18209 <description>The /etc/cron.monthly file should be owned by the appropriate user.</description>
18210 </metadata>
18211 <criteria>
18212 <criterion test_ref="oval:org.open-scap.f14:tst:20222"/>
18213 </criteria>
18214 </definition>
18215 <definition class="compliance" id="oval:org.open-scap.f14:def:20223" version="1">
18216 <metadata>
18217 <title>Restrict Permissions on Files Used by cron</title>
18218 <reference ref_id="CCE-4380-2" source="CCE"/>
18219 <description>The /etc/cron.d file should be owned by the appropriate user.</description>
18220 </metadata>
18221 <criteria>
18222 <criterion test_ref="oval:org.open-scap.f14:tst:20223"/>
18223 </criteria>
18224 </definition>
18225 <definition class="compliance" id="oval:org.open-scap.f14:def:20224" version="1">
18226 <metadata>
18227 <title>Restrict Permissions on Files Used by cron</title>
18228 <reference ref_id="CCE-4106-1" source="CCE"/>
18229 <description>File permissions for /etc/cron.hourly should be set correctly.</description>
18230 </metadata>
18231 <criteria>
18232 <criterion test_ref="oval:org.open-scap.f14:tst:20224"/>
18233 </criteria>
18234 </definition>
18235 <definition class="compliance" id="oval:org.open-scap.f14:def:20225" version="1">
18236 <metadata>
18237 <title>Restrict Permissions on Files Used by cron</title>
18238 <reference ref_id="CCE-4450-3" source="CCE"/>
18239 <description>File permissions for /etc/cron.daily should be set correctly.</description>
18240 </metadata>
18241 <criteria>
18242 <criterion test_ref="oval:org.open-scap.f14:tst:20225"/>
18243 </criteria>
18244 </definition>
18245 <definition class="compliance" id="oval:org.open-scap.f14:def:20226" version="1">
18246 <metadata>
18247 <title>Restrict Permissions on Files Used by cron</title>
18248 <reference ref_id="CCE-4203-6" source="CCE"/>
18249 <description>File permissions for /etc/cron.weekly should be set correctly.</description>
18250 </metadata>
18251 <criteria>
18252 <criterion test_ref="oval:org.open-scap.f14:tst:20226"/>
18253 </criteria>
18254 </definition>
18255 <definition class="compliance" id="oval:org.open-scap.f14:def:20227" version="1">
18256 <metadata>
18257 <title>Restrict Permissions on Files Used by cron</title>
18258 <reference ref_id="CCE-4251-5" source="CCE"/>
18259 <description>File permissions for /etc/cron.monthly should be set correctly.</description>
18260 </metadata>
18261 <criteria>
18262 <criterion test_ref="oval:org.open-scap.f14:tst:20227"/>
18263 </criteria>
18264 </definition>
18265 <definition class="compliance" id="oval:org.open-scap.f14:def:20228" version="1">
18266 <metadata>
18267 <title>Restrict Permissions on Files Used by cron</title>
18268 <reference ref_id="CCE-4250-7" source="CCE"/>
18269 <description>File permissions for /etc/cron.d should be set correctly.</description>
18270 </metadata>
18271 <criteria>
18272 <criterion test_ref="oval:org.open-scap.f14:tst:20228"/>
18273 </criteria>
18274 </definition>
18275 <definition class="compliance" id="oval:org.open-scap.f14:def:20229" version="1">
18276 <metadata>
18277 <title>Restrict group owner on /var/spool/cron file</title>
18278 <reference ref_id="TBD" source="CCE"/>
18279 <description>The /var/spool/cron file should be owned by the appropriate group.</description>
18280 </metadata>
18281 <criteria>
18282 <criterion test_ref="oval:org.open-scap.f14:tst:20229"/>
18283 </criteria>
18284 </definition>
18285 <definition class="compliance" id="oval:org.open-scap.f14:def:20230" version="1">
18286 <metadata>
18287 <title>Restrict user owner on /var/spool/cron file</title>
18288 <reference ref_id="TBD" source="CCE"/>
18289 <description>The /var/spool/cron file should be owned by the appropriate user.</description>
18290 </metadata>
18291 <criteria>
18292 <criterion test_ref="oval:org.open-scap.f14:tst:20230"/>
18293 </criteria>
18294 </definition>
18295 <definition class="compliance" id="oval:org.open-scap.f14:def:20231" version="1">
18296 <metadata>
18297 <title>Restrict Permissions on /var/spool/cron file</title>
18298 <reference ref_id="TBD" source="CCE"/>
18299 <description>File permissions for /var/spool/cron should be set correctly.</description>
18300 </metadata>
18301 <criteria>
18302 <criterion test_ref="oval:org.open-scap.f14:tst:20231"/>
18303 </criteria>
18304 </definition>
18305 <definition class="compliance" id="oval:org.open-scap.f14:def:20232" version="1">
18306 <metadata>
18307 <title>Remove /etc/cron.deny</title>
18308 <reference ref_id="TBD" source="CCE"/>
18309 <description>/etc/cron.deny file should not exist.</description>
18310 </metadata>
18311 <criteria>
18312 <criterion comment="Check existence of file /etc/cron.deny" test_ref="oval:org.open-scap.f14:tst:20232"/>
18313 </criteria>
18314 </definition>
18315 <definition class="compliance" id="oval:org.open-scap.f14:def:20233" version="1">
18316 <metadata>
18317 <title>Remove /etc/at.deny</title>
18318 <reference ref_id="TBD" source="CCE"/>
18319 <description>/etc/at.deny file should not exist.</description>
18320 </metadata>
18321 <criteria>
18322 <criterion comment="Check existence of file /etc/at.deny" test_ref="oval:org.open-scap.f14:tst:20233"/>
18323 </criteria>
18324 </definition>
18325 <definition class="compliance" id="oval:org.open-scap.f14:def:20234" version="1">
18326 <metadata>
18327 <title>Disable OpenSSH Software</title>
18328 <reference ref_id="CCE-4268-9" source="CCE"/>
18329 <description>The sshd service should be disabled.</description>
18330 </metadata>
18331 <criteria comment="SSH is not installed or conditions are met" operator="OR">
18332 <extend_definition comment="ssh is not installed" definition_ref="oval:org.open-scap.f14:def:20235"/>
18333 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20234"/>
18334 </criteria>
18335 </definition>
18336 <definition class="compliance" id="oval:org.open-scap.f14:def:20235" version="1">
18337 <metadata>
18338 <title>Remove OpenSSH Software</title>
18339 <reference ref_id="CCE-4272-1" source="CCE"/>
18340 <description>SSH should be uninstalled</description>
18341 </metadata>
18342 <criteria>
18343 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20235"/>
18344 </criteria>
18345 </definition>
18346 <definition class="compliance" id="oval:org.open-scap.f14:def:20236" version="1">
18347 <metadata>
18348 <title>Remove SSH Server iptables Firewall Exception</title>
18349 <reference ref_id="CCE-4295-2" source="CCE"/>
18350 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18351 </metadata>
18352 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18353 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18354 <criterion comment="Remove IPv4 inbound connections" test_ref="oval:org.open-scap.f14:tst:20236"/>
18355 </criteria>
18356 </definition>
18357 <definition class="compliance" id="oval:org.open-scap.f14:def:20237" version="1">
18358 <metadata>
18359 <title>Remove SSH Server ip6tables Firewall Exception</title>
18360 <reference ref_id="TBD" source="CCE"/>
18361 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18362 </metadata>
18363 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18364 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18365 <criterion comment="Remove IPv6 inbound connections" test_ref="oval:org.open-scap.f14:tst:20237"/>
18366 </criteria>
18367 </definition>
18368 <definition class="compliance" id="oval:org.open-scap.f14:def:20238" version="1">
18369 <metadata>
18370 <title>Ensure Only Protocol 2 Connections Allowed</title>
18371 <reference ref_id="CCE-4325-7" source="CCE"/>
18372 <description>SSH version 1 protocol support should be disabled. (and dependencies are met)</description>
18373 </metadata>
18374 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18375 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18376 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20238"/>
18377 </criteria>
18378 </definition>
18379 <definition class="compliance" id="oval:org.open-scap.f14:def:20239" version="1">
18380 <metadata>
18381 <title>Set Idle Timeout Interval for User Logins</title>
18382 <reference ref_id="CCE-3845-5" source="CCE"/>
18383 <description>The SSH idle timout interval should be set to an appropriate value (and dependencies are met)</description>
18384 </metadata>
18385 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18386 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18387 <criterion comment="check ClientAliveInterval in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20239"/>
18388 </criteria>
18389 </definition>
18390 <definition class="compliance" id="oval:org.open-scap.f14:def:20240" version="1">
18391 <metadata>
18392 <title>Set ClientAliveCountMax for User Logins</title>
18393 <reference ref_id="TBD" source="CCE"/>
18394 <description>The SSH ClientAliveCountMax should be set to an appropriate value (and dependencies are met)</description>
18395 </metadata>
18396 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18397 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18398 <criterion comment="check ClientAliveCountMax in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20240"/>
18399 </criteria>
18400 </definition>
18401 <definition class="compliance" id="oval:org.open-scap.f14:def:20241" version="1">
18402 <metadata>
18403 <title>Disable .rhosts Files</title>
18404 <reference ref_id="CCE-4475-0" source="CCE"/>
18405 <description>Emulation of the rsh command through the ssh server should be disabled (and dependencies are met)</description>
18406 </metadata>
18407 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18408 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18409 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20241"/>
18410 </criteria>
18411 </definition>
18412 <definition class="compliance" id="oval:org.open-scap.f14:def:20242" version="1">
18413 <metadata>
18414 <title>Disable Host-Based Authentication</title>
18415 <reference ref_id="CCE-4370-3" source="CCE"/>
18416 <description>SSH host-based authentication should be disabled (and dependencies are met)</description>
18417 </metadata>
18418 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18419 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18420 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20242"/>
18421 </criteria>
18422 </definition>
18423 <definition class="compliance" id="oval:org.open-scap.f14:def:20243" version="1">
18424 <metadata>
18425 <title>Disable root Login via SSH</title>
18426 <reference ref_id="CCE-4387-7" source="CCE"/>
18427 <description>Root login via SSH should be disabled (and dependencies are met)</description>
18428 </metadata>
18429 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18430 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18431 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20243"/>
18432 </criteria>
18433 </definition>
18434 <definition class="compliance" id="oval:org.open-scap.f14:def:20244" version="1">
18435 <metadata>
18436 <title>Disable Empty Passwords</title>
18437 <reference ref_id="CCE-3660-8" source="CCE"/>
18438 <description>Remote connections from accounts with empty passwords should be disabled (and dependencies are met)</description>
18439 </metadata>
18440 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18441 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18442 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20244"/>
18443 </criteria>
18444 </definition>
18445 <definition class="compliance" id="oval:org.open-scap.f14:def:20245" version="1">
18446 <metadata>
18447 <title>Enable a Warning Banner</title>
18448 <reference ref_id="CCE-4431-3" source="CCE"/>
18449 <description>SSH warning banner should be enabled (and dependencies are met)</description>
18450 </metadata>
18451 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18452 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18453 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20245"/>
18454 </criteria>
18455 </definition>
18456 <definition class="compliance" id="oval:org.open-scap.f14:def:202455" version="1">
18457 <metadata>
18458 <title>Do Not Allow Users to Set Environment Options</title>
18459 <reference ref_id="CCE-4422-2" source="CCE"/>
18460 <description>PermitUserEnvironment should be disabled</description>
18461 </metadata>
18462 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18463 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18464 <criterion comment="Check value of PermitUserEnvironment in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202455"/>
18465 </criteria>
18466 </definition>
18467 <definition class="compliance" id="oval:org.open-scap.f14:def:202456" version="1">
18468 <metadata>
18469 <title>Use Only Approved Ciphers</title>
18470 <reference ref_id="CCE-4422-2" source="CCE"/>
18471 <description>Use only approved ciphers</description>
18472 </metadata>
18473 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18474 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18475 <criterion comment="Check value of Ciphers in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202456"/>
18476 </criteria>
18477 </definition>
18478 <definition class="compliance" id="oval:org.open-scap.f14:def:20246" version="1">
18479 <metadata>
18480 <title>Disable X Windows at System Boot</title>
18481 <reference ref_id="CCE-4462-8" source="CCE"/>
18482 <description>X Windows should be disabled at system boot</description>
18483 </metadata>
18484 <criteria>
18485 <criterion test_ref="oval:org.open-scap.f14:tst:20246"/>
18486 </criteria>
18487 </definition>
18488 <definition class="compliance" id="oval:org.open-scap.f14:def:20247" version="1">
18489 <metadata>
18490 <title>Remove X Windows from the System if Possible</title>
18491 <reference ref_id="CCE-4422-2" source="CCE"/>
18492 <description>X Windows should be removed</description>
18493 </metadata>
18494 <criteria>
18495 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18496 </criteria>
18497 </definition>
18498 <definition class="compliance" id="oval:org.open-scap.f14:def:20248" version="1">
18499 <metadata>
18500 <title>Disable X Window System Listening</title>
18501 <reference ref_id="CCE-4074-1" source="CCE"/>
18502 <description>Disable the ability to provide remote graphical display</description>
18503 </metadata>
18504 <criteria>
18505 <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"/>
18506 </criteria>
18507 </definition>
18508 <definition class="compliance" id="oval:org.open-scap.f14:def:20249" version="1">
18509 <metadata>
18510 <title>Create Warning Banners for GUI Login Users</title>
18511 <reference ref_id="CCE-3717-6" source="CCE"/>
18512 <description>Enable warning banner for GUI login</description>
18513 </metadata>
18514 <criteria>
18515 <criterion comment="check the value of InfoMsgFile=/etc/issue in /etc/gdm/custom.conf" test_ref="oval:org.open-scap.f14:tst:20249"/>
18516 </criteria>
18517 </definition>
18518 <definition class="compliance" id="oval:org.open-scap.f14:def:20250" version="1">
18519 <metadata>
18520 <title>Disable Avahi Server Software</title>
18521 <reference ref_id="CCE-4365-3" source="CCE"/>
18522 <description>The avahi-daemon service should be disabled.</description>
18523 </metadata>
18524 <criteria>
18525 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20250"/>
18526 </criteria>
18527 </definition>
18528 <definition class="compliance" id="oval:org.open-scap.f14:def:20251" version="1">
18529 <metadata>
18530 <title>Serve Only via Required Protocol</title>
18531 <reference ref_id="CCE-4136-8" source="CCE"/>
18532 <description>The Avahi daemon should be configured not to serve via Ipv6 (and dependencies are met)</description>
18533 </metadata>
18534 <criteria comment="avahi is diabled or do not use ipv6" operator="OR">
18535 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18536 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20251"/>
18537 </criteria>
18538 </definition>
18539 <definition class="compliance" id="oval:org.open-scap.f14:def:20252" version="1">
18540 <metadata>
18541 <title>Serve Only via Required Protocol</title>
18542 <reference ref_id="CCE-4409-9" source="CCE"/>
18543 <description>The Avahi daemon should be configured not to serve via Ipv4 (and dependencies are met)</description>
18544 </metadata>
18545 <criteria comment="avahi is diabled or do not use ipv4" operator="OR">
18546 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18547 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20252"/>
18548 </criteria>
18549 </definition>
18550 <definition class="compliance" id="oval:org.open-scap.f14:def:20253" version="1">
18551 <metadata>
18552 <title>Check Responses' TTL Field</title>
18553 <reference ref_id="CCE-4426-3" source="CCE"/>
18554 <description>Avahi should be configured to reject packets with a TTL field not equal to 255 (and dependencies are met)</description>
18555 </metadata>
18556 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18557 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18558 <criterion test_ref="oval:org.open-scap.f14:tst:20253"/>
18559 </criteria>
18560 </definition>
18561 <definition class="compliance" id="oval:org.open-scap.f14:def:20254" version="1">
18562 <metadata>
18563 <title>Prevent Other Programs from Using Avahi's Port</title>
18564 <reference ref_id="CCE-4193-9" source="CCE"/>
18565 <description>Avahi should be configured to not allow other stacks from binding to port 5353 (and dependencies are met)</description>
18566 </metadata>
18567 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18568 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18569 <criterion test_ref="oval:org.open-scap.f14:tst:20254"/>
18570 </criteria>
18571 </definition>
18572 <definition class="compliance" id="oval:org.open-scap.f14:def:20255" version="1">
18573 <metadata>
18574 <title>Disable Publishing if Possible</title>
18575 <reference ref_id="CCE-4444-6" source="CCE"/>
18576 <description>Avahi publishing of local information should be disabled (and dependencies are met)</description>
18577 </metadata>
18578 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18579 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18580 <criterion test_ref="oval:org.open-scap.f14:tst:20255"/>
18581 </criteria>
18582 </definition>
18583 <definition class="compliance" id="oval:org.open-scap.f14:def:20256" version="1">
18584 <metadata>
18585 <title>Restrict Published Information</title>
18586 <reference ref_id="CCE-4352-1" source="CCE"/>
18587 <description>Avahi publishing of local information by user applications should be disabled (and dependencies are met)</description>
18588 </metadata>
18589 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18590 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18591 <criterion test_ref="oval:org.open-scap.f14:tst:20256"/>
18592 </criteria>
18593 </definition>
18594 <definition class="compliance" id="oval:org.open-scap.f14:def:20257" version="1">
18595 <metadata>
18596 <title>Restrict Published Information</title>
18597 <reference ref_id="CCE-4433-9" source="CCE"/>
18598 <description>Avahi publishing of hardware information should be disabled (and dependencies are met)</description>
18599 </metadata>
18600 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18601 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18602 <criterion test_ref="oval:org.open-scap.f14:tst:20257"/>
18603 </criteria>
18604 </definition>
18605 <definition class="compliance" id="oval:org.open-scap.f14:def:20258" version="1">
18606 <metadata>
18607 <title>Restrict Published Information</title>
18608 <reference ref_id="CCE-4451-1" source="CCE"/>
18609 <description>Avahi publishing of workstation name should be disabled (and dependencies are met)</description>
18610 </metadata>
18611 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18612 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18613 <criterion test_ref="oval:org.open-scap.f14:tst:20258"/>
18614 </criteria>
18615 </definition>
18616 <definition class="compliance" id="oval:org.open-scap.f14:def:20259" version="1">
18617 <metadata>
18618 <title>Restrict Published Information</title>
18619 <reference ref_id="CCE-4341-4" source="CCE"/>
18620 <description>Avahi publishing of IP addresses should be disabled (and dependencies are met)</description>
18621 </metadata>
18622 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18623 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18624 <criterion test_ref="oval:org.open-scap.f14:tst:20259"/>
18625 </criteria>
18626 </definition>
18627 <definition class="compliance" id="oval:org.open-scap.f14:def:20260" version="1">
18628 <metadata>
18629 <title>Restrict Published Information</title>
18630 <reference ref_id="CCE-4358-8" source="CCE"/>
18631 <description>Avahi publishing of domain name should be disabled (and dependencies are met)</description>
18632 </metadata>
18633 <criteria comment="avahi is diabled or conditions are met" operator="OR">
18634 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
18635 <criterion test_ref="oval:org.open-scap.f14:tst:20260"/>
18636 </criteria>
18637 </definition>
18638 <definition class="compliance" id="oval:org.open-scap.f14:def:20261" version="1">
18639 <metadata>
18640 <title>Disable the CUPS Service if Possible</title>
18641 <reference ref_id="CCE-4112-9" source="CCE"/>
18642 <description>The cups service should be disabled.</description>
18643 </metadata>
18644 <criteria>
18645 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20261"/>
18646 </criteria>
18647 </definition>
18648 <definition class="compliance" id="oval:org.open-scap.f14:def:20262" version="1">
18649 <metadata>
18650 <title>Disable Firewall Access to Printing Service over IPv4 if Possible</title>
18651 <reference ref_id="CCE-3649-1" source="CCE"/>
18652 <description>Firewall access to printing service should be disabled</description>
18653 </metadata>
18654 <criteria>
18655 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18656 </criteria>
18657 </definition>
18658 <definition class="compliance" id="oval:org.open-scap.f14:def:20263" version="1">
18659 <metadata>
18660 <title>Disable Firewall Access to Printing Service over IPv6 if Possible</title>
18661 <reference ref_id="TBD" source="CCE"/>
18662 <description>Firewall access to printing service should be disabled</description>
18663 </metadata>
18664 <criteria>
18665 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18666 </criteria>
18667 </definition>
18668 <definition class="compliance" id="oval:org.open-scap.f14:def:20264" version="1">
18669 <metadata>
18670 <title>Disable Printer Browsing Entirely if Possible</title>
18671 <reference ref_id="CCE-4420-6" source="CCE"/>
18672 <description>Remote print browsing should be disabled (and dependencies are met)</description>
18673 </metadata>
18674 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
18675 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
18676 <criterion test_ref="oval:org.open-scap.f14:tst:20264"/>
18677 </criteria>
18678 </definition>
18679 <definition class="compliance" id="oval:org.open-scap.f14:def:20265" version="1">
18680 <metadata>
18681 <title>Disable Printer Browsing Entirely if Possible</title>
18682 <reference ref_id="CCE-4407-3" source="CCE"/>
18683 <description>CUPS should be allowed or denied the ability to listen for Incoming printer information as appropriate (and dependencies are met)</description>
18684 </metadata>
18685 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
18686 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
18687 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20265"/>
18688 </criteria>
18689 </definition>
18690 <definition class="compliance" id="oval:org.open-scap.f14:def:20266" version="1">
18691 <metadata>
18692 <title>Disable HPLIP Service if Possible</title>
18693 <reference ref_id="CCE-4425-5" source="CCE"/>
18694 <description>The hplip service should be disabled.</description>
18695 </metadata>
18696 <criteria>
18697 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20266"/>
18698 </criteria>
18699 </definition>
18700 <definition class="compliance" id="oval:org.open-scap.f14:def:20267" version="1">
18701 <metadata>
18702 <title>Disable DHCP Client if Possible</title>
18703 <reference ref_id="CCE-4191-3" source="CCE"/>
18704 <description>The dhcp client service should be disabled for each interface.</description>
18705 </metadata>
18706 <criteria>
18707 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20267"/>
18708 </criteria>
18709 </definition>
18710 <definition class="compliance" id="oval:org.open-scap.f14:def:20268" version="1">
18711 <metadata>
18712 <title>Disable DHCP Server if possible</title>
18713 <reference ref_id="CCE-4336-4" source="CCE"/>
18714 <description>The dhcpd service should be enabled or disabled as appropriate.</description>
18715 </metadata>
18716 <criteria comment="dhcp is not installed or conditions are met" operator="OR">
18717 <extend_definition comment="dhcp is not installed" definition_ref="oval:org.open-scap.f14:def:20269"/>
18718 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20268"/>
18719 </criteria>
18720 </definition>
18721 <definition class="compliance" id="oval:org.open-scap.f14:def:20269" version="1">
18722 <metadata>
18723 <title>Disable DHCP Server if possible</title>
18724 <reference ref_id="CCE-4464-4" source="CCE"/>
18725 <description>The dhcp package should be uninstalled.</description>
18726 </metadata>
18727 <criteria>
18728 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20269"/>
18729 </criteria>
18730 </definition>
18731 <definition class="compliance" id="oval:org.open-scap.f14:def:20270" version="1">
18732 <metadata>
18733 <title>Do Not Use Dynamic DNS</title>
18734 <reference ref_id="CCE-4257-2" source="CCE"/>
18735 <description>The dynamic DNS feature of the DHCP server should be disabled (and dependencies are met)</description>
18736 </metadata>
18737 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18738 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18739 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20270"/>
18740 </criteria>
18741 </definition>
18742 <definition class="compliance" id="oval:org.open-scap.f14:def:20271" version="1">
18743 <metadata>
18744 <title>Deny Decline Messages</title>
18745 <reference ref_id="CCE-4403-2" source="CCE"/>
18746 <description>DHCPDECLINE messages should be denied by the DHCP server (and dependencies are met)</description>
18747 </metadata>
18748 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18749 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18750 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20271"/>
18751 </criteria>
18752 </definition>
18753 <definition class="compliance" id="oval:org.open-scap.f14:def:20272" version="1">
18754 <metadata>
18755 <title>Deny BOOTP Queries</title>
18756 <reference ref_id="CCE-4345-5" source="CCE"/>
18757 <description>BOOTP queries should be accepted or denied by the DHCP server as appropriate (and dependencies are met)</description>
18758 </metadata>
18759 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18760 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18761 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20272"/>
18762 </criteria>
18763 </definition>
18764 <definition class="compliance" id="oval:org.open-scap.f14:def:20273" version="1">
18765 <metadata>
18766 <title>Minimize Served Information</title>
18767 <reference ref_id="CCE-3724-2" source="CCE"/>
18768 <description>Domain name server information should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18769 </metadata>
18770 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18771 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18772 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18773 </criteria>
18774 </definition>
18775 <definition class="compliance" id="oval:org.open-scap.f14:def:20274" version="1">
18776 <metadata>
18777 <title>Minimize Served Information</title>
18778 <reference ref_id="CCE-4243-2" source="CCE"/>
18779 <description>Default routers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18780 </metadata>
18781 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18782 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18783 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18784 </criteria>
18785 </definition>
18786 <definition class="compliance" id="oval:org.open-scap.f14:def:20275" version="1">
18787 <metadata>
18788 <title>Minimize Served Information</title>
18789 <reference ref_id="CCE-4389-3" source="CCE"/>
18790 <description>Domain name should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18791 </metadata>
18792 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18793 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18794 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18795 </criteria>
18796 </definition>
18797 <definition class="compliance" id="oval:org.open-scap.f14:def:20276" version="1">
18798 <metadata>
18799 <title>Minimize Served Information</title>
18800 <reference ref_id="CCE-3913-1" source="CCE"/>
18801 <description>NIS domain should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18802 </metadata>
18803 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18804 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18805 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18806 </criteria>
18807 </definition>
18808 <definition class="compliance" id="oval:org.open-scap.f14:def:20277" version="1">
18809 <metadata>
18810 <title>Minimize Served Information</title>
18811 <reference ref_id="CCE-4169-9" source="CCE"/>
18812 <description>NIS servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18813 </metadata>
18814 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18815 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18816 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18817 </criteria>
18818 </definition>
18819 <definition class="compliance" id="oval:org.open-scap.f14:def:20278" version="1">
18820 <metadata>
18821 <title>Minimize Served Information</title>
18822 <reference ref_id="CCE-4318-2" source="CCE"/>
18823 <description>Time offset should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18824 </metadata>
18825 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18826 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18827 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18828 </criteria>
18829 </definition>
18830 <definition class="compliance" id="oval:org.open-scap.f14:def:20279" version="1">
18831 <metadata>
18832 <title>Minimize Served Information</title>
18833 <reference ref_id="CCE-4319-0" source="CCE"/>
18834 <description>NTP servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
18835 </metadata>
18836 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18837 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18838 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18839 </criteria>
18840 </definition>
18841 <definition class="compliance" id="oval:org.open-scap.f14:def:20280" version="1">
18842 <metadata>
18843 <title>Configure DHCP Logging</title>
18844 <reference ref_id="CCE-3733-3" source="CCE"/>
18845 <description>dhcpd logging should be enabled. (and dependencies are met)</description>
18846 </metadata>
18847 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
18848 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
18849 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20280"/>
18850 </criteria>
18851 </definition>
18852 <definition class="compliance" id="oval:org.open-scap.f14:def:20281" version="1">
18853 <metadata>
18854 <title>Enable the NTP Daemon</title>
18855 <reference ref_id="CCE-4376-0" source="CCE"/>
18856 <description>The ntpd service should be enabled.</description>
18857 </metadata>
18858 <criteria>
18859 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20281"/>
18860 </criteria>
18861 </definition>
18862 <definition class="compliance" id="oval:org.open-scap.f14:def:20282" version="1">
18863 <metadata>
18864 <title>Deny All Access to ntpd by Default</title>
18865 <reference ref_id="CCE-4134-3" source="CCE"/>
18866 <description>Network access to ntpd should be denied (and dependencies are met)</description>
18867 </metadata>
18868 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
18869 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
18870 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20282"/>
18871 </criteria>
18872 </definition>
18873 <definition class="compliance" id="oval:org.open-scap.f14:def:20283" version="1">
18874 <metadata>
18875 <title>Specify a Remote NTP Server for Time Data</title>
18876 <reference ref_id="CCE-4385-1" source="CCE"/>
18877 <description>A remote NTP Server for time synchronization should be specified (and dependencies are met)</description>
18878 </metadata>
18879 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
18880 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
18881 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18882 </criteria>
18883 </definition>
18884 <definition class="compliance" id="oval:org.open-scap.f14:def:20284" version="1">
18885 <metadata>
18886 <title>Obtain NTP Software</title>
18887 <reference ref_id="CCE-4032-9" source="CCE"/>
18888 <description>OpenNTPD should be installed</description>
18889 </metadata>
18890 <criteria>
18891 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18892 </criteria>
18893 </definition>
18894 <definition class="compliance" id="oval:org.open-scap.f14:def:20285" version="1">
18895 <metadata>
18896 <title>Enable the NTP Daemon</title>
18897 <reference ref_id="CCE-4424-8" source="CCE"/>
18898 <description>The ntp daemon should be enabled (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 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281" negate="true"/>
18903 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20285"/>
18904 </criteria>
18905 </definition>
18906 <definition class="compliance" id="oval:org.open-scap.f14:def:20286" version="1">
18907 <metadata>
18908 <title>Configure the Client NTP Daemon to Use the Local Server</title>
18909 <reference ref_id="CCE-3487-6" source="CCE"/>
18910 <description>The ntp daemon synchronization server should be set appropriately (and dependencies are met)</description>
18911 </metadata>
18912 <criteria comment="OpenNTPD is installed and conditions are met" operator="AND">
18913 <extend_definition comment="OpenNTPD is installed" definition_ref="oval:org.open-scap.f14:def:20284"/>
18914 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18915 </criteria>
18916 </definition>
18917 <definition class="compliance" id="oval:org.open-scap.f14:def:20287" version="1">
18918 <metadata>
18919 <title>Mail Transfer Agent</title>
18920 <reference ref_id="CCE-4416-4" source="CCE"/>
18921 <description>The sendmail service should be disabled.</description>
18922 </metadata>
18923 <criteria>
18924 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20287"/>
18925 </criteria>
18926 </definition>
18927 <definition class="compliance" id="oval:org.open-scap.f14:def:20288" version="1">
18928 <metadata>
18929 <title>Disable the Listening Sendmail Daemon</title>
18930 <reference ref_id="CCE-4293-7" source="CCE"/>
18931 <description>The listening sendmail daemon should be disabled. (and dependencies are met)</description>
18932 </metadata>
18933 <criteria comment="sendmail is not enabled or conditions are met" operator="OR">
18934 <extend_definition comment="sendmail is not enabled" definition_ref="oval:org.open-scap.f14:def:20287"/>
18935 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20288"/>
18936 </criteria>
18937 </definition>
18938 <definition class="compliance" id="oval:org.open-scap.f14:def:202885" version="1">
18939 <metadata>
18940 <title>Configure LDAP to Use TLS for All Transactions</title>
18941 <reference ref_id="TBD" source="CCE"/>
18942 <description>Clients require LDAP servers to provide valid certificates for SSL communications.</description>
18943 </metadata>
18944 <criteria>
18945 <criterion comment="look for tls_checkpeer yess in /etc/ldap.conf" test_ref="oval:org.open-scap.f14:tst:202885"/>
18946 </criteria>
18947 </definition>
18948 <definition class="compliance" id="oval:org.open-scap.f14:def:20289" version="1">
18949 <metadata>
18950 <title>Install OpenLDAP Server RPM</title>
18951 <reference ref_id="CCE-3501-4" source="CCE"/>
18952 <description>The ldap service should be disabled.</description>
18953 </metadata>
18954 <criteria>
18955 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20289"/>
18956 </criteria>
18957 </definition>
18958 <definition class="compliance" id="oval:org.open-scap.f14:def:20290" version="1">
18959 <metadata>
18960 <title>Correct Permissions on LDAP Server Files</title>
18961 <reference ref_id="CCE-4484-2" source="CCE"/>
18962 <description>The /var/lib/ldap/* files should be owned by the appropriate group.</description>
18963 </metadata>
18964 <criteria>
18965 <criterion test_ref="oval:org.open-scap.f14:tst:20290"/>
18966 </criteria>
18967 </definition>
18968 <definition class="compliance" id="oval:org.open-scap.f14:def:20291" version="1">
18969 <metadata>
18970 <title>Correct Permissions on LDAP Server Files</title>
18971 <reference ref_id="CCE-4502-1" source="CCE"/>
18972 <description>The /var/lib/ldap/* files should be owned by the appropriate user.</description>
18973 </metadata>
18974 <criteria>
18975 <criterion test_ref="oval:org.open-scap.f14:tst:20291"/>
18976 </criteria>
18977 </definition>
18978 <definition class="compliance" id="oval:org.open-scap.f14:def:20292" version="1">
18979 <metadata>
18980 <title>Disable Services Used Only by NFS</title>
18981 <reference ref_id="CCE-4396-8" source="CCE"/>
18982 <description>The nfslock service should be disabled.</description>
18983 </metadata>
18984 <criteria>
18985 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20292"/>
18986 </criteria>
18987 </definition>
18988 <definition class="compliance" id="oval:org.open-scap.f14:def:20293" version="1">
18989 <metadata>
18990 <title>Disable Services Used Only by NFS</title>
18991 <reference ref_id="CCE-3535-2" source="CCE"/>
18992 <description>The rpcgssd service should be disabled.</description>
18993 </metadata>
18994 <criteria>
18995 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20293"/>
18996 </criteria>
18997 </definition>
18998 <definition class="compliance" id="oval:org.open-scap.f14:def:20294" version="1">
18999 <metadata>
19000 <title>Disable Services Used Only by NFS</title>
19001 <reference ref_id="CCE-3568-3" source="CCE"/>
19002 <description>The rpcidmapd service should be disabled.</description>
19003 </metadata>
19004 <criteria>
19005 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20294"/>
19006 </criteria>
19007 </definition>
19008 <definition class="compliance" id="oval:org.open-scap.f14:def:20295" version="1">
19009 <metadata>
19010 <title>Disable netfs if Possible</title>
19011 <reference ref_id="CCE-4533-6" source="CCE"/>
19012 <description>The netfs service should be disabled.</description>
19013 </metadata>
19014 <criteria>
19015 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20295"/>
19016 </criteria>
19017 </definition>
19018 <definition class="compliance" id="oval:org.open-scap.f14:def:20296" version="1">
19019 <metadata>
19020 <title>Disable RPC Portmapper if Possible</title>
19021 <reference ref_id="CCE-4550-0" source="CCE"/>
19022 <description>The portmap service should be disabled.</description>
19023 </metadata>
19024 <criteria>
19025 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20296"/>
19026 </criteria>
19027 </definition>
19028 <definition class="compliance" id="oval:org.open-scap.f14:def:20297" version="1">
19029 <metadata>
19030 <title>Configure NFS Services to Use Fixed Ports</title>
19031 <reference ref_id="CCE-4559-1" source="CCE"/>
19032 <description>The lockd service should be configured to use a static port for TCP</description>
19033 </metadata>
19034 <criteria>
19035 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20297"/>
19036 </criteria>
19037 </definition>
19038 <definition class="compliance" id="oval:org.open-scap.f14:def:20298" version="1">
19039 <metadata>
19040 <title>Configure NFS Services to Use Fixed Ports</title>
19041 <reference ref_id="CCE-4015-4" source="CCE"/>
19042 <description>The statd service should be configured to use an outgoing static port</description>
19043 </metadata>
19044 <criteria>
19045 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20298"/>
19046 </criteria>
19047 </definition>
19048 <definition class="compliance" id="oval:org.open-scap.f14:def:20299" version="1">
19049 <metadata>
19050 <title>Configure NFS Services to Use Fixed Ports</title>
19051 <reference ref_id="CCE-3667-3" source="CCE"/>
19052 <description>The statd service should be configured to use a static port</description>
19053 </metadata>
19054 <criteria>
19055 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20299"/>
19056 </criteria>
19057 </definition>
19058 <definition class="compliance" id="oval:org.open-scap.f14:def:20300" version="1">
19059 <metadata>
19060 <title>Configure NFS Services to Use Fixed Ports</title>
19061 <reference ref_id="CCE-4310-9" source="CCE"/>
19062 <description>The lockd service should be configured to use a static port for UDP</description>
19063 </metadata>
19064 <criteria>
19065 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20300"/>
19066 </criteria>
19067 </definition>
19068 <definition class="compliance" id="oval:org.open-scap.f14:def:20301" version="1">
19069 <metadata>
19070 <title>Configure NFS Services to Use Fixed Ports</title>
19071 <reference ref_id="CCE-4438-8" source="CCE"/>
19072 <description>The mountd service should be configured to use a static port</description>
19073 </metadata>
19074 <criteria>
19075 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20301"/>
19076 </criteria>
19077 </definition>
19078 <definition class="compliance" id="oval:org.open-scap.f14:def:20302" version="1">
19079 <metadata>
19080 <title>Configure NFS Services to Use Fixed Ports</title>
19081 <reference ref_id="CCE-3579-0" source="CCE"/>
19082 <description>The rquotad service should be configured to use a static port</description>
19083 </metadata>
19084 <criteria>
19085 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20302"/>
19086 </criteria>
19087 </definition>
19088 <definition class="compliance" id="oval:org.open-scap.f14:def:20303" version="1">
19089 <metadata>
19090 <title>Disable NFS Server Daemons</title>
19091 <reference ref_id="CCE-4473-5" source="CCE"/>
19092 <description>The nfs service should be disabled</description>
19093 </metadata>
19094 <criteria>
19095 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20303"/>
19096 </criteria>
19097 </definition>
19098 <definition class="compliance" id="oval:org.open-scap.f14:def:20304" version="1">
19099 <metadata>
19100 <title>Disable NFS Server Daemons</title>
19101 <reference ref_id="CCE-4491-7" source="CCE"/>
19102 <description>The rpcsvcgssd service should be disabled</description>
19103 </metadata>
19104 <criteria>
19105 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20304"/>
19106 </criteria>
19107 </definition>
19108 <!-- <definition class="compliance" id="oval:org.open-scap.f14:def:20305" version="1">
19109 <metadata>
19110 <title>Mount Remote Filesystems with nodev</title>
19111 <reference ref_id="CCE-4368-7" source="CCE"/>
19112 <description>The nodev option should be enabled for all NFS mounts</description>
19113 </metadata>
19114 <criteria>
19115 <criterion comment="if type is nfs[4] in /etc/fstab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203051"/>
19116 <criterion comment="if type is nfs[4] in /etc/mtab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203052"/>
19117 </criteria>
19118 </definition> -->
19119 <definition class="compliance" id="oval:org.open-scap.f14:def:20306" version="1">
19120 <metadata>
19121 <title>Mount Remote Filesystems with nosuid</title>
19122 <reference ref_id="CCE-4024-6" source="CCE"/>
19123 <description>The nosuid option should be enabled for all NFS mounts</description>
19124 </metadata>
19125 <criteria>
19126 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19127 </criteria>
19128 </definition>
19129 <definition class="compliance" id="oval:org.open-scap.f14:def:20307" version="1">
19130 <metadata>
19131 <title>Mount Remote Filesystems with noexec</title>
19132 <reference ref_id="CCE-4526-0" source="CCE"/>
19133 <description>The noexec option should be enabled for all NFS mounts</description>
19134 </metadata>
19135 <criteria>
19136 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19137 </criteria>
19138 </definition>
19139 <definition class="compliance" id="oval:org.open-scap.f14:def:20308" version="1">
19140 <metadata>
19141 <title>Use Root-Squashing on All Exports</title>
19142 <reference ref_id="CCE-4544-3" source="CCE"/>
19143 <description>Root squashing should be enabled for all NFS shares</description>
19144 </metadata>
19145 <criteria comment="nfs is not running or conditions are met" operator="OR">
19146 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19147 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20308"/>
19148 </criteria>
19149 </definition>
19150 <definition class="compliance" id="oval:org.open-scap.f14:def:20309" version="1">
19151 <metadata>
19152 <title>Restrict NFS Clients to Privileged Ports</title>
19153 <reference ref_id="CCE-4465-1" source="CCE"/>
19154 <description>Restriction of NFS clients to privileged ports should be enabled</description>
19155 </metadata>
19156 <criteria comment="nfs is not running or conditions are met" operator="OR">
19157 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19158 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20309"/>
19159 </criteria>
19160 </definition>
19161 <definition class="compliance" id="oval:org.open-scap.f14:def:20310" version="1">
19162 <metadata>
19163 <title>Export Filesystems Read-Only if Possible</title>
19164 <reference ref_id="CCE-4350-5" source="CCE"/>
19165 <description>Write access to NFS shares should be disabled</description>
19166 </metadata>
19167 <criteria>
19168 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20310"/>
19169 </criteria>
19170 </definition>
19171 <definition class="compliance" id="oval:org.open-scap.f14:def:20311" version="1">
19172 <metadata>
19173 <title>Disable DNS Server if Possible</title>
19174 <reference ref_id="CCE-3578-2" source="CCE"/>
19175 <description>The named service should be disabled.</description>
19176 </metadata>
19177 <criteria comment="bind is not installed or conditions are met" operator="OR">
19178 <extend_definition comment="bind is not installed" definition_ref="oval:org.open-scap.f14:def:20312"/>
19179 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20311"/>
19180 </criteria>
19181 </definition>
19182 <definition class="compliance" id="oval:org.open-scap.f14:def:20312" version="1">
19183 <metadata>
19184 <title>Disable DNS Server if Possible</title>
19185 <reference ref_id="CCE-4219-2" source="CCE"/>
19186 <description>The bind package should be uninstalled.</description>
19187 </metadata>
19188 <criteria>
19189 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20312"/>
19190 </criteria>
19191 </definition>
19192 <definition class="compliance" id="oval:org.open-scap.f14:def:20313" version="1">
19193 <metadata>
19194 <title>Run DNS Software in a chroot Jail</title>
19195 <reference ref_id="CCE-3985-9" source="CCE"/>
19196 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group. (and dependencies are met)</description>
19197 </metadata>
19198 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19199 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19200 <criterion test_ref="oval:org.open-scap.f14:tst:20313"/>
19201 </criteria>
19202 </definition>
19203 <definition class="compliance" id="oval:org.open-scap.f14:def:20314" version="1">
19204 <metadata>
19205 <title>Run DNS Software in a chroot Jail</title>
19206 <reference ref_id="CCE-4258-0" source="CCE"/>
19207 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user. (and dependencies are met)</description>
19208 </metadata>
19209 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19210 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19211 <criterion test_ref="oval:org.open-scap.f14:tst:20314"/>
19212 </criteria>
19213 </definition>
19214 <definition class="compliance" id="oval:org.open-scap.f14:def:20315" version="1">
19215 <metadata>
19216 <title>Run DNS Software in a chroot Jail</title>
19217 <reference ref_id="CCE-4487-5" source="CCE"/>
19218 <description>File permissions for /var/named/chroot/etc/named.conf should be set correctly. (and dependencies are met)</description>
19219 </metadata>
19220 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19221 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19222 <criterion test_ref="oval:org.open-scap.f14:tst:20315"/>
19223 </criteria>
19224 </definition>
19225 <definition class="compliance" id="oval:org.open-scap.f14:def:20316" version="1">
19226 <metadata>
19227 <title>Disable Dynamic Updates if Possible</title>
19228 <reference ref_id="CCE-4399-2" source="CCE"/>
19229 <description>LDAP's dynamic updates feature should be disabled as appropriate (and dependencies are met)</description>
19230 </metadata>
19231 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19232 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19233 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19234 </criteria>
19235 </definition>
19236 <definition class="compliance" id="oval:org.open-scap.f14:def:20317" version="1">
19237 <metadata>
19238 <title>Disable vsftpd if Possible</title>
19239 <reference ref_id="CCE-3919-8" source="CCE"/>
19240 <description>The vsftpd service should be disabled.</description>
19241 </metadata>
19242 <criteria comment="vsftpd is not installed or conditions are met" operator="OR">
19243 <extend_definition comment="vsftpd is not installed" definition_ref="oval:org.open-scap.f14:def:203175"/>
19244 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20317"/>
19245 </criteria>
19246 </definition>
19247 <definition class="compliance" id="oval:org.open-scap.f14:def:203175" version="1">
19248 <metadata>
19249 <title>Uninstall vsftpd if Possible</title>
19250 <reference ref_id="CCE-3919-8" source="CCE"/>
19251 <description>The vsftpd service should be uninstalled.</description>
19252 </metadata>
19253 <criteria>
19254 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203175"/>
19255 </criteria>
19256 </definition>
19257 <definition class="compliance" id="oval:org.open-scap.f14:def:20318" version="1">
19258 <metadata>
19259 <title>Enable Logging of All FTP Transactions</title>
19260 <reference ref_id="CCE-4549-2" source="CCE"/>
19261 <description>Logging of vsftpd transactions should be enabled (and dependencies are met)</description>
19262 </metadata>
19263 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19264 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19265 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19266 </criteria>
19267 </definition>
19268 <definition class="compliance" id="oval:org.open-scap.f14:def:20319" version="1">
19269 <metadata>
19270 <title>Create Warning Banners for All FTP Users</title>
19271 <reference ref_id="CCE-4554-2" source="CCE"/>
19272 <description>A warning banner for all FTP users should be enabled (and dependencies are met)</description>
19273 </metadata>
19274 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19275 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19276 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20319"/>
19277 </criteria>
19278 </definition>
19279 <definition class="compliance" id="oval:org.open-scap.f14:def:20320" version="1">
19280 <metadata>
19281 <title>Restrict Access to Anonymous Users if Possible</title>
19282 <reference ref_id="CCE-4443-8" source="CCE"/>
19283 <description>Local user login to the vsftpd service should be disabled (and dependencies are met)</description>
19284 </metadata>
19285 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19286 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19287 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19288 </criteria>
19289 </definition>
19290 <definition class="compliance" id="oval:org.open-scap.f14:def:20321" version="1">
19291 <metadata>
19292 <title>Disable FTP Uploads if Possible</title>
19293 <reference ref_id="CCE-4461-0" source="CCE"/>
19294 <description>File uploads via vsftpd should be disabled (and dependencies are met)</description>
19295 </metadata>
19296 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19297 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19298 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19299 </criteria>
19300 </definition>
19301 <definition class="compliance" id="oval:org.open-scap.f14:def:20322" version="1">
19302 <metadata>
19303 <title>Disable Apache if Possible</title>
19304 <reference ref_id="CCE-4338-0" source="CCE"/>
19305 <description>The httpd service should be disabled.</description>
19306 </metadata>
19307 <criteria comment="httpd is not installed or conditions are met" operator="OR">
19308 <extend_definition comment="httpd is not installed" definition_ref="oval:org.open-scap.f14:def:20323"/>
19309 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20322"/>
19310 </criteria>
19311 </definition>
19312 <definition class="compliance" id="oval:org.open-scap.f14:def:20323" version="1">
19313 <metadata>
19314 <title>Uninstall Apache if Possible</title>
19315 <reference ref_id="CCE-4514-6" source="CCE"/>
19316 <description>The httpd package should be uninstalled.</description>
19317 </metadata>
19318 <criteria>
19319 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20323"/>
19320 </criteria>
19321 </definition>
19322 <definition class="compliance" id="oval:org.open-scap.f14:def:20324" version="1">
19323 <metadata>
19324 <title>Restrict Information Leakage</title>
19325 <reference ref_id="CCE-4474-3" source="CCE"/>
19326 <description>The apache2 server's ServerTokens value should be set appropriately (and dependencies are met)</description>
19327 </metadata>
19328 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19329 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19330 <criterion test_ref="oval:org.open-scap.f14:tst:20324"/>
19331 </criteria>
19332 </definition>
19333 <definition class="compliance" id="oval:org.open-scap.f14:def:20325" version="1">
19334 <metadata>
19335 <title>Restrict Information Leakage</title>
19336 <reference ref_id="CCE-3756-4" source="CCE"/>
19337 <description>The apache2 server's ServerSignature value should be set appropriately (and dependencies are met)</description>
19338 </metadata>
19339 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19340 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19341 <criterion test_ref="oval:org.open-scap.f14:tst:20325"/>
19342 </criteria>
19343 </definition>
19344 <definition class="compliance" id="oval:org.open-scap.f14:def:20326" version="1">
19345 <metadata>
19346 <title>Restrict File and Directory Access</title>
19347 <reference ref_id="CCE-4509-6" source="CCE"/>
19348 <description>File permissions for /etc/httpd/conf should be set correctly. (and dependencies are met)</description>
19349 </metadata>
19350 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19351 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19352 <criterion test_ref="oval:org.open-scap.f14:tst:20326"/>
19353 </criteria>
19354 </definition>
19355 <definition class="compliance" id="oval:org.open-scap.f14:def:20327" version="1">
19356 <metadata>
19357 <title>Restrict File and Directory Access</title>
19358 <reference ref_id="CCE-4386-9" source="CCE"/>
19359 <description>File permissions for /etc/httpd/conf/* should be set correctly. (and dependencies are met)</description>
19360 </metadata>
19361 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19362 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19363 <criterion test_ref="oval:org.open-scap.f14:tst:20327"/>
19364 </criteria>
19365 </definition>
19366 <definition class="compliance" id="oval:org.open-scap.f14:def:20328" version="1">
19367 <metadata>
19368 <title>Restrict File and Directory Access</title>
19369 <reference ref_id="CCE-4029-5" source="CCE"/>
19370 <description>File permissions for /usr/sbin/httpd should be set correctly. (and dependencies are met)</description>
19371 </metadata>
19372 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19373 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19374 <criterion test_ref="oval:org.open-scap.f14:tst:20328"/>
19375 </criteria>
19376 </definition>
19377 <definition class="compliance" id="oval:org.open-scap.f14:def:20329" version="1">
19378 <metadata>
19379 <title>Restrict File and Directory Access</title>
19380 <reference ref_id="CCE-3581-6" source="CCE"/>
19381 <description>The /etc/httpd/conf/* files should be owned by the appropriate group.</description>
19382 </metadata>
19383 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19384 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19385 <criterion test_ref="oval:org.open-scap.f14:tst:20329"/>
19386 </criteria>
19387 </definition>
19388 <definition class="compliance" id="oval:org.open-scap.f14:def:20330" version="1">
19389 <metadata>
19390 <title>Restrict File and Directory Access</title>
19391 <reference ref_id="CCE-4574-0" source="CCE"/>
19392 <description>File permissions for /var/log/httpd should be set correctly. (and dependencies are met)</description>
19393 </metadata>
19394 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19395 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19396 <criterion test_ref="oval:org.open-scap.f14:tst:20330"/>
19397 </criteria>
19398 </definition>
19399 <definition class="compliance" id="oval:org.open-scap.f14:def:20331" version="1">
19400 <metadata>
19401 <title>Disable Dovecot if Possible</title>
19402 <reference ref_id="CCE-3847-1" source="CCE"/>
19403 <description>The dovecot service should be disabled.</description>
19404 </metadata>
19405 <criteria comment="dovecot is not installed or conditions are met" operator="OR">
19406 <extend_definition comment="dovecot is not installed" definition_ref="oval:org.open-scap.f14:def:20332"/>
19407 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20331"/>
19408 </criteria>
19409 </definition>
19410 <definition class="compliance" id="oval:org.open-scap.f14:def:20332" version="1">
19411 <metadata>
19412 <title>Disable Dovecot if Possible</title>
19413 <reference ref_id="CCE-4239-0" source="CCE"/>
19414 <description>The dovecot package should be uninstalled.</description>
19415 </metadata>
19416 <criteria>
19417 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20332"/>
19418 </criteria>
19419 </definition>
19420 <definition class="compliance" id="oval:org.open-scap.f14:def:20333" version="1">
19421 <metadata>
19422 <title>Support Only the Necessary Protocols</title>
19423 <reference ref_id="CCE-4384-4" source="CCE"/>
19424 <description>Dovecot should be configured to not support the imaps protocol (and dependencies are met)</description>
19425 </metadata>
19426 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19427 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19428 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20333"/>
19429 </criteria>
19430 </definition>
19431 <definition class="compliance" id="oval:org.open-scap.f14:def:20334" version="1">
19432 <metadata>
19433 <title>Support Only the Necessary Protocols</title>
19434 <reference ref_id="CCE-3887-7" source="CCE"/>
19435 <description>Dovecot should be configured to not support the pop3s protocol (and dependencies are met)</description>
19436 </metadata>
19437 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19438 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19439 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20334"/>
19440 </criteria>
19441 </definition>
19442 <definition class="compliance" id="oval:org.open-scap.f14:def:20335" version="1">
19443 <metadata>
19444 <title>Support Only the Necessary Protocols</title>
19445 <reference ref_id="CCE-4530-2" source="CCE"/>
19446 <description>Dovecot should be configured to not support the pop3 (and dependencies are met)</description>
19447 </metadata>
19448 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19449 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19450 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20335"/>
19451 </criteria>
19452 </definition>
19453 <definition class="compliance" id="oval:org.open-scap.f14:def:20336" version="1">
19454 <metadata>
19455 <title>Support Only the Necessary Protocols</title>
19456 <reference ref_id="CCE-4547-6" source="CCE"/>
19457 <description>Dovecot should be configured to not support the imap protocol (and dependencies are met)</description>
19458 </metadata>
19459 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19460 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19461 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20336"/>
19462 </criteria>
19463 </definition>
19464 <definition class="compliance" id="oval:org.open-scap.f14:def:20337" version="1">
19465 <metadata>
19466 <title>Disable Plaintext Authentication</title>
19467 <reference ref_id="CCE-4552-6" source="CCE"/>
19468 <description>Dovecot plaintext authentication of clients should be disabled as necessary (and dependencies are met)</description>
19469 </metadata>
19470 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19471 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19472 <criterion test_ref="oval:org.open-scap.f14:tst:20337"/>
19473 </criteria>
19474 </definition>
19475 <definition class="compliance" id="oval:org.open-scap.f14:def:20338" version="1">
19476 <metadata>
19477 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
19478 <reference ref_id="CCE-4371-1" source="CCE"/>
19479 <description>The Dovecot option to drop privileges to user before executing mail process should be enabled (and dependencies are met)</description>
19480 </metadata>
19481 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19482 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19483 <criterion test_ref="oval:org.open-scap.f14:tst:20338"/>
19484 </criteria>
19485 </definition>
19486 <definition class="compliance" id="oval:org.open-scap.f14:def:20339" version="1">
19487 <metadata>
19488 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
19489 <reference ref_id="CCE-4410-7" source="CCE"/>
19490 <description>The Dovecot option to spawn a new login process per connection should be enabled (and dependencies are met)</description>
19491 </metadata>
19492 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
19493 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
19494 <criterion test_ref="oval:org.open-scap.f14:tst:20339"/>
19495 </criteria>
19496 </definition>
19497 <definition class="compliance" id="oval:org.open-scap.f14:def:20340" version="1">
19498 <metadata>
19499 <title>Disable Samba if Possible</title>
19500 <reference ref_id="CCE-4551-8" source="CCE"/>
19501 <description>The smb service should be disabled.</description>
19502 </metadata>
19503 <criteria>
19504 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20340"/>
19505 </criteria>
19506 </definition>
19507 <definition class="compliance" id="oval:org.open-scap.f14:def:203403" version="1">
19508 <metadata>
19509 <title>Disable Guest Access and Local Login Support</title>
19510 <reference ref_id="CCE-4551-8" source="CCE"/>
19511 <description>Do not allow guest users to access local file or printer shares.</description>
19512 </metadata>
19513 <criteria>
19514 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203403"/>
19515 </criteria>
19516 </definition>
19517 <definition class="compliance" id="oval:org.open-scap.f14:def:2034010" version="1">
19518 <metadata>
19519 <title>Require Client SMB Packet Signing, if using smbclient</title>
19520 <reference ref_id="CCE-4551-8" source="CCE"/>
19521 <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>
19522 </metadata>
19523 <criteria>
19524 <criterion comment="check for client signing = mandatory in /etc/samba/smb.conf" test_ref="oval:org.open-scap.f14:tst:2034010"/>
19525 </criteria>
19526 </definition>
19527 <definition class="compliance" id="oval:org.open-scap.f14:def:2034011" version="1">
19528 <metadata>
19529 <title>Disable Samba if Possible</title>
19530 <reference ref_id="CCE-4551-8" source="CCE"/>
19531 <description>The smb service should be disabled.</description>
19532 </metadata>
19533 <criteria>
19534 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/fstab" test_ref="oval:org.open-scap.f14:tst:20340111"/>
19535 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/mtab" test_ref="oval:org.open-scap.f14:tst:20340112"/>
19536 </criteria>
19537 </definition>
19538 <definition class="compliance" id="oval:org.open-scap.f14:def:20341" version="1">
19539 <metadata>
19540 <title>Disable Squid if Possible</title>
19541 <reference ref_id="CCE-4556-7" source="CCE"/>
19542 <description>The squid service should be disabled.</description>
19543 </metadata>
19544 <criteria comment="squid is not installed or conditions are met" operator="OR">
19545 <extend_definition comment="squid is not installed" definition_ref="oval:org.open-scap.f14:def:20342"/>
19546 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20341"/>
19547 </criteria>
19548 </definition>
19549 <definition class="compliance" id="oval:org.open-scap.f14:def:20342" version="1">
19550 <metadata>
19551 <title>Disable Squid if Possible</title>
19552 <reference ref_id="CCE-4076-6" source="CCE"/>
19553 <description>The squid package should be uninstalled.</description>
19554 </metadata>
19555 <criteria>
19556 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20342"/>
19557 </criteria>
19558 </definition>
19559 <definition class="compliance" id="oval:org.open-scap.f14:def:20343" version="1">
19560 <metadata>
19561 <title>Verify Default Secure Settings</title>
19562 <reference ref_id="CCE-4454-5" source="CCE"/>
19563 <description>The Squid option to force FTP passive connections should be enabled (and dependencies are met)</description>
19564 </metadata>
19565 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19566 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19567 <criterion test_ref="oval:org.open-scap.f14:tst:20343"/>
19568 </criteria>
19569 </definition>
19570 <definition class="compliance" id="oval:org.open-scap.f14:def:20344" version="1">
19571 <metadata>
19572 <title>Verify Default Secure Settings</title>
19573 <reference ref_id="CCE-4459-4" source="CCE"/>
19574 <description>The Squid option to perform FTP sanity checks should be enabled or not as appropriate (and dependencies are met)</description>
19575 </metadata>
19576 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19577 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19578 <criterion test_ref="oval:org.open-scap.f14:tst:20344"/>
19579 </criteria>
19580 </definition>
19581 <definition class="compliance" id="oval:org.open-scap.f14:def:20345" version="1">
19582 <metadata>
19583 <title>Verify Default Secure Settings</title>
19584 <reference ref_id="CCE-4503-9" source="CCE"/>
19585 <description>The Squid option to check for RFC compliant hostnames should be enabled or not as appropriate (and dependencies are met)</description>
19586 </metadata>
19587 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19588 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19589 <criterion test_ref="oval:org.open-scap.f14:tst:20345"/>
19590 </criteria>
19591 </definition>
19592 <definition class="compliance" id="oval:org.open-scap.f14:def:20346" version="1">
19593 <metadata>
19594 <title>Verify Default Secure Settings</title>
19595 <reference ref_id="CCE-4353-9" source="CCE"/>
19596 <description>The Squid max request HTTP header length should be set to an appropriate value (and dependencies are met)</description>
19597 </metadata>
19598 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19599 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19600 <criterion test_ref="oval:org.open-scap.f14:tst:20346"/>
19601 </criteria>
19602 </definition>
19603 <definition class="compliance" id="oval:org.open-scap.f14:def:20347" version="1">
19604 <metadata>
19605 <title>Verify Default Secure Settings</title>
19606 <reference ref_id="CCE-4419-8" source="CCE"/>
19607 <description>The Squid max reply HTTP header length should be set to an appropriate value (and dependencies are met)</description>
19608 </metadata>
19609 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19610 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19611 <criterion test_ref="oval:org.open-scap.f14:tst:20347"/>
19612 </criteria>
19613 </definition>
19614 <definition class="compliance" id="oval:org.open-scap.f14:def:20348" version="1">
19615 <metadata>
19616 <title>Verify Default Secure Settings</title>
19617 <reference ref_id="CCE-3692-1" source="CCE"/>
19618 <description>The Squid EUID should be set to an appropriate user (and dependencies are met)</description>
19619 </metadata>
19620 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19621 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19622 <criterion test_ref="oval:org.open-scap.f14:tst:20348"/>
19623 </criteria>
19624 </definition>
19625 <definition class="compliance" id="oval:org.open-scap.f14:def:20349" version="1">
19626 <metadata>
19627 <title>Verify Default Secure Settings</title>
19628 <reference ref_id="CCE-4476-8" source="CCE"/>
19629 <description>The Squid GUID should be set to an appropriate group (and dependencies are met)</description>
19630 </metadata>
19631 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19632 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19633 <criterion test_ref="oval:org.open-scap.f14:tst:20349"/>
19634 </criteria>
19635 </definition>
19636 <definition class="compliance" id="oval:org.open-scap.f14:def:20350" version="1">
19637 <metadata>
19638 <title>Verify Default Secure Settings</title>
19639 <reference ref_id="CCE-3585-7" source="CCE"/>
19640 <description>The Squid option to ignore unknown nameservers should be enabled (and dependencies are met)</description>
19641 </metadata>
19642 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19643 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19644 <criterion test_ref="oval:org.open-scap.f14:tst:20350"/>
19645 </criteria>
19646 </definition>
19647 <definition class="compliance" id="oval:org.open-scap.f14:def:20351" version="1">
19648 <metadata>
19649 <title>Change Default Insecure Settings</title>
19650 <reference ref_id="CCE-4344-8" source="CCE"/>
19651 <description>The Squid option to allow underscores in hostnames should be disabled (and dependencies are met)</description>
19652 </metadata>
19653 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19654 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19655 <criterion test_ref="oval:org.open-scap.f14:tst:20351"/>
19656 </criteria>
19657 </definition>
19658 <definition class="compliance" id="oval:org.open-scap.f14:def:20352" version="1">
19659 <metadata>
19660 <title>Change Default Insecure Settings</title>
19661 <reference ref_id="CCE-4494-1" source="CCE"/>
19662 <description>The Squid option to suppress the httpd version string should be enabled (and dependencies are met)</description>
19663 </metadata>
19664 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19665 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19666 <criterion test_ref="oval:org.open-scap.f14:tst:20352"/>
19667 </criteria>
19668 </definition>
19669 <definition class="compliance" id="oval:org.open-scap.f14:def:20353" version="1">
19670 <metadata>
19671 <title>Change Default Insecure Settings</title>
19672 <reference ref_id="CCE-4181-4" source="CCE"/>
19673 <description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled (and dependencies are met)</description>
19674 </metadata>
19675 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19676 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19677 <criterion test_ref="oval:org.open-scap.f14:tst:20353"/>
19678 </criteria>
19679 </definition>
19680 <definition class="compliance" id="oval:org.open-scap.f14:def:20354" version="1">
19681 <metadata>
19682 <title>Change Default Insecure Settings</title>
19683 <reference ref_id="CCE-4577-3" source="CCE"/>
19684 <description>The Squid option to log HTTP MIME headers should be enabled (and dependencies are met)</description>
19685 </metadata>
19686 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19687 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19688 <criterion test_ref="oval:org.open-scap.f14:tst:20354"/>
19689 </criteria>
19690 </definition>
19691 <definition class="compliance" id="oval:org.open-scap.f14:def:20355" version="1">
19692 <metadata>
19693 <title>Access Control Lists (ACL)</title>
19694 <reference ref_id="CCE-4511-2" source="CCE"/>
19695 <description>Squid should be configured to not allow gss-http traffic (and dependencies are met)</description>
19696 </metadata>
19697 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19698 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19699 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19700 </criteria>
19701 </definition>
19702 <definition class="compliance" id="oval:org.open-scap.f14:def:20356" version="1">
19703 <metadata>
19704 <title>Access Control Lists (ACL)</title>
19705 <reference ref_id="CCE-4529-4" source="CCE"/>
19706 <description>Squid should be configured to not allow https traffic (and dependencies are met)</description>
19707 </metadata>
19708 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19709 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19710 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19711 </criteria>
19712 </definition>
19713 <definition class="compliance" id="oval:org.open-scap.f14:def:20357" version="1">
19714 <metadata>
19715 <title>Access Control Lists (ACL)</title>
19716 <reference ref_id="CCE-3610-3" source="CCE"/>
19717 <description>Squid should be configured to not allow wais traffic (and dependencies are met)</description>
19718 </metadata>
19719 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19720 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19721 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19722 </criteria>
19723 </definition>
19724 <definition class="compliance" id="oval:org.open-scap.f14:def:20358" version="1">
19725 <metadata>
19726 <title>Access Control Lists (ACL)</title>
19727 <reference ref_id="CCE-4466-9" source="CCE"/>
19728 <description>Squid should be configured to not allow multiling http traffic (and dependencies are met)</description>
19729 </metadata>
19730 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19731 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19732 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19733 </criteria>
19734 </definition>
19735 <definition class="compliance" id="oval:org.open-scap.f14:def:20359" version="1">
19736 <metadata>
19737 <title>Access Control Lists (ACL)</title>
19738 <reference ref_id="CCE-4607-8" source="CCE"/>
19739 <description>Squid should be configured to not allow http traffic (and dependencies are met)</description>
19740 </metadata>
19741 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19742 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19743 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19744 </criteria>
19745 </definition>
19746 <definition class="compliance" id="oval:org.open-scap.f14:def:20360" version="1">
19747 <metadata>
19748 <title>Access Control Lists (ACL)</title>
19749 <reference ref_id="CCE-4255-6" source="CCE"/>
19750 <description>Squid should be configured to not allow ftp traffic (and dependencies are met)</description>
19751 </metadata>
19752 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19753 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19754 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19755 </criteria>
19756 </definition>
19757 <definition class="compliance" id="oval:org.open-scap.f14:def:20361" version="1">
19758 <metadata>
19759 <title>Access Control Lists (ACL)</title>
19760 <reference ref_id="CCE-4127-7" source="CCE"/>
19761 <description>Squid should be configured to not allow gopher traffic (and dependencies are met)</description>
19762 </metadata>
19763 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19764 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19765 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19766 </criteria>
19767 </definition>
19768 <definition class="compliance" id="oval:org.open-scap.f14:def:20362" version="1">
19769 <metadata>
19770 <title>Access Control Lists (ACL)</title>
19771 <reference ref_id="CCE-4519-5" source="CCE"/>
19772 <description>Squid should be configured to not allow filemaker traffic (and dependencies are met)</description>
19773 </metadata>
19774 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19775 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19776 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19777 </criteria>
19778 </definition>
19779 <definition class="compliance" id="oval:org.open-scap.f14:def:20363" version="1">
19780 <metadata>
19781 <title>Access Control Lists (ACL)</title>
19782 <reference ref_id="CCE-4413-1" source="CCE"/>
19783 <description>Squid proxy access to localhost should be denied (and dependencies are met)</description>
19784 </metadata>
19785 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19786 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19787 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19788 </criteria>
19789 </definition>
19790 <definition class="compliance" id="oval:org.open-scap.f14:def:20364" version="1">
19791 <metadata>
19792 <title>Access Control Lists (ACL)</title>
19793 <reference ref_id="CCE-4373-7" source="CCE"/>
19794 <description>Squid should be configured to not allow http-mgmt traffic (and dependencies are met)</description>
19795 </metadata>
19796 <criteria comment="Squid is disabled or conditions are met" operator="OR">
19797 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
19798 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19799 </criteria>
19800 </definition>
19801 <definition class="compliance" id="oval:org.open-scap.f14:def:20365" version="1">
19802 <metadata>
19803 <title>Disable SNMP Server if Possible</title>
19804 <reference ref_id="CCE-3765-5" source="CCE"/>
19805 <description>The snmpd service should be disabled.</description>
19806 </metadata>
19807 <criteria comment="net-snmp is not installed or conditions are met" operator="OR">
19808 <extend_definition comment="net-snmp is not installed" definition_ref="oval:org.open-scap.f14:def:20366"/>
19809 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20365"/>
19810 </criteria>
19811 </definition>
19812 <definition class="compliance" id="oval:org.open-scap.f14:def:20366" version="1">
19813 <metadata>
19814 <title>Disable SNMP Server if Possible</title>
19815 <reference ref_id="CCE-4404-0" source="CCE"/>
19816 <description>The net-snmp package should be uninstalled.</description>
19817 </metadata>
19818 <criteria>
19819 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20366"/>
19820 </criteria>
19821 </definition>
19822 </definitions>
19823 <tests>
19824 <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">
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:20000"/>
19827 </ind-def:textfilecontent54_test>
19828 <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">
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:20002"/>
19831 </ind-def:textfilecontent54_test>
19832 <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">
19833 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19834 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20004"/>
19835 </ind-def:textfilecontent54_test>
19836 <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">
19837 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19838 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20005"/>
19839 </ind-def:textfilecontent54_test>
19840 <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">
19841 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
19842 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20006"/>
19843 </ind-def:textfilecontent54_test>
19844 <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">
19845 <lin-def:object object_ref="oval:org.open-scap.f14:obj:200065"/>
19846 <lin-def:state state_ref="oval:org.open-scap.f14:ste:200065"/>
19847 </lin-def:rpminfo_test>
19848 <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">
19849 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20009"/>
19850 </unix-def:file_test>
19851 <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">
19852 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20010"/>
19853 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20010"/>
19854 </ind-def:textfilecontent54_test>
19855 <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">
19856 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20011"/>
19857 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20011"/>
19858 </ind-def:textfilecontent54_test>
19859 <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">
19860 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20012"/>
19861 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20012"/>
19862 </ind-def:textfilecontent54_test>
19863 <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">
19864 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20013"/>
19865 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20013"/>
19866 </ind-def:textfilecontent54_test>
19867 <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">
19868 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
19869 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
19870 </ind-def:textfilecontent54_test>
19871 <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">
19872 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
19873 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
19874 </ind-def:textfilecontent54_test>
19875 <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">
19876 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
19877 <lin-def:state state_ref="oval:org.open-scap.f14:ste:10000"/>
19878 </lin-def:rpminfo_test>
19879 <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">
19880 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
19881 <lin-def:state state_ref="oval:org.open-scap.f14:ste:11000"/>
19882 </lin-def:rpminfo_test>
19883 <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">
19884 <ind-def:object object_ref="oval:org.open-scap.f14:obj:10001"/>
19885 <ind-def:state state_ref="oval:org.open-scap.f14:ste:10001"/>
19886 </ind-def:family_test>
19887 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20008" version="1">
19888 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20008"/>
19889 </unix-def:runlevel_test>
19890 <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">
19891 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20014"/>
19892 </lin-def:rpminfo_test>
19893 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:22" version="1"/>
19894 <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">
19895 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20020"/>
19896 </ind-def:textfilecontent54_test>
19897 <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">
19898 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19899 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20021"/>
19900 </ind-def:textfilecontent54_test>
19901 <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">
19902 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20022"/>
19903 </unix-def:file_test>
19904 <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">
19905 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20023"/>
19906 </ind-def:textfilecontent54_test>
19907 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20025" version="1">
19908 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20025"/>
19909 </unix-def:runlevel_test>
19910 <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">
19911 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20026"/>
19912 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20026"/>
19913 </ind-def:xmlfilecontent_test>
19914 <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">
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:20027"/>
19917 </ind-def:textfilecontent54_test>
19918 <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">
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:20028"/>
19921 </ind-def:textfilecontent54_test>
19922 <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">
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:20029"/>
19925 </ind-def:textfilecontent54_test>
19926 <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">
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:20030"/>
19929 </ind-def:textfilecontent54_test>
19930 <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">
19931 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19932 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20031"/>
19933 </ind-def:textfilecontent54_test>
19934 <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">
19935 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19936 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20032"/>
19937 </ind-def:textfilecontent54_test>
19938 <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">
19939 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
19940 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20033"/>
19941 </ind-def:textfilecontent54_test>
19942 <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">
19943 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
19944 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20034"/>
19945 </unix-def:file_test>
19946 <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">
19947 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
19948 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20035"/>
19949 </unix-def:file_test>
19950 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20036" version="1">
19951 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
19952 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20036"/>
19953 </unix-def:file_test>
19954 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20037" version="1">
19955 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
19956 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20037"/>
19957 </unix-def:file_test>
19958 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20038" version="1">
19959 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
19960 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20038"/>
19961 </unix-def:file_test>
19962 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20039" version="1">
19963 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
19964 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20039"/>
19965 </unix-def:file_test>
19966 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20040" version="1">
19967 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
19968 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20040"/>
19969 </unix-def:file_test>
19970 <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">
19971 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
19972 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20041"/>
19973 </unix-def:file_test>
19974 <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">
19975 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
19976 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20042"/>
19977 </unix-def:file_test>
19978 <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">
19979 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
19980 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20043"/>
19981 </unix-def:file_test>
19982 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow permissions" id="oval:org.open-scap.f14:tst:20044" version="1">
19983 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
19984 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20044"/>
19985 </unix-def:file_test>
19986 <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">
19987 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
19988 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20045"/>
19989 </unix-def:file_test>
19990 <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">
19991 <notes>
19992 <note>This will enumerate all world writable directories on local partitions</note>
19993 </notes>
19994 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200461"/>
19995 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20046"/>
19996 </unix-def:file_test>
19997 <unix-def:file_test check="all" comment="world writable files" id="oval:org.open-scap.f14:tst:20047" version="1">
19998 <notes>
19999 <note>This will enumerate all world writable files on local partitions</note>
20000 </notes>
20001 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200471"/>
20002 </unix-def:file_test>
20003 <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">
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:20048"/>
20008 </unix-def:file_test>
20009 <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">
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:20049"/>
20014 </unix-def:file_test>
20015 <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">
20016 <notes>
20017 <note>This will enumerate all files on local partitions</note>
20018 </notes>
20019 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20050"/>
20020 </unix-def:file_test>
20021 <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">
20022 <notes>
20023 <note>This will enumerate all files on local partitions</note>
20024 </notes>
20025 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20051"/>
20026 </unix-def:file_test>
20027 <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">
20028 <notes>
20029 <note>This will enumerate all directories on local partitions</note>
20030 </notes>
20031 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20052"/>
20032 </unix-def:file_test>
20033 <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">
20034 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20053"/>
20035 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20053"/>
20036 </ind-def:textfilecontent54_test>
20037 <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">
20038 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20055"/>
20039 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20055"/>
20040 </ind-def:textfilecontent54_test>
20041 <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">
20042 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20056"/>
20043 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20056"/>
20044 </ind-def:textfilecontent54_test>
20045 <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">
20046 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20057"/>
20047 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20057"/>
20048 </ind-def:textfilecontent54_test>
20049 <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">
20050 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20058"/>
20051 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20058"/>
20052 </ind-def:textfilecontent54_test>
20053 <ind-def:unknown_test check="all" comment="BIOS test cannot be automated" id="oval:org.open-scap.f14:tst:20060" version="1"/>
20054 <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">
20055 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20061"/>
20056 </ind-def:textfilecontent54_test>
20057 <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">
20058 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20062"/>
20059 </ind-def:textfilecontent54_test>
20060 <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">
20061 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20063"/>
20062 </ind-def:textfilecontent54_test>
20063 <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">
20064 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20064"/>
20065 </ind-def:textfilecontent54_test>
20066 <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">
20067 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20065"/>
20068 </ind-def:textfilecontent54_test>
20069 <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">
20070 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20066"/>
20071 </ind-def:textfilecontent54_test>
20072 <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">
20073 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20067"/>
20074 </ind-def:textfilecontent54_test>
20075 <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">
20076 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20068"/>
20077 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20068"/>
20078 </unix-def:password_test>
20079 <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">
20080 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20069"/>
20081 </ind-def:textfilecontent54_test>
20082 <unix-def:password_test check="all" comment="Check that passwords are shadowed" id="oval:org.open-scap.f14:tst:200695" version="1">
20083 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200695"/>
20084 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200695"/>
20085 </unix-def:password_test>
20086 <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">
20087 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20070"/>
20088 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20070"/>
20089 </ind-def:textfilecontent54_test>
20090 <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">
20091 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20071"/>
20092 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20071"/>
20093 </ind-def:textfilecontent54_test>
20094 <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">
20095 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20072"/>
20096 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20072"/>
20097 </ind-def:textfilecontent54_test>
20098 <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">
20099 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20073"/>
20100 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20073"/>
20101 </ind-def:textfilecontent54_test>
20102 <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">
20103 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20074"/>
20104 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20074"/>
20105 </ind-def:textfilecontent54_test>
20106 <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">
20107 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20075"/>
20108 </ind-def:textfilecontent54_test>
20109 <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">
20110 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20076"/>
20111 </ind-def:textfilecontent54_test>
20112 <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">
20113 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20077"/>
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:200781" version="1">
20116 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200781"/>
20117 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200781"/>
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:200782" version="1">
20120 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200782"/>
20121 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200782"/>
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:200783" version="1">
20124 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200783"/>
20125 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200783"/>
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:200784" version="1">
20128 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200784"/>
20129 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200784"/>
20130 </ind-def:textfilecontent54_test>
20131 <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">
20132 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200785"/>
20133 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200785"/>
20134 </ind-def:textfilecontent54_test>
20135 <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">
20136 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200786"/>
20137 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200786"/>
20138 </ind-def:textfilecontent54_test>
20139 <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">
20140 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200787"/>
20141 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200787"/>
20142 </ind-def:textfilecontent54_test>
20143 <ind-def:unknown_test check="all" comment="pam_passwdqc is not implemented" id="oval:org.open-scap.f14:tst:20079" version="1"/>
20144 <ind-def:variable_test check="all" comment="check value of unlock_time" id="oval:org.open-scap.f14:tst:200800" version="1">
20145 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200800"/>
20146 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200800"/>
20147 </ind-def:variable_test>
20148 <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">
20149 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008011"/>
20150 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008011"/>
20151 </ind-def:textfilecontent54_test>
20152 <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">
20153 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008012"/>
20154 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008012"/>
20155 </ind-def:textfilecontent54_test>
20156 <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">
20157 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008013"/>
20158 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008013"/>
20159 </ind-def:textfilecontent54_test>
20160 <!-- 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"> -->
20161 <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">
20162 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200803"/>
20163 </ind-def:textfilecontent54_test>
20164 <ind-def:unknown_test check="all" comment="Check for required in pam_unix auth" id="oval:org.open-scap.f14:tst:200805" version="1"/>
20165 <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"/>
20166 <ind-def:unknown_test check="all" comment="check that pam_deny is not there" id="oval:org.open-scap.f14:tst:2008062" version="1"/>
20167 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20081" version="1">
20168 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20169 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20081"/>
20170 </unix-def:file_test>
20171 <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">
20172 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200811"/>
20173 </ind-def:textfilecontent54_test>
20174 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20082" version="1">
20175 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20176 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20082"/>
20177 </unix-def:file_test>
20178 <ind-def:variable_test check="all" comment="check value of hashing algorithm is md5" id="oval:org.open-scap.f14:tst:200831" version="1">
20179 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200831"/>
20180 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200831"/>
20181 </ind-def:variable_test>
20182 <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">
20183 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200832"/>
20184 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200832"/>
20185 </ind-def:textfilecontent54_test>
20186 <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">
20187 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200833"/>
20188 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20189 </ind-def:textfilecontent54_test>
20190 <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">
20191 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200834"/>
20192 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20193 </ind-def:textfilecontent54_test>
20194 <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">
20195 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200835"/>
20196 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20197 </ind-def:textfilecontent54_test>
20198 <ind-def:variable_test check="all" comment="check remember parameter is set to 0" id="oval:org.open-scap.f14:tst:200841" version="1">
20199 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200841"/>
20200 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200841"/>
20201 </ind-def:variable_test>
20202 <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">
20203 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200842"/>
20204 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200842"/>
20205 </ind-def:textfilecontent54_test>
20206 <ind-def:environmentvariable_test check="all" comment="PATH starts with : or ." id="oval:org.open-scap.f14:tst:200851" version="1">
20207 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20208 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200851"/>
20209 </ind-def:environmentvariable_test>
20210 <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">
20211 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20212 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200852"/>
20213 </ind-def:environmentvariable_test>
20214 <ind-def:environmentvariable_test check="all" comment="PATH contains :: or :.:" id="oval:org.open-scap.f14:tst:200853" version="1">
20215 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20216 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200853"/>
20217 </ind-def:environmentvariable_test>
20218 <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">
20219 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2008551"/>
20220 </unix-def:file_test>
20221 <unix-def:file_test check="none satisfy" comment="home directories are group writeable" id="oval:org.open-scap.f14:tst:200861" version="1">
20222 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20223 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200861"/>
20224 </unix-def:file_test>
20225 <unix-def:file_test check="none satisfy" comment="home directories are world readable" id="oval:org.open-scap.f14:tst:200862" version="1">
20226 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20227 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200862"/>
20228 </unix-def:file_test>
20229 <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">
20230 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20087"/>
20231 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20232 </ind-def:textfilecontent54_test>
20233 <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">
20234 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20088"/>
20235 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20236 </ind-def:textfilecontent54_test>
20237 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20092" version="1">
20238 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20092"/>
20239 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20092"/>
20240 </unix-def:file_test>
20241 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20093" version="1">
20242 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20093"/>
20243 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20093"/>
20244 </unix-def:file_test>
20245 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20094" version="1">
20246 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20094"/>
20247 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20094"/>
20248 </unix-def:file_test>
20249 <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">
20250 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20095"/>
20251 </ind-def:textfilecontent54_test>
20252 <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">
20253 <ind-def:object object_ref="oval:org.open-scap.f14:obj:73"/>
20254 </ind-def:textfilecontent54_test>
20255 <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">
20256 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20096"/>
20257 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20097"/>
20258 </ind-def:textfilecontent54_test>
20259 <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">
20260 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20098"/>
20261 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20098"/>
20262 </ind-def:textfilecontent54_test>
20263 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20099" version="1"/>
20264 <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">
20265 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20100"/>
20266 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20100"/>
20267 </ind-def:xmlfilecontent_test>
20268 <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">
20269 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201005"/>
20270 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201005"/>
20271 </ind-def:xmlfilecontent_test>
20272 <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">
20273 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201006"/>
20274 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201006"/>
20275 </ind-def:xmlfilecontent_test>
20276 <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">
20277 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201007"/>
20278 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201007"/>
20279 </ind-def:xmlfilecontent_test>
20280 <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">
20281 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20101"/>
20282 </lin-def:rpminfo_test>
20283 <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">
20284 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20102"/>
20285 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20102"/>
20286 </ind-def:textfilecontent54_test>
20287 <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">
20288 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20103"/>
20289 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20103"/>
20290 </ind-def:xmlfilecontent_test>
20291 <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">
20292 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20104"/>
20293 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20104"/>
20294 </ind-def:textfilecontent54_test>
20295 <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">
20296 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20105"/>
20297 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20105"/>
20298 </ind-def:textfilecontent54_test>
20299 <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">
20300 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20106"/>
20301 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20106"/>
20302 </ind-def:textfilecontent54_test>
20303 <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">
20304 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20107"/>
20305 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20107"/>
20306 </ind-def:textfilecontent54_test>
20307 <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">
20308 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20108"/>
20309 </lin-def:rpminfo_test>
20310 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20109" version="1">
20311 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20109"/>
20312 </unix-def:runlevel_test>
20313 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20110" version="1">
20314 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20110"/>
20315 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
20316 </unix-def:runlevel_test>
20317 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20111" version="1">
20318 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20111"/>
20319 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
20320 </unix-def:runlevel_test>
20321 <!-- BEGIN -->
20322 <!-- def:20112 -->
20323 <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">
20324 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201120"/>
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\.default\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201121" version="1">
20328 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
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\.default\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201122" version="1">
20331 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
20332 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20333 </ind-def:textfilecontent54_test>
20334 <!-- def:20113 -->
20335 <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">
20336 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201130"/>
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\.conf\.all\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201131" version="1">
20340 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
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\.conf\.all\.send_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201132" version="1">
20343 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
20344 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20345 </ind-def:textfilecontent54_test>
20346 <!-- def:20114 -->
20347 <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">
20348 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201140"/>
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\.ip_forward[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201141" version="1">
20352 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
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\.ip_forward[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201142" version="1">
20355 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
20356 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20357 </ind-def:textfilecontent54_test>
20358 <!-- def:20115 -->
20359 <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">
20360 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201150"/>
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_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201151" version="1">
20364 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
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_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201152" version="1">
20367 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
20368 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20369 </ind-def:textfilecontent54_test>
20370 <!-- def:20116 -->
20371 <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">
20372 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201160"/>
20373 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
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\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201161" version="1">
20376 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
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\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201162" version="1">
20379 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
20380 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20381 </ind-def:textfilecontent54_test>
20382 <!-- def:20117 -->
20383 <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">
20384 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201170"/>
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\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201171" version="1">
20388 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
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\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201172" version="1">
20391 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
20392 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20393 </ind-def:textfilecontent54_test>
20394 <!-- def:20118 -->
20395 <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">
20396 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201180"/>
20397 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
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\.all\.log_martians[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201181" version="1">
20400 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
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\.all\.log_martians[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201182" version="1">
20403 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
20404 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20405 </ind-def:textfilecontent54_test>
20406 <!-- def:20119 -->
20407 <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">
20408 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201190"/>
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_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201191" version="1">
20412 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
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_source_route[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201192" version="1">
20415 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
20416 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20417 </ind-def:textfilecontent54_test>
20418 <!-- def:20120 -->
20419 <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">
20420 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201200"/>
20421 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
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\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201201" version="1">
20424 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
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\.accept_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201202" version="1">
20427 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
20428 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20429 </ind-def:textfilecontent54_test>
20430 <!-- def:20121 -->
20431 <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">
20432 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201210"/>
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\.conf\.default\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201211" version="1">
20436 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
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\.conf\.default\.secure_redirects[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201212" version="1">
20439 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
20440 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20441 </ind-def:textfilecontent54_test>
20442 <!-- def:20122 -->
20443 <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">
20444 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201220"/>
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_echo_ignore_broadcasts[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201221" version="1">
20448 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
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_echo_ignore_broadcasts[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201222" version="1">
20451 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
20452 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20453 </ind-def:textfilecontent54_test>
20454 <!-- def:20123 -->
20455 <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">
20456 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201230"/>
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\.icmp_ignore_bogus_error_responses[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201231" version="1">
20460 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
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\.icmp_ignore_bogus_error_responses[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201232" version="1">
20463 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
20464 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20465 </ind-def:textfilecontent54_test>
20466 <!-- def:20124 -->
20467 <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">
20468 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201240"/>
20469 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
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\.tcp_syncookies[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201241" version="1">
20472 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
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\.tcp_syncookies[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201242" version="1">
20475 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
20476 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20477 </ind-def:textfilecontent54_test>
20478 <!-- def:20125 -->
20479 <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">
20480 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201250"/>
20481 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
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\.all\.rp_filter[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201251" version="1">
20484 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
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\.all\.rp_filter[\s]*=([\s]*) expression in the /etc/sysctl.conf file" id="oval:org.open-scap.f14:tst:201252" version="1">
20487 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
20488 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20489 </ind-def:textfilecontent54_test>
20490 <!-- def:20126 -->
20491 <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">
20492 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201260"/>
20493 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20494 </ind-def:textfilecontent54_test>
20495 <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">
20496 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
20497 </ind-def:textfilecontent54_test>
20498 <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">
20499 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
20500 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20501 </ind-def:textfilecontent54_test>
20502 <!-- ^^^ ok ^^^ -->
20503 <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">
20504 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20128"/>
20505 </ind-def:textfilecontent54_test>
20506 <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">
20507 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20129"/>
20508 </unix-def:file_test>
20509 <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">
20510 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20130"/>
20511 </ind-def:textfilecontent54_test>
20512 <!-- assuming the default is "no" i.e. if IPV6INIT is not present -->
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:20131" version="1">
20514 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20131"/>
20515 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20131"/>
20516 </ind-def:textfilecontent54_test>
20517 <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">
20518 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20132"/>
20519 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20132"/>
20520 </ind-def:textfilecontent54_test>
20521 <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">
20522 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20133"/>
20523 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20133"/>
20524 </ind-def:textfilecontent54_test>
20525 <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">
20526 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20134"/>
20527 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20134"/>
20528 </ind-def:textfilecontent54_test>
20529 <!-- sysctl (ip6) -->
20530 <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">
20531 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201390"/>
20532 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
20533 </ind-def:textfilecontent54_test>
20534 <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">
20535 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
20536 </ind-def:textfilecontent54_test>
20537 <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">
20538 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
20539 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
20540 </ind-def:textfilecontent54_test>
20541 <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">
20542 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201400"/>
20543 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20544 </ind-def:textfilecontent54_test>
20545 <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">
20546 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
20547 </ind-def:textfilecontent54_test>
20548 <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">
20549 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
20550 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20551 </ind-def:textfilecontent54_test>
20552 <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">
20553 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201410"/>
20554 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20555 </ind-def:textfilecontent54_test>
20556 <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">
20557 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
20558 </ind-def:textfilecontent54_test>
20559 <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">
20560 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
20561 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20562 </ind-def:textfilecontent54_test>
20563 <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">
20564 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201420"/>
20565 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20566 </ind-def:textfilecontent54_test>
20567 <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">
20568 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
20569 </ind-def:textfilecontent54_test>
20570 <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">
20571 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
20572 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20573 </ind-def:textfilecontent54_test>
20574 <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">
20575 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201430"/>
20576 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20577 </ind-def:textfilecontent54_test>
20578 <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">
20579 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
20580 </ind-def:textfilecontent54_test>
20581 <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">
20582 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
20583 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20584 </ind-def:textfilecontent54_test>
20585 <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">
20586 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201440"/>
20587 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
20588 </ind-def:textfilecontent54_test>
20589 <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">
20590 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
20591 </ind-def:textfilecontent54_test>
20592 <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">
20593 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
20594 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
20595 </ind-def:textfilecontent54_test>
20596 <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">
20597 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201450"/>
20598 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
20599 </ind-def:textfilecontent54_test>
20600 <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">
20601 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
20602 </ind-def:textfilecontent54_test>
20603 <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">
20604 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
20605 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
20606 </ind-def:textfilecontent54_test>
20607 <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">
20608 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20146"/>
20609 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
20610 </unix-def:runlevel_test>
20611 <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">
20612 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20147"/>
20613 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
20614 </unix-def:runlevel_test>
20615 <!--- New end -->
20616 <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">
20617 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014741"/>
20618 </ind-def:textfilecontent54_test>
20619 <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">
20620 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014742"/>
20621 </ind-def:textfilecontent54_test>
20622 <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">
20623 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014751"/>
20624 </ind-def:textfilecontent54_test>
20625 <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">
20626 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014752"/>
20627 </ind-def:textfilecontent54_test>
20628 <!--
20629 <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">
20630 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201476" />
20631 </ind-def:textfilecontent54_test>
20632 <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">
20633 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201477" />
20634 </ind-def:textfilecontent54_test>
20635 <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">
20636 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201478" />
20637 </ind-def:textfilecontent54_test>
20638 <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">
20639 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201479" />
20640 </ind-def:textfilecontent54_test>
20641 -->
20642 <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">
20643 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20148"/>
20644 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20148"/>
20645 </unix-def:runlevel_test>
20646 <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">
20647 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
20648 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20149"/>
20649 </unix-def:file_test>
20650 <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">
20651 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
20652 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20150"/>
20653 </unix-def:file_test>
20654 <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">
20655 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
20656 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20151"/>
20657 </unix-def:file_test>
20658 <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">
20659 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2014911"/>
20660 </unix-def:password_test>
20661 <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">
20662 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201501"/>
20663 </ind-def:textfilecontent54_test>
20664 <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">
20665 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20152"/>
20666 </ind-def:textfilecontent54_test>
20667 <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">
20668 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20153"/>
20669 </ind-def:textfilecontent54_test>
20670 <!--
20671 <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">
20672 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20154"/>
20673 </ind-def:textfilecontent54_test>
20674 -->
20675 <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">
20676 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20156"/>
20677 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20156"/>
20678 </unix-def:runlevel_test>
20679 <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">
20680 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20157"/>
20681 </ind-def:textfilecontent54_test>
20682 <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">
20683 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015750"/>
20684 </ind-def:textfilecontent54_test>
20685 <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">
20686 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015751"/>
20687 </ind-def:textfilecontent54_test>
20688 <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">
20689 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015752"/>
20690 </ind-def:textfilecontent54_test>
20691 <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">
20692 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015753"/>
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/localtime -p wa -k time-change" id="oval:org.open-scap.f14:tst:2015754" version="1">
20695 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015754"/>
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/group -p wa -k identity" id="oval:org.open-scap.f14:tst:201580" version="1">
20698 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201580"/>
20699 </ind-def:textfilecontent54_test>
20700 <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">
20701 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201581"/>
20702 </ind-def:textfilecontent54_test>
20703 <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">
20704 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201582"/>
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/shadow -p wa -k identity" id="oval:org.open-scap.f14:tst:201583" version="1">
20707 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201583"/>
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/security/opasswd -p wa -k identity" id="oval:org.open-scap.f14:tst:201584" version="1">
20710 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201584"/>
20711 </ind-def:textfilecontent54_test>
20712 <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">
20713 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201590"/>
20714 </ind-def:textfilecontent54_test>
20715 <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">
20716 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201591"/>
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/issue -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201592" version="1">
20719 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201592"/>
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 /etc/issue.net -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201593" version="1">
20722 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201593"/>
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 /etc/hosts -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201594" version="1">
20725 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201594"/>
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 /etc/sysconfig/network -p wa -k system-locale" id="oval:org.open-scap.f14:tst:201595" version="1">
20728 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201595"/>
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 /etc/selinux/ -p wa -k MAC-policy" id="oval:org.open-scap.f14:tst:20160" version="1">
20731 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20160"/>
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/faillog -p wa -k logins" id="oval:org.open-scap.f14:tst:201610" version="1">
20734 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201610"/>
20735 </ind-def:textfilecontent54_test>
20736 <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">
20737 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201611"/>
20738 </ind-def:textfilecontent54_test>
20739 <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">
20740 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201620"/>
20741 </ind-def:textfilecontent54_test>
20742 <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">
20743 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201621"/>
20744 </ind-def:textfilecontent54_test>
20745 <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">
20746 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201622"/>
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 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">
20749 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201630"/>
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 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">
20752 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201631"/>
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=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">
20755 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201632"/>
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=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">
20758 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201633"/>
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=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">
20761 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201634"/>
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=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">
20764 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201635"/>
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 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">
20767 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201640"/>
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=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">
20770 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201641"/>
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=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">
20773 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201642"/>
20774 </ind-def:textfilecontent54_test>
20775 <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">
20776 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201643"/>
20777 </ind-def:textfilecontent54_test>
20778 <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">
20779 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20165"/>
20780 </ind-def:textfilecontent54_test>
20781 <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">
20782 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201660"/>
20783 </ind-def:textfilecontent54_test>
20784 <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">
20785 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201661"/>
20786 </ind-def:textfilecontent54_test>
20787 <unix-def:uname_test check="all" comment="check architecture is 32 bit" id="oval:org.open-scap.f14:tst:201670" version="1">
20788 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
20789 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201670"/>
20790 </unix-def:uname_test>
20791 <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">
20792 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201671"/>
20793 </ind-def:textfilecontent54_test>
20794 <unix-def:uname_test check="all" comment="check architecture is 64 bit" id="oval:org.open-scap.f14:tst:201672" version="1">
20795 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
20796 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201672"/>
20797 </unix-def:uname_test>
20798 <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">
20799 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201673"/>
20800 </ind-def:textfilecontent54_test>
20801 <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">
20802 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20168"/>
20803 </ind-def:textfilecontent54_test>
20804 <!-- <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">
20805 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016861"/>
20806 </ind-def:textfilecontent54_test> -->
20807 <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">
20808 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016852"/>
20809 </ind-def:textfilecontent54_test>
20810 <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">
20811 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016853"/>
20812 </ind-def:textfilecontent54_test>
20813 <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">
20814 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016854"/>
20815 </ind-def:textfilecontent54_test>
20816 <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">
20817 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20169"/>
20818 </ind-def:textfilecontent54_test>
20819 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20170" version="1">
20820 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20170"/>
20821 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20822 </unix-def:runlevel_test>
20823 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20171" version="1">
20824 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20171"/>
20825 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20826 </unix-def:runlevel_test>
20827 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201745" version="1">
20828 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201745"/>
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="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201774" version="1">
20832 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201774"/>
20833 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20834 </ind-def:textfilecontent54_test>
20835 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201775" version="1">
20836 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201775"/>
20837 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20838 </ind-def:textfilecontent54_test>
20839 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201776" version="1">
20840 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201776"/>
20841 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20842 </ind-def:textfilecontent54_test>
20843 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Xinetd services test" id="oval:org.open-scap.f14:tst:20178" version="1">
20844 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20178"/>
20845 </ind-def:textfilecontent54_test>
20846 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201825" version="1">
20847 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201825"/>
20848 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
20849 </ind-def:textfilecontent54_test>
20850 <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">
20851 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20179"/>
20852 </lin-def:rpminfo_test>
20853 <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">
20854 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20172"/>
20855 </lin-def:rpminfo_test>
20856 <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">
20857 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20173"/>
20858 </lin-def:rpminfo_test>
20859 <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">
20860 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20174"/>
20861 </lin-def:rpminfo_test>
20862 <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">
20863 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20175"/>
20864 </lin-def:rpminfo_test>
20865 <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">
20866 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20176"/>
20867 </lin-def:rpminfo_test>
20868 <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">
20869 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20177"/>
20870 </lin-def:rpminfo_test>
20871 <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">
20872 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20180"/>
20873 </lin-def:rpminfo_test>
20874 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20181" version="1">
20875 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20181"/>
20876 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20877 </unix-def:runlevel_test>
20878 <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">
20879 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20182"/>
20880 </lin-def:rpminfo_test>
20881 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20183" version="1">
20882 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20183"/>
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:20184" version="1">
20886 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20184"/>
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:20185" version="1">
20890 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20185"/>
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:20186" version="1">
20894 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20186"/>
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:20187" version="1">
20898 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20187"/>
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:20188" version="1">
20902 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20188"/>
20903 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20904 </unix-def:runlevel_test>
20905 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20189" version="1">
20906 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20189"/>
20907 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20908 </unix-def:runlevel_test>
20909 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20190" version="1">
20910 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20190"/>
20911 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20912 </unix-def:runlevel_test>
20913 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20191" version="1">
20914 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20191"/>
20915 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20916 </unix-def:runlevel_test>
20917 <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">
20918 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20192"/>
20919 </unix-def:file_test>
20920 <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">
20921 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20193"/>
20922 </ind-def:textfilecontent54_test>
20923 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20194" version="1">
20924 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20194"/>
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:20195" version="1">
20928 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20195"/>
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:20196" version="1">
20932 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20196"/>
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:20197" version="1">
20936 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20197"/>
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:20198" version="1">
20940 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20198"/>
20941 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20942 </unix-def:runlevel_test>
20943 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20199" version="1">
20944 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20199"/>
20945 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20946 </unix-def:runlevel_test>
20947 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20200" version="1">
20948 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20200"/>
20949 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20950 </unix-def:runlevel_test>
20951 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20201" version="1">
20952 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20201"/>
20953 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20954 </unix-def:runlevel_test>
20955 <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">
20956 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020151"/>
20957 </ind-def:textfilecontent54_test>
20958 <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">
20959 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020152"/>
20960 </ind-def:textfilecontent54_test>
20961 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20202" version="1">
20962 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20202"/>
20963 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
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:20203" version="1">
20966 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20203"/>
20967 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20968 </unix-def:runlevel_test>
20969 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20204" version="1">
20970 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20204"/>
20971 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20972 </unix-def:runlevel_test>
20973 <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">
20974 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20205"/>
20975 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20172"/>
20976 </unix-def:runlevel_test>
20977 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:202052" version="1">
20978 <unix-def:object object_ref="oval:org.open-scap.f14:obj:202052"/>
20979 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20980 </unix-def:runlevel_test>
20981 <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">
20982 <lin-def:object object_ref="oval:org.open-scap.f14:obj:202053"/>
20983 </lin-def:rpminfo_test>
20984 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20206" version="1">
20985 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20206"/>
20986 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
20987 </unix-def:runlevel_test>
20988 <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">
20989 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20207"/>
20990 </lin-def:rpminfo_test>
20991 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20208" version="1">
20992 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20208"/>
20993 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20208"/>
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:20209" version="1">
20996 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20209"/>
20997 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20209"/>
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:20210" version="1">
21000 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20210"/>
21001 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20210"/>
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:20211" version="1">
21004 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20211"/>
21005 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20211"/>
21006 </unix-def:file_test>
21007 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20212" version="1">
21008 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20212"/>
21009 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20212"/>
21010 </unix-def:file_test>
21011 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20213" version="1">
21012 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20213"/>
21013 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20213"/>
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:20214" version="1">
21016 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20214"/>
21017 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20214"/>
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:20215" version="1">
21020 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20215"/>
21021 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20215"/>
21022 </unix-def:file_test>
21023 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20216" version="1">
21024 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20216"/>
21025 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20216"/>
21026 </unix-def:file_test>
21027 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20217" version="1">
21028 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20217"/>
21029 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20217"/>
21030 </unix-def:file_test>
21031 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20218" version="1">
21032 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20218"/>
21033 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20218"/>
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:20219" version="1">
21036 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20219"/>
21037 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20219"/>
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:20220" version="1">
21040 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20220"/>
21041 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20220"/>
21042 </unix-def:file_test>
21043 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20221" version="1">
21044 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20221"/>
21045 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20221"/>
21046 </unix-def:file_test>
21047 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20222" version="1">
21048 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20222"/>
21049 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20222"/>
21050 </unix-def:file_test>
21051 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20223" version="1">
21052 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20223"/>
21053 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20223"/>
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:20224" version="1">
21056 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20224"/>
21057 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20224"/>
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:20225" version="1">
21060 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20225"/>
21061 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20225"/>
21062 </unix-def:file_test>
21063 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20226" version="1">
21064 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20226"/>
21065 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20226"/>
21066 </unix-def:file_test>
21067 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20227" version="1">
21068 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20227"/>
21069 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20227"/>
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:20228" version="1">
21072 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20228"/>
21073 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20228"/>
21074 </unix-def:file_test>
21075 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20229" version="1">
21076 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21077 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20229"/>
21078 </unix-def:file_test>
21079 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20230" version="1">
21080 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21081 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20230"/>
21082 </unix-def:file_test>
21083 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20231" version="1">
21084 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21085 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20231"/>
21086 </unix-def:file_test>
21087 <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">
21088 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20232"/>
21089 </unix-def:file_test>
21090 <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">
21091 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20233"/>
21092 </unix-def:file_test>
21093 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20234" version="1">
21094 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20234"/>
21095 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21096 </unix-def:runlevel_test>
21097 <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">
21098 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20235"/>
21099 </lin-def:rpminfo_test>
21100 <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">
21101 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20236"/>
21102 </ind-def:textfilecontent54_test>
21103 <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">
21104 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20237"/>
21105 </ind-def:textfilecontent54_test>
21106 <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">
21107 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20238"/>
21108 </ind-def:textfilecontent54_test>
21109 <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">
21110 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20239"/>
21111 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20239"/>
21112 </ind-def:textfilecontent54_test>
21113 <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">
21114 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20240"/>
21115 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20240"/>
21116 </ind-def:textfilecontent54_test>
21117 <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">
21118 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20241"/>
21119 </ind-def:textfilecontent54_test>
21120 <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">
21121 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20242"/>
21122 </ind-def:textfilecontent54_test>
21123 <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">
21124 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20243"/>
21125 </ind-def:textfilecontent54_test>
21126 <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">
21127 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20244"/>
21128 </ind-def:textfilecontent54_test>
21129 <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">
21130 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20245"/>
21131 </ind-def:textfilecontent54_test>
21132 <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">
21133 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202455"/>
21134 </ind-def:textfilecontent54_test>
21135 <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">
21136 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202456"/>
21137 <ind-def:state state_ref="oval:org.open-scap.f14:ste:202456"/>
21138 </ind-def:textfilecontent54_test>
21139 <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">
21140 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20246"/>
21141 <ind-def:state state_ref="oval:org.open-scap.f14:ste:87"/>
21142 </ind-def:textfilecontent54_test>
21143 <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">
21144 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20248"/>
21145 </ind-def:textfilecontent54_test>
21146 <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">
21147 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20249"/>
21148 </ind-def:textfilecontent54_test>
21149 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20250" version="1">
21150 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20250"/>
21151 </unix-def:runlevel_test>
21152 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20251" version="1"/>
21153 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20252" version="1"/>
21154 <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">
21155 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20253"/>
21156 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20253"/>
21157 </ind-def:textfilecontent54_test>
21158 <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">
21159 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20254"/>
21160 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20254"/>
21161 </ind-def:textfilecontent54_test>
21162 <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">
21163 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20255"/>
21164 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20255"/>
21165 </ind-def:textfilecontent54_test>
21166 <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">
21167 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20256"/>
21168 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20256"/>
21169 </ind-def:textfilecontent54_test>
21170 <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">
21171 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20257"/>
21172 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20257"/>
21173 </ind-def:textfilecontent54_test>
21174 <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">
21175 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20258"/>
21176 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20258"/>
21177 </ind-def:textfilecontent54_test>
21178 <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">
21179 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20259"/>
21180 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20259"/>
21181 </ind-def:textfilecontent54_test>
21182 <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">
21183 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20260"/>
21184 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20260"/>
21185 </ind-def:textfilecontent54_test>
21186 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20261" version="1">
21187 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20261"/>
21188 </unix-def:runlevel_test>
21189 <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">
21190 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20264"/>
21191 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20264"/>
21192 </ind-def:textfilecontent54_test>
21193 <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">
21194 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20265"/>
21195 </ind-def:textfilecontent54_test>
21196 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20266" version="1">
21197 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20266"/>
21198 </unix-def:runlevel_test>
21199 <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">
21200 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20267"/>
21201 </ind-def:textfilecontent54_test>
21202 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20268" version="1">
21203 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20268"/>
21204 </unix-def:runlevel_test>
21205 <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">
21206 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20269"/>
21207 </lin-def:rpminfo_test>
21208 <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">
21209 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20270"/>
21210 </ind-def:textfilecontent54_test>
21211 <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">
21212 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20271"/>
21213 </ind-def:textfilecontent54_test>
21214 <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">
21215 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20272"/>
21216 </ind-def:textfilecontent54_test>
21217 <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">
21218 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20280"/>
21219 </ind-def:textfilecontent54_test>
21220 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20281" version="1">
21221 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20281"/>
21222 </unix-def:runlevel_test>
21223 <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">
21224 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20282"/>
21225 </ind-def:textfilecontent54_test>
21226 <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">
21227 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20285"/>
21228 </ind-def:textfilecontent54_test>
21229 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20287" version="1">
21230 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20287"/>
21231 </unix-def:runlevel_test>
21232 <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">
21233 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20288"/>
21234 </ind-def:textfilecontent54_test>
21235 <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">
21236 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202885"/>
21237 </ind-def:textfilecontent54_test>
21238 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20289" version="1">
21239 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20289"/>
21240 </unix-def:runlevel_test>
21241 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20290" version="1">
21242 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20290"/>
21243 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20290"/>
21244 </unix-def:file_test>
21245 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20291" version="1">
21246 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20291"/>
21247 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20291"/>
21248 </unix-def:file_test>
21249 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20292" version="1">
21250 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20292"/>
21251 </unix-def:runlevel_test>
21252 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20293" version="1">
21253 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20293"/>
21254 </unix-def:runlevel_test>
21255 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20294" version="1">
21256 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20294"/>
21257 </unix-def:runlevel_test>
21258 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20295" version="1">
21259 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20295"/>
21260 </unix-def:runlevel_test>
21261 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20296" version="1">
21262 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20296"/>
21263 </unix-def:runlevel_test>
21264 <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">
21265 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20297"/>
21266 </ind-def:textfilecontent54_test>
21267 <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">
21268 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20298"/>
21269 </ind-def:textfilecontent54_test>
21270 <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">
21271 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20299"/>
21272 </ind-def:textfilecontent54_test>
21273 <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">
21274 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20300"/>
21275 </ind-def:textfilecontent54_test>
21276 <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">
21277 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20301"/>
21278 </ind-def:textfilecontent54_test>
21279 <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">
21280 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20302"/>
21281 </ind-def:textfilecontent54_test>
21282 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20303" version="1">
21283 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20303"/>
21284 </unix-def:runlevel_test>
21285 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20304" version="1">
21286 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20304"/>
21287 </unix-def:runlevel_test>
21288 <!-- <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">
21289 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
21290 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203051"/>
21291 </ind-def:textfilecontent54_test> -->
21292 <!-- <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">
21293 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
21294 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203052"/>
21295 </ind-def:textfilecontent54_test> -->
21296 <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">
21297 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20308"/>
21298 </ind-def:textfilecontent54_test>
21299 <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">
21300 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20309"/>
21301 </ind-def:textfilecontent54_test>
21302 <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">
21303 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20310"/>
21304 </ind-def:textfilecontent54_test>
21305 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20311" version="1">
21306 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20311"/>
21307 </unix-def:runlevel_test>
21308 <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">
21309 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20312"/>
21310 </lin-def:rpminfo_test>
21311 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20313" version="1">
21312 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20313"/>
21313 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20313"/>
21314 </unix-def:file_test>
21315 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20314" version="1">
21316 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20314"/>
21317 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20314"/>
21318 </unix-def:file_test>
21319 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20315" version="1">
21320 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20315"/>
21321 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20315"/>
21322 </unix-def:file_test>
21323 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20317" version="1">
21324 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20317"/>
21325 </unix-def:runlevel_test>
21326 <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">
21327 <lin-def:object object_ref="oval:org.open-scap.f14:obj:203175"/>
21328 </lin-def:rpminfo_test>
21329 <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">
21330 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20319"/>
21331 </ind-def:textfilecontent54_test>
21332 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20322" version="1">
21333 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20322"/>
21334 </unix-def:runlevel_test>
21335 <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">
21336 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20323"/>
21337 </lin-def:rpminfo_test>
21338 <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">
21339 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20324"/>
21340 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20324"/>
21341 </ind-def:textfilecontent54_test>
21342 <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">
21343 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20325"/>
21344 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20325"/>
21345 </ind-def:textfilecontent54_test>
21346 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20326" version="1">
21347 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20326"/>
21348 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20326"/>
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:20327" version="1">
21351 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20327"/>
21352 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20327"/>
21353 </unix-def:file_test>
21354 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20328" version="1">
21355 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20328"/>
21356 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20328"/>
21357 </unix-def:file_test>
21358 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20329" version="1">
21359 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20329"/>
21360 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20329"/>
21361 </unix-def:file_test>
21362 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20330" version="1">
21363 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20330"/>
21364 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20330"/>
21365 </unix-def:file_test>
21366 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20331" version="1">
21367 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20331"/>
21368 </unix-def:runlevel_test>
21369 <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">
21370 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20332"/>
21371 </lin-def:rpminfo_test>
21372 <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">
21373 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20333"/>
21374 </ind-def:textfilecontent54_test>
21375 <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">
21376 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20334"/>
21377 </ind-def:textfilecontent54_test>
21378 <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">
21379 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20335"/>
21380 </ind-def:textfilecontent54_test>
21381 <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">
21382 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20336"/>
21383 </ind-def:textfilecontent54_test>
21384 <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">
21385 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20337"/>
21386 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20337"/>
21387 </ind-def:textfilecontent54_test>
21388 <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">
21389 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20338"/>
21390 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20338"/>
21391 </ind-def:textfilecontent54_test>
21392 <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">
21393 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20339"/>
21394 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20339"/>
21395 </ind-def:textfilecontent54_test>
21396 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20340" version="1">
21397 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20340"/>
21398 </unix-def:runlevel_test>
21399 <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">
21400 <ind-def:object object_ref="oval:org.open-scap.f14:obj:203403"/>
21401 </ind-def:textfilecontent54_test>
21402 <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">
21403 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2034010"/>
21404 </ind-def:textfilecontent54_test>
21405 <!-- <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"> -->
21406 <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">
21407 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340111"/>
21408 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
21409 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
21410 </ind-def:textfilecontent54_test>
21411 <!-- <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"> -->
21412 <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">
21413 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340112"/>
21414 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
21415 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
21416 </ind-def:textfilecontent54_test>
21417 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20341" version="1">
21418 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20341"/>
21419 </unix-def:runlevel_test>
21420 <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">
21421 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20342"/>
21422 </lin-def:rpminfo_test>
21423 <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">
21424 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20343"/>
21425 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20343"/>
21426 </ind-def:textfilecontent54_test>
21427 <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">
21428 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20344"/>
21429 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20344"/>
21430 </ind-def:textfilecontent54_test>
21431 <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">
21432 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20345"/>
21433 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20345"/>
21434 </ind-def:textfilecontent54_test>
21435 <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">
21436 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20346"/>
21437 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20346"/>
21438 </ind-def:textfilecontent54_test>
21439 <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">
21440 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20347"/>
21441 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20347"/>
21442 </ind-def:textfilecontent54_test>
21443 <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">
21444 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20348"/>
21445 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20348"/>
21446 </ind-def:textfilecontent54_test>
21447 <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">
21448 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20349"/>
21449 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20349"/>
21450 </ind-def:textfilecontent54_test>
21451 <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">
21452 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20350"/>
21453 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20350"/>
21454 </ind-def:textfilecontent54_test>
21455 <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">
21456 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20351"/>
21457 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20351"/>
21458 </ind-def:textfilecontent54_test>
21459 <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">
21460 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20352"/>
21461 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20352"/>
21462 </ind-def:textfilecontent54_test>
21463 <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">
21464 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20353"/>
21465 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20353"/>
21466 </ind-def:textfilecontent54_test>
21467 <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">
21468 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20354"/>
21469 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20354"/>
21470 </ind-def:textfilecontent54_test>
21471 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20365" version="1">
21472 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20365"/>
21473 </unix-def:runlevel_test>
21474 <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">
21475 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20366"/>
21476 </lin-def:rpminfo_test>
21477 </tests>
21478 <objects>
21479 <ind-def:textfilecontent54_object comment="look for the partition mount point in /etc/fstab" id="oval:org.open-scap.f14:obj:20000" version="1">
21480 <ind-def:path>/etc</ind-def:path>
21481 <ind-def:filename>fstab</ind-def:filename>
21482 <ind-def:pattern operation="pattern match">^[[:space:]]*[^[:space:]]+[[:space:]]+([^[:space:]]+)[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+</ind-def:pattern>
21483 <!-- <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+([\S]+)[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+</ind-def:pattern> -->
21484 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21485 </ind-def:textfilecontent54_object>
21486 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20009" version="1">
21487 <unix-def:path operation="pattern match">^/etc/cron\.(hourly|daily|weekly|monthly)$</unix-def:path>
21488 <unix-def:filename>0yum.cron</unix-def:filename>
21489 </unix-def:file_object>
21490 <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">
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:]]*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 gpgcheck= in /etc/yum.repos.d" id="oval:org.open-scap.f14:obj:20011" 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:]]*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="look for the value of repo_gpgcheck in /etc/yum.conf" id="oval:org.open-scap.f14:obj:20012" version="1">
21503 <ind-def:path>/etc</ind-def:path>
21504 <ind-def:filename>yum.conf</ind-def:filename>
21505 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
21506 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21507 </ind-def:textfilecontent54_object>
21508 <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">
21509 <ind-def:path>/etc/yum.repos.d</ind-def:path>
21510 <ind-def:filename operation="pattern match">.*</ind-def:filename>
21511 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
21512 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21513 </ind-def:textfilecontent54_object>
21514 <ind-def:textfilecontent54_object comment="file systems defined in /etc/fstab" id="oval:org.open-scap.f14:obj:20016" version="1">
21515 <ind-def:path>/etc</ind-def:path>
21516 <ind-def:filename>fstab</ind-def:filename>
21517 <ind-def:pattern operation="pattern match">^[^#]*\/.+*ext[234]([^#]*)</ind-def:pattern>
21518 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21519 </ind-def:textfilecontent54_object>
21520 <ind-def:textfilecontent54_object comment="file systems defined in /etc/mtab" id="oval:org.open-scap.f14:obj:200162" version="1">
21521 <ind-def:path>/etc</ind-def:path>
21522 <ind-def:filename>mtab</ind-def:filename>
21523 <ind-def:pattern operation="pattern match">^[^#]*\/[^[:space:]]*ext[234]([^#])?</ind-def:pattern>
21524 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21525 </ind-def:textfilecontent54_object>
21526 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:10000" version="1">
21527 <lin-def:name>redhat-release</lin-def:name>
21528 </lin-def:rpminfo_object>
21529 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:200065" version="1">
21530 <lin-def:name>gpg-pubkey</lin-def:name>
21531 </lin-def:rpminfo_object>
21532 <ind-def:family_object id="oval:org.open-scap.f14:obj:10001" version="1"/>
21533 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20008" version="1">
21534 <unix-def:service_name>yum-updatesd</unix-def:service_name>
21535 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
21536 </unix-def:runlevel_object>
21537 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20014" version="1">
21538 <lin-def:name>aide</lin-def:name>
21539 </lin-def:rpminfo_object>
21540 <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">
21541 <ind-def:path>/etc/security/console.perms.d</ind-def:path>
21542 <ind-def:filename>50-default.perms</ind-def:filename>
21543 <ind-def:pattern operation="pattern match">^[\s]*(&lt;console&gt;|&lt;xconsole&gt;)</ind-def:pattern>
21544 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21545 </ind-def:textfilecontent54_object>
21546 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/usb/storage/usb-storage.ko" id="oval:org.open-scap.f14:obj:20022" version="1">
21547 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/usb/storage</unix-def:path>
21548 <unix-def:filename>usb-storage.ko</unix-def:filename>
21549 </unix-def:file_object>
21550 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20023" version="1">
21551 <ind-def:path>/etc</ind-def:path>
21552 <ind-def:filename>grub.conf</ind-def:filename>
21553 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel[^#]nousb</ind-def:pattern>
21554 <ind-def:instance datatype="int">1</ind-def:instance>
21555 </ind-def:textfilecontent54_object>
21556 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20025" version="1">
21557 <unix-def:service_name>autofs</unix-def:service_name>
21558 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
21559 </unix-def:runlevel_object>
21560 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20026" version="1">
21561 <ind-def:path>/etc/gconf</ind-def:path>
21562 <ind-def:filename>gconf.xml.mandatory</ind-def:filename>
21563 <ind-def:xpath>/desktop/gnome/volume_manager/automount_(media)|(drives)</ind-def:xpath>
21564 </ind-def:xmlfilecontent_object>
21565 <ind-def:textfilecontent54_object comment="Check in /etc/modprobe.conf for modules being loaded" id="oval:org.open-scap.f14:obj:20027" version="1">
21566 <ind-def:path>/etc/modprobe.d</ind-def:path>
21567 <ind-def:filename>denylist.conf</ind-def:filename>
21568 <ind-def:pattern operation="pattern match">^[^#]*denylist[[:space:]]+([^#]*)$</ind-def:pattern>
21569 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21570 </ind-def:textfilecontent54_object>
21571 <unix-def:file_object comment="/etc/shadow" id="oval:org.open-scap.f14:obj:20034" version="1">
21572 <unix-def:path>/etc</unix-def:path>
21573 <unix-def:filename>shadow</unix-def:filename>
21574 </unix-def:file_object>
21575 <unix-def:file_object comment="/etc/group" id="oval:org.open-scap.f14:obj:20036" version="1">
21576 <unix-def:path>/etc</unix-def:path>
21577 <unix-def:filename>group</unix-def:filename>
21578 </unix-def:file_object>
21579 <unix-def:file_object comment="/etc/gshadow" id="oval:org.open-scap.f14:obj:20038" version="1">
21580 <unix-def:path>/etc</unix-def:path>
21581 <unix-def:filename>gshadow</unix-def:filename>
21582 </unix-def:file_object>
21583 <unix-def:file_object comment="/etc/passwd" id="oval:org.open-scap.f14:obj:20040" version="1">
21584 <unix-def:path>/etc</unix-def:path>
21585 <unix-def:filename>passwd</unix-def:filename>
21586 </unix-def:file_object>
21587 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200461" version="1">
21588 <set set_operator="UNION">
21589 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
21590 <filter>oval:org.open-scap.f14:ste:200462</filter>
21591 </set>
21592 </unix-def:file_object>
21593 <unix-def:file_object comment="all local directories" id="oval:org.open-scap.f14:obj:20046" 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 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
21597 </unix-def:file_object>
21598 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200471" 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:200471</filter>
21602 <filter>oval:org.open-scap.f14:ste:200472</filter>
21603 </set>
21604 </unix-def:file_object>
21605 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:20047" version="1">
21606 <unix-def:behaviors recurse="directories" recurse_direction="down" recurse_file_system="local"/>
21607 <unix-def:path>/</unix-def:path>
21608 <unix-def:filename operation="pattern match">.*</unix-def:filename>
21609 </unix-def:file_object>
21610 <unix-def:file_object comment="all local files with sgid bit set" id="oval:org.open-scap.f14:obj:20048" version="1">
21611 <set set_operator="UNION">
21612 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21613 <filter>oval:org.open-scap.f14:ste:200481</filter>
21614 <filter>oval:org.open-scap.f14:ste:200482</filter>
21615 <filter>oval:org.open-scap.f14:ste:200483</filter>
21616 <filter>oval:org.open-scap.f14:ste:200484</filter>
21617 <filter>oval:org.open-scap.f14:ste:200485</filter>
21618 <filter>oval:org.open-scap.f14:ste:200486</filter>
21619 <filter>oval:org.open-scap.f14:ste:200487</filter>
21620 <filter>oval:org.open-scap.f14:ste:200488</filter>
21621 </set>
21622 </unix-def:file_object>
21623 <unix-def:file_object comment="all local files with suid bit set" id="oval:org.open-scap.f14:obj:20049" version="1">
21624 <set set_operator="UNION">
21625 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21626 <filter>oval:org.open-scap.f14:ste:2004901</filter>
21627 <filter>oval:org.open-scap.f14:ste:2004902</filter>
21628 <filter>oval:org.open-scap.f14:ste:2004903</filter>
21629 <filter>oval:org.open-scap.f14:ste:2004904</filter>
21630 <filter>oval:org.open-scap.f14:ste:2004905</filter>
21631 <filter>oval:org.open-scap.f14:ste:2004906</filter>
21632 <filter>oval:org.open-scap.f14:ste:2004907</filter>
21633 <filter>oval:org.open-scap.f14:ste:2004908</filter>
21634 <filter>oval:org.open-scap.f14:ste:2004909</filter>
21635 <filter>oval:org.open-scap.f14:ste:2004910</filter>
21636 <filter>oval:org.open-scap.f14:ste:2004911</filter>
21637 <filter>oval:org.open-scap.f14:ste:2004912</filter>
21638 <filter>oval:org.open-scap.f14:ste:2004913</filter>
21639 <filter>oval:org.open-scap.f14:ste:2004914</filter>
21640 <filter>oval:org.open-scap.f14:ste:2004915</filter>
21641 <filter>oval:org.open-scap.f14:ste:2004916</filter>
21642 </set>
21643 </unix-def:file_object>
21644 <unix-def:file_object comment="all local files without a valid user assigned" id="oval:org.open-scap.f14:obj:20050" 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:20050</filter>
21648 </set>
21649 </unix-def:file_object>
21650 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200501" version="1">
21651 <ind-def:path>/etc</ind-def:path>
21652 <ind-def:filename>passwd</ind-def:filename>
21653 <ind-def:pattern operation="pattern match">^[^:]+:[^:]+:([[:digit:]]+):[[: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="all local files without a valid group assigned" id="oval:org.open-scap.f14:obj:20051" version="1">
21657 <set set_operator="UNION">
21658 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
21659 <filter>oval:org.open-scap.f14:ste:20051</filter>
21660 </set>
21661 </unix-def:file_object>
21662 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200511" version="1">
21663 <ind-def:path>/etc</ind-def:path>
21664 <ind-def:filename>group</ind-def:filename>
21665 <ind-def:pattern operation="pattern match">^[^:]+:[^:]*:([[:digit:]]+):[^:]*</ind-def:pattern>
21666 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21667 </ind-def:textfilecontent54_object>
21668 <unix-def:file_object comment="world writable directories with uid not less than 500" id="oval:org.open-scap.f14:obj:20052" version="1">
21669 <set set_operator="UNION">
21670 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
21671 <filter>oval:org.open-scap.f14:ste:20052</filter>
21672 </set>
21673 </unix-def:file_object>
21674 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20053" version="1">
21675 <ind-def:path>/etc/rc.d/init.d</ind-def:path>
21676 <ind-def:filename>functions</ind-def:filename>
21677 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:digit:]]+).*</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:20055" version="1">
21681 <ind-def:path>/etc/security</ind-def:path>
21682 <ind-def:filename>limits.conf</ind-def:filename>
21683 <ind-def:pattern operation="pattern match">^[[:space:]]*\*[[:space:]]+hard[[:space:]]+core[[:space:]]+([[:digit:]]+)</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:20056" version="1">
21687 <ind-def:path>/proc/sys/fs</ind-def:path>
21688 <ind-def:filename>suid_dumpable</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:20058" version="1">
21693 <ind-def:path>/proc/sys/kernel</ind-def:path>
21694 <ind-def:filename>randomize_va_space</ind-def:filename>
21695 <ind-def:pattern operation="pattern match">^(.*)$</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:20057" version="1">
21699 <ind-def:path>/proc/sys/kernel</ind-def:path>
21700 <ind-def:filename>exec-shield</ind-def:filename>
21701 <ind-def:pattern operation="pattern match">^(.*)$</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:20061" 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:]]*tty[0-9]+[[: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:20062" 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:]]*vc\/[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:20063" version="1">
21717 <ind-def:path>/etc</ind-def:path>
21718 <ind-def:filename>securetty</ind-def:filename>
21719 <ind-def:pattern operation="pattern match">^[[:space:]]*console[[:space:]]*(#.*)?$</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:20064" version="1">
21723 <ind-def:path>/etc</ind-def:path>
21724 <ind-def:filename>securetty</ind-def:filename>
21725 <ind-def:pattern operation="pattern match">^[[:space:]]*ttyS[0-9]+[[: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:20065" version="1">
21729 <ind-def:path>/etc</ind-def:path>
21730 <ind-def:filename>group</ind-def:filename>
21731 <ind-def:pattern operation="pattern match">^[[:space:]]*wheel.*$</ind-def:pattern>
21732 <ind-def:instance datatype="int">1</ind-def:instance>
21733 </ind-def:textfilecontent54_object>
21734 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20066" version="1">
21735 <ind-def:path>/etc/pam.d</ind-def:path>
21736 <ind-def:filename>su</ind-def:filename>
21737 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_wheel\.so[[:space:]]+use_uid([[[:space:]]#].*)?$</ind-def:pattern>
21738 <ind-def:instance datatype="int">1</ind-def:instance>
21739 </ind-def:textfilecontent54_object>
21740 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20067" version="1">
21741 <ind-def:path>/etc</ind-def:path>
21742 <ind-def:filename>sudoers</ind-def:filename>
21743 <ind-def:pattern operation="pattern match">^[[:space:]]*%wheel[[:space:]]+ALL=\(ALL\)[[:space:]]+ALL</ind-def:pattern>
21744 <ind-def:instance datatype="int">1</ind-def:instance>
21745 </ind-def:textfilecontent54_object>
21746 <unix-def:password_object id="oval:org.open-scap.f14:obj:20068" version="1">
21747 <unix-def:username operation="not equal">root</unix-def:username>
21748 </unix-def:password_object>
21749 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20069" version="1">
21750 <ind-def:path>/etc</ind-def:path>
21751 <ind-def:filename>shadow</ind-def:filename>
21752 <ind-def:pattern operation="pattern match">^[^:]*::</ind-def:pattern>
21753 <ind-def:instance datatype="int">1</ind-def:instance>
21754 </ind-def:textfilecontent54_object>
21755 <unix-def:password_object id="oval:org.open-scap.f14:obj:200695" version="1">
21756 <unix-def:username operation="pattern match">.*</unix-def:username>
21757 </unix-def:password_object>
21758 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20070" version="1">
21759 <ind-def:path>/etc</ind-def:path>
21760 <ind-def:filename>passwd</ind-def:filename>
21761 <ind-def:pattern operation="pattern match">^([^:]+):[^:]*:0:.*</ind-def:pattern>
21762 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21763 </ind-def:textfilecontent54_object>
21764 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20071" 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_MIN_LEN[[: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:20072" 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_MIN_DAYS[[: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:20073" version="1">
21777 <ind-def:path>/etc</ind-def:path>
21778 <ind-def:filename>login.defs</ind-def:filename>
21779 <ind-def:pattern operation="pattern match">^PASS_MAX_DAYS[[:space:]]*(.*)</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:20074" version="1">
21783 <ind-def:path>/etc</ind-def:path>
21784 <ind-def:filename>login.defs</ind-def:filename>
21785 <ind-def:pattern operation="pattern match">^PASS_WARN_AGE[[:space:]]*(.*)</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:20075" 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:20076" version="1">
21795 <ind-def:path>/etc</ind-def:path>
21796 <ind-def:filename>group</ind-def:filename>
21797 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
21798 <ind-def:instance datatype="int">1</ind-def:instance>
21799 </ind-def:textfilecontent54_object>
21800 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20077" version="1">
21801 <ind-def:path>/etc</ind-def:path>
21802 <ind-def:filename>passwd</ind-def:filename>
21803 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
21804 <ind-def:instance datatype="int">1</ind-def:instance>
21805 </ind-def:textfilecontent54_object>
21806 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200781" 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:]]+.*retry=([[: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:200782" 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:]]+.*minlen=([1-9][[: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:200783" 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:]]+.*dcredit=([-]?[[: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:200784" 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:]]+.*ucredit=([-]?[[: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:200785" 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:]]+.*ocredit=([-]?[[: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:textfilecontent54_object id="oval:org.open-scap.f14:obj:200786" version="1">
21837 <ind-def:path>/etc/pam.d</ind-def:path>
21838 <ind-def:filename>system-auth</ind-def:filename>
21839 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*lcredit=([-]?[[:digit:]]+)</ind-def:pattern>
21840 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21841 </ind-def:textfilecontent54_object>
21842 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200787" version="1">
21843 <ind-def:path>/etc/pam.d</ind-def:path>
21844 <ind-def:filename>system-auth</ind-def:filename>
21845 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*difok=([[:digit:]]+)</ind-def:pattern>
21846 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21847 </ind-def:textfilecontent54_object>
21848 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200800" version="1">
21849 <ind-def:var_ref>oval:org.open-scap.f14:var:200803</ind-def:var_ref>
21850 </ind-def:variable_object>
21851 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008011" 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:]]+.*deny=([[: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:2008012" 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:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*[^u][^n]lock_time=([[:digit:]]+)</ind-def:pattern>
21861 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21862 </ind-def:textfilecontent54_object>
21863 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008013" version="1">
21864 <ind-def:path>/etc/pam.d</ind-def:path>
21865 <ind-def:filename>system-auth</ind-def:filename>
21866 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*unlock_time=([[:digit:]]+)</ind-def:pattern>
21867 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
21868 </ind-def:textfilecontent54_object>
21869 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200803" version="1">
21870 <ind-def:path>/etc/pam.d</ind-def:path>
21871 <ind-def:filename>system-auth</ind-def:filename>
21872 <ind-def:pattern operation="pattern match">^[[:space:]]*account[[:space:]]+required[[:space:]]+pam_tally2\.so$</ind-def:pattern>
21873 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
21874 </ind-def:textfilecontent54_object>
21875 <unix-def:file_object comment="/usr/sbin/userhelper" id="oval:org.open-scap.f14:obj:20081" version="1">
21876 <unix-def:path>/usr/sbin</unix-def:path>
21877 <unix-def:filename>userhelper</unix-def:filename>
21878 </unix-def:file_object>
21879 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200831" version="1">
21880 <ind-def:var_ref>oval:org.open-scap.f14:var:20083</ind-def:var_ref>
21881 </ind-def:variable_object>
21882 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200832" version="1">
21883 <ind-def:path>/etc</ind-def:path>
21884 <ind-def:filename>login.defs</ind-def:filename>
21885 <ind-def:pattern operation="pattern match">^MD5_CRYPT_ENAB[[:space:]]+(yes|no)</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:200833" version="1">
21889 <ind-def:path>/etc</ind-def:path>
21890 <ind-def:filename>login.defs</ind-def:filename>
21891 <ind-def:pattern operation="pattern match">^ENCRYPT_METHOD[[:space:]]+(MD5|SHA256|SHA512)</ind-def:pattern>
21892 <ind-def:instance datatype="int">1</ind-def:instance>
21893 </ind-def:textfilecontent54_object>
21894 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200834" version="1">
21895 <ind-def:path>/etc/pam.d</ind-def:path>
21896 <ind-def:filename>system-auth</ind-def:filename>
21897 <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>
21898 <ind-def:instance datatype="int">1</ind-def:instance>
21899 </ind-def:textfilecontent54_object>
21900 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200835" version="1">
21901 <ind-def:path>/etc</ind-def:path>
21902 <ind-def:filename>libuser.conf</ind-def:filename>
21903 <ind-def:pattern operation="pattern match">^crypt_style[[:space:]]+\=[[:space:]]+(sha256|sha512)</ind-def:pattern>
21904 <ind-def:instance datatype="int">1</ind-def:instance>
21905 </ind-def:textfilecontent54_object>
21906 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200841" version="1">
21907 <ind-def:var_ref>oval:org.open-scap.f14:var:20084</ind-def:var_ref>
21908 </ind-def:variable_object>
21909 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200842" version="1">
21910 <ind-def:path>/etc/pam.d</ind-def:path>
21911 <ind-def:filename>system-auth</ind-def:filename>
21912 <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>
21913 <ind-def:instance datatype="int">1</ind-def:instance>
21914 </ind-def:textfilecontent54_object>
21915 <ind-def:environmentvariable_object id="oval:org.open-scap.f14:obj:20085" version="1">
21916 <ind-def:name>PATH</ind-def:name>
21917 </ind-def:environmentvariable_object>
21918 <unix-def:file_object comment="root's PATH filtered" id="oval:org.open-scap.f14:obj:2008551" version="1">
21919 <set set_operator="UNION">
21920 <object_reference>oval:org.open-scap.f14:obj:200855</object_reference>
21921 <filter>oval:org.open-scap.f14:ste:2008551</filter>
21922 </set>
21923 </unix-def:file_object>
21924 <unix-def:file_object comment="root's PATH" id="oval:org.open-scap.f14:obj:200855" version="1">
21925 <unix-def:path var_check="at least one" var_ref="oval:org.open-scap.f14:var:200855"/>
21926 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
21927 </unix-def:file_object>
21928 <unix-def:file_object comment="/home/*" id="oval:org.open-scap.f14:obj:20086" version="1">
21929 <unix-def:behaviors max_depth="1" recurse="directories" recurse_direction="down"/>
21930 <unix-def:path>/home</unix-def:path>
21931 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
21932 </unix-def:file_object>
21933 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20087" version="1">
21934 <ind-def:path>/etc</ind-def:path>
21935 <ind-def:filename>bashrc</ind-def:filename>
21936 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
21937 <ind-def:instance datatype="int">1</ind-def:instance>
21938 </ind-def:textfilecontent54_object>
21939 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20088" version="1">
21940 <ind-def:path>/etc</ind-def:path>
21941 <ind-def:filename>csh.cshrc</ind-def:filename>
21942 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
21943 <ind-def:instance datatype="int">1</ind-def:instance>
21944 </ind-def:textfilecontent54_object>
21945 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20092" version="1">
21946 <unix-def:path>/boot/grub</unix-def:path>
21947 <unix-def:filename>grub.conf</unix-def:filename>
21948 </unix-def:file_object>
21949 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20094" version="1">
21950 <unix-def:path>/boot/grub</unix-def:path>
21951 <unix-def:filename>grub.conf</unix-def:filename>
21952 </unix-def:file_object>
21953 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20095" version="1">
21954 <ind-def:path>/boot/grub</ind-def:path>
21955 <ind-def:filename>grub.conf</ind-def:filename>
21956 <ind-def:pattern operation="pattern match">password[[:space:]]+--md5[[:space:]]+.*</ind-def:pattern>
21957 <ind-def:instance datatype="int">1</ind-def:instance>
21958 </ind-def:textfilecontent54_object>
21959 <unix-def:file_object comment="/etc/grub.conf" id="oval:org.open-scap.f14:obj:20093" version="1">
21960 <unix-def:path>/etc</unix-def:path>
21961 <unix-def:filename>grub.conf</unix-def:filename>
21962 </unix-def:file_object>
21963 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:73" version="1">
21964 <ind-def:path>/etc</ind-def:path>
21965 <ind-def:filename>inittab</ind-def:filename>
21966 <ind-def:pattern operation="pattern match">~~:S:wait:/sbin/sulogin</ind-def:pattern>
21967 <ind-def:instance datatype="int">1</ind-def:instance>
21968 </ind-def:textfilecontent54_object>
21969 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20096" version="1">
21970 <ind-def:path>/etc/sysconfig</ind-def:path>
21971 <ind-def:filename>init</ind-def:filename>
21972 <ind-def:pattern operation="pattern match">PROMPT[\s]*=[\s]*([^#]*)</ind-def:pattern>
21973 <ind-def:instance datatype="int">1</ind-def:instance>
21974 </ind-def:textfilecontent54_object>
21975 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20098" version="1">
21976 <ind-def:path>/etc/profile.d</ind-def:path>
21977 <ind-def:filename>autologout.csh</ind-def:filename>
21978 <ind-def:pattern operation="pattern match">^[\s]*set[\s]+-r[\s]+autologout[\s]+([^#]*)</ind-def:pattern>
21979 <ind-def:instance datatype="int">1</ind-def:instance>
21980 </ind-def:textfilecontent54_object>
21981 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20100" version="1">
21982 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21983 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21984 <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>
21985 </ind-def:xmlfilecontent_object>
21986 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201005" version="1">
21987 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21988 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21989 <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>
21990 </ind-def:xmlfilecontent_object>
21991 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201006" version="1">
21992 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21993 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21994 <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>
21995 </ind-def:xmlfilecontent_object>
21996 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201007" version="1">
21997 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
21998 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
21999 <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>
22000 </ind-def:xmlfilecontent_object>
22001 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20101" version="1">
22002 <lin-def:name>vlock</lin-def:name>
22003 </lin-def:rpminfo_object>
22004 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20102" version="1">
22005 <ind-def:path>/etc</ind-def:path>
22006 <ind-def:filename>issue</ind-def:filename>
22007 <ind-def:pattern operation="pattern match">(.*)</ind-def:pattern>
22008 <ind-def:instance datatype="int">1</ind-def:instance>
22009 </ind-def:textfilecontent54_object>
22010 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20103" version="1">
22011 <ind-def:path>/usr/share/gdm/themes/RHEL</ind-def:path>
22012 <ind-def:filename>RHEL.xml</ind-def:filename>
22013 <ind-def:xpath>/greeter/item[@id='banner']/box[1]/item[@id='DOD_Banner']/text[1]</ind-def:xpath>
22014 </ind-def:xmlfilecontent_object>
22015 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20104" version="1">
22016 <ind-def:path>/etc</ind-def:path>
22017 <ind-def:filename>grub.conf</ind-def:filename>
22018 <ind-def:pattern operation="pattern match">[[:space:]]selinux=([^[:space:]]*)</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:20105" version="1">
22022 <ind-def:path>/etc</ind-def:path>
22023 <ind-def:filename>grub.conf</ind-def:filename>
22024 <ind-def:pattern operation="pattern match">[[:space:]]enforcing=([^[:space:]]*)</ind-def:pattern>
22025 <ind-def:instance datatype="int">1</ind-def:instance>
22026 </ind-def:textfilecontent54_object>
22027 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20106" version="1">
22028 <ind-def:path>/etc/selinux</ind-def:path>
22029 <ind-def:filename>config</ind-def:filename>
22030 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUX[[:space:]]*=[[:space:]]*([[:alnum:]]*)</ind-def:pattern>
22031 <ind-def:instance datatype="int">1</ind-def:instance>
22032 </ind-def:textfilecontent54_object>
22033 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20107" version="1">
22034 <ind-def:path>/etc/selinux</ind-def:path>
22035 <ind-def:filename>config</ind-def:filename>
22036 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUXTYPE[[:space:]]*=[[:space:]]*([[:alnum:]]*)</ind-def:pattern>
22037 <ind-def:instance datatype="int">1</ind-def:instance>
22038 </ind-def:textfilecontent54_object>
22039 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20109" version="1">
22040 <unix-def:service_name>setroubleshoot</unix-def:service_name>
22041 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22042 </unix-def:runlevel_object>
22043 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20108" version="1">
22044 <lin-def:name>setroubleshoot</lin-def:name>
22045 </lin-def:rpminfo_object>
22046 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20110" version="1">
22047 <unix-def:service_name>mcstrans</unix-def:service_name>
22048 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22049 </unix-def:runlevel_object>
22050 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20111" version="1">
22051 <unix-def:service_name>restorecond</unix-def:service_name>
22052 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22053 </unix-def:runlevel_object>
22054 <!-- EDIT -->
22055 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201120" version="1">
22056 <ind-def:path>/proc/sys/net/ipv4/conf/default</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:201121" 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\.default\.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 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201130" version="1">
22068 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22069 <ind-def:filename>send_redirects</ind-def:filename>
22070 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22071 <ind-def:instance datatype="int">1</ind-def:instance>
22072 </ind-def:textfilecontent54_object>
22073 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201131" version="1">
22074 <ind-def:path>/etc</ind-def:path>
22075 <ind-def:filename>sysctl.conf</ind-def:filename>
22076 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.send_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22077 <ind-def:instance datatype="int">1</ind-def:instance>
22078 </ind-def:textfilecontent54_object>
22079 <!-- ^^^ ok ^^^ -->
22080 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201140" version="1">
22081 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22082 <ind-def:filename>ip_forward</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:201141" 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\.ip_forward[[: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:201150" version="1">
22093 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22094 <ind-def:filename>accept_source_route</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:201151" 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_source_route[[: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:201160" version="1">
22105 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22106 <ind-def:filename>accept_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:201161" 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\.accept_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:201170" version="1">
22117 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22118 <ind-def:filename>secure_redirects</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:201171" 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\.secure_redirects[[: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:201180" version="1">
22129 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22130 <ind-def:filename>log_martians</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:201181" 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\.all\.log_martians[[: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:201190" version="1">
22141 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22142 <ind-def:filename>accept_source_route</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:201191" 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_source_route[[: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:201200" version="1">
22153 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22154 <ind-def:filename>accept_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:201201" 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\.accept_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:201210" version="1">
22165 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22166 <ind-def:filename>secure_redirects</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:201211" 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\.conf\.default\.secure_redirects[[: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:201220" version="1">
22177 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22178 <ind-def:filename>icmp_echo_ignore_broadcasts</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:201221" 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_echo_ignore_broadcasts[[: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:201230" version="1">
22189 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22190 <ind-def:filename>icmp_ignore_bogus_error_responses</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:201231" 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\.icmp_ignore_bogus_error_responses[[: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:201240" version="1">
22201 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22202 <ind-def:filename>tcp_syncookies</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:201241" 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\.tcp_syncookies[[: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:201250" version="1">
22213 <ind-def:path>/proc/sys/net/ipv4/conf/all</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:201251" 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\.all\.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 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201260" version="1">
22225 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22226 <ind-def:filename>rp_filter</ind-def:filename>
22227 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22228 <ind-def:instance datatype="int">1</ind-def:instance>
22229 </ind-def:textfilecontent54_object>
22230 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201261" version="1">
22231 <ind-def:path>/etc</ind-def:path>
22232 <ind-def:filename>sysctl.conf</ind-def:filename>
22233 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.rp_filter[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22234 <ind-def:instance datatype="int">1</ind-def:instance>
22235 </ind-def:textfilecontent54_object>
22236 <!-- ^^^ ok ^^^ -->
22237 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20128" version="1">
22238 <ind-def:path>/proc/net</ind-def:path>
22239 <ind-def:filename>wireless</ind-def:filename>
22240 <ind-def:pattern operation="pattern match">^[[:space:]]*([^[:space:]]*):.*</ind-def:pattern>
22241 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22242 </ind-def:textfilecontent54_object>
22243 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/net/wireless" id="oval:org.open-scap.f14:obj:20129" version="1">
22244 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/net/wireless$</unix-def:path>
22245 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22246 </unix-def:file_object>
22247 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20130" version="1">
22248 <ind-def:path>/etc/modprobe.d</ind-def:path>
22249 <ind-def:filename>dist.conf</ind-def:filename>
22250 <ind-def:pattern operation="pattern match">^[[:space:]]*alias[[:space:]]+net-pf-10[[:space:]]+off[[: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:20132" 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:]]*NETWORKING_IPV6[[: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:20133" version="1">
22260 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
22261 <ind-def:filename operation="pattern match">ifcfg-.*</ind-def:filename>
22262 <ind-def:pattern operation="pattern match">^[[:space:]]*NETWORKING_IPV6[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22263 <ind-def:instance datatype="int">1</ind-def:instance>
22264 </ind-def:textfilecontent54_object>
22265 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20131" version="1">
22266 <ind-def:path>/etc/sysconfig</ind-def:path>
22267 <ind-def:filename>network</ind-def:filename>
22268 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22269 <ind-def:instance datatype="int">1</ind-def:instance>
22270 </ind-def:textfilecontent54_object>
22271 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20134" version="1">
22272 <ind-def:path>/etc/sysconfig</ind-def:path>
22273 <ind-def:filename>network</ind-def:filename>
22274 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22275 <ind-def:instance datatype="int">1</ind-def:instance>
22276 </ind-def:textfilecontent54_object>
22277 <!-- sysctl -->
22278 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201400" version="1">
22279 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22280 <ind-def:filename>accept_ra_rtr_pref</ind-def:filename>
22281 <ind-def:pattern operation="pattern match">^([01])$</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:201401" 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\.accept_ra_rtr_pref[[:space:]]*=[[:space:]]*([01])[[: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:201450" version="1">
22291 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22292 <ind-def:filename>max_addresses</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:201451" 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\.max_addresses[[: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:201390" version="1">
22303 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22304 <ind-def:filename>router_solicitations</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:201391" 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\.router_solicitations[[: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:201440" version="1">
22315 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22316 <ind-def:filename>dad_transmits</ind-def:filename>
22317 <ind-def:pattern operation="pattern match">^([0-9]+)$</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:201441" 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\.dad_transmits[[:space:]]*=[[:space:]]*([0-9]+)[[: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:201430" version="1">
22327 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22328 <ind-def:filename>autoconf</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:201431" 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\.autoconf[[: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:201410" version="1">
22339 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22340 <ind-def:filename>accept_ra_pinfo</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:201411" 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_pinfo[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22348 <ind-def:instance datatype="int">1</ind-def:instance>
22349 </ind-def:textfilecontent54_object>
22350 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201420" version="1">
22351 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22352 <ind-def:filename>accept_ra_defrtr</ind-def:filename>
22353 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22354 <ind-def:instance datatype="int">1</ind-def:instance>
22355 </ind-def:textfilecontent54_object>
22356 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201421" version="1">
22357 <ind-def:path>/etc</ind-def:path>
22358 <ind-def:filename>sysctl.conf</ind-def:filename>
22359 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_defrtr[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22360 <ind-def:instance datatype="int">1</ind-def:instance>
22361 </ind-def:textfilecontent54_object>
22362 <!-- non-sysctl -->
22363 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20146" version="1">
22364 <unix-def:service_name>ip6tables</unix-def:service_name>
22365 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22366 </unix-def:runlevel_object>
22367 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20147" version="1">
22368 <unix-def:service_name>iptables</unix-def:service_name>
22369 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22370 </unix-def:runlevel_object>
22371 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014741" 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:]]*:INPUT[: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:2014742" 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:]]*:INPUT[: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:2014751" version="1">
22384 <ind-def:path>/etc/sysconfig</ind-def:path>
22385 <ind-def:filename>iptables</ind-def:filename>
22386 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]DROP[:space:]\[0:0\]</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:2014752" version="1">
22390 <ind-def:path>/etc/sysconfig</ind-def:path>
22391 <ind-def:filename>iptables</ind-def:filename>
22392 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]ACCEPT[:space:]\[0:0\]</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:201476" 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:]]+DCCP[[: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:201477" 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:]]+SCTP[[:space:]]+/bin/true</ind-def:pattern>
22405 <ind-def:instance datatype="int">1</ind-def:instance>
22406 </ind-def:textfilecontent54_object>
22407 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201478" version="1">
22408 <ind-def:path>/etc/modprobe.d</ind-def:path>
22409 <ind-def:filename>dist.conf</ind-def:filename>
22410 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+RDS[[:space:]]+/bin/true</ind-def:pattern>
22411 <ind-def:instance datatype="int">1</ind-def:instance>
22412 </ind-def:textfilecontent54_object>
22413 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201479" version="1">
22414 <ind-def:path>/etc/modprobe.d</ind-def:path>
22415 <ind-def:filename>dist.conf</ind-def:filename>
22416 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+TIPC[[:space:]]+/bin/true</ind-def:pattern>
22417 <ind-def:instance datatype="int">1</ind-def:instance>
22418 </ind-def:textfilecontent54_object>
22419 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20148" version="1">
22420 <unix-def:service_name>rsyslog</unix-def:service_name>
22421 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22422 </unix-def:runlevel_object>
22423 <ind-def:textfilecontent54_object comment="paths in /etc/syslog.conf" id="oval:org.open-scap.f14:obj:201490" version="1">
22424 <ind-def:path>/etc</ind-def:path>
22425 <ind-def:filename>rsyslog.conf</ind-def:filename>
22426 <ind-def:pattern operation="pattern match">^[^\#][[:space:]]*[^[:space:]]+\.[^[:space:]]+[[:space:]]+[\-]?([^[:space:]]+)</ind-def:pattern>
22427 <ind-def:instance datatype="int">1</ind-def:instance>
22428 </ind-def:textfilecontent54_object>
22429 <unix-def:file_object comment="Mandatory log files" id="oval:org.open-scap.f14:obj:201491" version="1">
22430 <unix-def:behaviors max_depth="4" recurse="directories" recurse_direction="down"/>
22431 <unix-def:path>/var/log</unix-def:path>
22432 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"/>
22433 </unix-def:file_object>
22434 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20152" version="1">
22435 <ind-def:path>/etc</ind-def:path>
22436 <ind-def:filename>rsyslog.conf</ind-def:filename>
22437 <ind-def:pattern operation="pattern match">^[^#]*\*\.\*[[:space:]]+@</ind-def:pattern>
22438 <ind-def:instance datatype="int">1</ind-def:instance>
22439 </ind-def:textfilecontent54_object>
22440 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20153" version="1">
22441 <ind-def:path>/etc/sysconfig</ind-def:path>
22442 <ind-def:filename>rsyslog</ind-def:filename>
22443 <ind-def:pattern operation="pattern match">SYSLOGD_OPTIONS[[:space:]]*=[[:space:]]*.*-r.*</ind-def:pattern>
22444 <ind-def:instance datatype="int">1</ind-def:instance>
22445 </ind-def:textfilecontent54_object>
22446 <!--
22447 <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">
22448 <ind-def:path>/etc/logrotate.d</ind-def:path>
22449 <ind-def:filename>syslog</ind-def:filename>
22450 <ind-def:pattern operation="pattern match" var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"></ind-def:pattern>
22451 <ind-def:instance datatype="int">1</ind-def:instance>
22452 </ind-def:textfilecontent54_object>
22453 -->
22454 <!-- END -->
22455 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20156" version="1">
22456 <unix-def:service_name>auditd</unix-def:service_name>
22457 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22458 </unix-def:runlevel_object>
22459 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20157" version="1">
22460 <ind-def:path>/etc</ind-def:path>
22461 <ind-def:filename>grub.conf</ind-def:filename>
22462 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel.+[[:space:]]audit=1</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:2015750" 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=b32[[: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:2015751" 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=b32[[: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:2015752" 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">^\-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>
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:2015753" 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">^\-a[[:space:]]always,exit[[:space:]]\-F[[:space:]]arch=b64[[:space:]]\-S[[:space:]]clock_settime[[:space:]]\-k[[:space:]]time\-change$</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:2015754" 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/localtime[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]time\-change$</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:201580" 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/group[[: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:201581" 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/passwd[[: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:201582" 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/gshadow[[: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:201583" 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">^\-w[[:space:]]/etc/shadow[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</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:201584" 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">^\-w[[:space:]]/etc/security/opasswd[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</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:201590" 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">^\-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>
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:201591" 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">^\-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>
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:201592" 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/issue[[: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:201593" 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/issue\.net[[: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:201594" 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/hosts[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</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:201595" 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:]]/etc/sysconfig/network[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</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:20160" 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:]]/etc/selinux/[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]MAC\-policy$</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:201610" 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/log/faillog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</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:201611" 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/lastlog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</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:201620" 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/run/utmp[[: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:201621" 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">^\-w[[:space:]]/var/log/btmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</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:201622" 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">^\-w[[:space:]]/var/log/wtmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</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:201630" 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:]]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>
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:201631" 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=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>
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:201632" 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=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>
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:201633" 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:]]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>
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:201634" 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=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>
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:201635" 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=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>
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:201640" 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=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>
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:201641" 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=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>
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:201642" 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:]]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>
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:201643" 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=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>
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:20165" 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:]]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>
22661 <ind-def:instance datatype="int">1</ind-def:instance>
22662 </ind-def:textfilecontent54_object>
22663 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201660" version="1">
22664 <ind-def:path>/etc/audit</ind-def:path>
22665 <ind-def:filename>audit.rules</ind-def:filename>
22666 <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>
22667 <ind-def:instance datatype="int">1</ind-def:instance>
22668 </ind-def:textfilecontent54_object>
22669 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201661" version="1">
22670 <ind-def:path>/etc/audit</ind-def:path>
22671 <ind-def:filename>audit.rules</ind-def:filename>
22672 <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>
22673 <ind-def:instance datatype="int">1</ind-def:instance>
22674 </ind-def:textfilecontent54_object>
22675 <unix-def:uname_object id="oval:org.open-scap.f14:obj:201670" version="1"/>
22676 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201671" 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">^\-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>
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:201673" 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">^\-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>
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:20168" 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:]]/etc/sudoers[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]actions</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:2016851" 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/insmod[[: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:2016852" 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">^\-w[[:space:]]/sbin/rmmod[[:space:]]\-p[[:space:]]x[[: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:2016853" version="1">
22707 <ind-def:path>/etc/audit</ind-def:path>
22708 <ind-def:filename>audit.rules</ind-def:filename>
22709 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/modprobe[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
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:2016854" version="1">
22713 <ind-def:path>/etc/audit</ind-def:path>
22714 <ind-def:filename>audit.rules</ind-def:filename>
22715 <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>
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:201745" version="1">
22719 <ind-def:path>/etc/xinetd.d</ind-def:path>
22720 <ind-def:filename>telnet</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:201774" version="1">
22725 <ind-def:path>/etc/xinetd.d</ind-def:path>
22726 <ind-def:filename>rcp</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:201775" version="1">
22731 <ind-def:path>/etc/xinetd.d</ind-def:path>
22732 <ind-def:filename>rsh</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:201776" version="1">
22737 <ind-def:path>/etc/xinetd.d</ind-def:path>
22738 <ind-def:filename>rlogin</ind-def:filename>
22739 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
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:201825" version="1">
22743 <ind-def:path>/etc/xinetd.d</ind-def:path>
22744 <ind-def:filename>tftp</ind-def:filename>
22745 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
22746 <ind-def:instance datatype="int">1</ind-def:instance>
22747 </ind-def:textfilecontent54_object>
22748 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20178" version="1">
22749 <ind-def:path>/etc/pam.d</ind-def:path>
22750 <ind-def:filename operation="pattern match">.*</ind-def:filename>
22751 <ind-def:pattern operation="pattern match">^[[:space:]]*.*pam_rhosts</ind-def:pattern>
22752 <ind-def:instance datatype="int">1</ind-def:instance>
22753 </ind-def:textfilecontent54_object>
22754 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20169" version="1">
22755 <ind-def:path>/etc/audit</ind-def:path>
22756 <ind-def:filename>audit.rules</ind-def:filename>
22757 <ind-def:pattern operation="pattern match">^\-e[[:space:]]2</ind-def:pattern>
22758 <ind-def:instance datatype="int">1</ind-def:instance>
22759 </ind-def:textfilecontent54_object>
22760 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20170" version="1">
22761 <unix-def:service_name>inetd</unix-def:service_name>
22762 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22763 </unix-def:runlevel_object>
22764 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20171" version="1">
22765 <unix-def:service_name>xinetd</unix-def:service_name>
22766 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22767 </unix-def:runlevel_object>
22768 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20179" version="1">
22769 <lin-def:name>rsh</lin-def:name>
22770 </lin-def:rpminfo_object>
22771 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20172" version="1">
22772 <lin-def:name>inetd</lin-def:name>
22773 </lin-def:rpminfo_object>
22774 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20173" version="1">
22775 <lin-def:name>xinetd</lin-def:name>
22776 </lin-def:rpminfo_object>
22777 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20174" version="1">
22778 <lin-def:name>telnet-server</lin-def:name>
22779 </lin-def:rpminfo_object>
22780 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20175" version="1">
22781 <lin-def:name>telnet</lin-def:name>
22782 </lin-def:rpminfo_object>
22783 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20176" version="1">
22784 <lin-def:name>krb5-workstation</lin-def:name>
22785 </lin-def:rpminfo_object>
22786 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20177" version="1">
22787 <lin-def:name>rsh-server</lin-def:name>
22788 </lin-def:rpminfo_object>
22789 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20181" version="1">
22790 <unix-def:service_name>ypbind</unix-def:service_name>
22791 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22792 </unix-def:runlevel_object>
22793 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20180" version="1">
22794 <lin-def:name>ypserv</lin-def:name>
22795 </lin-def:rpminfo_object>
22796 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20182" version="1">
22797 <lin-def:name>tftp-server</lin-def:name>
22798 </lin-def:rpminfo_object>
22799 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20183" version="1">
22800 <unix-def:service_name>firstboot</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:20184" version="1">
22804 <unix-def:service_name>gpm</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:20185" version="1">
22808 <unix-def:service_name>irqbalance</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:20186" version="1">
22812 <unix-def:service_name>isdn</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:20187" version="1">
22816 <unix-def:service_name>kdump</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:20188" version="1">
22820 <unix-def:service_name>kudzu</unix-def:service_name>
22821 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22822 </unix-def:runlevel_object>
22823 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20189" version="1">
22824 <unix-def:service_name>mdmonitor</unix-def:service_name>
22825 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22826 </unix-def:runlevel_object>
22827 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20190" version="1">
22828 <unix-def:service_name>microcode_ctl</unix-def:service_name>
22829 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22830 </unix-def:runlevel_object>
22831 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20191" version="1">
22832 <unix-def:service_name>network</unix-def:service_name>
22833 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22834 </unix-def:runlevel_object>
22835 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20192" version="1">
22836 <unix-def:path>/etc/sysconfig/network-scripts</unix-def:path>
22837 <unix-def:filename operation="pattern match">ifcfg-[^l][^o].*</unix-def:filename>
22838 </unix-def:file_object>
22839 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20193" version="1">
22840 <ind-def:path>/etc/sysconfig</ind-def:path>
22841 <ind-def:filename>network</ind-def:filename>
22842 <ind-def:pattern operation="pattern match">^[:space:]*NOZEROCONF=yes</ind-def:pattern>
22843 <ind-def:instance datatype="int">1</ind-def:instance>
22844 </ind-def:textfilecontent54_object>
22845 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20194" version="1">
22846 <unix-def:service_name>pcscd</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:20195" version="1">
22850 <unix-def:service_name>smartd</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:20196" version="1">
22854 <unix-def:service_name>readahead_early</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:20197" version="1">
22858 <unix-def:service_name>readahead_later</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:20198" version="1">
22862 <unix-def:service_name>messagebus</unix-def:service_name>
22863 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22864 </unix-def:runlevel_object>
22865 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20199" version="1">
22866 <unix-def:service_name>haldaemon</unix-def:service_name>
22867 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22868 </unix-def:runlevel_object>
22869 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20200" version="1">
22870 <unix-def:service_name>bluetooth</unix-def:service_name>
22871 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22872 </unix-def:runlevel_object>
22873 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20201" version="1">
22874 <unix-def:service_name>hidd</unix-def:service_name>
22875 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22876 </unix-def:runlevel_object>
22877 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2020151" version="1">
22878 <ind-def:path>/etc/modprobe.d</ind-def:path>
22879 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
22880 <ind-def:pattern operation="pattern match">alias[:space:]net\-pf\-31[:space:]off</ind-def:pattern>
22881 <ind-def:instance datatype="int">1</ind-def:instance>
22882 </ind-def:textfilecontent54_object>
22883 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2020152" version="1">
22884 <ind-def:path>/etc/modprobe.d</ind-def:path>
22885 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
22886 <ind-def:pattern operation="pattern match">alias[:space:]bluetooth[:space:]off</ind-def:pattern>
22887 <ind-def:instance datatype="int">1</ind-def:instance>
22888 </ind-def:textfilecontent54_object>
22889 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20202" version="1">
22890 <unix-def:service_name>apmd</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:20203" version="1">
22894 <unix-def:service_name>acpid</unix-def:service_name>
22895 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22896 </unix-def:runlevel_object>
22897 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20204" version="1">
22898 <unix-def:service_name>cpuspeed</unix-def:service_name>
22899 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22900 </unix-def:runlevel_object>
22901 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20205" version="1">
22902 <unix-def:service_name>crond</unix-def:service_name>
22903 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22904 </unix-def:runlevel_object>
22905 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:202052" version="1">
22906 <unix-def:service_name>atd</unix-def:service_name>
22907 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22908 </unix-def:runlevel_object>
22909 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:202053" version="1">
22910 <lin-def:name>at</lin-def:name>
22911 </lin-def:rpminfo_object>
22912 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20206" version="1">
22913 <unix-def:service_name>anacron</unix-def:service_name>
22914 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22915 </unix-def:runlevel_object>
22916 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20207" version="1">
22917 <lin-def:name>cronie-anacron</lin-def:name>
22918 </lin-def:rpminfo_object>
22919 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20217" version="1">
22920 <unix-def:path>/etc/cron.monthly</unix-def:path>
22921 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22922 </unix-def:file_object>
22923 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20225" version="1">
22924 <unix-def:path>/etc/cron.daily</unix-def:path>
22925 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22926 </unix-def:file_object>
22927 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20216" version="1">
22928 <unix-def:path>/etc/cron.weekly</unix-def:path>
22929 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22930 </unix-def:file_object>
22931 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20209" version="1">
22932 <unix-def:path>/etc</unix-def:path>
22933 <unix-def:filename>crontab</unix-def:filename>
22934 </unix-def:file_object>
22935 <unix-def:password_object id="oval:org.open-scap.f14:obj:202091" version="1">
22936 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20209"/>
22937 </unix-def:password_object>
22938 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20212" version="1">
22939 <unix-def:path>/etc</unix-def:path>
22940 <unix-def:filename>anacrontab</unix-def:filename>
22941 </unix-def:file_object>
22942 <unix-def:password_object id="oval:org.open-scap.f14:obj:202121" version="1">
22943 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20212"/>
22944 </unix-def:password_object>
22945 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20210" version="1">
22946 <unix-def:path>/etc</unix-def:path>
22947 <unix-def:filename>crontab</unix-def:filename>
22948 </unix-def:file_object>
22949 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20214" version="1">
22950 <unix-def:path>/etc/cron.hourly</unix-def:path>
22951 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22952 </unix-def:file_object>
22953 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20222" version="1">
22954 <unix-def:path>/etc/cron.monthly</unix-def:path>
22955 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22956 </unix-def:file_object>
22957 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20218" version="1">
22958 <unix-def:behaviors recurse="symlinks and directories"/>
22959 <unix-def:path>/etc/cron.d</unix-def:path>
22960 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22961 </unix-def:file_object>
22962 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20223" version="1">
22963 <unix-def:behaviors recurse="symlinks and directories"/>
22964 <unix-def:path>/etc/cron.d</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.weekly" id="oval:org.open-scap.f14:obj:20221" version="1">
22968 <unix-def:path>/etc/cron.weekly</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:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20211" version="1">
22972 <unix-def:path>/etc</unix-def:path>
22973 <unix-def:filename>anacrontab</unix-def:filename>
22974 </unix-def:file_object>
22975 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20224" version="1">
22976 <unix-def:path>/etc/cron.hourly</unix-def:path>
22977 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22978 </unix-def:file_object>
22979 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20219" version="1">
22980 <unix-def:path>/etc/cron.hourly</unix-def:path>
22981 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22982 </unix-def:file_object>
22983 <unix-def:password_object id="oval:org.open-scap.f14:obj:202191" version="1">
22984 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20219"/>
22985 </unix-def:password_object>
22986 <unix-def:password_object id="oval:org.open-scap.f14:obj:2014911" version="1">
22987 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20149"/>
22988 </unix-def:password_object>
22989 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20208" version="1">
22990 <unix-def:path>/etc</unix-def:path>
22991 <unix-def:filename>crontab</unix-def:filename>
22992 </unix-def:file_object>
22993 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20220" version="1">
22994 <unix-def:path>/etc/cron.daily</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/anacrontab" id="oval:org.open-scap.f14:obj:20213" version="1">
22998 <unix-def:path>/etc</unix-def:path>
22999 <unix-def:filename>anacrontab</unix-def:filename>
23000 </unix-def:file_object>
23001 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20226" version="1">
23002 <unix-def:path>/etc/cron.weekly</unix-def:path>
23003 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23004 </unix-def:file_object>
23005 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20227" version="1">
23006 <unix-def:path>/etc/cron.monthly</unix-def:path>
23007 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23008 </unix-def:file_object>
23009 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20215" version="1">
23010 <unix-def:path>/etc/cron.daily</unix-def:path>
23011 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23012 </unix-def:file_object>
23013 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20228" version="1">
23014 <unix-def:behaviors recurse="symlinks and directories"/>
23015 <unix-def:path>/etc/cron.d</unix-def:path>
23016 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23017 </unix-def:file_object>
23018 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20229" version="1">
23019 <unix-def:path>/var/spool/cron</unix-def:path>
23020 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23021 </unix-def:file_object>
23022 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20232" version="1">
23023 <unix-def:path>/etc</unix-def:path>
23024 <unix-def:filename>cron.deny</unix-def:filename>
23025 </unix-def:file_object>
23026 <unix-def:file_object comment="/etc/at.deny" id="oval:org.open-scap.f14:obj:20233" version="1">
23027 <unix-def:path>/etc</unix-def:path>
23028 <unix-def:filename>at.deny</unix-def:filename>
23029 </unix-def:file_object>
23030 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20234" version="1">
23031 <unix-def:service_name>sshd</unix-def:service_name>
23032 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23033 </unix-def:runlevel_object>
23034 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20235" version="1">
23035 <lin-def:name>openssh-server</lin-def:name>
23036 </lin-def:rpminfo_object>
23037 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20236" version="1">
23038 <ind-def:path>/etc/sysconfig</ind-def:path>
23039 <ind-def:filename>iptables</ind-def:filename>
23040 <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>
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:20237" version="1">
23044 <ind-def:path>/etc/sysconfig</ind-def:path>
23045 <ind-def:filename>ip6tables</ind-def:filename>
23046 <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>
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:20238" 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:]]*Protocol[[:space:]](2)</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:20239" 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:]]*ClientAliveInterval[[:space:]]*([[:digit:]]+)</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:20240" 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:]]*ClientAliveCountMax[[:space:]]*([[:digit:]]+)</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:20241" 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:]]*IgnoreRhosts[[:space:]]*yes</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:20242" 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:]]*HostbasedAuthentication[[: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:20243" 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:]]*PermitRootLogin[[:space:]]*no</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:20244" 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:]]*PermitEmptyPasswords[[: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:20245" 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:]]*Banner[[:space:]]+/etc/issue$</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:202455" version="1">
23098 <ind-def:path>/etc/ssh</ind-def:path>
23099 <ind-def:filename>sshd_config</ind-def:filename>
23100 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitUserEnvironment[[:space:]]+no</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:202456" version="1">
23104 <ind-def:path>/etc/ssh</ind-def:path>
23105 <ind-def:filename>sshd_config</ind-def:filename>
23106 <ind-def:pattern operation="pattern match">^[[:space:]]*Ciphers[[:space:]]+([^ \t\r\n\v\f]+)</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:20246" version="1">
23110 <ind-def:path>/etc</ind-def:path>
23111 <ind-def:filename>inittab</ind-def:filename>
23112 <ind-def:pattern operation="pattern match">^[\s]*id:([^:]*):initdefault:</ind-def:pattern>
23113 <ind-def:instance datatype="int">1</ind-def:instance>
23114 </ind-def:textfilecontent54_object>
23115 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20248" version="1">
23116 <ind-def:path>/etc/X11/xinit</ind-def:path>
23117 <ind-def:filename>xserverrc</ind-def:filename>
23118 <ind-def:pattern operation="pattern match">^[\s]*exec\sX\s:0\s\-nolisten\stcp\s\$@</ind-def:pattern>
23119 <ind-def:instance datatype="int">1</ind-def:instance>
23120 </ind-def:textfilecontent54_object>
23121 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20249" version="1">
23122 <ind-def:path>/etc/gdm</ind-def:path>
23123 <ind-def:filename>custom.conf</ind-def:filename>
23124 <ind-def:pattern operation="pattern match">^[\s]*InfoMsgFile[\s]*=[\s]*/etc/issue</ind-def:pattern>
23125 <ind-def:instance datatype="int">1</ind-def:instance>
23126 </ind-def:textfilecontent54_object>
23127 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20250" version="1">
23128 <unix-def:service_name>avahi-daemon</unix-def:service_name>
23129 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23130 </unix-def:runlevel_object>
23131 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20253" 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">check-response-ttl[\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:20254" 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">disallow-other-stacks[\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:20255" 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">disable-publishing[\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:20256" 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">disable-user-service-publishing[\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:20257" 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-hinfo[\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:20258" 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-workstation[\s]*=[\s]*([^#]*)</ind-def:pattern>
23165 <ind-def:instance datatype="int">1</ind-def:instance>
23166 </ind-def:textfilecontent54_object>
23167 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20259" version="1">
23168 <ind-def:path>/etc/avahi</ind-def:path>
23169 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23170 <ind-def:pattern operation="pattern match">publish-addresses[\s]*=[\s]*([^#]*)</ind-def:pattern>
23171 <ind-def:instance datatype="int">1</ind-def:instance>
23172 </ind-def:textfilecontent54_object>
23173 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20260" version="1">
23174 <ind-def:path>/etc/avahi</ind-def:path>
23175 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23176 <ind-def:pattern operation="pattern match">publish-domain[\s]*=[\s]*([^#]*)</ind-def:pattern>
23177 <ind-def:instance datatype="int">1</ind-def:instance>
23178 </ind-def:textfilecontent54_object>
23179 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20261" version="1">
23180 <unix-def:service_name>cups</unix-def:service_name>
23181 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23182 </unix-def:runlevel_object>
23183 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20264" version="1">
23184 <ind-def:path>/etc/cups</ind-def:path>
23185 <ind-def:filename>cupsd.conf</ind-def:filename>
23186 <ind-def:pattern operation="pattern match">Browsing[\s]+([^#]*)</ind-def:pattern>
23187 <ind-def:instance datatype="int">1</ind-def:instance>
23188 </ind-def:textfilecontent54_object>
23189 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20265" version="1">
23190 <ind-def:path>/etc/cups</ind-def:path>
23191 <ind-def:filename>cupsd.conf</ind-def:filename>
23192 <ind-def:pattern operation="pattern match">BrowseAllow[\s]+none</ind-def:pattern>
23193 <ind-def:instance datatype="int">1</ind-def:instance>
23194 </ind-def:textfilecontent54_object>
23195 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20266" version="1">
23196 <unix-def:service_name>hplip</unix-def:service_name>
23197 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23198 </unix-def:runlevel_object>
23199 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20267" version="1">
23200 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
23201 <ind-def:filename operation="pattern match">ifcfg-eth.*</ind-def:filename>
23202 <ind-def:pattern operation="pattern match">^[\s]*BOOTPROTO[\s]*=[\s]*([^#]*)</ind-def:pattern>
23203 <ind-def:instance datatype="int">1</ind-def:instance>
23204 </ind-def:textfilecontent54_object>
23205 <ind-def:variable_object id="oval:org.open-scap.f14:obj:256" version="1">
23206 <ind-def:var_ref>oval:org.open-scap.f14:var:20267</ind-def:var_ref>
23207 </ind-def:variable_object>
23208 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20268" version="1">
23209 <unix-def:service_name>dhcpd</unix-def:service_name>
23210 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23211 </unix-def:runlevel_object>
23212 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20269" version="1">
23213 <lin-def:name>dhcp</lin-def:name>
23214 </lin-def:rpminfo_object>
23215 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20270" 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">ddns-update-style[\s]+none;</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:20271" 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">deny[\s]+declines;</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:20272" 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">deny[\s]+bootp;</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:267" 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-servers</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:269" 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]+routers</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:271" 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]+domain-name</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:273" 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]+nis-domain</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:275" 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]+nis-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:277" version="1">
23264 <ind-def:path>/etc</ind-def:path>
23265 <ind-def:filename>dhcpd.conf</ind-def:filename>
23266 <ind-def:pattern operation="pattern match">option[\s]+time-offset</ind-def:pattern>
23267 <ind-def:instance datatype="int">1</ind-def:instance>
23268 </ind-def:textfilecontent54_object>
23269 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:279" version="1">
23270 <ind-def:path>/etc</ind-def:path>
23271 <ind-def:filename>dhcpd.conf</ind-def:filename>
23272 <ind-def:pattern operation="pattern match">option[\s]+ntp-servers</ind-def:pattern>
23273 <ind-def:instance datatype="int">1</ind-def:instance>
23274 </ind-def:textfilecontent54_object>
23275 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20280" version="1">
23276 <ind-def:path>/etc</ind-def:path>
23277 <ind-def:filename>syslog.conf</ind-def:filename>
23278 <ind-def:pattern operation="pattern match">daemon\.\*[\s]+/var/log/daemon\.log</ind-def:pattern>
23279 <ind-def:instance datatype="int">1</ind-def:instance>
23280 </ind-def:textfilecontent54_object>
23281 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20281" version="1">
23282 <unix-def:service_name>ntpd</unix-def:service_name>
23283 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23284 </unix-def:runlevel_object>
23285 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20282" version="1">
23286 <ind-def:path>/etc</ind-def:path>
23287 <ind-def:filename>ntp.conf</ind-def:filename>
23288 <ind-def:pattern operation="pattern match">restrict[\s]+default[\s]+ignore</ind-def:pattern>
23289 <ind-def:instance datatype="int">1</ind-def:instance>
23290 </ind-def:textfilecontent54_object>
23291 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20285" version="1">
23292 <ind-def:path>/etc</ind-def:path>
23293 <ind-def:filename>rc.local</ind-def:filename>
23294 <ind-def:pattern operation="pattern match">/usr/local/sbin/ntpd -s</ind-def:pattern>
23295 <ind-def:instance datatype="int">1</ind-def:instance>
23296 </ind-def:textfilecontent54_object>
23297 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20287" version="1">
23298 <unix-def:service_name>sendmail</unix-def:service_name>
23299 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23300 </unix-def:runlevel_object>
23301 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20288" version="1">
23302 <ind-def:path>/etc/sysconfig</ind-def:path>
23303 <ind-def:filename>sendmail</ind-def:filename>
23304 <ind-def:pattern operation="pattern match">DAEMON[\s]*=[\s]*yes</ind-def:pattern>
23305 <ind-def:instance datatype="int">1</ind-def:instance>
23306 </ind-def:textfilecontent54_object>
23307 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202885" version="1">
23308 <ind-def:path>/etc</ind-def:path>
23309 <ind-def:filename>ldap.conf</ind-def:filename>
23310 <ind-def:pattern operation="pattern match">^[\s]*tls_checkpeer[\s]+yes</ind-def:pattern>
23311 <ind-def:instance datatype="int">1</ind-def:instance>
23312 </ind-def:textfilecontent54_object>
23313 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20289" version="1">
23314 <unix-def:service_name>ldap</unix-def:service_name>
23315 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23316 </unix-def:runlevel_object>
23317 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20290" version="1">
23318 <unix-def:path>/var/lib/ldap</unix-def:path>
23319 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23320 </unix-def:file_object>
23321 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20291" version="1">
23322 <unix-def:path>/var/lib/ldap</unix-def:path>
23323 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23324 </unix-def:file_object>
23325 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20292" version="1">
23326 <unix-def:service_name>nfslock</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:20293" version="1">
23330 <unix-def:service_name>rpcgssd</unix-def:service_name>
23331 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23332 </unix-def:runlevel_object>
23333 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20294" version="1">
23334 <unix-def:service_name>rpcidmapd</unix-def:service_name>
23335 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23336 </unix-def:runlevel_object>
23337 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20295" version="1">
23338 <unix-def:service_name>netfs</unix-def:service_name>
23339 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23340 </unix-def:runlevel_object>
23341 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20296" version="1">
23342 <unix-def:service_name>portmap</unix-def:service_name>
23343 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23344 </unix-def:runlevel_object>
23345 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20297" 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">LOCKD_TCPPORT[\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:20298" 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">STATD_OUTGOING_PORT[\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:20299" 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">STATD_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:20300" 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">LOCKD_UDPPORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23367 <ind-def:instance datatype="int">1</ind-def:instance>
23368 </ind-def:textfilecontent54_object>
23369 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20301" version="1">
23370 <ind-def:path>/etc/sysconfig</ind-def:path>
23371 <ind-def:filename>nfs</ind-def:filename>
23372 <ind-def:pattern operation="pattern match">MOUNTD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23373 <ind-def:instance datatype="int">1</ind-def:instance>
23374 </ind-def:textfilecontent54_object>
23375 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20302" version="1">
23376 <ind-def:path>/etc/sysconfig</ind-def:path>
23377 <ind-def:filename>nfs</ind-def:filename>
23378 <ind-def:pattern operation="pattern match">RQUOTAD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23379 <ind-def:instance datatype="int">1</ind-def:instance>
23380 </ind-def:textfilecontent54_object>
23381 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20303" version="1">
23382 <unix-def:service_name>nfs</unix-def:service_name>
23383 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23384 </unix-def:runlevel_object>
23385 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20304" version="1">
23386 <unix-def:service_name>rpcsvcgssd</unix-def:service_name>
23387 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23388 </unix-def:runlevel_object>
23389 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20308" 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">no_root_squash</ind-def:pattern>
23393 <ind-def:instance datatype="int">1</ind-def:instance>
23394 </ind-def:textfilecontent54_object>
23395 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20309" version="1">
23396 <ind-def:path>/etc</ind-def:path>
23397 <ind-def:filename>exports</ind-def:filename>
23398 <ind-def:pattern operation="pattern match">insecure</ind-def:pattern>
23399 <ind-def:instance datatype="int">1</ind-def:instance>
23400 </ind-def:textfilecontent54_object>
23401 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20310" version="1">
23402 <ind-def:path>/etc</ind-def:path>
23403 <ind-def:filename>exports</ind-def:filename>
23404 <ind-def:pattern operation="pattern match">rw</ind-def:pattern>
23405 <ind-def:instance datatype="int">1</ind-def:instance>
23406 </ind-def:textfilecontent54_object>
23407 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20311" version="1">
23408 <unix-def:service_name>named</unix-def:service_name>
23409 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23410 </unix-def:runlevel_object>
23411 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20312" version="1">
23412 <lin-def:name>bind</lin-def:name>
23413 </lin-def:rpminfo_object>
23414 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20313" version="1">
23415 <unix-def:path>/var/named/chroot/etc</unix-def:path>
23416 <unix-def:filename>named.conf</unix-def:filename>
23417 </unix-def:file_object>
23418 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20315" version="1">
23419 <unix-def:path>/var/named/chroot/etc</unix-def:path>
23420 <unix-def:filename>named.conf</unix-def:filename>
23421 </unix-def:file_object>
23422 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20314" version="1">
23423 <unix-def:path>/var/named/chroot/etc</unix-def:path>
23424 <unix-def:filename>named.conf</unix-def:filename>
23425 </unix-def:file_object>
23426 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20317" version="1">
23427 <unix-def:service_name>vsftpd</unix-def:service_name>
23428 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23429 </unix-def:runlevel_object>
23430 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:203175" version="1">
23431 <lin-def:name>vsftpd</lin-def:name>
23432 </lin-def:rpminfo_object>
23433 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20319" 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">banner_file[\s]*=[\s]*/etc/issue</ind-def:pattern>
23437 <ind-def:instance datatype="int">1</ind-def:instance>
23438 </ind-def:textfilecontent54_object>
23439 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:340" version="1">
23440 <ind-def:path>/etc</ind-def:path>
23441 <ind-def:filename>vsftpd.conf</ind-def:filename>
23442 <ind-def:pattern operation="pattern match">local_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
23443 <ind-def:instance datatype="int">1</ind-def:instance>
23444 </ind-def:textfilecontent54_object>
23445 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:341" version="1">
23446 <ind-def:path>/etc</ind-def:path>
23447 <ind-def:filename>vsftpd.conf</ind-def:filename>
23448 <ind-def:pattern operation="pattern match">write_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
23449 <ind-def:instance datatype="int">1</ind-def:instance>
23450 </ind-def:textfilecontent54_object>
23451 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20322" version="1">
23452 <unix-def:service_name>httpd</unix-def:service_name>
23453 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23454 </unix-def:runlevel_object>
23455 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20323" version="1">
23456 <lin-def:name>httpd</lin-def:name>
23457 </lin-def:rpminfo_object>
23458 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20324" version="1">
23459 <ind-def:path>/etc/httpd/conf</ind-def:path>
23460 <ind-def:filename>httpd.conf</ind-def:filename>
23461 <ind-def:pattern operation="pattern match">ServerTokens[\s]+([^#]*)</ind-def:pattern>
23462 <ind-def:instance datatype="int">1</ind-def:instance>
23463 </ind-def:textfilecontent54_object>
23464 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20325" version="1">
23465 <ind-def:path>/etc/httpd/conf</ind-def:path>
23466 <ind-def:filename>httpd.conf</ind-def:filename>
23467 <ind-def:pattern operation="pattern match">ServerSignature[\s]+([^#]*)</ind-def:pattern>
23468 <ind-def:instance datatype="int">1</ind-def:instance>
23469 </ind-def:textfilecontent54_object>
23470 <unix-def:file_object comment="/etc/httpd/conf" id="oval:org.open-scap.f14:obj:20326" version="1">
23471 <unix-def:path>/etc/httpd/conf</unix-def:path>
23472 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23473 </unix-def:file_object>
23474 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20327" version="1">
23475 <unix-def:path>/etc/httpd/conf</unix-def:path>
23476 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23477 </unix-def:file_object>
23478 <unix-def:file_object comment="/usr/sbin/httpd" id="oval:org.open-scap.f14:obj:20328" version="1">
23479 <unix-def:path>/usr/sbin</unix-def:path>
23480 <unix-def:filename>httpd</unix-def:filename>
23481 </unix-def:file_object>
23482 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20329" version="1">
23483 <unix-def:path>/etc/httpd/conf</unix-def:path>
23484 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23485 </unix-def:file_object>
23486 <unix-def:file_object comment="/var/log/httpd" id="oval:org.open-scap.f14:obj:20330" version="1">
23487 <unix-def:path>/var/log/httpd</unix-def:path>
23488 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23489 </unix-def:file_object>
23490 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20331" version="1">
23491 <unix-def:service_name>dovecot</unix-def:service_name>
23492 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23493 </unix-def:runlevel_object>
23494 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20332" version="1">
23495 <lin-def:name>dovecot</lin-def:name>
23496 </lin-def:rpminfo_object>
23497 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20333" 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]*=.*imaps</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:20334" 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]*=.*pop3s</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:20335" 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">protocols[\s]*=.*pop3</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:20336" 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">protocols[\s]*=.*imap</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:20337" 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">disable_plaintext_auth[\s]*=[\s]*([^#]*)</ind-def:pattern>
23525 <ind-def:instance datatype="int">1</ind-def:instance>
23526 </ind-def:textfilecontent54_object>
23527 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20338" version="1">
23528 <ind-def:path>/etc</ind-def:path>
23529 <ind-def:filename>dovecot.conf</ind-def:filename>
23530 <ind-def:pattern operation="pattern match">mail_drop_priv_before_exec[\s]*=[\s]*([^#]*)</ind-def:pattern>
23531 <ind-def:instance datatype="int">1</ind-def:instance>
23532 </ind-def:textfilecontent54_object>
23533 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20339" version="1">
23534 <ind-def:path>/etc</ind-def:path>
23535 <ind-def:filename>dovecot.conf</ind-def:filename>
23536 <ind-def:pattern operation="pattern match">login_process_per_connection[\s]*=[\s]*([^#]*)</ind-def:pattern>
23537 <ind-def:instance datatype="int">1</ind-def:instance>
23538 </ind-def:textfilecontent54_object>
23539 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20340" version="1">
23540 <unix-def:service_name>smb</unix-def:service_name>
23541 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23542 </unix-def:runlevel_object>
23543 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:203403" version="1">
23544 <ind-def:path>/etc/samba</ind-def:path>
23545 <ind-def:filename>smb.conf</ind-def:filename>
23546 <ind-def:pattern operation="pattern match">^[\s]*guest[\s]+ok[\s]*=[\s]yes</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:2034010" version="1">
23550 <ind-def:path>/etc/samba</ind-def:path>
23551 <ind-def:filename>smb.conf</ind-def:filename>
23552 <ind-def:pattern operation="pattern match">^[\s]*client[\s]+signing[\s]*=[\s]mandatory</ind-def:pattern>
23553 <ind-def:instance datatype="int">1</ind-def:instance>
23554 </ind-def:textfilecontent54_object>
23555 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340111" version="1">
23556 <ind-def:path>/etc</ind-def:path>
23557 <ind-def:filename>fstab</ind-def:filename>
23558 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
23559 <ind-def:instance datatype="int">1</ind-def:instance>
23560 </ind-def:textfilecontent54_object>
23561 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340112" version="1">
23562 <ind-def:path>/etc</ind-def:path>
23563 <ind-def:filename>mtab</ind-def:filename>
23564 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
23565 <ind-def:instance datatype="int">1</ind-def:instance>
23566 </ind-def:textfilecontent54_object>
23567 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20341" version="1">
23568 <unix-def:service_name>squid</unix-def:service_name>
23569 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23570 </unix-def:runlevel_object>
23571 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20342" version="1">
23572 <lin-def:name>squid</lin-def:name>
23573 </lin-def:rpminfo_object>
23574 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20343" 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:]]*ftp_passive[[: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:20346" 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:]]*request_header_max_size[[: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:20345" 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:]]*check_hostnames[[: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:20350" 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:]]*ignore_unknown_nameservers[[: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:20347" 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:]]*reply_header_max_size[[: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:20348" 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_user[[: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:20344" 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:]]*ftp_sanitycheck[[: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:20349" 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:]]*cache_effective_group[[: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:20353" 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:]]*forwarded_for[[: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:20354" 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:]]*log_mime_hdrs[[:space:]]+([^#]*)</ind-def:pattern>
23632 <ind-def:instance datatype="int">1</ind-def:instance>
23633 </ind-def:textfilecontent54_object>
23634 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20351" version="1">
23635 <ind-def:path>/etc/squid</ind-def:path>
23636 <ind-def:filename>squid.conf</ind-def:filename>
23637 <ind-def:pattern operation="pattern match">^[[:space:]]*allow_underscore[[:space:]]+([^#]*)</ind-def:pattern>
23638 <ind-def:instance datatype="int">1</ind-def:instance>
23639 </ind-def:textfilecontent54_object>
23640 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20352" version="1">
23641 <ind-def:path>/etc/squid</ind-def:path>
23642 <ind-def:filename>squid.conf</ind-def:filename>
23643 <ind-def:pattern operation="pattern match">^[[:space:]]*httpd_suppress_version_string[[:space:]]+([^#]*)</ind-def:pattern>
23644 <ind-def:instance datatype="int">1</ind-def:instance>
23645 </ind-def:textfilecontent54_object>
23646 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20365" version="1">
23647 <unix-def:service_name>snmpd</unix-def:service_name>
23648 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23649 </unix-def:runlevel_object>
23650 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20366" version="1">
23651 <lin-def:name>net-snmp</lin-def:name>
23652 </lin-def:rpminfo_object>
23653 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202081" 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:202081"/>
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:202111" 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:202111"/>
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:202141" 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:202141"/>
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:202291" 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:202291"/>
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:202301" 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:202301"/>
23681 <ind-def:instance datatype="int">1</ind-def:instance>
23682 </ind-def:textfilecontent54_object>
23683 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:200811" version="1">
23684 <ind-def:path>/etc</ind-def:path>
23685 <ind-def:filename>group</ind-def:filename>
23686 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:200811"/>
23687 <ind-def:instance datatype="int">1</ind-def:instance>
23688 </ind-def:textfilecontent54_object>
23689 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:201501" version="1">
23690 <ind-def:path>/etc</ind-def:path>
23691 <ind-def:filename>group</ind-def:filename>
23692 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:201501"/>
23693 <ind-def:instance datatype="int">1</ind-def:instance>
23694 </ind-def:textfilecontent54_object>
23695 </objects>
23696 <states>
23697 <ind-def:textfilecontent54_state comment="/tmp mount point is defined" id="oval:org.open-scap.f14:ste:20000" version="1">
23698 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/tmp</ind-def:subexpression>
23699 </ind-def:textfilecontent54_state>
23700 <ind-def:textfilecontent54_state comment="/var mount point is defined" id="oval:org.open-scap.f14:ste:20002" version="1">
23701 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var</ind-def:subexpression>
23702 </ind-def:textfilecontent54_state>
23703 <ind-def:textfilecontent54_state comment="/var/log mount point is defined" id="oval:org.open-scap.f14:ste:20004" version="1">
23704 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log</ind-def:subexpression>
23705 </ind-def:textfilecontent54_state>
23706 <ind-def:textfilecontent54_state comment="/var/log/audit mount point is defined" id="oval:org.open-scap.f14:ste:20005" version="1">
23707 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log/audit</ind-def:subexpression>
23708 </ind-def:textfilecontent54_state>
23709 <ind-def:textfilecontent54_state comment="/home mount point is defined" id="oval:org.open-scap.f14:ste:20006" version="1">
23710 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/home</ind-def:subexpression>
23711 </ind-def:textfilecontent54_state>
23712 <ind-def:textfilecontent54_state comment="Expected value of gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20010" version="1">
23713 <ind-def:instance datatype="int">1</ind-def:instance>
23714 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
23715 </ind-def:textfilecontent54_state>
23716 <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">
23717 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
23718 </ind-def:textfilecontent54_state>
23719 <ind-def:textfilecontent54_state comment="Expected value of repo_gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20012" version="1">
23720 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
23721 </ind-def:textfilecontent54_state>
23722 <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">
23723 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
23724 </ind-def:textfilecontent54_state>
23725 <ind-def:textfilecontent54_state comment="ext2 and ext3 filing systems" id="oval:org.open-scap.f14:ste:200161" version="1">
23726 <ind-def:subexpression datatype="string" entity_check="all" operation="pattern match">.*,nodev.*</ind-def:subexpression>
23727 </ind-def:textfilecontent54_state>
23728 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:10000" version="1">
23729 <lin-def:version operation="pattern match">^5[^\d]</lin-def:version>
23730 </lin-def:rpminfo_state>
23731 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:200065" version="1">
23732 <lin-def:release>4c49d6fe</lin-def:release>
23733 <lin-def:version>97a1071f</lin-def:version>
23734 </lin-def:rpminfo_state>
23735 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:11000" version="1">
23736 <lin-def:release operation="pattern match">^5\.[2-9]</lin-def:release>
23737 </lin-def:rpminfo_state>
23738 <ind-def:family_state id="oval:org.open-scap.f14:ste:10001" version="1">
23739 <ind-def:family>unix</ind-def:family>
23740 </ind-def:family_state>
23741 <ind-def:xmlfilecontent_state id="oval:org.open-scap.f14:ste:20026" version="1">
23742 <ind-def:value_of operation="equals">false</ind-def:value_of>
23743 </ind-def:xmlfilecontent_state>
23744 <ind-def:textfilecontent54_state comment="Check for the usb_storage module" id="oval:org.open-scap.f14:ste:20021" version="1">
23745 <ind-def:subexpression datatype="string" entity_check="all">usb_storage</ind-def:subexpression>
23746 </ind-def:textfilecontent54_state>
23747 <ind-def:textfilecontent54_state comment="Check for the cramfs file system" id="oval:org.open-scap.f14:ste:20027" version="1">
23748 <ind-def:subexpression datatype="string" entity_check="all">cramfs</ind-def:subexpression>
23749 </ind-def:textfilecontent54_state>
23750 <ind-def:textfilecontent54_state comment="Check for the freevxfs file system" id="oval:org.open-scap.f14:ste:20028" version="1">
23751 <ind-def:subexpression datatype="string" entity_check="all">freevxfs</ind-def:subexpression>
23752 </ind-def:textfilecontent54_state>
23753 <ind-def:textfilecontent54_state comment="Check for the jffs2 file system" id="oval:org.open-scap.f14:ste:20029" version="1">
23754 <ind-def:subexpression datatype="string" entity_check="all">jffs2</ind-def:subexpression>
23755 </ind-def:textfilecontent54_state>
23756 <ind-def:textfilecontent54_state comment="Check for the hfs file system" id="oval:org.open-scap.f14:ste:20030" version="1">
23757 <ind-def:subexpression datatype="string" entity_check="all">hfs</ind-def:subexpression>
23758 </ind-def:textfilecontent54_state>
23759 <ind-def:textfilecontent54_state comment="Check for the hfsplus file system" id="oval:org.open-scap.f14:ste:20031" version="1">
23760 <ind-def:subexpression datatype="string" entity_check="all">hfsplus</ind-def:subexpression>
23761 </ind-def:textfilecontent54_state>
23762 <ind-def:textfilecontent54_state comment="Check for the squashfs file system" id="oval:org.open-scap.f14:ste:20032" version="1">
23763 <ind-def:subexpression datatype="string" entity_check="all">squashfs</ind-def:subexpression>
23764 </ind-def:textfilecontent54_state>
23765 <ind-def:textfilecontent54_state comment="Check for the udf file system" id="oval:org.open-scap.f14:ste:20033" version="1">
23766 <ind-def:subexpression datatype="string" entity_check="all">udf</ind-def:subexpression>
23767 </ind-def:textfilecontent54_state>
23768 <unix-def:file_state id="oval:org.open-scap.f14:ste:20034" version="1">
23769 <unix-def:user_id datatype="int">0</unix-def:user_id>
23770 </unix-def:file_state>
23771 <unix-def:file_state id="oval:org.open-scap.f14:ste:20035" version="1">
23772 <unix-def:group_id datatype="int">0</unix-def:group_id>
23773 </unix-def:file_state>
23774 <unix-def:file_state id="oval:org.open-scap.f14:ste:20042" version="1">
23775 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:1"/>
23776 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:2"/>
23777 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:3"/>
23778 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:4"/>
23779 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:5"/>
23780 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:6"/>
23781 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:7"/>
23782 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:8"/>
23783 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:9"/>
23784 </unix-def:file_state>
23785 <unix-def:file_state id="oval:org.open-scap.f14:ste:20036" version="1">
23786 <unix-def:user_id datatype="int">0</unix-def:user_id>
23787 </unix-def:file_state>
23788 <unix-def:file_state id="oval:org.open-scap.f14:ste:20037" version="1">
23789 <unix-def:group_id datatype="int">0</unix-def:group_id>
23790 </unix-def:file_state>
23791 <unix-def:file_state id="oval:org.open-scap.f14:ste:20043" version="1">
23792 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:10"/>
23793 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:11"/>
23794 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:12"/>
23795 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:13"/>
23796 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:14"/>
23797 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:15"/>
23798 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:16"/>
23799 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:17"/>
23800 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:18"/>
23801 </unix-def:file_state>
23802 <unix-def:file_state id="oval:org.open-scap.f14:ste:20038" version="1">
23803 <unix-def:user_id datatype="int">0</unix-def:user_id>
23804 </unix-def:file_state>
23805 <unix-def:file_state id="oval:org.open-scap.f14:ste:20039" version="1">
23806 <unix-def:group_id datatype="int">0</unix-def:group_id>
23807 </unix-def:file_state>
23808 <unix-def:file_state id="oval:org.open-scap.f14:ste:20044" version="1">
23809 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:19"/>
23810 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:20"/>
23811 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:21"/>
23812 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:22"/>
23813 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:23"/>
23814 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:24"/>
23815 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:25"/>
23816 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:26"/>
23817 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:27"/>
23818 </unix-def:file_state>
23819 <unix-def:file_state id="oval:org.open-scap.f14:ste:20040" version="1">
23820 <unix-def:user_id datatype="int">0</unix-def:user_id>
23821 </unix-def:file_state>
23822 <unix-def:file_state id="oval:org.open-scap.f14:ste:20041" version="1">
23823 <unix-def:group_id datatype="int">0</unix-def:group_id>
23824 </unix-def:file_state>
23825 <unix-def:file_state id="oval:org.open-scap.f14:ste:20045" version="1">
23826 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:28"/>
23827 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:29"/>
23828 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:30"/>
23829 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:31"/>
23830 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:32"/>
23831 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:33"/>
23832 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:34"/>
23833 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:35"/>
23834 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:36"/>
23835 </unix-def:file_state>
23836 <unix-def:file_state id="oval:org.open-scap.f14:ste:20046" version="1">
23837 <unix-def:sticky datatype="boolean">1</unix-def:sticky>
23838 </unix-def:file_state>
23839 <unix-def:file_state id="oval:org.open-scap.f14:ste:200462" version="1">
23840 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
23841 </unix-def:file_state>
23842 <unix-def:file_state id="oval:org.open-scap.f14:ste:200471" version="1">
23843 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
23844 </unix-def:file_state>
23845 <unix-def:file_state id="oval:org.open-scap.f14:ste:200472" version="1">
23846 <unix-def:type datatype="string" operation="not equal">regular</unix-def:type>
23847 </unix-def:file_state>
23848 <unix-def:file_state id="oval:org.open-scap.f14:ste:200481" operator="OR" version="1">
23849 <unix-def:type operation="not equal">regular</unix-def:type>
23850 <unix-def:sgid datatype="boolean">0</unix-def:sgid>
23851 </unix-def:file_state>
23852 <unix-def:file_state id="oval:org.open-scap.f14:ste:200482" version="1">
23853 <unix-def:path>/sbin</unix-def:path>
23854 <unix-def:filename>netreport</unix-def:filename>
23855 </unix-def:file_state>
23856 <unix-def:file_state id="oval:org.open-scap.f14:ste:200483" version="1">
23857 <unix-def:path>/var/cache/jwhois</unix-def:path>
23858 <unix-def:filename>jwhois.db</unix-def:filename>
23859 </unix-def:file_state>
23860 <unix-def:file_state id="oval:org.open-scap.f14:ste:200484" version="1">
23861 <unix-def:path>/usr/sbin</unix-def:path>
23862 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200484"/>
23863 </unix-def:file_state>
23864 <unix-def:file_state id="oval:org.open-scap.f14:ste:200485" version="1">
23865 <unix-def:path>/usr/bin</unix-def:path>
23866 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200485"/>
23867 </unix-def:file_state>
23868 <unix-def:file_state id="oval:org.open-scap.f14:ste:200486" version="1">
23869 <unix-def:path>/usr/libexec/utempter</unix-def:path>
23870 <unix-def:filename>utempter</unix-def:filename>
23871 </unix-def:file_state>
23872 <unix-def:file_state id="oval:org.open-scap.f14:ste:200487" version="1">
23873 <unix-def:path>/usr/lib/vte</unix-def:path>
23874 <unix-def:filename>gnome-pty-helper</unix-def:filename>
23875 </unix-def:file_state>
23876 <unix-def:file_state id="oval:org.open-scap.f14:ste:200488" version="1">
23877 <unix-def:path>/usr/lib64/vte</unix-def:path>
23878 <unix-def:filename>gnome-pty-helper</unix-def:filename>
23879 </unix-def:file_state>
23880 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004901" operator="OR" version="1">
23881 <unix-def:type operation="not equal">regular</unix-def:type>
23882 <unix-def:suid datatype="boolean">0</unix-def:suid>
23883 </unix-def:file_state>
23884 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004902" version="1">
23885 <unix-def:path>/bin</unix-def:path>
23886 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004902"/>
23887 </unix-def:file_state>
23888 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004903" version="1">
23889 <unix-def:path>/lib/dbus-1</unix-def:path>
23890 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
23891 </unix-def:file_state>
23892 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004904" version="1">
23893 <unix-def:path>/lib64/dbus-1</unix-def:path>
23894 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
23895 </unix-def:file_state>
23896 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004905" version="1">
23897 <unix-def:path>/sbin</unix-def:path>
23898 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004905"/>
23899 </unix-def:file_state>
23900 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004906" version="1">
23901 <unix-def:path>/usr/bin</unix-def:path>
23902 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004906"/>
23903 </unix-def:file_state>
23904 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004907" version="1">
23905 <unix-def:path>/usr/lib/nspluginwrapper</unix-def:path>
23906 <unix-def:filename>plugin-config</unix-def:filename>
23907 </unix-def:file_state>
23908 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004908" version="1">
23909 <unix-def:path>/usr/lib64/nspluginwrapper</unix-def:path>
23910 <unix-def:filename>plugin-config</unix-def:filename>
23911 </unix-def:file_state>
23912 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004909" version="1">
23913 <unix-def:path>/usr/libexec/kde4</unix-def:path>
23914 <unix-def:filename>kpac_dhcp_helper</unix-def:filename>
23915 </unix-def:file_state>
23916 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004910" version="1">
23917 <unix-def:path>/usr/libexec/news</unix-def:path>
23918 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004910"/>
23919 </unix-def:file_state>
23920 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004911" version="1">
23921 <unix-def:path>/usr/libexec/openssh</unix-def:path>
23922 <unix-def:filename>ssh-keysign</unix-def:filename>
23923 </unix-def:file_state>
23924 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004912" version="1">
23925 <unix-def:path>/usr/libexec/polkit-1</unix-def:path>
23926 <unix-def:filename>polkit-agent-helper-1</unix-def:filename>
23927 </unix-def:file_state>
23928 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004913" version="1">
23929 <unix-def:path>/usr/libexec</unix-def:path>
23930 <unix-def:filename>pt_chown</unix-def:filename>
23931 </unix-def:file_state>
23932 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004914" version="1">
23933 <unix-def:path>/usr/libexec/pulse</unix-def:path>
23934 <unix-def:filename>proximity-helper</unix-def:filename>
23935 </unix-def:file_state>
23936 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004915" version="1">
23937 <unix-def:path>/usr/sbin</unix-def:path>
23938 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004915"/>
23939 </unix-def:file_state>
23940 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004916" version="1">
23941 <unix-def:path>/usr/share/BackupPC/sbin</unix-def:path>
23942 <unix-def:filename>BackupPC_Admin</unix-def:filename>
23943 </unix-def:file_state>
23944 <unix-def:file_state comment="Files with a valid user id assigned" id="oval:org.open-scap.f14:ste:20050" version="1">
23945 <unix-def:user_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20050"/>
23946 </unix-def:file_state>
23947 <unix-def:file_state comment="Files with a valid group id assigned" id="oval:org.open-scap.f14:ste:20051" version="1">
23948 <unix-def:group_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20051"/>
23949 </unix-def:file_state>
23950 <unix-def:file_state id="oval:org.open-scap.f14:ste:20052" operator="OR" version="1">
23951 <unix-def:group_id datatype="int" operation="less than">500</unix-def:group_id>
23952 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
23953 </unix-def:file_state>
23954 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20053" version="1">
23955 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20053"/>
23956 </ind-def:textfilecontent54_state>
23957 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20055" version="1">
23958 <ind-def:subexpression operation="equals">0</ind-def:subexpression>
23959 </ind-def:textfilecontent54_state>
23960 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20056" version="1">
23961 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
23962 </ind-def:textfilecontent54_state>
23963 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20058" version="1">
23964 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
23965 </ind-def:textfilecontent54_state>
23966 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20057" version="1">
23967 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
23968 </ind-def:textfilecontent54_state>
23969 <unix-def:password_state id="oval:org.open-scap.f14:ste:20068" version="1">
23970 <unix-def:user_id datatype="int" operation="less than">500</unix-def:user_id>
23971 <unix-def:login_shell operation="not equal">/sbin/nologin</unix-def:login_shell>
23972 </unix-def:password_state>
23973 <unix-def:password_state id="oval:org.open-scap.f14:ste:200695" version="1">
23974 <unix-def:password>x</unix-def:password>
23975 </unix-def:password_state>
23976 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20071" version="1">
23977 <ind-def:subexpression datatype="int" operation="greater than or equal" var_check="all" var_ref="oval:org.open-scap.f14:var:20071"/>
23978 </ind-def:textfilecontent54_state>
23979 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20072" version="1">
23980 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20072"/>
23981 </ind-def:textfilecontent54_state>
23982 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20073" version="1">
23983 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20073"/>
23984 </ind-def:textfilecontent54_state>
23985 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20074" version="1">
23986 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20074"/>
23987 </ind-def:textfilecontent54_state>
23988 <ind-def:textfilecontent54_state comment="retry" id="oval:org.open-scap.f14:ste:200781" version="1">
23989 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200781"/>
23990 </ind-def:textfilecontent54_state>
23991 <ind-def:textfilecontent54_state comment="minlen" id="oval:org.open-scap.f14:ste:200782" version="1">
23992 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200782"/>
23993 </ind-def:textfilecontent54_state>
23994 <ind-def:textfilecontent54_state comment="dcredit" id="oval:org.open-scap.f14:ste:200783" version="1">
23995 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200783"/>
23996 </ind-def:textfilecontent54_state>
23997 <ind-def:textfilecontent54_state comment="ucredit" id="oval:org.open-scap.f14:ste:200784" version="1">
23998 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200784"/>
23999 </ind-def:textfilecontent54_state>
24000 <ind-def:textfilecontent54_state comment="ocredit" id="oval:org.open-scap.f14:ste:200785" version="1">
24001 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200785"/>
24002 </ind-def:textfilecontent54_state>
24003 <ind-def:textfilecontent54_state comment="lcredit" id="oval:org.open-scap.f14:ste:200786" version="1">
24004 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200786"/>
24005 </ind-def:textfilecontent54_state>
24006 <ind-def:textfilecontent54_state comment="difok" id="oval:org.open-scap.f14:ste:200787" version="1">
24007 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200787"/>
24008 </ind-def:textfilecontent54_state>
24009 <ind-def:variable_state comment="expected value of unlock_time" id="oval:org.open-scap.f14:ste:200800" version="1">
24010 <ind-def:value>0</ind-def:value>
24011 </ind-def:variable_state>
24012 <ind-def:textfilecontent54_state comment="deny" id="oval:org.open-scap.f14:ste:2008011" version="1">
24013 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200801"/>
24014 </ind-def:textfilecontent54_state>
24015 <ind-def:textfilecontent54_state comment="lock_time" id="oval:org.open-scap.f14:ste:2008012" version="1">
24016 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200802"/>
24017 </ind-def:textfilecontent54_state>
24018 <ind-def:textfilecontent54_state comment="unlock_time" id="oval:org.open-scap.f14:ste:2008013" version="1">
24019 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200803"/>
24020 </ind-def:textfilecontent54_state>
24021 <unix-def:file_state id="oval:org.open-scap.f14:ste:20081" version="1">
24022 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:200812"/>
24023 </unix-def:file_state>
24024 <unix-def:file_state id="oval:org.open-scap.f14:ste:20082" version="1">
24025 <unix-def:suid datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200820"/>
24026 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200821"/>
24027 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200822"/>
24028 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200823"/>
24029 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200824"/>
24030 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200825"/>
24031 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200826"/>
24032 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200827"/>
24033 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200828"/>
24034 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200829"/>
24035 </unix-def:file_state>
24036 <ind-def:variable_state comment="hashing algorithm is md5" id="oval:org.open-scap.f14:ste:200831" version="1">
24037 <ind-def:value>md5</ind-def:value>
24038 </ind-def:variable_state>
24039 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200832" version="1">
24040 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24041 </ind-def:textfilecontent54_state>
24042 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200833" version="1">
24043 <ind-def:subexpression operation="case insensitive equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20083"/>
24044 </ind-def:textfilecontent54_state>
24045 <ind-def:variable_state comment="remember is set to 0" id="oval:org.open-scap.f14:ste:200841" version="1">
24046 <ind-def:value datatype="string">0</ind-def:value>
24047 </ind-def:variable_state>
24048 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200842" version="1">
24049 <ind-def:subexpression datatype="string" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20084"/>
24050 </ind-def:textfilecontent54_state>
24051 <ind-def:environmentvariable_state comment="starts with . or :" id="oval:org.open-scap.f14:ste:200851" version="1">
24052 <ind-def:value operation="pattern match">^:|^\.</ind-def:value>
24053 </ind-def:environmentvariable_state>
24054 <ind-def:environmentvariable_state comment="ends with . or :" id="oval:org.open-scap.f14:ste:200852" version="1">
24055 <ind-def:value operation="pattern match">:$|\.$</ind-def:value>
24056 </ind-def:environmentvariable_state>
24057 <ind-def:environmentvariable_state comment="contains :.: or ::" id="oval:org.open-scap.f14:ste:200853" version="1">
24058 <ind-def:value operation="pattern match">:\.:|::</ind-def:value>
24059 </ind-def:environmentvariable_state>
24060 <unix-def:file_state comment="Group has NO write privilege" id="oval:org.open-scap.f14:ste:2008551" version="1">
24061 <unix-def:gwrite datatype="boolean">0</unix-def:gwrite>
24062 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24063 </unix-def:file_state>
24064 <unix-def:file_state id="oval:org.open-scap.f14:ste:200861" version="1">
24065 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24066 <unix-def:gwrite datatype="boolean">1</unix-def:gwrite>
24067 </unix-def:file_state>
24068 <unix-def:file_state id="oval:org.open-scap.f14:ste:200862" version="1">
24069 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24070 <unix-def:oread datatype="boolean">1</unix-def:oread>
24071 </unix-def:file_state>
24072 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20087" version="1">
24073 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20087"/>
24074 </ind-def:textfilecontent54_state>
24075 <unix-def:file_state id="oval:org.open-scap.f14:ste:20092" version="1">
24076 <unix-def:user_id datatype="int">0</unix-def:user_id>
24077 </unix-def:file_state>
24078 <unix-def:file_state id="oval:org.open-scap.f14:ste:20094" version="1">
24079 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:37"/>
24080 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:38"/>
24081 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:39"/>
24082 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:40"/>
24083 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:41"/>
24084 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:42"/>
24085 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:43"/>
24086 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:44"/>
24087 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:45"/>
24088 </unix-def:file_state>
24089 <unix-def:file_state id="oval:org.open-scap.f14:ste:20093" version="1">
24090 <unix-def:group_id datatype="int">0</unix-def:group_id>
24091 </unix-def:file_state>
24092 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20097" version="1">
24093 <ind-def:subexpression>no</ind-def:subexpression>
24094 </ind-def:textfilecontent54_state>
24095 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20098" version="1">
24096 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24097 </ind-def:textfilecontent54_state>
24098 <ind-def:xmlfilecontent_state comment="idle_delay (time before activation in minutes)" id="oval:org.open-scap.f14:ste:20100" version="1">
24099 <ind-def:value_of datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24100 </ind-def:xmlfilecontent_state>
24101 <ind-def:xmlfilecontent_state comment="idle_activation_enabled (Activation when idle)" id="oval:org.open-scap.f14:ste:201005" version="1">
24102 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24103 </ind-def:xmlfilecontent_state>
24104 <ind-def:xmlfilecontent_state comment="lock_enabled (lock on Activation)" id="oval:org.open-scap.f14:ste:201006" version="1">
24105 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24106 </ind-def:xmlfilecontent_state>
24107 <ind-def:xmlfilecontent_state comment="mode (Screensaver theme selection mode)" id="oval:org.open-scap.f14:ste:201007" version="1">
24108 <ind-def:value_of datatype="string" var_check="all">blank-only</ind-def:value_of>
24109 </ind-def:xmlfilecontent_state>
24110 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20102" version="1">
24111 <ind-def:subexpression var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24112 </ind-def:textfilecontent54_state>
24113 <ind-def:xmlfilecontent_state comment="Logon banner" id="oval:org.open-scap.f14:ste:20103" version="1">
24114 <ind-def:value_of var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24115 </ind-def:xmlfilecontent_state>
24116 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20104" version="1">
24117 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24118 </ind-def:textfilecontent54_state>
24119 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20105" version="1">
24120 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24121 </ind-def:textfilecontent54_state>
24122 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20106" version="1">
24123 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20106"/>
24124 </ind-def:textfilecontent54_state>
24125 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20107" version="1">
24126 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20107"/>
24127 </ind-def:textfilecontent54_state>
24128 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20111" version="1">
24129 <unix-def:start datatype="boolean">false</unix-def:start>
24130 <unix-def:kill datatype="boolean">true</unix-def:kill>
24131 </unix-def:runlevel_state>
24132 <unix-def:runlevel_state comment="Define state of disableed service" id="oval:org.open-scap.f14:ste:20171" version="1">
24133 <unix-def:start datatype="boolean">false</unix-def:start>
24134 <unix-def:kill datatype="boolean">true</unix-def:kill>
24135 </unix-def:runlevel_state>
24136 <unix-def:runlevel_state comment="Define state of enabled service" id="oval:org.open-scap.f14:ste:20172" version="1">
24137 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24138 <unix-def:start datatype="boolean">true</unix-def:start>
24139 </unix-def:runlevel_state>
24140 <!-- shared states: subexpression == {0, 1} -->
24141 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201120" version="1">
24142 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24143 </ind-def:textfilecontent54_state>
24144 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201121" version="1">
24145 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24146 </ind-def:textfilecontent54_state>
24147 <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
24148 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20113" version="1">
24149 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24150 </ind-def:textfilecontent54_state>
24151 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20114" version="1">
24152 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24153 </ind-def:textfilecontent54_state>
24154 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20117" version="1">
24155 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20117"/>
24156 </ind-def:textfilecontent54_state>
24157 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20116" version="1">
24158 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20116"/>
24159 </ind-def:textfilecontent54_state>
24160 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20123" version="1">
24161 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20123"/>
24162 </ind-def:textfilecontent54_state>
24163 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20124" version="1">
24164 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20124"/>
24165 </ind-def:textfilecontent54_state>
24166 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20122" version="1">
24167 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20122"/>
24168 </ind-def:textfilecontent54_state>
24169 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20120" version="1">
24170 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20120"/>
24171 </ind-def:textfilecontent54_state>
24172 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20125" version="1">
24173 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20125"/>
24174 </ind-def:textfilecontent54_state>
24175 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20121" version="1">
24176 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20121"/>
24177 </ind-def:textfilecontent54_state>
24178 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20118" version="1">
24179 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20118"/>
24180 </ind-def:textfilecontent54_state>
24181 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20126" version="1">
24182 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20126"/>
24183 </ind-def:textfilecontent54_state>
24184 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20119" version="1">
24185 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20119"/>
24186 </ind-def:textfilecontent54_state>
24187 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20115" version="1">
24188 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20115"/>
24189 </ind-def:textfilecontent54_state>
24190 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20132" version="1">
24191 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24192 </ind-def:textfilecontent54_state>
24193 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20133" version="1">
24194 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24195 </ind-def:textfilecontent54_state>
24196 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20131" version="1">
24197 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24198 </ind-def:textfilecontent54_state>
24199 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20134" version="1">
24200 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20134"/>
24201 </ind-def:textfilecontent54_state>
24202 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20140" version="1">
24203 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20140"/>
24204 </ind-def:textfilecontent54_state>
24205 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20145" version="1">
24206 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20145"/>
24207 </ind-def:textfilecontent54_state>
24208 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20139" version="1">
24209 <ind-def:subexpression operation="equals" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20139"/>
24210 </ind-def:textfilecontent54_state>
24211 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20144" version="1">
24212 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20144"/>
24213 </ind-def:textfilecontent54_state>
24214 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20143" version="1">
24215 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20143"/>
24216 </ind-def:textfilecontent54_state>
24217 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20141" version="1">
24218 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20141"/>
24219 </ind-def:textfilecontent54_state>
24220 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20142" version="1">
24221 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20142"/>
24222 </ind-def:textfilecontent54_state>
24223 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201745" version="1">
24224 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24225 </ind-def:textfilecontent54_state>
24226 <unix-def:runlevel_state comment="Starts at runlevel 3 or 5 (with network)" id="oval:org.open-scap.f14:ste:20146" version="1">
24227 <unix-def:runlevel operation="pattern match">^[35]$</unix-def:runlevel>
24228 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24229 </unix-def:runlevel_state>
24230 <unix-def:runlevel_state comment="Starts at runlevel 2, 3, 4 or 5" id="oval:org.open-scap.f14:ste:20148" version="1">
24231 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24232 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24233 </unix-def:runlevel_state>
24234 <unix-def:file_state id="oval:org.open-scap.f14:ste:20149" version="1">
24235 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:201491"/>
24236 </unix-def:file_state>
24237 <unix-def:file_state id="oval:org.open-scap.f14:ste:20150" version="1">
24238 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:201502"/>
24239 </unix-def:file_state>
24240 <unix-def:file_state id="oval:org.open-scap.f14:ste:20151" version="1">
24241 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201510"/>
24242 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201511"/>
24243 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201512"/>
24244 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201513"/>
24245 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201514"/>
24246 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201515"/>
24247 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201516"/>
24248 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201517"/>
24249 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201518"/>
24250 </unix-def:file_state>
24251 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20156" version="1">
24252 <unix-def:start datatype="boolean">true</unix-def:start>
24253 <unix-def:kill datatype="boolean">false</unix-def:kill>
24254 </unix-def:runlevel_state>
24255 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201670" version="1">
24256 <unix-def:processor_type operation="pattern match">^i386$|^i686$</unix-def:processor_type>
24257 </unix-def:uname_state>
24258 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201672" version="1">
24259 <unix-def:processor_type operation="pattern match">^x86_64$|^ia64$|</unix-def:processor_type>
24260 </unix-def:uname_state>
24261 <unix-def:file_state id="oval:org.open-scap.f14:ste:20217" version="1">
24262 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24263 </unix-def:file_state>
24264 <unix-def:file_state id="oval:org.open-scap.f14:ste:20225" version="1">
24265 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:46"/>
24266 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:47"/>
24267 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:48"/>
24268 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:49"/>
24269 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:50"/>
24270 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:51"/>
24271 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:52"/>
24272 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:53"/>
24273 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:54"/>
24274 </unix-def:file_state>
24275 <unix-def:file_state id="oval:org.open-scap.f14:ste:20216" version="1">
24276 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24277 </unix-def:file_state>
24278 <unix-def:file_state id="oval:org.open-scap.f14:ste:20209" version="1">
24279 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202091"/>
24280 </unix-def:file_state>
24281 <unix-def:file_state id="oval:org.open-scap.f14:ste:20212" version="1">
24282 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202121"/>
24283 </unix-def:file_state>
24284 <unix-def:file_state id="oval:org.open-scap.f14:ste:20210" version="1">
24285 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:55"/>
24286 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:56"/>
24287 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:57"/>
24288 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:58"/>
24289 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:59"/>
24290 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:60"/>
24291 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:61"/>
24292 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:62"/>
24293 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:63"/>
24294 </unix-def:file_state>
24295 <unix-def:file_state id="oval:org.open-scap.f14:ste:20214" version="1">
24296 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24297 </unix-def:file_state>
24298 <unix-def:file_state id="oval:org.open-scap.f14:ste:20222" version="1">
24299 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24300 </unix-def:file_state>
24301 <unix-def:file_state id="oval:org.open-scap.f14:ste:20218" version="1">
24302 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24303 </unix-def:file_state>
24304 <unix-def:file_state id="oval:org.open-scap.f14:ste:20223" version="1">
24305 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24306 </unix-def:file_state>
24307 <unix-def:file_state id="oval:org.open-scap.f14:ste:20221" version="1">
24308 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24309 </unix-def:file_state>
24310 <unix-def:file_state id="oval:org.open-scap.f14:ste:20211" version="1">
24311 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202112"/>
24312 </unix-def:file_state>
24313 <unix-def:file_state id="oval:org.open-scap.f14:ste:20224" version="1">
24314 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:64"/>
24315 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:65"/>
24316 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:66"/>
24317 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:67"/>
24318 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:68"/>
24319 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:69"/>
24320 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:70"/>
24321 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:71"/>
24322 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:72"/>
24323 </unix-def:file_state>
24324 <unix-def:file_state id="oval:org.open-scap.f14:ste:20219" version="1">
24325 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24326 </unix-def:file_state>
24327 <unix-def:file_state id="oval:org.open-scap.f14:ste:20208" version="1">
24328 <unix-def:group_id datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:202082"/>
24329 </unix-def:file_state>
24330 <unix-def:file_state id="oval:org.open-scap.f14:ste:20220" version="1">
24331 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24332 </unix-def:file_state>
24333 <unix-def:file_state id="oval:org.open-scap.f14:ste:20213" version="1">
24334 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:73"/>
24335 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:74"/>
24336 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:75"/>
24337 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:76"/>
24338 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:77"/>
24339 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:78"/>
24340 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:79"/>
24341 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:80"/>
24342 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:81"/>
24343 </unix-def:file_state>
24344 <unix-def:file_state id="oval:org.open-scap.f14:ste:20226" version="1">
24345 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:82"/>
24346 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:83"/>
24347 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:84"/>
24348 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:85"/>
24349 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:86"/>
24350 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:87"/>
24351 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:88"/>
24352 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:89"/>
24353 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:90"/>
24354 </unix-def:file_state>
24355 <unix-def:file_state id="oval:org.open-scap.f14:ste:20227" version="1">
24356 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:91"/>
24357 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:92"/>
24358 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:93"/>
24359 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:94"/>
24360 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:95"/>
24361 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:96"/>
24362 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:97"/>
24363 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:98"/>
24364 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:99"/>
24365 </unix-def:file_state>
24366 <unix-def:file_state id="oval:org.open-scap.f14:ste:20215" version="1">
24367 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24368 </unix-def:file_state>
24369 <unix-def:file_state id="oval:org.open-scap.f14:ste:20228" version="1">
24370 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:100"/>
24371 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:101"/>
24372 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:102"/>
24373 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:103"/>
24374 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:104"/>
24375 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:105"/>
24376 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:106"/>
24377 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:107"/>
24378 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:108"/>
24379 </unix-def:file_state>
24380 <unix-def:file_state id="oval:org.open-scap.f14:ste:20229" version="1">
24381 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202292"/>
24382 </unix-def:file_state>
24383 <unix-def:file_state id="oval:org.open-scap.f14:ste:20230" version="1">
24384 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202302"/>
24385 </unix-def:file_state>
24386 <unix-def:file_state id="oval:org.open-scap.f14:ste:20231" version="1">
24387 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:160"/>
24388 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:161"/>
24389 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:162"/>
24390 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:163"/>
24391 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:164"/>
24392 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:165"/>
24393 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:166"/>
24394 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:167"/>
24395 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:168"/>
24396 </unix-def:file_state>
24397 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:86" version="1">
24398 <ind-def:subexpression datatype="int" operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24399 </ind-def:textfilecontent54_state>
24400 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:87" version="1">
24401 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20246"/>
24402 </ind-def:textfilecontent54_state>
24403 <ind-def:textfilecontent54_state comment="ClientAliveInterval in seconds" id="oval:org.open-scap.f14:ste:20239" version="1">
24404 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24405 </ind-def:textfilecontent54_state>
24406 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20240" version="1">
24407 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20240"/>
24408 </ind-def:textfilecontent54_state>
24409 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:202456" version="1">
24410 <ind-def:subexpression operation="equals">aes128-ctr,aes192-ctr,aes256-ctr</ind-def:subexpression>
24411 </ind-def:textfilecontent54_state>
24412 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20253" version="1">
24413 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24414 </ind-def:textfilecontent54_state>
24415 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20254" version="1">
24416 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24417 </ind-def:textfilecontent54_state>
24418 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20255" version="1">
24419 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24420 </ind-def:textfilecontent54_state>
24421 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20256" version="1">
24422 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24423 </ind-def:textfilecontent54_state>
24424 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20257" version="1">
24425 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24426 </ind-def:textfilecontent54_state>
24427 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20258" version="1">
24428 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24429 </ind-def:textfilecontent54_state>
24430 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20259" version="1">
24431 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24432 </ind-def:textfilecontent54_state>
24433 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20260" version="1">
24434 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24435 </ind-def:textfilecontent54_state>
24436 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20264" version="1">
24437 <ind-def:subexpression operation="equals">off</ind-def:subexpression>
24438 </ind-def:textfilecontent54_state>
24439 <unix-def:file_state id="oval:org.open-scap.f14:ste:20290" version="1">
24440 <unix-def:group_id datatype="int">0</unix-def:group_id>
24441 </unix-def:file_state>
24442 <unix-def:file_state id="oval:org.open-scap.f14:ste:20291" version="1">
24443 <unix-def:user_id datatype="int">0</unix-def:user_id>
24444 </unix-def:file_state>
24445 <unix-def:file_state id="oval:org.open-scap.f14:ste:20313" version="1">
24446 <unix-def:group_id datatype="int">0</unix-def:group_id>
24447 </unix-def:file_state>
24448 <unix-def:file_state id="oval:org.open-scap.f14:ste:20315" version="1">
24449 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:109"/>
24450 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:110"/>
24451 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:111"/>
24452 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:112"/>
24453 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:113"/>
24454 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:114"/>
24455 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:115"/>
24456 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:116"/>
24457 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:117"/>
24458 </unix-def:file_state>
24459 <unix-def:file_state id="oval:org.open-scap.f14:ste:20314" version="1">
24460 <unix-def:user_id datatype="int">0</unix-def:user_id>
24461 </unix-def:file_state>
24462 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20324" version="1">
24463 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20324"/>
24464 </ind-def:textfilecontent54_state>
24465 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20325" version="1">
24466 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20325"/>
24467 </ind-def:textfilecontent54_state>
24468 <unix-def:file_state id="oval:org.open-scap.f14:ste:20326" version="1">
24469 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:118"/>
24470 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:119"/>
24471 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:120"/>
24472 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:121"/>
24473 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:122"/>
24474 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:123"/>
24475 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:124"/>
24476 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:125"/>
24477 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:126"/>
24478 </unix-def:file_state>
24479 <unix-def:file_state id="oval:org.open-scap.f14:ste:20327" version="1">
24480 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:127"/>
24481 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:128"/>
24482 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:129"/>
24483 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:130"/>
24484 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:131"/>
24485 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:132"/>
24486 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:133"/>
24487 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:134"/>
24488 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:135"/>
24489 </unix-def:file_state>
24490 <unix-def:file_state id="oval:org.open-scap.f14:ste:20328" version="1">
24491 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:136"/>
24492 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:137"/>
24493 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:138"/>
24494 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:139"/>
24495 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:140"/>
24496 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:141"/>
24497 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:142"/>
24498 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:143"/>
24499 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:144"/>
24500 </unix-def:file_state>
24501 <unix-def:file_state id="oval:org.open-scap.f14:ste:20329" version="1">
24502 <unix-def:group_id datatype="int">0</unix-def:group_id>
24503 </unix-def:file_state>
24504 <unix-def:file_state id="oval:org.open-scap.f14:ste:20330" version="1">
24505 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:145"/>
24506 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:146"/>
24507 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:147"/>
24508 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:148"/>
24509 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:149"/>
24510 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:150"/>
24511 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:151"/>
24512 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:152"/>
24513 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:153"/>
24514 </unix-def:file_state>
24515 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20337" version="1">
24516 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24517 </ind-def:textfilecontent54_state>
24518 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20338" version="1">
24519 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24520 </ind-def:textfilecontent54_state>
24521 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20339" version="1">
24522 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24523 </ind-def:textfilecontent54_state>
24524 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340111" version="1">
24525 <ind-def:instance datatype="int">1</ind-def:instance>
24526 <ind-def:subexpression operation="not equal">cifs</ind-def:subexpression>
24527 </ind-def:textfilecontent54_state>
24528 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340112" version="1">
24529 <ind-def:instance datatype="int">2</ind-def:instance>
24530 <ind-def:subexpression operation="pattern match">sec=(krb5i|ntlmv2i)</ind-def:subexpression>
24531 </ind-def:textfilecontent54_state>
24532 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20343" version="1">
24533 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
24534 </ind-def:textfilecontent54_state>
24535 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20346" version="1">
24536 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20346"/>
24537 </ind-def:textfilecontent54_state>
24538 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20345" 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:20350" version="1">
24542 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
24543 </ind-def:textfilecontent54_state>
24544 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20347" version="1">
24545 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20347"/>
24546 </ind-def:textfilecontent54_state>
24547 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20348" version="1">
24548 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20348"/>
24549 </ind-def:textfilecontent54_state>
24550 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20344" version="1">
24551 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
24552 </ind-def:textfilecontent54_state>
24553 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20349" version="1">
24554 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20349"/>
24555 </ind-def:textfilecontent54_state>
24556 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20353" version="1">
24557 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20353"/>
24558 </ind-def:textfilecontent54_state>
24559 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20354" version="1">
24560 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20354"/>
24561 </ind-def:textfilecontent54_state>
24562 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20351" version="1">
24563 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20351"/>
24564 </ind-def:textfilecontent54_state>
24565 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20352" version="1">
24566 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20352"/>
24567 </ind-def:textfilecontent54_state>
24568 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20070" version="1">
24569 <ind-def:subexpression operation="equals">root</ind-def:subexpression>
24570 </ind-def:textfilecontent54_state>
24571 </states>
24572 <variables>
24573 <external_variable comment="External variable for definition 20042" datatype="string" id="oval:org.open-scap.f14:var:20042" version="1"/>
24574 <external_variable comment="External variable for definition 20043" datatype="string" id="oval:org.open-scap.f14:var:20043" version="1"/>
24575 <external_variable comment="External variable for definition 20044" datatype="string" id="oval:org.open-scap.f14:var:20044" version="1"/>
24576 <external_variable comment="External variable for definition 20045" datatype="string" id="oval:org.open-scap.f14:var:20045" version="1"/>
24577 <external_variable comment="External variable for definition 20053" datatype="int" id="oval:org.open-scap.f14:var:20053" version="1"/>
24578 <external_variable comment="External variable for definition 20071" datatype="int" id="oval:org.open-scap.f14:var:20071" version="1"/>
24579 <!-- val:org.fedoraproject.f14:def:20071 -->
24580 <external_variable comment="External variable for definition 20072" datatype="string" id="oval:org.open-scap.f14:var:20072" version="1"/>
24581 <external_variable comment="External variable for definition 20073" datatype="string" id="oval:org.open-scap.f14:var:20073" version="1"/>
24582 <external_variable comment="External variable for definition 20074" datatype="string" id="oval:org.open-scap.f14:var:20074" version="1"/>
24583 <external_variable comment="External variable for definition 200781" datatype="int" id="oval:org.open-scap.f14:var:200781" version="1"/>
24584 <external_variable comment="External variable for definition 200782" datatype="int" id="oval:org.open-scap.f14:var:200782" version="1"/>
24585 <external_variable comment="External variable for definition 200783" datatype="int" id="oval:org.open-scap.f14:var:200783" version="1"/>
24586 <external_variable comment="External variable for definition 200784" datatype="int" id="oval:org.open-scap.f14:var:200784" version="1"/>
24587 <external_variable comment="External variable for definition 200785" datatype="int" id="oval:org.open-scap.f14:var:200785" version="1"/>
24588 <external_variable comment="External variable for definition 200786" datatype="int" id="oval:org.open-scap.f14:var:200786" version="1"/>
24589 <external_variable comment="External variable for definition 200787" datatype="int" id="oval:org.open-scap.f14:var:200787" version="1"/>
24590 <external_variable comment="External variable for definition 20080 deny" datatype="int" id="oval:org.open-scap.f14:var:200801" version="1"/>
24591 <external_variable comment="External variable for definition 20080 lock_time" datatype="int" id="oval:org.open-scap.f14:var:200802" version="1"/>
24592 <external_variable comment="External variable for definition 20080 unlock_time" datatype="int" id="oval:org.open-scap.f14:var:200803" version="1"/>
24593 <external_variable comment="External variable for definition 20081" datatype="string" id="oval:org.open-scap.f14:var:20081" version="1"/>
24594 <external_variable comment="External variable for definition 20082" datatype="string" id="oval:org.open-scap.f14:var:20082" version="1"/>
24595 <external_variable comment="External variable for definition 20083 Password hashing algorithm" datatype="string" id="oval:org.open-scap.f14:var:20083" version="1"/>
24596 <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"/>
24597 <external_variable comment="External variable for definition 20087 - 20090" datatype="string" id="oval:org.open-scap.f14:var:20087" version="1"/>
24598 <external_variable comment="External variable for definition 20092" datatype="string" id="oval:org.open-scap.f14:var:20092" version="1"/>
24599 <external_variable comment="External variable for definition 20094" datatype="string" id="oval:org.open-scap.f14:var:20094" version="1"/>
24600 <external_variable comment="External variable for definition 20093" datatype="string" id="oval:org.open-scap.f14:var:20093" version="1"/>
24601 <external_variable comment="External variable for definitions 20098 20100" datatype="int" id="oval:org.open-scap.f14:var:20098" version="1"/>
24602 <external_variable comment="External variable for definitions 20099" datatype="int" id="oval:org.open-scap.f14:var:20099" version="1"/>
24603 <!-- turn minutes into seconds -->
24604 <external_variable comment="External variable for definitions 200102 20103 Warning Banner" datatype="string" id="oval:org.open-scap.f14:var:20102" version="1"/>
24605 <external_variable comment="External variable for definition 20106" datatype="string" id="oval:org.open-scap.f14:var:20106" version="1"/>
24606 <external_variable comment="External variable for definition 20107" datatype="string" id="oval:org.open-scap.f14:var:20107" version="1"/>
24607 <external_variable comment="External variable for definition 20115" datatype="string" id="oval:org.open-scap.f14:var:20115" version="1"/>
24608 <external_variable comment="External variable for definition 20116" datatype="string" id="oval:org.open-scap.f14:var:20116" version="1"/>
24609 <external_variable comment="External variable for definition 20117" datatype="string" id="oval:org.open-scap.f14:var:20117" version="1"/>
24610 <external_variable comment="External variable for definition 20118" datatype="string" id="oval:org.open-scap.f14:var:20118" version="1"/>
24611 <external_variable comment="External variable for definition 20119" datatype="string" id="oval:org.open-scap.f14:var:20119" version="1"/>
24612 <external_variable comment="External variable for definition 20120" datatype="string" id="oval:org.open-scap.f14:var:20120" version="1"/>
24613 <external_variable comment="External variable for definition 20121" datatype="string" id="oval:org.open-scap.f14:var:20121" version="1"/>
24614 <external_variable comment="External variable for definition 20122" datatype="string" id="oval:org.open-scap.f14:var:20122" version="1"/>
24615 <external_variable comment="External variable for definition 20123" datatype="string" id="oval:org.open-scap.f14:var:20123" version="1"/>
24616 <external_variable comment="External variable for definition 20124" datatype="string" id="oval:org.open-scap.f14:var:20124" version="1"/>
24617 <external_variable comment="External variable for definition 20125" datatype="string" id="oval:org.open-scap.f14:var:20125" version="1"/>
24618 <external_variable comment="External variable for definition 20126" datatype="string" id="oval:org.open-scap.f14:var:20126" version="1"/>
24619 <external_variable comment="External variable for definition 20134" datatype="string" id="oval:org.open-scap.f14:var:20134" version="1"/>
24620 <external_variable comment="External variable for definition 20135" datatype="string" id="oval:org.open-scap.f14:var:20135" version="1"/>
24621 <external_variable comment="External variable for definition 20136" datatype="string" id="oval:org.open-scap.f14:var:20136" version="1"/>
24622 <external_variable comment="External variable for definition 20137" datatype="string" id="oval:org.open-scap.f14:var:20137" version="1"/>
24623 <external_variable comment="External variable for definition 20138" datatype="string" id="oval:org.open-scap.f14:var:20138" version="1"/>
24624 <external_variable comment="External variable for definition 20139" datatype="string" id="oval:org.open-scap.f14:var:20139" version="1"/>
24625 <external_variable comment="External variable for definition 20140" datatype="string" id="oval:org.open-scap.f14:var:20140" version="1"/>
24626 <external_variable comment="External variable for definition 20141" datatype="string" id="oval:org.open-scap.f14:var:20141" version="1"/>
24627 <external_variable comment="External variable for definition 20142" datatype="string" id="oval:org.open-scap.f14:var:20142" version="1"/>
24628 <external_variable comment="External variable for definition 20143" datatype="string" id="oval:org.open-scap.f14:var:20143" version="1"/>
24629 <external_variable comment="External variable for definition 20144" datatype="string" id="oval:org.open-scap.f14:var:20144" version="1"/>
24630 <external_variable comment="External variable for definition 20145" datatype="string" id="oval:org.open-scap.f14:var:20145" version="1"/>
24631 <external_variable comment="External variable for definition 20149" datatype="string" id="oval:org.open-scap.f14:var:20149" version="1"/>
24632 <external_variable comment="External variable for definition 20150" datatype="string" id="oval:org.open-scap.f14:var:20150" version="1"/>
24633 <external_variable comment="External variable for definition 20151" datatype="string" id="oval:org.open-scap.f14:var:20151" version="1"/>
24634 <external_variable comment="External variable for definition 20208" datatype="string" id="oval:org.open-scap.f14:var:20208" version="1"/>
24635 <external_variable comment="External variable for definition 20209" datatype="string" id="oval:org.open-scap.f14:var:20209" version="1"/>
24636 <external_variable comment="External variable for definition 20210" datatype="string" id="oval:org.open-scap.f14:var:20210" version="1"/>
24637 <external_variable comment="External variable for definition 20211" datatype="string" id="oval:org.open-scap.f14:var:20211" version="1"/>
24638 <external_variable comment="External variable for definition 20212" datatype="string" id="oval:org.open-scap.f14:var:20212" version="1"/>
24639 <external_variable comment="External variable for definition 20213" datatype="string" id="oval:org.open-scap.f14:var:20213" version="1"/>
24640 <external_variable comment="External variable for definition 20214 20216 20217 20218" datatype="string" id="oval:org.open-scap.f14:var:20214" version="1"/>
24641 <external_variable comment="External variable for definition 20219 20220 20221 20222 20223" datatype="string" id="oval:org.open-scap.f14:var:20219" version="1"/>
24642 <external_variable comment="External variable for definition 20224 20225 20226 20227 20228" datatype="string" id="oval:org.open-scap.f14:var:20224" version="1"/>
24643 <external_variable comment="External variable for definition 20229" datatype="string" id="oval:org.open-scap.f14:var:20229" version="1"/>
24644 <external_variable comment="External variable for definition 20230" datatype="string" id="oval:org.open-scap.f14:var:20230" version="1"/>
24645 <external_variable comment="External variable for definition 20231" datatype="string" id="oval:org.open-scap.f14:var:20231" version="1"/>
24646 <external_variable comment="External variable for ClientActiveinterval in definition 20239" datatype="int" id="oval:org.open-scap.f14:var:20239" version="1"/>
24647 <external_variable comment="External variable for ClientAliveCountMax in definition 20240" datatype="int" id="oval:org.open-scap.f14:var:20240" version="1"/>
24648 <external_variable comment="External variable for definition 20246" datatype="string" id="oval:org.open-scap.f14:var:20246" version="1"/>
24649 <external_variable comment="External variable for definition 20262" datatype="string" id="oval:org.open-scap.f14:var:20262" version="1"/>
24650 <external_variable comment="External variable for definition 20264" datatype="string" id="oval:org.open-scap.f14:var:20264" version="1"/>
24651 <external_variable comment="External variable for definition 20267" datatype="string" id="oval:org.open-scap.f14:var:20267" version="1"/>
24652 <external_variable comment="External variable for definition 20290" datatype="string" id="oval:org.open-scap.f14:var:20290" version="1"/>
24653 <external_variable comment="External variable for definition 20291" datatype="string" id="oval:org.open-scap.f14:var:20291" version="1"/>
24654 <external_variable comment="External variable for definition 20313" datatype="string" id="oval:org.open-scap.f14:var:20313" version="1"/>
24655 <external_variable comment="External variable for definition 20314" datatype="string" id="oval:org.open-scap.f14:var:20314" version="1"/>
24656 <external_variable comment="External variable for definition 20315" datatype="string" id="oval:org.open-scap.f14:var:20315" version="1"/>
24657 <external_variable comment="External variable for definition 20324" datatype="string" id="oval:org.open-scap.f14:var:20324" version="1"/>
24658 <external_variable comment="External variable for definition 20325" datatype="string" id="oval:org.open-scap.f14:var:20325" version="1"/>
24659 <external_variable comment="External variable for definition 20326" datatype="string" id="oval:org.open-scap.f14:var:20326" version="1"/>
24660 <external_variable comment="External variable for definition 20327" datatype="string" id="oval:org.open-scap.f14:var:20327" version="1"/>
24661 <external_variable comment="External variable for definition 20328" datatype="string" id="oval:org.open-scap.f14:var:20328" version="1"/>
24662 <external_variable comment="External variable for definition 20329" datatype="string" id="oval:org.open-scap.f14:var:20329" version="1"/>
24663 <external_variable comment="External variable for definition 20330" datatype="string" id="oval:org.open-scap.f14:var:20330" version="1"/>
24664 <external_variable comment="External variable for definition 20346" datatype="string" id="oval:org.open-scap.f14:var:20346" version="1"/>
24665 <external_variable comment="External variable for definition 20347" datatype="string" id="oval:org.open-scap.f14:var:20347" version="1"/>
24666 <external_variable comment="External variable for definition 20348" datatype="string" id="oval:org.open-scap.f14:var:20348" version="1"/>
24667 <external_variable comment="External variable for definition 20349" datatype="string" id="oval:org.open-scap.f14:var:20349" version="1"/>
24668 <external_variable comment="External variable for definition 20351" datatype="string" id="oval:org.open-scap.f14:var:20351" version="1"/>
24669 <external_variable comment="External variable for definition 20352" datatype="string" id="oval:org.open-scap.f14:var:20352" version="1"/>
24670 <external_variable comment="External variable for definition 20353" datatype="string" id="oval:org.open-scap.f14:var:20353" version="1"/>
24671 <external_variable comment="External variable for definition 20354" datatype="string" id="oval:org.open-scap.f14:var:20354" version="1"/>
24672 <!--
24673 <local_variable id="oval:org.open-scap.f14:var:201490" version="1" datatype="string" comment="list of paths in /etc/syslog.conf" >
24674 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201490"/>
24675 </local_variable>
24676 -->
24677 <!--
24678 <constant_variable id="oval:org.open-scap.f14:var:20107" version="1" datatype="string" comment="foo">
24679 <value>targeted</value>
24680 </constant_variable>
24681 -->
24682 <constant_variable comment="Filenames of mandatory log files" datatype="string" id="oval:org.open-scap.f14:var:201490" version="1">
24683 <value>cron</value>
24684 <value>messages</value>
24685 <value>secure</value>
24686 <value>maillog</value>
24687 <!--
24688 <value>boot.log</value>
24689 <value>faillog</value>
24690 <value>dmesg</value>
24691 <value>audit</value>
24692 <value>lastlog</value>
24693 -->
24694 </constant_variable>
24695 <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">
24696 <value>lockdev</value>
24697 <value>sendmail.sendmail</value>
24698 </constant_variable>
24699 <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">
24700 <value>write</value>
24701 <value>locate</value>
24702 <value>ssh-agent</value>
24703 <value>wall</value>
24704 <value>screen</value>
24705 <value>lockfile</value>
24706 <value>gnomine</value>
24707 <value>jwhois</value>
24708 <value>iagno</value>
24709 <value>crontab</value>
24710 </constant_variable>
24711 <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">
24712 <value>cgexec</value>
24713 <value>fusermount</value>
24714 <value>mount</value>
24715 <value>ping</value>
24716 <value>ping6</value>
24717 <value>su</value>
24718 <value>umount</value>
24719 </constant_variable>
24720 <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">
24721 <value>mount.nfs</value>
24722 <value>pam_timestamp_check</value>
24723 <value>unix_chkpwd</value>
24724 </constant_variable>
24725 <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">
24726 <value>Xorg</value>
24727 <value>at</value>
24728 <value>chage</value>
24729 <value>chfn</value>
24730 <value>chsh</value>
24731 <value>crontab</value>
24732 <value>gpasswd</value>
24733 <value>ksu</value>
24734 <value>newgrp</value>
24735 <value>passwd</value>
24736 <value>pkexec</value>
24737 <value>rcp</value>
24738 <value>rlogin</value>
24739 <value>rsh</value>
24740 <value>staprun</value>
24741 <value>sudo</value>
24742 <value>sudoedit</value>
24743 </constant_variable>
24744 <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">
24745 <value>innbind</value>
24746 <value>rnews</value>
24747 </constant_variable>
24748 <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">
24749 <value>ccreds_chkpwd</value>
24750 <value>mtr</value>
24751 <value>seunshare</value>
24752 <value>suexec</value>
24753 <value>userhelper</value>
24754 <value>usernetctl</value>
24755 <value>userisdnctl</value>
24756 </constant_variable>
24757 <constant_variable comment="Regexp pattern for xinetd services" datatype="string" id="oval:org.open-scap.f14:var:2017" version="1">
24758 <value>^[[:space:]]+disable[[:space:]]*=[[:space:]]*(yes|no)</value>
24759 </constant_variable>
24760 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:1" version="1">
24761 <substring substring_length="1" substring_start="1">
24762 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24763 </substring>
24764 </local_variable>
24765 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:2" version="1">
24766 <substring substring_length="1" substring_start="2">
24767 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24768 </substring>
24769 </local_variable>
24770 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:3" version="1">
24771 <substring substring_length="1" substring_start="3">
24772 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24773 </substring>
24774 </local_variable>
24775 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:4" version="1">
24776 <substring substring_length="1" substring_start="4">
24777 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24778 </substring>
24779 </local_variable>
24780 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:5" version="1">
24781 <substring substring_length="1" substring_start="5">
24782 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24783 </substring>
24784 </local_variable>
24785 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:6" version="1">
24786 <substring substring_length="1" substring_start="6">
24787 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24788 </substring>
24789 </local_variable>
24790 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:7" version="1">
24791 <substring substring_length="1" substring_start="7">
24792 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24793 </substring>
24794 </local_variable>
24795 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:8" version="1">
24796 <substring substring_length="1" substring_start="8">
24797 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24798 </substring>
24799 </local_variable>
24800 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:9" version="1">
24801 <substring substring_length="1" substring_start="9">
24802 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
24803 </substring>
24804 </local_variable>
24805 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:10" version="1">
24806 <substring substring_length="1" substring_start="1">
24807 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24808 </substring>
24809 </local_variable>
24810 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:11" version="1">
24811 <substring substring_length="1" substring_start="2">
24812 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24813 </substring>
24814 </local_variable>
24815 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:12" version="1">
24816 <substring substring_length="1" substring_start="3">
24817 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24818 </substring>
24819 </local_variable>
24820 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:13" version="1">
24821 <substring substring_length="1" substring_start="4">
24822 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24823 </substring>
24824 </local_variable>
24825 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:14" version="1">
24826 <substring substring_length="1" substring_start="5">
24827 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24828 </substring>
24829 </local_variable>
24830 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:15" version="1">
24831 <substring substring_length="1" substring_start="6">
24832 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24833 </substring>
24834 </local_variable>
24835 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:16" version="1">
24836 <substring substring_length="1" substring_start="7">
24837 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24838 </substring>
24839 </local_variable>
24840 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:17" version="1">
24841 <substring substring_length="1" substring_start="8">
24842 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24843 </substring>
24844 </local_variable>
24845 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:18" version="1">
24846 <substring substring_length="1" substring_start="9">
24847 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
24848 </substring>
24849 </local_variable>
24850 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:19" version="1">
24851 <substring substring_length="1" substring_start="1">
24852 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24853 </substring>
24854 </local_variable>
24855 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:20" version="1">
24856 <substring substring_length="1" substring_start="2">
24857 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24858 </substring>
24859 </local_variable>
24860 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:21" version="1">
24861 <substring substring_length="1" substring_start="3">
24862 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24863 </substring>
24864 </local_variable>
24865 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:22" version="1">
24866 <substring substring_length="1" substring_start="4">
24867 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24868 </substring>
24869 </local_variable>
24870 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:23" version="1">
24871 <substring substring_length="1" substring_start="5">
24872 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24873 </substring>
24874 </local_variable>
24875 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:24" version="1">
24876 <substring substring_length="1" substring_start="6">
24877 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24878 </substring>
24879 </local_variable>
24880 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:25" version="1">
24881 <substring substring_length="1" substring_start="7">
24882 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24883 </substring>
24884 </local_variable>
24885 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:26" version="1">
24886 <substring substring_length="1" substring_start="8">
24887 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24888 </substring>
24889 </local_variable>
24890 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:27" version="1">
24891 <substring substring_length="1" substring_start="9">
24892 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
24893 </substring>
24894 </local_variable>
24895 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:28" version="1">
24896 <substring substring_length="1" substring_start="1">
24897 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24898 </substring>
24899 </local_variable>
24900 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:29" version="1">
24901 <substring substring_length="1" substring_start="2">
24902 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24903 </substring>
24904 </local_variable>
24905 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:30" version="1">
24906 <substring substring_length="1" substring_start="3">
24907 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24908 </substring>
24909 </local_variable>
24910 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:31" version="1">
24911 <substring substring_length="1" substring_start="4">
24912 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24913 </substring>
24914 </local_variable>
24915 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:32" version="1">
24916 <substring substring_length="1" substring_start="5">
24917 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24918 </substring>
24919 </local_variable>
24920 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:33" version="1">
24921 <substring substring_length="1" substring_start="6">
24922 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24923 </substring>
24924 </local_variable>
24925 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:34" version="1">
24926 <substring substring_length="1" substring_start="7">
24927 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24928 </substring>
24929 </local_variable>
24930 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:35" version="1">
24931 <substring substring_length="1" substring_start="8">
24932 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24933 </substring>
24934 </local_variable>
24935 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:36" version="1">
24936 <substring substring_length="1" substring_start="9">
24937 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
24938 </substring>
24939 </local_variable>
24940 <local_variable comment="List of user ids" datatype="int" id="oval:org.open-scap.f14:var:20050" version="1">
24941 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200501"/>
24942 </local_variable>
24943 <local_variable comment="List of group ids" datatype="int" id="oval:org.open-scap.f14:var:20051" version="1">
24944 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200511"/>
24945 </local_variable>
24946 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200820" version="1">
24947 <substring substring_length="1" substring_start="1">
24948 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24949 </substring>
24950 </local_variable>
24951 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200821" version="1">
24952 <substring substring_length="1" substring_start="4">
24953 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24954 </substring>
24955 </local_variable>
24956 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200822" version="1">
24957 <substring substring_length="1" substring_start="5">
24958 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24959 </substring>
24960 </local_variable>
24961 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200823" version="1">
24962 <substring substring_length="1" substring_start="6">
24963 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24964 </substring>
24965 </local_variable>
24966 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200824" version="1">
24967 <substring substring_length="1" substring_start="7">
24968 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24969 </substring>
24970 </local_variable>
24971 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200825" version="1">
24972 <substring substring_length="1" substring_start="8">
24973 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24974 </substring>
24975 </local_variable>
24976 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200826" version="1">
24977 <substring substring_length="1" substring_start="9">
24978 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24979 </substring>
24980 </local_variable>
24981 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200827" version="1">
24982 <substring substring_length="1" substring_start="10">
24983 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24984 </substring>
24985 </local_variable>
24986 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200828" version="1">
24987 <substring substring_length="1" substring_start="11">
24988 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24989 </substring>
24990 </local_variable>
24991 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200829" version="1">
24992 <substring substring_length="1" substring_start="12">
24993 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
24994 </substring>
24995 </local_variable>
24996 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:37" version="1">
24997 <substring substring_length="1" substring_start="1">
24998 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
24999 </substring>
25000 </local_variable>
25001 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:38" version="1">
25002 <substring substring_length="1" substring_start="2">
25003 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25004 </substring>
25005 </local_variable>
25006 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:39" version="1">
25007 <substring substring_length="1" substring_start="3">
25008 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25009 </substring>
25010 </local_variable>
25011 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:40" version="1">
25012 <substring substring_length="1" substring_start="4">
25013 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25014 </substring>
25015 </local_variable>
25016 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:41" version="1">
25017 <substring substring_length="1" substring_start="5">
25018 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25019 </substring>
25020 </local_variable>
25021 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:42" version="1">
25022 <substring substring_length="1" substring_start="6">
25023 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25024 </substring>
25025 </local_variable>
25026 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:43" version="1">
25027 <substring substring_length="1" substring_start="7">
25028 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25029 </substring>
25030 </local_variable>
25031 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:44" version="1">
25032 <substring substring_length="1" substring_start="8">
25033 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25034 </substring>
25035 </local_variable>
25036 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:45" version="1">
25037 <substring substring_length="1" substring_start="9">
25038 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25039 </substring>
25040 </local_variable>
25041 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201510" version="1">
25042 <substring substring_length="1" substring_start="1">
25043 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25044 </substring>
25045 </local_variable>
25046 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201511" version="1">
25047 <substring substring_length="1" substring_start="2">
25048 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25049 </substring>
25050 </local_variable>
25051 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201512" version="1">
25052 <substring substring_length="1" substring_start="3">
25053 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25054 </substring>
25055 </local_variable>
25056 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201513" version="1">
25057 <substring substring_length="1" substring_start="4">
25058 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25059 </substring>
25060 </local_variable>
25061 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201514" version="1">
25062 <substring substring_length="1" substring_start="5">
25063 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25064 </substring>
25065 </local_variable>
25066 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201515" version="1">
25067 <substring substring_length="1" substring_start="6">
25068 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25069 </substring>
25070 </local_variable>
25071 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201516" version="1">
25072 <substring substring_length="1" substring_start="7">
25073 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25074 </substring>
25075 </local_variable>
25076 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201517" version="1">
25077 <substring substring_length="1" substring_start="8">
25078 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25079 </substring>
25080 </local_variable>
25081 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201518" version="1">
25082 <substring substring_length="1" substring_start="9">
25083 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25084 </substring>
25085 </local_variable>
25086 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:46" version="1">
25087 <substring substring_length="1" substring_start="1">
25088 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25089 </substring>
25090 </local_variable>
25091 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:47" version="1">
25092 <substring substring_length="1" substring_start="2">
25093 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25094 </substring>
25095 </local_variable>
25096 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:48" version="1">
25097 <substring substring_length="1" substring_start="3">
25098 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25099 </substring>
25100 </local_variable>
25101 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:49" version="1">
25102 <substring substring_length="1" substring_start="4">
25103 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25104 </substring>
25105 </local_variable>
25106 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:50" version="1">
25107 <substring substring_length="1" substring_start="5">
25108 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25109 </substring>
25110 </local_variable>
25111 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:51" version="1">
25112 <substring substring_length="1" substring_start="6">
25113 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25114 </substring>
25115 </local_variable>
25116 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:52" version="1">
25117 <substring substring_length="1" substring_start="7">
25118 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25119 </substring>
25120 </local_variable>
25121 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:53" version="1">
25122 <substring substring_length="1" substring_start="8">
25123 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25124 </substring>
25125 </local_variable>
25126 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:54" version="1">
25127 <substring substring_length="1" substring_start="9">
25128 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25129 </substring>
25130 </local_variable>
25131 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:55" version="1">
25132 <substring substring_length="1" substring_start="1">
25133 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25134 </substring>
25135 </local_variable>
25136 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:56" version="1">
25137 <substring substring_length="1" substring_start="2">
25138 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25139 </substring>
25140 </local_variable>
25141 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:57" version="1">
25142 <substring substring_length="1" substring_start="3">
25143 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25144 </substring>
25145 </local_variable>
25146 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:58" version="1">
25147 <substring substring_length="1" substring_start="4">
25148 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25149 </substring>
25150 </local_variable>
25151 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:59" version="1">
25152 <substring substring_length="1" substring_start="5">
25153 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25154 </substring>
25155 </local_variable>
25156 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:60" version="1">
25157 <substring substring_length="1" substring_start="6">
25158 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25159 </substring>
25160 </local_variable>
25161 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:61" version="1">
25162 <substring substring_length="1" substring_start="7">
25163 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25164 </substring>
25165 </local_variable>
25166 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:62" version="1">
25167 <substring substring_length="1" substring_start="8">
25168 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25169 </substring>
25170 </local_variable>
25171 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:63" version="1">
25172 <substring substring_length="1" substring_start="9">
25173 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25174 </substring>
25175 </local_variable>
25176 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:64" version="1">
25177 <substring substring_length="1" substring_start="1">
25178 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25179 </substring>
25180 </local_variable>
25181 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:65" version="1">
25182 <substring substring_length="1" substring_start="2">
25183 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25184 </substring>
25185 </local_variable>
25186 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:66" version="1">
25187 <substring substring_length="1" substring_start="3">
25188 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25189 </substring>
25190 </local_variable>
25191 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:67" version="1">
25192 <substring substring_length="1" substring_start="4">
25193 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25194 </substring>
25195 </local_variable>
25196 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:68" version="1">
25197 <substring substring_length="1" substring_start="5">
25198 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25199 </substring>
25200 </local_variable>
25201 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:69" version="1">
25202 <substring substring_length="1" substring_start="6">
25203 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25204 </substring>
25205 </local_variable>
25206 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:70" version="1">
25207 <substring substring_length="1" substring_start="7">
25208 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25209 </substring>
25210 </local_variable>
25211 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:71" version="1">
25212 <substring substring_length="1" substring_start="8">
25213 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25214 </substring>
25215 </local_variable>
25216 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:72" version="1">
25217 <substring substring_length="1" substring_start="9">
25218 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25219 </substring>
25220 </local_variable>
25221 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:73" version="1">
25222 <substring substring_length="1" substring_start="1">
25223 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25224 </substring>
25225 </local_variable>
25226 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:74" version="1">
25227 <substring substring_length="1" substring_start="2">
25228 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25229 </substring>
25230 </local_variable>
25231 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:75" version="1">
25232 <substring substring_length="1" substring_start="3">
25233 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25234 </substring>
25235 </local_variable>
25236 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:76" version="1">
25237 <substring substring_length="1" substring_start="4">
25238 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25239 </substring>
25240 </local_variable>
25241 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:77" version="1">
25242 <substring substring_length="1" substring_start="5">
25243 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25244 </substring>
25245 </local_variable>
25246 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:78" version="1">
25247 <substring substring_length="1" substring_start="6">
25248 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25249 </substring>
25250 </local_variable>
25251 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:79" version="1">
25252 <substring substring_length="1" substring_start="7">
25253 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25254 </substring>
25255 </local_variable>
25256 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:80" version="1">
25257 <substring substring_length="1" substring_start="8">
25258 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25259 </substring>
25260 </local_variable>
25261 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:81" version="1">
25262 <substring substring_length="1" substring_start="9">
25263 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25264 </substring>
25265 </local_variable>
25266 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:82" version="1">
25267 <substring substring_length="1" substring_start="1">
25268 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25269 </substring>
25270 </local_variable>
25271 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:83" version="1">
25272 <substring substring_length="1" substring_start="2">
25273 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25274 </substring>
25275 </local_variable>
25276 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:84" version="1">
25277 <substring substring_length="1" substring_start="3">
25278 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25279 </substring>
25280 </local_variable>
25281 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:85" version="1">
25282 <substring substring_length="1" substring_start="4">
25283 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25284 </substring>
25285 </local_variable>
25286 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:86" version="1">
25287 <substring substring_length="1" substring_start="5">
25288 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25289 </substring>
25290 </local_variable>
25291 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:87" version="1">
25292 <substring substring_length="1" substring_start="6">
25293 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25294 </substring>
25295 </local_variable>
25296 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:88" version="1">
25297 <substring substring_length="1" substring_start="7">
25298 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25299 </substring>
25300 </local_variable>
25301 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:89" version="1">
25302 <substring substring_length="1" substring_start="8">
25303 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25304 </substring>
25305 </local_variable>
25306 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:90" version="1">
25307 <substring substring_length="1" substring_start="9">
25308 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25309 </substring>
25310 </local_variable>
25311 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:91" version="1">
25312 <substring substring_length="1" substring_start="1">
25313 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25314 </substring>
25315 </local_variable>
25316 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:92" version="1">
25317 <substring substring_length="1" substring_start="2">
25318 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25319 </substring>
25320 </local_variable>
25321 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:93" version="1">
25322 <substring substring_length="1" substring_start="3">
25323 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25324 </substring>
25325 </local_variable>
25326 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:94" version="1">
25327 <substring substring_length="1" substring_start="4">
25328 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25329 </substring>
25330 </local_variable>
25331 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:95" version="1">
25332 <substring substring_length="1" substring_start="5">
25333 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25334 </substring>
25335 </local_variable>
25336 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:96" version="1">
25337 <substring substring_length="1" substring_start="6">
25338 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25339 </substring>
25340 </local_variable>
25341 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:97" version="1">
25342 <substring substring_length="1" substring_start="7">
25343 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25344 </substring>
25345 </local_variable>
25346 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:98" version="1">
25347 <substring substring_length="1" substring_start="8">
25348 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25349 </substring>
25350 </local_variable>
25351 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:99" version="1">
25352 <substring substring_length="1" substring_start="9">
25353 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25354 </substring>
25355 </local_variable>
25356 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:100" version="1">
25357 <substring substring_length="1" substring_start="1">
25358 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25359 </substring>
25360 </local_variable>
25361 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:101" version="1">
25362 <substring substring_length="1" substring_start="2">
25363 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25364 </substring>
25365 </local_variable>
25366 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:102" version="1">
25367 <substring substring_length="1" substring_start="3">
25368 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25369 </substring>
25370 </local_variable>
25371 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:103" version="1">
25372 <substring substring_length="1" substring_start="4">
25373 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25374 </substring>
25375 </local_variable>
25376 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:104" version="1">
25377 <substring substring_length="1" substring_start="5">
25378 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25379 </substring>
25380 </local_variable>
25381 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:105" version="1">
25382 <substring substring_length="1" substring_start="6">
25383 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25384 </substring>
25385 </local_variable>
25386 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:106" version="1">
25387 <substring substring_length="1" substring_start="7">
25388 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25389 </substring>
25390 </local_variable>
25391 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:107" version="1">
25392 <substring substring_length="1" substring_start="8">
25393 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25394 </substring>
25395 </local_variable>
25396 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:108" version="1">
25397 <substring substring_length="1" substring_start="9">
25398 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25399 </substring>
25400 </local_variable>
25401 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:109" version="1">
25402 <substring substring_length="1" substring_start="1">
25403 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25404 </substring>
25405 </local_variable>
25406 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:110" version="1">
25407 <substring substring_length="1" substring_start="2">
25408 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25409 </substring>
25410 </local_variable>
25411 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:111" version="1">
25412 <substring substring_length="1" substring_start="3">
25413 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25414 </substring>
25415 </local_variable>
25416 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:112" version="1">
25417 <substring substring_length="1" substring_start="4">
25418 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25419 </substring>
25420 </local_variable>
25421 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:113" version="1">
25422 <substring substring_length="1" substring_start="5">
25423 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25424 </substring>
25425 </local_variable>
25426 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:114" version="1">
25427 <substring substring_length="1" substring_start="6">
25428 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25429 </substring>
25430 </local_variable>
25431 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:115" version="1">
25432 <substring substring_length="1" substring_start="7">
25433 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25434 </substring>
25435 </local_variable>
25436 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:116" version="1">
25437 <substring substring_length="1" substring_start="8">
25438 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25439 </substring>
25440 </local_variable>
25441 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:117" version="1">
25442 <substring substring_length="1" substring_start="9">
25443 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25444 </substring>
25445 </local_variable>
25446 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:118" version="1">
25447 <substring substring_length="1" substring_start="1">
25448 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25449 </substring>
25450 </local_variable>
25451 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:119" version="1">
25452 <substring substring_length="1" substring_start="2">
25453 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25454 </substring>
25455 </local_variable>
25456 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:120" version="1">
25457 <substring substring_length="1" substring_start="3">
25458 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25459 </substring>
25460 </local_variable>
25461 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:121" version="1">
25462 <substring substring_length="1" substring_start="4">
25463 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25464 </substring>
25465 </local_variable>
25466 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:122" version="1">
25467 <substring substring_length="1" substring_start="5">
25468 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25469 </substring>
25470 </local_variable>
25471 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:123" version="1">
25472 <substring substring_length="1" substring_start="6">
25473 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25474 </substring>
25475 </local_variable>
25476 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:124" version="1">
25477 <substring substring_length="1" substring_start="7">
25478 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25479 </substring>
25480 </local_variable>
25481 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:125" version="1">
25482 <substring substring_length="1" substring_start="8">
25483 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25484 </substring>
25485 </local_variable>
25486 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:126" version="1">
25487 <substring substring_length="1" substring_start="9">
25488 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
25489 </substring>
25490 </local_variable>
25491 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:127" version="1">
25492 <substring substring_length="1" substring_start="1">
25493 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25494 </substring>
25495 </local_variable>
25496 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:128" version="1">
25497 <substring substring_length="1" substring_start="2">
25498 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25499 </substring>
25500 </local_variable>
25501 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:129" version="1">
25502 <substring substring_length="1" substring_start="3">
25503 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25504 </substring>
25505 </local_variable>
25506 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:130" version="1">
25507 <substring substring_length="1" substring_start="4">
25508 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25509 </substring>
25510 </local_variable>
25511 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:131" version="1">
25512 <substring substring_length="1" substring_start="5">
25513 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25514 </substring>
25515 </local_variable>
25516 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:132" version="1">
25517 <substring substring_length="1" substring_start="6">
25518 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25519 </substring>
25520 </local_variable>
25521 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:133" version="1">
25522 <substring substring_length="1" substring_start="7">
25523 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25524 </substring>
25525 </local_variable>
25526 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:134" version="1">
25527 <substring substring_length="1" substring_start="8">
25528 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25529 </substring>
25530 </local_variable>
25531 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:135" version="1">
25532 <substring substring_length="1" substring_start="9">
25533 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
25534 </substring>
25535 </local_variable>
25536 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:136" version="1">
25537 <substring substring_length="1" substring_start="1">
25538 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25539 </substring>
25540 </local_variable>
25541 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:137" version="1">
25542 <substring substring_length="1" substring_start="2">
25543 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25544 </substring>
25545 </local_variable>
25546 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:138" version="1">
25547 <substring substring_length="1" substring_start="3">
25548 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25549 </substring>
25550 </local_variable>
25551 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:139" version="1">
25552 <substring substring_length="1" substring_start="4">
25553 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25554 </substring>
25555 </local_variable>
25556 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:140" version="1">
25557 <substring substring_length="1" substring_start="5">
25558 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25559 </substring>
25560 </local_variable>
25561 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:141" version="1">
25562 <substring substring_length="1" substring_start="6">
25563 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25564 </substring>
25565 </local_variable>
25566 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:142" version="1">
25567 <substring substring_length="1" substring_start="7">
25568 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25569 </substring>
25570 </local_variable>
25571 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:143" version="1">
25572 <substring substring_length="1" substring_start="8">
25573 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25574 </substring>
25575 </local_variable>
25576 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:144" version="1">
25577 <substring substring_length="1" substring_start="9">
25578 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
25579 </substring>
25580 </local_variable>
25581 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:145" version="1">
25582 <substring substring_length="1" substring_start="1">
25583 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25584 </substring>
25585 </local_variable>
25586 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:146" version="1">
25587 <substring substring_length="1" substring_start="2">
25588 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25589 </substring>
25590 </local_variable>
25591 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:147" version="1">
25592 <substring substring_length="1" substring_start="3">
25593 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25594 </substring>
25595 </local_variable>
25596 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:148" version="1">
25597 <substring substring_length="1" substring_start="4">
25598 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25599 </substring>
25600 </local_variable>
25601 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:149" version="1">
25602 <substring substring_length="1" substring_start="5">
25603 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25604 </substring>
25605 </local_variable>
25606 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:150" version="1">
25607 <substring substring_length="1" substring_start="6">
25608 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25609 </substring>
25610 </local_variable>
25611 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:151" version="1">
25612 <substring substring_length="1" substring_start="7">
25613 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25614 </substring>
25615 </local_variable>
25616 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:152" version="1">
25617 <substring substring_length="1" substring_start="8">
25618 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25619 </substring>
25620 </local_variable>
25621 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:153" version="1">
25622 <substring substring_length="1" substring_start="9">
25623 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
25624 </substring>
25625 </local_variable>
25626 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:160" version="1">
25627 <substring substring_length="1" substring_start="1">
25628 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25629 </substring>
25630 </local_variable>
25631 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:161" version="1">
25632 <substring substring_length="1" substring_start="2">
25633 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25634 </substring>
25635 </local_variable>
25636 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:162" version="1">
25637 <substring substring_length="1" substring_start="3">
25638 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25639 </substring>
25640 </local_variable>
25641 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:163" version="1">
25642 <substring substring_length="1" substring_start="4">
25643 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25644 </substring>
25645 </local_variable>
25646 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:164" version="1">
25647 <substring substring_length="1" substring_start="5">
25648 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25649 </substring>
25650 </local_variable>
25651 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:165" version="1">
25652 <substring substring_length="1" substring_start="6">
25653 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25654 </substring>
25655 </local_variable>
25656 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:166" version="1">
25657 <substring substring_length="1" substring_start="7">
25658 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25659 </substring>
25660 </local_variable>
25661 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:167" version="1">
25662 <substring substring_length="1" substring_start="8">
25663 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25664 </substring>
25665 </local_variable>
25666 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:168" version="1">
25667 <substring substring_length="1" substring_start="9">
25668 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
25669 </substring>
25670 </local_variable>
25671 <local_variable comment="Split the PATH on the : delimiter" datatype="string" id="oval:org.open-scap.f14:var:200855" version="1">
25672 <split delimiter=":">
25673 <object_component item_field="value" object_ref="oval:org.open-scap.f14:obj:20085"/>
25674 </split>
25675 </local_variable>
25676 <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">
25677 <concat>
25678 <literal_component>^</literal_component>
25679 <variable_component var_ref="oval:org.open-scap.f14:var:20208"/>
25680 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25681 </concat>
25682 </local_variable>
25683 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202082" version="1">
25684 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202081"/>
25685 </local_variable>
25686 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202091" version="1">
25687 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202091"/>
25688 </local_variable>
25689 <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">
25690 <concat>
25691 <literal_component>^</literal_component>
25692 <variable_component var_ref="oval:org.open-scap.f14:var:20211"/>
25693 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25694 </concat>
25695 </local_variable>
25696 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202112" version="1">
25697 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202111"/>
25698 </local_variable>
25699 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202121" version="1">
25700 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202121"/>
25701 </local_variable>
25702 <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">
25703 <concat>
25704 <literal_component>^</literal_component>
25705 <variable_component var_ref="oval:org.open-scap.f14:var:20214"/>
25706 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25707 </concat>
25708 </local_variable>
25709 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202142" version="1">
25710 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202141"/>
25711 </local_variable>
25712 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202191" version="1">
25713 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202191"/>
25714 </local_variable>
25715 <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">
25716 <concat>
25717 <literal_component>^</literal_component>
25718 <variable_component var_ref="oval:org.open-scap.f14:var:20229"/>
25719 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25720 </concat>
25721 </local_variable>
25722 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202292" version="1">
25723 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202291"/>
25724 </local_variable>
25725 <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">
25726 <concat>
25727 <literal_component>^</literal_component>
25728 <variable_component var_ref="oval:org.open-scap.f14:var:20230"/>
25729 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25730 </concat>
25731 </local_variable>
25732 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202302" version="1">
25733 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202301"/>
25734 </local_variable>
25735 <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">
25736 <concat>
25737 <literal_component>^</literal_component>
25738 <variable_component var_ref="oval:org.open-scap.f14:var:20081"/>
25739 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25740 </concat>
25741 </local_variable>
25742 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:200812" version="1">
25743 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200811"/>
25744 </local_variable>
25745 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201491" version="1">
25746 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:2014911"/>
25747 </local_variable>
25748 <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">
25749 <concat>
25750 <literal_component>^</literal_component>
25751 <variable_component var_ref="oval:org.open-scap.f14:var:20150"/>
25752 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
25753 </concat>
25754 </local_variable>
25755 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201502" version="1">
25756 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201501"/>
25757 </local_variable>
25758 </variables>
25759 </oval_definitions>
25760 </ds:component>
25761 </ds:data-stream-collection>