Debian Codegraph @

tests/DS/eval_simple/sds.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_scap-fedora14-xccdf.xml" schematron-version="1.2"><ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_scap-fedora14-xccdf.xml" scap-version="1.2" use-case="OTHER"><ds:checklists><ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-xccdf.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-xccdf.xml"><cat:catalog><cat:uri name="scap-fedora14-oval.xml" uri="#scap_org.open-scap_cref_scap-fedora14-oval.xml"/></cat:catalog></ds:component-ref></ds:checklists><ds:checks><ds:component-ref id="scap_org.open-scap_cref_scap-fedora14-oval.xml" xlink:href="#scap_org.open-scap_comp_scap-fedora14-oval.xml"/></ds:checks></ds:data-stream><ds:component id="scap_org.open-scap_comp_scap-fedora14-xccdf.xml" timestamp="2012-07-20T12:22:58"><xccdf:Benchmark xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_cdf_benchmark_scap-fedora14-xccdf.xml" resolved="1" style="SCAP_1.2" xml:lang="en" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.2 http://scap.nist.gov/schema/xccdf/1.2/xccdf_1.2.xsd http://cpe.mitre.org/dictionary/2.0 http://scap.nist.gov/schema/cpe/2.3/cpe-dictionary_2.3.xsd">
3 <xccdf:status date="2011-10-12">draft</xccdf:status>
4 <xccdf:title>Example of SCAP Security Guidance</xccdf:title>
5 <xccdf:description>This example security guidance has been created to demonstrate SCAP functionality
6 on Linux.</xccdf:description>
7 <xccdf:version>0.1</xccdf:version>
8 <xccdf:model system="urn:xccdf:scoring:default"/>
9 <xccdf:model system="urn:xccdf:scoring:flat"/>
10 <!-- ==================================================================================================== -->
11 <!-- ============================================ PROFILES ============================================= -->
12 <!-- ==================================================================================================== -->
13 <!-- -->
14 <!-- These profiles outline the specific guidance outlined by this document. -->
15 <!-- Each defines the set of XCCDF rules that are applicable for that guidance as well as specific values -->
16 <!-- to be used when determining complinace. -->
17 <!-- -->
18 <xccdf:Profile abstract="false" id="xccdf_cdf_profile_F14-Default">
19 <xccdf:title xml:lang="en">Default install settings</xccdf:title>
20 <xccdf:description xml:lang="en">This profile is an example policy that simply checks if some of Fedora 14 default
21 install settings have been modified. It is not comprehensive nor checks security hardening. It is just for testing
22 purposes.</xccdf:description>
23 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false"/>
24 <!-- DONE -->
25 <!-- Separate Partition or Logical Volume for /tmp -->
26 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false"/>
27 <!-- DONE -->
28 <!-- Minimum size of /tmp -->
29 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false"/>
30 <!-- DONE -->
31 <!-- Separate Partition or Logical Volume for /var -->
32 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false"/>
33 <!-- DONE -->
34 <!-- Minimum size of /var -->
35 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false"/>
36 <!-- DONE -->
37 <!-- Separate Partition or Logical Volume for /var/log -->
38 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false"/>
39 <!-- DONE -->
40 <!-- Separate Partition or Logical Volume for /var/log/audit -->
41 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false"/>
42 <!-- DONE -->
43 <!-- Separate Partition or Logical Volume for /home -->
44 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="true"/>
45 <!-- READY+ -->
46 <!-- Ensure that GPG Key for Fedora is installed -->
47 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false"/>
48 <!-- DONE -->
49 <!-- Disable the yum-updatesd daemon -->
50 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false"/>
51 <!-- DONE -->
52 <!-- Automatic Update Retrieval should be scheduled with Cron -->
53 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="true"/>
54 <!-- READY+ -->
55 <!-- Ensure gpgcheck is Globally Activated -->
56 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="true"/>
57 <!-- READY+ -->
58 <!-- Ensure Package Signature Checking is Not Disabled For Any Repos -->
59 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false"/>
60 <!-- DONE -->
61 <!-- Ensure Repodata Signature Checking is Globally Activated -->
62 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="true"/>
63 <!-- READY+ -->
64 <!-- Ensure Repodata Signature Checking is Not Disabled For Any Repos -->
65 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false"/>
66 <!-- DONE -->
67 <!-- Install AIDE -->
68 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.1.4.a" selected="false"/>
69 <!-- DONE -->
70 <!-- run AIDE (integrity check) periodically -->
71 <xccdf:select idref="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false"/>
72 <!-- DONE (unknown)-->
73 <!-- Verify Package Integrity Using RPM -->
74 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.1.a" selected="false"/>
75 <!-- DONE -->
76 <!-- Add nodev Option to Non-Root Local Partitions -->
77 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false"/>
78 <!-- DONE (unknown)-->
79 <!-- Add nodev Option to Removable Media Partitions -->
80 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false"/>
81 <!-- DONE (unknown)-->
82 <!-- Add noexec Option to Removable Media Partitions -->
83 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false"/>
84 <!-- DONE (unknown)-->
85 <!-- Add nosuid Option to Removable Media Partitions -->
86 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false"/>
87 <!-- DONE -->
88 <!-- Disable Modprobe Loading of USB Storage Driver -->
89 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false"/>
90 <!-- DONE -->
91 <!-- Remove USB Storage Driver -->
92 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false"/>
93 <!-- DONE -->
94 <!-- Disable Kernel Support for USB via Bootloader Configuration (will disable all USB devices including keyboards, mice, etc) -->
95 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false"/>
96 <!-- READY (unknown)-->
97 <!-- Disable Booting from USB Devices -->
98 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false"/>
99 <!-- DONE -->
100 <!-- Disable the Automounter if Possible -->
101 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false"/>
102 <!-- BUG? -->
103 <!-- Disable GNOME Automounting if Possible -->
104 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false"/>
105 <!-- READY -->
106 <!-- Disable Mounting of cramfs -->
107 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false"/>
108 <!-- READY -->
109 <!-- Disable Mounting of freevxfs -->
110 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false"/>
111 <!-- READY -->
112 <!-- Disable Mounting of jffs2 -->
113 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false"/>
114 <!-- READY -->
115 <!-- Disable Mounting of hfs -->
116 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false"/>
117 <!-- READY -->
118 <!-- Disable Mounting of hfsplus -->
119 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false"/>
120 <!-- READY -->
121 <!-- Disable Mounting of squashfs -->
122 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false"/>
123 <!-- READY -->
124 <!-- Disable Mounting of udf -->
125 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.a" selected="true"/>
126 <!-- READY+ -->
127 <!-- Verify user who owns '/etc/shadow' file -->
128 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.b" selected="true"/>
129 <!-- READY+ -->
130 <!-- Verify group who owns '/etc/shadow' file -->
131 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.c" selected="true"/>
132 <!-- READY+ -->
133 <!-- Verify user who owns '/etc/group' file -->
134 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.d" selected="true"/>
135 <!-- READY+ -->
136 <!-- Verify group who owns '/etc/group' file -->
137 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.e" selected="true"/>
138 <!-- READY+ -->
139 <!-- Verify user who owns '/etc/gshadow' file -->
140 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.f" selected="true"/>
141 <!-- READY+ -->
142 <!-- Verify group who owns '/etc/gshadow' file -->
143 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.g" selected="true"/>
144 <!-- READY+ -->
145 <!-- Verify user who owns '/etc/passwd' file -->
146 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.h" selected="true"/>
147 <!-- READY+ -->
148 <!-- Verify group who owns '/etc/passwd' file -->
149 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.i" selected="true"/>
150 <!-- READY+ -->
151 <!-- Verify permissions on '/etc/shadow' file -->
152 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.j" selected="true"/>
153 <!-- READY+ -->
154 <!-- Verify permissions on '/etc/group' file -->
155 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.k" selected="true"/>
156 <!-- READY+ -->
157 <!-- Verify permissions on '/etc/gshadow' file -->
158 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.1.l" selected="true"/>
159 <!-- READY+ -->
160 <!-- Verify permissions on '/etc/passwd' file -->
161 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.2.a" selected="true"/>
162 <!-- READY+ -->
163 <!-- Verify that All World-Writable Directories Have Sticky Bits Set -->
164 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.3.a" selected="true"/>
165 <!-- READY+ -->
166 <!-- Find Unauthorized World-Writable Files -->
167 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.a" selected="true"/>
168 <!-- READY+ -->
169 <!-- Find Unauthorized SGID System Executables -->
170 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.4.b" selected="true"/>
171 <!-- READY+ -->
172 <!-- Find Unauthorized SUID System Executables -->
173 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.a" selected="true"/>
174 <!-- READY+ -->
175 <!-- Find files unowned by a user -->
176 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.5.b" selected="true"/>
177 <!-- READY+ -->
178 <!-- Find files unowned by a group -->
179 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.3.6.a" selected="true"/>
180 <!-- READY+ -->
181 <!-- Find world writable directories not owned by a system account-->
182 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.1.a" selected="true"/>
183 <!-- READY+ -->
184 <!-- Set Daemon umask -->
185 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false"/>
186 <!-- DONE -->
187 <!-- Disable Core Dumps for all users -->
188 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.2.b" selected="true"/>
189 <!-- READY+ -->
190 <!-- Disable Core Dumps for SUID programs -->
191 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.a" selected="true"/>
192 <!-- READY+ -->
193 <!-- Enable ExecShield -->
194 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.3.b" selected="true"/>
195 <!-- READY+ -->
196 <!-- Enable ExecShield randomized placement of virtual memory regions -->
197 <xccdf:select idref="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false"/>
198 <!-- DONE (unknown) -->
199 <!-- Enable NX or XD Support in the BIOS -->
200 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false"/>
201 <!-- DONE -->
202 <!-- Restrict Root Logins to System Console -->
203 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false"/>
204 <!-- DONE -->
205 <!-- Restrict virtual console Root Logins -->
206 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false"/>
207 <!-- DONE -->
208 <!-- Restrict deprecated virtual console Root Logins -->
209 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.1.d" selected="true"/>
210 <!-- READY+ -->
211 <!-- Restrict serial port Root Logins -->
212 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false"/>
213 <!-- DONE -->
214 <!-- Limit su Access to the Root Account -->
215 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false"/>
216 <!-- DONE -->
217 <!-- Limit su Access to the wheel group -->
218 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false"/>
219 <!-- DONE -->
220 <!-- Configure sudo to Improve Auditing of Root Access -->
221 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false"/>
222 <!-- DONE -->
223 <!-- Block Shell and Login Access for Non-Root System Accounts -->
224 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="true"/>
225 <!-- READY+ -->
226 <!-- Verify that No Accounts Have Empty Password Fields -->
227 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="true"/>
228 <!-- READY+ -->
229 <!-- Verify that all Account Password Hashes are Shadowed -->
230 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.6.a" selected="true"/>
231 <!-- READY+ -->
232 <!-- Verify that No Non-Root Accounts Have UID 0 -->
233 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.a" selected="true"/>
234 <!-- READY+ -->
235 <!-- Set password minimum length -->
236 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false"/>
237 <!-- DONE -->
238 <!-- Set minimum password age -->
239 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false"/>
240 <!-- DONE -->
241 <!-- Set maximum password age -->
242 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.7.d" selected="true"/>
243 <!-- READY+ -->
244 <!-- Set password warn age -->
245 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false"/>
246 <!-- DONE -->
247 <!-- Remove Legacy + Entries from /etc/shadow -->
248 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false"/>
249 <!-- DONE -->
250 <!-- Remove Legacy + Entries from /etc/group -->
251 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false"/>
252 <!-- DONE -->
253 <!-- Remove Legacy + Entries from /etc/passwd -->
254 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false"/>
255 <!-- DONE -->
256 <!-- Set Password Quality Requirements using pam_cracklib -->
257 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false"/>
258 <!-- DONE -->
259 <!-- Set Password Quality Requirements using pam_passwdqc -->
260 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false"/>
261 <!-- DONE -->
262 <!-- Set Lockouts for Failed Password Attempts -->
263 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false"/>
264 <!-- DONE (unknown) -->
265 <!-- Do not leak information on authorization failure -->
266 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false"/>
267 <!-- DONE -->
268 <!-- Restrict Execution of userhelper to Console Users -->
269 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false"/>
270 <!-- DONE -->
271 <!-- Restrict File permissions of userhelper -->
272 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.5.a" selected="true"/>
273 <!-- READY+ -->
274 <!-- Set Password hashing algorithm -->
275 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false"/>
276 <!-- DONE -->
277 <!-- Limit password reuse -->
278 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.a" selected="true"/>
279 <!-- READY+ -->
280 <!-- Ensure that No Dangerous Directories Exist in Root's Path -->
281 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.1.b" selected="true"/>
282 <!-- READY+ -->
283 <!-- Write permissions are disabled for group and other in all directories in Root's Path -->
284 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.2.a" selected="true"/>
285 <!-- READY+ -->
286 <!-- Ensure that User Home Directories are not Group-Writable or World-Readable -->
287 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.a" selected="true"/>
288 <!-- READY+ -->
289 <!-- Ensure that Users Have Sensible Umask Values in /etc/bashrc -->
290 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.4.b" selected="true"/>
291 <!-- READY+ -->
292 <!-- Ensure that Users Have Sensible Umask Values in /etc/cshrc -->
293 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false"/>
294 <!-- DONE (unknown) -->
295 <!-- Check for existance of .netrc file -->
296 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.a" selected="true"/>
297 <!-- READY+ -->
298 <!-- Set Boot Loader user owner -->
299 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.b" selected="true"/>
300 <!-- READY+ -->
301 <!-- Set Boot Loader group owner -->
302 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.c" selected="true"/>
303 <!-- READY+ -->
304 <!-- Set permission on /etc/grub.conf -->
305 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false"/>
306 <!-- DONE -->
307 <!-- Set Boot Loader Password -->
308 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false"/>
309 <!-- ToDo -->
310 <!-- Require Authentication for Single-User Mode -->
311 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false"/>
312 <!-- DONE -->
313 <!-- Disable Interactive Boot -->
314 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false"/>
315 <!-- DONE -->
316 <!-- Implement Inactivity Time-out for csh Shell -->
317 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false"/>
318 <!-- DONE (unknown) -->
319 <!-- Implement Inactivity Time-out for bash Shell -->
320 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false"/>
321 <!-- DONE -->
322 <!-- Implement Inactivity Time-out for Login Shells -->
323 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false"/>
324 <!-- DONE -->
325 <!-- Implement idle activation of screen saver -->
326 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false"/>
327 <!-- DONE -->
328 <!-- Implement idle activation of screen lock -->
329 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false"/>
330 <!-- DONE -->
331 <!-- Implement blank screen saver -->
332 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false"/>
333 <!-- DONE -->
334 <!-- Configure console screen locking -->
335 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false"/>
336 <!-- DONE -->
337 <!-- Modify the System Login Banner -->
338 <xccdf:select idref="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false"/>
339 <!-- BUG -->
340 <!-- Implement a GUI Warning Banner -->
341 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.a" selected="true"/>
342 <!-- READY+ -->
343 <!-- Enable SELinux in /etc/grub.conf -->
344 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.b" selected="false"/>
345 <!-- DONE -->
346 <!-- Enable SELinux enforcement in /etc/grub.conf -->
347 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.c" selected="true"/>
348 <!-- READY+ -->
349 <!-- Set the SELinux state -->
350 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.d" selected="true"/>
351 <!-- READY+ -->
352 <!-- Set the SELinux policy -->
353 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false"/>
354 <!-- DONE (unknown) -->
355 <!-- Ensure SELinux is Properly Enabled -->
356 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false"/>
357 <!-- DONE -->
358 <!-- Disable MCS Translation Service (mcstrans) if Possible -->
359 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false"/>
360 <!-- DONE -->
361 <!-- Restorecon Service (restorecond) -->
362 <xccdf:select idref="xccdf_cdf_rule_rule-2.4.5.a" selected="false"/>
363 <!-- DONE (unknown) -->
364 <!-- Check for Unconfined Daemons -->
365 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false"/>
366 <!-- DONE -->
367 <!-- Disable net.ipv4.conf.default.send_redirects for Hosts Only -->
368 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false"/>
369 <!-- DONE -->
370 <!-- Disable net.ipv4.conf.all.send_redirects for Hosts Only -->
371 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false"/>
372 <!-- DONE -->
373 <!-- Disable net.ipv4.ip forward for Hosts Only -->
374 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false"/>
375 <!-- DONE -->
376 <!-- Set net.ipv4.conf.all.accept_source_route for Hosts and Routers -->
377 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false"/>
378 <!-- DONE -->
379 <!-- Set net.ipv4.conf.all.accept_redirects for Hosts and Routers -->
380 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false"/>
381 <!-- DONE -->
382 <!-- Set net.ipv4.conf.all.secure_redirects for Hosts and Routers -->
383 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false"/>
384 <!-- DONE -->
385 <!-- Set net.ipv4.conf.all.log_martians for Hosts and Routers -->
386 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false"/>
387 <!-- DONE -->
388 <!-- Set net.ipv4.conf.default.accept_source_route for Hosts and Routers -->
389 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false"/>
390 <!-- DONE -->
391 <!-- Set net.ipv4.conf.default.accept_redirects for Hosts and Routers -->
392 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false"/>
393 <!-- DONE -->
394 <!-- Set net.ipv4.conf.default.secure_redirects for Hosts and Routers -->
395 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false"/>
396 <!-- DONE -->
397 <!-- Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers -->
398 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false"/>
399 <!-- DONE -->
400 <!-- Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers -->
401 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false"/>
402 <!-- DONE -->
403 <!-- Set net.ipv4.tcp_syncookies for Hosts and Routers -->
404 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false"/>
405 <!-- DONE -->
406 <!-- Set net.ipv4.conf.all.rp_filter for Hosts and Routers -->
407 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false"/>
408 <!-- DONE -->
409 <!-- Set net.ipv4.conf.default.rp_filter for Hosts and Routers -->
410 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false"/>
411 <!-- DONE -->
412 <!-- Disable Wireless in BIOS -->
413 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false"/>
414 <!-- DONE -->
415 <!-- Deactivate Wireless Interfaces -->
416 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false"/>
417 <!-- DONE -->
418 <!-- Disable Wireless Drivers -->
419 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false"/>
420 <!-- DONE -->
421 <!-- Disable Automatic Loading of IPv6 Kernel Module -->
422 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false"/>
423 <!-- DONE -->
424 <!-- Disable NETWORKING_IPV6 in /etc/sysconfig/network -->
425 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false"/>
426 <!-- DONE -->
427 <!-- Disable IPV6INIT in /etc/sysconfig/network -->
428 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false"/>
429 <!-- DONE -->
430 <!-- Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-* -->
431 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false"/>
432 <!-- DONE -->
433 <!-- Disable IPV6_AUTOCONF in /etc/sysconfig/network -->
434 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false"/>
435 <!-- DONE -->
436 <!-- Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra) -->
437 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false"/>
438 <!-- DONE -->
439 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects) -->
440 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false"/>
441 <!-- DONE -->
442 <!-- Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects) -->
443 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false"/>
444 <!-- DONE -->
445 <!-- Use Privacy Extensions for Address if Necessary -->
446 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false"/>
447 <!-- DONE -->
448 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations -->
449 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false"/>
450 <!-- DONE -->
451 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref -->
452 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false"/>
453 <!-- DONE -->
454 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo -->
455 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false"/>
456 <!-- DONE -->
457 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr -->
458 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false"/>
459 <!-- DONE -->
460 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf -->
461 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false"/>
462 <!-- DONE -->
463 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits -->
464 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false"/>
465 <!-- DONE -->
466 <!-- Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses -->
467 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.a" selected="true"/>
468 <!-- READY+ -->
469 <!-- Verify ip6tables is enabled -->
470 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.1.b" selected="true"/>
471 <!-- READY+ -->
472 <!-- Verify iptables is enabled -->
473 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false"/>
474 <!-- DONE -->
475 <!-- Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain -->
476 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false"/>
477 <!-- DONE -->
478 <!-- Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain -->
479 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false"/>
480 <!-- ERASE -->
481 <!-- Disable Support for DCCP -->
482 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false"/>
483 <!-- ERASE -->
484 <!-- Disable Support for SCTP -->
485 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false"/>
486 <!-- ERASE -->
487 <!-- Disable Support for RDS -->
488 <xccdf:select idref="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false"/>
489 <!-- ERASE -->
490 <!-- Disable Support for TIPC -->
491 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.a" selected="true"/>
492 <!-- DONE+ -->
493 <!-- Configure Syslog -->
494 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.a" selected="true"/>
495 <!-- DONE+ -->
496 <!-- Confirm user that owns System Log Files -->
497 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.b" selected="true"/>
498 <!-- DONE+ -->
499 <!-- Confirm group that owns System Log Files -->
500 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.2.c" selected="true"/>
501 <!-- DONE+ -->
502 <!-- Confirm Permissions of System Log Files -->
503 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false"/>
504 <!-- OK -->
505 <!-- Send Logs to a Remote Loghost -->
506 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false"/>
507 <!-- F14 test needed-->
508 <!-- Disable syslogd from Accepting Remote Messages on Loghosts Only -->
509 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false"/>
510 <!-- missing -->
511 <!-- Ensure All Logs are Rotated by logrotate -->
512 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false"/>
513 <!-- DONE (unknown) -->
514 <!-- Monitor Suspicious Log Messages using Logwatch -->
515 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.1.a" selected="true"/>
516 <!-- DONE+ -->
517 <!-- Enable the auditd Service -->
518 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false"/>
519 <!-- DONE -->
520 <!-- Enable Auditing for Processes Which Start Prior to the Audit Daemon -->
521 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false"/>
522 <!-- DONE -->
523 <!-- Records Events that Modify Date and Time Information -->
524 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false"/>
525 <!-- DONE -->
526 <!-- Record Events that Modify User/Group Information -->
527 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false"/>
528 <!-- DONE -->
529 <!-- Record Events that Modify the System’s Network Environment -->
530 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false"/>
531 <!-- DONE -->
532 <!-- Record Events that Modify the System’s Mandatory Access Controls -->
533 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false"/>
534 <!-- DONE -->
535 <!-- Ensure auditd Collects Logon and Logout Events -->
536 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false"/>
537 <!-- DONE -->
538 <!-- Ensure auditd Collects Process and Session Initiation Information -->
539 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false"/>
540 <!-- DONE -->
541 <!-- Ensure auditd Collects Discretionary Access Control Permission Modification Events -->
542 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false"/>
543 <!-- DONE -->
544 <!-- Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful -->
545 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false"/>
546 <!-- DONE -->
547 <!-- Ensure auditd Collects Information on the Use of Privileged Commands -->
548 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false"/>
549 <!-- DONE -->
550 <!-- Ensure auditd Collects Information on Exporting to Media (successful) -->
551 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false"/>
552 <!-- DONE -->
553 <!-- Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful) -->
554 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false"/>
555 <!-- DONE -->
556 <!-- Ensure auditd Collects System Administrator Actions -->
557 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false"/>
558 <!-- DONE -->
559 <!-- Ensure auditd Collects Information on Kernel Module Loading and Unloading -->
560 <xccdf:select idref="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false"/>
561 <!-- DONE -->
562 <!-- Make the auditd Configuration Immutable -->
563 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.a" selected="false"/>
564 <!-- DONE -->
565 <!-- Disable Inetd -->
566 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.b" selected="false"/>
567 <!-- DONE -->
568 <!-- Disable Xinetd -->
569 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.c" selected="false"/>
570 <!-- DONE -->
571 <!-- Uninstall Inetd -->
572 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.1.d" selected="false"/>
573 <!-- DONE -->
574 <!-- Uninstall Xinetd -->
575 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.a" selected="false"/>
576 <!-- DONE -->
577 <!-- Telnet server package is uninstalled -->
578 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.b" selected="false"/>
579 <!-- DONE -->
580 <!-- Disable telnet service -->
581 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false"/>
582 <!-- DONE -->
583 <!-- Remove the telnet client command from the System -->
584 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false"/>
585 <!-- DONE -->
586 <!-- Remove the kerberos telnet client from the System -->
587 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false"/>
588 <!-- DONE -->
589 <!-- Remove the Rsh Server Commands from the System -->
590 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false"/>
591 <!-- ERASE -->
592 <!-- disable rcp -->
593 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false"/>
594 <!-- DONE -->
595 <!-- disable rsh -->
596 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false"/>
597 <!-- DONE -->
598 <!-- disable rlogin -->
599 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false"/>
600 <!-- DONE -->
601 <!-- Remove .rhosts Support from PAM Configuration Files -->
602 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false"/>
603 <!-- DONE -->
604 <!-- Remove the Rsh Client Commands from the System -->
605 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.a" selected="false"/>
606 <!-- DONE -->
607 <!-- Uninstall NIS -->
608 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.4.b" selected="false"/>
609 <!-- DONE -->
610 <!-- Disable NIS -->
611 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.a" selected="false"/>
612 <!-- DONE -->
613 <!-- Uninstall TFTP Server -->
614 <xccdf:select idref="xccdf_cdf_rule_rule-3.2.5.b" selected="false"/>
615 <!-- DONE -->
616 <!-- disable TFTP Server -->
617 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.1.a" selected="false"/>
618 <!-- DONE -->
619 <!-- Installation Helper Service (firstboot) -->
620 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.2.a" selected="false"/>
621 <!-- DONE -->
622 <!-- Console Mouse Service (gpm) -->
623 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.3.a" selected="false"/>
624 <!-- DONE -->
625 <!-- Interrupt Distribution on Multiprocessor Systems (irqbalance) -->
626 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.4.a" selected="false"/>
627 <!-- DONE -->
628 <!-- ISDN Support (isdn) -->
629 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.5.a" selected="false"/>
630 <!-- DONE -->
631 <!-- Kdump Kernel Crash Analyzer (kdump) -->
632 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.6.a" selected="false"/>
633 <!-- DONE -->
634 <!-- Kudzu Hardware Probing Utility (kudzu) -->
635 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.7.a" selected="false"/>
636 <!-- DONE -->
637 <!-- Software RAID Monitor (mdmonitor) -->
638 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.8.a" selected="false"/>
639 <!-- DONE -->
640 <!-- A32 Microcode Utility(microcodectl) -->
641 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false"/>
642 <!-- DONE -->
643 <!-- Disable All Networking if Not Needed) -->
644 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false"/>
645 <!-- DONE -->
646 <!-- Disable All External Network Interfaces if Not Needed -->
647 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false"/>
648 <!-- DONE -->
649 <!-- Disable Zeroconf Networking -->
650 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.10.a" selected="false"/>
651 <!-- DONE -->
652 <!-- Smart Card Support (pcscd) -->
653 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.11.a" selected="false"/>
654 <!-- DONE -->
655 <!-- SMART Disk Monitoring Support (smartd) -->
656 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.a" selected="false"/>
657 <!-- DONE -->
658 <!-- Boot Caching (readahead early/readahead later) -->
659 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.12.b" selected="false"/>
660 <!-- DONE -->
661 <!-- Boot Caching (readahead early/readahead later) -->
662 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false"/>
663 <!-- DONE -->
664 <!-- D-Bus IPC Service (messagebus) -->
665 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false"/>
666 <!-- DONE -->
667 <!-- HAL Daemon (haldaemon) -->
668 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false"/>
669 <!-- DONE -->
670 <!-- Bluetooth Host Controller Interface Daemon (bluetooth) -->
671 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false"/>
672 <!-- DONE -->
673 <!-- Bluetooth Input Devices (hidd) -->
674 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false"/>
675 <!-- TODO -->
676 <!-- Disable Bluetooth Kernel Modules -->
677 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false"/>
678 <!-- DONE -->
679 <!-- Advanced Power Management Subsystem (apmd) -->
680 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false"/>
681 <!-- DONE -->
682 <!-- Advanced Configuration and Power Interface (acpid) -->
683 <xccdf:select idref="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false"/>
684 <!-- DONE -->
685 <!-- CPU Throttling (cpuspeed) -->
686 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.a" selected="false"/>
687 <!-- DONE -->
688 <!-- Enable Cron Daemon -->
689 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.a" selected="false"/>
690 <!-- DONE -->
691 <!-- Disable anacron if Possible -->
692 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.1.b" selected="false"/>
693 <!-- DONE -->
694 <!-- Uninstall anacron if Possible -->
695 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.a" selected="true"/>
696 <!-- DONE -->
697 <!-- Set group owner on /etc/crontab -->
698 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.b" selected="true"/>
699 <!-- DONE -->
700 <!-- Set user owner on /etc/crontab -->
701 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.1.c" selected="true"/>
702 <!-- DONE -->
703 <!-- Set Permissions on /etc/crontab -->
704 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.a" selected="true"/>
705 <!-- DONE -->
706 <!-- Set group owner on /etc/anacrontab -->
707 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.b" selected="true"/>
708 <!-- DONE -->
709 <!-- Set user owner on /etc/anacrontab -->
710 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.2.c" selected="true"/>
711 <!-- DONE -->
712 <!-- Set Permissions on /etc/anacrontab -->
713 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.a" selected="true"/>
714 <!-- DONE -->
715 <!-- Set group owner on /etc/cron.hourly -->
716 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.b" selected="true"/>
717 <!-- DONE -->
718 <!-- Set group owner on /etc/cron.daily -->
719 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.c" selected="true"/>
720 <!-- DONE -->
721 <!-- Set group owner on /etc/cron.weekly -->
722 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.d" selected="true"/>
723 <!-- DONE -->
724 <!-- Set group owner on /etc/cron.monthly -->
725 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.e" selected="true"/>
726 <!-- DONE -->
727 <!-- Set group owner on /etc/cron.d -->
728 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.f" selected="true"/>
729 <!-- DONE -->
730 <!-- Set user owner on /etc/cron.hourly -->
731 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.g" selected="true"/>
732 <!-- DONE -->
733 <!-- Set user owner on /etc/cron.daily -->
734 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.h" selected="true"/>
735 <!-- DONE -->
736 <!-- Set user owner on /etc/cron.weekly -->
737 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.i" selected="true"/>
738 <!-- DONE -->
739 <!-- Set user owner on /etc/cron.monthly -->
740 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.j" selected="true"/>
741 <!-- DONE -->
742 <!-- Set user owner on /etc/cron.d -->
743 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.k" selected="true"/>
744 <!-- DONE -->
745 <!-- Set permissions on /etc/cron.hourly -->
746 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.l" selected="true"/>
747 <!-- DONE -->
748 <!-- Set permissions on /etc/cron.daily -->
749 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.m" selected="true"/>
750 <!-- DONE -->
751 <!-- Set permissions on /etc/cron.weekly -->
752 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.n" selected="true"/>
753 <!-- DONE -->
754 <!-- Set permissions on /etc/cron.monthly -->
755 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.3.o" selected="true"/>
756 <!-- DONE -->
757 <!-- Set permissions on /etc/cron.d -->
758 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.a" selected="true"/>
759 <!-- DONE -->
760 <!-- Restrict group owner on /var/spool/cron file -->
761 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.b" selected="true"/>
762 <!-- DONE -->
763 <!-- Restrict user owner on /var/spool/cron file -->
764 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.2.4.c" selected="true"/>
765 <!-- DONE -->
766 <!-- Restrict Permissions on /var/spool/cron file -->
767 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.a" selected="false"/>
768 <!-- DONE -->
769 <!-- Disable at Daemon if possible -->
770 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.3.b" selected="false"/>
771 <!-- DONE -->
772 <!-- uninstall at Daemon -->
773 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.a" selected="false"/>
774 <!-- DONE -->
775 <!-- Remove /etc/cron.deny -->
776 <xccdf:select idref="xccdf_cdf_rule_rule-3.4.4.b" selected="false"/>
777 <!-- DONE -->
778 <!-- Remove /etc/at.deny -->
779 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false"/>
780 <!-- DONE -->
781 <!-- Disable OpenSSH Software -->
782 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false"/>
783 <!-- DONE -->
784 <!-- Remove OpenSSH Software -->
785 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false"/>
786 <!-- DONE -->
787 <!-- Remove SSH Server iptables Firewall Exception -->
788 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false"/>
789 <!-- DONE -->
790 <!-- Remove SSH Server ip6tables Firewall Exception -->
791 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false"/>
792 <!-- DONE -->
793 <!-- Ensure Only Protocol 2 Connections Allowed -->
794 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false"/>
795 <!-- DONE -->
796 <!-- Set Idle Timeout Interval for User Logins -->
797 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false"/>
798 <!-- DONE -->
799 <!-- Set ClientAliveCountMax for User Logins -->
800 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false"/>
801 <!-- DONE -->
802 <!-- Disable .rhosts Files -->
803 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false"/>
804 <!-- DONE -->
805 <!-- Disable Host-Based Authentication -->
806 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false"/>
807 <!-- DONE -->
808 <!-- Disable root Login via SSH -->
809 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false"/>
810 <!-- DONE -->
811 <!-- Disable Empty Passwords -->
812 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false"/>
813 <!-- DONE -->
814 <!-- Enable a Warning Banner -->
815 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false"/>
816 <!-- DONE -->
817 <!-- Do not allow users to set Environment options -->
818 <xccdf:select idref="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false"/>
819 <!-- TODO -->
820 <!-- Use Only Approved Ciphers -->
821 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false"/>
822 <!-- Disable X Windows at System Boot -->
823 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false"/>
824 <!-- Remove X Windows from the System if Possible -->
825 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false"/>
826 <!-- Disable X Window System Listening -->
827 <xccdf:select idref="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false"/>
828 <!-- Create Warning Banners for GUI Login Users -->
829 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false"/>
830 <!-- Disable Avahi Server Software -->
831 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false"/>
832 <!-- Do not serve ipv6 Protocol -->
833 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false"/>
834 <!-- Do not serve ipv4 Protocol -->
835 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false"/>
836 <!-- Check Responses' TTL Field -->
837 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false"/>
838 <!-- Prevent Other Programs from Using Avahi's Port -->
839 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false"/>
840 <!-- Disable Publishing if Possible -->
841 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false"/>
842 <!-- Restrict disable-user-service-publishing -->
843 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false"/>
844 <!-- Restrict publish-addresses -->
845 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false"/>
846 <!-- Restrict publish-hinfo -->
847 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false"/>
848 <!-- Restrict publish-workstation -->
849 <xccdf:select idref="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false"/>
850 <!-- Restrict publish-domain -->
851 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.1.a" selected="false"/>
852 <!-- Disable the CUPS Service if Possible -->
853 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.a" selected="false"/>
854 <!-- Disable Firewall Access to Printing Service over IPv4 if Possible -->
855 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.2.b" selected="false"/>
856 <!-- Disable Firewall Access to Printing Service over IPv6 if Possible -->
857 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false"/>
858 <!-- Disable Printer Browsing Entirely if Possible -->
859 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false"/>
860 <!-- Deny CUPS ability to listen for Incoming printer information -->
861 <xccdf:select idref="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false"/>
862 <!-- Disable HPLIP Service if Possible -->
863 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.1.a" selected="false"/>
864 <!-- Disable DHCP Client if Possible -->
865 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.a" selected="false"/>
866 <!-- Disable DHCP Server if Possible -->
867 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.3.b" selected="false"/>
868 <!-- Uninstall DHCP Server if possible -->
869 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false"/>
870 <!-- Do Not Use Dynamic DNS -->
871 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false"/>
872 <!-- Deny Decline Messages -->
873 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false"/>
874 <!-- Deny BOOTP Queries -->
875 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false"/>
876 <!-- DHCP should not send domain-name -->
877 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false"/>
878 <!-- DHCP should not send domain-name-servers -->
879 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false"/>
880 <!-- DHCP should not send nis-domain -->
881 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false"/>
882 <!-- DHCP should not send nis-servers -->
883 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false"/>
884 <!-- DHCP should not send ntp-servers -->
885 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false"/>
886 <!-- DHCP should not send routers -->
887 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false"/>
888 <!-- DHCP should not send time-offset -->
889 <xccdf:select idref="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false"/>
890 <!-- Configure DHCP Logging -->
891 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false"/>
892 <!-- Enable the NTP Daemon -->
893 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false"/>
894 <!-- Deny All Access to ntpd by Default -->
895 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false"/>
896 <!-- Specify a Remote NTP Server for Time Data -->
897 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false"/>
898 <!-- Obtain NTP Software -->
899 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false"/>
900 <!-- Enable the NTP Daemon -->
901 <xccdf:select idref="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false"/>
902 <!-- Configure the Client NTP Daemon to Use the Local Server -->
903 <xccdf:select idref="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false"/>
904 <!-- Disable the Listening Sendmail Daemon -->
905 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false"/>
906 <!-- Configure LDAP to Use TLS for All Transactions -->
907 <xccdf:select idref="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false"/>
908 <!-- Disable OpenLDAP service -->
909 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false"/>
910 <!-- Disable nfslock -->
911 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false"/>
912 <!-- Disable rpcgssd -->
913 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false"/>
914 <!-- Disable rpcidmapd -->
915 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false"/>
916 <!-- Disable netfs if Possible -->
917 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false"/>
918 <!-- Configure lockd to Use Fixed Ports for TCP -->
919 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false"/>
920 <!-- Configure statd to Use a outgoing static port-->
921 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false"/>
922 <!-- Configure statd to Use a static port -->
923 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false"/>
924 <!-- Configure lockd to Use a static port for UDP -->
925 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false"/>
926 <!-- Configure mountd to Use a static port -->
927 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false"/>
928 <!-- Configure rquotad to Use Fixed Ports -->
929 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false"/>
930 <!-- Disable nfs service -->
931 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false"/>
932 <!-- Disable rpcsvcgssd service -->
933 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false"/>
934 <!-- INCOMPLETE OVAL -->
935 <!-- Mount Remote Filesystems with nodev -->
936 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false"/>
937 <!-- Mount Remote Filesystems with nosuid -->
938 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false"/>
939 <!-- Mount Remote Filesystems with noexec -->
940 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false"/>
941 <!-- Use Root-Squashing on All Exports -->
942 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false"/>
943 <!-- Restrict NFS Clients to Privileged Ports -->
944 <xccdf:select idref="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false"/>
945 <!-- Export Filesystems Read-Only if Possible -->
946 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.a" selected="false"/>
947 <!-- Disable DNS Server if Possible -->
948 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.1.b" selected="false"/>
949 <!-- Uninstall bind if Possible -->
950 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false"/>
951 <!-- Run DNS Software in a chroot Jail owned by root group -->
952 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false"/>
953 <!-- Run DNS Software in a chroot Jail owned by root user -->
954 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false"/>
955 <!-- Set permissions on chroot Jail for DNS -->
956 <xccdf:select idref="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false"/>
957 <!-- Disable DNS Dynamic Updates if Possible -->
958 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.a" selected="false"/>
959 <!-- Disable vsftpd if Possible -->
960 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.1.b" selected="false"/>
961 <!-- Uninstall vsftpd if Possible -->
962 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false"/>
963 <!-- Enable Logging of All FTP Transactions -->
964 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false"/>
965 <!-- Create Warning Banners for All FTP Users -->
966 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false"/>
967 <!-- Restrict Access to Anonymous Users if Possible -->
968 <xccdf:select idref="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false"/>
969 <!-- Disable FTP Uploads if Possible -->
970 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.a" selected="false"/>
971 <!-- Disable Apache if Possible -->
972 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.1.b" selected="false"/>
973 <!-- Uninstall Apache if Possible -->
974 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false"/>
975 <!-- Restrict Information Leakageusing ServerTokens -->
976 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false"/>
977 <!-- Restrict Information Leakage using ServerSignature -->
978 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false"/>
979 <!-- Restrict permissions on /etc/httpd/conf -->
980 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false"/>
981 <!-- Restrict permissions on /etc/httpd/conf/* -->
982 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false"/>
983 <!-- Restrict permissions on /usr/sbin/httpd -->
984 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false"/>
985 <!-- Restrict group access to /etc/httpd/conf/* -->
986 <xccdf:select idref="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false"/>
987 <!-- Restrict permissions on /var/log/httpd -->
988 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.a" selected="false"/>
989 <!-- Disable Dovecot if Possible -->
990 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.1.b" selected="false"/>
991 <!-- Uninstall Dovecot if Possible -->
992 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false"/>
993 <!-- Dovecot should not support imaps -->
994 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false"/>
995 <!-- Dovecot should not support pop3s -->
996 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false"/>
997 <!-- Dovecot should not support pop3 -->
998 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false"/>
999 <!-- Dovecot should not support imap -->
1000 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false"/>
1001 <!-- Disable Plaintext Authentication -->
1002 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false"/>
1003 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1004 <xccdf:select idref="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false"/>
1005 <!-- Enable Dovecot Option mail_drop_priv_before_exec -->
1006 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.1.a" selected="false"/>
1007 <!-- Disable smb if Possible -->
1008 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false"/>
1009 <!-- Disable Guest Access and Local Login Support -->
1010 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false"/>
1011 <!-- Require Client SMB Packet Signing, if using smbclient -->
1012 <xccdf:select idref="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false"/>
1013 <!-- NO OVAL 5.5 test -->
1014 <!-- Require Client SMB Packet Signing, if using mount.cifs -->
1015 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.a" selected="false"/>
1016 <!-- DONE -->
1017 <!-- Disable squid if Possible -->
1018 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.1.b" selected="false"/>
1019 <!-- DONE -->
1020 <!-- Uninstall squid if Possible -->
1021 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false"/>
1022 <!-- DONE -->
1023 <!-- Verify ftp_passive setting -->
1024 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false"/>
1025 <!-- DONE -->
1026 <!-- Verify ftp_sanitycheck setting -->
1027 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false"/>
1028 <!-- DONE -->
1029 <!-- Verify check_hostnames stting -->
1030 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false"/>
1031 <!-- DONE -->
1032 <!-- Verify request_header_max_size setting -->
1033 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false"/>
1034 <!-- DONE -->
1035 <!-- Verify reply_header_max_size setting -->
1036 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false"/>
1037 <!-- DONE -->
1038 <!-- Verify cache_effective_user setting -->
1039 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false"/>
1040 <!-- DONE -->
1041 <!-- Verify cache_effective_group setting -->
1042 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false"/>
1043 <!-- DONE -->
1044 <!-- Verify ignore_unknown_nameservers setting -->
1045 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false"/>
1046 <!-- DONE -->
1047 <!-- Check allow_underscore setting -->
1048 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false"/>
1049 <!-- DONE -->
1050 <!-- Check httpd_suppress_version setting -->
1051 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false"/>
1052 <!-- DONE -->
1053 <!-- Check forwarded_for setting -->
1054 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false"/>
1055 <!-- DONE -->
1056 <!-- Check log_mime_hdrs setting -->
1057 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false"/>
1058 <!-- DONE -->
1059 <!-- Restrict gss-http traffic -->
1060 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false"/>
1061 <!-- DONE -->
1062 <!-- Restrict https traffic -->
1063 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false"/>
1064 <!-- DONE -->
1065 <!-- Restrict wais traffic -->
1066 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false"/>
1067 <!-- DONE -->
1068 <!-- Restrict multiling http traffic -->
1069 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false"/>
1070 <!-- DONE -->
1071 <!-- Restrict http traffic -->
1072 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false"/>
1073 <!-- DONE -->
1074 <!-- Restrict ftp traffic -->
1075 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false"/>
1076 <!-- DONE -->
1077 <!-- Restrict gopher traffic -->
1078 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false"/>
1079 <!-- DONE -->
1080 <!-- Restrict filemaker traffic -->
1081 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false"/>
1082 <!-- DONE -->
1083 <!-- Restrict proxy access to localhost -->
1084 <xccdf:select idref="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false"/>
1085 <!-- DONE -->
1086 <!-- Restrict http-mgmt traffic -->
1087 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.a" selected="false"/>
1088 <!-- DONE -->
1089 <!-- Disable snmpd if Possible -->
1090 <xccdf:select idref="xccdf_cdf_rule_rule-3.20.1.b" selected="false"/>
1091 <!-- DONE -->
1092 <!-- Uninstall net-snmp if Possible -->
1093 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.i" selector="000"/>
1094 <!-- Permissions for shadow -->
1095 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.j" selector="644"/>
1096 <!-- Permissions for group -->
1097 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.k" selector="000"/>
1098 <!-- Permissions for gshadow -->
1099 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.3.1.l" selector="644"/>
1100 <!-- Permissions for passwd -->
1101 <xccdf:refine-value idref="xccdf_cdf_value_var-2.2.4.1.a" selector="022"/>
1102 <!-- daemon umask -->
1103 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.a" selector="5"/>
1104 <!-- password minimum length -->
1105 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.b" selector="1_day"/>
1106 <!-- minimum password age (days) -->
1107 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.c" selector="60_days"/>
1108 <!-- maximum password age -->
1109 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.1.7.d" selector="7_days"/>
1110 <!-- password warn age -->
1111 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.retry" selector="3"/>
1112 <!-- Number of retry attempts before erroring out -->
1113 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.minlen" selector="14"/>
1114 <!-- Minimum number of characters in password -->
1115 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit" selector="2"/>
1116 <!-- Mininum number of digits in password -->
1117 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit" selector="2"/>
1118 <!-- Mininum number of upper case in password -->
1119 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit" selector="2"/>
1120 <!-- Mininum number of other (special characters) in password< -->
1121 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit" selector="2"/>
1122 <!-- Mininum number of lower case in password -->
1123 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.1.1.a.difok" selector="3"/>
1124 <!-- Mininum number of characters not present in old password -->
1125 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.deny" selector="3"/>
1126 <!-- Deny access if tally for this user exceeds n. -->
1127 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.lock_time" selector="3"/>
1128 <!-- Always deny for n seconds after failed attempt -->
1129 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.2.a.unlock_time" selector="none"/>
1130 <!-- Allow access after n seconds after failed attempt -->
1131 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.a" selector="usergroup"/>
1132 <!-- Name of group containing human users -->
1133 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.4.b" selector="4710"/>
1134 <!-- userhelper file permissions -->
1135 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.5.a" selector="SHA-512"/>
1136 <!-- Password hashing algorithm -->
1137 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.3.6.a" selector="5"/>
1138 <!-- Passwords to remember -->
1139 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.4.4" selector="002"/>
1140 <!-- Sensible umask -->
1141 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.a" selector="root"/>
1142 <!-- User that owns /etc/grub.conf -->
1143 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.b" selector="root"/>
1144 <!-- Group that owns /etc/grub.conf -->
1145 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.2.c" selector="600"/>
1146 <!-- permissions on /etc/hrub.conf -->
1147 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.5.5" selector="15_minutes"/>
1148 <!-- Inactivity timout -->
1149 <xccdf:refine-value idref="xccdf_cdf_value_var-2.3.7" selector="Empty_text"/>
1150 <!-- login banner verbiage -->
1151 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.c" selector="enforcing"/>
1152 <!-- SELinux state -->
1153 <xccdf:refine-value idref="xccdf_cdf_value_var-2.4.2.d" selector="targeted"/>
1154 <!-- SELinux policy -->
1155 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.a" selector="disabled"/>
1156 <!-- net.ipv4.conf.all.accept_source_route -->
1157 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.b" selector="disabled"/>
1158 <!-- net.ipv4.conf.all.accept_redirectse -->
1159 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.c" selector="disabled"/>
1160 <!-- net.ipv4.conf.all.secure_redirects -->
1161 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.d" selector="enabled"/>
1162 <!-- net.ipv4.conf.all.log_martians -->
1163 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.e" selector="disabled"/>
1164 <!-- net.ipv4.conf.default.accept_source_route -->
1165 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.f" selector="disabled"/>
1166 <!-- net.ipv4.conf.default.accept_redirects -->
1167 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.g" selector="disabled"/>
1168 <!-- net.ipv4.conf.default.secure_redirects -->
1169 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.h" selector="enabled"/>
1170 <!-- net.ipv4.icmp_echo_ignore_broadcast -->
1171 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.i" selector="enabled"/>
1172 <!-- net.ipv4.icmp_ignore_bogus_error_messages -->
1173 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.j" selector="enabled"/>
1174 <!-- net.ipv4.tcp_syncookie -->
1175 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.k" selector="enabled"/>
1176 <!-- net.ipv4.conf.all.rp_filtere -->
1177 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.b" selector="disabled"/>
1178 <!-- accept default router advertisements -->
1179 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.3.2.1.c" selector="disabled"/>
1180 <!-- accept default router advertisements -->
1181 <xccdf:refine-value idref="xccdf_cdf_value_var-2.5.1.2.l" selector="enabled"/>
1182 <!-- net.ipv4.conf.default.rp_filter -->
1183 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.a" selector="root"/>
1184 <!-- user that owns system log files -->
1185 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.b" selector="root"/>
1186 <!-- group that owns system log files -->
1187 <xccdf:refine-value idref="xccdf_cdf_value_var-2.6.1.2.c" selector="600"/>
1188 <!-- permissions of system log files -->
1189 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" selector="root"/>
1190 <!-- group owner of /etc/crontab -->
1191 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" selector="root"/>
1192 <!-- user owner of /etc/crontab -->
1193 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" selector="644"/>
1194 <!-- permissions on /etc/crontab file -->
1195 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" selector="root"/>
1196 <!-- group owner of /etc/anacrontab -->
1197 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" selector="root"/>
1198 <!-- user owner of /etc/anacrontab -->
1199 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" selector="644"/>
1200 <!-- permissions on /etc/anacrontab file -->
1201 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" selector="root"/>
1202 <!-- group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1203 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" selector="root"/>
1204 <!-- user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1205 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" selector="755"/>
1206 <!-- permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d -->
1207 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.a" selector="5_minutes"/>
1208 <!-- SSH session Idle time -->
1209 <xccdf:refine-value idref="xccdf_cdf_value_var-3.5.2.3.b" selector="0"/>
1210 <!-- SSH session ClientAliveCountMax -->
1211 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.group" selector="root"/>
1212 <!-- Group owner of /var/spool/cron -->
1213 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.user" selector="root"/>
1214 <!-- User owner of /var/spool/cron -->
1215 <xccdf:refine-value idref="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" selector="700"/>
1216 <!-- Permissions on /var/spool/cron -->
1217 </xccdf:Profile>
1218 <!-- ==================================================================================================== -->
1219 <!-- ======================================== SECURITY GUIDANCE ======================================= -->
1220 <!-- ==================================================================================================== -->
1221 <!-- -->
1222 <!-- The following groups represent the collection of guidance for this document. For -->
1223 <!-- specific recommendations regarding which rules to enable and which values to use, please refer to -->
1224 <!-- the XCCDF profiles above. -->
1225 <!-- -->
1226 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1">
1227 <xccdf:title xml:lang="en">Introduction</xccdf:title>
1228 <xccdf:description xml:lang="en">
1229 The purpose of this guide is to provide security configuration
1230 recommendations for Fedora Linux. Recommended settings for the basic
1231 operating system are provided, as well as for many commonly-used services
1232 that the system can host in a network environment.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1233 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1234 The guide is intended for system administrators. Readers are
1235 assumed to possess basic system administration skills for Unix-like systems, as well as some
1236 familiarity with Red Hat's documentation and administration conventions. Some instructions
1237 within this guide are complex. All directions should be followed completely and with
1238 understanding of their effects in order to avoid serious adverse effects on the system and its
1239 security.
1240 </xccdf:description>
1241 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1">
1242 <xccdf:title xml:lang="en">General Principles</xccdf:title>
1243 <xccdf:description xml:lang="en">
1244 The following general principles motivate much of the advice in
1245 this guide and should also influence any configuration decisions that are not explicitly
1246 covered.</xccdf:description>
1247 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.1" weight="1.0">
1248 <xccdf:title xml:lang="en">Encrypt Transmitted Data Whenever Possible</xccdf:title>
1249 <xccdf:description xml:lang="en">
1250 Data transmitted over a network, whether wired or wireless, is
1251 susceptible to passive monitoring. Whenever practical solutions for encrypting such data
1252 exist, they should be applied. Even if data is expected to be transmitted only over a
1253 local network, it should still be encrypted. Encrypting authentication data, such as
1254 passwords, is particularly important. Networks of machines can and should be
1255 configured so that no unencrypted authentication data is ever transmitted between
1256 machines.</xccdf:description>
1257 </xccdf:Group>
1258 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.2">
1259 <xccdf:title xml:lang="en">Minimize Software to Minimize Vulnerability</xccdf:title>
1260 <xccdf:description xml:lang="en">
1261 The simplest way to avoid vulnerabilities in software is to avoid
1262 installing that software. The RPM Package Manager allows for careful management of the
1263 set of software packages installed on a system. Installed software contributes to system
1264 vulnerability in several ways. Packages that include setuid programs may provide local
1265 attackers a potential path to privilege escalation. Packages that include network services
1266 may give this opportunity to network-based attackers. Packages that include programs
1267 which are predictably executed by local users (e.g. after graphical login) may provide
1268 opportunities for trojan horses or other attack code to be run undetected. The number of
1269 software packages installed on a system can almost always be significantly pruned to include only
1270 the software for which there is an environmental or operational need.</xccdf:description>
1271 </xccdf:Group>
1272 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.3">
1273 <xccdf:title xml:lang="en">Run Different Network Services on Separate Systems</xccdf:title>
1274 <xccdf:description xml:lang="en">
1275 Whenever possible, a server should be dedicated to serving
1276 exactly one network service. This limits the number of other services that can be
1277 compromised in the event that an attacker is able to successfully exploit a software flaw
1278 in one network service.</xccdf:description>
1279 </xccdf:Group>
1280 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.4">
1281 <xccdf:title xml:lang="en">Configure Security Tools to Improve System Robustness</xccdf:title>
1282 <xccdf:description xml:lang="en">
1283 Several tools exist which can be effectively used to improve a
1284 system's resistance to and detection of unknown attacks. These tools can improve
1285 robustness against attack at the cost of relatively little configuration effort. In
1286 particular, this guide recommends and discusses the use of Iptables for host-based
1287 firewalling, SELinux for protection against vulnerable services, and a logging and
1288 auditing infrastructure for detection of problems.</xccdf:description>
1289 </xccdf:Group>
1290 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.1.5">
1291 <xccdf:title xml:lang="en">Least Privilege</xccdf:title>
1292 <xccdf:description xml:lang="en">
1293 Grant the least privilege necessary for user accounts and
1294 software to perform tasks. For example, do not allow users except those that need
1295 administrator access to use sudo. Another example is to limit logins on server
1296 systems to only those administrators who need to log into them in order to perform
1297 administration tasks. Using SELinux also follows the principle of least privilege:
1298 SELinux policy can confine software to perform only actions on the system that are
1299 specifically allowed. This can be far more restrictive than the actions permissible
1300 by the traditional Unix permissions model.</xccdf:description>
1301 </xccdf:Group>
1302 </xccdf:Group>
1303 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2">
1304 <xccdf:title xml:lang="en">How to Use This Guide</xccdf:title>
1305 <xccdf:description xml:lang="en">Readers should heed the following points when using the guide.</xccdf:description>
1306 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.1">
1307 <xccdf:title xml:lang="en">Read Sections Completely and in Order</xccdf:title>
1308 <xccdf:description xml:lang="en">
1309 Each section may build on information and recommendations
1310 discussed in prior sections. Each section should be read and understood completely;
1311 instructions should never be blindly applied. Relevant discussion will occur after
1312 instructions for an action. The system-level configuration guidance in Chapter 2 must be
1313 applied to all machines. The guidance for individual services in Chapter 3 must be
1314 considered for all machines as well: apply the guidance if the machine is either a server
1315 or a client for that service, and ensure that the service is disabled according to the
1316 instructions provided if the machine is neither a server nor a client.</xccdf:description>
1317 </xccdf:Group>
1318 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.2">
1319 <xccdf:title xml:lang="en">Test in Non-Production Environment</xccdf:title>
1320 <xccdf:description xml:lang="en">
1321 This guidance should always be tested in a non-production
1322 environment before deployment. This test environment should simulate the setup in which
1323 the system will be deployed as closely as possible.</xccdf:description>
1324 </xccdf:Group>
1325 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.3">
1326 <xccdf:title xml:lang="en">Root Shell Environment Assumed</xccdf:title>
1327 <xccdf:description xml:lang="en">
1328 Most of the actions listed in this document are written with the
1329 assumption that they will be executed by the root user running the /bin/bash shell. Any
1330 commands preceded with a hash mark (#) assume that the administrator will execute the
1331 commands as root, i.e. apply the command via sudo whenever possible, or use su to gain
1332 root privileges if sudo cannot be used.</xccdf:description>
1333 </xccdf:Group>
1334 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.4">
1335 <xccdf:title xml:lang="en">Formatting Conventions</xccdf:title>
1336 <xccdf:description xml:lang="en">
1337 Commands intended for shell execution, as well as configuration
1338 file text, are featured in a monospace font. Italics are used to indicate instances where
1339 the system administrator must substitute the appropriate information into a command or
1340 configuration file.</xccdf:description>
1341 </xccdf:Group>
1342 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-1.2.5">
1343 <xccdf:title xml:lang="en">Reboot Required</xccdf:title>
1344 <xccdf:description xml:lang="en">
1345 A system reboot is implicitly required after some actions in
1346 order to complete the reconfiguration of the system. In many cases, the changes will not
1347 take effect until a reboot is performed. In order to ensure that changes are applied
1348 properly and to test functionality, always reboot the system after applying a set of
1349 recommendations from this guide.</xccdf:description>
1350 </xccdf:Group>
1351 </xccdf:Group>
1352 </xccdf:Group>
1353 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2">
1354 <xccdf:title xml:lang="en">System-wide Configuration</xccdf:title>
1355 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1">
1356 <xccdf:title xml:lang="en">Installing and Maintaining Software</xccdf:title>
1357 <xccdf:description xml:lang="en">
1358 The following sections contain information on security-relevant
1359 choices during the initial operating system installation process and the setup of software
1360 updates.</xccdf:description>
1361 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1">
1362 <xccdf:title xml:lang="en">Initial Installation Recommendations</xccdf:title>
1363 <xccdf:description xml:lang="en">
1364 The recommendations here apply to a clean installation of the
1365 system, where any previous installations are wiped out. The sections presented here are in
1366 the same order that the installer presents, but only installation choices with security
1367 implications are covered. Many of the configuration choices presented here can also be
1368 applied after the system is installed. The choices can also be automatically applied via
1369 Kickstart files.</xccdf:description>
1370 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1">
1371 <xccdf:title xml:lang="en">Disk Partitioning</xccdf:title>
1372 <xccdf:description xml:lang="en">
1373 Some system directories should be placed on their own partitions
1374 (or logical volumes). This allows for better separation and protection of data.
1375 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1376 The installer’s default partitioning scheme creates separate partitions (or logical volumes)
1377 for /, /boot, and swap.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1378 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
1379 <xhtml:li>If starting with any of the default layouts, check the box to “Review and modify
1380 partitioning.” This allows for the easy creation of additional logical volumes inside
1381 the volume group already created, though it may require making /’s logical volume smaller
1382 to create space. In general, using logical volumes is preferable to using partitions
1383 because they can be more easily adjusted later.</xhtml:li>
1384 <xhtml:li>If creating a custom layout, create the partitions mentioned in the previous paragraph
1385 (which the installer will require anyway), as well as separate ones described in the
1386 following sections.</xhtml:li>
1387 </xhtml:ul>
1388 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1389 If a system has already been installed, and the default partitioning scheme was
1390 used, it is possible but nontrivial to modify it to create separate logical volumes for the
1391 directories listed above. The Logical Volume Manager (LVM) makes this possible. See the LVM
1392 HOWTO at http://tldp.org/HOWTO/LVM-HOWTO/ for more detailed information on LVM.
1393 </xccdf:description>
1394 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.1">
1395 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /tmp</xccdf:title>
1396 <xccdf:description xml:lang="en">
1397 The /tmp directory is a world-writable directory used for
1398 temporary file storage. Ensure that it has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1399 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1400 Because software may need to use /tmp to temporarily store large files, ensure
1401 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
1402 the availability of space on the drive and the system’s operating requirements
1403 </xccdf:description>
1404 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.1.b" operator="equals" type="string">
1405 <xccdf:title>Minimum size for /tmp</xccdf:title>
1406 <xccdf:question xml:lang="en">Choose minimum size of /tmp</xccdf:question>
1407 <xccdf:value>2G</xccdf:value>
1408 <xccdf:value selector="125M">125M</xccdf:value>
1409 <xccdf:value selector="500M">500M</xccdf:value>
1410 <xccdf:value selector="2G">2G</xccdf:value>
1411 <xccdf:value selector="10G">10G</xccdf:value>
1412 <xccdf:value selector="40G">40G</xccdf:value>
1413 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1414 </xccdf:Value>
1415 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.a" selected="false" weight="10.0">
1416 <xccdf:title xml:lang="en">Ensure that /tmp has its own partition or logical volume</xccdf:title>
1417 <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>
1418 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1419 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20000"/>
1420 </xccdf:check>
1421 </xccdf:Rule>
1422 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.1.b" selected="false" weight="2.0">
1423 <xccdf:title xml:lang="en">Ensure that /tmp is of adequate size</xccdf:title>
1424 <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>
1425 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1426 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20001"/>
1427 </xccdf:check>
1428 </xccdf:Rule>
1429 </xccdf:Group>
1430 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.2">
1431 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var</xccdf:title>
1432 <xccdf:description xml:lang="en">
1433 The /var directory is used by daemons and other system
1434 services to store frequently-changing data. It is not uncommon for the /var directory
1435 to contain world-writable directories, installed by other software packages.
1436 Ensure that /var has its own partition or logical volume.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1437 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1438 Because the yum package manager and other software uses /var to temporarily store
1439 large files, ensure that it is of adequate size. For a modern, general-purpose system,
1440 10GB should be adequate.
1441 </xccdf:description>
1442 <xccdf:Value id="xccdf_cdf_value_var-2.1.1.1.2.b" operator="equals" type="string">
1443 <xccdf:title>Minimum size of /var</xccdf:title>
1444 <xccdf:description>Choose minimum size of /var</xccdf:description>
1445 <xccdf:question xml:lang="en">Choose minimum size of /var</xccdf:question>
1446 <xccdf:value>5G</xccdf:value>
1447 <xccdf:value selector="500k">500K</xccdf:value>
1448 <xccdf:value selector="1G">1G</xccdf:value>
1449 <xccdf:value selector="5G">5G</xccdf:value>
1450 <xccdf:value selector="10G">10G</xccdf:value>
1451 <xccdf:value selector="15G">15G</xccdf:value>
1452 <xccdf:value selector="20G">20G</xccdf:value>
1453 <xccdf:match>^[\d]+[KMGkmg]?$</xccdf:match>
1454 </xccdf:Value>
1455 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.a" selected="false" severity="low" weight="10.0">
1456 <xccdf:title xml:lang="en">Ensure that /var has its own partition or logical volume</xccdf:title>
1457 <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>
1458 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1459 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20002"/>
1460 </xccdf:check>
1461 </xccdf:Rule>
1462 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.2.b" selected="false" weight="10.0">
1463 <xccdf:title xml:lang="en">Ensure that /var is of adequate size</xccdf:title>
1464 <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>
1465 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1466 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20003" value-id="xccdf_cdf_value_var-2.1.1.1.2.b"/>
1467 <!-- TBD -->
1468 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20003"/>
1469 </xccdf:check>
1470 </xccdf:Rule>
1471 </xccdf:Group>
1472 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.3">
1473 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log</xccdf:title>
1474 <xccdf:description xml:lang="en">
1475 System logs are stored in the /var/log directory.
1476 Ensure that it has its own partition or logical volume.
1477 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1478 See 2.6 for more information about logging and auditing.</xccdf:description>
1479 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.3.a" selected="false" weight="10.0">
1480 <xccdf:title xml:lang="en">Ensure that /var/log has its own partition or logical volume</xccdf:title>
1481 <xccdf:description xml:lang="en">
1482 System logs are stored in the /var/log directory.
1483 Ensure that it has its own partition or logical volume.</xccdf:description>
1484 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1485 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20004"/>
1486 </xccdf:check>
1487 </xccdf:Rule>
1488 </xccdf:Group>
1489 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.4">
1490 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /var/log/audit</xccdf:title>
1491 <xccdf:description xml:lang="en">
1492 Audit logs are stored in the /var/log/audit directory.
1493 Ensure that it has its own partition or logical volume. Make absolutely certain
1494 that it is large enough to store all audit logs that will be created by the auditing
1495 daemon.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1496 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1497 See 2.6.2.2 for discussion on deciding on an appropriate size for the volume.</xccdf:description>
1498 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.4.a" selected="false" weight="10.0">
1499 <xccdf:title xml:lang="en">Ensure that /var/log/audit has its own partition or logical volume</xccdf:title>
1500 <xccdf:description xml:lang="en">
1501 Audit logs are stored in the /var/log/audit directory.
1502 Ensure that it has its own partition or logical volume.
1503 Make absolutely certain that it is large enough to store
1504 all audit logs that will be created by the auditing daemon.</xccdf:description>
1505 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1506 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20005"/>
1507 </xccdf:check>
1508 </xccdf:Rule>
1509 </xccdf:Group>
1510 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.1.5">
1511 <xccdf:title xml:lang="en">Create Separate Partition or Logical Volume for /home if Using Local Home Directories</xccdf:title>
1512 <xccdf:description xml:lang="en">
1513 If user home directories will be stored locally, create a separate
1514 partition for /home. If /home will be mounted from another system such as an NFS server, then
1515 creating a separate partition is not necessary at this time, and the mountpoint can
1516 instead be configured later.</xccdf:description>
1517 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.1.1.5.a" selected="false" severity="low" weight="10.0">
1518 <xccdf:title xml:lang="en">Ensure that /home has its own partition or logical volume</xccdf:title>
1519 <xccdf:description xml:lang="en">
1520 If user home directories will be stored locally, create a separate partition for /home.
1521 If /home will be mounted from another system such as an NFS server, then creating a
1522 separate partition is not necessary at this time, and the mountpoint can instead be
1523 configured later.</xccdf:description>
1524 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1525 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20006"/>
1526 </xccdf:check>
1527 </xccdf:Rule>
1528 </xccdf:Group>
1529 </xccdf:Group>
1530 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.2">
1531 <xccdf:title xml:lang="en">Boot Loader Configuration</xccdf:title>
1532 <xccdf:description xml:lang="en">
1533 Check the box to "Use a boot loader password" and create a
1534 password. Once this password is set, anyone who wishes to change the boot loader
1535 configuration will need to enter it. More information is available in Section
1536 2.3.5.2.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1537 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1538 Assigning a boot loader password prevents a local user
1539 with physical access from altering the boot loader configuration at system startup.
1540 </xccdf:description>
1541 </xccdf:Group>
1542 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.3">
1543 <xccdf:title xml:lang="en">Network Devices</xccdf:title>
1544 <xccdf:description xml:lang="en">
1545 The default network device configuration uses DHCP, which is
1546 not recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1547 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1548 Unless use of DHCP is absolutely necessary, click
1549 the "Edit" button and:
1550 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
1551 <xhtml:li>
1552 Uncheck "Use Dynamic IP configuration
1553 (DHCP)".Uncheck "Enable IPv4 Support" if the system does not require IPv4. (This is
1554 uncommon.)
1555 </xhtml:li>
1556 <xhtml:li>
1557 Uncheck "Enable IPv6 Support" if the system does not require
1558 IPv6.
1559 </xhtml:li>
1560 <xhtml:li>
1561 Enter appropriate IPv4 and IPv6 addresses and prefixes as
1562 required.
1563 </xhtml:li>
1564 </xhtml:ul>
1565 With the DHCP setting disabled, the hostname, gateway, and DNS
1566 servers should then be assigned on the main screen.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1568 Sections 3.9.1
1569 and 3.9.2 contain more information on network configuration and the use of DHCP.
1570 </xccdf:description>
1571 </xccdf:Group>
1572 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.4">
1573 <xccdf:title xml:lang="en">Root Password</xccdf:title>
1574 <xccdf:description xml:lang="en">
1575 The security of the entire system depends on the strength of
1576 the root password. The password should be at least 12 characters long, and should
1577 include a mix of capitalized and lowercase letters, special characters, and numbers. It
1578 should also not be based on any dictionary word.</xccdf:description>
1579 </xccdf:Group>
1580 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.5">
1581 <xccdf:title xml:lang="en">Software Packages</xccdf:title>
1582 <xccdf:description xml:lang="en">
1583 Uncheck all package groups, including the package groups
1584 "Software Development" and "Web Server", unless there is a specific requirement to
1585 install software using the system installer. If the machine will be used as a web
1586 server, it is preferable to manually install the necessary RPMs instead of installing
1587 the full "Web Server" package group. See Section 3.16 for installation and configuration
1588 details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1589 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1590 Use the "Customize now" radio box to prune package groups
1591 as much as possible. This brings up a two-column view of categories and package groups.
1592 If appropriate, uncheck "X Window System" in the "Base System" category to avoid
1593 installing X entirely. Any other package groups not necessary for system operation
1594 should also be unchecked.
1595 </xccdf:description>
1596 </xccdf:Group>
1597 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.1.6">
1598 <xccdf:title xml:lang="en">First-boot Configuration</xccdf:title>
1599 <xccdf:description xml:lang="en">
1600 The system presents more configuration options during the first
1601 boot after installation. For the screens listed, implement the security-related
1602 recommendations:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1604 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
1605 <xhtml:li>
1606 Firewall - Leave set to
1607 'Enabled.' Only check the 'Trusted Services' that this system needs to serve. Uncheck
1608 the default selection of SSH if the system does not need to serve
1609 SSH.
1610 </xhtml:li>
1611 <xhtml:li>
1612 SELinux - Leave SELinux set to 'Enforcing' mode.
1613 </xhtml:li>
1614 <xhtml:li>
1615 Kdump -
1616 Leave Kdump off unless the feature is required, such as for kernel development and
1617 testing.
1618 </xhtml:li>
1619 <xhtml:li>
1620 Set Up Software Updates - If the system is connected to the
1621 Internet now, click 'Yes, I'd like to register now.' This will require a connection to
1622 either the Red Hat Network servers or their proxies or satellites. This can also be
1623 configured later as described in Section 2.1.2.1.
1624 </xhtml:li>
1625 <xhtml:li>
1626 Create User - If the
1627 system will require a local user account, it can be created here. Even if the system
1628 will be using a network-wide authentication system as described in Section 2.3.6, do
1629 not click on the 'Use Network Login...' button. Manually applying configuration later
1630 is preferable.
1631 </xhtml:li>
1632 </xhtml:ul>
1633 </xccdf:description>
1634 </xccdf:Group>
1635 </xccdf:Group>
1636 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2">
1637 <xccdf:title xml:lang="en">Security Updates</xccdf:title>
1638 <xccdf:description xml:lang="en">
1639 As security vulnerabilities are discovered, the affected software must be updated in order
1640 to limit any potential security risks. If the software is part of a package within a Fedora
1641 distribution that is currently supported, Fedora is committed to releasing updated packages
1642 that fix the vulnerability as soon as is possible. Often, announcements about a given
1643 security exploit are accompanied with a patch (or source code that fixes the problem).
1644 This patch is then applied to the Fedora package and tested and released as an errata update.
1645 However, if an announcement does not include a patch, a developer first works with the maintainer
1646 of the software to fix the problem. Once the problem is fixed, the package is tested
1647 and released as an errata update.
1648 </xccdf:description>
1649 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1">
1650 <xccdf:title xml:lang="en">Updating Software</xccdf:title>
1651 <xccdf:description xml:lang="en">
1652 The yum command line tool is used to install and update software
1653 packages. The system also provides package management service called PackageKit
1654 that allows the session users to manage packages in a secure way. There are several
1655 graphical utilities designed for installing, updating and removing packages on your
1656 system that use PackageKit API. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1657 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1658 It is recommended to use these mechanisms to keep systems up to date with the latest
1659 security patches.
1660 </xccdf:description>
1661 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.1.1">
1662 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1663 <xccdf:description xml:lang="en">
1664 To ensure that the system can cryptographically verify update packages run the following command to verify
1665 that the system has the Fedora GPG properly installed:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1666 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1667 <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"/>
1668 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1669 The command should return the string:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1670 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1671 gpg(Fedora (14) &lt;[email protected]&gt;)</xccdf:description>
1672 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.1.1.a" selected="false" weight="10">
1673 <xccdf:title xml:lang="en">Ensure Fedora GPG Key is Installed</xccdf:title>
1674 <xccdf:description>The GPG key should be installed.</xccdf:description>
1675 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1676 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200065"/>
1677 </xccdf:check>
1678 </xccdf:Rule>
1679 </xccdf:Group>
1680 </xccdf:Group>
1681 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3">
1682 <xccdf:title xml:lang="en">Obtain Software Package Updates with yum</xccdf:title>
1683 <xccdf:description xml:lang="en">
1684 The yum update utility can be run by hand from the command
1685 line, called through one of the provided front-end tools, or configured to run
1686 automatically at specified intervals.</xccdf:description>
1687 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.2">
1688 <xccdf:title xml:lang="en">Configure Automatic Update Retrieval and Installation with Cron</xccdf:title>
1689 <xccdf:description xml:lang="en">
1690 The yum-updatesd service is not mature enough for an
1691 enterprise environment, and the service may introduce unnecessary overhead. When
1692 possible, replace this service with a cron job that calls yum
1693 directly.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1694 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1695 Create the file yum.cron, make it executable, and place it in
1696 /etc/cron.daily:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1697 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1698 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#!/bin/sh<xhtml:br/>
1699 <xhtml:br/>
1700 /usr/bin/yum -R 120 -e 0 -d 0 -y update yum
1701 <xhtml:br/>
1702 /usr/bin/yum -R 10 -e 0 -d 0 -y update<xhtml:br/></xhtml:code>
1703 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1704 This particular script instructs yum to update any
1705 packages it finds. Placing the script in /etc/cron.daily ensures its daily execution.
1706 To only apply updates once a week, place the script in /etc/cron.weekly instead.
1707 </xccdf:description>
1708 <xccdf:Value id="xccdf_cdf_value_var-2.1.2.3.2.b" operator="equals" type="string">
1709 <xccdf:title>Schedule yum update using cron</xccdf:title>
1710 <xccdf:description>Enter frequency of with which to invoke yum update</xccdf:description>
1711 <xccdf:question xml:lang="en">Select frequency of yum update</xccdf:question>
1712 <xccdf:value>daily</xccdf:value>
1713 <xccdf:value selector="hourly">hourly</xccdf:value>
1714 <xccdf:value selector="daily">daily</xccdf:value>
1715 <xccdf:value selector="weekly">weekly</xccdf:value>
1716 <xccdf:value selector="monthly">monthly</xccdf:value>
1717 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1718 <xccdf:choices mustMatch="1">
1719 <xccdf:choice>hourly</xccdf:choice>
1720 <xccdf:choice>daily</xccdf:choice>
1721 <xccdf:choice>weekly</xccdf:choice>
1722 <xccdf:choice>monthly</xccdf:choice>
1723 </xccdf:choices>
1724 </xccdf:Value>
1725 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.a" selected="false" severity="low" weight="10.0">
1726 <xccdf:title>yum-updatesd service should be disabled</xccdf:title>
1727 <xccdf:description>The yum-updatesd service should be disabled</xccdf:description>
1728 <xccdf:ident system="http://cce.mitre.org">CCE-4218-4</xccdf:ident>
1729 <xccdf:fix># chkconfig yum-updatesd off</xccdf:fix>
1730 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1731 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20008"/>
1732 </xccdf:check>
1733 </xccdf:Rule>
1734 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.2.b" selected="false" severity="medium" weight="10.0">
1735 <xccdf:title>Automatic Update Retrieval should be scheduled with Cron</xccdf:title>
1736 <xccdf:description>Place the yum.cron script somewhere in /etc/cron.*/</xccdf:description>
1737 <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>
1738 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1739 <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"/>
1740 <!-- TBD -->
1741 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20009"/>
1742 </xccdf:check>
1743 </xccdf:Rule>
1744 </xccdf:Group>
1745 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.3">
1746 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Globally Activated</xccdf:title>
1747 <xccdf:description xml:lang="en">
1748 The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
1749 to its installation.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1751 To force yum to check package signatures before installing them, ensure that the following line appears in
1752 /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1753 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1754 gpgcheck=1
1755 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1756 </xccdf:description>
1757 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.3.a" selected="false" weight="10.0">
1758 <xccdf:title>Ensure gpgcheck is Globally Activated</xccdf:title>
1759 <xccdf:description>
1760 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"/>
1761 <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"/>
1762 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1763 gpgcheck=1</xccdf:description>
1764 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1765 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20010"/>
1766 </xccdf:check>
1767 </xccdf:Rule>
1768 </xccdf:Group>
1769 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.4">
1770 <xccdf:title xml:lang="en">Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1771 <xccdf:description xml:lang="en">
1772 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1773 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1774 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1775 gpgcheck=0
1776 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1777 </xccdf:description>
1778 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.4.a" selected="false" weight="10.0">
1779 <xccdf:title>Ensure Package Signature Checking is Not Disabled For Any Repos</xccdf:title>
1780 <xccdf:description>
1781 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"/>
1782 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1783 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1784 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20011"/>
1785 </xccdf:check>
1786 </xccdf:Rule>
1787 </xccdf:Group>
1788 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.5">
1789 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1790 <xccdf:description xml:lang="en">
1791 The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
1792 to using it.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1793 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1794 To force yum to check the signature on repodata sent by a repository prior to using it, ensure that the
1795 following line appears in /etc/yum.conf in the [main] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1796 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1797 repo_gpgcheck=1
1798 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1799 </xccdf:description>
1800 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.5.a" selected="false" weight="10.0">
1801 <xccdf:title>Ensure Repodata Signature Checking is Globally Activated</xccdf:title>
1802 <xccdf:description>
1803 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"/>
1804 <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"/>
1805 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>repo_gpgcheck=1</xccdf:description>
1806 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1807 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20012"/>
1808 </xccdf:check>
1809 </xccdf:Rule>
1810 </xccdf:Group>
1811 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.2.3.6">
1812 <xccdf:title xml:lang="en">Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1813 <xccdf:description xml:lang="en">
1814 To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
1815 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1816 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1817 gpgcheck=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1818 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1819 Note: Red Hat’s repositories support signatures on repodata, but some public repositories do not. If a repository
1820 does not support signature checking on repodata, then this risk must be weighed against the value of using the
1821 repository.
1822 </xccdf:description>
1823 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.2.3.6.a" selected="false" weight="10.0">
1824 <xccdf:title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</xccdf:title>
1825 <xccdf:description>
1826 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"/>
1827 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>gpgcheck=0</xccdf:description>
1828 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1829 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20013"/>
1830 </xccdf:check>
1831 </xccdf:Rule>
1832 </xccdf:Group>
1833 </xccdf:Group>
1834 </xccdf:Group>
1835 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3">
1836 <xccdf:title xml:lang="en">Software Integrity Checking</xccdf:title>
1837 <xccdf:description xml:lang="en">
1838 The AIDE (Advanced Intrusion Detection Environment) software is
1839 included with the system to provide software integrity checking. It is designed to be a
1840 replacement for the well-known Tripwire integrity checker. Integrity checking cannot
1841 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">prevent</xhtml:em>
1842 intrusions into your system, but can detect that they have occurred.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1843 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1844 Any integrity checking software should be configured before
1845 the system is deployed and able to provides services to users. Ideally, the integrity
1846 checking database would be built before the system is connected to any network, though
1847 this may prove impractical due to registration and software updates.
1848 </xccdf:description>
1849 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1">
1850 <xccdf:title xml:lang="en">Configure AIDE</xccdf:title>
1851 <xccdf:description xml:lang="en">
1852 Requirements for software integrity checking should be defined
1853 by policy, and this is highly dependent on the environment in which the system will be
1854 used. As such, a general strategy for implementing integrity checking is provided, but
1855 precise recommendations (such as to check a particular file) cannot be. Documentation
1856 for AIDE, including the quick-start on which this advice is based, is available in
1857 /usr/share/doc/aide-0.12.</xccdf:description>
1858 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.1">
1859 <xccdf:title xml:lang="en">Install AIDE</xccdf:title>
1860 <xccdf:description xml:lang="en">AIDE is not installed by default.</xccdf:description>
1861 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.1.a" selected="false" severity="medium" weight="10.0">
1862 <xccdf:title>Install AIDE</xccdf:title>
1863 <xccdf:description>The AIDE package should be installed</xccdf:description>
1864 <xccdf:ident system="http://cce.mitre.org">CCE-4209-3</xccdf:ident>
1865 <xccdf:fix>yum install aide</xccdf:fix>
1866 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1867 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20014"/>
1868 </xccdf:check>
1869 </xccdf:Rule>
1870 </xccdf:Group>
1871 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.2">
1872 <xccdf:title xml:lang="en">Customize Configuration File</xccdf:title>
1873 <xccdf:description xml:lang="en">
1874 Customize /etc/aide.conf to meet your requirements. The
1875 default configuration is acceptable for many environments.
1876 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1877 The man page aide.conf(5)
1878 provides detailed information about the configuration file format.
1879 </xccdf:description>
1880 </xccdf:Group>
1881 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.3">
1882 <xccdf:title xml:lang="en">Build, Store, and Test Database</xccdf:title>
1883 <xccdf:description xml:lang="en">
1884 Generate a new database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1885 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1886 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --init<xhtml:br/></xhtml:code>
1887 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1888 By default, the database will be written to
1889 the file /var/lib/aide/aide.db.new.gz. The database, as well as the configuration file
1890 /etc/aide.conf and the binary /usr/sbin/aide (or hashes of these files) should be
1891 copied and stored in a secure location. Storing these copies or hashes on read-only
1892 media may provide further confidence that they will not be
1893 altered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1894 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1895 Install the newly-generated database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1896 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1897 <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>
1898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1899 Run a manual check:
1900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1901 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1902 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /usr/sbin/aide --check<xhtml:br/></xhtml:code>
1903 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1904 If this check produces any unexpected output, investigate.
1905 </xccdf:description>
1906 </xccdf:Group>
1907 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.4">
1908 <xccdf:title xml:lang="en">Implement Periodic Execution of Integrity Checking</xccdf:title>
1909 <xccdf:description xml:lang="en">
1910 By default, AIDE does not install itself for periodic execution.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1911 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1912 Implement checking with whatever frequency is required
1913 by your security policy. A once-daily check may be suitable for many environments. For
1914 example, to implement a daily execution of AIDE at 4:05am, add the following line to
1915 /etc/crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1916 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1917 05 4 * * * root /usr/sbin/aide --check<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1918 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1919 AIDE output may be an indication of an attack against
1920 your system, or it may be the result of something innocuous such as an administrator's
1921 configuration change or a software update. The steps in Section 2.1.3.1.3 should be
1922 repeated when configuration changes or software updates necessitate. This will
1923 certainly be necessary after applying guidance later in this guide.
1924 </xccdf:description>
1925 <xccdf:Value id="xccdf_cdf_value_var-2.1.3.1.4.a" operator="equals" type="string">
1926 <xccdf:title>Schedule AIDE check using cron</xccdf:title>
1927 <xccdf:description>Frequency with which to run AIDE check</xccdf:description>
1928 <xccdf:question xml:lang="en">Select frequency with which to run AIDE check</xccdf:question>
1929 <xccdf:value>daily</xccdf:value>
1930 <xccdf:value selector="hourly">hourly</xccdf:value>
1931 <xccdf:value selector="daily">daily</xccdf:value>
1932 <xccdf:value selector="weekly">weekly</xccdf:value>
1933 <xccdf:value selector="monthly">monthly</xccdf:value>
1934 <xccdf:match>hourly|daily|weekly|monthly</xccdf:match>
1935 <xccdf:choices mustMatch="1">
1936 <xccdf:choice>hourly</xccdf:choice>
1937 <xccdf:choice>daily</xccdf:choice>
1938 <xccdf:choice>weekly</xccdf:choice>
1939 <xccdf:choice>monthly</xccdf:choice>
1940 </xccdf:choices>
1941 </xccdf:Value>
1942 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.1.4.a" role="full" selected="false" severity="medium" weight="10.0">
1943 <xccdf:title>Run AIDE periodically</xccdf:title>
1944 <xccdf:description>Setup cron to run AIDE periodically using cron.</xccdf:description>
1945 <!-- note that anything periodic will pass including monthly -->
1946 <xccdf:fix>echo -e "/usr/sbin/aide --check" &gt; /etc/cron.daily/aide.cron</xccdf:fix>
1947 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1948 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20015" value-id="xccdf_cdf_value_var-2.1.3.1.4.a"/>
1949 <!-- TBD -->
1950 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20015"/>
1951 </xccdf:check>
1952 </xccdf:Rule>
1953 </xccdf:Group>
1954 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.1.5">
1955 <xccdf:title xml:lang="en">Manually Verify Integrity of AIDE</xccdf:title>
1956 <xccdf:description xml:lang="en">
1957 Because integrity checking is a means of intrusion detection
1958 and not intrusion prevention, it cannot be guaranteed that the AIDE binaries,
1959 configuration files, or database have not been tampered with. An attacker could
1960 disable or alter these files after a successful intrusion. Because of this, manual and
1961 frequent checks on these files is recommended. The safely stored copies (or hashes) of
1962 the database, binary, and configuration file were created earlier for this
1963 purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1964 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1965 Manually verify the integrity of the AIDE binaries,
1966 configuration file, and database. Possibilities for doing so include:
1967 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
1968 <xhtml:li>Use sha1sum or md5sum to generate checksums on the
1969 files and then visually compare them to those generated from the safely stored
1970 versions. This does not, of course, preclude the possibility that such output could
1971 also be faked.</xhtml:li>
1972 <xhtml:li>Mount the stored versions on read-only media and run
1973 /bin/diff to verify that there are no differences between the
1974 files.</xhtml:li>
1975 <xhtml:li>Copying the files to another system and performing the hash or file
1976 comparisons there may impart additional confidence that the manual verification
1977 process is not being interfered with.</xhtml:li>
1978 </xhtml:ol>
1979 </xccdf:description>
1980 </xccdf:Group>
1981 </xccdf:Group>
1982 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.1.3.2">
1983 <xccdf:title xml:lang="en">Verify Package Integrity Using RPM</xccdf:title>
1984 <xccdf:description xml:lang="en">
1985 The RPM package management system includes the ability to
1986 verify the integrity of installed packages by comparing the installed files with
1987 information about the files taken from the package metadata stored in the RPM
1988 database. Although an attacker could corrupt the RPM database (analogous to
1989 attacking the AIDE database as described above), this check can still reveal
1990 modification of important files.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1991 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1992 To determine which files on the system differ from what is expected by the RPM
1993 database:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1994 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1995 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa<xhtml:br/></xhtml:code>
1996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
1997 A “c” in the second column indicates that a file is a configuration file (and may be
1998 expected to change). In order to exclude configuration files from this list, run:
1999 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2000 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpm -qVa | awk '$2!="c" {print $0}'<xhtml:br/></xhtml:code>
2001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2002 The man page rpm(8) describes the format of the output. Any files that do not
2003 match the expected output demand further investigation if the system is being
2004 seriously examined. This check could also be run as a cron job.
2005 </xccdf:description>
2006 <xccdf:Rule id="xccdf_cdf_rule_rule-2.1.3.2.a" selected="false" weight="10.0">
2007 <xccdf:title>Verify Package Integrity Using RPM</xccdf:title>
2008 <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>
2009 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2010 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200155"/>
2011 </xccdf:check>
2012 </xccdf:Rule>
2013 </xccdf:Group>
2014 </xccdf:Group>
2015 </xccdf:Group>
2016 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2">
2017 <xccdf:title xml:lang="en">File Permissions and Masks</xccdf:title>
2018 <xccdf:description xml:lang="en">
2019 Traditional Unix security relies heavily on file and directory
2020 permissions to prevent unauthorized users from reading or modifying files to which they
2021 should not have access. Adhere to the principle of least privilege — configure each file,
2022 directory, and filesystem to allow only the access needed in order for that file to serve
2023 its purpose.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2025 However, Linux systems contain a large number of files, so
2026 it is often prohibitively time-consuming to ensure that every file on a machine has exactly
2027 the permissions needed. This section introduces several permission restrictions which are
2028 almost always appropriate for system security, and which are easy to test and
2029 correct. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2031 Note: Several of the commands in this section search
2032 filesystems for files or directories with certain characteristics, and are intended to be
2033 run on every local ext2, ext3 and ext4 partition on a given machine. When the variable
2034 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2035 appears in one of the commands below, it means that the command
2036 is intended to be run repeatedly, with the name of each local partition substituted for
2037 <xhtml:em xmlns:xhtml="http://www.w3.org/1999/xhtml">PART</xhtml:em>
2038 in turn.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2039 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2040 The following command prints a
2041 list of ext2, ext3 and ext4 partitions on a given machine:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2043 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ mount -t ext2,ext3,ext4 | awk '{print $3}'<xhtml:br/></xhtml:code>
2044 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2045 If your site uses a local filesystem type other than ext{234}, you will need to modify
2046 this command.
2047 </xccdf:description>
2048 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1">
2049 <xccdf:title xml:lang="en">Restrict Partition Mount Options</xccdf:title>
2050 <xccdf:description xml:lang="en">
2051 System partitions can be mounted with certain options which limit
2052 what files on those partitions can do. These options are set in the file /etc/fstab, and
2053 can be used to make certain types of malicious behavior more difficult.</xccdf:description>
2054 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.1" weight="1.0">
2055 <xccdf:title xml:lang="en">Add nodev Option to Non-Root Local Partitions</xccdf:title>
2056 <xccdf:description xml:lang="en">
2057 The nodev option prevents users from mounting unauthorized
2058 devices on any partition which is known not to contain any authorized devices. The root
2059 partition typically contains the /dev partition, which is the primary location for
2060 authorized devices, so this option should not be set on /. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2062 However, if system programs are being run in chroot jails, this advice may need to be
2063 modified further, since it is often necessary to create device files inside the chroot
2064 directory for use by the restricted program.
2065 </xccdf:description>
2066 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.1.a" role="full" selected="false" severity="unknown" weight="10.0">
2067 <xccdf:title>Add nodev Option to Non-Root Local Partitions</xccdf:title>
2068 <xccdf:description>The nodev option should be disabled as appropriate for all non-root partitions.</xccdf:description>
2069 <xccdf:ident system="http://cce.mitre.org">CCE-4249-9</xccdf:ident>
2070 <xccdf:fixtext>
2071 Edit the file /etc/fstab. The important columns for purposes of
2072 this section are column 2 (mount point), column 3 (filesystem type), and column 4 (mount
2073 options). For any line which satisfies all of the conditions:
2074 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
2075 <xhtml:li>The filesystem type is ext2, ext3 or ext4</xhtml:li>
2076 <xhtml:li>The mount point is not /</xhtml:li>
2077 </xhtml:ul>
2078 add the text “,nodev” to the list of mount options in column 4. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2079 </xccdf:fixtext>
2080 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2081 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20016"/>
2082 </xccdf:check>
2083 </xccdf:Rule>
2084 </xccdf:Group>
2085 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.1.2">
2086 <xccdf:title xml:lang="en">Add nodev, nosuid, and noexec Options to Removable Media Partitions</xccdf:title>
2087 <xccdf:description xml:lang="en">
2088 Users should not be allowed to introduce arbitrary devices or
2089 setuid programs to a system. These options are used to prevent that. In addition, while
2090 users are usually allowed to add executable programs to a system, the noexec option
2091 prevents code from being executed directly from the media itself, and may therefore
2092 provide a line of defense against certain types of worms or malicious code.</xccdf:description>
2093 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.a" selected="false" weight="10.0">
2094 <xccdf:title>Add nodev Option to Removable Media Partitions</xccdf:title>
2095 <xccdf:description>The nodev option should be disabled for all removable media.</xccdf:description>
2096 <xccdf:ident system="http://cce.mitre.org">CCE-3522-0</xccdf:ident>
2097 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2098 located by finding lines whose mount points contain strings like floppy or cdrom, or
2099 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2100 mountpoint, add the text ',nodev' to the list of mount options in column 4.</xccdf:fixtext>
2101 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2102 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20017"/>
2103 </xccdf:check>
2104 </xccdf:Rule>
2105 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.b" selected="false" weight="10.0">
2106 <xccdf:title>Add noexec Option to Removable Media Partitions</xccdf:title>
2107 <xccdf:description>The noexec option should be disabled for all removable media.</xccdf:description>
2108 <xccdf:ident system="http://cce.mitre.org">CCE-4275-4</xccdf:ident>
2109 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2110 located by finding lines whose mount points contain strings like floppy or cdrom, or
2111 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2112 mountpoint, add the text ',noexec' to the list of mount options in column 4.</xccdf:fixtext>
2113 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2114 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20018"/>
2115 </xccdf:check>
2116 </xccdf:Rule>
2117 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.1.2.c" selected="false" severity="medium" weight="10.0">
2118 <xccdf:title>Add nosuid Option to Removable Media Partitions</xccdf:title>
2119 <xccdf:description>The nosuid option should be disabled for all removable media.</xccdf:description>
2120 <xccdf:ident system="http://cce.mitre.org">CCE-4042-8</xccdf:ident>
2121 <xccdf:fixtext>Edit the file /etc/fstab. Filesystems which represent removable media can be
2122 located by finding lines whose mount points contain strings like floppy or cdrom, or
2123 whose types are iso9660, vfat, or msdos. For each line representing a removable media
2124 mountpoint, add the text ',nosuid' to the list of mount options in column 4.</xccdf:fixtext>
2125 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2126 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20019"/>
2127 </xccdf:check>
2128 </xccdf:Rule>
2129 </xccdf:Group>
2130 </xccdf:Group>
2131 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2">
2132 <xccdf:title xml:lang="en">Restrict Dynamic Mounting and Unmounting of Filesystems</xccdf:title>
2133 <xccdf:description xml:lang="en">
2134 Linux includes a number of facilities for the automated addition
2135 and removal of filesystems on a running system. These facilities may increase convenience,
2136 but they all bring some risk, whether direct risk from allowing unprivileged users to
2137 introduce arbitrary filesystems to a machine, or risk that software flaws in the automated
2138 mount facility itself will allow an attacker to compromise the
2139 system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2140 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2141 Use caution when enabling any such facility, and find out
2142 whether better configuration management or user education might solve the same problem
2143 with less risk.
2144 </xccdf:description>
2145 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1">
2146 <xccdf:title xml:lang="en">Disable USB Device Support</xccdf:title>
2147 <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>
2148 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.1">
2149 <xccdf:title xml:lang="en">Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2150 <xccdf:description xml:lang="en">
2151 If USB storage devices should not be used, the modprobe
2152 program used for automatic kernel module loading should be configured to not load the
2153 USB storage driver upon demand. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2154 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2155 This will prevent the modprobe program from loading the usb-storage module, but will
2156 not prevent an administrator (or another program) from using the insmod program to
2157 load the module manually.
2158 </xccdf:description>
2159 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.1.a" selected="false" weight="10.0">
2160 <xccdf:title>Disable Modprobe Loading of USB Storage Driver</xccdf:title>
2161 <xccdf:description>The USB device support module should not be loaded</xccdf:description>
2162 <xccdf:ident system="http://cce.mitre.org">CCE-4187-1</xccdf:ident>
2163 <xccdf:fix>echo -e "\ndenylist usb_storage" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2164 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2165 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20021"/>
2166 </xccdf:check>
2167 </xccdf:Rule>
2168 </xccdf:Group>
2169 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.2">
2170 <xccdf:title xml:lang="en">Remove USB Storage Driver</xccdf:title>
2171 <xccdf:description xml:lang="en">
2172 If your system never requires the use of USB storage devices,
2173 then the supporting driver can be removed. Though more effective (as USB storage
2174 certainly cannot be used if the driver is not available at all), this is less elegant
2175 than the method described in Section 2.2.2.1.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2176 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2177 Note that this guidance will not prevent USB storage devices from being mounted if a
2178 custom kernel (i.e., not the one supplied with the system) with built-in USB support
2179 is used.
2180 </xccdf:description>
2181 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.2.a" selected="false" weight="10.0">
2182 <xccdf:title>Remove USB Storage Driver</xccdf:title>
2183 <xccdf:description>
2184 The USB device support module should not be installed. The command in
2185 the FIX will need to be repeated every time the kernel is updated. This command
2186 will also cause the command rpm -q --verify kernel to fail, which may be an
2187 undesirable side effect.</xccdf:description>
2188 <xccdf:ident system="http://cce.mitre.org">CCE-4006-3</xccdf:ident>
2189 <xccdf:fix>rm /lib/modules/2.6.*/kernel/drivers/usb/storage/usb-storage.ko</xccdf:fix>
2190 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2191 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20022"/>
2192 </xccdf:check>
2193 </xccdf:Rule>
2194 </xccdf:Group>
2195 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.3">
2196 <xccdf:title xml:lang="en">Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2197 <xccdf:description xml:lang="en">
2198 Another means of disabling USB storage is to disable all USB
2199 support provided by the operating system. This can be accomplished by adding the
2200 'nousb' argument to the kernel's boot loader configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2201 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2202 NOTE
2203 - Disabling all kernel support for USB will cause problems for systems with USB-based
2204 keyboards, mice, or printers. This guidance is inappropriate for systems which require
2205 USB connectivity.
2206 </xccdf:description>
2207 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.3.a" selected="false" weight="10.0">
2208 <xccdf:title>Disable Kernel Support for USB via Bootloader Configuration</xccdf:title>
2209 <xccdf:description>USB kernel support should be disabled.</xccdf:description>
2210 <xccdf:ident system="http://cce.mitre.org">CCE-4173-1</xccdf:ident>
2211 <xccdf:fixtext>To disable kernel support for USB, append 'nousb' to the kernel line in
2212 /etc/grub.conf as follows: kernel /vmlinuz-version ro vga=ext
2213 root=/dev/VolGroup00/LogVol00 rhgb quiet nousb</xccdf:fixtext>
2214 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2215 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20023"/>
2216 </xccdf:check>
2217 </xccdf:Rule>
2218 </xccdf:Group>
2219 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.1.4">
2220 <xccdf:title xml:lang="en">Disable Booting from USB Devices</xccdf:title>
2221 <xccdf:description xml:lang="en">
2222 An attacker with physical access could try to boot the system
2223 from a USB flash drive and then access any data on the system's hard drive,
2224 circumventing the normal operating system's access controls. To prevent this,
2225 configure the BIOS to disallow booting from USB drives. Also configure the BIOS or
2226 firmware password as described in Section 2.3.5.1 to prevent unauthorized
2227 configuration changes.</xccdf:description>
2228 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.1.4.a" selected="false" severity="high" weight="10.0">
2229 <xccdf:title>Disable Booting from USB Devices in the BIOS</xccdf:title>
2230 <xccdf:description>The ability to boot from USB devices should be disabled</xccdf:description>
2231 <xccdf:ident system="http://cce.mitre.org">CCE-3944-6</xccdf:ident>
2232 <xccdf:fixtext>BIOS settings</xccdf:fixtext>
2233 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2234 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20024"/>
2235 </xccdf:check>
2236 </xccdf:Rule>
2237 </xccdf:Group>
2238 </xccdf:Group>
2239 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.2">
2240 <xccdf:title xml:lang="en">Disable the Automounter if Possible</xccdf:title>
2241 <xccdf:description xml:lang="en">
2242 If the autofs service is not needed to dynamically mount NFS
2243 filesystems or removable media, disable the service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2244 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2245 The autofs daemon mounts and unmounts filesystems, such as user home directories shared
2246 via NFS, on demand. In addition, autofs can be used to handle removable media, and the
2247 default configuration provides the cdrom device as /misc/cd. However, this method of
2248 providing access to removable media is not common, so autofs can almost always be
2249 disabled if NFS is not in use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2250 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2251 Even if NFS is required, it is almost always
2252 possible to configure filesystem mounts statically by editing /etc/fstab rather than
2253 relying on the automounter.
2254 </xccdf:description>
2255 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.2.a" selected="false" severity="medium" weight="10.0">
2256 <xccdf:title>Disable the Automounter if Possible</xccdf:title>
2257 <xccdf:description>The autofs service should be disabled.</xccdf:description>
2258 <xccdf:ident system="http://cce.mitre.org">CCE-4072-5</xccdf:ident>
2259 <xccdf:fix>chkconfig autofs off</xccdf:fix>
2260 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2261 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20025"/>
2262 </xccdf:check>
2263 </xccdf:Rule>
2264 </xccdf:Group>
2265 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.3">
2266 <xccdf:title xml:lang="en">Disable GNOME Automounting if Possible</xccdf:title>
2267 <xccdf:description xml:lang="en">
2268 The system's default desktop environment, GNOME, runs the
2269 program gnome-volume-manager to mount devices and removable media (such as DVDs, CDs and
2270 USB flash drives) whenever they are inserted into the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2272 The system's capabilities for automatic mounting should be configured to match whatever
2273 is defined by security policy. Disabling USB storage as described in Section 2.2.2.2.1
2274 will prevent the use of USB storage devices, but this step can also be taken as an
2275 additional layer of prevention and to prevent automatic mounting of CDs and DVDs if
2276 required. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2277 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2278 Particularly for kiosk-style systems, where users should
2279 have extremely limited access to the system, more detailed information can be found in
2280 Red Hat Desktop: Deployment Guide. The gconf-editor program, available in an RPM of the
2281 same name, can be used to explore other settings available in the GNOME environment.
2282 </xccdf:description>
2283 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.3.a" selected="false" severity="medium" weight="10.0">
2284 <xccdf:title>Disable GNOME Automounting if Possible</xccdf:title>
2285 <xccdf:description>The GNOME automounter (gnome-volume-manager) should be disabled if possible</xccdf:description>
2286 <xccdf:ident system="http://cce.mitre.org">CCE-4231-7</xccdf:ident>
2287 <xccdf:fixtext>Execute the following commands to prevent gnome-volume-manager from automatically
2288 mounting devices and media: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2290 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
2291 # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2292 --type bool --set /desktop/gnome/volume_manager/automount_media false
2293 <xhtml:br/> <xhtml:br/>
2294 # gconftool-2 --direct
2295 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
2296 --type bool
2297 --set /desktop/gnome/volume_manager/automount_drives false
2298 </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2299 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2300 Verify the changes by executing
2301 the following command, which should return a list of settings: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2303 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># gconftool-2 -R /desktop/gnome/volume_manager <xhtml:br/></xhtml:code>
2304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2305 The automount drives and automount media settings should
2306 be set to false. Survey the list for any other options that should be adjusted.</xccdf:fixtext>
2307 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2308 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20026"/>
2309 </xccdf:check>
2310 </xccdf:Rule>
2311 </xccdf:Group>
2312 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.2.4">
2313 <xccdf:title xml:lang="en">Disable Mounting of Uncommon Filesystem Types</xccdf:title>
2314 <xccdf:description xml:lang="en">
2315 Specifying kernel module in /etc/modprobe.d/denylist.conf will prevent
2316 kernel module loading system from inserting the modele into the kernel.
2317 This mechanism effectively prevents usage of these uncommon filesystems.</xccdf:description>
2318 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.a" selected="false" weight="10.0">
2319 <xccdf:title>Disable Mounting of cramfs</xccdf:title>
2320 <xccdf:description>cramfs is uncommon filesystems</xccdf:description>
2321 <xccdf:fix>echo "denylist cramfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2322 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2323 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20027"/>
2324 </xccdf:check>
2325 </xccdf:Rule>
2326 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.b" selected="false" weight="10.0">
2327 <xccdf:title>Disable Mounting of freevxfs</xccdf:title>
2328 <xccdf:description>freevxfs is uncommon filesystems</xccdf:description>
2329 <xccdf:fix>echo "denylist freevxfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2330 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2331 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20028"/>
2332 </xccdf:check>
2333 </xccdf:Rule>
2334 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.c" selected="false" weight="10.0">
2335 <xccdf:title>Disable Mounting of jffs2</xccdf:title>
2336 <xccdf:description>jffs2 is uncommon filesystems</xccdf:description>
2337 <xccdf:fix>echo "denylist jffs2" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2338 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2339 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20029"/>
2340 </xccdf:check>
2341 </xccdf:Rule>
2342 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.d" selected="false" weight="10.0">
2343 <xccdf:title>Disable Mounting of hfs</xccdf:title>
2344 <xccdf:description>hfs is uncommon filesystems</xccdf:description>
2345 <xccdf:fix>echo "denylist hfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2346 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2347 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20030"/>
2348 </xccdf:check>
2349 </xccdf:Rule>
2350 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.e" selected="false" weight="10.0">
2351 <xccdf:title>Disable Mounting of hfsplus</xccdf:title>
2352 <xccdf:description>hfsplus is uncommon filesystems</xccdf:description>
2353 <xccdf:fix>echo "denylist hfsplus" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2354 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2355 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20031"/>
2356 </xccdf:check>
2357 </xccdf:Rule>
2358 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.f" selected="false" weight="10.0">
2359 <xccdf:title>Disable Mounting of squashfs</xccdf:title>
2360 <xccdf:description>squashfs is uncommon filesystems</xccdf:description>
2361 <xccdf:fix>echo "denylist squashfs" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2362 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2363 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20032"/>
2364 </xccdf:check>
2365 </xccdf:Rule>
2366 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.2.4.g" selected="false" weight="10.0">
2367 <xccdf:title>Disable Mounting of udf</xccdf:title>
2368 <xccdf:description>udf is uncommon filesystems</xccdf:description>
2369 <xccdf:fix>echo "denylist udf" &gt;&gt; /etc/modprobe.d/denylist.conf</xccdf:fix>
2370 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2371 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20033"/>
2372 </xccdf:check>
2373 </xccdf:Rule>
2374 </xccdf:Group>
2375 </xccdf:Group>
2376 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3">
2377 <xccdf:title xml:lang="en">Verify Permissions on Important Files and Directories</xccdf:title>
2378 <xccdf:description xml:lang="en">
2379 Permissions for many files on a system should be set to conform
2380 to system policy. This section discusses important permission restrictions which
2381 should be checked on a regular basis to ensure that no harmful discrepancies have arisen.
2382 </xccdf:description>
2383 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.1">
2384 <xccdf:title xml:lang="en">Verify Permissions on passwd, shadow, group and gshadow Files</xccdf:title>
2385 <xccdf:description xml:lang="en">
2386 These are the default permissions for these files. Many
2387 utilities need read access to the passwd file in order to function properly, but read
2388 access to the shadow file allows malicious attacks against system passwords, and should
2389 never be enabled.</xccdf:description>
2390 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.i" operator="equals" type="string">
2391 <xccdf:title>Permissions for shadow</xccdf:title>
2392 <xccdf:description>File permissions for /etc/shadow</xccdf:description>
2393 <xccdf:question xml:lang="en">Select permissions for /etc/shadow</xccdf:question>
2394 <xccdf:value>000000000</xccdf:value>
2395 <xccdf:value selector="000">000000000</xccdf:value>
2396 <xccdf:value selector="400">100000000</xccdf:value>
2397 <xccdf:value selector="644">110100100</xccdf:value>
2398 <xccdf:match>^[10]+$</xccdf:match>
2399 </xccdf:Value>
2400 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.j" operator="equals" type="string">
2401 <xccdf:title>Permissions for group</xccdf:title>
2402 <xccdf:description>File permissions for /etc/group</xccdf:description>
2403 <xccdf:question xml:lang="en">Select permissions for /etc/group</xccdf:question>
2404 <xccdf:value>110100100</xccdf:value>
2405 <xccdf:value selector="400">100000000</xccdf:value>
2406 <xccdf:value selector="644">110100100</xccdf:value>
2407 <xccdf:value selector="700">111000000</xccdf:value>
2408 <xccdf:match>^[10]+$</xccdf:match>
2409 </xccdf:Value>
2410 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.k" operator="equals" type="string">
2411 <xccdf:title>Permissions for gshadow</xccdf:title>
2412 <xccdf:description>File permissions for /etc/gshadow</xccdf:description>
2413 <xccdf:question xml:lang="en">Select permissions for /etc/gshadow</xccdf:question>
2414 <xccdf:value>000000000</xccdf:value>
2415 <xccdf:value selector="000">000000000</xccdf:value>
2416 <xccdf:value selector="400">100000000</xccdf:value>
2417 <xccdf:value selector="644">110100100</xccdf:value>
2418 <xccdf:match>^[10]+$</xccdf:match>
2419 </xccdf:Value>
2420 <xccdf:Value id="xccdf_cdf_value_var-2.2.3.1.l" operator="equals" type="string">
2421 <xccdf:title>Permissions for passwd</xccdf:title>
2422 <xccdf:description>File permissions for /etc/password</xccdf:description>
2423 <xccdf:question xml:lang="en">Select permissions for /etc/password</xccdf:question>
2424 <xccdf:value>110100100</xccdf:value>
2425 <xccdf:value selector="400">100000000</xccdf:value>
2426 <xccdf:value selector="644">110100100</xccdf:value>
2427 <xccdf:value selector="700">111000000</xccdf:value>
2428 <xccdf:match>^[10]+$</xccdf:match>
2429 </xccdf:Value>
2430 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.a" selected="false" severity="medium" weight="10.0">
2431 <xccdf:title>Verify user who owns 'shadow' file</xccdf:title>
2432 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2433 <xccdf:ident system="http://cce.mitre.org">CCE-3918-0</xccdf:ident>
2434 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2435 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20034"/>
2436 </xccdf:check>
2437 </xccdf:Rule>
2438 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.b" selected="false" severity="medium" weight="10.0">
2439 <xccdf:title>Verify group who owns 'shadow' file</xccdf:title>
2440 <xccdf:description>The /etc/shadow file should be owned by root.</xccdf:description>
2441 <xccdf:ident system="http://cce.mitre.org">CCE-3988-3</xccdf:ident>
2442 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2443 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20035"/>
2444 </xccdf:check>
2445 </xccdf:Rule>
2446 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.c" selected="false" severity="medium" weight="10.0">
2447 <xccdf:title>Verify user who owns 'group' file</xccdf:title>
2448 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2449 <xccdf:ident system="http://cce.mitre.org">CCE-3276-3</xccdf:ident>
2450 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2451 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20036"/>
2452 </xccdf:check>
2453 </xccdf:Rule>
2454 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.d" selected="false" severity="medium" weight="10.0">
2455 <xccdf:title>Verify group who owns 'group' file</xccdf:title>
2456 <xccdf:description>The /etc/group file should be owned by root.</xccdf:description>
2457 <xccdf:ident system="http://cce.mitre.org">CCE-3883-6</xccdf:ident>
2458 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2459 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20037"/>
2460 </xccdf:check>
2461 </xccdf:Rule>
2462 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.e" selected="false" severity="medium" weight="10.0">
2463 <xccdf:title>Verify user who owns 'gshadow' file</xccdf:title>
2464 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2465 <xccdf:ident system="http://cce.mitre.org">CCE-4210-1</xccdf:ident>
2466 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2467 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20038"/>
2468 </xccdf:check>
2469 </xccdf:Rule>
2470 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.f" selected="false" severity="medium" weight="10.0">
2471 <xccdf:title>Verify group who owns 'gshadow' file</xccdf:title>
2472 <xccdf:description>The /etc/gshadow file should be owned by root.</xccdf:description>
2473 <xccdf:ident system="http://cce.mitre.org">CCE-4064-2</xccdf:ident>
2474 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2475 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20039"/>
2476 </xccdf:check>
2477 </xccdf:Rule>
2478 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.g" selected="false" severity="medium" weight="10.0">
2479 <xccdf:title>Verify user who owns 'passwd' file</xccdf:title>
2480 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2481 <xccdf:ident system="http://cce.mitre.org">CCE-3958-6</xccdf:ident>
2482 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2483 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20040"/>
2484 </xccdf:check>
2485 </xccdf:Rule>
2486 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.h" selected="false" severity="medium" weight="10.0">
2487 <xccdf:title>Verify group who owns 'passwd' file</xccdf:title>
2488 <xccdf:description>The /etc/passwd file should be owned by root.</xccdf:description>
2489 <xccdf:ident system="http://cce.mitre.org">CCE-3495-9</xccdf:ident>
2490 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2491 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20041"/>
2492 </xccdf:check>
2493 </xccdf:Rule>
2494 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.i" selected="false" severity="medium" weight="10.0">
2495 <xccdf:title>Verify permissions on 'shadow' file</xccdf:title>
2496 <xccdf:description>File permissions for /etc/shadow should be set correctly.</xccdf:description>
2497 <xccdf:ident system="http://cce.mitre.org">CCE-4130-1</xccdf:ident>
2498 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2499 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20042" value-id="xccdf_cdf_value_var-2.2.3.1.i"/>
2500 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20042"/>
2501 </xccdf:check>
2502 </xccdf:Rule>
2503 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.j" selected="false" severity="medium" weight="10.0">
2504 <xccdf:title>Verify permissions on 'group' file</xccdf:title>
2505 <xccdf:description>File permissions for /etc/group should be set correctly.</xccdf:description>
2506 <xccdf:ident system="http://cce.mitre.org">CCE-3967-7</xccdf:ident>
2507 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2508 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20043" value-id="xccdf_cdf_value_var-2.2.3.1.j"/>
2509 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20043"/>
2510 </xccdf:check>
2511 </xccdf:Rule>
2512 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.k" selected="false" severity="medium" weight="10.0">
2513 <xccdf:title>Verify permissions on 'gshadow' file</xccdf:title>
2514 <xccdf:description>File permissions for /etc/gshadow should be set correctly.</xccdf:description>
2515 <xccdf:ident system="http://cce.mitre.org">CCE-3932-1</xccdf:ident>
2516 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2517 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20044" value-id="xccdf_cdf_value_var-2.2.3.1.k"/>
2518 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20044"/>
2519 </xccdf:check>
2520 </xccdf:Rule>
2521 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.1.l" selected="false" severity="medium" weight="10.0">
2522 <xccdf:title>Verify permissions on 'passwd' file</xccdf:title>
2523 <xccdf:description>File permissions for /etc/passwd should be set correctly.</xccdf:description>
2524 <xccdf:ident system="http://cce.mitre.org">CCE-3566-7</xccdf:ident>
2525 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2526 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20045" value-id="xccdf_cdf_value_var-2.2.3.1.l"/>
2527 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20045"/>
2528 </xccdf:check>
2529 </xccdf:Rule>
2530 </xccdf:Group>
2531 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.2">
2532 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2533 <xccdf:description xml:lang="en">
2534 When the so-called 'sticky bit' is set on a directory, only the
2535 owner of a given file may remove that file from the directory. Without the sticky bit,
2536 any user with write access to a directory may remove any file in the directory. Setting
2537 the sticky bit prevents users from removing each other's files. In cases where there is
2538 no reason for a directory to be world-writable, a better solution is to remove that
2539 permission rather than to set the sticky bit. However, if a directory is used by a
2540 particular application, consult that application's documentation instead of blindly
2541 changing modes.</xccdf:description>
2542 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.2.a" selected="false" severity="low" weight="10.0">
2543 <xccdf:title>Verify that All World-Writable Directories Have Sticky Bits Set</xccdf:title>
2544 <xccdf:description>The sticky bit should be set for all world-writable directories.</xccdf:description>
2545 <xccdf:ident system="http://cce.mitre.org">CCE-3399-3</xccdf:ident>
2546 <xccdf:fixtext>Locate any directories in local partitions which are world-writable and do not have
2547 their sticky bits set. The following command will discover and print these. Run it
2548 once for each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2549 <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 !
2550 -perm -1000 \) -print </xhtml:code><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2551 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2552 If this command produces any output, fix each reported directory
2553 /dir using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2554 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2555 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod +t /dir</xhtml:code></xccdf:fixtext>
2556 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2557 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20046"/>
2558 </xccdf:check>
2559 </xccdf:Rule>
2560 </xccdf:Group>
2561 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.3">
2562 <xccdf:title xml:lang="en">Find Unauthorized World-Writable Files</xccdf:title>
2563 <xccdf:description xml:lang="en">
2564 Data in world-writable files can be modified by any user on the
2565 system. In almost all circumstances, files can be configured using a combination of user
2566 and group permissions to support whatever legitimate access is needed without the risk
2567 caused by world-writable files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2568 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2569 It is generally a good idea to
2570 remove global (other) write access to a file when it is discovered. However, check with
2571 documentation for specific applications before making changes. Also, monitor for
2572 recurring world-writable files, as these may be symptoms of a misconfigured application
2573 or user account.
2574 </xccdf:description>
2575 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.3.a" selected="false" severity="medium" weight="10.0">
2576 <xccdf:title>Find Unauthorized World-Writable Files</xccdf:title>
2577 <xccdf:description>The world-write permission should be disabled for all files.</xccdf:description>
2578 <xccdf:ident system="http://cce.mitre.org">CCE-3795-2</xccdf:ident>
2579 <xccdf:fixtext>The following command discovers and prints any world-writable files in local
2580 partitions. Run it once for each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2581 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2582 <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>
2583 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2584 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20047"/>
2585 </xccdf:check>
2586 </xccdf:Rule>
2587 </xccdf:Group>
2588 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.4">
2589 <xccdf:title xml:lang="en">Find Unauthorized SUID/SGID System Executables</xccdf:title>
2590 <xccdf:description xml:lang="en">
2591 The following command discovers and prints any setuid or setgid
2592 files on local partitions. Run it once for each local partition : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2593 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2594 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"> # for PART in `mount -t ext2,ext3,ext4 | awk '{print $3}'`;
2595 do find $PART -xdev \( -perm -4000 -o -perm -2000 \) -type f -print;
2596 done </xhtml:code> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2597 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2598 If the file does not require a setuid or
2599 setgid bit as discussed below, then these bits can be removed with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2600 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2601 <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"/>
2602 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2603 The following table contains all setuid and setgid files which are expected to
2604 be on a stock system. The setuid or setgid bit on these files may be disabled to reduce
2605 system risk if only an administrator requires their functionality. The table indicates
2606 those files which may not be needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2608 Note: Several of these files are used for applications which are unlikely to be
2609 relevant to most production environments, such as ISDN networking, SSH hostbased
2610 authentication, or modification of network interfaces by unprivileged users. It is
2611 extremely likely that your site can disable a subset of these files with no loss of
2612 functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2614 Any files found by the above command which are not in the table should be examined.
2615 If the files are not authorized, they should have permissions removed, and further
2616 investigation may be warranted.
2617 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2618 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml">
2619 <xhtml:tr>
2620 <xhtml:td>File</xhtml:td><xhtml:td>Set-ID</xhtml:td><xhtml:td>Package</xhtml:td>
2621 </xhtml:tr>
2622 <xhtml:tr>
2623 <xhtml:td>/bin/mount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2624 </xhtml:tr>
2625 <xhtml:tr>
2626 <xhtml:td>/bin/ping</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>iputils</xhtml:td>
2627 </xhtml:tr>
2628 <xhtml:tr>
2629 <xhtml:td>/bin/ping6</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>iputils</xhtml:td>
2630 </xhtml:tr>
2631 <xhtml:tr>
2632 <xhtml:td>/bin/su</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>coreutils</xhtml:td>
2633 </xhtml:tr>
2634 <xhtml:tr>
2635 <xhtml:td>/bin/umount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2636 </xhtml:tr>
2637 <xhtml:tr>
2638 <xhtml:td>/bin/fusermount</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>fuse</xhtml:td>
2639 </xhtml:tr>
2640 <xhtml:tr>
2641 <xhtml:td>/bin/cgexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>libcgroup</xhtml:td>
2642 </xhtml:tr>
2643 <xhtml:tr>
2644 <xhtml:td>/sbin/mount.nfs</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nfs-utils</xhtml:td>
2645 </xhtml:tr>
2646 <xhtml:tr>
2647 <xhtml:td>/sbin/umount.nfs</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nfs-utils</xhtml:td>
2648 </xhtml:tr>
2649 <xhtml:tr>
2650 <xhtml:td>/sbin/netreport</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>initscripts</xhtml:td>
2651 </xhtml:tr>
2652 <xhtml:tr>
2653 <xhtml:td>/sbin/pam_timestamp_check</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam</xhtml:td>
2654 </xhtml:tr>
2655 <xhtml:tr>
2656 <xhtml:td>/sbin/unix_chkpwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam</xhtml:td>
2657 </xhtml:tr>
2658 <xhtml:tr>
2659 <xhtml:td>/usr/bin/at</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>at</xhtml:td>
2660 </xhtml:tr>
2661 <xhtml:tr>
2662 <xhtml:td>/usr/bin/chage</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td>
2663 </xhtml:tr>
2664 <xhtml:tr>
2665 <xhtml:td>/usr/bin/chfn</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2666 </xhtml:tr>
2667 <xhtml:tr>
2668 <xhtml:td>/usr/bin/chsh</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2669 </xhtml:tr>
2670 <xhtml:tr>
2671 <xhtml:td>/usr/bin/crontab</xhtml:td><xhtml:td>uid/gid root</xhtml:td><xhtml:td>cronie</xhtml:td>
2672 </xhtml:tr>
2673 <xhtml:tr>
2674 <xhtml:td>/usr/bin/gpasswd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td>
2675 </xhtml:tr>
2676 <xhtml:tr>
2677 <xhtml:td>/usr/bin/locate</xhtml:td><xhtml:td>gid slocate</xhtml:td><xhtml:td>mlocate</xhtml:td>
2678 </xhtml:tr>
2679 <xhtml:tr>
2680 <xhtml:td>/usr/bin/lockfile</xhtml:td><xhtml:td>gid mail</xhtml:td><xhtml:td>procmail</xhtml:td>
2681 </xhtml:tr>
2682 <xhtml:tr>
2683 <xhtml:td>/usr/bin/gnomine</xhtml:td><xhtml:td>gid games</xhtml:td><xhtml:td>gnome-games</xhtml:td>
2684 </xhtml:tr>
2685 <xhtml:tr>
2686 <xhtml:td>/usr/bin/iagno</xhtml:td><xhtml:td>gid games</xhtml:td><xhtml:td>gnome-games</xhtml:td>
2687 </xhtml:tr>
2688 <xhtml:tr>
2689 <xhtml:td>/usr/bin/newgrp</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>shadow-utils</xhtml:td>
2690 </xhtml:tr>
2691 <xhtml:tr>
2692 <xhtml:td>/usr/bin/passwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>passwd</xhtml:td>
2693 </xhtml:tr>
2694 <xhtml:tr>
2695 <xhtml:td>/usr/bin/pkexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>polkit</xhtml:td>
2696 </xhtml:tr>
2697 <xhtml:tr>
2698 <xhtml:td>/usr/bin/rcp</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td>
2699 </xhtml:tr>
2700 <xhtml:tr>
2701 <xhtml:td>/usr/bin/rlogin</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td>
2702 </xhtml:tr>
2703 <xhtml:tr>
2704 <xhtml:td>/usr/bin/rsh</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>rsh</xhtml:td>
2705 </xhtml:tr>
2706 <xhtml:tr>
2707 <xhtml:td>/usr/bin/staprun</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>systemtap-runtime</xhtml:td>
2708 </xhtml:tr>
2709 <xhtml:tr>
2710 <xhtml:td>/usr/bin/ssh-agent</xhtml:td><xhtml:td>gid nobody</xhtml:td><xhtml:td>openssh-clients</xhtml:td>
2711 </xhtml:tr>
2712 <xhtml:tr>
2713 <xhtml:td>/usr/bin/sudo</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>sudo</xhtml:td>
2714 </xhtml:tr>
2715 <xhtml:tr>
2716 <xhtml:td>/usr/bin/sudoedit</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>sudo</xhtml:td>
2717 </xhtml:tr>
2718 <xhtml:tr>
2719 <xhtml:td>/usr/bin/wall</xhtml:td><xhtml:td>gid tty</xhtml:td><xhtml:td>sysvinit-tools</xhtml:td>
2720 </xhtml:tr>
2721 <xhtml:tr>
2722 <xhtml:td>/usr/bin/write</xhtml:td><xhtml:td>gid tty</xhtml:td><xhtml:td>util-linux-ng</xhtml:td>
2723 </xhtml:tr>
2724 <xhtml:tr>
2725 <xhtml:td>/usr/bin/screen</xhtml:td><xhtml:td>gid screen</xhtml:td><xhtml:td>screen</xhtml:td>
2726 </xhtml:tr>
2727 <xhtml:tr>
2728 <xhtml:td>/usr/bin/jwhois</xhtml:td><xhtml:td>gid jwhois</xhtml:td><xhtml:td>jwhois</xhtml:td>
2729 </xhtml:tr>
2730 <xhtml:tr>
2731 <xhtml:td>/usr/bin/Xorg</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>xorg-x11-server-Xorg</xhtml:td>
2732 </xhtml:tr>
2733 <xhtml:tr>
2734 <xhtml:td>/usr/bin/ksu</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>krb5-workstation</xhtml:td>
2735 </xhtml:tr>
2736 <xhtml:tr>
2737 <xhtml:td>/usr/sbin/lockdev</xhtml:td><xhtml:td>gid lock</xhtml:td><xhtml:td>lockdev</xhtml:td>
2738 </xhtml:tr>
2739 <xhtml:tr>
2740 <xhtml:td>/usr/sbin/sendmail.sendmail</xhtml:td><xhtml:td>gid smmsp</xhtml:td><xhtml:td>sendmail</xhtml:td>
2741 </xhtml:tr>
2742 <xhtml:tr>
2743 <xhtml:td>/usr/sbin/suexec</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>httpd</xhtml:td>
2744 </xhtml:tr>
2745 <xhtml:tr>
2746 <xhtml:td>/usr/sbin/seunshare</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>policycoreutils</xhtml:td>
2747 </xhtml:tr>
2748 <xhtml:tr>
2749 <xhtml:td>/usr/sbin/userhelper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>usermode</xhtml:td>
2750 </xhtml:tr>
2751 <xhtml:tr>
2752 <xhtml:td>/usr/sbin/userisdnctl</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>isdn4k-utils</xhtml:td>
2753 </xhtml:tr>
2754 <xhtml:tr>
2755 <xhtml:td>/usr/sbin/mtr</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>mtr</xhtml:td>
2756 </xhtml:tr>
2757 <xhtml:tr>
2758 <xhtml:td>/usr/sbin/usernetctl</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>initscripts</xhtml:td>
2759 </xhtml:tr>
2760 <xhtml:tr>
2761 <xhtml:td>/usr/sbin/ccreds_chkpwd</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pam_ccreds</xhtml:td>
2762 </xhtml:tr>
2763 <xhtml:tr>
2764 <xhtml:td>/usr/libexec/openssh/ssh-keysign</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>ssh</xhtml:td>
2765 </xhtml:tr>
2766 <xhtml:tr>
2767 <xhtml:td>/usr/libexec/kde4/kpac_dhcp_helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>kdelibs</xhtml:td>
2768 </xhtml:tr>
2769 <xhtml:tr>
2770 <xhtml:td>/usr/libexec/polkit-1/polkit-agent-helper-1</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>polkit</xhtml:td>
2771 </xhtml:tr>
2772 <xhtml:tr>
2773 <xhtml:td>/usr/libexec/pt_chown</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>glibc-common</xhtml:td>
2774 </xhtml:tr>
2775 <xhtml:tr>
2776 <xhtml:td>/usr/libexec/pulse/proximity-helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>pulseaudio-module-bluetooth</xhtml:td>
2777 </xhtml:tr>
2778 <xhtml:tr>
2779 <xhtml:td>/usr/libexec/news/innbind</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>inn</xhtml:td>
2780 </xhtml:tr>
2781 <xhtml:tr>
2782 <xhtml:td>/usr/libexec/news/rnews</xhtml:td><xhtml:td>uid uucp</xhtml:td><xhtml:td>inn</xhtml:td>
2783 </xhtml:tr>
2784 <xhtml:tr>
2785 <xhtml:td>/usr/libexec/utempter/utempter</xhtml:td><xhtml:td>gid utmp</xhtml:td><xhtml:td>libutempter</xhtml:td>
2786 </xhtml:tr>
2787 <xhtml:tr>
2788 <xhtml:td>/usr/lib/nspluginwrapper/plugin-config</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>nspluginwrapper</xhtml:td>
2789 </xhtml:tr>
2790 <xhtml:tr>
2791 <xhtml:td>/usr/lib/vte/gnome-pty-helper</xhtml:td><xhtml:td>gid utmp</xhtml:td><xhtml:td>vte</xhtml:td>
2792 </xhtml:tr>
2793 <xhtml:tr>
2794 <xhtml:td>/usr/share/BackupPC/sbin/BackupPC_Admin</xhtml:td><xhtml:td>uid backuppc</xhtml:td><xhtml:td>BackupPC</xhtml:td>
2795 </xhtml:tr>
2796 <xhtml:tr>
2797 <xhtml:td>/var/cache/jwhois/jwhois.db</xhtml:td><xhtml:td>gid jwhois</xhtml:td><xhtml:td>jwhois</xhtml:td>
2798 </xhtml:tr>
2799 <xhtml:tr>
2800 <xhtml:td>/lib/dbus-1/dbus-daemon-launch-helper</xhtml:td><xhtml:td>uid root</xhtml:td><xhtml:td>dbus</xhtml:td>
2801 </xhtml:tr>
2802 </xhtml:table>
2803 </xccdf:description>
2804 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.a" selected="false" severity="medium" weight="10.0">
2805 <xccdf:title>Find Unauthorized SGID System Executables</xccdf:title>
2806 <xccdf:description>The sgid bit should not be set for all files.</xccdf:description>
2807 <xccdf:ident system="http://cce.mitre.org">CCE-4178-0</xccdf:ident>
2808 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2809 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20048"/>
2810 </xccdf:check>
2811 </xccdf:Rule>
2812 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.4.b" selected="false" severity="high" weight="10.0">
2813 <xccdf:title>Find Unauthorized SUID System Executables</xccdf:title>
2814 <xccdf:description>The suid bit should not be set for all files.</xccdf:description>
2815 <xccdf:ident system="http://cce.mitre.org">CCE-3324-1</xccdf:ident>
2816 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2817 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20049"/>
2818 </xccdf:check>
2819 </xccdf:Rule>
2820 </xccdf:Group>
2821 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.5">
2822 <xccdf:title xml:lang="en">Find and Repair Unowned Files</xccdf:title>
2823 <xccdf:description xml:lang="en">
2824 The following command will discover and print any files on
2825 local partitions which do not belong to a valid user and a valid group. Run it once for
2826 each local partition PART: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2827 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2828 <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"/>
2829 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2830 If this command prints any results, investigate each reported file and either assign it to an
2831 appropriate user and group or remove it. Unowned files are not directly exploitable, but
2832 they are generally a sign that something is wrong with some system process. They may be
2833 caused by an intruder, by incorrect software installation or incomplete software
2834 removal, or by failure to remove all files belonging to a deleted account. The files
2835 should be repaired so that they will not cause problems when accounts are created in the
2836 future, and the problem which led to unowned files should be discovered and addressed.</xccdf:description>
2837 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.a" selected="false" severity="medium" weight="10.0">
2838 <xccdf:title>Find files unowned by a user</xccdf:title>
2839 <xccdf:description>All files should be owned by a user</xccdf:description>
2840 <xccdf:ident system="http://cce.mitre.org">CCE-4223-4</xccdf:ident>
2841 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2842 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20050"/>
2843 </xccdf:check>
2844 </xccdf:Rule>
2845 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.5.b" selected="false" severity="medium" weight="10.0">
2846 <xccdf:title>Find files unowned by a group</xccdf:title>
2847 <xccdf:description>All files should be owned by a group</xccdf:description>
2848 <xccdf:ident system="http://cce.mitre.org">CCE-3573-3</xccdf:ident>
2849 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2850 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20051"/>
2851 </xccdf:check>
2852 </xccdf:Rule>
2853 </xccdf:Group>
2854 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.3.6">
2855 <xccdf:title xml:lang="en">Verify that All World-Writable Directories Have Proper Ownership</xccdf:title>
2856 <xccdf:description xml:lang="en">
2857 Locate any directories in local partitions which are world-writable and
2858 ensure that they are owned by root or another system account. The following command will discover
2859 and print these (assuming only system accounts have a uid lower than 500). Run it once for each
2860 local partition PART:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2862 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># find PART -xdev -type d -perm -0002 -uid +500 -print<xhtml:br/></xhtml:code>
2863 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2864 If this command produces any output, investigate why the current owner is not root or another
2865 system account.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2867 Allowing a user account to own a world-writeable directory is undesirable because it allows the
2868 owner of that directory to remove or replace any files that may be placed in the directory by
2869 other users.</xccdf:description>
2870 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.3.6.a" selected="false" severity="medium" weight="10.0">
2871 <xccdf:title>Find world writable directories not owned by a system account</xccdf:title>
2872 <xccdf:description>All world writable directories should be owned by a system user</xccdf:description>
2873 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2874 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20052"/>
2875 </xccdf:check>
2876 </xccdf:Rule>
2877 </xccdf:Group>
2878 </xccdf:Group>
2879 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4">
2880 <xccdf:title xml:lang="en">Restrict Programs from Dangerous Execution Patterns</xccdf:title>
2881 <xccdf:description xml:lang="en">
2882 The recommendations in this section provide broad protection
2883 against information disclosure or other misbehavior. These protections are applied at the
2884 system initialization or kernel level, and defend against certain types of
2885 badly-configured or compromised programs.</xccdf:description>
2886 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.1">
2887 <xccdf:title xml:lang="en">Set Daemon umask</xccdf:title>
2888 <xccdf:description xml:lang="en">
2889 The system umask for scripts in /etc/init.d must be set to at least 022, or daemon
2890 processes may create world-writable files. The more restrictive setting
2891 027 protects files, including temporary files and log files, from unauthorized reading
2892 by unprivileged users on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2893 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2894 If a particular daemon needs a
2895 less restrictive umask, consider editing the startup script or sysconfig file of that
2896 daemon to make a specific exception.
2897 </xccdf:description>
2898 <xccdf:Value id="xccdf_cdf_value_var-2.2.4.1.a" operator="equals" type="string">
2899 <xccdf:title>daemon umask</xccdf:title>
2900 <xccdf:description>Enter umask for daemons</xccdf:description>
2901 <xccdf:question xml:lang="en">Enter umask which will be used for new files created by daemons</xccdf:question>
2902 <xccdf:value>022</xccdf:value>
2903 <xccdf:value selector="022">022</xccdf:value>
2904 <xccdf:value selector="027">027</xccdf:value>
2905 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
2906 </xccdf:Value>
2907 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.1.a" selected="false" severity="medium" weight="10.0">
2908 <xccdf:title>Set Daemon umask</xccdf:title>
2909 <xccdf:description>The daemon umask should be set to profile value</xccdf:description>
2910 <xccdf:ident system="http://cce.mitre.org">CCE-4220-0</xccdf:ident>
2911 <xccdf:fixtext>Edit the file /etc/rc.d/init.d/functions, and add or correct the following line: umask
2912 <xccdf:sub idref="xccdf_cdf_value_var-2.2.4.1.a"/></xccdf:fixtext>
2913 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2914 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20053" value-id="xccdf_cdf_value_var-2.2.4.1.a"/>
2915 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20053"/>
2916 </xccdf:check>
2917 </xccdf:Rule>
2918 </xccdf:Group>
2919 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.2">
2920 <xccdf:title xml:lang="en">Disable Core Dumps</xccdf:title>
2921 <xccdf:description xml:lang="en">
2922 A core dump file is the memory image of an executable program
2923 when it was terminated by the operating system due to errant behavior. In most cases,
2924 only software developers would legitimately need to access these files. The core dump
2925 files may also contain sensitive information, or unnecessarily occupy large amounts of
2926 disk space. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2927 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2928 By default, the system sets a soft limit to stop the
2929 creation of core dump files for all users. This is accomplished in /etc/profile with the
2930 line: ulimit -S -c 0 &gt; /dev/null 2&gt;&amp;1 However, compliance with this
2931 limit is voluntary; it is a default intended only to protect users from the annoyance of
2932 generating unwanted core files. Users can increase the allowed core file size up to the
2933 hard limit, which is unlimited by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2934 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2935 Once a hard limit is set
2936 in /etc/security/limits.conf, the user cannot increase that limit within his own
2937 session. If access to core dumps is required, consider restricting them to only certain
2938 users or groups. See the limits.conf man page for more
2939 information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2940 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2941 The core dumps of setuid programs are further
2942 protected. The sysctl variable fs.suid_dumpable controls whether the kernel allows core
2943 dumps from these programs at all. The default value of 0 is recommended.
2944 </xccdf:description>
2945 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.a" selected="false" severity="low" weight="10.0">
2946 <xccdf:title>Disable Core Dumps for all users</xccdf:title>
2947 <xccdf:description>Core dumps for all users should be disabled</xccdf:description>
2948 <xccdf:ident system="http://cce.mitre.org">CCE-4225-9</xccdf:ident>
2949 <xccdf:fixtext>To disable core dumps for all users, add or correct the following line in
2950 /etc/security/limits.conf: * hard core 0</xccdf:fixtext>
2951 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2952 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20055"/>
2953 </xccdf:check>
2954 </xccdf:Rule>
2955 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.2.b" selected="false" severity="low" weight="10.0">
2956 <xccdf:title>Disable Core Dumps for SUID programs</xccdf:title>
2957 <xccdf:description>Core dumps for setuid programs should be disabled</xccdf:description>
2958 <xccdf:ident system="http://cce.mitre.org">CCE-4247-3</xccdf:ident>
2959 <xccdf:fixtext>To ensure that core dumps can never be made by setuid programs, edit
2960 /etc/sysctl.conf and add or correct the line: fs.suid_dumpable = 0</xccdf:fixtext>
2961 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2962 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20056"/>
2963 </xccdf:check>
2964 </xccdf:Rule>
2965 </xccdf:Group>
2966 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.3">
2967 <xccdf:title xml:lang="en">Enable ExecShield</xccdf:title>
2968 <xccdf:description xml:lang="en">
2969 ExecShield comprises a number of kernel features to provide
2970 protection against buffer overflows. These features include random placement of the
2971 stack and other memory regions, prevention of execution in memory that should only hold
2972 data, and special handling of text buffers. This protection is enabled by default, but
2973 the sysctl variables kernel.exec-shield and kernel.randomize va space should be checked
2974 to ensure that it has not been disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2975 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
2976 ExecShield uses the
2977 segmentation feature on all x86 systems to prevent execution in memory higher than a
2978 certain address. It writes an address as a limit in the code segment descriptor, to
2979 control where code can be executed, on a per-process basis. When the kernel places a
2980 process's memory regions such as the stack and heap higher than this address, the
2981 hardware prevents execution there. However, this cannot always be done for all memory
2982 regions in which execution should not occur, so follow guidance in Section 2.2.4.4 to
2983 further protect the system.
2984 </xccdf:description>
2985 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.a" selected="false" weight="10.0">
2986 <xccdf:title>Enable ExecShield</xccdf:title>
2987 <xccdf:description>ExecShield should be enabled</xccdf:description>
2988 <xccdf:ident system="http://cce.mitre.org">CCE-4168-1</xccdf:ident>
2989 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
2990 activated at boot, add or correct the following settings in /etc/sysctl.conf:
2991 kernel.exec-shield = 1</xccdf:fixtext>
2992 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2993 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20057"/>
2994 </xccdf:check>
2995 </xccdf:Rule>
2996 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.3.b" selected="false" weight="10.0">
2997 <xccdf:title>Enable ExecShield randomized placement of virtual memory regions</xccdf:title>
2998 <xccdf:description>ExecShield randomized placement of virtual memory regions should be enabled</xccdf:description>
2999 <xccdf:ident system="http://cce.mitre.org">CCE-4146-7</xccdf:ident>
3000 <xccdf:fixtext>To ensure ExecShield (including random placement of virtual memory regions) is
3001 activated at boot, add or correct the following settings in /etc/sysctl.conf:
3002 kernel.randomize_va_space = 2</xccdf:fixtext>
3003 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3004 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20058"/>
3005 </xccdf:check>
3006 </xccdf:Rule>
3007 </xccdf:Group>
3008 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4">
3009 <xccdf:title xml:lang="en">Enable Execute Disable (XD) or No Execute (NX) Support on x86 Systems</xccdf:title>
3010 <xccdf:description xml:lang="en">
3011 Recent processors in the x86 family support the ability to
3012 prevent code execution on a per memory page basis. Generically and on AMD processors,
3013 this ability is called No Execute (NX), while on Intel processors it is called Execute
3014 Disable (XD). This ability can help prevent exploitation of buffer overflow
3015 vulnerabilities and should be activated whenever possible. Extra steps must be taken to
3016 ensure that this protection is enabled, particularly on 32-bit x86 systems. Other
3017 processors, such as Itanium and POWER, have included such support since inception and
3018 the standard kernel for those platforms supports the feature.</xccdf:description>
3019 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.1">
3020 <xccdf:title xml:lang="en">Check for Processor Support on x86 Systems</xccdf:title>
3021 <xccdf:description xml:lang="en">
3022 Check to see if the processor supports the PAE and NX
3023 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>
3024 </xccdf:Group>
3025 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.2.4.4.2">
3026 <xccdf:title xml:lang="en">Enable NX or XD Support in the BIOS</xccdf:title>
3027 <xccdf:description xml:lang="en">
3028 Computers with the ability to prevent this type of code
3029 execution frequently put an option in the BIOS that will allow users to turn the
3030 feature on or off at will. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3031 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3032 See Section 2.3.5.1 for information on protecting this and
3033 other BIOS settings.</xccdf:description>
3034 <xccdf:Rule id="xccdf_cdf_rule_rule-2.2.4.4.2.a" selected="false" weight="10.0">
3035 <xccdf:title>Enable NX or XD Support in the BIOS</xccdf:title>
3036 <xccdf:description>The XD/NX processor feature should be enabled in the BIOS</xccdf:description>
3037 <xccdf:ident system="http://cce.mitre.org">CCE-4177-2</xccdf:ident>
3038 <xccdf:fixtext>Reboot the system and enter the BIOS or 'Setup' configuration menu. Navigate the
3039 BIOS configuration menu and make sure that the option is enabled. The setting may be
3040 located under a 'Security' section. Look for Execute Disable (XD) on Intel-based
3041 systems and No Execute (NX) on AMD-based systems.</xccdf:fixtext>
3042 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3043 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20060"/>
3044 </xccdf:check>
3045 </xccdf:Rule>
3046 </xccdf:Group>
3047 </xccdf:Group>
3048 </xccdf:Group>
3049 </xccdf:Group>
3050 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3">
3051 <xccdf:title xml:lang="en">Account and Access Control</xccdf:title>
3052 <xccdf:description xml:lang="en">
3053 In traditional Unix security, if an attacker gains shell access to
3054 a certain login account, he can perform any action or access any file to which that account
3055 has access. Therefore, making it more difficult for unauthorized people to gain shell access
3056 to accounts, particularly to privileged accounts, is a necessary part of securing a system.
3057 This section introduces mechanisms for restricting access to login accounts.</xccdf:description>
3058 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1">
3059 <xccdf:title xml:lang="en">Protect Accounts by Restricting Password-Based Login</xccdf:title>
3060 <xccdf:description xml:lang="en">
3061 Conventionally, Unix shell accounts are accessed by providing a
3062 username and password to a login program, which tests these values for correctness using
3063 the /etc/passwd and /etc/shadow files. Password-based login is vulnerable to guessing of
3064 weak passwords, and to sniffing and man-in-the-middle attacks against passwords entered
3065 over a network or at an insecure console. Therefore, mechanisms for accessing accounts by
3066 entering usernames and passwords should be restricted to those which are operationally
3067 necessary.</xccdf:description>
3068 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.1">
3069 <xccdf:title xml:lang="en">Restrict Root Logins to System Console</xccdf:title>
3070 <xccdf:description xml:lang="en">
3071 Edit the file /etc/securetty. Ensure that the file contains
3072 only the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3073 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
3074 <xhtml:li>The primary system console device: <xhtml:br/>console</xhtml:li>
3075 <xhtml:li>The virtual console devices: <xhtml:br/>tty1 tty2 tty3 tty4 tty5
3076 tty6 ... </xhtml:li>
3077 <xhtml:li>If required by your organization, the deprecated virtual console interface
3078 may be retained for backwards compatibility:<xhtml:br/>vc/1 vc/2 vc/3 vc/4 vc/5
3079 vc/6 ...</xhtml:li>
3080 <xhtml:li>If required by your organization, the serial consoles may be added:<xhtml:br/>
3081 ttyS0 ttyS1</xhtml:li>
3082 </xhtml:ul>
3083 Direct root logins should be allowed only for
3084 emergency use. In normal situations, the administrator should access the system via a
3085 unique unprivileged account, and use su or sudo to execute privileged commands.
3086 Discouraging administrators from accessing the root account directly ensures an audit
3087 trail in organizations with multiple administrators. Locking down the channels through
3088 which root can connect directly reduces opportunities for password-guessing against the
3089 root account. The login program uses the file /etc/securetty to determine which
3090 interfaces should allow root logins. The virtual devices /dev/console and /dev/tty*
3091 represent the system consoles (accessible via the Ctrl-Alt-F1 through Ctrl-Alt-F6
3092 keyboard sequences on a default installation). The default securetty file also contains
3093 /dev/vc/*. These are likely to be deprecated in most environments, but may be retained
3094 for compatibility. Root should also be prohibited from connecting via network protocols.
3095 See Section 3.5 for instructions on preventing root from logging in via SSH.</xccdf:description>
3096 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.a" selected="false" severity="medium" weight="10.0">
3097 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
3098 <xccdf:description>Logins through the specified virtual console interface should be disabled
3099 </xccdf:description>
3100 <xccdf:ident system="http://cce.mitre.org">CCE-3820-8</xccdf:ident>
3101 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
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:20061"/>
3104 </xccdf:check>
3105 </xccdf:Rule>
3106 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.b" selected="false" severity="medium" weight="10.0">
3107 <xccdf:title>Restrict Root Logins to System Console</xccdf:title>
3108 <xccdf:description>Logins through the specified virtual console device should be disabled</xccdf:description>
3109 <xccdf:ident system="http://cce.mitre.org">CCE-3485-0</xccdf:ident>
3110 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
3111 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3112 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20062"/>
3113 </xccdf:check>
3114 </xccdf:Rule>
3115 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.c" selected="false" severity="medium" weight="10.0">
3116 <xccdf:title>Restrict virtual console Root Logins</xccdf:title>
3117 <xccdf:description>Logins through the virtual console devices should be disabled</xccdf:description>
3118 <xccdf:ident system="http://cce.mitre.org">CCE-4111-1</xccdf:ident>
3119 <xccdf:fixtext> Edit /etc/securetty</xccdf:fixtext>
3120 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3121 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20063"/>
3122 </xccdf:check>
3123 </xccdf:Rule>
3124 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.1.d" selected="false" severity="medium" weight="10.0">
3125 <xccdf:title>Restrict serial port Root Logins</xccdf:title>
3126 <xccdf:description>Login prompts on serial ports should be disabled.</xccdf:description>
3127 <xccdf:ident system="http://cce.mitre.org">CCE-4256-4</xccdf:ident>
3128 <xccdf:fixtext>Edit /etc/securetty</xccdf:fixtext>
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:20064"/>
3131 </xccdf:check>
3132 </xccdf:Rule>
3133 </xccdf:Group>
3134 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.2">
3135 <xccdf:title xml:lang="en">Limit su Access to the Root Account</xccdf:title>
3136 <xccdf:description xml:lang="en">
3137 The su command allows a user to gain the privileges of another user by entering the
3138 password for that user's account. It is desirable to restrict the root user so that only
3139 known administrators are ever allowed to access the root account. This restricts
3140 password-guessing against the root account by unauthorized users or by accounts which
3141 have been compromised. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3142 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3143 By convention, the group wheel contains all users who are allowed to run privileged
3144 commands. The PAM module pam_wheel.so is used to restrict root access to this set of
3145 users.</xccdf:description>
3146 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.a" selected="false" severity="medium" weight="10.0">
3147 <xccdf:title>Limit su Access to the Root Account</xccdf:title>
3148 <xccdf:description>The wheel group should exist</xccdf:description>
3149 <xccdf:fixtext> Ensure that the group wheel exists, and that the usernames of all administrators
3150 who should be allowed to execute commands as root are members of that group.
3151 </xccdf:fixtext>
3152 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3153 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20065"/>
3154 </xccdf:check>
3155 </xccdf:Rule>
3156 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.2.b" selected="false" severity="medium" weight="10.0">
3157 <xccdf:title>Limit su Access to the wheel group</xccdf:title>
3158 <xccdf:description>Command access to the root account should be restricted to the wheel group.</xccdf:description>
3159 <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"/>
3160 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3161 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">auth required pam_wheel.so use_uid</xhtml:code>
3162 </xccdf:fixtext>
3163 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3164 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20066"/>
3165 </xccdf:check>
3166 </xccdf:Rule>
3167 </xccdf:Group>
3168 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.3">
3169 <xccdf:title xml:lang="en">Configure sudo to Improve Auditing of Root Access</xccdf:title>
3170 <xccdf:description xml:lang="en">
3171 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
3172 <xhtml:li>Ensure that the group wheel exists, and that the usernames
3173 of all administrators who should be allowed to execute commands as root are members of
3174 that group. <xhtml:br/>
3175 <xhtml:br/>
3176 <xhtml:code># grep ^wheel /etc/group</xhtml:code></xhtml:li>
3177 <xhtml:li>Edit the file /etc/sudoers. Add, uncomment, or
3178 correct the line: <xhtml:br/>
3179 <xhtml:br/>
3180 %wheel ALL=(ALL) ALL</xhtml:li>
3181 </xhtml:ol>
3182 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3183 The sudo command allows fine-grained control over
3184 which users can execute commands using other accounts. The primary benefit of sudo when
3185 configured as above is that it provides an audit trail of every command run by a
3186 privileged user. It is possible for a malicious administrator to circumvent this
3187 restriction, but, if there is an established procedure that all root commands are run
3188 using sudo, then it is easy for an auditor to detect unusual behavior when this
3189 procedure is not followed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3190 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3191 Editing /etc/sudoers by hand can be dangerous, since a configuration error may make it
3192 impossible to access the root account remotely. The recommended means of editing this
3193 file is using the visudo command, which checks the file's syntax for correctness before
3194 allowing it to be saved.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3195 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3196 Note that sudo allows any attacker who gains access to the password of an administrator
3197 account to run commands as root. This is a downside which must be weighed against the
3198 benefits of increased audit capability and of being able to heavily restrict the use of
3199 the high-value root password (which can be logistically difficult to change often). As
3200 a basic precaution, never use the NOPASSWD directive, which would allow anyone with
3201 access to an administrator account to execute commands as root without knowing the
3202 administrator's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3203 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3204 The sudo command has many options which can be used to further customize its behavior.
3205 See the sudoers(5) man page for details.</xccdf:description>
3206 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.3.a" selected="false" severity="medium" weight="10.0">
3207 <xccdf:title>Configure sudo to Improve Auditing of Root Access</xccdf:title>
3208 <xccdf:description>Sudo privileges should granted to the wheel group</xccdf:description>
3209 <xccdf:ident system="http://cce.mitre.org">CCE-4044-4</xccdf:ident>
3210 <xccdf:fix>echo "%wheel ALL=(ALL) ALL" &gt;&gt; /etc/sudoers</xccdf:fix>
3211 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3212 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20067"/>
3213 </xccdf:check>
3214 </xccdf:Rule>
3215 </xccdf:Group>
3216 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.4">
3217 <xccdf:title xml:lang="en">Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3218 <xccdf:description xml:lang="en">
3219 Using /etc/passwd, obtain a listing of all users, their UIDs,
3220 and their shells, for instance by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3221 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3222 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '{print $1 ":" $3 ":" $7}' /etc/passwd<xhtml:br/></xhtml:code>
3223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3224 Identify the system accounts from this listing. These will primarily be the accounts
3225 with UID numbers less than 500, other than root.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3226 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3227 For each identified system account SYSACCT , lock the account: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3228 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3229 <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"/>
3230 and disable its shell: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3231 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3232 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># usermod -s /sbin/nologin SYSACCT <xhtml:br/></xhtml:code>
3233 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3234 These are the accounts which are
3235 not associated with a human user of the system, but which exist to perform some
3236 administrative function. Make it more difficult for an attacker to use these accounts by
3237 locking their passwords and by setting their shells to some non-valid shell. The Fedora
3238 default non-valid shell is /sbin/nologin, but any command which will exit with a failure
3239 status and disallow execution of any further commands, such as /bin/false or /dev/null,
3240 will work.</xccdf:description>
3241 <xccdf:warning category="functionality" xml:lang="en">Do not perform the steps in this section on the root account.
3242 Doing so might cause the system to become inaccessible.</xccdf:warning>
3243 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.4.a" selected="false" severity="medium" weight="10.0">
3244 <xccdf:title>Block Shell and Login Access for Non-Root System Accounts</xccdf:title>
3245 <xccdf:description>Login access to non-root system accounts should be disabled</xccdf:description>
3246 <xccdf:ident system="http://cce.mitre.org">CCE-3987-5</xccdf:ident>
3247 <xccdf:fixtext>Edit /etc/passwd</xccdf:fixtext>
3248 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3249 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20068"/>
3250 </xccdf:check>
3251 </xccdf:Rule>
3252 </xccdf:Group>
3253 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5">
3254 <xccdf:title xml:lang="en">Verify Proper Storage and Existence of Password Hashes</xccdf:title>
3255 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.1">
3256 <xccdf:title xml:lang="en">Verify that No Accounts Have Empty Password Fields</xccdf:title>
3257 <xccdf:description xml:lang="en">
3258 Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3259 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3260 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 == "") {print}' /etc/shadow <xhtml:br/></xhtml:code>
3261 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3262 If this produces any output, fix the problem by locking each account
3263 (see Section 2.3.1.4 above) or by setting a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3264 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3265 If an account has an empty password, anybody may log in and run commands with the
3266 privileges of that account. Accounts with empty passwords should never be used in
3267 operational environments.</xccdf:description>
3268 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.1.a" selected="false" severity="medium" weight="10.0">
3269 <xccdf:title>Verify that No Accounts Have Empty Password Fields</xccdf:title>
3270 <xccdf:description>Login access to accounts without passwords should be disabled</xccdf:description>
3271 <xccdf:ident system="http://cce.mitre.org">CCE-4238-2</xccdf:ident>
3272 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3273 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20069"/>
3274 </xccdf:check>
3275 </xccdf:Rule>
3276 </xccdf:Group>
3277 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.5.2">
3278 <xccdf:title xml:lang="en">Verify that All Account Password Hashes are Shadowed</xccdf:title>
3279 <xccdf:description xml:lang="en">
3280 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"/>
3281 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3282 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($2 != "x") {print}' /etc/passwd<xhtml:br/></xhtml:code>
3283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3284 The hashes for all user account passwords should be stored in the file /etc/shadow and never in /etc/passwd,
3285 which is readable by all users.
3286 </xccdf:description>
3287 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.5.2.a" selected="false" severity="medium" weight="10.0">
3288 <xccdf:title>Verify that All Account Password Hashes are Shadowed</xccdf:title>
3289 <xccdf:description>Check that passwords are shadowed</xccdf:description>
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:200695"/>
3292 </xccdf:check>
3293 </xccdf:Rule>
3294 </xccdf:Group>
3295 </xccdf:Group>
3296 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.6">
3297 <xccdf:title xml:lang="en">Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3298 <xccdf:description xml:lang="en">
3299 This command will print all password file entries for accounts
3300 with UID 0: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3301 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3302 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># awk -F: '($3 == "0") {print}' /etc/passwd <xhtml:br/></xhtml:code>
3303 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3304 This should print only one line, for the user root. If any other lines appear, ensure
3305 that these additional UID-0 accounts are authorized, and that there is a good reason for
3306 them to exist. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3307 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3308 In general, the best practice solution for auditing use of the root account is to restrict
3309 the set of cases in which root must be accessed anonymously by requiring use of su or sudo
3310 in almost all cases. Some sites choose to have more than one account with UID 0 in order
3311 to differentiate between administrators, but this practice may have unexpected side
3312 effects, and is therefore not recommended.</xccdf:description>
3313 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.6.a" selected="false" severity="medium" weight="10.0">
3314 <xccdf:title>Verify that No Non-Root Accounts Have UID 0</xccdf:title>
3315 <xccdf:description>Anonymous root logins should be disabled</xccdf:description>
3316 <xccdf:ident system="http://cce.mitre.org">CCE-4009-7</xccdf:ident>
3317 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3318 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20070"/>
3319 </xccdf:check>
3320 </xccdf:Rule>
3321 </xccdf:Group>
3322 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.7">
3323 <xccdf:title xml:lang="en">Set Password Expiration Parameters</xccdf:title>
3324 <xccdf:description xml:lang="en">
3325 Edit the file /etc/login.defs to specify password expiration
3326 settings for new accounts. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3327 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">
3328 PASS_MAX_DAYS=180<xhtml:br/>
3329 PASS_MIN_DAYS=7 <xhtml:br/>
3330 PASS_MIN_LEN=8 <xhtml:br/>
3331 PASS_WARN_AGE=7 <xhtml:br/></xhtml:code>
3332 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3333 For each existing human user USER , modify the current expiration settings to match
3334 these: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3335 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chage -M 180 -m 7 -W 7 USER<xhtml:br/></xhtml:code>
3336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3337 Users should be forced to change their passwords, in order to decrease the utility of
3338 compromised passwords. However, the need to change passwords often should be balanced
3339 against the risk that users will reuse or write down passwords if forced to change them
3340 too often. Forcing password changes every 90-360 days, depending on the environment, is
3341 recommended. Set the appropriate value as PASS_MAX_DAYS and apply it to existing
3342 accounts with the -M flag. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3343 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3344 The PASS_MIN_DAYS (-m) setting prevents password changes for 7 days after the first
3345 change, to discourage password cycling. If you use this setting, train users to contact
3346 an administrator for an emergency password change in case a new password becomes
3347 compromised. The PASS_WARN_AGE (-W) setting gives users 7 days of warnings at login time
3348 that their passwords are about to expire.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3350 The PASS_MIN_LEN setting, which controls minimum password length, should be set to
3351 whatever is required by your site or organization security policy. The example value of
3352 8 provided here may be inadequate for many environments. See Section 2.3.3 for
3353 information on how to enforce more sophisticated requirements on password length and
3354 quality
3355 </xccdf:description>
3356 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.a" operator="equals" type="string">
3357 <xccdf:title xml:lang="en">minimum password length</xccdf:title>
3358 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3359 <xccdf:warning>This will only check new passwords</xccdf:warning>
3360 <xccdf:question xml:lang="en">Select minimum number of characters in password</xccdf:question>
3361 <xccdf:value>14</xccdf:value>
3362 <xccdf:value selector="5">5</xccdf:value>
3363 <xccdf:value selector="6">6</xccdf:value>
3364 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3365 <xccdf:value selector="8">8</xccdf:value>
3366 <xccdf:value selector="10">10</xccdf:value>
3367 <xccdf:value selector="14">14</xccdf:value>
3368 <xccdf:match>^[\d]+$</xccdf:match>
3369 </xccdf:Value>
3370 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.b" operator="equals" type="string">
3371 <xccdf:title>minimum password age</xccdf:title>
3372 <xccdf:description xml:lang="en">Enter minimum duration before allowing a password change</xccdf:description>
3373 <xccdf:question xml:lang="en">Select minimum duration (in days) before allowing a password change</xccdf:question>
3374 <xccdf:value>1</xccdf:value>
3375 <xccdf:value selector="1_day">1</xccdf:value>
3376 <xccdf:value selector="7_days">7</xccdf:value>
3377 <xccdf:match>^[\d]+$</xccdf:match>
3378 </xccdf:Value>
3379 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.c" operator="equals" type="string">
3380 <xccdf:title>maximum password age</xccdf:title>
3381 <xccdf:description xml:lang="en">Enter age before which a password must be changed</xccdf:description>
3382 <xccdf:question xml:lang="en">Select age (in days) before which a password must be changed</xccdf:question>
3383 <xccdf:value>60</xccdf:value>
3384 <xccdf:value selector="0_days">0</xccdf:value>
3385 <xccdf:value selector="30_days">30</xccdf:value>
3386 <xccdf:value selector="60_days">60</xccdf:value>
3387 <xccdf:value selector="90_days">90</xccdf:value>
3388 <xccdf:value selector="120_days">120</xccdf:value>
3389 <xccdf:value selector="150_days">150</xccdf:value>
3390 <xccdf:value selector="180_days">180</xccdf:value>
3391 <xccdf:match>^[\d]+$</xccdf:match>
3392 </xccdf:Value>
3393 <xccdf:Value id="xccdf_cdf_value_var-2.3.1.7.d" operator="equals" type="string">
3394 <xccdf:title>password warn age</xccdf:title>
3395 <xccdf:description xml:lang="en">
3396 The number of days warning given before a password expires. A zero
3397 means warning is given only upon the day of expiration, a negative
3398 value means no warning is given. If not specified, no warning will
3399 be provided.</xccdf:description>
3400 <xccdf:question xml:lang="en">Select number of days warning is given before a password expires</xccdf:question>
3401 <xccdf:value>14</xccdf:value>
3402 <xccdf:value selector="7_days">7</xccdf:value>
3403 <xccdf:value selector="8_days">8</xccdf:value>
3404 <xccdf:value selector="14_days">14</xccdf:value>
3405 <xccdf:match>^[\d]+$</xccdf:match>
3406 </xccdf:Value>
3407 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.a" selected="false" severity="medium" weight="10.0">
3408 <xccdf:title>Set password minimum length</xccdf:title>
3409 <xccdf:description xml:lang="en">The password minimum length should be set to:
3410 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.a"/></xccdf:description>
3411 <xccdf:ident system="http://cce.mitre.org">CCE-4154-1</xccdf:ident>
3412 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3413 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20071" value-id="xccdf_cdf_value_var-2.3.1.7.a"/>
3414 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20071"/>
3415 </xccdf:check>
3416 </xccdf:Rule>
3417 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.b" selected="false" severity="medium" weight="10.0">
3418 <xccdf:title>Set minimum password age</xccdf:title>
3419 <xccdf:description>The minimum password age should be set to:
3420 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.b"/></xccdf:description>
3421 <xccdf:ident system="http://cce.mitre.org">CCE-4180-6</xccdf:ident>
3422 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3423 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20072" value-id="xccdf_cdf_value_var-2.3.1.7.b"/>
3424 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20072"/>
3425 </xccdf:check>
3426 </xccdf:Rule>
3427 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.c" selected="false" severity="medium" weight="10.0">
3428 <xccdf:title>Set maximum password age</xccdf:title>
3429 <xccdf:description>The maximum password age should be set to:
3430 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.c"/></xccdf:description>
3431 <xccdf:ident system="http://cce.mitre.org">CCE-4092-3</xccdf:ident>
3432 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3433 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20073" value-id="xccdf_cdf_value_var-2.3.1.7.c"/>
3434 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20073"/>
3435 </xccdf:check>
3436 </xccdf:Rule>
3437 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.7.d" selected="false" severity="medium" weight="10.0">
3438 <xccdf:title>Set password warn age</xccdf:title>
3439 <xccdf:description>The password warn age should be set to:
3440 <xccdf:sub idref="xccdf_cdf_value_var-2.3.1.7.d"/></xccdf:description>
3441 <xccdf:ident system="http://cce.mitre.org">CCE-4097-2</xccdf:ident>
3442 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3443 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20074" value-id="xccdf_cdf_value_var-2.3.1.7.d"/>
3444 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20074"/>
3445 </xccdf:check>
3446 </xccdf:Rule>
3447 </xccdf:Group>
3448 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.1.8">
3449 <xccdf:title xml:lang="en">Remove Legacy + Entries from Password Files</xccdf:title>
3450 <xccdf:description xml:lang="en">
3451 The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3452 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3453 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep "^+:" /etc/passwd /etc/shadow /etc/group<xhtml:br/></xhtml:code>
3454 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3455 should produce no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3456 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3457 The + symbol was used by systems to include data from NIS maps
3458 into existing files. However, a certain configuration error in which a NIS inclusion
3459 line appears in /etc/passwd, but NIS is not running, could lead to anyone being able to
3460 access the system with the username + and no password. Therefore, it is important to
3461 verify that no such line appears in any of the relevant system files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3462 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3463 The correct way to
3464 tell the local system to consult network databases such as LDAP or NIS for user
3465 information is to make appropriate modifications to /etc/nsswitch.conf.</xccdf:description>
3466 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.a" selected="false" severity="medium" weight="10.0">
3467 <xccdf:title>Remove Legacy + Entries from /etc/shadow</xccdf:title>
3468 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/shadow file</xccdf:description>
3469 <xccdf:fixtext>(1) via /etc/shadow</xccdf:fixtext>
3470 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3471 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20075"/>
3472 </xccdf:check>
3473 </xccdf:Rule>
3474 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.b" selected="false" severity="medium" weight="10.0">
3475 <xccdf:title>Remove Legacy + Entries from /etc/group</xccdf:title>
3476 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/group file</xccdf:description>
3477 <xccdf:fixtext>(1) via /etc/group</xccdf:fixtext>
3478 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3479 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20076"/>
3480 </xccdf:check>
3481 </xccdf:Rule>
3482 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.1.8.c" selected="false" severity="medium" weight="10.0">
3483 <xccdf:title>Remove Legacy + Entries from /etc/passwd</xccdf:title>
3484 <xccdf:description>NIS file inclusions should be set appropriately in the /etc/passwd file</xccdf:description>
3485 <xccdf:ident system="http://cce.mitre.org">CCE-4114-5</xccdf:ident>
3486 <xccdf:fixtext>(1) via /etc/passwd</xccdf:fixtext>
3487 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3488 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20077"/>
3489 </xccdf:check>
3490 </xccdf:Rule>
3491 </xccdf:Group>
3492 </xccdf:Group>
3493 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2">
3494 <xccdf:title xml:lang="en">Use Unix Groups to Enhance Security</xccdf:title>
3495 <xccdf:description xml:lang="en">
3496 The access control policies which can be enforced by standard
3497 Unix permissions are limited, and configuring SELinux (Section 2.4) is frequently a better
3498 choice. However, this guide recommends that security be enhanced to the extent possible by
3499 enforcing the Unix group policies outlined in this section.</xccdf:description>
3500 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.1" weight="1.0">
3501 <xccdf:title xml:lang="en">Create a Unique Default Group for Each User</xccdf:title>
3502 <xccdf:description xml:lang="en">
3503 When running useradd, do not use the -g flag or otherwise
3504 override the default group. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3506 The Red Hat default is that each new user account should
3507 have a unique primary group whose name is the same as that of the account. This default
3508 is recommended, in order to provide additional protection against files which are
3509 created with group write permission enabled.</xccdf:description>
3510 </xccdf:Group>
3511 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.2.2">
3512 <xccdf:title xml:lang="en">Create and Maintain a Group Containing All Human Users</xccdf:title>
3513 <xccdf:description xml:lang="en">
3514 Identify all user accounts on the system which correspond to
3515 human users. Depending on your system configuration, this may be all entries in
3516 /etc/passwd with UID values of at least 500. Once, you have identified such a set of
3517 users, create a group named usergroup (substitute some name appropriate to your
3518 environment) and populate it with each human user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3519 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3520 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># groupadd usergroup <xhtml:br/>
3521 # usermod -G usergroup human1 <xhtml:br/>
3522 # usermod -G usergroup human2 ... <xhtml:br/>
3523 # usermod -G usergroup humanN <xhtml:br/></xhtml:code>
3524 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3525 Then modify your procedure for creating new user accounts by adding -G usergroup to the
3526 set of flags with which useradd is invoked, so that new human users will be placed in
3527 the correct group by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3528 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3529 Creating a group of human users does not, by itself, enhance
3530 system security. However, as you work on securing your system, you will often find
3531 commands which never need to be run by system accounts, or which are only ever needed by
3532 users logged into the graphical console (which should only ever be available to human
3533 users, even on workstations). Once a group of users has been created, it is easy to
3534 restrict access to a given command, for instance /path/to/graphical/command , to
3535 authorized users: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3537 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /path/to/graphical/command <xhtml:br/>
3538 # chmod 750 /path/graphical/command <xhtml:br/></xhtml:code>
3539 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3540 Without a group of human users, it is necessary to restrict
3541 access by somehow preventing each system account from running the command, which is an
3542 error-prone process even when it is possible at all.</xccdf:description>
3543 </xccdf:Group>
3544 </xccdf:Group>
3545 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3">
3546 <xccdf:title xml:lang="en">Protect Accounts by Configuring PAM</xccdf:title>
3547 <xccdf:description xml:lang="en">
3548 PAM, or Pluggable Authentication Modules, is a system which
3549 implements modular authentication for Linux programs. PAM is well-integrated into Linux's
3550 authentication architecture, making it difficult to remove, but it can be configured to
3551 minimize your system's exposure to unnecessary risk. This section contains guidance on how
3552 to accomplish that, and how to ensure that the modules used by your PAM configuration do
3553 what they are supposed to do. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3554 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3555 PAM is implemented as a set of shared objects which are
3556 loaded and invoked whenever an application wishes to authenticate a user. Typically, the
3557 application must be running as root in order to take advantage of PAM. Traditional
3558 privileged network listeners (e.g. sshd) or SUID programs (e.g. sudo) already meet this
3559 requirement. An SUID root application, userhelper, is provided so that programs which are
3560 not SUID or privileged themselves can still take advantage of PAM. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3561 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3562 PAM looks in the
3563 directory /etc/pam.d for application-specific configuration information. For instance, if
3564 the program login attempts to authenticate a user, then PAM's libraries follow the
3565 instructions in the file /etc/ pam.d/login to determine what actions should be taken.
3566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>One
3568 very important file in /etc/pam.d is /etc/pam.d/system-auth. This file, which is included
3569 by many other PAM configuration files, defines 'default' system authentication measures.
3570 Modifying this file is a good way to make far-reaching authentication changes, for
3571 instance when implementing a centralized authentication service.
3572 </xccdf:description>
3573 <xccdf:warning xml:lang="en">
3574 Be careful when making changes to PAM's configuration files. The syntax for these files
3575 is complex, and modifications can have unexpected consequences.1 The default
3576 configurations shipped with applications should be sufficient for most users.
3577 </xccdf:warning>
3578 <xccdf:warning xml:lang="en">
3579 Running authconfig or system-config-authentication will re-write the PAM configuration
3580 files, destroying any manually made changes and replacing them with a series of system
3581 defaults. 1One reference to the configuration file syntax can be found at
3582 http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/ sag-configuration-file.html.
3583 </xccdf:warning>
3584 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1">
3585 <xccdf:title xml:lang="en">Set Password Quality Requirements</xccdf:title>
3586 <xccdf:description xml:lang="en">
3587 The default pam_cracklib PAM module provides strength checking
3588 for passwords. It performs a number of checks, such as making sure passwords are not
3589 similar to dictionary words, are of at least a certain length, are not the previous
3590 password reversed, and are not simply a change of case from the previous password. It
3591 can also require passwords to be in certain character classes.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3592 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3593 The pam_passwdqc PAM module provides the ability to enforce even more stringent
3594 password strength requirements. It is provided in an RPM of the same name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3595 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3596 The man pages pam_cracklib(8) and pam_passwdqc(8) provide information on the
3597 capabilities and configuration of each.
3598 </xccdf:description>
3599 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.1">
3600 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_cracklib</xccdf:title>
3601 <xccdf:description xml:lang="en">
3602 The pam_cracklib PAM module can be configured to meet
3603 recommendations for DoD systems as stated in [12].<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3604 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3605 To configure pam_cracklib to require at least one uppercase character, lowercase
3606 character, digit, and other (special) character, locate the following line in
3607 /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3609 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3611 and then alter it to read:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3612 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3613 password required pam_cracklib.so try_first_pass retry=3 minlen=14 dcredit=-1 /
3614 ucredit=-1 ocredit=-1 lcredit=0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3615 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3616 If necessary, modify the arguments to ensure compliance with your organization’s
3617 security policy.
3618 </xccdf:description>
3619 <xccdf:warning xml:lang="en">Note that the password quality requirements are not enforced
3620 for the root account for some reason.
3621 </xccdf:warning>
3622 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.retry">
3623 <xccdf:title xml:lang="en">retry</xccdf:title>
3624 <xccdf:description xml:lang="en">Number of retry attempts before erroring out</xccdf:description>
3625 <xccdf:question xml:lang="en">Select number of password retry attempts before erroring out</xccdf:question>
3626 <xccdf:value>3</xccdf:value>
3627 <xccdf:value selector="1">1</xccdf:value>
3628 <xccdf:value selector="2">2</xccdf:value>
3629 <xccdf:value selector="3">3</xccdf:value>
3630 <xccdf:match>^[\d]+$</xccdf:match>
3631 </xccdf:Value>
3632 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.difok">
3633 <xccdf:title xml:lang="en">difok</xccdf:title>
3634 <xccdf:description xml:lang="en">Mininum number of characters not present in old password</xccdf:description>
3635 <xccdf:warning xml:lang="en">Keep this high for short passwords</xccdf:warning>
3636 <xccdf:question xml:lang="en">Select minimum number of characters not present in old password</xccdf:question>
3637 <xccdf:value>5</xccdf:value>
3638 <xccdf:value selector="2">2</xccdf:value>
3639 <xccdf:value selector="3">3</xccdf:value>
3640 <xccdf:value selector="4">4</xccdf:value>
3641 <xccdf:value selector="5">5</xccdf:value>
3642 <xccdf:match>^[\d]+$</xccdf:match>
3643 </xccdf:Value>
3644 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.minlen">
3645 <xccdf:title xml:lang="en">minlen</xccdf:title>
3646 <xccdf:description xml:lang="en">Minimum number of characters in password</xccdf:description>
3647 <xccdf:question xml:lang="en">Select minimum number of characters in pasword</xccdf:question>
3648 <xccdf:value>14</xccdf:value>
3649 <xccdf:value selector="6">6</xccdf:value>
3650 <!-- NIST 800-53 requires 1 in a million using brute force which translates to six numbers -->
3651 <xccdf:value selector="8">8</xccdf:value>
3652 <xccdf:value selector="10">10</xccdf:value>
3653 <xccdf:value selector="14">14</xccdf:value>
3654 <xccdf:value selector="15">15</xccdf:value>
3655 <xccdf:match>^[\d]+$</xccdf:match>
3656 </xccdf:Value>
3657 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.dcredit">
3658 <xccdf:title xml:lang="en">dcredit</xccdf:title>
3659 <xccdf:description xml:lang="en">Mininum number of digits in password</xccdf:description>
3660 <xccdf:question xml:lang="en">Select number of digits in password</xccdf:question>
3661 <xccdf:value>-2</xccdf:value>
3662 <xccdf:value selector="2">-2</xccdf:value>
3663 <xccdf:value selector="1">-1</xccdf:value>
3664 <xccdf:value selector="0">0</xccdf:value>
3665 <xccdf:match>^-?[\d]+$</xccdf:match>
3666 </xccdf:Value>
3667 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ocredit">
3668 <xccdf:title xml:lang="en">ocredit</xccdf:title>
3669 <xccdf:description xml:lang="en">Mininum number of other (special characters) in password</xccdf:description>
3670 <xccdf:question xml:lang="en">Select number of special characters in password</xccdf:question>
3671 <xccdf:value>-2</xccdf:value>
3672 <xccdf:value selector="2">-2</xccdf:value>
3673 <xccdf:value selector="1">-1</xccdf:value>
3674 <xccdf:value selector="0">0</xccdf:value>
3675 <xccdf:match>^-?[\d]+$</xccdf:match>
3676 </xccdf:Value>
3677 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.lcredit">
3678 <xccdf:title xml:lang="en">lcredit</xccdf:title>
3679 <xccdf:description xml:lang="en">Mininum number of lower case in password</xccdf:description>
3680 <xccdf:question xml:lang="en">Select minimum number of lower case in password</xccdf:question>
3681 <xccdf:value>-2</xccdf:value>
3682 <xccdf:value selector="2">-2</xccdf:value>
3683 <xccdf:value selector="1">-1</xccdf:value>
3684 <xccdf:value selector="0">0</xccdf:value>
3685 <xccdf:match>^-?[\d]+$</xccdf:match>
3686 </xccdf:Value>
3687 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.1.a.ucredit">
3688 <xccdf:title xml:lang="en">ucredit</xccdf:title>
3689 <xccdf:description xml:lang="en">Mininum number of upper case in password</xccdf:description>
3690 <xccdf:question xml:lang="en">Select minimum number of upper case in password</xccdf:question>
3691 <xccdf:value>-2</xccdf:value>
3692 <xccdf:value selector="2">-2</xccdf:value>
3693 <xccdf:value selector="1">-1</xccdf:value>
3694 <xccdf:value selector="0">0</xccdf:value>
3695 <xccdf:match>^-?[\d]+$</xccdf:match>
3696 </xccdf:Value>
3697 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.1.a" selected="false" severity="medium" weight="10.0">
3698 <xccdf:title>Set Password Quality Requirements</xccdf:title>
3699 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3700 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3701 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3702 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3703 <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"/>
3704 <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"/>
3705 <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"/>
3706 <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"/>
3707 <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"/>
3708 <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"/>
3709 <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"/>
3710 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20078"/>
3711 <!-- TBD -->
3712 </xccdf:check>
3713 </xccdf:Rule>
3714 </xccdf:Group>
3715 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.1.2">
3716 <xccdf:title xml:lang="en">Set Password Quality Requirements, if using pam_passwdqc</xccdf:title>
3717 <xccdf:description xml:lang="en">
3718 If password strength stronger than that guaranteed by
3719 pam_cracklib is required, configure PAM to use pam_passwdqc.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3720 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3721 To activate pam_passwdqc, locate the following line in /etc/pam.d/system-auth:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3722 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3723 password requisite pam_cracklib.so try_first_pass retry=3<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3724 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3725 and then replace it with the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3726 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3727 password requisite pam_passwdqc.so min=disabled,disabled,16,12,8<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3728 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3729 If necessary, modify the arguments (min=disabled,disabled,16,12,8) to ensure
3730 compliance with your organization’s security policy. Configuration options are
3731 described in the man page pam_passwdqc(8) and also in /usr/share/doc/pam_passwdqc-version.
3732 The minimum lengths provided here supercede that specified
3733 by the argument PASS MIN LEN as described in Section 2.3.1.7.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3734 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3735 The options given in the example above set a minimum length for each of the
3736 password “classes” that pam_passwdqc recognizes. Setting a particular minimum
3737 value to disabled will stop users from choosing a password that falls into
3738 that category alone.
3739 </xccdf:description>
3740 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N0">
3741 <!-- TODO -->
3742 <xccdf:title xml:lang="en">N0</xccdf:title>
3743 <xccdf:description xml:lang="en">
3744 N0 is used for passwords consisting of characters
3745 from one character class only. The character classes are: digits,
3746 lower-case letters, upper-case letters, and other characters. There is
3747 also a special class for non-ASCII characters which could not be
3748 classified, but are assumed to be non-digits. </xccdf:description>
3749 <xccdf:value>24</xccdf:value>
3750 <xccdf:value selector="disabled">disabled</xccdf:value>
3751 <xccdf:value selector="24">24</xccdf:value>
3752 <xccdf:value selector="30">30</xccdf:value>
3753 </xccdf:Value>
3754 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N1">
3755 <!-- TODO -->
3756 <xccdf:title xml:lang="en">N1</xccdf:title>
3757 <xccdf:description xml:lang="en">
3758 N1 is used for passwords consisting of characters
3759 from two character classes which do not meet the requirements for a
3760 passphrase.</xccdf:description>
3761 <xccdf:value>16</xccdf:value>
3762 <xccdf:value selector="disabled">disabled</xccdf:value>
3763 <xccdf:value selector="18">18</xccdf:value>
3764 <xccdf:value selector="24">24</xccdf:value>
3765 </xccdf:Value>
3766 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N2">
3767 <!-- TODO -->
3768 <xccdf:title xml:lang="en">N2</xccdf:title>
3769 <xccdf:description xml:lang="en">
3770 N2 is used for passphrases. Note that besides
3771 meeting this length requirement, a passphrase must also consist of a
3772 sufficient number of words (see the "passphrase" option below). </xccdf:description>
3773 <xccdf:value>16</xccdf:value>
3774 <xccdf:value selector="disabled">disabled</xccdf:value>
3775 <xccdf:value selector="16">16</xccdf:value>
3776 <xccdf:value selector="17">17</xccdf:value>
3777 <xccdf:value selector="18">18</xccdf:value>
3778 </xccdf:Value>
3779 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N3">
3780 <!-- TODO -->
3781 <xccdf:title xml:lang="en">N3</xccdf:title>
3782 <xccdf:description xml:lang="en">N3 is the number of characters required for a password that uses characters from 3 character classes.</xccdf:description>
3783 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 3 character classes</xccdf:question>
3784 <xccdf:value>16</xccdf:value>
3785 <xccdf:value selector="disabled">disabled</xccdf:value>
3786 <xccdf:value selector="14">14</xccdf:value>
3787 <xccdf:value selector="15">15</xccdf:value>
3788 <xccdf:value selector="16">16</xccdf:value>
3789 </xccdf:Value>
3790 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.N4">
3791 <!-- TODO -->
3792 <xccdf:title xml:lang="en">N4</xccdf:title>
3793 <xccdf:description xml:lang="en">N4 is the number of characters required for a password that uses characters from 4 character classes.</xccdf:description>
3794 <xccdf:question xml:lang="en">Select the number of characters required for a password that uses characters from 4 character classes</xccdf:question>
3795 <xccdf:value>14</xccdf:value>
3796 <xccdf:value selector="10">10</xccdf:value>
3797 <xccdf:value selector="12">12</xccdf:value>
3798 <xccdf:value selector="14">14</xccdf:value>
3799 </xccdf:Value>
3800 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.passphrase">
3801 <!-- TODO -->
3802 <xccdf:title xml:lang="en">passphrase</xccdf:title>
3803 <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>
3804 <xccdf:question xml:lang="en">Select the number of words required for a passphrase</xccdf:question>
3805 <xccdf:value>3</xccdf:value>
3806 <xccdf:value selector="disabled">0</xccdf:value>
3807 <xccdf:value selector="3">3</xccdf:value>
3808 <xccdf:value selector="5">5</xccdf:value>
3809 <xccdf:match>^[\d]+$</xccdf:match>
3810 </xccdf:Value>
3811 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.match">
3812 <!-- TODO -->
3813 <xccdf:title xml:lang="en">match</xccdf:title>
3814 <xccdf:description xml:lang="en">
3815 The length of common substring required to
3816 conclude that a password is at least partially based on information
3817 found in a character string, or 0 to disable the substring search.
3818 Note that the password will not be rejected once a weak substring is
3819 found; it will instead be subjected to the usual strength requirements
3820 with the weak substring removed.</xccdf:description>
3821 <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>
3822 <xccdf:value>5</xccdf:value>
3823 <xccdf:value selector="disable">0</xccdf:value>
3824 <xccdf:value selector="3">3</xccdf:value>
3825 <xccdf:value selector="4">4</xccdf:value>
3826 <xccdf:value selector="5">5</xccdf:value>
3827 <xccdf:match>^[\d]+$</xccdf:match>
3828 </xccdf:Value>
3829 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.1.2.a.retry">
3830 <!-- TODO -->
3831 <xccdf:title xml:lang="en">retry</xccdf:title>
3832 <xccdf:description xml:lang="en">
3833 The number of times the module will ask for a
3834 new password if the user fails to provide a sufficiently strong
3835 password and enter it twice the first time. </xccdf:description>
3836 <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>
3837 <xccdf:value>3</xccdf:value>
3838 <xccdf:value selector="2">2</xccdf:value>
3839 <xccdf:value selector="3">3</xccdf:value>
3840 <xccdf:value selector="4">4</xccdf:value>
3841 <xccdf:match>^[\d]+$</xccdf:match>
3842 </xccdf:Value>
3843 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.1.2.a" selected="false" weight="10.0">
3844 <xccdf:title>Set Password Quality Requirements using pam_passwdqc</xccdf:title>
3845 <xccdf:description>The password strength should meet minimum requirements</xccdf:description>
3846 <xccdf:ident system="http://cce.mitre.org">CCE-3762-2</xccdf:ident>
3847 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3848 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3849 <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"/>
3850 <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"/>
3851 <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"/>
3852 <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"/>
3853 <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"/>
3854 <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"/>
3855 <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"/>
3856 <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"/>
3857 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20079"/>
3858 </xccdf:check>
3859 </xccdf:Rule>
3860 </xccdf:Group>
3861 </xccdf:Group>
3862 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.2">
3863 <xccdf:title xml:lang="en">Set Lockouts for Failed Password Attempts</xccdf:title>
3864 <xccdf:description xml:lang="en">
3865 The pam_tally2 PAM module provides the capability to lock out
3866 user accounts after a number of failed login attempts. Its documentation is available in
3867 /usr/share/doc/pam-version/txts/README.pam_tally2. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3868 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3869 If locking out accounts after a number of incorrect login attempts is required by your
3870 security policy, implement use of pam_tally2.so for the relevant PAM-aware programs
3871 such as login, sshd, and vsftpd. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3872 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3873 Find the following line in /etc/pam.d/system-auth: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3874 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3875 auth sufficient pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3876 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3877 and then change it so that it reads as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3878 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3879 auth required pam_unix.so nullok try_first_pass <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3880 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3881 In the same file, comment out or delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3882 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3883 auth requisite pam_succeed_if.so uid &gt;= 500 quiet <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3884 auth required pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3885 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3886 To enforce password lockout, add the following to the individual programs'
3887 configuration files in /etc/pam.d. First, add to end of the auth lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3888 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3889 auth required pam_tally2.so deny=5 onerr=fail <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3890 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3891 Second, add to the end of the account lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3892 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3893 account required pam_tally2.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3894 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3895 Adjust the deny argument to conform to your system security policy. The pam_tally2
3896 utility can be used to unlock user accounts as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3897 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3898 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># /sbin/pam_tally2 --user username --reset <xhtml:br/></xhtml:code>
3899 </xccdf:description>
3900 <xccdf:warning xml:lang="en">
3901 Locking out user accounts presents the risk of a denial-of-service attack. The security
3902 policy regarding system lockout must weigh whether the risk of such a denial-of-service
3903 attack outweighs the benefits of thwarting password guessing attacks. The pam_tally2
3904 utility can be run from a cron job on a hourly or daily basis to try and offset this
3905 risk.
3906 </xccdf:warning>
3907 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.deny">
3908 <!-- TODO -->
3909 <xccdf:title xml:lang="en">deny</xccdf:title>
3910 <xccdf:description xml:lang="en">Deny access if tally for this user exceeds n.</xccdf:description>
3911 <xccdf:value>3</xccdf:value>
3912 <xccdf:value selector="1">1</xccdf:value>
3913 <xccdf:value selector="3">3</xccdf:value>
3914 <xccdf:value selector="5">5</xccdf:value>
3915 <xccdf:value selector="10">10</xccdf:value>
3916 <xccdf:match>^[\d]+$</xccdf:match>
3917 </xccdf:Value>
3918 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.lock_time">
3919 <xccdf:title xml:lang="en">lock_time</xccdf:title>
3920 <xccdf:description xml:lang="en">Always deny for n seconds after failed attempt.</xccdf:description>
3921 <xccdf:value>5</xccdf:value>
3922 <xccdf:value selector="1">1</xccdf:value>
3923 <xccdf:value selector="3">3</xccdf:value>
3924 <xccdf:value selector="5">5</xccdf:value>
3925 <xccdf:value selector="10">10</xccdf:value>
3926 <xccdf:match>^[\d]+$</xccdf:match>
3927 </xccdf:Value>
3928 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.2.a.unlock_time">
3929 <xccdf:title xml:lang="en">unlock_time</xccdf:title>
3930 <xccdf:description xml:lang="en">
3931 Allow access after n seconds after failed attempt. If this
3932 option is used the user will be locked out for the specified amount of time after
3933 he exceeded his maximum allowed attempts. Otherwise the account is locked until the
3934 lock is removed by a manual intervention of the system administrator.</xccdf:description>
3935 <xccdf:question xml:lang="en">Select time (in seconds) user will be locked out after he exceeded his maximum allowed attempts</xccdf:question>
3936 <xccdf:value>0</xccdf:value>
3937 <xccdf:value selector="none">1</xccdf:value>
3938 <xccdf:value selector="15_minutes">900</xccdf:value>
3939 <xccdf:value selector="30_minutes">1800</xccdf:value>
3940 <xccdf:value selector="1_hour">3600</xccdf:value>
3941 <xccdf:match>^[\d]+$</xccdf:match>
3942 </xccdf:Value>
3943 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.a" selected="false" severity="medium" weight="10.0">
3944 <xccdf:title>Set Lockouts for Failed Password Attempts</xccdf:title>
3945 <xccdf:description>The "account lockout threshold" policy should meet minimum requirements.</xccdf:description>
3946 <xccdf:ident system="http://cce.mitre.org">CCE-3410-8</xccdf:ident>
3947 <xccdf:fixtext>(1) via PAM</xccdf:fixtext>
3948 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3949 <xccdf:check-export export-name="oval:org.open-scap.f14:var:200801" value-id="xccdf_cdf_value_var-2.3.3.2.a.deny"/>
3950 <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"/>
3951 <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"/>
3952 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20080"/>
3953 <!-- TBD -->
3954 </xccdf:check>
3955 </xccdf:Rule>
3956 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.b" selected="false" weight="10.0">
3957 <xccdf:title>Do not leak information on authorization failure</xccdf:title>
3958 <xccdf:description>Authorization failures should not alert attackers as to what went wrong.</xccdf:description>
3959 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3960 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3961 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200805"/>
3962 <!-- TBD -->
3963 </xccdf:check>
3964 </xccdf:Rule>
3965 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.2.c" selected="false" severity="medium" weight="10.0">
3966 <xccdf:title>Do not log authorization failures and successes</xccdf:title>
3967 <xccdf:description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</xccdf:description>
3968 <xccdf:fixtext>(1) via /etc/pam.d/system-auth</xccdf:fixtext>
3969 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3970 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200806"/>
3971 <!-- TBD -->
3972 </xccdf:check>
3973 </xccdf:Rule>
3974 </xccdf:Group>
3975 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.3">
3976 <xccdf:title xml:lang="en">Use pam_deny.so to Quickly Deny Access to a Service</xccdf:title>
3977 <xccdf:description xml:lang="en">
3978 In order to deny access to a service SVCNAME via PAM, edit the
3979 file /etc/pam.d/SVCNAME . Prepend this line to the beginning of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3980 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3981 auth requisite pam_deny.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3982 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3983 Under most circumstances, there are better ways to disable a service than to
3984 deny access via PAM. However, this should suffice as a way to quickly make a service
3985 unavailable to future users (existing sessions which have already been authenticated,
3986 are not affected). The requisite tag tells PAM that, if the named module returns
3987 failure, authentication should fail, and PAM should immediately stop processing the
3988 configuration file. The pam_deny.so module always returns failure regardless of its
3989 input.</xccdf:description>
3990 </xccdf:Group>
3991 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.4">
3992 <xccdf:title xml:lang="en">Restrict Execution of userhelper to Console Users</xccdf:title>
3993 <xccdf:description xml:lang="en">
3994 If your environment has defined a group, usergroup containing
3995 all the human users of your system, restrict execution of the userhelper program to only
3996 that group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3997 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
3998 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chgrp usergroup /usr/sbin/userhelper <xhtml:br/>
3999 # chmod 4710 /usr/sbin/userhelper <xhtml:br/></xhtml:code>
4000 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4001 The userhelper program provides authentication for graphical services which must run
4002 with root privileges, such as the system-config- family of graphical configuration
4003 utilities. Only human users logged into the system console are likely to ever have a
4004 legitimate need to run these utilities. This step provides some protection against
4005 possible flaws in userhelper's implementation, and against further privilege escalation
4006 when system accounts are compromised. See Section 2.3.2.2 for more information on
4007 creating a group of human users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4008 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4009 The userhelper program is configured by the files in /etc/security/console.apps/. Each
4010 file specifies, for some program, what user the program should run as, and what program
4011 should be executed after successful authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4012 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4013 Note: The configuration in /etc/security/console.apps/ is applied in
4014 combination with the PAM configuration of the service defined in /etc/pam.d/. First,
4015 userhelper determines what user the service should run as. (Typically, this will be
4016 root.) Next, userhelper uses the PAM API to allow the user who ran the program to
4017 attempt to authenticate as the desired user. The PAM API exchange is wrapped in a GUI if
4018 the application's configuration requests one.</xccdf:description>
4019 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.a" operator="equals" type="string">
4020 <xccdf:title>Name of group containing human users</xccdf:title>
4021 <xccdf:description xml:lang="en">Enter group to aggregate human users</xccdf:description>
4022 <xccdf:value>usergroup</xccdf:value>
4023 <xccdf:value selector="usergroup">usergroup</xccdf:value>
4024 </xccdf:Value>
4025 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.4.b" operator="equals" type="string">
4026 <xccdf:title>userhelper file permissions</xccdf:title>
4027 <xccdf:description xml:lang="en">Enter file permissions for /usr/sbin/userhelper</xccdf:description>
4028 <xccdf:question xml:lang="en">Enter file permission for /usr/bin/userhelper</xccdf:question>
4029 <xccdf:value>100111001000</xccdf:value>
4030 <xccdf:value selector="4710">100111001000</xccdf:value>
4031 <xccdf:match>^[10]+$</xccdf:match>
4032 </xccdf:Value>
4033 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.a" selected="false" weight="10.0">
4034 <xccdf:title>Restrict Execution of userhelper to Console Users</xccdf:title>
4035 <xccdf:description>The /usr/sbin/userhelper file should be owned by the appropriate group.</xccdf:description>
4036 <xccdf:ident system="http://cce.mitre.org">CCE-4185-5</xccdf:ident>
4037 <xccdf:fix># chgrp usergroup /usr/sbin/userhelper</xccdf:fix>
4038 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4039 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20081" value-id="xccdf_cdf_value_var-2.3.3.4.a"/>
4040 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20081"/>
4041 </xccdf:check>
4042 </xccdf:Rule>
4043 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.4.b" selected="false" weight="10.0">
4044 <xccdf:title>Restrict File permissions of userhelper</xccdf:title>
4045 <xccdf:description>File permissions for /usr/sbin/userhelper should be set correctly.</xccdf:description>
4046 <xccdf:ident system="http://cce.mitre.org">CCE-3952-9</xccdf:ident>
4047 <xccdf:fix># chmod 4710 /usr/sbin/userhelper</xccdf:fix>
4048 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4049 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20082" value-id="xccdf_cdf_value_var-2.3.3.4.b"/>
4050 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20082"/>
4051 </xccdf:check>
4052 </xccdf:Rule>
4053 </xccdf:Group>
4054 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.5">
4055 <xccdf:title xml:lang="en">Password Hashing Algorithm</xccdf:title>
4056 <xccdf:description xml:lang="en">
4057 The default algorithm for storing password hashes should be SHA-512.
4058 </xccdf:description>
4059 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.5.a" operator="equals" type="string">
4060 <xccdf:title>Password hashing algorithm</xccdf:title>
4061 <xccdf:description xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:description>
4062 <xccdf:question xml:lang="en">Enter /etc/shadow password hashing algorithm</xccdf:question>
4063 <xccdf:value>sha512</xccdf:value>
4064 <xccdf:value selector="MD5">md5</xccdf:value>
4065 <xccdf:value selector="SHA-256">sha256</xccdf:value>
4066 <xccdf:value selector="SHA-512">sha512</xccdf:value>
4067 <xccdf:choices>
4068 <xccdf:choice>md5</xccdf:choice>
4069 <xccdf:choice>sha256</xccdf:choice>
4070 <xccdf:choice>sha512</xccdf:choice>
4071 </xccdf:choices>
4072 </xccdf:Value>
4073 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.5.a" selected="false" severity="medium" weight="10.0">
4074 <xccdf:title>Password hashing algorithm</xccdf:title>
4075 <xccdf:description>The password hashing algorithm should be set to SHA-512</xccdf:description>
4076 <xccdf:fix>/usr/sbin/authconfig --passalgo=sha512 --update</xccdf:fix>
4077 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4078 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20083" value-id="xccdf_cdf_value_var-2.3.3.5.a"/>
4079 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20083"/>
4080 </xccdf:check>
4081 </xccdf:Rule>
4082 </xccdf:Group>
4083 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.3.6">
4084 <xccdf:title xml:lang="en">Limit Password Reuse</xccdf:title>
4085 <xccdf:description xml:lang="en">
4086 Do not allow users to reuse recent passwords. This can be
4087 accomplished by using the remember option for the pam_unix PAM module. In order to
4088 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,
4089 append remember=<xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/> to the password line which uses the
4090 pam_unix module in the file /etc/pam.d/system-auth, as shown:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4092 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"/>
4093 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4094 Old (and thus no longer valid) passwords are stored in the file /etc/security/opasswd.
4095 </xccdf:description>
4096 <xccdf:Value id="xccdf_cdf_value_var-2.3.3.6.a" operator="equals" type="string">
4097 <xccdf:title>remember</xccdf:title>
4098 <xccdf:description xml:lang="en">
4099 The last n passwords for each user are saved in
4100 /etc/security/opasswd in order to force password change history and keep the user from
4101 alternating between the same password too frequently. </xccdf:description>
4102 <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>
4103 <xccdf:value>5</xccdf:value>
4104 <xccdf:value selector="5">5</xccdf:value>
4105 <xccdf:value selector="10">10</xccdf:value>
4106 <xccdf:match>^[\d]+$</xccdf:match>
4107 </xccdf:Value>
4108 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.3.6.a" selected="false" severity="medium" weight="10.0">
4109 <xccdf:title>Limit password reuse</xccdf:title>
4110 <xccdf:description>The passwords to remember should be set to: <xccdf:sub idref="xccdf_cdf_value_var-2.3.3.6.a"/></xccdf:description>
4111 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4112 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20084" value-id="xccdf_cdf_value_var-2.3.3.6.a"/>
4113 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20084"/>
4114 <!-- TBD -->
4115 </xccdf:check>
4116 </xccdf:Rule>
4117 </xccdf:Group>
4118 </xccdf:Group>
4119 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4">
4120 <xccdf:title xml:lang="en">Secure Session Configuration Files for Login Accounts</xccdf:title>
4121 <xccdf:description xml:lang="en">
4122 When a user logs into a Unix account, the system configures the
4123 user's session by reading a number of files. Many of these files are located in the user's
4124 home directory, and may have weak permissions as a result of user error or
4125 misconfiguration. If an attacker can modify or even read certain types of account
4126 configuration information, he can often gain full access to the affected user's account.
4127 Therefore, it is important to test and correct configuration file permissions for
4128 interactive accounts, particularly those of privileged users such as root or system
4129 administrators.</xccdf:description>
4130 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.1">
4131 <xccdf:title xml:lang="en">Ensure that No Dangerous Directories Exist in Roots Path '</xccdf:title>
4132 <xccdf:description xml:lang="en">
4133 The active path of the root account can be obtained by starting
4134 a new root shell and running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4135 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4136 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># echo $PATH <xhtml:br/></xhtml:code>
4137 This will produce a colon-separated list of directories in the path. For each directory
4138 DIR in the path, ensure that DIR is not equal to a single . character. Also ensure that
4139 there are no 'empty' elements in the path, such as in these examples: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4140 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4141 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH=:/bin <xhtml:br/>
4142 PATH=/bin: <xhtml:br/>
4143 PATH=/bin::/sbin <xhtml:br/></xhtml:code>
4144 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4145 These empty elements have the same effect as a single . character. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4146 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4147 For each element in the path, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4148 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4149 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld DIR <xhtml:br/></xhtml:code>
4150 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4151 and ensure that write permissions are disabled for group and other. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4152 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4153 It is important to prevent root from executing unknown or untrusted programs, since such
4154 programs could contain malicious code. Therefore, root should not run programs installed
4155 by unprivileged users. Since root may often be working inside untrusted directories, the
4156 . character, which represents the current directory, should never be in the root path,
4157 nor should any directory which can be written to by an unprivileged or semi-privileged
4158 (system) user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4160 It is a good practice for administrators to always execute privileged
4161 commands by typing the full path to the command.</xccdf:description>
4162 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.a" selected="false" severity="medium" weight="10.0">
4163 <xccdf:title>Ensure that No Dangerous Directories Exist in Root's Path</xccdf:title>
4164 <xccdf:description>The PATH variable should be set correctly for user root</xccdf:description>
4165 <xccdf:ident system="http://cce.mitre.org">CCE-3301-9</xccdf:ident>
4166 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4167 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20085"/>
4168 </xccdf:check>
4169 </xccdf:Rule>
4170 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.1.b" selected="false" severity="medium" weight="10.0">
4171 <xccdf:title>Write permissions are disabled for group and other in all directories in Root's Path</xccdf:title>
4172 <xccdf:description>Check each directory in root's path and make use it does not grant write permission to group and other</xccdf:description>
4173 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4174 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:200855"/>
4175 </xccdf:check>
4176 </xccdf:Rule>
4177 </xccdf:Group>
4178 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.2">
4179 <xccdf:title xml:lang="en">Ensure that User Home Directories are not Group-Writable or
4180 World-Readable</xccdf:title>
4181 <xccdf:description xml:lang="en">
4182 For each human user USER of the system, view the permissions of the
4183 user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4184 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4185 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER <xhtml:br/></xhtml:code>
4186 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4187 Ensure that the directory is not group-writable and that it is not world-readable. If
4188 necessary, repair the permissions:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4189 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4190 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod g-w /home/USER <xhtml:br/>
4191 # chmod o-rwx /home/USER <xhtml:br/></xhtml:code>
4192 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4193 User home directories contain many
4194 configuration files which affect the behavior of a user's account. No user should ever
4195 have write permission to another user's home directory. Group shared directories can be
4196 configured in subdirectories or elsewhere in the filesystem if they are needed.
4197 Typically, user home directories should not be world-readable. If a subset of users need
4198 read access to one another's home directories, this can be provided using groups.</xccdf:description>
4199 <xccdf:warning xml:lang="en">Sections 2.3.4.2–2.3.4.5 recommend modifying user home
4200 directories. Notify your user community, and solicit input if appropriate, before making
4201 this type of change. </xccdf:warning>
4202 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.2.a" selected="false" severity="medium" weight="10.0">
4203 <xccdf:title>Ensure that User Home Directories are not Group-Writable or World-Readable</xccdf:title>
4204 <xccdf:description>File permissions should be set correctly for the home directories for all user accounts.</xccdf:description>
4205 <xccdf:ident system="http://cce.mitre.org">CCE-4090-7</xccdf:ident>
4206 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4207 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20086"/>
4208 </xccdf:check>
4209 </xccdf:Rule>
4210 </xccdf:Group>
4211 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.3">
4212 <xccdf:title xml:lang="en">Ensure that User Dot-Files are not World-writable</xccdf:title>
4213 <xccdf:description xml:lang="en">
4214 For each human user USER of the system, view the permissions of
4215 all dot-files in the user's home directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4216 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4217 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -ld /home/USER /.[A-Za-z0-9]* <xhtml:br/></xhtml:code>
4218 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4219 Ensure that none of these files are group- or world-writable. Correct each misconfigured file
4220 FILE by executing: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4221 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4222 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod go-w /home/USER /FILE <xhtml:br/></xhtml:code>
4223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4224 A user who can modify another user's configuration files can likely execute commands
4225 with the other user's privileges, including stealing data, destroying files, or
4226 launching further attacks on the system.</xccdf:description>
4227 </xccdf:Group>
4228 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.4">
4229 <xccdf:title xml:lang="en">Ensure that Users Have Sensible Umask Values</xccdf:title>
4230 <xccdf:description xml:lang="en">
4231 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4232 <xhtml:li>Edit the global configuration files /etc/bashrc and /etc/csh.cshrc.
4233 Add or correct the line: umask <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xhtml:li>
4234 <xhtml:li>View the additional configuration files /etc/csh.login and /etc/profile.d/*,
4235 and ensure that none of these files redefine the umask to a more permissive value
4236 unless there is a good reason for it.</xhtml:li>
4237 </xhtml:ol>
4238 With a default umask setting of 077, files and directories created by users will not be
4239 readable by any other user on the system. Users who wish to make specific files group-
4240 or world-readable can accomplish this using the chmod command. Additionally, users can
4241 make all their files readable to their group by default by setting a umask of 027 in
4242 their shell configuration files. If default per-user groups exist (that is, if every
4243 user has a default group whose name is the same as that user's username and whose only
4244 member is the user), then it may even be safe for users to select a umask of 007, making
4245 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"/>
4246 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4247 In addition, it may be necessary to change root's umask temporarily in order to install
4248 software or files which must be readable by other users, or to change the default umasks
4249 of certain service accounts such as the FTP user. However, setting a restrictive default
4250 protects the files of users who have not taken steps to make their files more available,
4251 and preventing files from being inadvertently shared.</xccdf:description>
4252 <xccdf:Value id="xccdf_cdf_value_var-2.3.4.4" operator="equals" type="string">
4253 <xccdf:title>Sensible umask</xccdf:title>
4254 <xccdf:description xml:lang="en">Enter default user umask</xccdf:description>
4255 <xccdf:question xml:lang="en">Enter default user umask</xccdf:question>
4256 <xccdf:value>002</xccdf:value>
4257 <xccdf:value selector="002">002</xccdf:value>
4258 <xccdf:value selector="007">007</xccdf:value>
4259 <xccdf:value selector="022">022</xccdf:value>
4260 <xccdf:value selector="027">027</xccdf:value>
4261 <xccdf:value selector="077">077</xccdf:value>
4262 <xccdf:match>^0?[0-7][0-7][0-7]?$</xccdf:match>
4263 </xccdf:Value>
4264 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.a" selected="false" severity="medium" weight="10.0">
4265 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/bashrc</xccdf:title>
4266 <xccdf:description>The default umask for all users for the bash shell should be set to:
4267 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4268 <xccdf:ident system="http://cce.mitre.org">CCE-3844-8</xccdf:ident>
4269 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4270 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4271 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20087"/>
4272 </xccdf:check>
4273 </xccdf:Rule>
4274 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.4.b" selected="false" severity="medium" weight="10.0">
4275 <xccdf:title>Ensure that Users Have Sensible Umask Values in /etc/csh.cshrc</xccdf:title>
4276 <xccdf:description>The default umask for all users for the csh shell should be set to:
4277 <xccdf:sub idref="xccdf_cdf_value_var-2.3.4.4"/></xccdf:description>
4278 <xccdf:ident system="http://cce.mitre.org">CCE-4227-5</xccdf:ident>
4279 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4280 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20087" value-id="xccdf_cdf_value_var-2.3.4.4"/>
4281 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20088"/>
4282 </xccdf:check>
4283 </xccdf:Rule>
4284 </xccdf:Group>
4285 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.4.5">
4286 <xccdf:title xml:lang="en">Ensure that Users do not Have .netrc Files</xccdf:title>
4287 <xccdf:description xml:lang="en">
4288 For each human user USER of the system, ensure that the user
4289 has no .netrc file. The command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4290 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4291 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -l /home/USER /.netrc <xhtml:br/></xhtml:code>
4292 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4293 should return the error 'No such file or directory'. If any user has such a file,
4294 approach that user to discuss removing this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4295 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4296 The .netrc file is a configuration file used to make unattended
4297 logins to other systems via FTP. When this file exists, it frequently contains
4298 unencrypted passwords which may be used to attack other systems.</xccdf:description>
4299 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.4.5.a" selected="false" severity="medium" weight="10.0">
4300 <xccdf:title xml:lang="en">Check for existance of .netrc file</xccdf:title>
4301 <xccdf:description xml:lang="en">No user directory should contain file .netrc</xccdf:description>
4302 <xccdf:fix>rm .netrc</xccdf:fix>
4303 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4304 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20091"/>
4305 </xccdf:check>
4306 </xccdf:Rule>
4307 </xccdf:Group>
4308 </xccdf:Group>
4309 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5">
4310 <xccdf:title xml:lang="en">Protect Physical Console Access</xccdf:title>
4311 <xccdf:description xml:lang="en">
4312 It is impossible to fully protect a system from an attacker with
4313 physical access, so securing the space in which the system is located should be considered
4314 a necessary step. However, there are some steps which, if taken, make it more difficult
4315 for an attacker to quickly or undetectably modify a system from its console.</xccdf:description>
4316 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.1">
4317 <xccdf:title xml:lang="en">Set BIOS Password</xccdf:title>
4318 <xccdf:description xml:lang="en">
4319 The BIOS (on x86 systems) is the first code to execute during
4320 system startup and controls many important system parameters, including which devices
4321 the system will try to boot from, and in which order. Assign a password to prevent any
4322 unauthorized changes to the BIOS configuration. The exact steps will vary depending on
4323 your machine, but are likely to include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4324 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4325 <xhtml:li>Reboot the machine.</xhtml:li>
4326 <xhtml:li>Press the appropriate key during the initial boot screen (F2 is typical)</xhtml:li>
4327 <xhtml:li>Navigate the BIOS configuration menu to add a password.</xhtml:li>
4328 </xhtml:ol>
4329 The exact process will be system-specific and the system's
4330 hardware manual may provide detailed instructions. This password should prevent
4331 attackers with physical access from attempting to change important parameters, such as
4332 those described in Sections 2.5.2.2.1 and 2.2.2.2.4. However, an attacker with physical
4333 access can usually clear the BIOS password. The password should be written down and
4334 stored in a physically-secure location, such as a safe, in the event that it is
4335 forgotten and must be retrieved.</xccdf:description>
4336 </xccdf:Group>
4337 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.2">
4338 <xccdf:title xml:lang="en">Set Boot Loader Password</xccdf:title>
4339 <xccdf:description xml:lang="en">
4340 During the boot process, the boot loader is responsible for
4341 starting the execution of the kernel and passing options to it. The boot loader allows
4342 for the selection of different kernels – possibly on different partitions or media.
4343 Options it can pass to the kernel include 'single-user mode,' which provides root access
4344 without any authentication, and the ability to disable SELinux. To prevent local users
4345 from modifying the boot parameters and endangering security, the boot loader
4346 configuration should be protected with a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4347 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4348 The default Fedora boot loader for x86 systems is called GRUB. To protect its
4349 configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4350 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4351 <xhtml:li>Select a password and then generate a hash from it by running: <xhtml:br/>
4352 <xhtml:br/>
4353 <xhtml:code># grub-md5-crypt </xhtml:code> <xhtml:br/> <xhtml:br/> </xhtml:li>
4354 <xhtml:li>Insert the following line into /etc/grub.conf immediately after the header
4355 comments. (Use the output from grub-md5-crypt as the value of password-hash ): <xhtml:br/>
4356 <xhtml:br/>
4357 <xhtml:code>password --md5 password-hash </xhtml:code> <xhtml:br/> <xhtml:br/> </xhtml:li>
4358 <xhtml:li>Verify the permissions on /etc/grub.conf (which is a symlink to ../boot/grub/grub.conf):
4359 <xhtml:br/>
4360 <xhtml:br/>
4361 <xhtml:code># chown root:root /boot/grub/grub.conf <xhtml:br/>
4362 # chmod 600 /boot/grub/grub.conf</xhtml:code></xhtml:li>
4363 </xhtml:ol>
4364 Boot loaders for other platforms should offer a similar password protection feature.</xccdf:description>
4365 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.a" operator="equals" type="string">
4366 <xccdf:title>User that owns /boot/grub/grub.conf</xccdf:title>
4367 <xccdf:description xml:lang="en">Choose user that should own /boot/grub/grub.conf</xccdf:description>
4368 <xccdf:value>root</xccdf:value>
4369 <xccdf:value selector="root">root</xccdf:value>
4370 </xccdf:Value>
4371 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.b" operator="equals" type="string">
4372 <xccdf:title>Group that owns /boot/grub/grub.conf</xccdf:title>
4373 <xccdf:description xml:lang="en">Choose group that should own /boot/grub/grub.conf</xccdf:description>
4374 <xccdf:value>root</xccdf:value>
4375 <xccdf:value selector="root">root</xccdf:value>
4376 </xccdf:Value>
4377 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.2.c" operator="equals" type="string">
4378 <xccdf:title>permissions on /boot/grub/grub.conf</xccdf:title>
4379 <xccdf:description xml:lang="en">Choose file permissions on /boot/grub/grub.conf</xccdf:description>
4380 <xccdf:value>110000000</xccdf:value>
4381 <xccdf:value selector="600">110000000</xccdf:value>
4382 <xccdf:match>^[01]+$</xccdf:match>
4383 </xccdf:Value>
4384 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.a" selected="false" severity="medium" weight="10.0">
4385 <xccdf:title>Set Boot Loader user owner</xccdf:title>
4386 <xccdf:description>The /boot/grub/grub.conf file should be owned by root.</xccdf:description>
4387 <xccdf:ident system="http://cce.mitre.org">CCE-4144-2</xccdf:ident>
4388 <xccdf:fix>chown root /boot/grub/grub.conf</xccdf:fix>
4389 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4390 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20092" value-id="xccdf_cdf_value_var-2.3.5.2.a"/>
4391 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20092"/>
4392 </xccdf:check>
4393 </xccdf:Rule>
4394 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.b" selected="false" severity="medium" weight="10.0">
4395 <xccdf:title>Set Boot Loader group owner</xccdf:title>
4396 <xccdf:description>The /boot/grub/grub.conf file should be owned by group root.</xccdf:description>
4397 <xccdf:ident system="http://cce.mitre.org">CCE-4197-0</xccdf:ident>
4398 <xccdf:fix>chown :root /boot/grub/grub.conf</xccdf:fix>
4399 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4400 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20093" value-id="xccdf_cdf_value_var-2.3.5.2.b"/>
4401 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20093"/>
4402 </xccdf:check>
4403 </xccdf:Rule>
4404 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.c" selected="false" severity="medium" weight="10.0">
4405 <xccdf:title>Set permission on /boot/grub/grub.conf</xccdf:title>
4406 <xccdf:description>File permissions for /boot/grub/grub.conf should be set correctly.</xccdf:description>
4407 <xccdf:ident system="http://cce.mitre.org">CCE-3923-0</xccdf:ident>
4408 <xccdf:fix>chmod 600 /boot/grub/grub.conf</xccdf:fix>
4409 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4410 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20094" value-id="xccdf_cdf_value_var-2.3.5.2.c"/>
4411 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20094"/>
4412 </xccdf:check>
4413 </xccdf:Rule>
4414 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.2.d" selected="false" severity="high" weight="10.0">
4415 <xccdf:title>Set Boot Loader Password</xccdf:title>
4416 <xccdf:description>The grub boot loader should have password protection enabled</xccdf:description>
4417 <xccdf:ident system="http://cce.mitre.org">CCE-3818-2</xccdf:ident>
4418 <xccdf:fixtext>Edit /boot/grub/grub.conf</xccdf:fixtext>
4419 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4420 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20095"/>
4421 </xccdf:check>
4422 </xccdf:Rule>
4423 </xccdf:Group>
4424 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.3">
4425 <xccdf:title xml:lang="en">Require Authentication for Single-User Mode</xccdf:title>
4426 <xccdf:description xml:lang="en">
4427 Single-user mode is intended as a system recovery method,
4428 providing a single user root access to the system by providing a boot option at startup.
4429 By default, no authentication is performed if single-user mode is selected. This
4430 provides a trivial mechanism of bypassing security on the machine and gaining root
4431 access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4432 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4433 To require entry of the root password even if the system is started in
4434 single-user mode, add the following line to the /etc/inittab file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4435 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4436 ~~:S:wait:/sbin/sulogin</xccdf:description>
4437 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.3.a" selected="false" severity="medium" weight="10.0">
4438 <xccdf:title>Require Authentication for Single-User Mode</xccdf:title>
4439 <xccdf:description>The requirement for a password to boot into single-user mode should be enabled.</xccdf:description>
4440 <xccdf:ident system="http://cce.mitre.org">CCE-4241-6</xccdf:ident>
4441 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
4442 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4443 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20096"/>
4444 </xccdf:check>
4445 </xccdf:Rule>
4446 </xccdf:Group>
4447 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.4">
4448 <xccdf:title xml:lang="en">Disable Interactive Boot</xccdf:title>
4449 <xccdf:description xml:lang="en">
4450 Edit the file /etc/sysconfig/init. Add or correct the setting:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4451 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4452 PROMPT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4453 The PROMPT option allows the console user to perform an interactive system
4454 startup, in which it is possible to select the set of services which are started on
4455 boot. Using interactive boot, the console user could disable auditing, firewalls, or
4456 other services, weakening system security.</xccdf:description>
4457 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.4.a" selected="false" severity="medium" weight="10.0">
4458 <xccdf:title>Disable Interactive Boot</xccdf:title>
4459 <xccdf:description>The ability for users to perform interactive startups should be disabled.</xccdf:description>
4460 <xccdf:ident system="http://cce.mitre.org">CCE-4245-7</xccdf:ident>
4461 <xccdf:fixtext>(1) via /etc/sysconfig/init</xccdf:fixtext>
4462 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4463 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20097"/>
4464 </xccdf:check>
4465 </xccdf:Rule>
4466 </xccdf:Group>
4467 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.5">
4468 <xccdf:title xml:lang="en">Implement Inactivity Time-out for Login Shells</xccdf:title>
4469 <xccdf:description xml:lang="en">
4470 If the system does not run X Windows, then the login shells can
4471 be configured to automatically log users out after a period of inactivity. The following
4472 instructions are not practical for systems which run X Windows, as they will close
4473 terminal windows in the X environment. For information on how to automatically lock
4474 those systems, see Section 2.3.5.6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4475 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4476 To implement a 15-minute idle time-out for the
4477 default /bin/bash shell, create a new file tmout.sh in the directory /etc/profile.d with
4478 the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4479 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4480 TMOUT=900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4481 readonly TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4482 export TMOUT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4483 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4484 To implement a 15-minute idle
4485 time-out for the tcsh shell, create a new file autologout.csh in the directory
4486 /etc/profile.d with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4487 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4488 set -r autologout 15 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4489 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4490 Similar actions should be taken for any other login shells used. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4491 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4492 The example time-out here of 15 minutes should be
4493 adjusted to whatever your security policy requires. The readonly line for bash and the
4494 -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"/>
4495 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4496 The automatic shell logout only occurs when the shell is the foreground process. If, for
4497 example, a vi session is left idle, then automatic logout would not occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4498 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4499 When logging in through a remote connection, as with SSH, it may be more effective to set
4500 the timeout value directly through that service. To learn how to set automatic timeout
4501 intervals for SSH, see Section 3.5.2.3.</xccdf:description>
4502 <xccdf:Value id="xccdf_cdf_value_var-2.3.5.5" operator="equals" type="string">
4503 <xccdf:title>Inactivity timout</xccdf:title>
4504 <xccdf:description xml:lang="en">Choose allowed duration of inactive SSH connections, shells, and X sessions</xccdf:description>
4505 <xccdf:question xml:lang="en">Choose allowed duration of inactive SSH connections, shells and X sessions in minutes</xccdf:question>
4506 <xccdf:value>15</xccdf:value>
4507 <xccdf:value selector="0_minutes">0</xccdf:value>
4508 <xccdf:value selector="10_minutes">10</xccdf:value>
4509 <xccdf:value selector="15_minutes">15</xccdf:value>
4510 <xccdf:match>^[\d]+$</xccdf:match>
4511 </xccdf:Value>
4512 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.a" selected="false" severity="medium" weight="10.0">
4513 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4514 <xccdf:description>The idle time-out value for the default /bin/tcsh shell should be:
4515 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4516 <xccdf:ident system="http://cce.mitre.org">CCE-3689-7</xccdf:ident>
4517 <xccdf:fixtext>(1) via /etc/profile.d/autologout.csh</xccdf:fixtext>
4518 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4519 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4520 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20098"/>
4521 </xccdf:check>
4522 </xccdf:Rule>
4523 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.5.b" selected="false" severity="medium" weight="10.0">
4524 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4525 <xccdf:description>The idle time-out value for the default /bin/bash shell should be:
4526 <xccdf:sub idref="xccdf_cdf_value_var-2.3.5.5"/></xccdf:description>
4527 <xccdf:warning xml:lang="en">Time out is in seconds</xccdf:warning>
4528 <xccdf:ident system="http://cce.mitre.org">CCE-3707-7</xccdf:ident>
4529 <xccdf:fixtext>(1) via /etc/profile.d/tmout.sh</xccdf:fixtext>
4530 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4531 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20099" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4532 <!-- turn minutes into seconds -->
4533 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20099"/>
4534 </xccdf:check>
4535 </xccdf:Rule>
4536 </xccdf:Group>
4537 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6">
4538 <xccdf:title xml:lang="en">Configure Screen Locking</xccdf:title>
4539 <xccdf:description xml:lang="en">
4540 When a user must temporarily leave an account logged-in, screen
4541 locking should be employed to prevent passersby from abusing the account. User education
4542 and training is particularly important for screen locking to be effective. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4543 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4544 A policy should be implemented that trains all users to lock the screen when they plan to
4545 temporarily step away from a logged-in account. Automatic screen locking is only meant
4546 as a safeguard for those cases where a user forgot to lock the screen.</xccdf:description>
4547 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.1">
4548 <xccdf:title xml:lang="en">Configure GUI Screen Locking</xccdf:title>
4549 <xccdf:description xml:lang="en">
4550 In the default GNOME desktop, the screen can be locked by
4551 choosing Lock Screen from the System menu. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4552 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4553 The gconftool-2 program can be used to
4554 enforce mandatory screen locking settings for the default GNOME environment. Run the
4555 following commands to enforce idle activation of the screen saver, screen locking, a
4556 blank-screen screensaver, and 15-minute idle activation time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/><xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:code>
4558 # gconftool-2 --direct \
4559 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4560 --type bool \
4561 --set /apps/gnome-screensaver/idle_activation_enabled true
4562 # gconftool-2 --direct \
4563 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4564 --type bool \
4565 --set /apps/gnome-screensaver/lock_enabled true
4566 # gconftool-2 --direct \
4567 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4568 --type string \
4569 --set /apps/gnome-screensaver/mode blank-only
4570 # gconftool-2 --direct \
4571 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
4572 --type int \
4573 --set /apps/gnome-screensaver/idle_delay 15
4574 </xhtml:code></xhtml:pre>
4575 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4576 The default setting of 15 minutes for idle
4577 activation is reasonable for many office environments, but the setting should conform
4578 to whatever policy is defined. The screensaver mode blank-only is selected to conceal
4579 the contents of the display from passersby. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4580 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4581 Because users should be trained to lock
4582 the screen when they step away from the computer, the automatic locking feature is
4583 only meant as a backup. The Lock Screen icon from the System menu can also be dragged
4584 to the taskbar in order to facilitate even more convenient screen-locking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4585 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4586 The root
4587 account cannot be screen-locked, but this should have no practical effect as the root
4588 account should never be used to log into an X Windows environment, and should only be
4589 used to for direct login via console in emergency circumstances. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4590 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4591 For more information
4592 about configuring GNOME screensaver, see http://live.gnome.org/GnomeScreensaver. For
4593 more information about enforcing preferences in the GNOME environment using the GConf
4594 configuration system, see http://www.gnome.org/projects/gconf and the man page
4595 gconftool-2(1).</xccdf:description>
4596 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.a" selected="false" severity="medium" weight="10.0">
4597 <xccdf:title>Implement Inactivity Time-out for Login Shells</xccdf:title>
4598 <xccdf:description>The idle time-out value for period of inactivity gnome desktop lockout should be 15 minutes</xccdf:description>
4599 <xccdf:ident system="http://cce.mitre.org">CCE-3315-9</xccdf:ident>
4600 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4601 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4602 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20098" value-id="xccdf_cdf_value_var-2.3.5.5"/>
4603 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20100"/>
4604 </xccdf:check>
4605 </xccdf:Rule>
4606 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.b" selected="false" severity="medium" weight="10.0">
4607 <xccdf:title>Implement idle activation of screen saver</xccdf:title>
4608 <xccdf:description>Idle activation of the screen saver should be enabled</xccdf:description>
4609 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4610 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4611 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201005"/>
4612 </xccdf:check>
4613 </xccdf:Rule>
4614 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.c" selected="false" severity="medium" weight="10.0">
4615 <xccdf:title>Implement idle activation of screen lock</xccdf:title>
4616 <xccdf:description>Idle activation of the screen lock should be enabled</xccdf:description>
4617 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4618 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4619 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201006"/>
4620 </xccdf:check>
4621 </xccdf:Rule>
4622 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.1.d" selected="false" severity="medium" weight="10.0">
4623 <xccdf:title>Implement blank screen saver</xccdf:title>
4624 <xccdf:description>The screen saver should be blank</xccdf:description>
4625 <xccdf:fixtext>(1) via gconftool-2</xccdf:fixtext>
4626 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4627 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201007"/>
4628 </xccdf:check>
4629 </xccdf:Rule>
4630 </xccdf:Group>
4631 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.6.2">
4632 <xccdf:title xml:lang="en">Configure Console Screen Locking</xccdf:title>
4633 <xccdf:description xml:lang="en">
4634 A console screen locking mechanism is provided in the vlock
4635 package, which is not installed by default. If the ability to lock console screens is
4636 necessary, install the vlock package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4637 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4638 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install vlock <xhtml:br/></xhtml:code>
4639 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4640 Instruct users to invoke the
4641 program when necessary, in order to prevent passersby from abusing their login: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4642 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ vlock <xhtml:br/></xhtml:code>
4643 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4644 The -a option can be used to prevent switching to other virtual consoles.</xccdf:description>
4645 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.5.6.2.a" selected="false" severity="medium" weight="10.0">
4646 <xccdf:title>Configure console screen locking</xccdf:title>
4647 <xccdf:description>The vlock package should be installed</xccdf:description>
4648 <xccdf:ident system="http://cce.mitre.org">CCE-3910-7</xccdf:ident>
4649 <xccdf:fix>yum install vlock</xccdf:fix>
4650 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4651 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20101"/>
4652 </xccdf:check>
4653 </xccdf:Rule>
4654 </xccdf:Group>
4655 </xccdf:Group>
4656 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.5.7">
4657 <xccdf:title xml:lang="en">Disable Unnecessary Ports</xccdf:title>
4658 <xccdf:description xml:lang="en">
4659 Though unusual, some systems may be managed only remotely and yet
4660 also exposed to risk from attackers with direct physical access to them. In these cases,
4661 reduce an attacker’s access to the system by disabling unnecessary external ports (e.g.
4662 USB, FireWire, NIC) in the system’s BIOS.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4663 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4664 Disable ports on the system which are not necessary for normal system operation. The exact
4665 steps will vary depending on your machine, but are likely to include:
4666 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
4667 <xhtml:li>Reboot the machine.</xhtml:li>
4668 <xhtml:li>Press the appropriate key during the initial boot screen (F2 is typical). </xhtml:li>
4669 <xhtml:li>Navigate the BIOS conguration menu to disable ports, such as USB, FireWire, and NIC.</xhtml:li>
4670 </xhtml:ol>
4671 </xccdf:description>
4672 <xccdf:warning xml:lang="en">Disabling USB ports is particularly unusual and will cause problems
4673 for important input devices such as keyboards or mice attached to the system.</xccdf:warning>
4674 </xccdf:Group>
4675 </xccdf:Group>
4676 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.6">
4677 <xccdf:title xml:lang="en">Use a Centralized Authentication Service</xccdf:title>
4678 <xccdf:description xml:lang="en">
4679 A centralized authentication service is any method of maintaining
4680 central control over account and authentication data and of keeping this data synchronized
4681 between machines. Such services can range in complexity from a script which pushes
4682 centrally-generated password files out to all machines, to a managed scheme such as LDAP
4683 or Kerberos. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4685 If authentication information is not centrally managed, it quickly becomes
4686 inconsistent, leading to out-of-date credentials and forgotten accounts which should have
4687 been deleted. In addition, many older protocols (such as NFS) make use of the UID to
4688 identify users over a network. This is not a good practice, and these protocols should be
4689 avoided if possible. However, since most sites must still make use of some older
4690 protocols, having consistent UIDs and GIDs site-wide is a significant benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4691 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4692 Centralized
4693 authentication services do have the disadvantage that authentication information must be
4694 transmitted over a network, leading to a risk that credentials may be intercepted or
4695 manipulated. Therefore, these services must be deployed carefully. The following
4696 precautions should be taken when configuring any authentication service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4697 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
4698 <xhtml:li>Ensure that authentication information and any sensitive account information
4699 are never sent over the network unencrypted.</xhtml:li>
4700 <xhtml:li>Ensure that the root account has a local password, to allow recovery in case
4701 of network outage or authentication server failure.</xhtml:li>
4702 </xhtml:ul>
4703 This guide recommends
4704 the use of LDAP. Secure configuration of OpenLDAP for clients and servers is described in
4705 Section 3.12. Kerberos is also a good choice for a centralized authentication service, but
4706 a description of its configuration is beyond the scope of this guide. The NIS service is
4707 not recommended, and should be considered obsolete. (See Section 3.2.4.)</xccdf:description>
4708 </xccdf:Group>
4709 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7">
4710 <xccdf:title xml:lang="en">Warning Banners for System Accesses</xccdf:title>
4711 <xccdf:description xml:lang="en">
4712 Each system should expose as little information about itself as
4713 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4714 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4715 System banners, which are typically displayed just before a login prompt, give
4716 out information about the service or the host's operating system. This might include the
4717 distribution name and the system kernel version, and the particular version of a network
4718 service. This information can assist intruders in gaining access to the system as it can
4719 reveal whether the system is running vulnerable software. Most network services can be
4720 configured to limit what information is displayed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4721 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4722 Many organizations implement security
4723 policies that require a system banner provide notice of the system's ownership, provide
4724 warning to unauthorized users, and remind authorized users of their consent to monitoring.</xccdf:description>
4725 <xccdf:Value id="xccdf_cdf_value_var-2.3.7" operator="equals" type="string">
4726 <xccdf:title>login banner verbiage</xccdf:title>
4727 <xccdf:description xml:lang="en">Enter an appropriate login banner for your organization</xccdf:description>
4728 <xccdf:question xml:lang="en">Enter an appropriate login banner for your organization</xccdf:question>
4729 <xccdf:value/>
4730 <xccdf:value selector="Empty_text"/>
4731 </xccdf:Value>
4732 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.1">
4733 <xccdf:title xml:lang="en">Modify the System Login Banner</xccdf:title>
4734 <xccdf:description xml:lang="en">
4735 The contents of the file /etc/issue are displayed on the screen
4736 just above the login prompt for users logging directly into a terminal. Remote login
4737 programs such as SSH or FTP can be configured to display /etc/issue as well.
4738 Instructions for configuring each server daemon to show this file can be found in the
4739 relevant sections of Chapter 3. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4740 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4741 By default, the system will display the version of the
4742 OS, the kernel version, and the host name. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4743 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4744 Edit /etc/issue. Replace the default text
4745 with a message compliant with the local site policy or a legal disclaimer.</xccdf:description>
4746 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.1.a" selected="false" severity="medium" weight="10.0">
4747 <xccdf:title>Modify the System Login Banner</xccdf:title>
4748 <xccdf:description>The system login banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4749 <xccdf:ident system="http://cce.mitre.org">CCE-4060-0</xccdf:ident>
4750 <xccdf:fixtext>Take value of DOD_text and put it in /etc/issue</xccdf:fixtext>
4751 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4752 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4753 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20102"/>
4754 <!-- TBD -->
4755 </xccdf:check>
4756 </xccdf:Rule>
4757 </xccdf:Group>
4758 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.3.7.2">
4759 <xccdf:title xml:lang="en">Implement a GUI Warning Banner</xccdf:title>
4760 <xccdf:description xml:lang="en">
4761 In the default graphical environment, users logging directly
4762 into the system are greeted with a login screen provided by the GNOME display manager.
4763 The warning banner should be displayed in this graphical environment for these
4764 users.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4765 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4766 The files for the default RHEL theme can be found in
4767 /usr/share/gdm/themes/RHEL. Add the following sample block of XML to
4768 /usr/share/gdm/themes/RHEL/RHEL.xml after the first two "pixmap"
4769 entries:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4770 <xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml">
4771 &lt;item type="rect"&gt;
4772 &lt;pos anchor="n" x="50%" y="10" width="box" height="box"/&gt;
4773 &lt;box&gt;
4774 &lt;item type="label"&gt;
4775 &lt;normal font="Sans 14" color="#ffffff"/&gt;
4776 &lt;text&gt;Insert the text of your warning banner here.&lt;/text&gt;
4777 &lt;/item&gt;
4778 &lt;/box&gt;
4779 &lt;/item&gt;
4780 </xhtml:pre>
4781 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4782 The
4783 full syntax that GDM theme files expect is documented elsewhere, but the above XML will
4784 create a text box centered at the top of the screen. The font, text color, and exact
4785 positioning can all be easily modified by editing the appropriate values. The latest
4786 current GDM theme manual can be found at http://www.gnome.org/
4787 projects/gdm/docs/thememanual.html.
4788 </xccdf:description>
4789 <xccdf:Rule id="xccdf_cdf_rule_rule-2.3.7.2.a" selected="false" severity="medium" weight="10.0">
4790 <xccdf:title>Implement a GUI Warning Banner</xccdf:title>
4791 <xccdf:description>The direct gnome login warning banner text should be: "<xccdf:sub idref="xccdf_cdf_value_var-2.3.7"/>"</xccdf:description>
4792 <xccdf:ident system="http://cce.mitre.org">CCE-4188-9</xccdf:ident>
4793 <xccdf:fixtext>(1) via RHEL.xml</xccdf:fixtext>
4794 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4795 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20102" value-id="xccdf_cdf_value_var-2.3.7"/>
4796 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20103"/>
4797 <!-- TBD -->
4798 </xccdf:check>
4799 </xccdf:Rule>
4800 </xccdf:Group>
4801 </xccdf:Group>
4802 </xccdf:Group>
4803 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4">
4804 <xccdf:title xml:lang="en">SELinux</xccdf:title>
4805 <xccdf:description xml:lang="en">
4806 SELinux is a feature of the Linux kernel which can be used to guard
4807 against misconfigured or compromised programs. SELinux enforces the idea that programs
4808 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"/>
4809 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4810 The default
4811 SELinux policy, as configured on RHEL5, has been sufficiently developed and debugged that it
4812 should be usable on almost any Red Hat machine with minimal configuration and a small amount
4813 of system administrator training. This policy prevents system services — including most of
4814 the common network-visible services such as mail servers, ftp servers, and DNS servers —
4815 from accessing files which those services have no valid reason to access. This action alone
4816 prevents a huge amount of possible damage from network attacks against services, from
4817 trojaned software, and so forth. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4818 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4819 This guide recommends that SELinux be enabled using the
4820 default (targeted) policy on every Red Hat system, unless that system has requirements which
4821 make a stronger policy appropriate.</xccdf:description>
4822 <xccdf:reference>Frank Mayer, K. M., and Caplan, D. SELinux by Example: Using Security Enhanced Linux</xccdf:reference>
4823 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.1">
4824 <xccdf:title xml:lang="en">How SELinux Works</xccdf:title>
4825 <xccdf:description xml:lang="en">
4826 In the traditional Linux/Unix security model, known as
4827 Discretionary Access Control (DAC), processes run under a user and group identity, and
4828 enjoy that user and group's access rights to all files and other objects on the system.
4829 This system brings with it a number of security problems, most notably: that processes
4830 frequently do not need and should not have the full rights of the user who ran them; that
4831 user and group access rights are not very granular, and may require administrators to
4832 allow too much access in order to allow the access that is needed; that the Unix
4833 filesystem contains many resources (such as temporary directories and world-readable
4834 files) which are accessible to users who have no legitimate reason to access them; and
4835 that legitimate users can easily provide open access to their own resources through
4836 confusion or carelessness. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4837 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4838 SELinux provides a Mandatory Access Control (MAC) system that
4839 greatly augments the DAC model. Under SELinux, every process and every object (e.g. file,
4840 socket, pipe) on the system is given a security context, a label which include detailed
4841 type information about the object. The kernel allows processes to access objects only if
4842 that access is explicitly allowed by the policy in effect. The policy defines transitions,
4843 so that a user can be allowed to run software, but the software can run under a different
4844 context than the user's default. This automatically limits the damage that the software
4845 can do to files accessible by the calling user — the user does not need to take any action
4846 to gain this benefit. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4847 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4848 For an action to occur, both the traditional DAC permissions must be
4849 satisifed as well as SELinux's MAC rules. If either do not permit the action, then it will
4850 not be allowed. In this way, SELinux rules can only make a system's permissions more
4851 restrictive and secure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4852 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4853 SELinux requires a complex policy in order to allow all the
4854 actions required of a system under normal operation. Three such policies have been
4855 designed for use with RHEL5, and are included with the system. In increasing order of
4856 power and complexity, they are: targeted, strict, and mls. The targeted SELinux policy
4857 consists mostly of Type Enforcement (TE) rules, and a small number of Role-Based Access
4858 Control (RBAC) rules. It restricts the actions of many types of programs, but leaves
4859 interactive users largely unaffected. The strict policy also uses TE and RBAC rules, but
4860 on more programs and more aggressively. The mls policy implements Multi-Level Security
4861 (MLS), which introduces even more kinds of labels — sensitivity and category — and rules
4862 that govern access based on these. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4863 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4864 The remainder of this section provides guidance for the
4865 configuration of the targeted policy and the administration of systems under this policy.
4866 Some pointers will be provided for readers who are interested in further strengthening
4867 their systems by using one of the stricter policies provided with RHEL5 or in writing
4868 their own policy.</xccdf:description>
4869 </xccdf:Group>
4870 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2">
4871 <xccdf:title xml:lang="en">Enable SELinux</xccdf:title>
4872 <xccdf:description xml:lang="en">
4873 Edit the file /etc/selinux/config. Add or correct the following
4874 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4876 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUX=enforcing <xhtml:br/>
4877 SELINUXTYPE=targeted <xhtml:br/></xhtml:code>
4878 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4879 Edit the file /etc/grub.conf. Ensure that
4880 the following arguments DO NOT appear on any kernel command line in the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4881 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4882 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">selinux=0 <xhtml:br/>
4883 enforcing=0 <xhtml:br/></xhtml:code>
4884 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4885 The directive SELINUX=enforcing enables SELinux at boot time. If SELinux is
4886 causing a lot of problems or preventing the system from booting, it is possible to boot
4887 into the warning-only mode SELINUX=permissive for debugging purposes. Make certain to
4888 change the mode back to enforcing after debugging, set the filesystems to be relabelled
4889 for consistency using the command touch /.autorelabel, and reboot. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4890 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4891 However, the RHEL5
4892 default SELinux configuration should be sufficiently reasonable that most systems will
4893 boot without serious problems. Some applications that require deep or unusual system
4894 privileges, such as virtual machine software, may not be compatible with SELinux in its
4895 default configuration. However, this should be uncommon, and SELinux's application support
4896 continues to improve. In other cases, SELinux may reveal unusual or insecure program
4897 behavior by design. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4899 The directive SELINUXTYPE=targeted configures SELinux to use the
4900 default targeted policy. See Section 2.4.6 if a stricter policy is appropriate for your
4901 site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4902 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4903 The SELinux boot mode specified in /etc/selinux/config can be overridden by
4904 command-line arguments passed to the kernel. It is necessary to check grub.conf to ensure
4905 that this has not been done and to protect the bootloader as described in Section 2.3.5.2.</xccdf:description>
4906 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.c" operator="equals" type="string">
4907 <xccdf:title>SELinux state</xccdf:title>
4908 <xccdf:description xml:lang="en">
4909 enforcing - SELinux security policy is enforced. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4910 permissive - SELinux prints warnings instead of enforcing.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4911 disabled - SELinux is fully disabled.
4912 </xccdf:description>
4913 <xccdf:question xml:lang="en">Set the SELinux state</xccdf:question>
4914 <xccdf:value>enforcing</xccdf:value>
4915 <xccdf:value selector="enforcing">enforcing</xccdf:value>
4916 <xccdf:value selector="permissive">permissive</xccdf:value>
4917 <xccdf:value selector="disabled">disabled</xccdf:value>
4918 <xccdf:match>enforcing|permissive|disabled</xccdf:match>
4919 <xccdf:choices mustMatch="1">
4920 <xccdf:choice>enforcing</xccdf:choice>
4921 <xccdf:choice>permissive</xccdf:choice>
4922 <xccdf:choice>disabled</xccdf:choice>
4923 </xccdf:choices>
4924 </xccdf:Value>
4925 <xccdf:Value id="xccdf_cdf_value_var-2.4.2.d" operator="equals" type="string">
4926 <xccdf:title>SELinux policy</xccdf:title>
4927 <xccdf:description xml:lang="en">
4928 Type of policy in use. Possible values are:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4929 targeted - Only targeted network daemons are protected.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4930 strict - Full SELinux protection.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4931 mls - Multiple levels of security</xccdf:description>
4932 <xccdf:question xml:lang="en">Set the SELinux policy</xccdf:question>
4933 <xccdf:value>targeted</xccdf:value>
4934 <xccdf:value selector="targeted">targeted</xccdf:value>
4935 <xccdf:value selector="strict">strict</xccdf:value>
4936 <xccdf:value selector="mls">mls</xccdf:value>
4937 <xccdf:match>targeted|strict|mls</xccdf:match>
4938 <xccdf:choices mustMatch="1">
4939 <xccdf:choice>targeted</xccdf:choice>
4940 <xccdf:choice>strict</xccdf:choice>
4941 <xccdf:choice>mls</xccdf:choice>
4942 </xccdf:choices>
4943 </xccdf:Value>
4944 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.2.1">
4945 <xccdf:title xml:lang="en">Ensure SELinux is Properly Enabled</xccdf:title>
4946 <xccdf:description xml:lang="en">
4947 Run the command:<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">$ /usr/sbin/sestatus<xhtml:br/></xhtml:code>
4950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4951 If the system is properly configured, the output should indicate:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
4952 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
4953 <xhtml:li>SELinux status: enabled</xhtml:li>
4954 <xhtml:li>Current mode: enforcing</xhtml:li>
4955 <xhtml:li>Mode from config file: enforcing</xhtml:li>
4956 <xhtml:li>Policy from config file: targeted</xhtml:li>
4957 </xhtml:ul></xccdf:description>
4958 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.1.a" selected="false" severity="medium" weight="10.0">
4959 <xccdf:title>Ensure SELinux is Properly Enabled</xccdf:title>
4960 <xccdf:description>Check output of /usr/sbin/sestatus</xccdf:description>
4961 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4962 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201035"/>
4963 </xccdf:check>
4964 </xccdf:Rule>
4965 </xccdf:Group>
4966 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.a" selected="false" severity="medium" weight="10.0">
4967 <xccdf:title>Enable SELinux in /etc/grub.conf</xccdf:title>
4968 <xccdf:description>SELinux should NOT be disabled in /etc/grub.conf. Check that selinux=0 is not found</xccdf:description>
4969 <xccdf:ident system="http://cce.mitre.org">CCE-3977-6</xccdf:ident>
4970 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4971 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4972 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20104"/>
4973 </xccdf:check>
4974 </xccdf:Rule>
4975 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.b" selected="false" severity="medium" weight="10.0">
4976 <xccdf:title>Enable SELinux enforcement in /etc/grub.conf</xccdf:title>
4977 <xccdf:description>SELinux enforcement should NOT be disabled in /etc/grub.conf. Check that enforcing=0 is not found.</xccdf:description>
4978 <xccdf:fixtext>Remove offending line from /etc/grub.conf</xccdf:fixtext>
4979 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4980 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20105"/>
4981 </xccdf:check>
4982 </xccdf:Rule>
4983 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.c" selected="false" severity="medium" weight="10.0">
4984 <xccdf:title>Set the SELinux state</xccdf:title>
4985 <xccdf:description>The SELinux state should be: <xccdf:sub idref="xccdf_cdf_value_var-2.4.2.c"/></xccdf:description>
4986 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4987 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4988 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20106" value-id="xccdf_cdf_value_var-2.4.2.c"/>
4989 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20106"/>
4990 <!-- TBD -->
4991 </xccdf:check>
4992 </xccdf:Rule>
4993 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.2.d" selected="false" severity="medium" weight="10.0">
4994 <xccdf:title>Set the SELinux policy</xccdf:title>
4995 <xccdf:description>The SELinux policy should be set appropriately.</xccdf:description>
4996 <xccdf:ident system="http://cce.mitre.org">CCE-3624-4</xccdf:ident>
4997 <xccdf:fixtext>Edit /etc/selinux/config</xccdf:fixtext>
4998 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
4999 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20107" value-id="xccdf_cdf_value_var-2.4.2.d"/>
5000 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20107"/>
5001 </xccdf:check>
5002 </xccdf:Rule>
5003 </xccdf:Group>
5004 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3">
5005 <xccdf:title xml:lang="en">Disable Unnecessary SELinux Daemons</xccdf:title>
5006 <xccdf:description xml:lang="en">
5007 Several daemons are installed by default as part of the RHEL5
5008 SELinux support mechanism. These daemons may improve the system's ability to enforce
5009 SELinux policy in a useful fashion, but may also represent unnecessary code running on the
5010 machine, increasing system risk. If these daemons are not needed on your system, they
5011 should be disabled.</xccdf:description>
5012 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.1">
5013 <xccdf:title xml:lang="en">Disable and Remove SETroubleshoot if Possible</xccdf:title>
5014 <xccdf:description xml:lang="en">
5015 Is there a mission-critical reason to allow users to view
5016 SELinux denial information using the sealert GUI? If not, disable the service and remove
5017 the RPM: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5018 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5019 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig setroubleshoot off <xhtml:br/>
5020 # yum erase setroubleshoot <xhtml:br/></xhtml:code>
5021 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5022 The setroubleshoot
5023 service is a facility for notifying the desktop user of SELinux denials in a
5024 user-friendly fashion. SELinux errors may provide important information about intrusion
5025 attempts in progress, or may give information about SELinux configuration problems which
5026 are preventing correct system operation. In order to maintain a secure and usable
5027 SELinux installation, error logging and notification is necessary. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5029 However,
5030 setroubleshoot is a service which has complex functionality, which runs a daemon and
5031 uses IPC to distribute information which may be sensitive, or even to allow users to
5032 modify SELinux settings, and which does not yet implement real authentication
5033 mechanisms. This guide recommends disabling setroubleshoot and using the kernel audit
5034 functionality to monitor SELinux's behavior. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5035 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5036 In addition, since setroubleshoot
5037 automatically runs client-side code whenever a denial occurs, regardless of whether the
5038 setroubleshootd daemon is running, it is recommended that the program be removed
5039 entirely unless it is needed.</xccdf:description>
5040 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.a" selected="false" weight="10.0">
5041 <xccdf:title>Remove SETroubleshoot if Possible</xccdf:title>
5042 <xccdf:description>The setroubleshoot package should be uninstalled.</xccdf:description>
5043 <xccdf:ident system="http://cce.mitre.org">CCE-4148-3</xccdf:ident>
5044 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
5045 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5046 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20108"/>
5047 </xccdf:check>
5048 </xccdf:Rule>
5049 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.1.b" selected="false" severity="low" weight="10.0">
5050 <xccdf:title>Disable SETroubleshoot if Possible</xccdf:title>
5051 <xccdf:description>The setroubleshoot service should be disabled.</xccdf:description>
5052 <xccdf:ident system="http://cce.mitre.org">CCE-4254-9</xccdf:ident>
5053 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5054 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5055 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20109"/>
5056 </xccdf:check>
5057 </xccdf:Rule>
5058 </xccdf:Group>
5059 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.2">
5060 <xccdf:title xml:lang="en">Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
5061 <xccdf:description xml:lang="en">
5062 Unless there is some overriding need for the convenience of
5063 category label translation, disable the MCS translation service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5065 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mcstrans off <xhtml:br/></xhtml:code>
5066 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5067 The mcstransd daemon provides the category label translation information defined in
5068 /etc/selinux/targeted/ setrans.conf to client processes which request this information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5069 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5070 Category labelling is unlikely to be used except in sites with special requirements.
5071 Therefore, it should be disabled in order to reduce the amount of potentially vulnerable
5072 code running on the system. See Section 2.4.6 for more information about systems which
5073 use category labelling.</xccdf:description>
5074 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.2.a" selected="false" severity="low" weight="10.0">
5075 <xccdf:title>Disable MCS Translation Service (mcstrans) if Possible</xccdf:title>
5076 <xccdf:description>The mcstrans service should be disabled.</xccdf:description>
5077 <xccdf:ident system="http://cce.mitre.org">CCE-3668-1</xccdf:ident>
5078 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5079 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5080 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20110"/>
5081 </xccdf:check>
5082 </xccdf:Rule>
5083 </xccdf:Group>
5084 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.3.3">
5085 <xccdf:title xml:lang="en">Restorecon Service (restorecond)</xccdf:title>
5086 <xccdf:description xml:lang="en">
5087 The restorecond daemon monitors a list of files which are
5088 frequently created or modified on running systems, and whose SELinux contexts are not
5089 set correctly. It looks for creation events related to files listed in /etc/
5090 selinux/restorecond.conf, and sets the contexts of those files when they are discovered.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5091 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5092 The restorecond program is fairly simple, so it brings low risk, but, in its default
5093 configuration, does not add much value to a system. An automated program such as
5094 restorecond may be used to monitor problematic files for context problems, or system
5095 administrators may be trained to check file contexts of newly-created files using the
5096 command ls -lZ, and to repair contexts manually using the restorecon command. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5098 This guide
5099 makes no recommendation either for or against the use of restorecond.</xccdf:description>
5100 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.3.3.a" selected="false" severity="low" weight="10.0">
5101 <xccdf:title>Disable restorecon Service (restorecond)</xccdf:title>
5102 <xccdf:description>The restorecond service should be disabled.</xccdf:description>
5103 <xccdf:ident system="http://cce.mitre.org">CCE-4129-3</xccdf:ident>
5104 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5105 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5106 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20111"/>
5107 </xccdf:check>
5108 </xccdf:Rule>
5109 </xccdf:Group>
5110 </xccdf:Group>
5111 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.4">
5112 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
5113 <xccdf:description xml:lang="en">
5114 Daemons that SELinux policy does not know about will inherit the
5115 context of the parent process. Because daemons are launched during startup and descend
5116 from the init process, they inherit the initrc t context. This is a problem because it may
5117 cause AVC denials, or it could allow privileges that the daemon does not require. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5119 To check for unconfined daemons, run the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5120 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5121 <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>
5122 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5123 It should produce no output in a well-configured system.</xccdf:description>
5124 </xccdf:Group>
5125 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.5">
5126 <xccdf:title xml:lang="en">Check for Unconfined Daemons</xccdf:title>
5127 <xccdf:description xml:lang="en">
5128 Device files are used for communication with important system
5129 resources. SELinux contexts should exist for these. If a device file is not labeled, then
5130 misconfiguration is likely.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5131 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5132 To check for unlabeled device files, run the following command:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5133 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z | grep unlabeled_t<xhtml:br/></xhtml:code>
5134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5135 It should produce no output in a well-configured system.</xccdf:description>
5136 <xccdf:Rule id="xccdf_cdf_rule_rule-2.4.5.a" selected="false" severity="medium" weight="10.0">
5137 <xccdf:title>Check for Unconfined Daemons</xccdf:title>
5138 <xccdf:description>Check for device file that is not labeled.</xccdf:description>
5139 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
5140 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5141 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201115"/>
5142 </xccdf:check>
5143 </xccdf:Rule>
5144 </xccdf:Group>
5145 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.6">
5146 <xccdf:title xml:lang="en">Debugging SELinux Policy Errors</xccdf:title>
5147 <xccdf:description xml:lang="en">
5148 SELinux's default policies have improved significantly over time,
5149 and most systems should have few problems using the targeted SELinux policy. However,
5150 policy problems may still occasionally prevent accesses which should be allowed. This is
5151 especially true if your site runs any custom or heavily modified applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5152 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5153 This section gives some brief guidance on discovering and repairing SELinux-related access
5154 problems. Guidance given here is necessarily incomplete, but should provide a starting
5155 point for debugging. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5156 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5157 If you suspect that a permission error or other failure may be caused
5158 by SELinux (and are certain that misconfiguration of the traditional Unix permissions are
5159 not the cause of the problem), search the audit logs for AVC events: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5160 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5161 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch -m AVC,USER_AVC -sv no <xhtml:br/></xhtml:code>
5162 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5163 The output of this command will be a set of events. The timestamp,
5164 along with the comm and pid fields, should indicate which line describes the problem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5165 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5166 Look
5167 up the context under which the process is running. Assuming the process ID is PID , find
5168 the context by running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5170 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ps -p PID -Z <xhtml:br/></xhtml:code>
5171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5172 The AVC denial message should identify the
5173 offending file or directory. The name field should contain the filename (not the full
5174 pathname by default), and the ino field can be used to search by inode, if necessary.
5175 Assuming the file is FILE , find its SELinux context: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5176 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5177 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ls -Z FILE <xhtml:br/></xhtml:code>
5178 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5179 An administrator should
5180 suspect an SELinux misconfiguration whenever a program gets a 'permission denied' error
5181 but the standard Unix permissions appear to be correct, or a program fails mysteriously on
5182 a task which seems to involve file access or network communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5183 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5184 As described in
5185 Section 2.4.1, SELinux augments each process with a context providing detailed type
5186 information about that process. The contexts under which processes run may be referred to
5187 as subject contexts. Similarly, each filesystem object is given a context. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5188 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5189 The targeted
5190 policy consists of a set of rules, each of which allows a subject type to perform some
5191 operation on a given object type. The kernel stores information about these access
5192 decisions in an structure known as an Access Vector Cache (AVC), so authorization
5193 decisions made by the system are audited with the type AVC. It is also possible for
5194 userspace modules to implement their own policies based on SELinux, and these decisions
5195 are audited with the type USER_AVC. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5196 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5197 AVC denials are logged by the kernel audit facility
5198 (see Section 2.6.2 for configuration guidance on this subsystem) and may also be visible
5199 via setroubleshoot. This guide recommends the use of the audit userspace utilities to find
5200 AVC errors. It is possible to manually locate these errors by looking in the file
5201 /var/log/audit/audit.log or in /var/log/messages (depending on the syslog configuration in
5202 effect), but the ausearch tool allows finegrained searching on audit event types, which
5203 may be necessary if system call auditing is enabled as well. The command line above tells
5204 ausearch to look for kernel or userspace AVC messages (-m AVC,USER AVC) where the access
5205 attempt did not succeed (-sv no). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5206 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5207 If an AVC denial occurs when it should not have, the
5208 problem is generally one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5209 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
5210 <xhtml:li>The program is running with the wrong subject
5211 context. This could happen as a result of an incorrect context on the program's executable
5212 file, which could happen if 3rd party software is installed and not given appropriate
5213 SELinux file contexts. </xhtml:li>
5214 <xhtml:li>The file has the wrong object context because the current file's
5215 context does not match the specification. This can occur when files are created or
5216 modified in certain ways. It is not atypical for configuration files to get the wrong
5217 contexts after a system configuration change performed by an administrator. To repair the
5218 file, use the command: <xhtml:br/>
5219 <xhtml:br/>
5220 <xhtml:code># restorecon -v FILE <xhtml:br/></xhtml:code>
5221 <xhtml:br/>
5222 This should produce output indicating that the
5223 file's context has been changed. The /usr/bin/chcon program can be used to manually change
5224 a file's context, but this is problematic because the change will not persist if it does
5225 not agree with the policy-defined contexts applied by restorecon.</xhtml:li>
5226 <xhtml:li>The file has the wrong
5227 object context because the specification is either incorrect or does not match the way the
5228 file is being used on this system. In this case, it will be necessary to change the system
5229 file contexts. <xhtml:br/>
5230 <xhtml:br/>
5231 Run the system-config-selinux tool, and go to the 'File Labeling' menu.
5232 This will give a list of files and wildcards corresponding to file labelling rules on the
5233 system. Add a rule which maps the file in question to the desired context. As an
5234 alternative, file contexts can be modified from the command line using the semanage(8)
5235 tool.</xhtml:li>
5236 <xhtml:li>The program and file have the correct contexts, but the policy should allow some
5237 operation between those two contexts which is currently not allowed. In this case, it will
5238 be necessary to modify the SELinux policy. <xhtml:br/>
5239 <xhtml:br/>
5240 Run the system-config-selinux tool, and go to
5241 the 'Boolean' menu. If your configuration is supported, but is not the Red Hat default,
5242 then there will be a boolean allowing real-time modification of the SELinux policy to fix
5243 the problem. Browse through the items in this menu, looking for one which is related to
5244 the service which is not working. As an alternative, SELinux booleans can be modified from
5245 the command line using the getsebool(8) and setsebool(8) tools. <xhtml:br/>
5246 <xhtml:br/>
5247 If there is no boolean, it
5248 will be necessary to create and load a policy module. A simple way to build a policy
5249 module is to use the audit2allow tool. This tool can take input in the format of AVC
5250 denial messages, and generate syntactically correct Type Enforcement rules which would be
5251 sufficient to prevent those denials. For example, to generate and display rules which
5252 would allow all kernel denials seen in the past five minutes, run: <xhtml:br/>
5253 <xhtml:br/>
5254 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow <xhtml:br/></xhtml:code>
5255 <xhtml:br/>
5256 It is possible to use audit2allow to directly create a module
5257 package suitable for loading into the kernel policy. To do this, invoke audit2allow with
5258 the -M flag: <xhtml:br/>
5259 <xhtml:br/>
5260 <xhtml:code># ausearch -m AVC -sv no -ts recent | audit2allow -M localmodule <xhtml:br/></xhtml:code>
5261 <xhtml:br/>
5262 If this is
5263 successful, several lines of output should appear. Review the generated TE rules in the
5264 file localmodule .te and ensure that they express what you wish to allow. <xhtml:br/>
5265 <xhtml:br/>
5266 The file
5267 localmodule .pp should also have been created. This file is a policy module package that
5268 can be loaded into the kernel. To do so, use system-config-selinux, go to the 'Policy
5269 Module' menu and use the 'Add' button to enable your module package in SELinux, or load it
5270 from the command line using semodule(8): <xhtml:br/>
5271 <xhtml:br/>
5272 <xhtml:code># semodule -i localmodule .pp <xhtml:br/></xhtml:code>
5273 <xhtml:br/>
5274 Section 45.2 of [9] covers this procedure in detail.</xhtml:li>
5275 </xhtml:ul></xccdf:description>
5276 </xccdf:Group>
5277 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7">
5278 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
5279 <xccdf:description xml:lang="en">
5280 The recommendations up to this point have discussed how to
5281 configure and maintain a system under the default configuration of the targeted policy,
5282 which constrains only the actions of daemons and system software. This guide strongly
5283 recommends that any site which is not currently using SELinux at all transition to the
5284 targeted policy, to gain the substantial security benefits provided by that policy.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5285 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5286 However, the default policy provides only a subset of the full security gains available
5287 from using SELinux. In particular, the SELinux policy is also capable of constraining the
5288 actions of interactive users, of providing compartmented access by sensitivity level (MLS)
5289 and/or category (MCS), and of restricting certain types of system actions using booleans
5290 beyond the RHEL5 defaults. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5291 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5292 This section introduces other uses of SELinux which may be
5293 possible, and provides links to some outside resources about their use. Detailed
5294 description of how to implement these steps is beyond the scope of this guide.</xccdf:description>
5295 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.1">
5296 <xccdf:title xml:lang="en">Strengthen the Default SELinux Boolean Configuration</xccdf:title>
5297 <xccdf:description xml:lang="en">
5298 SELinux booleans are used to enable or disable segments of
5299 policy to comply with site policy. Booleans may apply to the entire system or to an
5300 individual daemon. For instance, the boolean allow execstack, if enabled, allows
5301 programs to make part of their stack memory region executable. This would apply to all
5302 programs on the system. The boolean ftp home dir allows ftpd processes to access user
5303 home directories, and applies only to daemons which implement FTP. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5305 The command <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5307 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ getsebool -a <xhtml:br/></xhtml:code>
5308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5309 lists the values of all SELinux booleans on the system. Section 2.4.5
5310 discussed loosening boolean values in order to debug functionality problems which occur
5311 under more restrictive defaults. It is also useful to examine and strengthen the boolean
5312 settings, to disable functionality which is not required by legitimate programs on your
5313 system, but which might be symptomatic of an attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5314 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5315 See the manpages booleans(8),
5316 getsebool(8), and setsebool(8) for general information about booleans. There are also
5317 manual pages for several subsystems which discuss the use of SELinux with those systems.
5318 Examples include ftpd selinux(8), httpd selinux(8), and nfs selinux(8). Another good
5319 reference is the html documentation distributed with the selinux-policy RPM. This
5320 documentation is stored under <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5321 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5322 /usr/share/doc/selinux-policy-version/html/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5323 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5324 The pages
5325 global tunables.html and global booleans.html may be useful when examining booleans.</xccdf:description>
5326 </xccdf:Group>
5327 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.7.2">
5328 <xccdf:title xml:lang="en">Use a Stronger Policy</xccdf:title>
5329 <xccdf:description xml:lang="en">
5330 Using a stronger policy can greatly enhance security, but will
5331 generally require customization to be compatible with the particular system's purpose,
5332 and this may be costly or time consuming. Under the targeted policy, interactive
5333 processes are given the type unconfined t, so interactive users are not constrained by
5334 SELinux even if they attempt to take strange or malicious actions. The first alternative
5335 policy available with RHEL5's SELinux distribution, called strict, extends the
5336 protections offered by the default policy from daemons and system processes to all
5337 processes. To use the strict policy, first ensure that the policy module is installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5338 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5339 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install selinux-policy-strict <xhtml:br/></xhtml:code>
5340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5341 Then edit /etc/selinux/config and correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5342 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5343 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=strict <xhtml:br/></xhtml:code>
5344 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5345 The mls policy type can be used to enforce sensitivity or category
5346 labelling, and requires site-specific configuration of these labels in order to be
5347 useful. To use this policy, install the appropriate policy module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5348 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5349 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install selinux-policy-mls <xhtml:br/></xhtml:code>
5350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5351 Then edit /etc/selinux/config and correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5352 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5353 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">SELINUXTYPE=mls</xhtml:code></xccdf:description>
5354 <xccdf:warning xml:lang="en">
5355 Note: Switching between policies typically requires the entire disk to be relabelled, so
5356 that files get the appropriate SELinux contexts under the new policy. Boot with the
5357 additional grub command-line options <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5358 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5359 <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"/>
5360 to relabel the disk in single-user mode, then reboot normally.</xccdf:warning>
5361 </xccdf:Group>
5362 </xccdf:Group>
5363 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.4.8">
5364 <xccdf:title xml:lang="en">SELinux References</xccdf:title>
5365 <xccdf:description xml:lang="en">
5366 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
5367 <xhtml:li>NSA SELinux resources:<xhtml:br/>
5368 <xhtml:ul>
5369 <xhtml:li>Web page: http://www.nsa.gov/selinux/</xhtml:li>
5370 <xhtml:li>Mailing list: [email protected] <xhtml:br/>
5371 List information at: http://www.nsa.gov/selinux/info/list.cfm</xhtml:li>
5372 </xhtml:ul>
5373 </xhtml:li>
5374 <xhtml:li>Fedora SELinux resources:<xhtml:br/>
5375 <xhtml:ul>
5376 <xhtml:li>FAQ: http://docs.fedoraproject.org/selinux-faq/</xhtml:li>
5377 <xhtml:li>Wiki: http://fedoraproject.org/wiki/SELinux/</xhtml:li>
5378 <xhtml:li>Mailing list: [email protected] <xhtml:br/>
5379 List information at:
5380 https://www.redhat.com/mailman/listinfo/fedora-selinux-list</xhtml:li>
5381 </xhtml:ul>
5382 </xhtml:li>
5383 <xhtml:li>Chapters 43–45 of Red Hat Enterprise Linux 5: Deployment Guide [9]</xhtml:li>
5384 <xhtml:li>The book SELinux by Example: Using Security Enhanced Linux [13]</xhtml:li>
5385 </xhtml:ul>
5386 </xccdf:description>
5387 </xccdf:Group>
5388 </xccdf:Group>
5389 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5">
5390 <xccdf:title xml:lang="en">Network Configuration and Firewalls</xccdf:title>
5391 <xccdf:description xml:lang="en">
5392 Most machines must be connected to a network of some sort, and this
5393 brings with it the substantial risk of network attack. This section discusses the security
5394 impact of decisions about networking which must be made when configuring a system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5395 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5396 This section also discusses firewalls, network access controls, and other network security
5397 frameworks, which allow system-level rules to be written that can limit attackers' ability
5398 to connect to your system. These rules can specify that network traffic should be allowed or
5399 denied from certain IP addresses, hosts, and networks. The rules can also specify which of
5400 the system's network services are available to particular hosts or networks.</xccdf:description>
5401 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1">
5402 <xccdf:title xml:lang="en">Kernel Parameters which Affect Networking</xccdf:title>
5403 <xccdf:description xml:lang="en">
5404 The sysctl utility is used to set a number of parameters which
5405 affect the operation of the Linux kernel. Several of these parameters are specific to
5406 networking, and the configuration options in this section are recommended.</xccdf:description>
5407 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.1">
5408 <xccdf:title xml:lang="en">Network Parameters for Hosts Only</xccdf:title>
5409 <xccdf:description xml:lang="en">
5410 Is this system going to be used as a firewall or gateway to
5411 pass IP traffic between different networks? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5412 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"/>
5413 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5414 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">net.ipv4.ip_forward = 0 <xhtml:br/>
5415 net.ipv4.conf.all.send_redirects = 0 <xhtml:br/>
5416 net.ipv4.conf.default.send_redirects = 0 <xhtml:br/></xhtml:code>
5417 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5418 These settings disable hosts from
5419 performing network functionality which is only appropriate for routers.</xccdf:description>
5420 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.a" selected="false" severity="medium" weight="10.0">
5421 <xccdf:title>Disable net.ipv4.conf.default.send_redirects for Hosts Only</xccdf:title>
5422 <xccdf:description>The default setting for sending ICMP redirects should be disabled for network interfaces.</xccdf:description>
5423 <xccdf:ident system="http://cce.mitre.org">CCE-4151-7</xccdf:ident>
5424 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.send_redirects</xccdf:fixtext>
5425 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5426 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20112"/>
5427 </xccdf:check>
5428 </xccdf:Rule>
5429 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.b" selected="false" severity="medium" weight="10.0">
5430 <xccdf:title>Disable net.ipv4.conf.all.send_redirects for Hosts Only</xccdf:title>
5431 <xccdf:description>Sending ICMP redirects should be disabled for all interfaces.</xccdf:description>
5432 <xccdf:ident system="http://cce.mitre.org">CCE-4155-8</xccdf:ident>
5433 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.send_redirects</xccdf:fixtext>
5434 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5435 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20113"/>
5436 </xccdf:check>
5437 </xccdf:Rule>
5438 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.1.c" selected="false" severity="medium" weight="10.0">
5439 <xccdf:title>Disable net.ipv4.ip forward for Hosts Only</xccdf:title>
5440 <xccdf:description>IP forwarding should be disabled.</xccdf:description>
5441 <xccdf:ident system="http://cce.mitre.org">CCE-3561-8</xccdf:ident>
5442 <xccdf:fixtext>(1) via sysctl - net.ipv4.ip_forward</xccdf:fixtext>
5443 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5444 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20114"/>
5445 </xccdf:check>
5446 </xccdf:Rule>
5447 </xccdf:Group>
5448 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.1.2">
5449 <xccdf:title xml:lang="en">Network Parameters for Hosts and Routers</xccdf:title>
5450 <xccdf:description xml:lang="en">
5451 Edit the file /etc/sysctl.conf and add or correct the following
5452 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5453 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5454 net.ipv4.conf.all.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5455 net.ipv4.conf.all.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5456 net.ipv4.conf.all.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5457 net.ipv4.conf.all.log_martians = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5458 net.ipv4.conf.default.accept_source_route = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5459 net.ipv4.conf.default.accept_redirects = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5460 net.ipv4.conf.default.secure_redirects = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5461 net.ipv4.icmp_echo_ignore_broadcasts = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5462 net.ipv4.icmp_ignore_bogus_error_messages = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5463 net.ipv4.tcp_syncookies = 1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5464 net.ipv4.conf.all.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5465 net.ipv4.conf.default.rp_filter = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5466 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5467 These options
5468 improve Linux's ability to defend against certain types of IPv4 protocol attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5469 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5470 The
5471 accept source route, accept redirects, and secure redirects options are turned off to
5472 disable IPv4 protocol features which are considered to have few legitimate uses and to
5473 be easy to abuse. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5474 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5475 The net.ipv4.conf.all.log martians option logs several types of
5476 suspicious packets, such as spoofed packets, source-routed packets, and redirects. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5477 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5478 The icmp echo ignore broadcasts icmp ignore bogus error messages options protect against
5479 ICMP attacks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5480 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5481 The tcp syncookies option uses a cryptographic feature called SYN cookies
5482 to allow machines to continue to accept legitimate connections when faced with a SYN
5483 flood attack. See [12] for further information on this option. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5484 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5485 The rp filter option
5486 enables RFC-recommended source validation. It should not be used on machines which are
5487 routers for very complicated networks, but is helpful for end hosts and routers serving
5488 small networks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5489 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5490 For more information on any of these, see the kernel source
5491 documentation file /Documentation/networking/ip-sysctl.txt.2</xccdf:description>
5492 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.a" operator="equals" type="boolean">
5493 <xccdf:title>Deactivating "source routed packets"</xccdf:title>
5494 <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>
5495 <xccdf:question xml:lang="en">Enable/Disable source routed packets</xccdf:question>
5496 <xccdf:value>0</xccdf:value>
5497 <xccdf:value selector="enabled">1</xccdf:value>
5498 <xccdf:value selector="disabled">0</xccdf:value>
5499 </xccdf:Value>
5500 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.b" operator="equals" type="boolean">
5501 <xccdf:title>ICMP redirect messages</xccdf:title>
5502 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5503 <xccdf:question xml:lang="en">Enable/Disable ICMP redirect messages</xccdf:question>
5504 <xccdf:value>0</xccdf:value>
5505 <xccdf:value selector="enabled">1</xccdf:value>
5506 <xccdf:value selector="disabled">0</xccdf:value>
5507 </xccdf:Value>
5508 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.c" operator="equals" type="boolean">
5509 <xccdf:title>net.ipv4.conf.all.secure_redirects</xccdf:title>
5510 <xccdf:description xml:lang="en">Enable to prevent hijacking of routing path by only allowing redirects from gateways known in routing table. </xccdf:description>
5511 <xccdf:question xml:lang="en">Enable/Disable IPv4 prevent hijacking of routing paths</xccdf:question>
5512 <xccdf:value>1</xccdf:value>
5513 <xccdf:value selector="enabled">1</xccdf:value>
5514 <xccdf:value selector="disabled">0</xccdf:value>
5515 </xccdf:Value>
5516 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.d" operator="equals" type="boolean">
5517 <xccdf:title>net.ipv4.conf.all.log_martians</xccdf:title>
5518 <xccdf:description xml:lang="en">Disable so you don't Log Spoofed Packets, Source Routed Packets, Redirect Packets </xccdf:description>
5519 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging Spoofed packets, source routed packets and redirect packets</xccdf:question>
5520 <xccdf:value>0</xccdf:value>
5521 <xccdf:value selector="enabled">1</xccdf:value>
5522 <xccdf:value selector="disabled">0</xccdf:value>
5523 </xccdf:Value>
5524 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.e" operator="equals" type="boolean">
5525 <xccdf:title>net.ipv4.conf.default.accept_source_route</xccdf:title>
5526 <xccdf:description xml:lang="en">Disable IP source routing?</xccdf:description>
5527 <xccdf:question xml:lang="en">Enable/Disable IPv4 source routing</xccdf:question>
5528 <xccdf:value>0</xccdf:value>
5529 <xccdf:value selector="enabled">1</xccdf:value>
5530 <xccdf:value selector="disabled">0</xccdf:value>
5531 </xccdf:Value>
5532 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.f" operator="equals" type="boolean">
5533 <xccdf:title>net.ipv4.conf.default.accept_redirects</xccdf:title>
5534 <xccdf:description xml:lang="en">Disable ICMP Redirect Acceptance?</xccdf:description>
5535 <xccdf:question xml:lang="en">Enable/Disable default IPv4 ICMP Redirect Acceptance</xccdf:question>
5536 <xccdf:value>0</xccdf:value>
5537 <xccdf:value selector="enabled">1</xccdf:value>
5538 <xccdf:value selector="disabled">0</xccdf:value>
5539 </xccdf:Value>
5540 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.g" operator="equals" type="boolean">
5541 <xccdf:title>net.ipv4.conf.default.secure_redirects</xccdf:title>
5542 <xccdf:description xml:lang="en">Log packets with impossible addresses to kernel log?</xccdf:description>
5543 <xccdf:question xml:lang="en">Enable/Disable IPv4 logging packets with impossible addresses to kernel log</xccdf:question>
5544 <xccdf:value>1</xccdf:value>
5545 <xccdf:value selector="enabled">1</xccdf:value>
5546 <xccdf:value selector="disabled">0</xccdf:value>
5547 </xccdf:Value>
5548 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.h" operator="equals" type="boolean">
5549 <xccdf:title>net.ipv4.icmp_echo_ignore_broadcast</xccdf:title>
5550 <xccdf:description xml:lang="en">Ignore all ICMP ECHO and TIMESTAMP requests sent to it via broadcast/multicast</xccdf:description>
5551 <xccdf:question xml:lang="en">Enable/Disable IPv4 ignoring ICMP ECHO and TIMESTAMP requests from broadcast/multicast</xccdf:question>
5552 <xccdf:value>1</xccdf:value>
5553 <xccdf:value selector="enabled">1</xccdf:value>
5554 <xccdf:value selector="disabled">0</xccdf:value>
5555 </xccdf:Value>
5556 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.i" operator="equals" type="boolean">
5557 <!-- TODO -->
5558 <xccdf:title>net.ipv4.icmp_ignore_bogus_error_messages</xccdf:title>
5559 <xccdf:description xml:lang="en">Enable to prevent certain types of attacks</xccdf:description>
5560 <xccdf:value>1</xccdf:value>
5561 <xccdf:value selector="enabled">1</xccdf:value>
5562 <xccdf:value selector="disabled">0</xccdf:value>
5563 </xccdf:Value>
5564 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.j" operator="equals" type="boolean">
5565 <xccdf:title>net.ipv4.tcp_syncookie</xccdf:title>
5566 <xccdf:description xml:lang="en">Enable to turn on TCP SYN Cookie Protection</xccdf:description>
5567 <xccdf:question xml:lang="en">Enable/Disable TCP SYN Cookie Protection</xccdf:question>
5568 <xccdf:value>1</xccdf:value>
5569 <xccdf:value selector="enabled">1</xccdf:value>
5570 <xccdf:value selector="disabled">0</xccdf:value>
5571 </xccdf:Value>
5572 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.k" operator="equals" type="boolean">
5573 <xccdf:title>net.ipv4.conf.all.rp_filter</xccdf:title>
5574 <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>
5575 <xccdf:question xml:lang="en">Enable/Disable all enforcing sanity checks</xccdf:question>
5576 <xccdf:value>1</xccdf:value>
5577 <xccdf:value selector="enabled">1</xccdf:value>
5578 <xccdf:value selector="disabled">0</xccdf:value>
5579 </xccdf:Value>
5580 <xccdf:Value id="xccdf_cdf_value_var-2.5.1.2.l" operator="equals" type="boolean">
5581 <xccdf:title>net.ipv4.conf.default.rp_filter</xccdf:title>
5582 <xccdf:description xml:lang="en">Enables source route verification</xccdf:description>
5583 <xccdf:question xml:lang="en">Enable/Disable default source route verification</xccdf:question>
5584 <xccdf:value>1</xccdf:value>
5585 <xccdf:value selector="enabled">1</xccdf:value>
5586 <xccdf:value selector="disabled">0</xccdf:value>
5587 </xccdf:Value>
5588 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.a" selected="false" severity="medium" weight="10.0">
5589 <xccdf:title>Set net.ipv4.conf.all.accept_source_route for Hosts and Routers</xccdf:title>
5590 <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>
5591 <xccdf:ident system="http://cce.mitre.org">CCE-4236-6</xccdf:ident>
5592 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_source_route</xccdf:fixtext>
5593 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5594 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20115" value-id="xccdf_cdf_value_var-2.5.1.2.a"/>
5595 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20115"/>
5596 </xccdf:check>
5597 </xccdf:Rule>
5598 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.b" selected="false" severity="medium" weight="10.0">
5599 <xccdf:title>Set net.ipv4.conf.all.accept_redirects for Hosts and Routers</xccdf:title>
5600 <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>
5601 <xccdf:ident system="http://cce.mitre.org">CCE-4217-6</xccdf:ident>
5602 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.accept_redirects</xccdf:fixtext>
5603 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5604 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20116" value-id="xccdf_cdf_value_var-2.5.1.2.b"/>
5605 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20116"/>
5606 </xccdf:check>
5607 </xccdf:Rule>
5608 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.c" selected="false" severity="medium" weight="10.0">
5609 <xccdf:title>Set net.ipv4.conf.all.secure_redirects for Hosts and Routers</xccdf:title>
5610 <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>
5611 <xccdf:ident system="http://cce.mitre.org">CCE-3472-8</xccdf:ident>
5612 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.secure_redirects</xccdf:fixtext>
5613 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5614 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20117" value-id="xccdf_cdf_value_var-2.5.1.2.c"/>
5615 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20117"/>
5616 </xccdf:check>
5617 </xccdf:Rule>
5618 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.d" selected="false" severity="medium" weight="10.0">
5619 <xccdf:title>Set net.ipv4.conf.all.log_martians for Hosts and Routers</xccdf:title>
5620 <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>
5621 <xccdf:ident system="http://cce.mitre.org">CCE-4320-8</xccdf:ident>
5622 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.log_martians</xccdf:fixtext>
5623 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5624 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20118" value-id="xccdf_cdf_value_var-2.5.1.2.d"/>
5625 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20118"/>
5626 </xccdf:check>
5627 </xccdf:Rule>
5628 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.e" selected="false" severity="medium" weight="10.0">
5629 <xccdf:title>Set net.ipv4.conf.default.accept_source_route for Hosts and Routers</xccdf:title>
5630 <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>
5631 <xccdf:ident system="http://cce.mitre.org">CCE-4091-5</xccdf:ident>
5632 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_source_route</xccdf:fixtext>
5633 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5634 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20119" value-id="xccdf_cdf_value_var-2.5.1.2.e"/>
5635 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20119"/>
5636 </xccdf:check>
5637 </xccdf:Rule>
5638 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.f" selected="false" severity="medium" weight="10.0">
5639 <xccdf:title>Set net.ipv4.conf.default.accept_redirects for Hosts and Routers</xccdf:title>
5640 <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>
5641 <xccdf:ident system="http://cce.mitre.org">CCE-4186-3</xccdf:ident>
5642 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.accept_redirects</xccdf:fixtext>
5643 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5644 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20120" value-id="xccdf_cdf_value_var-2.5.1.2.f"/>
5645 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20120"/>
5646 </xccdf:check>
5647 </xccdf:Rule>
5648 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.g" selected="false" severity="medium" weight="10.0">
5649 <xccdf:title>Set net.ipv4.conf.default.secure_redirects for Hosts and Routers</xccdf:title>
5650 <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>
5651 <xccdf:ident system="http://cce.mitre.org">CCE-3339-9</xccdf:ident>
5652 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.secure_redirects</xccdf:fixtext>
5653 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5654 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20121" value-id="xccdf_cdf_value_var-2.5.1.2.g"/>
5655 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20121"/>
5656 </xccdf:check>
5657 </xccdf:Rule>
5658 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.h" selected="false" severity="medium" weight="10.0">
5659 <xccdf:title>Set net.ipv4.icmp_echo_ignore_broadcasts for Hosts and Routers</xccdf:title>
5660 <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>
5661 <xccdf:ident system="http://cce.mitre.org">CCE-3644-2</xccdf:ident>
5662 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_echo_ignore_broadcasts</xccdf:fixtext>
5663 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5664 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20122" value-id="xccdf_cdf_value_var-2.5.1.2.h"/>
5665 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20122"/>
5666 </xccdf:check>
5667 </xccdf:Rule>
5668 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.i" selected="false" severity="medium" weight="10.0">
5669 <xccdf:title>Set net.ipv4.icmp_ignore_bogus_error_messages for Hosts and Routers</xccdf:title>
5670 <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>
5671 <xccdf:ident system="http://cce.mitre.org">CCE-4133-5</xccdf:ident>
5672 <xccdf:fixtext>(1) via sysctl - net.ipv4.icmp_ignore_bogus_error_messages</xccdf:fixtext>
5673 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5674 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20123" value-id="xccdf_cdf_value_var-2.5.1.2.i"/>
5675 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20123"/>
5676 </xccdf:check>
5677 </xccdf:Rule>
5678 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.j" selected="false" severity="medium" weight="10.0">
5679 <xccdf:title>Set net.ipv4.tcp_syncookies for Hosts and Routers</xccdf:title>
5680 <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>
5681 <xccdf:ident system="http://cce.mitre.org">CCE-4265-5</xccdf:ident>
5682 <xccdf:fixtext>(1) via sysctl - net.ipv4.tcp_syncookies</xccdf:fixtext>
5683 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5684 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20124" value-id="xccdf_cdf_value_var-2.5.1.2.j"/>
5685 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20124"/>
5686 </xccdf:check>
5687 </xccdf:Rule>
5688 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.k" selected="false" severity="medium" weight="10.0">
5689 <xccdf:title>Set net.ipv4.conf.all.rp_filter for Hosts and Routers</xccdf:title>
5690 <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>
5691 <xccdf:ident system="http://cce.mitre.org">CCE-4080-8</xccdf:ident>
5692 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.all.rp_filter</xccdf:fixtext>
5693 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5694 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20125" value-id="xccdf_cdf_value_var-2.5.1.2.k"/>
5695 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20125"/>
5696 </xccdf:check>
5697 </xccdf:Rule>
5698 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.1.2.l" selected="false" severity="medium" weight="10.0">
5699 <xccdf:title>Set net.ipv4.conf.default.rp_filter for Hosts and Routers</xccdf:title>
5700 <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>
5701 <xccdf:ident system="http://cce.mitre.org">CCE-3840-6</xccdf:ident>
5702 <xccdf:fixtext>(1) via sysctl - net.ipv4.conf.default.rp_filter</xccdf:fixtext>
5703 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5704 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20126" value-id="xccdf_cdf_value_var-2.5.1.2.l"/>
5705 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20126"/>
5706 </xccdf:check>
5707 </xccdf:Rule>
5708 </xccdf:Group>
5709 </xccdf:Group>
5710 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2">
5711 <xccdf:title xml:lang="en">Wireless Networking</xccdf:title>
5712 <xccdf:description xml:lang="en">
5713 Wireless networking (sometimes referred to as 802.11 or Wi-Fi)
5714 presents a serious security risk to sensitive or classified systems and networks. Wireless
5715 networking hardware is much more likely to be included in laptop or portable systems than
5716 desktops or servers. See Section 3.3.14 for information on Bluetooth wireless support.
5717 Bluetooth serves a different purpose and possesses a much shorter range, but it still
5718 presents serious security risks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5719 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5720 Removal of hardware is the only way to absolutely ensure
5721 that the wireless capability remains disabled. If it is completely impractical to remove
5722 the wireless hardware, and site policy still allows the device to enter sensitive spaces,
5723 every effort to disable the capability via software should be made. In general,
5724 acquisition policy should include provisions to prevent the purchase of equipment that
5725 will be used in sensitive spaces and includes wireless capabilities.</xccdf:description>
5726 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.1">
5727 <xccdf:title xml:lang="en">Remove Wireless Hardware if Possible</xccdf:title>
5728 <xccdf:description xml:lang="en">
5729 Identifying the wireless hardware is the first step in removing
5730 it. The system's hardware manual should contain information on its wireless
5731 capabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5732 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5733 Wireless hardware included with a laptop typically takes the form of a
5734 mini-PCI card or PC card. Other forms include devices which plug into USB or Ethernet
5735 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"/>
5736 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5737 A PC Card (originally called a PCMCIA card) is designed to be easy to remove, though it
5738 may be hidden when inserted into the system. Frequently, there will be one or more
5739 buttons near the card slot that, when pressed, eject the card from the system. If no
5740 card is ejected, the slot is empty. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5741 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5742 A mini-PCI card is approximately credit-card sized
5743 and typically accessible via a removable panel on the underside of the laptop. Removing
5744 the panel may require simple tools. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5745 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5746 In addition to manually inspecting the hardware, it
5747 is also possible to query the system for its installed hardware devices. The commands
5748 /sbin/lspci and /sbin/lsusb will show a list of all recognized devices on their
5749 respective buses, and this may indicate the presence of a wireless device.</xccdf:description>
5750 </xccdf:Group>
5751 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2">
5752 <xccdf:title xml:lang="en">Disable Wireless Through Software Configuration</xccdf:title>
5753 <xccdf:description xml:lang="en">
5754 If it is impossible to remove the wireless hardware from the
5755 device in question, disable as much of it as possible through software. The following
5756 methods can disable software support for wireless networking, but note that these
5757 methods do not prevent malicious software or careless users from re-activating the
5758 devices.</xccdf:description>
5759 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.1">
5760 <xccdf:title xml:lang="en">Disable Wireless in BIOS</xccdf:title>
5761 <xccdf:description xml:lang="en">
5762 Some laptops that include built-in wireless support offer the
5763 ability to disable the device through the BIOS. This is system-specific; consult your
5764 hardware manual or explore the BIOS setup during boot. 2A recent version of this file
5765 can be found online at
5766 http://lxr.linux.no/source/Documentation/networking/ip-sysctl.txt.</xccdf:description>
5767 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.1.a" selected="false" severity="medium" weight="10.0">
5768 <xccdf:title>Disable Wireless in BIOS</xccdf:title>
5769 <xccdf:description>All wireless devices should be disabled in the BIOS.</xccdf:description>
5770 <xccdf:ident system="http://cce.mitre.org">CCE-3628-5</xccdf:ident>
5771 <xccdf:fixtext>(1) via BIOS menus</xccdf:fixtext>
5772 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5773 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20127"/>
5774 </xccdf:check>
5775 </xccdf:Rule>
5776 </xccdf:Group>
5777 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.2">
5778 <xccdf:title xml:lang="en">Deactivate Wireless Interfaces</xccdf:title>
5779 <xccdf:description xml:lang="en">
5780 Deactivating the wireless interfaces should prevent normal
5781 usage of the wireless capability. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5782 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5783 First, identify the interfaces available with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5784 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5785 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ifconfig -a <xhtml:br/></xhtml:code>
5786 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5787 Additionally,the following command may also be used to
5788 determine whether wireless support ('extensions') is included for a particular
5789 interface, though this may not always be a clear indicator: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5790 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5791 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># iwconfig <xhtml:br/></xhtml:code>
5792 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5793 After
5794 identifying any wireless interfaces (which may have names like wlan0, ath0, wifi0, or
5795 eth0), deactivate the interface with the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5796 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5797 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ifdown interface <xhtml:br/></xhtml:code>
5798 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5799 These changes
5800 will only last until the next reboot. To disable the interface for future boots,
5801 remove the appropriate interface file from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5802 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5803 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
5804 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.2.a" selected="false" severity="medium" weight="10.0">
5805 <xccdf:title>Deactivate Wireless Interfaces</xccdf:title>
5806 <xccdf:description>All wireless interfaces should be disabled.</xccdf:description>
5807 <xccdf:ident system="http://cce.mitre.org">CCE-4276-2</xccdf:ident>
5808 <xccdf:fixtext>rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fixtext>
5809 <xccdf:fixtext>ifdown interface</xccdf:fixtext>
5810 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5811 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20128"/>
5812 </xccdf:check>
5813 </xccdf:Rule>
5814 </xccdf:Group>
5815 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.2.2.3">
5816 <xccdf:title xml:lang="en">Disable Wireless Drivers</xccdf:title>
5817 <xccdf:description xml:lang="en">
5818 Removing the kernel drivers that provide support for wireless
5819 Ethernet devices will prevent users from easily activating the devices. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5820 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5821 To remove the wireless drivers from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5822 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5823 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm -r /lib/modules/kernelversion(s)/kernel/drivers/net/wireless <xhtml:br/></xhtml:code>
5824 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5825 This command must also be repeated every time the kernel is upgraded.</xccdf:description>
5826 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.2.2.3.a" selected="false" severity="medium" weight="10.0">
5827 <xccdf:title>Disable Wireless Drivers</xccdf:title>
5828 <xccdf:description>Device drivers for wireless devices should be excluded from the kernel.</xccdf:description>
5829 <xccdf:ident system="http://cce.mitre.org">CCE-4170-7</xccdf:ident>
5830 <xccdf:fixtext>(1) via modprobe</xccdf:fixtext>
5831 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5832 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20129"/>
5833 </xccdf:check>
5834 </xccdf:Rule>
5835 </xccdf:Group>
5836 </xccdf:Group>
5837 </xccdf:Group>
5838 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3">
5839 <xccdf:title xml:lang="en">IPv6</xccdf:title>
5840 <xccdf:description xml:lang="en">
5841 The system includes support for Internet Protocol version 6. A
5842 major and often-mentioned improvement over IPv4 is its enormous increase in the number of
5843 available addresses. Another important feature is its support for automatic configuration
5844 of many network settings.</xccdf:description>
5845 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1">
5846 <xccdf:title xml:lang="en">Disable Support for IPv6 unless Needed</xccdf:title>
5847 <xccdf:description xml:lang="en">
5848 Because the IPv6 networking code is relatively new and complex,
5849 it is particularly important that it be disabled unless needed. Despite configuration
5850 that suggests support for IPv6 has been disabled, link-local IPv6 address
5851 autoconfiguration occurs even when only an IPv4 address is assigned. The only way to
5852 effectively prevent execution of the IPv6 networking stack is to prevent the kernel from
5853 loading the IPv6 kernel module.</xccdf:description>
5854 <xccdf:reference>MO3:S0-C1-1</xccdf:reference>
5855 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.1">
5856 <xccdf:title xml:lang="en">Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5857 <xccdf:description xml:lang="en">
5858 To prevent the IPv6 kernel module (ipv6) from being loaded,
5859 add the following line to /etc/modprobe.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5860 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5861 install ipv6 /bin/true <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5862 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5863 When the kernel requests the ipv6 module, this line will direct the system to run the
5864 program /bin/true instead.</xccdf:description>
5865 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.1.a" selected="false" severity="medium" weight="10.0">
5866 <xccdf:title>Disable Automatic Loading of IPv6 Kernel Module</xccdf:title>
5867 <xccdf:description>Automatic loading of the IPv6 kernel module should be disabled.</xccdf:description>
5868 <xccdf:reference>MO3:S0-C1-1 MO3:S0-C1-2</xccdf:reference>
5869 <xccdf:ident system="http://cce.mitre.org">CCE-3562-6</xccdf:ident>
5870 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
5871 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5872 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20130"/>
5873 </xccdf:check>
5874 </xccdf:Rule>
5875 </xccdf:Group>
5876 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.1.2">
5877 <xccdf:title xml:lang="en">Disable Interface Usage of IPv6</xccdf:title>
5878 <xccdf:description xml:lang="en">
5879 To prevent configuration of IPv6 for all interfaces, add or
5880 correct the following lines in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5881 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5882 NETWORKING_IPV6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5883 IPV6INIT=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5884 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5885 For each network interface IFACE , add or correct the following lines in
5886 /etc/sysconfig/network-scripts/ifcfg-IFACE as an additional prevention mechanism:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5887 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5888 IPV6INIT=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5889 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5890 If it becomes necessary later to configure IPv6, only the interfaces
5891 requiring it should be enabled.</xccdf:description>
5892 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.a" selected="false" severity="medium" weight="10.0">
5893 <xccdf:title>Disable NETWORKING_IPV6 in /etc/sysconfig/network</xccdf:title>
5894 <xccdf:description>The default setting for IPv6 configuration should be disabled</xccdf:description>
5895 <xccdf:ident system="http://cce.mitre.org">CCE-3381-1</xccdf:ident>
5896 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5897 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5898 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20131"/>
5899 </xccdf:check>
5900 </xccdf:Rule>
5901 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.b" selected="false" severity="medium" weight="10.0">
5902 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network</xccdf:title>
5903 <xccdf:description>Global IPv6 initialization should be disabled</xccdf:description>
5904 <xccdf:ident system="http://cce.mitre.org">CCE-3377-9</xccdf:ident>
5905 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5906 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5907 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20132"/>
5908 </xccdf:check>
5909 </xccdf:Rule>
5910 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.1.2.c" selected="false" severity="medium" weight="10.0">
5911 <xccdf:title>Disable IPV6INIT in /etc/sysconfig/network-scripts/ifcfg-*</xccdf:title>
5912 <xccdf:description>IPv6 configuration should be disabled for all interfaces.</xccdf:description>
5913 <xccdf:ident system="http://cce.mitre.org">CCE-4296-0</xccdf:ident>
5914 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-*</xccdf:fixtext>
5915 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5916 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20133"/>
5917 </xccdf:check>
5918 </xccdf:Rule>
5919 </xccdf:Group>
5920 </xccdf:Group>
5921 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2">
5922 <xccdf:title xml:lang="en">Configure IPv6 Settings if Necessary</xccdf:title>
5923 <xccdf:description xml:lang="en">
5924 A major feature of IPv6 is the extent to which systems
5925 implementing it can automatically configure their networking devices using information
5926 from the network. From a security perspective, manually configuring important
5927 configuration information is always preferable to accepting it from the network in an
5928 unauthenticated fashion.</xccdf:description>
5929 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.1">
5930 <xccdf:title xml:lang="en">Disable Automatic Configuration</xccdf:title>
5931 <xccdf:description xml:lang="en">
5932 Disable the system's acceptance of router advertisements and
5933 redirects by adding or correcting the following line in /etc/sysconfig/network (note
5934 that this does not disable sending router solicitations): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5935 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
5936 IPV6_AUTOCONF=no</xccdf:description>
5937 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.a" operator="equals" type="string">
5938 <xccdf:title>IPV6_AUTOCONF</xccdf:title>
5939 <xccdf:description xml:lang="en">Toggle global IPv6 autoconfiguration (only, if global forwarding is disabled)</xccdf:description>
5940 <xccdf:question xml:lang="en">Enable/Disable global IPv6 autoconfiguration</xccdf:question>
5941 <xccdf:value>disabled</xccdf:value>
5942 <xccdf:value selector="enabled">enabled</xccdf:value>
5943 <xccdf:value selector="disabled">disabled</xccdf:value>
5944 <xccdf:match>enabled|disabled</xccdf:match>
5945 </xccdf:Value>
5946 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.b" operator="equals" type="string">
5947 <xccdf:title>net.ipv6.conf.default.accept_ra</xccdf:title>
5948 <xccdf:description xml:lang="en">accept default router advertisements</xccdf:description>
5949 <xccdf:question xml:lang="en">Enable/Disable IPv6 accepting default router advertisements</xccdf:question>
5950 <xccdf:value>no</xccdf:value>
5951 <xccdf:value selector="enabled">yes</xccdf:value>
5952 <xccdf:value selector="disabled">no</xccdf:value>
5953 <xccdf:match>yes|no</xccdf:match>
5954 </xccdf:Value>
5955 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.c" operator="equals" type="string">
5956 <xccdf:title>net.ipv6.conf.default.accept_redirects</xccdf:title>
5957 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5958 <xccdf:question xml:lang="en">Enable/Disable IPv6 default ICMP Redirect Acceptance</xccdf:question>
5959 <xccdf:value>disabled</xccdf:value>
5960 <xccdf:value selector="enabled">enabled</xccdf:value>
5961 <xccdf:value selector="disabled">disabled</xccdf:value>
5962 <xccdf:match>enabled|disabled</xccdf:match>
5963 </xccdf:Value>
5964 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.1.d" operator="equals" type="string">
5965 <xccdf:title>net.ipv6.conf.all.accept_redirects</xccdf:title>
5966 <xccdf:description xml:lang="en">Toggle ICMP Redirect Acceptance</xccdf:description>
5967 <xccdf:question xml:lang="en">Enable/Disable all IPv6 ICMP Redirect Acceptance</xccdf:question>
5968 <xccdf:value>disabled</xccdf:value>
5969 <xccdf:value selector="enabled">enabled</xccdf:value>
5970 <xccdf:value selector="disabled">disabled</xccdf:value>
5971 <xccdf:match>enabled|disabled</xccdf:match>
5972 </xccdf:Value>
5973 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.a" selected="false" severity="medium" weight="10.0">
5974 <xccdf:title>Disable IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:title>
5975 <xccdf:description>Accepting IPv6 router advertisements should be disabled for all interfaces.</xccdf:description>
5976 <xccdf:ident system="http://cce.mitre.org">CCE-4269-7</xccdf:ident>
5977 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
5978 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5979 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20134" value-id="xccdf_cdf_value_var-2.5.3.2.1.a"/>
5980 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20134"/>
5981 </xccdf:check>
5982 </xccdf:Rule>
5983 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.b" selected="false" severity="medium" weight="10.0">
5984 <xccdf:title>Disable accepting IPv6 router advertisements (net.ipv6.conf.default.accept_ra)</xccdf:title>
5985 <xccdf:description>The default setting for accepting IPv6 router advertisements should be: for all interfaces.</xccdf:description>
5986 <xccdf:ident system="http://cce.mitre.org">CCE-4291-1</xccdf:ident>
5987 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5988 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5989 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20135" value-id="xccdf_cdf_value_var-2.5.3.2.1.b"/>
5990 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20135"/>
5991 </xccdf:check>
5992 </xccdf:Rule>
5993 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.c" selected="false" severity="medium" weight="10.0">
5994 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.default.accept_redirects)</xccdf:title>
5995 <xccdf:description>Accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
5996 <xccdf:ident system="http://cce.mitre.org">CCE-4313-3</xccdf:ident>
5997 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
5998 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
5999 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20136" value-id="xccdf_cdf_value_var-2.5.3.2.1.c"/>
6000 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20136"/>
6001 </xccdf:check>
6002 </xccdf:Rule>
6003 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.1.d" selected="false" severity="medium" weight="10.0">
6004 <xccdf:title>Disable accepting redirects from IPv6 routers (net.ipv6.conf.all.accept_redirects)</xccdf:title>
6005 <xccdf:description>The default setting for accepting redirects from IPv6 routers should be: for all interfaces.</xccdf:description>
6006 <xccdf:ident system="http://cce.mitre.org">CCE-4198-8</xccdf:ident>
6007 <xccdf:fixtext>(1) via sysctl (2) via IPV6_AUTOCONF in /etc/sysconfig/network</xccdf:fixtext>
6008 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6009 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20137" value-id="xccdf_cdf_value_var-2.5.3.2.1.d"/>
6010 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20137"/>
6011 </xccdf:check>
6012 </xccdf:Rule>
6013 </xccdf:Group>
6014 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.2">
6015 <xccdf:title xml:lang="en">Manually Assign Global IPv6 Address</xccdf:title>
6016 <xccdf:description xml:lang="en">
6017 To manually assign an IP address for an interface IFACE, edit
6018 the file /etc/sysconfig/network-scripts/ ifcfg-IFACE. Add or correct the following
6019 line (substituting the correct IPv6 address): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6021 IPV6ADDR=2001:0DB8::ABCD/64 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6022 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6023 Manually
6024 assigning an IP address is preferable to accepting one from routers or from the
6025 network otherwise. The example address here is an IPv6 address reserved for
6026 documentation purposes, as defined by RFC3849.</xccdf:description>
6027 </xccdf:Group>
6028 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.3">
6029 <xccdf:title xml:lang="en">Use Privacy Extensions for Address if Necessary</xccdf:title>
6030 <xccdf:description xml:lang="en">
6031 To introduce randomness into the automatic generation of IPv6
6032 addresses, add or correct the following line in
6033 /etc/sysconfig/network-scripts/ifcfg-IFACE: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6034 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6035 IPV6_PRIVACY=rfc3041<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6037 Automatically-generated IPv6 addresses are based on the underlying hardware (e.g.
6038 Ethernet) address, and so it becomes possible to track a piece of hardware over its
6039 lifetime using its traffic. If it is important for a system's IP address to not
6040 trivially reveal its hardware address, this setting should be applied.</xccdf:description>
6041 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.3.a" operator="equals" type="string">
6042 <xccdf:title>IPV6_PRIVACY in /etc/sysconfig/network-scripts/ifcfg-IFACE</xccdf:title>
6043 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
6044 <xccdf:question xml:lang="en">Select control of IPv6 address creation privacy</xccdf:question>
6045 <xccdf:value>rfc3041</xccdf:value>
6046 <xccdf:value selector="disabled">disabled</xccdf:value>
6047 <xccdf:value selector="lightweight">lightweight</xccdf:value>
6048 <xccdf:value selector="rfc3041">rfc3041</xccdf:value>
6049 </xccdf:Value>
6050 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.3.a" selected="false" weight="10.0">
6051 <xccdf:title>Use Privacy Extensions for Address if Necessary</xccdf:title>
6052 <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>
6053 <xccdf:ident system="http://cce.mitre.org">CCE-3842-2</xccdf:ident>
6054 <xccdf:fixtext>(1) via IPV6_PRIVACY in
6055 /etc/sysconfig/network-scripts/ifcfg-&lt;interface&gt;</xccdf:fixtext>
6056 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6057 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20138" value-id="xccdf_cdf_value_var-2.5.3.2.3.a"/>
6058 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20138"/>
6059 </xccdf:check>
6060 </xccdf:Rule>
6061 </xccdf:Group>
6062 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.4">
6063 <xccdf:title xml:lang="en">Manually Assign IPv6 Router Address</xccdf:title>
6064 <xccdf:description xml:lang="en">
6065 Edit the file /etc/sysconfig/network-scripts/ifcfg-IFACE ,
6066 and add or correct the following line (substituting your gateway IP as appropriate):<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6067 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6068 IPV6_DEFAULTGW=2001:0DB8::0001 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6069 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6070 Router addresses should be manually set and not
6071 accepted via any autoconfiguration or router advertisement.</xccdf:description>
6072 </xccdf:Group>
6073 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.3.2.5">
6074 <xccdf:title xml:lang="en">Limit Network-Transmitted Configuration</xccdf:title>
6075 <xccdf:description xml:lang="en">
6076 Add the following lines to /etc/sysctl.conf to limit the
6077 configuration information requested from other systems, and accepted from the network:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6078 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6079 net.ipv6.conf.default.router_solicitations = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6080 net.ipv6.conf.default.accept_ra_rtr_pref = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6081 net.ipv6.conf.default.accept_ra_pinfo = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6082 net.ipv6.conf.default.accept_ra_defrtr = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6083 net.ipv6.conf.default.autoconf = 0<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6084 net.ipv6.conf.default.dad_transmits = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6085 net.ipv6.conf.default.max_addresses = 1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6087 The router solicitations setting determines how many router solicitations are sent
6088 when bringing up the interface. If addresses are statically assigned, there is no need
6089 to send any solicitations. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6090 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6091 The accept_ra_pinfo setting controls whether the system will
6092 accept prefix info from the router. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6093 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6094 The accept_ra_defrtr setting controls whether the
6095 system will accept Hop Limit settings from a router advertisement. Setting it to 0
6096 prevents a router from changing your default IPv6 Hop Limit for outgoing packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6097 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6098 The autoconf setting controls whether router advertisements can cause the system to
6099 assign a global unicast address to an interface. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6101 The dad_transmits setting determines how
6102 many neighbor solicitations to send out per address (global and link-local) when
6103 bringing up an interface to ensure the desired address is unique on the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6104 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6105 The max_addresses setting determines how many global unicast IPv6 addresses can be
6106 assigned to each interface. The default is 16, but it should be set to exactly the
6107 number of statically configured global addresses required.</xccdf:description>
6108 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.a" operator="equals" type="number">
6109 <xccdf:title> net.ipv6.conf.default.router_solicitations</xccdf:title>
6110 <xccdf:description xml:lang="en">
6111 Setting determines how many router solicitations are
6112 sent when bringing up the interface. If addresses are statically assigned, there
6113 is no need to send any solicitation</xccdf:description>
6114 <xccdf:question xml:lang="en">Select how many router solicitations are sent when bringing up the interface</xccdf:question>
6115 <xccdf:value>0</xccdf:value>
6116 <xccdf:value selector="0">0</xccdf:value>
6117 <xccdf:value selector="1">1</xccdf:value>
6118 </xccdf:Value>
6119 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.b" operator="equals" type="boolean">
6120 <xccdf:title>Accept Router Preference in Router Advertisements?</xccdf:title>
6121 <xccdf:description xml:lang="en">Control IPv6 privacy.</xccdf:description>
6122 <xccdf:question xml:lang="en">Enable/Disable IPv6 router advertisements</xccdf:question>
6123 <xccdf:value>0</xccdf:value>
6124 <xccdf:value selector="enabled">1</xccdf:value>
6125 <xccdf:value selector="disabled">0</xccdf:value>
6126 </xccdf:Value>
6127 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.c" operator="equals" type="boolean">
6128 <xccdf:title>net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
6129 <xccdf:description xml:lang="en">Setting controls whether the system will accept prefix info from the router</xccdf:description>
6130 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of router prefix info</xccdf:question>
6131 <xccdf:value>0</xccdf:value>
6132 <xccdf:value selector="enabled">1</xccdf:value>
6133 <xccdf:value selector="disabled">0</xccdf:value>
6134 </xccdf:Value>
6135 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.d" operator="equals" type="boolean">
6136 <xccdf:title>net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
6137 <xccdf:description xml:lang="en">
6138 Setting controls whether the system will accept Hop Limit
6139 settings from a router advertisement. Setting it to 0 prevents a router from
6140 changing your default IPv6 Hop Limit for outgoing packets.</xccdf:description>
6141 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of Hop limits from router advertisement</xccdf:question>
6142 <xccdf:value>0</xccdf:value>
6143 <xccdf:value selector="enabled">1</xccdf:value>
6144 <xccdf:value selector="disabled">0</xccdf:value>
6145 </xccdf:Value>
6146 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.e" operator="equals" type="boolean">
6147 <xccdf:title>net.ipv6.conf.default.autoconf</xccdf:title>
6148 <xccdf:description>Setting controls whether router advertisements can cause the system to assign a global unicast address to an interface.</xccdf:description>
6149 <xccdf:question xml:lang="en">Enable/Disable IPv6 acceptance of global unicast address from router advertisement</xccdf:question>
6150 <xccdf:value>0</xccdf:value>
6151 <xccdf:value selector="enabled">1</xccdf:value>
6152 <xccdf:value selector="disabled">0</xccdf:value>
6153 </xccdf:Value>
6154 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.f" operator="equals" type="number">
6155 <xccdf:title>net.ipv6.conf.default.dad_transmits</xccdf:title>
6156 <xccdf:description xml:lang="en">
6157 Setting determines how many neighbor solicitations to
6158 send out per address (global and link-local) when bringing up an interface to
6159 ensure the desired address is unique on the network</xccdf:description>
6160 <xccdf:question xml:lang="en">Select how many neighbor solicitations send out per address to ensure uniqueness of desired address for IPv6</xccdf:question>
6161 <xccdf:value>0</xccdf:value>
6162 <xccdf:value selector="0">0</xccdf:value>
6163 <xccdf:value selector="1">1</xccdf:value>
6164 </xccdf:Value>
6165 <xccdf:Value id="xccdf_cdf_value_var-2.5.3.2.5.g" operator="equals" type="number">
6166 <xccdf:title>net.ipv6.conf.default.max_addresses</xccdf:title>
6167 <xccdf:description>
6168 Setting determines how many global unicast IPv6 addresses can be
6169 assigned to each interface. The default is 16, but it should be set to exactly
6170 the number of statically configured global addresses required.</xccdf:description>
6171 <xccdf:question xml:lang="en">Select how many global unicast IPv6 addresses can be assigned to each interface</xccdf:question>
6172 <xccdf:value>16</xccdf:value>
6173 <xccdf:value selector="0">0</xccdf:value>
6174 <xccdf:value selector="1">1</xccdf:value>
6175 <xccdf:value selector="2">2</xccdf:value>
6176 <xccdf:value selector="4">4</xccdf:value>
6177 <xccdf:value selector="8">8</xccdf:value>
6178 <xccdf:value selector="16">16</xccdf:value>
6179 </xccdf:Value>
6180 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.a" selected="false" weight="10.0">
6181 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.router_solicitations</xccdf:title>
6182 <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>
6183 <xccdf:ident system="http://cce.mitre.org">CCE-4159-0</xccdf:ident>
6184 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.router_solicitations</xccdf:fixtext>
6185 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6186 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20139" value-id="xccdf_cdf_value_var-2.5.3.2.5.a"/>
6187 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20139"/>
6188 </xccdf:check>
6189 </xccdf:Rule>
6190 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.b" selected="false" weight="10.0">
6191 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:title>
6192 <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>
6193 <xccdf:ident system="http://cce.mitre.org">CCE-4221-8</xccdf:ident>
6194 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_rtr_pref</xccdf:fixtext>
6195 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6196 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20140" value-id="xccdf_cdf_value_var-2.5.3.2.5.b"/>
6197 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20140"/>
6198 </xccdf:check>
6199 </xccdf:Rule>
6200 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.c" selected="false" weight="10.0">
6201 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_pinfo</xccdf:title>
6202 <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>
6203 <xccdf:ident system="http://cce.mitre.org">CCE-4058-4</xccdf:ident>
6204 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_pinfo</xccdf:fixtext>
6205 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6206 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20141" value-id="xccdf_cdf_value_var-2.5.3.2.5.c"/>
6207 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20141"/>
6208 </xccdf:check>
6209 </xccdf:Rule>
6210 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.d" selected="false" weight="10.0">
6211 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.accept_ra_defrtr</xccdf:title>
6212 <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>
6213 <xccdf:ident system="http://cce.mitre.org">CCE-4128-5</xccdf:ident>
6214 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.accept_ra_defrtr</xccdf:fixtext>
6215 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6216 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20142" value-id="xccdf_cdf_value_var-2.5.3.2.5.d"/>
6217 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20142"/>
6218 </xccdf:check>
6219 </xccdf:Rule>
6220 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.e" selected="false" weight="10.0">
6221 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.autoconf</xccdf:title>
6222 <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>
6223 <xccdf:ident system="http://cce.mitre.org">CCE-4287-9</xccdf:ident>
6224 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.autoconf</xccdf:fixtext>
6225 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6226 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20143" value-id="xccdf_cdf_value_var-2.5.3.2.5.e"/>
6227 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20143"/>
6228 </xccdf:check>
6229 </xccdf:Rule>
6230 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.f" selected="false" weight="10.0">
6231 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.dad_transmits</xccdf:title>
6232 <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>
6233 <xccdf:ident system="http://cce.mitre.org">CCE-3895-0</xccdf:ident>
6234 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.dad_transmits</xccdf:fixtext>
6235 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6236 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20144" value-id="xccdf_cdf_value_var-2.5.3.2.5.f"/>
6237 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20144"/>
6238 </xccdf:check>
6239 </xccdf:Rule>
6240 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.3.2.5.g" selected="false" weight="10.0">
6241 <xccdf:title>Limit Network-Transmitted Configuration via net.ipv6.conf.default.max_addresses</xccdf:title>
6242 <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>
6243 <xccdf:ident system="http://cce.mitre.org">CCE-4137-6</xccdf:ident>
6244 <xccdf:fixtext>(1) via sysctl - net.ipv6.conf.default.max_addresses</xccdf:fixtext>
6245 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6246 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20145" value-id="xccdf_cdf_value_var-2.5.3.2.5.g"/>
6247 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20145"/>
6248 </xccdf:check>
6249 </xccdf:Rule>
6250 </xccdf:Group>
6251 </xccdf:Group>
6252 </xccdf:Group>
6253 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4">
6254 <xccdf:title xml:lang="en">TCP Wrapper</xccdf:title>
6255 <xccdf:description xml:lang="en">
6256 TCP Wrapper is a library which provides simple access control and
6257 standardized logging for supported applications which accept connections over a network.
6258 Historically, TCP Wrapper was used to support inetd services. Now that inetd is deprecated
6259 (see Section 3.2.1), TCP Wrapper supports only services which were built to make use of
6260 the libwrap library. To determine whether a given executable daemon /path/to/daemon
6261 supports TCP Wrapper, check the documentation, or run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6262 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6263 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ ldd /path/to/daemon | grep libwrap.so <xhtml:br/></xhtml:code>
6264 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6265 If this command returns any output, then the daemon probably supports TCP Wrapper. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6266 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6267 An alternative to TCP Wrapper support is packet filtering using iptables. Note
6268 that iptables works at the network level, while TCP Wrapper works at the application
6269 level. This means that iptables filtering is more efficient and more resistant to flaws in
6270 the software being protected, but TCP Wrapper provides support for logging, banners, and
6271 other application-level tricks which iptables cannot provide.</xccdf:description>
6272 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.1">
6273 <xccdf:title xml:lang="en">How TCP Wrapper Protects Services</xccdf:title>
6274 <xccdf:description xml:lang="en">
6275 TCP Wrapper provides access control for the system's network
6276 services using two configuration files. When a connection is attempted: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6277 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6278 <xhtml:li>The file
6279 /etc/hosts.allow is searched for a rule matching the connection. If one is found, the
6280 connection is allowed. </xhtml:li>
6281 <xhtml:li>Otherwise, the file /etc/hosts.deny is searched for a rule
6282 matching the connection. If one is found, the connection is rejected. </xhtml:li>
6283 <xhtml:li>If no matching
6284 rules are found in either file, then the connection is allowed. By default, TCP Wrapper
6285 does not block access to any services. </xhtml:li>
6286 </xhtml:ol>
6287 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6288 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"/>
6289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6290 daemon : client <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6291 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6292 where daemon is the
6293 name of the server process for which the connection is destined, and client is the
6294 partial or full hostname or IP address of the client. It is valid for daemon and client
6295 to contain one item, a comma-separated list of items, or a special keyword like ALL,
6296 which matches any service or client. (See the hosts access(5) manpage for a list of
6297 other keywords.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6299 Note: Partial hostnames start at the root domain and are delimited by
6300 the . character. So the client machine host03.dev.example.com, with IP address 10.7.2.3,
6301 could be matched by any of the specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6303 .example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6304 .dev.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6305 10.7.2.</xccdf:description>
6306 </xccdf:Group>
6307 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.2">
6308 <xccdf:title xml:lang="en">Reject All Connections From Other Hosts if Appropriate</xccdf:title>
6309 <xccdf:description xml:lang="en">
6310 Restrict all connections to non-public services to localhost
6311 only. Suppose pubsrv1 and pubsrv2 are the names of daemons which must be accessed
6312 remotely. Configure TCP Wrapper as follows. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6313 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6314 Edit /etc/hosts.allow. Add the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6315 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6316 pubsrv1 ,pubsrv2 : ALL<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6317 ALL: localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6318 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6319 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6320 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6321 ALL: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6322 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6323 These rules deny connections to all TCP Wrapper enabled services from any
6324 host other than localhost, but allow connections from anywhere to the services which
6325 must be publicly accessible. (If no public services exist, the first line in
6326 /etc/hosts.allow may be omitted.)</xccdf:description>
6327 </xccdf:Group>
6328 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.3">
6329 <xccdf:title xml:lang="en">Allow Connections Only From Hosts in This Domain if Appropriate</xccdf:title>
6330 <xccdf:description xml:lang="en">
6331 For each daemon, domainsrv , which only needs to be contacted
6332 from inside the local domain, example.com , configure TCP Wrapper to deny remote
6333 connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6334 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6335 Edit /etc/hosts.allow. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6337 domainsrv : .example.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6338 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6339 Edit /etc/hosts.deny. Add the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6341 domainsrv : ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6342 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6343 There are many possible
6344 examples of services which need to communicate only within the local domain. If a
6345 machine is a local compute server, it may be necessary for users to connect via SSH from
6346 their desktop workstations, but not from outside the domain. In that case, you should
6347 protect the daemon sshd using this method. As another example, RPC-based services such
6348 as NFS might be enabled within the domain only, in which case the daemon portmap should
6349 be protected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6351 </xccdf:description>
6352 <xccdf:warning xml:lang="en">Note: This example protects only the service domainsrv . No filtering is
6353 done on other services unless a line is entered into /etc/hosts.deny which refers to
6354 those services by name, or which restricts the special service ALL.</xccdf:warning>
6355 </xccdf:Group>
6356 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.4">
6357 <xccdf:title xml:lang="en">Monitor Syslog for Relevant Connections and Failures</xccdf:title>
6358 <xccdf:description xml:lang="en">
6359 Ensure that the following line exists in /etc/syslog.conf.
6360 (This is the default, so it is likely to be correct if the configuration has not been
6361 modified): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6362 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6363 authpriv.* /var/log/secure <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6364 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6365 Configure logwatch or other log monitoring tools
6366 to periodically summarize failed connections reported by TCP Wrapper at the facility
6367 authpriv.info. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6368 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6369 By default, TCP Wrapper audits all rejected connections at the facility
6370 authpriv, level info. In the log file, TCP Wrapper rejections will contain the
6371 substring: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6372 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6373 daemon [pid ]: refused connect from ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6374 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6375 These lines can be used to detect
6376 malicious scans, and to debug failures resulting from an incorrect TCP Wrapper
6377 configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6378 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6379 If appropriate, it is possible to change the syslog facility and level
6380 used by a given TCP Wrapper rule by adding the severity option to each desired
6381 configuration line in /etc/hosts.deny: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6382 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6383 daemon : client : severity facility .level <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6384 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6385 By default, successful connections are not logged by TCP Wrapper. See Section 2.6 for
6386 more information about system auditing.</xccdf:description>
6387 </xccdf:Group>
6388 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.4.5">
6389 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6390 <xccdf:description xml:lang="en">
6391 For more information about TCP Wrapper, see the tcpd(8) and
6392 hosts access(5) manpages and the documentation directory /usr/share/doc/tcp
6393 wrappers-version. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6394 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6395 Some information may be available from the Tools section of the
6396 author's website, http://www.porcupine.org, and from the RHEL4 Reference Guide [6].</xccdf:description>
6397 </xccdf:Group>
6398 </xccdf:Group>
6399 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5">
6400 <xccdf:title xml:lang="en">Iptables and Ip6tables</xccdf:title>
6401 <xccdf:description xml:lang="en">
6402 A host-based firewall called Netfilter is included as part of the
6403 Linux kernel distributed with the system. It is activated by default. This firewall is
6404 controlled by the program iptables, and the entire capability is frequently referred to by
6405 this name. An analogous program called ip6tables handles filtering for IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6406 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6407 Unlike TCP
6408 Wrappers, which depends on the network server program to support and respect the rules
6409 written, Netfilter filtering occurs at the kernel level, before a program can even process
6410 the data from the network packet. As such, any program on the system is affected by the
6411 rules written. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6412 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6413 This section provides basic information about strengthening the iptables
6414 and ip6tables configurations included with the system. For more complete information that
6415 may allow the construction of a sophisticated ruleset tailored to your environment, please
6416 consult the references at the end of this section.</xccdf:description>
6417 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.1">
6418 <xccdf:title xml:lang="en">Inspect and Activate Default Rules</xccdf:title>
6419 <xccdf:description xml:lang="en">
6420 View the currently-enforced iptables rules by running the
6421 command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6423 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># iptables -nL --line-numbers <xhtml:br/></xhtml:code>
6424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6425 The command is analogous for the ip6tables program. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6426 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6427 If the firewall does not appear to be active (i.e., no rules appear), activate
6428 it and ensure that it starts at boot by issuing the following commands (and analogously
6429 for ip6tables): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6430 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6431 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service iptables restart <xhtml:br/>
6432 # chkconfig iptables on <xhtml:br/></xhtml:code>
6433 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6434 The default iptables rules are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6435 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6436 Chain INPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6437 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6438 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"/>
6439 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6440 Chain FORWARD (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6441 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6442 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"/>
6443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6444 Chain OUTPUT (policy ACCEPT) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6445 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6446 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6447 Chain RH-Firewall-1-INPUT (2 references) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6448 num target prot opt source destination <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6449 1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6450 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"/>
6451 3 ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6452 4 ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6453 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"/>
6454 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"/>
6455 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"/>
6456 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"/>
6457 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"/>
6458 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"/>
6459 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6460 The ip6tables default rules are similar, with
6461 its rules 2 and 10 reflecting protocol naming and addressing differences. Instead of
6462 rule 8, however, ip6tables includes two rules that accept all incoming udp and tcp
6463 packets with a particular destination port range. This is because the current Netfilter
6464 implementation for IPv6 lacks reliable connection-tracking functionality.</xccdf:description>
6465 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.a" selected="false" severity="high" weight="10.0">
6466 <xccdf:title>Verify ip6tables is enabled</xccdf:title>
6467 <xccdf:description>The ip6tables service should be enabled.</xccdf:description>
6468 <xccdf:ident system="http://cce.mitre.org">CCE-4167-3</xccdf:ident>
6469 <xccdf:fix>chkconfig ip6tables on</xccdf:fix>
6470 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6471 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20146"/>
6472 </xccdf:check>
6473 </xccdf:Rule>
6474 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.1.b" selected="false" severity="high" weight="10.0">
6475 <xccdf:title>Verify iptables is enabled</xccdf:title>
6476 <xccdf:description>The iptables service should be enabled.</xccdf:description>
6477 <xccdf:ident system="http://cce.mitre.org">CCE-4189-7</xccdf:ident>
6478 <xccdf:fix>chkconfig iptables on</xccdf:fix>
6479 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6480 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20147"/>
6481 </xccdf:check>
6482 </xccdf:Rule>
6483 </xccdf:Group>
6484 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.2">
6485 <xccdf:title xml:lang="en">Understand the Default Ruleset</xccdf:title>
6486 <xccdf:description xml:lang="en">
6487 Understanding and creating firewall rules can be a challenging
6488 activity, filled with corner cases and difficult-todebug problems. Because of this,
6489 administrators should develop a thorough understanding of the default ruleset before
6490 carefully modifying it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6491 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6492 The default ruleset is divided into four sections, each of which
6493 is called a chain: INPUT, FORWARD, OUTPUT, and RH-Firewall-1-INPUT. INPUT, OUTPUT, and
6494 FORWARD are built-in chains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6495 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6496 <xhtml:li>The INPUT chain is activated on packets destined for
6497 (i.e., addressed to) the system. </xhtml:li>
6498 <xhtml:li>The OUTPUT chain is activated on packets which are
6499 originating from the system. </xhtml:li>
6500 <xhtml:li>The FORWARD chain is activated for packets that the
6501 system will process and send through another interface, if so configured. </xhtml:li>
6502 <xhtml:li>The
6503 RH-Firewall-1-INPUT chain is a custom (or user-defined) chain, which is used by the
6504 INPUT and FORWARD chains. </xhtml:li>
6505 </xhtml:ul>
6506 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6507 A packet starts at the first rule in the appropriate chain and
6508 proceeds until it matches a rule. If a match occurs, then control will jump to the
6509 specified target. The default ruleset uses the built-in targets ACCEPT and REJECT, and
6510 also the user-defined target/chain RH-Firewall-1-INPUT. Jumping to the target ACCEPT
6511 means to allow the packet through, while REJECT means to drop the packet and send an
6512 error message to the sending host. A related target called DROP means to drop the packet
6513 on the floor without even sending an error message. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6514 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6515 The default policy for all of the
6516 built-in chains (shown after their names in the rule output above) is set to ACCEPT.
6517 This means that if no rules in the chain match the packets, they are allowed through.
6518 Because no rules at all are written for the OUTPUT chain, this means that iptables does
6519 not stop any packets originating from the system. The INPUT and FORWARD chains jump to
6520 the user-defined target RH-Firewall-1-INPUT for all packets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6521 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6522 RH-Firewall-1-INPUT tries
6523 to match, in order, the following rules for both iptables and ip6tables: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6524 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6525 <xhtml:li>Rule 1
6526 appears to accept all packets. However, this appears true only because the rules are not
6527 presented in verbose mode. Executing the command <xhtml:br/>
6528 <xhtml:br/>
6529 <xhtml:code># iptables -vnL --line-numbers <xhtml:br/></xhtml:code>
6530 <xhtml:br/>
6531 reveals
6532 that this rule applies only to the loopback (lo) interface (see column in), while all
6533 other rules apply to all interfaces. Thus, packets not coming from the loopback
6534 interface do not match and proceed to the next rule. </xhtml:li>
6535 <xhtml:li>Rule 2 explicitly allows all icmp
6536 packet types; iptables uses the code 255 to mean all icmp types. </xhtml:li>
6537 <xhtml:li>Rule 3 explicitly
6538 allows all esp packets; these are packets which contain IPsec ESP headers.</xhtml:li>
6539 <xhtml:li>Rule 4
6540 explicitly allows all ah packets; these are packets which contain an IPsec
6541 authentication header SPI. </xhtml:li>
6542 <xhtml:li>Rule 5 allows inbound communication on udp port 5353
6543 (mDNS), which the avahi daemon uses. </xhtml:li>
6544 <xhtml:li>Rules 6 and 7 allows inbound communication on
6545 both tcp and udp port 631, which the cups daemon uses. </xhtml:li>
6546 <xhtml:li>Rule 8, in the iptables rules,
6547 allows inbound packets that are part of a session initiated by the system. In ip6tables,
6548 rules 8 and 9 allow any inbound packets with a destination port address between 32768
6549 and 61000. </xhtml:li>
6550 <xhtml:li>Rule 9 (10, for ip6tables) allows inbound connections in tcp port 22, which
6551 is the SSH protocol. </xhtml:li>
6552 <xhtml:li>Rule 10 (11, for ip6tables) rejects all other packets and sends
6553 an error message to the sender. Because this is the last rule and matches any packet, it
6554 effectively prevents any packet from reaching the chain's default ACCEPT target.
6555 Preventing the acceptance of any packet that is not explicitly allowed is proper design
6556 for a firewall.</xhtml:li>
6557 </xhtml:ul></xccdf:description>
6558 </xccdf:Group>
6559 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3">
6560 <xccdf:title xml:lang="en">Strengthen the Default Ruleset</xccdf:title>
6561 <xccdf:description xml:lang="en">
6562 The default rules can be strengthened. The system scripts that
6563 activate the firewall rules expect them to be defined in the configuration files
6564 iptables and ip6tables in the directory /etc/sysconfig. Many of the lines in these files
6565 are similar to the command line arguments that would be provided to the programs
6566 /sbin/iptables or /sbin/ip6tables – but some are quite different. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6568 The following recommendations describe how to strengthen the default
6569 ruleset configuration file. An alternative to editing this configuration file is to
6570 create a shell script that makes calls to the iptables program to load in rules, and
6571 then invokes service iptables save to write those loaded rules to
6572 /etc/sysconfig/iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6573 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6574 The following alterations can be made directly to
6575 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables. Instructions apply to both unless
6576 otherwise noted. Language and address conventions for regular iptables are used
6577 throughout this section; configuration for ip6tables will be either analogous or
6578 explicitly covered.</xccdf:description>
6579 <xccdf:warning xml:lang="en">The program
6580 system-config-securitylevel allows additional services to penetrate the default firewall
6581 rules and automatically adjusts /etc/ sysconfig/ iptables . This program is only useful
6582 if the default ruleset meets your security requirements. Otherwise, this program should
6583 not be used to make changes to the firewall configuration because it re-writes the saved
6584 configuration file. </xccdf:warning>
6585 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.1">
6586 <xccdf:title xml:lang="en">Change the Default Policies</xccdf:title>
6587 <xccdf:description xml:lang="en">
6588 Change the default policy to DROP (from ACCEPT) for the INPUT
6589 and FORWARD built-in chains: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6590 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6591 *filter <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6592 :INPUT DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6593 :FORWARD DROP [0:0] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6595 Changing
6596 the default policy in this way implements proper design for a firewall, i.e. any
6597 packets which are not explicitly permitted should not be accepted.</xccdf:description>
6598 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.a" selected="false" severity="high" weight="10.0">
6599 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</xccdf:title>
6600 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</xccdf:description>
6601 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6602 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6603 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201474"/>
6604 </xccdf:check>
6605 </xccdf:Rule>
6606 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.5.3.1.b" selected="false" severity="high" weight="10.0">
6607 <xccdf:title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</xccdf:title>
6608 <xccdf:description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</xccdf:description>
6609 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
6610 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
6611 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201475"/>
6612 </xccdf:check>
6613 </xccdf:Rule>
6614 </xccdf:Group>
6615 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.2">
6616 <xccdf:title xml:lang="en">Restrict ICMP Message Types</xccdf:title>
6617 <xccdf:description xml:lang="en">
6618 In /etc/sysconfig/iptables, the accepted ICMP messages types
6619 can be restricted. To accept only ICMP echo reply, destination unreachable, and time
6620 exceeded messages, remove the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6621 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6622 -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6623 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6624 and insert the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6625 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-reply -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6626 -A RH-Firewall-1-INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6627 -A RH-Firewall-1-INPUT -p icmp --icmp-type time-exceeded -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6628 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6629 To allow the system to respond to pings, also insert the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6630 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6631 -A RH-Firewall-1-INPUT -p icmp --icmp-type echo-request -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6632 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6633 Ping responses can also be limited to certain
6634 networks or hosts by using the -s option in the previous rule. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6635 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6636 Because IPv6 depends so
6637 heavily on ICMPv6, it is preferable to deny the ICMPv6 packets you know you don't need
6638 (e.g. ping requests) in /etc/sysconfig/ip6tables, while letting everything else
6639 through: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6640 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6641 -A RH-Firewall-1-INPUT -p icmpv6 --icmpv6-type echo-request -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6642 If you
6643 are going to statically configure the machine's address, it should ignore Router
6644 Advertisements which could add another IPv6 address to the interface or alter
6645 important network settings: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6647 -A RH-Firewall-1-INPUT -p icmpv6 --icmpv6-type router-advertisement -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6648 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6649 Restricting other ICMPv6 message types in
6650 /etc/sysconfig/ip6tables is not recommended because the operation of IPv6 depends
6651 heavily on ICMPv6. Thus, more care must be taken when blocking ICMPv6 types.</xccdf:description>
6652 </xccdf:Group>
6653 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.3">
6654 <xccdf:title xml:lang="en">Remove IPsec Rules</xccdf:title>
6655 <xccdf:description xml:lang="en">
6656 If the system will not process IPsec traffic, then remove the
6657 following rules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6659 -A RH-Firewall-1-INPUT -p 50 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6660 -A RH-Firewall-1-INPUT -p 51 -j ACCEPT<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/></xccdf:description>
6661 </xccdf:Group>
6662 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.4">
6663 <xccdf:title xml:lang="en">Log and Drop Packets with Suspicious Source Addresses</xccdf:title>
6664 <xccdf:description xml:lang="en">
6665 Packets with non-routable source addresses should be
6666 rejected, as they may indicate spoofing. Because the modified policy will reject
6667 non-matching packets, you only need to add these rules if you are interested in also
6668 logging these spoofing or suspicious attempts before they are dropped. If you do
6669 choose to log various suspicious traffic, add identical rules with a target of DROP
6670 after each LOG. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6672 To log and then drop these IPv4 packets, insert the following rules in
6673 /etc/sysconfig/iptables (excepting any that are intentionally used): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6674 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6675 -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"/>
6676 -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"/>
6677 -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"/>
6678 -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"/>
6679 -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"/>
6680 -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"/>
6681 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6682 Similarly, you might wish to log packets containing some IPv6
6683 reserved addresses if they are not expected on your network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6684 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6685 -A INPUT -i eth0 -s ::1 -j LOG --log-prefix "IPv6 DROP LOOPBACK: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6686 -A INPUT -s 2002:E000::/20 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6687 -A INPUT -s 2002:7F00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6688 -A INPUT -s 2002:0000::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6689 -A INPUT -s 2002:FF00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6690 -A INPUT -s 2002:0A00::/24 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6691 -A INPUT -s 2002:AC10::/28 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6692 -A INPUT -s 2002:C0A8::/32 -j LOG --log-prefix "IPv6 6to4 TRAFFIC: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6693 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6694 If you are not expecting to see site-local multicast or auto-tunneled traffic, you
6695 can log those: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6696 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6697 -A INPUT -s FF05::/16 -j LOG --log-prefix "IPv6 SITE-LOCAL MULTICAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6698 -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"/>
6699 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6700 If you wish to block multicasts to all
6701 link-local nodes (e.g. if you are not using router autoconfiguration and do not plan
6702 to have any services that multicast to the entire local network), you can block the
6703 link-local all-nodes multicast address (before accepting incoming ICMPv6): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6704 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6705 -A INPUT -d FF02::1 -j LOG --log-prefix "Link-local All-Nodes Multicast: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6706 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6707 However, if you're
6708 going to allow IPv4 compatible IPv6 addresses (of the form ::0.0.0.0/96), you should
6709 then consider logging the non-routable IPv4-compatible addresses: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6710 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6711 -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"/>
6712 -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"/>
6713 -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"/>
6714 -A INPUT -s ::255.0.0.0/104 -j LOG --log-prefix "IP BROADCAST: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6715 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6716 If you are not expecting to see any IPv4 (or IPv4-compatible) traffic
6717 on your network, consider logging it before it gets dropped: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6718 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6719 -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"/>
6720 -A INPUT -s 2002::/16 -j LOG --log-prefix "IPv6 6to4 ADDR: " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6721 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6722 The following rule will log all traffic
6723 originating from a site-local address, which is deprecated address space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6724 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6725 -A INPUT -s FEC0::/10 -j LOG --log-prefix "SITE-LOCAL ADDRESS TRAFFIC: "</xccdf:description>
6726 </xccdf:Group>
6727 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.3.5">
6728 <xccdf:title xml:lang="en">Log and Drop All Other Packets</xccdf:title>
6729 <xccdf:description xml:lang="en">
6730 To log before dropping all packets that are not explicitly
6731 accepted by previous rules, change the final lines from <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6732 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6733 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6734 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6735 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6736 to <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6737 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6738 -A RH-Firewall-1-INPUT -j LOG <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6739 -A RH-Firewall-1-INPUT -j DROP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6740 COMMIT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6741 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6742 The rule to log all dropped packets must be used
6743 with care. Chatty but otherwise non-malicious network protocols (e.g. NetBIOS) may
6744 result in voluminous logs; insertion of earlier rules to explicitly drop their packets
6745 without logging may be appropriate.</xccdf:description>
6746 </xccdf:Group>
6747 </xccdf:Group>
6748 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.4">
6749 <xccdf:title xml:lang="en">Further Strengthening</xccdf:title>
6750 <xccdf:description xml:lang="en">
6751 Further strengthening, particularly as a result of
6752 customization to a particular environment, is possible for the iptables rules. Consider
6753 the following options, though their practicality depends on the network environment and
6754 usage scenario: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6755 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6756 <xhtml:li>Restrict outgoing traffic. As shown above, the OUTPUT chain's default
6757 policy can be changed to DROP, and rules can be written to specifically allow only
6758 certain types of outbound traffic. Such a policy could prevent casual usage of insecure
6759 protocols such as ftp and telnet, or even disrupt spyware. However, it would still not
6760 prevent a sophisticated user or program from using a proxy to circumvent the intended
6761 effects, and many client programs even try to automatically tunnel through port 80 to
6762 avoid such restrictions.</xhtml:li>
6763 <xhtml:li>SYN flood protection. SYN flood protection can be provided by
6764 iptables, but might run into limiting issues for servers. For example, the iplimit match
6765 can be used to limit simultaneous connections from a given host or class. Similarly, the
6766 recent match allows the firewall to deny additional connections from any host within a
6767 given period of time (e.g. more than 3 –state NEW connections on port 22 within a minute
6768 to prevent dictionary login attacks). <xhtml:br/>
6769 <xhtml:br/>
6770 A more precise option for DoS protection is using
6771 TCP SYN cookies. (See Section 2.5.1.2 for more information.)</xhtml:li>
6772 </xhtml:ul></xccdf:description>
6773 </xccdf:Group>
6774 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.5.5">
6775 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6776 <xccdf:description xml:lang="en">
6777 More complex, restrictive, and powerful rulesets can be
6778 created, but this requires careful customization that relies on knowledge of the
6779 particular environment. The following resources provide more detailed information: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6780 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6781 <xhtml:li>The iptables(8) man page </xhtml:li>
6782 <xhtml:li>The Netfilter Project's documentation at http://www.netfilter.org</xhtml:li>
6783 <xhtml:li>The Red Hat Enterprise Linux Reference Guide</xhtml:li>
6784 </xhtml:ul></xccdf:description>
6785 </xccdf:Group>
6786 </xccdf:Group>
6787 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6">
6788 <xccdf:title xml:lang="en">Secure Sockets Layer Support</xccdf:title>
6789 <xccdf:description xml:lang="en">
6790 The Secure Sockets Layer (SSL) protocol provides encrypted and
6791 authenticated network communications, and many network services include support for it.
6792 Using SSL is recommended, especially to avoid any plaintext transmission of sensitive
6793 data, even over a local network. The SSL implementation included with the system is called
6794 OpenSSL. Recent implementations of SSL may also be referred to as Transport Layer Security
6795 (TLS). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6796 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6797 SSL uses public key cryptography to provide authentication and encryption. Public
6798 key cryptography involves two keys, one called the public key and the other called the
6799 private key. These keys are mathematically related such that data encrypted with one key
6800 can only be decrypted by the other, and vice versa. As their names suggest, public keys
6801 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"/>
6802 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6803 SSL uses certificates, which are files that hold cryptographic data: a public key, and a
6804 signature of that public key. In SSL authentication, a server presents a client with its
6805 certificate as a means of demonstrating that it is who it claims it is. If everything goes
6806 correctly, the client can verify the server's certificate by determining that the
6807 signature inside the certificate could only have been generated by a third party whom the
6808 client trusts. This third party is called a Certificate Authority (CA). Each client system
6809 should also have certificates from trusted CAs, and the client uses these CA certificates
6810 to verify the authenticity of the server's certificate. After authenticating a server
6811 using its certificate and a CA certificate, SSL provides encryption by using the server
6812 certificate to securely negotiate a shared secret key. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6814 If your server must communicate
6815 using SSL with systems that might not be able to securely accept a new CA certificate
6816 prior to any SSL communication, then paying an established CA (whose certificates your
6817 clients already have) to sign your server certificates is recommended. The steps for doing
6818 this vary by vendor. Once the signed certificates have been obtained, configuration of the
6819 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"/>
6820 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6821 For setting up an internal network and encrypting local traffic, creating your own CA to
6822 sign SSL certificates can be appropriate. The major steps in this process are: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6823 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6824 <xhtml:li>Create a CA to sign certificates </xhtml:li>
6825 <xhtml:li>Create SSL certificates for servers using that CA</xhtml:li>
6826 <xhtml:li>Enableclient support by distributing the CA's certificate</xhtml:li>
6827 </xhtml:ol></xccdf:description>
6828 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.1">
6829 <xccdf:title xml:lang="en">Create a CA to Sign Certificates</xccdf:title>
6830 <xccdf:description xml:lang="en">
6831 The following instructions apply to OpenSSL since it is
6832 included with the system, but creating a CA is possible with any standards-compliant SSL
6833 toolkit. The security of certificates depends on the security of the CA that signed
6834 them, so performing these steps on a secure machine is critical. The system used as a CA
6835 should be physically secure and not connected to any network. It should receive any
6836 certificate signing requests (CSRs) via removable media and output certificates onto
6837 removable media. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6838 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6839 The script /etc/pki/tls/misc/CA is included to assist in the process of
6840 setting up a CA. This script uses many settings in /etc/pki/tls/openssl.cnf. The
6841 settings in this file can be changed to suit your needs and allow easier selection of
6842 default settings, particularly in the [req distinguished name] section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6843 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6844 To create the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6845 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6846 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/misc <xhtml:br/>
6847 # ./CA -newca <xhtml:br/></xhtml:code>
6848 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6849 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6850 <xhtml:li>When prompted, press enter to create a new CA key with the default name cakey.pem.</xhtml:li>
6851 <xhtml:li>When prompted, enter a password that will protect the private key, then enter the same password
6852 again to verify it.</xhtml:li>
6853 <xhtml:li>At the prompts, fill out as much of the CA information as is relevant for your site. You must specify
6854 a common name, or generation of the CA certificate will fail. </xhtml:li>
6855 <xhtml:li>Next, you will be prompted for the password, so that the script can re-open the private key in order
6856 to write the certificate.</xhtml:li>
6857 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6858 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6859 This step performs the following actions:
6860 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6861 <xhtml:li>creates the directory
6862 /etc/pki/CA (by default), which contains files necessary for the operation of a
6863 certificate authority. These are:</xhtml:li>
6864 <xhtml:ul>
6865 <xhtml:li>serial, which contains the current serial number for certificates signed by the CA</xhtml:li>
6866 <xhtml:li>index.txt, which is a text database file that contains information about certificates signed</xhtml:li>
6867 <xhtml:li>crl, which is a directory for holding revoked certificates</xhtml:li>
6868 <xhtml:li>private, a directory which stores the CA's private key</xhtml:li>
6869 </xhtml:ul>
6870 <xhtml:li>creates a public-private key pair for the CA in the file /etc/pki/CA/private/cakey.pem. The
6871 private key must be kept private in order to ensure the security of the certificates the CA will later sign.</xhtml:li>
6872 <xhtml:li>signs the public key (using the corresponding private key, in a process called self-signing) to create the CA
6873 certificate, which is then stored in /etc/pki/CA/cacert.pem. </xhtml:li>
6874 <xhtml:li/>
6875 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6876 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6877 When the CA later signs a server certificate using its private
6878 key, it means that it is vouching for the authenticity of that server. A client can then
6879 use the CA's certificate (which contains its public key) to verify the authenticity of
6880 the server certificate. To accomplish this, it is necessary to distribute the CA
6881 certificate to any clients as covered in Section 2.5.6.3.</xccdf:description>
6882 </xccdf:Group>
6883 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.2">
6884 <xccdf:title xml:lang="en">Create SSL Certificates for Servers</xccdf:title>
6885 <xccdf:description xml:lang="en">
6886 Creating an SSL certificate for a server involves the following steps: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6887 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6888 <xhtml:li>A public-private key pair for the server must be generated.</xhtml:li>
6889 <xhtml:li>A certificate signing request (CSR) must be created from the key pair.</xhtml:li>
6890 <xhtml:li>The CSR must be signed by a
6891 certificate authority (CA) to create the server certificate. If a CA has been set up as
6892 described in Section 2.5.6.1, it can sign the CSR.</xhtml:li>
6893 <xhtml:li>The server certificate and keys must be installed on the server. </xhtml:li>
6894 </xhtml:ol>
6895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6896 Instructions on how to generate and sign SSL certificates are provided for the following
6897 common services:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6898 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6899 <xhtml:li>Mail server, in Section 3.11.4.6.</xhtml:li>
6900 <xhtml:li>Dovecot, in Section 3.17.2.2. </xhtml:li>
6901 <xhtml:li>Apache, in Section 3.16.4.1.</xhtml:li>
6902 </xhtml:ul></xccdf:description>
6903 </xccdf:Group>
6904 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3">
6905 <xccdf:title xml:lang="en">Enable Client Support</xccdf:title>
6906 <xccdf:description xml:lang="en">
6907 The system ships with certificates from well-known commercial
6908 CAs. If your server certificates were signed by one of these established CAs, then this
6909 step is not necessary since the clients should include the CA certificate already. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6910 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6911 If your servers use certificates signed by your own CA, some user applications will warn
6912 that the server's certificate cannot be verified because the CA is not recognized. Other
6913 applications may simply fail to accept the certificate and refuse to operate, or
6914 continue operating without ever having properly verified the server certificate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6915 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6916 To avoid this warning, and properly authenticate the servers, your CA certificate must be
6917 exported to every application on every client system that will be connecting to an
6918 SSL-enabled server.</xccdf:description>
6919 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.1">
6920 <xccdf:title xml:lang="en">Adding a Trusted CA for Firefox</xccdf:title>
6921 <xccdf:description xml:lang="en">
6922 Firefox needs to have a certificate from the CA that signed
6923 the web server's certificate, so that it can authenticate the web server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6925 To import a new CA certificate into Firefox 1.5:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6926 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6927 <xhtml:li>Launch Firefox and choose Preferences from the Edit menu. </xhtml:li>
6928 <xhtml:li>Click the Advanced button.</xhtml:li>
6929 <xhtml:li>Select the Security pane.</xhtml:li>
6930 <xhtml:li>Click the View Certificates button.</xhtml:li>
6931 <xhtml:li>Click the Authorities tab. </xhtml:li>
6932 <xhtml:li>Click the Import button at the bottom of the screen.</xhtml:li>
6933 <xhtml:li>Navigate to the CA certificate and import it.</xhtml:li>
6934 </xhtml:ol></xccdf:description>
6935 </xccdf:Group>
6936 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.2">
6937 <xccdf:title xml:lang="en">Adding a Trusted CA for Thunderbird</xccdf:title>
6938 <xccdf:description xml:lang="en">
6939 Thunderbird needs to have a certificate from the CA that
6940 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"/>
6941 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6942 To import a new CA certificate into Thunderbird 2: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6943 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6944 <xhtml:li>Launch Thunderbird and choose Account Settings from the Edit menu.</xhtml:li>
6945 <xhtml:li>Click the Advanced button.</xhtml:li>
6946 <xhtml:li>Select the Certificates tab</xhtml:li>
6947 <xhtml:li>Click the View Certificates button.</xhtml:li>
6948 <xhtml:li>Select the Authorities tab.</xhtml:li>
6949 <xhtml:li>Click the Import button at the bottom of the screen.</xhtml:li>
6950 <xhtml:li>Navigate to the CA certificate and import it. Determine whether the CA should
6951 be used to identify web sites, e-mail users, and software developers and trust it for
6952 each accordingly.</xhtml:li>
6953 </xhtml:ol></xccdf:description>
6954 </xccdf:Group>
6955 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.3.3">
6956 <xccdf:title xml:lang="en">Adding a Trusted CA for Evolution</xccdf:title>
6957 <xccdf:description xml:lang="en">
6958 The Evolution e-mail client needs to have a certificate from
6959 the CA that signed the mail server's certificates, so that it can authenticate the
6960 mail server(s). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6961 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6962 To import a new CA certificate into Evolution: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6963 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
6964 <xhtml:li>Launch Evolution and choose Preferences from the Edit menu.</xhtml:li>
6965 <xhtml:li>Select Certificates from the icon list on the left.</xhtml:li>
6966 <xhtml:li>Select the Authorities tab.</xhtml:li>
6967 <xhtml:li>Click the Import button.</xhtml:li>
6968 <xhtml:li/>
6969 <xhtml:li/>
6970 <xhtml:li>Navigate to the CA certificate and import it.</xhtml:li>
6971 </xhtml:ol></xccdf:description>
6972 </xccdf:Group>
6973 </xccdf:Group>
6974 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.6.4">
6975 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
6976 <xccdf:description xml:lang="en">
6977 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
6978 <xhtml:li>The OpenSSL Project home page at http://www.openssl.org</xhtml:li>
6979 <xhtml:li>The openssl(1) man page</xhtml:li>
6980 <xhtml:li>Jeremy Mates's how-to: http://sial.org/howto/openssl</xhtml:li>
6981 </xhtml:ul>
6982 </xccdf:description>
6983 </xccdf:Group>
6984 </xccdf:Group>
6985 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7">
6986 <xccdf:title xml:lang="en">Uncommon Network Protocols</xccdf:title>
6987 <xccdf:description xml:lang="en">
6988 The system includes support for several network protocols which are not commonly used. Although security vul-
6989 nerabilities in kernel networking code are not frequently discovered, the consequences can be dramatic. Ensuring
6990 uncommon network protocols are disabled reduces the system’s risk to attacks targeted at its implementation of
6991 those protocols.</xccdf:description>
6992 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.1">
6993 <xccdf:title xml:lang="en">Disable Support for DCCP</xccdf:title>
6994 <xccdf:description xml:lang="en">
6995 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"/>
6996 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6997 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install dccp /bin/true<xhtml:br/></xhtml:code>
6998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
6999 The Datagram Congestion Control Protocol (DCCP) is a relatively new transport layer protocol, designed to
7000 support streaming media and telephony.</xccdf:description>
7001 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.1.a" selected="false" severity="medium" weight="10.0">
7002 <xccdf:title>Disable Support for DCCP</xccdf:title>
7003 <xccdf:description>Support for DCCP should be disabled.</xccdf:description>
7004 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7005 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7006 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201476"/>
7007 </xccdf:check>
7008 </xccdf:Rule>
7009 </xccdf:Group>
7010 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.2">
7011 <xccdf:title xml:lang="en">Disable Support for SCTP</xccdf:title>
7012 <xccdf:description xml:lang="en">
7013 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"/>
7014 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7015 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install sctp /bin/true<xhtml:br/></xhtml:code>
7016 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7017 The Stream Control Transmission Protocol (SCTP) is a transport layer protocol, designed to support the idea
7018 of message-oriented communication, with several streams of messages within one connection.</xccdf:description>
7019 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.2.a" selected="false" severity="medium" weight="10.0">
7020 <xccdf:title>Disable Support for SCTP</xccdf:title>
7021 <xccdf:description>Support for SCTP should be disabled.</xccdf:description>
7022 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7023 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7024 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201477"/>
7025 </xccdf:check>
7026 </xccdf:Rule>
7027 </xccdf:Group>
7028 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.3">
7029 <xccdf:title xml:lang="en">Disable Support for RDS</xccdf:title>
7030 <xccdf:description xml:lang="en">
7031 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"/>
7032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7033 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
7034 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7035 The Reliable Datagram Sockets (RDS) protocol is a transport layer protocol designed to provide reliable high-
7036 bandwidth, low-latency communications between nodes in a cluster.</xccdf:description>
7037 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.3.a" selected="false" severity="medium" weight="10.0">
7038 <xccdf:title>Disable Support for RDS</xccdf:title>
7039 <xccdf:description>Support for RDS should be disabled.</xccdf:description>
7040 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7041 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7042 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201478"/>
7043 </xccdf:check>
7044 </xccdf:Rule>
7045 </xccdf:Group>
7046 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.5.7.4">
7047 <xccdf:title xml:lang="en">Disable Support for TIPC</xccdf:title>
7048 <xccdf:description xml:lang="en">
7049 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"/>
7050 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7051 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">install rds /bin/true<xhtml:br/></xhtml:code>
7052 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7053 The Transparent Inter-Process Communication (TIPC) protocol is designed to provide communications between
7054 nodes in a cluster..</xccdf:description>
7055 <xccdf:Rule id="xccdf_cdf_rule_rule-2.5.7.4.a" selected="false" severity="medium" weight="10.0">
7056 <xccdf:title>Disable Support for TIPC</xccdf:title>
7057 <xccdf:description>Support for TIPC should be disabled.</xccdf:description>
7058 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
7059 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7060 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201479"/>
7061 </xccdf:check>
7062 </xccdf:Rule>
7063 </xccdf:Group>
7064 </xccdf:Group>
7065 </xccdf:Group>
7066 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6">
7067 <xccdf:title xml:lang="en">Logging and Auditing</xccdf:title>
7068 <xccdf:description xml:lang="en">
7069 Successful local or network attacks on systems do not necessarily
7070 leave clear evidence of what happened. It is necessary to build a configuration in advance
7071 that collects this evidence, both in order to determine that something anomalous has
7072 occurred, and in order to respond appropriately. In addition, a well-configured logging and
7073 audit infrastructure will show evidence of any misconfiguration which might leave the system
7074 vulnerable to attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7076 Logging and auditing take different approaches to collecting data. A
7077 logging infrastructure provides a framework for individual programs running on the system to
7078 report whatever events are considered interesting: the sshd program may report each
7079 successful or failed login attempt, while the sendmail program may report each time it sends
7080 an e-mail on behalf of a local or remote user. An auditing infrastructure, on the other
7081 hand, reports each instance of certain low-level events, such as entry to the setuid system
7082 call, regardless of which program caused the event to occur. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7083 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7084 Auditing has the advantage of
7085 being more comprehensive, but the disadvantage of reporting a large amount of information,
7086 most of which is uninteresting. Logging (particularly using a standard framework like
7087 syslog) has the advantage of being compatible with a wide variety of client applications,
7088 and of reporting only information considered important by each application, but the
7089 disadvantage that the information reported is not consistent between applications. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7090 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7091 A robust
7092 infrastructure will perform both logging and auditing, and will use configurable automated
7093 methods of summarizing the reported data, so that system administrators can remove or
7094 compress reports of events known to be uninteresting in favor of alert monitoring for events
7095 known to be interesting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7096 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7097 This section discusses how to configure logging, log monitoring,
7098 and auditing, using tools included with RHEL5. It is recommended that syslog be used for
7099 logging, with logwatch providing summarization, and that auditd be used for auditing, with
7100 aureport providing summarization.</xccdf:description>
7101 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1">
7102 <xccdf:title xml:lang="en">Configure Syslog</xccdf:title>
7103 <xccdf:description xml:lang="en">
7104 Syslog has been the default Unix logging mechanism for many years. This section
7105 discusses how to configure syslog for best effect, and how to use tools provided with the
7106 system to maintain and monitor your logs.</xccdf:description>
7107 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.a" selected="false" severity="medium" weight="10.0">
7108 <xccdf:title>Configure Rsyslog</xccdf:title>
7109 <xccdf:description>The rsyslog service should be enabled.</xccdf:description>
7110 <xccdf:ident system="http://cce.mitre.org">CCE-3679-8</xccdf:ident>
7111 <xccdf:fix>chkconfig rsyslog on</xccdf:fix>
7112 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7113 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20148"/>
7114 </xccdf:check>
7115 </xccdf:Rule>
7116 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.1">
7117 <xccdf:title xml:lang="en">Ensure All Important Messages are Captured</xccdf:title>
7118 <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
7119 following lines are appropriate for your environment: <xhtml:br/>
7120 <xhtml:br/>
7121 auth,info.* /var/log/messages<xhtml:br/>
7122 kern.* /var/log/kern.log <xhtml:br/>
7123 daemon.* /var/log/daemon.log <xhtml:br/>
7124 syslog.* /var/log/syslog<xhtml:br/>
7125 lpr,news,uucp,local0,local1,local2,local3,local4,local5,local6.* /var/log/unused.log<xhtml:br/></xhtml:span>
7126 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7127 When a message is sent to syslog for logging, it is sent with a facility name (such as
7128 mail, auth, or local2), and a priority (such as debug, notice, or emerg). Each line of
7129 syslog's configuration file is a directive which specifies a set of facility/priority
7130 pairs, and then gives a filename or host to which log messages of matching types should
7131 be sent. In order for a message to match a type, the facility must match, and the
7132 priority must be the priority named in the rule or any higher priority. (See
7133 syslog.conf(5) for an ordered list of priorities.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7135 Older versions of syslog mandated a
7136 very restrictive format for the syslog.conf file. However, the version of syslog shipped
7137 with RHEL5 allows any sort of whitespace (spaces or tabs, not just tabs) to separate the
7138 selection criteria from the message disposition, and allows the use of facility.* as a
7139 wildcard matching a given facility at any priority. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7140 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7141 The default RHEL5 syslog
7142 configuration stores the facilities authpriv, cron, and mail in named logs. This guide
7143 describes the implementation of the following configuration, but any configuration which
7144 stores the important facilities and is usable by the administrators will suffice:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7145 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7146 <xhtml:li>Store each of the facilities kern, daemon, and syslog in its own log, so that it will be
7147 easy to access information about messages from those facilities. </xhtml:li>
7148 <xhtml:li>Restrict the
7149 information stored in /var/log/messages to only the facilities auth and user, and store
7150 all messages from those facilities. Messages can easily become cluttered otherwise. </xhtml:li>
7151 <xhtml:li>Store information about all facilities which should not be in use at this site in a file
7152 called /var/log/ unused.log. If any messages are logged to this file at some future
7153 point, this may be an indication that an unknown service is running, and should be
7154 investigated. In addition, if news and uucp are not in use at this site, remove the
7155 directive from the default syslog.conf which stores those facilities. </xhtml:li>
7156 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7157 Making use of the
7158 local facilities is also recommended. Specific configuration is beyond the scope of this
7159 guide, but applications such as SSH can easily be configured to log to a local facility
7160 which is not being used for anything else. If this is done, reconfigure /etc/syslog.conf
7161 to store this facility in an appropriate named log or in /var/log/messages, rather than
7162 in /var/log/unused.log.</xccdf:description>
7163 </xccdf:Group>
7164 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.2">
7165 <xccdf:title xml:lang="en">Confirm Existence and Permissions of System Log Files</xccdf:title>
7166 <xccdf:description xml:lang="en">
7167 For each log file LOGFILE referenced in /etc/syslog.conf, run
7168 the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7170 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># touch LOGFILE<xhtml:br/>
7171 # chown root:root LOGFILE <xhtml:br/>
7172 # chmod 0600 LOGFILE <xhtml:br/></xhtml:code>
7173 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7174 Syslog will
7175 refuse to log to a file which does not exist. All messages intended for that file will
7176 be silently discarded, so it is important to verify that all log files exist. Some logs
7177 may contain sensitive information, so it is better to restrict permissions so that only
7178 administrative users can read or write logfiles.</xccdf:description>
7179 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.a" operator="equals" type="string">
7180 <xccdf:title>User who owns log files</xccdf:title>
7181 <xccdf:description xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
7182 <xccdf:question xml:lang="en">Specify user owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
7183 <xccdf:value>root</xccdf:value>
7184 <xccdf:value selector="root">root</xccdf:value>
7185 </xccdf:Value>
7186 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.b" operator="equals" type="string">
7187 <xccdf:title>group who owns log files</xccdf:title>
7188 <xccdf:description xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf.</xccdf:description>
7189 <xccdf:question xml:lang="en">Specify group owner of all logfiles specified in /etc/syslog.conf</xccdf:question>
7190 <xccdf:value>root</xccdf:value>
7191 <xccdf:value selector="root">root</xccdf:value>
7192 </xccdf:Value>
7193 <xccdf:Value id="xccdf_cdf_value_var-2.6.1.2.c" operator="equals" type="string">
7194 <xccdf:title>File permissions on logfiles</xccdf:title>
7195 <xccdf:description xml:lang="en">Specify file permissions of all logfiles specified in /etc/syslog.conf.</xccdf:description>
7196 <xccdf:question xml:lang="en">Specify permissions of all logfiles specified in /etc/syslog.conf</xccdf:question>
7197 <xccdf:value>110000000</xccdf:value>
7198 <xccdf:value selector="400">100000000</xccdf:value>
7199 <xccdf:value selector="600">110000000</xccdf:value>
7200 <xccdf:value selector="700">111000000</xccdf:value>
7201 </xccdf:Value>
7202 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.a" selected="false" severity="medium" weight="10.0">
7203 <xccdf:title>Confirm user that owns System Log Files</xccdf:title>
7204 <xccdf:description>All syslog log files should be owned by root.</xccdf:description>
7205 <xccdf:ident system="http://cce.mitre.org">CCE-4366-1</xccdf:ident>
7206 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
7207 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7208 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20149" value-id="xccdf_cdf_value_var-2.6.1.2.a"/>
7209 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20149"/>
7210 </xccdf:check>
7211 </xccdf:Rule>
7212 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.b" selected="false" severity="medium" weight="10.0">
7213 <xccdf:title>Confirm group that owns System Log Files</xccdf:title>
7214 <xccdf:description>All syslog log files should be group owned by root.</xccdf:description>
7215 <xccdf:ident system="http://cce.mitre.org">CCE-3701-0</xccdf:ident>
7216 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
7217 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7218 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20150" value-id="xccdf_cdf_value_var-2.6.1.2.b"/>
7219 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20150"/>
7220 </xccdf:check>
7221 </xccdf:Rule>
7222 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.2.c" selected="false" severity="medium" weight="10.0">
7223 <xccdf:title>Confirm Permissions of System Log Files</xccdf:title>
7224 <xccdf:description>File permissions for all syslog log files should be set correctly.</xccdf:description>
7225 <xccdf:ident system="http://cce.mitre.org">CCE-4233-3</xccdf:ident>
7226 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
7227 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7228 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20151" value-id="xccdf_cdf_value_var-2.6.1.2.c"/>
7229 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20151"/>
7230 </xccdf:check>
7231 </xccdf:Rule>
7232 </xccdf:Group>
7233 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.3">
7234 <xccdf:title xml:lang="en">Send Logs to a Remote Loghost</xccdf:title>
7235 <xccdf:description xml:lang="en">
7236 Edit /etc/syslog.conf. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7237 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7238 *.* @loghost.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7239 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7240 where loghost.example.com is the name of your central log server.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7241 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7242 If system logs are to be useful in detecting malicious activities, it is necessary to
7243 send logs to a remote server. An intruder who has compromised the root account on a
7244 machine may delete the log entries which indicate that the system was attacked before
7245 they are seen by an administrator. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7246 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7247 However, it is recommended that logs be stored on the
7248 local host in addition to being sent to the loghost, because syslog uses the UDP
7249 protocol to send messages over a network. UDP does not guarantee reliable delivery, and
7250 moderately busy sites will lose log messages occasionally, especially in periods of high
7251 traffic which may be the result of an attack. In addition, remote syslog messages are
7252 not authenticated in any way, so it is easy for an attacker to introduce spurious
7253 messages to the central log server. Also, some problems cause loss of network
7254 connectivity, which will prevent the sending of messages to the central server. For all
7255 of these reasons, it is better to store log messages both centrally and on each host, so
7256 that they can be correlated if necessary.</xccdf:description>
7257 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.3.a" selected="false" severity="medium" weight="10.0">
7258 <xccdf:title>Send Logs to a Remote Loghost</xccdf:title>
7259 <xccdf:description>Syslog logs should be sent to a remote loghost</xccdf:description>
7260 <xccdf:ident system="http://cce.mitre.org">CCE-4260-6</xccdf:ident>
7261 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
7262 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7263 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20152"/>
7264 </xccdf:check>
7265 </xccdf:Rule>
7266 </xccdf:Group>
7267 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.4">
7268 <xccdf:title xml:lang="en">Enable syslogd to Accept Remote Messages on Loghosts Only</xccdf:title>
7269 <xccdf:description xml:lang="en">
7270 Is this machine the central log server for your organization?
7271 If so, edit the file /etc/sysconfig/syslog. Add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7273 SYSLOGD_OPTIONS="-m 0 -r -s example.com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7275 where example.com is the name of your domain.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7276 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7277 If the machine is not a log server, edit /etc/sysconfig/syslog, and instead add or
7278 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7279 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7280 SYSLOGD_OPTIONS="-m 0" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7281 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7282 By default, RHEL5's syslog does not listen over
7283 the network for log messages. The -r flag enables syslogd to listen over a network, and
7284 should be used only if necessary. The -s example.com flag strips the domain name
7285 example.com from each sending machine's hostname before logging messages from that host,
7286 to reduce the amount of redundant information placed in log files. See the syslogd(8)
7287 man page for further information.</xccdf:description>
7288 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.4.a" selected="false" severity="medium" weight="10.0">
7289 <xccdf:title>Disable syslogd from Accepting Remote Messages on Loghosts Only</xccdf:title>
7290 <xccdf:description>Syslogd should reject remote messages</xccdf:description>
7291 <xccdf:ident system="http://cce.mitre.org">CCE-3382-9</xccdf:ident>
7292 <xccdf:fixtext>(1) via /etc/sysconfig/syslog</xccdf:fixtext>
7293 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7294 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20153"/>
7295 </xccdf:check>
7296 </xccdf:Rule>
7297 </xccdf:Group>
7298 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.5">
7299 <xccdf:title xml:lang="en">Ensure All Logs are Rotated by logrotate</xccdf:title>
7300 <xccdf:description xml:lang="en">
7301 Edit the file /etc/logrotate.d/syslog. Find the first line,
7302 which should look like this (wrapped for clarity): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7303 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7304 /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler \
7305 /var/log/boot.log /var/log/cron { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7307 Edit this line so
7308 that it contains a one-space-separated listing of each log file referenced in
7309 /etc/syslog.conf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7310 All logs in use on a system must be rotated regularly, or the log
7311 files will consume disk space over time, eventually interfering with system operation.
7312 The file /etc/logrotate.d/syslog is the configuration file used by the logrotate program
7313 to maintain all log files written by syslog. By default, it rotates logs weekly and
7314 stores four archival copies of each log. These settings can be modified by editing
7315 /etc/logrotate.conf, but the defaults are sufficient for purposes of this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7316 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7317 Note
7318 that logrotate is run nightly by the cron job /etc/cron.daily/logrotate. If particularly
7319 active logs need to be rotated more often than once a day, some other mechanism must be
7320 used.</xccdf:description>
7321 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.5.a" selected="false" severity="medium" weight="10.0">
7322 <xccdf:title>Ensure All Logs are Rotated by logrotate</xccdf:title>
7323 <xccdf:description>The logrotate (syslog rotater) service should be enabled.</xccdf:description>
7324 <xccdf:ident system="http://cce.mitre.org">CCE-4182-2</xccdf:ident>
7325 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7326 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7327 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20154"/>
7328 </xccdf:check>
7329 </xccdf:Rule>
7330 </xccdf:Group>
7331 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6">
7332 <xccdf:title xml:lang="en">Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7333 <xccdf:description xml:lang="en">
7334 The system includes an extensible program called Logwatch for
7335 reporting on unusual items in syslog. Logwatch is valuable because it provides a parser
7336 for the syslog entry format and a number of signatures for types of lines which are
7337 considered to be mundane or noteworthy. Logwatch has a number of downsides: the
7338 signatures can be inaccurate and are not always categorized consistently, and you must
7339 be able to program in Perl in order to customize the signature database. However, it is
7340 recommended that all Linux sites which do not have time to deploy a third-party log
7341 monitoring application run Logwatch in its default configuration. This provides some
7342 useful information about system activity in exchange for very little administrator
7343 effort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7344 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7345 This guide recommends that Logwatch be run only on the central logserver, if
7346 your site has one, in order to focus administrator attention by sending all daily logs
7347 in a single e-mail.</xccdf:description>
7348 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.1.6.a" selected="false" severity="medium" weight="10.0">
7349 <xccdf:title>Monitor Suspicious Log Messages using Logwatch</xccdf:title>
7350 <xccdf:description>The logwatch service should be enabled</xccdf:description>
7351 <xccdf:ident system="http://cce.mitre.org">CCE-4323-2</xccdf:ident>
7352 <xccdf:fixtext>(1) via cron</xccdf:fixtext>
7353 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7354 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20155"/>
7355 </xccdf:check>
7356 </xccdf:Rule>
7357 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.1">
7358 <xccdf:title xml:lang="en">Configure Logwatch on the Central Log Server</xccdf:title>
7359 <xccdf:description xml:lang="en">
7360 Is this machine the central log server? If so, edit the file
7361 /etc/logwatch/conf/logwatch.conf. Add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7362 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7363 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">HostLimit = no<xhtml:br/>
7364 SplitHosts = yes <xhtml:br/>
7365 MultiEmail = no <xhtml:br/></xhtml:code>
7366 Service = -zz-disk_space <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7368 Ensure that logwatch.pl is run nightly from cron. (This is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7369 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7370 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/cron.daily <xhtml:br/>
7371 # ln -s /usr/share/logwatch/scripts/logwatch.pl 0logwatch <xhtml:br/></xhtml:code>
7372 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7373 On a central logserver, you want
7374 Logwatch to summarize all syslog entries, including those which did not originate on
7375 the logserver itself. The HostLimit setting tells Logwatch to report on all hosts, not
7376 just the one on which it is running. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7377 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7378 If SplitHosts is set, Logwatch will separate
7379 entries by hostname. This makes the report longer but significantly more usable. If it
7380 is not set, then Logwatch will not report which host generated a given log entry, and
7381 that information is almost always necessary. If MultiEmail is set, then each host's
7382 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"/>
7383 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7384 The Service directive -zz-disk space tells Logwatch not to run the zz-disk space
7385 report, which reports on free disk space. Since all log monitoring is being done on
7386 the central logserver, the disk space listing will always be that of the logserver,
7387 regardless of which host is being monitored. This is confusing, so disable that
7388 service. Note that this does mean that Logwatch will not monitor disk usage
7389 information. Many workarounds are possible, such as running df on each host daily via
7390 cron and sending the output to syslog so that it will be reported to the logserver.</xccdf:description>
7391 </xccdf:Group>
7392 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.1.6.2">
7393 <xccdf:title xml:lang="en">Disable Logwatch on Clients if a Logserver Exists</xccdf:title>
7394 <xccdf:description xml:lang="en">
7395 Does your site have a central logserver which has been
7396 configured to report on logs received from all systems? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7397 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7398 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/cron.daily/0logwatch <xhtml:br/></xhtml:code>
7399 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7400 If no logserver exists, it will be necessary for each
7401 machine to run Logwatch individually. Using a central logserver provides the security
7402 and reliability benefits discussed earlier, and also makes monitoring logs easier and
7403 less time-intensive for administrators.</xccdf:description>
7404 </xccdf:Group>
7405 </xccdf:Group>
7406 </xccdf:Group>
7407 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2">
7408 <xccdf:title xml:lang="en">System Accounting with auditd</xccdf:title>
7409 <xccdf:description xml:lang="en">
7410 The audit service is the current Linux recommendation for
7411 kernel-level auditing. By default, the service audits about SELinux AVC denials and
7412 certain types of security-relevant events such as system logins, account modifications,
7413 and authentication events performed by programs such as sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7414 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7415 Under its default
7416 configuration, auditd has modest disk space requirements, and should not noticeably impact
7417 system performance. The audit service, in its default configuration, is strongly
7418 recommended for all sites, regardless of whether they are running SELinux. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7419 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7420 DoD or federal networks often have substantial auditing requirements and auditd can be
7421 configured to meet these requirements.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7423 Typical DoD requirements include:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7425 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7426 <xhtml:li>Ensure Auditing is Configured to Collect Certain System Events
7427 <xhtml:ul>
7428 <xhtml:li>Information on the Use of Print Command (unsuccessful and successful)</xhtml:li>
7429 <xhtml:li>Startup and Shutdown Events (unsuccessful and successful)</xhtml:li>
7430 </xhtml:ul>
7431 </xhtml:li>
7432 <xhtml:li>Ensure the auditing software can record the following for each audit event:
7433 <xhtml:ul>
7434 <xhtml:li>Date and time of the event</xhtml:li>
7435 <xhtml:li>Userid that initiated the event</xhtml:li>
7436 <xhtml:li>Type of event</xhtml:li>
7437 <xhtml:li>Success or failure of the event</xhtml:li>
7438 <xhtml:li>For I&amp;A events, the origin of the request (e.g., terminal ID)</xhtml:li>
7439 <xhtml:li>For events that introduce an object into a user’s address space, and for object deletion events, the
7440 name of the object, and in MLS systems, the objects security level.</xhtml:li>
7441 </xhtml:ul>
7442 </xhtml:li>
7443 <xhtml:li>Ensure files are backed up no less than weekly onto a different system than the system being audited or
7444 backup media.</xhtml:li>
7445 <xhtml:li>Ensure old logs are closed out and new audit logs are started daily</xhtml:li>
7446 <xhtml:li>Ensure the configuration is immutable. With the -e 2 setting a reboot will be required to change any audit
7447 rules.</xhtml:li>
7448 <xhtml:li>Ensure that the audit data files have permissions of 640, or more restrictive.</xhtml:li>
7449 </xhtml:ul>
7450 </xccdf:description>
7451 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.1">
7452 <xccdf:title xml:lang="en">Enable the auditd Service</xccdf:title>
7453 <xccdf:description xml:lang="en">
7454 Ensure that the auditd service is enabled (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7455 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7456 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig auditd on <xhtml:br/></xhtml:code>
7457 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7458 By default, auditd logs only SELinux denials, which are
7459 helpful for debugging SELinux and discovering intrusion attempts, and certain types of
7460 security events, such as modifications to user accounts (useradd, passwd, etc), login
7461 events, and calls to sudo. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7462 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7463 Data is stored in /var/log/audit/audit.log. By default,
7464 auditd rotates 4 logs by size (5MB), retaining a maximum of 20MB of data in total, and
7465 refuses to write entries when the disk is too full. This minimizes the risk of audit
7466 data filling its partition and impacting other services. However, it is possible to lose
7467 audit data if the system is busy.</xccdf:description>
7468 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.1.a" selected="false" severity="medium" weight="10.0">
7469 <xccdf:title>Enable the auditd Service</xccdf:title>
7470 <xccdf:description>The auditd service should be enabled.</xccdf:description>
7471 <xccdf:ident system="http://cce.mitre.org">CCE-4292-9</xccdf:ident>
7472 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
7473 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7474 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20156"/>
7475 </xccdf:check>
7476 </xccdf:Rule>
7477 </xccdf:Group>
7478 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.2">
7479 <xccdf:title xml:lang="en">Configure auditd Data Retention</xccdf:title>
7480 <xccdf:description xml:lang="en">
7481 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7482 <xhtml:li>Determine STOREMB , the amount of audit data (in megabytes) which should be retained in each log
7483 file. Edit the file /etc/audit/auditd.conf. Add or modify the following line:<xhtml:br/>
7484 <xhtml:br/>
7485 max_log_file = STOREMB</xhtml:li>
7486 <xhtml:li>Use a dedicated partition (or logical volume) for log files. It is straightforward to create such a partition
7487 or logical volume during system installation time. The partition should be larger than the maximum
7488 space which auditd will ever use, which is the maximum size of each log file (max log file) multiplied
7489 by the number of log files (num logs). Ensure the partition is mounted on /var/log/audit.</xhtml:li>
7490 <xhtml:li>If your site requires that the machine be disabled when auditing cannot be performed, configure auditd
7491 to halt the system when disk space for auditing runs low. Edit /etc/audit/auditd.conf, and add or
7492 correct the following lines:<xhtml:br/>
7493 <xhtml:br/>
7494 space_left_action = email<xhtml:br/>
7495 action_mail_acct = root<xhtml:br/>
7496 admin_space_left_action = halt<xhtml:br/></xhtml:li>
7497 </xhtml:ul>
7498 The default action to take when the logs reach their maximum size is to rotate the log files, discarding the
7499 oldest one. If it is more important to retain all possible auditing information, even if that opens the possibility
7500 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"/>
7501 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7502 max_log_file_action = keep_logs<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7503 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7504 By default, auditd retains 4 log files of size 5Mb apiece. For a busy system or a system which is thoroughly
7505 auditing system activity, this is likely to be insufficient.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7506 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7507 The log file size needed will depend heavily on what types of events are being audited. First configure auditing
7508 to log all the events of interest. Then monitor the log size manually for awhile to determine what file size will
7509 allow you to keep the required data for the correct time period.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7510 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7511 Using a dedicated partition for /var/log/audit prevents the auditd logs from disrupting system functionality if
7512 they fill, and, more importantly, prevents other activity in /var from filling the partition and stopping the audit
7513 trail. (The audit logs are size-limited and therefore unlikely to grow without bound unless configured to do so.)
7514 Some machines may have requirements that no actions occur which cannot be audited. If this is the case, then
7515 auditd can be configured to halt the machine if it runs out of space.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7516 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7517 Note: Since older logs are rotated, configuring auditd this way does not prevent older logs from being rotated
7518 away before they can be viewed.
7519 </xccdf:description>
7520 <xccdf:warning xml:lang="en">If your system is configured to halt when logging cannot be performed, make sure this can never
7521 happen under normal circumstances! Ensure that /var/ log/ audit is on its own partition, and
7522 that this partition is larger than the maximum amount of data auditd will retain normally.</xccdf:warning>
7523 </xccdf:Group>
7524 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.3">
7525 <xccdf:title xml:lang="en">Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7526 <xccdf:description xml:lang="en">
7527 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the
7528 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"/>
7529 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7530 kernel /vmlinuz-version ro vga=ext root=/dev/VolGroup00/LogVol00 rhgb quiet audit=1<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7532 Each process on the system carries an ”auditable” flag which indicates whether its activities can be audited.
7533 Although auditd takes care of enabling this for all processes which launch after it does, adding the kernel
7534 argument ensures that it is set for every process during boot.
7535 </xccdf:description>
7536 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.3.a" selected="false" severity="medium" weight="10.0">
7537 <xccdf:title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</xccdf:title>
7538 <xccdf:description>
7539 To ensure that all processes can be audited, even those which start prior to the audit daemon, add the argument audit=1
7540 to the kernel line in /etc/grub.conf, in the manner below:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7541 <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>
7542 <xccdf:fixtext>(1) via /etc/grub.conf add audit=1 to kernel line</xccdf:fixtext>
7543 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7544 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20157"/>
7545 </xccdf:check>
7546 </xccdf:Rule>
7547 </xccdf:Group>
7548 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4">
7549 <xccdf:title xml:lang="en">Configure auditd Rules for Comprehensive Auditing</xccdf:title>
7550 <xccdf:description xml:lang="en">
7551 The auditd program can perform comprehensive monitoring of system activity. This section describes rec-
7552 ommended configuration settings for comprehensive auditing, but a full description of the auditing system’s
7553 capabilities is beyond the scope of this guide. The mailing list [email protected] may be a good source
7554 of further information.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7555 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7556 The audit subsystem supports extensive collection of events, including:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7557 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7558 <xhtml:li>Tracing of arbitrary system calls (identified by name or number) on entry or exit.</xhtml:li>
7559 <xhtml:li>Filtering by PID, UID, call success, system call argument (with some limitations), etc.</xhtml:li>
7560 <xhtml:li>Monitoring of specific files for modifications to the file’s contents or metadata.</xhtml:li>
7561 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7562 Auditing rules are controlled in the file /etc/audit/audit.rules. Add rules to it to meet the auditing re-
7563 quirements for your organization. Each line in /etc/audit/audit.rules represents a series of arguments that
7564 can be passed to auditctl and can be individually tested as such. See documentation in /usr/share/doc/
7565 audit-version and in the related man pages for more details.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7566 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7567 Recommended audit rules are provided in /usr/share/doc/audit-version /stig.rules. In order to activate
7568 those rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7569 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7570 <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>
7571 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7572 and then edit /etc/audit/audit.rules and comment out the lines containing arch= which are not appropriate
7573 for your system’s architecture. Then review and understand the following rules, ensuring rules are activated as
7574 needed for the appropriate architecture.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7575 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7576 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"/>
7577 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7578 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service auditd restart</xhtml:code></xccdf:description>
7579 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.1">
7580 <xccdf:title xml:lang="en">Records Events that Modify Date and Time Information</xccdf:title>
7581 <xccdf:description xml:lang="en">
7582 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7583 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7585 -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"/>
7586 -a always,exit -F arch=ARCH -S clock_settime -k time-change<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7587 -w /etc/localtime -p wa -k time-change
7588 </xccdf:description>
7589 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.1.a" selected="false" severity="medium" weight="10.0">
7590 <xccdf:title>Records Events that Modify Date and Time Information</xccdf:title>
7591 <xccdf:description>Audit rules about time</xccdf:description>
7592 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7593 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7594 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7595 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201575"/>
7596 </xccdf:check>
7597 </xccdf:Rule>
7598 </xccdf:Group>
7599 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.2">
7600 <xccdf:title xml:lang="en">Record Events that Modify User/Group Information</xccdf:title>
7601 <xccdf:description xml:lang="en">
7602 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"/>
7603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7604 -w /etc/group -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7605 -w /etc/passwd -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7606 -w /etc/gshadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7607 -w /etc/shadow -p wa -k identity<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7608 -w /etc/security/opasswd -p wa -k identity
7609 </xccdf:description>
7610 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.2.a" selected="false" severity="medium" weight="10.0">
7611 <xccdf:title>Record Events that Modify User/Group Information</xccdf:title>
7612 <xccdf:description>Audit rules about User/Group Information</xccdf:description>
7613 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7614 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7615 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7616 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20158"/>
7617 </xccdf:check>
7618 </xccdf:Rule>
7619 </xccdf:Group>
7620 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.3">
7621 <xccdf:title xml:lang="en">Record Events that Modify the System’s Network Environment</xccdf:title>
7622 <xccdf:description xml:lang="en">
7623 Add the following to /etc/audit/audit.rules, setting ARCH to either b32 or b64 as appropriate for your
7624 system:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7625 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7626 -a exit,always -F arch=ARCH -S sethostname -S setdomainname -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7627 -w /etc/issue -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7628 -w /etc/issue.net -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7629 -w /etc/hosts -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7630 -w /etc/sysconfig/network -p wa -k system-locale<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7631 </xccdf:description>
7632 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.3.a" selected="false" severity="medium" weight="10.0">
7633 <xccdf:title>Record Events that Modify the System’s Network Environment</xccdf:title>
7634 <xccdf:description>Audit rules about the System’s Network Environment</xccdf:description>
7635 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7636 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7637 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7638 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20159"/>
7639 </xccdf:check>
7640 </xccdf:Rule>
7641 </xccdf:Group>
7642 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.4">
7643 <xccdf:title xml:lang="en">Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7644 <xccdf:description xml:lang="en">
7645 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7647 -w /etc/selinux/ -p wa -k MAC-policy
7648 </xccdf:description>
7649 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.4.a" selected="false" severity="medium" weight="10.0">
7650 <xccdf:title>Record Events that Modify the System’s Mandatory Access Controls</xccdf:title>
7651 <xccdf:description>Audit rules about the System’s Mandatory Access Controls</xccdf:description>
7652 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7653 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7654 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7655 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20160"/>
7656 </xccdf:check>
7657 </xccdf:Rule>
7658 </xccdf:Group>
7659 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.5">
7660 <xccdf:title xml:lang="en">Ensure auditd Collects Logon and Logout Events</xccdf:title>
7661 <xccdf:description xml:lang="en">
7662 At a minimum the audit system should collect login info for all users and root. Add the following to
7663 /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7664 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7665 -w /var/log/faillog -p wa -k logins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7666 -w /var/log/lastlog -p wa -k logins
7667 </xccdf:description>
7668 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.5.a" selected="false" severity="medium" weight="10.0">
7669 <xccdf:title>Ensure auditd Collects Logon and Logout Events</xccdf:title>
7670 <xccdf:description>Audit rules about the Logon and Logout Events</xccdf:description>
7671 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7672 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7673 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7674 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20161"/>
7675 </xccdf:check>
7676 </xccdf:Rule>
7677 </xccdf:Group>
7678 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.6">
7679 <xccdf:title xml:lang="en">Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7680 <xccdf:description xml:lang="en">
7681 At a minimum the audit system should collect process information for all users and root. Add the following
7682 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7684 -w /var/run/utmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7685 -w /var/log/btmp -p wa -k session<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7686 -w /var/log/wtmp -p wa -k session
7687 </xccdf:description>
7688 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.6.a" selected="false" severity="medium" weight="10.0">
7689 <xccdf:title>Ensure auditd Collects Process and Session Initiation Information</xccdf:title>
7690 <xccdf:description>Audit rules about the Process and Session Initiation Information</xccdf:description>
7691 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7692 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7693 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7694 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20162"/>
7695 </xccdf:check>
7696 </xccdf:Rule>
7697 </xccdf:Group>
7698 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.7">
7699 <xccdf:title xml:lang="en">Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7700 <xccdf:description xml:lang="en">
7701 At a minimum the audit system should collect file permission changes for all users and root. Add the
7702 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"/>
7703 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7704 -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"/>
7705 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7706 -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"/>
7707 -F auid!=4294967295 -k perm_mod<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7708 -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"/>
7709 lremovexattr -S fremovexattr -F auid&gt;=500 -F auid!=4294967295 -k perm_mod
7710 </xccdf:description>
7711 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.7.a" selected="false" severity="medium" weight="10.0">
7712 <xccdf:title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</xccdf:title>
7713 <xccdf:description>Audit rules about the Discretionary Access Control Permission Modification Events</xccdf:description>
7714 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7715 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7716 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7717 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20163"/>
7718 </xccdf:check>
7719 </xccdf:Rule>
7720 </xccdf:Group>
7721 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.8">
7722 <xccdf:title xml:lang="en">Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7723 <xccdf:description xml:lang="en">
7724 At a minimum the audit system should collect unauthorized file accesses for all users and root. Add the
7725 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"/>
7726 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7727 -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"/>
7728 -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7729 -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"/>
7730 -F exit=-EPERM -F auid&gt;=500 -F auid!=4294967295 -k access
7731 </xccdf:description>
7732 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.8.a" selected="false" severity="medium" weight="10.0">
7733 <xccdf:title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</xccdf:title>
7734 <xccdf:description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful)</xccdf:description>
7735 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7736 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7737 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7738 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20164"/>
7739 </xccdf:check>
7740 </xccdf:Rule>
7741 </xccdf:Group>
7742 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.9">
7743 <xccdf:title xml:lang="en">Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7744 <xccdf:description xml:lang="en">
7745 At a minimum the audit system should collect the execution of privileged commands for all users and root.
7746 Add the following to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7747 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7748 -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"/>
7749 -k privileged
7750 </xccdf:description>
7751 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.9.a" selected="false" severity="medium" weight="10.0">
7752 <xccdf:title>Ensure auditd Collects Information on the Use of Privileged Commands</xccdf:title>
7753 <xccdf:description>Audit rules about the Information on the Use of Privileged Commands</xccdf:description>
7754 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7755 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7756 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7757 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20165"/>
7758 </xccdf:check>
7759 </xccdf:Rule>
7760 </xccdf:Group>
7761 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.10">
7762 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7763 <xccdf:description xml:lang="en">
7764 At a minimum the audit system should collect media exportation events for all users and root. Add the
7765 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"/>
7766 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7767 -a always,exit -F arch=ARCH -S mount -F auid&gt;=500 -F auid!=4294967295 -k export
7768 </xccdf:description>
7769 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.10.a" selected="false" severity="medium" weight="10.0">
7770 <xccdf:title>Ensure auditd Collects Information on Exporting to Media (successful)</xccdf:title>
7771 <xccdf:description>Audit rules about the Information on Exporting to Media (successful)</xccdf:description>
7772 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7773 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7774 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7775 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20166"/>
7776 </xccdf:check>
7777 </xccdf:Rule>
7778 </xccdf:Group>
7779 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.11">
7780 <xccdf:title xml:lang="en">Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7781 <xccdf:description xml:lang="en">
7782 At a minimum the audit system should collect file deletion events for all users and root. Add the following
7783 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"/>
7784 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7785 -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"/>
7786 -F auid!=4294967295 -k delete
7787 </xccdf:description>
7788 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.11.a" selected="false" severity="medium" weight="10.0">
7789 <xccdf:title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</xccdf:title>
7790 <xccdf:description>Audit rules about the Files Deletion Events by User (successful and unsuccessful)</xccdf:description>
7791 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7792 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7793 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7794 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20167"/>
7795 </xccdf:check>
7796 </xccdf:Rule>
7797 </xccdf:Group>
7798 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.12">
7799 <xccdf:title xml:lang="en">Ensure auditd Collects System Administrator Actions</xccdf:title>
7800 <xccdf:description xml:lang="en">
7801 At a minimum the audit system should collect administrator actions for all users and root. Add the following
7802 to /etc/audit/audit.rules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7803 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7804 -w /etc/sudoers -p wa -k actions</xccdf:description>
7805 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.12.a" selected="false" severity="medium" weight="10.0">
7806 <xccdf:title>Ensure auditd Collects System Administrator Actions</xccdf:title>
7807 <xccdf:description>Audit rules about the System Administrator Actions</xccdf:description>
7808 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7809 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7810 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7811 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20168"/>
7812 </xccdf:check>
7813 </xccdf:Rule>
7814 </xccdf:Group>
7815 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.13">
7816 <xccdf:title xml:lang="en">Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7817 <xccdf:description xml:lang="en">
7818 Add the following to /etc/audit/audit.rules in order to capture kernel module loading and unloading
7819 events:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7820 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7821 -w /sbin/insmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7822 -w /sbin/rmmod -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7823 -w /sbin/modprobe -p x -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7824 -a always,exit -S init_module -S delete_module -k modules<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7825 </xccdf:description>
7826 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.13.a" selected="false" severity="medium" weight="10.0">
7827 <xccdf:title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</xccdf:title>
7828 <xccdf:description>Audit rules about the Information on Kernel Module Loading and Unloading</xccdf:description>
7829 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7830 <!--<fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</fix>-->
7831 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7832 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201685"/>
7833 </xccdf:check>
7834 </xccdf:Rule>
7835 </xccdf:Group>
7836 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.4.14">
7837 <xccdf:title xml:lang="en">Make the auditd Configuration Immutable</xccdf:title>
7838 <xccdf:description xml:lang="en">
7839 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"/>
7840 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7841 -e 2<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7842 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7843 With this setting, a reboot will be required to change any audit rules.
7844 </xccdf:description>
7845 <xccdf:Rule id="xccdf_cdf_rule_rule-2.6.2.4.14.a" selected="false" severity="medium" weight="10.0">
7846 <xccdf:title>Make the auditd Configuration Immutable</xccdf:title>
7847 <xccdf:description>Force a reboot to change audit rules</xccdf:description>
7848 <xccdf:fixtext>(1) via /etc/audit/audit.rules</xccdf:fixtext>
7849 <xccdf:fix>cp /usr/share/doc/audit-version/stig.rules /etc/audit/audit.rules</xccdf:fix>
7850 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
7851 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20169"/>
7852 </xccdf:check>
7853 </xccdf:Rule>
7854 </xccdf:Group>
7855 </xccdf:Group>
7856 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-2.6.2.5">
7857 <xccdf:title xml:lang="en">Summarize and Review Audit Logs using aureport</xccdf:title>
7858 <xccdf:description xml:lang="en">
7859 Familiarize yourself with the aureport(8) man page, then design a short series of audit reporting commands
7860 suitable for exploring the audit logs on a daily (or more frequent) basis. These commands can be added as a cron
7861 job by placing an appropriately named file in /etc/cron.daily. See the next section for information on how to
7862 ensure that the audit system collects all events needed.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7863 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7864 For example, to generate a daily report of every user to login to the machine, the following command could be
7865 run from cron:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7866 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7867 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport -l -i -ts yesterday -te today<xhtml:br/></xhtml:code>
7868 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7869 To review all audited activity for unusual behavior, a good place to start is to see a summary of which audit
7870 rules have been triggering:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7871 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7872 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">aureport --key --summary<xhtml:br/></xhtml:code>
7873 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7874 If access violations stand out, review them with:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7876 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># ausearch --key access --raw | aureport --file --summary<xhtml:br/></xhtml:code>
7877 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7878 To review what executables are doing:<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"># ausearch --key access --raw | aureport -x --summary<xhtml:br/></xhtml:code>
7881 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7882 If access violations have been occurring on a particular file (such as /etc/shadow) and you want to determine
7883 which user is doing this:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7884 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7885 <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>
7886 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7887 Check for anomalous activity (such as device changing to promiscuous mode, processes ending abnormally, login
7888 failure limits being reached) using:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7889 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7890 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># aureport --anomaly<xhtml:br/></xhtml:code>
7891 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7892 The foundation to audit analysis is using keys to classify the events. Information about using ausearch to find
7893 an SELinux problem can be found in Section 2.4.6.
7894 </xccdf:description>
7895 </xccdf:Group>
7896 </xccdf:Group>
7897 </xccdf:Group>
7898 </xccdf:Group>
7899 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3">
7900 <xccdf:title xml:lang="en">Services</xccdf:title>
7901 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1">
7902 <xccdf:title xml:lang="en">Disable All Unneeded Services at Boot Time</xccdf:title>
7903 <xccdf:description xml:lang="en">
7904 The best protection against vulnerable software is running less
7905 software. This section describes how to review the software which Red Hat Enterprise Linux
7906 installs on a system and disable software which is not needed. It then enumerates the
7907 software packages installed on a default RHEL5 system and provides guidance about which ones
7908 can be safely disabled.</xccdf:description>
7909 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.1">
7910 <xccdf:title xml:lang="en">Determine which Services are Enabled at Boot</xccdf:title>
7911 <xccdf:description xml:lang="en">
7912 Run the command: <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"># chkconfig --list | grep :on <xhtml:br/></xhtml:code>
7915 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7916 The first column
7917 of this output is the name of a service which is currently enabled at boot. Review each
7918 listed service to determine whether it can be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7920 If it is appropriate to disable
7921 some service srvname , do so using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7922 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7923 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig srvname off <xhtml:br/></xhtml:code>
7924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7925 Use the guidance below for information about unfamiliar services.</xccdf:description>
7926 </xccdf:Group>
7927 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.2">
7928 <xccdf:title xml:lang="en">Guidance on Default Services</xccdf:title>
7929 <xccdf:description xml:lang="en">
7930 The table in this section contains a list of all services which
7931 are enabled at boot by a default RHEL5 installation. For each service, one of the
7932 following recommendations is made: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7933 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
7934 <xhtml:li>Enable: The service provides a significant capability
7935 with limited risk exposure. Leave the service enabled. </xhtml:li>
7936 <xhtml:li>Configure: The service either is
7937 required for most systems to function properly or provides an important security function.
7938 It should be left enabled by most environments. However, it must be configured securely on
7939 all machines, and different options may be needed for workstations than for servers. See
7940 the referenced section for recommended configuration of this service.</xhtml:li>
7941 <xhtml:li>Disable if
7942 possible: The service opens the system to some risk, but may be required by some
7943 environments. See the appropriate section of the guide, and disable the service if at all
7944 possible.</xhtml:li>
7945 <xhtml:li>Servers only: The service provides some function to other machines over the
7946 network. If that function is needed in the target environment, the service should remain
7947 enabled only on a small number of dedicated servers, and should be disabled on all other
7948 machines on the network. </xhtml:li>
7949 </xhtml:ul>
7950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
7951 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml">
7952 <xhtml:thead>
7953 <xhtml:tr>
7954 <xhtml:td>Service name</xhtml:td>
7955 <xhtml:td>Action</xhtml:td>
7956 <xhtml:td>Reference</xhtml:td>
7957 </xhtml:tr>
7958 </xhtml:thead>
7959 <xhtml:tbody>
7960 <xhtml:tr><xhtml:td>acpid</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.15.2</xhtml:td></xhtml:tr>
7961 <xhtml:tr><xhtml:td>anacron</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr>
7962 <xhtml:tr><xhtml:td>apmd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.15.1</xhtml:td></xhtml:tr>
7963 <xhtml:tr><xhtml:td>atd</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr>
7964 <xhtml:tr><xhtml:td>auditd</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.6.2</xhtml:td></xhtml:tr>
7965 <xhtml:tr><xhtml:td>autofs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.2.2.3</xhtml:td></xhtml:tr>
7966 <xhtml:tr><xhtml:td>avahi-daemon</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.7</xhtml:td></xhtml:tr>
7967 <xhtml:tr><xhtml:td>bluetooth</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.14</xhtml:td></xhtml:tr>
7968 <xhtml:tr><xhtml:td>cpuspeed</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.15.3 </xhtml:td></xhtml:tr>
7969 <xhtml:tr><xhtml:td>crond</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.4</xhtml:td></xhtml:tr>
7970 <xhtml:tr><xhtml:td>cups</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.8</xhtml:td></xhtml:tr>
7971 <xhtml:tr><xhtml:td>firstboot</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.1</xhtml:td></xhtml:tr>
7972 <xhtml:tr><xhtml:td>gpm</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.2</xhtml:td></xhtml:tr>
7973 <xhtml:tr><xhtml:td>haldaemon</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.13.2</xhtml:td></xhtml:tr>
7974 <xhtml:tr><xhtml:td>hidd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.14.2</xhtml:td></xhtml:tr>
7975 <xhtml:tr><xhtml:td>hplip</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.8.4.1</xhtml:td></xhtml:tr>
7976 <xhtml:tr><xhtml:td>ip6tables</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.5.5</xhtml:td></xhtml:tr>
7977 <xhtml:tr><xhtml:td>iptables</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.5.5</xhtml:td></xhtml:tr>
7978 <xhtml:tr><xhtml:td>irqbalance</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.3</xhtml:td></xhtml:tr>
7979 <xhtml:tr><xhtml:td>isdn</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.4</xhtml:td></xhtml:tr>
7980 <xhtml:tr><xhtml:td>kdump</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.5</xhtml:td></xhtml:tr>
7981 <xhtml:tr><xhtml:td>kudzu</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.6 </xhtml:td></xhtml:tr>
7982 <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>
7983 <xhtml:tr><xhtml:td>mdmonitor</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.7 </xhtml:td></xhtml:tr>
7984 <xhtml:tr><xhtml:td>messagebus</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.13.1</xhtml:td></xhtml:tr>
7985 <xhtml:tr><xhtml:td>microcode</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.8</xhtml:td></xhtml:tr>
7986 <xhtml:tr><xhtml:td>netfs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS)</xhtml:td></xhtml:tr>
7987 <xhtml:tr><xhtml:td>network</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.9</xhtml:td></xhtml:tr>
7988 <xhtml:tr><xhtml:td>nfslock</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS)</xhtml:td></xhtml:tr>
7989 <xhtml:tr><xhtml:td>pcscd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.10</xhtml:td></xhtml:tr>
7990 <xhtml:tr><xhtml:td>portmap</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr>
7991 <xhtml:tr><xhtml:td>readahead_early</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.12</xhtml:td></xhtml:tr>
7992 <xhtml:tr><xhtml:td>readahead_later</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.3.12</xhtml:td></xhtml:tr>
7993 <xhtml:tr><xhtml:td>restorecond</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>2.4.3.3 (SELinux)</xhtml:td></xhtml:tr>
7994 <xhtml:tr><xhtml:td>rhnsd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>2.1.2.2 </xhtml:td></xhtml:tr>
7995 <xhtml:tr><xhtml:td>rpcgssd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr>
7996 <xhtml:tr><xhtml:td>rpcidmapd</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.13 (NFS) </xhtml:td></xhtml:tr>
7997 <xhtml:tr><xhtml:td>sendmail</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>3.11</xhtml:td></xhtml:tr>
7998 <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>
7999 <xhtml:tr><xhtml:td>smartd</xhtml:td><xhtml:td>Enable</xhtml:td><xhtml:td>3.3.11 </xhtml:td></xhtml:tr>
8000 <xhtml:tr><xhtml:td>sshd</xhtml:td><xhtml:td>Servers only</xhtml:td><xhtml:td>3.5</xhtml:td></xhtml:tr>
8001 <xhtml:tr><xhtml:td>syslog</xhtml:td><xhtml:td>Configure</xhtml:td><xhtml:td>2.6.1</xhtml:td></xhtml:tr>
8002 <xhtml:tr><xhtml:td>xfs</xhtml:td><xhtml:td>Disable if possible</xhtml:td><xhtml:td>3.6 (X11) </xhtml:td></xhtml:tr>
8003 <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>
8004 </xhtml:tbody>
8005 </xhtml:table>
8006 </xccdf:description>
8007 </xccdf:Group>
8008 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.1.3">
8009 <xccdf:title xml:lang="en">Guidance for Unfamiliar Services</xccdf:title>
8010 <xccdf:description xml:lang="en">
8011 If the system is running any services which have not been
8012 covered, determine what these services do, and disable them if they are not needed or if
8013 they pose a high risk. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8014 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8015 If a service srvname is unknown, try running: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8016 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8017 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qf /etc/init.d/srvname <xhtml:br/></xhtml:code>
8018 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8019 to discover which RPM package installed the service. Then, run: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8021 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ rpm -qi rpmname <xhtml:br/></xhtml:code>
8022 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8023 for a brief description of what that RPM does.</xccdf:description>
8024 </xccdf:Group>
8025 </xccdf:Group>
8026 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2">
8027 <xccdf:title xml:lang="en">Obsolete Services</xccdf:title>
8028 <xccdf:description xml:lang="en">
8029 This section discusses a number of network-visible services which
8030 have historically caused problems for system security, and for which disabling or severely
8031 limiting the service has been the best available guidance for some time. As a result of this
8032 consensus, these services are not installed as part of RHEL5 by default. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8033 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8034 Organizations which
8035 are running these services should prioritize switching to more secure services which provide
8036 the needed functionality. If it is absolutely necessary to run one of these services for
8037 legacy reasons, care should be taken to restrict the service as much as possible, for
8038 instance by configuring host firewall software (see Section 2.5.5) to restrict access to the
8039 vulnerable service to only those remote hosts which have a known need to use it.</xccdf:description>
8040 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.1">
8041 <xccdf:title xml:lang="en">Inetd and Xinetd</xccdf:title>
8042 <xccdf:description xml:lang="en">
8043 Is there an operational need to run the deprecated inetd or
8044 xinetd software packages? If not, ensure that they are removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8045 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8046 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase inetd xinetd <xhtml:br/></xhtml:code>
8047 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8048 Beginning with Red Hat Enterprise Linux 5, the xinetd service is no
8049 longer installed by default. This change represents increased awareness that the dedicated
8050 network listener model does not improve security or reliability of services, and that
8051 restriction of network listeners is better handled using a granular model such as SELinux
8052 than using xinetd's limited security options.</xccdf:description>
8053 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.a" selected="false" severity="medium" weight="10.0">
8054 <xccdf:title>Disable Inetd</xccdf:title>
8055 <xccdf:description>The inetd service should be disabled.</xccdf:description>
8056 <xccdf:ident system="http://cce.mitre.org">CCE-4234-1</xccdf:ident>
8057 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8058 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8059 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20170"/>
8060 </xccdf:check>
8061 </xccdf:Rule>
8062 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.b" selected="false" severity="medium" weight="10.0">
8063 <xccdf:title>Disable Xinetd</xccdf:title>
8064 <xccdf:description>The xinetd service should be disabled.</xccdf:description>
8065 <xccdf:ident system="http://cce.mitre.org">CCE-4252-3</xccdf:ident>
8066 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8067 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8068 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20171"/>
8069 </xccdf:check>
8070 </xccdf:Rule>
8071 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.c" selected="false" weight="10.0">
8072 <xccdf:title>Uninstall Inetd</xccdf:title>
8073 <xccdf:description>The inetd package should be uninstalled.</xccdf:description>
8074 <xccdf:ident system="http://cce.mitre.org">CCE-4023-8</xccdf:ident>
8075 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8076 <xccdf:fix># yum erase inetd</xccdf:fix>
8077 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8078 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20172"/>
8079 </xccdf:check>
8080 </xccdf:Rule>
8081 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.1.d" selected="false" weight="10.0">
8082 <xccdf:title>Uninstall Xinetd</xccdf:title>
8083 <xccdf:description>The xinetd package should be uninstalled.</xccdf:description>
8084 <xccdf:ident system="http://cce.mitre.org">CCE-4164-0</xccdf:ident>
8085 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8086 <xccdf:fix># yum erase xinetd</xccdf:fix>
8087 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8088 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20173"/>
8089 </xccdf:check>
8090 </xccdf:Rule>
8091 </xccdf:Group>
8092 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2">
8093 <xccdf:title xml:lang="en">Telnet</xccdf:title>
8094 <xccdf:description xml:lang="en">
8095 Is there a mission-critical reason for users to access the system
8096 via the insecure telnet protocol, rather than the more secure SSH protocol? If not, ensure
8097 that the telnet server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8099 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet-server <xhtml:br/></xhtml:code>
8100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8101 The telnet
8102 protocol uses unencrypted network communication, which means that data from the login
8103 session, including passwords and all other information transmitted during the session, can
8104 be stolen by eavesdroppers on the network, and also that outsiders can easily hijack the
8105 session to gain authenticated access to the telnet server. Organizations which use telnet
8106 should be actively working to migrate to a more secure protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8107 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8108 See Section 3.5 for information about the SSH service.</xccdf:description>
8109 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.2.1">
8110 <xccdf:title xml:lang="en">Remove Telnet Clients</xccdf:title>
8111 <xccdf:description xml:lang="en">
8112 In order to prevent users from casually attempting to use a telnet server, and thus exposing their credentials
8113 over the network, remove the telnet package, which contains a telnet client program:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8114 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8115 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase telnet<xhtml:br/></xhtml:code>
8116 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8117 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"/>
8118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8119 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase krb5-workstation<xhtml:br/></xhtml:code>
8120 </xccdf:description>
8121 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.a" selected="false" severity="high" weight="10.0">
8122 <xccdf:title>Remove the telnet client command from the System</xccdf:title>
8123 <xccdf:description>The telnet package should be uninstalled.</xccdf:description>
8124 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8125 <xccdf:fix># yum erase telnet</xccdf:fix>
8126 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8127 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20175"/>
8128 </xccdf:check>
8129 </xccdf:Rule>
8130 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.1.b" selected="false" weight="10.0">
8131 <xccdf:title>Remove the kerberos telnet client from the System</xccdf:title>
8132 <xccdf:description>The krb5-workstation package should be uninstalled.</xccdf:description>
8133 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8134 <xccdf:fix># yum erase rsh-server</xccdf:fix>
8135 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8136 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20176"/>
8137 </xccdf:check>
8138 </xccdf:Rule>
8139 </xccdf:Group>
8140 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.a" selected="false" severity="high" weight="10.0">
8141 <xccdf:title>Uninstall Telnet server</xccdf:title>
8142 <xccdf:description>The telnet-server package should be uninstalled.</xccdf:description>
8143 <xccdf:ident system="http://cce.mitre.org">CCE-4330-7</xccdf:ident>
8144 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8145 <xccdf:fix># yum erase telnet-server</xccdf:fix>
8146 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8147 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20174"/>
8148 </xccdf:check>
8149 </xccdf:Rule>
8150 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.2.b" selected="false" severity="high" weight="10.0">
8151 <xccdf:title>Disable telnet service</xccdf:title>
8152 <xccdf:description>telnet service should be disabled.</xccdf:description>
8153 <xccdf:ident system="http://cce.mitre.org">CCE-3390-2</xccdf:ident>
8154 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8155 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8156 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201745"/>
8157 </xccdf:check>
8158 </xccdf:Rule>
8159 </xccdf:Group>
8160 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3">
8161 <xccdf:title xml:lang="en">Rlogin, Rsh, and Rcp</xccdf:title>
8162 <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>
8163 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.1">
8164 <xccdf:title xml:lang="en">Remove the Rsh Server Commands from the System</xccdf:title>
8165 <xccdf:description xml:lang="en">
8166 Is there a mission-critical reason for users to access the
8167 system via the insecure rlogin, rsh, or rcp commands rather than the more secure ssh and
8168 scp? If not, ensure that the rsh server is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8170 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh-server <xhtml:br/></xhtml:code>
8171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8172 SSH was designed to be a drop-in replacement for the r-commands, which suffer
8173 from the same hijacking and eavesdropping problems as telnet. There is unlikely to be a
8174 case in which these commands cannot be replaced with SSH.</xccdf:description>
8175 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.a" selected="false" severity="high" weight="10.0">
8176 <xccdf:title>Remove the Rsh Server Commands from the System</xccdf:title>
8177 <xccdf:description>The rsh-server package should be uninstalled.</xccdf:description>
8178 <xccdf:ident system="http://cce.mitre.org">CCE-4308-3</xccdf:ident>
8179 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8180 <xccdf:fix># yum erase rsh-server</xccdf:fix>
8181 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8182 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20177"/>
8183 </xccdf:check>
8184 </xccdf:Rule>
8185 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.b" selected="false" severity="high" weight="10.0">
8186 <xccdf:title>disable rcp</xccdf:title>
8187 <xccdf:description>The rcp service should be disabled.</xccdf:description>
8188 <xccdf:ident system="http://cce.mitre.org">CCE-3974-3</xccdf:ident>
8189 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8190 <xccdf:fix># chkconfig rcp off</xccdf:fix>
8191 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8192 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201774"/>
8193 </xccdf:check>
8194 </xccdf:Rule>
8195 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.c" selected="false" severity="high" weight="10.0">
8196 <xccdf:title>disable rsh</xccdf:title>
8197 <xccdf:description>The rsh service should be disabled.</xccdf:description>
8198 <xccdf:ident system="http://cce.mitre.org">CCE-4141-8</xccdf:ident>
8199 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8200 <xccdf:fix># chkconfig rsh off</xccdf:fix>
8201 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8202 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201775"/>
8203 </xccdf:check>
8204 </xccdf:Rule>
8205 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.1.d" selected="false" severity="high" weight="10.0">
8206 <xccdf:title>disable rlogin</xccdf:title>
8207 <xccdf:description>The rlogin service should be disabled.</xccdf:description>
8208 <xccdf:ident system="http://cce.mitre.org">CCE-3537-8</xccdf:ident>
8209 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8210 <xccdf:fix># chkconfig rlogin off</xccdf:fix>
8211 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8212 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201776"/>
8213 </xccdf:check>
8214 </xccdf:Rule>
8215 </xccdf:Group>
8216 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.2">
8217 <xccdf:title xml:lang="en">Remove .rhosts Support from PAM Configuration Files</xccdf:title>
8218 <xccdf:description xml:lang="en">
8219 Check that pam_rhosts authentication is not used by any PAM
8220 services. Run the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8221 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8222 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># grep -l pam_rhosts /etc/pam.d/* <xhtml:br/></xhtml:code>
8223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8224 This command should return no output. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8226 The RHEL5 default is not to rely on .rhosts or /etc/hosts.equiv for any
8227 PAM-based services, so, on an uncustomized system, this command should return no output.
8228 If any files do use pam_rhosts, modify them to make use of a more secure authentication
8229 method instead. For more information about PAM, see Section 2.3.3.</xccdf:description>
8230 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.2.a" selected="false" severity="medium" weight="10.0">
8231 <xccdf:title>Remove .rhosts Support from PAM Configuration Files</xccdf:title>
8232 <xccdf:description>Check that pam_rhosts authentication is not used by any PAM services.</xccdf:description>
8233 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8234 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20178"/>
8235 </xccdf:check>
8236 </xccdf:Rule>
8237 </xccdf:Group>
8238 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.3.3">
8239 <xccdf:title xml:lang="en">Remove the Rsh Client Commands from the System</xccdf:title>
8240 <xccdf:description xml:lang="en">
8241 In order to prevent users from casually attempting to make use of an rsh server and thus exposing their
8242 credentials over the network, remove the rsh package, which contains client programs for many of r-commands
8243 described above:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8244 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8245 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase rsh<xhtml:br/></xhtml:code>
8246 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8247 Users should be trained to use the SSH client, and never attempt to connect to an rsh or telnet server. The
8248 krb5-workstation package also contains r-command client programs and should be removed as described in
8249 Section 3.2.2.1, if Kerberos is not in use.
8250 </xccdf:description>
8251 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.3.3.a" selected="false" severity="high" weight="10.0">
8252 <xccdf:title>Remove the Rsh Client Commands from the System</xccdf:title>
8253 <xccdf:description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</xccdf:description>
8254 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8255 <xccdf:fix># yum erase rsh</xccdf:fix>
8256 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8257 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20179"/>
8258 </xccdf:check>
8259 </xccdf:Rule>
8260 </xccdf:Group>
8261 </xccdf:Group>
8262 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.4">
8263 <xccdf:title xml:lang="en">NIS</xccdf:title>
8264 <xccdf:description xml:lang="en">
8265 The NIS client service ypbind is not activated by default. In the
8266 event that it was activated at some point, disable it by executing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8267 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8268 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ypbind off <xhtml:br/></xhtml:code>
8269 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8270 The NIS server package is not installed by default. In the event that
8271 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"/>
8272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8273 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase ypserv <xhtml:br/></xhtml:code>
8274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8275 The Network Information Service (NIS), also known as 'Yellow Pages' (YP), and
8276 its successor NIS+ have been made obsolete by Kerberos, LDAP, and other modern centralized
8277 authentication services. NIS should not be used because it suffers from security problems
8278 inherent in its design, such as inadequate protection of important authentication
8279 information.</xccdf:description>
8280 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.a" selected="false" severity="medium" weight="10.0">
8281 <xccdf:title>Uninstall NIS</xccdf:title>
8282 <xccdf:description>The ypserv package should be uninstalled.</xccdf:description>
8283 <xccdf:ident system="http://cce.mitre.org">CCE-4348-9</xccdf:ident>
8284 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8285 <xccdf:fix># yum erase ypserv</xccdf:fix>
8286 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8287 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20180"/>
8288 </xccdf:check>
8289 </xccdf:Rule>
8290 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.4.b" selected="false" severity="medium" weight="10.0">
8291 <xccdf:title>Disable NIS</xccdf:title>
8292 <xccdf:description>The ypbind service should be disabled.</xccdf:description>
8293 <xccdf:ident system="http://cce.mitre.org">CCE-3705-1</xccdf:ident>
8294 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8295 <xccdf:fix># chkconfig ypbind off</xccdf:fix>
8296 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8297 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20181"/>
8298 </xccdf:check>
8299 </xccdf:Rule>
8300 </xccdf:Group>
8301 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.2.5">
8302 <xccdf:title xml:lang="en">TFTP Server</xccdf:title>
8303 <xccdf:description xml:lang="en">
8304 Is there an operational need to run the deprecated TFTP server
8305 software? If not, ensure that it is removed from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8307 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase tftp-server <xhtml:br/></xhtml:code>
8308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8309 TFTP is a lightweight version of the FTP protocol which has traditionally been used to
8310 configure networking equipment. However, TFTP provides little security, and modern
8311 versions of networking operating systems frequently support configuration via SSH or
8312 other more secure protocols. A TFTP server should be run only if no more secure method of
8313 supporting existing equipment can be found.</xccdf:description>
8314 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.a" selected="false" weight="10.0">
8315 <xccdf:title>Uninstall TFTP Server</xccdf:title>
8316 <xccdf:description>The tftp-server package should be uninstalled.</xccdf:description>
8317 <xccdf:ident system="http://cce.mitre.org">CCE-3916-4</xccdf:ident>
8318 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8319 <xccdf:fix># yum erase tftp-server</xccdf:fix>
8320 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8321 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20182"/>
8322 </xccdf:check>
8323 </xccdf:Rule>
8324 <xccdf:Rule id="xccdf_cdf_rule_rule-3.2.5.b" selected="false" severity="low" weight="10.0">
8325 <xccdf:title>Disable TFTP Server</xccdf:title>
8326 <xccdf:description>The tftp service should be disabled.</xccdf:description>
8327 <xccdf:ident system="http://cce.mitre.org">CCE-4273-9</xccdf:ident>
8328 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8329 <xccdf:fix># chkconfig tftp off</xccdf:fix>
8330 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8331 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:201825"/>
8332 </xccdf:check>
8333 </xccdf:Rule>
8334 </xccdf:Group>
8335 </xccdf:Group>
8336 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3">
8337 <xccdf:title xml:lang="en">BaseServices</xccdf:title>
8338 <xccdf:description xml:lang="en">
8339 This section addresses the base services that are configured to
8340 start up on boot in a RHEL5 default installation. Some of these services listen on the
8341 network and should be treated with particular discretion. The other services are local
8342 system utilities that may or may not be extraneous. Each of these services should be
8343 disabled if not required.</xccdf:description>
8344 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.1">
8345 <xccdf:title xml:lang="en">Installation Helper Service (firstboot)</xccdf:title>
8346 <xccdf:description xml:lang="en">
8347 Firstboot is a daemon specific to the Red Hat installation
8348 process. It handles 'one-time' configuration following successful installation of the
8349 operating system. As such, there is no reason for this service to remain enabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8351 Disable firstboot by issuing the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8352 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8353 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig firstboot off</xhtml:code></xccdf:description>
8354 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.1.a" selected="false" severity="low" weight="10.0">
8355 <xccdf:title>Installation Helper Service (firstboot)</xccdf:title>
8356 <xccdf:description>The firstboot service should be disabled.</xccdf:description>
8357 <xccdf:ident system="http://cce.mitre.org">CCE-3412-4</xccdf:ident>
8358 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8359 <xccdf:fix># chkconfig firstboot off</xccdf:fix>
8360 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8361 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20183"/>
8362 </xccdf:check>
8363 </xccdf:Rule>
8364 </xccdf:Group>
8365 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.2">
8366 <xccdf:title xml:lang="en">Console Mouse Service (gpm)</xccdf:title>
8367 <xccdf:description xml:lang="en">
8368 GPM is the service that controls the text console mouse pointer.
8369 (The X Windows mouse pointer is unaffected by this service.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8370 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8371 If mouse functionality in the console is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8372 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8373 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig gpm off <xhtml:br/></xhtml:code>
8374 Although it is
8375 preferable to run as few services as possible, the console mouse pointer can be useful for
8376 preventing administrator mistakes in runlevel 3 by enabling copy-and-paste operations.</xccdf:description>
8377 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.2.a" selected="false" severity="low" weight="10.0">
8378 <xccdf:title>Console Mouse Service (gpm)</xccdf:title>
8379 <xccdf:description>The gpm service should be disabled.</xccdf:description>
8380 <xccdf:ident system="http://cce.mitre.org">CCE-4229-1</xccdf:ident>
8381 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8382 <xccdf:fix># chkconfig gpm off</xccdf:fix>
8383 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8384 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20184"/>
8385 </xccdf:check>
8386 </xccdf:Rule>
8387 </xccdf:Group>
8388 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.3">
8389 <xccdf:title xml:lang="en">Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
8390 <xccdf:description xml:lang="en">
8391 The goal of the irqbalance service is to optimize the balance
8392 between power savings and performance through distribution of hardware interrupts across
8393 multiple processors. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8394 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8395 In a server environment with multiple processors, this provides a
8396 useful service and should be left enabled. If a machine has only one processor, the
8397 service may be disabled: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8398 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8399 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig irqbalance off</xhtml:code></xccdf:description>
8400 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.3.a" selected="false" severity="low" weight="10.0">
8401 <xccdf:title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</xccdf:title>
8402 <xccdf:description>The irqbalance service should be disabled.</xccdf:description>
8403 <xccdf:ident system="http://cce.mitre.org">CCE-4123-6</xccdf:ident>
8404 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8405 <xccdf:fix># chkconfig irqbalance off</xccdf:fix>
8406 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8407 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20185"/>
8408 </xccdf:check>
8409 </xccdf:Rule>
8410 </xccdf:Group>
8411 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.4">
8412 <xccdf:title xml:lang="en">ISDN Support (isdn)</xccdf:title>
8413 <xccdf:description xml:lang="en">
8414 The ISDN service facilitates Internet connectivity in the
8415 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"/>
8416 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8417 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig isdn off</xhtml:code></xccdf:description>
8418 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.4.a" selected="false" severity="low" weight="10.0">
8419 <xccdf:title>ISDN Support (isdn)</xccdf:title>
8420 <xccdf:description>The isdn service should be disabled.</xccdf:description>
8421 <xccdf:ident system="http://cce.mitre.org">CCE-4286-1</xccdf:ident>
8422 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8423 <xccdf:fix># chkconfig isdn off</xccdf:fix>
8424 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8425 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20186"/>
8426 </xccdf:check>
8427 </xccdf:Rule>
8428 </xccdf:Group>
8429 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.5">
8430 <xccdf:title xml:lang="en">Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8431 <xccdf:description xml:lang="en">
8432 Kdump is a new kernel crash dump analyzer. It uses kexec to boot
8433 a secondary kernel ('capture' kernel) following a system crash. The kernel dump from the
8434 system crash is loaded into the capture kernel for analysis. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8435 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8436 Unless the system is used for kernel development or testing, disable the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8437 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8438 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kdump off</xhtml:code></xccdf:description>
8439 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.5.a" selected="false" severity="low" weight="10.0">
8440 <xccdf:title>Kdump Kernel Crash Analyzer (kdump)</xccdf:title>
8441 <xccdf:description>The kdump service should be disabled.</xccdf:description>
8442 <xccdf:ident system="http://cce.mitre.org">CCE-3425-6</xccdf:ident>
8443 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8444 <xccdf:fix># chkconfig kdump off</xccdf:fix>
8445 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8446 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20187"/>
8447 </xccdf:check>
8448 </xccdf:Rule>
8449 </xccdf:Group>
8450 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.6">
8451 <xccdf:title xml:lang="en">Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8452 <xccdf:description xml:lang="en">
8453 Is there a mission-critical reason for console users to add new
8454 hardware to the system? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8455 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8456 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig kudzu off <xhtml:br/></xhtml:code>
8457 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8458 Kudzu, Red Hat's hardware detection
8459 program, represents an unnecessary security risk as it allows unprivileged users to
8460 perform hardware configuration without authorization. Unless this specific functionality
8461 is required, Kudzu should be disabled.</xccdf:description>
8462 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.6.a" selected="false" severity="low" weight="10.0">
8463 <xccdf:title>Kudzu Hardware Probing Utility (kudzu)</xccdf:title>
8464 <xccdf:description>The kudzu service should be disabled.</xccdf:description>
8465 <xccdf:ident system="http://cce.mitre.org">CCE-4211-9</xccdf:ident>
8466 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8467 <xccdf:fix># chkconfig kudzu off</xccdf:fix>
8468 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8469 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20188"/>
8470 </xccdf:check>
8471 </xccdf:Rule>
8472 </xccdf:Group>
8473 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.7">
8474 <xccdf:title xml:lang="en">Software RAID Monitor (mdmonitor)</xccdf:title>
8475 <xccdf:description xml:lang="en">
8476 The mdmonitor service is used for monitoring a software RAID
8477 (hardware RAID setups do not use this service). This service is extraneous unless software
8478 RAID is in use (which is not common). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8479 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8480 If software RAID monitoring is not required, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8481 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8482 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig mdmonitor off</xhtml:code></xccdf:description>
8483 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.7.a" selected="false" severity="low" weight="10.0">
8484 <xccdf:title>Software RAID Monitor (mdmonitor)</xccdf:title>
8485 <xccdf:description>The mdmonitor service should be disabled.</xccdf:description>
8486 <xccdf:ident system="http://cce.mitre.org">CCE-3854-7</xccdf:ident>
8487 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8488 <xccdf:fix># chkconfig mdmonitor off</xccdf:fix>
8489 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8490 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20189"/>
8491 </xccdf:check>
8492 </xccdf:Rule>
8493 </xccdf:Group>
8494 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.8">
8495 <xccdf:title xml:lang="en">IA32 Microcode Utility(microcodectl)</xccdf:title>
8496 <xccdf:description xml:lang="en">
8497 microcode ctl is a microcode utility for use with Intel IA32
8498 processors (Pentium Pro, PII, Celeron, PIII, Xeon, Pentium 4, etc) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8499 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8500 If the system is not running an Intel IA32 processor, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8501 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8502 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig microcode ctl off</xhtml:code></xccdf:description>
8503 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.8.a" selected="false" severity="low" weight="10.0">
8504 <xccdf:title>IA32 Microcode Utility(microcodectl)</xccdf:title>
8505 <xccdf:description>The microcode_ctl service should be disabled.</xccdf:description>
8506 <xccdf:ident system="http://cce.mitre.org">CCE-4356-2</xccdf:ident>
8507 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8508 <xccdf:fix># chkconfig microcode ctl off</xccdf:fix>
8509 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8510 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20190"/>
8511 </xccdf:check>
8512 </xccdf:Rule>
8513 </xccdf:Group>
8514 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9">
8515 <xccdf:title xml:lang="en">Network Service (network)</xccdf:title>
8516 <xccdf:description xml:lang="en">
8517 The network service allows associated network interfaces to
8518 access the network. This section contains general guidance for controlling the operation
8519 of the service. For kernel parameters which affect networking, see Section</xccdf:description>
8520 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.1">
8521 <xccdf:title xml:lang="en">Disable All Networking if Not Needed</xccdf:title>
8522 <xccdf:description xml:lang="en">
8523 If the system is a standalone machine with no need for network
8524 access or even communication over the loopback device, then disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8525 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8526 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig network off</xhtml:code></xccdf:description>
8527 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.1.a" selected="false" severity="low" weight="10.0">
8528 <xccdf:title>Disable All Networking if Not Needed)</xccdf:title>
8529 <xccdf:description>The network service should be disabled.</xccdf:description>
8530 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8531 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8532 <xccdf:fix># chkconfig network off</xccdf:fix>
8533 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8534 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20191"/>
8535 </xccdf:check>
8536 </xccdf:Rule>
8537 </xccdf:Group>
8538 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.2">
8539 <xccdf:title xml:lang="en">Disable All External Network Interfaces if Not Needed</xccdf:title>
8540 <xccdf:description xml:lang="en">
8541 If the system does not require network communications but still
8542 needs to use the loopback interface, remove all files of the form ifcfg-interface except
8543 for ifcfg-lo from /etc/sysconfig/network-scripts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8544 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8545 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rm /etc/sysconfig/network-scripts/ifcfg-interface</xhtml:code></xccdf:description>
8546 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.2.a" selected="false" severity="medium" weight="10.0">
8547 <xccdf:title>Disable All External Network Interfaces if Not Needed</xccdf:title>
8548 <xccdf:description>All files of the form ifcfg-interface except for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</xccdf:description>
8549 <xccdf:fixtext>via /etc/sysconfig/network-scripts</xccdf:fixtext>
8550 <xccdf:fix># rm /etc/sysconfig/network-scripts/ifcfg-interface</xccdf:fix>
8551 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8552 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20192"/>
8553 </xccdf:check>
8554 </xccdf:Rule>
8555 </xccdf:Group>
8556 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.9.3">
8557 <xccdf:title xml:lang="en">Disable Zeroconf Networking</xccdf:title>
8558 <xccdf:description xml:lang="en">
8559 Zeroconf networking allows the system to assign itself an IP
8560 address and engage in IP communication without a statically-assigned address or even a
8561 DHCP server. Automatic address assignment via Zeroconf (or DHCP) is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8563 To disable Zeroconf automatic route assignment in the 169.245.0.0 subnet, add or correct
8564 the following line in /etc/sysconfig/network: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8565 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8566 NOZEROCONF=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8567 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8568 Zeroconf addresses are in
8569 the network 169.254.0.0. The networking scripts add entries to the system's routing
8570 table for these addresses. Zeroconf address assignment commonly occurs when the system
8571 is configured to use DHCP but fails to receive an address assignment from the DHCP
8572 server.</xccdf:description>
8573 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.9.3.a" selected="false" severity="medium" weight="10.0">
8574 <xccdf:title>Disable Zeroconf Networking</xccdf:title>
8575 <xccdf:description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</xccdf:description>
8576 <xccdf:ident system="http://cce.mitre.org">CCE-4369-5</xccdf:ident>
8577 <xccdf:fixtext>(1) via /etc/sysconfig/network</xccdf:fixtext>
8578 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8579 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20193"/>
8580 </xccdf:check>
8581 </xccdf:Rule>
8582 </xccdf:Group>
8583 </xccdf:Group>
8584 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.10">
8585 <xccdf:title xml:lang="en">Smart Card Support (pcscd)</xccdf:title>
8586 <xccdf:description xml:lang="en">
8587 The pcscd service provides support for Smart Cards and Smart Card
8588 Readers. If Smart Cards are not in use on the system, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8589 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8590 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig pcscd off</xhtml:code></xccdf:description>
8591 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.10.a" selected="false" severity="low" weight="10.0">
8592 <xccdf:title>Smart Card Support (pcscd)</xccdf:title>
8593 <xccdf:description>The pcscd service should be disabled.</xccdf:description>
8594 <xccdf:ident system="http://cce.mitre.org">CCE-4100-4</xccdf:ident>
8595 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8596 <xccdf:fix># chkconfig pcscd off</xccdf:fix>
8597 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8598 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20194"/>
8599 </xccdf:check>
8600 </xccdf:Rule>
8601 </xccdf:Group>
8602 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.11">
8603 <xccdf:title xml:lang="en">SMART Disk Monitoring Support (smartd)</xccdf:title>
8604 <xccdf:description xml:lang="en">
8605 SMART (Self-Monitoring, Analysis, and Reporting Technology) is a
8606 feature of hard drives that allows them to detect symptoms of disk failure and relay an
8607 appropriate warning. This technology is considered to bring relatively low security risk,
8608 and can be useful. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8609 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8610 Leave this service running if the system's hard drives are
8611 SMART-capable. Otherwise, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8612 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8613 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smartd off</xhtml:code></xccdf:description>
8614 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.11.a" selected="false" severity="low" weight="10.0">
8615 <xccdf:title>SMART Disk Monitoring Support (smartd)</xccdf:title>
8616 <xccdf:description>The smartd service should be disabled.</xccdf:description>
8617 <xccdf:ident system="http://cce.mitre.org">CCE-3455-3</xccdf:ident>
8618 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8619 <xccdf:fix># chkconfig smartd off</xccdf:fix>
8620 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8621 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20195"/>
8622 </xccdf:check>
8623 </xccdf:Rule>
8624 </xccdf:Group>
8625 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.12">
8626 <xccdf:title xml:lang="en">Boot Caching (readahead early/readahead later)</xccdf:title>
8627 <xccdf:description xml:lang="en">
8628 The following services provide one-time caching of files
8629 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"/>
8630 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8631 It is recommended that this service be disabled on most machines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8632 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8633 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig readahead_early off <xhtml:br/>
8634 # chkconfig readahead_later off <xhtml:br/></xhtml:code>
8635 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8636 The readahead services do not substantially increase a
8637 system's risk exposure, but they also do not provide great benefit. Unless the system is
8638 running a specialized application for which the file caching substantially improves system
8639 boot time, this guide recommends disabling the services.</xccdf:description>
8640 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.a" selected="false" severity="low" weight="10.0">
8641 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8642 <xccdf:description>The readahead_early service should be disabled.</xccdf:description>
8643 <xccdf:ident system="http://cce.mitre.org">CCE-4421-4</xccdf:ident>
8644 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8645 <xccdf:fix># chkconfig readahead early off</xccdf:fix>
8646 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8647 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20196"/>
8648 </xccdf:check>
8649 </xccdf:Rule>
8650 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.12.b" selected="false" severity="low" weight="10.0">
8651 <xccdf:title>Boot Caching (readahead early/readahead later)</xccdf:title>
8652 <xccdf:description>The readahead_later service should be disabled.</xccdf:description>
8653 <xccdf:ident system="http://cce.mitre.org">CCE-4302-6</xccdf:ident>
8654 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8655 <xccdf:fix># chkconfig readahead later off</xccdf:fix>
8656 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8657 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20197"/>
8658 </xccdf:check>
8659 </xccdf:Rule>
8660 </xccdf:Group>
8661 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13">
8662 <xccdf:title xml:lang="en">Application Support Services</xccdf:title>
8663 <xccdf:description xml:lang="en">
8664 The following services are software projects of freedesktop.org
8665 that are meant to provide system integration through a series of common APIs for
8666 applications. They are heavily integrated into the X Windows environment. If the system is
8667 not using X Windows, these services can typically be disabled.</xccdf:description>
8668 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.1">
8669 <xccdf:title xml:lang="en">D-Bus IPC Service (messagebus)</xccdf:title>
8670 <xccdf:description xml:lang="en">
8671 D-Bus is an IPC mechanism that provides a common channel for
8672 inter-process communication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8673 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8674 If no services which require D-Bus are in use, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8675 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8676 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig messagebus off <xhtml:br/></xhtml:code>
8677 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8678 A number of default services make use of D-Bus,
8679 including X Windows (Section 3.6), Bluetooth (Section 3.3.14) and Avahi (Section 3.7).
8680 This guide recommends that D-Bus and all its dependencies be disabled unless there is a
8681 mission-critical need for them. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8682 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8683 Stricter configuration of D-Bus is possible and
8684 documented in the man page dbus-daemon(1). D-Bus maintains two separate configuration
8685 files, located in /etc/dbus-1/, one for system-specific configuration and the other for
8686 session-specific configuration.</xccdf:description>
8687 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.1.a" selected="false" severity="low" weight="10.0">
8688 <xccdf:title>D-Bus IPC Service (messagebus)</xccdf:title>
8689 <xccdf:description>The messagebus service should be disabled.</xccdf:description>
8690 <xccdf:ident system="http://cce.mitre.org">CCE-3822-4</xccdf:ident>
8691 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8692 <xccdf:fix># chkconfig messagebus off</xccdf:fix>
8693 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8694 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20198"/>
8695 </xccdf:check>
8696 </xccdf:Rule>
8697 </xccdf:Group>
8698 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2">
8699 <xccdf:title xml:lang="en">HAL Daemon (haldaemon)</xccdf:title>
8700 <xccdf:description xml:lang="en">
8701 The haldaemon service provides a dynamic way of managing device
8702 interfaces. It automates device configuration and provides an API for making devices
8703 accessible to applications through the D-Bus interface.</xccdf:description>
8704 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.13.2.a" selected="false" severity="low" weight="10.0">
8705 <xccdf:title>HAL Daemon (haldaemon)</xccdf:title>
8706 <xccdf:description>The haldaemon service should be disabled.</xccdf:description>
8707 <xccdf:ident system="http://cce.mitre.org">CCE-4364-6</xccdf:ident>
8708 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8709 <xccdf:fix># chkconfig haldaemon off</xccdf:fix>
8710 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8711 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20199"/>
8712 </xccdf:check>
8713 </xccdf:Rule>
8714 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.1">
8715 <xccdf:title xml:lang="en">Disable HAL Daemon if Possible</xccdf:title>
8716 <xccdf:description xml:lang="en">
8717 HAL provides valuable attack surfaces to attackers as an
8718 intermediary to privileged operations and should be disabled unless necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8719 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8720 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig haldaemon off</xhtml:code></xccdf:description>
8721 </xccdf:Group>
8722 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.13.2.2">
8723 <xccdf:title xml:lang="en">Configure HAL Daemon if Necessary</xccdf:title>
8724 <xccdf:description xml:lang="en">
8725 HAL provides a limited user the ability to mount system
8726 devices. This is primarily used by X utilities such as gnome-volume-manager to perform
8727 automounting of removable media.
8728 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8729 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8730 HAL configuration is currently
8731 only possible through a series of fdi files located in
8732 /usr/share/hal/fdi/
8733 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8734 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8735 Note: The HAL future road map includes a
8736 mandatory framework for managing administrative privileges called
8737 PolicyKit.
8738 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8739 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8740 To prevent users from accessing devices through HAL,
8741 create the
8742 file
8743 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8744 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8745 /etc/hal/fdi/policy/99-policy-all-drives.fdi
8746 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8747 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8748 with the contents: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8749 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8750 &lt;?xml version="1.0"
8751 encoding="UTF-8"?&gt;&lt;deviceinfo
8752 version="0.2"&gt;&lt;device&gt;&lt;match key="info.capabilities"
8753 contains="volume"&gt;&lt;merge key="volume.ignore"
8754 type="bool"&gt;true&lt;/merge&gt;&lt;/match&gt;&lt;/device&gt;&lt;/deviceinfo&gt;
8755 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8756 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8757 The
8758 above code matches any device labeled with the volume capability (any device capable
8759 of being mounted will be labeled this way) and sets the corresponding volume.ignore
8760 key to true, indicating that the volume should be ignored. This both makes the volume
8761 invisible to the UI, and denies mount attempts by unprivileged users.
8762 </xccdf:description>
8763 </xccdf:Group>
8764 </xccdf:Group>
8765 </xccdf:Group>
8766 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14">
8767 <xccdf:title xml:lang="en">Bluetooth Support</xccdf:title>
8768 <xccdf:description xml:lang="en">
8769 Bluetooth provides a way to transfer information between devices
8770 such as mobile phones, laptops, PCs, printers, digital cameras, and video game consoles
8771 over a short-range wireless link. Any wireless communication presents a serious security
8772 risk to sensitive or classified systems. Section 2.5.2 contains information on the related
8773 topic of wireless networking. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8774 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8775 Removal of hardware is the only way to ensure that the
8776 Bluetooth wireless capability remains disabled. If it is completely impractical to remove
8777 the Bluetooth hardware module, and site policy still allows the device to enter sensitive
8778 spaces, every effort to disable the capability via software should be made. In general,
8779 acquisition policy should include provisions to prevent the purchase of equipment that
8780 will be used in sensitive spaces and includes Bluetooth capabilities.</xccdf:description>
8781 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.1">
8782 <xccdf:title xml:lang="en">Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8783 <xccdf:description xml:lang="en">
8784 The bluetooth service enables the system to use Bluetooth
8785 devices. If the system requires no Bluetooth devices, disable this service:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8786 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig bluetooth off</xhtml:code></xccdf:description>
8787 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.1.a" selected="false" severity="medium" weight="10.0">
8788 <xccdf:title>Bluetooth Host Controller Interface Daemon (bluetooth)</xccdf:title>
8789 <xccdf:description>The bluetooth service should be disabled.</xccdf:description>
8790 <xccdf:ident system="http://cce.mitre.org">CCE-4355-4</xccdf:ident>
8791 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8792 <xccdf:fix># chkconfig bluetooth off</xccdf:fix>
8793 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8794 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20200"/>
8795 </xccdf:check>
8796 </xccdf:Rule>
8797 </xccdf:Group>
8798 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.2">
8799 <xccdf:title xml:lang="en">Bluetooth Input Devices (hidd)</xccdf:title>
8800 <xccdf:description xml:lang="en">
8801 The hidd service provides support for Bluetooth input devices.
8802 If the system has no Bluetooth input devices (e.g. keyboard or mouse), disable this
8803 service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8804 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8805 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hidd off</xhtml:code></xccdf:description>
8806 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.2.a" selected="false" severity="low" weight="10.0">
8807 <xccdf:title>Bluetooth Input Devices (hidd)</xccdf:title>
8808 <xccdf:description>The hidd service should be disabled.</xccdf:description>
8809 <xccdf:ident system="http://cce.mitre.org">CCE-4377-8</xccdf:ident>
8810 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8811 <xccdf:fix># chkconfig hidd off</xccdf:fix>
8812 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8813 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20201"/>
8814 </xccdf:check>
8815 </xccdf:Rule>
8816 </xccdf:Group>
8817 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.14.3">
8818 <xccdf:title xml:lang="en">Disable Bluetooth Kernel Modules</xccdf:title>
8819 <xccdf:description xml:lang="en">
8820 The kernel's module loading system can be configured to prevent
8821 loading of the Bluetooth module. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8822 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8823 Add the following to /etc/modprobe.conf to prevent the
8824 loading of the Bluetooth module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8825 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8826 alias net-pf-31 off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8827 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8828 The unexpected name, net-pf-31, is
8829 a result of how the kernel requests modules for network protocol families; it is an
8830 alias for the bluetooth module.</xccdf:description>
8831 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.14.3.a" selected="false" severity="medium" weight="10.0">
8832 <xccdf:title>Disable Bluetooth Kernel Modules</xccdf:title>
8833 <xccdf:description>Prevent loading of the Bluetooth module.</xccdf:description>
8834 <xccdf:fixtext>(1) via /etc/modprobe.conf</xccdf:fixtext>
8835 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8836 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202015"/>
8837 </xccdf:check>
8838 </xccdf:Rule>
8839 </xccdf:Group>
8840 </xccdf:Group>
8841 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15">
8842 <xccdf:title xml:lang="en">Power Management Support</xccdf:title>
8843 <xccdf:description xml:lang="en">
8844 The following services provide an interface to power management
8845 functions. These functions include monitoring battery power, system hibernate/suspend, CPU
8846 throttling, and various power-save utilities.</xccdf:description>
8847 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.1">
8848 <xccdf:title xml:lang="en">Advanced Power Management Subsystem (apmd)</xccdf:title>
8849 <xccdf:description xml:lang="en">
8850 The apmd service provides last generation power management
8851 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8852 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8853 If the system is capable of ACPI support, or if power management is not
8854 necessary, disable this service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8855 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8856 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig apmd off <xhtml:br/></xhtml:code>
8857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8858 APM is being replaced by ACPI and
8859 should be considered deprecated. As such, it can be disabled if ACPI is supported by
8860 your hardware and kernel. If the file /proc/acpi/info exists and contains ACPI version
8861 information, then APM can safely be disabled without loss of functionality.</xccdf:description>
8862 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.1.a" selected="false" severity="low" weight="10.0">
8863 <xccdf:title>Advanced Power Management Subsystem (apmd)</xccdf:title>
8864 <xccdf:description>The apmd service should be disabled.</xccdf:description>
8865 <xccdf:ident system="http://cce.mitre.org">CCE-4289-5</xccdf:ident>
8866 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8867 <xccdf:fix># chkconfig apmd off</xccdf:fix>
8868 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8869 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20202"/>
8870 </xccdf:check>
8871 </xccdf:Rule>
8872 </xccdf:Group>
8873 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.2">
8874 <xccdf:title xml:lang="en">Advanced Configuration and Power Interface (acpid)</xccdf:title>
8875 <xccdf:description xml:lang="en">
8876 The acpid service provides next generation power management
8877 support. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8878 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8879 Unless power management features are not necessary, leave this service enabled.</xccdf:description>
8880 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.2.a" selected="false" severity="low" weight="10.0">
8881 <xccdf:title>Advanced Configuration and Power Interface (acpid)</xccdf:title>
8882 <xccdf:description>The acpid service should be disabled.</xccdf:description>
8883 <xccdf:ident system="http://cce.mitre.org">CCE-4298-6</xccdf:ident>
8884 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8885 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8886 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20203"/>
8887 </xccdf:check>
8888 </xccdf:Rule>
8889 </xccdf:Group>
8890 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.3.15.3">
8891 <xccdf:title xml:lang="en">CPU Throttling (cpuspeed)</xccdf:title>
8892 <xccdf:description xml:lang="en">
8893 The cpuspeed service uses hardware support to throttle the CPU
8894 when the system is idle. Unless CPU power optimization is unnecessary, leave this
8895 service enabled.</xccdf:description>
8896 <xccdf:Rule id="xccdf_cdf_rule_rule-3.3.15.3.a" selected="false" severity="low" weight="10.0">
8897 <xccdf:title>CPU Throttling (cpuspeed)</xccdf:title>
8898 <xccdf:description>The cpuspeed service should be disabled.</xccdf:description>
8899 <xccdf:ident system="http://cce.mitre.org">CCE-4051-9</xccdf:ident>
8900 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8901 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8902 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20204"/>
8903 </xccdf:check>
8904 </xccdf:Rule>
8905 </xccdf:Group>
8906 </xccdf:Group>
8907 </xccdf:Group>
8908 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4">
8909 <xccdf:title xml:lang="en">Cron and At Daemons</xccdf:title>
8910 <xccdf:description xml:lang="en">
8911 The cron and at services are used to allow commands to be executed
8912 at a later time. The cron service is required by almost all systems to perform necessary
8913 maintenance tasks, while at may or may not be required on a given system. Both daemons
8914 should be configured defensively.</xccdf:description>
8915 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.a" selected="false" severity="high" weight="10.0">
8916 <xccdf:title>Enable cron Daemon</xccdf:title>
8917 <xccdf:description>The crond service should be enabled.</xccdf:description>
8918 <xccdf:ident system="http://cce.mitre.org">CCE-4324-0</xccdf:ident>
8919 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8920 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8921 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20205"/>
8922 </xccdf:check>
8923 </xccdf:Rule>
8924 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.1">
8925 <xccdf:title xml:lang="en">Disable anacron if Possible</xccdf:title>
8926 <xccdf:description xml:lang="en">
8927 Is this a machine which is designed to run all the time, such as
8928 a server or a workstation which is left on at night? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8929 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8930 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase anacron<xhtml:br/></xhtml:code>
8931 The
8932 anacron subsystem is designed to provide cron functionality for machines which may be shut
8933 down during the normal times that system cron jobs run, frequently in the middle of the
8934 night. Laptops and workstations which are shut down at night should keep anacron enabled,
8935 so that standard system cron jobs will run when the machine boots. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8936 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8937 However, on machines
8938 which do not need this additional functionality, anacron represents another piece of
8939 privileged software which could contain vulnerabilities. Therefore, it should be removed
8940 when possible to reduce system risk.</xccdf:description>
8941 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.a" selected="false" severity="low" weight="10.0">
8942 <xccdf:title>Disable anacron if Possible</xccdf:title>
8943 <xccdf:description>The anacron service should be disabled.</xccdf:description>
8944 <xccdf:ident system="http://cce.mitre.org">CCE-4406-5</xccdf:ident>
8945 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
8946 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8947 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20206"/>
8948 </xccdf:check>
8949 </xccdf:Rule>
8950 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.1.b" selected="false" weight="10.0">
8951 <xccdf:title>Uninstall anacron if Possible</xccdf:title>
8952 <xccdf:description>The anacron package should be uninstalled.</xccdf:description>
8953 <xccdf:ident system="http://cce.mitre.org">CCE-4428-9</xccdf:ident>
8954 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
8955 <xccdf:fix># yum erase anacron</xccdf:fix>
8956 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
8957 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20207"/>
8958 </xccdf:check>
8959 </xccdf:Rule>
8960 </xccdf:Group>
8961 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.2">
8962 <xccdf:title xml:lang="en">Restrict Permissions on Files Used by cron</xccdf:title>
8963 <xccdf:description xml:lang="en">
8964 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
8965 <xhtml:li>Restrict the permissions on the primary system crontab file: <xhtml:br/>
8966 <xhtml:br/>
8967 <xhtml:code># chown root:root /etc/crontab <xhtml:br/>
8968 # chmod 600 /etc/crontab</xhtml:code></xhtml:li>
8969 <xhtml:li>If anacron has not been removed,
8970 restrict the permissions on its primary configuration file: <xhtml:br/>
8971 <xhtml:br/>
8972 <xhtml:code># chown root:root /etc/anacrontab <xhtml:br/>
8973 # chmod 600 /etc/anacrontab </xhtml:code></xhtml:li>
8974 <xhtml:li>Restrict the permission on all system
8975 crontab directories: <xhtml:br/>
8976 <xhtml:br/>
8977 <xhtml:code># cd /etc <xhtml:br/>
8978 # chown -R root:root cron.hourly cron.daily cron.weekly cron.monthly cron.d <xhtml:br/>
8979 # chmod -R go-rwx cron.hourly cron.daily cron.weekly cron.monthly cron.d </xhtml:code></xhtml:li>
8980 <xhtml:li>Restrict the permissions on the spool directory for user crontab files: <xhtml:br/>
8981 <xhtml:br/>
8982 <xhtml:code># chown root:root /var/spool/cron <xhtml:br/>
8983 # chmod -R go-rwx /var/spool/cron </xhtml:code></xhtml:li>
8984 </xhtml:ol> <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8985 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
8986 Cron and anacron make use of a
8987 number of configuration files and directories. The system crontabs need only be edited by
8988 root, and user crontabs are edited using the setuid root crontab command. If unprivileged
8989 users can modify system cron configuration files, they may be able to gain elevated
8990 privileges, so all unnecessary access to these files should be disabled.</xccdf:description>
8991 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.group" operator="equals" type="string">
8992 <xccdf:title>group owner of /etc/crontab</xccdf:title>
8993 <xccdf:description xml:lang="en">Specify group owner of /etc/crontab.</xccdf:description>
8994 <xccdf:question xml:lang="en">Specify group owner of /etc/crontab</xccdf:question>
8995 <xccdf:value>root</xccdf:value>
8996 <xccdf:value selector="root">root</xccdf:value>
8997 </xccdf:Value>
8998 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.user" operator="equals" type="string">
8999 <xccdf:title>user owner of /etc/crontab</xccdf:title>
9000 <xccdf:description xml:lang="en">Specify user owner of /etc/crontab.</xccdf:description>
9001 <xccdf:question xml:lang="en">Specify user owner of /etc/crontab</xccdf:question>
9002 <xccdf:value>root</xccdf:value>
9003 <xccdf:value selector="root">root</xccdf:value>
9004 </xccdf:Value>
9005 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.primary.permissions" operator="equals" type="string">
9006 <xccdf:title>permissions on /etc/crontab file</xccdf:title>
9007 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
9008 <xccdf:question xml:lang="en">Specify permissions of /etc/crontab</xccdf:question>
9009 <xccdf:value>110100100</xccdf:value>
9010 <xccdf:value selector="644">110100100</xccdf:value>
9011 <xccdf:value selector="400">100000000</xccdf:value>
9012 <xccdf:value selector="600">110000000</xccdf:value>
9013 <xccdf:value selector="700">111000000</xccdf:value>
9014 </xccdf:Value>
9015 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group" operator="equals" type="string">
9016 <xccdf:title>group owner of /etc/anacrontab</xccdf:title>
9017 <xccdf:description xml:lang="en">Specify group owner of /etc/ancrontab.</xccdf:description>
9018 <xccdf:question xml:lang="en">Specify group owner of /etc/anacrontab</xccdf:question>
9019 <xccdf:value>root</xccdf:value>
9020 <xccdf:value selector="root">root</xccdf:value>
9021 </xccdf:Value>
9022 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user" operator="equals" type="string">
9023 <xccdf:title>user owner of /etc/anacrontab</xccdf:title>
9024 <xccdf:description xml:lang="en">Specify user owner of /etc/anacrontab.</xccdf:description>
9025 <xccdf:question xml:lang="en">Specify user owner of /etc/anacrontab</xccdf:question>
9026 <xccdf:value>root</xccdf:value>
9027 <xccdf:value selector="root">root</xccdf:value>
9028 </xccdf:Value>
9029 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions" operator="equals" type="string">
9030 <xccdf:title>permissions on /etc/anacrontab file</xccdf:title>
9031 <xccdf:description xml:lang="en">Specify file permissions on /etc/crontab.</xccdf:description>
9032 <xccdf:question xml:lang="en">Specify permissions of /etc/anacrontab</xccdf:question>
9033 <xccdf:value>110100100</xccdf:value>
9034 <xccdf:value selector="644">110100100</xccdf:value>
9035 <xccdf:value selector="400">100000000</xccdf:value>
9036 <xccdf:value selector="600">110000000</xccdf:value>
9037 <xccdf:value selector="700">111000000</xccdf:value>
9038 </xccdf:Value>
9039 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.group" operator="equals" type="string">
9040 <xccdf:title>group owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
9041 <xccdf:description xml:lang="en">Specify group owner of /etc/cron.* files and directories.</xccdf:description>
9042 <xccdf:question xml:lang="en">Specify group owner of /etc/cron.* files and directories</xccdf:question>
9043 <xccdf:value>root</xccdf:value>
9044 <xccdf:value selector="root">root</xccdf:value>
9045 </xccdf:Value>
9046 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.user" operator="equals" type="string">
9047 <xccdf:title>user owner of cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
9048 <xccdf:description xml:lang="en">Specify user owner of /etc/cron.* files and directories.</xccdf:description>
9049 <xccdf:question xml:lang="en">Specify user owner of /etc/cron.* files and directories</xccdf:question>
9050 <xccdf:value>root</xccdf:value>
9051 <xccdf:value selector="root">root</xccdf:value>
9052 </xccdf:Value>
9053 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.system.crontab.directories.permissions" operator="equals" type="string">
9054 <xccdf:title>permissions on cron.hourly cron.daily cron.weekly cron.monthly cron.d</xccdf:title>
9055 <xccdf:description xml:lang="en">Specify file and directory permissions on /etc/cron.*.</xccdf:description>
9056 <xccdf:question xml:lang="en">Specify permissions of /etc/cron.* files and directories</xccdf:question>
9057 <xccdf:value>111101101</xccdf:value>
9058 <xccdf:value selector="755">111101101</xccdf:value>
9059 <xccdf:value selector="400">100000000</xccdf:value>
9060 <xccdf:value selector="600">110000000</xccdf:value>
9061 <xccdf:value selector="700">111000000</xccdf:value>
9062 </xccdf:Value>
9063 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.group" operator="equals" type="string">
9064 <xccdf:title>group owner of /var/spool/cron</xccdf:title>
9065 <xccdf:description xml:lang="en">Specify group owner of /var/spool/cron.</xccdf:description>
9066 <xccdf:question xml:lang="en">Specify group owner of /var/spool/cron</xccdf:question>
9067 <xccdf:value>root</xccdf:value>
9068 <xccdf:value selector="root">root</xccdf:value>
9069 </xccdf:Value>
9070 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.user" operator="equals" type="string">
9071 <xccdf:title>user owner of /var/spool/cron</xccdf:title>
9072 <xccdf:description xml:lang="en">Specify user owner of /var/spool/cron.</xccdf:description>
9073 <xccdf:value>root</xccdf:value>
9074 <xccdf:value selector="root">root</xccdf:value>
9075 </xccdf:Value>
9076 <xccdf:Value id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions" operator="equals" type="string">
9077 <xccdf:title>permissions on /var/spool/cron file</xccdf:title>
9078 <xccdf:description xml:lang="en">Specify file permissions on /var/spool/cron.</xccdf:description>
9079 <xccdf:question xml:lang="en">Specify file permissions of /var/spool/cron</xccdf:question>
9080 <xccdf:value>111000000</xccdf:value>
9081 <xccdf:value selector="400">100000000</xccdf:value>
9082 <xccdf:value selector="600">110000000</xccdf:value>
9083 <xccdf:value selector="700">111000000</xccdf:value>
9084 </xccdf:Value>
9085 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.a" selected="false" severity="medium" weight="10.0">
9086 <xccdf:title>Set group owner on /etc/crontab</xccdf:title>
9087 <xccdf:description>The /etc/crontab file should be owned by the appropriate group.</xccdf:description>
9088 <xccdf:ident system="http://cce.mitre.org">CCE-3626-9</xccdf:ident>
9089 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9090 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9091 <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"/>
9092 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20208"/>
9093 </xccdf:check>
9094 </xccdf:Rule>
9095 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.b" selected="false" severity="medium" weight="10.0">
9096 <xccdf:title>Set user owner on /etc/crontab</xccdf:title>
9097 <xccdf:description>The /etc/crontab file should be owned by the appropriate user.</xccdf:description>
9098 <xccdf:ident system="http://cce.mitre.org">CCE-3851-3</xccdf:ident>
9099 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9100 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9101 <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"/>
9102 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20209"/>
9103 </xccdf:check>
9104 </xccdf:Rule>
9105 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.1.c" selected="false" severity="medium" weight="10.0">
9106 <xccdf:title>Set Permissions on /etc/crontab</xccdf:title>
9107 <xccdf:title>Restrict Permissions on Files Used by cron</xccdf:title>
9108 <xccdf:description>File permissions for /etc/crontab should be set correctly.</xccdf:description>
9109 <xccdf:ident system="http://cce.mitre.org">CCE-4388-5</xccdf:ident>
9110 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9111 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9112 <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"/>
9113 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20210"/>
9114 </xccdf:check>
9115 </xccdf:Rule>
9116 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.a" selected="false" severity="medium" weight="10.0">
9117 <xccdf:title>Set group owner on /etc/anacrontab</xccdf:title>
9118 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate group.</xccdf:description>
9119 <xccdf:ident system="http://cce.mitre.org">CCE-3604-6</xccdf:ident>
9120 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9121 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9122 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20211" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.group"/>
9123 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20211"/>
9124 </xccdf:check>
9125 </xccdf:Rule>
9126 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.b" selected="false" severity="medium" weight="10.0">
9127 <xccdf:title>Set user owner on /etc/anacrontab</xccdf:title>
9128 <xccdf:description>The /etc/anacrontab file should be owned by the appropriate user.</xccdf:description>
9129 <xccdf:ident system="http://cce.mitre.org">CCE-4379-4</xccdf:ident>
9130 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9131 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9132 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20212" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.user"/>
9133 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20212"/>
9134 </xccdf:check>
9135 </xccdf:Rule>
9136 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.2.c" selected="false" severity="medium" weight="10.0">
9137 <xccdf:title>Set Permissions on /etc/anacrontab</xccdf:title>
9138 <xccdf:description>File permissions for /etc/anacrontab should be set correctly.</xccdf:description>
9139 <xccdf:ident system="http://cce.mitre.org">CCE-4304-2</xccdf:ident>
9140 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9141 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9142 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20213" value-id="xccdf_cdf_value_var-3.4.2.system.anacrontab.permissions"/>
9143 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20213"/>
9144 </xccdf:check>
9145 </xccdf:Rule>
9146 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.a" selected="false" severity="medium" weight="10.0">
9147 <xccdf:title>Set group owner on /etc/cron.hourly</xccdf:title>
9148 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate group.</xccdf:description>
9149 <xccdf:ident system="http://cce.mitre.org">CCE-4054-3</xccdf:ident>
9150 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9151 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9152 <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"/>
9153 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20214"/>
9154 </xccdf:check>
9155 </xccdf:Rule>
9156 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.b" selected="false" severity="medium" weight="10.0">
9157 <xccdf:title>Set group owner on /etc/cron.daily</xccdf:title>
9158 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate group.</xccdf:description>
9159 <xccdf:ident system="http://cce.mitre.org">CCE-3481-9</xccdf:ident>
9160 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9161 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9162 <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"/>
9163 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20215"/>
9164 </xccdf:check>
9165 </xccdf:Rule>
9166 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.c" selected="false" severity="medium" weight="10.0">
9167 <xccdf:title>Set group owner on /etc/cron.weekly</xccdf:title>
9168 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate group.</xccdf:description>
9169 <xccdf:ident system="http://cce.mitre.org">CCE-4331-5</xccdf:ident>
9170 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9171 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9172 <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"/>
9173 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20216"/>
9174 </xccdf:check>
9175 </xccdf:Rule>
9176 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.d" selected="false" severity="medium" weight="10.0">
9177 <xccdf:title>Set group owner on /etc/cron.monthly</xccdf:title>
9178 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate group.</xccdf:description>
9179 <xccdf:ident system="http://cce.mitre.org">CCE-4322-4</xccdf:ident>
9180 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9181 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9182 <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"/>
9183 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20217"/>
9184 </xccdf:check>
9185 </xccdf:Rule>
9186 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.e" selected="false" severity="medium" weight="10.0">
9187 <xccdf:title>Set group owner on /etc/cron.d</xccdf:title>
9188 <xccdf:description>The /etc/cron.d file should be owned by the appropriate group.</xccdf:description>
9189 <xccdf:ident system="http://cce.mitre.org">CCE-4212-7</xccdf:ident>
9190 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9191 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9192 <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"/>
9193 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20218"/>
9194 </xccdf:check>
9195 </xccdf:Rule>
9196 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.f" selected="false" severity="medium" weight="10.0">
9197 <xccdf:title>Set user owner on /etc/cron.hourly</xccdf:title>
9198 <xccdf:description>The /etc/cron.hourly file should be owned by the appropriate user.</xccdf:description>
9199 <xccdf:ident system="http://cce.mitre.org">CCE-3983-4</xccdf:ident>
9200 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9201 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9202 <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"/>
9203 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20219"/>
9204 </xccdf:check>
9205 </xccdf:Rule>
9206 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.g" selected="false" severity="medium" weight="10.0">
9207 <xccdf:title>Set user owner on /etc/cron.daily</xccdf:title>
9208 <xccdf:description>The /etc/cron.daily file should be owned by the appropriate user.</xccdf:description>
9209 <xccdf:ident system="http://cce.mitre.org">CCE-4022-0</xccdf:ident>
9210 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9211 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9212 <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"/>
9213 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20220"/>
9214 </xccdf:check>
9215 </xccdf:Rule>
9216 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.h" selected="false" severity="medium" weight="10.0">
9217 <xccdf:title>Set user owner on /etc/cron.weekly</xccdf:title>
9218 <xccdf:description>The /etc/cron.weekly file should be owned by the appropriate user.</xccdf:description>
9219 <xccdf:ident system="http://cce.mitre.org">CCE-3833-1</xccdf:ident>
9220 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9221 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9222 <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"/>
9223 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20221"/>
9224 </xccdf:check>
9225 </xccdf:Rule>
9226 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.i" selected="false" severity="medium" weight="10.0">
9227 <xccdf:title>Set user owner on /etc/cron.monthly</xccdf:title>
9228 <xccdf:description>The /etc/cron.monthly file should be owned by the appropriate user.</xccdf:description>
9229 <xccdf:ident system="http://cce.mitre.org">CCE-4441-2</xccdf:ident>
9230 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9231 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9232 <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"/>
9233 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20222"/>
9234 </xccdf:check>
9235 </xccdf:Rule>
9236 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.j" selected="false" severity="medium" weight="10.0">
9237 <xccdf:title>Set user owner on /etc/cron.d</xccdf:title>
9238 <xccdf:description>The /etc/cron.d file should be owned by the appropriate user.</xccdf:description>
9239 <xccdf:ident system="http://cce.mitre.org">CCE-4380-2</xccdf:ident>
9240 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9241 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9242 <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"/>
9243 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20223"/>
9244 </xccdf:check>
9245 </xccdf:Rule>
9246 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.k" selected="false" severity="medium" weight="10.0">
9247 <xccdf:title>Set permissions on /etc/cron.hourly</xccdf:title>
9248 <xccdf:description>File permissions for /etc/cron.hourly should be set correctly.</xccdf:description>
9249 <xccdf:ident system="http://cce.mitre.org">CCE-4106-1</xccdf:ident>
9250 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9251 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9252 <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"/>
9253 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20224"/>
9254 </xccdf:check>
9255 </xccdf:Rule>
9256 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.l" selected="false" severity="medium" weight="10.0">
9257 <xccdf:title>Set permissions on /etc/cron.daily</xccdf:title>
9258 <xccdf:description>File permissions for /etc/cron.daily should be set correctly.</xccdf:description>
9259 <xccdf:ident system="http://cce.mitre.org">CCE-4450-3</xccdf:ident>
9260 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9261 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9262 <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"/>
9263 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20225"/>
9264 </xccdf:check>
9265 </xccdf:Rule>
9266 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.m" selected="false" severity="medium" weight="10.0">
9267 <xccdf:title>Set permissions on /etc/cron.weekly</xccdf:title>
9268 <xccdf:description>File permissions for /etc/cron.weekly should be set correctly.</xccdf:description>
9269 <xccdf:ident system="http://cce.mitre.org">CCE-4203-6</xccdf:ident>
9270 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9271 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9272 <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"/>
9273 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20226"/>
9274 </xccdf:check>
9275 </xccdf:Rule>
9276 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.n" selected="false" severity="medium" weight="10.0">
9277 <xccdf:title>Set permissions on /etc/cron.monthly</xccdf:title>
9278 <xccdf:description>File permissions for /etc/cron.monthly should be set correctly.</xccdf:description>
9279 <xccdf:ident system="http://cce.mitre.org">CCE-4251-5</xccdf:ident>
9280 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9281 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9282 <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"/>
9283 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20227"/>
9284 </xccdf:check>
9285 </xccdf:Rule>
9286 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.3.o" selected="false" severity="medium" weight="10.0">
9287 <xccdf:title>Set permissions on /etc/cron.d</xccdf:title>
9288 <xccdf:description>File permissions for /etc/cron.d should be set correctly.</xccdf:description>
9289 <xccdf:ident system="http://cce.mitre.org">CCE-4250-7</xccdf:ident>
9290 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9291 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9292 <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"/>
9293 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20228"/>
9294 </xccdf:check>
9295 </xccdf:Rule>
9296 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.a" selected="false" severity="medium" weight="10.0">
9297 <xccdf:title>Restrict group owner on /var/spool/cron directory</xccdf:title>
9298 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate group.</xccdf:description>
9299 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9300 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9301 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20229" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.group"/>
9302 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20229"/>
9303 <!-- TBD -->
9304 </xccdf:check>
9305 </xccdf:Rule>
9306 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.b" selected="false" severity="medium" weight="10.0">
9307 <xccdf:title>Restrict user owner on /var/spool/cron directory</xccdf:title>
9308 <xccdf:description>The /var/spool/cron directory should be owned by the appropriate user.</xccdf:description>
9309 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
9310 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9311 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20230" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.user"/>
9312 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20230"/>
9313 <!-- TBD -->
9314 </xccdf:check>
9315 </xccdf:Rule>
9316 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.2.4.c" selected="false" severity="medium" weight="10.0">
9317 <xccdf:title>Restrict Permissions on /var/spool/cron directory</xccdf:title>
9318 <xccdf:description>Directory permissions for /var/spool/cron should be set correctly.</xccdf:description>
9319 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
9320 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9321 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20231" value-id="xccdf_cdf_value_var-3.4.2.spool.directory.permissions"/>
9322 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20231"/>
9323 <!-- TBD -->
9324 </xccdf:check>
9325 </xccdf:Rule>
9326 </xccdf:Group>
9327 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.3">
9328 <xccdf:title xml:lang="en">Disable at if Possible</xccdf:title>
9329 <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"/>
9330 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9331 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig atd off<xhtml:br/></xhtml:code>
9332 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9333 Many of the periodic or delayed execution features of the at daemon can be provided through the cron daemon
9334 instead.
9335 </xccdf:description>
9336 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.a" selected="false" severity="low" weight="10.0">
9337 <xccdf:title>Disable at Daemon</xccdf:title>
9338 <xccdf:description>The atd service should be disabled.</xccdf:description>
9339 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9340 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9341 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202052"/>
9342 </xccdf:check>
9343 </xccdf:Rule>
9344 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.3.b" selected="false" weight="10.0">
9345 <xccdf:title>uninstall at Daemon</xccdf:title>
9346 <xccdf:description>The at package should be removed.</xccdf:description>
9347 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9348 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9349 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202053"/>
9350 </xccdf:check>
9351 </xccdf:Rule>
9352 </xccdf:Group>
9353 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.4.4">
9354 <xccdf:title xml:lang="en">Restrict at and cron to Authorized Users</xccdf:title>
9355 <xccdf:description xml:lang="en">
9356 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
9357 <xhtml:li>Remove the cron.deny file: <xhtml:br/>
9358 <xhtml:br/>
9359 <xhtml:code># rm /etc/cron.deny</xhtml:code></xhtml:li>
9360 <xhtml:li>Edit /etc/cron.allow, adding one line for each user allowed to use the crontab command to
9361 create cron jobs. </xhtml:li>
9362 <xhtml:li>Remove the at.deny file: <xhtml:br/>
9363 <xhtml:br/>
9364 <xhtml:code># rm /etc/at.deny </xhtml:code></xhtml:li>
9365 <xhtml:li>Edit /etc/at.allow, adding one line for each user allowed to use the at command to create at jobs. </xhtml:li>
9366 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9368 The
9369 /etc/cron.allow and /etc/at.allow files contain lists of users who are allowed to use cron
9370 and at to delay execution of processes. If these files exist and if the corresponding
9371 files /etc/cron.deny and /etc/at.deny do not exist, then only users listed in the relevant
9372 allow files can run the crontab and at commands to submit jobs to be run at scheduled
9373 intervals. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9374 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9375 On many systems, only the system administrator needs the ability to schedule
9376 jobs. Note that even if a given user is not listed in cron.allow, cron jobs can still be
9377 run as that user. The cron.allow file controls only administrative access to the crontab
9378 command for scheduling and modifying cron jobs.</xccdf:description>
9379 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.a" selected="false" severity="medium" weight="10.0">
9380 <xccdf:title>Remove /etc/cron.deny</xccdf:title>
9381 <xccdf:description>/etc/cron.deny file should not exist.</xccdf:description>
9382 <xccdf:fix>rm /etc/cron.deny</xccdf:fix>
9383 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9384 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20232"/>
9385 </xccdf:check>
9386 </xccdf:Rule>
9387 <xccdf:Rule id="xccdf_cdf_rule_rule-3.4.4.b" selected="false" severity="medium" weight="10.0">
9388 <xccdf:title>Remove /etc/at.deny</xccdf:title>
9389 <xccdf:description>/etc/at.deny file should not exist.</xccdf:description>
9390 <xccdf:fix>rm /etc/at.deny</xccdf:fix>
9391 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9392 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20233"/>
9393 </xccdf:check>
9394 </xccdf:Rule>
9395 </xccdf:Group>
9396 </xccdf:Group>
9397 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5">
9398 <xccdf:title xml:lang="en">SSH Server</xccdf:title>
9399 <xccdf:description xml:lang="en">
9400 The SSH protocol is recommended for remote login and remote file
9401 transfer. SSH provides confidentiality and integrity for data exchanged between two systems,
9402 as well as server authentication, through the use of public key cryptography. The
9403 implementation included with the system is called OpenSSH, and more detailed documentation
9404 is available from its website, http://www.openssh.org. Its server program is called sshd and
9405 provided by the RPM package openssh-server.</xccdf:description>
9406 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1">
9407 <xccdf:title xml:lang="en">Disable OpenSSH Server if Possible</xccdf:title>
9408 <xccdf:description xml:lang="en">
9409 Unless the system needs to provide the remote login and file
9410 transfer capabilities of SSH, disable and remove the OpenSSH server and its configuration.</xccdf:description>
9411 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.1">
9412 <xccdf:title xml:lang="en">Disable and Remove OpenSSH Software</xccdf:title>
9413 <xccdf:description xml:lang="en">
9414 Disable and remove openssh-server with the commands: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9416 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig sshd off <xhtml:br/>
9417 # yum erase openssh-server <xhtml:br/></xhtml:code>
9418 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9419 Users of the system will still be able to
9420 use the SSH client program /usr/bin/ssh to access SSH servers on other systems.</xccdf:description>
9421 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.a" selected="false" severity="low" weight="10.0">
9422 <xccdf:title>Disable OpenSSH Software</xccdf:title>
9423 <xccdf:description>The sshd service should be disabled.</xccdf:description>
9424 <xccdf:ident system="http://cce.mitre.org">CCE-4268-9</xccdf:ident>
9425 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9426 <xccdf:fix># chkconfig sshd off</xccdf:fix>
9427 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9428 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20234"/>
9429 </xccdf:check>
9430 </xccdf:Rule>
9431 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.1.b" selected="false" weight="10.0">
9432 <xccdf:title>Remove OpenSSH Software</xccdf:title>
9433 <xccdf:description>SSH should be uninstalled</xccdf:description>
9434 <xccdf:ident system="http://cce.mitre.org">CCE-4272-1</xccdf:ident>
9435 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9436 <xccdf:fix># yum erase openssh-server</xccdf:fix>
9437 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9438 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20235"/>
9439 </xccdf:check>
9440 </xccdf:Rule>
9441 </xccdf:Group>
9442 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.1.2">
9443 <xccdf:title xml:lang="en">Remove SSH Server iptables Firewall Exception</xccdf:title>
9444 <xccdf:description xml:lang="en">
9445 Edit the files /etc/sysconfig/iptables and
9446 /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"/>
9447 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9448 -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"/>
9449 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9450 By default, inbound connections to SSH's port are allowed. If the SSH server is not
9451 being used, this exception should be removed from the firewall configuration. See
9452 Section 2.5.5 for more information about Iptables.</xccdf:description>
9453 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.a" selected="false" severity="high" weight="10.0">
9454 <xccdf:title>Remove SSH Server iptables Firewall Exception</xccdf:title>
9455 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9456 <xccdf:ident system="http://cce.mitre.org">CCE-4295-2</xccdf:ident>
9457 <xccdf:fixtext>(1) /etc/sysconfig/iptables</xccdf:fixtext>
9458 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9459 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20236"/>
9460 </xccdf:check>
9461 </xccdf:Rule>
9462 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.1.2.b" selected="false" severity="high" weight="10.0">
9463 <xccdf:title>Remove SSH Server ip6tables Firewall Exception</xccdf:title>
9464 <xccdf:description>Inbound connections to the ssh port should be denied</xccdf:description>
9465 <xccdf:fixtext>(1) /etc/sysconfig/ip6tables</xccdf:fixtext>
9466 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9467 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20237"/>
9468 </xccdf:check>
9469 </xccdf:Rule>
9470 </xccdf:Group>
9471 </xccdf:Group>
9472 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2">
9473 <xccdf:title xml:lang="en">Configure OpenSSH Server if Necessary</xccdf:title>
9474 <xccdf:description xml:lang="en">
9475 If the system needs to act as an SSH server, then certain changes
9476 should be made to the OpenSSH daemon configuration file /etc/ssh/sshd config. The
9477 following recommendations can be applied to this file. See the sshd config(5) man page for
9478 more detailed information.</xccdf:description>
9479 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.1">
9480 <xccdf:title xml:lang="en">Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9481 <xccdf:description xml:lang="en">
9482 Only SSH protocol version 2 connections should be permitted.
9483 Version 1 of the protocol contains security vulnerabilities. The default setting shipped
9484 in the configuration file is correct, but it is important enough to check. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9485 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9486 Verify that the following line appears: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9487 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9488 Protocol 2</xccdf:description>
9489 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.1.a" selected="false" severity="high" weight="10.0">
9490 <xccdf:title>Ensure Only Protocol 2 Connections Allowed</xccdf:title>
9491 <xccdf:description>SSH version 1 protocol support should be disabled.</xccdf:description>
9492 <xccdf:ident system="http://cce.mitre.org">CCE-4325-7</xccdf:ident>
9493 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9494 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9495 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20238"/>
9496 </xccdf:check>
9497 </xccdf:Rule>
9498 </xccdf:Group>
9499 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.2">
9500 <xccdf:title xml:lang="en">Limit Users SSH Access'</xccdf:title>
9501 <xccdf:description xml:lang="en">
9502 By default, the SSH configuration allows any user to access the
9503 system. In order to allow all users to login via SSH but deny only a few users, add or
9504 correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9506 DenyUsers USER1 USER2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9507 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9508 Alternatively, if it is appropriate to allow only a few users access to the system via
9509 SSH, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9510 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9511 AllowUsers USER1 USER2</xccdf:description>
9512 </xccdf:Group>
9513 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.3">
9514 <xccdf:title xml:lang="en">Set Idle Timeout Interval for User Logins</xccdf:title>
9515 <xccdf:description xml:lang="en">
9516 SSH allows administrators to set an idle timeout interval.
9517 After this interval has passed, the idle user will be automatically logged out. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9518 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9519 Find and edit the following lines in /etc/ssh/sshd config as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9521 ClientAliveInterval interval <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9522 ClientAliveCountMax 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9523 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9524 The timeout interval is given in seconds.
9525 To have a timeout of 5 minutes, set interval to 300. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9526 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9527 If a shorter timeout has already been set for
9528 the login shell, as in Section 2.3.5.5, that value will preempt any SSH setting made
9529 here. Keep in mind that some processes may stop SSH from correctly detecting that the
9530 user is idle.</xccdf:description>
9531 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.a" operator="equals" type="number">
9532 <xccdf:title>SSH session Idle time</xccdf:title>
9533 <xccdf:description xml:lang="en">Specify duration of allowed idle time.</xccdf:description>
9534 <xccdf:question xml:lang="en">Specify duration of allowed idle time (in seconds) for SSH session</xccdf:question>
9535 <xccdf:value>300</xccdf:value>
9536 <xccdf:value selector="5_minutes">300</xccdf:value>
9537 <xccdf:value selector="10_minutes">600</xccdf:value>
9538 </xccdf:Value>
9539 <xccdf:Value id="xccdf_cdf_value_var-3.5.2.3.b" operator="equals" type="number">
9540 <xccdf:title>SSH session ClientAliveCountMax</xccdf:title>
9541 <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>
9542 <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>
9543 <xccdf:value>3</xccdf:value>
9544 <xccdf:value selector="0">0</xccdf:value>
9545 <xccdf:value selector="3">3</xccdf:value>
9546 </xccdf:Value>
9547 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.a" selected="false" severity="medium" weight="10.0">
9548 <xccdf:title>Set Idle Timeout Interval for User Logins</xccdf:title>
9549 <xccdf:description>The SSH idle timout interval should be set to an appropriate
9550 value</xccdf:description>
9551 <xccdf:ident system="http://cce.mitre.org">CCE-3845-5</xccdf:ident>
9552 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9553 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9554 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20239" value-id="xccdf_cdf_value_var-3.5.2.3.a"/>
9555 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20239"/>
9556 </xccdf:check>
9557 </xccdf:Rule>
9558 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.3.b" selected="false" weight="10.0">
9559 <xccdf:title>Set ClientAliveCountMax for User Logins</xccdf:title>
9560 <xccdf:description>The ClientAliveCountMax should be set to an appropriate value</xccdf:description>
9561 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9562 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9563 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20240" value-id="xccdf_cdf_value_var-3.5.2.3.b"/>
9564 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20240"/>
9565 </xccdf:check>
9566 </xccdf:Rule>
9567 </xccdf:Group>
9568 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.4">
9569 <xccdf:title xml:lang="en">Disable .rhosts Files</xccdf:title>
9570 <xccdf:description xml:lang="en">
9571 SSH can emulate the behavior of the obsolete rsh command in
9572 allowing users to enable insecure access to their accounts via .rhosts files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9573 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9574 To ensure that this behavior is disabled, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9575 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9576 IgnoreRhosts yes</xccdf:description>
9577 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.4.a" selected="false" severity="high" weight="10.0">
9578 <xccdf:title>Disable .rhosts Files</xccdf:title>
9579 <xccdf:description>Emulation of the rsh command through the ssh server should be disabled</xccdf:description>
9580 <xccdf:ident system="http://cce.mitre.org">CCE-4475-0</xccdf:ident>
9581 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9582 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9583 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20241"/>
9584 </xccdf:check>
9585 </xccdf:Rule>
9586 </xccdf:Group>
9587 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.5">
9588 <xccdf:title xml:lang="en">Disable Host-Based Authentication</xccdf:title>
9589 <xccdf:description xml:lang="en">
9590 SSH's cryptographic host-based authentication is slightly more
9591 secure than .rhosts authentication, since hosts are cryptographically authenticated.
9592 However, it is not recommended that hosts unilaterally trust one another, even within an
9593 organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9594 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9595 To disable host-based authentication, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9596 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9597 HostbasedAuthentication no</xccdf:description>
9598 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.5.a" selected="false" weight="10.0">
9599 <xccdf:title>Disable Host-Based Authentication</xccdf:title>
9600 <xccdf:description>SSH host-based authentication should be disabled</xccdf:description>
9601 <xccdf:ident system="http://cce.mitre.org">CCE-4370-3</xccdf:ident>
9602 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9603 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9604 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20242"/>
9605 </xccdf:check>
9606 </xccdf:Rule>
9607 </xccdf:Group>
9608 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.6">
9609 <xccdf:title xml:lang="en">Disable root Login via SSH</xccdf:title>
9610 <xccdf:description xml:lang="en">
9611 The root user should never be allowed to login directly over a
9612 network, as this both reduces auditable information about who ran privileged commands on
9613 the system and allows direct attack attempts on root's password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9614 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9615 To disable root login via SSH, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9616 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9617 PermitRootLogin no</xccdf:description>
9618 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.6.a" selected="false" severity="medium" weight="10.0">
9619 <xccdf:title>Disable root Login via SSH</xccdf:title>
9620 <xccdf:description>Root login via SSH should be disabled</xccdf:description>
9621 <xccdf:ident system="http://cce.mitre.org">CCE-4387-7</xccdf:ident>
9622 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9623 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9624 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20243"/>
9625 </xccdf:check>
9626 </xccdf:Rule>
9627 </xccdf:Group>
9628 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.7">
9629 <xccdf:title xml:lang="en">Disable Empty Passwords</xccdf:title>
9630 <xccdf:description xml:lang="en">
9631 To explicitly disallow remote login from accounts with empty
9632 passwords, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9633 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9634 PermitEmptyPasswords no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9635 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9636 Measures should also be taken to disable accounts with empty passwords system-wide,
9637 as described in Section 2.3.1.5.</xccdf:description>
9638 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.7.a" selected="false" weight="10.0">
9639 <xccdf:title>Disable Empty Passwords</xccdf:title>
9640 <xccdf:description>Remote connections from accounts with empty passwords should be disabled</xccdf:description>
9641 <xccdf:ident system="http://cce.mitre.org">CCE-3660-8</xccdf:ident>
9642 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9643 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9644 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20244"/>
9645 </xccdf:check>
9646 </xccdf:Rule>
9647 </xccdf:Group>
9648 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.8">
9649 <xccdf:title xml:lang="en">Enable a Warning Banner</xccdf:title>
9650 <xccdf:description xml:lang="en">
9651 Section 2.3.7 contains information on how to create an
9652 appropriate warning banner. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9653 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9654 To enable a warning banner, add or correct the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9655 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9656 Banner /etc/issue</xccdf:description>
9657 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.8.a" selected="false" severity="medium" weight="10.0">
9658 <xccdf:title>Enable a Warning Banner</xccdf:title>
9659 <xccdf:description>SSH warning banner should be enabled</xccdf:description>
9660 <xccdf:ident system="http://cce.mitre.org">CCE-4431-3</xccdf:ident>
9661 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9662 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9663 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20245"/>
9664 </xccdf:check>
9665 </xccdf:Rule>
9666 </xccdf:Group>
9667 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.9">
9668 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9669 <xccdf:description xml:lang="en">
9670 To prevent users from being able to present environment options to the SSH daemon and potentially bypass
9671 some access restrictions, add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9672 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9673 PermitUserEnvironment no
9674 </xccdf:description>
9675 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.9.a" selected="false" weight="10">
9676 <xccdf:title xml:lang="en">Do Not Allow Users to Set Environment Options</xccdf:title>
9677 <xccdf:description>PermitUserEnvironment should be disabled</xccdf:description>
9678 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9679 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9680 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202455"/>
9681 </xccdf:check>
9682 </xccdf:Rule>
9683 </xccdf:Group>
9684 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.10">
9685 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9686 <xccdf:description xml:lang="en">
9687 Limit the ciphers to those which are FIPS-approved and only use ciphers in counter (CTR) mode. The
9688 following line demonstrates use of FIPS-approved ciphers in CTR mode:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9689 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9690 Ciphers aes128-ctr,aes192-ctr,aes256-ctr<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9691 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9692 The man page sshd_config(5) contains a list of the ciphers supported for the current release of the SSH daemon.</xccdf:description>
9693 <xccdf:Rule id="xccdf_cdf_rule_rule-3.5.2.10.a" selected="false" weight="10">
9694 <xccdf:title xml:lang="en">Use Only Approved Ciphers</xccdf:title>
9695 <xccdf:description>Use only FIPS approved ciphers not in CBC mode</xccdf:description>
9696 <xccdf:fixtext>(1) via /etc/ssh/sshd_config</xccdf:fixtext>
9697 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9698 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202456"/>
9699 </xccdf:check>
9700 </xccdf:Rule>
9701 </xccdf:Group>
9702 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.5.2.11">
9703 <xccdf:title xml:lang="en">Strengthen Firewall Configuration if Possible</xccdf:title>
9704 <xccdf:description xml:lang="en">
9705 If the SSH server must only accept connections from the local
9706 network, then strengthen the default firewall rule for the SSH service. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9707 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9708 Determine an
9709 appropriate network block, netwk, and network mask, mask, representing the machines on
9710 your network which must be allowed to access this SSH server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9711 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9712 Edit the files
9713 /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in use). In each file,
9714 locate the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9715 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9716 -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"/>
9717 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9718 and replace it with: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9719 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9720 -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"/>
9721 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9722 If your site uses IPv6, and you are editing ip6tables, use the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9723 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9724 -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"/>
9725 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9726 instead because Netfilter does not yet reliably support stateful filtering for
9727 IPv6. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9728 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9729 See Section 2.5.5 for more information about Iptables configuration.</xccdf:description>
9730 </xccdf:Group>
9731 </xccdf:Group>
9732 </xccdf:Group>
9733 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6">
9734 <xccdf:title xml:lang="en">X Window System</xccdf:title>
9735 <xccdf:description xml:lang="en">The X Window System implementation included with the system is called X.org.</xccdf:description>
9736 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1">
9737 <xccdf:title xml:lang="en">Disable X Windows if Possible</xccdf:title>
9738 <xccdf:description xml:lang="en">
9739 Unless there is a mission-critical reason for the machine to run
9740 a GUI login screen, prevent X from starting automatically at boot. There is usually no
9741 reason to run X Windows on a dedicated server machine, since administrators can login via
9742 SSH or on the text console.</xccdf:description>
9743 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.1">
9744 <xccdf:title xml:lang="en">Disable X Windows at System Boot</xccdf:title>
9745 <xccdf:description xml:lang="en">
9746 Edit the file /etc/inittab, and correct the line
9747 id:5:initdefault: to: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9748 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9749 id:3:initdefault: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9751 This action changes the default boot runlevel of
9752 the system from 5 to 3. These two runlevels should be identical except that runlevel 5
9753 starts X on boot, while runlevel 3 does not.</xccdf:description>
9754 <xccdf:Value id="xccdf_cdf_value_var-3.6.1.1.a" operator="equals" type="number">
9755 <xccdf:title>default boot level</xccdf:title>
9756 <xccdf:description xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI.</xccdf:description>
9757 <xccdf:question xml:lang="en">Specify whether to start in single user mode, text UI or graphical UI</xccdf:question>
9758 <xccdf:value>5</xccdf:value>
9759 <xccdf:value selector="multi-user-graphical">5</xccdf:value>
9760 <xccdf:value selector="multi-user-text">3</xccdf:value>
9761 <xccdf:value selector="single-user-text">1</xccdf:value>
9762 </xccdf:Value>
9763 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.1.a" selected="false" severity="medium" weight="10.0">
9764 <xccdf:title>Disable X Windows at System Boot</xccdf:title>
9765 <xccdf:description>X Windows should be disabled at system boot</xccdf:description>
9766 <xccdf:ident system="http://cce.mitre.org">CCE-4462-8</xccdf:ident>
9767 <xccdf:fixtext>(1) via /etc/inittab</xccdf:fixtext>
9768 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9769 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20246" value-id="xccdf_cdf_value_var-3.6.1.1.a"/>
9770 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20246"/>
9771 </xccdf:check>
9772 </xccdf:Rule>
9773 </xccdf:Group>
9774 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.2">
9775 <xccdf:title xml:lang="en">Remove X Windows from the System if Possible</xccdf:title>
9776 <xccdf:description xml:lang="en">
9777 Remove the X11 RPMs from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9778 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9779 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum groupremove "X Window System" <xhtml:br/></xhtml:code>
9780 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9781 As long as X.org remains installed on the system, users can still run X
9782 Windows by typing startx at the shell prompt. This may run X Windows using configuration
9783 settings which are less secure than the system defaults. Therefore, if the machine is a
9784 dedicated server which does not need to provide graphical logins at all, it is safest to
9785 remove the X.org software entirely. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9786 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9787 The command given here will remove over 100
9788 packages. It should safely and effectively remove X from machines which do not need it.</xccdf:description>
9789 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.2.a" selected="false" weight="10.0">
9790 <xccdf:title>Remove X Windows from the System if Possible</xccdf:title>
9791 <xccdf:description>X Windows should be removed</xccdf:description>
9792 <xccdf:ident system="http://cce.mitre.org">CCE-4422-2</xccdf:ident>
9793 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
9794 <xccdf:fix># yum groupremove "X Window System"</xccdf:fix>
9795 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9796 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20247"/>
9797 </xccdf:check>
9798 </xccdf:Rule>
9799 </xccdf:Group>
9800 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3">
9801 <xccdf:title xml:lang="en">Lock Down X Windows startx Configuration if Necessary</xccdf:title>
9802 <xccdf:description xml:lang="en">
9803 If X is not to be started at boot time but the software must
9804 remain installed, users will be able to run X manually using the startx command. In some
9805 cases, this runs X with a configuration which is less safe than the default. Follow
9806 these instructions to mitigate risk from this configuration.</xccdf:description>
9807 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.1">
9808 <xccdf:title xml:lang="en">Disable X Font Server</xccdf:title>
9809 <xccdf:description xml:lang="en">
9810 Disable the xfs helper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9811 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9812 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig xfs off <xhtml:br/></xhtml:code>
9813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9814 The
9815 system's X.org requires the X Font Server service (xfs) to function. The xfs service
9816 will be started automatically if X.org is activated via startx. Therefore, it is safe
9817 to prevent xfs from starting at boot when X is disabled, even if users are allowed to
9818 run X manually.</xccdf:description>
9819 </xccdf:Group>
9820 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.1.3.2">
9821 <xccdf:title xml:lang="en">Disable X Window System Listening</xccdf:title>
9822 <xccdf:description xml:lang="en">
9823 To prevent X.org from listening for remote connections,
9824 create the file /etc/X11/xinit/xserverrc and fill it with the following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9825 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9826 exec X :0 -nolisten tcp $@ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9827 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9828 One of X.org's features is the ability to provide remote graphical
9829 display. This feature should be disabled unless it is required. If the system uses
9830 runlevel 5, which is the default, the GDM display manager starts X safely, with remote
9831 listening disabled. However, if X is started from the command line with the startx
9832 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"/>
9833 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9834 See the xinit(1), startx(1), and Xserver(1) man pages for more information.</xccdf:description>
9835 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.1.3.2.a" selected="false" severity="medium" weight="10.0">
9836 <xccdf:title>Disable X Window System Listening</xccdf:title>
9837 <xccdf:description>Disable the ability to provide remote graphical display</xccdf:description>
9838 <xccdf:ident system="http://cce.mitre.org">CCE-4074-1</xccdf:ident>
9839 <xccdf:fixtext>(1) via /etc/X11/xinit/xserverrc</xccdf:fixtext>
9840 <xccdf:fix>echo "exec X :0 -nolisten tcp $@" &gt; /etc/X11/xinit/xserverrc</xccdf:fix>
9841 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9842 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20248"/>
9843 </xccdf:check>
9844 </xccdf:Rule>
9845 </xccdf:Group>
9846 </xccdf:Group>
9847 </xccdf:Group>
9848 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2">
9849 <xccdf:title xml:lang="en">Configure X Windows if Necessary</xccdf:title>
9850 <xccdf:description xml:lang="en">
9851 If there is a mission-critical reason for this machine to run a
9852 GUI, improve the security of the default X configuration by following the guidance in this
9853 section.</xccdf:description>
9854 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.6.2.1">
9855 <xccdf:title xml:lang="en">Create Warning Banners for GUI Login Users</xccdf:title>
9856 <xccdf:description xml:lang="en">
9857 Edit the file /etc/gdm/custom.conf. Locate the [greeter]
9858 section, and correct that section to contain the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9859 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9860 [greeter] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9861 InfoMsgFile=/etc/issue<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9862 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9863 See Section 2.3.7 for an explanation of banner file use. This setting will cause the
9864 system greeting banner to be displayed in a box prior to GUI login. If the default
9865 banner font is inappropriate, it can be changed by specifying the InfoMsgFont directive
9866 as well, for instance: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9868 InfoMsgFont=Sans 12</xccdf:description>
9869 <xccdf:Rule id="xccdf_cdf_rule_rule-3.6.2.1.a" selected="false" severity="medium" weight="10.0">
9870 <xccdf:title>Create Warning Banners for GUI Login Users</xccdf:title>
9871 <xccdf:description>Enable warning banner for GUI login</xccdf:description>
9872 <xccdf:ident system="http://cce.mitre.org">CCE-3717-6</xccdf:ident>
9873 <xccdf:fixtext>(1) via /etc/gdm/custom.conf</xccdf:fixtext>
9874 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9875 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20249"/>
9876 </xccdf:check>
9877 </xccdf:Rule>
9878 </xccdf:Group>
9879 </xccdf:Group>
9880 </xccdf:Group>
9881 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7">
9882 <xccdf:title xml:lang="en">Avahi Server</xccdf:title>
9883 <xccdf:description xml:lang="en">
9884 The Avahi daemon implements the DNS Service Discovery and Multicast
9885 DNS protocols, which provide service and host discovery on a network. It allows a system to
9886 automatically identify resources on the network, such as printers or web servers. This
9887 capability is also known as mDNSresponder and is a major part of Zeroconf networking. By
9888 default, it is enabled.</xccdf:description>
9889 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1">
9890 <xccdf:title xml:lang="en">Disable Avahi Server if Possible</xccdf:title>
9891 <xccdf:description xml:lang="en">
9892 Because the Avahi daemon service keeps an open network port, it
9893 is subject to network attacks. Disabling it is particularly important to reduce the
9894 system's vulnerability to such attacks.</xccdf:description>
9895 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.1">
9896 <xccdf:title xml:lang="en">Disable Avahi Server Software</xccdf:title>
9897 <xccdf:description xml:lang="en">
9898 Issue the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9899 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9900 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig avahi-daemon off</xhtml:code></xccdf:description>
9901 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.1.1.a" selected="false" severity="low" weight="10.0">
9902 <xccdf:title>Disable Avahi Server Software</xccdf:title>
9903 <xccdf:description>The avahi-daemon service should be disabled.</xccdf:description>
9904 <xccdf:ident system="http://cce.mitre.org">CCE-4365-3</xccdf:ident>
9905 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
9906 <xccdf:fix># chkconfig avahi-daemon off</xccdf:fix>
9907 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9908 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20250"/>
9909 </xccdf:check>
9910 </xccdf:Rule>
9911 </xccdf:Group>
9912 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.1.2">
9913 <xccdf:title xml:lang="en">Remove Avahi Server iptables Firewall Exception</xccdf:title>
9914 <xccdf:description xml:lang="en">
9915 Edit the files /etc/sysconfig/iptables and
9916 /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"/>
9917 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9918 -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"/>
9919 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9920 By default, inbound
9921 connections to Avahi's port are allowed. If the Avahi server is not being used, this
9922 exception should be removed from the firewall configuration. See Section 2.5.5 for more
9923 information about the Iptables firewall.</xccdf:description>
9924 </xccdf:Group>
9925 </xccdf:Group>
9926 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2">
9927 <xccdf:title xml:lang="en">Configure Avahi if Necessary</xccdf:title>
9928 <xccdf:description xml:lang="en">
9929 If your system requires the Avahi daemon, its configuration can
9930 be restricted to improve security. The Avahi daemon configuration file is
9931 /etc/avahi/avahi-daemon.conf. The following security recommendations should be applied to
9932 this file. See the avahi-daemon.conf(5) man page or documentation at http://www.avahi.org
9933 for more detailed information about the configuration options.</xccdf:description>
9934 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.1">
9935 <xccdf:title xml:lang="en">Serve Only via Required Protocol</xccdf:title>
9936 <xccdf:description xml:lang="en">
9937 The default setting in the configuration file allows Avahi to
9938 use both IPv4 and IPv6 sockets. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9939 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9940 If you are using only IPv4, edit
9941 /etc/avahi/avahi-daemon.conf and ensure the following line exists in the [server]
9942 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9943 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9944 use-ipv6=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9945 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9946 Similarly, if you are using only IPv6, disable IPv4 sockets with the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9947 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9948 use-ipv4=no</xccdf:description>
9949 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.a" selected="false" severity="medium" weight="10.0">
9950 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9951 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv6</xccdf:description>
9952 <xccdf:ident system="http://cce.mitre.org">CCE-4136-8</xccdf:ident>
9953 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9954 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9955 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20251"/>
9956 </xccdf:check>
9957 </xccdf:Rule>
9958 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.1.b" selected="false" severity="medium" weight="10.0">
9959 <xccdf:title>Serve Only via Required Protocol</xccdf:title>
9960 <xccdf:description>The Avahi daemon should be configured not to serve via Ipv4</xccdf:description>
9961 <xccdf:ident system="http://cce.mitre.org">CCE-4409-9</xccdf:ident>
9962 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
9963 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
9964 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20252"/>
9965 </xccdf:check>
9966 </xccdf:Rule>
9967 </xccdf:Group>
9968 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.2">
9969 <xccdf:title xml:lang="en">Check Responses TTL Field '</xccdf:title>
9970 <xccdf:description xml:lang="en">
9971 Avahi can be set to ignore IP packets unless their TTL field is
9972 255. To make Avahi ignore packets unless the TTL field is 255, edit
9973 /etc/avahi/avahi-daemon.conf and ensure the following line appears in the [server]
9974 section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9975 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9976 check-response-ttl=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9977 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9978 This helps to ensure that only mDNS responses from the
9979 local network are processed, because the TTL field in a packet is decremented from its
9980 initial value of 255 whenever it is routed from one network to another. Although a
9981 properly-configured router or firewall should not allow mDNS packets into the local
9982 network at all, this option provides another check to ensure they are not trusted.</xccdf:description>
9983 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.2.a" selected="false" weight="10.0">
9984 <xccdf:title>Check Responses' TTL Field</xccdf:title>
9985 <xccdf:description>Avahi should be configured to reject packets with a TTL field not equal to 255</xccdf:description>
9986 <xccdf:ident system="http://cce.mitre.org">CCE-4426-3</xccdf:ident>
9987 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</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:20253"/>
9990 </xccdf:check>
9991 </xccdf:Rule>
9992 </xccdf:Group>
9993 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.3">
9994 <xccdf:title xml:lang="en">Prevent Other Programs from Using Avahis Port '</xccdf:title>
9995 <xccdf:description xml:lang="en">
9996 Avahi can stop other mDNS stacks from running on the host by
9997 preventing other processes from binding to port 5353. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9998 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
9999 To prevent other mDNS stacks from
10000 running, edit /etc/avahi/avahi-daemon.conf and ensure the following line appears in the
10001 [server] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10002 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10003 disallow-other-stacks=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10004 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10005 This is designed to help ensure that only
10006 Avahi is responsible for mDNS traffic coming from that port on the system.</xccdf:description>
10007 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.3.a" selected="false" weight="10.0">
10008 <xccdf:title>Prevent Other Programs from Using Avahi's Port</xccdf:title>
10009 <xccdf:description>Avahi should be configured to not allow other stacks from binding to port 5353</xccdf:description>
10010 <xccdf:ident system="http://cce.mitre.org">CCE-4193-9</xccdf:ident>
10011 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10012 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10013 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20254"/>
10014 </xccdf:check>
10015 </xccdf:Rule>
10016 </xccdf:Group>
10017 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.4">
10018 <xccdf:title xml:lang="en">Disable Publishing if Possible</xccdf:title>
10019 <xccdf:description xml:lang="en">
10020 The default setting in the configuration file allows the
10021 avahi-daemon to send information about the local host, such as its address records and
10022 the services it offers, to the local network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10023 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10024 To stop sending this information but still
10025 allow Avahi to query the network for services, ensure the configuration file includes
10026 the following line in the [publish] section: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10027 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10028 disable-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10029 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10030 This line may be
10031 particularly useful if Avahi is needed for printer discovery, but not to advertise
10032 services. This configuration is highly recommended for client systems that should not
10033 advertise their services (or existence).</xccdf:description>
10034 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.4.a" selected="false" weight="10.0">
10035 <xccdf:title>Disable Publishing if Possible</xccdf:title>
10036 <xccdf:description>Avahi publishing of local information should be disabled</xccdf:description>
10037 <xccdf:ident system="http://cce.mitre.org">CCE-4444-6</xccdf:ident>
10038 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10039 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10040 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20255"/>
10041 </xccdf:check>
10042 </xccdf:Rule>
10043 </xccdf:Group>
10044 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.7.2.5">
10045 <xccdf:title xml:lang="en">Restrict Published Information</xccdf:title>
10046 <xccdf:description xml:lang="en">
10047 If it is necessary to publish some information to the network,
10048 it should not be joined by any extraneous information, or by information supplied by a
10049 non-trusted source on the system. Prevent user applications from using Avahi to publish
10050 services by adding or correcting the following line in the [publish] section:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10051 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10052 disable-user-service-publishing=yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10053 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10054 Implement as many of the following lines as
10055 possible, to restrict the information published by Avahi: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10056 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10057 publish-addresses=no<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10058 publish-hinfo=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10059 publish-workstation=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10060 publish-domain=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10062 Inspect the files in the
10063 directory /etc/avahi/services/. Unless there is an operational need to publish
10064 information about each of these services, delete the corresponding file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10065 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10066 These options
10067 should be used even if publishing is disabled entirely via disable-publishing, since
10068 that option prevents publishing attempts from succeeding, while these options prevent
10069 the attempts from being made in the first place. Using both approaches is recommended
10070 for completeness.</xccdf:description>
10071 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.a" selected="false" weight="10.0">
10072 <xccdf:title>Restrict disable-user-service-publishing</xccdf:title>
10073 <xccdf:description>Avahi publishing of local information by user applications should be disabled</xccdf:description>
10074 <xccdf:ident system="http://cce.mitre.org">CCE-4352-1</xccdf:ident>
10075 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10076 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10077 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20256"/>
10078 </xccdf:check>
10079 </xccdf:Rule>
10080 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.b" selected="false" weight="10.0">
10081 <xccdf:title>Restrict publish-addresses</xccdf:title>
10082 <xccdf:description>Avahi publishing of hardware information should be disabled</xccdf:description>
10083 <xccdf:ident system="http://cce.mitre.org">CCE-4433-9</xccdf:ident>
10084 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10085 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10086 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20257"/>
10087 </xccdf:check>
10088 </xccdf:Rule>
10089 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.c" selected="false" weight="10.0">
10090 <xccdf:title>Restrict publish-hinfo</xccdf:title>
10091 <xccdf:description>Avahi publishing of workstation name should be disabled</xccdf:description>
10092 <xccdf:ident system="http://cce.mitre.org">CCE-4451-1</xccdf:ident>
10093 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10094 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10095 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20258"/>
10096 </xccdf:check>
10097 </xccdf:Rule>
10098 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.d" selected="false" weight="10.0">
10099 <xccdf:title>Restrict publish-workstation</xccdf:title>
10100 <xccdf:description>Avahi publishing of IP addresses should be disabled</xccdf:description>
10101 <xccdf:ident system="http://cce.mitre.org">CCE-4341-4</xccdf:ident>
10102 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10103 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10104 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20259"/>
10105 </xccdf:check>
10106 </xccdf:Rule>
10107 <xccdf:Rule id="xccdf_cdf_rule_rule-3.7.2.5.e" selected="false" weight="10.0">
10108 <xccdf:title>Restrict publish-domain</xccdf:title>
10109 <xccdf:description>Avahi publishing of domain name should be disabled</xccdf:description>
10110 <xccdf:ident system="http://cce.mitre.org">CCE-4358-8</xccdf:ident>
10111 <xccdf:fixtext>(1) via /etc/avahi/avahi-daemon.conf</xccdf:fixtext>
10112 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10113 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20260"/>
10114 </xccdf:check>
10115 </xccdf:Rule>
10116 </xccdf:Group>
10117 </xccdf:Group>
10118 </xccdf:Group>
10119 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8">
10120 <xccdf:title xml:lang="en">Print Support</xccdf:title>
10121 <xccdf:description xml:lang="en">
10122 The Common Unix Printing System (CUPS) service provides both local
10123 and network printing support. A system running the CUPS service can accept print jobs from
10124 other systems, process them, and send them to the appropriate printer. It also provides an
10125 interface for remote administration through a web browser. The CUPS service is installed and
10126 activated by default. The project homepage and more detailed documentation are available at
10127 http://www.cups.org. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10129 The HP Linux Imaging and Printing service (HPLIP) is a separate package
10130 that provides support for some of the additional features that HP printers provide that CUPS
10131 may not necessarily support. It relies upon the CUPS service.</xccdf:description>
10132 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.1">
10133 <xccdf:title xml:lang="en">Disable the CUPS Service if Possible</xccdf:title>
10134 <xccdf:description xml:lang="en">
10135 Do you need the ability to print from this machine or to allow
10136 others to print to it? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10137 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10138 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig cups off</xhtml:code></xccdf:description>
10139 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.1.a" selected="false" severity="medium" weight="10.0">
10140 <xccdf:title>Disable the CUPS Service if Possible</xccdf:title>
10141 <xccdf:description>The cups service should be disabled.</xccdf:description>
10142 <xccdf:ident system="http://cce.mitre.org">CCE-4112-9</xccdf:ident>
10143 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10144 <xccdf:fix># chkconfig cups off</xccdf:fix>
10145 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10146 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20261"/>
10147 </xccdf:check>
10148 </xccdf:Rule>
10149 </xccdf:Group>
10150 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.2">
10151 <xccdf:title xml:lang="en">Disable Firewall Access to Printing Service if Possible</xccdf:title>
10152 <xccdf:description xml:lang="en">
10153 Does this system need to operate as a network print server? If
10154 not, edit the files /etc/sysconfig/iptables and /etc/sysconfig/ip6tables (if IPv6 is in
10155 use). In each file, locate and delete the lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10156 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10157 -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10158 -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10159 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10160 By
10161 default, inbound connections to the Internet Printing Protocol port are allowed. If the
10162 print server does not need to be accessed, either because the machine is not running the
10163 print service at all or because the machine is not providing a remote network printer to
10164 other machines, this exception should be removed from the firewall configuration. See
10165 Section 2.5.5 for more information about the Iptables firewall.</xccdf:description>
10166 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.a" operator="equals" type="string">
10167 <xccdf:title>accept udp over IPv4</xccdf:title>
10168 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv4.</xccdf:description>
10169 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv4</xccdf:question>
10170 <xccdf:value>disabled</xccdf:value>
10171 <xccdf:value selector="enabled">enabled</xccdf:value>
10172 <xccdf:value selector="disabled">disabled</xccdf:value>
10173 <xccdf:match>enabled|disabled</xccdf:match>
10174 <xccdf:choices mustMatch="1">
10175 <xccdf:choice>enabled</xccdf:choice>
10176 <xccdf:choice>disabled</xccdf:choice>
10177 </xccdf:choices>
10178 </xccdf:Value>
10179 <xccdf:Value id="xccdf_cdf_value_var-3.8.2.b" operator="equals" type="string">
10180 <xccdf:title>accept udp over IPv6</xccdf:title>
10181 <xccdf:description xml:lang="en">Open firewall to allow udp over IPv6.</xccdf:description>
10182 <xccdf:question xml:lang="en">Enable/Disable UDP over IPv6</xccdf:question>
10183 <xccdf:value>disabled</xccdf:value>
10184 <xccdf:value selector="enabled">enabled</xccdf:value>
10185 <xccdf:value selector="disabled">disabled</xccdf:value>
10186 <xccdf:match>enabled|disabled</xccdf:match>
10187 <xccdf:choices mustMatch="1">
10188 <xccdf:choice>enabled</xccdf:choice>
10189 <xccdf:choice>disabled</xccdf:choice>
10190 </xccdf:choices>
10191 </xccdf:Value>
10192 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.a" selected="false" severity="high" weight="10.0">
10193 <xccdf:title>Disable Firewall Access to Printing Service over IPv4 if Possible</xccdf:title>
10194 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
10195 <xccdf:ident system="http://cce.mitre.org">CCE-3649-1</xccdf:ident>
10196 <xccdf:fixtext>(1) via /etc/sysconfig/iptables</xccdf:fixtext>
10197 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10198 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20262" value-id="xccdf_cdf_value_var-3.8.2.a"/>
10199 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20262"/>
10200 </xccdf:check>
10201 </xccdf:Rule>
10202 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.2.b" selected="false" severity="high" weight="10.0">
10203 <xccdf:title>Disable Firewall Access to Printing Service over IPv6 if Possible</xccdf:title>
10204 <xccdf:description>Firewall access to printing service should be disabled</xccdf:description>
10205 <xccdf:fixtext>(1) via /etc/sysconfig/ip6tables</xccdf:fixtext>
10206 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10207 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20263" value-id="xccdf_cdf_value_var-3.8.2.b"/>
10208 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20263"/>
10209 </xccdf:check>
10210 </xccdf:Rule>
10211 </xccdf:Group>
10212 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3">
10213 <xccdf:title xml:lang="en">Configure the CUPS Service if Necessary</xccdf:title>
10214 <xccdf:description xml:lang="en">
10215 CUPS provides the ability to easily share local printers with
10216 other machines over the network. It does this by allowing machines to share lists of
10217 available printers. Additionally, each machine that runs the CUPS service can potentially
10218 act as a print server. Whenever possible, the printer sharing and print server
10219 capabilities of CUPS should be limited or disabled. The following recommendations should
10220 demonstrate how to do just that.</xccdf:description>
10221 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1">
10222 <xccdf:title xml:lang="en">Limit Printer Browsing</xccdf:title>
10223 <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>
10224 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.1">
10225 <xccdf:title xml:lang="en">Disable Printer Browsing Entirely if Possible</xccdf:title>
10226 <xccdf:description xml:lang="en">
10227 To disable printer browsing entirely, edit the CUPS
10228 configuration file, located at /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10229 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10230 Browsing Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10231 BrowseAllow none <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10232 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10233 The
10234 CUPS print service can be configured to broadcast a list of available printers to the
10235 network. Other machines on the network, also running the CUPS print service, can be
10236 configured to listen to these broadcasts and add and configure these printers for
10237 immediate use. By disabling this browsing capability, the machine will no longer
10238 generate or receive such broadcasts.</xccdf:description>
10239 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.a" selected="false" weight="10.0">
10240 <xccdf:title>Disable Printer Browsing Entirely if Possible</xccdf:title>
10241 <xccdf:description>Remote print browsing should be disabled</xccdf:description>
10242 <xccdf:ident system="http://cce.mitre.org">CCE-4420-6</xccdf:ident>
10243 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
10244 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10245 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20264"/>
10246 </xccdf:check>
10247 </xccdf:Rule>
10248 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.3.1.1.b" selected="false" weight="10.0">
10249 <xccdf:title>Deny CUPS ability to listen for Incoming printer information</xccdf:title>
10250 <xccdf:description>CUPS should be denied the ability to listen for Incoming printer information</xccdf:description>
10251 <xccdf:ident system="http://cce.mitre.org">CCE-4407-3</xccdf:ident>
10252 <xccdf:fixtext>(1) via /etc/cups/cupsd.conf</xccdf:fixtext>
10253 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10254 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20265"/>
10255 </xccdf:check>
10256 </xccdf:Rule>
10257 </xccdf:Group>
10258 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.1.2">
10259 <xccdf:title xml:lang="en">Limit Printer Browsing to a Particular Subnet if Necessary</xccdf:title>
10260 <xccdf:description xml:lang="en">
10261 It is possible to disable outgoing printer list broadcasts
10262 without affecting incoming broadcasts from other machines. To do so, open the CUPS
10263 configuration file, located at /etc/cups/cupsd.conf. Look for the line that begins
10264 with BrowseAddress and remove it. The line will look like the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10265 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10266 BrowseAddress @LOCAL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10267 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10268 If the intent is not to block printer sharing, but to limit it to a particular
10269 set of machines, you can limit the UDP printer broadcasts to trusted network
10270 addresses. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10271 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10272 BrowseAddress ip-address :631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10273 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10274 Likewise, to ignore incoming UDP printer list
10275 broadcasts, or to limit the set of machines to listen to, use the BrowseAllow and
10276 BrowseDeny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10277 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10278 BrowseDeny all <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10279 BrowseAllow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10280 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10281 This combination will
10282 deny incoming broadcasts from any machine except those that are explicitly allowed
10283 with BrowseAllow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10284 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10285 By default, when printer sharing is enabled, CUPS will broadcast to
10286 every network that its host machine is connected to through all available network
10287 interfaces on port 631. It will also listen to incoming broadcasts from other machines
10288 on the network. Either list one BrowseAddress line for each client machine and one
10289 BrowseAllow line for each print server or use one of the supported shorthand notations
10290 that the CUPS service recognizes. Please see the cupsd.conf(5) man page or the
10291 documentation provided at http://www.cups.org for more information on other ways to
10292 format these directives.</xccdf:description>
10293 </xccdf:Group>
10294 </xccdf:Group>
10295 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.2">
10296 <xccdf:title xml:lang="en">Disable Print Server Capabilities if Possible</xccdf:title>
10297 <xccdf:description xml:lang="en">
10298 To prevent remote users from potentially
10299 connecting to and using locally configured printers, disable the CUPS print server
10300 sharing capabilities. To do so, limit how the server will listen for print jobs by
10301 removing the more generic port directive from /etc/cups/cupsd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10303 Port 631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10305 and replacing it with the Listen directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10307 Listen localhost:631 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10309 This will prevent remote
10310 users from printing to locally configured printers while still allowing local users on
10311 the machine to print normally. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10312 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10313 By default, locally configured printers will not be
10314 shared over the network, but if this functionality has somehow been enabled, these
10315 recommendations will disable it again. Be sure to disable outgoing printer list
10316 broadcasts, or remote users will still be able to see the locally configured printers,
10317 even if they cannot actually print to them. To limit print serving to a particular set
10318 of users, use the Policy directive.</xccdf:description>
10319 <xccdf:warning xml:lang="en">Disabling the print server capabilities in this manner will
10320 also disable the Web Administration interface. </xccdf:warning>
10321 </xccdf:Group>
10322 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.3">
10323 <xccdf:title xml:lang="en">Limit Access to the Web Administration Interface</xccdf:title>
10324 <xccdf:description xml:lang="en">
10325 By default, access to the CUPS web administration interface is
10326 limited to the local machine. It is recommended that this not be changed, especially
10327 since the authentication mechanisms that CUPS provides are limited in their
10328 effectiveness. If it is absolutely necessary to allow remote users to administer locally
10329 installed printers, be sure to limit that access as much as possible by taking advantage
10330 of the Location and Policy directive blocks. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10331 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10332 For example, to enable
10333 remote access for ip-address for user username, modify each of the Location and Policy
10334 directive blocks as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10335 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10336 &lt;Location /&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10337 AuthType Basic <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10338 Require user username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10339 Order allow,deny <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10340 Allow localhost <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10341 Allow ip-address <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10342 &lt;/Location&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10343 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10344 As with the
10345 BrowseAllow directive, use one Allow directive for each machine that needs access or use
10346 one of the available CUPS directive definition shortcuts to enable access from a class
10347 of machines at once. The Require user directive can take a list of individual users, a
10348 group of users (prefixed with @), or the shorthand valid-user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10349 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10350 Host-based authentication has known limitations,
10351 especially since IP addresses are easy to spoof. Requiring users to authenticate
10352 themselves can alleviate this problem, but it cannot eliminate it. Do not use the root
10353 account to manage and administer printers. Create a separate account for this purpose
10354 and limit access to valid users with Require valid-user or Require user printeradmin .
10355 </xccdf:description>
10356 </xccdf:Group>
10357 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.3.4">
10358 <xccdf:title xml:lang="en">Take Further Security Measures When Appropriate</xccdf:title>
10359 <xccdf:description xml:lang="en">
10360 Whenever possible, limit outside networks' access to port 631.
10361 Consider using CUPS directives that limit the number of incoming clients, such as
10362 MaxClients or MaxClientsPerHost. Additionally, there are a series of Policy and Location
10363 directives intended to limit which users can perform different printing tasks. When used
10364 together, these may help to mitigate the possibility of a denial of service attack. See
10365 cupsd.conf(5) for a full list of possible directives.</xccdf:description>
10366 </xccdf:Group>
10367 </xccdf:Group>
10368 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4">
10369 <xccdf:title xml:lang="en">The HP Linux Imaging and Printing (HPLIP) Toolkit</xccdf:title>
10370 <xccdf:description xml:lang="en">
10371 The HPLIP package is an HP printing support utility that is
10372 installed and enabled in a default installation. The HPLIP package is comprised of two
10373 separate components. The first is the main HPLIP service and the second is a smaller
10374 subcomponent called HPIJS. HPLIP is a feature-oriented network service that provides
10375 higher level printing support (such as bi-directional I/O, scanning, photo card, and
10376 toolbox functionality). HPIJS is a lower level basic printing driver that provides basic
10377 support for non-PostScript HP printers.</xccdf:description>
10378 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.8.4.1">
10379 <xccdf:title xml:lang="en">Disable HPLIP Service if Possible</xccdf:title>
10380 <xccdf:description xml:lang="en">
10381 Since the HPIJS driver will still function without the added
10382 HPLIP service, HPLIP should be disabled unless the specific higher level functions that
10383 HPLIP provides are needed by a non-PostScript HP printer on the system. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10384 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10385 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig hplip off <xhtml:br/></xhtml:code>
10386 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10387 Note: If installing the HPLIP package from scratch, it should be noted that
10388 HPIJS can be installed directly without HPLIP. Please see the FAQ at the HPLIP web site
10389 at http://hplip.sourceforge.net/faqs.html for more information on how to do this.</xccdf:description>
10390 <xccdf:Rule id="xccdf_cdf_rule_rule-3.8.4.1.a" selected="false" severity="low" weight="10.0">
10391 <xccdf:title>Disable HPLIP Service if Possible</xccdf:title>
10392 <xccdf:description>The hplip service should be disabled.</xccdf:description>
10393 <xccdf:ident system="http://cce.mitre.org">CCE-4425-5</xccdf:ident>
10394 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10395 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10396 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20266"/>
10397 </xccdf:check>
10398 </xccdf:Rule>
10399 </xccdf:Group>
10400 </xccdf:Group>
10401 </xccdf:Group>
10402 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9">
10403 <xccdf:title xml:lang="en">DHCP</xccdf:title>
10404 <xccdf:description xml:lang="en">
10405 The Dynamic Host Configuration Protocol (DHCP) allows systems to
10406 request and obtain an IP address and many other parameters from a server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10407 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10408 In general, sites
10409 use DHCP either to allow a large pool of mobile or unknown machines to share a limited
10410 number of IP addresses, or to standardize installations by avoiding static, individual IP
10411 address configuration on hosts. It is recommended that sites avoid DHCP as much as possible.
10412 Since DHCP authentication is not well-supported, DHCP clients are open to attacks from rogue
10413 DHCP servers. Such servers can give clients incorrect information (e.g. malicious DNS server
10414 addresses) which could lead to their compromise. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10416 If a machine must act as a DHCP client or
10417 server, configure it defensively using the guidance in this section. This guide recommends
10418 configuring networking on clients by manually editing the appropriate files under
10419 /etc/sysconfig. It is also possible to use the graphical front-end programs
10420 system-config-network and system-config-network-tui, but these programs rewrite
10421 configuration files from scratch based on their defaults – destroying any manual changes –
10422 and should therefore be used with caution.</xccdf:description>
10423 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.1">
10424 <xccdf:title xml:lang="en">Disable DHCP Client if Possible</xccdf:title>
10425 <xccdf:description xml:lang="en">
10426 For each interface IFACE on the system (e.g. eth0), edit
10427 /etc/sysconfig/network-scripts/ifcfg-IFACE and make the following changes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10428 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10429 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
10430 <xhtml:li>Correct the BOOTPROTO line to read: <xhtml:br/>
10431 <xhtml:br/>
10432 BOOTPROTO=static
10433 </xhtml:li>
10434 <xhtml:li>Add or correct the following lines,
10435 substituting the appropriate values based on your site's addressing scheme:<xhtml:br/>
10436 <xhtml:br/>
10437 NETMASK=255.255.255.0<xhtml:br/>
10438 IPADDR=192.168.1.2<xhtml:br/>
10439 GATEWAY=192.168.1.1 <xhtml:br/>
10440 </xhtml:li>
10441 </xhtml:ol>
10442 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10443 DHCP is the default network
10444 configuration method provided by the system installer, so it may be enabled on many
10445 systems.</xccdf:description>
10446 <xccdf:Value id="xccdf_cdf_value_var-3.9.1.a" operator="equals" type="string">
10447 <xccdf:title>DHCP BOOTPROTO</xccdf:title>
10448 <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>
10449 <xccdf:question xml:lang="en">Choose DHCP BOOTPROTO</xccdf:question>
10450 <xccdf:value>static</xccdf:value>
10451 <xccdf:value selector="bootp">bootp</xccdf:value>
10452 <xccdf:value selector="dhcp">dhcp</xccdf:value>
10453 <xccdf:value selector="static">static</xccdf:value>
10454 <!-- <value selector="none">none</value>-->
10455 <xccdf:choices>
10456 <xccdf:choice>bootp</xccdf:choice>
10457 <xccdf:choice>dhcp</xccdf:choice>
10458 <xccdf:choice>static</xccdf:choice>
10459 </xccdf:choices>
10460 </xccdf:Value>
10461 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.1.a" selected="false" severity="low" weight="10.0">
10462 <xccdf:title>Disable DHCP Client if Possible</xccdf:title>
10463 <xccdf:description>The dhcp client service should be disabled for each interface.</xccdf:description>
10464 <xccdf:ident system="http://cce.mitre.org">CCE-4191-3</xccdf:ident>
10465 <xccdf:fixtext>(1) via /etc/sysconfig/network-scripts/ifcfg-eth*</xccdf:fixtext>
10466 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10467 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20267" value-id="xccdf_cdf_value_var-3.9.1.a"/>
10468 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20267"/>
10469 </xccdf:check>
10470 </xccdf:Rule>
10471 </xccdf:Group>
10472 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2">
10473 <xccdf:title xml:lang="en">Configure DHCP Client if necessary</xccdf:title>
10474 <xccdf:description xml:lang="en">
10475 If DHCP must be used, then certain configuration changes can
10476 minimize the amount of information it receives and applies from the network, and thus the
10477 amount of incorrect information a rogue DHCP server could successfully distribute. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10478 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10479 For more information on configuring dhclient, see the dhclient(8) and dhclient.conf(5)
10480 man pages.</xccdf:description>
10481 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.2.1">
10482 <xccdf:title xml:lang="en">Minimize the DHCP-Configured Options</xccdf:title>
10483 <xccdf:description xml:lang="en">
10484 Create the file /etc/dhclient.conf, and add an appropriate
10485 setting for each of the ten configuration settings which can be obtained via DHCP. For
10486 each setting, setting , do one of the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10487 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
10488 <xhtml:li>If the setting should not be
10489 configured remotely by the DHCP server, select an appropriate static value, and add the
10490 line: <xhtml:br/>
10491 <xhtml:br/>
10492 supersede setting value ; </xhtml:li>
10493 <xhtml:li>If the setting should be configured remotely by the
10494 DHCP server, add the lines: <xhtml:br/>
10495 <xhtml:br/>
10496 request setting ; <xhtml:br/>
10497 require setting ; </xhtml:li>
10498 </xhtml:ul>
10499 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10500 For example, suppose the
10501 DHCP server should provide only the IP address itself and the subnet mask. Then the
10502 entire file should look like: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10503 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10504 supersede domain-name "example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10505 supersede domain-name-servers 192.168.1.2 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10506 supersede nis-domain ""; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10507 supersede nis-servers "";<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10508 supersede ntp-servers "ntp.example.com "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10509 supersede routers 192.168.1.1 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10510 supersede time-offset -18000 ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10511 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10512 request subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10513 require subnet-mask; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10514 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10515 By default, the DHCP
10516 client program, dhclient, requests and applies ten configuration options (in addition to
10517 the IP address) from the DHCP server: subnet-mask, broadcast-address, time-offset,
10518 routers, domain-name, domain-name-servers, host-name, nis-domain, nis-servers, and
10519 ntp-servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10521 Many of the options requested and applied by dhclient may be the same for
10522 every system on a network. It is recommended that almost all configuration options be
10523 assigned statically, and only options which must vary on a host-by-host basis be
10524 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"/>
10525 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10526 If
10527 appropriate for your site, it is also possible to supersede the host-name directive in
10528 /etc/dhclient.conf, establishing a static hostname for the machine. However, dhclient
10529 does not use the host name option provided by the DHCP server (instead using the value
10530 provided by a reverse DNS lookup). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10532 Note: In this example, the options nis-servers and
10533 nis-domain are set to empty strings, on the assumption that the deprecated NIS protocol
10534 is not in use. (See Section 3.2.4.) It is necessary to supersede settings for unused
10535 services so that they cannot be set by a hostile DHCP server. If an option is set to an
10536 empty string, dhclient will typically not attempt to configure the service.</xccdf:description>
10537 </xccdf:Group>
10538 </xccdf:Group>
10539 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.3">
10540 <xccdf:title xml:lang="en">Disable DHCP Server if possible</xccdf:title>
10541 <xccdf:description xml:lang="en">
10542 If the dhcp package has been installed on a machine which does
10543 not need to operate as a DHCP server, disable the daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10544 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10545 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dhcpd off <xhtml:br/></xhtml:code>
10546 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10547 If possible, remove the software as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10548 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10549 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum erase dhcp <xhtml:br/></xhtml:code>
10550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10551 The DHCP server dhcpd is not
10552 installed or activated by default. If the software was installed and activated, but the
10553 system does not need to act as a DHCP server, it should be disabled and removed. Unmanaged
10554 DHCP servers will provide faulty information to clients, interfering with the operation of
10555 a legitimate site DHCP server if there is one, or causing misconfigured machines to
10556 exhibit unpredictable behavior if there is not.</xccdf:description>
10557 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.a" selected="false" severity="low" weight="10.0">
10558 <xccdf:title>Disable DHCP Server if possible</xccdf:title>
10559 <xccdf:description>The dhcpd service should be disabled.</xccdf:description>
10560 <xccdf:ident system="http://cce.mitre.org">CCE-4336-4</xccdf:ident>
10561 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10562 <xccdf:fix># chkconfig dhcpd off</xccdf:fix>
10563 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10564 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20268"/>
10565 </xccdf:check>
10566 </xccdf:Rule>
10567 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.3.b" selected="false" weight="10.0">
10568 <xccdf:title>Uninstall DHCP Server if possible</xccdf:title>
10569 <xccdf:description>The dhcp package should be uninstalled.</xccdf:description>
10570 <xccdf:ident system="http://cce.mitre.org">CCE-4464-4</xccdf:ident>
10571 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
10572 <xccdf:fix># yum erase dhcp</xccdf:fix>
10573 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10574 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20269"/>
10575 </xccdf:check>
10576 </xccdf:Rule>
10577 </xccdf:Group>
10578 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4">
10579 <xccdf:title xml:lang="en">Configure the DHCP Server if necessary</xccdf:title>
10580 <xccdf:description xml:lang="en">
10581 If the system must act as a DHCP server, the configuration
10582 information it serves should be minimized. Also, support for other protocols and
10583 DNS-updating schemes should be explicitly disabled unless needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10585 The configuration file
10586 for dhcpd is called /etc/dhcpd.conf. The file begins with a number of global configuration
10587 options. The remainder of the file is divided into sections, one for each block of
10588 addresses offered by dhcpd, each of which contains configuration options specific to that
10589 address block.</xccdf:description>
10590 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.1">
10591 <xccdf:title xml:lang="en">Do Not Use Dynamic DNS</xccdf:title>
10592 <xccdf:description xml:lang="en">
10593 To prevent the DHCP server from receiving DNS information from
10594 clients, edit /etc/dhcpd.conf, and add or correct the following global option:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10595 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10596 ddns-update-style none; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10597 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10598 The Dynamic DNS protocol is used to remotely update the data
10599 served by a DNS server. DHCP servers can use Dynamic DNS to publish information about
10600 their clients. This setup carries security risks, and its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10601 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10602 If Dynamic DNS must be used despite the risks it poses, it is critical that Dynamic DNS
10603 transactions be protected using TSIG or some other cryptographic authentication
10604 mechanism. See Section 3.14 for more information about DNS servers, including further
10605 information about TSIG and Dynamic DNS. Also see dhcpd.conf(5) for more information
10606 about protecting the DHCP server from passing along malicious DNS data from its clients.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10608 Note: The ddns-update-style option controls only whether the DHCP server will attempt to
10609 act as a Dynamic DNS client. As long as the DNS server itself is correctly configured to
10610 reject DDNS attempts, an incorrect ddns-update-style setting on the client is harmless
10611 (but should be fixed as a best practice).</xccdf:description>
10612 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.1.a" selected="false" weight="10.0">
10613 <xccdf:title>Do Not Use Dynamic DNS</xccdf:title>
10614 <xccdf:description>The dynamic DNS feature of the DHCP server should be disabled</xccdf:description>
10615 <xccdf:ident system="http://cce.mitre.org">CCE-4257-2</xccdf:ident>
10616 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10617 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10618 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20270"/>
10619 </xccdf:check>
10620 </xccdf:Rule>
10621 </xccdf:Group>
10622 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.2">
10623 <xccdf:title xml:lang="en">Deny Decline Messages</xccdf:title>
10624 <xccdf:description xml:lang="en">
10625 Edit /etc/dhcpd.conf and add or correct the following global
10626 option to prevent the DHCP server from responding the DHCPDECLINE messages, if possible:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10627 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10628 deny declines; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10629 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10630 The DHCPDECLINE message can be sent by a DHCP client to indicate that it
10631 does not consider the lease offered by the server to be valid. By issuing many
10632 DHCPDECLINE messages, a malicious client can exhaust the DHCP server's pool of IP
10633 addresses, causing the DHCP server to forget old address allocations.</xccdf:description>
10634 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.2.a" selected="false" weight="10.0">
10635 <xccdf:title>Deny Decline Messages</xccdf:title>
10636 <xccdf:description>DHCPDECLINE messages should be denied by the DHCP server</xccdf:description>
10637 <xccdf:ident system="http://cce.mitre.org">CCE-4403-2</xccdf:ident>
10638 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10639 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10640 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20271"/>
10641 </xccdf:check>
10642 </xccdf:Rule>
10643 </xccdf:Group>
10644 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.3">
10645 <xccdf:title xml:lang="en">Deny BOOTP Queries</xccdf:title>
10646 <xccdf:description xml:lang="en">
10647 Unless your network needs to support older BOOTP clients,
10648 disable support for the bootp protocol by adding or correcting the global option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10649 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10650 deny bootp; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10651 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10652 The bootp option tells dhcpd to respond to BOOTP queries. If support for this
10653 simpler protocol is not needed, it should be disabled to remove attack vectors against
10654 the DHCP server.</xccdf:description>
10655 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.3.a" selected="false" weight="10.0">
10656 <xccdf:title>Deny BOOTP Queries</xccdf:title>
10657 <xccdf:description>BOOTP queries should be denied by the DHCP server</xccdf:description>
10658 <xccdf:ident system="http://cce.mitre.org">CCE-4345-5</xccdf:ident>
10659 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10660 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10661 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20272"/>
10662 </xccdf:check>
10663 </xccdf:Rule>
10664 </xccdf:Group>
10665 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.4">
10666 <xccdf:title xml:lang="en">Minimize Served Information</xccdf:title>
10667 <xccdf:description xml:lang="en">
10668 Edit /etc/dhcpd.conf. Examine each address range section within
10669 the file, and ensure that the following options are not defined unless there is an
10670 operational need to provide this information via DHCP: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10672 option domain-name <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10673 option domain-name-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10674 option nis-domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10675 option nis-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10676 option ntp-servers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10677 option routers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10678 option time-offset <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10679 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10680 Because the configuration information provided by the DHCP
10681 server could be maliciously provided to clients by a rogue DHCP server, the amount of
10682 information provided via DHCP should be minimized. Remove these definitions from the
10683 DHCP server configuration to ensure that legitimate clients do not unnecessarily rely on
10684 DHCP for this information. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10685 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10686 Note: By default, the RHEL5 client installation uses DHCP to
10687 request much of the above information from the DHCP server. In particular, domain-name,
10688 domain-name-servers, and routers are configured via DHCP. These settings are typically
10689 necessary for proper network functionality, but are also usually static across machines
10690 at a given site. See Section 3.9.2.1 for a description of how to configure static site
10691 information within the DHCP client configuration.</xccdf:description>
10692 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.a" selected="false" weight="10.0">
10693 <xccdf:title>DHCP should not send domain-name</xccdf:title>
10694 <xccdf:description>Domain name server information should not be sent by the DHCP server.</xccdf:description>
10695 <xccdf:ident system="http://cce.mitre.org">CCE-3724-2</xccdf:ident>
10696 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10697 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10698 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20273"/>
10699 </xccdf:check>
10700 </xccdf:Rule>
10701 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.b" selected="false" weight="10.0">
10702 <xccdf:title>DHCP should not send domain-name-servers</xccdf:title>
10703 <xccdf:description>Default routers should not be sent by the DHCP server.</xccdf:description>
10704 <xccdf:ident system="http://cce.mitre.org">CCE-4243-2</xccdf:ident>
10705 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10706 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10707 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20274"/>
10708 </xccdf:check>
10709 </xccdf:Rule>
10710 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.c" selected="false" weight="10.0">
10711 <xccdf:title>DHCP should not send nis-domain</xccdf:title>
10712 <xccdf:description>Domain name should not be sent by the DHCP server.</xccdf:description>
10713 <xccdf:ident system="http://cce.mitre.org">CCE-4389-3</xccdf:ident>
10714 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10715 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10716 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20275"/>
10717 </xccdf:check>
10718 </xccdf:Rule>
10719 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.d" selected="false" weight="10.0">
10720 <xccdf:title>DHCP should not send nis-servers</xccdf:title>
10721 <xccdf:description>NIS domain should not be sent by the DHCP server.</xccdf:description>
10722 <xccdf:ident system="http://cce.mitre.org">CCE-3913-1</xccdf:ident>
10723 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10724 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10725 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20276"/>
10726 </xccdf:check>
10727 </xccdf:Rule>
10728 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.e" selected="false" weight="10.0">
10729 <xccdf:title>DHCP should not send ntp-servers</xccdf:title>
10730 <xccdf:description>NIS servers should not be sent by the DHCP server.</xccdf:description>
10731 <xccdf:ident system="http://cce.mitre.org">CCE-4169-9</xccdf:ident>
10732 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10733 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10734 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20277"/>
10735 </xccdf:check>
10736 </xccdf:Rule>
10737 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.f" selected="false" weight="10.0">
10738 <xccdf:title>DHCP should not send routers</xccdf:title>
10739 <xccdf:description>Time offset should not be sent by the DHCP server.</xccdf:description>
10740 <xccdf:ident system="http://cce.mitre.org">CCE-4318-2</xccdf:ident>
10741 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10742 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10743 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20278"/>
10744 </xccdf:check>
10745 </xccdf:Rule>
10746 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.4.g" selected="false" weight="10.0">
10747 <xccdf:title>DHCP should not send time-offset</xccdf:title>
10748 <xccdf:description>NTP servers should not be sent by the DHCP server.</xccdf:description>
10749 <xccdf:ident system="http://cce.mitre.org">CCE-4319-0</xccdf:ident>
10750 <xccdf:fixtext>(1) via /etc/dhcpd.conf</xccdf:fixtext>
10751 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10752 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20279"/>
10753 </xccdf:check>
10754 </xccdf:Rule>
10755 </xccdf:Group>
10756 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.5">
10757 <xccdf:title xml:lang="en">Configure Logging</xccdf:title>
10758 <xccdf:description xml:lang="en">
10759 Ensure that the following line exists in /etc/syslog.conf:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10761 daemon.* /var/log/daemon.log <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10762 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10763 Configure logwatch or other log monitoring tools to
10764 summarize error conditions reported by the dhcpd process. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10765 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10766 By default, dhcpd logs notices
10767 to the daemon facility. Sending all daemon messages to a dedicated log file is part of
10768 the syslog configuration outlined in Section 2.6.1.1.</xccdf:description>
10769 <xccdf:Rule id="xccdf_cdf_rule_rule-3.9.4.5.a" selected="false" weight="10.0">
10770 <xccdf:title>Configure DHCP Logging</xccdf:title>
10771 <xccdf:description>dhcpd logging should be enabled.</xccdf:description>
10772 <xccdf:ident system="http://cce.mitre.org">CCE-3733-3</xccdf:ident>
10773 <xccdf:fixtext>(1) via /etc/syslog.conf</xccdf:fixtext>
10774 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10775 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20280"/>
10776 </xccdf:check>
10777 </xccdf:Rule>
10778 </xccdf:Group>
10779 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.9.4.6">
10780 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
10781 <xccdf:description xml:lang="en">* The man pages dhcpd.conf(5) and dhcpd(8) * ISC web page http://isc.org/products/DHCP</xccdf:description>
10782 </xccdf:Group>
10783 </xccdf:Group>
10784 </xccdf:Group>
10785 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10">
10786 <xccdf:title xml:lang="en">Network Time Protocol</xccdf:title>
10787 <xccdf:description xml:lang="en">
10788 The Network Time Protocol is used to manage the system clock over a
10789 network. Computer clocks are not very accurate, so time will drift unpredictably on
10790 unmanaged systems. Central time protocols can be used both to ensure that time is consistent
10791 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"/>
10792 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10793 Local time synchronization is recommended for all networks. If every machine on your network
10794 reliably reports the same time as every other machine, then it is much easier to correlate
10795 log messages in case of an attack. In addition, a number of cryptographic protocols (such as
10796 Kerberos) use timestamps to prevent certain types of attacks. If your network does not have
10797 synchronized time, these protocols may be unreliable or even unusable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10798 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10799 Depending on the specifics of the network, global time accuracy may be just as important as
10800 local synchronization, or not very important at all. If your network is connected to the
10801 Internet, it is recommended that you make use of a public timeserver, since globally
10802 accurate timestamps may be necessary if you need to investigate or respond to an attack
10803 which originated outside of your network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10804 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10805 Whether or not you use an outside timeserver, configure
10806 the network to have a small number of machines operating as NTP servers, and the remainder
10807 obtaining time information from those internal servers.</xccdf:description>
10808 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.1">
10809 <xccdf:title xml:lang="en">Select NTP Software</xccdf:title>
10810 <xccdf:description xml:lang="en">
10811 The Network Time Protocol (RFC 1305) is designed to synchronize
10812 time with a very high degree of accuracy even on an unreliable network. NTP is therefore a
10813 complex protocol. The Simple Network Time Protocol (RFC 4330) implements a subset of NTP
10814 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"/>
10815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10816 The primary implementation of NTP comes from ntp.org, and is shipped with RHEL5 as the ntp
10817 RPM. An alternative is OpenNTPD, which is an implementation of SNTP, and which can be
10818 obtained as source code from http://www.openntpd.org. OpenNTPD may be simpler to configure
10819 than the reference NTP implementation, at the cost of the need to install and maintain
10820 third-party software. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10821 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10822 This guide does not recommend the use of a particular NTP/SNTP
10823 software package, but does recommend that some NTP software be selected and installed on
10824 all machines. The remainder of this section describes how to securely configure NTP
10825 clients and servers, and discusses both the reference NTP implementation and OpenNTPD.</xccdf:description>
10826 </xccdf:Group>
10827 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2">
10828 <xccdf:title xml:lang="en">Configure Reference NTP if Appropriate</xccdf:title>
10829 <xccdf:description xml:lang="en">The ntp RPM implements the reference NTP server.</xccdf:description>
10830 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1">
10831 <xccdf:title xml:lang="en">Configure an NTP Client</xccdf:title>
10832 <xccdf:description xml:lang="en">
10833 There are a number of options for configuring clients to work with the reference NTP server. It is possible to run
10834 ntpd as a service (i.e., continuously) on each host, configuring clients so that the ntp protocol ignores all network
10835 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"/>
10836 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10837 This guide instead recommends running ntpd periodically via cron. It is also possible to run ntpdate via cron
10838 with the -u option, but it is being obsoleted in favor of ntpd.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10839 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10840 Alternately, even if the server is running the reference NTP implementation, it is possible for clients to access it
10841 using SNTP. See Section 3.10.3.2 for information about configuring SNTP clients.</xccdf:description>
10842 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.1">
10843 <xccdf:title xml:lang="en">Set Up Client NTP Configuration File</xccdf:title>
10844 <xccdf:description xml:lang="en">
10845 A valid configuration file for the client system’s ntpd must exist at /etc/ntp.conf. Ensure that /etc/ntp.conf
10846 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"/>
10847 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10848 server ntp-server<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10849 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10850 Note: The ntpd software also includes authentication and encryption support which allows for clients to verify the
10851 identity of the server, and thus guarantee the integrity of time data with high probability. See ntpd documentation
10852 at http://www.ntp.org for more details on implementing this recommended feature.
10853 </xccdf:description>
10854 </xccdf:Group>
10855 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.1.2">
10856 <xccdf:title xml:lang="en">Run ntpdate using Cron</xccdf:title>
10857 <xccdf:description xml:lang="en">
10858 Create a file /etc/cron.d/ntpd containing the following crontab:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10859 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10860 15 * * * * root /usr/sbin/ntpd -q -u ntp:ntp<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10862 The -q option instructs ntpd to exit just after setting the clock, and the -u option instructs it to run as the
10863 specified user.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10864 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10865 Note: When setting the clock for the first time, execute the above command with the -g option, as ntpd
10866 will refuse to set the clock if it is significantly different from the source.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10868 This crontab will execute ntpd to synchronize the time to the NTP server at 15 minutes past every hour. (It is
10869 possible to choose a different minute, or to vary the minute between machines in order to avoid heavy traffic to
10870 the NTP server.) Hourly synchronization should be sufficiently frequent that clock drift will not be noticeable.</xccdf:description>
10871 </xccdf:Group>
10872 </xccdf:Group>
10873 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2">
10874 <xccdf:title xml:lang="en">Configure an NTP Server</xccdf:title>
10875 <xccdf:description xml:lang="en">
10876 The site’s NTP server contacts a central NTP server, probably either one provided by your ISP or a public time
10877 server, to obtain accurate time data. The server then allows other machines on your network to request the time
10878 data.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10879 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10880 The NTP server configuration file is located at /etc/ntp.conf.</xccdf:description>
10881 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.1">
10882 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
10883 <xccdf:description xml:lang="en">
10884 If this machine is an NTP server, ensure that ntpd is enabled
10885 at boot time: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10886 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10887 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig ntpd on</xhtml:code></xccdf:description>
10888 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.1.a" selected="false" severity="high" weight="10.0">
10889 <xccdf:title>Enable the NTP Daemon</xccdf:title>
10890 <xccdf:description>The ntpd service should be enabled.</xccdf:description>
10891 <xccdf:ident system="http://cce.mitre.org">CCE-4376-0</xccdf:ident>
10892 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
10893 <xccdf:fix># chkconfig ntpd on</xccdf:fix>
10894 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10895 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20281"/>
10896 </xccdf:check>
10897 </xccdf:Rule>
10898 </xccdf:Group>
10899 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.2">
10900 <xccdf:title xml:lang="en">Deny All Access to ntpd by Default</xccdf:title>
10901 <xccdf:description xml:lang="en">
10902 Edit the file /etc/ntp.conf. Prepend or correct the following
10903 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10904 restrict default ignore <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10905 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10906 Since ntpd is a complex software package which listens
10907 for network connections and runs as root, it must be protected from network access by
10908 unauthorized machines. This setting uses ntpd's internal authorization to deny all
10909 access to any machine, server or client, which is not specifically authorized by other
10910 policy settings.</xccdf:description>
10911 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.2.a" selected="false" weight="10.0">
10912 <xccdf:title>Deny All Access to ntpd by Default</xccdf:title>
10913 <xccdf:description>Network access to ntpd should be denied</xccdf:description>
10914 <xccdf:ident system="http://cce.mitre.org">CCE-4134-3</xccdf:ident>
10915 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10916 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10917 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20282"/>
10918 </xccdf:check>
10919 </xccdf:Rule>
10920 </xccdf:Group>
10921 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.3">
10922 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
10923 <xccdf:description xml:lang="en">
10924 Find the IP address, server-ip , of an appropriate remote NTP
10925 server. Edit the file /etc/ntp.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10926 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10927 restrict server-ip mask 255.255.255.255 nomodify notrap noquery <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10928 server server-ip <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10929 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10930 If your site
10931 does not require time data to be accurate, but merely to be synchronized among local
10932 machines, this step can be omitted, and the NTP server will default to providing time
10933 data from the local clock. However, it is a good idea to periodically synchronize the
10934 clock to some source of accurate time, even if it is not appropriate to do so
10935 automatically. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10936 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10937 The previous step disabled all remote access to this NTP server's state
10938 data. This NTP server must contact a remote server to obtain accurate data, so NTP's
10939 configuration must allow that remote data to be used to modify the system clock. The
10940 restrict line changes the default access permissions for that remote server. The
10941 server line specifies the remote server as the preferred NTP server for time data. If
10942 you intend to synchronize to more than one server, specify restrict and server lines
10943 for each server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10944 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10945 Note: It would be possible to specify a hostname, rather than an IP
10946 address, for the server field. However, the restrict setting applies only to network
10947 blocks of IP addresses, so it is considered more maintainable to use the IP address in
10948 both fields.</xccdf:description>
10949 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.2.2.3.a" selected="false" weight="10.0">
10950 <xccdf:title>Specify a Remote NTP Server for Time Data</xccdf:title>
10951 <xccdf:description>A remote NTP Server for time synchronization should be specified</xccdf:description>
10952 <xccdf:ident system="http://cce.mitre.org">CCE-4385-1</xccdf:ident>
10953 <xccdf:fixtext>(1) via /etc/ntp.conf</xccdf:fixtext>
10954 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
10955 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20283"/>
10956 </xccdf:check>
10957 </xccdf:Rule>
10958 </xccdf:Group>
10959 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.2.2.4">
10960 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
10961 <xccdf:description xml:lang="en">
10962 Determine an appropriate network block, netwk , and network
10963 mask, mask , representing the machines on your network which will synchronize to this
10964 server. Edit /etc/ntp.conf and add the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10965 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10966 restrict netwk mask mask nomodify notrap<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10967 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10968 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears before
10969 the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10970 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10971 -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"/>
10972 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10973 If the clients are
10974 spread across more than one netblock, separate restrict and ACCEPT lines should be
10975 added for each netblock. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10976 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10977 The iptables configuration is needed because the default
10978 iptables configuration does not allow inbound access to any services. See Section
10979 2.5.5 for more information about iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10980 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
10981 Note: The reference NTP implementation will
10982 refuse to serve time data to clients until enough time has elapsed that the server
10983 host's time can be assumed to have settled to an accurate value. While testing, wait
10984 ten minutes after starting ntpd before attempting to synchronize clients.</xccdf:description>
10985 </xccdf:Group>
10986 </xccdf:Group>
10987 </xccdf:Group>
10988 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3">
10989 <xccdf:title xml:lang="en">Configure OpenNTPD if Appropriate</xccdf:title>
10990 <xccdf:description xml:lang="en">
10991 OpenNTPD is an implementation of the SNTP protocol which is
10992 provided as a simple alternative to the reference NTP server. Advantages of OpenNTPD
10993 include simplicity of configuration, built-in privilege separation and chroot jailing of
10994 the NTP protocol code, and a small codebase which lacks many of the management and other
10995 protocol features used by the reference NTP server. This simplicity comes at the cost of
10996 degraded time accuracy, but SNTP is probably accurate enough for most sites with typical
10997 monitoring requirements.</xccdf:description>
10998 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.1">
10999 <xccdf:title xml:lang="en">Obtain NTP Software</xccdf:title>
11000 <xccdf:description xml:lang="en">
11001 If your site intends to use the OpenNTPD implementation, it is
11002 necessary to compile and install the software. (If your site intends to use the
11003 reference NTP implementation, no installation is necessary.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11004 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
11005 <xhtml:li>Obtain the software by
11006 downloading an appropriate source version, openntpd-version .tar.gz, from
11007 http://www.openntpd.org/portable.html. </xhtml:li>
11008 <xhtml:li>Unpack the source code: <xhtml:br/>
11009 <xhtml:br/>
11010 <xhtml:code>$ tar xzf openntpd-version .tar.gz</xhtml:code> </xhtml:li>
11011 <xhtml:li>Configure and compile the source. (By default, the code will
11012 be compiled for installation into /usr/ local): <xhtml:br/>
11013 <xhtml:br/>
11014 <xhtml:code>$ cd openntpd-version <xhtml:br/>
11015 $ ./configure --with-privsep-user=ntp <xhtml:br/>
11016 $ make </xhtml:code></xhtml:li>
11017 <xhtml:li>As root, install the resulting program into
11018 /usr/local: <xhtml:br/>
11019 <xhtml:br/>
11020 <xhtml:code># make install </xhtml:code></xhtml:li>
11021 </xhtml:ol>
11022 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11023 The configuration option --with-privsep-user=ntp tells
11024 OpenNTPD to use the existing system account ntp for the non-root portion of its
11025 operation.</xccdf:description>
11026 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.1.a" selected="false" weight="10.0">
11027 <xccdf:title>Obtain NTP Software</xccdf:title>
11028 <xccdf:description>OpenNTPD should be installed</xccdf:description>
11029 <xccdf:ident system="http://cce.mitre.org">CCE-4032-9</xccdf:ident>
11030 <xccdf:fixtext>(1) via openntpd package</xccdf:fixtext>
11031 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11032 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20284"/>
11033 </xccdf:check>
11034 </xccdf:Rule>
11035 </xccdf:Group>
11036 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2">
11037 <xccdf:title xml:lang="en">Configure an SNTP Client</xccdf:title>
11038 <xccdf:description xml:lang="en">
11039 OpenNTPD runs only in daemon mode — there is no command line
11040 suitable to be run from cron. However, this is considered reasonably safe for client use
11041 because the daemon does not listen on any network ports by default, and because OpenNTPD
11042 is a small codebase with no remote management interface or other complex features.
11043 However, it is possible to run a time-stepping program, such as rdate(1), from cron
11044 instead of configuring the daemon as outlined in this section.</xccdf:description>
11045 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.1">
11046 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
11047 <xccdf:description xml:lang="en">Edit the file /etc/rc.local. Add or correct the following line: /usr/local/sbin/ntpd -s</xccdf:description>
11048 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.1.a" selected="false" severity="high" weight="10.0">
11049 <xccdf:title>Enable the NTP Daemon</xccdf:title>
11050 <xccdf:description>The ntp daemon should be enabled</xccdf:description>
11051 <xccdf:ident system="http://cce.mitre.org">CCE-4424-8</xccdf:ident>
11052 <xccdf:fixtext>(1) via /etc/rc.local</xccdf:fixtext>
11053 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11054 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20285"/>
11055 </xccdf:check>
11056 </xccdf:Rule>
11057 </xccdf:Group>
11058 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.2.2">
11059 <xccdf:title xml:lang="en">Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
11060 <xccdf:description xml:lang="en">
11061 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
11062 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11063 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11064 server local-server.example.com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11065 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11066 where local-server.example.com is the
11067 hostname of the site's local NTP or SNTP server.</xccdf:description>
11068 <xccdf:Rule id="xccdf_cdf_rule_rule-3.10.3.2.2.a" selected="false" severity="high" weight="10.0">
11069 <xccdf:title>Configure the Client NTP Daemon to Use the Local Server</xccdf:title>
11070 <xccdf:description>The ntp daemon synchronization server should be set appropriately</xccdf:description>
11071 <xccdf:ident system="http://cce.mitre.org">CCE-3487-6</xccdf:ident>
11072 <xccdf:fixtext>(1) via /usr/local/etc/ntpd.conf</xccdf:fixtext>
11073 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11074 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20286"/>
11075 </xccdf:check>
11076 </xccdf:Rule>
11077 </xccdf:Group>
11078 </xccdf:Group>
11079 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3">
11080 <xccdf:title xml:lang="en">Configure an SNTP Server</xccdf:title>
11081 <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>
11082 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.1">
11083 <xccdf:title xml:lang="en">Enable the NTP Daemon</xccdf:title>
11084 <xccdf:description xml:lang="en">
11085 Edit the file /etc/rc.local. Add or correct the following
11086 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11087 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11088 /usr/local/sbin/ntpd -s <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11090 Since OpenNTPD is third-party software, it does not have
11091 a standard startup script, so the daemon is started at boot using the local facility.</xccdf:description>
11092 </xccdf:Group>
11093 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.2">
11094 <xccdf:title xml:lang="en">Listen for Client Connections</xccdf:title>
11095 <xccdf:description xml:lang="en">
11096 Edit the file /usr/local/etc/ntpd.conf. Add or correct the
11097 following line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11099 listen on ipaddr <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11101 where ipaddr is the primary IP address of this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11102 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11103 By default, ntpd does not listen for any connections over a network. Listening
11104 must be actively enabled on NTP servers so that clients may obtain time data.</xccdf:description>
11105 </xccdf:Group>
11106 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.3">
11107 <xccdf:title xml:lang="en">Allow Legitimate NTP Clients to Access the Server</xccdf:title>
11108 <xccdf:description xml:lang="en">
11109 Determine an appropriate network block, netwk , and network
11110 mask, mask , representing the machines on your network which will synchronize to this
11111 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11112 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11113 Edit /etc/sysconfig/iptables. Add the following line, ensuring that it appears
11114 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11115 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11116 -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"/>
11117 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11118 The iptables configuration is needed because the default iptables configuration does
11119 not allow inbound access to any services. See Section 2.5.5 for more information about
11120 iptables.</xccdf:description>
11121 </xccdf:Group>
11122 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.10.3.3.4">
11123 <xccdf:title xml:lang="en">Specify a Remote NTP Server for Time Data</xccdf:title>
11124 <xccdf:description xml:lang="en">
11125 Find the hostname, server-host , of an appropriate remote NTP
11126 server. Edit the file /usr/local/etc/ ntpd.conf, and add or correct the following
11127 line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11129 server server-host <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11130 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11131 This setting configures ntpd to obtain time data from the
11132 remote host. To use multiple time servers, add one line for each server.</xccdf:description>
11133 </xccdf:Group>
11134 </xccdf:Group>
11135 </xccdf:Group>
11136 </xccdf:Group>
11137 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11">
11138 <xccdf:title xml:lang="en">Mail Transfer Agent</xccdf:title>
11139 <xccdf:description xml:lang="en">
11140 Mail servers are used to send and receive mail over a network on
11141 behalf of site users. Mail is a very common service, and MTAs are frequent targets of
11142 network attack. Ensure that machines are not running MTAs unnecessarily, and configure
11143 needed MTAs as defensively as possible.</xccdf:description>
11144 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.a" selected="false" severity="low" weight="10.0">
11145 <xccdf:title>Mail Transfer Agent</xccdf:title>
11146 <xccdf:description>The sendmail service should be disabled.</xccdf:description>
11147 <xccdf:ident system="http://cce.mitre.org">CCE-4416-4</xccdf:ident>
11148 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
11149 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11150 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20287"/>
11151 </xccdf:check>
11152 </xccdf:Rule>
11153 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.1">
11154 <xccdf:title xml:lang="en">Select Mail Server Software and Configuration</xccdf:title>
11155 <xccdf:description xml:lang="en">
11156 Select one of the following options for configuring e-mail on the
11157 machine: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11158 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11159 <xhtml:li>If this machine does not need to operate as a mail server, follow the
11160 instructions in Section 3.11.2 to run sendmail in submission-only mode.</xhtml:li>
11161 <xhtml:li>If the machine
11162 must operate as a mail server, read the strategies for MTA configuration in Section 3.11.3
11163 for information about configuration options. Then apply both the MTA-independent operating
11164 system configuration guidance in Section 3.11.4, and the specific guidance for your MTA:
11165 <xhtml:ul>
11166 <xhtml:li>If the Sendmail MTA is preferred, see Section 3.11.5. </xhtml:li>
11167 <xhtml:li>If the Postfix MTA is preferred, see Section 3.11.6. </xhtml:li>
11168 <xhtml:li>If another MTA is preferred, use that MTA's documentation to
11169 implement the ideas in Section 3.11.3. </xhtml:li>
11170 </xhtml:ul>
11171 </xhtml:li>
11172 </xhtml:ul>
11173 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11174 It is recommended that very few machines at any
11175 site be configured to receive mail over a network. However, it may be necessary for most
11176 machines at a given site to send e-mail, for instance so that cron jobs can report output
11177 to an administrator. Sendmail supports a submission-only mode in which mail can be sent
11178 from the machine to a central site MTA, but the machine cannot receive mail over a
11179 network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11180 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11181 If a Mail Transfer Agent (MTA) is needed, the system default is Sendmail.
11182 Postfix, a popular alternative written with security in mind, is also available. Postfix
11183 can be more effectively contained by SELinux as its modular design has resulted in
11184 separate processes performing specific actions. More information on these MTAs is
11185 available from their respective websites, http://www.sendmail.org and
11186 http://www.postfix.org.</xccdf:description>
11187 <xccdf:reference>Hildebrandt, R., and Koetter, P. The Book of Postfix. No Starch Press, 2005</xccdf:reference>
11188 </xccdf:Group>
11189 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2">
11190 <xccdf:title xml:lang="en">Configure SMTP For Mail Client</xccdf:title>
11191 <xccdf:description xml:lang="en">
11192 This guide discusses the use of Sendmail for submission-only
11193 e-mail configuration. It is also possible to use Postfix.</xccdf:description>
11194 <xccdf:reference>Hunt, C. Sendmail Cookbook. O’Reilly and Associates, 2003</xccdf:reference>
11195 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.1">
11196 <xccdf:title xml:lang="en">Disable the Listening Sendmail Daemon</xccdf:title>
11197 <xccdf:description xml:lang="en">
11198 Edit the file /etc/sysconfig/sendmail. Add or modify the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11199 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11200 DAEMON=no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11201 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11202 The MTA performs two functions: listening over a network for incoming SMTP
11203 e-mail requests, and sending mail from the local machine. Since outbound mail may be
11204 delayed due to network outages or other problems, the outbound MTA runs in a queue-only
11205 mode, in which it periodically attempts to resend any delayed mail. Setting DAEMON=no
11206 tells sendmail to execute only the queue runner on this machine, and never to receive
11207 SMTP mail requests.</xccdf:description>
11208 <xccdf:Rule id="xccdf_cdf_rule_rule-3.11.2.1.a" selected="false" weight="10.0">
11209 <xccdf:title>Disable the Listening Sendmail Daemon</xccdf:title>
11210 <xccdf:description>The listening sendmail daemon should be disabled.</xccdf:description>
11211 <xccdf:ident system="http://cce.mitre.org">CCE-4293-7</xccdf:ident>
11212 <xccdf:fixtext>(1) via /etc/sysconfig/sendmail</xccdf:fixtext>
11213 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11214 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20288"/>
11215 </xccdf:check>
11216 </xccdf:Rule>
11217 </xccdf:Group>
11218 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.2.2">
11219 <xccdf:title xml:lang="en">Configure Mail Submission if Appropriate</xccdf:title>
11220 <xccdf:description xml:lang="en">
11221 If it is appropriate to configure mail submission with a
11222 central MTA, edit /etc/mail/submit.cf. Locate the line beginning with D{MTAHost}, and
11223 modify it to read: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11224 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11225 D{MTAHost}mailserver <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11226 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11227 where mailserver is the hostname of the server
11228 to which this machine should forward its outgoing mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11229 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11230 This suggestion is provided as a
11231 simple way to migrate away from a configuration in which each machine at a site runs its
11232 own MTA, to a configuration in which client machines do not run listening daemons. If
11233 this modification is made to /etc/mail/submit.cf, then, when a local process on a
11234 machine attempts to send mail, the message will be forwarded to the machine mailserver
11235 for processing. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11236 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11237 Modifying /etc/mail/submit.cf directly is only appropriate if your site
11238 does not perform any other mailserver customization on clients. If other customization
11239 is done, use your usual Sendmail change procedure to define the MTA host. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11240 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11241 Note: In
11242 addition to making this change on the client, it may also be necessary to reconfigure
11243 the MTA on mailserver so that it will relay mail on behalf of this host.</xccdf:description>
11244 </xccdf:Group>
11245 </xccdf:Group>
11246 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3">
11247 <xccdf:title xml:lang="en">Strategies for MTA Security</xccdf:title>
11248 <xccdf:description xml:lang="en">
11249 This section discusses several types of MTA configuration which
11250 should be performed in order to protect against attacks involving the mail system. Though
11251 configuration syntax will differ depending on which MTA is in use (see Section 3.11.5 for
11252 Sendmail configuration syntax and Section 3.11.6 for Postfix), these strategies are
11253 generally advisable for any MTA, including ones not covered by this guide.</xccdf:description>
11254 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.1">
11255 <xccdf:title xml:lang="en">Use Resource Limits to Mitigate Denial of Service</xccdf:title>
11256 <xccdf:description xml:lang="en">
11257 It is often desirable to constrain an attacker's ability to
11258 consume a mail server's resources simply by sending otherwise valid mail at a high rate,
11259 whether maliciously or accidentally. Relevant resource limits include con106 CHAPTER 3.
11260 SERVICES straints on: the number of MTA daemons which may run at one time, the rate at
11261 which incoming messages may be received, the size and complexity of each message, or the
11262 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"/>
11263 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11264 That last parameter deserves additional explanation. Most MTAs require queue space for
11265 temporary files in order to process existing messages in their queues. Therefore, if the
11266 queue filesystem is allowed to fill completely in a denial of service, the MTA will not
11267 be able to clear its own queue even when the malicious traffic has stopped. This will
11268 delay recovery from an attack.</xccdf:description>
11269 </xccdf:Group>
11270 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.2">
11271 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11272 <xccdf:description xml:lang="en">
11273 When remote mail senders connect to the MTA on port 25, they
11274 are greeted by an initial banner as part of the SMTP dialogue. This banner is necessary,
11275 but it frequently gives away too much information, including the MTA software which is
11276 in use, and sometimes also its version number. Remote mail senders do not need this
11277 information in order to send mail, so the banner should be changed to reveal only the
11278 hostname (which is already known and may be useful) and the word ESMTP, to indicate that
11279 the modern SMTP protocol variant is supported.</xccdf:description>
11280 </xccdf:Group>
11281 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.3.3">
11282 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11283 <xccdf:description xml:lang="en">
11284 The sending of Unsolicited Bulk E-mail, referred to variously
11285 as UBE, UCE, or spam, is a major problem on the Internet today. The security
11286 implications of spam are that it operates as a Denial of Service attack on legitimate
11287 e-mail use. Strategies for fighting spam receipt at your site are complex and quickly
11288 evolving, and thus far beyond the scope of this guide. The problem of relaying
11289 unauthorized e-mail, however, can and should be addressed by any network-connected site.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11290 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11291 Most MTAs perform two functions: to accept mail from remote sites on behalf of local
11292 users, and to allow local users to send mail to remote sites. The former function is
11293 relatively easy — mail whose recipient address is local can be assumed to be destined
11294 for a local user. The latter function is more complex. Since it is typically considered
11295 neither secure nor desirable for users to log in to the MTA host itself to send mail,
11296 the MTA must be able to remotely accept mail addressed to anyone from the user's
11297 workstation. If the MTA is running very old software or is configured poorly, it can be
11298 possible for attackers to take advantage of this feature, using your MTA to relay their
11299 spam from one remote site to another. This is undesirable for many reasons, not least
11300 that your site will quickly be denylisted as a spam source, leaving you unable to send
11301 legitimate e-mail to your correspondents. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11302 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11303 The simplest solution described in this guide
11304 is to configure the MTA to relay mail only from the local site's address range, and some
11305 variant on this is the default for most modern MTAs. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11306 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11307 That solution may be insufficient
11308 for sites whose users need to send mail from remote machines, for instance while
11309 travelling, as well as for sites where mail submission must be accepted from network
11310 ranges which are not considered secure, either because authorized machines are unmanaged
11311 or because it is possible to connect unauthorized machines to the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11312 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11313 If remote or
11314 mobile hosts are authorized to relay, or if local clients exist in insecure netblocks,
11315 the SMTP AUTH protocol should be used to require mail senders to authenticate before
11316 submitting messages. For better protection and to allow support for a wide range of
11317 authentication mechanisms without sending passwords over a network in clear text, SMTP
11318 AUTH transactions should be encrypted using SSL. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11319 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11320 Another approach is to require mail to
11321 be submitted on port 587, the designated Message Submission Port. Use of a separate port
11322 allows the mail relay function to be entirely separated from the mail delivery function.
11323 This may become a best practice in the future, but description of how to configure the
11324 Message Submission Port is currently beyond the scope of this guide. See RFC 2476 for
11325 information about this configuration.</xccdf:description>
11326 </xccdf:Group>
11327 </xccdf:Group>
11328 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4">
11329 <xccdf:title xml:lang="en">Configure Operating System to Protect Mail Server</xccdf:title>
11330 <xccdf:description xml:lang="en">
11331 The guidance in this section is appropriate for any host which is
11332 operating as a site MTA, whether the mail server runs using Sendmail, Postfix, or some
11333 other software.</xccdf:description>
11334 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.1">
11335 <xccdf:title xml:lang="en">Use Separate Hosts for External and Internal Mail if Possible</xccdf:title>
11336 <xccdf:description xml:lang="en">
11337 The mail server is a frequent target of network attack from the
11338 outside. However, since all site users receive mail, the mail server must be open to
11339 some connection from each inside users. It is strongly recommended that these functions
11340 be separated, by having an externally visible mail server which processes all incoming
11341 and outgoing mail, then forwards internal mail to a separate machine from which users
11342 can access it.</xccdf:description>
11343 </xccdf:Group>
11344 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.2">
11345 <xccdf:title xml:lang="en">Protect the MTA Host from User Access</xccdf:title>
11346 <xccdf:description xml:lang="en">
11347 The mail server contains privileged data belonging to all users
11348 and performs a vital network function. Preventing users from logging into this server is
11349 a precaution against privilege escalation or denial of service attacks which might
11350 compromise the mail service. Take steps to ensure that only system administrators are
11351 allowed shell access to the MTA host.</xccdf:description>
11352 </xccdf:Group>
11353 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.3">
11354 <xccdf:title xml:lang="en">Restrict Remote Access to the Mail Spool</xccdf:title>
11355 <xccdf:description xml:lang="en">
11356 If users directly connect to this machine to receive mail,
11357 ensure that there is a single, well-secured mechanism for access to the directory
11358 /var/spool/mail (the directory /var/mail is a symlink to this). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11359 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11360 Allowing unrestricted
11361 access to /var/spool/mail can be dangerous, since this directory contains sensitive
11362 information belonging to all users. Protocols such as NFS, which have an insecure
11363 authorization mechanism by default, should be considered insufficient for these
11364 purposes. See Section 3.17 for details on secure configuration of POP3 or IMAP, which
11365 are the preferred ways to provide user access to mail.</xccdf:description>
11366 </xccdf:Group>
11367 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.4">
11368 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Mail Server</xccdf:title>
11369 <xccdf:description xml:lang="en">
11370 Edit /etc/sysconfig/iptables. Add the following line, ensuring
11371 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"/>
11372 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11373 -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"/>
11374 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11375 The default
11376 Iptables configuration does not allow inbound access to the SMTP service. This
11377 modification allows that access, while keeping other ports on the server in their
11378 default protected state. See Section 2.5.5 for more information about Iptables.</xccdf:description>
11379 </xccdf:Group>
11380 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.5">
11381 <xccdf:title xml:lang="en">Verify System Logging and Log Permissions for Mail</xccdf:title>
11382 <xccdf:description xml:lang="en">
11383 Edit the file /etc/syslog.conf. Add or correct the following
11384 line if necessary (this is the default): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11385 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11386 mail.* -/var/log/maillog <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11387 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11388 Run the following commands to ensure correct permissions on the mail log: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11389 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11390 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /var/log/maillog <xhtml:br/>
11391 # chmod 600 /var/log/maillog <xhtml:br/></xhtml:code>
11392 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11393 The mail server logs contain a record of
11394 every e-mail which is sent or received on the system, which is considered sensitive
11395 information by most sites. It is necessary that these logs be collected for purposes of
11396 debugging and statistics, but their contents should be protected from unauthorized
11397 access.</xccdf:description>
11398 </xccdf:Group>
11399 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6">
11400 <xccdf:title xml:lang="en">Configure SSL Certificates for Use with SMTP AUTH</xccdf:title>
11401 <xccdf:description xml:lang="en">
11402 If SMTP AUTH is to be used (see Section 3.11.3.3 for a
11403 description of possible anti-relaying mechanisms), the use of SSL to protect credentials
11404 in transit is strongly recommended. There are also configurations for which it may be
11405 desirable to encrypt all mail in transit from one MTA to another, though such
11406 configurations are beyond the scope of this guide. In either event, the steps for
11407 creating and installing an SSL certificate are independent of the MTA in use, and are
11408 described here.</xccdf:description>
11409 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.1">
11410 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
11411 <xccdf:description xml:lang="en">
11412 Note: This step must be performed on your CA system, not on
11413 the MTA host itself. If you will have a commercial CA sign certificates, then this
11414 step should be performed on a separate, physically secure system devoted to that
11415 purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11416 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11417 Change into the CA certificate directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11418 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11419 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
11420 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11421 Generate a key pair for the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11423 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out mailserverkey.pem 2048 <xhtml:br/></xhtml:code>
11424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11425 Next,
11426 generate a certificate signing request (CSR) for the CA to sign, making sure to supply
11427 your mail server's fully qualified domain name as the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11428 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11429 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key mailserverkey.pem -out mailserver.csr <xhtml:br/></xhtml:code>
11430 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11431 Next, the mail server CSR must be signed to
11432 create the mail server certificate. You can either send the CSR to an established CA
11433 or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11434 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11435 To sign mailserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11436 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11437 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in mailserver.csr -out mailservercert.pem <xhtml:br/></xhtml:code>
11438 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11439 This step creates a private key,
11440 mailserverkey.pem, and a public certificate, mailservercert.pem. The mail server will
11441 use these to prove its identity by demonstrating that it has a certificate which has
11442 been signed by a CA. Mail clients at your site should be willing to send their mail
11443 only to a server they can authenticate.</xccdf:description>
11444 </xccdf:Group>
11445 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.4.6.2">
11446 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
11447 <xccdf:description xml:lang="en">
11448 Create the PKI directory for mail certificates, if it does
11449 not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11450 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11451 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/mail <xhtml:br/>
11452 # chown root:root /etc/pki/tls/mail <xhtml:br/>
11453 # chmod 755 /etc/pki/tls/mail <xhtml:br/></xhtml:code>
11454 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11455 Using removable media or some other secure transmission
11456 format, install the files generated in the previous step onto the mail server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11457 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11458 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11459 <xhtml:li>/etc/pki/tls/mail/serverkey.pem: the private key mailserverkey.pem</xhtml:li>
11460 <xhtml:li>/etc/pki/tls/mail/servercert.pem: the certificate file mailservercert.pem</xhtml:li>
11461 </xhtml:ul>
11462 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11463 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11464 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11465 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11466 # chown root:root /etc/pki/tls/mail/servercert.pem <xhtml:br/>
11467 # chmod 600 /etc/pki/tls/mail/serverkey.pem <xhtml:br/>
11468 # chmod 644 /etc/pki/tls/mail/servercert.pem<xhtml:br/></xhtml:code>
11469 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11470 Verify that the CA's public certificate file has been installed as
11471 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11472 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11473 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11474 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
11475 </xccdf:Group>
11476 </xccdf:Group>
11477 </xccdf:Group>
11478 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5">
11479 <xccdf:title xml:lang="en">Configure Sendmail Server if Necessary</xccdf:title>
11480 <xccdf:description xml:lang="en">
11481 When sendmail is configured to act as a server for incoming mail,
11482 it listens on port 25 for connections, and responds to those connections using the
11483 configuration in /etc/mail/sendmail.cf. This file has a somewhat opaque format, and
11484 modifying it directly is generally not recommended. Instead, the following procedure
11485 should be used to modify the sendmail configuration: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11486 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11487 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
11488 <xhtml:li>Install the sendmail-cf RPM, which
11489 is required in order to compile a new configuration file: <xhtml:br/>
11490 <xhtml:br/>
11491 <xhtml:code># yum install sendmail-cf<xhtml:br/></xhtml:code></xhtml:li>
11492 <xhtml:li>Edit the M4 source file /etc/mail/sendmail.mc as directed by the configuration step you
11493 are applying. </xhtml:li>
11494 <xhtml:li>Inside the directory /etc/mail/, use make to build the configuration
11495 according to the Makefile provided by Sendmail: <xhtml:br/>
11496 <xhtml:br/>
11497 <xhtml:code># cd /etc/mail <xhtml:br/>
11498 # make sendmail.cf</xhtml:code></xhtml:li>
11499 </xhtml:ol></xccdf:description>
11500 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.1">
11501 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11502 <xccdf:description xml:lang="en">
11503 Edit /etc/mail/sendmail.mc, and add or correct the following
11504 options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11506 define(`confMAX_DAEMON_CHILDREN',`40')dnl
11507 define(`confCONNECTION_RATE_THROTTLE', `3 ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11508 define(`confMIN_FREE_BLOCKS',`20971520')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11509 define(`confMAX_HEADERS_LENGTH',`51200')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11510 define(`confMAX_MESSAGE_SIZE',`10485760')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11511 define(`confMAX_RCPTS_PER_MESSAGE',`100')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11512 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11513 Note: The values given here are examples, and may need to be modified for any
11514 particular site, especially one with high e-mail volume. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11515 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11516 These configuration options
11517 serve to make it more difficult for attackers to consume resources on the MTA host. (See
11518 Section 3.11.3.1 for details on why this is done.) The MAX DAEMON CHILDREN option limits
11519 the number of sendmail processes which may be deployed to handle incoming connections at
11520 any one time, while CONNECTION RATE THROTTLE limits the number of connections per second
11521 which each listener may receive. The MIN FREE BLOCKS option stops e-mail receipt when
11522 the queue filesystem is close to full. The MAX HEADERS LENGTH (bytes), MAX MESSAGE SIZE
11523 (bytes), and MAX RCPTS PER MESSAGE (distinct recipients) options place bounds on the
11524 legal sizes of messages received via SMTP.</xccdf:description>
11525 </xccdf:Group>
11526 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.2">
11527 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11528 <xccdf:description xml:lang="en">
11529 Edit /etc/mail/sendmail.mc, and add or correct the following
11530 line, substituting an appropriate greeting string for $j : <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11532 define(`confSMTP_LOGIN_MSG', `$j ')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11533 and recompile sendmail's configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11534 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11535 The default greeting banner discloses
11536 that the listening mail process is Sendmail rather than some other MTA, and also
11537 provides the version number. See Section 2.3.7 for more about warning banners, and
11538 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11539 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11540 The Sendmail variable $j contains the hostname of the mail server, which may be an
11541 appropriate greeting string for most environments.</xccdf:description>
11542 </xccdf:Group>
11543 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3">
11544 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11545 <xccdf:description xml:lang="en">
11546 This guide will discuss two mechanisms for controlling mail
11547 relaying in Sendmail. The /etc/mail/relay-domains file contains a list of hostnames that
11548 are allowed to relay mail. Follow the guidance in Section 3.11.5.3.1 to configure
11549 relaying for trusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11551 If there are machines which must be allowed to relay
11552 mail, but which cannot be trusted to relay unconditionally, configure SMTP AUTH with TLS
11553 support using the guidance in Sections 3.11.5.3.2 and following.</xccdf:description>
11554 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.1">
11555 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11556 <xccdf:description xml:lang="en">
11557 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11558 <xhtml:li>If all machines which share a common domain or subdomain
11559 name may relay, then edit /etc/mail/ relay-domains, adding a line for each domain or
11560 subdomain, e.g.: <xhtml:br/>
11561 <xhtml:br/>
11562 example.com <xhtml:br/>
11563 trusted-subnet.school.edu <xhtml:br/>
11564 ... </xhtml:li>
11565 <xhtml:li>If the machines which are
11566 allowed to relay must be specified on a per-host basis, then edit /etc/mail/
11567 relay-domains, adding a line for each such host: <xhtml:br/>
11568 <xhtml:br/>
11569 host1.example.com<xhtml:br/>
11570 host5.subnet.example.com <xhtml:br/>
11571 smtp.trusted-subnet.school.edu <xhtml:br/>
11572 <xhtml:br/>
11573 Then edit /etc/mail/sendmail.mc, add or correct the line: <xhtml:br/>
11574 <xhtml:br/>
11575 FEATURE(`relay_hosts_only')dnl <xhtml:br/>
11576 <xhtml:br/>
11577 and recompile sendmail's configuration. </xhtml:li>
11578 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11579 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11580 The file /etc/mail/relay-domains must contain only
11581 the set of machines for which this MTA should unconditionally relay mail. This
11582 configures both inbound and outbound relaying, that is, hosts mentioned in
11583 relay-domains may send mail through the MTA, and the MTA will also accept inbound mail
11584 addressed to such hosts. This is a trust relationship — if spammers gain access to
11585 these machines, your site will effectively become an open relay. It is recommended
11586 that only machines which are managed by you or by another trusted organization be
11587 placed in relay-domains, and that users of all other machines be required to use SMTP
11588 AUTH to send mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11589 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11590 Note: The relay-domains file must be configured to contain either a
11591 list of domains (in which case every host in each of those domains will be allowed to
11592 relay) or a list of hosts (in which case each individual relaying host must be listed
11593 and the sendmail.cf must be reconfigured to interpret the relay-domains file in the
11594 desired way).</xccdf:description>
11595 </xccdf:Group>
11596 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.2">
11597 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11598 <xccdf:description xml:lang="en">
11599 By default, Sendmail uses the Cyrus-SASL library to provide
11600 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11601 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11602 To enable the use of SASL authentication for relaying, edit
11603 /etc/mail/sendmail.mc and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11604 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11605 TRUST_AUTH_MECH(`LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11606 define(`confAUTH_MECHANISMS', `LOGIN PLAIN') <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11607 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11608 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11609 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11610 Then edit /usr/lib/sasl2/Sendmail.conf and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11611 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11612 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11613 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11614 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11615 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11616 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11617 The AUTH MECHANISMS configuration option tells sendmail to allow the
11618 specified authentication mechanisms to be used during the SMTP dialogue. The two
11619 listed mechanisms use SASL to test a password provided by the user. Since these
11620 mechanisms transmit plaintext passwords, they should be protected using TLS as
11621 described in the next section. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11622 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11623 The TRUST AUTH MECH command tells sendmail that senders
11624 who successfully authenticate using the specified mechanism may relay mail through
11625 this MTA even if their addresses are not in relay-domains. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11626 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11627 The file
11628 /usr/lib/sasl/Sendmail.conf is the Cyrus-SASL configuration file for Sendmail. The
11629 pwcheck method directive tells SASL how to find passwords. The simplest method,
11630 described here, is to run a separate authentication daemon, saslauthd, which is able
11631 to communicate with the system authentication service. On Red Hat, saslauthd uses PAM
11632 by default, which should work in most cases. If you have a centralized authentication
11633 system which does not work via PAM, look at the saslauthd(8) manpage to determine how
11634 to configure saslauthd for your environment.</xccdf:description>
11635 </xccdf:Group>
11636 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.5.3.3">
11637 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11638 <xccdf:description xml:lang="en">
11639 Edit /etc/mail/sendmail.mc, add or correct the following
11640 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11641 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11642 define(`confAUTH_OPTIONS', `A p')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11643 define(`confCACERT_PATH', `/etc/pki/tls/CA')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11644 define(`confCACERT', `/etc/pki/tls/CA/cacert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11645 define(`confSERVER_CERT', `/etc/pki/tls/mail/servercert.pem')dnl<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11646 define(`confSERVER_KEY', `/etc/pki/tls/mail/serverkey.pem')dnl <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11647 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11648 and recompile sendmail.cf. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11649 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11650 These options, combined with the previous settings, tell Sendmail to
11651 protect all SMTP AUTH transactions using TLS. The first four options describe the
11652 location of the necessary TLS certificate and key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11653 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11654 The AUTH OPTIONS parameter
11655 configures the SMTP AUTH dialogue. The A option is enabled by default, and simply says
11656 that authentication is allowed if an appropriate mechanism can be found. The p option
11657 tells Sendmail to protect against passive attacks. The PLAIN and LOGIN authentication
11658 mechanisms, recommended by this guide for compatibility with PAM, send passwords in
11659 the clear. (Cleartext password transmissions are vulnerable to passive attack.)
11660 Therefore, if p is set, the SMTP daemon will not make the AUTH command available until
11661 after the client has used the STARTTLS command to encrypt the session. If other
11662 authentication mechanisms were enabled which did not send passwords in the clear, then
11663 TLS would not necessarily be required.</xccdf:description>
11664 </xccdf:Group>
11665 </xccdf:Group>
11666 </xccdf:Group>
11667 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6">
11668 <xccdf:title xml:lang="en">Configure Postfix if Necessary</xccdf:title>
11669 <xccdf:description xml:lang="en">
11670 Postfix stores its configuration files in the directory
11671 /etc/postfix by default. The primary configuration file is /etc/postfix/main.cf. Other
11672 files will be introduced as needed.</xccdf:description>
11673 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.1">
11674 <xccdf:title xml:lang="en">Limit Denial of Service Attacks</xccdf:title>
11675 <xccdf:description xml:lang="en">
11676 Edit /etc/postfix/main.cf. Add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11677 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11678 default_process_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11679 smtpd_client_connection_count_limit = 10<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11680 smtpd_client_connection_rate_limit = 30 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11681 queue_minfree = 20971520 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11682 header_size_limit = 51200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11683 message_size_limit = 10485760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11684 smtpd_recipient_limit = 100 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11685 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11686 Note: The values given
11687 here are examples, and may need to be modified for any particular site. By default, the
11688 Postfix anvil process gathers mail receipt statistics. To get information about about
11689 what connection rates are typical at your site, look in /var/log/maillog for lines with
11690 the daemon name postfix/anvil. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11691 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11692 These configuration options serve to make it more
11693 difficult for attackers to consume resources on the MTA host. (See Section 3.11.3.1 for
11694 details on why this is done.) The default process limit parameter controls how many
11695 smtpd processes can exist at a time, while smtpd_client_connection_count_limit controls
11696 the number of those which can be occupied by any one remote sender, and
11697 smtpd_client_connection_rate_limit controls the number of connections any one client
11698 can make per minute. By default, local hosts (those in mynetworks) are exempted from
11699 per-client rate limiting. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11700 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11701 The queue_minfree parameter establishes a free space threshold, in order to
11702 stop e-mail receipt before the queue filesystem is entirely full. The header_size_limit,
11703 message_size_limit, and smtpd recipient limit parameters place bounds on the legal sizes
11704 of messages received via SMTP.</xccdf:description>
11705 </xccdf:Group>
11706 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.2">
11707 <xccdf:title xml:lang="en">Configure SMTP Greeting Banner</xccdf:title>
11708 <xccdf:description xml:lang="en">
11709 Edit /etc/postfix/main.cf, and add or correct the following
11710 line, substituting some other wording for the banner information if you prefer:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11711 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11712 smtpd_banner = $myhostname ESMTP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11713 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11714 The default greeting banner discloses that the
11715 listening mail process is Postfix. See Section 2.3.7 for more about warning banners, and
11716 Section 3.11.3.2 for strategies regarding SMTP greeting banners in particular.</xccdf:description>
11717 </xccdf:Group>
11718 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3">
11719 <xccdf:title xml:lang="en">Control Mail Relaying</xccdf:title>
11720 <xccdf:description xml:lang="en">
11721 Postfix's mail relay controls are implemented with the help of
11722 the smtpd recipient restrictions option, which controls the restrictions placed on the
11723 SMTP dialogue once the sender and recipient envelope addresses are known. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11724 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11725 The guidance
11726 in Sections 3.11.6.3.1–3.11.6.3.2 should be applied to all machines. If there are
11727 machines which must be allowed to relay mail, but which cannot be trusted to relay
11728 unconditionally, configure SMTP AUTH with SSL support using the guidance in Sections
11729 3.11.6.3.3 and following.</xccdf:description>
11730 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.1">
11731 <xccdf:title xml:lang="en">Configure Trusted Networks and Hosts</xccdf:title>
11732 <xccdf:description xml:lang="en">
11733 Edit /etc/postfix/main.cf, and configure the contents of the
11734 mynetworks variable in one of the following ways: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11735 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11736 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11737 <xhtml:li>If any machine in the subnet
11738 containing the MTA may be trusted to relay messages, add or correct the line:<xhtml:br/>
11739 <xhtml:br/>
11740 mynetworks_style = subnet </xhtml:li>
11741 <xhtml:li>If only the MTA host itself is trusted to relay messages,
11742 add or correct: <xhtml:br/>
11743 <xhtml:br/>
11744 mynetworks_style = host </xhtml:li>
11745 <xhtml:li>If the set of machines which can relay is
11746 more complicated, manually specify an entry for each netblock or IP address which is
11747 trusted to relay by setting the mynetworks variable directly: <xhtml:br/>
11748 <xhtml:br/>
11749 mynetworks = 10.0.0.0/16 , 192.168.1.0/24 , 127.0.0.1 </xhtml:li>
11750 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11751 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11752 The mynetworks variable must contain only the set of
11753 machines for which this MTA should unconditionally relay mail. This is a trust
11754 relationship — if spammers gain access to these machines, your site will effectively
11755 become an open relay. It is recommended that only machines which are managed by you or
11756 by another trusted organization be placed in mynetworks, and users of all other
11757 machines be required to use SMTP AUTH to send mail.</xccdf:description>
11758 </xccdf:Group>
11759 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.2">
11760 <xccdf:title xml:lang="en">Allow Unlimited Relaying for Trusted Networks Only</xccdf:title>
11761 <xccdf:description xml:lang="en">
11762 Edit /etc/postfix/main.cf, and add or correct the smtpd
11763 recipient restrictions definition so that it contains at least:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11765 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11766 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11767 permit_mynetworks, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11768 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11769 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11770 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11771 The full contents of smtpd recipient restrictions will vary by site, since this is a
11772 common place to put spam restrictions and other site-specific options. The permit
11773 mynetworks option allows all mail to be relayed from the machines in mynetworks. Then,
11774 the reject unauth destination option denies all mail whose destination address is not
11775 local, preventing any other machines from relaying. These two options should always
11776 appear in this order, and should usually follow one another immediately unless SMTP
11777 AUTH is used.</xccdf:description>
11778 </xccdf:Group>
11779 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.3.3">
11780 <xccdf:title xml:lang="en">Require SMTP AUTH Before Relaying from Untrusted Clients</xccdf:title>
11781 <xccdf:description xml:lang="en">
11782 SMTP authentication allows remote clients to relay mail
11783 safely by requiring them to authenticate before submitting mail. Postfix's SMTP AUTH
11784 uses an authentication library called SASL, which is not part of Postfix itself. This
11785 section describes how to configure authentication using the Cyrus-SASL implementation.
11786 See below for a discussion of other options. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11787 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11788 To enable the use of SASL authentication,
11789 edit /etc/postfix/main.cf and add or correct the following settings:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11790 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11791 smtpd_sasl_auth_enable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11792 smtpd_recipient_restrictions = <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11793 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11794 permit_mynetworks,<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11795 permit_sasl_authenticated, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11796 reject_unauth_destination, <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11797 ...<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11798 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11799 Then edit
11800 /usr/lib/sasl/smtpd.conf and add or correct the following line with the correct
11801 authentication mechanism for SASL to use: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11802 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11803 pwcheck_method: saslauthd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11804 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11805 Enable the saslauthd daemon: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11806 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11807 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig saslauthd on <xhtml:br/></xhtml:code>
11808 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11809 Postfix can use either the Cyrus library or
11810 Dovecot as a source for SASL authentication. If this host is running Dovecot for some
11811 other reason, it is recommended that Dovecot's SASL support be used instead of running
11812 the Cyrus code as well. See http://www.postfix.org/SASL README.html for instructions
11813 on implementing that configuration, which is not described in this guide. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11814 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11815 In Postfix's
11816 configuration, the directive smtpd sasl auth enable tells smtpd to allow the use of
11817 the SMTP AUTH command during the SMTP dialogue, and to support that command by getting
11818 authentication information from SASL. The smtpd recipient restrictions directive is
11819 changed so that, if the client is not connecting from a trusted address, it is allowed
11820 to attempt authentication (permit sasl authenticated) in order to relay mail. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11821 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11822 The file
11823 /usr/lib/sasl/smtpd.conf is the Cyrus-SASL configuration file. The pwcheck method
11824 directive tells SASL how to find passwords. The simplest method, described above, is
11825 to run a separate authentication daemon, saslauthd, which is able to communicate with
11826 the system authentication system. On RHEL5, saslauthd uses PAM by default, which
11827 should work in most cases. If you have a centralized authentication system which does
11828 not work via PAM, look at the saslauthd(8) manpage to find out how to configure
11829 saslauthd for your environment.</xccdf:description>
11830 </xccdf:Group>
11831 </xccdf:Group>
11832 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.11.6.4">
11833 <xccdf:title xml:lang="en">Require TLS for SMTP AUTH</xccdf:title>
11834 <xccdf:description xml:lang="en">
11835 Edit /etc/postfix/main.cf, and add or correct the following
11836 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11837 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11838 smtpd_tls_CApath = /etc/pki/tls/CA <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11839 smtpd_tls_CAfile = /etc/pki/tls/CA/cacert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11840 smtpd_tls_cert_file = /etc/pki/tls/mail/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11841 smtpd_tls_key_file = /etc/pki/tls/mail/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11842 smtpd_tls_security_level = may <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11843 smtpd_tls_auth_only = yes<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11844 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11845 These options tell Postfix to protect all SMTP AUTH transactions using TLS. The first
11846 four options describe the locations of the necessary TLS key files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11847 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11848 The smtpd_tls_security_level directive tells smtpd to allow the STARTTLS command during the SMTP
11849 protocol exchange, but not to require it for mail senders. (Unless your site receives
11850 mail only from other trusted sites whose sysadmins can be asked to maintain a copy of
11851 your site certificate, you do not want to require TLS for all SMTP exchanges.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11852 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11853 The smtpd_tls_auth_only directive tells smtpd to require the STARTTLS command before allowing the
11854 client to attempt to authenticate for relaying using SMTP AUTH. It may not be possible
11855 to use this directive if you must allow relaying from non-TLS-capable client software.
11856 If this is the case, simply omit that line.</xccdf:description>
11857 </xccdf:Group>
11858 </xccdf:Group>
11859 </xccdf:Group>
11860 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12">
11861 <xccdf:title xml:lang="en">LDAP</xccdf:title>
11862 <xccdf:description xml:lang="en">
11863 LDAP is a popular directory service, that is, a standardized way of
11864 looking up information from a central database. It is relatively simple to configure a RHEL5
11865 machine to obtain authentication information from an LDAP server. If your network uses LDAP
11866 for authentication, be sure to configure both clients and servers securely.</xccdf:description>
11867 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.1">
11868 <xccdf:title xml:lang="en">Use OpenLDAP to Provide LDAP Service if Possible</xccdf:title>
11869 <xccdf:description xml:lang="en">
11870 The system's default LDAP client/server program is called
11871 OpenLDAP. Its documentation is available at the project web page: http://www.openldap.org.</xccdf:description>
11872 </xccdf:Group>
11873 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2">
11874 <xccdf:title xml:lang="en">Configure OpenLDAP Clients</xccdf:title>
11875 <xccdf:description xml:lang="en">
11876 This guide recommends configuring OpenLDAP clients by manually
11877 editing the appropriate configuration files. RHEL5 provides an automated configuration
11878 tool called authconfig and a graphical wrapper for authconfig called
11879 system-config-authentication. However, these tools do not give sufficient flexibility over
11880 configuration. The authconfig tools do not allow you to specify locations of SSL
11881 certificate files, which is useful when trying to use SSL cleanly across several
11882 protocols. They are also overly aggressive in placing services such as netgroups and
11883 automounter maps under LDAP control, where it is safer to use LDAP only for services to
11884 which it is relevant in your environment.</xccdf:description>
11885 <xccdf:warning xml:lang="en">Before configuring any machine to be an LDAP client, ensure that
11886 a working LDAP server is present on the network. See Section 3.12.3 for instructions on
11887 configuring an LDAP server. </xccdf:warning>
11888 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.1">
11889 <xccdf:title xml:lang="en">Configure the Appropriate LDAP Parameters for the Domain</xccdf:title>
11890 <xccdf:description xml:lang="en">
11891 Assume the fully qualified host name of your LDAP server is
11892 ldap.example.com and the base DN of your domain is dc=example,dc=com (it is conventional
11893 to use the domain name as a base DN). Edit /etc/ldap. conf, and add or correct the
11894 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11895 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11896 base dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11897 uri ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11899 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11901 BASE dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11902 URI ldap://ldap.example.com/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11903 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11904 The machine whose hostname is given here must be
11905 configured as an LDAP server, serving data identified by the base DN used here. See
11906 Section 3.12.3 for details on configuring an LDAP server.</xccdf:description>
11907 </xccdf:Group>
11908 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.2">
11909 <xccdf:title xml:lang="en">Configure LDAP to Use TLS for All Transactions</xccdf:title>
11910 <xccdf:description xml:lang="en">
11911 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
11912 <xhtml:li>Ensure a copy of the site's CA certificate has been placed
11913 in the file /etc/pki/tls/CA/cacert.pem. </xhtml:li>
11914 <xhtml:li>Configure LDAP to enforce TLS use and to
11915 trust certificates signed by the site's CA. First, edit the file /etc/ldap.conf, and add
11916 or correct the following lines: <xhtml:br/>
11917 <xhtml:br/>
11918 ssl start_tls <xhtml:br/>
11919 tls_checkpeer yes <xhtml:br/>
11920 tls_cacertdir /etc/pki/tls/CA <xhtml:br/>
11921 tls_cacertfile /etc/pki/tls/CA/cacert.pem <xhtml:br/>
11922 <xhtml:br/>
11923 Then edit /etc/openldap/ldap.conf, and add or correct the following lines: <xhtml:br/>
11924 <xhtml:br/>
11925 TLS_CACERTDIR /etc/pki/tls/CA <xhtml:br/>
11926 TLS_CACERT /etc/pki/tls/CA/cacert.pem </xhtml:li>
11927 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11928 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11929 Section 2.5.6 describes the
11930 system-wide configuration of SSL for your enterprise. It is possible to place your
11931 certificate information under some directory other than /etc/pki/tls, but using a
11932 consistent directory structure across all SSL services at your site is recommended. The
11933 LDAP server must be configured with a certificate signed by the CA certificate named
11934 here.</xccdf:description>
11935 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.2.2.a" selected="false" weight="10.0">
11936 <xccdf:title>Configure LDAP to Use TLS for All Transactions</xccdf:title>
11937 <xccdf:description>Clients require LDAP servers to provide valid certificates for SSL communications.</xccdf:description>
11938 <xccdf:fixtext>(1) via /etc/ldap.conf</xccdf:fixtext>
11939 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
11940 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:202885"/>
11941 </xccdf:check>
11942 </xccdf:Rule>
11943 </xccdf:Group>
11944 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.2.3">
11945 <xccdf:title xml:lang="en">Configure Authentication Services to Use OpenLDAP</xccdf:title>
11946 <xccdf:description xml:lang="en">
11947 Edit the file /etc/ldap.conf, and add or correct the following
11948 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11949 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11950 pam_password md5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11951 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11952 Edit the file /etc/nsswitch.conf, and add or correct the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11953 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11954 passwd: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11955 shadow: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11956 group: files ldap <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11957 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11958 Edit the file
11959 /etc/pam.d/system-auth-ac. Make the following changes, which will add references to LDAP
11960 in each of the four sections of the file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11961 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11962 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
11963 <xhtml:li>Immediately before the last line in the auth
11964 section (the one containing pam_deny.so), insert the line: <xhtml:br/>
11965 <xhtml:br/>
11966 auth sufficient pam_ldap.so use_first_pass </xhtml:li>
11967 <xhtml:li>Modify the first line in the account section by adding the option
11968 broken shadow. The line should then read: <xhtml:br/>
11969 <xhtml:br/>
11970 account required pam_unix.so broken_shadow </xhtml:li>
11971 <xhtml:li>Immediately before the last line in the account section (the one containing pam
11972 permit.so), insert the line: <xhtml:br/>
11973 <xhtml:br/>
11974 account [default=bad success=ok user_unknown=ignore] pam_ldap.so </xhtml:li>
11975 <xhtml:li>Immediately before the last line in the password section (the one
11976 containing pam_deny.so), insert the line: <xhtml:br/>
11977 <xhtml:br/>
11978 password sufficient pam_ldap.so use_authtok</xhtml:li>
11979 <xhtml:li>At the end of the file (after the last line in the session section), append the line:<xhtml:br/>
11980 <xhtml:br/>
11981 session optional pam_ldap.so </xhtml:li>
11982 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11983 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11984 The first modification tells LDAP to expect passwords in
11985 MD5 hash format, rather than clear text. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11986 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11987 Red Hat systems use the file /etc/nsswitch.conf
11988 to determine the appropriate sources to search for certain kinds of data, such as
11989 usernames, groups, hostnames, netgroups, or protocols. It is possible to manage many
11990 other types of data using LDAP, but this guide recommends that only usernames (passwd
11991 data), passwords (shadow data), and groups (group data) be managed using LDAP. If your
11992 site uses netgroups, it may be appropriate to manage these via LDAP as well. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11993 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11994 However,
11995 data which almost never changes, such as the contents of the /etc/services file, is a
11996 poor choice for central administration, since it introduces risk with little benefit. It
11997 is recommended that the automounter not be used at all, so LDAP control of automounter
11998 maps is unlikely to be appropriate. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
11999 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12000 The file /etc/pam.d/system-auth-ac is used by PAM to
12001 control access to most authenticated services. The syntax of the PAM configuration file
12002 is somewhat cryptic. The lines recommended here have the combined effect of using LDAP
12003 to find authentication data for users who cannot be found in the local /etc/passwd file.
12004 This means that, for instance, it is still possible to use a local root password. The
12005 details of options such as broken_shadow, use_authtok, and use_first_pass may be looked
12006 up in the man pages for the various PAM modules. Their basic effect is to attempt to
12007 authenticate given a password against both the local /etc/shadow and the central LDAP
12008 server, without forcing the user to type the password more than once. PAM configuration
12009 is discussed further in Section 2.3.3.</xccdf:description>
12010 </xccdf:Group>
12011 </xccdf:Group>
12012 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3">
12013 <xccdf:title xml:lang="en">Configure OpenLDAP Server</xccdf:title>
12014 <xccdf:description xml:lang="en">
12015 This section contains guidance on how to configure an OpenLDAP
12016 server to securely provide information for use in a centralized authentication service.
12017 This is not a comprehensive guide to maintaining an OpenLDAP server, but may be helpful in
12018 transitioning to an OpenLDAP infrastructure nonetheless.</xccdf:description>
12019 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.1">
12020 <xccdf:title xml:lang="en">Install OpenLDAP Server RPM</xccdf:title>
12021 <xccdf:description xml:lang="en">
12022 Is this machine the OpenLDAP server? If so: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12023 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12024 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install openldap-servers <xhtml:br/>
12025 # chkconfig ldap on <xhtml:br/></xhtml:code>
12026 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12027 The openldap-servers RPM is not installed by
12028 default on RHEL5 machines. It is needed only by the OpenLDAP server, not by the clients
12029 which use LDAP for authentication.</xccdf:description>
12030 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.1.a" selected="false" severity="low" weight="10.0">
12031 <xccdf:title>Disable OpenLDAP service</xccdf:title>
12032 <xccdf:description>The ldap service should be disabled.</xccdf:description>
12033 <xccdf:ident system="http://cce.mitre.org">CCE-3501-4</xccdf:ident>
12034 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12035 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12036 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20289"/>
12037 </xccdf:check>
12038 </xccdf:Rule>
12039 </xccdf:Group>
12040 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.2">
12041 <xccdf:title xml:lang="en">Configure Domain-Specific Parameters</xccdf:title>
12042 <xccdf:description xml:lang="en">
12043 Edit the file /etc/openldap/slapd.conf. Add or correct the
12044 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12045 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12046 suffix "dc=example,dc=com " <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12047 rootdn "cn=Manager,dc=example,dc=com "<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12048 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12049 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"/>
12050 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12051 These are
12052 basic LDAP configuration directives. The suffix parameter gives the root name of all
12053 information served by this LDAP server, and should be some name related to your domain.
12054 The rootdn parameter names LDAP's privileged user, who is allowed to read or write all
12055 data managed by this LDAP server.</xccdf:description>
12056 </xccdf:Group>
12057 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.3">
12058 <xccdf:title xml:lang="en">Configure an LDAP Root Password</xccdf:title>
12059 <xccdf:description xml:lang="en">
12060 Ensure that the configuration file has reasonable permissions
12061 before putting the hashed root password in that file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12062 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12063 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/openldap/slapd.conf <xhtml:br/>
12064 # chmod 640 /etc/openldap/slapd.conf <xhtml:br/></xhtml:code>
12065 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12066 Generate a hashed password using the slappasswd utility: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12067 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12068 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># slappasswd <xhtml:br/></xhtml:code>
12069 New password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12070 Re-enter new password: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12071 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12072 This
12073 will output a hashed password string. Edit the file /etc/openldap/slapd.conf, and add or
12074 correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12075 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12076 rootpw {SSHA}hashed-password-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12077 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12078 Be sure to select a secure
12079 password for the LDAP root user, since this user has permission to read and write all
12080 LDAP data, so a compromise of the LDAP root password will probably enable a full
12081 compromise of your site. Protect configuration files containing the hashed password the
12082 same way you would protect other files, such as /etc/shadow, which contain hashed
12083 authentication data. In addition, be sure to use a reasonably strong hash function, such
12084 as SHA-1, rather than an insecure scheme such as crypt.</xccdf:description>
12085 <xccdf:description xml:lang="en">If you are using SHA-1, the hashed password string will begin with “{SHA}” or “{SSHA}”</xccdf:description>
12086 </xccdf:Group>
12087 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4">
12088 <xccdf:title xml:lang="en">Configure the LDAP Server to Require TLS for All Transactions</xccdf:title>
12089 <xccdf:description xml:lang="en">
12090 Because LDAP queries and responses, particularly those
12091 containing authentication information or other sensitive data, must be protected from
12092 disclosure or modification while in transit over the network, this guide recommends
12093 using SSL to protect all transactions. In order to do this, it is necessary to have a
12094 site-wide SSL infrastructure in which a CA certificate is used to verify that other
12095 certificates, such as that presented by the LDAP server to its clients, are authentic.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12096 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12097 Therefore, this procedure involves using the CA system to create a certificate for the
12098 LDAP server, then installing that certificate on the LDAP server and configuring slapd
12099 to require its use. See Section 2.5.6 for details about the process of creating SSL
12100 certificates for use by servers at your site.</xccdf:description>
12101 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.1">
12102 <xccdf:title xml:lang="en">Create the Certificate for the LDAP Server</xccdf:title>
12103 <xccdf:description xml:lang="en">
12104 Note: This step must be performed on the CA system, not on
12105 the LDAP server itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12106 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12107 Change into the CA certificate directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12108 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12109 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/></xhtml:code>
12110 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12111 Generate a key pair for the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12112 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12113 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl genrsa -out ldapserverkey.pem 2048 <xhtml:br/></xhtml:code>
12114 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12115 Next, generate a certificate signing request (CSR) for the CA to sign: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12116 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12117 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key ldapserverkey.pem -out ldapserver.csr <xhtml:br/></xhtml:code>
12118 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12119 Sign the ldapserver.csr request: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12120 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12121 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in ldapserver.csr -out ldapservercert.pem <xhtml:br/></xhtml:code>
12122 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12123 This step creates a private key, ldapserverkey.pem, and a public certificate,
12124 ldapservercert.pem. The LDAP server will use these to prove its identity by
12125 demonstrating that it has a certificate which has been signed by the site CA. LDAP
12126 clients at your site should only be willing to accept authentication data from a
12127 verified LDAP server.</xccdf:description>
12128 </xccdf:Group>
12129 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.2">
12130 <xccdf:title xml:lang="en">Install the Certificate on the LDAP Server</xccdf:title>
12131 <xccdf:description xml:lang="en">
12132 Create the PKI directory for LDAP certificates if it does not
12133 already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12135 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/ldap <xhtml:br/>
12136 # chown root:root /etc/pki/tls/ldap <xhtml:br/>
12137 # chmod 755 /etc/pki/tls/ldap <xhtml:br/></xhtml:code>
12138 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12139 Using removable media or some other secure transmission format,
12140 install the files generated in the previous step onto the LDAP server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12141 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12142 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
12143 <xhtml:li>/etc/pki/tls/ldap/serverkey.pem: the private key ldapserverkey.pem</xhtml:li>
12144 <xhtml:li>/etc/pki/tls/ldap/servercert.pem: the certificate file ldapservercert.pem </xhtml:li>
12145 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12146 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12147 Verify the ownership and permissions of these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12148 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12149 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:ldap /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
12150 # chown root:ldap /etc/pki/tls/ldap/servercert.pem <xhtml:br/>
12151 # chmod 640 /etc/pki/tls/ldap/serverkey.pem <xhtml:br/>
12152 # chmod 640 /etc/pki/tls/ldap/servercert.pem<xhtml:br/></xhtml:code>
12153 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12154 Verify that the CA's public certificate file has been installed as
12155 /etc/pki/tls/CA/cacert.pem, and has the correct permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12156 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12157 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/CA <xhtml:br/>
12158 # chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
12159 # chmod 644 /etc/pki/tls/CA/cacert.pem <xhtml:br/></xhtml:code>
12160 As a
12161 result of these steps, the LDAP server will have access to its own private certificate
12162 and the key with which that certificate is encrypted, and to the public certificate
12163 file belonging to the CA. Note that it would be possible for the key to be protected
12164 further, so that processes running as ldap could not read it. If this were done, the
12165 LDAP server process would need to be restarted manually whenever the server rebooted.</xccdf:description>
12166 </xccdf:Group>
12167 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.4.3">
12168 <xccdf:title xml:lang="en">Configure slapd to Use the Certificates</xccdf:title>
12169 <xccdf:description xml:lang="en">
12170 Edit the file /etc/openldap/slapd.conf. Add or correct the
12171 following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12172 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12173 TLSCACertificateFile /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12174 TLSCertificateFile /etc/pki/tls/ldap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12175 TLSCertificateKeyFile /etc/pki/tls/ldap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12176 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12177 security simple_bind=128 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12178 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12179 The first set of lines tell slapd where to find the
12180 appropriate SSL certificates to present to clients when they request an encrypted
12181 transaction. The last setting tells slapd never to allow clients to present
12182 credentials (i.e. passwords) in an unencrypted session. It is a good security
12183 principle never to allow unencrypted passwords to traverse a network, so ensure that
12184 LDAP mandates this.</xccdf:description>
12185 </xccdf:Group>
12186 </xccdf:Group>
12187 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5">
12188 <xccdf:title xml:lang="en">Install Account Information into the LDAP Database</xccdf:title>
12189 <xccdf:description xml:lang="en">
12190 There are many ways to maintain an OpenLDAP database. Methods
12191 include: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12192 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12193 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
12194 <xhtml:li>Input entries in ldif(5) format into a file /path/to/new entries , and use
12195 slapadd to import those entries while slapd is not running: <xhtml:br/>
12196 <xhtml:br/>
12197 <xhtml:code># slapadd -l /path/to/new_entries </xhtml:code></xhtml:li>
12198 <xhtml:li>Write a script to create and modify LDAP entries by connecting to the LDAP
12199 server normally. The Perl Net::LDAP module is appropriate for this, there is a Python
12200 API called python-ldap, and functionality is likely available for other scripting
12201 languages as well. </xhtml:li>
12202 <xhtml:li>Use an LDAP front-end program which provides an interface for
12203 editing the database. If the front-end program is web-based or otherwise accessible over
12204 a network, ensure that authentication information is protected via SSL between the
12205 administrator's client and the program, as well as between the program and the LDAP
12206 database. </xhtml:li>
12207 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12208 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12209 Any of these methods or others may be appropriate for your site. This guide
12210 does not provide a recommendation, and there will be no further discussion of the syntax
12211 of entering LDAP data into the database.</xccdf:description>
12212 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.1">
12213 <xccdf:title xml:lang="en">Create Top-level LDAP Structure for Domain</xccdf:title>
12214 <xccdf:description xml:lang="en">
12215 Create a structure for the domain itself with at least the
12216 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12217 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12218 dn: dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12219 objectClass: dcObject <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12220 objectClass: organization <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12221 dc: example <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12222 o: Organization Description <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12223 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12224 This is a placeholder for the
12225 root of the domain's LDAP tree. Without this entry, LDAP will not be able to find any
12226 other entries for the domain.</xccdf:description>
12227 </xccdf:Group>
12228 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.2">
12229 <xccdf:title xml:lang="en">Create LDAP Structures for Users and Groups</xccdf:title>
12230 <xccdf:description xml:lang="en">
12231 Create LDAP structures for people (users) and for groups with
12232 at least the following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12233 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12234 dn: ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12235 ou: people<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12236 structuralObjectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12237 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12238 dn: ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12239 ou: groups <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12240 structuralObjectClass: organizationalUnit<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12241 objectClass: organizationalUnit <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12242 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12243 Posix users and groups are the two top-level items
12244 which will be needed in order to use LDAP for authentication. These organizational
12245 units are used to identify the two categories within LDAP.</xccdf:description>
12246 </xccdf:Group>
12247 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.3">
12248 <xccdf:title xml:lang="en">Create Unix Accounts</xccdf:title>
12249 <xccdf:description xml:lang="en">
12250 For each Unix user, create an LDAP entry with at least the
12251 following attributes (others may be appropriate for your site as well), using variable
12252 values appropriate to that user. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12253 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12254 dn: uid=username ,ou=people,dc=example,dc=com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12255 structuralObjectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12256 objectClass: inetOrgPerson <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12257 objectClass: posixAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12258 objectClass: shadowAccount <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12259 cn: fullname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12260 sn: surname <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12261 gecos: fullname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12262 gidNumber: primary-group-id <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12263 homeDirectory: /home/username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12264 loginShell: /path/to/shell<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12265 uid: username <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12266 uidNumber: uid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12267 userPassword: {MD5}md5-hashed-password <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12268 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12269 If your site
12270 implements password expiration in which passwords must be changed every N days (see
12271 Section 2.3.1.7), then each entry should also have the attribute: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12273 shadowMax: N <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12275 In general, the LDAP schemas for users use uid to refer to the text username, and
12276 uidNumber for the numeric UID. This usage may be slightly confusing when compared to
12277 the standard Unix usage. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12278 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12279 You should not create entries for the root account or for
12280 system accounts which are unique to individual systems, but only for user accounts
12281 which are to be shared across machines, and which have authentication information
12282 (such as a password) associated with them.</xccdf:description>
12283 </xccdf:Group>
12284 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.4">
12285 <xccdf:title xml:lang="en">Create Unix Groups</xccdf:title>
12286 <xccdf:description xml:lang="en">
12287 For each Unix group, create an LDAP entry with at least the
12288 following attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12289 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12290 dn: cn=groupname ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12291 cn: groupname<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12292 structuralObjectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12293 objectClass: posixGroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12294 gidNumber: gid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12295 memberUid: username1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12296 memberUid: username2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12297 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12298 memberUid: usernameN <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12299 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12300 Note that each user has a
12301 primary group, identified by the gidNumber field in the user's account entry. That
12302 group must be created, but it is not necessary to list the user as a memberUid of the
12303 group. This behavior should be familiar to administrators, since it is identical to
12304 the handling of the /etc/passwd and /etc/group files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12306 Do not create entries for the
12307 root group or for system groups, but only for groups which contain human users or
12308 which are shared across systems.</xccdf:description>
12309 </xccdf:Group>
12310 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.5.5">
12311 <xccdf:title xml:lang="en">Create Groups to Administer LDAP</xccdf:title>
12312 <xccdf:description xml:lang="en">
12313 If a group of LDAP administrators, admins , is desired, that
12314 group must be created somewhat differently. The specification should have these
12315 attributes: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12316 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12317 dn: cn=admins ,ou=groups,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12318 cn: admins<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12319 structuralObjectClass: groupOfUniqueNames <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12320 objectClass: groupOfUniqueNames<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12321 uniqueMember: cn=Manager,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12322 uniqueMember: uid=admin1-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12323 uniqueMember: uid=admin2-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12324 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12325 uniqueMember: uid=adminN-username ,ou=people,dc=example,dc=com <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12326 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12327 LDAP cannot use Posix groups for its own internal
12328 authentication — it needs to compare the username specified in an authenticated bind
12329 to some internal groupOfUniqueNames. If you do not specify an LDAP administrators'
12330 group, then all LDAP management will need to be done using the LDAP root user
12331 (Manager). For reasons of auditing and error detection, it is recommended that LDAP
12332 administrators have unique identities. (See Section 2.3.1.3 for similar reasoning
12333 applied to the use of sudo for privileged system commands.)</xccdf:description>
12334 </xccdf:Group>
12335 </xccdf:Group>
12336 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.6">
12337 <xccdf:title xml:lang="en">Configure slapd to Protect Authentication Information</xccdf:title>
12338 <xccdf:description xml:lang="en">
12339 Edit the file /etc/openldap/slapd.conf. Add or correct the
12340 following access specifications: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12342 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
12343 <xhtml:li>Protect the user's password by allowing the user
12344 himself or the LDAP administrators to change it, allowing the anonymous user to
12345 authenticate against it, and allowing no other access: <xhtml:br/>
12346 <xhtml:br/>
12347 access to attrs=userPassword <xhtml:br/>
12348 by self write <xhtml:br/>
12349 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
12350 by anonymous auth <xhtml:br/>
12351 by * none <xhtml:br/>
12352 access to attrs=shadowLastChange <xhtml:br/>
12353 by self write <xhtml:br/>
12354 by group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
12355 by * read</xhtml:li>
12356 <xhtml:li>Allow anyone to read other
12357 information, and allow the administrators to change it: <xhtml:br/>
12358 <xhtml:br/>
12359 access to * by<xhtml:br/>
12360 group/groupOfUniqueNames/uniqueMember="cn=admins ,ou=groups,dc=example,dc=com " write <xhtml:br/>
12361 by * read </xhtml:li>
12362 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12363 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12364 Access rules are applied in the order encountered, so more specific rules should
12365 appear first. In particular, the rule restricting access to userPassword must appear
12366 before the rule allowing access to all data. The shadowLastChange attribute is a
12367 timestamp, and is only critical if your site implements password expiration. If your
12368 site does not have an LDAP administrators group, the LDAP root user (called Manager in
12369 this guide) will be able to change data without an explicit access statement.</xccdf:description>
12370 </xccdf:Group>
12371 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.7">
12372 <xccdf:title xml:lang="en">Correct Permissions on LDAP Server Files</xccdf:title>
12373 <xccdf:description xml:lang="en">
12374 Correct the permissions on the ldap server's files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12375 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12376 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown ldap:root /var/lib/ldap/* <xhtml:br/></xhtml:code>
12377 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12378 Some manual methods of inserting information into the LDAP
12379 database may leave these files with incorrect permissions. This will prevent slapd from
12380 starting correctly.</xccdf:description>
12381 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.a" operator="equals" type="string">
12382 <xccdf:title>group owner of ldap files</xccdf:title>
12383 <xccdf:description xml:lang="en">Specify group owner of /var/lib/ldap/*.</xccdf:description>
12384 <xccdf:question xml:lang="en">Specify group owner of /var/lib/ldap/*</xccdf:question>
12385 <xccdf:value>root</xccdf:value>
12386 <xccdf:value selector="root">root</xccdf:value>
12387 </xccdf:Value>
12388 <xccdf:Value id="xccdf_cdf_value_var-3.12.3.7.b" operator="equals" type="string">
12389 <xccdf:title>user owner of ldap files</xccdf:title>
12390 <xccdf:description xml:lang="en">Specify user owner of /var/lib/ldap/*.</xccdf:description>
12391 <xccdf:question xml:lang="en">Specify user owner of /var/lib/ldap/*</xccdf:question>
12392 <xccdf:value>ldap</xccdf:value>
12393 <xccdf:value selector="ldap">ldap</xccdf:value>
12394 </xccdf:Value>
12395 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.a" selected="false" weight="10.0">
12396 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
12397 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate group.</xccdf:description>
12398 <xccdf:ident system="http://cce.mitre.org">CCE-4484-2</xccdf:ident>
12399 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12400 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12401 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20290" value-id="xccdf_cdf_value_var-3.12.3.7.a"/>
12402 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20290"/>
12403 </xccdf:check>
12404 </xccdf:Rule>
12405 <xccdf:Rule id="xccdf_cdf_rule_rule-3.12.3.7.b" selected="false" weight="10.0">
12406 <xccdf:title>Correct Permissions on LDAP Server Files</xccdf:title>
12407 <xccdf:description>The /var/lib/ldap/* files should be owned by the appropriate user.</xccdf:description>
12408 <xccdf:ident system="http://cce.mitre.org">CCE-4502-1</xccdf:ident>
12409 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
12410 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12411 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20291" value-id="xccdf_cdf_value_var-3.12.3.7.b"/>
12412 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20291"/>
12413 </xccdf:check>
12414 </xccdf:Rule>
12415 </xccdf:Group>
12416 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.8">
12417 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the LDAP Server</xccdf:title>
12418 <xccdf:description xml:lang="en">
12419 Determine an appropriate network block, netwk , and network
12420 mask, mask , representing the machines on your network which will synchronize to this
12421 server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12422 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12423 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that they appear
12424 before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12425 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12426 -A RH-Firewall-1-INPUT -s netwk /mask -m state --state NEW -p tcp --dport 389 -j ACCEPT <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12427 -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"/>
12428 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12429 The default Iptables configuration does not allow inbound access to any services. These
12430 modifications allow access to the LDAP primary (389) and encrypted-only (636) ports,
12431 while keeping all other ports on the server in their default protected state. See
12432 Section 2.5.5 for more information about Iptables. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12433 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12434 Note: Even if the LDAP server
12435 restricts connections so that only encrypted queries are allowed, it will probably be
12436 necessary to allow traffic to the default port 389. This is true because many LDAP
12437 clients implement encryption by connecting to the primary port and issuing the STARTTLS
12438 command.</xccdf:description>
12439 </xccdf:Group>
12440 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.12.3.9">
12441 <xccdf:title xml:lang="en">Configure Logging for LDAP</xccdf:title>
12442 <xccdf:description xml:lang="en">
12443 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
12444 <xhtml:li>Edit the file /etc/syslog.conf. Add or correct the following line: <xhtml:br/>
12445 <xhtml:br/>
12446 local4.* /var/log/ldap.log </xhtml:li>
12447 <xhtml:li>Create the log file with safe permissions: <xhtml:br/>
12448 <xhtml:br/>
12449 <xhtml:code># touch /var/log/ldap.log <xhtml:br/>
12450 # chown root:root /var/log/ldap.log <xhtml:br/>
12451 # chmod 0600 /var/log/ldap.log </xhtml:code></xhtml:li>
12452 <xhtml:li>Edit the file /etc/logrotate.d/syslog and add the pathname <xhtml:br/>
12453 <xhtml:br/>
12454 /var/log/ldap.log <xhtml:br/>
12455 <xhtml:br/>
12456 to the space-separated list in the first line. </xhtml:li>
12457 <xhtml:li>Edit the LDAP configuration file
12458 /etc/openldap/slapd.conf and set a reasonable set of default log parameters, such as:<xhtml:br/>
12459 <xhtml:br/>
12460 loglevel stats2 </xhtml:li>
12461 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12462 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12463 OpenLDAP sends its log data to the syslog facility local4 at priority
12464 debug. By default, RHEL5 does not store this facility at all. The syslog configuration
12465 suggested here will store any output logged by slapd in the file /var/log/ldap.log, and
12466 will include that file in the standard log rotation for syslog files. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12467 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12468 By default, LDAP's
12469 logging is quite verbose. The loglevel parameter is a space-separated list of items to
12470 be logged. Specifying stats2 will reduce the log output somewhat, but this level will
12471 still produce some logging every time an LDAP query is made. (This may be appropriate,
12472 depending on your site's auditing requirements.) In order to capture only slapd startup
12473 messages, specify loglevel none. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12474 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12475 See slapd.conf(5) for detailed information about the
12476 loglevel parameter. See Section 2.6.1 for more information about syslog.</xccdf:description>
12477 </xccdf:Group>
12478 </xccdf:Group>
12479 </xccdf:Group>
12480 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13">
12481 <xccdf:title xml:lang="en">NFS and RPC</xccdf:title>
12482 <xccdf:description xml:lang="en">
12483 The Network File System is the most popular distributed filesystem
12484 for the Unix environment, and is very widely deployed. Unfortunately, NFS was not designed
12485 with security in mind, and has a number of weaknesses, both in terms of the protocol itself
12486 and because any NFS installation must expose several daemons, running on both servers and
12487 clients, to network attack. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12488 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12489 This section discusses the circumstances under which it is
12490 possible to disable NFS and its dependencies, and then details steps which should be taken
12491 to secure, as much as possible, NFS's configuration. This section is relevant to machines
12492 operating as NFS clients, as well as to those operating as NFS servers.</xccdf:description>
12493 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1">
12494 <xccdf:title xml:lang="en">Disable All NFS Services if Possible</xccdf:title>
12495 <xccdf:description xml:lang="en">
12496 Is there a mission-critical reason for this machine to operate as
12497 either an NFS client or an NFS server? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12498 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12499 If not, follow all instructions in the remainder of
12500 Section 3.13.1 to disable subsystems required by NFS. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12501 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12502 NFS is a commonly used mechanism for
12503 sharing data between machines in an organization. However, its use opens many potential
12504 security holes. If NFS is not universally needed in your organization, improve the
12505 security posture of any machine which does not require NFS by disabling it entirely.</xccdf:description>
12506 <xccdf:warning xml:lang="en">The steps in Section 3.13.1 will prevent a machine from operating
12507 as either an NFS client or an NFS server. Only perform these steps on machines which do
12508 not need NFS at all. </xccdf:warning>
12509 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.1">
12510 <xccdf:title xml:lang="en">Disable Services Used Only by NFS</xccdf:title>
12511 <xccdf:description xml:lang="en">
12512 If NFS is not needed, perform the following steps to disable
12513 NFS client daemons: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12514 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfslock off <xhtml:br/>
12515 # chkconfig rpcgssd off <xhtml:br/>
12516 # chkconfig rpcidmapd off <xhtml:br/></xhtml:code>
12517 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12518 The nfslock, rpcgssd, and rpcidmapd daemons all perform NFS client functions. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12519 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12520 All of these daemons run with elevated privileges, and many listen for
12521 network connections. If they are not needed, they should be disabled to improve system
12522 security posture.</xccdf:description>
12523 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.a" selected="false" severity="low" weight="10.0">
12524 <xccdf:title>Disable nfslock</xccdf:title>
12525 <xccdf:description>The nfslock service should be disabled.</xccdf:description>
12526 <xccdf:ident system="http://cce.mitre.org">CCE-4396-8</xccdf:ident>
12527 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12528 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12529 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20292"/>
12530 </xccdf:check>
12531 </xccdf:Rule>
12532 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.b" selected="false" severity="low" weight="10.0">
12533 <xccdf:title>Disable rpcgssd</xccdf:title>
12534 <xccdf:description>The rpcgssd service should be disabled.</xccdf:description>
12535 <xccdf:ident system="http://cce.mitre.org">CCE-3535-2</xccdf:ident>
12536 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12537 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12538 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20293"/>
12539 </xccdf:check>
12540 </xccdf:Rule>
12541 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.1.c" selected="false" severity="low" weight="10.0">
12542 <xccdf:title>Disable rpcidmapd</xccdf:title>
12543 <xccdf:description>The rpcidmapd service should be disabled.</xccdf:description>
12544 <xccdf:ident system="http://cce.mitre.org">CCE-3568-3</xccdf:ident>
12545 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12546 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12547 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20294"/>
12548 </xccdf:check>
12549 </xccdf:Rule>
12550 </xccdf:Group>
12551 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.2">
12552 <xccdf:title xml:lang="en">Disable netfs if Possible</xccdf:title>
12553 <xccdf:description xml:lang="en">
12554 Determine whether any network filesystems handled by netfs are
12555 mounted on this system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12556 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12557 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mount -t nfs,nfs4,smbfs,cifs,ncpfs <xhtml:br/></xhtml:code>
12558 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12559 If this command returns no output, disable netfs to improve system security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12560 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12561 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig netfs off <xhtml:br/></xhtml:code>
12562 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12563 The netfs script
12564 manages the boot-time mounting of several types of networked filesystems, of which NFS
12565 and Samba (see Section 3.18) are the most common. If these filesystem types are not in
12566 use, the script can be disabled, protecting the system somewhat against accidental or
12567 malicious changes to /etc/fstab and against flaws in the netfs script itself.</xccdf:description>
12568 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.2.a" selected="false" severity="low" weight="10.0">
12569 <xccdf:title>Disable netfs if Possible</xccdf:title>
12570 <xccdf:description>The netfs service should be disabled.</xccdf:description>
12571 <xccdf:ident system="http://cce.mitre.org">CCE-4533-6</xccdf:ident>
12572 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12573 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12574 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20295"/>
12575 </xccdf:check>
12576 </xccdf:Rule>
12577 </xccdf:Group>
12578 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.1.3">
12579 <xccdf:title xml:lang="en">Disable RPC Portmapper if Possible</xccdf:title>
12580 <xccdf:description xml:lang="en">
12581 If: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12582 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12583 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
12584 <xhtml:li>NFS is not needed </xhtml:li>
12585 <xhtml:li>The site does not rely on NIS for authentication information, and </xhtml:li>
12586 <xhtml:li>The machine does not run any other RPC-based service</xhtml:li>
12587 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12588 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12589 then disable the RPC portmapper service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12590 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12591 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig portmap off <xhtml:br/></xhtml:code>
12592 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12593 By design, the RPC
12594 model does not require particular services to listen on fixed ports, but instead uses a
12595 daemon, portmap, to tell prospective clients which ports to use to contact the services
12596 they are trying to reach. This model weakens system security by introducing another
12597 privileged daemon which may be directly attacked, and is unnecessary because RPC was
12598 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"/>
12599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12600 Unfortunately, the portmapper is central to RPC design, so it cannot be disabled if your
12601 site is using any RPCbased services, including NFS, NIS (see Section 3.2.4 for
12602 information about NIS, which is not recommended), or any third-party or custom RPC-based
12603 program. If none of these programs are in use, however, portmap should be disabled to
12604 improve system security. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12605 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12606 In order to get more information about whether portmap may be
12607 disabled on a given host, query the local portmapper using the command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12609 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># rpcinfo -p <xhtml:br/></xhtml:code>
12610 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12611 If the only services listed are portmapper and status, it is safe to disable the
12612 portmapper. If other services are listed and your site is not running NFS or NIS,
12613 investigate these services and disable them if possible.</xccdf:description>
12614 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.1.3.a" selected="false" severity="low" weight="10.0">
12615 <xccdf:title>Disable RPC Portmapper if Possible</xccdf:title>
12616 <xccdf:description>The portmap service should be disabled.</xccdf:description>
12617 <xccdf:ident system="http://cce.mitre.org">CCE-4550-0</xccdf:ident>
12618 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12619 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12620 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20296"/>
12621 </xccdf:check>
12622 </xccdf:Rule>
12623 </xccdf:Group>
12624 </xccdf:Group>
12625 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2">
12626 <xccdf:title xml:lang="en">Configure All Machines which Use NFS</xccdf:title>
12627 <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>
12628 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.1">
12629 <xccdf:title xml:lang="en">Make Each Machine a Client or a Server, not Both</xccdf:title>
12630 <xccdf:description xml:lang="en">
12631 If NFS must be used, it should be deployed in the simplest
12632 configuration possible to avoid maintainability problems which may lead to unnecessary
12633 security exposure. Due to the reliability and security problems caused by NFS, it is not
12634 a good idea for machines which act as NFS servers to also mount filesystems via NFS. At
12635 the least, crossed mounts (the situation in which each of two servers mounts a
12636 filesystem from the other) should never be used.</xccdf:description>
12637 </xccdf:Group>
12638 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.2">
12639 <xccdf:title xml:lang="en">Restrict Access to the Portmapper</xccdf:title>
12640 <xccdf:description xml:lang="en">
12641 Edit the file /etc/hosts.deny. Add or correct the line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12642 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12643 portmap: ALL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12644 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12645 Edit the file /etc/hosts.allow. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12646 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12647 portmap: IPADDR1 , IPADDR2 , ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12648 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12649 where each IPADDR is the IP address of a server or client with which this
12650 machine shares NFS filesystems. If the machine is an NFS server, it may be simpler to
12651 use an IP netblock specification, such as 10.3.2. (this is the TCP Wrappers syntax
12652 representing the netblock 10.3.2.0/24), or a hostname specification, such as
12653 .subdomain.example.com. The use of hostnames is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12654 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12655 The /etc/hosts.allow
12656 and /etc/hosts.deny files are used by TCP Wrappers to determine whether specified remote
12657 hosts are allowed to access certain services. The default portmapper shipped with RHEL5
12658 has TCP Wrappers support built in, so this specification can be used to provide some
12659 protection against network attacks on the portmapper. (See Section 2.5.4 for more
12660 information about TCP Wrappers.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12661 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12662 Note: This step protects only the portmap service
12663 itself. It is still possible for attackers to guess the port numbers of NFS services and
12664 attack those services directly, even if they are denied access to the portmapper.</xccdf:description>
12665 </xccdf:Group>
12666 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.2.3">
12667 <xccdf:title xml:lang="en">Configure NFS Services to Use Fixed Ports</xccdf:title>
12668 <xccdf:description xml:lang="en">
12669 Edit the file /etc/sysconfig/nfs. Add or correct the following
12670 lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12672 LOCKD_TCPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12673 LOCKD_UDPPORT=lockd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12674 MOUNTD_PORT=mountd-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12675 RQUOTAD_PORT=rquotad-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12676 STATD_PORT=statd-port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12677 STATD_OUTGOING_PORT=statd-outgoing-port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12678 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12679 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"/>
12680 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12681 Firewalling should be done at each host and at the border firewalls to protect the NFS
12682 daemons from remote access, since NFS servers should never be accessible from outside
12683 the organization. However, by default, the portmapper assigns each NFS service to a port
12684 dynamically at service startup time. Dynamic ports cannot be protected by port filtering
12685 firewalls such as iptables (Section 2.5.5). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12686 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12687 Therefore, restrict each service to always
12688 use a given port, so that firewalling can be done effectively. Note that, because of the
12689 way RPC is implemented, it is not possible to disable the portmapper even if ports are
12690 assigned statically to all RPC services.</xccdf:description>
12691 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.a" selected="false" weight="10.0">
12692 <xccdf:title>Configure lockd to Use Fixed Ports for TCP</xccdf:title>
12693 <xccdf:description>The lockd service should be configured to use a static port for TCP</xccdf:description>
12694 <xccdf:ident system="http://cce.mitre.org">CCE-4559-1</xccdf:ident>
12695 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12696 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12697 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20297"/>
12698 </xccdf:check>
12699 </xccdf:Rule>
12700 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.b" selected="false" weight="10.0">
12701 <xccdf:title>Configure statd to Use an outgoing static port</xccdf:title>
12702 <xccdf:description>The statd service should be configured to use an outgoing static port</xccdf:description>
12703 <xccdf:ident system="http://cce.mitre.org">CCE-4015-4</xccdf:ident>
12704 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12705 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12706 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20298"/>
12707 </xccdf:check>
12708 </xccdf:Rule>
12709 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.c" selected="false" weight="10.0">
12710 <xccdf:title>Configure statd to Use a static port</xccdf:title>
12711 <xccdf:description>The statd service should be configured to use a static port</xccdf:description>
12712 <xccdf:ident system="http://cce.mitre.org">CCE-3667-3</xccdf:ident>
12713 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12714 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12715 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20299"/>
12716 </xccdf:check>
12717 </xccdf:Rule>
12718 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.d" selected="false" weight="10.0">
12719 <xccdf:title>Configure lockd to Use a static port for UDP</xccdf:title>
12720 <xccdf:description>The lockd service should be configured to use a static port for UDP</xccdf:description>
12721 <xccdf:ident system="http://cce.mitre.org">CCE-4310-9</xccdf:ident>
12722 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12723 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12724 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20300"/>
12725 </xccdf:check>
12726 </xccdf:Rule>
12727 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.e" selected="false" weight="10.0">
12728 <xccdf:title>Configure mountd to Use a static port</xccdf:title>
12729 <xccdf:description>The mountd service should be configured to use a static port</xccdf:description>
12730 <xccdf:ident system="http://cce.mitre.org">CCE-4438-8</xccdf:ident>
12731 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12732 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12733 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20301"/>
12734 </xccdf:check>
12735 </xccdf:Rule>
12736 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.2.3.f" selected="false" weight="10.0">
12737 <xccdf:title>Configure rquotad to Use Fixed Ports</xccdf:title>
12738 <xccdf:description>The rquotad service should be configured to use a static port</xccdf:description>
12739 <xccdf:ident system="http://cce.mitre.org">CCE-3579-0</xccdf:ident>
12740 <xccdf:fixtext>(1) via /etc/sysconfig/nfs</xccdf:fixtext>
12741 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12742 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20302"/>
12743 </xccdf:check>
12744 </xccdf:Rule>
12745 </xccdf:Group>
12746 </xccdf:Group>
12747 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3">
12748 <xccdf:title xml:lang="en">Configure NFS Clients</xccdf:title>
12749 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS clients.</xccdf:description>
12750 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.1">
12751 <xccdf:title xml:lang="en">Disable NFS Server Daemons</xccdf:title>
12752 <xccdf:description xml:lang="en">
12753 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig nfs off <xhtml:br/>
12754 # chkconfig rpcsvcgssd off <xhtml:br/></xhtml:code>
12755 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12756 There is no need
12757 to run the NFS server daemons except on a small number of properly secured machines
12758 designated as NFS servers. Ensure that these daemons are turned off on clients.</xccdf:description>
12759 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.a" selected="false" severity="low" weight="10.0">
12760 <xccdf:title>Disable nfs service</xccdf:title>
12761 <xccdf:description>The nfs service should be disabled</xccdf:description>
12762 <xccdf:ident system="http://cce.mitre.org">CCE-4473-5</xccdf:ident>
12763 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12764 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12765 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20303"/>
12766 </xccdf:check>
12767 </xccdf:Rule>
12768 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.1.b" selected="false" severity="low" weight="10.0">
12769 <xccdf:title>Disable rpcsvcgssd service</xccdf:title>
12770 <xccdf:description>The rpcsvcgssd service should be disabled</xccdf:description>
12771 <xccdf:ident system="http://cce.mitre.org">CCE-4491-7</xccdf:ident>
12772 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12773 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12774 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20304"/>
12775 </xccdf:check>
12776 </xccdf:Rule>
12777 </xccdf:Group>
12778 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.3.2">
12779 <xccdf:title xml:lang="en">Mount Remote Filesystems with Restrictive Options</xccdf:title>
12780 <xccdf:description xml:lang="en">
12781 Edit the file /etc/fstab. For each filesystem whose type
12782 (column 3) is nfs or nfs4, add the text ,nodev,nosuid to the list of mount options in
12783 column 4. If appropriate, also add ,noexec. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12784 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12785 See Section 2.2.1.2 for a description of the
12786 effects of these options. In general, execution of files mounted via NFS should be
12787 considered risky because of the possibility that an adversary could intercept the
12788 request and substitute a malicious file. Allowing setuid files to be executed from
12789 remote servers is particularly risky, both for this reason and because it requires the
12790 clients to extend root-level trust to the NFS server.</xccdf:description>
12791 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.a" selected="false" weight="10.0">
12792 <xccdf:title>Mount Remote Filesystems with nodev</xccdf:title>
12793 <xccdf:description>The nodev option should be enabled for all NFS mounts</xccdf:description>
12794 <xccdf:ident system="http://cce.mitre.org">CCE-4368-7</xccdf:ident>
12795 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12796 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12797 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20305"/>
12798 </xccdf:check>
12799 </xccdf:Rule>
12800 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.b" selected="false" severity="medium" weight="10.0">
12801 <xccdf:title>Mount Remote Filesystems with nosuid</xccdf:title>
12802 <xccdf:description>The nosuid option should be enabled for all NFS mounts</xccdf:description>
12803 <xccdf:ident system="http://cce.mitre.org">CCE-4024-6</xccdf:ident>
12804 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12805 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12806 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20306"/>
12807 </xccdf:check>
12808 </xccdf:Rule>
12809 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.3.2.c" selected="false" severity="medium" weight="10.0">
12810 <xccdf:title>Mount Remote Filesystems with noexec</xccdf:title>
12811 <xccdf:description>The noexec option should be enabled for all NFS mounts</xccdf:description>
12812 <xccdf:ident system="http://cce.mitre.org">CCE-4526-0</xccdf:ident>
12813 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
12814 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12815 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20307"/>
12816 </xccdf:check>
12817 </xccdf:Rule>
12818 </xccdf:Group>
12819 </xccdf:Group>
12820 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4">
12821 <xccdf:title xml:lang="en">Configure NFS Servers</xccdf:title>
12822 <xccdf:description xml:lang="en">The steps in this section are appropriate for machines which operate as NFS servers.</xccdf:description>
12823 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1">
12824 <xccdf:title xml:lang="en">Configure the Exports File Restrictively</xccdf:title>
12825 <xccdf:description xml:lang="en">
12826 Linux's NFS implementation uses the file /etc/exports to
12827 control what filesystems and directories may be accessed via NFS. (See the exports(5)
12828 manpage for more information about the format of this file.) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12829 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12830 The syntax of the exports
12831 file is not necessarily checked fully on reload, and syntax errors can leave your NFS
12832 configuration more open than intended. Therefore, exercise caution when modifying the
12833 file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12834 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12835 The syntax of each line in /etc/exports is <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12836 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12837 /DIR ipaddr1 (opt1 ,opt2 ) ipaddr2 (opt3 ) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12838 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12839 where /DIR is a directory or filesystem to export, ipaddrN is an IP address,
12840 netblock, hostname, domain, or netgroup to which to export, and optN is an option.</xccdf:description>
12841 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.1">
12842 <xccdf:title xml:lang="en">Use Access Lists to Enforce Authorization Restrictions on Mounts</xccdf:title>
12843 <xccdf:description xml:lang="en">
12844 Edit /etc/exports. Ensure that each export line contains a
12845 set of IP addresses or hosts which are allowed to access that export. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12846 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12847 If no IP
12848 addresses or hostnames are specified on an export line, then that export is available
12849 to any remote host which requests it. All lines of the exports file should specify the
12850 hosts (or subnets, if needed) which are allowed to access the exported directory, so
12851 that unknown or remote hosts will be denied.</xccdf:description>
12852 </xccdf:Group>
12853 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.2">
12854 <xccdf:title xml:lang="en">Use Root-Squashing on All Exports</xccdf:title>
12855 <xccdf:description xml:lang="en">
12856 Edit /etc/exports. Ensure that no line contains the option no_root_squash. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12857 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12858 If a filesystem is exported using root squashing, requests from root on
12859 the client are considered to be unprivileged (mapped to a user such as nobody). This
12860 provides some mild protection against remote abuse of an NFS server. Root squashing is
12861 enabled by default, and should not be disabled.</xccdf:description>
12862 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.2.a" selected="false" weight="10.0">
12863 <xccdf:title>Use Root-Squashing on All Exports</xccdf:title>
12864 <xccdf:description>Root squashing should be enabled for all NFS shares</xccdf:description>
12865 <xccdf:ident system="http://cce.mitre.org">CCE-4544-3</xccdf:ident>
12866 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12867 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12868 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20308"/>
12869 </xccdf:check>
12870 </xccdf:Rule>
12871 </xccdf:Group>
12872 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.3">
12873 <xccdf:title xml:lang="en">Restrict NFS Clients to Privileged Ports</xccdf:title>
12874 <xccdf:description xml:lang="en">
12875 Edit /etc/exports. Ensure that no line contains the option insecure. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12876 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12877 By default, Linux's NFS implementation requires that all client requests be
12878 made from ports less than 1024. If your organization has control over machines
12879 connected to its network, and if NFS requests are prohibited at the border firewall,
12880 this offers some protection against malicious requests from unprivileged users.
12881 Therefore, the default should not be changed.</xccdf:description>
12882 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.3.a" selected="false" weight="10.0">
12883 <xccdf:title>Restrict NFS Clients to Privileged Ports</xccdf:title>
12884 <xccdf:description>Restriction of NFS clients to privileged ports should be enabled</xccdf:description>
12885 <xccdf:ident system="http://cce.mitre.org">CCE-4465-1</xccdf:ident>
12886 <xccdf:fixtext>(1) via /etc/exports</xccdf:fixtext>
12887 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12888 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20309"/>
12889 </xccdf:check>
12890 </xccdf:Rule>
12891 </xccdf:Group>
12892 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.1.4">
12893 <xccdf:title xml:lang="en">Export Filesystems Read-Only if Possible</xccdf:title>
12894 <xccdf:description xml:lang="en">
12895 Edit /etc/exports. Ensure that every line contains the option
12896 ro and does not contain the option rw, unless there is an operational need for remote
12897 clients to modify that filesystem. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12899 If a filesystem is being exported so that users can
12900 view the files in a convenient fashion, but there is no need for users to edit those
12901 files, exporting the filesystem read-only removes an attack vector against the server.
12902 The default filesystem export mode is ro, so do not specify rw without a good reason.</xccdf:description>
12903 <xccdf:Rule id="xccdf_cdf_rule_rule-3.13.4.1.4.a" selected="false" weight="10.0">
12904 <xccdf:title>Export Filesystems Read-Only if Possible</xccdf:title>
12905 <xccdf:description>Write access to NFS shares should be disabled</xccdf:description>
12906 <xccdf:ident system="http://cce.mitre.org">CCE-4350-5</xccdf:ident>
12907 <xccdf:fixtext>(1) via /etc/exports</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:20310"/>
12910 </xccdf:check>
12911 </xccdf:Rule>
12912 </xccdf:Group>
12913 </xccdf:Group>
12914 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.13.4.2">
12915 <xccdf:title xml:lang="en">Allow Legitimate NFS Clients to Access the Server</xccdf:title>
12916 <xccdf:description xml:lang="en">
12917 Determine an appropriate network block, netwk , and network
12918 mask, mask , representing the machines on your network which must mount NFS filesystems
12919 from this server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12920 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12921 Edit /etc/sysconfig/iptables. Add the following lines, ensuring that
12922 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"/>
12923 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12924 -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"/>
12925 -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"/>
12926 -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"/>
12927 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12928 -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"/>
12929 -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"/>
12930 -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"/>
12931 -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"/>
12932 -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"/>
12933 -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"/>
12934 -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"/>
12935 -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"/>
12936 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12937 where the variable port numbers match those selected in Section 3.13.2.3 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12938 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12939 The default iptables configuration does not allow inbound access to any services. This
12940 modification will allow the specified block of remote hosts to initiate connections to
12941 the set of NFS daemons, while keeping all other ports on the server in their default
12942 protected state. See Section 2.5.5 for more information about iptables.</xccdf:description>
12943 </xccdf:Group>
12944 </xccdf:Group>
12945 </xccdf:Group>
12946 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14">
12947 <xccdf:title xml:lang="en">DNS Server</xccdf:title>
12948 <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>
12949 <xccdf:reference>Liu, C. DNS &amp; BIND Cookbook. O’Reilly and Associates, Oct 2002</xccdf:reference>
12950 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.1">
12951 <xccdf:title xml:lang="en">Disable DNS Server if Possible</xccdf:title>
12952 <xccdf:description xml:lang="en">
12953 Is there an operational need for this machine to act as a DNS
12954 server for this site? <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12955 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12956 If not, disable the software and remove it from the system: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12957 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12958 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig named off <xhtml:br/>
12959 # yum erase bind <xhtml:br/></xhtml:code>
12960 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
12961 DNS software should be disabled on any machine which
12962 does not need to be a nameserver. Note that the BIND DNS server software is not installed
12963 on RHEL5 by default. The remainder of this section discusses secure configuration of
12964 machines which must be nameservers.</xccdf:description>
12965 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.a" selected="false" severity="low" weight="10.0">
12966 <xccdf:title>Disable DNS Server if Possible</xccdf:title>
12967 <xccdf:description>The named service should be disabled.</xccdf:description>
12968 <xccdf:ident system="http://cce.mitre.org">CCE-3578-2</xccdf:ident>
12969 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
12970 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12971 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20311"/>
12972 </xccdf:check>
12973 </xccdf:Rule>
12974 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.1.b" selected="false" weight="10.0">
12975 <xccdf:title>Uninstall bind if Possible</xccdf:title>
12976 <xccdf:description>The bind package should be uninstalled.</xccdf:description>
12977 <xccdf:ident system="http://cce.mitre.org">CCE-4219-2</xccdf:ident>
12978 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
12979 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
12980 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20312"/>
12981 </xccdf:check>
12982 </xccdf:Rule>
12983 </xccdf:Group>
12984 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.2">
12985 <xccdf:title xml:lang="en">Run the BIND9 Software if DNS Service is Needed</xccdf:title>
12986 <xccdf:description xml:lang="en">
12987 It is highly recommended that the BIND9 software be used to
12988 provide DNS service. BIND is the Internet standard Unix nameserver, and, while it has had
12989 security problems in the past, it is also well-maintained and Red Hat is likely to quickly
12990 issue updates in response to any problems discovered in the future. In addition, BIND
12991 version 9 has new security features and more secure default settings than earlier
12992 versions. In particular, BIND version 4 is no longer recommended for production use, and
12993 BIND4 servers should be upgraded to a newer version as soon as possible.</xccdf:description>
12994 </xccdf:Group>
12995 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3">
12996 <xccdf:title xml:lang="en">Isolate DNS from Other Services</xccdf:title>
12997 <xccdf:description xml:lang="en">
12998 This section discusses mechanisms for preventing the DNS server
12999 from interfering with other services. This is done both to protect the remainder of the
13000 network should a nameserver be compromised, and to make direct attacks on nameservers more
13001 difficult.</xccdf:description>
13002 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.1">
13003 <xccdf:title xml:lang="en">Run DNS Software on Dedicated Servers if Possible</xccdf:title>
13004 <xccdf:description xml:lang="en">
13005 Since DNS is a high-risk service which must frequently be made
13006 available to the entire Internet, it is strongly recommended that no other services be
13007 offered by machines which act as organizational DNS servers.</xccdf:description>
13008 </xccdf:Group>
13009 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.2">
13010 <xccdf:title xml:lang="en">Run DNS Software in a chroot Jail</xccdf:title>
13011 <xccdf:description xml:lang="en">
13012 Install the bind-chroot package: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13013 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13014 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install bind-chroot<xhtml:br/></xhtml:code>
13015 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13016 Place a valid named.conf file inside the chroot jail: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13017 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp /etc/named.conf /var/named/chroot/etc/named.conf <xhtml:br/>
13018 # chown root:root /var/named/chroot/etc/named.conf <xhtml:br/>
13019 # chmod 644 /var/named/chroot/etc/named.conf <xhtml:br/></xhtml:code>
13020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13021 Create and populate an appropriate zone
13022 directory within the jail, based on the options directive. If your named.conf includes:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13023 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13024 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13025 directory "/path/to/DIRNAME "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13026 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13027 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13028 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13029 then copy that directory and its contents from the original zone directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13031 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cp -r /path/to/DIRNAME /var/named/chroot/DIRNAME<xhtml:br/></xhtml:code>
13032 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13033 Edit the file /etc/sysconfig/named. Add or correct the line: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13034 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13035 ROOTDIR=/var/named/chroot<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13037 Chroot jails are not foolproof. However, they serve to make it more difficult for a
13038 compromised program to be used to attack the entire host. They do this by restricting a
13039 program's ability to traverse the directory upward, so that files outside the jail are
13040 not visible to the chrooted process. Since RHEL5 supports a standard mechanism for
13041 placing BIND in a chroot jail, you should take advantage of this feature. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13042 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13043 Note: If you
13044 are running BIND in a chroot jail, then you should use the jailed named.conf as the
13045 primary nameserver configuration file. That is, when this guide recommends editing
13046 /etc/named.conf, you should instead edit /var/named/chroot/etc/named.conf.</xccdf:description>
13047 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.a" operator="equals" type="string">
13048 <xccdf:title>group owner of jail</xccdf:title>
13049 <xccdf:description xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:description>
13050 <xccdf:question xml:lang="en">Specify group owner of /var/named/chroot/etc/named.conf</xccdf:question>
13051 <xccdf:value>root</xccdf:value>
13052 <xccdf:value selector="root">root</xccdf:value>
13053 </xccdf:Value>
13054 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.b" operator="equals" type="string">
13055 <xccdf:title>user owner of jail</xccdf:title>
13056 <xccdf:description xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:description>
13057 <xccdf:question xml:lang="en">Specify user owner of /var/named/chroot/etc/named.conf</xccdf:question>
13058 <xccdf:value>root</xccdf:value>
13059 <xccdf:value selector="root">root</xccdf:value>
13060 </xccdf:Value>
13061 <xccdf:Value id="xccdf_cdf_value_var-3.14.3.2.c" operator="equals" type="string">
13062 <xccdf:title>permisison of jail</xccdf:title>
13063 <xccdf:description xml:lang="en">Specify file permissions on /var/named/chroot/etc/named.conf</xccdf:description>
13064 <xccdf:question xml:lang="en">Specify permissions of /var/named/chroot/etc/named.conf</xccdf:question>
13065 <xccdf:value>110100100</xccdf:value>
13066 <xccdf:value selector="400">100000000</xccdf:value>
13067 <xccdf:value selector="644">110100100</xccdf:value>
13068 <xccdf:value selector="700">111000000</xccdf:value>
13069 <xccdf:match>^[01]+$</xccdf:match>
13070 </xccdf:Value>
13071 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.a" selected="false" weight="10.0">
13072 <xccdf:title>Run DNS Software in a chroot Jail owned by root group</xccdf:title>
13073 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group.</xccdf:description>
13074 <xccdf:ident system="http://cce.mitre.org">CCE-3985-9</xccdf:ident>
13075 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
13076 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13077 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20313" value-id="xccdf_cdf_value_var-3.14.3.2.a"/>
13078 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20313"/>
13079 </xccdf:check>
13080 </xccdf:Rule>
13081 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.b" selected="false" weight="10.0">
13082 <xccdf:title>Run DNS Software in a chroot Jail owned by root user</xccdf:title>
13083 <xccdf:description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user.</xccdf:description>
13084 <xccdf:ident system="http://cce.mitre.org">CCE-4258-0</xccdf:ident>
13085 <xccdf:fixtext>(1) via chown</xccdf:fixtext>
13086 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13087 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20314" value-id="xccdf_cdf_value_var-3.14.3.2.b"/>
13088 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20314"/>
13089 </xccdf:check>
13090 </xccdf:Rule>
13091 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.3.2.c" selected="false" weight="10.0">
13092 <xccdf:title>Set permissions on chroot Jail for DNS</xccdf:title>
13093 <xccdf:description>File permissions for /var/named/chroot/etc/named.conf should be set correctly.</xccdf:description>
13094 <xccdf:ident system="http://cce.mitre.org">CCE-4487-5</xccdf:ident>
13095 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
13096 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13097 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20315" value-id="xccdf_cdf_value_var-3.14.3.2.c"/>
13098 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20315"/>
13099 </xccdf:check>
13100 </xccdf:Rule>
13101 </xccdf:Group>
13102 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.3.3">
13103 <xccdf:title xml:lang="en">Configure Firewalls to Protect the DNS Server</xccdf:title>
13104 <xccdf:description xml:lang="en">
13105 Edit the file /etc/sysconfig/iptables. Add the following lines,
13106 ensuring that they appear before the final LOG and DROP lines for the
13107 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13108 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13109 -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"/>
13110 -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"/>
13111 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13112 These
13113 lines are necessary in order to allow remote machines to contact the DNS server. If this
13114 server is only available to the local network, it may be appropriate to insert a -s flag
13115 into this rule to allow traffic only from packets on the local network. See Section
13116 3.5.1.2 for an example of such a modification. See Section 2.5.5 for general information
13117 about iptables.</xccdf:description>
13118 </xccdf:Group>
13119 </xccdf:Group>
13120 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4">
13121 <xccdf:title xml:lang="en">Protect DNS Data from Tampering or Attack</xccdf:title>
13122 <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>
13123 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.1">
13124 <xccdf:title xml:lang="en">Run Separate DNS Servers for External and Internal Queries if
13125 Possible</xccdf:title>
13126 <xccdf:description xml:lang="en">
13127 Is it possible to run external and internal nameservers on
13128 separate machines? If so, follow the configuration guidance in this section. If not, see
13129 Section 3.14.4.2 for an alternate approach using BIND9. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13130 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13131 On the external nameserver, edit /etc/named.conf. Add or correct the following
13132 directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13133 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13134 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13135 allow-query { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13136 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13137 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13138 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13139 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13140 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13141 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13142 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13143 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13144 On the internal nameserver, edit
13145 /etc/named.conf. Add or correct the following directives, where SUBNET is the numerical
13146 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13147 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13148 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13149 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13150 localhost; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13151 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13152 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13153 options { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13154 allow-query { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13155 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13156 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13157 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13158 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13159 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13160 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13161 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13162 Enterprise nameservers generally serve two
13163 functions. One is to provide public information about the machines in a domain for the
13164 benefit of outside users who wish to contact those machines, for instance in order to
13165 send mail to users in the enterprise, or to visit the enterprise's external web page.
13166 The other is to provide nameservice to client machines within the enterprise. Client
13167 machines require both private information about enterprise machines (which may be
13168 different from the public information served to the rest of the world) and public
13169 information about machines outside the enterprise, which is used to send mail or visit
13170 websites outside of the organization. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13171 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13172 In order to provide the public nameservice
13173 function, it is necessary to share data with untrusted machines which request it —
13174 otherwise, the enterprise cannot be conveniently contacted by outside users. However,
13175 internal data should be protected from disclosure, and serving irrelevant public name
13176 queries for outside domains leaves the DNS server open to cache poisoning and other
13177 attacks. Therefore, local network nameservice functions should not be provided to
13178 untrusted machines. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13179 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13180 Separate machines should be used to fill these two functions whenever possible.</xccdf:description>
13181 </xccdf:Group>
13182 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.2">
13183 <xccdf:title xml:lang="en">Use Views to Partition External and Internal Information if Necessary</xccdf:title>
13184 <xccdf:description xml:lang="en">
13185 If it is not possible to run external and internal nameservers
13186 on separate physical machines, run BIND9 and simulate this feature using views. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13187 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13188 Edit
13189 /etc/named.conf. Add or correct the following directives (where SUBNET is the numerical
13190 IP representation of your organization in the form xxx.xxx.xxx.xxx/xx): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13191 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13192 acl internal {<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13193 SUBNET ; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13194 localhost; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13195 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13196 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13197 view "internal-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13198 match-clients { internal; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13199 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13200 zone "." IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13201 type hint; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13202 file "db.cache"; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13203 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13205 zone "internal.example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13206 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13207 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13208 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13209 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13210 view "external-view" { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13211 match-clients { any; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13212 recursion no; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13213 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13214 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13215 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13216 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13217 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13218 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13219 The view feature is provided by BIND9 as a way to allow a single nameserver to make
13220 different sets of data available to different sets of clients. If possible, it is always
13221 better to run external and internal nameservers on separate machines, so that even
13222 complete compromise of the external server cannot be used to obtain internal data or
13223 confuse internal DNS clients. However, this is not always feasible, and use of a feature
13224 like views is preferable to leaving internal DNS data entirely unprotected. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13225 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13226 Note: As
13227 shown in the example, database files which are required for recursion, such as the root
13228 hints file, must be available to any clients which are allowed to make recursive
13229 queries. Under typical circumstances, this includes only the internal clients which are
13230 allowed to use this server as a general-purpose nameserver.</xccdf:description>
13231 </xccdf:Group>
13232 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.3">
13233 <xccdf:title xml:lang="en">Disable Zone Transfers from the Nameserver if Possible</xccdf:title>
13234 <xccdf:description xml:lang="en">
13235 Is it necessary for a secondary nameserver to receive zone data
13236 via zone transfer from the primary server? If not, follow the instructions in this
13237 section. If so, see the next section for instructions on protecting zone transfers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13238 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13239 Edit /etc/named.conf. Add or correct the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13240 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13241 options { allow-transfer { none; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13242 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13243 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13244 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13245 If both the primary and secondary nameserver are under your control, or
13246 if you have only one nameserver, it may be possible to use an external configuration
13247 management mechanism to distribute zone updates. In that case, it is not necessary to
13248 allow zone transfers within BIND itself, so they should be disabled to avoid the
13249 potential for abuse.</xccdf:description>
13250 </xccdf:Group>
13251 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.4">
13252 <xccdf:title xml:lang="en">Authenticate Zone Transfers if Necessary</xccdf:title>
13253 <xccdf:description xml:lang="en">
13254 If it is necessary for a secondary nameserver to receive zone
13255 data via zone transfer from the primary server, follow the instructions here. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13256 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13257 Use dnssec-keygen to create a symmetric key file in the current directory: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13258 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13259 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /tmp <xhtml:br/>
13260 # dnssec-keygen -a HMAC-MD5 -b 128 -n HOST dns.example.com <xhtml:br/></xhtml:code>
13261 Kdns.example.com .+aaa +iiiii<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13262 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13263 This output is the name of a file containing the new key. Read the file to find the
13264 base64-encoded key string: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13265 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13266 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cat Kdns.example.com.+NNN+MMMMM.key <xhtml:br/></xhtml:code>
13267 dns.example.com IN KEY 512 3 157 base64-key-string <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13268 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13269 Edit /etc/named.conf on the primary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13270 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13271 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13272 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13273 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13274 };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13275 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13276 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13277 type primary; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13278 allow-transfer { key zone-transfer-key; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13279 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13280 }<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13281 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13282 Edit /etc/named.conf on the secondary nameserver. Add the directives: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13283 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13284 key zone-transfer-key { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13285 algorithm hmac-md5; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13286 secret "base64-key-string "; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13287 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13288 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13289 server IP-OF-PRIMARY { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13290 keys { zone-transfer-key; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13291 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13292 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13293 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13294 type secondary;<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13295 primaries { IP-OF-PRIMARY ; }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13296 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13297 }; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13298 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13299 The BIND transaction signature (TSIG) functionality
13300 allows primary and secondary nameservers to use a shared secret to verify authorization
13301 to perform zone transfers. This method is more secure than using IP-based limiting to
13302 restrict nameserver access, since IP addresses can be easily spoofed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13303 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13304 However, if you
13305 cannot configure TSIG between your servers because, for instance, the secondary
13306 nameserver is not under your control and its administrators are unwilling to configure
13307 TSIG, you can configure an allow-transfer directive with numerical IP addresses or ACLs
13308 as a last resort. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13309 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13310 Note: The purpose of the dnssec-keygen command is to create the shared
13311 secret string base64-key-string . Once this secret has been obtained and inserted into
13312 named.conf on the primary and secondary servers, the key files
13313 Kdns.example.com.+NNN+MMMMM.key and Kdns.example.com.+NNN+MMMMM.private are no longer
13314 needed, and may safely be deleted.</xccdf:description>
13315 </xccdf:Group>
13316 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.14.4.5">
13317 <xccdf:title xml:lang="en">Disable Dynamic Updates if Possible</xccdf:title>
13318 <xccdf:description xml:lang="en">
13319 Is there a mission-critical reason to enable the risky dynamic
13320 update functionality? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13321 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13322 Edit /etc/named.conf. For each zone specification, correct
13323 the following directive if necessary: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13324 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13325 zone "example.com " IN { <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13326 allow-update { none; };<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13327 ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13328 } <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13329 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13330 Dynamic updates allow remote servers to add, delete, or modify any entries in your
13331 zone file. Therefore, they should be considered highly risky, and disabled unless there
13332 is a very good reason for their use. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13333 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13334 If dynamic updates must be allowed, IP-based ACLs
13335 are insufficient protection, since they are easily spoofed. Instead, use TSIG keys (see
13336 the previous section for an example), and consider using the update-policy directive to
13337 restrict changes to only the precise type of change needed.</xccdf:description>
13338 <xccdf:Rule id="xccdf_cdf_rule_rule-3.14.4.5.a" selected="false" weight="10.0">
13339 <xccdf:title>Disable DNS Dynamic Updates if Possible</xccdf:title>
13340 <xccdf:description>LDAP's dynamic updates feature should be disabled</xccdf:description>
13341 <xccdf:ident system="http://cce.mitre.org">CCE-4399-2</xccdf:ident>
13342 <xccdf:fixtext>(1) via /etc/named.conf</xccdf:fixtext>
13343 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13344 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20316"/>
13345 </xccdf:check>
13346 </xccdf:Rule>
13347 </xccdf:Group>
13348 </xccdf:Group>
13349 </xccdf:Group>
13350 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15">
13351 <xccdf:title xml:lang="en">FTPServer</xccdf:title>
13352 <xccdf:description xml:lang="en">
13353 FTP is a common method for allowing remote access to files. Like
13354 telnet, the FTP protocol is unencrypted, which means that passwords and other data
13355 transmitted during the session can be captured and that the session is vulnerable to
13356 hijacking. Therefore, running the FTP server software is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13357 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13358 However, there are
13359 some FTP server configurations which may be appropriate for some environments, particularly
13360 those which allow only read-only anonymous access as a means of downloading data available
13361 to the public.</xccdf:description>
13362 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.1">
13363 <xccdf:title xml:lang="en">Disable vsftpd if Possible</xccdf:title>
13364 <xccdf:description xml:lang="en">
13365 Is there a mission-critical reason for the machine to act as an
13366 FTP server? If not, disable vsftpd if it has been installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13367 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13368 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig vsftpd off</xhtml:code></xccdf:description>
13369 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.a" selected="false" severity="low" weight="10.0">
13370 <xccdf:title>Disable vsftpd if Possible</xccdf:title>
13371 <xccdf:description>The vsftpd service should be disabled.</xccdf:description>
13372 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
13373 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
13374 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13375 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20317"/>
13376 </xccdf:check>
13377 </xccdf:Rule>
13378 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.1.b" selected="false" severity="low" weight="10.0">
13379 <xccdf:title>Uninstall vsftpd if Possible</xccdf:title>
13380 <xccdf:description>The vsftpd service should be uninstalled.</xccdf:description>
13381 <xccdf:ident system="http://cce.mitre.org">CCE-3919-8</xccdf:ident>
13382 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
13383 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13384 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203175"/>
13385 </xccdf:check>
13386 </xccdf:Rule>
13387 </xccdf:Group>
13388 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.2">
13389 <xccdf:title xml:lang="en">Use vsftpd to Provide FTP Service if Necessary</xccdf:title>
13390 <xccdf:description xml:lang="en">
13391 If this machine must operate as an FTP server, install the vsftpd
13392 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
13393 from distributing wu-ftpd with RHEL to distributing vsftpd. For security and for
13394 consistency with future Red Hat releases, the use of vsftpd is recommended.</xccdf:description>
13395 </xccdf:Group>
13396 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3">
13397 <xccdf:title xml:lang="en">Configure vsftpd Securely</xccdf:title>
13398 <xccdf:description xml:lang="en">
13399 The primary vsftpd configuration file is /etc/vsftpd.conf, if
13400 that file exists, or /etc/vsftpd/vsftpd.conf if it does not. For the remainder of this
13401 section, the phrase 'the configuration file' will refer to whichever of those files is
13402 appropriate for your environment.</xccdf:description>
13403 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.1">
13404 <xccdf:title xml:lang="en">Enable Logging of All FTP Transactions</xccdf:title>
13405 <xccdf:description xml:lang="en">
13406 Edit the vsftpd configuration file. Add or correct the
13407 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13408 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13409 xferlog_std_format=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13410 log_ftp_protocol=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13411 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13412 The
13413 modifications above ensure that all commands sent to the ftp server are logged using the
13414 verbose vsftpd log format. The default vsftpd log file is /var/log/vsftpd.log. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13416 Note: If
13417 verbose logging to vsftpd.log is done, sparse logging of downloads to /var/log/xferlog
13418 will not also occur. However, the information about what files were downloaded is
13419 included in the information logged to vsftpd.log.</xccdf:description>
13420 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.1.a" selected="false" severity="low" weight="10.0">
13421 <xccdf:title>Enable Logging of All FTP Transactions</xccdf:title>
13422 <xccdf:description>Logging of vsftpd transactions should be enabled</xccdf:description>
13423 <xccdf:ident system="http://cce.mitre.org">CCE-4549-2</xccdf:ident>
13424 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13425 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13426 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20318"/>
13427 </xccdf:check>
13428 </xccdf:Rule>
13429 </xccdf:Group>
13430 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.2">
13431 <xccdf:title xml:lang="en">Create Warning Banners for All FTP Users</xccdf:title>
13432 <xccdf:description xml:lang="en">
13433 Edit the vsftpd configuration file. Add or correct the
13434 following configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13435 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13436 banner_file=/etc/issue <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13437 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13438 See Section 2.3.7 for an
13439 explanation of banner file use. This setting will cause the system greeting banner to be
13440 used for FTP connections as well.</xccdf:description>
13441 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.2.a" selected="false" weight="10.0">
13442 <xccdf:title>Create Warning Banners for All FTP Users</xccdf:title>
13443 <xccdf:description>A warning banner for all FTP users should be enabled</xccdf:description>
13444 <xccdf:ident system="http://cce.mitre.org">CCE-4554-2</xccdf:ident>
13445 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13446 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13447 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20319"/>
13448 </xccdf:check>
13449 </xccdf:Rule>
13450 </xccdf:Group>
13451 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3">
13452 <xccdf:title xml:lang="en">Restrict the Set of Users Allowed to Access FTP</xccdf:title>
13453 <xccdf:description xml:lang="en">
13454 This section describes how to disable non-anonymous
13455 (password-based) FTP logins, or, if it is not possible to do this entirely due to legacy
13456 applications, how to restrict insecure FTP login to only those users who have an
13457 identified need for this access.</xccdf:description>
13458 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.1">
13459 <xccdf:title xml:lang="en">Restrict Access to Anonymous Users if Possible</xccdf:title>
13460 <xccdf:description xml:lang="en">
13461 Is there a mission-critical reason for users to transfer
13462 files to/from their own accounts using FTP, rather than using a secure protocol like
13463 SCP/SFTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13464 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13465 Edit the vsftpd configuration file. Add or correct the following
13466 configuration option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13467 local_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13468 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13469 If non-anonymous FTP logins are necessary,
13470 follow the guidance in the remainder of this section to secure these logins as much as
13471 possible. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13472 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13473 The use of non-anonymous FTP logins is strongly discouraged. Since SSH
13474 clients and servers are widely available, and since SSH provides support for a
13475 transfer mode which resembles FTP in user interface, there is no good reason to allow
13476 password-based FTP access. See Section 3.5 for more information about SSH.</xccdf:description>
13477 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.3.1.a" selected="false" severity="high" weight="10.0">
13478 <xccdf:title>Restrict Access to Anonymous Users if Possible</xccdf:title>
13479 <xccdf:description>Local user login to the vsftpd service should be disabled</xccdf:description>
13480 <xccdf:ident system="http://cce.mitre.org">CCE-4443-8</xccdf:ident>
13481 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13482 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13483 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20320"/>
13484 </xccdf:check>
13485 </xccdf:Rule>
13486 </xccdf:Group>
13487 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.3.2">
13488 <xccdf:title xml:lang="en">Limit Users Allowed FTP Access if Necessary</xccdf:title>
13489 <xccdf:description xml:lang="en">
13490 If there is a mission-critical reason for users to access
13491 their accounts via the insecure FTP protocol, limit the set of users who are allowed
13492 this access. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13493 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13494 Edit the vsftpd configuration file. Add or correct the following
13495 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13496 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13497 userlist_enable=YES <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13498 userlist_file=/etc/vsftp.ftpusers<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13499 userlist_deny=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13500 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13501 Edit the file /etc/vsftp.ftpusers. For each user USERNAME who should
13502 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"/>
13503 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13504 USERNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13505 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13506 If anonymous access is also required, add the anonymous usernames to
13507 /etc/vsftp.ftpusers as well: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13508 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13509 anonymous <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13510 ftp <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13511 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13512 Historically, the file /etc/ftpusers
13513 contained a list of users who were not allowed to access the system via ftp. It was
13514 used to prevent system users such as the root user from logging in via the insecure
13515 ftp protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13516 However, when the configuration option userlist_deny=NO is set, vsftpd
13517 interprets ftpusers as the set of users who are allowed to login via ftp. Since it
13518 should be possible for most users to access their accounts via secure protocols, it is
13519 recommended that this setting be used, so that non-anonymous ftp access can be limited
13520 to legacy users who have been explicitly identified.</xccdf:description>
13521 </xccdf:Group>
13522 </xccdf:Group>
13523 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.4">
13524 <xccdf:title xml:lang="en">Disable FTP Uploads if Possible</xccdf:title>
13525 <xccdf:description xml:lang="en">
13526 Is there a mission-critical reason for users to upload files
13527 via FTP? If not: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13528 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13529 Edit the vsftpd configuration file. Add or correct the following
13530 configuration options: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13531 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13532 write_enable=NO <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13533 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13534 If FTP uploads are necessary, follow the guidance
13535 in the remainder of this section to secure these transactions as much as possible.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13536 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13537 Anonymous FTP can be a convenient way to make files available for universal download.
13538 However, it is less common to have a need to allow unauthenticated users to place files
13539 on the FTP server. If this must be done, it is necessary to ensure that files cannot be
13540 uploaded and downloaded from the same directory.</xccdf:description>
13541 <xccdf:Rule id="xccdf_cdf_rule_rule-3.15.3.4.a" selected="false" severity="medium" weight="10.0">
13542 <xccdf:title>Disable FTP Uploads if Possible</xccdf:title>
13543 <xccdf:description>File uploads via vsftpd should be disabled</xccdf:description>
13544 <xccdf:ident system="http://cce.mitre.org">CCE-4461-0</xccdf:ident>
13545 <xccdf:fixtext>(1) via /etc/vsftpd.conf</xccdf:fixtext>
13546 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13547 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20321"/>
13548 </xccdf:check>
13549 </xccdf:Rule>
13550 </xccdf:Group>
13551 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.5">
13552 <xccdf:title xml:lang="en">Place the FTP Home Directory on its Own Partition</xccdf:title>
13553 <xccdf:description xml:lang="en">
13554 By default, the anonymous FTP root is the home directory of the
13555 ftp user account. The df command can be used to verify that this directory is on its own
13556 partition. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13557 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13558 If there is a mission-critical reason for anonymous users to upload files,
13559 precautions must be taken to prevent these users from filling a disk used by other
13560 services.</xccdf:description>
13561 </xccdf:Group>
13562 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.15.3.6">
13563 <xccdf:title xml:lang="en">Configure Firewalls to Protect the FTP Server</xccdf:title>
13564 <xccdf:description xml:lang="en">
13565 Edit the file /etc/sysconfig/iptables. Add the following lines,
13566 ensuring that they appear before the final LOG and DROP lines for the
13567 RH-Firewall-1-INPUT chain: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13568 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13569 -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"/>
13570 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13571 Edit the file /etc/sysconfig/iptables-config. Ensure that the space-separated
13572 list of modules contains the FTP connection tracking module:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13573 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13574 IPTABLES_MODULES="ip_conntrack_ftp" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13575 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13576 These settings configure iptables to allow
13577 connections to an FTP server. The first line allows initial connections to the FTP
13578 server port. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13579 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13580 FTP is an older protocol which is not very compatible with firewalls.
13581 During the initial FTP dialogue, the client and server negotiate an arbitrary port to be
13582 used for data transfer. The ip conntrack ftp module is used by iptables to listen to
13583 that dialogue and allow connections to the data ports which FTP negotiates. This allows
13584 an FTP server to operate on a machine which is running a firewall.</xccdf:description>
13585 </xccdf:Group>
13586 </xccdf:Group>
13587 </xccdf:Group>
13588 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16">
13589 <xccdf:title xml:lang="en">Web Server</xccdf:title>
13590 <xccdf:description xml:lang="en">
13591 The web server is responsible for providing access to content via
13592 the HTTP protocol. Web servers represent a significant security risk because: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13593 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13594 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
13595 <xhtml:li>The HTTP port is commonly probed by malicious sources </xhtml:li>
13596 <xhtml:li>Web server software is very complex, and includes a long history of vulnerabilities </xhtml:li>
13597 <xhtml:li>The HTTP protocol is unencrypted and vulnerable to passive monitoring </xhtml:li>
13598 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13600 The system's default web server software is Apache 2 and is provided
13601 in the RPM package httpd.</xccdf:description>
13602 <xccdf:reference>Ristic, I. Apache Security. O’Reilly and Associates, Mar 2005</xccdf:reference>
13603 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.1">
13604 <xccdf:title xml:lang="en">Disable Apache if Possible</xccdf:title>
13605 <xccdf:description xml:lang="en">
13606 If Apache was installed and activated, but the system does not
13607 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"/>
13608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13609 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig httpd off <xhtml:br/>
13610 # yum erase httpd</xhtml:code></xccdf:description>
13611 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.a" selected="false" severity="low" weight="10.0">
13612 <xccdf:title>Disable Apache if Possible</xccdf:title>
13613 <xccdf:description>The httpd service should be disabled.</xccdf:description>
13614 <xccdf:ident system="http://cce.mitre.org">CCE-4338-0</xccdf:ident>
13615 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
13616 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13617 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20322"/>
13618 </xccdf:check>
13619 </xccdf:Rule>
13620 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.1.b" selected="false" weight="10.0">
13621 <xccdf:title>Uninstall Apache if Possible</xccdf:title>
13622 <xccdf:description>The httpd package should be uninstalled.</xccdf:description>
13623 <xccdf:ident system="http://cce.mitre.org">CCE-4514-6</xccdf:ident>
13624 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
13625 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13626 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20323"/>
13627 </xccdf:check>
13628 </xccdf:Rule>
13629 </xccdf:Group>
13630 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2">
13631 <xccdf:title xml:lang="en">Install Apache if Necessary</xccdf:title>
13632 <xccdf:description xml:lang="en">
13633 If the Apache web server must be run, follow these guidelines to
13634 install it defensively. Then follow the guidelines in the remainder of Section 3.16 to
13635 configure the web server machine and software as securely as possible.</xccdf:description>
13636 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.1">
13637 <xccdf:title xml:lang="en">Install Apache Software Safely</xccdf:title>
13638 <xccdf:description xml:lang="en">
13639 Install the Apache 2 package from the standard Red Hat
13640 distribution channel: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13641 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13642 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install httpd <xhtml:br/></xhtml:code>
13643 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13644 Note: This method of installation is
13645 recommended over installing the 'Web Server' package group during the system
13646 installation process. The Web Server package group includes many packages which are
13647 likely extraneous, while the command-line method installs only the required httpd
13648 package itself.</xccdf:description>
13649 </xccdf:Group>
13650 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.2.2">
13651 <xccdf:title xml:lang="en">Confirm Minimal Built-in Modules</xccdf:title>
13652 <xccdf:description xml:lang="en">
13653 The default Apache installation minimizes the number of modules
13654 that are compiled directly into the binary (core prefork http core mod so). This
13655 minimizes risk by limiting the capabilities allowed by the webserver. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13656 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13657 Query the set of compiled-in modules using the following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13658 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13659 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">$ httpd -l <xhtml:br/></xhtml:code>
13660 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13661 If the number of compiled-in
13662 modules is significantly larger than the aforementioned set, this guide recommends
13663 reinstallating Apache with a reduced configuration.</xccdf:description>
13664 </xccdf:Group>
13665 </xccdf:Group>
13666 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3">
13667 <xccdf:title xml:lang="en">Secure the Apache Configuration</xccdf:title>
13668 <xccdf:description xml:lang="en">
13669 The Apache configuration file is /etc/httpd/conf/httpd.conf.
13670 Apply the recommendations in the remainder of this section to this file.</xccdf:description>
13671 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.1">
13672 <xccdf:title xml:lang="en">Restrict Information Leakage</xccdf:title>
13673 <xccdf:description xml:lang="en">
13674 The ServerTokens and ServerSignature directives determine how
13675 much information the web server discloses about the configuration of the system.
13676 ServerTokens Prod restricts information in page headers, returning only the word
13677 'Apache.' ServerSignature Off keeps Apache from displaying the server version on error
13678 pages. It is a good security practice to limit the information provided to clients. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13679 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13680 Add
13681 or correct the following directives in /etc/httpd/conf/httpd.conf so that as little
13682 information as possible is released: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13683 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13684 ServerTokens Prod <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13685 ServerSignature Off</xccdf:description>
13686 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.a" operator="equals" type="string">
13687 <xccdf:title>value of ServerTokens</xccdf:title>
13688 <xccdf:description xml:lang="en">Tells apache to only return Apache in the Server header, returned on every page request.</xccdf:description>
13689 <xccdf:question xml:lang="en">Specify restrictions of of provided information in page headers for web server</xccdf:question>
13690 <xccdf:value>Prod</xccdf:value>
13691 <xccdf:value selector="prod">Prod</xccdf:value>
13692 </xccdf:Value>
13693 <xccdf:Value id="xccdf_cdf_value_var-3.16.3.1.b" operator="equals" type="string">
13694 <xccdf:title>value of ServerSignature</xccdf:title>
13695 <xccdf:description xml:lang="en">Tells apache not to display the server version on error pages, or other pages it generates.</xccdf:description>
13696 <xccdf:question xml:lang="en">Enable/Disable Apache displaying the server version on error pages</xccdf:question>
13697 <xccdf:value>Off</xccdf:value>
13698 <xccdf:value selector="off">Off</xccdf:value>
13699 </xccdf:Value>
13700 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.a" selected="false" weight="10.0">
13701 <xccdf:title>Restrict Information Leakageusing ServerTokens</xccdf:title>
13702 <xccdf:description>The apache2 server's ServerTokens value should be set appropriately</xccdf:description>
13703 <xccdf:ident system="http://cce.mitre.org">CCE-4474-3</xccdf:ident>
13704 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13705 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13706 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20324" value-id="xccdf_cdf_value_var-3.16.3.1.a"/>
13707 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20324"/>
13708 </xccdf:check>
13709 </xccdf:Rule>
13710 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.3.1.b" selected="false" weight="10.0">
13711 <xccdf:title>Restrict Information Leakage using ServerSignature</xccdf:title>
13712 <xccdf:description>The apache2 server's ServerSignature value should be set appropriately</xccdf:description>
13713 <xccdf:ident system="http://cce.mitre.org">CCE-3756-4</xccdf:ident>
13714 <xccdf:fixtext>(1) via /etc/httpd/conf/httpd.conf</xccdf:fixtext>
13715 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
13716 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20325" value-id="xccdf_cdf_value_var-3.16.3.1.b"/>
13717 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20325"/>
13718 </xccdf:check>
13719 </xccdf:Rule>
13720 </xccdf:Group>
13721 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2">
13722 <xccdf:title xml:lang="en">Minimize Loadable Modules</xccdf:title>
13723 <xccdf:description xml:lang="en">
13724 A default installation of Apache includes a plethora of
13725 'dynamically shared objects' (DSO) that are loaded at run-time. Unlike the
13726 aforementioned 'compiled-in' modules, a DSO can be disabled in the configuration file by
13727 removing the corresponding LoadModule directive. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13728 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13729 Note: A DSO only provides additional
13730 functionality if associated directives are included in the Apache configuration file. It
13731 should also be noted that removing a DSO will produce errors on Apache startup if the
13732 configuration file contains directives that apply to that module. Refer to
13733 http://httpd.apache.org/docs/ for details on which directives are associated with each
13734 DSO. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13735 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13736 Follow each DSO removal, the configuration can be tested with the following command
13737 to check if everything still works: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13738 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13739 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># service httpd configtest <xhtml:br/></xhtml:code>
13740 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13741 The purpose of each of
13742 the modules loaded by default will now be addressed one at a time. If none of a module's
13743 directives are being used, remove it.</xccdf:description>
13744 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.1">
13745 <xccdf:title xml:lang="en">Apache Core Modules</xccdf:title>
13746 <xccdf:description xml:lang="en">
13747 These modules comprise a basic subset of modules that are
13748 likely needed for base Apache functionality; ensure they are not commented out in
13749 /etc/httpd/conf/httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13750 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13751 LoadModule auth_basic_module modules/mod_auth_basic.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13752 LoadModule authn_default_module modules/mod_authn_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13753 LoadModule authz_host_module modules/mod_authz_host.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13754 LoadModule authz_user_module modules/mod_authz_user.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13755 LoadModule authz_groupfile_module modules/mod_authz_groupfile.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13756 LoadModule authz_default_module modules/mod_authz_default.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13757 LoadModule log_config_module modules/mod_log_config.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13758 LoadModule logio_module modules/mod_logio.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13759 LoadModule setenvif_module modules/mod_setenvif.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13760 LoadModule mime_module modules/mod_mome.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13761 LoadModule autoindex_module modules/mod_autoindex.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13762 LoadModule negotiation_module modules/mod_negotiation.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13763 LoadModule dir_module modules/mod_dir.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13764 LoadModule alias_module modules/mod_alias.so</xccdf:description>
13765 </xccdf:Group>
13766 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.2">
13767 <xccdf:title xml:lang="en">HTTP Basic Authentication</xccdf:title>
13768 <xccdf:description xml:lang="en">
13769 The following modules are necessary if this web server will
13770 provide content that will be restricted by a password. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13771 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13772 Authentication can be performed
13773 using local plain text password files (authn file), local DBM password files (authn
13774 dbm) or an LDAP directory (see Section 3.16.3.2.5). The only module required by the
13775 web server depends on your choice of authentication. Comment out the modules you don't
13776 need from the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13777 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13778 LoadModule authn_file_module modules/mod_authn_file.so<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13779 LoadModule authn_dbm_module modules/mod_authn_dbm.so <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13780 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13781 authn_alias allows for
13782 authentication based on aliases. authn_anon allows anonymous authentication similar to
13783 that of anonymous ftp sites. authz owner allows authorization based on file ownership.
13784 authz dbm allows for authorization based on group membership if the web server is
13785 using DBM authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13786 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13787 If the above functionality is unnecessary, comment out the
13788 related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13789 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13790 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule authn_alias_module modules/mod_authn_alias.so <xhtml:br/>
13791 #LoadModule authn_anon_module modules/mod_authn_anon.so <xhtml:br/>
13792 #LoadModule authz_owner_module modules/mod_authz_owner.so <xhtml:br/>
13793 #LoadModule authz_dbm_module modules/mod_authz_dbm.so</xhtml:code></xccdf:description>
13794 </xccdf:Group>
13795 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.3">
13796 <xccdf:title xml:lang="en">HTTP Digest Authentication</xccdf:title>
13797 <xccdf:description xml:lang="en">
13798 This module provides encrypted authentication sessions.
13799 However, this module is rarely used and considered experimental. Alternate methods of
13800 encrypted authentication are recommended, such as SSL (Section 3.16.4.1) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13801 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13802 If the above
13803 functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13804 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13805 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule auth_digest_module modules/mod_auth_digest.so</xhtml:code></xccdf:description>
13806 </xccdf:Group>
13807 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.4">
13808 <xccdf:title xml:lang="en">mod rewrite</xccdf:title>
13809 <xccdf:description xml:lang="en">
13810 The mod rewrite module is very powerful and can protect
13811 against certain classes of web attacks. However, it is also very complex and has a
13812 significant history of vulnerabilities itself. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13813 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13814 If the above functionality is
13815 unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13816 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13817 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule rewrite_module modules/mod_rewrite.so</xhtml:code></xccdf:description>
13818 </xccdf:Group>
13819 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.5">
13820 <xccdf:title xml:lang="en">LDAP Support</xccdf:title>
13821 <xccdf:description xml:lang="en">
13822 This module provides HTTP authentication via an LDAP
13823 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13824 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13825 If the above functionality is unnecessary, comment out the related modules:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13826 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13827 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule ldap_module modules/mod_ldap.so <xhtml:br/>
13828 #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so <xhtml:br/></xhtml:code>
13829 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13830 If LDAP is to be used, SSL encryption (Section 3.16.4.1)
13831 should be used as well.</xccdf:description>
13832 </xccdf:Group>
13833 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.6">
13834 <xccdf:title xml:lang="en">Server Side Includes</xccdf:title>
13835 <xccdf:description xml:lang="en">
13836 Server Side Includes provide a method of dynamically
13837 generating web pages through the insertion of server-side code. However, the
13838 technology is also deprecated and introduces significant security concerns. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13839 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13840 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13841 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13842 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule include_module modules/mod_include.so <xhtml:br/></xhtml:code>
13843 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13844 If there is a critical need for Server Side
13845 Includes, they should be enabled with the option IncludesNoExec to prevent arbitrary
13846 code execution. Additionally, user supplied data should be encoded to prevent
13847 cross-site scripting vulnerabilities.</xccdf:description>
13848 </xccdf:Group>
13849 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.7">
13850 <xccdf:title xml:lang="en">MIME Magic</xccdf:title>
13851 <xccdf:description xml:lang="en">
13852 This module provides a second layer of MIME support that in
13853 most configurations is likely extraneous. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13854 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13855 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13856 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13857 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule mime_magic_module modules/mod_mime_magic.so</xhtml:code></xccdf:description>
13858 </xccdf:Group>
13859 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.8">
13860 <xccdf:title xml:lang="en">WebDAV (Distributed Authoring and Versioning)</xccdf:title>
13861 <xccdf:description xml:lang="en">
13862 WebDAV is an extension of the HTTP protocol that provides
13863 distributed and collaborative access to web content. Due to a number of security
13864 concerns with WebDAV, its use is not recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13866 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13867 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13868 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule dav_module modules/mod_dav.so <xhtml:br/>
13869 #LoadModule dav_fs_module modules/mod_dav_fs.so <xhtml:br/></xhtml:code>
13870 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13871 If there is a
13872 critical need for WebDAV, extra care should be taken in its configuration. Since DAV
13873 access allows remote clients to manipulate server files, any location on the server
13874 that is DAV enabled should be protected by encrypted authentication.</xccdf:description>
13875 </xccdf:Group>
13876 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.9">
13877 <xccdf:title xml:lang="en">Server Activity Status</xccdf:title>
13878 <xccdf:description xml:lang="en">
13879 This module provides real-time access to statistics on the
13880 internal operation of the web server. This is an unnecessary information leak and
13881 should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13882 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13883 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13884 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13885 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule status_module modules/mod_status.so <xhtml:br/></xhtml:code>
13886 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13887 If there is a critical need
13888 for this module, ensure that access to the status page is properly restricted to a
13889 limited set of hosts in the status handler configuration.</xccdf:description>
13890 </xccdf:Group>
13891 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.10">
13892 <xccdf:title xml:lang="en">Web Server Configuration Display</xccdf:title>
13893 <xccdf:description xml:lang="en">
13894 This module creates a web page illustrating the configuration
13895 of the web server. This is an unnecessary security leak and should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13896 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13897 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13898 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13899 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule info_module modules/mod_info.so <xhtml:br/></xhtml:code>
13900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13901 If there is a critical need for this module, use the
13902 Location directive to provide an access control list to restrict access to the
13903 information.</xccdf:description>
13904 </xccdf:Group>
13905 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.11">
13906 <xccdf:title xml:lang="en">URL Correction on Misspelled Entries</xccdf:title>
13907 <xccdf:description xml:lang="en">
13908 This module attempts to find a document match by allowing one
13909 misspelling in an otherwise failed request. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13910 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13911 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13912 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13913 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule speling_module modules/mod_speling.so <xhtml:br/></xhtml:code>
13914 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13915 This functionality weakens server security by making site enumeration easier.</xccdf:description>
13916 </xccdf:Group>
13917 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.12">
13918 <xccdf:title xml:lang="en">User-specific directories</xccdf:title>
13919 <xccdf:description xml:lang="en">
13920 The UserDir directive provides user-specific directory
13921 translation, allowing URLs based on associated usernames. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13922 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13923 If the above functionality is unnecessary, comment out the related module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13925 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule userdir_module modules/mod_userdir.so <xhtml:br/></xhtml:code>
13926 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13927 If there is a critical need for this module, include the line
13928 UserDir disabled root (at a minimum) in the configuration file. Ideally, UserDir
13929 should be disabled, and then enabled on a case-by-case basis for specific users that
13930 require this functionality. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13931 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13932 Note: A web server's users can be trivially enumerated
13933 using this module.</xccdf:description>
13934 </xccdf:Group>
13935 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.13">
13936 <xccdf:title xml:lang="en">Proxy Support</xccdf:title>
13937 <xccdf:description xml:lang="en">
13938 This module provides proxying support, allowing Apache to
13939 forward requests and serve as a gateway for other servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13940 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13941 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13942 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13943 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule proxy_module modules/mod_proxy.so <xhtml:br/>
13944 #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<xhtml:br/>
13945 #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so <xhtml:br/>
13946 #LoadModule proxy_http_module modules/mod_proxy_http.so <xhtml:br/>
13947 #LoadModule proxy_connect_module modules/mod_proxy_connect.so <xhtml:br/></xhtml:code>
13948 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13949 If proxy support is needed, load proxy and the
13950 appropriate proxy protocol handler module (one of proxy http, proxy ftp, or proxy
13951 connect). Additionally, make certain that a server is secure before enabling proxying,
13952 as open proxy servers are a security risk. proxy balancer enables load balancing, but
13953 requires that mod status be enabled. Since mod status is not recommended, proxy
13954 balancer should be avoided as well.</xccdf:description>
13955 </xccdf:Group>
13956 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.14">
13957 <xccdf:title xml:lang="en">Cache Support</xccdf:title>
13958 <xccdf:description xml:lang="en">
13959 This module allows Apache to cache data, optimizing access to
13960 frequently accessed content. However, not only is it an experimental module, but it
13961 also introduces potential security flaws into the web server such as the possibility
13962 of circumventing Allow and Deny directives. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13963 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13964 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13965 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13966 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cache_module modules/mod_cache.so<xhtml:br/>
13967 #LoadModule disk_cache_module modules/mod_disk_cache.so <xhtml:br/>
13968 #LoadModule file_cache_module modules/mod_file_cache.so <xhtml:br/>
13969 #LoadModule mem_cache_module modules/mod_mem_cache.so <xhtml:br/></xhtml:code>
13970 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13971 If caching is required, it should not be enabled for any limited-access content.</xccdf:description>
13972 </xccdf:Group>
13973 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.15">
13974 <xccdf:title xml:lang="en">CGI Support (and Related Modules)</xccdf:title>
13975 <xccdf:description xml:lang="en">
13976 This module allows HTML to interact with the CGI web
13977 programming language. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13978 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13979 If the above functionality is unnecessary, comment out the related modules: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13980 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#LoadModule cgi_module modules/mod_cgi.so <xhtml:br/>
13981 #LoadModule env_module modules/mod_env.so <xhtml:br/>
13982 #LoadModule actions_module modules/mod_actions.so <xhtml:br/>
13983 #LoadModule suexec_module modules/mod_suexec.so <xhtml:br/></xhtml:code>
13984 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13985 If the web server requires the use of CGI, enable
13986 the cgi module. If extended CGI functionality is required, include the appropriate
13987 modules. env allows for control of the environment passed to CGI scripts. actions
13988 allows CGI events to be triggered when files of a certain type are requested. su exec
13989 allows CGI scripts to run as a specified user/group instead of as the server's
13990 user/group.</xccdf:description>
13991 </xccdf:Group>
13992 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.2.16">
13993 <xccdf:title xml:lang="en">Various Optional Components</xccdf:title>
13994 <xccdf:description xml:lang="en">
13995 The following modules perform very specific tasks, sometimes
13996 providing access to just a few additional directives. If this functionality is not
13997 required (or if you are not using these directives), comment out the associated
13998 module: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
13999 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14000 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
14001 <xhtml:li>External filtering (response passed through external program prior to client delivery) <xhtml:br/>
14002 <xhtml:br/>
14003 <xhtml:code>#LoadModule ext_filter_module modules/mod_ext_filter.so </xhtml:code></xhtml:li>
14004 <xhtml:li>User-specified
14005 Cache Control and Expiration <xhtml:br/>
14006 <xhtml:br/>
14007 <xhtml:code>#LoadModule expires_module modules/mod_expires.so</xhtml:code> </xhtml:li>
14008 <xhtml:li>Compression Output Filter (provides content compression prior to client delivery)<xhtml:br/>
14009 <xhtml:br/>
14010 <xhtml:code>#LoadModule deflate_module modules/mod_deflate.so </xhtml:code></xhtml:li>
14011 <xhtml:li>HTTP Response/Request Header Customization <xhtml:br/>
14012 <xhtml:br/>
14013 <xhtml:code>#LoadModule headers_module modules/mod_headers.so</xhtml:code> </xhtml:li>
14014 <xhtml:li>User activity monitoring via cookies <xhtml:br/>
14015 <xhtml:br/>
14016 <xhtml:code>#LoadModule usertrack_module modules/mod_usertrack.so </xhtml:code></xhtml:li>
14017 <xhtml:li>Dynamically configured mass virtual hosting <xhtml:br/>
14018 <xhtml:br/>
14019 <xhtml:code>#LoadModule vhost_alias_module modules/mod_vhost_alias.so</xhtml:code></xhtml:li>
14020 </xhtml:ul>
14021 </xccdf:description>
14022 </xccdf:Group>
14023 </xccdf:Group>
14024 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.3">
14025 <xccdf:title xml:lang="en">Minimize Configuration Files Included</xccdf:title>
14026 <xccdf:description xml:lang="en">
14027 The Include directive directs Apache to load supplementary
14028 configuration files from a provided path. The default configuration loads all files that
14029 end in .conf from the /etc/httpd/conf.d directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14030 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14031 To restrict excess configuration, the
14032 following line should be commented out and replaced with Include directives that only
14033 reference required configuration files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14034 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14035 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">#Include conf.d/*.conf <xhtml:br/></xhtml:code>
14036 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14037 If the above change was
14038 made, ensure that the SSL encryption remains loaded by explicitly including the
14039 corresponding configuration file: (see Section 3.16.4.1 for further details on SSL
14040 configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14041 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14042 Include conf.d/ssl.conf <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14043 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14044 If PHP is necessary, a similar alteration must be
14045 made: (see Section 3.16.4.4.1 for further details on PHP configuration) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14046 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14047 Include conf.d/php.conf</xccdf:description>
14048 </xccdf:Group>
14049 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4">
14050 <xccdf:title xml:lang="en">Directory Restrictions</xccdf:title>
14051 <xccdf:description xml:lang="en">
14052 The Directory tags in the web server configuration file allow
14053 finer grained access control for a specified directory. All web directories should be
14054 configured on a case-by-case basis, allowing access only where needed.</xccdf:description>
14055 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.1">
14056 <xccdf:title xml:lang="en">Restrict Root Directory</xccdf:title>
14057 <xccdf:description xml:lang="en">
14058 The Apache root directory should always have the most
14059 restrictive configuration enabled.
14060 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14062 &lt;Directory
14063 /&gt;
14064 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14065 Options None
14066 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14067 AllowOverride None
14068 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14069 Order
14070 allow,deny
14071 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14072 &lt;/Directory&gt;
14073 </xccdf:description>
14074 </xccdf:Group>
14075 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.2">
14076 <xccdf:title xml:lang="en">Restrict Web Directory</xccdf:title>
14077 <xccdf:description xml:lang="en">
14078 The default configuration for the web (/var/www/html)
14079 Directory allows directory indexing (Indexes)and the following of symbolic links
14080 (FollowSymLinks). Neither of these is recommended.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14081 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14082 The
14083 /var/www/html directory hierarchy should not be viewable via the web, and symlinks
14084 should only be followed if the owner of the symlink also owns the linked
14085 file.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14086 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14087 Ensure that this policy is adhered to by altering the
14088 related section of the configuration:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14089 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14090 &lt;Directory
14091 "/var/www/html"&gt;
14092 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14093 # ...
14094 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14095 Options SymLinksIfOwnerMatch
14096 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14097 # ...
14098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14099 &lt;/Directory&gt;
14100 </xccdf:description>
14101 </xccdf:Group>
14102 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.4.3">
14103 <xccdf:title xml:lang="en">Restrict Other Critical Directories</xccdf:title>
14104 <xccdf:description xml:lang="en">
14105 All accessible web directories should be configured with
14106 similar restrictive settings. The Options directive should be limited to necessary
14107 functionality and the AllowOverride directive should be used only if needed. The Order
14108 and Deny access control tags should be used to deny access by default, allowing access
14109 only where necessary.</xccdf:description>
14110 </xccdf:Group>
14111 </xccdf:Group>
14112 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.5">
14113 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
14114 <xccdf:description xml:lang="en">
14115 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
14116 <xhtml:li>Set up a password file. <xhtml:br/>
14117 <xhtml:br/>
14118 If a password file doesn't yet exist, one must be generated with the following command: <xhtml:br/>
14119 <xhtml:br/>
14120 <xhtml:code># htpasswd -cs passwdfile user <xhtml:br/></xhtml:code>
14121 <xhtml:br/>
14122 <xhtml:em>WARNING: This command will overwrite an existing file at this location.</xhtml:em>
14123 <xhtml:br/>
14124 Once a password file has been generated, subsequent users can be added with the
14125 following command: <xhtml:br/>
14126 <xhtml:br/>
14127 <xhtml:code># htpasswd -s passwdfile user </xhtml:code></xhtml:li>
14128 <xhtml:li>Optionally, set up a group file (if using group authentication). <xhtml:br/>
14129 <xhtml:br/>
14130 The group file is a plain text file of the following format
14131 (each group is on its own line, followed by a colon and a list of users that belong to
14132 that group, separated by spaces): <xhtml:br/>
14133 <xhtml:br/>
14134 group : user1 user2 <xhtml:br/>
14135 group2 : user3 </xhtml:li>
14136 <xhtml:li>Modify file
14137 permissions so that Apache can read the group and passwd files: <xhtml:br/>
14138 <xhtml:br/>
14139 <xhtml:code># chgrp apache passwdfile groupfile <xhtml:br/>
14140 # chmod 640 passwdfile groupfile </xhtml:code></xhtml:li>
14141 <xhtml:li>Turn on authentication for desired directories <xhtml:br/>
14142 <xhtml:br/>
14143 Add the following options inside the appropriate Directory tag: <xhtml:br/>
14144 <xhtml:br/>
14145 <xhtml:ul>
14146 <xhtml:li>For single-user authentication: <xhtml:br/>
14147 &lt;Directory "directory "&gt; <xhtml:br/>
14148 # ... AuthName "Private Data" <xhtml:br/>
14149 AuthType Basic <xhtml:br/>
14150 AuthUserFile passwdfile <xhtml:br/>
14151 require user user <xhtml:br/>
14152 # ...<xhtml:br/>
14153 &lt;/Directory&gt; </xhtml:li>
14154 <xhtml:li>For multiple-user authentication restricted by groups:<xhtml:br/>
14155 &lt;Directory "directory "&gt; <xhtml:br/>
14156 # ... <xhtml:br/>
14157 AuthName "Private Data" <xhtml:br/>
14158 AuthType Basic<xhtml:br/>
14159 <xhtml:br/>
14160 AuthUserFile passwdfile <xhtml:br/>
14161 AuthGroupFile groupfile <xhtml:br/>
14162 require group group <xhtml:br/>
14163 # ...<xhtml:br/>
14164 &lt;/Directory&gt; </xhtml:li>
14165 <xhtml:li>For multiple-user authentication restricted by valid user accounts: <xhtml:br/>
14166 <xhtml:br/>
14167 &lt;Directory "directory "&gt; <xhtml:br/>
14168 # ... <xhtml:br/>
14169 AuthName "Private Data" <xhtml:br/>
14170 AuthType Basic <xhtml:br/>
14171 AuthUserFile passwdfile <xhtml:br/>
14172 require valid-user <xhtml:br/>
14173 # ... <xhtml:br/>
14174 &lt;/Directory&gt; </xhtml:li>
14175 </xhtml:ul>
14176 </xhtml:li>
14177 </xhtml:ol>
14178 The AuthName directive specifies a label for the protected content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14179 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14180 The AuthType directive
14181 specifies the kind of authentication (if using Digest authentication, this line would
14182 instead read AuthType Digest) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14183 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14184 The AuthUserFile and AuthGroupFile directives point to the
14185 password and group files (if using Digest authentication, these directives would instead
14186 be AuthDigestFile and AuthDigestGroupFile.)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14187 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14188 The require user directive restricts access
14189 to a single user. The require group directive restricts access to multiple users in a
14190 designated group. The short-hand require valid-user directive restricts access to any
14191 user in the passwdfile <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14192 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14193 Note: Make sure the AuthUserFile and AuthGroupFile locations are
14194 outside the web server document tree to prevent remote clients from having access to
14195 restricted usernames and passwords. This guide recommends /etc/httpd/conf as a location
14196 for these files.</xccdf:description>
14197 <xccdf:warning xml:lang="en">Basic authentication is handled in plaintext over the network.
14198 Therefore, all login attempts are vulnerable to password sniffing. For increased
14199 protection against passive monitoring, encrypted authentication over a secure channel
14200 such as SSL (Section 3.16.4.1) is recommended. </xccdf:warning>
14201 </xccdf:Group>
14202 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.3.6">
14203 <xccdf:title xml:lang="en">Limit Available Methods</xccdf:title>
14204 <xccdf:description xml:lang="en">
14205 Web server methods are defined in section 9 of RFC 2616
14206 (http://www.ietf.org/rfc/rfc2616.txt). If a web server does not require the
14207 implementation of all available methods, they should be disabled. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14208 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14209 Note: GET and POST are
14210 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"/>
14211 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14212 &lt;Directory /var/www/html&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14213 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14214 # Only allow specific methods (this command is case-sensitive!) <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14215 &lt;LimitExcept GET POST&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14216 Order allow,deny<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14217 &lt;/LimitExcept&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14218 # ... <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14219 &lt;/Directory&gt;</xccdf:description>
14220 </xccdf:Group>
14221 </xccdf:Group>
14222 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4">
14223 <xccdf:title xml:lang="en">Use Appropriate Modules to Improve Apaches Security'</xccdf:title>
14224 <xccdf:description xml:lang="en">
14225 Among the modules available for Apache are several whose use may
14226 improve the security of the web server installation. This section recommends and discusses
14227 the deployment of security-relevant modules.</xccdf:description>
14228 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1">
14229 <xccdf:title xml:lang="en">Deploy mod ssl</xccdf:title>
14230 <xccdf:description xml:lang="en">
14231 Because HTTP is a plain text protocol, all traffic is
14232 susceptible to passive monitoring. If there is a need for confidentiality, SSL should be
14233 configured and enabled to encrypt content. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14234 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14235 Note: mod nss is a FIPS 140-2 certified
14236 alternative to mod ssl. The modules share a considerable amount of code and should be
14237 nearly identical in functionality. If FIPS 140-2 validation is required, then mod nss
14238 should be used. If it provides some feature or its greater compatibility is required,
14239 thenmod ssl should be used.</xccdf:description>
14240 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.1">
14241 <xccdf:title xml:lang="en">Install mod ssl</xccdf:title>
14242 <xccdf:description xml:lang="en">
14243 Install mod ssl: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14244 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14245 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># yum install mod ssl</xhtml:code></xccdf:description>
14246 </xccdf:Group>
14247 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.2">
14248 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
14249 <xccdf:description xml:lang="en">
14250 On your CA (if you are using your own) or on another
14251 physically secure system, generate a key pair for the web server: <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"># cd /etc/pki/tls/certs <xhtml:br/>
14254 # openssl genrsa -des3 -out httpserverkey.pem 2048 <xhtml:br/></xhtml:code>
14255 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14256 When prompted,
14257 enter a strong, unique passphrase to protect the web server key pair. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14258 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14259 Next, generate a Certificate Signing Request (CSR) from the key for the CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14260 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14261 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key httpserverkey.pem -out httpserver.csr <xhtml:br/></xhtml:code>
14262 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14263 Enter the passphrase for the web server key pair
14264 and then fill out the fields as completely as possible (or hit return to accept
14265 defaults); the Common Name field is especially important. It must match the
14266 fullyqualified domain name of your server exactly (e.g. www.example.com) or the
14267 certificate will not work. The /etc/pki/tls/openssl.conf file will determine which
14268 other fields (e.g. Country Name, Organization Name, etc) must match between the server
14269 request and the CA. Leave the challenge password and an optional company name blank.
14270 Next, the web server CSR must be signed to create the web server certificate. You can
14271 either send the CSR to an established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14272 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14273 To sign httpserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14274 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14275 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in httpserver.csr -out httpservercert.pem<xhtml:br/></xhtml:code>
14276 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14277 When prompted, enter the CA passphrase to continue and then complete the process. The
14278 httpservercert. pem certificate needed to enable SSL on the web server is now in the
14279 directory. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14280 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14281 Finally, the web server key and certificate file need to be moved to the
14282 web server. Use removable media if possible. Place the server key and certificate file
14283 in /etc/pki/tls/http/, naming them serverkey.pem and servercert.pem, respectively.</xccdf:description>
14284 </xccdf:Group>
14285 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.1.3">
14286 <xccdf:title xml:lang="en">Install SSL Certificate</xccdf:title>
14287 <xccdf:description xml:lang="en">
14288 Add or modify the configuration file
14289 /etc/httpd/conf.d/ssl.conf to match the following: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14290 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14291 # establish new listening port<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14292 Listen 443 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14293 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14294 # seed appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14295 SSLRandomSeed startup file:/dev/urandom 1024<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14296 SSLRandomSeed connect file:/dev/urandom 1024 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14297 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14298 &lt;VirtualHost site-on-certificate.com:443&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14299 # Enable SSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14300 SSLEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14301 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14302 # Path to server certificate + private key <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14303 SSLCertificateFile /etc/pki/tls/http/servercert.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14304 SSLCertificateKeyFile /etc/pki/tls/http/serverkey.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14305 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14306 SSLProtocol All -SSLv2 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14307 # Weak ciphers and null authentication should be denied unless absolutely necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14308 # (and even then, such cipher weakening should occur within a Location enclosure)<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14309 SSLCipherSuite HIGH:MEDIUM:!aNULL:+MD5 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14310 &lt;/VirtualHost&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14311 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14312 Ensure that all
14313 directories that house SSL content are restricted to SSL access only in
14314 /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14315 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14316 &lt;Directory /var/www/html/secure&gt; <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14317 # require SSL for access <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14318 SSLRequireSSL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14319 SSLOptions +StrictRequire <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14320 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14321 # require domain to match certificate domain <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14322 SSLRequire %{HTTP HOST} eq "site-on-certificate.com" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14323 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14324 # rather than reply with 403 error, redirect user to appropriate site <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14325 # this is OPTIONAL - uncomment to apply <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14326 # ErrorDocument 403 https://site-on-certificate.com<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14327 &lt;/Directory&gt;</xccdf:description>
14328 </xccdf:Group>
14329 </xccdf:Group>
14330 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2">
14331 <xccdf:title xml:lang="en">Deploy mod security</xccdf:title>
14332 <xccdf:description xml:lang="en">
14333 mod security provides an application level firewall for Apache.
14334 Following the installation of mod security with the base ruleset, specific configuration
14335 advice can be found at http://www.modsecurity.org/ to design a policy that best matches
14336 the security needs of the web applications.</xccdf:description>
14337 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.1">
14338 <xccdf:title xml:lang="en">Install mod security</xccdf:title>
14339 <xccdf:description xml:lang="en">
14340 Install mod security: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14341 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14342 # yum install mod_security</xccdf:description>
14343 </xccdf:Group>
14344 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.2.2">
14345 <xccdf:title xml:lang="en">Configure mod security Filtering</xccdf:title>
14346 <xccdf:description xml:lang="en">
14347 mod security supports a significant number of options, far
14348 too many to be fully covered in this guide. However, the following list comprises a
14349 smaller subset of suggested filters to be added to /etc/httpd/conf/ httpd.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14351 # enable mod_security <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14352 SecFilterEngine On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14353 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14354 # enable POST filtering <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14355 SecFilterScanPost On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14356 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14357 # Make sure that URL encoding is valid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14358 SecFilterCheckURLEncoding On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14359 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14360 # Accept almost all byte values <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14361 SecFilterForceByteRange 1 255 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14362 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14363 # Prevent directory traversal <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14364 SecFilter "\.\./" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14365 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14366 # Filter on specific system specific paths <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14367 SecFilter /etc/passwd <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14368 SecFilter /bin/ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14369 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14370 # Prevent cross-site scripting <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14371 SecFilter "&lt;[[:space:]]* script" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14372 # Prevent SQL injection <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14373 SecFilter "delete[[:space:]]+from" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14374 SecFilter "insert[[:space:]]+into"<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14375 SecFilter "select.+from"</xccdf:description>
14376 </xccdf:Group>
14377 </xccdf:Group>
14378 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.3">
14379 <xccdf:title xml:lang="en">Use Denial-of-Service Protection Modules</xccdf:title>
14380 <xccdf:description xml:lang="en">
14381 Denial-of-service attacks are difficult to detect and prevent
14382 while maintaining acceptable access to authorized users. However, there are a number of
14383 traffic-shaping modules that attempt to address the problem. Well-known DoS protection
14384 modules include: mod_throttle mod_bwshare mod_limitipconn mod_dosevasive It is
14385 recommended that denial-of-service prevention be implemented for the web server.
14386 However, this guide leaves specific configuration details to the discretion of the
14387 reader.</xccdf:description>
14388 </xccdf:Group>
14389 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4">
14390 <xccdf:title xml:lang="en">Configure Supplemental Modules Appropriately</xccdf:title>
14391 <xccdf:description xml:lang="en">Any required functionality added to the web server via additional modules should be configured appropriately.</xccdf:description>
14392 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.4.4.1">
14393 <xccdf:title xml:lang="en">Configure PHP Securely</xccdf:title>
14394 <xccdf:description xml:lang="en">
14395 PHP is a widely used and often misconfigured server-side
14396 scripting language. It should be used with caution, but configured appropriately when
14397 needed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14398 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14399 Make the following changes to /etc/php.ini: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14400 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14401 # Do not expose PHP error messages to external users <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14402 display_errors = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14403 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14404 # Enable safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14405 safe_mode = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14406 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14407 # Only allow access to executables in isolated directory <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14408 safe_mode_exec_dir = php-required-executables-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14409 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14410 # Limit external access to PHP environment<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14411 safe_mode_allowed_env_vars = PHP_ <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14412 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14413 # Restrict PHP information leakage <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14414 expose_php = Off<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14415 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14416 # Log all errors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14417 log_errors = On <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14418 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14419 # Do not register globals for input data<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14420 register_globals = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14421 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14422 # Minimize allowable PHP post size <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14423 post_max_size = 1K <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14424 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14425 # Ensure PHP redirects appropriately <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14426 cgi.force_redirect = 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14427 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14428 # Disallow uploading unless necessary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14429 file_uploads = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14430 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14431 # Disallow treatment of file requests as fopen calls<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14432 allow_url_fopen = Off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14433 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14434 # Enable SQL safe mode <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14435 sql.safe_mode = On</xccdf:description>
14436 </xccdf:Group>
14437 </xccdf:Group>
14438 </xccdf:Group>
14439 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5">
14440 <xccdf:title xml:lang="en">Configure Operating System to Protect Web Server</xccdf:title>
14441 <xccdf:description xml:lang="en">
14442 The following configuration steps should be taken on the machine
14443 which hosts the web server, in order to provide as safe an environment as possible for the
14444 web server.</xccdf:description>
14445 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.1">
14446 <xccdf:title xml:lang="en">Restrict File and Directory Access</xccdf:title>
14447 <xccdf:description xml:lang="en">
14448 Minimize access to critical Apache files and directories: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14449 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14450 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chmod 511 /usr/sbin/httpd <xhtml:br/>
14451 # chmod 750 /var/log/httpd/ <xhtml:br/>
14452 # chmod 750 /etc/httpd/conf/ <xhtml:br/>
14453 # chmod 640 /etc/httpd/conf/* <xhtml:br/>
14454 # chgrp -R apache /etc/httpd/conf</xhtml:code></xccdf:description>
14455 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.a" operator="equals" type="string">
14456 <xccdf:title>Directory permissions on /etc/httpd/conf</xccdf:title>
14457 <xccdf:description xml:lang="en">Specify directory permissions on /etc/httpd/conf</xccdf:description>
14458 <xccdf:question xml:lang="en">Specify directory permissions of /etc/httpd/conf</xccdf:question>
14459 <xccdf:value>111101000</xccdf:value>
14460 <xccdf:value selector="750">111101000</xccdf:value>
14461 <xccdf:match>^[01]+$</xccdf:match>
14462 </xccdf:Value>
14463 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.b" operator="equals" type="string">
14464 <xccdf:title>File permissions on /etc/httpd/conf/*</xccdf:title>
14465 <xccdf:description xml:lang="en">Specify file permissions on /etc/httpd/conf/*</xccdf:description>
14466 <xccdf:question xml:lang="en">Specify file permissions of /etc/httpd/conf/*</xccdf:question>
14467 <xccdf:value>110100000</xccdf:value>
14468 <xccdf:value selector="640">110100000</xccdf:value>
14469 <xccdf:match>^[01]+$</xccdf:match>
14470 </xccdf:Value>
14471 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.c" operator="equals" type="string">
14472 <xccdf:title>File permissions on /usr/sbin/httpd</xccdf:title>
14473 <xccdf:description xml:lang="en">Specify file permissions on /usr/sbin/httpd</xccdf:description>
14474 <xccdf:question xml:lang="en">Specify file permissions of /etc/sbin/httpd</xccdf:question>
14475 <xccdf:value>101001001</xccdf:value>
14476 <xccdf:value selector="511">101001001</xccdf:value>
14477 <xccdf:match>^[01]+$</xccdf:match>
14478 </xccdf:Value>
14479 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.d" operator="equals" type="string">
14480 <xccdf:title>group owner of /etc/httpd/conf/*</xccdf:title>
14481 <xccdf:description xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:description>
14482 <xccdf:question xml:lang="en">Specify group owner of /etc/httpd/conf/*</xccdf:question>
14483 <xccdf:value>apache</xccdf:value>
14484 <xccdf:value selector="apache">apache</xccdf:value>
14485 </xccdf:Value>
14486 <xccdf:Value id="xccdf_cdf_value_var-3.16.5.1.e" operator="equals" type="string">
14487 <xccdf:title>File permissions on /var/log/httpd/</xccdf:title>
14488 <xccdf:description xml:lang="en">Specify file permissions on /var/log/httpd/</xccdf:description>
14489 <xccdf:question xml:lang="en">Specify file permissions of /var/log/httpd/</xccdf:question>
14490 <xccdf:value>111101000</xccdf:value>
14491 <xccdf:value selector="750">111101000</xccdf:value>
14492 <xccdf:match>^[01]+$</xccdf:match>
14493 </xccdf:Value>
14494 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.a" selected="false" weight="10.0">
14495 <xccdf:title>Restrict permissions on /etc/httpd/conf</xccdf:title>
14496 <xccdf:description>File permissions for /etc/httpd/conf should be set correctly.</xccdf:description>
14497 <xccdf:ident system="http://cce.mitre.org">CCE-4509-6</xccdf:ident>
14498 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14499 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14500 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20326" value-id="xccdf_cdf_value_var-3.16.5.1.a"/>
14501 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20326"/>
14502 </xccdf:check>
14503 </xccdf:Rule>
14504 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.b" selected="false" weight="10.0">
14505 <xccdf:title>Restrict permissions on /etc/httpd/conf/*</xccdf:title>
14506 <xccdf:description>File permissions for /etc/httpd/conf/* should be set correctly.</xccdf:description>
14507 <xccdf:ident system="http://cce.mitre.org">CCE-4386-9</xccdf:ident>
14508 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14509 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14510 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20327" value-id="xccdf_cdf_value_var-3.16.5.1.b"/>
14511 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20327"/>
14512 </xccdf:check>
14513 </xccdf:Rule>
14514 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.c" selected="false" weight="10.0">
14515 <xccdf:title>Restrict permissions on /usr/sbin/httpd</xccdf:title>
14516 <xccdf:description>File permissions for /usr/sbin/httpd should be set correctly.</xccdf:description>
14517 <xccdf:ident system="http://cce.mitre.org">CCE-4029-5</xccdf:ident>
14518 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14519 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14520 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20328" value-id="xccdf_cdf_value_var-3.16.5.1.c"/>
14521 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20328"/>
14522 </xccdf:check>
14523 </xccdf:Rule>
14524 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.d" selected="false" weight="10.0">
14525 <xccdf:title>Restrict group access to /etc/httpd/conf/*</xccdf:title>
14526 <xccdf:description>The /etc/httpd/conf/* files should be owned by the appropriate group.</xccdf:description>
14527 <xccdf:ident system="http://cce.mitre.org">CCE-3581-6</xccdf:ident>
14528 <xccdf:fixtext>(1) via chgrp</xccdf:fixtext>
14529 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14530 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20329" value-id="xccdf_cdf_value_var-3.16.5.1.d"/>
14531 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20329"/>
14532 </xccdf:check>
14533 </xccdf:Rule>
14534 <xccdf:Rule id="xccdf_cdf_rule_rule-3.16.5.1.e" selected="false" weight="10.0">
14535 <xccdf:title>Restrict permissions on /var/log/httpd</xccdf:title>
14536 <xccdf:description>File permissions for /var/log/httpd should be set correctly.</xccdf:description>
14537 <xccdf:ident system="http://cce.mitre.org">CCE-4574-0</xccdf:ident>
14538 <xccdf:fixtext>(1) via chmod</xccdf:fixtext>
14539 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14540 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20330" value-id="xccdf_cdf_value_var-3.16.5.1.e"/>
14541 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20330"/>
14542 </xccdf:check>
14543 </xccdf:Rule>
14544 </xccdf:Group>
14545 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.2">
14546 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Web Server</xccdf:title>
14547 <xccdf:description xml:lang="en">
14548 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
14549 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"/>
14550 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14551 -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"/>
14552 -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"/>
14553 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14554 The default
14555 Iptables configuration does not allow inbound access to the HTTP (80) and HTTPS (443)
14556 ports used by the web server. This modification allows that access, while keeping other
14557 ports on the server in their default protected state. See Section 2.5.5 for more
14558 information about Iptables.</xccdf:description>
14559 </xccdf:Group>
14560 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.5.3">
14561 <xccdf:title xml:lang="en">Run Apache in a chroot Jail if Possible</xccdf:title>
14562 <xccdf:description xml:lang="en">
14563 Putting Apache in a chroot jail minimizes the damage done by a
14564 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"/>
14565 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14566 In
14567 order to configure Apache to run from a chroot directory, edit the Apache configuration
14568 file, /etc/httpd/ conf/httpd.conf, and add the directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14569 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14570 SecChrootDir /chroot/apache <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14571 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14572 It
14573 is also necessary to place all files required by Apache inside the filesystem rooted at
14574 /chroot/apache , including Apache's binaries, modules, configuration files, and served
14575 web pages. The details of this configuration are beyond the scope of this guide.</xccdf:description>
14576 </xccdf:Group>
14577 </xccdf:Group>
14578 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.16.6">
14579 <xccdf:title xml:lang="en">Additional Resources</xccdf:title>
14580 <xccdf:description xml:lang="en">
14581 Further resources should be consulted if your web server requires
14582 more extensive configuration guidance, especially if particular applications need to be
14583 secured. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14584 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14585 In particular, [26] is recommended as a more comprehensive guide to securing Apache.</xccdf:description>
14586 </xccdf:Group>
14587 </xccdf:Group>
14588 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17">
14589 <xccdf:title xml:lang="en">IMAP and POP3 Server</xccdf:title>
14590 <xccdf:description xml:lang="en">
14591 Dovecot provides IMAP and POP3 services. It is not installed by
14592 default. The project page at http://www.dovecot.org contains more detailed information
14593 about Dovecot configuration.</xccdf:description>
14594 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.1">
14595 <xccdf:title xml:lang="en">Disable Dovecot if Possible</xccdf:title>
14596 <xccdf:description xml:lang="en">
14597 If the system does not need to operate as an IMAP or POP3 server,
14598 disable and remove Dovecot if it was installed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14599 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14600 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig dovecot off <xhtml:br/>
14601 # yum erase dovecot</xhtml:code></xccdf:description>
14602 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.a" selected="false" severity="low" weight="10.0">
14603 <xccdf:title>Disable Dovecot if Possible</xccdf:title>
14604 <xccdf:description>The dovecot service should be disabled.</xccdf:description>
14605 <xccdf:ident system="http://cce.mitre.org">CCE-3847-1</xccdf:ident>
14606 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14607 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14608 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20331"/>
14609 </xccdf:check>
14610 </xccdf:Rule>
14611 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.1.b" selected="false" weight="10.0">
14612 <xccdf:title>Uninstall Dovecot if Possible</xccdf:title>
14613 <xccdf:description>The dovecot package should be uninstalled.</xccdf:description>
14614 <xccdf:ident system="http://cce.mitre.org">CCE-4239-0</xccdf:ident>
14615 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
14616 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14617 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20332"/>
14618 </xccdf:check>
14619 </xccdf:Rule>
14620 </xccdf:Group>
14621 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2">
14622 <xccdf:title xml:lang="en">Configure Dovecot if Necessary</xccdf:title>
14623 <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>
14624 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.1">
14625 <xccdf:title xml:lang="en">Support Only the Necessary Protocols</xccdf:title>
14626 <xccdf:description xml:lang="en">
14627 Edit /etc/dovecot.conf. Add or correct the following lines,
14628 replacing PROTOCOL with only the subset of protocols (imap, imaps, pop3, pop3s)
14629 required: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14630 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14631 protocols = PROTOCOL <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14632 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14633 Dovecot supports the IMAP and POP3 protocols, as well as
14634 SSL-protected versions of those protocols. Configure the Dovecot server to support only
14635 the protocols needed by your site. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14636 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14637 If possible, require SSL protection for all
14638 transactions. The SSL protocol variants listen on alternate ports (995 instead of 110
14639 for pop3s, and 993 instead of 143 for imaps), and require SSL-aware clients. An
14640 alternate approach is to listen on the standard port and require the client to use the
14641 STARTTLS command before authenticating.</xccdf:description>
14642 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.a" selected="false" weight="10.0">
14643 <xccdf:title>Dovecot should not support imaps</xccdf:title>
14644 <xccdf:description>Dovecot should be configured to not support the imaps protocol</xccdf:description>
14645 <xccdf:ident system="http://cce.mitre.org">CCE-4384-4</xccdf:ident>
14646 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14647 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14648 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20333"/>
14649 </xccdf:check>
14650 </xccdf:Rule>
14651 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.b" selected="false" weight="10.0">
14652 <xccdf:title>Dovecot should not support pop3s</xccdf:title>
14653 <xccdf:description>Dovecot should be configured to not support the pop3s protocol</xccdf:description>
14654 <xccdf:ident system="http://cce.mitre.org">CCE-3887-7</xccdf:ident>
14655 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14656 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14657 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20334"/>
14658 </xccdf:check>
14659 </xccdf:Rule>
14660 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.c" selected="false" weight="10.0">
14661 <xccdf:title>Dovecot should not support pop3</xccdf:title>
14662 <xccdf:description>Dovecot should be configured to not support the pop3 protocol</xccdf:description>
14663 <xccdf:ident system="http://cce.mitre.org">CCE-4530-2</xccdf:ident>
14664 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14665 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14666 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20335"/>
14667 </xccdf:check>
14668 </xccdf:Rule>
14669 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.1.d" selected="false" weight="10.0">
14670 <xccdf:title>Dovecot should not support imap</xccdf:title>
14671 <xccdf:description>Dovecot should be configured to not support the imap protocol</xccdf:description>
14672 <xccdf:ident system="http://cce.mitre.org">CCE-4547-6</xccdf:ident>
14673 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14674 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14675 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20336"/>
14676 </xccdf:check>
14677 </xccdf:Rule>
14678 </xccdf:Group>
14679 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2">
14680 <xccdf:title xml:lang="en">Enable SSL Support</xccdf:title>
14681 <xccdf:description xml:lang="en">
14682 SSL should be used to encrypt network traffic between the
14683 Dovecot server and its clients. Users must authenticate to the Dovecot server in order
14684 to read their mail, and passwords should never be transmitted in clear text. In
14685 addition, protecting mail as it is downloaded is a privacy measure, and clients may use
14686 SSL certificates to authenticate the server, preventing another system from
14687 impersonating the server. See Section 2.5.6 for general SSL information, including the
14688 setup of a Certificate Authority (CA).</xccdf:description>
14689 <xccdf:reference>Apache 2 with SSL/TLS: Step-by-step, Part 2. Tech. rep.</xccdf:reference>
14690 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.1">
14691 <xccdf:title xml:lang="en">Create an SSL Certificate</xccdf:title>
14692 <xccdf:description xml:lang="en">
14693 Note: The following steps should be performed on your CA
14694 system, and not on the Dovecot server itself. If you will have a commercial CA sign
14695 certificates, then these steps should be performed on a separate, physically secure
14696 system devoted to that purpose. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14697 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14698 On your CA (if you are using your own) or on another
14699 physically secure system, generate a key pair for the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14700 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14701 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># cd /etc/pki/tls/certs <xhtml:br/>
14702 # openssl genrsa -out imapserverkey.pem 2048 <xhtml:br/></xhtml:code>
14703 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14704 Next, generate a
14705 certificate signing request (CSR) for the CA to sign, making sure to enter the
14706 server's fully-qualified domain name when prompted for the Common Name: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14707 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14708 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl req -new -key imapserverkey.pem -out imapserver.csr <xhtml:br/></xhtml:code>
14709 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14710 Next, the mail server CSR must be
14711 signed to create the Dovecot server certificate. You can either send the CSR to an
14712 established CA or sign it with your CA. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14713 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14714 To sign imapserver.csr using your CA: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14715 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14716 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># openssl ca -in imapserver.csr -out imapservercert.pem <xhtml:br/></xhtml:code>
14717 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14718 This step creates a private key,
14719 imapserverkey.pem, and a public certificate, imapservercert.pem. The Dovecot server
14720 will use these to prove its identity by demonstrating that it has a certificate which
14721 has been signed by a CA. POP3 or IMAP clients at your site should only be willing to
14722 provide users' credentials to a server they can authenticate.</xccdf:description>
14723 </xccdf:Group>
14724 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.2">
14725 <xccdf:title xml:lang="en">Install the SSL Certificate</xccdf:title>
14726 <xccdf:description xml:lang="en">
14727 Create the PKI directory for POP and IMAP certificates if it
14728 does not already exist: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14729 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14730 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># mkdir /etc/pki/tls/imap <xhtml:br/>
14731 # chown root:root /etc/pki/tls/imap<xhtml:br/>
14732 # chmod 755 /etc/pki/tls/imap <xhtml:br/></xhtml:code>
14733 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14734 Using removable media or some other secure transmission
14735 format, install the files generated in the previous step onto the Dovecot server: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14736 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
14737 <xhtml:li>/etc/pki/tls/imap/serverkey.pem: the private key imapserverkey.pem</xhtml:li>
14738 <xhtml:li>/etc/pki/tls/imap/servercert.pem: the certificate file imapservercert.pem</xhtml:li>
14739 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14740 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14741 Verify thepermissions on these files: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14742 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14743 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/imap/serverkey.pem <xhtml:br/>
14744 # chown root:root /etc/pki/tls/imap/servercert.pem <xhtml:br/>
14745 # chmod 600 /etc/pki/tls/imap/serverkey.pem<xhtml:br/>
14746 # chmod 600 /etc/pki/tls/imap/servercert.pem <xhtml:br/></xhtml:code>
14747 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14748 Verify that the CA's public certificate
14749 file has been installed as /etc/pki/tls/CA/cacert.pem, and has the correct
14750 permissions: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14751 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14752 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chown root:root /etc/pki/tls/CA/cacert.pem <xhtml:br/>
14753 # chmod 644 /etc/pki/tls/CA/cacert.pem</xhtml:code></xccdf:description>
14754 </xccdf:Group>
14755 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.3">
14756 <xccdf:title xml:lang="en">Configure Dovecot to Use the SSL Certificate</xccdf:title>
14757 <xccdf:description xml:lang="en">
14758 Edit /etc/dovecot.conf and add or correct the following lines
14759 (ensuring they reference the appropriate files): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14760 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14761 ssl_cert_file = /etc/pki/tls/imap/servercert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14762 ssl_key_file = /etc/pki/tls/imap/serverkey.pem<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14763 ssl_ca_file = /etc/pki/tls/CA/cacert.pem <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14764 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14765 These options tell Dovecot where to find the
14766 TLS configuration, allowing clients to make encrypted connections.</xccdf:description>
14767 </xccdf:Group>
14768 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.2.4">
14769 <xccdf:title xml:lang="en">Disable Plaintext Authentication</xccdf:title>
14770 <xccdf:description xml:lang="en">
14771 To prevent Dovecot from attempting plaintext authentication
14772 of clients, edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14773 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14774 disable_plaintext_auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14775 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14776 The disable_plaintext_auth command disallows
14777 login-related commands until an encrypted session has been negotiated using SSL. If
14778 client compatibility requires you to allow connections to the pop3 or imap ports,
14779 rather than the alternate SSL ports, you should use this command to require STARTTLS
14780 before authentication.</xccdf:description>
14781 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.2.4.a" selected="false" weight="10.0">
14782 <xccdf:title>Disable Plaintext Authentication</xccdf:title>
14783 <xccdf:description>Dovecot plaintext authentication of clients should be disabled</xccdf:description>
14784 <xccdf:ident system="http://cce.mitre.org">CCE-4552-6</xccdf:ident>
14785 <xccdf:fixtext>(1) via /etc/dovecot.conf</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:20337"/>
14788 </xccdf:check>
14789 </xccdf:Rule>
14790 </xccdf:Group>
14791 </xccdf:Group>
14792 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.3">
14793 <xccdf:title xml:lang="en">Enable Dovecot Options to Protect Against Code Flaws</xccdf:title>
14794 <xccdf:description xml:lang="en">
14795 Edit /etc/dovecot.conf and add or correct the following line:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14796 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14797 login_process_per_connection = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14798 mail_drop_priv_before_exec = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14799 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14800 IMAP and POP3 are
14801 remote authenticated protocols, meaning that the server must accept remote connections
14802 from anyone, but provide substantial services only to clients who have successfully
14803 authenticated. To protect against security problems, Dovecot splits these functions into
14804 separate server processes. The imap-login and/or pop3-login processes accept connections
14805 from unauthenticated users, and only spawn imap or pop3 processes on successful
14806 authentication. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14807 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14808 However, the imap-login and pop3-login processes themselves may contain
14809 vulnerabilities. Since each of these processes operates as a daemon, handling multiple
14810 sequential client connections from different users, bugs in the code could allow
14811 unauthenticated users to steal credential data. If the login_process_per_connection
14812 option is enabled, then a separate imap-login or pop3-login process is created for each
14813 new connection, protecting against this class of problems. This option has an efficiency
14814 cost, but is strongly recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14815 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14816 If the mail_drop_priv_before_exec option is on, the
14817 imap-login or pop3-login process will drop privileges to the user's ID after
14818 authentication and before executing the imap or pop3 process itself. Under some very
14819 limited circumstances, this could protect against privilege escalation by authenticated
14820 users. However, if the mail executable option is used to run code before starting each
14821 user's session, it is important to drop privileges to prevent the custom code from
14822 running as root.</xccdf:description>
14823 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.a" selected="false" weight="10.0">
14824 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14825 <xccdf:description>The Dovecot option to drop privileges to user before executing mail process should be enabled</xccdf:description>
14826 <xccdf:ident system="http://cce.mitre.org">CCE-4371-1</xccdf:ident>
14827 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14828 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14829 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20338"/>
14830 </xccdf:check>
14831 </xccdf:Rule>
14832 <xccdf:Rule id="xccdf_cdf_rule_rule-3.17.2.3.b" selected="false" weight="10.0">
14833 <xccdf:title>Enable Dovecot Option mail_drop_priv_before_exec</xccdf:title>
14834 <xccdf:description>The Dovecot option to spawn a new login process per connection should be enabled</xccdf:description>
14835 <xccdf:ident system="http://cce.mitre.org">CCE-4410-7</xccdf:ident>
14836 <xccdf:fixtext>(1) via /etc/dovecot.conf</xccdf:fixtext>
14837 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14838 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20339"/>
14839 </xccdf:check>
14840 </xccdf:Rule>
14841 </xccdf:Group>
14842 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.17.2.4">
14843 <xccdf:title xml:lang="en">Allow IMAP Clients to Access the Server</xccdf:title>
14844 <xccdf:description xml:lang="en">
14845 Edit /etc/sysconfig/iptables. Add the following line, ensuring
14846 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"/>
14847 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14848 -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"/>
14849 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14850 The default
14851 iptables configuration does not allow inbound access to any services. This modification
14852 will allow remote hosts to initiate connections to the IMAP daemon, while keeping all
14853 other ports on the server in their default protected state. See Section 2.5.5 for more
14854 information about iptables.</xccdf:description>
14855 </xccdf:Group>
14856 </xccdf:Group>
14857 </xccdf:Group>
14858 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18">
14859 <xccdf:title xml:lang="en">Samba(SMB) Microsoft Windows File Sharing Server</xccdf:title>
14860 <xccdf:description xml:lang="en">
14861 When properly configured, the Samba service allows Linux machines
14862 to provide file and print sharing to Microsoft Windows machines. There are two software
14863 packages that provide Samba support. The first, samba-client, provides a series of command
14864 line tools that enable a client machine to access Samba shares. The second, simply labeled
14865 samba, provides the Samba service. It is this second package that allows a Linux machine to
14866 act as an Active Directory server, a domain controller, or as a domain member. Only the
14867 samba-client package is installed by default.</xccdf:description>
14868 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.1">
14869 <xccdf:title xml:lang="en">Disable Samba if Possible</xccdf:title>
14870 <xccdf:description xml:lang="en">
14871 If the Samba service has been enabled and will not be used, disable it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14872 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14873 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig smb off <xhtml:br/></xhtml:code>
14874 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14875 Even after the Samba server package has been installed, it
14876 will remain disabled. Do not enable this service unless it is absolutely necessary to
14877 provide Microsoft Windows file and print sharing functionality.</xccdf:description>
14878 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.1.a" selected="false" severity="medium" weight="10.0">
14879 <xccdf:title>Disable Samba if Possible</xccdf:title>
14880 <xccdf:description>The smb service should be disabled.</xccdf:description>
14881 <xccdf:ident system="http://cce.mitre.org">CCE-4551-8</xccdf:ident>
14882 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
14883 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
14884 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20340"/>
14885 </xccdf:check>
14886 </xccdf:Rule>
14887 </xccdf:Group>
14888 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2">
14889 <xccdf:title xml:lang="en">Configure Samba if Necessary</xccdf:title>
14890 <xccdf:description xml:lang="en">
14891 All settings for the Samba daemon can be found in
14892 /etc/samba/smb.conf. Settings are divided between a [global] configuration section and a
14893 series of user created share definition sections meant to describe file or print shares on
14894 the system. By default, Samba will operate in user mode and allow client machines to
14895 access local home directories and printers. It is recommended that these settings be
14896 changed or that additional limitations be set in place.</xccdf:description>
14897 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.1">
14898 <xccdf:title xml:lang="en">Testing the Samba Configuration File</xccdf:title>
14899 <xccdf:description xml:lang="en">
14900 To test the configuration file for syntax errors, use the
14901 testparm command. It will also list all settings currently in place, including defaults
14902 that may not appear in the configuration file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14903 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14904 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># testparm -v</xhtml:code></xccdf:description>
14905 </xccdf:Group>
14906 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2">
14907 <xccdf:title xml:lang="en">Choosing the Appropriate security Parameter</xccdf:title>
14908 <xccdf:description xml:lang="en">
14909 There are two kinds of security in Samba, share-level (share)
14910 and user-level. User-level security is further subdivided into four separate
14911 implementations: user, domain, ads, and server. It is recommended that the share and
14912 server security modes not be used. In share security, everyone is given the same
14913 password for each share, preventing individual user accountability. server security mode
14914 has been superseded by the domain and ads security modes. It may now be considered
14915 obsolete. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14916 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14917 The security parameter is set in the [global] section of the Samba
14918 configuration file. It determines how the server will handle user names and passwords.
14919 Some security modes require additional parameters, such as workgroup, realm, or password
14920 server names. All security modes will require that each remote user have a matching
14921 local account. One workaround to this problem is to use the winbindd daemon. Please
14922 consult the official Samba documentation to learn more.</xccdf:description>
14923 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.1">
14924 <xccdf:title xml:lang="en">Use user Security for Servers Not in a Domain Context</xccdf:title>
14925 <xccdf:description xml:lang="en">
14926 This is the default setting with a new Samba installation and
14927 the best choice when operating outside of a domain security context. The relevant
14928 parameters in /etc/samba/smb.conf will read as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14929 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14930 security = user <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14931 workgroup = MYGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14932 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14933 Set the value of workgroup so that it matches the value of other machines on
14934 the network. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14935 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14936 In user mode, authentication requests are handled locally and not passed
14937 on to a separate authentication server. This is the desired behavior for standalone
14938 servers and domain controllers.</xccdf:description>
14939 </xccdf:Group>
14940 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.2">
14941 <xccdf:title xml:lang="en">Use domain Security for Servers in a Domain Context</xccdf:title>
14942 <xccdf:description xml:lang="en">
14943 First, change the security parameter to domain.
14944 Next, set the workgroup and netbios name parameters (if necessary): <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14945 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14946 security = domain<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14947 workgroup = WORKGROUP <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14948 netbios name = NETBIOSNAME <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14949 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14950 domain mode is used for any machine
14951 that will act as a domain member server. It lets Samba know that the authentication
14952 information it needs can be found on another machine. Primary and Backup Domain
14953 Controllers host copies of this information. Samba will try to automatically determine
14954 which machine it should authenticate against on a domain network. If this detection
14955 fails, it may be necessary to specify the location manually. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14956 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14957 Unlike the Microsoft
14958 Windows implementation of the SMB standard, a Samba machine can freely change roles
14959 within a domain without requiring that the machine be reinstalled (such roles include
14960 primary and backup domain controllers, domain member servers, and ordinary domain
14961 workstations). However, there are some limitations on how each machine can fulfill
14962 each role in a mixed network.</xccdf:description>
14963 <xccdf:warning xml:lang="en">When using Samba as a Primary or Backup Domain Controller,
14964 use security = user, not security = domain. This tells Samba that the local machine is
14965 hosting the authentication backend. </xccdf:warning>
14966 </xccdf:Group>
14967 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.2.3">
14968 <xccdf:title xml:lang="en">Use ads (Active Directory Service) Security For Servers in an ADS
14969 Domain</xccdf:title>
14970 <xccdf:description xml:lang="en">
14971 Context The security mode ads enables a Samba machine to act
14972 as an ADS domain member server. Since ADS requires Kerberos, be sure to set the realm
14973 parameter appropriately and configure the local copy of Kerberos. If necessary, it is
14974 also possible to manually set the password server parameter. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14975 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14976 security = ads <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14977 realm = MY_REALM <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14978 password server = your.kerberos.server <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14979 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14980 Currently, it is possible to act as an
14981 Active Directory domain member server, but not as a domain controller. Be sure to
14982 operate in mixed mode. Native mode may not work yet in current versions of Samba.
14983 Future support for ADS should be forthcoming in Samba 4. See the Samba project web
14984 site at http://www.samba.org for more details.</xccdf:description>
14985 </xccdf:Group>
14986 </xccdf:Group>
14987 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.3">
14988 <xccdf:title xml:lang="en">Disable Guest Access and Local Login Support</xccdf:title>
14989 <xccdf:description xml:lang="en">
14990 Do not allow guest users to access local file or printer
14991 shares. In global or in each share, set the parameter guest ok to no: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14992 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14993 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14994 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14995 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
14996 It is safe to disable local login support for remote Samba users. Consider changing
14997 the add user account script to set remote user shells to /sbin/nologin.</xccdf:description>
14998 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.3.a" selected="false" weight="10.0">
14999 <xccdf:title>Disable Guest Access and Local Login Support</xccdf:title>
15000 <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>
15001 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [share] guest ok = no </xccdf:fixtext>
15002 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15003 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:203403"/>
15004 </xccdf:check>
15005 </xccdf:Rule>
15006 </xccdf:Group>
15007 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.4">
15008 <xccdf:title xml:lang="en">Disable Root Access</xccdf:title>
15009 <xccdf:description xml:lang="en">
15010 Administrators should not use administrator accounts to access
15011 Samba file and printer shares. If possible, disable the root user and the wheel
15012 administrator group: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15013 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15014 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15015 invalid users = root @wheel <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15016 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15017 If administrator accounts
15018 cannot be disabled, ensure that local machine passwords and Samba service passwords do
15019 not match. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15020 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15021 Typically, administrator access is required when Samba must create user and
15022 machine accounts and shares. Domain member servers and standalone servers may not need
15023 administrator access at all. If that is the case, add the invalid users parameter to
15024 [global] instead.</xccdf:description>
15025 </xccdf:Group>
15026 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.5">
15027 <xccdf:title xml:lang="en">Set the Allowed Authentication Negotiation Levels</xccdf:title>
15028 <xccdf:description xml:lang="en">By default, Samba will attempt to negotiate with Microsoft
15029 Windows machines to set a common communication protocol. Whenever possible, be sure to
15030 disable LANMAN authentication, as it is far weaker than the other supported protocols.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15031 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15032 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15033 client lanman auth = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15034 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15035 Newer versions of Microsoft Windows may require the use
15036 of NTLMv2. NTLMv2 is the preferred protocol for authentication, but since older machines
15037 do not support it, Samba has disabled it by default. If possible, reenable it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15038 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15039 [global]<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15040 client ntlmv2 auth = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15041 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15042 For the sake of backwards compatibility, most modern Windows
15043 machines will still allow other machines to communicate with them over weak protocols
15044 such as LANMAN. On Samba, by enabling NTLMv2, you are also disabling LANMAN and NTLMv1.
15045 If NTLMv1 is required, it is still possible to individually disable LANMAN.</xccdf:description>
15046 </xccdf:Group>
15047 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.6">
15048 <xccdf:title xml:lang="en">Let Domain Controllers Create Machine Trust Accounts On-the-Fly</xccdf:title>
15049 <xccdf:description xml:lang="en">
15050 Add or correct an add machine script entry to the [global]
15051 section of /etc/samba/smb.conf to allow Samba to dynamically create Machine Trust
15052 Accounts: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15053 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15054 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15055 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"/>
15056 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15057 Make sure that the group machines exists. If not, add it with the
15058 following command: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15059 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15060 /usr/sbin/groupadd machines <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15061 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15062 When acting as a PDC, it becomes
15063 necessary to create and store Machine Trust Accounts for each machine that joins the
15064 domain. On a Microsoft Windows PDC, this account is created with the Server Manager
15065 tool, but on a Samba PDC, two accounts must be created. The first is the local machine
15066 account, and the second is the Samba account. For security purposes, it is recommended
15067 to let Samba create these accounts on-the-fly. When Machine Trust Accounts are created
15068 manually, there is a small window of opportunity in which a rogue machine could join the
15069 domain in place of the new server.</xccdf:description>
15070 </xccdf:Group>
15071 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.7">
15072 <xccdf:title xml:lang="en">Restrict Access to the [IPC$] Share</xccdf:title>
15073 <xccdf:description xml:lang="en">
15074 Limit access to the [IPC$] share so that only machines in your
15075 network will be able to connect to it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15076 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15077 [IPC$] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15078 hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15079 hosts deny = 0.0.0.0/0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15080 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15081 The [IPC$] share allows users to anonymously fetch a list of shared
15082 resources from a server. It is intended to allow users to browse the list of available
15083 shares. It also can be used as a point of attack into a system. Disabling it completely
15084 may break some functionality, so it is recommended that you merely limit access to it
15085 instead.</xccdf:description>
15086 </xccdf:Group>
15087 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.8">
15088 <xccdf:title xml:lang="en">Restrict File Sharing</xccdf:title>
15089 <xccdf:description xml:lang="en">
15090 Only users with local user accounts will be able to log in to
15091 Samba shares by default. Shares can be limited to particular users or network addresses.
15092 Use the hosts allow and hosts deny directives accordingly, and consider setting the
15093 valid users directive to a limited subset of users or to a group of users. Separate each
15094 address, user, or user group with a space as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15095 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15096 [share] hosts allow = 192.168.1. 127.0.0.1 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15097 valid users = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15098 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15099 It is also possible to limit read and
15100 write access to particular users with the read list and write list options, though the
15101 permissions set by the system itself will override these settings. Set the read only
15102 attribute for each share to ensure that global settings will not accidentally override
15103 the individual share settings. Then, as with the valid users directive, separate each
15104 user or group of users with a space: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15105 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15106 [share] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15107 read only = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15108 write list = userone usertwo @usergroup <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15109 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15110 The Samba service is only required for sharing files and printers
15111 with Microsoft Windows workstations, and even then, other options may exist. Do not use
15112 the Samba service to share files between Unix or Linux machines.</xccdf:description>
15113 </xccdf:Group>
15114 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.9">
15115 <xccdf:title xml:lang="en">Require Server SMB Packet Signing</xccdf:title>
15116 <xccdf:description xml:lang="en">
15117 To make the server use packet signing, add the following to the [global] section of the Samba configuration
15118 file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15119 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15120 server signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15121 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15122 The Samba server should only communicate with clients who can support SMB packet signing. Packet signing
15123 can prevent man-in-the-middle attacks which modify SMB packets in transit.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15124 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15125 The Samba service is only required for sharing files and printers with Microsoft Windows workstations, and even
15126 then, other options may exist. Do not use the Samba service to share files between Unix or Linux machines.
15127 </xccdf:description>
15128 </xccdf:Group>
15129 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.10">
15130 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using smbclient</xccdf:title>
15131 <xccdf:description xml:lang="en">
15132 To require samba clients running smbclient to use packet signing, add the following to the [global] section
15133 of the Samba configuration file:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15134 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15135 client signing = mandatory<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15136 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15137 A Samba client should only communicate with servers who can support SMB packet signing. Packet signing can
15138 prevent man-in-the-middle attacks which modify SMB packets in transit.
15139 </xccdf:description>
15140 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.10.a" selected="false" weight="10.0">
15141 <xccdf:title>Require Client SMB Packet Signing, if using smbclient</xccdf:title>
15142 <xccdf:description>
15143 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
15144 prevent man-in-the-middle attacks which modify SMB packets in transit.</xccdf:description>
15145 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
15146 <xccdf:fixtext>(1) via /etc/samba/smb.conf in [global] client signing = mandatory</xccdf:fixtext>
15147 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15148 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:2034010"/>
15149 </xccdf:check>
15150 </xccdf:Rule>
15151 </xccdf:Group>
15152 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.11">
15153 <xccdf:title xml:lang="en">Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
15154 <xccdf:description xml:lang="en">
15155 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
15156 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
15157 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15158 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15159 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
15160 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
15161 packets in transit.
15162 </xccdf:description>
15163 <xccdf:Rule id="xccdf_cdf_rule_rule-3.18.2.11.a" selected="false" weight="10.0">
15164 <xccdf:title>Require Client SMB Packet Signing, if using mount.cifs</xccdf:title>
15165 <xccdf:description>
15166 Require packet signing of clients who mount Samba shares using the mount.cifs program (e.g., those who
15167 specify shares in /etc/fstab). To do so, ensure that signing options (either sec=krb5i or sec=ntlmv2i) are
15168 used.<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15169 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15170 See the mount.cifs(8) man page for more information. A Samba client should only communicate with servers
15171 who can support SMB packet signing. Packet signing can prevent man-in-the-middle attacks which modify SMB
15172 packets in transit.</xccdf:description>
15173 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
15174 <xccdf:fixtext>(1) via /etc/fstab</xccdf:fixtext>
15175 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15176 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:2034011"/>
15177 </xccdf:check>
15178 </xccdf:Rule>
15179 </xccdf:Group>
15180 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.12">
15181 <xccdf:title xml:lang="en">Restrict Printer Sharing</xccdf:title>
15182 <xccdf:description xml:lang="en">
15183 By default, Samba utilizes the CUPS printing service to enable
15184 printer sharing with Microsoft Windows workstations. If there are no printers on the
15185 local machine, or if printer sharing with Microsoft Windows is not required, disable the
15186 printer sharing capability by commenting out the following lines, found in /etc/
15187 samba/smb.conf: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15188 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15189 [global] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15190 ; load printers = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15191 ; cups options = raw <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15192 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15193 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15194 comment = All Printers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15195 path = /usr/spool/samba <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15196 browseable = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15197 guest ok = no <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15198 writable = no
15199 printable = yes <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15200 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15201 There may be other options present, but these are the only options
15202 enabled and uncommented by default. Removing the [printers] share should be enough for
15203 most users. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15204 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15205 If the Samba printer sharing capability is needed, consider disabling the
15206 Samba network browsing capability or restricting access to a particular set of users or
15207 network addresses. Set the valid users parameter to a small subset of users or restrict
15208 it to a particular group of users with the shorthand @. Separate each user or group of
15209 users with a space. For example, under the [printers] share: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15210 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15211 [printers] <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15212 valid users = user @printerusers <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15213 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15214 The CUPS service is capable of sharing printers with other Unix and
15215 Linux machines on the local network without the Samba service. The Samba service is only
15216 required when a Microsoft Windows machine needs printer access on a Unix or Linux host.</xccdf:description>
15217 </xccdf:Group>
15218 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.2.13">
15219 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Samba Server</xccdf:title>
15220 <xccdf:description xml:lang="en">
15221 Determine an appropriate network block, netwk , and network
15222 mask, mask , representing the machines on your network which should operate as clients
15223 of the Samba server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15224 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15225 Edit /etc/sysconfig/iptables. Add the following lines, ensuring
15226 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"/>
15227 -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"/>
15228 -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"/>
15229 -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"/>
15230 -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"/>
15231 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15232 The default Iptables configuration does not allow inbound access to the ports used by
15233 the Samba service. This modification allows that access, while keeping other ports on
15234 the server in their default protected state. Since these ports are frequent targets of
15235 network scanning attacks, restricting access to only the network segments which need to
15236 access the Samba server is strongly recommended. See Section 2.5.5 for more information
15237 about Iptables.</xccdf:description>
15238 </xccdf:Group>
15239 </xccdf:Group>
15240 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.18.3">
15241 <xccdf:title xml:lang="en">Avoid the Samba Web Administration Tool (SWAT)</xccdf:title>
15242 <xccdf:description xml:lang="en">
15243 SWAT is a web based configuration tool provided by the Samba team
15244 that enables both local and remote configuration management. It is not installed by
15245 default. It is recommended that SWAT not be used, as it requires the use of a Samba
15246 administrator account and sends that password in the clear over a network connection. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15247 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15248 If
15249 SWAT is absolutely required, limit access to the local machine or tunnel SWAT connections
15250 through SSL with stunnel.</xccdf:description>
15251 </xccdf:Group>
15252 </xccdf:Group>
15253 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19">
15254 <xccdf:title xml:lang="en">Proxy Server</xccdf:title>
15255 <xccdf:description xml:lang="en">
15256 A proxy server is a very desirable target for a potential adversary
15257 because much (or all) sensitive data for a given infrastructure may flow through it.
15258 Therefore, if one is required, the machine acting as a proxy server should be dedicated to
15259 that purpose alone and be stored in a physically secure location. The system's default proxy
15260 server software is Squid, and provided in an RPM package of the same name.</xccdf:description>
15261 <xccdf:reference>Galarneua, E. Security Considerations with Squid proxy server. Tech. rep., Apr 2003</xccdf:reference>
15262 <xccdf:reference>Wessels, D. Squid: The Definitive Guide. O’Reilly and Associates, Jan 2004</xccdf:reference>
15263 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.1">
15264 <xccdf:title xml:lang="en">Disable Squid if Possible</xccdf:title>
15265 <xccdf:description xml:lang="en">
15266 If Squid was installed and activated, but the system does not
15267 need to act as a proxy server, then it should be disabled and removed: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15268 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15269 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig squid off <xhtml:br/>
15270 # yum erase squid</xhtml:code></xccdf:description>
15271 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.a" selected="false" severity="low" weight="10.0">
15272 <xccdf:title>Disable Squid if Possible</xccdf:title>
15273 <xccdf:description>The squid service should be disabled.</xccdf:description>
15274 <xccdf:ident system="http://cce.mitre.org">CCE-4556-7</xccdf:ident>
15275 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
15276 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15277 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20341"/>
15278 </xccdf:check>
15279 </xccdf:Rule>
15280 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.1.b" selected="false" weight="10.0">
15281 <xccdf:title>Uninstall Squid if Possible</xccdf:title>
15282 <xccdf:description>The squid package should be uninstalled.</xccdf:description>
15283 <xccdf:ident system="http://cce.mitre.org">CCE-4076-6</xccdf:ident>
15284 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
15285 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15286 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20342"/>
15287 </xccdf:check>
15288 </xccdf:Rule>
15289 </xccdf:Group>
15290 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2">
15291 <xccdf:title xml:lang="en">Configure Squid if Necessary</xccdf:title>
15292 <xccdf:description xml:lang="en">
15293 The Squid configuration file is /etc/squid/squid.conf. The
15294 following recommendations can be applied to this file. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15295 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15296 Note: If a particular tag is not
15297 present in the configuration file, Squid falls back to the default setting (which is often
15298 illustrated by a comment).</xccdf:description>
15299 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.1">
15300 <xccdf:title xml:lang="en">Listen on Uncommon Port</xccdf:title>
15301 <xccdf:description xml:lang="en">
15302 The default listening port for the Squid service is 3128. As
15303 such, it is frequently scanned by adversaries looking for proxy servers. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15304 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15305 Select an
15306 arbitrary (but uncommon) high port to use as the Squid listening port and make the
15307 corresponding change to the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15308 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15309 http_port port <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15310 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15311 Run the following command
15312 to add a new SELinux port mapping for the service: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15313 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15314 <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>
15315 </xccdf:Group>
15316 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.2">
15317 <xccdf:title xml:lang="en">Verify Default Secure Settings</xccdf:title>
15318 <xccdf:description xml:lang="en">
15319 Several security-enhancing settings in the Squid configuration
15320 file are enabled by default, but appear as comments in the configuration file (as
15321 mentioned in Section 3.19.2). In these instances, the explicit directive is not present,
15322 which means it is implicitly enabled. If you are operating with a default configuration
15323 file, this section can be ignored. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15324 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15325 Ensure that the following security settings are NOT
15326 explicitly changed from their default values: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15327 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15328 ftp_passive on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15329 ftp_sanitycheck on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15330 check_hostnames on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15331 request_header_max_size 20 KB <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15332 reply_header_max_size 20 KB<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15333 cache_effective_user squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15334 cache_effective_group squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15335 ignore_unknown_nameservers on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15336 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15337 ftp_passive forces FTP passive connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15338 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15339 ftp_sanitycheck performs additional sanity checks on FTP data connections. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15340 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15341 check_hostnames ensures that hostnames meet RFC compliance. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15342 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15343 request_header_max_size and reply_header_max_size place an upper limit on
15344 HTTP header length, precautions against denial-of-service and buffer overflow
15345 vulnerabilities. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15346 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15347 cache_effective_user and cache_effective_group designate the EUID and
15348 EGID of Squid following initialization (it is essential that the EUID/EGID be set to an
15349 unprivileged sandbox account). <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15350 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15351 ignore_unknown_nameservers checks to make sure that DNS
15352 responses come from the same IP the request was sent to.</xccdf:description>
15353 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.d" operator="equals" type="string">
15354 <xccdf:title>request_header_max_size</xccdf:title>
15355 <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>
15356 <xccdf:question xml:lang="en">Specify an upper limit on HTTP request header length</xccdf:question>
15357 <xccdf:value>20kb</xccdf:value>
15358 <xccdf:value selector="20kb">20kb</xccdf:value>
15359 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
15360 </xccdf:Value>
15361 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.e" operator="equals" type="string">
15362 <xccdf:title>reply_header_max_size</xccdf:title>
15363 <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>
15364 <xccdf:question xml:lang="en">Specify an upper limit on HTTP reply header length</xccdf:question>
15365 <xccdf:value>20kb</xccdf:value>
15366 <xccdf:value selector="20kb">20kb</xccdf:value>
15367 <xccdf:match>^[\d][KMGkmg]?[Bb]?$</xccdf:match>
15368 </xccdf:Value>
15369 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.f" operator="equals" type="string">
15370 <xccdf:title>cache_effective_user</xccdf:title>
15371 <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>
15372 <xccdf:question xml:lang="en">Designate the EUID of Squid following initialization</xccdf:question>
15373 <xccdf:value>squid</xccdf:value>
15374 <xccdf:value selector="squid">squid</xccdf:value>
15375 </xccdf:Value>
15376 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.2.g" operator="equals" type="string">
15377 <xccdf:title>cache_effective_group</xccdf:title>
15378 <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>
15379 <xccdf:question xml:lang="en">Designate the EGID of Squid following initialization</xccdf:question>
15380 <xccdf:value>squid</xccdf:value>
15381 <xccdf:value selector="squid">squid</xccdf:value>
15382 </xccdf:Value>
15383 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.a" selected="false" weight="10.0">
15384 <xccdf:title>Verify ftp_passive setting</xccdf:title>
15385 <xccdf:description>The Squid option to force FTP passive connections should be enabled</xccdf:description>
15386 <xccdf:ident system="http://cce.mitre.org">CCE-4454-5</xccdf:ident>
15387 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15388 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15389 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20343"/>
15390 </xccdf:check>
15391 </xccdf:Rule>
15392 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.b" selected="false" weight="10.0">
15393 <xccdf:title>Verify ftp_sanitycheck setting</xccdf:title>
15394 <xccdf:description>The Squid option to perform FTP sanity checks should be enabled</xccdf:description>
15395 <xccdf:ident system="http://cce.mitre.org">CCE-4459-4</xccdf:ident>
15396 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15397 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15398 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20344"/>
15399 </xccdf:check>
15400 </xccdf:Rule>
15401 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.c" selected="false" weight="10.0">
15402 <xccdf:title>Verify check_hostnames stting</xccdf:title>
15403 <xccdf:description>The Squid option to check for RFC compliant hostnames should be enabled</xccdf:description>
15404 <xccdf:ident system="http://cce.mitre.org">CCE-4503-9</xccdf:ident>
15405 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15406 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15407 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20345"/>
15408 </xccdf:check>
15409 </xccdf:Rule>
15410 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.d" selected="false" weight="10.0">
15411 <xccdf:title>Verify request_header_max_size setting</xccdf:title>
15412 <xccdf:description>The Squid max request HTTP header length should be set to an appropriate value</xccdf:description>
15413 <xccdf:ident system="http://cce.mitre.org">CCE-4353-9</xccdf:ident>
15414 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15415 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15416 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20346" value-id="xccdf_cdf_value_var-3.19.2.2.d"/>
15417 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20346"/>
15418 </xccdf:check>
15419 </xccdf:Rule>
15420 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.e" selected="false" weight="10.0">
15421 <xccdf:title>Verify reply_header_max_size setting</xccdf:title>
15422 <xccdf:description>The Squid max reply HTTP header length should be set to an appropriate value</xccdf:description>
15423 <xccdf:ident system="http://cce.mitre.org">CCE-4419-8</xccdf:ident>
15424 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15425 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15426 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20347" value-id="xccdf_cdf_value_var-3.19.2.2.e"/>
15427 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20347"/>
15428 </xccdf:check>
15429 </xccdf:Rule>
15430 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.f" selected="false" weight="10.0">
15431 <xccdf:title>Verify cache_effective_user setting</xccdf:title>
15432 <xccdf:description>The Squid EUID should be set to an appropriate user</xccdf:description>
15433 <xccdf:ident system="http://cce.mitre.org">CCE-3692-1</xccdf:ident>
15434 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15435 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15436 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20348" value-id="xccdf_cdf_value_var-3.19.2.2.f"/>
15437 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20348"/>
15438 </xccdf:check>
15439 </xccdf:Rule>
15440 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.g" selected="false" weight="10.0">
15441 <xccdf:title>Verify cache_effective_group setting</xccdf:title>
15442 <xccdf:description>The Squid GUID should be set to an appropriate group</xccdf:description>
15443 <xccdf:ident system="http://cce.mitre.org">CCE-4476-8</xccdf:ident>
15444 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15445 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15446 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20349" value-id="xccdf_cdf_value_var-3.19.2.2.g"/>
15447 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20349"/>
15448 </xccdf:check>
15449 </xccdf:Rule>
15450 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.2.h" selected="false" weight="10.0">
15451 <xccdf:title>Verify ignore_unknown_nameservers setting</xccdf:title>
15452 <xccdf:description>The Squid option to ignore unknown nameservers should be enabled</xccdf:description>
15453 <xccdf:ident system="http://cce.mitre.org">CCE-3585-7</xccdf:ident>
15454 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15455 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15456 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20350"/>
15457 </xccdf:check>
15458 </xccdf:Rule>
15459 </xccdf:Group>
15460 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.3">
15461 <xccdf:title xml:lang="en">Change Default Insecure Settings</xccdf:title>
15462 <xccdf:description xml:lang="en">
15463 The default configuration settings for the following tags are
15464 considered to be weak security and NOT recommended. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15465 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15466 Add or modify the configuration file to include the following lines: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15467 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15468 allow_underscore off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15469 httpd_suppress_version_string on<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15470 forwarded_for off <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15471 log_mime_hdrs on <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15472 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15473 allow_underscore enforces RFC 1034 compliance on
15474 hostnames by disallowing the use of underscores. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15475 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15476 httpd_suppress_version string prevents
15477 Squid from revealing version information in web headers and error pages. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15478 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15479 forwarded_for
15480 reveals proxy client IP addresses in HTTP headers and should be disabled to prevent the
15481 leakage of internal network configuration details. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15482 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15483 log_mime_hdrs enables logging of HTTP
15484 response/request headers.</xccdf:description>
15485 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.a" operator="equals" type="string">
15486 <xccdf:title>allow_underscore</xccdf:title>
15487 <xccdf:description xml:lang="en">allow_underscore enforces RFC 1034 compliance on hostnames by disallowing the use of underscores.</xccdf:description>
15488 <xccdf:question xml:lang="en">Enable/Disable enforcing RFC 1034 compliance on hostnames</xccdf:question>
15489 <xccdf:value>off</xccdf:value>
15490 <xccdf:value selector="enabled">on</xccdf:value>
15491 <xccdf:value selector="disabled">off</xccdf:value>
15492 <xccdf:match>on|off</xccdf:match>
15493 <xccdf:choices mustMatch="1">
15494 <xccdf:choice>on</xccdf:choice>
15495 <xccdf:choice>off</xccdf:choice>
15496 </xccdf:choices>
15497 </xccdf:Value>
15498 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.b" operator="equals" type="string">
15499 <xccdf:title>httpd_suppress_version</xccdf:title>
15500 <xccdf:description xml:lang="en">httpd_suppress_version string prevents Squid from revealing version information in web headers and error pages.</xccdf:description>
15501 <xccdf:question xml:lang="en">Enable/Disable preventing squid from revealing version information in web headers and error pages</xccdf:question>
15502 <xccdf:value>on</xccdf:value>
15503 <xccdf:value selector="enabled">on</xccdf:value>
15504 <xccdf:value selector="disabled">off</xccdf:value>
15505 <xccdf:match>on|off</xccdf:match>
15506 <xccdf:choices mustMatch="1">
15507 <xccdf:choice>on</xccdf:choice>
15508 <xccdf:choice>off</xccdf:choice>
15509 </xccdf:choices>
15510 </xccdf:Value>
15511 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.c" operator="equals" type="string">
15512 <xccdf:title>forwarded_for</xccdf:title>
15513 <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>
15514 <xccdf:question xml:lang="en">Enable/Disable revealing proxy client IP addresses in HTTP headers</xccdf:question>
15515 <xccdf:value>off</xccdf:value>
15516 <xccdf:value selector="enabled">on</xccdf:value>
15517 <xccdf:value selector="disabled">off</xccdf:value>
15518 <xccdf:match>on|off</xccdf:match>
15519 <xccdf:choices mustMatch="1">
15520 <xccdf:choice>on</xccdf:choice>
15521 <xccdf:choice>off</xccdf:choice>
15522 </xccdf:choices>
15523 </xccdf:Value>
15524 <xccdf:Value id="xccdf_cdf_value_var-3.19.2.3.d" operator="equals" type="string">
15525 <xccdf:title>log_mime_hdrs</xccdf:title>
15526 <xccdf:description xml:lang="en">log_mime_hdrs enables logging of HTTP response/request headers.</xccdf:description>
15527 <xccdf:question xml:lang="en">Enable/Disable logging of HTTP response/request headers</xccdf:question>
15528 <xccdf:value>on</xccdf:value>
15529 <xccdf:value selector="enabled">on</xccdf:value>
15530 <xccdf:value selector="disabled">off</xccdf:value>
15531 <xccdf:match>on|off</xccdf:match>
15532 <xccdf:choices mustMatch="1">
15533 <xccdf:choice>on</xccdf:choice>
15534 <xccdf:choice>off</xccdf:choice>
15535 </xccdf:choices>
15536 </xccdf:Value>
15537 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.a" selected="false" weight="10.0">
15538 <xccdf:title>Check allow_underscore setting</xccdf:title>
15539 <xccdf:description>The Squid option to allow underscores in hostnames should be disabled</xccdf:description>
15540 <xccdf:ident system="http://cce.mitre.org">CCE-4344-8</xccdf:ident>
15541 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15542 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15543 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20351" value-id="xccdf_cdf_value_var-3.19.2.3.a"/>
15544 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20351"/>
15545 </xccdf:check>
15546 </xccdf:Rule>
15547 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.b" selected="false" weight="10.0">
15548 <xccdf:title>Check httpd_suppress_version setting</xccdf:title>
15549 <xccdf:description>The Squid option to suppress the httpd version string should be enabled</xccdf:description>
15550 <xccdf:ident system="http://cce.mitre.org">CCE-4494-1</xccdf:ident>
15551 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15552 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15553 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20352" value-id="xccdf_cdf_value_var-3.19.2.3.b"/>
15554 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20352"/>
15555 </xccdf:check>
15556 </xccdf:Rule>
15557 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.c" selected="false" weight="10.0">
15558 <xccdf:title>Check forwarded_for setting</xccdf:title>
15559 <xccdf:description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled</xccdf:description>
15560 <xccdf:ident system="http://cce.mitre.org">CCE-4181-4</xccdf:ident>
15561 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15562 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15563 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20353" value-id="xccdf_cdf_value_var-3.19.2.3.c"/>
15564 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20353"/>
15565 </xccdf:check>
15566 </xccdf:Rule>
15567 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.3.d" selected="false" weight="10.0">
15568 <xccdf:title>Check log_mime_hdrs setting</xccdf:title>
15569 <xccdf:description>The Squid option to log HTTP MIME headers should be enabled</xccdf:description>
15570 <xccdf:ident system="http://cce.mitre.org">CCE-4577-3</xccdf:ident>
15571 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15572 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15573 <xccdf:check-export export-name="oval:org.open-scap.f14:var:20354" value-id="xccdf_cdf_value_var-3.19.2.3.d"/>
15574 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20354"/>
15575 </xccdf:check>
15576 </xccdf:Rule>
15577 </xccdf:Group>
15578 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.4">
15579 <xccdf:title xml:lang="en">Configure Authentication if Applicable</xccdf:title>
15580 <xccdf:description xml:lang="en">
15581 Note: Authentication cannot be used in the case of transparent
15582 proxies due to limitations of the TCP/IP protocol. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15583 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15584 Similar to web servers, two of the
15585 available options are Basic and Digest authentication. The other options are NTLM and
15586 Negotiate authentication. As noted in Section 3.16.3.5, Basic authentication transmits
15587 passwords in plain-text and is susceptible to passive monitoring. If network sniffing is
15588 a concern, basic authentication should not be used. Negotiate is the newest and most
15589 secure protocol. It attempts to use Kerberos authentication and falls back to NTLM if it
15590 cannot. It should be noted that Kerberos requires a third-party Key Distribution Center
15591 (KDC) to function properly, whereas the other methods of authentication are two-party
15592 schemes. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15593 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15594 Squid also offers the ability to choose a custom external authenticator.
15595 Designating an external authenticator (also known as a 'helper' module) allows Squid to
15596 offer pluggable third-party authentication schemes. LDAP is one example of a helper
15597 module that exists and is in use today. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15598 There are comments under the auth_param tag
15599 inside /etc/squid/squid.conf that provide extensive detail on how to configure each of
15600 these methods. If authentication is necessary, choose a method of authentication and
15601 configure appropriately. The recommended minimum configurations illustrated for each
15602 method are acceptable. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15603 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15604 To force an ACL (as discussed in Section 3.19.2.5) to require
15605 authentication, use the following directive: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15606 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15607 acl name-of-ACL proxy_auth REQUIRED <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15608 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15609 Note:
15610 The keyword REQUIRED can be replaced with a user or list of users to further restrict
15611 access to a smaller subset of users.</xccdf:description>
15612 </xccdf:Group>
15613 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.5">
15614 <xccdf:title xml:lang="en">Access Control Lists (ACL)</xccdf:title>
15615 <xccdf:description xml:lang="en">
15616 The acl and http access tags are used in combination to allow filtering based on a series of
15617 access control lists. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15618 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15619 Squid has a list of default ACLs for localhost, SSL ports, and
15620 'safe' ports. Following the definition of these ACLs, a series of http access directives
15621 establish the following default filtering policy: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15622 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15623 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
15624 <xhtml:li>Allow cachemgr access only from localhost </xhtml:li>
15625 <xhtml:li>Allow access to only ports in the 'safe' access control list</xhtml:li>
15626 <xhtml:li>Limit CONNECT method to SSL ports only</xhtml:li>
15627 <xhtml:li>Allow access from localhost</xhtml:li>
15628 <xhtml:li>Deny all other requests</xhtml:li>
15629 </xhtml:ul><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15630 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15631 The
15632 default ACL policies are reasonable from a security standpoint. However, the number of
15633 ports listed as 'safe' could be significantly trimmed depending on the needs of your
15634 network. Out of the box, ports 21, 70, 80, 210, 280, 443, 488, 591, 777, and 1025
15635 through 65535 are all considered safe. Some of these ports are associated with
15636 deprecated or rarely used protocols. As such, this list could be trimmed to further
15637 tighten filtering. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15638 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15639 The following actions should be taken to tighten the ACL policies: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15640 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15641 <xhtml:ol xmlns:xhtml="http://www.w3.org/1999/xhtml">
15642 <xhtml:li>There is a filter line in the configuration file that is recommended but commented out.
15643 This line should be uncommented or added to prevent access to localhost from the proxy:<xhtml:br/>
15644 <xhtml:br/>
15645 http access deny to_localhost </xhtml:li>
15646 <xhtml:li>An access list should be setup for the specific network
15647 or networks that the proxy is intended to serve. Only this subset of IP addresses should
15648 be allowed access. <xhtml:br/>
15649 <xhtml:br/>
15650 Add these lines where the following comment appears: <xhtml:br/>
15651 <xhtml:br/>
15652 # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS <xhtml:br/>
15653 acl your-network-acl-name src ip-range <xhtml:br/>
15654 http_access allow your-network-acl-name <xhtml:br/>
15655 <xhtml:br/>
15656 Note: ip-range is of the format xxx.xxx.xxx.xxx/xx</xhtml:li>
15657 <xhtml:li>Ensure that the final http access line to appear in the document
15658 is the following: <xhtml:br/>
15659 <xhtml:br/>
15660 http_access deny all <xhtml:br/>
15661 <xhtml:br/>
15662 This guarantees that all traffic not meeting an
15663 explicit filtering rule is denied. <xhtml:br/>
15664 <xhtml:br/>
15665 Further filters should be established to meet the
15666 specific needs of a network, explicitly allowing access only where necessary.</xhtml:li>
15667 <xhtml:li>Consult
15668 the chart below. Corresponding acl entries for unused protocols should be commented out
15669 and thus denied. </xhtml:li>
15670 </xhtml:ol><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15671 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15672 <xhtml:table xmlns:xhtml="http://www.w3.org/1999/xhtml">
15673 <xhtml:thead>
15674 <xhtml:tr>
15675 <xhtml:td>Port</xhtml:td><xhtml:td>Service</xhtml:td><xhtml:td>Summary</xhtml:td><xhtml:td>Recommendation</xhtml:td>
15676 </xhtml:tr>
15677 </xhtml:thead>
15678 <xhtml:tbody>
15679 <xhtml:tr>
15680 <xhtml:td>21</xhtml:td>
15681 <xhtml:td>ftp</xhtml:td>
15682 <xhtml:td>File Transfer Protocol(FTP)
15683 is a widely used file transfer protocol. </xhtml:td>
15684 <xhtml:td>ALLOW</xhtml:td>
15685 </xhtml:tr>
15686 <xhtml:tr>
15687 <xhtml:td>70</xhtml:td>
15688 <xhtml:td>gopher</xhtml:td>
15689 <xhtml:td>The gopher protocol is a
15690 deprecated search and retrieval protocol that is almost extinct, with as few as 100
15691 gopher servers present worldwide. Support for gopher is disabled in most modern
15692 browsers. </xhtml:td>
15693 <xhtml:td>DENY</xhtml:td>
15694 </xhtml:tr>
15695 <xhtml:tr>
15696 <xhtml:td>80</xhtml:td>
15697 <xhtml:td>http</xhtml:td>
15698 <xhtml:td>A web proxy needs to allow access to HTTP traffic. </xhtml:td>
15699 <xhtml:td>ALLOW</xhtml:td>
15700 </xhtml:tr>
15701 <xhtml:tr>
15702 <xhtml:td>210</xhtml:td>
15703 <xhtml:td>wais</xhtml:td>
15704 <xhtml:td>The Wide Area Information Server port is similar to gopher, serving as a text searching
15705 system to scour indexes on remote machines. Today, it is deprecated and nearly
15706 non-existent on the Internet. </xhtml:td>
15707 <xhtml:td>DENY</xhtml:td>
15708 </xhtml:tr>
15709 <xhtml:tr>
15710 <xhtml:td>280</xhtml:td>
15711 <xhtml:td>http-mgmt</xhtml:td>
15712 <xhtml:td>No documentation of any kind could be
15713 found on the obscure service that resides on this port. </xhtml:td>
15714 <xhtml:td>DENY</xhtml:td>
15715 </xhtml:tr>
15716 <xhtml:tr>
15717 <xhtml:td>443</xhtml:td>
15718 <xhtml:td>https</xhtml:td>
15719 <xhtml:td>SSL traffic is
15720 likely (and recommended) for any proxy and should be allowed. </xhtml:td>
15721 <xhtml:td>ALLOW</xhtml:td>
15722 </xhtml:tr>
15723 <xhtml:tr>
15724 <xhtml:td>488</xhtml:td>
15725 <xhtml:td>gss-http</xhtml:td>
15726 <xhtml:td>No
15727 documentation of any kind could be found on the obscure service that resides on this
15728 port. </xhtml:td>
15729 <xhtml:td>DENY</xhtml:td>
15730 </xhtml:tr>
15731 <xhtml:tr>
15732 <xhtml:td>591</xhtml:td>
15733 <xhtml:td>filemaker</xhtml:td>
15734 <xhtml:td>Filemaker is a database application originally offered by Apple
15735 in the 1980s. Although development continues and it remains in use today, it should be
15736 disabled if your network does not require such traffic. </xhtml:td>
15737 <xhtml:td>DENY</xhtml:td>
15738 </xhtml:tr>
15739 <xhtml:tr>
15740 <xhtml:td>777</xhtml:td>
15741 <xhtml:td>multiling http</xhtml:td>
15742 <xhtml:td>No documentation of any kind could be found on
15743 the obscure service that resides on this port</xhtml:td>
15744 <xhtml:td>DENY</xhtml:td>
15745 </xhtml:tr>
15746 <xhtml:tr>
15747 <xhtml:td>1025-65535</xhtml:td>
15748 <xhtml:td>unregistered ports http</xhtml:td>
15749 <xhtml:td>unregistered
15750 ports Random high ports are used by a variety of applications and should be allowed.</xhtml:td>
15751 <xhtml:td>ALLOW</xhtml:td>
15752 </xhtml:tr>
15753 </xhtml:tbody>
15754 </xhtml:table></xccdf:description>
15755 <xccdf:warning xml:lang="en">Be very careful with the order of access control tags. Access
15756 control is handled top-down. The first rule that matches is the only rule adhered to.
15757 The last rule on the list defines the default behavior in the case of no rule match. </xccdf:warning>
15758 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.a" selected="false" weight="10.0">
15759 <xccdf:title>Restrict gss-http traffic</xccdf:title>
15760 <xccdf:description>Squid should be configured to not allow gss-http traffic</xccdf:description>
15761 <xccdf:ident system="http://cce.mitre.org">CCE-4511-2</xccdf:ident>
15762 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15763 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15764 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20355"/>
15765 </xccdf:check>
15766 </xccdf:Rule>
15767 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.b" selected="false" weight="10.0">
15768 <xccdf:title>Restrict https traffic</xccdf:title>
15769 <xccdf:description>Squid should be configured to not allow https traffic</xccdf:description>
15770 <xccdf:ident system="http://cce.mitre.org">CCE-4529-4</xccdf:ident>
15771 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15772 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15773 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20356"/>
15774 </xccdf:check>
15775 </xccdf:Rule>
15776 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.c" selected="false" weight="10.0">
15777 <xccdf:title>Restrict wais traffic</xccdf:title>
15778 <xccdf:description>Squid should be configured to not allow wais traffic</xccdf:description>
15779 <xccdf:ident system="http://cce.mitre.org">CCE-3610-3</xccdf:ident>
15780 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15781 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15782 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20357"/>
15783 </xccdf:check>
15784 </xccdf:Rule>
15785 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.d" selected="false" weight="10.0">
15786 <xccdf:title>Restrict multiling http traffic</xccdf:title>
15787 <xccdf:description>Squid should be configured to not allow multiling http traffic</xccdf:description>
15788 <xccdf:ident system="http://cce.mitre.org">CCE-4466-9</xccdf:ident>
15789 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15790 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15791 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20358"/>
15792 </xccdf:check>
15793 </xccdf:Rule>
15794 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.e" selected="false" weight="10.0">
15795 <xccdf:title>Restrict http traffic</xccdf:title>
15796 <xccdf:description>Squid should be configured to not allow http traffic</xccdf:description>
15797 <xccdf:ident system="http://cce.mitre.org">CCE-4607-8</xccdf:ident>
15798 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15799 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15800 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20359"/>
15801 </xccdf:check>
15802 </xccdf:Rule>
15803 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.f" selected="false" weight="10.0">
15804 <xccdf:title>Restrict ftp traffic</xccdf:title>
15805 <xccdf:description>Squid should be configured to not allow ftp traffic</xccdf:description>
15806 <xccdf:ident system="http://cce.mitre.org">CCE-4255-6</xccdf:ident>
15807 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15808 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15809 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20360"/>
15810 </xccdf:check>
15811 </xccdf:Rule>
15812 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.g" selected="false" weight="10.0">
15813 <xccdf:title>Restrict gopher traffic</xccdf:title>
15814 <xccdf:description>Squid should be configured to not allow gopher traffic</xccdf:description>
15815 <xccdf:ident system="http://cce.mitre.org">CCE-4127-7</xccdf:ident>
15816 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15817 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15818 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20361"/>
15819 </xccdf:check>
15820 </xccdf:Rule>
15821 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.h" selected="false" weight="10.0">
15822 <xccdf:title>Restrict filemaker traffic</xccdf:title>
15823 <xccdf:description>Squid should be configured to not allow filemaker traffic</xccdf:description>
15824 <xccdf:ident system="http://cce.mitre.org">CCE-4519-5</xccdf:ident>
15825 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15826 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15827 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20362"/>
15828 </xccdf:check>
15829 </xccdf:Rule>
15830 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.i" selected="false" weight="10.0">
15831 <xccdf:title>Restrict proxy access to localhost </xccdf:title>
15832 <xccdf:description>Squid proxy access to localhost should be denied</xccdf:description>
15833 <xccdf:ident system="http://cce.mitre.org">CCE-4413-1</xccdf:ident>
15834 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15835 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15836 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20363"/>
15837 </xccdf:check>
15838 </xccdf:Rule>
15839 <xccdf:Rule id="xccdf_cdf_rule_rule-3.19.2.5.j" selected="false" weight="10.0">
15840 <xccdf:title>Restrict http-mgmt traffic</xccdf:title>
15841 <xccdf:description>Squid should be configured to not allow http-mgmt traffic</xccdf:description>
15842 <xccdf:ident system="http://cce.mitre.org">CCE-4373-7</xccdf:ident>
15843 <xccdf:fixtext>(1) via /etc/squid/squid.conf</xccdf:fixtext>
15844 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15845 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20364"/>
15846 </xccdf:check>
15847 </xccdf:Rule>
15848 </xccdf:Group>
15849 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.6">
15850 <xccdf:title xml:lang="en">Configure Internet Cache Protocol (ICP) if Necessary</xccdf:title>
15851 <xccdf:description xml:lang="en">
15852 The ICP protocol is a cache communication protocol that allows
15853 multiple Squid servers to communicate. The ICP protocol was designed with no security in
15854 mind, relying on user-defined access control lists alone to determine which ICP messages
15855 to allow. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15856 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15857 If a Squid server is standalone, the ICP port should be disabled by adding or
15858 correcting the following line in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15859 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15860 icp_port 0 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15861 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15862 If the Squid server
15863 is meant to speak with peers, strict ACLs should be established to only allow ICP
15864 traffic from trusted neighbors. To accomplish this, add or correct the following lines:<xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15865 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15866 icp_access allow acl-defining-trusted-neighbors <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15867 icp_access deny all</xccdf:description>
15868 </xccdf:Group>
15869 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.7">
15870 <xccdf:title xml:lang="en">Configure iptables to Allow Access to the Proxy Server</xccdf:title>
15871 <xccdf:description xml:lang="en">
15872 Determine an appropriate network block, netwk , and network
15873 mask, mask , representing the machines on your network which should operate as clients
15874 of the proxy server. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15875 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15876 Edit /etc/sysconfig/iptables. Add the following line, ensuring that
15877 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"/>
15878 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15879 -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"/>
15880 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15881 For port , use either the default 3128 or the alternate port was selected in Section
15882 3.19.2.1. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15883 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15884 The default Iptables configuration does not allow inbound access to the Squid
15885 proxy service. This modification allows that access, while keeping other ports on the
15886 server in their default protected state. See Section 2.5.5 for more information about
15887 Iptables.</xccdf:description>
15888 </xccdf:Group>
15889 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.8">
15890 <xccdf:title xml:lang="en">Forward Log Messages to Syslog Daemon</xccdf:title>
15891 <xccdf:description xml:lang="en">
15892 The default behavior of Squid is to record its log messages in
15893 /var/log/squid.log. This behavior can be supplemented so that Squid also sends messages
15894 to syslog as well. This is useful for centralizing log data, particularly in instances
15895 where multiple Squid servers are present. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15896 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15897 Squid provides a command line argument to
15898 enable syslog forwarding. Modify the SQUID OPTS line in /etc/init.d/squid to include the
15899 -s option: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15900 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15901 SQUID_OPTS="${SQUID_OPTS:-"-D"} -s"</xccdf:description>
15902 </xccdf:Group>
15903 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9">
15904 <xccdf:title xml:lang="en">Do Not Run as Root</xccdf:title>
15905 <xccdf:description xml:lang="en">
15906 Since Squid is loaded by the system's service utility, it
15907 starts as root and then changes its effective UID to the UID specified by the cache
15908 effective user directive. However, since it was still executed by root, the program
15909 maintains a saved UID of root even after changing its effective UID. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15910 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15911 To prevent this
15912 undesired behavior, Squid must either be configured to run in a chroot environment or it
15913 must be executed by a non-privileged user in non-daemon mode (the service utility must
15914 not be used).</xccdf:description>
15915 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.1">
15916 <xccdf:title xml:lang="en">Run Squid in a chroot Jail</xccdf:title>
15917 <xccdf:description xml:lang="en">
15918 Chrooting Squid can be a very complicated task. Documentation
15919 for the process is vague and a great deal of trial and error may be required to
15920 determine all the files that need to be transitioned over to the chroot environment.
15921 Therefore, this guide recommends instead the method detailed in Section 3.19.2.9.2 to
15922 lower privileges. If chrooting Squid is still desired, it can be enabled with the
15923 following directive in the configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15924 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15925 chroot chroot-path <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15926 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15927 Then, all the
15928 necessary files used by Squid must be copied into the chroot-path directory. The
15929 specifics of this step cannot be covered in this guide because they are highly
15930 dependent on the external programs used in the Squid configuration. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15931 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15932 Note: The strace
15933 utility is a valuable resource for discovering the files needed for the chroot
15934 environment.</xccdf:description>
15935 </xccdf:Group>
15936 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.19.2.9.2">
15937 <xccdf:title xml:lang="en">Modify Service Entry to Lower Privileges</xccdf:title>
15938 <xccdf:description xml:lang="en">T
15939 he following modification to /etc/init.d/squid forces the
15940 service utility to execute Squid as the squid user instead of the root user: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15941 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15942 # determine the name of the squid binary <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15943 [ -f /usr/sbin/squid ] &amp;&amp; SQUID="sudo -u squid squid" <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15944 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15945 Making this change prevents Squid from writing its pid to
15946 /var/run. This pid file is used by service to check to see if the program started
15947 successfully. Therefore, a new location must be chosen for this pid file that the
15948 squid user has access to, and the corresponding references in /etc/init.d/squid must
15949 be altered to point to it. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15950 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15951 Make the following modification to the Squid configuration file: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15952 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15953 pid_filename /var/spool/squid/squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15954 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15955 Edit the file /etc/init.d/squid by
15956 changing all occurrences of /var/run/squid.pid to /var/spool/squid/ squid.pid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15957 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15958 Also modify the following line in /etc/init.d/squid: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15959 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15960 [ $RETVAL -eq 0 ] &amp;&amp; touch /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15961 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15962 and add the following lines immediately after it: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15963 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15964 rm -f /var/lock/subsys/squid <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15965 status squid</xccdf:description>
15966 </xccdf:Group>
15967 </xccdf:Group>
15968 </xccdf:Group>
15969 </xccdf:Group>
15970 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20">
15971 <xccdf:title xml:lang="en">SNMP Server</xccdf:title>
15972 <xccdf:description xml:lang="en">
15973 The Simple Network Management Protocol allows administrators to
15974 monitor the state of network devices, including computers. Older versions of SNMP were
15975 well-known for weak security, such as plaintext transmission of the community string (used
15976 for authentication) and also usage of easily-guessable choices for community string.</xccdf:description>
15977 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.1">
15978 <xccdf:title xml:lang="en">Disable SNMP Server if Possible</xccdf:title>
15979 <xccdf:description xml:lang="en">
15980 The system includes an SNMP daemon that allows for its remote
15981 monitoring, though it not installed by default. If it was installed and activated, it is
15982 important that the software be disabled and removed. <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15983 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15984 If there is not a mission-critical
15985 need for hosts at this site to be remotely monitored by a SNMP tool, then disable and
15986 remove SNMP as follows: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15987 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
15988 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml"># chkconfig snmpd off <xhtml:br/>
15989 # yum erase net-snmpd</xhtml:code></xccdf:description>
15990 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.a" selected="false" severity="medium" weight="10.0">
15991 <xccdf:title>Disable snmpd if Possible</xccdf:title>
15992 <xccdf:description>The snmpd service should be disabled.</xccdf:description>
15993 <xccdf:ident system="http://cce.mitre.org">CCE-3765-5</xccdf:ident>
15994 <xccdf:fixtext>(1) via chkconfig</xccdf:fixtext>
15995 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
15996 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20365"/>
15997 </xccdf:check>
15998 </xccdf:Rule>
15999 <xccdf:Rule id="xccdf_cdf_rule_rule-3.20.1.b" selected="false" weight="10.0">
16000 <xccdf:title>Uninstall net-snmp if Possible</xccdf:title>
16001 <xccdf:description>The net-snmp package should be uninstalled.</xccdf:description>
16002 <xccdf:ident system="http://cce.mitre.org">CCE-4404-0</xccdf:ident>
16003 <xccdf:fixtext>(1) via yum</xccdf:fixtext>
16004 <xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
16005 <xccdf:check-content-ref href="scap-fedora14-oval.xml" name="oval:org.open-scap.f14:def:20366"/>
16006 </xccdf:check>
16007 </xccdf:Rule>
16008 </xccdf:Group>
16009 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2">
16010 <xccdf:title xml:lang="en">Configure SNMP Server if Necessary</xccdf:title>
16011 <xccdf:description xml:lang="en">
16012 If it is necessary to run the snmpd agent on the system, some
16013 best practices should be followed to minimize the security risk from the installation. The
16014 multiple security models implemented by SNMP cannot be fully covered here so only the
16015 following general configuration advice can be offered: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16016 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16017 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
16018 <xhtml:li>use only SNMP version 3 security
16019 models and enable the use of authentication and encryption for those </xhtml:li>
16020 <xhtml:li>write access to the
16021 MIB (Management Information Base) should be allowed only if necessary </xhtml:li>
16022 <xhtml:li>all access to the
16023 MIB should be restricted following a principle of least privilege </xhtml:li>
16024 <xhtml:li>network access should
16025 be limited to the maximum extent possible including restricting to expected network
16026 addresses both in the configuration files and in the system firewall rules </xhtml:li>
16027 <xhtml:li>ensure SNMP
16028 agents send traps only to, and accept SNMP queries only from, authorized management
16029 stations </xhtml:li>
16030 <xhtml:li>ensure that permissions on the snmpd.conf configuration file (by default, in
16031 /etc/snmp) are 640 or more restrictive </xhtml:li>
16032 <xhtml:li>ensure that any MIB files' permissions are also
16033 640 or more restrictive</xhtml:li>
16034 </xhtml:ul></xccdf:description>
16035 <xccdf:Group hidden="false" id="xccdf_cdf_group_group-3.20.2.1">
16036 <xccdf:title xml:lang="en">Further Resources</xccdf:title>
16037 <xccdf:description xml:lang="en">
16038 The following resources provide more detailed information about the SNMP software: <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16039 <xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
16040 <xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml">
16041 <xhtml:li>The CERT SNMP Vulnerabilities FAQ at http://www.cert.org/tech
16042 tips/snmp faq.html </xhtml:li>
16043 <xhtml:li>The Net-SNMP project web page at http://net-snmp.sourceforge.net </xhtml:li>
16044 <xhtml:li>The snmp config(5) man page </xhtml:li>
16045 <xhtml:li>the snmpd.conf(5) man page</xhtml:li>
16046 </xhtml:ul>
16047 </xccdf:description>
16048 </xccdf:Group>
16049 </xccdf:Group>
16050 </xccdf:Group>
16051 </xccdf:Group>
16052 </xccdf:Benchmark></ds:component><ds:component id="scap_org.open-scap_comp_scap-fedora14-oval.xml" timestamp="2012-07-20T12:22:58"><oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
16053 <generator>
16054 <oval:product_name>vim, emacs</oval:product_name>
16055 <oval:schema_version>5.5</oval:schema_version>
16056 <oval:timestamp>2010-08-30T12:00:00-04:00</oval:timestamp>
16057 </generator>
16058 <definitions>
16059 <definition class="compliance" id="oval:org.open-scap.f14:def:20000" version="1">
16060 <metadata>
16061 <title>Ensure that /tmp has its own partition or logical volume</title>
16062 <reference ref_id="TBD" source="CCE"/>
16063 <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>
16064 </metadata>
16065 <criteria>
16066 <criterion comment="Check in /etc/fstab for a /tmp mount point" test_ref="oval:org.open-scap.f14:tst:20000"/>
16067 </criteria>
16068 </definition>
16069 <definition class="compliance" id="oval:org.open-scap.f14:def:20001" version="1">
16070 <metadata>
16071 <title>Ensure that /tmp is of adequate size</title>
16072 <reference ref_id="TBD" source="CCE"/>
16073 <description>Because software may need to use /tmp to temporarily store large files, ensure that it is of adequate size.</description>
16074 </metadata>
16075 <criteria>
16076 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16077 </criteria>
16078 </definition>
16079 <definition class="compliance" id="oval:org.open-scap.f14:def:20002" version="1">
16080 <metadata>
16081 <title>Ensure that /var has its own partition or logical volume</title>
16082 <reference ref_id="TBD" source="CCE"/>
16083 <description>The /var directory is used by daemons and other system
16084 services to store frequently-changing data. It is not uncommon for the /var directory
16085 to contain world-writable directories, installed by other software packages.
16086 Ensure that /var has its own partition or logical volume.</description>
16087 </metadata>
16088 <criteria>
16089 <criterion comment="Check in /etc/fstab for a /var mount point" test_ref="oval:org.open-scap.f14:tst:20002"/>
16090 </criteria>
16091 </definition>
16092 <definition class="compliance" id="oval:org.open-scap.f14:def:20003" version="1">
16093 <metadata>
16094 <title>Ensure that /var is of adequate size</title>
16095 <reference ref_id="TBD" source="CCE"/>
16096 <description>Because the yum package manager and other software uses /var to temporarily store
16097 large files, ensure that it is of adequate size. For a modern, general-purpose system,
16098 10GB should be adequate.</description>
16099 </metadata>
16100 <criteria>
16101 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16102 </criteria>
16103 </definition>
16104 <definition class="compliance" id="oval:org.open-scap.f14:def:20004" version="1">
16105 <metadata>
16106 <title>Ensure that /var/log has its own partition or logical volum</title>
16107 <reference ref_id="TBD" source="CCE"/>
16108 <description>System logs are stored in the /var/log directory. Ensure that it has its own partition or logical volume.</description>
16109 </metadata>
16110 <criteria>
16111 <criterion comment="Check in /etc/fstab for a /var/log mount point" test_ref="oval:org.open-scap.f14:tst:20004"/>
16112 </criteria>
16113 </definition>
16114 <definition class="compliance" id="oval:org.open-scap.f14:def:20005" version="1">
16115 <metadata>
16116 <title>Ensure that /var/log/audit has its own partition or logical volume</title>
16117 <reference ref_id="TBD" source="CCE"/>
16118 <description>Audit logs are stored in the /var/log/audit directory.
16119 Ensure that it has its own partition or logical volume. Make absolutely certain
16120 that it is large enough to store all audit logs that will be created by the auditing
16121 daemon.</description>
16122 </metadata>
16123 <criteria>
16124 <criterion comment="Check in /etc/fstab for a /var/log/audit mount point" test_ref="oval:org.open-scap.f14:tst:20005"/>
16125 </criteria>
16126 </definition>
16127 <definition class="compliance" id="oval:org.open-scap.f14:def:20006" version="1">
16128 <metadata>
16129 <title>Ensure that /home has its own partition or logical volume</title>
16130 <reference ref_id="TBD" source="CCE"/>
16131 <description>If user home directories will be stored locally, create a separate
16132 partition for /home. If /home will be mounted from another system such as an NFS server, then
16133 creating a separate partition is not necessary at this time, and the mountpoint can
16134 instead be configured later.</description>
16135 </metadata>
16136 <criteria>
16137 <criterion comment="Check in /etc/fstab for a /home mount point" test_ref="oval:org.open-scap.f14:tst:20006"/>
16138 </criteria>
16139 </definition>
16140 <definition class="compliance" id="oval:org.open-scap.f14:def:200065" version="1">
16141 <metadata>
16142 <title>Ensure that GPG Key for Fedora is installed</title>
16143 <reference ref_id="TBD" source="CCE"/>
16144 <description>The GPG key should be installed.</description>
16145 </metadata>
16146 <criteria>
16147 <criterion comment="check gpg signature" test_ref="oval:org.open-scap.f14:tst:200065"/>
16148 </criteria>
16149 </definition>
16150 <definition class="compliance" id="oval:org.open-scap.f14:def:20008" version="1">
16151 <metadata>
16152 <title>yum-updatesd service should be disabled</title>
16153 <reference ref_id="CCE-4218-4" source="CCE"/>
16154 <description>The yum-updatesd service should be disabled</description>
16155 </metadata>
16156 <criteria>
16157 <criterion comment="check that yum-updatesd service is disabled" test_ref="oval:org.open-scap.f14:tst:20008"/>
16158 </criteria>
16159 </definition>
16160 <definition class="compliance" id="oval:org.open-scap.f14:def:20009" version="1">
16161 <metadata>
16162 <title>Automatic Update Retrieval should be scheduled with Cron</title>
16163 <reference ref_id="TBD" source="CCE"/>
16164 <description>Place the yum.cron script somewhere in /etc/cron.*/</description>
16165 </metadata>
16166 <criteria>
16167 <criterion comment="check for existence of yum.cron" test_ref="oval:org.open-scap.f14:tst:20009"/>
16168 </criteria>
16169 </definition>
16170 <definition class="compliance" id="oval:org.open-scap.f14:def:20010" version="1">
16171 <metadata>
16172 <title>Ensure gpgcheck is Globally Activated</title>
16173 <reference ref_id="TBD" source="CCE"/>
16174 <description>The gpgcheck option should be used to ensure that checking of an RPM package’s signature always occurs prior
16175 to its installation./</description>
16176 </metadata>
16177 <criteria>
16178 <criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20010"/>
16179 </criteria>
16180 </definition>
16181 <definition class="compliance" id="oval:org.open-scap.f14:def:20011" version="1">
16182 <metadata>
16183 <title>Ensure Package Signature Checking is Not Disabled For Any Repos</title>
16184 <reference ref_id="TBD" source="CCE"/>
16185 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
16186 appear in any repo configuration files in /etc/yum.repos.d or elsewhere</description>
16187 </metadata>
16188 <criteria>
16189 <criterion comment="check value of gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20011"/>
16190 </criteria>
16191 </definition>
16192 <definition class="compliance" id="oval:org.open-scap.f14:def:20012" version="1">
16193 <metadata>
16194 <title>Ensure Repodata Signature Checking is Globally Activated</title>
16195 <reference ref_id="TBD" source="CCE"/>
16196 <description>The repo_gpgcheck option should be used to ensure that checking of a signature on repodata is performed prior
16197 to using it.</description>
16198 </metadata>
16199 <criteria>
16200 <criterion comment="check value of repo_gpgcheck in /etc/yum.conf" test_ref="oval:org.open-scap.f14:tst:20012"/>
16201 </criteria>
16202 </definition>
16203 <definition class="compliance" id="oval:org.open-scap.f14:def:20013" version="1">
16204 <metadata>
16205 <title>Ensure Repodata Signature Checking is Not Disabled For Any Repos</title>
16206 <reference ref_id="TBD" source="CCE"/>
16207 <description>To ensure that signature checking is not disabled for any repos, ensure that the following line DOES NOT
16208 appear in any repo configuration files in /etc/yum.repos.d or elsewhere:</description>
16209 </metadata>
16210 <criteria>
16211 <criterion comment="check value of repo_gpgcheck=0 in /etc/yum.repos.d/*" negate="true" test_ref="oval:org.open-scap.f14:tst:20013"/>
16212 </criteria>
16213 </definition>
16214 <definition class="compliance" id="oval:org.open-scap.f14:def:20014" version="1">
16215 <metadata>
16216 <title>Install AIDE</title>
16217 <reference ref_id="CCE-4209-3" source="CCE"/>
16218 <description>The AIDE package should be installed</description>
16219 </metadata>
16220 <criteria>
16221 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20014"/>
16222 </criteria>
16223 </definition>
16224 <definition class="compliance" id="oval:org.open-scap.f14:def:20015" version="1">
16225 <metadata>
16226 <title>Run AIDE periodically</title>
16227 <reference ref_id="CCE-4209-3" source="CCE"/>
16228 <description>&gt;Setup cron to run AIDE periodically using cron.</description>
16229 </metadata>
16230 <criteria>
16231 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:22"/>
16232 </criteria>
16233 </definition>
16234 <definition class="compliance" id="oval:org.open-scap.f14:def:200155" version="1">
16235 <metadata>
16236 <title>Verify Package Integrity Using RPM</title>
16237 <reference ref_id="CCE-4209-3" source="CCE"/>
16238 <description>&gt;Verify the integrity of installed packages by comparing the installed files with
16239 information about the files taken from the package metadata stored in the RPM
16240 database.</description>
16241 </metadata>
16242 <criteria>
16243 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16244 </criteria>
16245 </definition>
16246 <definition class="compliance" id="oval:org.open-scap.f14:def:20016" version="1">
16247 <metadata>
16248 <title>Add nodev Option to Non-Root Local Partitions</title>
16249 <reference ref_id="CCE-4249-9" source="CCE"/>
16250 <description>The nodev option should be enabled for all non-root partitions.</description>
16251 </metadata>
16252 <criteria>
16253 <criterion comment="Check options for nodev in /etc/fstab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:20016"/>
16254 <criterion comment="Check options for nodev in /etc/mtab for all non-root partitions" test_ref="oval:org.open-scap.f14:tst:200162"/>
16255 </criteria>
16256 </definition>
16257 <definition class="compliance" id="oval:org.open-scap.f14:def:20017" version="1">
16258 <metadata>
16259 <title>Add nodev Option to Removable Media Partitions</title>
16260 <reference ref_id="CCE-3522-0" source="CCE"/>
16261 <description>The nodev option should be enabled for all removable media.</description>
16262 </metadata>
16263 <criteria>
16264 <!-- TODO create a udev rule and make sure it is present -->
16265 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16266 </criteria>
16267 </definition>
16268 <definition class="compliance" id="oval:org.open-scap.f14:def:20018" version="1">
16269 <metadata>
16270 <title>Add noexec Option to Removable Media Partitions</title>
16271 <reference ref_id="CCE-4275-4" source="CCE"/>
16272 <description>The noexec option should be enabled for all removable media.</description>
16273 </metadata>
16274 <criteria>
16275 <!-- TODO create a udev rule and make sure it is present -->
16276 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16277 </criteria>
16278 </definition>
16279 <definition class="compliance" id="oval:org.open-scap.f14:def:20019" version="1">
16280 <metadata>
16281 <title>Add nosuid Option to Removable Media Partitions</title>
16282 <reference ref_id="CCE-4042-8" source="CCE"/>
16283 <description>The nosuid option should be enabled for all removable media.</description>
16284 </metadata>
16285 <criteria>
16286 <!-- TODO create a udev rule and make sure it is present -->
16287 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16288 </criteria>
16289 </definition>
16290 <definition class="compliance" id="oval:org.open-scap.f14:def:20020" version="1">
16291 <metadata>
16292 <title>Restrict Console Device Access</title>
16293 <reference ref_id="CCE-3685-5" source="CCE"/>
16294 <description>Console device ownership should be restricted to root-only as appropriate.</description>
16295 </metadata>
16296 <criteria>
16297 <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"/>
16298 </criteria>
16299 </definition>
16300 <definition class="compliance" id="oval:org.open-scap.f14:def:20021" version="1">
16301 <metadata>
16302 <title>Disable Modprobe Loading of USB Storage Driver</title>
16303 <reference ref_id="CCE-4187-1" source="CCE"/>
16304 <description>The USB device support module should not be loaded</description>
16305 </metadata>
16306 <criteria>
16307 <criterion comment="check the usb storage support" test_ref="oval:org.open-scap.f14:tst:20021"/>
16308 </criteria>
16309 </definition>
16310 <definition class="compliance" id="oval:org.open-scap.f14:def:20022" version="1">
16311 <metadata>
16312 <title>Remove USB Storage Driver</title>
16313 <reference ref_id="CCE-4006-3" source="CCE"/>
16314 <description>The USB device support module should not be installed.</description>
16315 </metadata>
16316 <criteria>
16317 <criterion comment="Check if The USB device support module is not installed" test_ref="oval:org.open-scap.f14:tst:20022"/>
16318 </criteria>
16319 </definition>
16320 <definition class="compliance" id="oval:org.open-scap.f14:def:20023" version="1">
16321 <metadata>
16322 <title>Disable Kernel Support for USB via Bootloader Configuration</title>
16323 <reference ref_id="CCE-4173-1" source="CCE"/>
16324 <description>USB kernel support should be disabled.</description>
16325 </metadata>
16326 <criteria>
16327 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20023"/>
16328 </criteria>
16329 </definition>
16330 <definition class="compliance" id="oval:org.open-scap.f14:def:20024" version="1">
16331 <metadata>
16332 <title>Disable Booting from USB Devices in the BIOS</title>
16333 <reference ref_id="CCE-3944-6" source="CCE"/>
16334 <description>The ability to boot from USB devices should be disabled</description>
16335 </metadata>
16336 <criteria>
16337 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
16338 </criteria>
16339 </definition>
16340 <definition class="compliance" id="oval:org.open-scap.f14:def:20025" version="1">
16341 <metadata>
16342 <title>Disable the Automounter if Possible</title>
16343 <reference ref_id="CCE-4072-5" source="CCE"/>
16344 <description>The autofs service is disabled.</description>
16345 </metadata>
16346 <criteria>
16347 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20025"/>
16348 </criteria>
16349 </definition>
16350 <definition class="compliance" id="oval:org.open-scap.f14:def:20026" version="1">
16351 <metadata>
16352 <title>Disable GNOME Automounting if Possible</title>
16353 <reference ref_id="CCE-4231-7" source="CCE"/>
16354 <description>The GNOME automounter (gnome-volume-manager) should be disabled</description>
16355 </metadata>
16356 <criteria>
16357 <criterion comment="XMLFile test" test_ref="oval:org.open-scap.f14:tst:20026"/>
16358 </criteria>
16359 </definition>
16360 <definition class="compliance" id="oval:org.open-scap.f14:def:20027" version="1">
16361 <metadata>
16362 <title>Disable Mounting of cramfs</title>
16363 <reference ref_id="CCE-4231-7" source="CCE"/>
16364 <description>prevents usage of this uncommon filesystems.</description>
16365 </metadata>
16366 <criteria>
16367 <criterion comment="check for cramfs" test_ref="oval:org.open-scap.f14:tst:20027"/>
16368 </criteria>
16369 </definition>
16370 <definition class="compliance" id="oval:org.open-scap.f14:def:20028" version="1">
16371 <metadata>
16372 <title>Disable Mounting of freevxfs</title>
16373 <reference ref_id="CCE-4231-7" source="CCE"/>
16374 <description>prevents usage of this uncommon filesystems.</description>
16375 </metadata>
16376 <criteria>
16377 <criterion comment="check for freevxfs" test_ref="oval:org.open-scap.f14:tst:20028"/>
16378 </criteria>
16379 </definition>
16380 <definition class="compliance" id="oval:org.open-scap.f14:def:20029" version="1">
16381 <metadata>
16382 <title>Disable Mounting of jffs2</title>
16383 <reference ref_id="CCE-4231-7" source="CCE"/>
16384 <description>prevents usage of this uncommon filesystems.</description>
16385 </metadata>
16386 <criteria>
16387 <criterion comment="check for jffs2" test_ref="oval:org.open-scap.f14:tst:20029"/>
16388 </criteria>
16389 </definition>
16390 <definition class="compliance" id="oval:org.open-scap.f14:def:20030" version="1">
16391 <metadata>
16392 <title>Disable Mounting of hfs</title>
16393 <reference ref_id="CCE-4231-7" source="CCE"/>
16394 <description>prevents usage of this uncommon filesystems.</description>
16395 </metadata>
16396 <criteria>
16397 <criterion comment="check for hfs" test_ref="oval:org.open-scap.f14:tst:20030"/>
16398 </criteria>
16399 </definition>
16400 <definition class="compliance" id="oval:org.open-scap.f14:def:20031" version="1">
16401 <metadata>
16402 <title>Disable Mounting of hfsplus</title>
16403 <reference ref_id="CCE-4231-7" source="CCE"/>
16404 <description>prevents usage of this uncommon filesystems.</description>
16405 </metadata>
16406 <criteria>
16407 <criterion comment="check for hfsplus" test_ref="oval:org.open-scap.f14:tst:20031"/>
16408 </criteria>
16409 </definition>
16410 <definition class="compliance" id="oval:org.open-scap.f14:def:20032" version="1">
16411 <metadata>
16412 <title>Disable Mounting of squashfs</title>
16413 <reference ref_id="CCE-4231-7" source="CCE"/>
16414 <description>prevents usage of this uncommon filesystems.</description>
16415 </metadata>
16416 <criteria>
16417 <criterion comment="check for squashfs" test_ref="oval:org.open-scap.f14:tst:20032"/>
16418 </criteria>
16419 </definition>
16420 <definition class="compliance" id="oval:org.open-scap.f14:def:20033" version="1">
16421 <metadata>
16422 <title>Disable Mounting of udf</title>
16423 <reference ref_id="CCE-4231-7" source="CCE"/>
16424 <description>prevents usage of this uncommon filesystems.</description>
16425 </metadata>
16426 <criteria>
16427 <criterion comment="check for udf" test_ref="oval:org.open-scap.f14:tst:20033"/>
16428 </criteria>
16429 </definition>
16430 <definition class="compliance" id="oval:org.open-scap.f14:def:20034" version="1">
16431 <metadata>
16432 <title>Verify user who owns 'shadow' file</title>
16433 <reference ref_id="CCE-3918-0" source="CCE"/>
16434 <description>The /etc/shadow file should be owned by the appropriate user.</description>
16435 </metadata>
16436 <criteria>
16437 <criterion comment="Check file ownership of /etc/shadow" test_ref="oval:org.open-scap.f14:tst:20034"/>
16438 </criteria>
16439 </definition>
16440 <definition class="compliance" id="oval:org.open-scap.f14:def:20035" version="1">
16441 <metadata>
16442 <title>Verify group who owns 'shadow' file</title>
16443 <reference ref_id="CCE-3988-3" source="CCE"/>
16444 <description>The /etc/shadow file should be owned by the appropriate group.</description>
16445 </metadata>
16446 <criteria>
16447 <criterion test_ref="oval:org.open-scap.f14:tst:20035"/>
16448 </criteria>
16449 </definition>
16450 <definition class="compliance" id="oval:org.open-scap.f14:def:20036" version="1">
16451 <metadata>
16452 <title>Verify user who owns 'group' file</title>
16453 <reference ref_id="CCE-3276-3" source="CCE"/>
16454 <description>The /etc/group file should be owned by the appropriate user.</description>
16455 </metadata>
16456 <criteria>
16457 <criterion test_ref="oval:org.open-scap.f14:tst:20036"/>
16458 </criteria>
16459 </definition>
16460 <definition class="compliance" id="oval:org.open-scap.f14:def:20037" version="1">
16461 <metadata>
16462 <title>Verify group who owns 'group' file</title>
16463 <reference ref_id="CCE-3883-6" source="CCE"/>
16464 <description>The /etc/group file should be owned by the appropriate group.</description>
16465 </metadata>
16466 <criteria>
16467 <criterion test_ref="oval:org.open-scap.f14:tst:20037"/>
16468 </criteria>
16469 </definition>
16470 <definition class="compliance" id="oval:org.open-scap.f14:def:20038" version="1">
16471 <metadata>
16472 <title>Verify user who owns 'gshadow' file</title>
16473 <reference ref_id="CCE-4210-1" source="CCE"/>
16474 <description>The /etc/gshadow file should be owned by the appropriate user.</description>
16475 </metadata>
16476 <criteria>
16477 <criterion test_ref="oval:org.open-scap.f14:tst:20038"/>
16478 </criteria>
16479 </definition>
16480 <definition class="compliance" id="oval:org.open-scap.f14:def:20039" version="1">
16481 <metadata>
16482 <title>Verify group who owns 'gshadow' file</title>
16483 <reference ref_id="CCE-4064-2" source="CCE"/>
16484 <description>The /etc/gshadow file should be owned by the appropriate group.</description>
16485 </metadata>
16486 <criteria>
16487 <criterion test_ref="oval:org.open-scap.f14:tst:20039"/>
16488 </criteria>
16489 </definition>
16490 <definition class="compliance" id="oval:org.open-scap.f14:def:20040" version="1">
16491 <metadata>
16492 <title>Verify user who owns 'passwd' file</title>
16493 <reference ref_id="CCE-3958-6" source="CCE"/>
16494 <description>The /etc/passwd file should be owned by the appropriate user.</description>
16495 </metadata>
16496 <criteria>
16497 <criterion test_ref="oval:org.open-scap.f14:tst:20040"/>
16498 </criteria>
16499 </definition>
16500 <definition class="compliance" id="oval:org.open-scap.f14:def:20041" version="1">
16501 <metadata>
16502 <title>Verify group who owns 'passwd' file</title>
16503 <reference ref_id="CCE-3495-9" source="CCE"/>
16504 <description>The /etc/passwd file should be owned by the appropriate group.</description>
16505 </metadata>
16506 <criteria>
16507 <criterion test_ref="oval:org.open-scap.f14:tst:20041"/>
16508 </criteria>
16509 </definition>
16510 <definition class="compliance" id="oval:org.open-scap.f14:def:20042" version="1">
16511 <metadata>
16512 <title>Verify permissions on 'shadow' file</title>
16513 <reference ref_id="CCE-4130-1" source="CCE"/>
16514 <description>File permissions for /etc/shadow should be set correctly.</description>
16515 </metadata>
16516 <criteria>
16517 <criterion test_ref="oval:org.open-scap.f14:tst:20042"/>
16518 </criteria>
16519 </definition>
16520 <definition class="compliance" id="oval:org.open-scap.f14:def:20043" version="1">
16521 <metadata>
16522 <title>Verify permissions on 'group' file</title>
16523 <reference ref_id="CCE-3967-7" source="CCE"/>
16524 <description>File permissions for /etc/group should be set correctly.</description>
16525 </metadata>
16526 <criteria>
16527 <criterion test_ref="oval:org.open-scap.f14:tst:20043"/>
16528 </criteria>
16529 </definition>
16530 <definition class="compliance" id="oval:org.open-scap.f14:def:20044" version="1">
16531 <metadata>
16532 <title>Verify permissions on 'gshadow' file</title>
16533 <reference ref_id="CCE-3932-1" source="CCE"/>
16534 <description>File permissions for /etc/gshadow should be set correctly.</description>
16535 </metadata>
16536 <criteria>
16537 <criterion test_ref="oval:org.open-scap.f14:tst:20044"/>
16538 </criteria>
16539 </definition>
16540 <definition class="compliance" id="oval:org.open-scap.f14:def:20045" version="1">
16541 <metadata>
16542 <title>Verify permissions on 'passwd' file</title>
16543 <reference ref_id="CCE-3566-7" source="CCE"/>
16544 <description>File permissions for /etc/passwd should be set correctly.</description>
16545 </metadata>
16546 <criteria>
16547 <criterion test_ref="oval:org.open-scap.f14:tst:20045"/>
16548 </criteria>
16549 </definition>
16550 <definition class="compliance" id="oval:org.open-scap.f14:def:20046" version="1">
16551 <metadata>
16552 <title>Verify that All World-Writable Directories Have Sticky Bits Set</title>
16553 <reference ref_id="CCE-3399-3" source="CCE"/>
16554 <description>The sticky bit should be set for all world-writable directories.</description>
16555 </metadata>
16556 <criteria>
16557 <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"/>
16558 </criteria>
16559 </definition>
16560 <definition class="compliance" id="oval:org.open-scap.f14:def:20047" version="1">
16561 <metadata>
16562 <title>Find Unauthorized World-Writable Files</title>
16563 <reference ref_id="CCE-3795-2" source="CCE"/>
16564 <description>The world-write permission should be disabled for all files.</description>
16565 </metadata>
16566 <criteria>
16567 <!-- Need a way to add exceptions to a list somehow -->
16568 <criterion comment="Check all files and make sure they are not world writable" negate="true" test_ref="oval:org.open-scap.f14:tst:20047"/>
16569 </criteria>
16570 </definition>
16571 <definition class="compliance" id="oval:org.open-scap.f14:def:20048" version="1">
16572 <metadata>
16573 <title>Find Unauthorized SGID System Executables</title>
16574 <reference ref_id="CCE-4178-0" source="CCE"/>
16575 <description>The sgid bit should be not set for all executable files.</description>
16576 </metadata>
16577 <criteria>
16578 <criterion comment="Check that there are no unexpected files with sgid bit set" test_ref="oval:org.open-scap.f14:tst:20048"/>
16579 </criteria>
16580 </definition>
16581 <definition class="compliance" id="oval:org.open-scap.f14:def:20049" version="1">
16582 <metadata>
16583 <title>Find Unauthorized SUID System Executables</title>
16584 <reference ref_id="CCE-3324-1" source="CCE"/>
16585 <description>The suid bit should be not set for all files.</description>
16586 </metadata>
16587 <criteria>
16588 <criterion comment="Check that there are no unexpected files with suid bit set" test_ref="oval:org.open-scap.f14:tst:20049"/>
16589 </criteria>
16590 </definition>
16591 <definition class="compliance" id="oval:org.open-scap.f14:def:20050" version="1">
16592 <metadata>
16593 <title>Find files unowned by a user</title>
16594 <reference ref_id="CCE-4223-4" source="CCE"/>
16595 <description>All files should be owned by a user</description>
16596 </metadata>
16597 <criteria>
16598 <criterion comment="Check all files and make sure they are owned by a user" test_ref="oval:org.open-scap.f14:tst:20050"/>
16599 </criteria>
16600 </definition>
16601 <definition class="compliance" id="oval:org.open-scap.f14:def:20051" version="1">
16602 <metadata>
16603 <title>Find files unowned by a group</title>
16604 <reference ref_id="CCE-3573-3" source="CCE"/>
16605 <description>All files should be owned by a group</description>
16606 </metadata>
16607 <criteria>
16608 <criterion comment="Check all files and make sure they are owned by a group" test_ref="oval:org.open-scap.f14:tst:20051"/>
16609 </criteria>
16610 </definition>
16611 <definition class="compliance" id="oval:org.open-scap.f14:def:20052" version="1">
16612 <metadata>
16613 <title>Find world writable directories not owned by a system account</title>
16614 <reference ref_id="TBD" source="CCE"/>
16615 <description>All world writable directories should be owned by a system user</description>
16616 </metadata>
16617 <criteria>
16618 <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"/>
16619 </criteria>
16620 </definition>
16621 <definition class="compliance" id="oval:org.open-scap.f14:def:20053" version="1">
16622 <metadata>
16623 <title>Set Daemon umask</title>
16624 <reference ref_id="CCE-4220-0" source="CCE"/>
16625 <description>The daemon umask should be set as appropriate</description>
16626 </metadata>
16627 <criteria>
16628 <criterion test_ref="oval:org.open-scap.f14:tst:20053"/>
16629 </criteria>
16630 </definition>
16631 <definition class="compliance" id="oval:org.open-scap.f14:def:20055" version="1">
16632 <metadata>
16633 <title>Disable Core Dumps</title>
16634 <reference ref_id="CCE-4225-9" source="CCE"/>
16635 <description>Core dumps for all users should be disabled</description>
16636 </metadata>
16637 <criteria>
16638 <criterion comment="Are core dumps disabled" test_ref="oval:org.open-scap.f14:tst:20055"/>
16639 </criteria>
16640 </definition>
16641 <definition class="compliance" id="oval:org.open-scap.f14:def:20056" version="1">
16642 <metadata>
16643 <title>Disable Core Dumps for setuid programs</title>
16644 <reference ref_id="CCE-4247-3" source="CCE"/>
16645 <description>Core dumps for setuid programs should be disabled</description>
16646 </metadata>
16647 <criteria>
16648 <criterion comment="Are core dumps for setuid programs disabled?" test_ref="oval:org.open-scap.f14:tst:20056"/>
16649 </criteria>
16650 </definition>
16651 <definition class="compliance" id="oval:org.open-scap.f14:def:20057" version="1">
16652 <metadata>
16653 <title>Enable ExecShield</title>
16654 <reference ref_id="CCE-4168-1" source="CCE"/>
16655 <description>ExecShield should be enabled</description>
16656 </metadata>
16657 <criteria>
16658 <criterion comment="Is execshield enabled" test_ref="oval:org.open-scap.f14:tst:20057"/>
16659 </criteria>
16660 </definition>
16661 <definition class="compliance" id="oval:org.open-scap.f14:def:20058" version="1">
16662 <metadata>
16663 <title>Enable ExecShield randomized placement of virtual memory regions</title>
16664 <reference ref_id="CCE-4146-7" source="CCE"/>
16665 <description>ExecShield randomized placement of virtual memory regions should be enabled</description>
16666 </metadata>
16667 <criteria>
16668 <criterion comment="check ExecShield randomized placement of virtual memory regions" test_ref="oval:org.open-scap.f14:tst:20058"/>
16669 </criteria>
16670 </definition>
16671 <definition class="compliance" id="oval:org.open-scap.f14:def:20060" version="1">
16672 <metadata>
16673 <title>Enable XD/NX processor support in the BIOS</title>
16674 <reference ref_id="CCE-4177-2" source="CCE"/>
16675 <description>The XD/NX processor feature should be enabled in the BIOS</description>
16676 </metadata>
16677 <criteria>
16678 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20060"/>
16679 </criteria>
16680 </definition>
16681 <definition class="compliance" id="oval:org.open-scap.f14:def:20061" version="1">
16682 <metadata>
16683 <title>Restrict Root Logins to System Console</title>
16684 <reference ref_id="CCE-3820-8" source="CCE"/>
16685 <description>Logins through the specified virtual console interface should be enabled</description>
16686 </metadata>
16687 <criteria>
16688 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20061"/>
16689 </criteria>
16690 </definition>
16691 <definition class="compliance" id="oval:org.open-scap.f14:def:20062" version="1">
16692 <metadata>
16693 <title>Restrict Root Logins to System Console</title>
16694 <reference ref_id="CCE-3485-0" source="CCE"/>
16695 <description>Logins through the specified virtual console device should be enabled</description>
16696 </metadata>
16697 <criteria>
16698 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20062"/>
16699 </criteria>
16700 </definition>
16701 <definition class="compliance" id="oval:org.open-scap.f14:def:20063" version="1">
16702 <metadata>
16703 <title>Restrict Root Logins to System Console</title>
16704 <reference ref_id="CCE-4111-1" source="CCE"/>
16705 <description>Logins through the primary console device should be disabled</description>
16706 </metadata>
16707 <criteria>
16708 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20063"/>
16709 </criteria>
16710 </definition>
16711 <definition class="compliance" id="oval:org.open-scap.f14:def:20064" version="1">
16712 <metadata>
16713 <title>Restrict Root Logins to System Console</title>
16714 <reference ref_id="CCE-4256-4" source="CCE"/>
16715 <description>Login prompts on serial ports should be disabled.</description>
16716 </metadata>
16717 <criteria>
16718 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20064"/>
16719 </criteria>
16720 </definition>
16721 <definition class="compliance" id="oval:org.open-scap.f14:def:20065" version="1">
16722 <metadata>
16723 <title>Limit su Access to the wheel group</title>
16724 <description>The wheel group should exist</description>
16725 </metadata>
16726 <criteria>
16727 <criterion comment="Does wheel group exist" test_ref="oval:org.open-scap.f14:tst:20065"/>
16728 </criteria>
16729 </definition>
16730 <definition class="compliance" id="oval:org.open-scap.f14:def:20066" version="1">
16731 <metadata>
16732 <title>Limit command Access to the Root Account</title>
16733 <description>Command access to the root account should be restricted to the wheel group.</description>
16734 </metadata>
16735 <criteria>
16736 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20066"/>
16737 </criteria>
16738 </definition>
16739 <definition class="compliance" id="oval:org.open-scap.f14:def:20067" version="1">
16740 <metadata>
16741 <title>Configure sudo to Improve Auditing of Root Access</title>
16742 <reference ref_id="CCE-4044-4" source="CCE"/>
16743 <description>Sudo privileges should be granted to the wheel group</description>
16744 </metadata>
16745 <criteria>
16746 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20067"/>
16747 </criteria>
16748 </definition>
16749 <definition class="compliance" id="oval:org.open-scap.f14:def:20068" version="1">
16750 <metadata>
16751 <title>Block Shell and Login Access for Non-Root System Accounts</title>
16752 <reference ref_id="CCE-3987-5" source="CCE"/>
16753 <description>Login access to non-root system accounts should be disabled</description>
16754 </metadata>
16755 <criteria>
16756 <criterion comment="check /etc/passwd for /sbin/nologin on non root system accounts" negate="true" test_ref="oval:org.open-scap.f14:tst:20068"/>
16757 </criteria>
16758 </definition>
16759 <definition class="compliance" id="oval:org.open-scap.f14:def:20069" version="1">
16760 <metadata>
16761 <title>Verify that No Accounts Have Empty Password Fields</title>
16762 <reference ref_id="CCE-4238-2" source="CCE"/>
16763 <description>Login access to accounts without passwords should be disabled</description>
16764 </metadata>
16765 <criteria>
16766 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20069"/>
16767 </criteria>
16768 </definition>
16769 <definition class="compliance" id="oval:org.open-scap.f14:def:200695" version="1">
16770 <metadata>
16771 <title>Verify that All Account Password Hashes are Shadowed</title>
16772 <reference ref_id="CCE-4238-2" source="CCE"/>
16773 <description>Check that passwords are shadowed</description>
16774 </metadata>
16775 <criteria>
16776 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:200695"/>
16777 </criteria>
16778 </definition>
16779 <definition class="compliance" id="oval:org.open-scap.f14:def:20070" version="1">
16780 <metadata>
16781 <title>Verify that No Non-Root Accounts Have UID 0</title>
16782 <reference ref_id="CCE-4009-7" source="CCE"/>
16783 <description>Anonymous root logins are disabled</description>
16784 </metadata>
16785 <criteria>
16786 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20070"/>
16787 </criteria>
16788 </definition>
16789 <definition class="compliance" id="oval:org.open-scap.f14:def:20071" version="1">
16790 <metadata>
16791 <title>Set Password Expiration Parameters</title>
16792 <reference ref_id="CCE-4154-1" source="CCE"/>
16793 <description>The password minimum length should be set appropriately</description>
16794 </metadata>
16795 <criteria>
16796 <criterion test_ref="oval:org.open-scap.f14:tst:20071"/>
16797 </criteria>
16798 </definition>
16799 <definition class="compliance" id="oval:org.open-scap.f14:def:20072" version="1">
16800 <metadata>
16801 <title>Set Password Expiration Parameters</title>
16802 <reference ref_id="CCE-4180-6" source="CCE"/>
16803 <description>The "minimum password age" policy should meet minimum requirements. </description>
16804 </metadata>
16805 <criteria>
16806 <criterion test_ref="oval:org.open-scap.f14:tst:20072"/>
16807 </criteria>
16808 </definition>
16809 <definition class="compliance" id="oval:org.open-scap.f14:def:20073" version="1">
16810 <metadata>
16811 <title>Set Password Expiration Parameters</title>
16812 <reference ref_id="CCE-4092-3" source="CCE"/>
16813 <description>The "maximum password age" policy should meet minimum requirements. </description>
16814 </metadata>
16815 <criteria>
16816 <criterion test_ref="oval:org.open-scap.f14:tst:20073"/>
16817 </criteria>
16818 </definition>
16819 <definition class="compliance" id="oval:org.open-scap.f14:def:20074" version="1">
16820 <metadata>
16821 <title>Set Password Expiration Parameters</title>
16822 <reference ref_id="CCE-4097-2" source="CCE"/>
16823 <description>The password warn age should be set appropriately</description>
16824 </metadata>
16825 <criteria>
16826 <criterion test_ref="oval:org.open-scap.f14:tst:20074"/>
16827 </criteria>
16828 </definition>
16829 <definition class="compliance" id="oval:org.open-scap.f14:def:20075" version="1">
16830 <metadata>
16831 <title>Remove Legacy + Entries from Password Files</title>
16832 <description>NIS file inclusions should be set appropriately in the /etc/shadow file</description>
16833 </metadata>
16834 <criteria>
16835 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20075"/>
16836 </criteria>
16837 </definition>
16838 <definition class="compliance" id="oval:org.open-scap.f14:def:20076" version="1">
16839 <metadata>
16840 <title>Remove Legacy + Entries from Password Files</title>
16841 <description>NIS file inclusions should be set appropriately in the /etc/group file</description>
16842 </metadata>
16843 <criteria>
16844 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20076"/>
16845 </criteria>
16846 </definition>
16847 <definition class="compliance" id="oval:org.open-scap.f14:def:20077" version="1">
16848 <metadata>
16849 <title>Remove Legacy + Entries from Password Files</title>
16850 <reference ref_id="CCE-4114-5" source="CCE"/>
16851 <description>NIS file inclusions should be set appropriately in the /etc/passwd file</description>
16852 </metadata>
16853 <criteria>
16854 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20077"/>
16855 </criteria>
16856 </definition>
16857 <definition class="compliance" id="oval:org.open-scap.f14:def:20078" version="1">
16858 <metadata>
16859 <title>Set Password Quality Requirements</title>
16860 <reference ref_id="CCE-3762-2" source="CCE"/>
16861 <description>The password strength should meet minimum requirements using pam_cracklib</description>
16862 </metadata>
16863 <criteria comment="Conditions for retry, minlen, dcredit, ucredit, ocredit, lcredit and difok are satisfied" operator="AND">
16864 <criterion comment="Test retry" test_ref="oval:org.open-scap.f14:tst:200781"/>
16865 <criterion comment="Test minlen" test_ref="oval:org.open-scap.f14:tst:200782"/>
16866 <criterion comment="Test dcredit" test_ref="oval:org.open-scap.f14:tst:200783"/>
16867 <criterion comment="Test ucredit" test_ref="oval:org.open-scap.f14:tst:200784"/>
16868 <criterion comment="Test ocredit" test_ref="oval:org.open-scap.f14:tst:200785"/>
16869 <criterion comment="Test lcredit" test_ref="oval:org.open-scap.f14:tst:200786"/>
16870 <criterion comment="Test difok" test_ref="oval:org.open-scap.f14:tst:200787"/>
16871 </criteria>
16872 </definition>
16873 <definition class="compliance" id="oval:org.open-scap.f14:def:20079" version="1">
16874 <metadata>
16875 <title>Set Password Quality Requirements</title>
16876 <reference ref_id="CCE-3762-2" source="CCE"/>
16877 <description>The password strength should meet minimum requirements using pam_passwdqc</description>
16878 </metadata>
16879 <criteria>
16880 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20079"/>
16881 </criteria>
16882 </definition>
16883 <definition class="compliance" id="oval:org.open-scap.f14:def:20080" version="1">
16884 <metadata>
16885 <title>Set Lockouts for Failed Password Attempts</title>
16886 <reference ref_id="CCE-3410-8" source="CCE"/>
16887 <description>The "account lockout threshold" policy should meet minimum requirements.</description>
16888 </metadata>
16889 <criteria>
16890 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16891 <criteria comment="unlock_time is not present">
16892 <criterion comment="check unlock_time is 0" test_ref="oval:org.open-scap.f14:tst:200800"/>
16893 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16894 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16895 <criterion comment="check system-auth pam_tally2 excluding unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16896 </criteria>
16897 </criteria>
16898 <criteria comment="unlock_time is present">
16899 <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"/>
16900 <criteria comment="check that pam_tally2 authorization module is configured correctly" operator="OR">
16901 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008011"/>
16902 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008012"/>
16903 <criterion comment="check system-auth pam_tally2 including unlock_time" test_ref="oval:org.open-scap.f14:tst:2008013"/>
16904 </criteria>
16905 </criteria>
16906 </criteria>
16907 <criterion comment="check that pam_tally2 account module is configured correctly" test_ref="oval:org.open-scap.f14:tst:200803"/>
16908 </criteria>
16909 </definition>
16910 <definition class="compliance" id="oval:org.open-scap.f14:def:200805" version="1">
16911 <metadata>
16912 <title>Do not leak information on authorization failure</title>
16913 <reference ref_id="TBD" source="CCE"/>
16914 <description>Authorization failures should not alert attackers as to what went wrong.</description>
16915 </metadata>
16916 <criteria>
16917 <criterion comment="Unknown test stub (use required instead of sufficient)" test_ref="oval:org.open-scap.f14:tst:200805"/>
16918 </criteria>
16919 </definition>
16920 <definition class="compliance" id="oval:org.open-scap.f14:def:200806" version="1">
16921 <metadata>
16922 <title>Do not log authorization failures and successes</title>
16923 <reference ref_id="TBD" source="CCE"/>
16924 <description>Remove pam_succeed_if module with quiet option and remove auth pam_deny line.</description>
16925 </metadata>
16926 <criteria>
16927 <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"/>
16928 <criterion comment="Unknown test stub (check that pam_deny is not there)" test_ref="oval:org.open-scap.f14:tst:2008062"/>
16929 </criteria>
16930 </definition>
16931 <definition class="compliance" id="oval:org.open-scap.f14:def:20081" version="1">
16932 <metadata>
16933 <title>Restrict Execution of userhelper to Console Users</title>
16934 <reference ref_id="CCE-4185-5" source="CCE"/>
16935 <description>The /usr/sbin/userhelper file should be owned by the appropriate group.</description>
16936 </metadata>
16937 <criteria operator="AND">
16938 <criterion comment="test group owner of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20081"/>
16939 <criterion comment="test group existence" test_ref="oval:org.open-scap.f14:tst:200811"/>
16940 </criteria>
16941 </definition>
16942 <definition class="compliance" id="oval:org.open-scap.f14:def:20082" version="1">
16943 <metadata>
16944 <title>Restrict Execution of userhelper to Console Users</title>
16945 <reference ref_id="CCE-3952-9" source="CCE"/>
16946 <description>File permissions for /usr/sbin/userhelper should be set correctly.</description>
16947 </metadata>
16948 <criteria>
16949 <criterion comment="check permissions of /usr/sbin/userhelper file" test_ref="oval:org.open-scap.f14:tst:20082"/>
16950 </criteria>
16951 </definition>
16952 <definition class="compliance" id="oval:org.open-scap.f14:def:20083" version="1">
16953 <metadata>
16954 <title>Set Password hashing algorithm</title>
16955 <reference ref_id="TBD" source="CCE"/>
16956 <description>The password hashing algorithm should be set correctly.</description>
16957 </metadata>
16958 <criteria operator="ONE">
16959 <criteria>
16960 <criterion comment="check that desired hashing algorithm is MD5" test_ref="oval:org.open-scap.f14:tst:200831"/>
16961 <criterion comment="Make sure /etc/login.defs is set to use md5" test_ref="oval:org.open-scap.f14:tst:200832"/>
16962 </criteria>
16963 <criteria>
16964 <criterion comment="check that desired hashing algorithm is not MD5 (negate previous test)" negate="true" test_ref="oval:org.open-scap.f14:tst:200831"/>
16965 <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"/>
16966 <criterion comment="Make sure /etc/login.defs is set to use ENCRYPT_METHOD" test_ref="oval:org.open-scap.f14:tst:200833"/>
16967 <criterion comment="Make sure /etc/pam.d/system-auth is set to use hashing algorithm" test_ref="oval:org.open-scap.f14:tst:200834"/>
16968 <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"/>
16969 </criteria>
16970 </criteria>
16971 </definition>
16972 <definition class="compliance" id="oval:org.open-scap.f14:def:20084" version="1">
16973 <metadata>
16974 <title>Limit password reuse</title>
16975 <reference ref_id="TBD" source="CCE"/>
16976 <description>The passwords to remember should be set correctly.</description>
16977 </metadata>
16978 <criteria operator="ONE">
16979 <criteria>
16980 <criterion comment="remember parameter is set to 0" test_ref="oval:org.open-scap.f14:tst:200841"/>
16981 </criteria>
16982 <criteria>
16983 <criterion comment="remember parameter is set to 0 (note this is negated)" negate="true" test_ref="oval:org.open-scap.f14:tst:200841"/>
16984 <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"/>
16985 </criteria>
16986 </criteria>
16987 </definition>
16988 <definition class="compliance" id="oval:org.open-scap.f14:def:20085" version="1">
16989 <metadata>
16990 <title>Ensure that No Dangerous Directories Exist in Root's Path</title>
16991 <reference ref_id="CCE-3301-9" source="CCE"/>
16992 <description>The PATH variable should be set correctly for user root</description>
16993 </metadata>
16994 <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">
16995 <criterion comment="PATH starts with : or ." test_ref="oval:org.open-scap.f14:tst:200851"/>
16996 <criterion comment="PATH ends with : or ." test_ref="oval:org.open-scap.f14:tst:200852"/>
16997 <criterion comment="PATH contains :: or :.:" test_ref="oval:org.open-scap.f14:tst:200853"/>
16998 </criteria>
16999 </definition>
17000 <definition class="compliance" id="oval:org.open-scap.f14:def:200855" version="1">
17001 <metadata>
17002 <title>Write permissions are disabled for group and other in all directories in Root's Path</title>
17003 <reference ref_id="TBD" source="CCE"/>
17004 <description>Check each directory in root's path and make use it does not grant write permission to group and other</description>
17005 </metadata>
17006 <criteria>
17007 <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"/>
17008 </criteria>
17009 </definition>
17010 <definition class="compliance" id="oval:org.open-scap.f14:def:20086" version="1">
17011 <metadata>
17012 <title>Ensure that User Home Directories are not Group-Writable or World-Readable</title>
17013 <reference ref_id="CCE-4090-7" source="CCE"/>
17014 <description>File permissions should be set correctly for the home directories for all user accounts.</description>
17015 </metadata>
17016 <criteria comment="Both criterion are negated to get desired result">
17017 <criterion comment="Home directories are group writable" test_ref="oval:org.open-scap.f14:tst:200861"/>
17018 <criterion comment="Home directories are world readable" test_ref="oval:org.open-scap.f14:tst:200862"/>
17019 </criteria>
17020 </definition>
17021 <definition class="compliance" id="oval:org.open-scap.f14:def:20087" version="1">
17022 <metadata>
17023 <title>Ensure that Users Have Sensible Umask Values set for bash</title>
17024 <reference ref_id="CCE-3844-8" source="CCE"/>
17025 <description>The default umask for all users should be set correctly for the bash shell</description>
17026 </metadata>
17027 <criteria>
17028 <criterion test_ref="oval:org.open-scap.f14:tst:20087"/>
17029 </criteria>
17030 </definition>
17031 <definition class="compliance" id="oval:org.open-scap.f14:def:20088" version="1">
17032 <metadata>
17033 <title>Ensure that Users Have Sensible Umask Values set for csh</title>
17034 <reference ref_id="CCE-4227-5" source="CCE"/>
17035 <description>The default umask for all users should be set correctly for the csh shell</description>
17036 </metadata>
17037 <criteria>
17038 <criterion test_ref="oval:org.open-scap.f14:tst:20088"/>
17039 </criteria>
17040 </definition>
17041 <definition class="compliance" id="oval:org.open-scap.f14:def:20091" version="1">
17042 <metadata>
17043 <title>Check for existance of .netrc file</title>
17044 <reference ref_id="TBD" source="CCE"/>
17045 <description>No user directory should contain file .netrc</description>
17046 </metadata>
17047 <criteria>
17048 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17049 </criteria>
17050 </definition>
17051 <definition class="compliance" id="oval:org.open-scap.f14:def:20092" version="1">
17052 <metadata>
17053 <title>Set Boot Loader Password</title>
17054 <reference ref_id="CCE-4144-2" source="CCE"/>
17055 <description>The /etc/grub.conf file should be owned by the appropriate user.</description>
17056 </metadata>
17057 <criteria>
17058 <criterion test_ref="oval:org.open-scap.f14:tst:20092"/>
17059 </criteria>
17060 </definition>
17061 <definition class="compliance" id="oval:org.open-scap.f14:def:20093" version="1">
17062 <metadata>
17063 <title>Set Boot Loader Password</title>
17064 <reference ref_id="CCE-4197-0" source="CCE"/>
17065 <description>The /etc/grub.conf file should be owned by the appropriate group.</description>
17066 </metadata>
17067 <criteria>
17068 <criterion test_ref="oval:org.open-scap.f14:tst:20093"/>
17069 </criteria>
17070 </definition>
17071 <definition class="compliance" id="oval:org.open-scap.f14:def:20094" version="1">
17072 <metadata>
17073 <title>Set Boot Loader Password</title>
17074 <reference ref_id="CCE-3923-0" source="CCE"/>
17075 <description>File permissions for /etc/grub.conf should be set correctly.</description>
17076 </metadata>
17077 <criteria>
17078 <criterion test_ref="oval:org.open-scap.f14:tst:20094"/>
17079 </criteria>
17080 </definition>
17081 <definition class="compliance" id="oval:org.open-scap.f14:def:20095" version="1">
17082 <metadata>
17083 <title>Set Boot Loader Password</title>
17084 <reference ref_id="CCE-3818-2" source="CCE"/>
17085 <description>The grub boot loader should have password protection enabled</description>
17086 </metadata>
17087 <criteria>
17088 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20095"/>
17089 </criteria>
17090 </definition>
17091 <definition class="compliance" id="oval:org.open-scap.f14:def:20096" version="1">
17092 <metadata>
17093 <title>Require Authentication for Single-User Mode</title>
17094 <reference ref_id="CCE-4241-6" source="CCE"/>
17095 <description>The requirement for a password to boot into single-user mode should be configured correctly.</description>
17096 </metadata>
17097 <criteria>
17098 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20096"/>
17099 </criteria>
17100 </definition>
17101 <definition class="compliance" id="oval:org.open-scap.f14:def:20097" version="1">
17102 <metadata>
17103 <title>Disable Interactive Boot</title>
17104 <reference ref_id="CCE-4245-7" source="CCE"/>
17105 <description>The ability for users to perform interactive startups should be disabled.</description>
17106 </metadata>
17107 <criteria>
17108 <criterion test_ref="oval:org.open-scap.f14:tst:20097"/>
17109 </criteria>
17110 </definition>
17111 <definition class="compliance" id="oval:org.open-scap.f14:def:20098" version="1">
17112 <metadata>
17113 <title>Implement Inactivity Time-out for Login Shells</title>
17114 <reference ref_id="CCE-3689-7" source="CCE"/>
17115 <description>The idle time-out value for the default /bin/tcsh shell should meet the minimum requirements.</description>
17116 </metadata>
17117 <criteria>
17118 <criterion test_ref="oval:org.open-scap.f14:tst:20098"/>
17119 </criteria>
17120 </definition>
17121 <definition class="compliance" id="oval:org.open-scap.f14:def:20099" version="1">
17122 <metadata>
17123 <title>Implement Inactivity Time-out for Login Shells</title>
17124 <reference ref_id="CCE-3707-7" source="CCE"/>
17125 <description>The idle time-out value for the default /bin/bash shell should meet the minimum requirements.</description>
17126 </metadata>
17127 <criteria>
17128 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20099"/>
17129 </criteria>
17130 </definition>
17131 <definition class="compliance" id="oval:org.open-scap.f14:def:20100" version="1">
17132 <metadata>
17133 <title>Configure GUI Screen Locking</title>
17134 <reference ref_id="CCE-3315-9" source="CCE"/>
17135 <description>The allowed period of inactivity gnome desktop lockout should be configured correctly.</description>
17136 </metadata>
17137 <criteria>
17138 <criterion comment="check value of idle_delay in GCONF" test_ref="oval:org.open-scap.f14:tst:20100"/>
17139 </criteria>
17140 </definition>
17141 <definition class="compliance" id="oval:org.open-scap.f14:def:201005" version="1">
17142 <metadata>
17143 <title>Implement idle activation of screen saver</title>
17144 <reference ref_id="TBD" source="CCE"/>
17145 <description>Idle activation of the screen saver should be enabled.</description>
17146 </metadata>
17147 <criteria>
17148 <criterion comment="check value of idle_activation_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201005"/>
17149 </criteria>
17150 </definition>
17151 <definition class="compliance" id="oval:org.open-scap.f14:def:201006" version="1">
17152 <metadata>
17153 <title>Implement idle activation of screen lock</title>
17154 <reference ref_id="TBD" source="CCE"/>
17155 <description>Idle activation of the screen lock should be enabled.</description>
17156 </metadata>
17157 <criteria>
17158 <criterion comment="check value of lock_enabled in GCONF" test_ref="oval:org.open-scap.f14:tst:201006"/>
17159 </criteria>
17160 </definition>
17161 <definition class="compliance" id="oval:org.open-scap.f14:def:201007" version="1">
17162 <metadata>
17163 <title>Implement blank screen saver</title>
17164 <reference ref_id="TBD" source="CCE"/>
17165 <description>The screen saver should be blank.</description>
17166 </metadata>
17167 <criteria>
17168 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:201007"/>
17169 </criteria>
17170 </definition>
17171 <definition class="compliance" id="oval:org.open-scap.f14:def:20101" version="1">
17172 <metadata>
17173 <title>Configure GUI Screen Locking</title>
17174 <reference ref_id="CCE-3910-7" source="CCE"/>
17175 <description>The vlock package should be installed</description>
17176 </metadata>
17177 <criteria>
17178 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20101"/>
17179 </criteria>
17180 </definition>
17181 <definition class="compliance" id="oval:org.open-scap.f14:def:20102" version="1">
17182 <metadata>
17183 <title>Modify the System Login Banner</title>
17184 <reference ref_id="CCE-4060-0" source="CCE"/>
17185 <description>The system login banner text should be set correctly.</description>
17186 </metadata>
17187 <criteria>
17188 <criterion comment="/etc/issue is set appropriately" test_ref="oval:org.open-scap.f14:tst:20102"/>
17189 </criteria>
17190 </definition>
17191 <definition class="compliance" id="oval:org.open-scap.f14:def:20103" version="1">
17192 <metadata>
17193 <title>Implement a GUI Warning Banner</title>
17194 <reference ref_id="CCE-4188-9" source="CCE"/>
17195 <description>The direct gnome login warning banner should be set correctly.</description>
17196 </metadata>
17197 <criteria>
17198 <criterion comment="Check that the GConf setting for the login banner is set correctly" test_ref="oval:org.open-scap.f14:tst:20103"/>
17199 </criteria>
17200 </definition>
17201 <definition class="compliance" id="oval:org.open-scap.f14:def:201035" version="1">
17202 <metadata>
17203 <title>Ensure SELinux is Properly Enabled</title>
17204 <reference ref_id="TBD" source="CCE"/>
17205 <description>Check output of /usr/sbin/sestatus.</description>
17206 </metadata>
17207 <criteria>
17208 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17209 </criteria>
17210 </definition>
17211 <definition class="compliance" id="oval:org.open-scap.f14:def:20104" version="1">
17212 <metadata>
17213 <title>Enable SELinux</title>
17214 <reference ref_id="CCE-3977-6" source="CCE"/>
17215 <description>SELinux should be enabled</description>
17216 </metadata>
17217 <criteria>
17218 <criterion test_ref="oval:org.open-scap.f14:tst:20104"/>
17219 </criteria>
17220 </definition>
17221 <definition class="compliance" id="oval:org.open-scap.f14:def:20105" version="1">
17222 <metadata>
17223 <title>Enable SELinux enforcing</title>
17224 <reference ref_id="TBD" source="CCE"/>
17225 <description>SELinux should be enforcing in the bootloader</description>
17226 </metadata>
17227 <criteria>
17228 <criterion test_ref="oval:org.open-scap.f14:tst:20105"/>
17229 </criteria>
17230 </definition>
17231 <definition class="compliance" id="oval:org.open-scap.f14:def:20106" version="1">
17232 <metadata>
17233 <title>Enable SELinux state</title>
17234 <reference ref_id="TBD" source="CCE"/>
17235 <description>The SELinux state should be set appropriately.</description>
17236 </metadata>
17237 <criteria>
17238 <criterion test_ref="oval:org.open-scap.f14:tst:20106"/>
17239 </criteria>
17240 </definition>
17241 <definition class="compliance" id="oval:org.open-scap.f14:def:20107" version="1">
17242 <metadata>
17243 <title>Enable SELinux</title>
17244 <reference ref_id="CCE-3624-4" source="CCE"/>
17245 <description>The SELinux policy should be set appropriately.</description>
17246 </metadata>
17247 <criteria>
17248 <criterion test_ref="oval:org.open-scap.f14:tst:20107"/>
17249 </criteria>
17250 </definition>
17251 <definition class="compliance" id="oval:org.open-scap.f14:def:20108" version="1">
17252 <metadata>
17253 <title>Disable and Remove SETroubleshoot if Possible</title>
17254 <reference ref_id="CCE-4148-3" source="CCE"/>
17255 <description>The setroubleshoot package should be uninstalled.</description>
17256 </metadata>
17257 <criteria>
17258 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20108"/>
17259 </criteria>
17260 </definition>
17261 <definition class="compliance" id="oval:org.open-scap.f14:def:20109" version="1">
17262 <metadata>
17263 <title>Disable and Remove SETroubleshoot if Possible</title>
17264 <reference ref_id="CCE-4254-9" source="CCE"/>
17265 <description>The setroubleshoot service should be disabled.</description>
17266 </metadata>
17267 <criteria comment="The setroubleshoot package should be uninstalled or conditions are met" operator="OR">
17268 <extend_definition comment="setroubleshoot is not installed" definition_ref="oval:org.open-scap.f14:def:20108"/>
17269 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20109"/>
17270 </criteria>
17271 </definition>
17272 <definition class="compliance" id="oval:org.open-scap.f14:def:20110" version="1">
17273 <metadata>
17274 <title>Disable MCS Translation Service (mcstrans) if Possible</title>
17275 <reference ref_id="CCE-3668-1" source="CCE"/>
17276 <description>The mcstrans service should be disabled.</description>
17277 </metadata>
17278 <criteria>
17279 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20110"/>
17280 </criteria>
17281 </definition>
17282 <definition class="compliance" id="oval:org.open-scap.f14:def:201115" version="1">
17283 <metadata>
17284 <title>Check for Unconfined Daemons</title>
17285 <reference ref_id="TBD" source="CCE"/>
17286 <description>Check for device file that is not labeled.</description>
17287 </metadata>
17288 <criteria>
17289 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17290 </criteria>
17291 </definition>
17292 <definition class="compliance" id="oval:org.open-scap.f14:def:20111" version="1">
17293 <metadata>
17294 <title>Restorecon Service (restorecond)</title>
17295 <reference ref_id="CCE-4129-3" source="CCE"/>
17296 <description>The restorecond service should be disabled.</description>
17297 </metadata>
17298 <criteria>
17299 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20111"/>
17300 </criteria>
17301 </definition>
17302 <!-- BEGIN -->
17303 <definition class="compliance" id="oval:org.open-scap.f14:def:20112" version="1">
17304 <metadata>
17305 <title>Network Parameters for Hosts Only</title>
17306 <reference ref_id="CCE-4151-7" source="CCE"/>
17307 <description>The default setting for sending ICMP redirects should be disabled for network interfaces.</description>
17308 <tested_by name="dkopecek" time="1282130094"/>
17309 </metadata>
17310 <criteria operator="AND">
17311 <criterion test_ref="oval:org.open-scap.f14:tst:201120"/>
17312 <criteria operator="OR">
17313 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201121"/>
17314 <criterion test_ref="oval:org.open-scap.f14:tst:201122"/>
17315 </criteria>
17316 </criteria>
17317 </definition>
17318 <!-- ^^^ ok ^^^ -->
17319 <definition class="compliance" id="oval:org.open-scap.f14:def:20113" version="1">
17320 <metadata>
17321 <title>Network Parameters for Hosts Only</title>
17322 <reference ref_id="CCE-4155-8" source="CCE"/>
17323 <description>Sending ICMP redirects should be disabled for all interfaces.</description>
17324 <tested_by name="dkopecek" time="1282130094"/>
17325 </metadata>
17326 <criteria operator="AND">
17327 <criterion test_ref="oval:org.open-scap.f14:tst:201130"/>
17328 <criteria operator="OR">
17329 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201131"/>
17330 <criterion test_ref="oval:org.open-scap.f14:tst:201132"/>
17331 </criteria>
17332 </criteria>
17333 </definition>
17334 <definition class="compliance" id="oval:org.open-scap.f14:def:20114" version="1">
17335 <metadata>
17336 <title>Network Parameters for Hosts Only</title>
17337 <reference ref_id="CCE-3561-8" source="CCE"/>
17338 <description>IP forwarding should be disabled.</description>
17339 <tested_by name="dkopecek" time="1282130094"/>
17340 </metadata>
17341 <criteria operator="AND">
17342 <criterion test_ref="oval:org.open-scap.f14:tst:201140"/>
17343 <criteria operator="OR">
17344 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201141"/>
17345 <criterion test_ref="oval:org.open-scap.f14:tst:201142"/>
17346 </criteria>
17347 </criteria>
17348 </definition>
17349 <definition class="compliance" id="oval:org.open-scap.f14:def:20115" version="1">
17350 <metadata>
17351 <title>Network Parameters for Hosts and Routers</title>
17352 <reference ref_id="CCE-4236-6" source="CCE"/>
17353 <description>Accepting source routed packets should be enabled or disabled for all interfaces as appropriate.</description>
17354 </metadata>
17355 <criteria operator="AND">
17356 <criterion test_ref="oval:org.open-scap.f14:tst:201150"/>
17357 <criteria operator="OR">
17358 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201151"/>
17359 <criterion test_ref="oval:org.open-scap.f14:tst:201152"/>
17360 </criteria>
17361 </criteria>
17362 </definition>
17363 <definition class="compliance" id="oval:org.open-scap.f14:def:20116" version="1">
17364 <metadata>
17365 <title>Network Parameters for Hosts and Routers</title>
17366 <reference ref_id="CCE-4217-6" source="CCE"/>
17367 <description>Accepting ICMP redirects should be enabled or disabled for all interfaces as appropriate.</description>
17368 </metadata>
17369 <criteria operator="AND">
17370 <criterion test_ref="oval:org.open-scap.f14:tst:201160"/>
17371 <criteria operator="OR">
17372 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201161"/>
17373 <criterion test_ref="oval:org.open-scap.f14:tst:201162"/>
17374 </criteria>
17375 </criteria>
17376 </definition>
17377 <definition class="compliance" id="oval:org.open-scap.f14:def:20117" version="1">
17378 <metadata>
17379 <title>Network Parameters for Hosts and Routers</title>
17380 <reference ref_id="CCE-3472-8" source="CCE"/>
17381 <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>
17382 </metadata>
17383 <criteria operator="AND">
17384 <criterion test_ref="oval:org.open-scap.f14:tst:201170"/>
17385 <criteria operator="OR">
17386 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201171"/>
17387 <criterion test_ref="oval:org.open-scap.f14:tst:201172"/>
17388 </criteria>
17389 </criteria>
17390 </definition>
17391 <definition class="compliance" id="oval:org.open-scap.f14:def:20118" version="1">
17392 <metadata>
17393 <title>Network Parameters for Hosts and Routers</title>
17394 <reference ref_id="CCE-4320-8" source="CCE"/>
17395 <description>Logging of "martian" packets (those with impossible addresses) should be enabled or disabled for all interfaces as appropriate.</description>
17396 </metadata>
17397 <criteria operator="AND">
17398 <criterion test_ref="oval:org.open-scap.f14:tst:201180"/>
17399 <criteria operator="OR">
17400 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201181"/>
17401 <criterion test_ref="oval:org.open-scap.f14:tst:201182"/>
17402 </criteria>
17403 </criteria>
17404 </definition>
17405 <definition class="compliance" id="oval:org.open-scap.f14:def:20119" version="1">
17406 <metadata>
17407 <title>Network Parameters for Hosts and Routers</title>
17408 <reference ref_id="CCE-4091-5" source="CCE"/>
17409 <description>The default setting for accepting source routed packets should be enabled or disabled for network interfaces as appropriate.</description>
17410 </metadata>
17411 <criteria operator="AND">
17412 <criterion test_ref="oval:org.open-scap.f14:tst:201190"/>
17413 <criteria operator="OR">
17414 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201191"/>
17415 <criterion test_ref="oval:org.open-scap.f14:tst:201192"/>
17416 </criteria>
17417 </criteria>
17418 </definition>
17419 <definition class="compliance" id="oval:org.open-scap.f14:def:20120" version="1">
17420 <metadata>
17421 <title>Network Parameters for Hosts and Routers</title>
17422 <reference ref_id="CCE-4186-3" source="CCE"/>
17423 <description>The default setting for accepting ICMP redirects should be enabled or disabled for network interfaces as appropriate.</description>
17424 </metadata>
17425 <criteria operator="AND">
17426 <criterion test_ref="oval:org.open-scap.f14:tst:201200"/>
17427 <criteria operator="OR">
17428 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201201"/>
17429 <criterion test_ref="oval:org.open-scap.f14:tst:201202"/>
17430 </criteria>
17431 </criteria>
17432 </definition>
17433 <definition class="compliance" id="oval:org.open-scap.f14:def:20121" version="1">
17434 <metadata>
17435 <title>Network Parameters for Hosts and Routers</title>
17436 <reference ref_id="CCE-3339-9" source="CCE"/>
17437 <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>
17438 </metadata>
17439 <criteria operator="AND">
17440 <criterion test_ref="oval:org.open-scap.f14:tst:201210"/>
17441 <criteria operator="OR">
17442 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201211"/>
17443 <criterion test_ref="oval:org.open-scap.f14:tst:201212"/>
17444 </criteria>
17445 </criteria>
17446 </definition>
17447 <definition class="compliance" id="oval:org.open-scap.f14:def:20122" version="1">
17448 <metadata>
17449 <title>Network Parameters for Hosts and Routers</title>
17450 <reference ref_id="CCE-3644-2" source="CCE"/>
17451 <description>Ignoring ICMP echo requests (pings) sent to broadcast / multicast addresses should be enabled or disabled as appropriate.</description>
17452 </metadata>
17453 <criteria operator="AND">
17454 <criterion test_ref="oval:org.open-scap.f14:tst:201220"/>
17455 <criteria operator="OR">
17456 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201221"/>
17457 <criterion test_ref="oval:org.open-scap.f14:tst:201222"/>
17458 </criteria>
17459 </criteria>
17460 </definition>
17461 <definition class="compliance" id="oval:org.open-scap.f14:def:20123" version="1">
17462 <metadata>
17463 <title>Network Parameters for Hosts and Routers</title>
17464 <reference ref_id="CCE-4133-5" source="CCE"/>
17465 <description>Ignoring bogus ICMP responses to broadcasts should be enabled or disabled as appropriate.</description>
17466 </metadata>
17467 <criteria operator="AND">
17468 <criterion test_ref="oval:org.open-scap.f14:tst:201230"/>
17469 <criteria operator="OR">
17470 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201231"/>
17471 <criterion test_ref="oval:org.open-scap.f14:tst:201232"/>
17472 </criteria>
17473 </criteria>
17474 </definition>
17475 <definition class="compliance" id="oval:org.open-scap.f14:def:20124" version="1">
17476 <metadata>
17477 <title>Network Parameters for Hosts and Routers</title>
17478 <reference ref_id="CCE-4265-5" source="CCE"/>
17479 <description>Sending TCP syncookies should be enabled or disabled as appropriate.</description>
17480 </metadata>
17481 <criteria operator="AND">
17482 <criterion test_ref="oval:org.open-scap.f14:tst:201240"/>
17483 <criteria operator="OR">
17484 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201241"/>
17485 <criterion test_ref="oval:org.open-scap.f14:tst:201242"/>
17486 </criteria>
17487 </criteria>
17488 </definition>
17489 <definition class="compliance" id="oval:org.open-scap.f14:def:20125" version="1">
17490 <metadata>
17491 <title>Network Parameters for Hosts and Routers</title>
17492 <reference ref_id="CCE-4080-8" source="CCE"/>
17493 <description>Performing source validation by reverse path should be enabled or disabled for all interfaces as appropriate.</description>
17494 </metadata>
17495 <criteria operator="AND">
17496 <criterion test_ref="oval:org.open-scap.f14:tst:201250"/>
17497 <criteria operator="OR">
17498 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201251"/>
17499 <criterion test_ref="oval:org.open-scap.f14:tst:201252"/>
17500 </criteria>
17501 </criteria>
17502 </definition>
17503 <definition class="compliance" id="oval:org.open-scap.f14:def:20126" version="1">
17504 <metadata>
17505 <title>Network Parameters for Hosts and Routers</title>
17506 <reference ref_id="CCE-3840-6" source="CCE"/>
17507 <description>The default setting for performing source validation by reverse path should be enabled or disabled for network interfaces as appropriate.</description>
17508 </metadata>
17509 <criteria operator="AND">
17510 <criterion test_ref="oval:org.open-scap.f14:tst:201260"/>
17511 <criteria operator="OR">
17512 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201261"/>
17513 <criterion test_ref="oval:org.open-scap.f14:tst:201262"/>
17514 </criteria>
17515 </criteria>
17516 </definition>
17517 <definition class="compliance" id="oval:org.open-scap.f14:def:20127" version="1">
17518 <metadata>
17519 <title>Disable Wireless in BIOS</title>
17520 <reference ref_id="CCE-3628-5" source="CCE"/>
17521 <description>All wireless devices should be disabled in the BIOS.</description>
17522 </metadata>
17523 <criteria>
17524 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17525 </criteria>
17526 </definition>
17527 <definition class="compliance" id="oval:org.open-scap.f14:def:20128" version="1">
17528 <metadata>
17529 <title>Deactivate Wireless Interfaces</title>
17530 <reference ref_id="CCE-4276-2" source="CCE"/>
17531 <description>All wireless interfaces should be disabled.</description>
17532 </metadata>
17533 <criteria>
17534 <criterion comment="Find wireless interfaces" test_ref="oval:org.open-scap.f14:tst:20128"/>
17535 </criteria>
17536 </definition>
17537 <definition class="compliance" id="oval:org.open-scap.f14:def:20129" version="1">
17538 <metadata>
17539 <title>Disable Wireless Drivers</title>
17540 <reference ref_id="CCE-4170-7" source="CCE"/>
17541 <description>Device drivers for wireless devices should be excluded from the kernel.</description>
17542 </metadata>
17543 <criteria>
17544 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20129"/>
17545 </criteria>
17546 </definition>
17547 <!-- ipv6 -->
17548 <definition class="compliance" id="oval:org.open-scap.f14:def:20130" version="1">
17549 <metadata>
17550 <title>Disable Automatic Loading of IPv6 Kernel Module</title>
17551 <reference ref_id="CCE-3562-6" source="CCE"/>
17552 <description>Automatic loading of the IPv6 kernel module should be disabled.</description>
17553 </metadata>
17554 <criteria>
17555 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20130"/>
17556 </criteria>
17557 </definition>
17558 <definition class="compliance" id="oval:org.open-scap.f14:def:20131" version="1">
17559 <metadata>
17560 <title>Disable Interface Usage of IPv6</title>
17561 <reference ref_id="CCE-3381-1" source="CCE"/>
17562 <description>The default setting for IPv6 configuration should be disabled for network interfaces.</description>
17563 </metadata>
17564 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17565 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17566 <criterion test_ref="oval:org.open-scap.f14:tst:20131"/>
17567 </criteria>
17568 </definition>
17569 <definition class="compliance" id="oval:org.open-scap.f14:def:20132" version="1">
17570 <metadata>
17571 <title>Disable Interface Usage of IPv6</title>
17572 <reference ref_id="CCE-3377-9" source="CCE"/>
17573 <description>Global IPv6 initialization should be disabled.</description>
17574 </metadata>
17575 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17576 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17577 <criterion test_ref="oval:org.open-scap.f14:tst:20132"/>
17578 </criteria>
17579 </definition>
17580 <definition class="compliance" id="oval:org.open-scap.f14:def:20133" version="1">
17581 <metadata>
17582 <title>Disable Interface Usage of IPv6</title>
17583 <reference ref_id="CCE-4296-0" source="CCE"/>
17584 <description>IPv6 configuration should be disabled for all interfaces.</description>
17585 </metadata>
17586 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17587 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17588 <criterion test_ref="oval:org.open-scap.f14:tst:20133"/>
17589 </criteria>
17590 </definition>
17591 <definition class="compliance" id="oval:org.open-scap.f14:def:20134" version="1">
17592 <metadata>
17593 <title>Disable Automatic Configuration</title>
17594 <reference ref_id="CCE-4269-7" source="CCE"/>
17595 <description>Accepting IPv6 router advertisements should be disabled for all network interfaces.</description>
17596 </metadata>
17597 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17598 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17599 <criterion test_ref="oval:org.open-scap.f14:tst:20134"/>
17600 </criteria>
17601 </definition>
17602 <definition class="compliance" id="oval:org.open-scap.f14:def:20135" version="1">
17603 <metadata>
17604 <title>Disable Automatic Configuration</title>
17605 <reference ref_id="CCE-4291-1" source="CCE"/>
17606 <description>The default setting for accepting IPv6 router advertisements should be disabled for network interfaces. (and dependencies are met)</description>
17607 </metadata>
17608 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17609 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17610 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17611 </criteria>
17612 </definition>
17613 <definition class="compliance" id="oval:org.open-scap.f14:def:20136" version="1">
17614 <metadata>
17615 <title>Disable Automatic Configuration</title>
17616 <reference ref_id="CCE-4313-3" source="CCE"/>
17617 <description>Accepting redirects from IPv6 routers should be disabled as appropriate for all network interfaces. (and dependencies are met)</description>
17618 </metadata>
17619 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17620 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17621 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17622 </criteria>
17623 </definition>
17624 <definition class="compliance" id="oval:org.open-scap.f14:def:20137" version="1">
17625 <metadata>
17626 <title>Disable Automatic Configuration</title>
17627 <reference ref_id="CCE-4198-8" source="CCE"/>
17628 <description>The default setting for accepting redirects from IPv6 routers should be disabled for network interfaces. (and dependencies are met)</description>
17629 </metadata>
17630 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17631 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17632 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17633 </criteria>
17634 </definition>
17635 <definition class="compliance" id="oval:org.open-scap.f14:def:20138" version="1">
17636 <metadata>
17637 <title>Use Privacy Extensions for Address if Necessary</title>
17638 <reference ref_id="CCE-3842-2" source="CCE"/>
17639 <description>IPv6 privacy extensions should be configured appropriately for all interfaces. (and dependencies are met)</description>
17640 </metadata>
17641 <criteria comment="Either IPv6 kernel module is not loaded or this feature should be disabled" operator="OR">
17642 <extend_definition comment="Automatic loading of the IPv6 kernel module should be disabled" definition_ref="oval:org.open-scap.f14:def:20130"/>
17643 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17644 </criteria>
17645 </definition>
17646 <!-- sysctl -->
17647 <definition class="compliance" id="oval:org.open-scap.f14:def:20139" version="1">
17648 <metadata>
17649 <title>Limit Network-Transmitted Configuration</title>
17650 <reference ref_id="CCE-4159-0" source="CCE"/>
17651 <description>The default number of IPv6 router solicitations for network interfaces to send should be set appropriately. (and dependencies are met)</description>
17652 </metadata>
17653 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17654 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17655 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17656 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17657 <criteria operator="AND">
17658 <criterion test_ref="oval:org.open-scap.f14:tst:201390"/>
17659 <criteria operator="OR">
17660 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201391"/>
17661 <criterion test_ref="oval:org.open-scap.f14:tst:201392"/>
17662 </criteria>
17663 </criteria>
17664 </criteria>
17665 </definition>
17666 <definition class="compliance" id="oval:org.open-scap.f14:def:20140" version="1">
17667 <metadata>
17668 <title>Limit Network-Transmitted Configuration</title>
17669 <reference ref_id="CCE-4221-8" source="CCE"/>
17670 <description>The default setting for accepting router preference via IPv6 router advertisement should be disabled for network interfaces. (and dependencies are met)</description>
17671 </metadata>
17672 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17673 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17674 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17675 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17676 <criteria operator="AND">
17677 <criterion test_ref="oval:org.open-scap.f14:tst:201400"/>
17678 <criteria operator="OR">
17679 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201401"/>
17680 <criterion test_ref="oval:org.open-scap.f14:tst:201402"/>
17681 </criteria>
17682 </criteria>
17683 </criteria>
17684 </definition>
17685 <definition class="compliance" id="oval:org.open-scap.f14:def:20141" version="1">
17686 <metadata>
17687 <title>Limit Network-Transmitted Configuration</title>
17688 <reference ref_id="CCE-4058-4" source="CCE"/>
17689 <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>
17690 </metadata>
17691 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17692 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17693 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17694 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17695 <criteria operator="AND">
17696 <criterion test_ref="oval:org.open-scap.f14:tst:201410"/>
17697 <criteria operator="OR">
17698 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201411"/>
17699 <criterion test_ref="oval:org.open-scap.f14:tst:201412"/>
17700 </criteria>
17701 </criteria>
17702 </criteria>
17703 </definition>
17704 <definition class="compliance" id="oval:org.open-scap.f14:def:20142" version="1">
17705 <metadata>
17706 <title>Limit Network-Transmitted Configuration</title>
17707 <reference ref_id="CCE-4128-5" source="CCE"/>
17708 <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>
17709 </metadata>
17710 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17711 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17712 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17713 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17714 <criteria operator="AND">
17715 <criterion test_ref="oval:org.open-scap.f14:tst:201420"/>
17716 <criteria operator="OR">
17717 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201421"/>
17718 <criterion test_ref="oval:org.open-scap.f14:tst:201422"/>
17719 </criteria>
17720 </criteria>
17721 </criteria>
17722 </definition>
17723 <definition class="compliance" id="oval:org.open-scap.f14:def:20143" version="1">
17724 <metadata>
17725 <title>Limit Network-Transmitted Configuration</title>
17726 <reference ref_id="CCE-4287-9" source="CCE"/>
17727 <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>
17728 </metadata>
17729 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17730 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17731 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17732 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17733 <criteria operator="AND">
17734 <criterion test_ref="oval:org.open-scap.f14:tst:201430"/>
17735 <criteria operator="OR">
17736 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201431"/>
17737 <criterion test_ref="oval:org.open-scap.f14:tst:201432"/>
17738 </criteria>
17739 </criteria>
17740 </criteria>
17741 </definition>
17742 <definition class="compliance" id="oval:org.open-scap.f14:def:20144" version="1">
17743 <metadata>
17744 <title>Limit Network-Transmitted Configuration</title>
17745 <reference ref_id="CCE-3895-0" source="CCE"/>
17746 <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>
17747 </metadata>
17748 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17749 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17750 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17751 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17752 <criteria operator="AND">
17753 <criterion test_ref="oval:org.open-scap.f14:tst:201440"/>
17754 <criteria operator="OR">
17755 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201441"/>
17756 <criterion test_ref="oval:org.open-scap.f14:tst:201442"/>
17757 </criteria>
17758 </criteria>
17759 </criteria>
17760 </definition>
17761 <definition class="compliance" id="oval:org.open-scap.f14:def:20145" version="1">
17762 <metadata>
17763 <title>Limit Network-Transmitted Configuration</title>
17764 <reference ref_id="CCE-4137-6" source="CCE"/>
17765 <description>The default number of global unicast IPv6 addresses allowed per network interface should be set appropriately. (and dependencies are met)</description>
17766 </metadata>
17767 <criteria comment="Either IPv6 is disabled or this feature should be" operator="OR">
17768 <extend_definition comment="The default setting for IPv6 configuration should be disabled for network interfaces" definition_ref="oval:org.open-scap.f14:def:20131"/>
17769 <extend_definition comment="Global IPv6 initialization should be disabled" definition_ref="oval:org.open-scap.f14:def:20132"/>
17770 <extend_definition comment="IPv6 configuration should be disabled for all interfaces" definition_ref="oval:org.open-scap.f14:def:20133"/>
17771 <criteria operator="AND">
17772 <criterion test_ref="oval:org.open-scap.f14:tst:201450"/>
17773 <criteria operator="OR">
17774 <criterion negate="true" test_ref="oval:org.open-scap.f14:tst:201451"/>
17775 <criterion test_ref="oval:org.open-scap.f14:tst:201452"/>
17776 </criteria>
17777 </criteria>
17778 </criteria>
17779 </definition>
17780 <definition class="compliance" id="oval:org.open-scap.f14:def:20146" version="1">
17781 <metadata>
17782 <title>Verify ip6tables is enabled</title>
17783 <reference ref_id="CCE-4167-3" source="CCE"/>
17784 <description>The ip6tables service should be enabled.</description>
17785 </metadata>
17786 <criteria>
17787 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20146"/>
17788 </criteria>
17789 </definition>
17790 <!-- non sysctl -->
17791 <definition class="compliance" id="oval:org.open-scap.f14:def:20147" version="1">
17792 <metadata>
17793 <title>Inspect and Activate Default Rules </title>
17794 <reference ref_id="CCE-4189-7" source="CCE"/>
17795 <description>The iptables service should be enabled.</description>
17796 </metadata>
17797 <criteria>
17798 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20147"/>
17799 </criteria>
17800 </definition>
17801 <definition class="compliance" id="oval:org.open-scap.f14:def:201474" version="1">
17802 <metadata>
17803 <title>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain</title>
17804 <reference ref_id="TBD" source="CCE"/>
17805 <description>Change the default policy to DROP (from ACCEPT) for the INPUT built-in chain.</description>
17806 </metadata>
17807 <criteria>
17808 <criterion comment=":INPUT DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014741"/>
17809 <criterion comment=":INPUT ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014742"/>
17810 </criteria>
17811 </definition>
17812 <definition class="compliance" id="oval:org.open-scap.f14:def:201475" version="1">
17813 <metadata>
17814 <title>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain</title>
17815 <reference ref_id="TBD" source="CCE"/>
17816 <description>Change the default policy to DROP (from ACCEPT) for the FORWARD built-in chain.</description>
17817 </metadata>
17818 <criteria>
17819 <criterion comment=":FORWARD DROP [0:0]" test_ref="oval:org.open-scap.f14:tst:2014751"/>
17820 <criterion comment=":FORWARD ACCEPT [0:0]" negate="true" test_ref="oval:org.open-scap.f14:tst:2014752"/>
17821 </criteria>
17822 </definition>
17823 <!--
17824 <definition class="compliance" id="oval:org.open-scap.f14:def:201476" version="1">
17825 <metadata>
17826 <title>Disable Support for DCCP</title>
17827 <reference ref_id="TBD" source="CCE"/>
17828 <description>Support for DCCP should be disabled.</description>
17829 </metadata>
17830 <criteria>
17831 <criterion comment="check for DCCP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201476"/>
17832 </criteria>
17833 </definition>
17834
17835 <definition class="compliance" id="oval:org.open-scap.f14:def:201477" version="1">
17836 <metadata>
17837 <title>Disable Support for SCTP</title>
17838 <reference ref_id="TBD" source="CCE"/>
17839 <description>Support for SCTP should be disabled.</description>
17840 </metadata>
17841 <criteria>
17842 <criterion comment="check for SCTP in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201477"/>
17843 </criteria>
17844 </definition>
17845
17846 <definition class="compliance" id="oval:org.open-scap.f14:def:201478" version="1">
17847 <metadata>
17848 <title>Disable Support for RDS</title>
17849 <reference ref_id="TBD" source="CCE"/>
17850 <description>Support for RDS should be disabled.</description>
17851 </metadata>
17852 <criteria>
17853 <criterion comment="check for RDS in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201478"/>
17854 </criteria>
17855 </definition>
17856
17857 <definition class="compliance" id="oval:org.open-scap.f14:def:201479" version="1">
17858 <metadata>
17859 <title>Disable Support for TIPC</title>
17860 <reference ref_id="TBD" source="CCE"/>
17861 <description>Support for TIPC should be disabled.</description>
17862 </metadata>
17863 <criteria>
17864 <criterion comment="check for TIPC in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:201479"/>
17865 </criteria>
17866 </definition>
17867 -->
17868 <definition class="compliance" id="oval:org.open-scap.f14:def:20148" version="1">
17869 <metadata>
17870 <title>Configure Syslog</title>
17871 <reference ref_id="CCE-3679-8" source="CCE"/>
17872 <description>The syslog service should be enabled or disabled as appropriate.</description>
17873 </metadata>
17874 <criteria>
17875 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20148"/>
17876 </criteria>
17877 </definition>
17878 <definition class="compliance" id="oval:org.open-scap.f14:def:20149" version="1">
17879 <metadata>
17880 <title>Confirm Existence and Permissions of System Log Files </title>
17881 <reference ref_id="CCE-4366-1" source="CCE"/>
17882 <description>All mandatory log files should be owned by root user.</description>
17883 </metadata>
17884 <criteria operator="AND">
17885 <criterion comment="check if user owns all mandatory log files" test_ref="oval:org.open-scap.f14:tst:20149"/>
17886 <criterion comment="check if user exists" test_ref="oval:org.open-scap.f14:tst:201491"/>
17887 </criteria>
17888 </definition>
17889 <definition class="compliance" id="oval:org.open-scap.f14:def:20150" version="1">
17890 <metadata>
17891 <title>Confirm Existence and Permissions of System Log Files</title>
17892 <reference ref_id="CCE-3701-0" source="CCE"/>
17893 <description>All syslog log files should be owned by the appropriate group.</description>
17894 </metadata>
17895 <criteria operator="AND">
17896 <criterion comment="check if group root owns all syslog log files" test_ref="oval:org.open-scap.f14:tst:20150"/>
17897 <criterion comment="check if group exists" test_ref="oval:org.open-scap.f14:tst:201501"/>
17898 </criteria>
17899 </definition>
17900 <definition class="compliance" id="oval:org.open-scap.f14:def:20151" version="1">
17901 <metadata>
17902 <title>Confirm Existence and Permissions of System Log Files </title>
17903 <reference ref_id="CCE-4233-3" source="CCE"/>
17904 <description>File permissions for all syslog log files should be set correctly.</description>
17905 </metadata>
17906 <criteria>
17907 <criterion comment="check permissions of all syslog log files" test_ref="oval:org.open-scap.f14:tst:20151"/>
17908 </criteria>
17909 </definition>
17910 <definition class="compliance" id="oval:org.open-scap.f14:def:20152" version="1">
17911 <metadata>
17912 <title>Send Logs to a Remote Loghost </title>
17913 <reference ref_id="CCE-4260-6" source="CCE"/>
17914 <description>Syslog logs should be sent to a remote loghost</description>
17915 </metadata>
17916 <criteria>
17917 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20152"/>
17918 </criteria>
17919 </definition>
17920 <definition class="compliance" id="oval:org.open-scap.f14:def:20153" version="1">
17921 <metadata>
17922 <title>Disable syslogd from Accepting Remote Messages on Loghosts Only</title>
17923 <reference ref_id="CCE-3382-9" source="CCE"/>
17924 <description>Syslogd should reject remote messages</description>
17925 </metadata>
17926 <criteria>
17927 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20153"/>
17928 </criteria>
17929 </definition>
17930 <!--
17931 <definition class="compliance" id="oval:org.open-scap.f14:def:20154" version="1">
17932 <metadata>
17933 <title>Ensure All Logs are Rotated by logrotate</title>
17934 <reference ref_id="CCE-4182-2" source="CCE"/>
17935 <description>The logrotate (syslog rotater) service should be enabled.</description>
17936 </metadata>
17937 <criteria>
17938 <criterion comment="Find each file in /etc/syslog.conf in /etc/logrotate.d/syslog" test_ref="oval:org.open-scap.f14:tst:20154"/>
17939 </criteria>
17940 </definition>
17941 -->
17942 <definition class="compliance" id="oval:org.open-scap.f14:def:20155" version="1">
17943 <metadata>
17944 <title>Monitor Suspicious Log Messages using Logwatch</title>
17945 <reference ref_id="CCE-4323-2" source="CCE"/>
17946 <description>The logwatch service should be enabled or disabled as appropriate</description>
17947 </metadata>
17948 <criteria>
17949 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
17950 </criteria>
17951 </definition>
17952 <!-- END -->
17953 <definition class="compliance" id="oval:org.open-scap.f14:def:20156" version="1">
17954 <metadata>
17955 <title>Enable the auditd Service</title>
17956 <reference ref_id="CCE-4292-9" source="CCE"/>
17957 <description>The auditd service should be enabled.</description>
17958 </metadata>
17959 <criteria>
17960 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20156"/>
17961 </criteria>
17962 </definition>
17963 <definition class="compliance" id="oval:org.open-scap.f14:def:20157" version="1">
17964 <metadata>
17965 <title>Enable Auditing for Processes Which Start Prior to the Audit Daemon</title>
17966 <reference ref_id="TBD" source="CCE"/>
17967 <description>Look for argument audit=1 in the kernel line in /etc/grub.conf</description>
17968 </metadata>
17969 <criteria>
17970 <criterion comment="check for audit=1 in /etc/grub.conf" test_ref="oval:org.open-scap.f14:tst:20157"/>
17971 </criteria>
17972 </definition>
17973 <definition class="compliance" id="oval:org.open-scap.f14:def:201575" version="1">
17974 <metadata>
17975 <title>Records Events that Modify Date and Time Information</title>
17976 <reference ref_id="TBD" source="CCE"/>
17977 <description>Audit rules about time are enabled</description>
17978 </metadata>
17979 <criteria>
17980 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
17981 <criteria comment="32bit arch">
17982 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
17983 <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"/>
17984 <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"/>
17985 </criteria>
17986 <criteria comment="62bit arch">
17987 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
17988 <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"/>
17989 <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"/>
17990 </criteria>
17991 </criteria>
17992 <criterion comment="/etc/audit/audit.rules contains -w /etc/localtime -p wa -k time-change" test_ref="oval:org.open-scap.f14:tst:2015754"/>
17993 </criteria>
17994 </definition>
17995 <definition class="compliance" id="oval:org.open-scap.f14:def:20158" version="1">
17996 <metadata>
17997 <title>Record Events that Modify User/Group Information</title>
17998 <reference ref_id="TBD" source="CCE"/>
17999 <description>Audit rules about User/Group Information are enabled</description>
18000 </metadata>
18001 <criteria>
18002 <criterion comment="/etc/audit/audit.rules contains -w /etc/group -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201580"/>
18003 <criterion comment="/etc/audit/audit.rules contains -w /etc/passwd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201581"/>
18004 <criterion comment="/etc/audit/audit.rules contains -w /etc/gshadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201582"/>
18005 <criterion comment="/etc/audit/audit.rules contains -w /etc/shadow -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201583"/>
18006 <criterion comment="/etc/audit/audit.rules contains -w /etc/security/opasswd -p wa -k identity" test_ref="oval:org.open-scap.f14:tst:201584"/>
18007 </criteria>
18008 </definition>
18009 <definition class="compliance" id="oval:org.open-scap.f14:def:20159" version="1">
18010 <metadata>
18011 <title>Record Events that Modify the System’s Network Environment</title>
18012 <reference ref_id="TBD" source="CCE"/>
18013 <description>Audit rules about the System’s Network Environment are enabled</description>
18014 </metadata>
18015 <criteria>
18016 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18017 <criteria comment="32bit arch">
18018 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18019 <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"/>
18020 </criteria>
18021 <criteria comment="62bit arch">
18022 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18023 <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"/>
18024 </criteria>
18025 </criteria>
18026 <criterion comment="/etc/audit/audit.rules contains -w /etc/issue -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201592"/>
18027 <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"/>
18028 <criterion comment="/etc/audit/audit.rules contains -w /etc/hosts -p wa -k system-locale" test_ref="oval:org.open-scap.f14:tst:201594"/>
18029 <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"/>
18030 </criteria>
18031 </definition>
18032 <definition class="compliance" id="oval:org.open-scap.f14:def:20160" version="1">
18033 <metadata>
18034 <title>Record Events that Modify the System’s Mandatory Access Controls</title>
18035 <reference ref_id="TBD" source="CCE"/>
18036 <description>Audit rules about the System’s Mandatory Access Controls are enabled</description>
18037 </metadata>
18038 <criteria>
18039 <criterion comment="/etc/audit/audit.rules contains -w /etc/selinux/ -p wa -k MAC-policy" test_ref="oval:org.open-scap.f14:tst:20160"/>
18040 </criteria>
18041 </definition>
18042 <definition class="compliance" id="oval:org.open-scap.f14:def:20161" version="1">
18043 <metadata>
18044 <title>Ensure auditd Collects Logon and Logout Events</title>
18045 <reference ref_id="TBD" source="CCE"/>
18046 <description>Audit rules about the Logon and Logout Events are enabled</description>
18047 </metadata>
18048 <criteria>
18049 <criterion comment="/etc/audit/audit.rules contains -w /var/log/faillog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201610"/>
18050 <criterion comment="/etc/audit/audit.rules contains -w /var/log/lastlog -p wa -k logins" test_ref="oval:org.open-scap.f14:tst:201611"/>
18051 </criteria>
18052 </definition>
18053 <definition class="compliance" id="oval:org.open-scap.f14:def:20162" version="1">
18054 <metadata>
18055 <title>Ensure auditd Collects Process and Session Initiation Information</title>
18056 <reference ref_id="TBD" source="CCE"/>
18057 <description>Audit rules about the Process and Session Initiation Information are enabled</description>
18058 </metadata>
18059 <criteria>
18060 <criterion comment="/etc/audit/audit.rules contains -w /var/run/utmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201620"/>
18061 <criterion comment="/etc/audit/audit.rules contains -w /var/log/btmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201621"/>
18062 <criterion comment="/etc/audit/audit.rules contains -w /var/log/wtmp -p wa -k session" test_ref="oval:org.open-scap.f14:tst:201622"/>
18063 </criteria>
18064 </definition>
18065 <definition class="compliance" id="oval:org.open-scap.f14:def:20163" version="1">
18066 <metadata>
18067 <title>Ensure auditd Collects Discretionary Access Control Permission Modification Events</title>
18068 <reference ref_id="TBD" source="CCE"/>
18069 <description>Audit rules about the Discretionary Access Control Permission Modification Events are enabled</description>
18070 </metadata>
18071 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18072 <criteria comment="32bit arch">
18073 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18074 <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"/>
18075 <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"/>
18076 <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"/>
18077 </criteria>
18078 <criteria comment="62bit arch">
18079 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18080 <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"/>
18081 <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"/>
18082 <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"/>
18083 </criteria>
18084 </criteria>
18085 </definition>
18086 <definition class="compliance" id="oval:org.open-scap.f14:def:20164" version="1">
18087 <metadata>
18088 <title>Ensure auditd Collects Unauthorized Access Attempts to Files (unsuccessful)</title>
18089 <reference ref_id="TBD" source="CCE"/>
18090 <description>Audit rules about the Unauthorized Access Attempts to Files (unsuccessful) are enabled</description>
18091 </metadata>
18092 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18093 <criteria comment="32bit arch">
18094 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18095 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access" test_ref="oval:org.open-scap.f14:tst:201640"/>
18096 <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"/>
18097 </criteria>
18098 <criteria comment="62bit arch">
18099 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18100 <criterion comment="/etc/audit/audit.rules contains -a always,exit -F arch=ARCH -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid&gt;=500 -F auid!=4294967295 -k access" test_ref="oval:org.open-scap.f14:tst:201642"/>
18101 <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"/>
18102 </criteria>
18103 </criteria>
18104 </definition>
18105 <definition class="compliance" id="oval:org.open-scap.f14:def:20165" version="1">
18106 <metadata>
18107 <title>Ensure auditd Collects Information on the Use of Privileged Commands</title>
18108 <reference ref_id="TBD" source="CCE"/>
18109 <description>Audit rules about the Information on the Use of Privileged Commands are enabled</description>
18110 </metadata>
18111 <criteria>
18112 <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"/>
18113 </criteria>
18114 </definition>
18115 <definition class="compliance" id="oval:org.open-scap.f14:def:20166" version="1">
18116 <metadata>
18117 <title>Ensure auditd Collects Information on Exporting to Media (successful)</title>
18118 <reference ref_id="TBD" source="CCE"/>
18119 <description>Audit rules about the Information on Exporting to Media (successful) are enabled</description>
18120 </metadata>
18121 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18122 <criteria comment="32bit arch">
18123 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18124 <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"/>
18125 </criteria>
18126 <criteria comment="62bit arch">
18127 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18128 <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"/>
18129 </criteria>
18130 </criteria>
18131 </definition>
18132 <definition class="compliance" id="oval:org.open-scap.f14:def:20167" version="1">
18133 <metadata>
18134 <title>Ensure auditd Collects Files Deletion Events by User (successful and unsuccessful)</title>
18135 <reference ref_id="TBD" source="CCE"/>
18136 <description>Audit rules about the Files Deletion Events by User (successful and unsuccessful) are enabled</description>
18137 </metadata>
18138 <criteria comment="Architecture is 32 bit or 64 bit" operator="OR">
18139 <criteria comment="32bit arch">
18140 <criterion comment="check that arch is i386 or i686" test_ref="oval:org.open-scap.f14:tst:201670"/>
18141 <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"/>
18142 </criteria>
18143 <criteria comment="62bit arch">
18144 <criterion comment="check that arch is x86_64 ia64 amd64 ppc64 s390x" test_ref="oval:org.open-scap.f14:tst:201672"/>
18145 <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"/>
18146 </criteria>
18147 </criteria>
18148 </definition>
18149 <definition class="compliance" id="oval:org.open-scap.f14:def:20168" version="1">
18150 <metadata>
18151 <title>Ensure auditd Collects System Administrator Actions</title>
18152 <reference ref_id="TBD" source="CCE"/>
18153 <description>Audit rules about the System Administrator Actions are enabled</description>
18154 </metadata>
18155 <criteria>
18156 <criterion comment="/etc/audit/audit.rules contains -w /etc/sudoers -p wa -k actions" test_ref="oval:org.open-scap.f14:tst:20168"/>
18157 </criteria>
18158 </definition>
18159 <definition class="compliance" id="oval:org.open-scap.f14:def:201685" version="1">
18160 <metadata>
18161 <title>Ensure auditd Collects Information on Kernel Module Loading and Unloading</title>
18162 <reference ref_id="TBD" source="CCE"/>
18163 <description>Audit rules about the Information on Kernel Module Loading and Unloading.</description>
18164 </metadata>
18165 <criteria>
18166 <!-- <criterion comment="/etc/audit/audit.rules contains -w /sbin/insmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016851"/> -->
18167 <criterion comment="/etc/audit/audit.rules contains -w /sbin/rmmod -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016852"/>
18168 <criterion comment="/etc/audit/audit.rules contains -w /sbin/modprobe -p x -k modules" test_ref="oval:org.open-scap.f14:tst:2016853"/>
18169 <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"/>
18170 </criteria>
18171 </definition>
18172 <definition class="compliance" id="oval:org.open-scap.f14:def:20169" version="1">
18173 <metadata>
18174 <title>Make the auditd Configuration Immutable</title>
18175 <reference ref_id="TBD" source="CCE"/>
18176 <description>Force a reboot to change audit rules is enabled</description>
18177 </metadata>
18178 <criteria>
18179 <criterion comment="look in /etc/audit/audit.rules for -e 2" test_ref="oval:org.open-scap.f14:tst:20169"/>
18180 </criteria>
18181 </definition>
18182 <definition class="compliance" id="oval:org.open-scap.f14:def:20170" version="1">
18183 <metadata>
18184 <title>Inetd and Xinetd</title>
18185 <reference ref_id="CCE-4234-1" source="CCE"/>
18186 <description>The inetd service should be disabled.</description>
18187 </metadata>
18188 <criteria comment="inetd is not installed or conditions are met" operator="OR">
18189 <extend_definition comment="inetd is not installed" definition_ref="oval:org.open-scap.f14:def:20172"/>
18190 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20170"/>
18191 </criteria>
18192 </definition>
18193 <definition class="compliance" id="oval:org.open-scap.f14:def:20171" version="1">
18194 <metadata>
18195 <title>Inetd and Xinetd</title>
18196 <reference ref_id="CCE-4252-3" source="CCE"/>
18197 <description>The xinetd service should be disabled.</description>
18198 </metadata>
18199 <criteria comment="xinetd is not installed or conditions are met" operator="OR">
18200 <extend_definition comment="xinetd is not installed" definition_ref="oval:org.open-scap.f14:def:20173"/>
18201 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20171"/>
18202 </criteria>
18203 </definition>
18204 <definition class="compliance" id="oval:org.open-scap.f14:def:20172" version="1">
18205 <metadata>
18206 <title>Inetd and Xinetd</title>
18207 <reference ref_id="CCE-4023-8" source="CCE"/>
18208 <description>The inetd package should be uninstalled.</description>
18209 </metadata>
18210 <criteria>
18211 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20172"/>
18212 </criteria>
18213 </definition>
18214 <definition class="compliance" id="oval:org.open-scap.f14:def:20173" version="1">
18215 <metadata>
18216 <title>Inetd and Xinetd</title>
18217 <reference ref_id="CCE-4164-0" source="CCE"/>
18218 <description>The xinetd package should be uninstalled.</description>
18219 </metadata>
18220 <criteria>
18221 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20173"/>
18222 </criteria>
18223 </definition>
18224 <definition class="compliance" id="oval:org.open-scap.f14:def:20174" version="1">
18225 <metadata>
18226 <title>Telnet</title>
18227 <reference ref_id="CCE-4330-7" source="CCE"/>
18228 <description>The telnet-server package should be uninstalled.</description>
18229 </metadata>
18230 <criteria>
18231 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20174"/>
18232 </criteria>
18233 </definition>
18234 <definition class="compliance" id="oval:org.open-scap.f14:def:201745" version="1">
18235 <metadata>
18236 <title>Disable Telnet service</title>
18237 <reference ref_id="CCE-3390-2" source="CCE"/>
18238 <description>The telnet service should be disabled.</description>
18239 </metadata>
18240 <criteria comment="telnet is not installed or conditions are met" operator="OR">
18241 <extend_definition comment="telnet is not installed" definition_ref="oval:org.open-scap.f14:def:20174"/>
18242 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201745"/>
18243 </criteria>
18244 </definition>
18245 <definition class="compliance" id="oval:org.open-scap.f14:def:20175" version="1">
18246 <metadata>
18247 <title>Telnet Client installation</title>
18248 <reference ref_id="TBD" source="CCE"/>
18249 <description>The telnet package should be uninstalled.</description>
18250 </metadata>
18251 <criteria>
18252 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20175"/>
18253 </criteria>
18254 </definition>
18255 <definition class="compliance" id="oval:org.open-scap.f14:def:20176" version="1">
18256 <metadata>
18257 <title>Telnet kerberos client</title>
18258 <reference ref_id="TBD" source="CCE"/>
18259 <description>The krb5-workstation package should be uninstalled.</description>
18260 </metadata>
18261 <criteria>
18262 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20176"/>
18263 </criteria>
18264 </definition>
18265 <definition class="compliance" id="oval:org.open-scap.f14:def:20177" version="1">
18266 <metadata>
18267 <title>Remove the Rsh Server Commands from the System</title>
18268 <reference ref_id="CCE-4308-3" source="CCE"/>
18269 <description>The rsh-server package should be uninstalled.</description>
18270 </metadata>
18271 <criteria>
18272 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20177"/>
18273 </criteria>
18274 </definition>
18275 <definition class="compliance" id="oval:org.open-scap.f14:def:201774" version="1">
18276 <metadata>
18277 <title>disable rcp</title>
18278 <reference ref_id="CCE-3974-3" source="CCE"/>
18279 <description>The rcp service should be disabled.</description>
18280 </metadata>
18281 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
18282 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
18283 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
18284 </criteria>
18285 </definition>
18286 <definition class="compliance" id="oval:org.open-scap.f14:def:201775" version="1">
18287 <metadata>
18288 <title>disable rsh</title>
18289 <reference ref_id="CCE-4141-8" source="CCE"/>
18290 <description>The rsh service should be disabled.</description>
18291 </metadata>
18292 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
18293 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
18294 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201775"/>
18295 </criteria>
18296 </definition>
18297 <definition class="compliance" id="oval:org.open-scap.f14:def:201776" version="1">
18298 <metadata>
18299 <title>disable rlogin</title>
18300 <reference ref_id="CCE-3537-8" source="CCE"/>
18301 <description>The rlogin service should be disabled.</description>
18302 </metadata>
18303 <criteria comment="telnet-server is not installed or conditions are met" operator="OR">
18304 <extend_definition comment="rsh-server is not installed" definition_ref="oval:org.open-scap.f14:def:20177"/>
18305 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201776"/>
18306 </criteria>
18307 </definition>
18308 <definition class="compliance" id="oval:org.open-scap.f14:def:20178" version="1">
18309 <metadata>
18310 <title>Remove .rhosts Support from PAM Configuration Files</title>
18311 <reference ref_id="TBD" source="CCE"/>
18312 <description>Check that pam rhosts authentication is not used by any PAM services.</description>
18313 </metadata>
18314 <criteria>
18315 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20178"/>
18316 </criteria>
18317 </definition>
18318 <definition class="compliance" id="oval:org.open-scap.f14:def:20179" version="1">
18319 <metadata>
18320 <title>Remove the Rsh Client Commands from the System</title>
18321 <reference ref_id="TBD" source="CCE"/>
18322 <description>The rsh package, which contains client programs for many of r-commands should be uninstalled.</description>
18323 </metadata>
18324 <criteria>
18325 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20179"/>
18326 </criteria>
18327 </definition>
18328 <definition class="compliance" id="oval:org.open-scap.f14:def:20180" version="1">
18329 <metadata>
18330 <title>NIS</title>
18331 <reference ref_id="CCE-4348-9" source="CCE"/>
18332 <description>The ypserv package should be uninstalled.</description>
18333 </metadata>
18334 <criteria>
18335 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20180"/>
18336 </criteria>
18337 </definition>
18338 <definition class="compliance" id="oval:org.open-scap.f14:def:20181" version="1">
18339 <metadata>
18340 <title>NIS</title>
18341 <reference ref_id="CCE-3705-1" source="CCE"/>
18342 <description>The ypbind service should be disabled.</description>
18343 </metadata>
18344 <criteria comment="ypserv is not installed or conditions are met" operator="OR">
18345 <extend_definition comment="ypserv is not installed" definition_ref="oval:org.open-scap.f14:def:20180"/>
18346 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20181"/>
18347 </criteria>
18348 </definition>
18349 <definition class="compliance" id="oval:org.open-scap.f14:def:20182" version="1">
18350 <metadata>
18351 <title>Uninstall TFTP Server</title>
18352 <reference ref_id="CCE-3916-4" source="CCE"/>
18353 <description>The tftp-server package should be uninstalled.</description>
18354 </metadata>
18355 <criteria>
18356 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20182"/>
18357 </criteria>
18358 </definition>
18359 <definition class="compliance" id="oval:org.open-scap.f14:def:201825" version="1">
18360 <metadata>
18361 <title>Disable TFTP Server</title>
18362 <reference ref_id="CCE-4273-9" source="CCE"/>
18363 <description>The tftp service should be disabled.</description>
18364 </metadata>
18365 <criteria comment="tftp-server is not installed or conditions are met" operator="OR">
18366 <extend_definition comment="tftp-server is not installed" definition_ref="oval:org.open-scap.f14:def:20182"/>
18367 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:201825"/>
18368 </criteria>
18369 </definition>
18370 <definition class="compliance" id="oval:org.open-scap.f14:def:20183" version="1">
18371 <metadata>
18372 <title>Installation Helper Service (firstboot)</title>
18373 <reference ref_id="CCE-3412-4" source="CCE"/>
18374 <description>The firstboot service should be disabled.</description>
18375 </metadata>
18376 <criteria>
18377 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20183"/>
18378 </criteria>
18379 </definition>
18380 <definition class="compliance" id="oval:org.open-scap.f14:def:20184" version="1">
18381 <metadata>
18382 <title>Console Mouse Service (gpm)</title>
18383 <reference ref_id="CCE-4229-1" source="CCE"/>
18384 <description>The gpm service should be disabled.</description>
18385 </metadata>
18386 <criteria>
18387 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20184"/>
18388 </criteria>
18389 </definition>
18390 <definition class="compliance" id="oval:org.open-scap.f14:def:20185" version="1">
18391 <metadata>
18392 <title>Interrupt Distribution on Multiprocessor Systems (irqbalance)</title>
18393 <reference ref_id="CCE-4123-6" source="CCE"/>
18394 <description>The irqbalance service should be disabled.</description>
18395 </metadata>
18396 <criteria>
18397 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20185"/>
18398 </criteria>
18399 </definition>
18400 <definition class="compliance" id="oval:org.open-scap.f14:def:20186" version="1">
18401 <metadata>
18402 <title>ISDN Support (isdn)</title>
18403 <reference ref_id="CCE-4286-1" source="CCE"/>
18404 <description>The isdn service should be disabled.</description>
18405 </metadata>
18406 <criteria>
18407 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20186"/>
18408 </criteria>
18409 </definition>
18410 <definition class="compliance" id="oval:org.open-scap.f14:def:20187" version="1">
18411 <metadata>
18412 <title>Kdump Kernel Crash Analyzer (kdump)</title>
18413 <reference ref_id="CCE-3425-6" source="CCE"/>
18414 <description>The kdump service should be disabled.</description>
18415 </metadata>
18416 <criteria>
18417 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20187"/>
18418 </criteria>
18419 </definition>
18420 <definition class="compliance" id="oval:org.open-scap.f14:def:20188" version="1">
18421 <metadata>
18422 <title>Kudzu Hardware Probing Utility (kudzu)</title>
18423 <reference ref_id="CCE-4211-9" source="CCE"/>
18424 <description>The kudzu service should be disabled.</description>
18425 </metadata>
18426 <criteria>
18427 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20188"/>
18428 </criteria>
18429 </definition>
18430 <definition class="compliance" id="oval:org.open-scap.f14:def:20189" version="1">
18431 <metadata>
18432 <title>Software RAID Monitor (mdmonitor)</title>
18433 <reference ref_id="CCE-3854-7" source="CCE"/>
18434 <description>The mdmonitor service should be disabled.</description>
18435 </metadata>
18436 <criteria>
18437 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20189"/>
18438 </criteria>
18439 </definition>
18440 <definition class="compliance" id="oval:org.open-scap.f14:def:20190" version="1">
18441 <metadata>
18442 <title>IA32 Microcode Utility(microcodectl)</title>
18443 <reference ref_id="CCE-4356-2" source="CCE"/>
18444 <description>The microcode_ctl service should be disabled.</description>
18445 </metadata>
18446 <criteria>
18447 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20190"/>
18448 </criteria>
18449 </definition>
18450 <definition class="compliance" id="oval:org.open-scap.f14:def:20191" version="1">
18451 <metadata>
18452 <title>Disable All Networking if Not Needed</title>
18453 <reference ref_id="TBD" source="CCE"/>
18454 <description>The network service should be disabled.</description>
18455 </metadata>
18456 <criteria>
18457 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20191"/>
18458 </criteria>
18459 </definition>
18460 <definition class="compliance" id="oval:org.open-scap.f14:def:20192" version="1">
18461 <metadata>
18462 <title>Disable All External Network Interfaces if Not Needed</title>
18463 <reference ref_id="CCE-4369-5" source="CCE"/>
18464 <description>All files of the form ifcfg-interface except
18465 for ifcfg-lo in /etc/sysconfig/network-scripts should be removed</description>
18466 </metadata>
18467 <criteria>
18468 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20192"/>
18469 </criteria>
18470 </definition>
18471 <definition class="compliance" id="oval:org.open-scap.f14:def:20193" version="1">
18472 <metadata>
18473 <title>Disable Zeroconf Networking</title>
18474 <reference ref_id="CCE-4369-5" source="CCE"/>
18475 <description>Disable Zeroconf automatic route assignment in the 169.245.0.0 subnet.</description>
18476 </metadata>
18477 <criteria>
18478 <criterion comment="Look for NOZEROCONF=yes in /etc/sysconfig/network" test_ref="oval:org.open-scap.f14:tst:20193"/>
18479 </criteria>
18480 </definition>
18481 <definition class="compliance" id="oval:org.open-scap.f14:def:20194" version="1">
18482 <metadata>
18483 <title>Smart Card Support (pcscd)</title>
18484 <reference ref_id="CCE-4100-4" source="CCE"/>
18485 <description>The pcscd service should be disabled.</description>
18486 </metadata>
18487 <criteria>
18488 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20194"/>
18489 </criteria>
18490 </definition>
18491 <definition class="compliance" id="oval:org.open-scap.f14:def:20195" version="1">
18492 <metadata>
18493 <title>SMART Disk Monitoring Support (smartd)</title>
18494 <reference ref_id="CCE-3455-3" source="CCE"/>
18495 <description>The smartd service should be disabled.</description>
18496 </metadata>
18497 <criteria>
18498 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20195"/>
18499 </criteria>
18500 </definition>
18501 <definition class="compliance" id="oval:org.open-scap.f14:def:20196" version="1">
18502 <metadata>
18503 <title>Boot Caching (readahead early/readahead later)</title>
18504 <reference ref_id="CCE-4421-4" source="CCE"/>
18505 <description>The readahead_early service should be disabled.</description>
18506 </metadata>
18507 <criteria>
18508 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20196"/>
18509 </criteria>
18510 </definition>
18511 <definition class="compliance" id="oval:org.open-scap.f14:def:20197" version="1">
18512 <metadata>
18513 <title>Boot Caching (readahead early/readahead later)</title>
18514 <reference ref_id="CCE-4302-6" source="CCE"/>
18515 <description>The readahead_later service should be disabled.</description>
18516 </metadata>
18517 <criteria>
18518 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20197"/>
18519 </criteria>
18520 </definition>
18521 <definition class="compliance" id="oval:org.open-scap.f14:def:20198" version="1">
18522 <metadata>
18523 <title>D-Bus IPC Service (messagebus)</title>
18524 <reference ref_id="CCE-3822-4" source="CCE"/>
18525 <description>The messagebus service should be disabled.</description>
18526 </metadata>
18527 <criteria>
18528 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20198"/>
18529 </criteria>
18530 </definition>
18531 <definition class="compliance" id="oval:org.open-scap.f14:def:20199" version="1">
18532 <metadata>
18533 <title>HAL Daemon (haldaemon)</title>
18534 <reference ref_id="CCE-4364-6" source="CCE"/>
18535 <description>The haldaemon service should be disabled.</description>
18536 </metadata>
18537 <criteria>
18538 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20199"/>
18539 </criteria>
18540 </definition>
18541 <definition class="compliance" id="oval:org.open-scap.f14:def:20200" version="1">
18542 <metadata>
18543 <title>Bluetooth Host Controller Interface Daemon (bluetooth)</title>
18544 <reference ref_id="CCE-4355-4" source="CCE"/>
18545 <description>The bluetooth service should be disabled.</description>
18546 </metadata>
18547 <criteria>
18548 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20200"/>
18549 </criteria>
18550 </definition>
18551 <definition class="compliance" id="oval:org.open-scap.f14:def:20201" version="1">
18552 <metadata>
18553 <title>Bluetooth Input Devices (hidd)</title>
18554 <reference ref_id="CCE-4377-8" source="CCE"/>
18555 <description>The hidd service should be disabled.</description>
18556 </metadata>
18557 <criteria>
18558 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20201"/>
18559 </criteria>
18560 </definition>
18561 <definition class="compliance" id="oval:org.open-scap.f14:def:202015" version="1">
18562 <metadata>
18563 <title>Disable Bluetooth Kernel Modules</title>
18564 <reference ref_id="TBD" source="CCE"/>
18565 <description>Prevent loading of the Bluetooth module.</description>
18566 </metadata>
18567 <criteria>
18568 <criterion comment="check that net-pf-31 is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020151"/>
18569 <criterion comment="check that bluetooth is off in /etc/modprobe.conf" test_ref="oval:org.open-scap.f14:tst:2020152"/>
18570 </criteria>
18571 </definition>
18572 <definition class="compliance" id="oval:org.open-scap.f14:def:20202" version="1">
18573 <metadata>
18574 <title>Advanced Power Management Subsystem (apmd)</title>
18575 <reference ref_id="CCE-4289-5" source="CCE"/>
18576 <description>The apmd service should be disabled.</description>
18577 </metadata>
18578 <criteria>
18579 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20202"/>
18580 </criteria>
18581 </definition>
18582 <definition class="compliance" id="oval:org.open-scap.f14:def:20203" version="1">
18583 <metadata>
18584 <title>Advanced Configuration and Power Interface (acpid)</title>
18585 <reference ref_id="CCE-4298-6" source="CCE"/>
18586 <description>The acpid service should be disabled.</description>
18587 </metadata>
18588 <criteria>
18589 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20203"/>
18590 </criteria>
18591 </definition>
18592 <definition class="compliance" id="oval:org.open-scap.f14:def:20204" version="1">
18593 <metadata>
18594 <title>CPU Throttling (cpuspeed)</title>
18595 <reference ref_id="CCE-4051-9" source="CCE"/>
18596 <description>The cpuspeed service should be disabled.</description>
18597 </metadata>
18598 <criteria>
18599 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20204"/>
18600 </criteria>
18601 </definition>
18602 <definition class="compliance" id="oval:org.open-scap.f14:def:20205" version="1">
18603 <metadata>
18604 <title>Cron Daemon running state</title>
18605 <reference ref_id="CCE-4324-0" source="CCE"/>
18606 <description>The crond service should be enabled.</description>
18607 </metadata>
18608 <criteria>
18609 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20205"/>
18610 </criteria>
18611 </definition>
18612 <definition class="compliance" id="oval:org.open-scap.f14:def:202052" version="1">
18613 <metadata>
18614 <title>At Daemon running state</title>
18615 <reference ref_id="TBD" source="CCE"/>
18616 <description>The atd service should be disabled.</description>
18617 </metadata>
18618 <criteria comment="at is not installed or conditions are met" operator="OR">
18619 <extend_definition comment="at is not installed" definition_ref="oval:org.open-scap.f14:def:202053"/>
18620 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:202052"/>
18621 </criteria>
18622 </definition>
18623 <definition class="compliance" id="oval:org.open-scap.f14:def:202053" version="1">
18624 <metadata>
18625 <title>At Daemons package is installed</title>
18626 <reference ref_id="TBD" source="CCE"/>
18627 <description>The at package should be removed.</description>
18628 </metadata>
18629 <criteria>
18630 <criterion comment="Check for package at" test_ref="oval:org.open-scap.f14:tst:202053"/>
18631 </criteria>
18632 </definition>
18633 <definition class="compliance" id="oval:org.open-scap.f14:def:20206" version="1">
18634 <metadata>
18635 <title>Disable anacron if Possible</title>
18636 <reference ref_id="CCE-4406-5" source="CCE"/>
18637 <description>The anacron service should be disabled.</description>
18638 </metadata>
18639 <criteria>
18640 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20206"/>
18641 </criteria>
18642 </definition>
18643 <definition class="compliance" id="oval:org.open-scap.f14:def:20207" version="1">
18644 <metadata>
18645 <title>Disable anacron if Possible</title>
18646 <reference ref_id="CCE-4428-9" source="CCE"/>
18647 <description>The anacron package should be uninstalled.</description>
18648 </metadata>
18649 <criteria>
18650 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20207"/>
18651 </criteria>
18652 </definition>
18653 <definition class="compliance" id="oval:org.open-scap.f14:def:20208" version="1">
18654 <metadata>
18655 <title>Restrict Permissions on Files Used by cron</title>
18656 <reference ref_id="CCE-3626-9" source="CCE"/>
18657 <description>The /etc/crontab file should be owned by the appropriate group.</description>
18658 </metadata>
18659 <criteria>
18660 <criterion test_ref="oval:org.open-scap.f14:tst:20208"/>
18661 </criteria>
18662 </definition>
18663 <definition class="compliance" id="oval:org.open-scap.f14:def:20209" version="1">
18664 <metadata>
18665 <title>Restrict Permissions on Files Used by cron</title>
18666 <reference ref_id="CCE-3851-3" source="CCE"/>
18667 <description>The /etc/crontab file should be owned by the appropriate user.</description>
18668 </metadata>
18669 <criteria>
18670 <criterion test_ref="oval:org.open-scap.f14:tst:20209"/>
18671 </criteria>
18672 </definition>
18673 <definition class="compliance" id="oval:org.open-scap.f14:def:20210" version="1">
18674 <metadata>
18675 <title>Restrict Permissions on Files Used by cron</title>
18676 <reference ref_id="CCE-4388-5" source="CCE"/>
18677 <description>File permissions for /etc/crontab should be set correctly.</description>
18678 </metadata>
18679 <criteria>
18680 <criterion test_ref="oval:org.open-scap.f14:tst:20210"/>
18681 </criteria>
18682 </definition>
18683 <definition class="compliance" id="oval:org.open-scap.f14:def:20211" version="1">
18684 <metadata>
18685 <title>Restrict Permissions on Files Used by cron</title>
18686 <reference ref_id="CCE-3604-6" source="CCE"/>
18687 <description>The /etc/anacrontab file should be owned by the appropriate group.</description>
18688 </metadata>
18689 <criteria>
18690 <criterion test_ref="oval:org.open-scap.f14:tst:20211"/>
18691 </criteria>
18692 </definition>
18693 <definition class="compliance" id="oval:org.open-scap.f14:def:20212" version="1">
18694 <metadata>
18695 <title>Restrict Permissions on Files Used by cron</title>
18696 <reference ref_id="CCE-4379-4" source="CCE"/>
18697 <description>The /etc/anacrontab file should be owned by the appropriate user.</description>
18698 </metadata>
18699 <criteria>
18700 <criterion test_ref="oval:org.open-scap.f14:tst:20212"/>
18701 </criteria>
18702 </definition>
18703 <definition class="compliance" id="oval:org.open-scap.f14:def:20213" version="1">
18704 <metadata>
18705 <title>Restrict Permissions on Files Used by cron</title>
18706 <reference ref_id="CCE-4304-2" source="CCE"/>
18707 <description>File permissions for /etc/anacrontab should be set correctly.</description>
18708 </metadata>
18709 <criteria>
18710 <criterion test_ref="oval:org.open-scap.f14:tst:20213"/>
18711 </criteria>
18712 </definition>
18713 <definition class="compliance" id="oval:org.open-scap.f14:def:20214" version="1">
18714 <metadata>
18715 <title>Restrict Permissions on Files Used by cron</title>
18716 <reference ref_id="CCE-4054-3" source="CCE"/>
18717 <description>The /etc/cron.hourly file should be owned by the appropriate group.</description>
18718 </metadata>
18719 <criteria>
18720 <criterion test_ref="oval:org.open-scap.f14:tst:20214"/>
18721 </criteria>
18722 </definition>
18723 <definition class="compliance" id="oval:org.open-scap.f14:def:20215" version="1">
18724 <metadata>
18725 <title>Restrict Permissions on Files Used by cron</title>
18726 <reference ref_id="CCE-3481-9" source="CCE"/>
18727 <description>The /etc/cron.daily file should be owned by the appropriate group.</description>
18728 </metadata>
18729 <criteria>
18730 <criterion test_ref="oval:org.open-scap.f14:tst:20215"/>
18731 </criteria>
18732 </definition>
18733 <definition class="compliance" id="oval:org.open-scap.f14:def:20216" version="1">
18734 <metadata>
18735 <title>Restrict Permissions on Files Used by cron</title>
18736 <reference ref_id="CCE-4331-5" source="CCE"/>
18737 <description>The /etc/cron.weekly file should be owned by the appropriate group.</description>
18738 </metadata>
18739 <criteria>
18740 <criterion test_ref="oval:org.open-scap.f14:tst:20216"/>
18741 </criteria>
18742 </definition>
18743 <definition class="compliance" id="oval:org.open-scap.f14:def:20217" version="1">
18744 <metadata>
18745 <title>Restrict Permissions on Files Used by cron</title>
18746 <reference ref_id="CCE-4322-4" source="CCE"/>
18747 <description>The /etc/cron.monthly file should be owned by the appropriate group.</description>
18748 </metadata>
18749 <criteria>
18750 <criterion test_ref="oval:org.open-scap.f14:tst:20217"/>
18751 </criteria>
18752 </definition>
18753 <definition class="compliance" id="oval:org.open-scap.f14:def:20218" version="1">
18754 <metadata>
18755 <title>Restrict Permissions on Files Used by cron</title>
18756 <reference ref_id="CCE-4212-7" source="CCE"/>
18757 <description>The /etc/cron.d file should be owned by the appropriate group.</description>
18758 </metadata>
18759 <criteria>
18760 <criterion test_ref="oval:org.open-scap.f14:tst:20218"/>
18761 </criteria>
18762 </definition>
18763 <definition class="compliance" id="oval:org.open-scap.f14:def:20219" version="1">
18764 <metadata>
18765 <title>Restrict Permissions on Files Used by cron</title>
18766 <reference ref_id="CCE-3983-4" source="CCE"/>
18767 <description>The /etc/cron.hourly file should be owned by the appropriate user.</description>
18768 </metadata>
18769 <criteria>
18770 <criterion test_ref="oval:org.open-scap.f14:tst:20219"/>
18771 </criteria>
18772 </definition>
18773 <definition class="compliance" id="oval:org.open-scap.f14:def:20220" version="1">
18774 <metadata>
18775 <title>Restrict Permissions on Files Used by cron</title>
18776 <reference ref_id="CCE-4022-0" source="CCE"/>
18777 <description>The /etc/cron.daily file should be owned by the appropriate user.</description>
18778 </metadata>
18779 <criteria>
18780 <criterion test_ref="oval:org.open-scap.f14:tst:20220"/>
18781 </criteria>
18782 </definition>
18783 <definition class="compliance" id="oval:org.open-scap.f14:def:20221" version="1">
18784 <metadata>
18785 <title>Restrict Permissions on Files Used by cron</title>
18786 <reference ref_id="CCE-3833-1" source="CCE"/>
18787 <description>The /etc/cron.weekly file should be owned by the appropriate user.</description>
18788 </metadata>
18789 <criteria>
18790 <criterion test_ref="oval:org.open-scap.f14:tst:20221"/>
18791 </criteria>
18792 </definition>
18793 <definition class="compliance" id="oval:org.open-scap.f14:def:20222" version="1">
18794 <metadata>
18795 <title>Restrict Permissions on Files Used by cron</title>
18796 <reference ref_id="CCE-4441-2" source="CCE"/>
18797 <description>The /etc/cron.monthly file should be owned by the appropriate user.</description>
18798 </metadata>
18799 <criteria>
18800 <criterion test_ref="oval:org.open-scap.f14:tst:20222"/>
18801 </criteria>
18802 </definition>
18803 <definition class="compliance" id="oval:org.open-scap.f14:def:20223" version="1">
18804 <metadata>
18805 <title>Restrict Permissions on Files Used by cron</title>
18806 <reference ref_id="CCE-4380-2" source="CCE"/>
18807 <description>The /etc/cron.d file should be owned by the appropriate user.</description>
18808 </metadata>
18809 <criteria>
18810 <criterion test_ref="oval:org.open-scap.f14:tst:20223"/>
18811 </criteria>
18812 </definition>
18813 <definition class="compliance" id="oval:org.open-scap.f14:def:20224" version="1">
18814 <metadata>
18815 <title>Restrict Permissions on Files Used by cron</title>
18816 <reference ref_id="CCE-4106-1" source="CCE"/>
18817 <description>File permissions for /etc/cron.hourly should be set correctly.</description>
18818 </metadata>
18819 <criteria>
18820 <criterion test_ref="oval:org.open-scap.f14:tst:20224"/>
18821 </criteria>
18822 </definition>
18823 <definition class="compliance" id="oval:org.open-scap.f14:def:20225" version="1">
18824 <metadata>
18825 <title>Restrict Permissions on Files Used by cron</title>
18826 <reference ref_id="CCE-4450-3" source="CCE"/>
18827 <description>File permissions for /etc/cron.daily should be set correctly.</description>
18828 </metadata>
18829 <criteria>
18830 <criterion test_ref="oval:org.open-scap.f14:tst:20225"/>
18831 </criteria>
18832 </definition>
18833 <definition class="compliance" id="oval:org.open-scap.f14:def:20226" version="1">
18834 <metadata>
18835 <title>Restrict Permissions on Files Used by cron</title>
18836 <reference ref_id="CCE-4203-6" source="CCE"/>
18837 <description>File permissions for /etc/cron.weekly should be set correctly.</description>
18838 </metadata>
18839 <criteria>
18840 <criterion test_ref="oval:org.open-scap.f14:tst:20226"/>
18841 </criteria>
18842 </definition>
18843 <definition class="compliance" id="oval:org.open-scap.f14:def:20227" version="1">
18844 <metadata>
18845 <title>Restrict Permissions on Files Used by cron</title>
18846 <reference ref_id="CCE-4251-5" source="CCE"/>
18847 <description>File permissions for /etc/cron.monthly should be set correctly.</description>
18848 </metadata>
18849 <criteria>
18850 <criterion test_ref="oval:org.open-scap.f14:tst:20227"/>
18851 </criteria>
18852 </definition>
18853 <definition class="compliance" id="oval:org.open-scap.f14:def:20228" version="1">
18854 <metadata>
18855 <title>Restrict Permissions on Files Used by cron</title>
18856 <reference ref_id="CCE-4250-7" source="CCE"/>
18857 <description>File permissions for /etc/cron.d should be set correctly.</description>
18858 </metadata>
18859 <criteria>
18860 <criterion test_ref="oval:org.open-scap.f14:tst:20228"/>
18861 </criteria>
18862 </definition>
18863 <definition class="compliance" id="oval:org.open-scap.f14:def:20229" version="1">
18864 <metadata>
18865 <title>Restrict group owner on /var/spool/cron file</title>
18866 <reference ref_id="TBD" source="CCE"/>
18867 <description>The /var/spool/cron file should be owned by the appropriate group.</description>
18868 </metadata>
18869 <criteria>
18870 <criterion test_ref="oval:org.open-scap.f14:tst:20229"/>
18871 </criteria>
18872 </definition>
18873 <definition class="compliance" id="oval:org.open-scap.f14:def:20230" version="1">
18874 <metadata>
18875 <title>Restrict user owner on /var/spool/cron file</title>
18876 <reference ref_id="TBD" source="CCE"/>
18877 <description>The /var/spool/cron file should be owned by the appropriate user.</description>
18878 </metadata>
18879 <criteria>
18880 <criterion test_ref="oval:org.open-scap.f14:tst:20230"/>
18881 </criteria>
18882 </definition>
18883 <definition class="compliance" id="oval:org.open-scap.f14:def:20231" version="1">
18884 <metadata>
18885 <title>Restrict Permissions on /var/spool/cron file</title>
18886 <reference ref_id="TBD" source="CCE"/>
18887 <description>File permissions for /var/spool/cron should be set correctly.</description>
18888 </metadata>
18889 <criteria>
18890 <criterion test_ref="oval:org.open-scap.f14:tst:20231"/>
18891 </criteria>
18892 </definition>
18893 <definition class="compliance" id="oval:org.open-scap.f14:def:20232" version="1">
18894 <metadata>
18895 <title>Remove /etc/cron.deny</title>
18896 <reference ref_id="TBD" source="CCE"/>
18897 <description>/etc/cron.deny file should not exist.</description>
18898 </metadata>
18899 <criteria>
18900 <criterion comment="Check existence of file /etc/cron.deny" test_ref="oval:org.open-scap.f14:tst:20232"/>
18901 </criteria>
18902 </definition>
18903 <definition class="compliance" id="oval:org.open-scap.f14:def:20233" version="1">
18904 <metadata>
18905 <title>Remove /etc/at.deny</title>
18906 <reference ref_id="TBD" source="CCE"/>
18907 <description>/etc/at.deny file should not exist.</description>
18908 </metadata>
18909 <criteria>
18910 <criterion comment="Check existence of file /etc/at.deny" test_ref="oval:org.open-scap.f14:tst:20233"/>
18911 </criteria>
18912 </definition>
18913 <definition class="compliance" id="oval:org.open-scap.f14:def:20234" version="1">
18914 <metadata>
18915 <title>Disable OpenSSH Software</title>
18916 <reference ref_id="CCE-4268-9" source="CCE"/>
18917 <description>The sshd service should be disabled.</description>
18918 </metadata>
18919 <criteria comment="SSH is not installed or conditions are met" operator="OR">
18920 <extend_definition comment="ssh is not installed" definition_ref="oval:org.open-scap.f14:def:20235"/>
18921 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20234"/>
18922 </criteria>
18923 </definition>
18924 <definition class="compliance" id="oval:org.open-scap.f14:def:20235" version="1">
18925 <metadata>
18926 <title>Remove OpenSSH Software</title>
18927 <reference ref_id="CCE-4272-1" source="CCE"/>
18928 <description>SSH should be uninstalled</description>
18929 </metadata>
18930 <criteria>
18931 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20235"/>
18932 </criteria>
18933 </definition>
18934 <definition class="compliance" id="oval:org.open-scap.f14:def:20236" version="1">
18935 <metadata>
18936 <title>Remove SSH Server iptables Firewall Exception</title>
18937 <reference ref_id="CCE-4295-2" source="CCE"/>
18938 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18939 </metadata>
18940 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18941 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18942 <criterion comment="Remove IPv4 inbound connections" test_ref="oval:org.open-scap.f14:tst:20236"/>
18943 </criteria>
18944 </definition>
18945 <definition class="compliance" id="oval:org.open-scap.f14:def:20237" version="1">
18946 <metadata>
18947 <title>Remove SSH Server ip6tables Firewall Exception</title>
18948 <reference ref_id="TBD" source="CCE"/>
18949 <description>Inbound connections to the ssh port should be denied (and dependencies are met)</description>
18950 </metadata>
18951 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18952 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18953 <criterion comment="Remove IPv6 inbound connections" test_ref="oval:org.open-scap.f14:tst:20237"/>
18954 </criteria>
18955 </definition>
18956 <definition class="compliance" id="oval:org.open-scap.f14:def:20238" version="1">
18957 <metadata>
18958 <title>Ensure Only Protocol 2 Connections Allowed</title>
18959 <reference ref_id="CCE-4325-7" source="CCE"/>
18960 <description>SSH version 1 protocol support should be disabled. (and dependencies are met)</description>
18961 </metadata>
18962 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18963 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18964 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20238"/>
18965 </criteria>
18966 </definition>
18967 <definition class="compliance" id="oval:org.open-scap.f14:def:20239" version="1">
18968 <metadata>
18969 <title>Set Idle Timeout Interval for User Logins</title>
18970 <reference ref_id="CCE-3845-5" source="CCE"/>
18971 <description>The SSH idle timout interval should be set to an appropriate value (and dependencies are met)</description>
18972 </metadata>
18973 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18974 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18975 <criterion comment="check ClientAliveInterval in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20239"/>
18976 </criteria>
18977 </definition>
18978 <definition class="compliance" id="oval:org.open-scap.f14:def:20240" version="1">
18979 <metadata>
18980 <title>Set ClientAliveCountMax for User Logins</title>
18981 <reference ref_id="TBD" source="CCE"/>
18982 <description>The SSH ClientAliveCountMax should be set to an appropriate value (and dependencies are met)</description>
18983 </metadata>
18984 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18985 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18986 <criterion comment="check ClientAliveCountMax in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:20240"/>
18987 </criteria>
18988 </definition>
18989 <definition class="compliance" id="oval:org.open-scap.f14:def:20241" version="1">
18990 <metadata>
18991 <title>Disable .rhosts Files</title>
18992 <reference ref_id="CCE-4475-0" source="CCE"/>
18993 <description>Emulation of the rsh command through the ssh server should be disabled (and dependencies are met)</description>
18994 </metadata>
18995 <criteria comment="SSH is not being used or conditions are met" operator="OR">
18996 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
18997 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20241"/>
18998 </criteria>
18999 </definition>
19000 <definition class="compliance" id="oval:org.open-scap.f14:def:20242" version="1">
19001 <metadata>
19002 <title>Disable Host-Based Authentication</title>
19003 <reference ref_id="CCE-4370-3" source="CCE"/>
19004 <description>SSH host-based authentication should be disabled (and dependencies are met)</description>
19005 </metadata>
19006 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19007 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19008 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20242"/>
19009 </criteria>
19010 </definition>
19011 <definition class="compliance" id="oval:org.open-scap.f14:def:20243" version="1">
19012 <metadata>
19013 <title>Disable root Login via SSH</title>
19014 <reference ref_id="CCE-4387-7" source="CCE"/>
19015 <description>Root login via SSH should be disabled (and dependencies are met)</description>
19016 </metadata>
19017 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19018 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19019 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20243"/>
19020 </criteria>
19021 </definition>
19022 <definition class="compliance" id="oval:org.open-scap.f14:def:20244" version="1">
19023 <metadata>
19024 <title>Disable Empty Passwords</title>
19025 <reference ref_id="CCE-3660-8" source="CCE"/>
19026 <description>Remote connections from accounts with empty passwords should be disabled (and dependencies are met)</description>
19027 </metadata>
19028 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19029 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19030 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20244"/>
19031 </criteria>
19032 </definition>
19033 <definition class="compliance" id="oval:org.open-scap.f14:def:20245" version="1">
19034 <metadata>
19035 <title>Enable a Warning Banner</title>
19036 <reference ref_id="CCE-4431-3" source="CCE"/>
19037 <description>SSH warning banner should be enabled (and dependencies are met)</description>
19038 </metadata>
19039 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19040 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19041 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20245"/>
19042 </criteria>
19043 </definition>
19044 <definition class="compliance" id="oval:org.open-scap.f14:def:202455" version="1">
19045 <metadata>
19046 <title>Do Not Allow Users to Set Environment Options</title>
19047 <reference ref_id="CCE-4422-2" source="CCE"/>
19048 <description>PermitUserEnvironment should be disabled</description>
19049 </metadata>
19050 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19051 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19052 <criterion comment="Check value of PermitUserEnvironment in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202455"/>
19053 </criteria>
19054 </definition>
19055 <definition class="compliance" id="oval:org.open-scap.f14:def:202456" version="1">
19056 <metadata>
19057 <title>Use Only Approved Ciphers</title>
19058 <reference ref_id="CCE-4422-2" source="CCE"/>
19059 <description>Use only approved ciphers</description>
19060 </metadata>
19061 <criteria comment="SSH is not being used or conditions are met" operator="OR">
19062 <extend_definition comment="sshd service is disabled" definition_ref="oval:org.open-scap.f14:def:20234"/>
19063 <criterion comment="Check value of Ciphers in /etc/ssh/sshd_config" test_ref="oval:org.open-scap.f14:tst:202456"/>
19064 </criteria>
19065 </definition>
19066 <definition class="compliance" id="oval:org.open-scap.f14:def:20246" version="1">
19067 <metadata>
19068 <title>Disable X Windows at System Boot</title>
19069 <reference ref_id="CCE-4462-8" source="CCE"/>
19070 <description>X Windows should be disabled at system boot</description>
19071 </metadata>
19072 <criteria>
19073 <criterion test_ref="oval:org.open-scap.f14:tst:20246"/>
19074 </criteria>
19075 </definition>
19076 <definition class="compliance" id="oval:org.open-scap.f14:def:20247" version="1">
19077 <metadata>
19078 <title>Remove X Windows from the System if Possible</title>
19079 <reference ref_id="CCE-4422-2" source="CCE"/>
19080 <description>X Windows should be removed</description>
19081 </metadata>
19082 <criteria>
19083 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19084 </criteria>
19085 </definition>
19086 <definition class="compliance" id="oval:org.open-scap.f14:def:20248" version="1">
19087 <metadata>
19088 <title>Disable X Window System Listening</title>
19089 <reference ref_id="CCE-4074-1" source="CCE"/>
19090 <description>Disable the ability to provide remote graphical display</description>
19091 </metadata>
19092 <criteria>
19093 <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"/>
19094 </criteria>
19095 </definition>
19096 <definition class="compliance" id="oval:org.open-scap.f14:def:20249" version="1">
19097 <metadata>
19098 <title>Create Warning Banners for GUI Login Users</title>
19099 <reference ref_id="CCE-3717-6" source="CCE"/>
19100 <description>Enable warning banner for GUI login</description>
19101 </metadata>
19102 <criteria>
19103 <criterion comment="check the value of InfoMsgFile=/etc/issue in /etc/gdm/custom.conf" test_ref="oval:org.open-scap.f14:tst:20249"/>
19104 </criteria>
19105 </definition>
19106 <definition class="compliance" id="oval:org.open-scap.f14:def:20250" version="1">
19107 <metadata>
19108 <title>Disable Avahi Server Software</title>
19109 <reference ref_id="CCE-4365-3" source="CCE"/>
19110 <description>The avahi-daemon service should be disabled.</description>
19111 </metadata>
19112 <criteria>
19113 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20250"/>
19114 </criteria>
19115 </definition>
19116 <definition class="compliance" id="oval:org.open-scap.f14:def:20251" version="1">
19117 <metadata>
19118 <title>Serve Only via Required Protocol</title>
19119 <reference ref_id="CCE-4136-8" source="CCE"/>
19120 <description>The Avahi daemon should be configured not to serve via Ipv6 (and dependencies are met)</description>
19121 </metadata>
19122 <criteria comment="avahi is diabled or do not use ipv6" operator="OR">
19123 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19124 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20251"/>
19125 </criteria>
19126 </definition>
19127 <definition class="compliance" id="oval:org.open-scap.f14:def:20252" version="1">
19128 <metadata>
19129 <title>Serve Only via Required Protocol</title>
19130 <reference ref_id="CCE-4409-9" source="CCE"/>
19131 <description>The Avahi daemon should be configured not to serve via Ipv4 (and dependencies are met)</description>
19132 </metadata>
19133 <criteria comment="avahi is diabled or do not use ipv4" operator="OR">
19134 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19135 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:20252"/>
19136 </criteria>
19137 </definition>
19138 <definition class="compliance" id="oval:org.open-scap.f14:def:20253" version="1">
19139 <metadata>
19140 <title>Check Responses' TTL Field</title>
19141 <reference ref_id="CCE-4426-3" source="CCE"/>
19142 <description>Avahi should be configured to reject packets with a TTL field not equal to 255 (and dependencies are met)</description>
19143 </metadata>
19144 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19145 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19146 <criterion test_ref="oval:org.open-scap.f14:tst:20253"/>
19147 </criteria>
19148 </definition>
19149 <definition class="compliance" id="oval:org.open-scap.f14:def:20254" version="1">
19150 <metadata>
19151 <title>Prevent Other Programs from Using Avahi's Port</title>
19152 <reference ref_id="CCE-4193-9" source="CCE"/>
19153 <description>Avahi should be configured to not allow other stacks from binding to port 5353 (and dependencies are met)</description>
19154 </metadata>
19155 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19156 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19157 <criterion test_ref="oval:org.open-scap.f14:tst:20254"/>
19158 </criteria>
19159 </definition>
19160 <definition class="compliance" id="oval:org.open-scap.f14:def:20255" version="1">
19161 <metadata>
19162 <title>Disable Publishing if Possible</title>
19163 <reference ref_id="CCE-4444-6" source="CCE"/>
19164 <description>Avahi publishing of local information should be disabled (and dependencies are met)</description>
19165 </metadata>
19166 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19167 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19168 <criterion test_ref="oval:org.open-scap.f14:tst:20255"/>
19169 </criteria>
19170 </definition>
19171 <definition class="compliance" id="oval:org.open-scap.f14:def:20256" version="1">
19172 <metadata>
19173 <title>Restrict Published Information</title>
19174 <reference ref_id="CCE-4352-1" source="CCE"/>
19175 <description>Avahi publishing of local information by user applications should be disabled (and dependencies are met)</description>
19176 </metadata>
19177 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19178 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19179 <criterion test_ref="oval:org.open-scap.f14:tst:20256"/>
19180 </criteria>
19181 </definition>
19182 <definition class="compliance" id="oval:org.open-scap.f14:def:20257" version="1">
19183 <metadata>
19184 <title>Restrict Published Information</title>
19185 <reference ref_id="CCE-4433-9" source="CCE"/>
19186 <description>Avahi publishing of hardware information should be disabled (and dependencies are met)</description>
19187 </metadata>
19188 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19189 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19190 <criterion test_ref="oval:org.open-scap.f14:tst:20257"/>
19191 </criteria>
19192 </definition>
19193 <definition class="compliance" id="oval:org.open-scap.f14:def:20258" version="1">
19194 <metadata>
19195 <title>Restrict Published Information</title>
19196 <reference ref_id="CCE-4451-1" source="CCE"/>
19197 <description>Avahi publishing of workstation name should be disabled (and dependencies are met)</description>
19198 </metadata>
19199 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19200 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19201 <criterion test_ref="oval:org.open-scap.f14:tst:20258"/>
19202 </criteria>
19203 </definition>
19204 <definition class="compliance" id="oval:org.open-scap.f14:def:20259" version="1">
19205 <metadata>
19206 <title>Restrict Published Information</title>
19207 <reference ref_id="CCE-4341-4" source="CCE"/>
19208 <description>Avahi publishing of IP addresses should be disabled (and dependencies are met)</description>
19209 </metadata>
19210 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19211 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19212 <criterion test_ref="oval:org.open-scap.f14:tst:20259"/>
19213 </criteria>
19214 </definition>
19215 <definition class="compliance" id="oval:org.open-scap.f14:def:20260" version="1">
19216 <metadata>
19217 <title>Restrict Published Information</title>
19218 <reference ref_id="CCE-4358-8" source="CCE"/>
19219 <description>Avahi publishing of domain name should be disabled (and dependencies are met)</description>
19220 </metadata>
19221 <criteria comment="avahi is diabled or conditions are met" operator="OR">
19222 <extend_definition comment="avahi is disabled" definition_ref="oval:org.open-scap.f14:def:20250"/>
19223 <criterion test_ref="oval:org.open-scap.f14:tst:20260"/>
19224 </criteria>
19225 </definition>
19226 <definition class="compliance" id="oval:org.open-scap.f14:def:20261" version="1">
19227 <metadata>
19228 <title>Disable the CUPS Service if Possible</title>
19229 <reference ref_id="CCE-4112-9" source="CCE"/>
19230 <description>The cups service should be disabled.</description>
19231 </metadata>
19232 <criteria>
19233 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20261"/>
19234 </criteria>
19235 </definition>
19236 <definition class="compliance" id="oval:org.open-scap.f14:def:20262" version="1">
19237 <metadata>
19238 <title>Disable Firewall Access to Printing Service over IPv4 if Possible</title>
19239 <reference ref_id="CCE-3649-1" source="CCE"/>
19240 <description>Firewall access to printing service should be disabled</description>
19241 </metadata>
19242 <criteria>
19243 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19244 </criteria>
19245 </definition>
19246 <definition class="compliance" id="oval:org.open-scap.f14:def:20263" version="1">
19247 <metadata>
19248 <title>Disable Firewall Access to Printing Service over IPv6 if Possible</title>
19249 <reference ref_id="TBD" source="CCE"/>
19250 <description>Firewall access to printing service should be disabled</description>
19251 </metadata>
19252 <criteria>
19253 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19254 </criteria>
19255 </definition>
19256 <definition class="compliance" id="oval:org.open-scap.f14:def:20264" version="1">
19257 <metadata>
19258 <title>Disable Printer Browsing Entirely if Possible</title>
19259 <reference ref_id="CCE-4420-6" source="CCE"/>
19260 <description>Remote print browsing should be disabled (and dependencies are met)</description>
19261 </metadata>
19262 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
19263 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
19264 <criterion test_ref="oval:org.open-scap.f14:tst:20264"/>
19265 </criteria>
19266 </definition>
19267 <definition class="compliance" id="oval:org.open-scap.f14:def:20265" version="1">
19268 <metadata>
19269 <title>Disable Printer Browsing Entirely if Possible</title>
19270 <reference ref_id="CCE-4407-3" source="CCE"/>
19271 <description>CUPS should be allowed or denied the ability to listen for Incoming printer information as appropriate (and dependencies are met)</description>
19272 </metadata>
19273 <criteria comment="CUPS is disabled or conditions are met" operator="OR">
19274 <extend_definition comment="CUPS is disabled" definition_ref="oval:org.open-scap.f14:def:20261"/>
19275 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20265"/>
19276 </criteria>
19277 </definition>
19278 <definition class="compliance" id="oval:org.open-scap.f14:def:20266" version="1">
19279 <metadata>
19280 <title>Disable HPLIP Service if Possible</title>
19281 <reference ref_id="CCE-4425-5" source="CCE"/>
19282 <description>The hplip service should be disabled.</description>
19283 </metadata>
19284 <criteria>
19285 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20266"/>
19286 </criteria>
19287 </definition>
19288 <definition class="compliance" id="oval:org.open-scap.f14:def:20267" version="1">
19289 <metadata>
19290 <title>Disable DHCP Client if Possible</title>
19291 <reference ref_id="CCE-4191-3" source="CCE"/>
19292 <description>The dhcp client service should be disabled for each interface.</description>
19293 </metadata>
19294 <criteria>
19295 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20267"/>
19296 </criteria>
19297 </definition>
19298 <definition class="compliance" id="oval:org.open-scap.f14:def:20268" version="1">
19299 <metadata>
19300 <title>Disable DHCP Server if possible</title>
19301 <reference ref_id="CCE-4336-4" source="CCE"/>
19302 <description>The dhcpd service should be enabled or disabled as appropriate.</description>
19303 </metadata>
19304 <criteria comment="dhcp is not installed or conditions are met" operator="OR">
19305 <extend_definition comment="dhcp is not installed" definition_ref="oval:org.open-scap.f14:def:20269"/>
19306 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20268"/>
19307 </criteria>
19308 </definition>
19309 <definition class="compliance" id="oval:org.open-scap.f14:def:20269" version="1">
19310 <metadata>
19311 <title>Disable DHCP Server if possible</title>
19312 <reference ref_id="CCE-4464-4" source="CCE"/>
19313 <description>The dhcp package should be uninstalled.</description>
19314 </metadata>
19315 <criteria>
19316 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20269"/>
19317 </criteria>
19318 </definition>
19319 <definition class="compliance" id="oval:org.open-scap.f14:def:20270" version="1">
19320 <metadata>
19321 <title>Do Not Use Dynamic DNS</title>
19322 <reference ref_id="CCE-4257-2" source="CCE"/>
19323 <description>The dynamic DNS feature of the DHCP server should be disabled (and dependencies are met)</description>
19324 </metadata>
19325 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19326 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19327 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20270"/>
19328 </criteria>
19329 </definition>
19330 <definition class="compliance" id="oval:org.open-scap.f14:def:20271" version="1">
19331 <metadata>
19332 <title>Deny Decline Messages</title>
19333 <reference ref_id="CCE-4403-2" source="CCE"/>
19334 <description>DHCPDECLINE messages should be denied by the DHCP server (and dependencies are met)</description>
19335 </metadata>
19336 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19337 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19338 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20271"/>
19339 </criteria>
19340 </definition>
19341 <definition class="compliance" id="oval:org.open-scap.f14:def:20272" version="1">
19342 <metadata>
19343 <title>Deny BOOTP Queries</title>
19344 <reference ref_id="CCE-4345-5" source="CCE"/>
19345 <description>BOOTP queries should be accepted or denied by the DHCP server as appropriate (and dependencies are met)</description>
19346 </metadata>
19347 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19348 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19349 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20272"/>
19350 </criteria>
19351 </definition>
19352 <definition class="compliance" id="oval:org.open-scap.f14:def:20273" version="1">
19353 <metadata>
19354 <title>Minimize Served Information</title>
19355 <reference ref_id="CCE-3724-2" source="CCE"/>
19356 <description>Domain name server information should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19357 </metadata>
19358 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19359 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19360 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19361 </criteria>
19362 </definition>
19363 <definition class="compliance" id="oval:org.open-scap.f14:def:20274" version="1">
19364 <metadata>
19365 <title>Minimize Served Information</title>
19366 <reference ref_id="CCE-4243-2" source="CCE"/>
19367 <description>Default routers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19368 </metadata>
19369 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19370 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19371 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19372 </criteria>
19373 </definition>
19374 <definition class="compliance" id="oval:org.open-scap.f14:def:20275" version="1">
19375 <metadata>
19376 <title>Minimize Served Information</title>
19377 <reference ref_id="CCE-4389-3" source="CCE"/>
19378 <description>Domain name should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19379 </metadata>
19380 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19381 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19382 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19383 </criteria>
19384 </definition>
19385 <definition class="compliance" id="oval:org.open-scap.f14:def:20276" version="1">
19386 <metadata>
19387 <title>Minimize Served Information</title>
19388 <reference ref_id="CCE-3913-1" source="CCE"/>
19389 <description>NIS domain should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19390 </metadata>
19391 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19392 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19393 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19394 </criteria>
19395 </definition>
19396 <definition class="compliance" id="oval:org.open-scap.f14:def:20277" version="1">
19397 <metadata>
19398 <title>Minimize Served Information</title>
19399 <reference ref_id="CCE-4169-9" source="CCE"/>
19400 <description>NIS servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19401 </metadata>
19402 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19403 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19404 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19405 </criteria>
19406 </definition>
19407 <definition class="compliance" id="oval:org.open-scap.f14:def:20278" version="1">
19408 <metadata>
19409 <title>Minimize Served Information</title>
19410 <reference ref_id="CCE-4318-2" source="CCE"/>
19411 <description>Time offset should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19412 </metadata>
19413 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19414 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19415 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19416 </criteria>
19417 </definition>
19418 <definition class="compliance" id="oval:org.open-scap.f14:def:20279" version="1">
19419 <metadata>
19420 <title>Minimize Served Information</title>
19421 <reference ref_id="CCE-4319-0" source="CCE"/>
19422 <description>NTP servers should be sent or not sent by the DHCP server as appropriate. (and dependencies are met)</description>
19423 </metadata>
19424 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19425 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19426 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19427 </criteria>
19428 </definition>
19429 <definition class="compliance" id="oval:org.open-scap.f14:def:20280" version="1">
19430 <metadata>
19431 <title>Configure DHCP Logging</title>
19432 <reference ref_id="CCE-3733-3" source="CCE"/>
19433 <description>dhcpd logging should be enabled. (and dependencies are met)</description>
19434 </metadata>
19435 <criteria comment="dhcp is not enabled or conditions are met" operator="OR">
19436 <extend_definition comment="dhcp is not enabled" definition_ref="oval:org.open-scap.f14:def:20268"/>
19437 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20280"/>
19438 </criteria>
19439 </definition>
19440 <definition class="compliance" id="oval:org.open-scap.f14:def:20281" version="1">
19441 <metadata>
19442 <title>Enable the NTP Daemon</title>
19443 <reference ref_id="CCE-4376-0" source="CCE"/>
19444 <description>The ntpd service should be enabled.</description>
19445 </metadata>
19446 <criteria>
19447 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20281"/>
19448 </criteria>
19449 </definition>
19450 <definition class="compliance" id="oval:org.open-scap.f14:def:20282" version="1">
19451 <metadata>
19452 <title>Deny All Access to ntpd by Default</title>
19453 <reference ref_id="CCE-4134-3" source="CCE"/>
19454 <description>Network access to ntpd should be denied (and dependencies are met)</description>
19455 </metadata>
19456 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
19457 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
19458 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20282"/>
19459 </criteria>
19460 </definition>
19461 <definition class="compliance" id="oval:org.open-scap.f14:def:20283" version="1">
19462 <metadata>
19463 <title>Specify a Remote NTP Server for Time Data</title>
19464 <reference ref_id="CCE-4385-1" source="CCE"/>
19465 <description>A remote NTP Server for time synchronization should be specified (and dependencies are met)</description>
19466 </metadata>
19467 <criteria comment="ntpd is enabled and conditions are met" operator="AND">
19468 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281"/>
19469 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19470 </criteria>
19471 </definition>
19472 <definition class="compliance" id="oval:org.open-scap.f14:def:20284" version="1">
19473 <metadata>
19474 <title>Obtain NTP Software</title>
19475 <reference ref_id="CCE-4032-9" source="CCE"/>
19476 <description>OpenNTPD should be installed</description>
19477 </metadata>
19478 <criteria>
19479 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19480 </criteria>
19481 </definition>
19482 <definition class="compliance" id="oval:org.open-scap.f14:def:20285" version="1">
19483 <metadata>
19484 <title>Enable the NTP Daemon</title>
19485 <reference ref_id="CCE-4424-8" source="CCE"/>
19486 <description>The ntp daemon should be enabled (and dependencies are met)</description>
19487 </metadata>
19488 <criteria comment="OpenNTPD is installed and conditions are met" operator="AND">
19489 <extend_definition comment="OpenNTPD is installed" definition_ref="oval:org.open-scap.f14:def:20284"/>
19490 <extend_definition comment="ntpd is enabled" definition_ref="oval:org.open-scap.f14:def:20281" negate="true"/>
19491 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20285"/>
19492 </criteria>
19493 </definition>
19494 <definition class="compliance" id="oval:org.open-scap.f14:def:20286" version="1">
19495 <metadata>
19496 <title>Configure the Client NTP Daemon to Use the Local Server</title>
19497 <reference ref_id="CCE-3487-6" source="CCE"/>
19498 <description>The ntp daemon synchronization server should be set appropriately (and dependencies are met)</description>
19499 </metadata>
19500 <criteria comment="OpenNTPD is installed and conditions are met" operator="AND">
19501 <extend_definition comment="OpenNTPD is installed" definition_ref="oval:org.open-scap.f14:def:20284"/>
19502 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19503 </criteria>
19504 </definition>
19505 <definition class="compliance" id="oval:org.open-scap.f14:def:20287" version="1">
19506 <metadata>
19507 <title>Mail Transfer Agent</title>
19508 <reference ref_id="CCE-4416-4" source="CCE"/>
19509 <description>The sendmail service should be disabled.</description>
19510 </metadata>
19511 <criteria>
19512 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20287"/>
19513 </criteria>
19514 </definition>
19515 <definition class="compliance" id="oval:org.open-scap.f14:def:20288" version="1">
19516 <metadata>
19517 <title>Disable the Listening Sendmail Daemon</title>
19518 <reference ref_id="CCE-4293-7" source="CCE"/>
19519 <description>The listening sendmail daemon should be disabled. (and dependencies are met)</description>
19520 </metadata>
19521 <criteria comment="sendmail is not enabled or conditions are met" operator="OR">
19522 <extend_definition comment="sendmail is not enabled" definition_ref="oval:org.open-scap.f14:def:20287"/>
19523 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20288"/>
19524 </criteria>
19525 </definition>
19526 <definition class="compliance" id="oval:org.open-scap.f14:def:202885" version="1">
19527 <metadata>
19528 <title>Configure LDAP to Use TLS for All Transactions</title>
19529 <reference ref_id="TBD" source="CCE"/>
19530 <description>Clients require LDAP servers to provide valid certificates for SSL communications.</description>
19531 </metadata>
19532 <criteria>
19533 <criterion comment="look for tls_checkpeer yess in /etc/ldap.conf" test_ref="oval:org.open-scap.f14:tst:202885"/>
19534 </criteria>
19535 </definition>
19536 <definition class="compliance" id="oval:org.open-scap.f14:def:20289" version="1">
19537 <metadata>
19538 <title>Install OpenLDAP Server RPM</title>
19539 <reference ref_id="CCE-3501-4" source="CCE"/>
19540 <description>The ldap service should be disabled.</description>
19541 </metadata>
19542 <criteria>
19543 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20289"/>
19544 </criteria>
19545 </definition>
19546 <definition class="compliance" id="oval:org.open-scap.f14:def:20290" version="1">
19547 <metadata>
19548 <title>Correct Permissions on LDAP Server Files</title>
19549 <reference ref_id="CCE-4484-2" source="CCE"/>
19550 <description>The /var/lib/ldap/* files should be owned by the appropriate group.</description>
19551 </metadata>
19552 <criteria>
19553 <criterion test_ref="oval:org.open-scap.f14:tst:20290"/>
19554 </criteria>
19555 </definition>
19556 <definition class="compliance" id="oval:org.open-scap.f14:def:20291" version="1">
19557 <metadata>
19558 <title>Correct Permissions on LDAP Server Files</title>
19559 <reference ref_id="CCE-4502-1" source="CCE"/>
19560 <description>The /var/lib/ldap/* files should be owned by the appropriate user.</description>
19561 </metadata>
19562 <criteria>
19563 <criterion test_ref="oval:org.open-scap.f14:tst:20291"/>
19564 </criteria>
19565 </definition>
19566 <definition class="compliance" id="oval:org.open-scap.f14:def:20292" version="1">
19567 <metadata>
19568 <title>Disable Services Used Only by NFS</title>
19569 <reference ref_id="CCE-4396-8" source="CCE"/>
19570 <description>The nfslock service should be disabled.</description>
19571 </metadata>
19572 <criteria>
19573 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20292"/>
19574 </criteria>
19575 </definition>
19576 <definition class="compliance" id="oval:org.open-scap.f14:def:20293" version="1">
19577 <metadata>
19578 <title>Disable Services Used Only by NFS</title>
19579 <reference ref_id="CCE-3535-2" source="CCE"/>
19580 <description>The rpcgssd service should be disabled.</description>
19581 </metadata>
19582 <criteria>
19583 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20293"/>
19584 </criteria>
19585 </definition>
19586 <definition class="compliance" id="oval:org.open-scap.f14:def:20294" version="1">
19587 <metadata>
19588 <title>Disable Services Used Only by NFS</title>
19589 <reference ref_id="CCE-3568-3" source="CCE"/>
19590 <description>The rpcidmapd service should be disabled.</description>
19591 </metadata>
19592 <criteria>
19593 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20294"/>
19594 </criteria>
19595 </definition>
19596 <definition class="compliance" id="oval:org.open-scap.f14:def:20295" version="1">
19597 <metadata>
19598 <title>Disable netfs if Possible</title>
19599 <reference ref_id="CCE-4533-6" source="CCE"/>
19600 <description>The netfs service should be disabled.</description>
19601 </metadata>
19602 <criteria>
19603 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20295"/>
19604 </criteria>
19605 </definition>
19606 <definition class="compliance" id="oval:org.open-scap.f14:def:20296" version="1">
19607 <metadata>
19608 <title>Disable RPC Portmapper if Possible</title>
19609 <reference ref_id="CCE-4550-0" source="CCE"/>
19610 <description>The portmap service should be disabled.</description>
19611 </metadata>
19612 <criteria>
19613 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20296"/>
19614 </criteria>
19615 </definition>
19616 <definition class="compliance" id="oval:org.open-scap.f14:def:20297" version="1">
19617 <metadata>
19618 <title>Configure NFS Services to Use Fixed Ports</title>
19619 <reference ref_id="CCE-4559-1" source="CCE"/>
19620 <description>The lockd service should be configured to use a static port for TCP</description>
19621 </metadata>
19622 <criteria>
19623 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20297"/>
19624 </criteria>
19625 </definition>
19626 <definition class="compliance" id="oval:org.open-scap.f14:def:20298" version="1">
19627 <metadata>
19628 <title>Configure NFS Services to Use Fixed Ports</title>
19629 <reference ref_id="CCE-4015-4" source="CCE"/>
19630 <description>The statd service should be configured to use an outgoing static port</description>
19631 </metadata>
19632 <criteria>
19633 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20298"/>
19634 </criteria>
19635 </definition>
19636 <definition class="compliance" id="oval:org.open-scap.f14:def:20299" version="1">
19637 <metadata>
19638 <title>Configure NFS Services to Use Fixed Ports</title>
19639 <reference ref_id="CCE-3667-3" source="CCE"/>
19640 <description>The statd service should be configured to use a static port</description>
19641 </metadata>
19642 <criteria>
19643 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20299"/>
19644 </criteria>
19645 </definition>
19646 <definition class="compliance" id="oval:org.open-scap.f14:def:20300" version="1">
19647 <metadata>
19648 <title>Configure NFS Services to Use Fixed Ports</title>
19649 <reference ref_id="CCE-4310-9" source="CCE"/>
19650 <description>The lockd service should be configured to use a static port for UDP</description>
19651 </metadata>
19652 <criteria>
19653 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20300"/>
19654 </criteria>
19655 </definition>
19656 <definition class="compliance" id="oval:org.open-scap.f14:def:20301" version="1">
19657 <metadata>
19658 <title>Configure NFS Services to Use Fixed Ports</title>
19659 <reference ref_id="CCE-4438-8" source="CCE"/>
19660 <description>The mountd service should be configured to use a static port</description>
19661 </metadata>
19662 <criteria>
19663 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20301"/>
19664 </criteria>
19665 </definition>
19666 <definition class="compliance" id="oval:org.open-scap.f14:def:20302" version="1">
19667 <metadata>
19668 <title>Configure NFS Services to Use Fixed Ports</title>
19669 <reference ref_id="CCE-3579-0" source="CCE"/>
19670 <description>The rquotad service should be configured to use a static port</description>
19671 </metadata>
19672 <criteria>
19673 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20302"/>
19674 </criteria>
19675 </definition>
19676 <definition class="compliance" id="oval:org.open-scap.f14:def:20303" version="1">
19677 <metadata>
19678 <title>Disable NFS Server Daemons</title>
19679 <reference ref_id="CCE-4473-5" source="CCE"/>
19680 <description>The nfs service should be disabled</description>
19681 </metadata>
19682 <criteria>
19683 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20303"/>
19684 </criteria>
19685 </definition>
19686 <definition class="compliance" id="oval:org.open-scap.f14:def:20304" version="1">
19687 <metadata>
19688 <title>Disable NFS Server Daemons</title>
19689 <reference ref_id="CCE-4491-7" source="CCE"/>
19690 <description>The rpcsvcgssd service should be disabled</description>
19691 </metadata>
19692 <criteria>
19693 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20304"/>
19694 </criteria>
19695 </definition>
19696 <!-- <definition class="compliance" id="oval:org.open-scap.f14:def:20305" version="1">
19697 <metadata>
19698 <title>Mount Remote Filesystems with nodev</title>
19699 <reference ref_id="CCE-4368-7" source="CCE"/>
19700 <description>The nodev option should be enabled for all NFS mounts</description>
19701 </metadata>
19702 <criteria>
19703 <criterion comment="if type is nfs[4] in /etc/fstab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203051"/>
19704 <criterion comment="if type is nfs[4] in /etc/mtab options should contain nodev" test_ref="oval:org.open-scap.f14:tst:203052"/>
19705 </criteria>
19706 </definition> -->
19707 <definition class="compliance" id="oval:org.open-scap.f14:def:20306" version="1">
19708 <metadata>
19709 <title>Mount Remote Filesystems with nosuid</title>
19710 <reference ref_id="CCE-4024-6" source="CCE"/>
19711 <description>The nosuid option should be enabled for all NFS mounts</description>
19712 </metadata>
19713 <criteria>
19714 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19715 </criteria>
19716 </definition>
19717 <definition class="compliance" id="oval:org.open-scap.f14:def:20307" version="1">
19718 <metadata>
19719 <title>Mount Remote Filesystems with noexec</title>
19720 <reference ref_id="CCE-4526-0" source="CCE"/>
19721 <description>The noexec option should be enabled for all NFS mounts</description>
19722 </metadata>
19723 <criteria>
19724 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19725 </criteria>
19726 </definition>
19727 <definition class="compliance" id="oval:org.open-scap.f14:def:20308" version="1">
19728 <metadata>
19729 <title>Use Root-Squashing on All Exports</title>
19730 <reference ref_id="CCE-4544-3" source="CCE"/>
19731 <description>Root squashing should be enabled for all NFS shares</description>
19732 </metadata>
19733 <criteria comment="nfs is not running or conditions are met" operator="OR">
19734 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19735 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20308"/>
19736 </criteria>
19737 </definition>
19738 <definition class="compliance" id="oval:org.open-scap.f14:def:20309" version="1">
19739 <metadata>
19740 <title>Restrict NFS Clients to Privileged Ports</title>
19741 <reference ref_id="CCE-4465-1" source="CCE"/>
19742 <description>Restriction of NFS clients to privileged ports should be enabled</description>
19743 </metadata>
19744 <criteria comment="nfs is not running or conditions are met" operator="OR">
19745 <extend_definition comment="nfs is not running" definition_ref="oval:org.open-scap.f14:def:20312"/>
19746 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20309"/>
19747 </criteria>
19748 </definition>
19749 <definition class="compliance" id="oval:org.open-scap.f14:def:20310" version="1">
19750 <metadata>
19751 <title>Export Filesystems Read-Only if Possible</title>
19752 <reference ref_id="CCE-4350-5" source="CCE"/>
19753 <description>Write access to NFS shares should be disabled</description>
19754 </metadata>
19755 <criteria>
19756 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20310"/>
19757 </criteria>
19758 </definition>
19759 <definition class="compliance" id="oval:org.open-scap.f14:def:20311" version="1">
19760 <metadata>
19761 <title>Disable DNS Server if Possible</title>
19762 <reference ref_id="CCE-3578-2" source="CCE"/>
19763 <description>The named service should be disabled.</description>
19764 </metadata>
19765 <criteria comment="bind is not installed or conditions are met" operator="OR">
19766 <extend_definition comment="bind is not installed" definition_ref="oval:org.open-scap.f14:def:20312"/>
19767 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20311"/>
19768 </criteria>
19769 </definition>
19770 <definition class="compliance" id="oval:org.open-scap.f14:def:20312" version="1">
19771 <metadata>
19772 <title>Disable DNS Server if Possible</title>
19773 <reference ref_id="CCE-4219-2" source="CCE"/>
19774 <description>The bind package should be uninstalled.</description>
19775 </metadata>
19776 <criteria>
19777 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20312"/>
19778 </criteria>
19779 </definition>
19780 <definition class="compliance" id="oval:org.open-scap.f14:def:20313" version="1">
19781 <metadata>
19782 <title>Run DNS Software in a chroot Jail</title>
19783 <reference ref_id="CCE-3985-9" source="CCE"/>
19784 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate group. (and dependencies are met)</description>
19785 </metadata>
19786 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19787 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19788 <criterion test_ref="oval:org.open-scap.f14:tst:20313"/>
19789 </criteria>
19790 </definition>
19791 <definition class="compliance" id="oval:org.open-scap.f14:def:20314" version="1">
19792 <metadata>
19793 <title>Run DNS Software in a chroot Jail</title>
19794 <reference ref_id="CCE-4258-0" source="CCE"/>
19795 <description>The /var/named/chroot/etc/named.conf file should be owned by the appropriate user. (and dependencies are met)</description>
19796 </metadata>
19797 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19798 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19799 <criterion test_ref="oval:org.open-scap.f14:tst:20314"/>
19800 </criteria>
19801 </definition>
19802 <definition class="compliance" id="oval:org.open-scap.f14:def:20315" version="1">
19803 <metadata>
19804 <title>Run DNS Software in a chroot Jail</title>
19805 <reference ref_id="CCE-4487-5" source="CCE"/>
19806 <description>File permissions for /var/named/chroot/etc/named.conf should be set correctly. (and dependencies are met)</description>
19807 </metadata>
19808 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19809 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19810 <criterion test_ref="oval:org.open-scap.f14:tst:20315"/>
19811 </criteria>
19812 </definition>
19813 <definition class="compliance" id="oval:org.open-scap.f14:def:20316" version="1">
19814 <metadata>
19815 <title>Disable Dynamic Updates if Possible</title>
19816 <reference ref_id="CCE-4399-2" source="CCE"/>
19817 <description>LDAP's dynamic updates feature should be disabled as appropriate (and dependencies are met)</description>
19818 </metadata>
19819 <criteria comment="DNS is not enabled or conditions are met" operator="OR">
19820 <extend_definition comment="DNS is not enabled" definition_ref="oval:org.open-scap.f14:def:20311"/>
19821 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19822 </criteria>
19823 </definition>
19824 <definition class="compliance" id="oval:org.open-scap.f14:def:20317" version="1">
19825 <metadata>
19826 <title>Disable vsftpd if Possible</title>
19827 <reference ref_id="CCE-3919-8" source="CCE"/>
19828 <description>The vsftpd service should be disabled.</description>
19829 </metadata>
19830 <criteria comment="vsftpd is not installed or conditions are met" operator="OR">
19831 <extend_definition comment="vsftpd is not installed" definition_ref="oval:org.open-scap.f14:def:203175"/>
19832 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20317"/>
19833 </criteria>
19834 </definition>
19835 <definition class="compliance" id="oval:org.open-scap.f14:def:203175" version="1">
19836 <metadata>
19837 <title>Uninstall vsftpd if Possible</title>
19838 <reference ref_id="CCE-3919-8" source="CCE"/>
19839 <description>The vsftpd service should be uninstalled.</description>
19840 </metadata>
19841 <criteria>
19842 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203175"/>
19843 </criteria>
19844 </definition>
19845 <definition class="compliance" id="oval:org.open-scap.f14:def:20318" version="1">
19846 <metadata>
19847 <title>Enable Logging of All FTP Transactions</title>
19848 <reference ref_id="CCE-4549-2" source="CCE"/>
19849 <description>Logging of vsftpd transactions should be enabled (and dependencies are met)</description>
19850 </metadata>
19851 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19852 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19853 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19854 </criteria>
19855 </definition>
19856 <definition class="compliance" id="oval:org.open-scap.f14:def:20319" version="1">
19857 <metadata>
19858 <title>Create Warning Banners for All FTP Users</title>
19859 <reference ref_id="CCE-4554-2" source="CCE"/>
19860 <description>A warning banner for all FTP users should be enabled (and dependencies are met)</description>
19861 </metadata>
19862 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19863 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19864 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20319"/>
19865 </criteria>
19866 </definition>
19867 <definition class="compliance" id="oval:org.open-scap.f14:def:20320" version="1">
19868 <metadata>
19869 <title>Restrict Access to Anonymous Users if Possible</title>
19870 <reference ref_id="CCE-4443-8" source="CCE"/>
19871 <description>Local user login to the vsftpd service should be disabled (and dependencies are met)</description>
19872 </metadata>
19873 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19874 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19875 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19876 </criteria>
19877 </definition>
19878 <definition class="compliance" id="oval:org.open-scap.f14:def:20321" version="1">
19879 <metadata>
19880 <title>Disable FTP Uploads if Possible</title>
19881 <reference ref_id="CCE-4461-0" source="CCE"/>
19882 <description>File uploads via vsftpd should be disabled (and dependencies are met)</description>
19883 </metadata>
19884 <criteria comment="vsftpd is not enabled or conditions are met" operator="OR">
19885 <extend_definition comment="vsftpd is not enabled" definition_ref="oval:org.open-scap.f14:def:20317"/>
19886 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
19887 </criteria>
19888 </definition>
19889 <definition class="compliance" id="oval:org.open-scap.f14:def:20322" version="1">
19890 <metadata>
19891 <title>Disable Apache if Possible</title>
19892 <reference ref_id="CCE-4338-0" source="CCE"/>
19893 <description>The httpd service should be disabled.</description>
19894 </metadata>
19895 <criteria comment="httpd is not installed or conditions are met" operator="OR">
19896 <extend_definition comment="httpd is not installed" definition_ref="oval:org.open-scap.f14:def:20323"/>
19897 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20322"/>
19898 </criteria>
19899 </definition>
19900 <definition class="compliance" id="oval:org.open-scap.f14:def:20323" version="1">
19901 <metadata>
19902 <title>Uninstall Apache if Possible</title>
19903 <reference ref_id="CCE-4514-6" source="CCE"/>
19904 <description>The httpd package should be uninstalled.</description>
19905 </metadata>
19906 <criteria>
19907 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20323"/>
19908 </criteria>
19909 </definition>
19910 <definition class="compliance" id="oval:org.open-scap.f14:def:20324" version="1">
19911 <metadata>
19912 <title>Restrict Information Leakage</title>
19913 <reference ref_id="CCE-4474-3" source="CCE"/>
19914 <description>The apache2 server's ServerTokens value should be set appropriately (and dependencies are met)</description>
19915 </metadata>
19916 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19917 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19918 <criterion test_ref="oval:org.open-scap.f14:tst:20324"/>
19919 </criteria>
19920 </definition>
19921 <definition class="compliance" id="oval:org.open-scap.f14:def:20325" version="1">
19922 <metadata>
19923 <title>Restrict Information Leakage</title>
19924 <reference ref_id="CCE-3756-4" source="CCE"/>
19925 <description>The apache2 server's ServerSignature value should be set appropriately (and dependencies are met)</description>
19926 </metadata>
19927 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19928 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19929 <criterion test_ref="oval:org.open-scap.f14:tst:20325"/>
19930 </criteria>
19931 </definition>
19932 <definition class="compliance" id="oval:org.open-scap.f14:def:20326" version="1">
19933 <metadata>
19934 <title>Restrict File and Directory Access</title>
19935 <reference ref_id="CCE-4509-6" source="CCE"/>
19936 <description>File permissions for /etc/httpd/conf should be set correctly. (and dependencies are met)</description>
19937 </metadata>
19938 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19939 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19940 <criterion test_ref="oval:org.open-scap.f14:tst:20326"/>
19941 </criteria>
19942 </definition>
19943 <definition class="compliance" id="oval:org.open-scap.f14:def:20327" version="1">
19944 <metadata>
19945 <title>Restrict File and Directory Access</title>
19946 <reference ref_id="CCE-4386-9" source="CCE"/>
19947 <description>File permissions for /etc/httpd/conf/* should be set correctly. (and dependencies are met)</description>
19948 </metadata>
19949 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19950 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19951 <criterion test_ref="oval:org.open-scap.f14:tst:20327"/>
19952 </criteria>
19953 </definition>
19954 <definition class="compliance" id="oval:org.open-scap.f14:def:20328" version="1">
19955 <metadata>
19956 <title>Restrict File and Directory Access</title>
19957 <reference ref_id="CCE-4029-5" source="CCE"/>
19958 <description>File permissions for /usr/sbin/httpd should be set correctly. (and dependencies are met)</description>
19959 </metadata>
19960 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19961 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19962 <criterion test_ref="oval:org.open-scap.f14:tst:20328"/>
19963 </criteria>
19964 </definition>
19965 <definition class="compliance" id="oval:org.open-scap.f14:def:20329" version="1">
19966 <metadata>
19967 <title>Restrict File and Directory Access</title>
19968 <reference ref_id="CCE-3581-6" source="CCE"/>
19969 <description>The /etc/httpd/conf/* files should be owned by the appropriate group.</description>
19970 </metadata>
19971 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19972 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19973 <criterion test_ref="oval:org.open-scap.f14:tst:20329"/>
19974 </criteria>
19975 </definition>
19976 <definition class="compliance" id="oval:org.open-scap.f14:def:20330" version="1">
19977 <metadata>
19978 <title>Restrict File and Directory Access</title>
19979 <reference ref_id="CCE-4574-0" source="CCE"/>
19980 <description>File permissions for /var/log/httpd should be set correctly. (and dependencies are met)</description>
19981 </metadata>
19982 <criteria comment="httpd is disabled or conditions are met" operator="OR">
19983 <extend_definition comment="httpd is disabled" definition_ref="oval:org.open-scap.f14:def:20323"/>
19984 <criterion test_ref="oval:org.open-scap.f14:tst:20330"/>
19985 </criteria>
19986 </definition>
19987 <definition class="compliance" id="oval:org.open-scap.f14:def:20331" version="1">
19988 <metadata>
19989 <title>Disable Dovecot if Possible</title>
19990 <reference ref_id="CCE-3847-1" source="CCE"/>
19991 <description>The dovecot service should be disabled.</description>
19992 </metadata>
19993 <criteria comment="dovecot is not installed or conditions are met" operator="OR">
19994 <extend_definition comment="dovecot is not installed" definition_ref="oval:org.open-scap.f14:def:20332"/>
19995 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20331"/>
19996 </criteria>
19997 </definition>
19998 <definition class="compliance" id="oval:org.open-scap.f14:def:20332" version="1">
19999 <metadata>
20000 <title>Disable Dovecot if Possible</title>
20001 <reference ref_id="CCE-4239-0" source="CCE"/>
20002 <description>The dovecot package should be uninstalled.</description>
20003 </metadata>
20004 <criteria>
20005 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20332"/>
20006 </criteria>
20007 </definition>
20008 <definition class="compliance" id="oval:org.open-scap.f14:def:20333" version="1">
20009 <metadata>
20010 <title>Support Only the Necessary Protocols</title>
20011 <reference ref_id="CCE-4384-4" source="CCE"/>
20012 <description>Dovecot should be configured to not support the imaps protocol (and dependencies are met)</description>
20013 </metadata>
20014 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20015 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20016 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20333"/>
20017 </criteria>
20018 </definition>
20019 <definition class="compliance" id="oval:org.open-scap.f14:def:20334" version="1">
20020 <metadata>
20021 <title>Support Only the Necessary Protocols</title>
20022 <reference ref_id="CCE-3887-7" source="CCE"/>
20023 <description>Dovecot should be configured to not support the pop3s protocol (and dependencies are met)</description>
20024 </metadata>
20025 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20026 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20027 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20334"/>
20028 </criteria>
20029 </definition>
20030 <definition class="compliance" id="oval:org.open-scap.f14:def:20335" version="1">
20031 <metadata>
20032 <title>Support Only the Necessary Protocols</title>
20033 <reference ref_id="CCE-4530-2" source="CCE"/>
20034 <description>Dovecot should be configured to not support the pop3 (and dependencies are met)</description>
20035 </metadata>
20036 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20037 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20038 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20335"/>
20039 </criteria>
20040 </definition>
20041 <definition class="compliance" id="oval:org.open-scap.f14:def:20336" version="1">
20042 <metadata>
20043 <title>Support Only the Necessary Protocols</title>
20044 <reference ref_id="CCE-4547-6" source="CCE"/>
20045 <description>Dovecot should be configured to not support the imap protocol (and dependencies are met)</description>
20046 </metadata>
20047 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20048 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20049 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20336"/>
20050 </criteria>
20051 </definition>
20052 <definition class="compliance" id="oval:org.open-scap.f14:def:20337" version="1">
20053 <metadata>
20054 <title>Disable Plaintext Authentication</title>
20055 <reference ref_id="CCE-4552-6" source="CCE"/>
20056 <description>Dovecot plaintext authentication of clients should be disabled as necessary (and dependencies are met)</description>
20057 </metadata>
20058 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20059 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20060 <criterion test_ref="oval:org.open-scap.f14:tst:20337"/>
20061 </criteria>
20062 </definition>
20063 <definition class="compliance" id="oval:org.open-scap.f14:def:20338" version="1">
20064 <metadata>
20065 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
20066 <reference ref_id="CCE-4371-1" source="CCE"/>
20067 <description>The Dovecot option to drop privileges to user before executing mail process should be enabled (and dependencies are met)</description>
20068 </metadata>
20069 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20070 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20071 <criterion test_ref="oval:org.open-scap.f14:tst:20338"/>
20072 </criteria>
20073 </definition>
20074 <definition class="compliance" id="oval:org.open-scap.f14:def:20339" version="1">
20075 <metadata>
20076 <title>Enable Dovecot Options to Protect Against Code Flaws</title>
20077 <reference ref_id="CCE-4410-7" source="CCE"/>
20078 <description>The Dovecot option to spawn a new login process per connection should be enabled (and dependencies are met)</description>
20079 </metadata>
20080 <criteria comment="dovecot is disabled or conditions are met" operator="OR">
20081 <extend_definition comment="dovecot is disabled" definition_ref="oval:org.open-scap.f14:def:20331"/>
20082 <criterion test_ref="oval:org.open-scap.f14:tst:20339"/>
20083 </criteria>
20084 </definition>
20085 <definition class="compliance" id="oval:org.open-scap.f14:def:20340" version="1">
20086 <metadata>
20087 <title>Disable Samba if Possible</title>
20088 <reference ref_id="CCE-4551-8" source="CCE"/>
20089 <description>The smb service should be disabled.</description>
20090 </metadata>
20091 <criteria>
20092 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20340"/>
20093 </criteria>
20094 </definition>
20095 <definition class="compliance" id="oval:org.open-scap.f14:def:203403" version="1">
20096 <metadata>
20097 <title>Disable Guest Access and Local Login Support</title>
20098 <reference ref_id="CCE-4551-8" source="CCE"/>
20099 <description>Do not allow guest users to access local file or printer shares.</description>
20100 </metadata>
20101 <criteria>
20102 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:203403"/>
20103 </criteria>
20104 </definition>
20105 <definition class="compliance" id="oval:org.open-scap.f14:def:2034010" version="1">
20106 <metadata>
20107 <title>Require Client SMB Packet Signing, if using smbclient</title>
20108 <reference ref_id="CCE-4551-8" source="CCE"/>
20109 <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>
20110 </metadata>
20111 <criteria>
20112 <criterion comment="check for client signing = mandatory in /etc/samba/smb.conf" test_ref="oval:org.open-scap.f14:tst:2034010"/>
20113 </criteria>
20114 </definition>
20115 <definition class="compliance" id="oval:org.open-scap.f14:def:2034011" version="1">
20116 <metadata>
20117 <title>Disable Samba if Possible</title>
20118 <reference ref_id="CCE-4551-8" source="CCE"/>
20119 <description>The smb service should be disabled.</description>
20120 </metadata>
20121 <criteria>
20122 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/fstab" test_ref="oval:org.open-scap.f14:tst:20340111"/>
20123 <criterion comment="check for sec=krb5i or sec=ntlmv2i in /etc/mtab" test_ref="oval:org.open-scap.f14:tst:20340112"/>
20124 </criteria>
20125 </definition>
20126 <definition class="compliance" id="oval:org.open-scap.f14:def:20341" version="1">
20127 <metadata>
20128 <title>Disable Squid if Possible</title>
20129 <reference ref_id="CCE-4556-7" source="CCE"/>
20130 <description>The squid service should be disabled.</description>
20131 </metadata>
20132 <criteria comment="squid is not installed or conditions are met" operator="OR">
20133 <extend_definition comment="squid is not installed" definition_ref="oval:org.open-scap.f14:def:20342"/>
20134 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20341"/>
20135 </criteria>
20136 </definition>
20137 <definition class="compliance" id="oval:org.open-scap.f14:def:20342" version="1">
20138 <metadata>
20139 <title>Disable Squid if Possible</title>
20140 <reference ref_id="CCE-4076-6" source="CCE"/>
20141 <description>The squid package should be uninstalled.</description>
20142 </metadata>
20143 <criteria>
20144 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20342"/>
20145 </criteria>
20146 </definition>
20147 <definition class="compliance" id="oval:org.open-scap.f14:def:20343" version="1">
20148 <metadata>
20149 <title>Verify Default Secure Settings</title>
20150 <reference ref_id="CCE-4454-5" source="CCE"/>
20151 <description>The Squid option to force FTP passive connections should be enabled (and dependencies are met)</description>
20152 </metadata>
20153 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20154 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20155 <criterion test_ref="oval:org.open-scap.f14:tst:20343"/>
20156 </criteria>
20157 </definition>
20158 <definition class="compliance" id="oval:org.open-scap.f14:def:20344" version="1">
20159 <metadata>
20160 <title>Verify Default Secure Settings</title>
20161 <reference ref_id="CCE-4459-4" source="CCE"/>
20162 <description>The Squid option to perform FTP sanity checks should be enabled or not as appropriate (and dependencies are met)</description>
20163 </metadata>
20164 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20165 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20166 <criterion test_ref="oval:org.open-scap.f14:tst:20344"/>
20167 </criteria>
20168 </definition>
20169 <definition class="compliance" id="oval:org.open-scap.f14:def:20345" version="1">
20170 <metadata>
20171 <title>Verify Default Secure Settings</title>
20172 <reference ref_id="CCE-4503-9" source="CCE"/>
20173 <description>The Squid option to check for RFC compliant hostnames should be enabled or not as appropriate (and dependencies are met)</description>
20174 </metadata>
20175 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20176 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20177 <criterion test_ref="oval:org.open-scap.f14:tst:20345"/>
20178 </criteria>
20179 </definition>
20180 <definition class="compliance" id="oval:org.open-scap.f14:def:20346" version="1">
20181 <metadata>
20182 <title>Verify Default Secure Settings</title>
20183 <reference ref_id="CCE-4353-9" source="CCE"/>
20184 <description>The Squid max request HTTP header length should be set to an appropriate value (and dependencies are met)</description>
20185 </metadata>
20186 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20187 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20188 <criterion test_ref="oval:org.open-scap.f14:tst:20346"/>
20189 </criteria>
20190 </definition>
20191 <definition class="compliance" id="oval:org.open-scap.f14:def:20347" version="1">
20192 <metadata>
20193 <title>Verify Default Secure Settings</title>
20194 <reference ref_id="CCE-4419-8" source="CCE"/>
20195 <description>The Squid max reply HTTP header length should be set to an appropriate value (and dependencies are met)</description>
20196 </metadata>
20197 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20198 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20199 <criterion test_ref="oval:org.open-scap.f14:tst:20347"/>
20200 </criteria>
20201 </definition>
20202 <definition class="compliance" id="oval:org.open-scap.f14:def:20348" version="1">
20203 <metadata>
20204 <title>Verify Default Secure Settings</title>
20205 <reference ref_id="CCE-3692-1" source="CCE"/>
20206 <description>The Squid EUID should be set to an appropriate user (and dependencies are met)</description>
20207 </metadata>
20208 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20209 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20210 <criterion test_ref="oval:org.open-scap.f14:tst:20348"/>
20211 </criteria>
20212 </definition>
20213 <definition class="compliance" id="oval:org.open-scap.f14:def:20349" version="1">
20214 <metadata>
20215 <title>Verify Default Secure Settings</title>
20216 <reference ref_id="CCE-4476-8" source="CCE"/>
20217 <description>The Squid GUID should be set to an appropriate group (and dependencies are met)</description>
20218 </metadata>
20219 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20220 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20221 <criterion test_ref="oval:org.open-scap.f14:tst:20349"/>
20222 </criteria>
20223 </definition>
20224 <definition class="compliance" id="oval:org.open-scap.f14:def:20350" version="1">
20225 <metadata>
20226 <title>Verify Default Secure Settings</title>
20227 <reference ref_id="CCE-3585-7" source="CCE"/>
20228 <description>The Squid option to ignore unknown nameservers should be enabled (and dependencies are met)</description>
20229 </metadata>
20230 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20231 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20232 <criterion test_ref="oval:org.open-scap.f14:tst:20350"/>
20233 </criteria>
20234 </definition>
20235 <definition class="compliance" id="oval:org.open-scap.f14:def:20351" version="1">
20236 <metadata>
20237 <title>Change Default Insecure Settings</title>
20238 <reference ref_id="CCE-4344-8" source="CCE"/>
20239 <description>The Squid option to allow underscores in hostnames should be disabled (and dependencies are met)</description>
20240 </metadata>
20241 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20242 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20243 <criterion test_ref="oval:org.open-scap.f14:tst:20351"/>
20244 </criteria>
20245 </definition>
20246 <definition class="compliance" id="oval:org.open-scap.f14:def:20352" version="1">
20247 <metadata>
20248 <title>Change Default Insecure Settings</title>
20249 <reference ref_id="CCE-4494-1" source="CCE"/>
20250 <description>The Squid option to suppress the httpd version string should be enabled (and dependencies are met)</description>
20251 </metadata>
20252 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20253 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20254 <criterion test_ref="oval:org.open-scap.f14:tst:20352"/>
20255 </criteria>
20256 </definition>
20257 <definition class="compliance" id="oval:org.open-scap.f14:def:20353" version="1">
20258 <metadata>
20259 <title>Change Default Insecure Settings</title>
20260 <reference ref_id="CCE-4181-4" source="CCE"/>
20261 <description>The Squid option to show proxy client IP addresses in HTTP headers should be disabled (and dependencies are met)</description>
20262 </metadata>
20263 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20264 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20265 <criterion test_ref="oval:org.open-scap.f14:tst:20353"/>
20266 </criteria>
20267 </definition>
20268 <definition class="compliance" id="oval:org.open-scap.f14:def:20354" version="1">
20269 <metadata>
20270 <title>Change Default Insecure Settings</title>
20271 <reference ref_id="CCE-4577-3" source="CCE"/>
20272 <description>The Squid option to log HTTP MIME headers should be enabled (and dependencies are met)</description>
20273 </metadata>
20274 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20275 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20276 <criterion test_ref="oval:org.open-scap.f14:tst:20354"/>
20277 </criteria>
20278 </definition>
20279 <definition class="compliance" id="oval:org.open-scap.f14:def:20355" version="1">
20280 <metadata>
20281 <title>Access Control Lists (ACL)</title>
20282 <reference ref_id="CCE-4511-2" source="CCE"/>
20283 <description>Squid should be configured to not allow gss-http traffic (and dependencies are met)</description>
20284 </metadata>
20285 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20286 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20287 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20288 </criteria>
20289 </definition>
20290 <definition class="compliance" id="oval:org.open-scap.f14:def:20356" version="1">
20291 <metadata>
20292 <title>Access Control Lists (ACL)</title>
20293 <reference ref_id="CCE-4529-4" source="CCE"/>
20294 <description>Squid should be configured to not allow https traffic (and dependencies are met)</description>
20295 </metadata>
20296 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20297 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20298 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20299 </criteria>
20300 </definition>
20301 <definition class="compliance" id="oval:org.open-scap.f14:def:20357" version="1">
20302 <metadata>
20303 <title>Access Control Lists (ACL)</title>
20304 <reference ref_id="CCE-3610-3" source="CCE"/>
20305 <description>Squid should be configured to not allow wais traffic (and dependencies are met)</description>
20306 </metadata>
20307 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20308 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20309 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20310 </criteria>
20311 </definition>
20312 <definition class="compliance" id="oval:org.open-scap.f14:def:20358" version="1">
20313 <metadata>
20314 <title>Access Control Lists (ACL)</title>
20315 <reference ref_id="CCE-4466-9" source="CCE"/>
20316 <description>Squid should be configured to not allow multiling http traffic (and dependencies are met)</description>
20317 </metadata>
20318 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20319 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20320 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20321 </criteria>
20322 </definition>
20323 <definition class="compliance" id="oval:org.open-scap.f14:def:20359" version="1">
20324 <metadata>
20325 <title>Access Control Lists (ACL)</title>
20326 <reference ref_id="CCE-4607-8" source="CCE"/>
20327 <description>Squid should be configured to not allow http traffic (and dependencies are met)</description>
20328 </metadata>
20329 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20330 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20331 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20332 </criteria>
20333 </definition>
20334 <definition class="compliance" id="oval:org.open-scap.f14:def:20360" version="1">
20335 <metadata>
20336 <title>Access Control Lists (ACL)</title>
20337 <reference ref_id="CCE-4255-6" source="CCE"/>
20338 <description>Squid should be configured to not allow ftp traffic (and dependencies are met)</description>
20339 </metadata>
20340 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20341 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20342 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20343 </criteria>
20344 </definition>
20345 <definition class="compliance" id="oval:org.open-scap.f14:def:20361" version="1">
20346 <metadata>
20347 <title>Access Control Lists (ACL)</title>
20348 <reference ref_id="CCE-4127-7" source="CCE"/>
20349 <description>Squid should be configured to not allow gopher traffic (and dependencies are met)</description>
20350 </metadata>
20351 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20352 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20353 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20354 </criteria>
20355 </definition>
20356 <definition class="compliance" id="oval:org.open-scap.f14:def:20362" version="1">
20357 <metadata>
20358 <title>Access Control Lists (ACL)</title>
20359 <reference ref_id="CCE-4519-5" source="CCE"/>
20360 <description>Squid should be configured to not allow filemaker traffic (and dependencies are met)</description>
20361 </metadata>
20362 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20363 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20364 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20365 </criteria>
20366 </definition>
20367 <definition class="compliance" id="oval:org.open-scap.f14:def:20363" version="1">
20368 <metadata>
20369 <title>Access Control Lists (ACL)</title>
20370 <reference ref_id="CCE-4413-1" source="CCE"/>
20371 <description>Squid proxy access to localhost should be denied (and dependencies are met)</description>
20372 </metadata>
20373 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20374 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20375 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20376 </criteria>
20377 </definition>
20378 <definition class="compliance" id="oval:org.open-scap.f14:def:20364" version="1">
20379 <metadata>
20380 <title>Access Control Lists (ACL)</title>
20381 <reference ref_id="CCE-4373-7" source="CCE"/>
20382 <description>Squid should be configured to not allow http-mgmt traffic (and dependencies are met)</description>
20383 </metadata>
20384 <criteria comment="Squid is disabled or conditions are met" operator="OR">
20385 <extend_definition comment="Squid is disabled" definition_ref="oval:org.open-scap.f14:def:20341"/>
20386 <criterion comment="Unknown test stub" test_ref="oval:org.open-scap.f14:tst:22"/>
20387 </criteria>
20388 </definition>
20389 <definition class="compliance" id="oval:org.open-scap.f14:def:20365" version="1">
20390 <metadata>
20391 <title>Disable SNMP Server if Possible</title>
20392 <reference ref_id="CCE-3765-5" source="CCE"/>
20393 <description>The snmpd service should be disabled.</description>
20394 </metadata>
20395 <criteria comment="net-snmp is not installed or conditions are met" operator="OR">
20396 <extend_definition comment="net-snmp is not installed" definition_ref="oval:org.open-scap.f14:def:20366"/>
20397 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20365"/>
20398 </criteria>
20399 </definition>
20400 <definition class="compliance" id="oval:org.open-scap.f14:def:20366" version="1">
20401 <metadata>
20402 <title>Disable SNMP Server if Possible</title>
20403 <reference ref_id="CCE-4404-0" source="CCE"/>
20404 <description>The net-snmp package should be uninstalled.</description>
20405 </metadata>
20406 <criteria>
20407 <criterion comment="Conditions are satisfied" test_ref="oval:org.open-scap.f14:tst:20366"/>
20408 </criteria>
20409 </definition>
20410 </definitions>
20411 <tests>
20412 <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">
20413 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20414 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20000"/>
20415 </ind-def:textfilecontent54_test>
20416 <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">
20417 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20418 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20002"/>
20419 </ind-def:textfilecontent54_test>
20420 <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">
20421 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20422 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20004"/>
20423 </ind-def:textfilecontent54_test>
20424 <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">
20425 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20426 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20005"/>
20427 </ind-def:textfilecontent54_test>
20428 <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">
20429 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20000"/>
20430 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20006"/>
20431 </ind-def:textfilecontent54_test>
20432 <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">
20433 <lin-def:object object_ref="oval:org.open-scap.f14:obj:200065"/>
20434 <lin-def:state state_ref="oval:org.open-scap.f14:ste:200065"/>
20435 </lin-def:rpminfo_test>
20436 <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">
20437 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20009"/>
20438 </unix-def:file_test>
20439 <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">
20440 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20010"/>
20441 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20010"/>
20442 </ind-def:textfilecontent54_test>
20443 <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">
20444 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20011"/>
20445 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20011"/>
20446 </ind-def:textfilecontent54_test>
20447 <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">
20448 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20012"/>
20449 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20012"/>
20450 </ind-def:textfilecontent54_test>
20451 <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">
20452 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20013"/>
20453 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20013"/>
20454 </ind-def:textfilecontent54_test>
20455 <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">
20456 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
20457 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
20458 </ind-def:textfilecontent54_test>
20459 <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">
20460 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
20461 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200161"/>
20462 </ind-def:textfilecontent54_test>
20463 <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">
20464 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
20465 <lin-def:state state_ref="oval:org.open-scap.f14:ste:10000"/>
20466 </lin-def:rpminfo_test>
20467 <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">
20468 <lin-def:object object_ref="oval:org.open-scap.f14:obj:10000"/>
20469 <lin-def:state state_ref="oval:org.open-scap.f14:ste:11000"/>
20470 </lin-def:rpminfo_test>
20471 <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">
20472 <ind-def:object object_ref="oval:org.open-scap.f14:obj:10001"/>
20473 <ind-def:state state_ref="oval:org.open-scap.f14:ste:10001"/>
20474 </ind-def:family_test>
20475 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20008" version="1">
20476 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20008"/>
20477 </unix-def:runlevel_test>
20478 <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">
20479 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20014"/>
20480 </lin-def:rpminfo_test>
20481 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:22" version="1"/>
20482 <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">
20483 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20020"/>
20484 </ind-def:textfilecontent54_test>
20485 <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">
20486 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20487 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20021"/>
20488 </ind-def:textfilecontent54_test>
20489 <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">
20490 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20022"/>
20491 </unix-def:file_test>
20492 <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">
20493 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20023"/>
20494 </ind-def:textfilecontent54_test>
20495 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20025" version="1">
20496 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20025"/>
20497 </unix-def:runlevel_test>
20498 <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">
20499 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20026"/>
20500 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20026"/>
20501 </ind-def:xmlfilecontent_test>
20502 <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">
20503 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20504 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20027"/>
20505 </ind-def:textfilecontent54_test>
20506 <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">
20507 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20508 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20028"/>
20509 </ind-def:textfilecontent54_test>
20510 <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">
20511 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20512 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20029"/>
20513 </ind-def:textfilecontent54_test>
20514 <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">
20515 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20516 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20030"/>
20517 </ind-def:textfilecontent54_test>
20518 <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">
20519 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20520 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20031"/>
20521 </ind-def:textfilecontent54_test>
20522 <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">
20523 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20524 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20032"/>
20525 </ind-def:textfilecontent54_test>
20526 <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">
20527 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20027"/>
20528 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20033"/>
20529 </ind-def:textfilecontent54_test>
20530 <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">
20531 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
20532 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20034"/>
20533 </unix-def:file_test>
20534 <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">
20535 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
20536 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20035"/>
20537 </unix-def:file_test>
20538 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20036" version="1">
20539 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
20540 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20036"/>
20541 </unix-def:file_test>
20542 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20037" version="1">
20543 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
20544 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20037"/>
20545 </unix-def:file_test>
20546 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20038" version="1">
20547 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
20548 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20038"/>
20549 </unix-def:file_test>
20550 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow ownership" id="oval:org.open-scap.f14:tst:20039" version="1">
20551 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
20552 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20039"/>
20553 </unix-def:file_test>
20554 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20040" version="1">
20555 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
20556 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20040"/>
20557 </unix-def:file_test>
20558 <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">
20559 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
20560 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20041"/>
20561 </unix-def:file_test>
20562 <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">
20563 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20034"/>
20564 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20042"/>
20565 </unix-def:file_test>
20566 <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">
20567 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20036"/>
20568 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20043"/>
20569 </unix-def:file_test>
20570 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing gshadow permissions" id="oval:org.open-scap.f14:tst:20044" version="1">
20571 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20038"/>
20572 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20044"/>
20573 </unix-def:file_test>
20574 <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">
20575 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20040"/>
20576 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20045"/>
20577 </unix-def:file_test>
20578 <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">
20579 <notes>
20580 <note>This will enumerate all world writable directories on local partitions</note>
20581 </notes>
20582 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200461"/>
20583 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20046"/>
20584 </unix-def:file_test>
20585 <unix-def:file_test check="all" comment="world writable files" id="oval:org.open-scap.f14:tst:20047" version="1">
20586 <notes>
20587 <note>This will enumerate all world writable files on local partitions</note>
20588 </notes>
20589 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200471"/>
20590 </unix-def:file_test>
20591 <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">
20592 <notes>
20593 <note>This will enumerate all files on local partitions</note>
20594 </notes>
20595 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20048"/>
20596 </unix-def:file_test>
20597 <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">
20598 <notes>
20599 <note>This will enumerate all files on local partitions</note>
20600 </notes>
20601 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20049"/>
20602 </unix-def:file_test>
20603 <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">
20604 <notes>
20605 <note>This will enumerate all files on local partitions</note>
20606 </notes>
20607 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20050"/>
20608 </unix-def:file_test>
20609 <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">
20610 <notes>
20611 <note>This will enumerate all files on local partitions</note>
20612 </notes>
20613 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20051"/>
20614 </unix-def:file_test>
20615 <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">
20616 <notes>
20617 <note>This will enumerate all directories on local partitions</note>
20618 </notes>
20619 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20052"/>
20620 </unix-def:file_test>
20621 <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">
20622 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20053"/>
20623 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20053"/>
20624 </ind-def:textfilecontent54_test>
20625 <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">
20626 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20055"/>
20627 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20055"/>
20628 </ind-def:textfilecontent54_test>
20629 <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">
20630 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20056"/>
20631 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20056"/>
20632 </ind-def:textfilecontent54_test>
20633 <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">
20634 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20057"/>
20635 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20057"/>
20636 </ind-def:textfilecontent54_test>
20637 <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">
20638 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20058"/>
20639 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20058"/>
20640 </ind-def:textfilecontent54_test>
20641 <ind-def:unknown_test check="all" comment="BIOS test cannot be automated" id="oval:org.open-scap.f14:tst:20060" version="1"/>
20642 <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">
20643 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20061"/>
20644 </ind-def:textfilecontent54_test>
20645 <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">
20646 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20062"/>
20647 </ind-def:textfilecontent54_test>
20648 <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">
20649 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20063"/>
20650 </ind-def:textfilecontent54_test>
20651 <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">
20652 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20064"/>
20653 </ind-def:textfilecontent54_test>
20654 <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">
20655 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20065"/>
20656 </ind-def:textfilecontent54_test>
20657 <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">
20658 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20066"/>
20659 </ind-def:textfilecontent54_test>
20660 <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">
20661 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20067"/>
20662 </ind-def:textfilecontent54_test>
20663 <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">
20664 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20068"/>
20665 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20068"/>
20666 </unix-def:password_test>
20667 <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">
20668 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20069"/>
20669 </ind-def:textfilecontent54_test>
20670 <unix-def:password_test check="all" comment="Check that passwords are shadowed" id="oval:org.open-scap.f14:tst:200695" version="1">
20671 <unix-def:object object_ref="oval:org.open-scap.f14:obj:200695"/>
20672 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200695"/>
20673 </unix-def:password_test>
20674 <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">
20675 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20070"/>
20676 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20070"/>
20677 </ind-def:textfilecontent54_test>
20678 <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">
20679 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20071"/>
20680 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20071"/>
20681 </ind-def:textfilecontent54_test>
20682 <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">
20683 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20072"/>
20684 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20072"/>
20685 </ind-def:textfilecontent54_test>
20686 <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">
20687 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20073"/>
20688 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20073"/>
20689 </ind-def:textfilecontent54_test>
20690 <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">
20691 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20074"/>
20692 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20074"/>
20693 </ind-def:textfilecontent54_test>
20694 <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">
20695 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20075"/>
20696 </ind-def:textfilecontent54_test>
20697 <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">
20698 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20076"/>
20699 </ind-def:textfilecontent54_test>
20700 <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">
20701 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20077"/>
20702 </ind-def:textfilecontent54_test>
20703 <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">
20704 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200781"/>
20705 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200781"/>
20706 </ind-def:textfilecontent54_test>
20707 <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">
20708 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200782"/>
20709 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200782"/>
20710 </ind-def:textfilecontent54_test>
20711 <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">
20712 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200783"/>
20713 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200783"/>
20714 </ind-def:textfilecontent54_test>
20715 <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">
20716 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200784"/>
20717 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200784"/>
20718 </ind-def:textfilecontent54_test>
20719 <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">
20720 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200785"/>
20721 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200785"/>
20722 </ind-def:textfilecontent54_test>
20723 <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">
20724 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200786"/>
20725 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200786"/>
20726 </ind-def:textfilecontent54_test>
20727 <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">
20728 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200787"/>
20729 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200787"/>
20730 </ind-def:textfilecontent54_test>
20731 <ind-def:unknown_test check="all" comment="pam_passwdqc is not implemented" id="oval:org.open-scap.f14:tst:20079" version="1"/>
20732 <ind-def:variable_test check="all" comment="check value of unlock_time" id="oval:org.open-scap.f14:tst:200800" version="1">
20733 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200800"/>
20734 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200800"/>
20735 </ind-def:variable_test>
20736 <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">
20737 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008011"/>
20738 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008011"/>
20739 </ind-def:textfilecontent54_test>
20740 <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">
20741 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008012"/>
20742 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008012"/>
20743 </ind-def:textfilecontent54_test>
20744 <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">
20745 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2008013"/>
20746 <ind-def:state state_ref="oval:org.open-scap.f14:ste:2008013"/>
20747 </ind-def:textfilecontent54_test>
20748 <!-- 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"> -->
20749 <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">
20750 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200803"/>
20751 </ind-def:textfilecontent54_test>
20752 <ind-def:unknown_test check="all" comment="Check for required in pam_unix auth" id="oval:org.open-scap.f14:tst:200805" version="1"/>
20753 <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"/>
20754 <ind-def:unknown_test check="all" comment="check that pam_deny is not there" id="oval:org.open-scap.f14:tst:2008062" version="1"/>
20755 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20081" version="1">
20756 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20757 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20081"/>
20758 </unix-def:file_test>
20759 <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">
20760 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200811"/>
20761 </ind-def:textfilecontent54_test>
20762 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20082" version="1">
20763 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20081"/>
20764 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20082"/>
20765 </unix-def:file_test>
20766 <ind-def:variable_test check="all" comment="check value of hashing algorithm is md5" id="oval:org.open-scap.f14:tst:200831" version="1">
20767 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200831"/>
20768 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200831"/>
20769 </ind-def:variable_test>
20770 <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">
20771 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200832"/>
20772 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200832"/>
20773 </ind-def:textfilecontent54_test>
20774 <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">
20775 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200833"/>
20776 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20777 </ind-def:textfilecontent54_test>
20778 <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">
20779 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200834"/>
20780 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20781 </ind-def:textfilecontent54_test>
20782 <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">
20783 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200835"/>
20784 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200833"/>
20785 </ind-def:textfilecontent54_test>
20786 <ind-def:variable_test check="all" comment="check remember parameter is set to 0" id="oval:org.open-scap.f14:tst:200841" version="1">
20787 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200841"/>
20788 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200841"/>
20789 </ind-def:variable_test>
20790 <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">
20791 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200842"/>
20792 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200842"/>
20793 </ind-def:textfilecontent54_test>
20794 <ind-def:environmentvariable_test check="all" comment="PATH starts with : or ." id="oval:org.open-scap.f14:tst:200851" version="1">
20795 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20796 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200851"/>
20797 </ind-def:environmentvariable_test>
20798 <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">
20799 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20800 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200852"/>
20801 </ind-def:environmentvariable_test>
20802 <ind-def:environmentvariable_test check="all" comment="PATH contains :: or :.:" id="oval:org.open-scap.f14:tst:200853" version="1">
20803 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20085"/>
20804 <ind-def:state state_ref="oval:org.open-scap.f14:ste:200853"/>
20805 </ind-def:environmentvariable_test>
20806 <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">
20807 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2008551"/>
20808 </unix-def:file_test>
20809 <unix-def:file_test check="none satisfy" comment="home directories are group writeable" id="oval:org.open-scap.f14:tst:200861" version="1">
20810 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20811 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200861"/>
20812 </unix-def:file_test>
20813 <unix-def:file_test check="none satisfy" comment="home directories are world readable" id="oval:org.open-scap.f14:tst:200862" version="1">
20814 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20086"/>
20815 <unix-def:state state_ref="oval:org.open-scap.f14:ste:200862"/>
20816 </unix-def:file_test>
20817 <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">
20818 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20087"/>
20819 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20820 </ind-def:textfilecontent54_test>
20821 <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">
20822 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20088"/>
20823 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20087"/>
20824 </ind-def:textfilecontent54_test>
20825 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20092" version="1">
20826 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20092"/>
20827 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20092"/>
20828 </unix-def:file_test>
20829 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20093" version="1">
20830 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20093"/>
20831 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20093"/>
20832 </unix-def:file_test>
20833 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20094" version="1">
20834 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20094"/>
20835 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20094"/>
20836 </unix-def:file_test>
20837 <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">
20838 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20095"/>
20839 </ind-def:textfilecontent54_test>
20840 <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">
20841 <ind-def:object object_ref="oval:org.open-scap.f14:obj:73"/>
20842 </ind-def:textfilecontent54_test>
20843 <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">
20844 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20096"/>
20845 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20097"/>
20846 </ind-def:textfilecontent54_test>
20847 <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">
20848 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20098"/>
20849 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20098"/>
20850 </ind-def:textfilecontent54_test>
20851 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20099" version="1"/>
20852 <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">
20853 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20100"/>
20854 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20100"/>
20855 </ind-def:xmlfilecontent_test>
20856 <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">
20857 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201005"/>
20858 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201005"/>
20859 </ind-def:xmlfilecontent_test>
20860 <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">
20861 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201006"/>
20862 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201006"/>
20863 </ind-def:xmlfilecontent_test>
20864 <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">
20865 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201007"/>
20866 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201007"/>
20867 </ind-def:xmlfilecontent_test>
20868 <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">
20869 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20101"/>
20870 </lin-def:rpminfo_test>
20871 <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">
20872 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20102"/>
20873 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20102"/>
20874 </ind-def:textfilecontent54_test>
20875 <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">
20876 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20103"/>
20877 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20103"/>
20878 </ind-def:xmlfilecontent_test>
20879 <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">
20880 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20104"/>
20881 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20104"/>
20882 </ind-def:textfilecontent54_test>
20883 <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">
20884 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20105"/>
20885 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20105"/>
20886 </ind-def:textfilecontent54_test>
20887 <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">
20888 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20106"/>
20889 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20106"/>
20890 </ind-def:textfilecontent54_test>
20891 <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">
20892 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20107"/>
20893 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20107"/>
20894 </ind-def:textfilecontent54_test>
20895 <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">
20896 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20108"/>
20897 </lin-def:rpminfo_test>
20898 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20109" version="1">
20899 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20109"/>
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:20110" version="1">
20902 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20110"/>
20903 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
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:20111" version="1">
20906 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20111"/>
20907 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20111"/>
20908 </unix-def:runlevel_test>
20909 <!-- BEGIN -->
20910 <!-- def:20112 -->
20911 <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">
20912 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201120"/>
20913 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20914 </ind-def:textfilecontent54_test>
20915 <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">
20916 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
20917 </ind-def:textfilecontent54_test>
20918 <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">
20919 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201121"/>
20920 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20921 </ind-def:textfilecontent54_test>
20922 <!-- def:20113 -->
20923 <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">
20924 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201130"/>
20925 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20926 </ind-def:textfilecontent54_test>
20927 <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">
20928 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
20929 </ind-def:textfilecontent54_test>
20930 <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">
20931 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201131"/>
20932 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20933 </ind-def:textfilecontent54_test>
20934 <!-- def:20114 -->
20935 <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">
20936 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201140"/>
20937 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20938 </ind-def:textfilecontent54_test>
20939 <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">
20940 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
20941 </ind-def:textfilecontent54_test>
20942 <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">
20943 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201141"/>
20944 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20945 </ind-def:textfilecontent54_test>
20946 <!-- def:20115 -->
20947 <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">
20948 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201150"/>
20949 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20950 </ind-def:textfilecontent54_test>
20951 <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">
20952 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
20953 </ind-def:textfilecontent54_test>
20954 <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">
20955 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201151"/>
20956 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20957 </ind-def:textfilecontent54_test>
20958 <!-- def:20116 -->
20959 <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">
20960 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201160"/>
20961 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20962 </ind-def:textfilecontent54_test>
20963 <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">
20964 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
20965 </ind-def:textfilecontent54_test>
20966 <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">
20967 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201161"/>
20968 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20969 </ind-def:textfilecontent54_test>
20970 <!-- def:20117 -->
20971 <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">
20972 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201170"/>
20973 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20974 </ind-def:textfilecontent54_test>
20975 <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">
20976 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
20977 </ind-def:textfilecontent54_test>
20978 <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">
20979 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201171"/>
20980 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20981 </ind-def:textfilecontent54_test>
20982 <!-- def:20118 -->
20983 <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">
20984 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201180"/>
20985 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20986 </ind-def:textfilecontent54_test>
20987 <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">
20988 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
20989 </ind-def:textfilecontent54_test>
20990 <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">
20991 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201181"/>
20992 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
20993 </ind-def:textfilecontent54_test>
20994 <!-- def:20119 -->
20995 <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">
20996 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201190"/>
20997 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
20998 </ind-def:textfilecontent54_test>
20999 <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">
21000 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
21001 </ind-def:textfilecontent54_test>
21002 <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">
21003 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201191"/>
21004 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21005 </ind-def:textfilecontent54_test>
21006 <!-- def:20120 -->
21007 <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">
21008 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201200"/>
21009 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21010 </ind-def:textfilecontent54_test>
21011 <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">
21012 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
21013 </ind-def:textfilecontent54_test>
21014 <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">
21015 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201201"/>
21016 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21017 </ind-def:textfilecontent54_test>
21018 <!-- def:20121 -->
21019 <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">
21020 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201210"/>
21021 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21022 </ind-def:textfilecontent54_test>
21023 <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">
21024 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
21025 </ind-def:textfilecontent54_test>
21026 <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">
21027 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201211"/>
21028 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21029 </ind-def:textfilecontent54_test>
21030 <!-- def:20122 -->
21031 <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">
21032 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201220"/>
21033 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21034 </ind-def:textfilecontent54_test>
21035 <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">
21036 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
21037 </ind-def:textfilecontent54_test>
21038 <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">
21039 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201221"/>
21040 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21041 </ind-def:textfilecontent54_test>
21042 <!-- def:20123 -->
21043 <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">
21044 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201230"/>
21045 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21046 </ind-def:textfilecontent54_test>
21047 <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">
21048 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
21049 </ind-def:textfilecontent54_test>
21050 <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">
21051 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201231"/>
21052 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21053 </ind-def:textfilecontent54_test>
21054 <!-- def:20124 -->
21055 <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">
21056 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201240"/>
21057 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21058 </ind-def:textfilecontent54_test>
21059 <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">
21060 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
21061 </ind-def:textfilecontent54_test>
21062 <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">
21063 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201241"/>
21064 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21065 </ind-def:textfilecontent54_test>
21066 <!-- def:20125 -->
21067 <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">
21068 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201250"/>
21069 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21070 </ind-def:textfilecontent54_test>
21071 <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">
21072 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
21073 </ind-def:textfilecontent54_test>
21074 <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">
21075 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201251"/>
21076 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21077 </ind-def:textfilecontent54_test>
21078 <!-- def:20126 -->
21079 <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">
21080 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201260"/>
21081 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21082 </ind-def:textfilecontent54_test>
21083 <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">
21084 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
21085 </ind-def:textfilecontent54_test>
21086 <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">
21087 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201261"/>
21088 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201121"/>
21089 </ind-def:textfilecontent54_test>
21090 <!-- ^^^ ok ^^^ -->
21091 <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">
21092 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20128"/>
21093 </ind-def:textfilecontent54_test>
21094 <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">
21095 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20129"/>
21096 </unix-def:file_test>
21097 <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">
21098 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20130"/>
21099 </ind-def:textfilecontent54_test>
21100 <!-- assuming the default is "no" i.e. if IPV6INIT is not present -->
21101 <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">
21102 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20131"/>
21103 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20131"/>
21104 </ind-def:textfilecontent54_test>
21105 <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">
21106 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20132"/>
21107 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20132"/>
21108 </ind-def:textfilecontent54_test>
21109 <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">
21110 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20133"/>
21111 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20133"/>
21112 </ind-def:textfilecontent54_test>
21113 <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">
21114 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20134"/>
21115 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20134"/>
21116 </ind-def:textfilecontent54_test>
21117 <!-- sysctl (ip6) -->
21118 <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">
21119 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201390"/>
21120 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
21121 </ind-def:textfilecontent54_test>
21122 <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">
21123 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
21124 </ind-def:textfilecontent54_test>
21125 <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">
21126 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201391"/>
21127 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20139"/>
21128 </ind-def:textfilecontent54_test>
21129 <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">
21130 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201400"/>
21131 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21132 </ind-def:textfilecontent54_test>
21133 <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">
21134 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
21135 </ind-def:textfilecontent54_test>
21136 <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">
21137 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201401"/>
21138 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21139 </ind-def:textfilecontent54_test>
21140 <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">
21141 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201410"/>
21142 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21143 </ind-def:textfilecontent54_test>
21144 <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">
21145 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
21146 </ind-def:textfilecontent54_test>
21147 <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">
21148 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201411"/>
21149 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21150 </ind-def:textfilecontent54_test>
21151 <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">
21152 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201420"/>
21153 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21154 </ind-def:textfilecontent54_test>
21155 <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">
21156 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
21157 </ind-def:textfilecontent54_test>
21158 <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">
21159 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201421"/>
21160 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21161 </ind-def:textfilecontent54_test>
21162 <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">
21163 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201430"/>
21164 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21165 </ind-def:textfilecontent54_test>
21166 <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">
21167 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
21168 </ind-def:textfilecontent54_test>
21169 <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">
21170 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201431"/>
21171 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201120"/>
21172 </ind-def:textfilecontent54_test>
21173 <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">
21174 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201440"/>
21175 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
21176 </ind-def:textfilecontent54_test>
21177 <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">
21178 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
21179 </ind-def:textfilecontent54_test>
21180 <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">
21181 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201441"/>
21182 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20144"/>
21183 </ind-def:textfilecontent54_test>
21184 <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">
21185 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201450"/>
21186 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
21187 </ind-def:textfilecontent54_test>
21188 <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">
21189 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
21190 </ind-def:textfilecontent54_test>
21191 <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">
21192 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201451"/>
21193 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20145"/>
21194 </ind-def:textfilecontent54_test>
21195 <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">
21196 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20146"/>
21197 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
21198 </unix-def:runlevel_test>
21199 <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">
21200 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20147"/>
21201 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20146"/>
21202 </unix-def:runlevel_test>
21203 <!--- New end -->
21204 <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">
21205 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014741"/>
21206 </ind-def:textfilecontent54_test>
21207 <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">
21208 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014742"/>
21209 </ind-def:textfilecontent54_test>
21210 <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">
21211 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014751"/>
21212 </ind-def:textfilecontent54_test>
21213 <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">
21214 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2014752"/>
21215 </ind-def:textfilecontent54_test>
21216 <!--
21217 <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">
21218 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201476" />
21219 </ind-def:textfilecontent54_test>
21220 <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">
21221 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201477" />
21222 </ind-def:textfilecontent54_test>
21223 <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">
21224 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201478" />
21225 </ind-def:textfilecontent54_test>
21226 <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">
21227 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201479" />
21228 </ind-def:textfilecontent54_test>
21229 -->
21230 <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">
21231 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20148"/>
21232 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20148"/>
21233 </unix-def:runlevel_test>
21234 <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">
21235 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
21236 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20149"/>
21237 </unix-def:file_test>
21238 <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">
21239 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
21240 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20150"/>
21241 </unix-def:file_test>
21242 <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">
21243 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201491"/>
21244 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20151"/>
21245 </unix-def:file_test>
21246 <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">
21247 <unix-def:object object_ref="oval:org.open-scap.f14:obj:2014911"/>
21248 </unix-def:password_test>
21249 <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">
21250 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201501"/>
21251 </ind-def:textfilecontent54_test>
21252 <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">
21253 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20152"/>
21254 </ind-def:textfilecontent54_test>
21255 <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">
21256 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20153"/>
21257 </ind-def:textfilecontent54_test>
21258 <!--
21259 <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">
21260 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20154"/>
21261 </ind-def:textfilecontent54_test>
21262 -->
21263 <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">
21264 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20156"/>
21265 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20156"/>
21266 </unix-def:runlevel_test>
21267 <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">
21268 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20157"/>
21269 </ind-def:textfilecontent54_test>
21270 <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">
21271 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015750"/>
21272 </ind-def:textfilecontent54_test>
21273 <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">
21274 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015751"/>
21275 </ind-def:textfilecontent54_test>
21276 <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">
21277 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015752"/>
21278 </ind-def:textfilecontent54_test>
21279 <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">
21280 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015753"/>
21281 </ind-def:textfilecontent54_test>
21282 <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">
21283 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2015754"/>
21284 </ind-def:textfilecontent54_test>
21285 <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">
21286 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201580"/>
21287 </ind-def:textfilecontent54_test>
21288 <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">
21289 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201581"/>
21290 </ind-def:textfilecontent54_test>
21291 <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">
21292 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201582"/>
21293 </ind-def:textfilecontent54_test>
21294 <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">
21295 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201583"/>
21296 </ind-def:textfilecontent54_test>
21297 <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">
21298 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201584"/>
21299 </ind-def:textfilecontent54_test>
21300 <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">
21301 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201590"/>
21302 </ind-def:textfilecontent54_test>
21303 <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">
21304 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201591"/>
21305 </ind-def:textfilecontent54_test>
21306 <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">
21307 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201592"/>
21308 </ind-def:textfilecontent54_test>
21309 <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">
21310 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201593"/>
21311 </ind-def:textfilecontent54_test>
21312 <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">
21313 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201594"/>
21314 </ind-def:textfilecontent54_test>
21315 <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">
21316 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201595"/>
21317 </ind-def:textfilecontent54_test>
21318 <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">
21319 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20160"/>
21320 </ind-def:textfilecontent54_test>
21321 <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">
21322 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201610"/>
21323 </ind-def:textfilecontent54_test>
21324 <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">
21325 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201611"/>
21326 </ind-def:textfilecontent54_test>
21327 <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">
21328 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201620"/>
21329 </ind-def:textfilecontent54_test>
21330 <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">
21331 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201621"/>
21332 </ind-def:textfilecontent54_test>
21333 <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">
21334 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201622"/>
21335 </ind-def:textfilecontent54_test>
21336 <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">
21337 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201630"/>
21338 </ind-def:textfilecontent54_test>
21339 <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">
21340 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201631"/>
21341 </ind-def:textfilecontent54_test>
21342 <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">
21343 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201632"/>
21344 </ind-def:textfilecontent54_test>
21345 <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">
21346 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201633"/>
21347 </ind-def:textfilecontent54_test>
21348 <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">
21349 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201634"/>
21350 </ind-def:textfilecontent54_test>
21351 <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">
21352 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201635"/>
21353 </ind-def:textfilecontent54_test>
21354 <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">
21355 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201640"/>
21356 </ind-def:textfilecontent54_test>
21357 <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">
21358 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201641"/>
21359 </ind-def:textfilecontent54_test>
21360 <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">
21361 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201642"/>
21362 </ind-def:textfilecontent54_test>
21363 <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">
21364 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201643"/>
21365 </ind-def:textfilecontent54_test>
21366 <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">
21367 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20165"/>
21368 </ind-def:textfilecontent54_test>
21369 <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">
21370 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201660"/>
21371 </ind-def:textfilecontent54_test>
21372 <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">
21373 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201661"/>
21374 </ind-def:textfilecontent54_test>
21375 <unix-def:uname_test check="all" comment="check architecture is 32 bit" id="oval:org.open-scap.f14:tst:201670" version="1">
21376 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
21377 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201670"/>
21378 </unix-def:uname_test>
21379 <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">
21380 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201671"/>
21381 </ind-def:textfilecontent54_test>
21382 <unix-def:uname_test check="all" comment="check architecture is 64 bit" id="oval:org.open-scap.f14:tst:201672" version="1">
21383 <unix-def:object object_ref="oval:org.open-scap.f14:obj:201670"/>
21384 <unix-def:state state_ref="oval:org.open-scap.f14:ste:201672"/>
21385 </unix-def:uname_test>
21386 <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">
21387 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201673"/>
21388 </ind-def:textfilecontent54_test>
21389 <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">
21390 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20168"/>
21391 </ind-def:textfilecontent54_test>
21392 <!-- <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">
21393 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016861"/>
21394 </ind-def:textfilecontent54_test> -->
21395 <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">
21396 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016852"/>
21397 </ind-def:textfilecontent54_test>
21398 <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">
21399 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016853"/>
21400 </ind-def:textfilecontent54_test>
21401 <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">
21402 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2016854"/>
21403 </ind-def:textfilecontent54_test>
21404 <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">
21405 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20169"/>
21406 </ind-def:textfilecontent54_test>
21407 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20170" version="1">
21408 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20170"/>
21409 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21410 </unix-def:runlevel_test>
21411 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20171" version="1">
21412 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20171"/>
21413 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21414 </unix-def:runlevel_test>
21415 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201745" version="1">
21416 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201745"/>
21417 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21418 </ind-def:textfilecontent54_test>
21419 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201774" version="1">
21420 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201774"/>
21421 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21422 </ind-def:textfilecontent54_test>
21423 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201775" version="1">
21424 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201775"/>
21425 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21426 </ind-def:textfilecontent54_test>
21427 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201776" version="1">
21428 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201776"/>
21429 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21430 </ind-def:textfilecontent54_test>
21431 <ind-def:textfilecontent54_test check="all" check_existence="none_exist" comment="Xinetd services test" id="oval:org.open-scap.f14:tst:20178" version="1">
21432 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20178"/>
21433 </ind-def:textfilecontent54_test>
21434 <ind-def:textfilecontent54_test check="all" check_existence="all_exist" comment="Xinetd runlevel test" id="oval:org.open-scap.f14:tst:201825" version="1">
21435 <ind-def:object object_ref="oval:org.open-scap.f14:obj:201825"/>
21436 <ind-def:state state_ref="oval:org.open-scap.f14:ste:201745"/>
21437 </ind-def:textfilecontent54_test>
21438 <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">
21439 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20179"/>
21440 </lin-def:rpminfo_test>
21441 <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">
21442 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20172"/>
21443 </lin-def:rpminfo_test>
21444 <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">
21445 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20173"/>
21446 </lin-def:rpminfo_test>
21447 <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">
21448 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20174"/>
21449 </lin-def:rpminfo_test>
21450 <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">
21451 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20175"/>
21452 </lin-def:rpminfo_test>
21453 <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">
21454 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20176"/>
21455 </lin-def:rpminfo_test>
21456 <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">
21457 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20177"/>
21458 </lin-def:rpminfo_test>
21459 <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">
21460 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20180"/>
21461 </lin-def:rpminfo_test>
21462 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20181" version="1">
21463 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20181"/>
21464 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21465 </unix-def:runlevel_test>
21466 <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">
21467 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20182"/>
21468 </lin-def:rpminfo_test>
21469 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20183" version="1">
21470 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20183"/>
21471 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21472 </unix-def:runlevel_test>
21473 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20184" version="1">
21474 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20184"/>
21475 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21476 </unix-def:runlevel_test>
21477 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20185" version="1">
21478 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20185"/>
21479 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21480 </unix-def:runlevel_test>
21481 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20186" version="1">
21482 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20186"/>
21483 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21484 </unix-def:runlevel_test>
21485 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20187" version="1">
21486 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20187"/>
21487 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21488 </unix-def:runlevel_test>
21489 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20188" version="1">
21490 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20188"/>
21491 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21492 </unix-def:runlevel_test>
21493 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20189" version="1">
21494 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20189"/>
21495 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21496 </unix-def:runlevel_test>
21497 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20190" version="1">
21498 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20190"/>
21499 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21500 </unix-def:runlevel_test>
21501 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20191" version="1">
21502 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20191"/>
21503 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21504 </unix-def:runlevel_test>
21505 <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">
21506 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20192"/>
21507 </unix-def:file_test>
21508 <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">
21509 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20193"/>
21510 </ind-def:textfilecontent54_test>
21511 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20194" version="1">
21512 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20194"/>
21513 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21514 </unix-def:runlevel_test>
21515 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20195" version="1">
21516 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20195"/>
21517 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21518 </unix-def:runlevel_test>
21519 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20196" version="1">
21520 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20196"/>
21521 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21522 </unix-def:runlevel_test>
21523 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20197" version="1">
21524 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20197"/>
21525 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21526 </unix-def:runlevel_test>
21527 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20198" version="1">
21528 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20198"/>
21529 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21530 </unix-def:runlevel_test>
21531 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20199" version="1">
21532 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20199"/>
21533 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21534 </unix-def:runlevel_test>
21535 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20200" version="1">
21536 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20200"/>
21537 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21538 </unix-def:runlevel_test>
21539 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20201" version="1">
21540 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20201"/>
21541 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21542 </unix-def:runlevel_test>
21543 <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">
21544 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020151"/>
21545 </ind-def:textfilecontent54_test>
21546 <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">
21547 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2020152"/>
21548 </ind-def:textfilecontent54_test>
21549 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20202" version="1">
21550 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20202"/>
21551 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21552 </unix-def:runlevel_test>
21553 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20203" version="1">
21554 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20203"/>
21555 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21556 </unix-def:runlevel_test>
21557 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20204" version="1">
21558 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20204"/>
21559 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21560 </unix-def:runlevel_test>
21561 <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">
21562 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20205"/>
21563 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20172"/>
21564 </unix-def:runlevel_test>
21565 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:202052" version="1">
21566 <unix-def:object object_ref="oval:org.open-scap.f14:obj:202052"/>
21567 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21568 </unix-def:runlevel_test>
21569 <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">
21570 <lin-def:object object_ref="oval:org.open-scap.f14:obj:202053"/>
21571 </lin-def:rpminfo_test>
21572 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20206" version="1">
21573 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20206"/>
21574 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21575 </unix-def:runlevel_test>
21576 <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">
21577 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20207"/>
21578 </lin-def:rpminfo_test>
21579 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20208" version="1">
21580 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20208"/>
21581 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20208"/>
21582 </unix-def:file_test>
21583 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20209" version="1">
21584 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20209"/>
21585 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20209"/>
21586 </unix-def:file_test>
21587 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20210" version="1">
21588 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20210"/>
21589 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20210"/>
21590 </unix-def:file_test>
21591 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20211" version="1">
21592 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20211"/>
21593 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20211"/>
21594 </unix-def:file_test>
21595 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20212" version="1">
21596 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20212"/>
21597 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20212"/>
21598 </unix-def:file_test>
21599 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20213" version="1">
21600 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20213"/>
21601 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20213"/>
21602 </unix-def:file_test>
21603 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20214" version="1">
21604 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20214"/>
21605 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20214"/>
21606 </unix-def:file_test>
21607 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20215" version="1">
21608 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20215"/>
21609 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20215"/>
21610 </unix-def:file_test>
21611 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20216" version="1">
21612 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20216"/>
21613 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20216"/>
21614 </unix-def:file_test>
21615 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20217" version="1">
21616 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20217"/>
21617 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20217"/>
21618 </unix-def:file_test>
21619 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20218" version="1">
21620 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20218"/>
21621 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20218"/>
21622 </unix-def:file_test>
21623 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20219" version="1">
21624 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20219"/>
21625 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20219"/>
21626 </unix-def:file_test>
21627 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20220" version="1">
21628 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20220"/>
21629 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20220"/>
21630 </unix-def:file_test>
21631 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20221" version="1">
21632 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20221"/>
21633 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20221"/>
21634 </unix-def:file_test>
21635 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20222" version="1">
21636 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20222"/>
21637 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20222"/>
21638 </unix-def:file_test>
21639 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20223" version="1">
21640 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20223"/>
21641 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20223"/>
21642 </unix-def:file_test>
21643 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20224" version="1">
21644 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20224"/>
21645 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20224"/>
21646 </unix-def:file_test>
21647 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20225" version="1">
21648 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20225"/>
21649 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20225"/>
21650 </unix-def:file_test>
21651 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20226" version="1">
21652 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20226"/>
21653 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20226"/>
21654 </unix-def:file_test>
21655 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20227" version="1">
21656 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20227"/>
21657 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20227"/>
21658 </unix-def:file_test>
21659 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20228" version="1">
21660 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20228"/>
21661 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20228"/>
21662 </unix-def:file_test>
21663 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20229" version="1">
21664 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21665 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20229"/>
21666 </unix-def:file_test>
21667 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20230" version="1">
21668 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21669 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20230"/>
21670 </unix-def:file_test>
21671 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20231" version="1">
21672 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20229"/>
21673 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20231"/>
21674 </unix-def:file_test>
21675 <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">
21676 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20232"/>
21677 </unix-def:file_test>
21678 <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">
21679 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20233"/>
21680 </unix-def:file_test>
21681 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20234" version="1">
21682 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20234"/>
21683 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20171"/>
21684 </unix-def:runlevel_test>
21685 <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">
21686 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20235"/>
21687 </lin-def:rpminfo_test>
21688 <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">
21689 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20236"/>
21690 </ind-def:textfilecontent54_test>
21691 <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">
21692 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20237"/>
21693 </ind-def:textfilecontent54_test>
21694 <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">
21695 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20238"/>
21696 </ind-def:textfilecontent54_test>
21697 <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">
21698 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20239"/>
21699 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20239"/>
21700 </ind-def:textfilecontent54_test>
21701 <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">
21702 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20240"/>
21703 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20240"/>
21704 </ind-def:textfilecontent54_test>
21705 <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">
21706 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20241"/>
21707 </ind-def:textfilecontent54_test>
21708 <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">
21709 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20242"/>
21710 </ind-def:textfilecontent54_test>
21711 <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">
21712 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20243"/>
21713 </ind-def:textfilecontent54_test>
21714 <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">
21715 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20244"/>
21716 </ind-def:textfilecontent54_test>
21717 <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">
21718 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20245"/>
21719 </ind-def:textfilecontent54_test>
21720 <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">
21721 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202455"/>
21722 </ind-def:textfilecontent54_test>
21723 <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">
21724 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202456"/>
21725 <ind-def:state state_ref="oval:org.open-scap.f14:ste:202456"/>
21726 </ind-def:textfilecontent54_test>
21727 <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">
21728 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20246"/>
21729 <ind-def:state state_ref="oval:org.open-scap.f14:ste:87"/>
21730 </ind-def:textfilecontent54_test>
21731 <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">
21732 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20248"/>
21733 </ind-def:textfilecontent54_test>
21734 <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">
21735 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20249"/>
21736 </ind-def:textfilecontent54_test>
21737 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20250" version="1">
21738 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20250"/>
21739 </unix-def:runlevel_test>
21740 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20251" version="1"/>
21741 <ind-def:unknown_test check="all" comment="Test implementation is unknown, unavailable, or impossible" id="oval:org.open-scap.f14:tst:20252" version="1"/>
21742 <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">
21743 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20253"/>
21744 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20253"/>
21745 </ind-def:textfilecontent54_test>
21746 <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">
21747 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20254"/>
21748 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20254"/>
21749 </ind-def:textfilecontent54_test>
21750 <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">
21751 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20255"/>
21752 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20255"/>
21753 </ind-def:textfilecontent54_test>
21754 <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">
21755 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20256"/>
21756 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20256"/>
21757 </ind-def:textfilecontent54_test>
21758 <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">
21759 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20257"/>
21760 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20257"/>
21761 </ind-def:textfilecontent54_test>
21762 <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">
21763 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20258"/>
21764 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20258"/>
21765 </ind-def:textfilecontent54_test>
21766 <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">
21767 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20259"/>
21768 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20259"/>
21769 </ind-def:textfilecontent54_test>
21770 <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">
21771 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20260"/>
21772 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20260"/>
21773 </ind-def:textfilecontent54_test>
21774 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20261" version="1">
21775 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20261"/>
21776 </unix-def:runlevel_test>
21777 <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">
21778 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20264"/>
21779 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20264"/>
21780 </ind-def:textfilecontent54_test>
21781 <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">
21782 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20265"/>
21783 </ind-def:textfilecontent54_test>
21784 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20266" version="1">
21785 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20266"/>
21786 </unix-def:runlevel_test>
21787 <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">
21788 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20267"/>
21789 </ind-def:textfilecontent54_test>
21790 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20268" version="1">
21791 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20268"/>
21792 </unix-def:runlevel_test>
21793 <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">
21794 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20269"/>
21795 </lin-def:rpminfo_test>
21796 <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">
21797 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20270"/>
21798 </ind-def:textfilecontent54_test>
21799 <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">
21800 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20271"/>
21801 </ind-def:textfilecontent54_test>
21802 <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">
21803 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20272"/>
21804 </ind-def:textfilecontent54_test>
21805 <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">
21806 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20280"/>
21807 </ind-def:textfilecontent54_test>
21808 <unix-def:runlevel_test check="all" check_existence="any_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20281" version="1">
21809 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20281"/>
21810 </unix-def:runlevel_test>
21811 <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">
21812 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20282"/>
21813 </ind-def:textfilecontent54_test>
21814 <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">
21815 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20285"/>
21816 </ind-def:textfilecontent54_test>
21817 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20287" version="1">
21818 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20287"/>
21819 </unix-def:runlevel_test>
21820 <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">
21821 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20288"/>
21822 </ind-def:textfilecontent54_test>
21823 <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">
21824 <ind-def:object object_ref="oval:org.open-scap.f14:obj:202885"/>
21825 </ind-def:textfilecontent54_test>
21826 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20289" version="1">
21827 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20289"/>
21828 </unix-def:runlevel_test>
21829 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20290" version="1">
21830 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20290"/>
21831 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20290"/>
21832 </unix-def:file_test>
21833 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20291" version="1">
21834 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20291"/>
21835 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20291"/>
21836 </unix-def:file_test>
21837 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20292" version="1">
21838 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20292"/>
21839 </unix-def:runlevel_test>
21840 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20293" version="1">
21841 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20293"/>
21842 </unix-def:runlevel_test>
21843 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20294" version="1">
21844 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20294"/>
21845 </unix-def:runlevel_test>
21846 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20295" version="1">
21847 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20295"/>
21848 </unix-def:runlevel_test>
21849 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20296" version="1">
21850 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20296"/>
21851 </unix-def:runlevel_test>
21852 <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">
21853 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20297"/>
21854 </ind-def:textfilecontent54_test>
21855 <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">
21856 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20298"/>
21857 </ind-def:textfilecontent54_test>
21858 <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">
21859 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20299"/>
21860 </ind-def:textfilecontent54_test>
21861 <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">
21862 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20300"/>
21863 </ind-def:textfilecontent54_test>
21864 <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">
21865 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20301"/>
21866 </ind-def:textfilecontent54_test>
21867 <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">
21868 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20302"/>
21869 </ind-def:textfilecontent54_test>
21870 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20303" version="1">
21871 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20303"/>
21872 </unix-def:runlevel_test>
21873 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20304" version="1">
21874 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20304"/>
21875 </unix-def:runlevel_test>
21876 <!-- <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">
21877 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20016"/>
21878 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203051"/>
21879 </ind-def:textfilecontent54_test> -->
21880 <!-- <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">
21881 <ind-def:object object_ref="oval:org.open-scap.f14:obj:200162"/>
21882 <ind-def:state state_ref="oval:org.open-scap.f14:ste:203052"/>
21883 </ind-def:textfilecontent54_test> -->
21884 <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">
21885 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20308"/>
21886 </ind-def:textfilecontent54_test>
21887 <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">
21888 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20309"/>
21889 </ind-def:textfilecontent54_test>
21890 <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">
21891 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20310"/>
21892 </ind-def:textfilecontent54_test>
21893 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20311" version="1">
21894 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20311"/>
21895 </unix-def:runlevel_test>
21896 <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">
21897 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20312"/>
21898 </lin-def:rpminfo_test>
21899 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20313" version="1">
21900 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20313"/>
21901 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20313"/>
21902 </unix-def:file_test>
21903 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing user ownership" id="oval:org.open-scap.f14:tst:20314" version="1">
21904 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20314"/>
21905 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20314"/>
21906 </unix-def:file_test>
21907 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20315" version="1">
21908 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20315"/>
21909 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20315"/>
21910 </unix-def:file_test>
21911 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20317" version="1">
21912 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20317"/>
21913 </unix-def:runlevel_test>
21914 <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">
21915 <lin-def:object object_ref="oval:org.open-scap.f14:obj:203175"/>
21916 </lin-def:rpminfo_test>
21917 <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">
21918 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20319"/>
21919 </ind-def:textfilecontent54_test>
21920 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20322" version="1">
21921 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20322"/>
21922 </unix-def:runlevel_test>
21923 <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">
21924 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20323"/>
21925 </lin-def:rpminfo_test>
21926 <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">
21927 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20324"/>
21928 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20324"/>
21929 </ind-def:textfilecontent54_test>
21930 <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">
21931 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20325"/>
21932 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20325"/>
21933 </ind-def:textfilecontent54_test>
21934 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20326" version="1">
21935 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20326"/>
21936 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20326"/>
21937 </unix-def:file_test>
21938 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20327" version="1">
21939 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20327"/>
21940 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20327"/>
21941 </unix-def:file_test>
21942 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20328" version="1">
21943 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20328"/>
21944 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20328"/>
21945 </unix-def:file_test>
21946 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing group ownership" id="oval:org.open-scap.f14:tst:20329" version="1">
21947 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20329"/>
21948 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20329"/>
21949 </unix-def:file_test>
21950 <unix-def:file_test check="all" check_existence="all_exist" comment="Testing file permissions" id="oval:org.open-scap.f14:tst:20330" version="1">
21951 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20330"/>
21952 <unix-def:state state_ref="oval:org.open-scap.f14:ste:20330"/>
21953 </unix-def:file_test>
21954 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20331" version="1">
21955 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20331"/>
21956 </unix-def:runlevel_test>
21957 <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">
21958 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20332"/>
21959 </lin-def:rpminfo_test>
21960 <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">
21961 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20333"/>
21962 </ind-def:textfilecontent54_test>
21963 <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">
21964 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20334"/>
21965 </ind-def:textfilecontent54_test>
21966 <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">
21967 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20335"/>
21968 </ind-def:textfilecontent54_test>
21969 <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">
21970 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20336"/>
21971 </ind-def:textfilecontent54_test>
21972 <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">
21973 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20337"/>
21974 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20337"/>
21975 </ind-def:textfilecontent54_test>
21976 <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">
21977 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20338"/>
21978 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20338"/>
21979 </ind-def:textfilecontent54_test>
21980 <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">
21981 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20339"/>
21982 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20339"/>
21983 </ind-def:textfilecontent54_test>
21984 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20340" version="1">
21985 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20340"/>
21986 </unix-def:runlevel_test>
21987 <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">
21988 <ind-def:object object_ref="oval:org.open-scap.f14:obj:203403"/>
21989 </ind-def:textfilecontent54_test>
21990 <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">
21991 <ind-def:object object_ref="oval:org.open-scap.f14:obj:2034010"/>
21992 </ind-def:textfilecontent54_test>
21993 <!-- <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"> -->
21994 <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">
21995 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340111"/>
21996 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
21997 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
21998 </ind-def:textfilecontent54_test>
21999 <!-- <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"> -->
22000 <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">
22001 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20340112"/>
22002 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340111"/>
22003 <!-- <ind-def:state state_ref="oval:org.open-scap.f14:ste:20340112"/> -->
22004 </ind-def:textfilecontent54_test>
22005 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20341" version="1">
22006 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20341"/>
22007 </unix-def:runlevel_test>
22008 <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">
22009 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20342"/>
22010 </lin-def:rpminfo_test>
22011 <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">
22012 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20343"/>
22013 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20343"/>
22014 </ind-def:textfilecontent54_test>
22015 <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">
22016 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20344"/>
22017 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20344"/>
22018 </ind-def:textfilecontent54_test>
22019 <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">
22020 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20345"/>
22021 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20345"/>
22022 </ind-def:textfilecontent54_test>
22023 <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">
22024 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20346"/>
22025 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20346"/>
22026 </ind-def:textfilecontent54_test>
22027 <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">
22028 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20347"/>
22029 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20347"/>
22030 </ind-def:textfilecontent54_test>
22031 <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">
22032 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20348"/>
22033 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20348"/>
22034 </ind-def:textfilecontent54_test>
22035 <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">
22036 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20349"/>
22037 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20349"/>
22038 </ind-def:textfilecontent54_test>
22039 <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">
22040 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20350"/>
22041 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20350"/>
22042 </ind-def:textfilecontent54_test>
22043 <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">
22044 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20351"/>
22045 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20351"/>
22046 </ind-def:textfilecontent54_test>
22047 <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">
22048 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20352"/>
22049 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20352"/>
22050 </ind-def:textfilecontent54_test>
22051 <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">
22052 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20353"/>
22053 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20353"/>
22054 </ind-def:textfilecontent54_test>
22055 <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">
22056 <ind-def:object object_ref="oval:org.open-scap.f14:obj:20354"/>
22057 <ind-def:state state_ref="oval:org.open-scap.f14:ste:20354"/>
22058 </ind-def:textfilecontent54_test>
22059 <unix-def:runlevel_test check="all" check_existence="none_exist" comment="Runlevel test" id="oval:org.open-scap.f14:tst:20365" version="1">
22060 <unix-def:object object_ref="oval:org.open-scap.f14:obj:20365"/>
22061 </unix-def:runlevel_test>
22062 <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">
22063 <lin-def:object object_ref="oval:org.open-scap.f14:obj:20366"/>
22064 </lin-def:rpminfo_test>
22065 </tests>
22066 <objects>
22067 <ind-def:textfilecontent54_object comment="look for the partition mount point in /etc/fstab" id="oval:org.open-scap.f14:obj:20000" version="1">
22068 <ind-def:path>/etc</ind-def:path>
22069 <ind-def:filename>fstab</ind-def:filename>
22070 <ind-def:pattern operation="pattern match">^[[:space:]]*[^[:space:]]+[[:space:]]+([^[:space:]]+)[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+[[:space:]]+[^[:space:]]+</ind-def:pattern>
22071 <!-- <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+([\S]+)[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+[\s]+[\S]+</ind-def:pattern> -->
22072 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22073 </ind-def:textfilecontent54_object>
22074 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20009" version="1">
22075 <unix-def:path operation="pattern match">^/etc/cron\.(hourly|daily|weekly|monthly)$</unix-def:path>
22076 <unix-def:filename>0yum.cron</unix-def:filename>
22077 </unix-def:file_object>
22078 <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">
22079 <ind-def:path>/etc</ind-def:path>
22080 <ind-def:filename>yum.conf</ind-def:filename>
22081 <ind-def:pattern operation="pattern match">^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22082 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22083 </ind-def:textfilecontent54_object>
22084 <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">
22085 <ind-def:path>/etc/yum.repos.d</ind-def:path>
22086 <ind-def:filename operation="pattern match">.*</ind-def:filename>
22087 <ind-def:pattern operation="pattern match">^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22088 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22089 </ind-def:textfilecontent54_object>
22090 <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">
22091 <ind-def:path>/etc</ind-def:path>
22092 <ind-def:filename>yum.conf</ind-def:filename>
22093 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22094 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22095 </ind-def:textfilecontent54_object>
22096 <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">
22097 <ind-def:path>/etc/yum.repos.d</ind-def:path>
22098 <ind-def:filename operation="pattern match">.*</ind-def:filename>
22099 <ind-def:pattern operation="pattern match">^[[:space:]]*repo_gpgcheck[[:space:]]*=[[:space:]]*([0-1])</ind-def:pattern>
22100 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22101 </ind-def:textfilecontent54_object>
22102 <ind-def:textfilecontent54_object comment="file systems defined in /etc/fstab" id="oval:org.open-scap.f14:obj:20016" version="1">
22103 <ind-def:path>/etc</ind-def:path>
22104 <ind-def:filename>fstab</ind-def:filename>
22105 <ind-def:pattern operation="pattern match">^[^#]*\/.+*ext[234]([^#]*)</ind-def:pattern>
22106 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22107 </ind-def:textfilecontent54_object>
22108 <ind-def:textfilecontent54_object comment="file systems defined in /etc/mtab" id="oval:org.open-scap.f14:obj:200162" version="1">
22109 <ind-def:path>/etc</ind-def:path>
22110 <ind-def:filename>mtab</ind-def:filename>
22111 <ind-def:pattern operation="pattern match">^[^#]*\/[^[:space:]]*ext[234]([^#])?</ind-def:pattern>
22112 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22113 </ind-def:textfilecontent54_object>
22114 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:10000" version="1">
22115 <lin-def:name>redhat-release</lin-def:name>
22116 </lin-def:rpminfo_object>
22117 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:200065" version="1">
22118 <lin-def:name>gpg-pubkey</lin-def:name>
22119 </lin-def:rpminfo_object>
22120 <ind-def:family_object id="oval:org.open-scap.f14:obj:10001" version="1"/>
22121 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20008" version="1">
22122 <unix-def:service_name>yum-updatesd</unix-def:service_name>
22123 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22124 </unix-def:runlevel_object>
22125 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20014" version="1">
22126 <lin-def:name>aide</lin-def:name>
22127 </lin-def:rpminfo_object>
22128 <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">
22129 <ind-def:path>/etc/security/console.perms.d</ind-def:path>
22130 <ind-def:filename>50-default.perms</ind-def:filename>
22131 <ind-def:pattern operation="pattern match">^[\s]*(&lt;console&gt;|&lt;xconsole&gt;)</ind-def:pattern>
22132 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22133 </ind-def:textfilecontent54_object>
22134 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/usb/storage/usb-storage.ko" id="oval:org.open-scap.f14:obj:20022" version="1">
22135 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/usb/storage</unix-def:path>
22136 <unix-def:filename>usb-storage.ko</unix-def:filename>
22137 </unix-def:file_object>
22138 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20023" version="1">
22139 <ind-def:path>/etc</ind-def:path>
22140 <ind-def:filename>grub.conf</ind-def:filename>
22141 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel[^#]nousb</ind-def:pattern>
22142 <ind-def:instance datatype="int">1</ind-def:instance>
22143 </ind-def:textfilecontent54_object>
22144 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20025" version="1">
22145 <unix-def:service_name>autofs</unix-def:service_name>
22146 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22147 </unix-def:runlevel_object>
22148 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20026" version="1">
22149 <ind-def:path>/etc/gconf</ind-def:path>
22150 <ind-def:filename>gconf.xml.mandatory</ind-def:filename>
22151 <ind-def:xpath>/desktop/gnome/volume_manager/automount_(media)|(drives)</ind-def:xpath>
22152 </ind-def:xmlfilecontent_object>
22153 <ind-def:textfilecontent54_object comment="Check in /etc/modprobe.conf for modules being loaded" id="oval:org.open-scap.f14:obj:20027" version="1">
22154 <ind-def:path>/etc/modprobe.d</ind-def:path>
22155 <ind-def:filename>denylist.conf</ind-def:filename>
22156 <ind-def:pattern operation="pattern match">^[^#]*denylist[[:space:]]+([^#]*)$</ind-def:pattern>
22157 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22158 </ind-def:textfilecontent54_object>
22159 <unix-def:file_object comment="/etc/shadow" id="oval:org.open-scap.f14:obj:20034" version="1">
22160 <unix-def:path>/etc</unix-def:path>
22161 <unix-def:filename>shadow</unix-def:filename>
22162 </unix-def:file_object>
22163 <unix-def:file_object comment="/etc/group" id="oval:org.open-scap.f14:obj:20036" version="1">
22164 <unix-def:path>/etc</unix-def:path>
22165 <unix-def:filename>group</unix-def:filename>
22166 </unix-def:file_object>
22167 <unix-def:file_object comment="/etc/gshadow" id="oval:org.open-scap.f14:obj:20038" version="1">
22168 <unix-def:path>/etc</unix-def:path>
22169 <unix-def:filename>gshadow</unix-def:filename>
22170 </unix-def:file_object>
22171 <unix-def:file_object comment="/etc/passwd" id="oval:org.open-scap.f14:obj:20040" version="1">
22172 <unix-def:path>/etc</unix-def:path>
22173 <unix-def:filename>passwd</unix-def:filename>
22174 </unix-def:file_object>
22175 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200461" version="1">
22176 <set set_operator="UNION">
22177 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
22178 <filter>oval:org.open-scap.f14:ste:200462</filter>
22179 </set>
22180 </unix-def:file_object>
22181 <unix-def:file_object comment="all local directories" id="oval:org.open-scap.f14:obj:20046" version="1">
22182 <unix-def:behaviors recurse="directories" recurse_direction="down" recurse_file_system="local"/>
22183 <unix-def:path>/</unix-def:path>
22184 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22185 </unix-def:file_object>
22186 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:200471" version="1">
22187 <set set_operator="UNION">
22188 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22189 <filter>oval:org.open-scap.f14:ste:200471</filter>
22190 <filter>oval:org.open-scap.f14:ste:200472</filter>
22191 </set>
22192 </unix-def:file_object>
22193 <unix-def:file_object comment="all local files" id="oval:org.open-scap.f14:obj:20047" version="1">
22194 <unix-def:behaviors recurse="directories" recurse_direction="down" recurse_file_system="local"/>
22195 <unix-def:path>/</unix-def:path>
22196 <unix-def:filename operation="pattern match">.*</unix-def:filename>
22197 </unix-def:file_object>
22198 <unix-def:file_object comment="all local files with sgid bit set" id="oval:org.open-scap.f14:obj:20048" version="1">
22199 <set set_operator="UNION">
22200 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22201 <filter>oval:org.open-scap.f14:ste:200481</filter>
22202 <filter>oval:org.open-scap.f14:ste:200482</filter>
22203 <filter>oval:org.open-scap.f14:ste:200483</filter>
22204 <filter>oval:org.open-scap.f14:ste:200484</filter>
22205 <filter>oval:org.open-scap.f14:ste:200485</filter>
22206 <filter>oval:org.open-scap.f14:ste:200486</filter>
22207 <filter>oval:org.open-scap.f14:ste:200487</filter>
22208 <filter>oval:org.open-scap.f14:ste:200488</filter>
22209 </set>
22210 </unix-def:file_object>
22211 <unix-def:file_object comment="all local files with suid bit set" id="oval:org.open-scap.f14:obj:20049" version="1">
22212 <set set_operator="UNION">
22213 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22214 <filter>oval:org.open-scap.f14:ste:2004901</filter>
22215 <filter>oval:org.open-scap.f14:ste:2004902</filter>
22216 <filter>oval:org.open-scap.f14:ste:2004903</filter>
22217 <filter>oval:org.open-scap.f14:ste:2004904</filter>
22218 <filter>oval:org.open-scap.f14:ste:2004905</filter>
22219 <filter>oval:org.open-scap.f14:ste:2004906</filter>
22220 <filter>oval:org.open-scap.f14:ste:2004907</filter>
22221 <filter>oval:org.open-scap.f14:ste:2004908</filter>
22222 <filter>oval:org.open-scap.f14:ste:2004909</filter>
22223 <filter>oval:org.open-scap.f14:ste:2004910</filter>
22224 <filter>oval:org.open-scap.f14:ste:2004911</filter>
22225 <filter>oval:org.open-scap.f14:ste:2004912</filter>
22226 <filter>oval:org.open-scap.f14:ste:2004913</filter>
22227 <filter>oval:org.open-scap.f14:ste:2004914</filter>
22228 <filter>oval:org.open-scap.f14:ste:2004915</filter>
22229 <filter>oval:org.open-scap.f14:ste:2004916</filter>
22230 </set>
22231 </unix-def:file_object>
22232 <unix-def:file_object comment="all local files without a valid user assigned" id="oval:org.open-scap.f14:obj:20050" version="1">
22233 <set set_operator="UNION">
22234 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22235 <filter>oval:org.open-scap.f14:ste:20050</filter>
22236 </set>
22237 </unix-def:file_object>
22238 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200501" version="1">
22239 <ind-def:path>/etc</ind-def:path>
22240 <ind-def:filename>passwd</ind-def:filename>
22241 <ind-def:pattern operation="pattern match">^[^:]+:[^:]+:([[:digit:]]+):[[:digit:]]+:[^:]*:[^:]+:[^:]*</ind-def:pattern>
22242 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22243 </ind-def:textfilecontent54_object>
22244 <unix-def:file_object comment="all local files without a valid group assigned" id="oval:org.open-scap.f14:obj:20051" version="1">
22245 <set set_operator="UNION">
22246 <object_reference>oval:org.open-scap.f14:obj:20047</object_reference>
22247 <filter>oval:org.open-scap.f14:ste:20051</filter>
22248 </set>
22249 </unix-def:file_object>
22250 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200511" version="1">
22251 <ind-def:path>/etc</ind-def:path>
22252 <ind-def:filename>group</ind-def:filename>
22253 <ind-def:pattern operation="pattern match">^[^:]+:[^:]*:([[:digit:]]+):[^:]*</ind-def:pattern>
22254 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22255 </ind-def:textfilecontent54_object>
22256 <unix-def:file_object comment="world writable directories with uid not less than 500" id="oval:org.open-scap.f14:obj:20052" version="1">
22257 <set set_operator="UNION">
22258 <object_reference>oval:org.open-scap.f14:obj:20046</object_reference>
22259 <filter>oval:org.open-scap.f14:ste:20052</filter>
22260 </set>
22261 </unix-def:file_object>
22262 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20053" version="1">
22263 <ind-def:path>/etc/rc.d/init.d</ind-def:path>
22264 <ind-def:filename>functions</ind-def:filename>
22265 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:digit:]]+).*</ind-def:pattern>
22266 <ind-def:instance datatype="int">1</ind-def:instance>
22267 </ind-def:textfilecontent54_object>
22268 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20055" version="1">
22269 <ind-def:path>/etc/security</ind-def:path>
22270 <ind-def:filename>limits.conf</ind-def:filename>
22271 <ind-def:pattern operation="pattern match">^[[:space:]]*\*[[:space:]]+hard[[:space:]]+core[[:space:]]+([[:digit:]]+)</ind-def:pattern>
22272 <ind-def:instance datatype="int">1</ind-def:instance>
22273 </ind-def:textfilecontent54_object>
22274 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20056" version="1">
22275 <ind-def:path>/proc/sys/fs</ind-def:path>
22276 <ind-def:filename>suid_dumpable</ind-def:filename>
22277 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
22278 <ind-def:instance datatype="int">1</ind-def:instance>
22279 </ind-def:textfilecontent54_object>
22280 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20058" version="1">
22281 <ind-def:path>/proc/sys/kernel</ind-def:path>
22282 <ind-def:filename>randomize_va_space</ind-def:filename>
22283 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
22284 <ind-def:instance datatype="int">1</ind-def:instance>
22285 </ind-def:textfilecontent54_object>
22286 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20057" version="1">
22287 <ind-def:path>/proc/sys/kernel</ind-def:path>
22288 <ind-def:filename>exec-shield</ind-def:filename>
22289 <ind-def:pattern operation="pattern match">^(.*)$</ind-def:pattern>
22290 <ind-def:instance datatype="int">1</ind-def:instance>
22291 </ind-def:textfilecontent54_object>
22292 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20061" version="1">
22293 <ind-def:path>/etc</ind-def:path>
22294 <ind-def:filename>securetty</ind-def:filename>
22295 <ind-def:pattern operation="pattern match">^[[:space:]]*tty[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
22296 <ind-def:instance datatype="int">1</ind-def:instance>
22297 </ind-def:textfilecontent54_object>
22298 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20062" version="1">
22299 <ind-def:path>/etc</ind-def:path>
22300 <ind-def:filename>securetty</ind-def:filename>
22301 <ind-def:pattern operation="pattern match">^[[:space:]]*vc\/[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
22302 <ind-def:instance datatype="int">1</ind-def:instance>
22303 </ind-def:textfilecontent54_object>
22304 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20063" version="1">
22305 <ind-def:path>/etc</ind-def:path>
22306 <ind-def:filename>securetty</ind-def:filename>
22307 <ind-def:pattern operation="pattern match">^[[:space:]]*console[[:space:]]*(#.*)?$</ind-def:pattern>
22308 <ind-def:instance datatype="int">1</ind-def:instance>
22309 </ind-def:textfilecontent54_object>
22310 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20064" version="1">
22311 <ind-def:path>/etc</ind-def:path>
22312 <ind-def:filename>securetty</ind-def:filename>
22313 <ind-def:pattern operation="pattern match">^[[:space:]]*ttyS[0-9]+[[:space:]]*(#.*)?$</ind-def:pattern>
22314 <ind-def:instance datatype="int">1</ind-def:instance>
22315 </ind-def:textfilecontent54_object>
22316 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20065" version="1">
22317 <ind-def:path>/etc</ind-def:path>
22318 <ind-def:filename>group</ind-def:filename>
22319 <ind-def:pattern operation="pattern match">^[[:space:]]*wheel.*$</ind-def:pattern>
22320 <ind-def:instance datatype="int">1</ind-def:instance>
22321 </ind-def:textfilecontent54_object>
22322 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20066" version="1">
22323 <ind-def:path>/etc/pam.d</ind-def:path>
22324 <ind-def:filename>su</ind-def:filename>
22325 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_wheel\.so[[:space:]]+use_uid([[[:space:]]#].*)?$</ind-def:pattern>
22326 <ind-def:instance datatype="int">1</ind-def:instance>
22327 </ind-def:textfilecontent54_object>
22328 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20067" version="1">
22329 <ind-def:path>/etc</ind-def:path>
22330 <ind-def:filename>sudoers</ind-def:filename>
22331 <ind-def:pattern operation="pattern match">^[[:space:]]*%wheel[[:space:]]+ALL=\(ALL\)[[:space:]]+ALL</ind-def:pattern>
22332 <ind-def:instance datatype="int">1</ind-def:instance>
22333 </ind-def:textfilecontent54_object>
22334 <unix-def:password_object id="oval:org.open-scap.f14:obj:20068" version="1">
22335 <unix-def:username operation="not equal">root</unix-def:username>
22336 </unix-def:password_object>
22337 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20069" version="1">
22338 <ind-def:path>/etc</ind-def:path>
22339 <ind-def:filename>shadow</ind-def:filename>
22340 <ind-def:pattern operation="pattern match">^[^:]*::</ind-def:pattern>
22341 <ind-def:instance datatype="int">1</ind-def:instance>
22342 </ind-def:textfilecontent54_object>
22343 <unix-def:password_object id="oval:org.open-scap.f14:obj:200695" version="1">
22344 <unix-def:username operation="pattern match">.*</unix-def:username>
22345 </unix-def:password_object>
22346 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20070" version="1">
22347 <ind-def:path>/etc</ind-def:path>
22348 <ind-def:filename>passwd</ind-def:filename>
22349 <ind-def:pattern operation="pattern match">^([^:]+):[^:]*:0:.*</ind-def:pattern>
22350 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22351 </ind-def:textfilecontent54_object>
22352 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20071" version="1">
22353 <ind-def:path>/etc</ind-def:path>
22354 <ind-def:filename>login.defs</ind-def:filename>
22355 <ind-def:pattern operation="pattern match">^PASS_MIN_LEN[[:space:]]*(.*)</ind-def:pattern>
22356 <ind-def:instance datatype="int">1</ind-def:instance>
22357 </ind-def:textfilecontent54_object>
22358 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20072" version="1">
22359 <ind-def:path>/etc</ind-def:path>
22360 <ind-def:filename>login.defs</ind-def:filename>
22361 <ind-def:pattern operation="pattern match">^PASS_MIN_DAYS[[:space:]]*(.*)</ind-def:pattern>
22362 <ind-def:instance datatype="int">1</ind-def:instance>
22363 </ind-def:textfilecontent54_object>
22364 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20073" version="1">
22365 <ind-def:path>/etc</ind-def:path>
22366 <ind-def:filename>login.defs</ind-def:filename>
22367 <ind-def:pattern operation="pattern match">^PASS_MAX_DAYS[[:space:]]*(.*)</ind-def:pattern>
22368 <ind-def:instance datatype="int">1</ind-def:instance>
22369 </ind-def:textfilecontent54_object>
22370 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20074" version="1">
22371 <ind-def:path>/etc</ind-def:path>
22372 <ind-def:filename>login.defs</ind-def:filename>
22373 <ind-def:pattern operation="pattern match">^PASS_WARN_AGE[[:space:]]*(.*)</ind-def:pattern>
22374 <ind-def:instance datatype="int">1</ind-def:instance>
22375 </ind-def:textfilecontent54_object>
22376 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20075" version="1">
22377 <ind-def:path>/etc</ind-def:path>
22378 <ind-def:filename>passwd</ind-def:filename>
22379 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
22380 <ind-def:instance datatype="int">1</ind-def:instance>
22381 </ind-def:textfilecontent54_object>
22382 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20076" version="1">
22383 <ind-def:path>/etc</ind-def:path>
22384 <ind-def:filename>group</ind-def:filename>
22385 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
22386 <ind-def:instance datatype="int">1</ind-def:instance>
22387 </ind-def:textfilecontent54_object>
22388 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20077" version="1">
22389 <ind-def:path>/etc</ind-def:path>
22390 <ind-def:filename>passwd</ind-def:filename>
22391 <ind-def:pattern operation="pattern match">^\+:</ind-def:pattern>
22392 <ind-def:instance datatype="int">1</ind-def:instance>
22393 </ind-def:textfilecontent54_object>
22394 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200781" version="1">
22395 <ind-def:path>/etc/pam.d</ind-def:path>
22396 <ind-def:filename>system-auth</ind-def:filename>
22397 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*retry=([[:digit:]]+)</ind-def:pattern>
22398 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22399 </ind-def:textfilecontent54_object>
22400 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200782" version="1">
22401 <ind-def:path>/etc/pam.d</ind-def:path>
22402 <ind-def:filename>system-auth</ind-def:filename>
22403 <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>
22404 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22405 </ind-def:textfilecontent54_object>
22406 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200783" version="1">
22407 <ind-def:path>/etc/pam.d</ind-def:path>
22408 <ind-def:filename>system-auth</ind-def:filename>
22409 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*dcredit=([-]?[[:digit:]]+)</ind-def:pattern>
22410 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22411 </ind-def:textfilecontent54_object>
22412 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200784" version="1">
22413 <ind-def:path>/etc/pam.d</ind-def:path>
22414 <ind-def:filename>system-auth</ind-def:filename>
22415 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*ucredit=([-]?[[:digit:]]+)</ind-def:pattern>
22416 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22417 </ind-def:textfilecontent54_object>
22418 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200785" version="1">
22419 <ind-def:path>/etc/pam.d</ind-def:path>
22420 <ind-def:filename>system-auth</ind-def:filename>
22421 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*ocredit=([-]?[[:digit:]]+)</ind-def:pattern>
22422 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22423 </ind-def:textfilecontent54_object>
22424 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200786" version="1">
22425 <ind-def:path>/etc/pam.d</ind-def:path>
22426 <ind-def:filename>system-auth</ind-def:filename>
22427 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*lcredit=([-]?[[:digit:]]+)</ind-def:pattern>
22428 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22429 </ind-def:textfilecontent54_object>
22430 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200787" version="1">
22431 <ind-def:path>/etc/pam.d</ind-def:path>
22432 <ind-def:filename>system-auth</ind-def:filename>
22433 <ind-def:pattern operation="pattern match">^[[:space:]]*password[[:space:]]+required[[:space:]]+pam_cracklib\.so[[:space:]]+try_first_pass[[:space:]]+.*difok=([[:digit:]]+)</ind-def:pattern>
22434 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22435 </ind-def:textfilecontent54_object>
22436 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200800" version="1">
22437 <ind-def:var_ref>oval:org.open-scap.f14:var:200803</ind-def:var_ref>
22438 </ind-def:variable_object>
22439 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008011" version="1">
22440 <ind-def:path>/etc/pam.d</ind-def:path>
22441 <ind-def:filename>system-auth</ind-def:filename>
22442 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*deny=([[:digit:]]+)</ind-def:pattern>
22443 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22444 </ind-def:textfilecontent54_object>
22445 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008012" version="1">
22446 <ind-def:path>/etc/pam.d</ind-def:path>
22447 <ind-def:filename>system-auth</ind-def:filename>
22448 <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>
22449 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22450 </ind-def:textfilecontent54_object>
22451 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2008013" version="1">
22452 <ind-def:path>/etc/pam.d</ind-def:path>
22453 <ind-def:filename>system-auth</ind-def:filename>
22454 <ind-def:pattern operation="pattern match">^[[:space:]]*auth[[:space:]]+required[[:space:]]+pam_tally2\.so[[:space:]]+onerr\=fail[[:space:]]+.*unlock_time=([[:digit:]]+)</ind-def:pattern>
22455 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22456 </ind-def:textfilecontent54_object>
22457 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200803" version="1">
22458 <ind-def:path>/etc/pam.d</ind-def:path>
22459 <ind-def:filename>system-auth</ind-def:filename>
22460 <ind-def:pattern operation="pattern match">^[[:space:]]*account[[:space:]]+required[[:space:]]+pam_tally2\.so$</ind-def:pattern>
22461 <ind-def:instance datatype="int" operation="equals">1</ind-def:instance>
22462 </ind-def:textfilecontent54_object>
22463 <unix-def:file_object comment="/usr/sbin/userhelper" id="oval:org.open-scap.f14:obj:20081" version="1">
22464 <unix-def:path>/usr/sbin</unix-def:path>
22465 <unix-def:filename>userhelper</unix-def:filename>
22466 </unix-def:file_object>
22467 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200831" version="1">
22468 <ind-def:var_ref>oval:org.open-scap.f14:var:20083</ind-def:var_ref>
22469 </ind-def:variable_object>
22470 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200832" version="1">
22471 <ind-def:path>/etc</ind-def:path>
22472 <ind-def:filename>login.defs</ind-def:filename>
22473 <ind-def:pattern operation="pattern match">^MD5_CRYPT_ENAB[[:space:]]+(yes|no)</ind-def:pattern>
22474 <ind-def:instance datatype="int">1</ind-def:instance>
22475 </ind-def:textfilecontent54_object>
22476 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200833" version="1">
22477 <ind-def:path>/etc</ind-def:path>
22478 <ind-def:filename>login.defs</ind-def:filename>
22479 <ind-def:pattern operation="pattern match">^ENCRYPT_METHOD[[:space:]]+(MD5|SHA256|SHA512)</ind-def:pattern>
22480 <ind-def:instance datatype="int">1</ind-def:instance>
22481 </ind-def:textfilecontent54_object>
22482 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200834" version="1">
22483 <ind-def:path>/etc/pam.d</ind-def:path>
22484 <ind-def:filename>system-auth</ind-def:filename>
22485 <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>
22486 <ind-def:instance datatype="int">1</ind-def:instance>
22487 </ind-def:textfilecontent54_object>
22488 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200835" version="1">
22489 <ind-def:path>/etc</ind-def:path>
22490 <ind-def:filename>libuser.conf</ind-def:filename>
22491 <ind-def:pattern operation="pattern match">^crypt_style[[:space:]]+\=[[:space:]]+(sha256|sha512)</ind-def:pattern>
22492 <ind-def:instance datatype="int">1</ind-def:instance>
22493 </ind-def:textfilecontent54_object>
22494 <ind-def:variable_object id="oval:org.open-scap.f14:obj:200841" version="1">
22495 <ind-def:var_ref>oval:org.open-scap.f14:var:20084</ind-def:var_ref>
22496 </ind-def:variable_object>
22497 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:200842" version="1">
22498 <ind-def:path>/etc/pam.d</ind-def:path>
22499 <ind-def:filename>system-auth</ind-def:filename>
22500 <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>
22501 <ind-def:instance datatype="int">1</ind-def:instance>
22502 </ind-def:textfilecontent54_object>
22503 <ind-def:environmentvariable_object id="oval:org.open-scap.f14:obj:20085" version="1">
22504 <ind-def:name>PATH</ind-def:name>
22505 </ind-def:environmentvariable_object>
22506 <unix-def:file_object comment="root's PATH filtered" id="oval:org.open-scap.f14:obj:2008551" version="1">
22507 <set set_operator="UNION">
22508 <object_reference>oval:org.open-scap.f14:obj:200855</object_reference>
22509 <filter>oval:org.open-scap.f14:ste:2008551</filter>
22510 </set>
22511 </unix-def:file_object>
22512 <unix-def:file_object comment="root's PATH" id="oval:org.open-scap.f14:obj:200855" version="1">
22513 <unix-def:path var_check="at least one" var_ref="oval:org.open-scap.f14:var:200855"/>
22514 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22515 </unix-def:file_object>
22516 <unix-def:file_object comment="/home/*" id="oval:org.open-scap.f14:obj:20086" version="1">
22517 <unix-def:behaviors max_depth="1" recurse="directories" recurse_direction="down"/>
22518 <unix-def:path>/home</unix-def:path>
22519 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22520 </unix-def:file_object>
22521 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20087" version="1">
22522 <ind-def:path>/etc</ind-def:path>
22523 <ind-def:filename>bashrc</ind-def:filename>
22524 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
22525 <ind-def:instance datatype="int">1</ind-def:instance>
22526 </ind-def:textfilecontent54_object>
22527 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20088" version="1">
22528 <ind-def:path>/etc</ind-def:path>
22529 <ind-def:filename>csh.cshrc</ind-def:filename>
22530 <ind-def:pattern operation="pattern match">^[[:space:]]*umask[[:space:]]+([[:alnum:]]*)</ind-def:pattern>
22531 <ind-def:instance datatype="int">1</ind-def:instance>
22532 </ind-def:textfilecontent54_object>
22533 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20092" version="1">
22534 <unix-def:path>/boot/grub</unix-def:path>
22535 <unix-def:filename>grub.conf</unix-def:filename>
22536 </unix-def:file_object>
22537 <unix-def:file_object comment="/boot/grub/grub.conf" id="oval:org.open-scap.f14:obj:20094" version="1">
22538 <unix-def:path>/boot/grub</unix-def:path>
22539 <unix-def:filename>grub.conf</unix-def:filename>
22540 </unix-def:file_object>
22541 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20095" version="1">
22542 <ind-def:path>/boot/grub</ind-def:path>
22543 <ind-def:filename>grub.conf</ind-def:filename>
22544 <ind-def:pattern operation="pattern match">password[[:space:]]+--md5[[:space:]]+.*</ind-def:pattern>
22545 <ind-def:instance datatype="int">1</ind-def:instance>
22546 </ind-def:textfilecontent54_object>
22547 <unix-def:file_object comment="/etc/grub.conf" id="oval:org.open-scap.f14:obj:20093" version="1">
22548 <unix-def:path>/etc</unix-def:path>
22549 <unix-def:filename>grub.conf</unix-def:filename>
22550 </unix-def:file_object>
22551 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:73" version="1">
22552 <ind-def:path>/etc</ind-def:path>
22553 <ind-def:filename>inittab</ind-def:filename>
22554 <ind-def:pattern operation="pattern match">~~:S:wait:/sbin/sulogin</ind-def:pattern>
22555 <ind-def:instance datatype="int">1</ind-def:instance>
22556 </ind-def:textfilecontent54_object>
22557 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20096" version="1">
22558 <ind-def:path>/etc/sysconfig</ind-def:path>
22559 <ind-def:filename>init</ind-def:filename>
22560 <ind-def:pattern operation="pattern match">PROMPT[\s]*=[\s]*([^#]*)</ind-def:pattern>
22561 <ind-def:instance datatype="int">1</ind-def:instance>
22562 </ind-def:textfilecontent54_object>
22563 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20098" version="1">
22564 <ind-def:path>/etc/profile.d</ind-def:path>
22565 <ind-def:filename>autologout.csh</ind-def:filename>
22566 <ind-def:pattern operation="pattern match">^[\s]*set[\s]+-r[\s]+autologout[\s]+([^#]*)</ind-def:pattern>
22567 <ind-def:instance datatype="int">1</ind-def:instance>
22568 </ind-def:textfilecontent54_object>
22569 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20100" version="1">
22570 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22571 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22572 <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>
22573 </ind-def:xmlfilecontent_object>
22574 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201005" version="1">
22575 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22576 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22577 <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>
22578 </ind-def:xmlfilecontent_object>
22579 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201006" version="1">
22580 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22581 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22582 <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>
22583 </ind-def:xmlfilecontent_object>
22584 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:201007" version="1">
22585 <ind-def:path>/etc/gconf/gconf.xml.defaults</ind-def:path>
22586 <ind-def:filename>%gconf-tree.xml</ind-def:filename>
22587 <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>
22588 </ind-def:xmlfilecontent_object>
22589 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20101" version="1">
22590 <lin-def:name>vlock</lin-def:name>
22591 </lin-def:rpminfo_object>
22592 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20102" version="1">
22593 <ind-def:path>/etc</ind-def:path>
22594 <ind-def:filename>issue</ind-def:filename>
22595 <ind-def:pattern operation="pattern match">(.*)</ind-def:pattern>
22596 <ind-def:instance datatype="int">1</ind-def:instance>
22597 </ind-def:textfilecontent54_object>
22598 <ind-def:xmlfilecontent_object id="oval:org.open-scap.f14:obj:20103" version="1">
22599 <ind-def:path>/usr/share/gdm/themes/RHEL</ind-def:path>
22600 <ind-def:filename>RHEL.xml</ind-def:filename>
22601 <ind-def:xpath>/greeter/item[@id='banner']/box[1]/item[@id='DOD_Banner']/text[1]</ind-def:xpath>
22602 </ind-def:xmlfilecontent_object>
22603 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20104" version="1">
22604 <ind-def:path>/etc</ind-def:path>
22605 <ind-def:filename>grub.conf</ind-def:filename>
22606 <ind-def:pattern operation="pattern match">[[:space:]]selinux=([^[:space:]]*)</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:20105" version="1">
22610 <ind-def:path>/etc</ind-def:path>
22611 <ind-def:filename>grub.conf</ind-def:filename>
22612 <ind-def:pattern operation="pattern match">[[:space:]]enforcing=([^[:space:]]*)</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:20106" version="1">
22616 <ind-def:path>/etc/selinux</ind-def:path>
22617 <ind-def:filename>config</ind-def:filename>
22618 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUX[[:space:]]*=[[:space:]]*([[:alnum:]]*)</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:20107" version="1">
22622 <ind-def:path>/etc/selinux</ind-def:path>
22623 <ind-def:filename>config</ind-def:filename>
22624 <ind-def:pattern operation="pattern match">^[[:space:]]*SELINUXTYPE[[:space:]]*=[[:space:]]*([[:alnum:]]*)</ind-def:pattern>
22625 <ind-def:instance datatype="int">1</ind-def:instance>
22626 </ind-def:textfilecontent54_object>
22627 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20109" version="1">
22628 <unix-def:service_name>setroubleshoot</unix-def:service_name>
22629 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22630 </unix-def:runlevel_object>
22631 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20108" version="1">
22632 <lin-def:name>setroubleshoot</lin-def:name>
22633 </lin-def:rpminfo_object>
22634 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20110" version="1">
22635 <unix-def:service_name>mcstrans</unix-def:service_name>
22636 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22637 </unix-def:runlevel_object>
22638 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20111" version="1">
22639 <unix-def:service_name>restorecond</unix-def:service_name>
22640 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22641 </unix-def:runlevel_object>
22642 <!-- EDIT -->
22643 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201120" version="1">
22644 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22645 <ind-def:filename>send_redirects</ind-def:filename>
22646 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22647 <ind-def:instance datatype="int">1</ind-def:instance>
22648 </ind-def:textfilecontent54_object>
22649 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201121" version="1">
22650 <ind-def:path>/etc</ind-def:path>
22651 <ind-def:filename>sysctl.conf</ind-def:filename>
22652 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.send_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22653 <ind-def:instance datatype="int">1</ind-def:instance>
22654 </ind-def:textfilecontent54_object>
22655 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201130" version="1">
22656 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22657 <ind-def:filename>send_redirects</ind-def:filename>
22658 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22659 <ind-def:instance datatype="int">1</ind-def:instance>
22660 </ind-def:textfilecontent54_object>
22661 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201131" version="1">
22662 <ind-def:path>/etc</ind-def:path>
22663 <ind-def:filename>sysctl.conf</ind-def:filename>
22664 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.send_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22665 <ind-def:instance datatype="int">1</ind-def:instance>
22666 </ind-def:textfilecontent54_object>
22667 <!-- ^^^ ok ^^^ -->
22668 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201140" version="1">
22669 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22670 <ind-def:filename>ip_forward</ind-def:filename>
22671 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22672 <ind-def:instance datatype="int">1</ind-def:instance>
22673 </ind-def:textfilecontent54_object>
22674 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201141" version="1">
22675 <ind-def:path>/etc</ind-def:path>
22676 <ind-def:filename>sysctl.conf</ind-def:filename>
22677 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.ip_forward[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22678 <ind-def:instance datatype="int">1</ind-def:instance>
22679 </ind-def:textfilecontent54_object>
22680 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201150" version="1">
22681 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22682 <ind-def:filename>accept_source_route</ind-def:filename>
22683 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22684 <ind-def:instance datatype="int">1</ind-def:instance>
22685 </ind-def:textfilecontent54_object>
22686 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201151" version="1">
22687 <ind-def:path>/etc</ind-def:path>
22688 <ind-def:filename>sysctl.conf</ind-def:filename>
22689 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.accept_source_route[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22690 <ind-def:instance datatype="int">1</ind-def:instance>
22691 </ind-def:textfilecontent54_object>
22692 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201160" version="1">
22693 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22694 <ind-def:filename>accept_redirects</ind-def:filename>
22695 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22696 <ind-def:instance datatype="int">1</ind-def:instance>
22697 </ind-def:textfilecontent54_object>
22698 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201161" version="1">
22699 <ind-def:path>/etc</ind-def:path>
22700 <ind-def:filename>sysctl.conf</ind-def:filename>
22701 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.accept_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22702 <ind-def:instance datatype="int">1</ind-def:instance>
22703 </ind-def:textfilecontent54_object>
22704 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201170" version="1">
22705 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22706 <ind-def:filename>secure_redirects</ind-def:filename>
22707 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22708 <ind-def:instance datatype="int">1</ind-def:instance>
22709 </ind-def:textfilecontent54_object>
22710 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201171" version="1">
22711 <ind-def:path>/etc</ind-def:path>
22712 <ind-def:filename>sysctl.conf</ind-def:filename>
22713 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.secure_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22714 <ind-def:instance datatype="int">1</ind-def:instance>
22715 </ind-def:textfilecontent54_object>
22716 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201180" version="1">
22717 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22718 <ind-def:filename>log_martians</ind-def:filename>
22719 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22720 <ind-def:instance datatype="int">1</ind-def:instance>
22721 </ind-def:textfilecontent54_object>
22722 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201181" version="1">
22723 <ind-def:path>/etc</ind-def:path>
22724 <ind-def:filename>sysctl.conf</ind-def:filename>
22725 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.log_martians[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22726 <ind-def:instance datatype="int">1</ind-def:instance>
22727 </ind-def:textfilecontent54_object>
22728 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201190" version="1">
22729 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22730 <ind-def:filename>accept_source_route</ind-def:filename>
22731 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22732 <ind-def:instance datatype="int">1</ind-def:instance>
22733 </ind-def:textfilecontent54_object>
22734 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201191" version="1">
22735 <ind-def:path>/etc</ind-def:path>
22736 <ind-def:filename>sysctl.conf</ind-def:filename>
22737 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.accept_source_route[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22738 <ind-def:instance datatype="int">1</ind-def:instance>
22739 </ind-def:textfilecontent54_object>
22740 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201200" version="1">
22741 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22742 <ind-def:filename>accept_redirects</ind-def:filename>
22743 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22744 <ind-def:instance datatype="int">1</ind-def:instance>
22745 </ind-def:textfilecontent54_object>
22746 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201201" version="1">
22747 <ind-def:path>/etc</ind-def:path>
22748 <ind-def:filename>sysctl.conf</ind-def:filename>
22749 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.accept_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22750 <ind-def:instance datatype="int">1</ind-def:instance>
22751 </ind-def:textfilecontent54_object>
22752 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201210" version="1">
22753 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22754 <ind-def:filename>secure_redirects</ind-def:filename>
22755 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22756 <ind-def:instance datatype="int">1</ind-def:instance>
22757 </ind-def:textfilecontent54_object>
22758 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201211" version="1">
22759 <ind-def:path>/etc</ind-def:path>
22760 <ind-def:filename>sysctl.conf</ind-def:filename>
22761 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.secure_redirects[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22762 <ind-def:instance datatype="int">1</ind-def:instance>
22763 </ind-def:textfilecontent54_object>
22764 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201220" version="1">
22765 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22766 <ind-def:filename>icmp_echo_ignore_broadcasts</ind-def:filename>
22767 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22768 <ind-def:instance datatype="int">1</ind-def:instance>
22769 </ind-def:textfilecontent54_object>
22770 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201221" version="1">
22771 <ind-def:path>/etc</ind-def:path>
22772 <ind-def:filename>sysctl.conf</ind-def:filename>
22773 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.icmp_echo_ignore_broadcasts[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22774 <ind-def:instance datatype="int">1</ind-def:instance>
22775 </ind-def:textfilecontent54_object>
22776 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201230" version="1">
22777 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22778 <ind-def:filename>icmp_ignore_bogus_error_responses</ind-def:filename>
22779 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22780 <ind-def:instance datatype="int">1</ind-def:instance>
22781 </ind-def:textfilecontent54_object>
22782 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201231" version="1">
22783 <ind-def:path>/etc</ind-def:path>
22784 <ind-def:filename>sysctl.conf</ind-def:filename>
22785 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.icmp_ignore_bogus_error_responses[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22786 <ind-def:instance datatype="int">1</ind-def:instance>
22787 </ind-def:textfilecontent54_object>
22788 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201240" version="1">
22789 <ind-def:path>/proc/sys/net/ipv4</ind-def:path>
22790 <ind-def:filename>tcp_syncookies</ind-def:filename>
22791 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22792 <ind-def:instance datatype="int">1</ind-def:instance>
22793 </ind-def:textfilecontent54_object>
22794 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201241" version="1">
22795 <ind-def:path>/etc</ind-def:path>
22796 <ind-def:filename>sysctl.conf</ind-def:filename>
22797 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.tcp_syncookies[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22798 <ind-def:instance datatype="int">1</ind-def:instance>
22799 </ind-def:textfilecontent54_object>
22800 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201250" version="1">
22801 <ind-def:path>/proc/sys/net/ipv4/conf/all</ind-def:path>
22802 <ind-def:filename>rp_filter</ind-def:filename>
22803 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22804 <ind-def:instance datatype="int">1</ind-def:instance>
22805 </ind-def:textfilecontent54_object>
22806 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201251" version="1">
22807 <ind-def:path>/etc</ind-def:path>
22808 <ind-def:filename>sysctl.conf</ind-def:filename>
22809 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.all\.rp_filter[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22810 <ind-def:instance datatype="int">1</ind-def:instance>
22811 </ind-def:textfilecontent54_object>
22812 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201260" version="1">
22813 <ind-def:path>/proc/sys/net/ipv4/conf/default</ind-def:path>
22814 <ind-def:filename>rp_filter</ind-def:filename>
22815 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22816 <ind-def:instance datatype="int">1</ind-def:instance>
22817 </ind-def:textfilecontent54_object>
22818 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201261" version="1">
22819 <ind-def:path>/etc</ind-def:path>
22820 <ind-def:filename>sysctl.conf</ind-def:filename>
22821 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv4\.conf\.default\.rp_filter[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22822 <ind-def:instance datatype="int">1</ind-def:instance>
22823 </ind-def:textfilecontent54_object>
22824 <!-- ^^^ ok ^^^ -->
22825 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20128" version="1">
22826 <ind-def:path>/proc/net</ind-def:path>
22827 <ind-def:filename>wireless</ind-def:filename>
22828 <ind-def:pattern operation="pattern match">^[[:space:]]*([^[:space:]]*):.*</ind-def:pattern>
22829 <ind-def:instance datatype="int" operation="greater than or equal">1</ind-def:instance>
22830 </ind-def:textfilecontent54_object>
22831 <unix-def:file_object comment="/lib/modules/*/kernel/drivers/net/wireless" id="oval:org.open-scap.f14:obj:20129" version="1">
22832 <unix-def:path operation="pattern match">/lib/modules/.*/kernel/drivers/net/wireless$</unix-def:path>
22833 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
22834 </unix-def:file_object>
22835 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20130" version="1">
22836 <ind-def:path>/etc/modprobe.d</ind-def:path>
22837 <ind-def:filename>dist.conf</ind-def:filename>
22838 <ind-def:pattern operation="pattern match">^[[:space:]]*alias[[:space:]]+net-pf-10[[:space:]]+off[[:space:]]*(#.*)?$</ind-def:pattern>
22839 <ind-def:instance datatype="int">1</ind-def:instance>
22840 </ind-def:textfilecontent54_object>
22841 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20132" version="1">
22842 <ind-def:path>/etc/sysconfig</ind-def:path>
22843 <ind-def:filename>network</ind-def:filename>
22844 <ind-def:pattern operation="pattern match">^[[:space:]]*NETWORKING_IPV6[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22845 <ind-def:instance datatype="int">1</ind-def:instance>
22846 </ind-def:textfilecontent54_object>
22847 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20133" version="1">
22848 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
22849 <ind-def:filename operation="pattern match">ifcfg-.*</ind-def:filename>
22850 <ind-def:pattern operation="pattern match">^[[:space:]]*NETWORKING_IPV6[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22851 <ind-def:instance datatype="int">1</ind-def:instance>
22852 </ind-def:textfilecontent54_object>
22853 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20131" version="1">
22854 <ind-def:path>/etc/sysconfig</ind-def:path>
22855 <ind-def:filename>network</ind-def:filename>
22856 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22857 <ind-def:instance datatype="int">1</ind-def:instance>
22858 </ind-def:textfilecontent54_object>
22859 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20134" version="1">
22860 <ind-def:path>/etc/sysconfig</ind-def:path>
22861 <ind-def:filename>network</ind-def:filename>
22862 <ind-def:pattern operation="pattern match">^[[:space:]]*IPV6INIT[[:space:]]*=[[:space:]]*([^#]*).*$</ind-def:pattern>
22863 <ind-def:instance datatype="int">1</ind-def:instance>
22864 </ind-def:textfilecontent54_object>
22865 <!-- sysctl -->
22866 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201400" version="1">
22867 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22868 <ind-def:filename>accept_ra_rtr_pref</ind-def:filename>
22869 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22870 <ind-def:instance datatype="int">1</ind-def:instance>
22871 </ind-def:textfilecontent54_object>
22872 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201401" version="1">
22873 <ind-def:path>/etc</ind-def:path>
22874 <ind-def:filename>sysctl.conf</ind-def:filename>
22875 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_rtr_pref[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22876 <ind-def:instance datatype="int">1</ind-def:instance>
22877 </ind-def:textfilecontent54_object>
22878 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201450" version="1">
22879 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22880 <ind-def:filename>max_addresses</ind-def:filename>
22881 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22882 <ind-def:instance datatype="int">1</ind-def:instance>
22883 </ind-def:textfilecontent54_object>
22884 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201451" version="1">
22885 <ind-def:path>/etc</ind-def:path>
22886 <ind-def:filename>sysctl.conf</ind-def:filename>
22887 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.max_addresses[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22888 <ind-def:instance datatype="int">1</ind-def:instance>
22889 </ind-def:textfilecontent54_object>
22890 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201390" version="1">
22891 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22892 <ind-def:filename>router_solicitations</ind-def:filename>
22893 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22894 <ind-def:instance datatype="int">1</ind-def:instance>
22895 </ind-def:textfilecontent54_object>
22896 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201391" version="1">
22897 <ind-def:path>/etc</ind-def:path>
22898 <ind-def:filename>sysctl.conf</ind-def:filename>
22899 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.router_solicitations[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22900 <ind-def:instance datatype="int">1</ind-def:instance>
22901 </ind-def:textfilecontent54_object>
22902 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201440" version="1">
22903 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22904 <ind-def:filename>dad_transmits</ind-def:filename>
22905 <ind-def:pattern operation="pattern match">^([0-9]+)$</ind-def:pattern>
22906 <ind-def:instance datatype="int">1</ind-def:instance>
22907 </ind-def:textfilecontent54_object>
22908 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201441" version="1">
22909 <ind-def:path>/etc</ind-def:path>
22910 <ind-def:filename>sysctl.conf</ind-def:filename>
22911 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.dad_transmits[[:space:]]*=[[:space:]]*([0-9]+)[[:space:]]*$</ind-def:pattern>
22912 <ind-def:instance datatype="int">1</ind-def:instance>
22913 </ind-def:textfilecontent54_object>
22914 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201430" version="1">
22915 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22916 <ind-def:filename>autoconf</ind-def:filename>
22917 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22918 <ind-def:instance datatype="int">1</ind-def:instance>
22919 </ind-def:textfilecontent54_object>
22920 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201431" version="1">
22921 <ind-def:path>/etc</ind-def:path>
22922 <ind-def:filename>sysctl.conf</ind-def:filename>
22923 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.autoconf[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22924 <ind-def:instance datatype="int">1</ind-def:instance>
22925 </ind-def:textfilecontent54_object>
22926 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201410" version="1">
22927 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22928 <ind-def:filename>accept_ra_pinfo</ind-def:filename>
22929 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22930 <ind-def:instance datatype="int">1</ind-def:instance>
22931 </ind-def:textfilecontent54_object>
22932 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201411" version="1">
22933 <ind-def:path>/etc</ind-def:path>
22934 <ind-def:filename>sysctl.conf</ind-def:filename>
22935 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_pinfo[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22936 <ind-def:instance datatype="int">1</ind-def:instance>
22937 </ind-def:textfilecontent54_object>
22938 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201420" version="1">
22939 <ind-def:path>/proc/sys/net/ipv6/conf/default</ind-def:path>
22940 <ind-def:filename>accept_ra_defrtr</ind-def:filename>
22941 <ind-def:pattern operation="pattern match">^([01])$</ind-def:pattern>
22942 <ind-def:instance datatype="int">1</ind-def:instance>
22943 </ind-def:textfilecontent54_object>
22944 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201421" version="1">
22945 <ind-def:path>/etc</ind-def:path>
22946 <ind-def:filename>sysctl.conf</ind-def:filename>
22947 <ind-def:pattern operation="pattern match">^[[:space:]]*net\.ipv6\.conf\.default\.accept_ra_defrtr[[:space:]]*=[[:space:]]*([01])[[:space:]]*$</ind-def:pattern>
22948 <ind-def:instance datatype="int">1</ind-def:instance>
22949 </ind-def:textfilecontent54_object>
22950 <!-- non-sysctl -->
22951 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20146" version="1">
22952 <unix-def:service_name>ip6tables</unix-def:service_name>
22953 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22954 </unix-def:runlevel_object>
22955 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20147" version="1">
22956 <unix-def:service_name>iptables</unix-def:service_name>
22957 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
22958 </unix-def:runlevel_object>
22959 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014741" version="1">
22960 <ind-def:path>/etc/sysconfig</ind-def:path>
22961 <ind-def:filename>iptables</ind-def:filename>
22962 <ind-def:pattern operation="pattern match">^[[:space:]]*:INPUT[:space:]DROP[:space:]\[0:0\]</ind-def:pattern>
22963 <ind-def:instance datatype="int">1</ind-def:instance>
22964 </ind-def:textfilecontent54_object>
22965 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014742" version="1">
22966 <ind-def:path>/etc/sysconfig</ind-def:path>
22967 <ind-def:filename>iptables</ind-def:filename>
22968 <ind-def:pattern operation="pattern match">^[[:space:]]*:INPUT[:space:]ACCEPT[:space:]\[0:0\]</ind-def:pattern>
22969 <ind-def:instance datatype="int">1</ind-def:instance>
22970 </ind-def:textfilecontent54_object>
22971 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014751" version="1">
22972 <ind-def:path>/etc/sysconfig</ind-def:path>
22973 <ind-def:filename>iptables</ind-def:filename>
22974 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]DROP[:space:]\[0:0\]</ind-def:pattern>
22975 <ind-def:instance datatype="int">1</ind-def:instance>
22976 </ind-def:textfilecontent54_object>
22977 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2014752" version="1">
22978 <ind-def:path>/etc/sysconfig</ind-def:path>
22979 <ind-def:filename>iptables</ind-def:filename>
22980 <ind-def:pattern operation="pattern match">^[[:space:]]*:FORWARD[:space:]ACCEPT[:space:]\[0:0\]</ind-def:pattern>
22981 <ind-def:instance datatype="int">1</ind-def:instance>
22982 </ind-def:textfilecontent54_object>
22983 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201476" version="1">
22984 <ind-def:path>/etc/modprobe.d</ind-def:path>
22985 <ind-def:filename>dist.conf</ind-def:filename>
22986 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+DCCP[[:space:]]+/bin/true</ind-def:pattern>
22987 <ind-def:instance datatype="int">1</ind-def:instance>
22988 </ind-def:textfilecontent54_object>
22989 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201477" version="1">
22990 <ind-def:path>/etc/modprobe.d</ind-def:path>
22991 <ind-def:filename>dist.conf</ind-def:filename>
22992 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+SCTP[[:space:]]+/bin/true</ind-def:pattern>
22993 <ind-def:instance datatype="int">1</ind-def:instance>
22994 </ind-def:textfilecontent54_object>
22995 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201478" version="1">
22996 <ind-def:path>/etc/modprobe.d</ind-def:path>
22997 <ind-def:filename>dist.conf</ind-def:filename>
22998 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+RDS[[:space:]]+/bin/true</ind-def:pattern>
22999 <ind-def:instance datatype="int">1</ind-def:instance>
23000 </ind-def:textfilecontent54_object>
23001 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201479" version="1">
23002 <ind-def:path>/etc/modprobe.d</ind-def:path>
23003 <ind-def:filename>dist.conf</ind-def:filename>
23004 <ind-def:pattern operation="pattern match">^[[:space:]]*install[[:space:]]+TIPC[[:space:]]+/bin/true</ind-def:pattern>
23005 <ind-def:instance datatype="int">1</ind-def:instance>
23006 </ind-def:textfilecontent54_object>
23007 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20148" version="1">
23008 <unix-def:service_name>rsyslog</unix-def:service_name>
23009 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23010 </unix-def:runlevel_object>
23011 <ind-def:textfilecontent54_object comment="paths in /etc/syslog.conf" id="oval:org.open-scap.f14:obj:201490" version="1">
23012 <ind-def:path>/etc</ind-def:path>
23013 <ind-def:filename>rsyslog.conf</ind-def:filename>
23014 <ind-def:pattern operation="pattern match">^[^\#][[:space:]]*[^[:space:]]+\.[^[:space:]]+[[:space:]]+[\-]?([^[:space:]]+)</ind-def:pattern>
23015 <ind-def:instance datatype="int">1</ind-def:instance>
23016 </ind-def:textfilecontent54_object>
23017 <unix-def:file_object comment="Mandatory log files" id="oval:org.open-scap.f14:obj:201491" version="1">
23018 <unix-def:behaviors max_depth="4" recurse="directories" recurse_direction="down"/>
23019 <unix-def:path>/var/log</unix-def:path>
23020 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"/>
23021 </unix-def:file_object>
23022 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20152" version="1">
23023 <ind-def:path>/etc</ind-def:path>
23024 <ind-def:filename>rsyslog.conf</ind-def:filename>
23025 <ind-def:pattern operation="pattern match">^[^#]*\*\.\*[[:space:]]+@</ind-def:pattern>
23026 <ind-def:instance datatype="int">1</ind-def:instance>
23027 </ind-def:textfilecontent54_object>
23028 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20153" version="1">
23029 <ind-def:path>/etc/sysconfig</ind-def:path>
23030 <ind-def:filename>rsyslog</ind-def:filename>
23031 <ind-def:pattern operation="pattern match">SYSLOGD_OPTIONS[[:space:]]*=[[:space:]]*.*-r.*</ind-def:pattern>
23032 <ind-def:instance datatype="int">1</ind-def:instance>
23033 </ind-def:textfilecontent54_object>
23034 <!--
23035 <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">
23036 <ind-def:path>/etc/logrotate.d</ind-def:path>
23037 <ind-def:filename>syslog</ind-def:filename>
23038 <ind-def:pattern operation="pattern match" var_check="at least one" var_ref="oval:org.open-scap.f14:var:201490"></ind-def:pattern>
23039 <ind-def:instance datatype="int">1</ind-def:instance>
23040 </ind-def:textfilecontent54_object>
23041 -->
23042 <!-- END -->
23043 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20156" version="1">
23044 <unix-def:service_name>auditd</unix-def:service_name>
23045 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23046 </unix-def:runlevel_object>
23047 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20157" version="1">
23048 <ind-def:path>/etc</ind-def:path>
23049 <ind-def:filename>grub.conf</ind-def:filename>
23050 <ind-def:pattern operation="pattern match">^[[:space:]]*kernel.+[[:space:]]audit=1</ind-def:pattern>
23051 <ind-def:instance datatype="int">1</ind-def:instance>
23052 </ind-def:textfilecontent54_object>
23053 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015750" version="1">
23054 <ind-def:path>/etc/audit</ind-def:path>
23055 <ind-def:filename>audit.rules</ind-def:filename>
23056 <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>
23057 <ind-def:instance datatype="int">1</ind-def:instance>
23058 </ind-def:textfilecontent54_object>
23059 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015751" version="1">
23060 <ind-def:path>/etc/audit</ind-def:path>
23061 <ind-def:filename>audit.rules</ind-def:filename>
23062 <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>
23063 <ind-def:instance datatype="int">1</ind-def:instance>
23064 </ind-def:textfilecontent54_object>
23065 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015752" version="1">
23066 <ind-def:path>/etc/audit</ind-def:path>
23067 <ind-def:filename>audit.rules</ind-def:filename>
23068 <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>
23069 <ind-def:instance datatype="int">1</ind-def:instance>
23070 </ind-def:textfilecontent54_object>
23071 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015753" version="1">
23072 <ind-def:path>/etc/audit</ind-def:path>
23073 <ind-def:filename>audit.rules</ind-def:filename>
23074 <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>
23075 <ind-def:instance datatype="int">1</ind-def:instance>
23076 </ind-def:textfilecontent54_object>
23077 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2015754" version="1">
23078 <ind-def:path>/etc/audit</ind-def:path>
23079 <ind-def:filename>audit.rules</ind-def:filename>
23080 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/localtime[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]time\-change$</ind-def:pattern>
23081 <ind-def:instance datatype="int">1</ind-def:instance>
23082 </ind-def:textfilecontent54_object>
23083 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201580" version="1">
23084 <ind-def:path>/etc/audit</ind-def:path>
23085 <ind-def:filename>audit.rules</ind-def:filename>
23086 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/group[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23087 <ind-def:instance datatype="int">1</ind-def:instance>
23088 </ind-def:textfilecontent54_object>
23089 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201581" version="1">
23090 <ind-def:path>/etc/audit</ind-def:path>
23091 <ind-def:filename>audit.rules</ind-def:filename>
23092 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/passwd[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23093 <ind-def:instance datatype="int">1</ind-def:instance>
23094 </ind-def:textfilecontent54_object>
23095 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201582" version="1">
23096 <ind-def:path>/etc/audit</ind-def:path>
23097 <ind-def:filename>audit.rules</ind-def:filename>
23098 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/gshadow[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23099 <ind-def:instance datatype="int">1</ind-def:instance>
23100 </ind-def:textfilecontent54_object>
23101 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201583" version="1">
23102 <ind-def:path>/etc/audit</ind-def:path>
23103 <ind-def:filename>audit.rules</ind-def:filename>
23104 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/shadow[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23105 <ind-def:instance datatype="int">1</ind-def:instance>
23106 </ind-def:textfilecontent54_object>
23107 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201584" version="1">
23108 <ind-def:path>/etc/audit</ind-def:path>
23109 <ind-def:filename>audit.rules</ind-def:filename>
23110 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/security/opasswd[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]identity$</ind-def:pattern>
23111 <ind-def:instance datatype="int">1</ind-def:instance>
23112 </ind-def:textfilecontent54_object>
23113 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201590" version="1">
23114 <ind-def:path>/etc/audit</ind-def:path>
23115 <ind-def:filename>audit.rules</ind-def:filename>
23116 <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>
23117 <ind-def:instance datatype="int">1</ind-def:instance>
23118 </ind-def:textfilecontent54_object>
23119 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201591" version="1">
23120 <ind-def:path>/etc/audit</ind-def:path>
23121 <ind-def:filename>audit.rules</ind-def:filename>
23122 <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>
23123 <ind-def:instance datatype="int">1</ind-def:instance>
23124 </ind-def:textfilecontent54_object>
23125 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201592" version="1">
23126 <ind-def:path>/etc/audit</ind-def:path>
23127 <ind-def:filename>audit.rules</ind-def:filename>
23128 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/issue[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</ind-def:pattern>
23129 <ind-def:instance datatype="int">1</ind-def:instance>
23130 </ind-def:textfilecontent54_object>
23131 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201593" version="1">
23132 <ind-def:path>/etc/audit</ind-def:path>
23133 <ind-def:filename>audit.rules</ind-def:filename>
23134 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/issue\.net[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</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:201594" version="1">
23138 <ind-def:path>/etc/audit</ind-def:path>
23139 <ind-def:filename>audit.rules</ind-def:filename>
23140 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/hosts[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</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:201595" version="1">
23144 <ind-def:path>/etc/audit</ind-def:path>
23145 <ind-def:filename>audit.rules</ind-def:filename>
23146 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/sysconfig/network[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]system\-locale$</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:20160" version="1">
23150 <ind-def:path>/etc/audit</ind-def:path>
23151 <ind-def:filename>audit.rules</ind-def:filename>
23152 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/selinux/[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]MAC\-policy$</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:201610" version="1">
23156 <ind-def:path>/etc/audit</ind-def:path>
23157 <ind-def:filename>audit.rules</ind-def:filename>
23158 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/faillog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</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:201611" version="1">
23162 <ind-def:path>/etc/audit</ind-def:path>
23163 <ind-def:filename>audit.rules</ind-def:filename>
23164 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/lastlog[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]logins$</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:201620" version="1">
23168 <ind-def:path>/etc/audit</ind-def:path>
23169 <ind-def:filename>audit.rules</ind-def:filename>
23170 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/run/utmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</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:201621" version="1">
23174 <ind-def:path>/etc/audit</ind-def:path>
23175 <ind-def:filename>audit.rules</ind-def:filename>
23176 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/btmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
23177 <ind-def:instance datatype="int">1</ind-def:instance>
23178 </ind-def:textfilecontent54_object>
23179 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201622" version="1">
23180 <ind-def:path>/etc/audit</ind-def:path>
23181 <ind-def:filename>audit.rules</ind-def:filename>
23182 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/var/log/wtmp[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]session$</ind-def:pattern>
23183 <ind-def:instance datatype="int">1</ind-def:instance>
23184 </ind-def:textfilecontent54_object>
23185 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201630" version="1">
23186 <ind-def:path>/etc/audit</ind-def:path>
23187 <ind-def:filename>audit.rules</ind-def:filename>
23188 <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>
23189 <ind-def:instance datatype="int">1</ind-def:instance>
23190 </ind-def:textfilecontent54_object>
23191 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201631" version="1">
23192 <ind-def:path>/etc/audit</ind-def:path>
23193 <ind-def:filename>audit.rules</ind-def:filename>
23194 <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>
23195 <ind-def:instance datatype="int">1</ind-def:instance>
23196 </ind-def:textfilecontent54_object>
23197 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201632" version="1">
23198 <ind-def:path>/etc/audit</ind-def:path>
23199 <ind-def:filename>audit.rules</ind-def:filename>
23200 <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>
23201 <ind-def:instance datatype="int">1</ind-def:instance>
23202 </ind-def:textfilecontent54_object>
23203 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201633" version="1">
23204 <ind-def:path>/etc/audit</ind-def:path>
23205 <ind-def:filename>audit.rules</ind-def:filename>
23206 <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>
23207 <ind-def:instance datatype="int">1</ind-def:instance>
23208 </ind-def:textfilecontent54_object>
23209 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201634" version="1">
23210 <ind-def:path>/etc/audit</ind-def:path>
23211 <ind-def:filename>audit.rules</ind-def:filename>
23212 <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>
23213 <ind-def:instance datatype="int">1</ind-def:instance>
23214 </ind-def:textfilecontent54_object>
23215 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201635" version="1">
23216 <ind-def:path>/etc/audit</ind-def:path>
23217 <ind-def:filename>audit.rules</ind-def:filename>
23218 <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>
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:201640" version="1">
23222 <ind-def:path>/etc/audit</ind-def:path>
23223 <ind-def:filename>audit.rules</ind-def:filename>
23224 <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>
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:201641" version="1">
23228 <ind-def:path>/etc/audit</ind-def:path>
23229 <ind-def:filename>audit.rules</ind-def:filename>
23230 <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>
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:201642" version="1">
23234 <ind-def:path>/etc/audit</ind-def:path>
23235 <ind-def:filename>audit.rules</ind-def:filename>
23236 <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>
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:201643" version="1">
23240 <ind-def:path>/etc/audit</ind-def:path>
23241 <ind-def:filename>audit.rules</ind-def:filename>
23242 <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>
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:20165" version="1">
23246 <ind-def:path>/etc/audit</ind-def:path>
23247 <ind-def:filename>audit.rules</ind-def:filename>
23248 <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>
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:201660" version="1">
23252 <ind-def:path>/etc/audit</ind-def:path>
23253 <ind-def:filename>audit.rules</ind-def:filename>
23254 <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>
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:201661" version="1">
23258 <ind-def:path>/etc/audit</ind-def:path>
23259 <ind-def:filename>audit.rules</ind-def:filename>
23260 <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>
23261 <ind-def:instance datatype="int">1</ind-def:instance>
23262 </ind-def:textfilecontent54_object>
23263 <unix-def:uname_object id="oval:org.open-scap.f14:obj:201670" version="1"/>
23264 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201671" version="1">
23265 <ind-def:path>/etc/audit</ind-def:path>
23266 <ind-def:filename>audit.rules</ind-def:filename>
23267 <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>
23268 <ind-def:instance datatype="int">1</ind-def:instance>
23269 </ind-def:textfilecontent54_object>
23270 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201673" version="1">
23271 <ind-def:path>/etc/audit</ind-def:path>
23272 <ind-def:filename>audit.rules</ind-def:filename>
23273 <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>
23274 <ind-def:instance datatype="int">1</ind-def:instance>
23275 </ind-def:textfilecontent54_object>
23276 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20168" version="1">
23277 <ind-def:path>/etc/audit</ind-def:path>
23278 <ind-def:filename>audit.rules</ind-def:filename>
23279 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/etc/sudoers[[:space:]]\-p[[:space:]]wa[[:space:]]\-k[[:space:]]actions</ind-def:pattern>
23280 <ind-def:instance datatype="int">1</ind-def:instance>
23281 </ind-def:textfilecontent54_object>
23282 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016851" version="1">
23283 <ind-def:path>/etc/audit</ind-def:path>
23284 <ind-def:filename>audit.rules</ind-def:filename>
23285 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/insmod[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
23286 <ind-def:instance datatype="int">1</ind-def:instance>
23287 </ind-def:textfilecontent54_object>
23288 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016852" version="1">
23289 <ind-def:path>/etc/audit</ind-def:path>
23290 <ind-def:filename>audit.rules</ind-def:filename>
23291 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/rmmod[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
23292 <ind-def:instance datatype="int">1</ind-def:instance>
23293 </ind-def:textfilecontent54_object>
23294 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016853" version="1">
23295 <ind-def:path>/etc/audit</ind-def:path>
23296 <ind-def:filename>audit.rules</ind-def:filename>
23297 <ind-def:pattern operation="pattern match">^\-w[[:space:]]/sbin/modprobe[[:space:]]\-p[[:space:]]x[[:space:]]\-k[[:space:]]modules</ind-def:pattern>
23298 <ind-def:instance datatype="int">1</ind-def:instance>
23299 </ind-def:textfilecontent54_object>
23300 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2016854" version="1">
23301 <ind-def:path>/etc/audit</ind-def:path>
23302 <ind-def:filename>audit.rules</ind-def:filename>
23303 <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>
23304 <ind-def:instance datatype="int">1</ind-def:instance>
23305 </ind-def:textfilecontent54_object>
23306 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201745" version="1">
23307 <ind-def:path>/etc/xinetd.d</ind-def:path>
23308 <ind-def:filename>telnet</ind-def:filename>
23309 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23310 <ind-def:instance datatype="int">1</ind-def:instance>
23311 </ind-def:textfilecontent54_object>
23312 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201774" version="1">
23313 <ind-def:path>/etc/xinetd.d</ind-def:path>
23314 <ind-def:filename>rcp</ind-def:filename>
23315 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23316 <ind-def:instance datatype="int">1</ind-def:instance>
23317 </ind-def:textfilecontent54_object>
23318 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201775" version="1">
23319 <ind-def:path>/etc/xinetd.d</ind-def:path>
23320 <ind-def:filename>rsh</ind-def:filename>
23321 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23322 <ind-def:instance datatype="int">1</ind-def:instance>
23323 </ind-def:textfilecontent54_object>
23324 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201776" version="1">
23325 <ind-def:path>/etc/xinetd.d</ind-def:path>
23326 <ind-def:filename>rlogin</ind-def:filename>
23327 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23328 <ind-def:instance datatype="int">1</ind-def:instance>
23329 </ind-def:textfilecontent54_object>
23330 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:201825" version="1">
23331 <ind-def:path>/etc/xinetd.d</ind-def:path>
23332 <ind-def:filename>tftp</ind-def:filename>
23333 <ind-def:pattern operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:2017"/>
23334 <ind-def:instance datatype="int">1</ind-def:instance>
23335 </ind-def:textfilecontent54_object>
23336 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20178" version="1">
23337 <ind-def:path>/etc/pam.d</ind-def:path>
23338 <ind-def:filename operation="pattern match">.*</ind-def:filename>
23339 <ind-def:pattern operation="pattern match">^[[:space:]]*.*pam_rhosts</ind-def:pattern>
23340 <ind-def:instance datatype="int">1</ind-def:instance>
23341 </ind-def:textfilecontent54_object>
23342 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20169" version="1">
23343 <ind-def:path>/etc/audit</ind-def:path>
23344 <ind-def:filename>audit.rules</ind-def:filename>
23345 <ind-def:pattern operation="pattern match">^\-e[[:space:]]2</ind-def:pattern>
23346 <ind-def:instance datatype="int">1</ind-def:instance>
23347 </ind-def:textfilecontent54_object>
23348 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20170" version="1">
23349 <unix-def:service_name>inetd</unix-def:service_name>
23350 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23351 </unix-def:runlevel_object>
23352 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20171" version="1">
23353 <unix-def:service_name>xinetd</unix-def:service_name>
23354 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23355 </unix-def:runlevel_object>
23356 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20179" version="1">
23357 <lin-def:name>rsh</lin-def:name>
23358 </lin-def:rpminfo_object>
23359 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20172" version="1">
23360 <lin-def:name>inetd</lin-def:name>
23361 </lin-def:rpminfo_object>
23362 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20173" version="1">
23363 <lin-def:name>xinetd</lin-def:name>
23364 </lin-def:rpminfo_object>
23365 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20174" version="1">
23366 <lin-def:name>telnet-server</lin-def:name>
23367 </lin-def:rpminfo_object>
23368 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20175" version="1">
23369 <lin-def:name>telnet</lin-def:name>
23370 </lin-def:rpminfo_object>
23371 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20176" version="1">
23372 <lin-def:name>krb5-workstation</lin-def:name>
23373 </lin-def:rpminfo_object>
23374 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20177" version="1">
23375 <lin-def:name>rsh-server</lin-def:name>
23376 </lin-def:rpminfo_object>
23377 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20181" version="1">
23378 <unix-def:service_name>ypbind</unix-def:service_name>
23379 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23380 </unix-def:runlevel_object>
23381 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20180" version="1">
23382 <lin-def:name>ypserv</lin-def:name>
23383 </lin-def:rpminfo_object>
23384 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20182" version="1">
23385 <lin-def:name>tftp-server</lin-def:name>
23386 </lin-def:rpminfo_object>
23387 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20183" version="1">
23388 <unix-def:service_name>firstboot</unix-def:service_name>
23389 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23390 </unix-def:runlevel_object>
23391 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20184" version="1">
23392 <unix-def:service_name>gpm</unix-def:service_name>
23393 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23394 </unix-def:runlevel_object>
23395 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20185" version="1">
23396 <unix-def:service_name>irqbalance</unix-def:service_name>
23397 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23398 </unix-def:runlevel_object>
23399 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20186" version="1">
23400 <unix-def:service_name>isdn</unix-def:service_name>
23401 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23402 </unix-def:runlevel_object>
23403 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20187" version="1">
23404 <unix-def:service_name>kdump</unix-def:service_name>
23405 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23406 </unix-def:runlevel_object>
23407 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20188" version="1">
23408 <unix-def:service_name>kudzu</unix-def:service_name>
23409 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23410 </unix-def:runlevel_object>
23411 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20189" version="1">
23412 <unix-def:service_name>mdmonitor</unix-def:service_name>
23413 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23414 </unix-def:runlevel_object>
23415 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20190" version="1">
23416 <unix-def:service_name>microcode_ctl</unix-def:service_name>
23417 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23418 </unix-def:runlevel_object>
23419 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20191" version="1">
23420 <unix-def:service_name>network</unix-def:service_name>
23421 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23422 </unix-def:runlevel_object>
23423 <unix-def:file_object comment="Check existance of yum.cron" id="oval:org.open-scap.f14:obj:20192" version="1">
23424 <unix-def:path>/etc/sysconfig/network-scripts</unix-def:path>
23425 <unix-def:filename operation="pattern match">ifcfg-[^l][^o].*</unix-def:filename>
23426 </unix-def:file_object>
23427 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20193" version="1">
23428 <ind-def:path>/etc/sysconfig</ind-def:path>
23429 <ind-def:filename>network</ind-def:filename>
23430 <ind-def:pattern operation="pattern match">^[:space:]*NOZEROCONF=yes</ind-def:pattern>
23431 <ind-def:instance datatype="int">1</ind-def:instance>
23432 </ind-def:textfilecontent54_object>
23433 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20194" version="1">
23434 <unix-def:service_name>pcscd</unix-def:service_name>
23435 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23436 </unix-def:runlevel_object>
23437 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20195" version="1">
23438 <unix-def:service_name>smartd</unix-def:service_name>
23439 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23440 </unix-def:runlevel_object>
23441 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20196" version="1">
23442 <unix-def:service_name>readahead_early</unix-def:service_name>
23443 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23444 </unix-def:runlevel_object>
23445 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20197" version="1">
23446 <unix-def:service_name>readahead_later</unix-def:service_name>
23447 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23448 </unix-def:runlevel_object>
23449 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20198" version="1">
23450 <unix-def:service_name>messagebus</unix-def:service_name>
23451 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23452 </unix-def:runlevel_object>
23453 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20199" version="1">
23454 <unix-def:service_name>haldaemon</unix-def:service_name>
23455 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23456 </unix-def:runlevel_object>
23457 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20200" version="1">
23458 <unix-def:service_name>bluetooth</unix-def:service_name>
23459 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23460 </unix-def:runlevel_object>
23461 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20201" version="1">
23462 <unix-def:service_name>hidd</unix-def:service_name>
23463 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23464 </unix-def:runlevel_object>
23465 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2020151" version="1">
23466 <ind-def:path>/etc/modprobe.d</ind-def:path>
23467 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
23468 <ind-def:pattern operation="pattern match">alias[:space:]net\-pf\-31[:space:]off</ind-def:pattern>
23469 <ind-def:instance datatype="int">1</ind-def:instance>
23470 </ind-def:textfilecontent54_object>
23471 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2020152" version="1">
23472 <ind-def:path>/etc/modprobe.d</ind-def:path>
23473 <ind-def:filename operation="pattern match">.*\.conf</ind-def:filename>
23474 <ind-def:pattern operation="pattern match">alias[:space:]bluetooth[:space:]off</ind-def:pattern>
23475 <ind-def:instance datatype="int">1</ind-def:instance>
23476 </ind-def:textfilecontent54_object>
23477 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20202" version="1">
23478 <unix-def:service_name>apmd</unix-def:service_name>
23479 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23480 </unix-def:runlevel_object>
23481 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20203" version="1">
23482 <unix-def:service_name>acpid</unix-def:service_name>
23483 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23484 </unix-def:runlevel_object>
23485 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20204" version="1">
23486 <unix-def:service_name>cpuspeed</unix-def:service_name>
23487 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23488 </unix-def:runlevel_object>
23489 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20205" version="1">
23490 <unix-def:service_name>crond</unix-def:service_name>
23491 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23492 </unix-def:runlevel_object>
23493 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:202052" version="1">
23494 <unix-def:service_name>atd</unix-def:service_name>
23495 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23496 </unix-def:runlevel_object>
23497 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:202053" version="1">
23498 <lin-def:name>at</lin-def:name>
23499 </lin-def:rpminfo_object>
23500 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20206" version="1">
23501 <unix-def:service_name>anacron</unix-def:service_name>
23502 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23503 </unix-def:runlevel_object>
23504 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20207" version="1">
23505 <lin-def:name>cronie-anacron</lin-def:name>
23506 </lin-def:rpminfo_object>
23507 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20217" version="1">
23508 <unix-def:path>/etc/cron.monthly</unix-def:path>
23509 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23510 </unix-def:file_object>
23511 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20225" version="1">
23512 <unix-def:path>/etc/cron.daily</unix-def:path>
23513 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23514 </unix-def:file_object>
23515 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20216" version="1">
23516 <unix-def:path>/etc/cron.weekly</unix-def:path>
23517 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23518 </unix-def:file_object>
23519 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20209" version="1">
23520 <unix-def:path>/etc</unix-def:path>
23521 <unix-def:filename>crontab</unix-def:filename>
23522 </unix-def:file_object>
23523 <unix-def:password_object id="oval:org.open-scap.f14:obj:202091" version="1">
23524 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20209"/>
23525 </unix-def:password_object>
23526 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20212" version="1">
23527 <unix-def:path>/etc</unix-def:path>
23528 <unix-def:filename>anacrontab</unix-def:filename>
23529 </unix-def:file_object>
23530 <unix-def:password_object id="oval:org.open-scap.f14:obj:202121" version="1">
23531 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20212"/>
23532 </unix-def:password_object>
23533 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20210" version="1">
23534 <unix-def:path>/etc</unix-def:path>
23535 <unix-def:filename>crontab</unix-def:filename>
23536 </unix-def:file_object>
23537 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20214" version="1">
23538 <unix-def:path>/etc/cron.hourly</unix-def:path>
23539 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23540 </unix-def:file_object>
23541 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20222" version="1">
23542 <unix-def:path>/etc/cron.monthly</unix-def:path>
23543 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23544 </unix-def:file_object>
23545 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20218" version="1">
23546 <unix-def:behaviors recurse="symlinks and directories"/>
23547 <unix-def:path>/etc/cron.d</unix-def:path>
23548 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23549 </unix-def:file_object>
23550 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20223" version="1">
23551 <unix-def:behaviors recurse="symlinks and directories"/>
23552 <unix-def:path>/etc/cron.d</unix-def:path>
23553 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23554 </unix-def:file_object>
23555 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20221" version="1">
23556 <unix-def:path>/etc/cron.weekly</unix-def:path>
23557 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23558 </unix-def:file_object>
23559 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20211" version="1">
23560 <unix-def:path>/etc</unix-def:path>
23561 <unix-def:filename>anacrontab</unix-def:filename>
23562 </unix-def:file_object>
23563 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20224" version="1">
23564 <unix-def:path>/etc/cron.hourly</unix-def:path>
23565 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23566 </unix-def:file_object>
23567 <unix-def:file_object comment="/etc/cron.hourly" id="oval:org.open-scap.f14:obj:20219" version="1">
23568 <unix-def:path>/etc/cron.hourly</unix-def:path>
23569 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23570 </unix-def:file_object>
23571 <unix-def:password_object id="oval:org.open-scap.f14:obj:202191" version="1">
23572 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20219"/>
23573 </unix-def:password_object>
23574 <unix-def:password_object id="oval:org.open-scap.f14:obj:2014911" version="1">
23575 <unix-def:username operation="equals" var_ref="oval:org.open-scap.f14:var:20149"/>
23576 </unix-def:password_object>
23577 <unix-def:file_object comment="/etc/crontab" id="oval:org.open-scap.f14:obj:20208" version="1">
23578 <unix-def:path>/etc</unix-def:path>
23579 <unix-def:filename>crontab</unix-def:filename>
23580 </unix-def:file_object>
23581 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20220" version="1">
23582 <unix-def:path>/etc/cron.daily</unix-def:path>
23583 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23584 </unix-def:file_object>
23585 <unix-def:file_object comment="/etc/anacrontab" id="oval:org.open-scap.f14:obj:20213" version="1">
23586 <unix-def:path>/etc</unix-def:path>
23587 <unix-def:filename>anacrontab</unix-def:filename>
23588 </unix-def:file_object>
23589 <unix-def:file_object comment="/etc/cron.weekly" id="oval:org.open-scap.f14:obj:20226" version="1">
23590 <unix-def:path>/etc/cron.weekly</unix-def:path>
23591 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23592 </unix-def:file_object>
23593 <unix-def:file_object comment="/etc/cron.monthly" id="oval:org.open-scap.f14:obj:20227" version="1">
23594 <unix-def:path>/etc/cron.monthly</unix-def:path>
23595 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23596 </unix-def:file_object>
23597 <unix-def:file_object comment="/etc/cron.daily" id="oval:org.open-scap.f14:obj:20215" version="1">
23598 <unix-def:path>/etc/cron.daily</unix-def:path>
23599 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23600 </unix-def:file_object>
23601 <unix-def:file_object comment="/etc/cron.d" id="oval:org.open-scap.f14:obj:20228" version="1">
23602 <unix-def:behaviors recurse="symlinks and directories"/>
23603 <unix-def:path>/etc/cron.d</unix-def:path>
23604 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23605 </unix-def:file_object>
23606 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20229" version="1">
23607 <unix-def:path>/var/spool/cron</unix-def:path>
23608 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
23609 </unix-def:file_object>
23610 <unix-def:file_object comment="/var/spool/cron" id="oval:org.open-scap.f14:obj:20232" version="1">
23611 <unix-def:path>/etc</unix-def:path>
23612 <unix-def:filename>cron.deny</unix-def:filename>
23613 </unix-def:file_object>
23614 <unix-def:file_object comment="/etc/at.deny" id="oval:org.open-scap.f14:obj:20233" version="1">
23615 <unix-def:path>/etc</unix-def:path>
23616 <unix-def:filename>at.deny</unix-def:filename>
23617 </unix-def:file_object>
23618 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20234" version="1">
23619 <unix-def:service_name>sshd</unix-def:service_name>
23620 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23621 </unix-def:runlevel_object>
23622 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20235" version="1">
23623 <lin-def:name>openssh-server</lin-def:name>
23624 </lin-def:rpminfo_object>
23625 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20236" version="1">
23626 <ind-def:path>/etc/sysconfig</ind-def:path>
23627 <ind-def:filename>iptables</ind-def:filename>
23628 <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>
23629 <ind-def:instance datatype="int">1</ind-def:instance>
23630 </ind-def:textfilecontent54_object>
23631 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20237" version="1">
23632 <ind-def:path>/etc/sysconfig</ind-def:path>
23633 <ind-def:filename>ip6tables</ind-def:filename>
23634 <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>
23635 <ind-def:instance datatype="int">1</ind-def:instance>
23636 </ind-def:textfilecontent54_object>
23637 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20238" version="1">
23638 <ind-def:path>/etc/ssh</ind-def:path>
23639 <ind-def:filename>sshd_config</ind-def:filename>
23640 <ind-def:pattern operation="pattern match">^[[:space:]]*Protocol[[:space:]](2)</ind-def:pattern>
23641 <ind-def:instance datatype="int">1</ind-def:instance>
23642 </ind-def:textfilecontent54_object>
23643 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20239" version="1">
23644 <ind-def:path>/etc/ssh</ind-def:path>
23645 <ind-def:filename>sshd_config</ind-def:filename>
23646 <ind-def:pattern operation="pattern match">^[[:space:]]*ClientAliveInterval[[:space:]]*([[:digit:]]+)</ind-def:pattern>
23647 <ind-def:instance datatype="int">1</ind-def:instance>
23648 </ind-def:textfilecontent54_object>
23649 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20240" version="1">
23650 <ind-def:path>/etc/ssh</ind-def:path>
23651 <ind-def:filename>sshd_config</ind-def:filename>
23652 <ind-def:pattern operation="pattern match">^[[:space:]]*ClientAliveCountMax[[:space:]]*([[:digit:]]+)</ind-def:pattern>
23653 <ind-def:instance datatype="int">1</ind-def:instance>
23654 </ind-def:textfilecontent54_object>
23655 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20241" version="1">
23656 <ind-def:path>/etc/ssh</ind-def:path>
23657 <ind-def:filename>sshd_config</ind-def:filename>
23658 <ind-def:pattern operation="pattern match">^[[:space:]]*IgnoreRhosts[[:space:]]*yes</ind-def:pattern>
23659 <ind-def:instance datatype="int">1</ind-def:instance>
23660 </ind-def:textfilecontent54_object>
23661 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20242" version="1">
23662 <ind-def:path>/etc/ssh</ind-def:path>
23663 <ind-def:filename>sshd_config</ind-def:filename>
23664 <ind-def:pattern operation="pattern match">^[[:space:]]*HostbasedAuthentication[[:space:]]*no</ind-def:pattern>
23665 <ind-def:instance datatype="int">1</ind-def:instance>
23666 </ind-def:textfilecontent54_object>
23667 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20243" version="1">
23668 <ind-def:path>/etc/ssh</ind-def:path>
23669 <ind-def:filename>sshd_config</ind-def:filename>
23670 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitRootLogin[[:space:]]*no</ind-def:pattern>
23671 <ind-def:instance datatype="int">1</ind-def:instance>
23672 </ind-def:textfilecontent54_object>
23673 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20244" version="1">
23674 <ind-def:path>/etc/ssh</ind-def:path>
23675 <ind-def:filename>sshd_config</ind-def:filename>
23676 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitEmptyPasswords[[:space:]]*no</ind-def:pattern>
23677 <ind-def:instance datatype="int">1</ind-def:instance>
23678 </ind-def:textfilecontent54_object>
23679 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20245" version="1">
23680 <ind-def:path>/etc/ssh</ind-def:path>
23681 <ind-def:filename>sshd_config</ind-def:filename>
23682 <ind-def:pattern operation="pattern match">^[[:space:]]*Banner[[:space:]]+/etc/issue$</ind-def:pattern>
23683 <ind-def:instance datatype="int">1</ind-def:instance>
23684 </ind-def:textfilecontent54_object>
23685 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202455" version="1">
23686 <ind-def:path>/etc/ssh</ind-def:path>
23687 <ind-def:filename>sshd_config</ind-def:filename>
23688 <ind-def:pattern operation="pattern match">^[[:space:]]*PermitUserEnvironment[[:space:]]+no</ind-def:pattern>
23689 <ind-def:instance datatype="int">1</ind-def:instance>
23690 </ind-def:textfilecontent54_object>
23691 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202456" version="1">
23692 <ind-def:path>/etc/ssh</ind-def:path>
23693 <ind-def:filename>sshd_config</ind-def:filename>
23694 <ind-def:pattern operation="pattern match">^[[:space:]]*Ciphers[[:space:]]+([^ \t\r\n\v\f]+)</ind-def:pattern>
23695 <ind-def:instance datatype="int">1</ind-def:instance>
23696 </ind-def:textfilecontent54_object>
23697 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20246" version="1">
23698 <ind-def:path>/etc</ind-def:path>
23699 <ind-def:filename>inittab</ind-def:filename>
23700 <ind-def:pattern operation="pattern match">^[\s]*id:([^:]*):initdefault:</ind-def:pattern>
23701 <ind-def:instance datatype="int">1</ind-def:instance>
23702 </ind-def:textfilecontent54_object>
23703 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20248" version="1">
23704 <ind-def:path>/etc/X11/xinit</ind-def:path>
23705 <ind-def:filename>xserverrc</ind-def:filename>
23706 <ind-def:pattern operation="pattern match">^[\s]*exec\sX\s:0\s\-nolisten\stcp\s\$@</ind-def:pattern>
23707 <ind-def:instance datatype="int">1</ind-def:instance>
23708 </ind-def:textfilecontent54_object>
23709 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20249" version="1">
23710 <ind-def:path>/etc/gdm</ind-def:path>
23711 <ind-def:filename>custom.conf</ind-def:filename>
23712 <ind-def:pattern operation="pattern match">^[\s]*InfoMsgFile[\s]*=[\s]*/etc/issue</ind-def:pattern>
23713 <ind-def:instance datatype="int">1</ind-def:instance>
23714 </ind-def:textfilecontent54_object>
23715 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20250" version="1">
23716 <unix-def:service_name>avahi-daemon</unix-def:service_name>
23717 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23718 </unix-def:runlevel_object>
23719 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20253" version="1">
23720 <ind-def:path>/etc/avahi</ind-def:path>
23721 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23722 <ind-def:pattern operation="pattern match">check-response-ttl[\s]*=[\s]*([^#]*)</ind-def:pattern>
23723 <ind-def:instance datatype="int">1</ind-def:instance>
23724 </ind-def:textfilecontent54_object>
23725 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20254" version="1">
23726 <ind-def:path>/etc/avahi</ind-def:path>
23727 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23728 <ind-def:pattern operation="pattern match">disallow-other-stacks[\s]*=[\s]*([^#]*)</ind-def:pattern>
23729 <ind-def:instance datatype="int">1</ind-def:instance>
23730 </ind-def:textfilecontent54_object>
23731 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20255" version="1">
23732 <ind-def:path>/etc/avahi</ind-def:path>
23733 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23734 <ind-def:pattern operation="pattern match">disable-publishing[\s]*=[\s]*([^#]*)</ind-def:pattern>
23735 <ind-def:instance datatype="int">1</ind-def:instance>
23736 </ind-def:textfilecontent54_object>
23737 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20256" version="1">
23738 <ind-def:path>/etc/avahi</ind-def:path>
23739 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23740 <ind-def:pattern operation="pattern match">disable-user-service-publishing[\s]*=[\s]*([^#]*)</ind-def:pattern>
23741 <ind-def:instance datatype="int">1</ind-def:instance>
23742 </ind-def:textfilecontent54_object>
23743 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20257" version="1">
23744 <ind-def:path>/etc/avahi</ind-def:path>
23745 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23746 <ind-def:pattern operation="pattern match">publish-hinfo[\s]*=[\s]*([^#]*)</ind-def:pattern>
23747 <ind-def:instance datatype="int">1</ind-def:instance>
23748 </ind-def:textfilecontent54_object>
23749 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20258" version="1">
23750 <ind-def:path>/etc/avahi</ind-def:path>
23751 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23752 <ind-def:pattern operation="pattern match">publish-workstation[\s]*=[\s]*([^#]*)</ind-def:pattern>
23753 <ind-def:instance datatype="int">1</ind-def:instance>
23754 </ind-def:textfilecontent54_object>
23755 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20259" version="1">
23756 <ind-def:path>/etc/avahi</ind-def:path>
23757 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23758 <ind-def:pattern operation="pattern match">publish-addresses[\s]*=[\s]*([^#]*)</ind-def:pattern>
23759 <ind-def:instance datatype="int">1</ind-def:instance>
23760 </ind-def:textfilecontent54_object>
23761 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20260" version="1">
23762 <ind-def:path>/etc/avahi</ind-def:path>
23763 <ind-def:filename>avahi-daemon.conf</ind-def:filename>
23764 <ind-def:pattern operation="pattern match">publish-domain[\s]*=[\s]*([^#]*)</ind-def:pattern>
23765 <ind-def:instance datatype="int">1</ind-def:instance>
23766 </ind-def:textfilecontent54_object>
23767 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20261" version="1">
23768 <unix-def:service_name>cups</unix-def:service_name>
23769 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23770 </unix-def:runlevel_object>
23771 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20264" version="1">
23772 <ind-def:path>/etc/cups</ind-def:path>
23773 <ind-def:filename>cupsd.conf</ind-def:filename>
23774 <ind-def:pattern operation="pattern match">Browsing[\s]+([^#]*)</ind-def:pattern>
23775 <ind-def:instance datatype="int">1</ind-def:instance>
23776 </ind-def:textfilecontent54_object>
23777 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20265" version="1">
23778 <ind-def:path>/etc/cups</ind-def:path>
23779 <ind-def:filename>cupsd.conf</ind-def:filename>
23780 <ind-def:pattern operation="pattern match">BrowseAllow[\s]+none</ind-def:pattern>
23781 <ind-def:instance datatype="int">1</ind-def:instance>
23782 </ind-def:textfilecontent54_object>
23783 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20266" version="1">
23784 <unix-def:service_name>hplip</unix-def:service_name>
23785 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23786 </unix-def:runlevel_object>
23787 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20267" version="1">
23788 <ind-def:path>/etc/sysconfig/network-scripts</ind-def:path>
23789 <ind-def:filename operation="pattern match">ifcfg-eth.*</ind-def:filename>
23790 <ind-def:pattern operation="pattern match">^[\s]*BOOTPROTO[\s]*=[\s]*([^#]*)</ind-def:pattern>
23791 <ind-def:instance datatype="int">1</ind-def:instance>
23792 </ind-def:textfilecontent54_object>
23793 <ind-def:variable_object id="oval:org.open-scap.f14:obj:256" version="1">
23794 <ind-def:var_ref>oval:org.open-scap.f14:var:20267</ind-def:var_ref>
23795 </ind-def:variable_object>
23796 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20268" version="1">
23797 <unix-def:service_name>dhcpd</unix-def:service_name>
23798 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23799 </unix-def:runlevel_object>
23800 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20269" version="1">
23801 <lin-def:name>dhcp</lin-def:name>
23802 </lin-def:rpminfo_object>
23803 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20270" version="1">
23804 <ind-def:path>/etc</ind-def:path>
23805 <ind-def:filename>dhcpd.conf</ind-def:filename>
23806 <ind-def:pattern operation="pattern match">ddns-update-style[\s]+none;</ind-def:pattern>
23807 <ind-def:instance datatype="int">1</ind-def:instance>
23808 </ind-def:textfilecontent54_object>
23809 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20271" version="1">
23810 <ind-def:path>/etc</ind-def:path>
23811 <ind-def:filename>dhcpd.conf</ind-def:filename>
23812 <ind-def:pattern operation="pattern match">deny[\s]+declines;</ind-def:pattern>
23813 <ind-def:instance datatype="int">1</ind-def:instance>
23814 </ind-def:textfilecontent54_object>
23815 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20272" version="1">
23816 <ind-def:path>/etc</ind-def:path>
23817 <ind-def:filename>dhcpd.conf</ind-def:filename>
23818 <ind-def:pattern operation="pattern match">deny[\s]+bootp;</ind-def:pattern>
23819 <ind-def:instance datatype="int">1</ind-def:instance>
23820 </ind-def:textfilecontent54_object>
23821 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:267" version="1">
23822 <ind-def:path>/etc</ind-def:path>
23823 <ind-def:filename>dhcpd.conf</ind-def:filename>
23824 <ind-def:pattern operation="pattern match">option[\s]+domain-name-servers</ind-def:pattern>
23825 <ind-def:instance datatype="int">1</ind-def:instance>
23826 </ind-def:textfilecontent54_object>
23827 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:269" version="1">
23828 <ind-def:path>/etc</ind-def:path>
23829 <ind-def:filename>dhcpd.conf</ind-def:filename>
23830 <ind-def:pattern operation="pattern match">option[\s]+routers</ind-def:pattern>
23831 <ind-def:instance datatype="int">1</ind-def:instance>
23832 </ind-def:textfilecontent54_object>
23833 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:271" version="1">
23834 <ind-def:path>/etc</ind-def:path>
23835 <ind-def:filename>dhcpd.conf</ind-def:filename>
23836 <ind-def:pattern operation="pattern match">option[\s]+domain-name</ind-def:pattern>
23837 <ind-def:instance datatype="int">1</ind-def:instance>
23838 </ind-def:textfilecontent54_object>
23839 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:273" version="1">
23840 <ind-def:path>/etc</ind-def:path>
23841 <ind-def:filename>dhcpd.conf</ind-def:filename>
23842 <ind-def:pattern operation="pattern match">option[\s]+nis-domain</ind-def:pattern>
23843 <ind-def:instance datatype="int">1</ind-def:instance>
23844 </ind-def:textfilecontent54_object>
23845 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:275" version="1">
23846 <ind-def:path>/etc</ind-def:path>
23847 <ind-def:filename>dhcpd.conf</ind-def:filename>
23848 <ind-def:pattern operation="pattern match">option[\s]+nis-servers</ind-def:pattern>
23849 <ind-def:instance datatype="int">1</ind-def:instance>
23850 </ind-def:textfilecontent54_object>
23851 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:277" version="1">
23852 <ind-def:path>/etc</ind-def:path>
23853 <ind-def:filename>dhcpd.conf</ind-def:filename>
23854 <ind-def:pattern operation="pattern match">option[\s]+time-offset</ind-def:pattern>
23855 <ind-def:instance datatype="int">1</ind-def:instance>
23856 </ind-def:textfilecontent54_object>
23857 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:279" version="1">
23858 <ind-def:path>/etc</ind-def:path>
23859 <ind-def:filename>dhcpd.conf</ind-def:filename>
23860 <ind-def:pattern operation="pattern match">option[\s]+ntp-servers</ind-def:pattern>
23861 <ind-def:instance datatype="int">1</ind-def:instance>
23862 </ind-def:textfilecontent54_object>
23863 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20280" version="1">
23864 <ind-def:path>/etc</ind-def:path>
23865 <ind-def:filename>syslog.conf</ind-def:filename>
23866 <ind-def:pattern operation="pattern match">daemon\.\*[\s]+/var/log/daemon\.log</ind-def:pattern>
23867 <ind-def:instance datatype="int">1</ind-def:instance>
23868 </ind-def:textfilecontent54_object>
23869 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20281" version="1">
23870 <unix-def:service_name>ntpd</unix-def:service_name>
23871 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23872 </unix-def:runlevel_object>
23873 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20282" version="1">
23874 <ind-def:path>/etc</ind-def:path>
23875 <ind-def:filename>ntp.conf</ind-def:filename>
23876 <ind-def:pattern operation="pattern match">restrict[\s]+default[\s]+ignore</ind-def:pattern>
23877 <ind-def:instance datatype="int">1</ind-def:instance>
23878 </ind-def:textfilecontent54_object>
23879 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20285" version="1">
23880 <ind-def:path>/etc</ind-def:path>
23881 <ind-def:filename>rc.local</ind-def:filename>
23882 <ind-def:pattern operation="pattern match">/usr/local/sbin/ntpd -s</ind-def:pattern>
23883 <ind-def:instance datatype="int">1</ind-def:instance>
23884 </ind-def:textfilecontent54_object>
23885 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20287" version="1">
23886 <unix-def:service_name>sendmail</unix-def:service_name>
23887 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23888 </unix-def:runlevel_object>
23889 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20288" version="1">
23890 <ind-def:path>/etc/sysconfig</ind-def:path>
23891 <ind-def:filename>sendmail</ind-def:filename>
23892 <ind-def:pattern operation="pattern match">DAEMON[\s]*=[\s]*yes</ind-def:pattern>
23893 <ind-def:instance datatype="int">1</ind-def:instance>
23894 </ind-def:textfilecontent54_object>
23895 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:202885" version="1">
23896 <ind-def:path>/etc</ind-def:path>
23897 <ind-def:filename>ldap.conf</ind-def:filename>
23898 <ind-def:pattern operation="pattern match">^[\s]*tls_checkpeer[\s]+yes</ind-def:pattern>
23899 <ind-def:instance datatype="int">1</ind-def:instance>
23900 </ind-def:textfilecontent54_object>
23901 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20289" version="1">
23902 <unix-def:service_name>ldap</unix-def:service_name>
23903 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23904 </unix-def:runlevel_object>
23905 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20290" version="1">
23906 <unix-def:path>/var/lib/ldap</unix-def:path>
23907 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23908 </unix-def:file_object>
23909 <unix-def:file_object comment="/var/lib/ldap/.*" id="oval:org.open-scap.f14:obj:20291" version="1">
23910 <unix-def:path>/var/lib/ldap</unix-def:path>
23911 <unix-def:filename operation="pattern match">.*</unix-def:filename>
23912 </unix-def:file_object>
23913 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20292" version="1">
23914 <unix-def:service_name>nfslock</unix-def:service_name>
23915 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23916 </unix-def:runlevel_object>
23917 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20293" version="1">
23918 <unix-def:service_name>rpcgssd</unix-def:service_name>
23919 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23920 </unix-def:runlevel_object>
23921 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20294" version="1">
23922 <unix-def:service_name>rpcidmapd</unix-def:service_name>
23923 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23924 </unix-def:runlevel_object>
23925 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20295" version="1">
23926 <unix-def:service_name>netfs</unix-def:service_name>
23927 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23928 </unix-def:runlevel_object>
23929 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20296" version="1">
23930 <unix-def:service_name>portmap</unix-def:service_name>
23931 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23932 </unix-def:runlevel_object>
23933 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20297" version="1">
23934 <ind-def:path>/etc/sysconfig</ind-def:path>
23935 <ind-def:filename>nfs</ind-def:filename>
23936 <ind-def:pattern operation="pattern match">LOCKD_TCPPORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23937 <ind-def:instance datatype="int">1</ind-def:instance>
23938 </ind-def:textfilecontent54_object>
23939 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20298" version="1">
23940 <ind-def:path>/etc/sysconfig</ind-def:path>
23941 <ind-def:filename>nfs</ind-def:filename>
23942 <ind-def:pattern operation="pattern match">STATD_OUTGOING_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23943 <ind-def:instance datatype="int">1</ind-def:instance>
23944 </ind-def:textfilecontent54_object>
23945 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20299" version="1">
23946 <ind-def:path>/etc/sysconfig</ind-def:path>
23947 <ind-def:filename>nfs</ind-def:filename>
23948 <ind-def:pattern operation="pattern match">STATD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23949 <ind-def:instance datatype="int">1</ind-def:instance>
23950 </ind-def:textfilecontent54_object>
23951 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20300" version="1">
23952 <ind-def:path>/etc/sysconfig</ind-def:path>
23953 <ind-def:filename>nfs</ind-def:filename>
23954 <ind-def:pattern operation="pattern match">LOCKD_UDPPORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23955 <ind-def:instance datatype="int">1</ind-def:instance>
23956 </ind-def:textfilecontent54_object>
23957 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20301" version="1">
23958 <ind-def:path>/etc/sysconfig</ind-def:path>
23959 <ind-def:filename>nfs</ind-def:filename>
23960 <ind-def:pattern operation="pattern match">MOUNTD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23961 <ind-def:instance datatype="int">1</ind-def:instance>
23962 </ind-def:textfilecontent54_object>
23963 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20302" version="1">
23964 <ind-def:path>/etc/sysconfig</ind-def:path>
23965 <ind-def:filename>nfs</ind-def:filename>
23966 <ind-def:pattern operation="pattern match">RQUOTAD_PORT[\s]*=[\s]*[0-9]</ind-def:pattern>
23967 <ind-def:instance datatype="int">1</ind-def:instance>
23968 </ind-def:textfilecontent54_object>
23969 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20303" version="1">
23970 <unix-def:service_name>nfs</unix-def:service_name>
23971 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23972 </unix-def:runlevel_object>
23973 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20304" version="1">
23974 <unix-def:service_name>rpcsvcgssd</unix-def:service_name>
23975 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23976 </unix-def:runlevel_object>
23977 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20308" version="1">
23978 <ind-def:path>/etc</ind-def:path>
23979 <ind-def:filename>exports</ind-def:filename>
23980 <ind-def:pattern operation="pattern match">no_root_squash</ind-def:pattern>
23981 <ind-def:instance datatype="int">1</ind-def:instance>
23982 </ind-def:textfilecontent54_object>
23983 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20309" version="1">
23984 <ind-def:path>/etc</ind-def:path>
23985 <ind-def:filename>exports</ind-def:filename>
23986 <ind-def:pattern operation="pattern match">insecure</ind-def:pattern>
23987 <ind-def:instance datatype="int">1</ind-def:instance>
23988 </ind-def:textfilecontent54_object>
23989 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20310" version="1">
23990 <ind-def:path>/etc</ind-def:path>
23991 <ind-def:filename>exports</ind-def:filename>
23992 <ind-def:pattern operation="pattern match">rw</ind-def:pattern>
23993 <ind-def:instance datatype="int">1</ind-def:instance>
23994 </ind-def:textfilecontent54_object>
23995 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20311" version="1">
23996 <unix-def:service_name>named</unix-def:service_name>
23997 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
23998 </unix-def:runlevel_object>
23999 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20312" version="1">
24000 <lin-def:name>bind</lin-def:name>
24001 </lin-def:rpminfo_object>
24002 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20313" version="1">
24003 <unix-def:path>/var/named/chroot/etc</unix-def:path>
24004 <unix-def:filename>named.conf</unix-def:filename>
24005 </unix-def:file_object>
24006 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20315" version="1">
24007 <unix-def:path>/var/named/chroot/etc</unix-def:path>
24008 <unix-def:filename>named.conf</unix-def:filename>
24009 </unix-def:file_object>
24010 <unix-def:file_object comment="/var/named/chroot/etc/named.conf" id="oval:org.open-scap.f14:obj:20314" version="1">
24011 <unix-def:path>/var/named/chroot/etc</unix-def:path>
24012 <unix-def:filename>named.conf</unix-def:filename>
24013 </unix-def:file_object>
24014 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20317" version="1">
24015 <unix-def:service_name>vsftpd</unix-def:service_name>
24016 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24017 </unix-def:runlevel_object>
24018 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:203175" version="1">
24019 <lin-def:name>vsftpd</lin-def:name>
24020 </lin-def:rpminfo_object>
24021 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20319" version="1">
24022 <ind-def:path>/etc</ind-def:path>
24023 <ind-def:filename>vsftpd.conf</ind-def:filename>
24024 <ind-def:pattern operation="pattern match">banner_file[\s]*=[\s]*/etc/issue</ind-def:pattern>
24025 <ind-def:instance datatype="int">1</ind-def:instance>
24026 </ind-def:textfilecontent54_object>
24027 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:340" version="1">
24028 <ind-def:path>/etc</ind-def:path>
24029 <ind-def:filename>vsftpd.conf</ind-def:filename>
24030 <ind-def:pattern operation="pattern match">local_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
24031 <ind-def:instance datatype="int">1</ind-def:instance>
24032 </ind-def:textfilecontent54_object>
24033 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:341" version="1">
24034 <ind-def:path>/etc</ind-def:path>
24035 <ind-def:filename>vsftpd.conf</ind-def:filename>
24036 <ind-def:pattern operation="pattern match">write_enable[\s]*=[\s]*([^#]*)</ind-def:pattern>
24037 <ind-def:instance datatype="int">1</ind-def:instance>
24038 </ind-def:textfilecontent54_object>
24039 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20322" version="1">
24040 <unix-def:service_name>httpd</unix-def:service_name>
24041 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24042 </unix-def:runlevel_object>
24043 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20323" version="1">
24044 <lin-def:name>httpd</lin-def:name>
24045 </lin-def:rpminfo_object>
24046 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20324" version="1">
24047 <ind-def:path>/etc/httpd/conf</ind-def:path>
24048 <ind-def:filename>httpd.conf</ind-def:filename>
24049 <ind-def:pattern operation="pattern match">ServerTokens[\s]+([^#]*)</ind-def:pattern>
24050 <ind-def:instance datatype="int">1</ind-def:instance>
24051 </ind-def:textfilecontent54_object>
24052 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20325" version="1">
24053 <ind-def:path>/etc/httpd/conf</ind-def:path>
24054 <ind-def:filename>httpd.conf</ind-def:filename>
24055 <ind-def:pattern operation="pattern match">ServerSignature[\s]+([^#]*)</ind-def:pattern>
24056 <ind-def:instance datatype="int">1</ind-def:instance>
24057 </ind-def:textfilecontent54_object>
24058 <unix-def:file_object comment="/etc/httpd/conf" id="oval:org.open-scap.f14:obj:20326" version="1">
24059 <unix-def:path>/etc/httpd/conf</unix-def:path>
24060 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
24061 </unix-def:file_object>
24062 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20327" version="1">
24063 <unix-def:path>/etc/httpd/conf</unix-def:path>
24064 <unix-def:filename operation="pattern match">.*</unix-def:filename>
24065 </unix-def:file_object>
24066 <unix-def:file_object comment="/usr/sbin/httpd" id="oval:org.open-scap.f14:obj:20328" version="1">
24067 <unix-def:path>/usr/sbin</unix-def:path>
24068 <unix-def:filename>httpd</unix-def:filename>
24069 </unix-def:file_object>
24070 <unix-def:file_object comment="/etc/httpd/conf/.*" id="oval:org.open-scap.f14:obj:20329" version="1">
24071 <unix-def:path>/etc/httpd/conf</unix-def:path>
24072 <unix-def:filename operation="pattern match">.*</unix-def:filename>
24073 </unix-def:file_object>
24074 <unix-def:file_object comment="/var/log/httpd" id="oval:org.open-scap.f14:obj:20330" version="1">
24075 <unix-def:path>/var/log/httpd</unix-def:path>
24076 <unix-def:filename xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
24077 </unix-def:file_object>
24078 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20331" version="1">
24079 <unix-def:service_name>dovecot</unix-def:service_name>
24080 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24081 </unix-def:runlevel_object>
24082 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20332" version="1">
24083 <lin-def:name>dovecot</lin-def:name>
24084 </lin-def:rpminfo_object>
24085 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20333" version="1">
24086 <ind-def:path>/etc</ind-def:path>
24087 <ind-def:filename>dovecot.conf</ind-def:filename>
24088 <ind-def:pattern operation="pattern match">protocols[\s]*=.*imaps</ind-def:pattern>
24089 <ind-def:instance datatype="int">1</ind-def:instance>
24090 </ind-def:textfilecontent54_object>
24091 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20334" version="1">
24092 <ind-def:path>/etc</ind-def:path>
24093 <ind-def:filename>dovecot.conf</ind-def:filename>
24094 <ind-def:pattern operation="pattern match">protocols[\s]*=.*pop3s</ind-def:pattern>
24095 <ind-def:instance datatype="int">1</ind-def:instance>
24096 </ind-def:textfilecontent54_object>
24097 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20335" version="1">
24098 <ind-def:path>/etc</ind-def:path>
24099 <ind-def:filename>dovecot.conf</ind-def:filename>
24100 <ind-def:pattern operation="pattern match">protocols[\s]*=.*pop3</ind-def:pattern>
24101 <ind-def:instance datatype="int">1</ind-def:instance>
24102 </ind-def:textfilecontent54_object>
24103 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20336" version="1">
24104 <ind-def:path>/etc</ind-def:path>
24105 <ind-def:filename>dovecot.conf</ind-def:filename>
24106 <ind-def:pattern operation="pattern match">protocols[\s]*=.*imap</ind-def:pattern>
24107 <ind-def:instance datatype="int">1</ind-def:instance>
24108 </ind-def:textfilecontent54_object>
24109 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20337" version="1">
24110 <ind-def:path>/etc</ind-def:path>
24111 <ind-def:filename>dovecot.conf</ind-def:filename>
24112 <ind-def:pattern operation="pattern match">disable_plaintext_auth[\s]*=[\s]*([^#]*)</ind-def:pattern>
24113 <ind-def:instance datatype="int">1</ind-def:instance>
24114 </ind-def:textfilecontent54_object>
24115 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20338" version="1">
24116 <ind-def:path>/etc</ind-def:path>
24117 <ind-def:filename>dovecot.conf</ind-def:filename>
24118 <ind-def:pattern operation="pattern match">mail_drop_priv_before_exec[\s]*=[\s]*([^#]*)</ind-def:pattern>
24119 <ind-def:instance datatype="int">1</ind-def:instance>
24120 </ind-def:textfilecontent54_object>
24121 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20339" version="1">
24122 <ind-def:path>/etc</ind-def:path>
24123 <ind-def:filename>dovecot.conf</ind-def:filename>
24124 <ind-def:pattern operation="pattern match">login_process_per_connection[\s]*=[\s]*([^#]*)</ind-def:pattern>
24125 <ind-def:instance datatype="int">1</ind-def:instance>
24126 </ind-def:textfilecontent54_object>
24127 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20340" version="1">
24128 <unix-def:service_name>smb</unix-def:service_name>
24129 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24130 </unix-def:runlevel_object>
24131 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:203403" version="1">
24132 <ind-def:path>/etc/samba</ind-def:path>
24133 <ind-def:filename>smb.conf</ind-def:filename>
24134 <ind-def:pattern operation="pattern match">^[\s]*guest[\s]+ok[\s]*=[\s]yes</ind-def:pattern>
24135 <ind-def:instance datatype="int">1</ind-def:instance>
24136 </ind-def:textfilecontent54_object>
24137 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:2034010" version="1">
24138 <ind-def:path>/etc/samba</ind-def:path>
24139 <ind-def:filename>smb.conf</ind-def:filename>
24140 <ind-def:pattern operation="pattern match">^[\s]*client[\s]+signing[\s]*=[\s]mandatory</ind-def:pattern>
24141 <ind-def:instance datatype="int">1</ind-def:instance>
24142 </ind-def:textfilecontent54_object>
24143 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340111" version="1">
24144 <ind-def:path>/etc</ind-def:path>
24145 <ind-def:filename>fstab</ind-def:filename>
24146 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
24147 <ind-def:instance datatype="int">1</ind-def:instance>
24148 </ind-def:textfilecontent54_object>
24149 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20340112" version="1">
24150 <ind-def:path>/etc</ind-def:path>
24151 <ind-def:filename>mtab</ind-def:filename>
24152 <ind-def:pattern operation="pattern match">^[\s]*[\S]+[\s]+[\S]+[\s]+([\S]+)[\s]+([\S]+)</ind-def:pattern>
24153 <ind-def:instance datatype="int">1</ind-def:instance>
24154 </ind-def:textfilecontent54_object>
24155 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20341" version="1">
24156 <unix-def:service_name>squid</unix-def:service_name>
24157 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24158 </unix-def:runlevel_object>
24159 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20342" version="1">
24160 <lin-def:name>squid</lin-def:name>
24161 </lin-def:rpminfo_object>
24162 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20343" version="1">
24163 <ind-def:path>/etc/squid</ind-def:path>
24164 <ind-def:filename>squid.conf</ind-def:filename>
24165 <ind-def:pattern operation="pattern match">^[[:space:]]*ftp_passive[[:space:]]+([^#]*)</ind-def:pattern>
24166 <ind-def:instance datatype="int">1</ind-def:instance>
24167 </ind-def:textfilecontent54_object>
24168 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20346" version="1">
24169 <ind-def:path>/etc/squid</ind-def:path>
24170 <ind-def:filename>squid.conf</ind-def:filename>
24171 <ind-def:pattern operation="pattern match">^[[:space:]]*request_header_max_size[[:space:]]+([^#]*)</ind-def:pattern>
24172 <ind-def:instance datatype="int">1</ind-def:instance>
24173 </ind-def:textfilecontent54_object>
24174 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20345" version="1">
24175 <ind-def:path>/etc/squid</ind-def:path>
24176 <ind-def:filename>squid.conf</ind-def:filename>
24177 <ind-def:pattern operation="pattern match">^[[:space:]]*check_hostnames[[:space:]]+([^#]*)</ind-def:pattern>
24178 <ind-def:instance datatype="int">1</ind-def:instance>
24179 </ind-def:textfilecontent54_object>
24180 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20350" version="1">
24181 <ind-def:path>/etc/squid</ind-def:path>
24182 <ind-def:filename>squid.conf</ind-def:filename>
24183 <ind-def:pattern operation="pattern match">^[[:space:]]*ignore_unknown_nameservers[[:space:]]+([^#]*)</ind-def:pattern>
24184 <ind-def:instance datatype="int">1</ind-def:instance>
24185 </ind-def:textfilecontent54_object>
24186 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20347" version="1">
24187 <ind-def:path>/etc/squid</ind-def:path>
24188 <ind-def:filename>squid.conf</ind-def:filename>
24189 <ind-def:pattern operation="pattern match">^[[:space:]]*reply_header_max_size[[:space:]]+([^#]*)</ind-def:pattern>
24190 <ind-def:instance datatype="int">1</ind-def:instance>
24191 </ind-def:textfilecontent54_object>
24192 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20348" version="1">
24193 <ind-def:path>/etc/squid</ind-def:path>
24194 <ind-def:filename>squid.conf</ind-def:filename>
24195 <ind-def:pattern operation="pattern match">^[[:space:]]*cache_effective_user[[:space:]]+([^#]*)</ind-def:pattern>
24196 <ind-def:instance datatype="int">1</ind-def:instance>
24197 </ind-def:textfilecontent54_object>
24198 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20344" version="1">
24199 <ind-def:path>/etc/squid</ind-def:path>
24200 <ind-def:filename>squid.conf</ind-def:filename>
24201 <ind-def:pattern operation="pattern match">^[[:space:]]*ftp_sanitycheck[[:space:]]+([^#]*)</ind-def:pattern>
24202 <ind-def:instance datatype="int">1</ind-def:instance>
24203 </ind-def:textfilecontent54_object>
24204 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20349" version="1">
24205 <ind-def:path>/etc/squid</ind-def:path>
24206 <ind-def:filename>squid.conf</ind-def:filename>
24207 <ind-def:pattern operation="pattern match">^[[:space:]]*cache_effective_group[[:space:]]+([^#]*)</ind-def:pattern>
24208 <ind-def:instance datatype="int">1</ind-def:instance>
24209 </ind-def:textfilecontent54_object>
24210 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20353" version="1">
24211 <ind-def:path>/etc/squid</ind-def:path>
24212 <ind-def:filename>squid.conf</ind-def:filename>
24213 <ind-def:pattern operation="pattern match">^[[:space:]]*forwarded_for[[:space:]]+([^#]*)</ind-def:pattern>
24214 <ind-def:instance datatype="int">1</ind-def:instance>
24215 </ind-def:textfilecontent54_object>
24216 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20354" version="1">
24217 <ind-def:path>/etc/squid</ind-def:path>
24218 <ind-def:filename>squid.conf</ind-def:filename>
24219 <ind-def:pattern operation="pattern match">^[[:space:]]*log_mime_hdrs[[:space:]]+([^#]*)</ind-def:pattern>
24220 <ind-def:instance datatype="int">1</ind-def:instance>
24221 </ind-def:textfilecontent54_object>
24222 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20351" version="1">
24223 <ind-def:path>/etc/squid</ind-def:path>
24224 <ind-def:filename>squid.conf</ind-def:filename>
24225 <ind-def:pattern operation="pattern match">^[[:space:]]*allow_underscore[[:space:]]+([^#]*)</ind-def:pattern>
24226 <ind-def:instance datatype="int">1</ind-def:instance>
24227 </ind-def:textfilecontent54_object>
24228 <ind-def:textfilecontent54_object id="oval:org.open-scap.f14:obj:20352" version="1">
24229 <ind-def:path>/etc/squid</ind-def:path>
24230 <ind-def:filename>squid.conf</ind-def:filename>
24231 <ind-def:pattern operation="pattern match">^[[:space:]]*httpd_suppress_version_string[[:space:]]+([^#]*)</ind-def:pattern>
24232 <ind-def:instance datatype="int">1</ind-def:instance>
24233 </ind-def:textfilecontent54_object>
24234 <unix-def:runlevel_object id="oval:org.open-scap.f14:obj:20365" version="1">
24235 <unix-def:service_name>snmpd</unix-def:service_name>
24236 <unix-def:runlevel operation="pattern match">.*</unix-def:runlevel>
24237 </unix-def:runlevel_object>
24238 <lin-def:rpminfo_object id="oval:org.open-scap.f14:obj:20366" version="1">
24239 <lin-def:name>net-snmp</lin-def:name>
24240 </lin-def:rpminfo_object>
24241 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202081" version="1">
24242 <ind-def:path>/etc</ind-def:path>
24243 <ind-def:filename>group</ind-def:filename>
24244 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202081"/>
24245 <ind-def:instance datatype="int">1</ind-def:instance>
24246 </ind-def:textfilecontent54_object>
24247 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202111" version="1">
24248 <ind-def:path>/etc</ind-def:path>
24249 <ind-def:filename>group</ind-def:filename>
24250 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202111"/>
24251 <ind-def:instance datatype="int">1</ind-def:instance>
24252 </ind-def:textfilecontent54_object>
24253 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202141" version="1">
24254 <ind-def:path>/etc</ind-def:path>
24255 <ind-def:filename>group</ind-def:filename>
24256 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202141"/>
24257 <ind-def:instance datatype="int">1</ind-def:instance>
24258 </ind-def:textfilecontent54_object>
24259 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202291" version="1">
24260 <ind-def:path>/etc</ind-def:path>
24261 <ind-def:filename>group</ind-def:filename>
24262 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202291"/>
24263 <ind-def:instance datatype="int">1</ind-def:instance>
24264 </ind-def:textfilecontent54_object>
24265 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:202301" version="1">
24266 <ind-def:path>/etc</ind-def:path>
24267 <ind-def:filename>group</ind-def:filename>
24268 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:202301"/>
24269 <ind-def:instance datatype="int">1</ind-def:instance>
24270 </ind-def:textfilecontent54_object>
24271 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:200811" version="1">
24272 <ind-def:path>/etc</ind-def:path>
24273 <ind-def:filename>group</ind-def:filename>
24274 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:200811"/>
24275 <ind-def:instance datatype="int">1</ind-def:instance>
24276 </ind-def:textfilecontent54_object>
24277 <ind-def:textfilecontent54_object comment="Get group ID" id="oval:org.open-scap.f14:obj:201501" version="1">
24278 <ind-def:path>/etc</ind-def:path>
24279 <ind-def:filename>group</ind-def:filename>
24280 <ind-def:pattern operation="pattern match" var_ref="oval:org.open-scap.f14:var:201501"/>
24281 <ind-def:instance datatype="int">1</ind-def:instance>
24282 </ind-def:textfilecontent54_object>
24283 </objects>
24284 <states>
24285 <ind-def:textfilecontent54_state comment="/tmp mount point is defined" id="oval:org.open-scap.f14:ste:20000" version="1">
24286 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/tmp</ind-def:subexpression>
24287 </ind-def:textfilecontent54_state>
24288 <ind-def:textfilecontent54_state comment="/var mount point is defined" id="oval:org.open-scap.f14:ste:20002" version="1">
24289 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var</ind-def:subexpression>
24290 </ind-def:textfilecontent54_state>
24291 <ind-def:textfilecontent54_state comment="/var/log mount point is defined" id="oval:org.open-scap.f14:ste:20004" version="1">
24292 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log</ind-def:subexpression>
24293 </ind-def:textfilecontent54_state>
24294 <ind-def:textfilecontent54_state comment="/var/log/audit mount point is defined" id="oval:org.open-scap.f14:ste:20005" version="1">
24295 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/var/log/audit</ind-def:subexpression>
24296 </ind-def:textfilecontent54_state>
24297 <ind-def:textfilecontent54_state comment="/home mount point is defined" id="oval:org.open-scap.f14:ste:20006" version="1">
24298 <ind-def:subexpression datatype="string" entity_check="all" operation="equals">/home</ind-def:subexpression>
24299 </ind-def:textfilecontent54_state>
24300 <ind-def:textfilecontent54_state comment="Expected value of gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20010" version="1">
24301 <ind-def:instance datatype="int">1</ind-def:instance>
24302 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
24303 </ind-def:textfilecontent54_state>
24304 <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">
24305 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
24306 </ind-def:textfilecontent54_state>
24307 <ind-def:textfilecontent54_state comment="Expected value of repo_gpgcheck should be enabled" id="oval:org.open-scap.f14:ste:20012" version="1">
24308 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">1</ind-def:subexpression>
24309 </ind-def:textfilecontent54_state>
24310 <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">
24311 <ind-def:subexpression datatype="int" entity_check="all" operation="equals">0</ind-def:subexpression>
24312 </ind-def:textfilecontent54_state>
24313 <ind-def:textfilecontent54_state comment="ext2 and ext3 filing systems" id="oval:org.open-scap.f14:ste:200161" version="1">
24314 <ind-def:subexpression datatype="string" entity_check="all" operation="pattern match">.*,nodev.*</ind-def:subexpression>
24315 </ind-def:textfilecontent54_state>
24316 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:10000" version="1">
24317 <lin-def:version operation="pattern match">^5[^\d]</lin-def:version>
24318 </lin-def:rpminfo_state>
24319 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:200065" version="1">
24320 <lin-def:release>4c49d6fe</lin-def:release>
24321 <lin-def:version>97a1071f</lin-def:version>
24322 </lin-def:rpminfo_state>
24323 <lin-def:rpminfo_state id="oval:org.open-scap.f14:ste:11000" version="1">
24324 <lin-def:release operation="pattern match">^5\.[2-9]</lin-def:release>
24325 </lin-def:rpminfo_state>
24326 <ind-def:family_state id="oval:org.open-scap.f14:ste:10001" version="1">
24327 <ind-def:family>unix</ind-def:family>
24328 </ind-def:family_state>
24329 <ind-def:xmlfilecontent_state id="oval:org.open-scap.f14:ste:20026" version="1">
24330 <ind-def:value_of operation="equals">false</ind-def:value_of>
24331 </ind-def:xmlfilecontent_state>
24332 <ind-def:textfilecontent54_state comment="Check for the usb_storage module" id="oval:org.open-scap.f14:ste:20021" version="1">
24333 <ind-def:subexpression datatype="string" entity_check="all">usb_storage</ind-def:subexpression>
24334 </ind-def:textfilecontent54_state>
24335 <ind-def:textfilecontent54_state comment="Check for the cramfs file system" id="oval:org.open-scap.f14:ste:20027" version="1">
24336 <ind-def:subexpression datatype="string" entity_check="all">cramfs</ind-def:subexpression>
24337 </ind-def:textfilecontent54_state>
24338 <ind-def:textfilecontent54_state comment="Check for the freevxfs file system" id="oval:org.open-scap.f14:ste:20028" version="1">
24339 <ind-def:subexpression datatype="string" entity_check="all">freevxfs</ind-def:subexpression>
24340 </ind-def:textfilecontent54_state>
24341 <ind-def:textfilecontent54_state comment="Check for the jffs2 file system" id="oval:org.open-scap.f14:ste:20029" version="1">
24342 <ind-def:subexpression datatype="string" entity_check="all">jffs2</ind-def:subexpression>
24343 </ind-def:textfilecontent54_state>
24344 <ind-def:textfilecontent54_state comment="Check for the hfs file system" id="oval:org.open-scap.f14:ste:20030" version="1">
24345 <ind-def:subexpression datatype="string" entity_check="all">hfs</ind-def:subexpression>
24346 </ind-def:textfilecontent54_state>
24347 <ind-def:textfilecontent54_state comment="Check for the hfsplus file system" id="oval:org.open-scap.f14:ste:20031" version="1">
24348 <ind-def:subexpression datatype="string" entity_check="all">hfsplus</ind-def:subexpression>
24349 </ind-def:textfilecontent54_state>
24350 <ind-def:textfilecontent54_state comment="Check for the squashfs file system" id="oval:org.open-scap.f14:ste:20032" version="1">
24351 <ind-def:subexpression datatype="string" entity_check="all">squashfs</ind-def:subexpression>
24352 </ind-def:textfilecontent54_state>
24353 <ind-def:textfilecontent54_state comment="Check for the udf file system" id="oval:org.open-scap.f14:ste:20033" version="1">
24354 <ind-def:subexpression datatype="string" entity_check="all">udf</ind-def:subexpression>
24355 </ind-def:textfilecontent54_state>
24356 <unix-def:file_state id="oval:org.open-scap.f14:ste:20034" version="1">
24357 <unix-def:user_id datatype="int">0</unix-def:user_id>
24358 </unix-def:file_state>
24359 <unix-def:file_state id="oval:org.open-scap.f14:ste:20035" version="1">
24360 <unix-def:group_id datatype="int">0</unix-def:group_id>
24361 </unix-def:file_state>
24362 <unix-def:file_state id="oval:org.open-scap.f14:ste:20042" version="1">
24363 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:1"/>
24364 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:2"/>
24365 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:3"/>
24366 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:4"/>
24367 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:5"/>
24368 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:6"/>
24369 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:7"/>
24370 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:8"/>
24371 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:9"/>
24372 </unix-def:file_state>
24373 <unix-def:file_state id="oval:org.open-scap.f14:ste:20036" version="1">
24374 <unix-def:user_id datatype="int">0</unix-def:user_id>
24375 </unix-def:file_state>
24376 <unix-def:file_state id="oval:org.open-scap.f14:ste:20037" version="1">
24377 <unix-def:group_id datatype="int">0</unix-def:group_id>
24378 </unix-def:file_state>
24379 <unix-def:file_state id="oval:org.open-scap.f14:ste:20043" version="1">
24380 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:10"/>
24381 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:11"/>
24382 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:12"/>
24383 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:13"/>
24384 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:14"/>
24385 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:15"/>
24386 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:16"/>
24387 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:17"/>
24388 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:18"/>
24389 </unix-def:file_state>
24390 <unix-def:file_state id="oval:org.open-scap.f14:ste:20038" version="1">
24391 <unix-def:user_id datatype="int">0</unix-def:user_id>
24392 </unix-def:file_state>
24393 <unix-def:file_state id="oval:org.open-scap.f14:ste:20039" version="1">
24394 <unix-def:group_id datatype="int">0</unix-def:group_id>
24395 </unix-def:file_state>
24396 <unix-def:file_state id="oval:org.open-scap.f14:ste:20044" version="1">
24397 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:19"/>
24398 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:20"/>
24399 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:21"/>
24400 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:22"/>
24401 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:23"/>
24402 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:24"/>
24403 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:25"/>
24404 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:26"/>
24405 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:27"/>
24406 </unix-def:file_state>
24407 <unix-def:file_state id="oval:org.open-scap.f14:ste:20040" version="1">
24408 <unix-def:user_id datatype="int">0</unix-def:user_id>
24409 </unix-def:file_state>
24410 <unix-def:file_state id="oval:org.open-scap.f14:ste:20041" version="1">
24411 <unix-def:group_id datatype="int">0</unix-def:group_id>
24412 </unix-def:file_state>
24413 <unix-def:file_state id="oval:org.open-scap.f14:ste:20045" version="1">
24414 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:28"/>
24415 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:29"/>
24416 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:30"/>
24417 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:31"/>
24418 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:32"/>
24419 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:33"/>
24420 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:34"/>
24421 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:35"/>
24422 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:36"/>
24423 </unix-def:file_state>
24424 <unix-def:file_state id="oval:org.open-scap.f14:ste:20046" version="1">
24425 <unix-def:sticky datatype="boolean">1</unix-def:sticky>
24426 </unix-def:file_state>
24427 <unix-def:file_state id="oval:org.open-scap.f14:ste:200462" version="1">
24428 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24429 </unix-def:file_state>
24430 <unix-def:file_state id="oval:org.open-scap.f14:ste:200471" version="1">
24431 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24432 </unix-def:file_state>
24433 <unix-def:file_state id="oval:org.open-scap.f14:ste:200472" version="1">
24434 <unix-def:type datatype="string" operation="not equal">regular</unix-def:type>
24435 </unix-def:file_state>
24436 <unix-def:file_state id="oval:org.open-scap.f14:ste:200481" operator="OR" version="1">
24437 <unix-def:type operation="not equal">regular</unix-def:type>
24438 <unix-def:sgid datatype="boolean">0</unix-def:sgid>
24439 </unix-def:file_state>
24440 <unix-def:file_state id="oval:org.open-scap.f14:ste:200482" version="1">
24441 <unix-def:path>/sbin</unix-def:path>
24442 <unix-def:filename>netreport</unix-def:filename>
24443 </unix-def:file_state>
24444 <unix-def:file_state id="oval:org.open-scap.f14:ste:200483" version="1">
24445 <unix-def:path>/var/cache/jwhois</unix-def:path>
24446 <unix-def:filename>jwhois.db</unix-def:filename>
24447 </unix-def:file_state>
24448 <unix-def:file_state id="oval:org.open-scap.f14:ste:200484" version="1">
24449 <unix-def:path>/usr/sbin</unix-def:path>
24450 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200484"/>
24451 </unix-def:file_state>
24452 <unix-def:file_state id="oval:org.open-scap.f14:ste:200485" version="1">
24453 <unix-def:path>/usr/bin</unix-def:path>
24454 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:200485"/>
24455 </unix-def:file_state>
24456 <unix-def:file_state id="oval:org.open-scap.f14:ste:200486" version="1">
24457 <unix-def:path>/usr/libexec/utempter</unix-def:path>
24458 <unix-def:filename>utempter</unix-def:filename>
24459 </unix-def:file_state>
24460 <unix-def:file_state id="oval:org.open-scap.f14:ste:200487" version="1">
24461 <unix-def:path>/usr/lib/vte</unix-def:path>
24462 <unix-def:filename>gnome-pty-helper</unix-def:filename>
24463 </unix-def:file_state>
24464 <unix-def:file_state id="oval:org.open-scap.f14:ste:200488" version="1">
24465 <unix-def:path>/usr/lib64/vte</unix-def:path>
24466 <unix-def:filename>gnome-pty-helper</unix-def:filename>
24467 </unix-def:file_state>
24468 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004901" operator="OR" version="1">
24469 <unix-def:type operation="not equal">regular</unix-def:type>
24470 <unix-def:suid datatype="boolean">0</unix-def:suid>
24471 </unix-def:file_state>
24472 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004902" version="1">
24473 <unix-def:path>/bin</unix-def:path>
24474 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004902"/>
24475 </unix-def:file_state>
24476 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004903" version="1">
24477 <unix-def:path>/lib/dbus-1</unix-def:path>
24478 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
24479 </unix-def:file_state>
24480 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004904" version="1">
24481 <unix-def:path>/lib64/dbus-1</unix-def:path>
24482 <unix-def:filename>dbus-daemon-launch-helper</unix-def:filename>
24483 </unix-def:file_state>
24484 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004905" version="1">
24485 <unix-def:path>/sbin</unix-def:path>
24486 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004905"/>
24487 </unix-def:file_state>
24488 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004906" version="1">
24489 <unix-def:path>/usr/bin</unix-def:path>
24490 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004906"/>
24491 </unix-def:file_state>
24492 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004907" version="1">
24493 <unix-def:path>/usr/lib/nspluginwrapper</unix-def:path>
24494 <unix-def:filename>plugin-config</unix-def:filename>
24495 </unix-def:file_state>
24496 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004908" version="1">
24497 <unix-def:path>/usr/lib64/nspluginwrapper</unix-def:path>
24498 <unix-def:filename>plugin-config</unix-def:filename>
24499 </unix-def:file_state>
24500 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004909" version="1">
24501 <unix-def:path>/usr/libexec/kde4</unix-def:path>
24502 <unix-def:filename>kpac_dhcp_helper</unix-def:filename>
24503 </unix-def:file_state>
24504 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004910" version="1">
24505 <unix-def:path>/usr/libexec/news</unix-def:path>
24506 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004910"/>
24507 </unix-def:file_state>
24508 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004911" version="1">
24509 <unix-def:path>/usr/libexec/openssh</unix-def:path>
24510 <unix-def:filename>ssh-keysign</unix-def:filename>
24511 </unix-def:file_state>
24512 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004912" version="1">
24513 <unix-def:path>/usr/libexec/polkit-1</unix-def:path>
24514 <unix-def:filename>polkit-agent-helper-1</unix-def:filename>
24515 </unix-def:file_state>
24516 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004913" version="1">
24517 <unix-def:path>/usr/libexec</unix-def:path>
24518 <unix-def:filename>pt_chown</unix-def:filename>
24519 </unix-def:file_state>
24520 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004914" version="1">
24521 <unix-def:path>/usr/libexec/pulse</unix-def:path>
24522 <unix-def:filename>proximity-helper</unix-def:filename>
24523 </unix-def:file_state>
24524 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004915" version="1">
24525 <unix-def:path>/usr/sbin</unix-def:path>
24526 <unix-def:filename var_check="at least one" var_ref="oval:org.open-scap.f14:var:2004915"/>
24527 </unix-def:file_state>
24528 <unix-def:file_state id="oval:org.open-scap.f14:ste:2004916" version="1">
24529 <unix-def:path>/usr/share/BackupPC/sbin</unix-def:path>
24530 <unix-def:filename>BackupPC_Admin</unix-def:filename>
24531 </unix-def:file_state>
24532 <unix-def:file_state comment="Files with a valid user id assigned" id="oval:org.open-scap.f14:ste:20050" version="1">
24533 <unix-def:user_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20050"/>
24534 </unix-def:file_state>
24535 <unix-def:file_state comment="Files with a valid group id assigned" id="oval:org.open-scap.f14:ste:20051" version="1">
24536 <unix-def:group_id datatype="int" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20051"/>
24537 </unix-def:file_state>
24538 <unix-def:file_state id="oval:org.open-scap.f14:ste:20052" operator="OR" version="1">
24539 <unix-def:group_id datatype="int" operation="less than">500</unix-def:group_id>
24540 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24541 </unix-def:file_state>
24542 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20053" version="1">
24543 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20053"/>
24544 </ind-def:textfilecontent54_state>
24545 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20055" version="1">
24546 <ind-def:subexpression operation="equals">0</ind-def:subexpression>
24547 </ind-def:textfilecontent54_state>
24548 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20056" version="1">
24549 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24550 </ind-def:textfilecontent54_state>
24551 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20058" version="1">
24552 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
24553 </ind-def:textfilecontent54_state>
24554 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20057" version="1">
24555 <ind-def:subexpression datatype="int" operation="greater than or equal">1</ind-def:subexpression>
24556 </ind-def:textfilecontent54_state>
24557 <unix-def:password_state id="oval:org.open-scap.f14:ste:20068" version="1">
24558 <unix-def:user_id datatype="int" operation="less than">500</unix-def:user_id>
24559 <unix-def:login_shell operation="not equal">/sbin/nologin</unix-def:login_shell>
24560 </unix-def:password_state>
24561 <unix-def:password_state id="oval:org.open-scap.f14:ste:200695" version="1">
24562 <unix-def:password>x</unix-def:password>
24563 </unix-def:password_state>
24564 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20071" version="1">
24565 <ind-def:subexpression datatype="int" operation="greater than or equal" var_check="all" var_ref="oval:org.open-scap.f14:var:20071"/>
24566 </ind-def:textfilecontent54_state>
24567 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20072" version="1">
24568 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20072"/>
24569 </ind-def:textfilecontent54_state>
24570 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20073" version="1">
24571 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20073"/>
24572 </ind-def:textfilecontent54_state>
24573 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20074" version="1">
24574 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20074"/>
24575 </ind-def:textfilecontent54_state>
24576 <ind-def:textfilecontent54_state comment="retry" id="oval:org.open-scap.f14:ste:200781" version="1">
24577 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200781"/>
24578 </ind-def:textfilecontent54_state>
24579 <ind-def:textfilecontent54_state comment="minlen" id="oval:org.open-scap.f14:ste:200782" version="1">
24580 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200782"/>
24581 </ind-def:textfilecontent54_state>
24582 <ind-def:textfilecontent54_state comment="dcredit" id="oval:org.open-scap.f14:ste:200783" version="1">
24583 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200783"/>
24584 </ind-def:textfilecontent54_state>
24585 <ind-def:textfilecontent54_state comment="ucredit" id="oval:org.open-scap.f14:ste:200784" version="1">
24586 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200784"/>
24587 </ind-def:textfilecontent54_state>
24588 <ind-def:textfilecontent54_state comment="ocredit" id="oval:org.open-scap.f14:ste:200785" version="1">
24589 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200785"/>
24590 </ind-def:textfilecontent54_state>
24591 <ind-def:textfilecontent54_state comment="lcredit" id="oval:org.open-scap.f14:ste:200786" version="1">
24592 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200786"/>
24593 </ind-def:textfilecontent54_state>
24594 <ind-def:textfilecontent54_state comment="difok" id="oval:org.open-scap.f14:ste:200787" version="1">
24595 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:200787"/>
24596 </ind-def:textfilecontent54_state>
24597 <ind-def:variable_state comment="expected value of unlock_time" id="oval:org.open-scap.f14:ste:200800" version="1">
24598 <ind-def:value>0</ind-def:value>
24599 </ind-def:variable_state>
24600 <ind-def:textfilecontent54_state comment="deny" id="oval:org.open-scap.f14:ste:2008011" version="1">
24601 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200801"/>
24602 </ind-def:textfilecontent54_state>
24603 <ind-def:textfilecontent54_state comment="lock_time" id="oval:org.open-scap.f14:ste:2008012" version="1">
24604 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200802"/>
24605 </ind-def:textfilecontent54_state>
24606 <ind-def:textfilecontent54_state comment="unlock_time" id="oval:org.open-scap.f14:ste:2008013" version="1">
24607 <ind-def:subexpression datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:200803"/>
24608 </ind-def:textfilecontent54_state>
24609 <unix-def:file_state id="oval:org.open-scap.f14:ste:20081" version="1">
24610 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:200812"/>
24611 </unix-def:file_state>
24612 <unix-def:file_state id="oval:org.open-scap.f14:ste:20082" version="1">
24613 <unix-def:suid datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200820"/>
24614 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200821"/>
24615 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200822"/>
24616 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200823"/>
24617 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200824"/>
24618 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200825"/>
24619 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200826"/>
24620 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200827"/>
24621 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200828"/>
24622 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:200829"/>
24623 </unix-def:file_state>
24624 <ind-def:variable_state comment="hashing algorithm is md5" id="oval:org.open-scap.f14:ste:200831" version="1">
24625 <ind-def:value>md5</ind-def:value>
24626 </ind-def:variable_state>
24627 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200832" version="1">
24628 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24629 </ind-def:textfilecontent54_state>
24630 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200833" version="1">
24631 <ind-def:subexpression operation="case insensitive equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20083"/>
24632 </ind-def:textfilecontent54_state>
24633 <ind-def:variable_state comment="remember is set to 0" id="oval:org.open-scap.f14:ste:200841" version="1">
24634 <ind-def:value datatype="string">0</ind-def:value>
24635 </ind-def:variable_state>
24636 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:200842" version="1">
24637 <ind-def:subexpression datatype="string" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20084"/>
24638 </ind-def:textfilecontent54_state>
24639 <ind-def:environmentvariable_state comment="starts with . or :" id="oval:org.open-scap.f14:ste:200851" version="1">
24640 <ind-def:value operation="pattern match">^:|^\.</ind-def:value>
24641 </ind-def:environmentvariable_state>
24642 <ind-def:environmentvariable_state comment="ends with . or :" id="oval:org.open-scap.f14:ste:200852" version="1">
24643 <ind-def:value operation="pattern match">:$|\.$</ind-def:value>
24644 </ind-def:environmentvariable_state>
24645 <ind-def:environmentvariable_state comment="contains :.: or ::" id="oval:org.open-scap.f14:ste:200853" version="1">
24646 <ind-def:value operation="pattern match">:\.:|::</ind-def:value>
24647 </ind-def:environmentvariable_state>
24648 <unix-def:file_state comment="Group has NO write privilege" id="oval:org.open-scap.f14:ste:2008551" version="1">
24649 <unix-def:gwrite datatype="boolean">0</unix-def:gwrite>
24650 <unix-def:owrite datatype="boolean">0</unix-def:owrite>
24651 </unix-def:file_state>
24652 <unix-def:file_state id="oval:org.open-scap.f14:ste:200861" version="1">
24653 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24654 <unix-def:gwrite datatype="boolean">1</unix-def:gwrite>
24655 </unix-def:file_state>
24656 <unix-def:file_state id="oval:org.open-scap.f14:ste:200862" version="1">
24657 <unix-def:path datatype="string" operation="not equal">/home</unix-def:path>
24658 <unix-def:oread datatype="boolean">1</unix-def:oread>
24659 </unix-def:file_state>
24660 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20087" version="1">
24661 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20087"/>
24662 </ind-def:textfilecontent54_state>
24663 <unix-def:file_state id="oval:org.open-scap.f14:ste:20092" version="1">
24664 <unix-def:user_id datatype="int">0</unix-def:user_id>
24665 </unix-def:file_state>
24666 <unix-def:file_state id="oval:org.open-scap.f14:ste:20094" version="1">
24667 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:37"/>
24668 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:38"/>
24669 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:39"/>
24670 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:40"/>
24671 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:41"/>
24672 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:42"/>
24673 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:43"/>
24674 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:44"/>
24675 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:45"/>
24676 </unix-def:file_state>
24677 <unix-def:file_state id="oval:org.open-scap.f14:ste:20093" version="1">
24678 <unix-def:group_id datatype="int">0</unix-def:group_id>
24679 </unix-def:file_state>
24680 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20097" version="1">
24681 <ind-def:subexpression>no</ind-def:subexpression>
24682 </ind-def:textfilecontent54_state>
24683 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20098" version="1">
24684 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24685 </ind-def:textfilecontent54_state>
24686 <ind-def:xmlfilecontent_state comment="idle_delay (time before activation in minutes)" id="oval:org.open-scap.f14:ste:20100" version="1">
24687 <ind-def:value_of datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:20098"/>
24688 </ind-def:xmlfilecontent_state>
24689 <ind-def:xmlfilecontent_state comment="idle_activation_enabled (Activation when idle)" id="oval:org.open-scap.f14:ste:201005" version="1">
24690 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24691 </ind-def:xmlfilecontent_state>
24692 <ind-def:xmlfilecontent_state comment="lock_enabled (lock on Activation)" id="oval:org.open-scap.f14:ste:201006" version="1">
24693 <ind-def:value_of datatype="boolean" var_check="all">true</ind-def:value_of>
24694 </ind-def:xmlfilecontent_state>
24695 <ind-def:xmlfilecontent_state comment="mode (Screensaver theme selection mode)" id="oval:org.open-scap.f14:ste:201007" version="1">
24696 <ind-def:value_of datatype="string" var_check="all">blank-only</ind-def:value_of>
24697 </ind-def:xmlfilecontent_state>
24698 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20102" version="1">
24699 <ind-def:subexpression var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24700 </ind-def:textfilecontent54_state>
24701 <ind-def:xmlfilecontent_state comment="Logon banner" id="oval:org.open-scap.f14:ste:20103" version="1">
24702 <ind-def:value_of var_check="all" var_ref="oval:org.open-scap.f14:var:20102"/>
24703 </ind-def:xmlfilecontent_state>
24704 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20104" version="1">
24705 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24706 </ind-def:textfilecontent54_state>
24707 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20105" version="1">
24708 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24709 </ind-def:textfilecontent54_state>
24710 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20106" version="1">
24711 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20106"/>
24712 </ind-def:textfilecontent54_state>
24713 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20107" version="1">
24714 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20107"/>
24715 </ind-def:textfilecontent54_state>
24716 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20111" version="1">
24717 <unix-def:start datatype="boolean">false</unix-def:start>
24718 <unix-def:kill datatype="boolean">true</unix-def:kill>
24719 </unix-def:runlevel_state>
24720 <unix-def:runlevel_state comment="Define state of disableed service" id="oval:org.open-scap.f14:ste:20171" version="1">
24721 <unix-def:start datatype="boolean">false</unix-def:start>
24722 <unix-def:kill datatype="boolean">true</unix-def:kill>
24723 </unix-def:runlevel_state>
24724 <unix-def:runlevel_state comment="Define state of enabled service" id="oval:org.open-scap.f14:ste:20172" version="1">
24725 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24726 <unix-def:start datatype="boolean">true</unix-def:start>
24727 </unix-def:runlevel_state>
24728 <!-- shared states: subexpression == {0, 1} -->
24729 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201120" version="1">
24730 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24731 </ind-def:textfilecontent54_state>
24732 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201121" version="1">
24733 <ind-def:subexpression datatype="int" operation="equals">1</ind-def:subexpression>
24734 </ind-def:textfilecontent54_state>
24735 <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
24736 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20113" version="1">
24737 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24738 </ind-def:textfilecontent54_state>
24739 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20114" version="1">
24740 <ind-def:subexpression datatype="int" operation="equals">0</ind-def:subexpression>
24741 </ind-def:textfilecontent54_state>
24742 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20117" version="1">
24743 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20117"/>
24744 </ind-def:textfilecontent54_state>
24745 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20116" version="1">
24746 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20116"/>
24747 </ind-def:textfilecontent54_state>
24748 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20123" version="1">
24749 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20123"/>
24750 </ind-def:textfilecontent54_state>
24751 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20124" version="1">
24752 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20124"/>
24753 </ind-def:textfilecontent54_state>
24754 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20122" version="1">
24755 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20122"/>
24756 </ind-def:textfilecontent54_state>
24757 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20120" version="1">
24758 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20120"/>
24759 </ind-def:textfilecontent54_state>
24760 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20125" version="1">
24761 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20125"/>
24762 </ind-def:textfilecontent54_state>
24763 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20121" version="1">
24764 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20121"/>
24765 </ind-def:textfilecontent54_state>
24766 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20118" version="1">
24767 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20118"/>
24768 </ind-def:textfilecontent54_state>
24769 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20126" version="1">
24770 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20126"/>
24771 </ind-def:textfilecontent54_state>
24772 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20119" version="1">
24773 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20119"/>
24774 </ind-def:textfilecontent54_state>
24775 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20115" version="1">
24776 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20115"/>
24777 </ind-def:textfilecontent54_state>
24778 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20132" version="1">
24779 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24780 </ind-def:textfilecontent54_state>
24781 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20133" version="1">
24782 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24783 </ind-def:textfilecontent54_state>
24784 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20131" version="1">
24785 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
24786 </ind-def:textfilecontent54_state>
24787 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20134" version="1">
24788 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20134"/>
24789 </ind-def:textfilecontent54_state>
24790 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20140" version="1">
24791 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20140"/>
24792 </ind-def:textfilecontent54_state>
24793 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20145" version="1">
24794 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20145"/>
24795 </ind-def:textfilecontent54_state>
24796 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20139" version="1">
24797 <ind-def:subexpression operation="equals" var_check="at least one" var_ref="oval:org.open-scap.f14:var:20139"/>
24798 </ind-def:textfilecontent54_state>
24799 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20144" version="1">
24800 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20144"/>
24801 </ind-def:textfilecontent54_state>
24802 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20143" version="1">
24803 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20143"/>
24804 </ind-def:textfilecontent54_state>
24805 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20141" version="1">
24806 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20141"/>
24807 </ind-def:textfilecontent54_state>
24808 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20142" version="1">
24809 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20142"/>
24810 </ind-def:textfilecontent54_state>
24811 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:201745" version="1">
24812 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
24813 </ind-def:textfilecontent54_state>
24814 <unix-def:runlevel_state comment="Starts at runlevel 3 or 5 (with network)" id="oval:org.open-scap.f14:ste:20146" version="1">
24815 <unix-def:runlevel operation="pattern match">^[35]$</unix-def:runlevel>
24816 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24817 </unix-def:runlevel_state>
24818 <unix-def:runlevel_state comment="Starts at runlevel 2, 3, 4 or 5" id="oval:org.open-scap.f14:ste:20148" version="1">
24819 <unix-def:runlevel operation="pattern match">^[2345]$</unix-def:runlevel>
24820 <unix-def:start datatype="boolean" operation="equals">true</unix-def:start>
24821 </unix-def:runlevel_state>
24822 <unix-def:file_state id="oval:org.open-scap.f14:ste:20149" version="1">
24823 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:201491"/>
24824 </unix-def:file_state>
24825 <unix-def:file_state id="oval:org.open-scap.f14:ste:20150" version="1">
24826 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:201502"/>
24827 </unix-def:file_state>
24828 <unix-def:file_state id="oval:org.open-scap.f14:ste:20151" version="1">
24829 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201510"/>
24830 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201511"/>
24831 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201512"/>
24832 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201513"/>
24833 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201514"/>
24834 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201515"/>
24835 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201516"/>
24836 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201517"/>
24837 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:201518"/>
24838 </unix-def:file_state>
24839 <unix-def:runlevel_state id="oval:org.open-scap.f14:ste:20156" version="1">
24840 <unix-def:start datatype="boolean">true</unix-def:start>
24841 <unix-def:kill datatype="boolean">false</unix-def:kill>
24842 </unix-def:runlevel_state>
24843 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201670" version="1">
24844 <unix-def:processor_type operation="pattern match">^i386$|^i686$</unix-def:processor_type>
24845 </unix-def:uname_state>
24846 <unix-def:uname_state id="oval:org.open-scap.f14:ste:201672" version="1">
24847 <unix-def:processor_type operation="pattern match">^x86_64$|^ia64$|</unix-def:processor_type>
24848 </unix-def:uname_state>
24849 <unix-def:file_state id="oval:org.open-scap.f14:ste:20217" version="1">
24850 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24851 </unix-def:file_state>
24852 <unix-def:file_state id="oval:org.open-scap.f14:ste:20225" version="1">
24853 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:46"/>
24854 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:47"/>
24855 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:48"/>
24856 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:49"/>
24857 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:50"/>
24858 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:51"/>
24859 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:52"/>
24860 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:53"/>
24861 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:54"/>
24862 </unix-def:file_state>
24863 <unix-def:file_state id="oval:org.open-scap.f14:ste:20216" version="1">
24864 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24865 </unix-def:file_state>
24866 <unix-def:file_state id="oval:org.open-scap.f14:ste:20209" version="1">
24867 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202091"/>
24868 </unix-def:file_state>
24869 <unix-def:file_state id="oval:org.open-scap.f14:ste:20212" version="1">
24870 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202121"/>
24871 </unix-def:file_state>
24872 <unix-def:file_state id="oval:org.open-scap.f14:ste:20210" version="1">
24873 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:55"/>
24874 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:56"/>
24875 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:57"/>
24876 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:58"/>
24877 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:59"/>
24878 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:60"/>
24879 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:61"/>
24880 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:62"/>
24881 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:63"/>
24882 </unix-def:file_state>
24883 <unix-def:file_state id="oval:org.open-scap.f14:ste:20214" version="1">
24884 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24885 </unix-def:file_state>
24886 <unix-def:file_state id="oval:org.open-scap.f14:ste:20222" version="1">
24887 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24888 </unix-def:file_state>
24889 <unix-def:file_state id="oval:org.open-scap.f14:ste:20218" version="1">
24890 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24891 </unix-def:file_state>
24892 <unix-def:file_state id="oval:org.open-scap.f14:ste:20223" version="1">
24893 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24894 </unix-def:file_state>
24895 <unix-def:file_state id="oval:org.open-scap.f14:ste:20221" version="1">
24896 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24897 </unix-def:file_state>
24898 <unix-def:file_state id="oval:org.open-scap.f14:ste:20211" version="1">
24899 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202112"/>
24900 </unix-def:file_state>
24901 <unix-def:file_state id="oval:org.open-scap.f14:ste:20224" version="1">
24902 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:64"/>
24903 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:65"/>
24904 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:66"/>
24905 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:67"/>
24906 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:68"/>
24907 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:69"/>
24908 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:70"/>
24909 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:71"/>
24910 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:72"/>
24911 </unix-def:file_state>
24912 <unix-def:file_state id="oval:org.open-scap.f14:ste:20219" version="1">
24913 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24914 </unix-def:file_state>
24915 <unix-def:file_state id="oval:org.open-scap.f14:ste:20208" version="1">
24916 <unix-def:group_id datatype="int" var_check="all" var_ref="oval:org.open-scap.f14:var:202082"/>
24917 </unix-def:file_state>
24918 <unix-def:file_state id="oval:org.open-scap.f14:ste:20220" version="1">
24919 <unix-def:user_id datatype="int" var_ref="oval:org.open-scap.f14:var:202191"/>
24920 </unix-def:file_state>
24921 <unix-def:file_state id="oval:org.open-scap.f14:ste:20213" version="1">
24922 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:73"/>
24923 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:74"/>
24924 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:75"/>
24925 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:76"/>
24926 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:77"/>
24927 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:78"/>
24928 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:79"/>
24929 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:80"/>
24930 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:81"/>
24931 </unix-def:file_state>
24932 <unix-def:file_state id="oval:org.open-scap.f14:ste:20226" version="1">
24933 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:82"/>
24934 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:83"/>
24935 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:84"/>
24936 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:85"/>
24937 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:86"/>
24938 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:87"/>
24939 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:88"/>
24940 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:89"/>
24941 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:90"/>
24942 </unix-def:file_state>
24943 <unix-def:file_state id="oval:org.open-scap.f14:ste:20227" version="1">
24944 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:91"/>
24945 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:92"/>
24946 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:93"/>
24947 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:94"/>
24948 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:95"/>
24949 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:96"/>
24950 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:97"/>
24951 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:98"/>
24952 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:99"/>
24953 </unix-def:file_state>
24954 <unix-def:file_state id="oval:org.open-scap.f14:ste:20215" version="1">
24955 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202142"/>
24956 </unix-def:file_state>
24957 <unix-def:file_state id="oval:org.open-scap.f14:ste:20228" version="1">
24958 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:100"/>
24959 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:101"/>
24960 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:102"/>
24961 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:103"/>
24962 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:104"/>
24963 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:105"/>
24964 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:106"/>
24965 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:107"/>
24966 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:108"/>
24967 </unix-def:file_state>
24968 <unix-def:file_state id="oval:org.open-scap.f14:ste:20229" version="1">
24969 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202292"/>
24970 </unix-def:file_state>
24971 <unix-def:file_state id="oval:org.open-scap.f14:ste:20230" version="1">
24972 <unix-def:group_id datatype="int" var_ref="oval:org.open-scap.f14:var:202302"/>
24973 </unix-def:file_state>
24974 <unix-def:file_state id="oval:org.open-scap.f14:ste:20231" version="1">
24975 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:160"/>
24976 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:161"/>
24977 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:162"/>
24978 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:163"/>
24979 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:164"/>
24980 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:165"/>
24981 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:166"/>
24982 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:167"/>
24983 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:168"/>
24984 </unix-def:file_state>
24985 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:86" version="1">
24986 <ind-def:subexpression datatype="int" operation="pattern match" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24987 </ind-def:textfilecontent54_state>
24988 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:87" version="1">
24989 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20246"/>
24990 </ind-def:textfilecontent54_state>
24991 <ind-def:textfilecontent54_state comment="ClientAliveInterval in seconds" id="oval:org.open-scap.f14:ste:20239" version="1">
24992 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20239"/>
24993 </ind-def:textfilecontent54_state>
24994 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20240" version="1">
24995 <ind-def:subexpression datatype="int" operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20240"/>
24996 </ind-def:textfilecontent54_state>
24997 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:202456" version="1">
24998 <ind-def:subexpression operation="equals">aes128-ctr,aes192-ctr,aes256-ctr</ind-def:subexpression>
24999 </ind-def:textfilecontent54_state>
25000 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20253" version="1">
25001 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25002 </ind-def:textfilecontent54_state>
25003 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20254" version="1">
25004 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25005 </ind-def:textfilecontent54_state>
25006 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20255" version="1">
25007 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25008 </ind-def:textfilecontent54_state>
25009 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20256" version="1">
25010 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25011 </ind-def:textfilecontent54_state>
25012 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20257" version="1">
25013 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25014 </ind-def:textfilecontent54_state>
25015 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20258" version="1">
25016 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25017 </ind-def:textfilecontent54_state>
25018 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20259" version="1">
25019 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25020 </ind-def:textfilecontent54_state>
25021 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20260" version="1">
25022 <ind-def:subexpression operation="equals">no</ind-def:subexpression>
25023 </ind-def:textfilecontent54_state>
25024 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20264" version="1">
25025 <ind-def:subexpression operation="equals">off</ind-def:subexpression>
25026 </ind-def:textfilecontent54_state>
25027 <unix-def:file_state id="oval:org.open-scap.f14:ste:20290" version="1">
25028 <unix-def:group_id datatype="int">0</unix-def:group_id>
25029 </unix-def:file_state>
25030 <unix-def:file_state id="oval:org.open-scap.f14:ste:20291" version="1">
25031 <unix-def:user_id datatype="int">0</unix-def:user_id>
25032 </unix-def:file_state>
25033 <unix-def:file_state id="oval:org.open-scap.f14:ste:20313" version="1">
25034 <unix-def:group_id datatype="int">0</unix-def:group_id>
25035 </unix-def:file_state>
25036 <unix-def:file_state id="oval:org.open-scap.f14:ste:20315" version="1">
25037 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:109"/>
25038 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:110"/>
25039 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:111"/>
25040 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:112"/>
25041 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:113"/>
25042 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:114"/>
25043 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:115"/>
25044 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:116"/>
25045 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:117"/>
25046 </unix-def:file_state>
25047 <unix-def:file_state id="oval:org.open-scap.f14:ste:20314" version="1">
25048 <unix-def:user_id datatype="int">0</unix-def:user_id>
25049 </unix-def:file_state>
25050 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20324" version="1">
25051 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20324"/>
25052 </ind-def:textfilecontent54_state>
25053 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20325" version="1">
25054 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20325"/>
25055 </ind-def:textfilecontent54_state>
25056 <unix-def:file_state id="oval:org.open-scap.f14:ste:20326" version="1">
25057 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:118"/>
25058 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:119"/>
25059 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:120"/>
25060 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:121"/>
25061 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:122"/>
25062 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:123"/>
25063 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:124"/>
25064 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:125"/>
25065 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:126"/>
25066 </unix-def:file_state>
25067 <unix-def:file_state id="oval:org.open-scap.f14:ste:20327" version="1">
25068 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:127"/>
25069 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:128"/>
25070 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:129"/>
25071 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:130"/>
25072 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:131"/>
25073 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:132"/>
25074 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:133"/>
25075 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:134"/>
25076 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:135"/>
25077 </unix-def:file_state>
25078 <unix-def:file_state id="oval:org.open-scap.f14:ste:20328" version="1">
25079 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:136"/>
25080 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:137"/>
25081 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:138"/>
25082 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:139"/>
25083 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:140"/>
25084 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:141"/>
25085 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:142"/>
25086 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:143"/>
25087 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:144"/>
25088 </unix-def:file_state>
25089 <unix-def:file_state id="oval:org.open-scap.f14:ste:20329" version="1">
25090 <unix-def:group_id datatype="int">0</unix-def:group_id>
25091 </unix-def:file_state>
25092 <unix-def:file_state id="oval:org.open-scap.f14:ste:20330" version="1">
25093 <unix-def:uread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:145"/>
25094 <unix-def:uwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:146"/>
25095 <unix-def:uexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:147"/>
25096 <unix-def:gread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:148"/>
25097 <unix-def:gwrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:149"/>
25098 <unix-def:gexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:150"/>
25099 <unix-def:oread datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:151"/>
25100 <unix-def:owrite datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:152"/>
25101 <unix-def:oexec datatype="boolean" var_check="all" var_ref="oval:org.open-scap.f14:var:153"/>
25102 </unix-def:file_state>
25103 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20337" version="1">
25104 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25105 </ind-def:textfilecontent54_state>
25106 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20338" version="1">
25107 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25108 </ind-def:textfilecontent54_state>
25109 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20339" version="1">
25110 <ind-def:subexpression operation="equals">yes</ind-def:subexpression>
25111 </ind-def:textfilecontent54_state>
25112 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340111" version="1">
25113 <ind-def:instance datatype="int">1</ind-def:instance>
25114 <ind-def:subexpression operation="not equal">cifs</ind-def:subexpression>
25115 </ind-def:textfilecontent54_state>
25116 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20340112" version="1">
25117 <ind-def:instance datatype="int">2</ind-def:instance>
25118 <ind-def:subexpression operation="pattern match">sec=(krb5i|ntlmv2i)</ind-def:subexpression>
25119 </ind-def:textfilecontent54_state>
25120 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20343" version="1">
25121 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25122 </ind-def:textfilecontent54_state>
25123 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20346" version="1">
25124 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20346"/>
25125 </ind-def:textfilecontent54_state>
25126 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20345" version="1">
25127 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25128 </ind-def:textfilecontent54_state>
25129 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20350" version="1">
25130 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25131 </ind-def:textfilecontent54_state>
25132 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20347" version="1">
25133 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20347"/>
25134 </ind-def:textfilecontent54_state>
25135 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20348" version="1">
25136 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20348"/>
25137 </ind-def:textfilecontent54_state>
25138 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20344" version="1">
25139 <ind-def:subexpression operation="equals">on</ind-def:subexpression>
25140 </ind-def:textfilecontent54_state>
25141 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20349" version="1">
25142 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20349"/>
25143 </ind-def:textfilecontent54_state>
25144 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20353" version="1">
25145 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20353"/>
25146 </ind-def:textfilecontent54_state>
25147 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20354" version="1">
25148 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20354"/>
25149 </ind-def:textfilecontent54_state>
25150 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20351" version="1">
25151 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20351"/>
25152 </ind-def:textfilecontent54_state>
25153 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20352" version="1">
25154 <ind-def:subexpression operation="equals" var_check="all" var_ref="oval:org.open-scap.f14:var:20352"/>
25155 </ind-def:textfilecontent54_state>
25156 <ind-def:textfilecontent54_state id="oval:org.open-scap.f14:ste:20070" version="1">
25157 <ind-def:subexpression operation="equals">root</ind-def:subexpression>
25158 </ind-def:textfilecontent54_state>
25159 </states>
25160 <variables>
25161 <external_variable comment="External variable for definition 20042" datatype="string" id="oval:org.open-scap.f14:var:20042" version="1"/>
25162 <external_variable comment="External variable for definition 20043" datatype="string" id="oval:org.open-scap.f14:var:20043" version="1"/>
25163 <external_variable comment="External variable for definition 20044" datatype="string" id="oval:org.open-scap.f14:var:20044" version="1"/>
25164 <external_variable comment="External variable for definition 20045" datatype="string" id="oval:org.open-scap.f14:var:20045" version="1"/>
25165 <external_variable comment="External variable for definition 20053" datatype="int" id="oval:org.open-scap.f14:var:20053" version="1"/>
25166 <external_variable comment="External variable for definition 20071" datatype="int" id="oval:org.open-scap.f14:var:20071" version="1"/>
25167 <!-- val:org.fedoraproject.f14:def:20071 -->
25168 <external_variable comment="External variable for definition 20072" datatype="string" id="oval:org.open-scap.f14:var:20072" version="1"/>
25169 <external_variable comment="External variable for definition 20073" datatype="string" id="oval:org.open-scap.f14:var:20073" version="1"/>
25170 <external_variable comment="External variable for definition 20074" datatype="string" id="oval:org.open-scap.f14:var:20074" version="1"/>
25171 <external_variable comment="External variable for definition 200781" datatype="int" id="oval:org.open-scap.f14:var:200781" version="1"/>
25172 <external_variable comment="External variable for definition 200782" datatype="int" id="oval:org.open-scap.f14:var:200782" version="1"/>
25173 <external_variable comment="External variable for definition 200783" datatype="int" id="oval:org.open-scap.f14:var:200783" version="1"/>
25174 <external_variable comment="External variable for definition 200784" datatype="int" id="oval:org.open-scap.f14:var:200784" version="1"/>
25175 <external_variable comment="External variable for definition 200785" datatype="int" id="oval:org.open-scap.f14:var:200785" version="1"/>
25176 <external_variable comment="External variable for definition 200786" datatype="int" id="oval:org.open-scap.f14:var:200786" version="1"/>
25177 <external_variable comment="External variable for definition 200787" datatype="int" id="oval:org.open-scap.f14:var:200787" version="1"/>
25178 <external_variable comment="External variable for definition 20080 deny" datatype="int" id="oval:org.open-scap.f14:var:200801" version="1"/>
25179 <external_variable comment="External variable for definition 20080 lock_time" datatype="int" id="oval:org.open-scap.f14:var:200802" version="1"/>
25180 <external_variable comment="External variable for definition 20080 unlock_time" datatype="int" id="oval:org.open-scap.f14:var:200803" version="1"/>
25181 <external_variable comment="External variable for definition 20081" datatype="string" id="oval:org.open-scap.f14:var:20081" version="1"/>
25182 <external_variable comment="External variable for definition 20082" datatype="string" id="oval:org.open-scap.f14:var:20082" version="1"/>
25183 <external_variable comment="External variable for definition 20083 Password hashing algorithm" datatype="string" id="oval:org.open-scap.f14:var:20083" version="1"/>
25184 <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"/>
25185 <external_variable comment="External variable for definition 20087 - 20090" datatype="string" id="oval:org.open-scap.f14:var:20087" version="1"/>
25186 <external_variable comment="External variable for definition 20092" datatype="string" id="oval:org.open-scap.f14:var:20092" version="1"/>
25187 <external_variable comment="External variable for definition 20094" datatype="string" id="oval:org.open-scap.f14:var:20094" version="1"/>
25188 <external_variable comment="External variable for definition 20093" datatype="string" id="oval:org.open-scap.f14:var:20093" version="1"/>
25189 <external_variable comment="External variable for definitions 20098 20100" datatype="int" id="oval:org.open-scap.f14:var:20098" version="1"/>
25190 <external_variable comment="External variable for definitions 20099" datatype="int" id="oval:org.open-scap.f14:var:20099" version="1"/>
25191 <!-- turn minutes into seconds -->
25192 <external_variable comment="External variable for definitions 200102 20103 Warning Banner" datatype="string" id="oval:org.open-scap.f14:var:20102" version="1"/>
25193 <external_variable comment="External variable for definition 20106" datatype="string" id="oval:org.open-scap.f14:var:20106" version="1"/>
25194 <external_variable comment="External variable for definition 20107" datatype="string" id="oval:org.open-scap.f14:var:20107" version="1"/>
25195 <external_variable comment="External variable for definition 20115" datatype="string" id="oval:org.open-scap.f14:var:20115" version="1"/>
25196 <external_variable comment="External variable for definition 20116" datatype="string" id="oval:org.open-scap.f14:var:20116" version="1"/>
25197 <external_variable comment="External variable for definition 20117" datatype="string" id="oval:org.open-scap.f14:var:20117" version="1"/>
25198 <external_variable comment="External variable for definition 20118" datatype="string" id="oval:org.open-scap.f14:var:20118" version="1"/>
25199 <external_variable comment="External variable for definition 20119" datatype="string" id="oval:org.open-scap.f14:var:20119" version="1"/>
25200 <external_variable comment="External variable for definition 20120" datatype="string" id="oval:org.open-scap.f14:var:20120" version="1"/>
25201 <external_variable comment="External variable for definition 20121" datatype="string" id="oval:org.open-scap.f14:var:20121" version="1"/>
25202 <external_variable comment="External variable for definition 20122" datatype="string" id="oval:org.open-scap.f14:var:20122" version="1"/>
25203 <external_variable comment="External variable for definition 20123" datatype="string" id="oval:org.open-scap.f14:var:20123" version="1"/>
25204 <external_variable comment="External variable for definition 20124" datatype="string" id="oval:org.open-scap.f14:var:20124" version="1"/>
25205 <external_variable comment="External variable for definition 20125" datatype="string" id="oval:org.open-scap.f14:var:20125" version="1"/>
25206 <external_variable comment="External variable for definition 20126" datatype="string" id="oval:org.open-scap.f14:var:20126" version="1"/>
25207 <external_variable comment="External variable for definition 20134" datatype="string" id="oval:org.open-scap.f14:var:20134" version="1"/>
25208 <external_variable comment="External variable for definition 20135" datatype="string" id="oval:org.open-scap.f14:var:20135" version="1"/>
25209 <external_variable comment="External variable for definition 20136" datatype="string" id="oval:org.open-scap.f14:var:20136" version="1"/>
25210 <external_variable comment="External variable for definition 20137" datatype="string" id="oval:org.open-scap.f14:var:20137" version="1"/>
25211 <external_variable comment="External variable for definition 20138" datatype="string" id="oval:org.open-scap.f14:var:20138" version="1"/>
25212 <external_variable comment="External variable for definition 20139" datatype="string" id="oval:org.open-scap.f14:var:20139" version="1"/>
25213 <external_variable comment="External variable for definition 20140" datatype="string" id="oval:org.open-scap.f14:var:20140" version="1"/>
25214 <external_variable comment="External variable for definition 20141" datatype="string" id="oval:org.open-scap.f14:var:20141" version="1"/>
25215 <external_variable comment="External variable for definition 20142" datatype="string" id="oval:org.open-scap.f14:var:20142" version="1"/>
25216 <external_variable comment="External variable for definition 20143" datatype="string" id="oval:org.open-scap.f14:var:20143" version="1"/>
25217 <external_variable comment="External variable for definition 20144" datatype="string" id="oval:org.open-scap.f14:var:20144" version="1"/>
25218 <external_variable comment="External variable for definition 20145" datatype="string" id="oval:org.open-scap.f14:var:20145" version="1"/>
25219 <external_variable comment="External variable for definition 20149" datatype="string" id="oval:org.open-scap.f14:var:20149" version="1"/>
25220 <external_variable comment="External variable for definition 20150" datatype="string" id="oval:org.open-scap.f14:var:20150" version="1"/>
25221 <external_variable comment="External variable for definition 20151" datatype="string" id="oval:org.open-scap.f14:var:20151" version="1"/>
25222 <external_variable comment="External variable for definition 20208" datatype="string" id="oval:org.open-scap.f14:var:20208" version="1"/>
25223 <external_variable comment="External variable for definition 20209" datatype="string" id="oval:org.open-scap.f14:var:20209" version="1"/>
25224 <external_variable comment="External variable for definition 20210" datatype="string" id="oval:org.open-scap.f14:var:20210" version="1"/>
25225 <external_variable comment="External variable for definition 20211" datatype="string" id="oval:org.open-scap.f14:var:20211" version="1"/>
25226 <external_variable comment="External variable for definition 20212" datatype="string" id="oval:org.open-scap.f14:var:20212" version="1"/>
25227 <external_variable comment="External variable for definition 20213" datatype="string" id="oval:org.open-scap.f14:var:20213" version="1"/>
25228 <external_variable comment="External variable for definition 20214 20216 20217 20218" datatype="string" id="oval:org.open-scap.f14:var:20214" version="1"/>
25229 <external_variable comment="External variable for definition 20219 20220 20221 20222 20223" datatype="string" id="oval:org.open-scap.f14:var:20219" version="1"/>
25230 <external_variable comment="External variable for definition 20224 20225 20226 20227 20228" datatype="string" id="oval:org.open-scap.f14:var:20224" version="1"/>
25231 <external_variable comment="External variable for definition 20229" datatype="string" id="oval:org.open-scap.f14:var:20229" version="1"/>
25232 <external_variable comment="External variable for definition 20230" datatype="string" id="oval:org.open-scap.f14:var:20230" version="1"/>
25233 <external_variable comment="External variable for definition 20231" datatype="string" id="oval:org.open-scap.f14:var:20231" version="1"/>
25234 <external_variable comment="External variable for ClientActiveinterval in definition 20239" datatype="int" id="oval:org.open-scap.f14:var:20239" version="1"/>
25235 <external_variable comment="External variable for ClientAliveCountMax in definition 20240" datatype="int" id="oval:org.open-scap.f14:var:20240" version="1"/>
25236 <external_variable comment="External variable for definition 20246" datatype="string" id="oval:org.open-scap.f14:var:20246" version="1"/>
25237 <external_variable comment="External variable for definition 20262" datatype="string" id="oval:org.open-scap.f14:var:20262" version="1"/>
25238 <external_variable comment="External variable for definition 20264" datatype="string" id="oval:org.open-scap.f14:var:20264" version="1"/>
25239 <external_variable comment="External variable for definition 20267" datatype="string" id="oval:org.open-scap.f14:var:20267" version="1"/>
25240 <external_variable comment="External variable for definition 20290" datatype="string" id="oval:org.open-scap.f14:var:20290" version="1"/>
25241 <external_variable comment="External variable for definition 20291" datatype="string" id="oval:org.open-scap.f14:var:20291" version="1"/>
25242 <external_variable comment="External variable for definition 20313" datatype="string" id="oval:org.open-scap.f14:var:20313" version="1"/>
25243 <external_variable comment="External variable for definition 20314" datatype="string" id="oval:org.open-scap.f14:var:20314" version="1"/>
25244 <external_variable comment="External variable for definition 20315" datatype="string" id="oval:org.open-scap.f14:var:20315" version="1"/>
25245 <external_variable comment="External variable for definition 20324" datatype="string" id="oval:org.open-scap.f14:var:20324" version="1"/>
25246 <external_variable comment="External variable for definition 20325" datatype="string" id="oval:org.open-scap.f14:var:20325" version="1"/>
25247 <external_variable comment="External variable for definition 20326" datatype="string" id="oval:org.open-scap.f14:var:20326" version="1"/>
25248 <external_variable comment="External variable for definition 20327" datatype="string" id="oval:org.open-scap.f14:var:20327" version="1"/>
25249 <external_variable comment="External variable for definition 20328" datatype="string" id="oval:org.open-scap.f14:var:20328" version="1"/>
25250 <external_variable comment="External variable for definition 20329" datatype="string" id="oval:org.open-scap.f14:var:20329" version="1"/>
25251 <external_variable comment="External variable for definition 20330" datatype="string" id="oval:org.open-scap.f14:var:20330" version="1"/>
25252 <external_variable comment="External variable for definition 20346" datatype="string" id="oval:org.open-scap.f14:var:20346" version="1"/>
25253 <external_variable comment="External variable for definition 20347" datatype="string" id="oval:org.open-scap.f14:var:20347" version="1"/>
25254 <external_variable comment="External variable for definition 20348" datatype="string" id="oval:org.open-scap.f14:var:20348" version="1"/>
25255 <external_variable comment="External variable for definition 20349" datatype="string" id="oval:org.open-scap.f14:var:20349" version="1"/>
25256 <external_variable comment="External variable for definition 20351" datatype="string" id="oval:org.open-scap.f14:var:20351" version="1"/>
25257 <external_variable comment="External variable for definition 20352" datatype="string" id="oval:org.open-scap.f14:var:20352" version="1"/>
25258 <external_variable comment="External variable for definition 20353" datatype="string" id="oval:org.open-scap.f14:var:20353" version="1"/>
25259 <external_variable comment="External variable for definition 20354" datatype="string" id="oval:org.open-scap.f14:var:20354" version="1"/>
25260 <!--
25261 <local_variable id="oval:org.open-scap.f14:var:201490" version="1" datatype="string" comment="list of paths in /etc/syslog.conf" >
25262 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201490"/>
25263 </local_variable>
25264 -->
25265 <!--
25266 <constant_variable id="oval:org.open-scap.f14:var:20107" version="1" datatype="string" comment="foo">
25267 <value>targeted</value>
25268 </constant_variable>
25269 -->
25270 <constant_variable comment="Filenames of mandatory log files" datatype="string" id="oval:org.open-scap.f14:var:201490" version="1">
25271 <value>cron</value>
25272 <value>messages</value>
25273 <value>secure</value>
25274 <value>maillog</value>
25275 <!--
25276 <value>boot.log</value>
25277 <value>faillog</value>
25278 <value>dmesg</value>
25279 <value>audit</value>
25280 <value>lastlog</value>
25281 -->
25282 </constant_variable>
25283 <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">
25284 <value>lockdev</value>
25285 <value>sendmail.sendmail</value>
25286 </constant_variable>
25287 <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">
25288 <value>write</value>
25289 <value>locate</value>
25290 <value>ssh-agent</value>
25291 <value>wall</value>
25292 <value>screen</value>
25293 <value>lockfile</value>
25294 <value>gnomine</value>
25295 <value>jwhois</value>
25296 <value>iagno</value>
25297 <value>crontab</value>
25298 </constant_variable>
25299 <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">
25300 <value>cgexec</value>
25301 <value>fusermount</value>
25302 <value>mount</value>
25303 <value>ping</value>
25304 <value>ping6</value>
25305 <value>su</value>
25306 <value>umount</value>
25307 </constant_variable>
25308 <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">
25309 <value>mount.nfs</value>
25310 <value>pam_timestamp_check</value>
25311 <value>unix_chkpwd</value>
25312 </constant_variable>
25313 <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">
25314 <value>Xorg</value>
25315 <value>at</value>
25316 <value>chage</value>
25317 <value>chfn</value>
25318 <value>chsh</value>
25319 <value>crontab</value>
25320 <value>gpasswd</value>
25321 <value>ksu</value>
25322 <value>newgrp</value>
25323 <value>passwd</value>
25324 <value>pkexec</value>
25325 <value>rcp</value>
25326 <value>rlogin</value>
25327 <value>rsh</value>
25328 <value>staprun</value>
25329 <value>sudo</value>
25330 <value>sudoedit</value>
25331 </constant_variable>
25332 <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">
25333 <value>innbind</value>
25334 <value>rnews</value>
25335 </constant_variable>
25336 <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">
25337 <value>ccreds_chkpwd</value>
25338 <value>mtr</value>
25339 <value>seunshare</value>
25340 <value>suexec</value>
25341 <value>userhelper</value>
25342 <value>usernetctl</value>
25343 <value>userisdnctl</value>
25344 </constant_variable>
25345 <constant_variable comment="Regexp pattern for xinetd services" datatype="string" id="oval:org.open-scap.f14:var:2017" version="1">
25346 <value>^[[:space:]]+disable[[:space:]]*=[[:space:]]*(yes|no)</value>
25347 </constant_variable>
25348 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:1" version="1">
25349 <substring substring_length="1" substring_start="1">
25350 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25351 </substring>
25352 </local_variable>
25353 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:2" version="1">
25354 <substring substring_length="1" substring_start="2">
25355 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25356 </substring>
25357 </local_variable>
25358 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:3" version="1">
25359 <substring substring_length="1" substring_start="3">
25360 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25361 </substring>
25362 </local_variable>
25363 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:4" version="1">
25364 <substring substring_length="1" substring_start="4">
25365 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25366 </substring>
25367 </local_variable>
25368 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:5" version="1">
25369 <substring substring_length="1" substring_start="5">
25370 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25371 </substring>
25372 </local_variable>
25373 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:6" version="1">
25374 <substring substring_length="1" substring_start="6">
25375 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25376 </substring>
25377 </local_variable>
25378 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:7" version="1">
25379 <substring substring_length="1" substring_start="7">
25380 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25381 </substring>
25382 </local_variable>
25383 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:8" version="1">
25384 <substring substring_length="1" substring_start="8">
25385 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25386 </substring>
25387 </local_variable>
25388 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:9" version="1">
25389 <substring substring_length="1" substring_start="9">
25390 <variable_component var_ref="oval:org.open-scap.f14:var:20042"/>
25391 </substring>
25392 </local_variable>
25393 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:10" version="1">
25394 <substring substring_length="1" substring_start="1">
25395 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25396 </substring>
25397 </local_variable>
25398 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:11" version="1">
25399 <substring substring_length="1" substring_start="2">
25400 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25401 </substring>
25402 </local_variable>
25403 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:12" version="1">
25404 <substring substring_length="1" substring_start="3">
25405 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25406 </substring>
25407 </local_variable>
25408 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:13" version="1">
25409 <substring substring_length="1" substring_start="4">
25410 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25411 </substring>
25412 </local_variable>
25413 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:14" version="1">
25414 <substring substring_length="1" substring_start="5">
25415 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25416 </substring>
25417 </local_variable>
25418 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:15" version="1">
25419 <substring substring_length="1" substring_start="6">
25420 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25421 </substring>
25422 </local_variable>
25423 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:16" version="1">
25424 <substring substring_length="1" substring_start="7">
25425 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25426 </substring>
25427 </local_variable>
25428 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:17" version="1">
25429 <substring substring_length="1" substring_start="8">
25430 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25431 </substring>
25432 </local_variable>
25433 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:18" version="1">
25434 <substring substring_length="1" substring_start="9">
25435 <variable_component var_ref="oval:org.open-scap.f14:var:20043"/>
25436 </substring>
25437 </local_variable>
25438 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:19" version="1">
25439 <substring substring_length="1" substring_start="1">
25440 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25441 </substring>
25442 </local_variable>
25443 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:20" version="1">
25444 <substring substring_length="1" substring_start="2">
25445 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25446 </substring>
25447 </local_variable>
25448 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:21" version="1">
25449 <substring substring_length="1" substring_start="3">
25450 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25451 </substring>
25452 </local_variable>
25453 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:22" version="1">
25454 <substring substring_length="1" substring_start="4">
25455 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25456 </substring>
25457 </local_variable>
25458 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:23" version="1">
25459 <substring substring_length="1" substring_start="5">
25460 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25461 </substring>
25462 </local_variable>
25463 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:24" version="1">
25464 <substring substring_length="1" substring_start="6">
25465 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25466 </substring>
25467 </local_variable>
25468 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:25" version="1">
25469 <substring substring_length="1" substring_start="7">
25470 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25471 </substring>
25472 </local_variable>
25473 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:26" version="1">
25474 <substring substring_length="1" substring_start="8">
25475 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25476 </substring>
25477 </local_variable>
25478 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:27" version="1">
25479 <substring substring_length="1" substring_start="9">
25480 <variable_component var_ref="oval:org.open-scap.f14:var:20044"/>
25481 </substring>
25482 </local_variable>
25483 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:28" version="1">
25484 <substring substring_length="1" substring_start="1">
25485 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25486 </substring>
25487 </local_variable>
25488 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:29" version="1">
25489 <substring substring_length="1" substring_start="2">
25490 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25491 </substring>
25492 </local_variable>
25493 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:30" version="1">
25494 <substring substring_length="1" substring_start="3">
25495 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25496 </substring>
25497 </local_variable>
25498 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:31" version="1">
25499 <substring substring_length="1" substring_start="4">
25500 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25501 </substring>
25502 </local_variable>
25503 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:32" version="1">
25504 <substring substring_length="1" substring_start="5">
25505 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25506 </substring>
25507 </local_variable>
25508 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:33" version="1">
25509 <substring substring_length="1" substring_start="6">
25510 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25511 </substring>
25512 </local_variable>
25513 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:34" version="1">
25514 <substring substring_length="1" substring_start="7">
25515 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25516 </substring>
25517 </local_variable>
25518 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:35" version="1">
25519 <substring substring_length="1" substring_start="8">
25520 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25521 </substring>
25522 </local_variable>
25523 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:36" version="1">
25524 <substring substring_length="1" substring_start="9">
25525 <variable_component var_ref="oval:org.open-scap.f14:var:20045"/>
25526 </substring>
25527 </local_variable>
25528 <local_variable comment="List of user ids" datatype="int" id="oval:org.open-scap.f14:var:20050" version="1">
25529 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200501"/>
25530 </local_variable>
25531 <local_variable comment="List of group ids" datatype="int" id="oval:org.open-scap.f14:var:20051" version="1">
25532 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200511"/>
25533 </local_variable>
25534 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200820" version="1">
25535 <substring substring_length="1" substring_start="1">
25536 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25537 </substring>
25538 </local_variable>
25539 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200821" version="1">
25540 <substring substring_length="1" substring_start="4">
25541 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25542 </substring>
25543 </local_variable>
25544 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200822" version="1">
25545 <substring substring_length="1" substring_start="5">
25546 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25547 </substring>
25548 </local_variable>
25549 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200823" version="1">
25550 <substring substring_length="1" substring_start="6">
25551 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25552 </substring>
25553 </local_variable>
25554 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200824" version="1">
25555 <substring substring_length="1" substring_start="7">
25556 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25557 </substring>
25558 </local_variable>
25559 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200825" version="1">
25560 <substring substring_length="1" substring_start="8">
25561 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25562 </substring>
25563 </local_variable>
25564 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200826" version="1">
25565 <substring substring_length="1" substring_start="9">
25566 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25567 </substring>
25568 </local_variable>
25569 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200827" version="1">
25570 <substring substring_length="1" substring_start="10">
25571 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25572 </substring>
25573 </local_variable>
25574 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200828" version="1">
25575 <substring substring_length="1" substring_start="11">
25576 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25577 </substring>
25578 </local_variable>
25579 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:200829" version="1">
25580 <substring substring_length="1" substring_start="12">
25581 <variable_component var_ref="oval:org.open-scap.f14:var:20082"/>
25582 </substring>
25583 </local_variable>
25584 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:37" version="1">
25585 <substring substring_length="1" substring_start="1">
25586 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25587 </substring>
25588 </local_variable>
25589 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:38" version="1">
25590 <substring substring_length="1" substring_start="2">
25591 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25592 </substring>
25593 </local_variable>
25594 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:39" version="1">
25595 <substring substring_length="1" substring_start="3">
25596 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25597 </substring>
25598 </local_variable>
25599 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:40" version="1">
25600 <substring substring_length="1" substring_start="4">
25601 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25602 </substring>
25603 </local_variable>
25604 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:41" version="1">
25605 <substring substring_length="1" substring_start="5">
25606 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25607 </substring>
25608 </local_variable>
25609 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:42" version="1">
25610 <substring substring_length="1" substring_start="6">
25611 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25612 </substring>
25613 </local_variable>
25614 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:43" version="1">
25615 <substring substring_length="1" substring_start="7">
25616 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25617 </substring>
25618 </local_variable>
25619 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:44" version="1">
25620 <substring substring_length="1" substring_start="8">
25621 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25622 </substring>
25623 </local_variable>
25624 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:45" version="1">
25625 <substring substring_length="1" substring_start="9">
25626 <variable_component var_ref="oval:org.open-scap.f14:var:20094"/>
25627 </substring>
25628 </local_variable>
25629 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201510" version="1">
25630 <substring substring_length="1" substring_start="1">
25631 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25632 </substring>
25633 </local_variable>
25634 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201511" version="1">
25635 <substring substring_length="1" substring_start="2">
25636 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25637 </substring>
25638 </local_variable>
25639 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201512" version="1">
25640 <substring substring_length="1" substring_start="3">
25641 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25642 </substring>
25643 </local_variable>
25644 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201513" version="1">
25645 <substring substring_length="1" substring_start="4">
25646 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25647 </substring>
25648 </local_variable>
25649 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201514" version="1">
25650 <substring substring_length="1" substring_start="5">
25651 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25652 </substring>
25653 </local_variable>
25654 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201515" version="1">
25655 <substring substring_length="1" substring_start="6">
25656 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25657 </substring>
25658 </local_variable>
25659 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201516" version="1">
25660 <substring substring_length="1" substring_start="7">
25661 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25662 </substring>
25663 </local_variable>
25664 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201517" version="1">
25665 <substring substring_length="1" substring_start="8">
25666 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25667 </substring>
25668 </local_variable>
25669 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:201518" version="1">
25670 <substring substring_length="1" substring_start="9">
25671 <variable_component var_ref="oval:org.open-scap.f14:var:20151"/>
25672 </substring>
25673 </local_variable>
25674 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:46" version="1">
25675 <substring substring_length="1" substring_start="1">
25676 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25677 </substring>
25678 </local_variable>
25679 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:47" version="1">
25680 <substring substring_length="1" substring_start="2">
25681 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25682 </substring>
25683 </local_variable>
25684 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:48" version="1">
25685 <substring substring_length="1" substring_start="3">
25686 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25687 </substring>
25688 </local_variable>
25689 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:49" version="1">
25690 <substring substring_length="1" substring_start="4">
25691 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25692 </substring>
25693 </local_variable>
25694 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:50" version="1">
25695 <substring substring_length="1" substring_start="5">
25696 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25697 </substring>
25698 </local_variable>
25699 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:51" version="1">
25700 <substring substring_length="1" substring_start="6">
25701 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25702 </substring>
25703 </local_variable>
25704 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:52" version="1">
25705 <substring substring_length="1" substring_start="7">
25706 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25707 </substring>
25708 </local_variable>
25709 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:53" version="1">
25710 <substring substring_length="1" substring_start="8">
25711 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25712 </substring>
25713 </local_variable>
25714 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:54" version="1">
25715 <substring substring_length="1" substring_start="9">
25716 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25717 </substring>
25718 </local_variable>
25719 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:55" version="1">
25720 <substring substring_length="1" substring_start="1">
25721 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25722 </substring>
25723 </local_variable>
25724 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:56" version="1">
25725 <substring substring_length="1" substring_start="2">
25726 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25727 </substring>
25728 </local_variable>
25729 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:57" version="1">
25730 <substring substring_length="1" substring_start="3">
25731 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25732 </substring>
25733 </local_variable>
25734 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:58" version="1">
25735 <substring substring_length="1" substring_start="4">
25736 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25737 </substring>
25738 </local_variable>
25739 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:59" version="1">
25740 <substring substring_length="1" substring_start="5">
25741 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25742 </substring>
25743 </local_variable>
25744 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:60" version="1">
25745 <substring substring_length="1" substring_start="6">
25746 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25747 </substring>
25748 </local_variable>
25749 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:61" version="1">
25750 <substring substring_length="1" substring_start="7">
25751 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25752 </substring>
25753 </local_variable>
25754 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:62" version="1">
25755 <substring substring_length="1" substring_start="8">
25756 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25757 </substring>
25758 </local_variable>
25759 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:63" version="1">
25760 <substring substring_length="1" substring_start="9">
25761 <variable_component var_ref="oval:org.open-scap.f14:var:20210"/>
25762 </substring>
25763 </local_variable>
25764 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:64" version="1">
25765 <substring substring_length="1" substring_start="1">
25766 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25767 </substring>
25768 </local_variable>
25769 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:65" version="1">
25770 <substring substring_length="1" substring_start="2">
25771 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25772 </substring>
25773 </local_variable>
25774 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:66" version="1">
25775 <substring substring_length="1" substring_start="3">
25776 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25777 </substring>
25778 </local_variable>
25779 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:67" version="1">
25780 <substring substring_length="1" substring_start="4">
25781 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25782 </substring>
25783 </local_variable>
25784 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:68" version="1">
25785 <substring substring_length="1" substring_start="5">
25786 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25787 </substring>
25788 </local_variable>
25789 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:69" version="1">
25790 <substring substring_length="1" substring_start="6">
25791 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25792 </substring>
25793 </local_variable>
25794 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:70" version="1">
25795 <substring substring_length="1" substring_start="7">
25796 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25797 </substring>
25798 </local_variable>
25799 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:71" version="1">
25800 <substring substring_length="1" substring_start="8">
25801 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25802 </substring>
25803 </local_variable>
25804 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:72" version="1">
25805 <substring substring_length="1" substring_start="9">
25806 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25807 </substring>
25808 </local_variable>
25809 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:73" version="1">
25810 <substring substring_length="1" substring_start="1">
25811 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25812 </substring>
25813 </local_variable>
25814 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:74" version="1">
25815 <substring substring_length="1" substring_start="2">
25816 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25817 </substring>
25818 </local_variable>
25819 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:75" version="1">
25820 <substring substring_length="1" substring_start="3">
25821 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25822 </substring>
25823 </local_variable>
25824 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:76" version="1">
25825 <substring substring_length="1" substring_start="4">
25826 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25827 </substring>
25828 </local_variable>
25829 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:77" version="1">
25830 <substring substring_length="1" substring_start="5">
25831 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25832 </substring>
25833 </local_variable>
25834 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:78" version="1">
25835 <substring substring_length="1" substring_start="6">
25836 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25837 </substring>
25838 </local_variable>
25839 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:79" version="1">
25840 <substring substring_length="1" substring_start="7">
25841 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25842 </substring>
25843 </local_variable>
25844 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:80" version="1">
25845 <substring substring_length="1" substring_start="8">
25846 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25847 </substring>
25848 </local_variable>
25849 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:81" version="1">
25850 <substring substring_length="1" substring_start="9">
25851 <variable_component var_ref="oval:org.open-scap.f14:var:20213"/>
25852 </substring>
25853 </local_variable>
25854 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:82" version="1">
25855 <substring substring_length="1" substring_start="1">
25856 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25857 </substring>
25858 </local_variable>
25859 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:83" version="1">
25860 <substring substring_length="1" substring_start="2">
25861 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25862 </substring>
25863 </local_variable>
25864 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:84" version="1">
25865 <substring substring_length="1" substring_start="3">
25866 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25867 </substring>
25868 </local_variable>
25869 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:85" version="1">
25870 <substring substring_length="1" substring_start="4">
25871 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25872 </substring>
25873 </local_variable>
25874 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:86" version="1">
25875 <substring substring_length="1" substring_start="5">
25876 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25877 </substring>
25878 </local_variable>
25879 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:87" version="1">
25880 <substring substring_length="1" substring_start="6">
25881 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25882 </substring>
25883 </local_variable>
25884 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:88" version="1">
25885 <substring substring_length="1" substring_start="7">
25886 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25887 </substring>
25888 </local_variable>
25889 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:89" version="1">
25890 <substring substring_length="1" substring_start="8">
25891 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25892 </substring>
25893 </local_variable>
25894 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:90" version="1">
25895 <substring substring_length="1" substring_start="9">
25896 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25897 </substring>
25898 </local_variable>
25899 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:91" version="1">
25900 <substring substring_length="1" substring_start="1">
25901 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25902 </substring>
25903 </local_variable>
25904 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:92" version="1">
25905 <substring substring_length="1" substring_start="2">
25906 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25907 </substring>
25908 </local_variable>
25909 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:93" version="1">
25910 <substring substring_length="1" substring_start="3">
25911 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25912 </substring>
25913 </local_variable>
25914 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:94" version="1">
25915 <substring substring_length="1" substring_start="4">
25916 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25917 </substring>
25918 </local_variable>
25919 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:95" version="1">
25920 <substring substring_length="1" substring_start="5">
25921 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25922 </substring>
25923 </local_variable>
25924 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:96" version="1">
25925 <substring substring_length="1" substring_start="6">
25926 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25927 </substring>
25928 </local_variable>
25929 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:97" version="1">
25930 <substring substring_length="1" substring_start="7">
25931 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25932 </substring>
25933 </local_variable>
25934 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:98" version="1">
25935 <substring substring_length="1" substring_start="8">
25936 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25937 </substring>
25938 </local_variable>
25939 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:99" version="1">
25940 <substring substring_length="1" substring_start="9">
25941 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25942 </substring>
25943 </local_variable>
25944 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:100" version="1">
25945 <substring substring_length="1" substring_start="1">
25946 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25947 </substring>
25948 </local_variable>
25949 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:101" version="1">
25950 <substring substring_length="1" substring_start="2">
25951 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25952 </substring>
25953 </local_variable>
25954 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:102" version="1">
25955 <substring substring_length="1" substring_start="3">
25956 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25957 </substring>
25958 </local_variable>
25959 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:103" version="1">
25960 <substring substring_length="1" substring_start="4">
25961 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25962 </substring>
25963 </local_variable>
25964 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:104" version="1">
25965 <substring substring_length="1" substring_start="5">
25966 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25967 </substring>
25968 </local_variable>
25969 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:105" version="1">
25970 <substring substring_length="1" substring_start="6">
25971 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25972 </substring>
25973 </local_variable>
25974 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:106" version="1">
25975 <substring substring_length="1" substring_start="7">
25976 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25977 </substring>
25978 </local_variable>
25979 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:107" version="1">
25980 <substring substring_length="1" substring_start="8">
25981 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25982 </substring>
25983 </local_variable>
25984 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:108" version="1">
25985 <substring substring_length="1" substring_start="9">
25986 <variable_component var_ref="oval:org.open-scap.f14:var:20224"/>
25987 </substring>
25988 </local_variable>
25989 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:109" version="1">
25990 <substring substring_length="1" substring_start="1">
25991 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25992 </substring>
25993 </local_variable>
25994 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:110" version="1">
25995 <substring substring_length="1" substring_start="2">
25996 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
25997 </substring>
25998 </local_variable>
25999 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:111" version="1">
26000 <substring substring_length="1" substring_start="3">
26001 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26002 </substring>
26003 </local_variable>
26004 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:112" version="1">
26005 <substring substring_length="1" substring_start="4">
26006 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26007 </substring>
26008 </local_variable>
26009 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:113" version="1">
26010 <substring substring_length="1" substring_start="5">
26011 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26012 </substring>
26013 </local_variable>
26014 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:114" version="1">
26015 <substring substring_length="1" substring_start="6">
26016 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26017 </substring>
26018 </local_variable>
26019 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:115" version="1">
26020 <substring substring_length="1" substring_start="7">
26021 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26022 </substring>
26023 </local_variable>
26024 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:116" version="1">
26025 <substring substring_length="1" substring_start="8">
26026 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26027 </substring>
26028 </local_variable>
26029 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:117" version="1">
26030 <substring substring_length="1" substring_start="9">
26031 <variable_component var_ref="oval:org.open-scap.f14:var:20315"/>
26032 </substring>
26033 </local_variable>
26034 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:118" version="1">
26035 <substring substring_length="1" substring_start="1">
26036 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26037 </substring>
26038 </local_variable>
26039 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:119" version="1">
26040 <substring substring_length="1" substring_start="2">
26041 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26042 </substring>
26043 </local_variable>
26044 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:120" version="1">
26045 <substring substring_length="1" substring_start="3">
26046 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26047 </substring>
26048 </local_variable>
26049 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:121" version="1">
26050 <substring substring_length="1" substring_start="4">
26051 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26052 </substring>
26053 </local_variable>
26054 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:122" version="1">
26055 <substring substring_length="1" substring_start="5">
26056 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26057 </substring>
26058 </local_variable>
26059 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:123" version="1">
26060 <substring substring_length="1" substring_start="6">
26061 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26062 </substring>
26063 </local_variable>
26064 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:124" version="1">
26065 <substring substring_length="1" substring_start="7">
26066 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26067 </substring>
26068 </local_variable>
26069 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:125" version="1">
26070 <substring substring_length="1" substring_start="8">
26071 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26072 </substring>
26073 </local_variable>
26074 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:126" version="1">
26075 <substring substring_length="1" substring_start="9">
26076 <variable_component var_ref="oval:org.open-scap.f14:var:20326"/>
26077 </substring>
26078 </local_variable>
26079 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:127" version="1">
26080 <substring substring_length="1" substring_start="1">
26081 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26082 </substring>
26083 </local_variable>
26084 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:128" version="1">
26085 <substring substring_length="1" substring_start="2">
26086 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26087 </substring>
26088 </local_variable>
26089 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:129" version="1">
26090 <substring substring_length="1" substring_start="3">
26091 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26092 </substring>
26093 </local_variable>
26094 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:130" version="1">
26095 <substring substring_length="1" substring_start="4">
26096 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26097 </substring>
26098 </local_variable>
26099 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:131" version="1">
26100 <substring substring_length="1" substring_start="5">
26101 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26102 </substring>
26103 </local_variable>
26104 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:132" version="1">
26105 <substring substring_length="1" substring_start="6">
26106 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26107 </substring>
26108 </local_variable>
26109 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:133" version="1">
26110 <substring substring_length="1" substring_start="7">
26111 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26112 </substring>
26113 </local_variable>
26114 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:134" version="1">
26115 <substring substring_length="1" substring_start="8">
26116 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26117 </substring>
26118 </local_variable>
26119 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:135" version="1">
26120 <substring substring_length="1" substring_start="9">
26121 <variable_component var_ref="oval:org.open-scap.f14:var:20327"/>
26122 </substring>
26123 </local_variable>
26124 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:136" version="1">
26125 <substring substring_length="1" substring_start="1">
26126 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26127 </substring>
26128 </local_variable>
26129 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:137" version="1">
26130 <substring substring_length="1" substring_start="2">
26131 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26132 </substring>
26133 </local_variable>
26134 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:138" version="1">
26135 <substring substring_length="1" substring_start="3">
26136 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26137 </substring>
26138 </local_variable>
26139 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:139" version="1">
26140 <substring substring_length="1" substring_start="4">
26141 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26142 </substring>
26143 </local_variable>
26144 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:140" version="1">
26145 <substring substring_length="1" substring_start="5">
26146 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26147 </substring>
26148 </local_variable>
26149 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:141" version="1">
26150 <substring substring_length="1" substring_start="6">
26151 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26152 </substring>
26153 </local_variable>
26154 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:142" version="1">
26155 <substring substring_length="1" substring_start="7">
26156 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26157 </substring>
26158 </local_variable>
26159 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:143" version="1">
26160 <substring substring_length="1" substring_start="8">
26161 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26162 </substring>
26163 </local_variable>
26164 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:144" version="1">
26165 <substring substring_length="1" substring_start="9">
26166 <variable_component var_ref="oval:org.open-scap.f14:var:20328"/>
26167 </substring>
26168 </local_variable>
26169 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:145" version="1">
26170 <substring substring_length="1" substring_start="1">
26171 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26172 </substring>
26173 </local_variable>
26174 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:146" version="1">
26175 <substring substring_length="1" substring_start="2">
26176 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26177 </substring>
26178 </local_variable>
26179 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:147" version="1">
26180 <substring substring_length="1" substring_start="3">
26181 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26182 </substring>
26183 </local_variable>
26184 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:148" version="1">
26185 <substring substring_length="1" substring_start="4">
26186 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26187 </substring>
26188 </local_variable>
26189 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:149" version="1">
26190 <substring substring_length="1" substring_start="5">
26191 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26192 </substring>
26193 </local_variable>
26194 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:150" version="1">
26195 <substring substring_length="1" substring_start="6">
26196 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26197 </substring>
26198 </local_variable>
26199 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:151" version="1">
26200 <substring substring_length="1" substring_start="7">
26201 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26202 </substring>
26203 </local_variable>
26204 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:152" version="1">
26205 <substring substring_length="1" substring_start="8">
26206 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26207 </substring>
26208 </local_variable>
26209 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:153" version="1">
26210 <substring substring_length="1" substring_start="9">
26211 <variable_component var_ref="oval:org.open-scap.f14:var:20330"/>
26212 </substring>
26213 </local_variable>
26214 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:160" version="1">
26215 <substring substring_length="1" substring_start="1">
26216 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26217 </substring>
26218 </local_variable>
26219 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:161" version="1">
26220 <substring substring_length="1" substring_start="2">
26221 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26222 </substring>
26223 </local_variable>
26224 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:162" version="1">
26225 <substring substring_length="1" substring_start="3">
26226 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26227 </substring>
26228 </local_variable>
26229 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:163" version="1">
26230 <substring substring_length="1" substring_start="4">
26231 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26232 </substring>
26233 </local_variable>
26234 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:164" version="1">
26235 <substring substring_length="1" substring_start="5">
26236 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26237 </substring>
26238 </local_variable>
26239 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:165" version="1">
26240 <substring substring_length="1" substring_start="6">
26241 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26242 </substring>
26243 </local_variable>
26244 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:166" version="1">
26245 <substring substring_length="1" substring_start="7">
26246 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26247 </substring>
26248 </local_variable>
26249 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:167" version="1">
26250 <substring substring_length="1" substring_start="8">
26251 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26252 </substring>
26253 </local_variable>
26254 <local_variable comment="Bit for a permission type" datatype="boolean" id="oval:org.open-scap.f14:var:168" version="1">
26255 <substring substring_length="1" substring_start="9">
26256 <variable_component var_ref="oval:org.open-scap.f14:var:20231"/>
26257 </substring>
26258 </local_variable>
26259 <local_variable comment="Split the PATH on the : delimiter" datatype="string" id="oval:org.open-scap.f14:var:200855" version="1">
26260 <split delimiter=":">
26261 <object_component item_field="value" object_ref="oval:org.open-scap.f14:obj:20085"/>
26262 </split>
26263 </local_variable>
26264 <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">
26265 <concat>
26266 <literal_component>^</literal_component>
26267 <variable_component var_ref="oval:org.open-scap.f14:var:20208"/>
26268 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26269 </concat>
26270 </local_variable>
26271 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202082" version="1">
26272 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202081"/>
26273 </local_variable>
26274 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202091" version="1">
26275 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202091"/>
26276 </local_variable>
26277 <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">
26278 <concat>
26279 <literal_component>^</literal_component>
26280 <variable_component var_ref="oval:org.open-scap.f14:var:20211"/>
26281 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26282 </concat>
26283 </local_variable>
26284 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202112" version="1">
26285 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202111"/>
26286 </local_variable>
26287 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202121" version="1">
26288 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202121"/>
26289 </local_variable>
26290 <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">
26291 <concat>
26292 <literal_component>^</literal_component>
26293 <variable_component var_ref="oval:org.open-scap.f14:var:20214"/>
26294 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26295 </concat>
26296 </local_variable>
26297 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202142" version="1">
26298 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202141"/>
26299 </local_variable>
26300 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202191" version="1">
26301 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:202191"/>
26302 </local_variable>
26303 <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">
26304 <concat>
26305 <literal_component>^</literal_component>
26306 <variable_component var_ref="oval:org.open-scap.f14:var:20229"/>
26307 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26308 </concat>
26309 </local_variable>
26310 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202292" version="1">
26311 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202291"/>
26312 </local_variable>
26313 <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">
26314 <concat>
26315 <literal_component>^</literal_component>
26316 <variable_component var_ref="oval:org.open-scap.f14:var:20230"/>
26317 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26318 </concat>
26319 </local_variable>
26320 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:202302" version="1">
26321 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:202301"/>
26322 </local_variable>
26323 <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">
26324 <concat>
26325 <literal_component>^</literal_component>
26326 <variable_component var_ref="oval:org.open-scap.f14:var:20081"/>
26327 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26328 </concat>
26329 </local_variable>
26330 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:200812" version="1">
26331 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:200811"/>
26332 </local_variable>
26333 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201491" version="1">
26334 <object_component item_field="user_id" object_ref="oval:org.open-scap.f14:obj:2014911"/>
26335 </local_variable>
26336 <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">
26337 <concat>
26338 <literal_component>^</literal_component>
26339 <variable_component var_ref="oval:org.open-scap.f14:var:20150"/>
26340 <literal_component>:[^:]*:([[:digit:]]+)</literal_component>
26341 </concat>
26342 </local_variable>
26343 <local_variable comment="Object to Variable" datatype="int" id="oval:org.open-scap.f14:var:201502" version="1">
26344 <object_component item_field="subexpression" object_ref="oval:org.open-scap.f14:obj:201501"/>
26345 </local_variable>
26346 </variables>
26347 </oval_definitions></ds:component></ds:data-stream-collection>