Debian Codegraph @

tests/API/XCCDF/unittests/test_xccdf_overrides.arf.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <arf:asset-report-collection xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1" xmlns:core="http://scap.nist.gov/schema/reporting-core/1.1" xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"><core:relationships xmlns:arfvocab="http://scap.nist.gov/specifications/arf/vocabulary/relationships/1.0#" xmlns:arfrel="http://scap.nist.gov/vocabulary/arf/relationships/1.0#"><core:relationship type="arfvocab:createdFor" subject="xccdf1"><core:ref>collection1</core:ref></core:relationship><core:relationship type="arfrel:isAbout" subject="xccdf1"><core:ref>asset0</core:ref></core:relationship></core:relationships><arf:report-requests><arf:report-request id="collection1"><arf:content><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_ssg-fedora-xccdf-1.2.xml" schematron-version="1.2"><ds:data-stream id="scap_org.open-scap_datastream_from_xccdf_ssg-fedora-xccdf-1.2.xml" scap-version="1.2" use-case="OTHER"><ds:dictionaries><ds:component-ref id="scap_org.open-scap_cref_output--ssg-fedora-cpe-dictionary.xml" xlink:href="#scap_org.open-scap_comp_output--ssg-fedora-cpe-dictionary.xml"><cat:catalog><cat:uri name="ssg-fedora-cpe-oval.xml" uri="#scap_org.open-scap_cref_output--ssg-fedora-cpe-oval.xml"/></cat:catalog></ds:component-ref></ds:dictionaries><ds:checklists><ds:component-ref id="scap_org.open-scap_cref_ssg-fedora-xccdf-1.2.xml" xlink:href="#scap_org.open-scap_comp_ssg-fedora-xccdf-1.2.xml"><cat:catalog><cat:uri name="ssg-fedora-oval.xml" uri="#scap_org.open-scap_cref_ssg-fedora-oval.xml"/></cat:catalog></ds:component-ref></ds:checklists><ds:checks><ds:component-ref id="scap_org.open-scap_cref_ssg-fedora-oval.xml" xlink:href="#scap_org.open-scap_comp_ssg-fedora-oval.xml"/><ds:component-ref id="scap_org.open-scap_cref_output--ssg-fedora-cpe-oval.xml" xlink:href="#scap_org.open-scap_comp_output--ssg-fedora-cpe-oval.xml"/><ds:component-ref id="scap_org.open-scap_cref_output--ssg-fedora-oval.xml" xlink:href="#scap_org.open-scap_comp_output--ssg-fedora-oval.xml"/></ds:checks></ds:data-stream><ds:component id="scap_org.open-scap_comp_ssg-fedora-oval.xml" timestamp="2014-07-01T11:31:05"><oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:linux="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
3 <generator>
4 <oval:product_name>python</oval:product_name>
5 <oval:product_version>2.6.6</oval:product_version>
6 <oval:schema_version>5.10</oval:schema_version>
7 <oval:timestamp>2011-09-21T13:44:00</oval:timestamp>
8 </generator>
9 <definitions>
10 <definition class="compliance" id="oval:ssg:def:107" version="1">
11 <metadata>
12 <title>All Password Hashes Shadowed</title>
13 <affected family="unix">
14 <platform>Fedora 19</platform>
15 </affected>
16 <description>All password hashes should be shadowed.</description>
17 <reference ref_id="accounts_password_all_shadowed" source="ssg"/></metadata>
18 <criteria>
19 <criterion comment="password hashes are shadowed" test_ref="oval:ssg:tst:108"/>
20 </criteria>
21 </definition>
22 <definition class="compliance" id="oval:ssg:def:109" version="1">
23 <metadata>
24 <title>Restrict Virtual Console Root Logins</title>
25 <affected family="unix">
26 <platform>Fedora 19</platform>
27 </affected>
28 <description>Preventing direct root login to virtual console devices
29 helps ensure accountability for actions taken on the system using the
30 root account.</description>
31 <reference ref_id="securetty_root_login_console_only" source="ssg"/></metadata>
32 <criteria>
33 <criterion comment="virtual consoles /etc/securetty" test_ref="oval:ssg:tst:110"/>
34 </criteria>
35 </definition>
36 <definition class="compliance" id="oval:ssg:def:111" version="1">
37 <metadata>
38 <title>No nullok Option in /etc/pam.d/system-auth</title>
39 <affected family="unix">
40 <platform>Fedora 19</platform>
41 </affected>
42 <description>The file /etc/pam.d/system-auth should not contain the nullok option</description>
43 <reference ref_id="no_empty_passwords" source="ssg"/></metadata>
44 <criteria>
45 <criterion comment="make sure the nullok option is not used in /etc/pam.d/system-auth" test_ref="oval:ssg:tst:112"/>
46 </criteria>
47 </definition>
48 <definition class="compliance" id="oval:ssg:def:113" version="1">
49 <metadata>
50 <title>Set Password Expiration Parameters</title>
51 <affected family="unix">
52 <platform>Fedora 19</platform>
53 </affected>
54 <description>The maximum password age policy should meet minimum requirements.</description>
55 <reference ref_id="accounts_maximum_age_login_defs" source="ssg"/></metadata>
56 <criteria comment="the value PASS_MAX_DAYS should be set appropriately in /etc/login.defs">
57 <criterion test_ref="oval:ssg:tst:114"/>
58 </criteria>
59 </definition>
60 <definition class="compliance" id="oval:ssg:def:115" version="1">
61 <metadata>
62 <title>Disable root Login via SSH</title>
63 <affected family="unix">
64 <platform>Fedora 19</platform>
65 </affected>
66 <description>
67 Root login via SSH should be disabled (and dependencies are met)
68 </description>
69 <reference ref_id="sshd_disable_root_login" source="ssg"/></metadata>
70 <!-- Test to succeed only if some of the following is met, fail otherwise -->
71 <criteria comment="SSH is not being used or conditions are met" operator="OR">
72 <!-- * case: sshd service is disabled -->
73 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
74 <!-- * case: At least one 'PermitRootLogin no' present in
75 /etc/ssh/sshd_config not preceded by 'PermitRootLogin yes' -->
76 <criterion comment="SSH login for root user forbidden in sshd config" test_ref="oval:ssg:tst:117"/>
77 </criteria>
78 </definition>
79 <definition class="compliance" id="oval:ssg:def:118" version="1">
80 <metadata>
81 <title>UID 0 Belongs Only To Root</title>
82 <affected family="unix">
83 <platform>Fedora 19</platform>
84 </affected>
85 <description>Only the root account should be assigned a user id of 0.</description>
86 <reference ref_id="accounts_no_uid_except_zero" source="ssg"/></metadata>
87 <criteria>
88 <criterion comment="tests for reg exp ^[^r][^o][^o][^t].*:0 in /etc/passwd file" test_ref="oval:ssg:tst:119"/>
89 </criteria>
90 </definition>
91 <definition class="compliance" id="oval:ssg:def:120" version="1">
92 <metadata>
93 <title>Set OpenSSH Idle Timeout Interval</title>
94 <affected family="unix">
95 <platform>Red Hat Enterprise Linux 6</platform>
96 <platform>Red Hat Enterprise Linux 7</platform>
97 <platform>Fedora 20</platform>
98 </affected>
99 <description>The SSH idle timeout interval should be set to an
100 appropriate value.</description>
101 <reference source="MED" ref_id="20130813" ref_url="test_attestation"/>
102 <!-- Fedora 20: <reference source="JL" ref_id="20140224" ref_url="test_attestation" /> -->
103 <reference ref_id="sshd_set_idle_timeout" source="ssg"/></metadata>
104 <criteria comment="SSH is not being used or conditions are met" operator="OR">
105 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
106 <criterion comment="Check ClientAliveInterval in /etc/ssh/sshd_config" test_ref="oval:ssg:tst:121"/>
107 </criteria>
108 </definition>
109 <definition class="compliance" id="oval:ssg:def:122" version="1">
110 <metadata>
111 <title>System Accounts Do Not Run a Shell</title>
112 <affected family="unix">
113 <platform>Fedora 19</platform>
114 </affected>
115 <description>The root account is the only system account that should have a login shell.</description>
116 <reference ref_id="no_shelllogin_for_systemaccounts" source="ssg"/></metadata>
117 <criteria>
118 <criterion comment="tests for the presence of login shells (not /sbin/nologin) for system accounts in /etc/passwd file" test_ref="oval:ssg:tst:123"/>
119 </criteria>
120 </definition>
121 <definition class="compliance" id="oval:ssg:def:124" version="1">
122 <metadata>
123 <title>Verify that Shared Library Files Have Root Ownership</title>
124 <affected family="unix">
125 <platform>Fedora 19</platform>
126 <platform>Red Hat Enterprise Linux 6</platform>
127 <platform>Red Hat Enterprise Linux 7</platform>
128 </affected>
129 <description>
130 Checks that /lib, /lib64, /usr/lib, /usr/lib64, /lib/modules, and
131 objects therein, are owned by root.
132 </description>
133 <reference ref_id="file_ownership_library_dirs" source="ssg"/></metadata>
134 <criteria operator="AND">
135 <criterion test_ref="oval:ssg:tst:125"/>
136 <criterion test_ref="oval:ssg:tst:126"/>
137 </criteria>
138 </definition>
139 <definition class="inventory" id="oval:ssg:def:100" version="1">
140 <metadata>
141 <title>Fedora release 19 (Schrödinger's Cat)</title>
142 <affected family="unix">
143 <platform>Fedora 19</platform>
144 </affected>
145 <reference ref_id="cpe:/o:fedoraproject:fedora:19" source="CPE"/>
146 <description>The operating system installed on the system is
147 Fedora release 19 (Schrödinger's Cat)</description>
148 <reference ref_id="installed_OS_is_fedora19" source="ssg"/></metadata>
149 <criteria>
150 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg:tst:101"/>
151 <criterion comment="Fedora release 19 is installed" test_ref="oval:ssg:tst:102"/>
152 </criteria>
153 </definition>
154 <definition class="compliance" id="oval:ssg:def:116" version="1">
155 <metadata>
156 <title>Service sshd Disabled</title>
157 <affected family="unix">
158 <platform>Fedora 19</platform>
159 </affected>
160 <description>
161 The sshd service should be disabled.
162 </description>
163 <reference ref_id="service_sshd_disabled" source="ssg"/></metadata>
164 <criteria comment="package openssh-server removed or service sshd is not configured to start" operator="OR">
165 <extend_definition comment="openssh-server removed" definition_ref="oval:ssg:def:127"/>
166 <criterion comment="sshd disabled in multi-user.target" test_ref="oval:ssg:tst:128"/>
167 </criteria>
168 </definition>
169 <definition class="compliance" id="oval:ssg:def:129" version="1">
170 <metadata>
171 <title>Service ntpd Enabled</title>
172 <affected family="unix">
173 <platform>Fedora 19</platform>
174 </affected>
175 <description>
176 The ntpd service should be enabled.
177 </description>
178 <reference ref_id="service_ntpd_enabled" source="ssg"/></metadata>
179 <criteria comment="package ntp installed and service ntpd is configured to start" operator="AND">
180 <extend_definition comment="ntp installed" definition_ref="oval:ssg:def:130"/>
181 <criterion comment="ntpd multi-user.target" test_ref="oval:ssg:tst:131"/>
182 </criteria>
183 </definition>
184 <definition class="compliance" id="oval:ssg:def:130" version="1">
185 <metadata>
186 <title>Package ntp Installed</title>
187 <affected family="unix">
188 <platform>Fedora 19</platform>
189 </affected>
190 <description>The RPM package ntp should be installed.</description>
191 <reference ref_id="package_ntp_installed" source="ssg"/></metadata>
192 <criteria>
193 <criterion comment="package ntp is installed" test_ref="oval:ssg:tst:132"/>
194 </criteria>
195 </definition>
196 <definition class="compliance" id="oval:ssg:def:133" version="1">
197 <metadata>
198 <title>Set Password Expiration Parameters</title>
199 <affected family="unix">
200 <platform>Fedora 19</platform>
201 </affected>
202 <description>The password minimum length should be set appropriately.</description>
203 <reference ref_id="accounts_password_minlen_login_defs" source="ssg"/></metadata>
204 <criteria operator="AND">
205 <criterion test_ref="oval:ssg:tst:134"/>
206 </criteria>
207 </definition>
208 <definition class="compliance" id="oval:ssg:def:135" version="1">
209 <metadata>
210 <title>Set ClientAliveCountMax for User Logins</title>
211 <affected family="unix">
212 <platform>Fedora 19</platform>
213 </affected>
214 <description>The SSH ClientAliveCountMax should be set to an appropriate
215 value (and dependencies are met)</description>
216 <reference ref_id="sshd_set_keepalive" source="ssg"/></metadata>
217 <criteria comment="SSH is not being used or conditions are met" operator="OR">
218 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
219 <criterion comment="Check ClientAliveCountMax in /etc/ssh/sshd_config" test_ref="oval:ssg:tst:136"/>
220 </criteria>
221 </definition>
222 <definition class="compliance" id="oval:ssg:def:137" version="1">
223 <metadata>
224 <title>Verify that Shared Library Files Have Restrictive Permissions</title>
225 <affected family="unix">
226 <platform>Fedora 19</platform>
227 <platform>Red Hat Enterprise Linux 6</platform>
228 <platform>Red Hat Enterprise Linux 7</platform>
229 </affected>
230 <description>
231 Checks that /lib, /lib64, /usr/lib, /usr/lib64, /lib/modules, and
232 objects therein, are not group-writable or world-writable.
233 </description>
234 <reference ref_id="file_permissions_library_dirs" source="ssg"/></metadata>
235 <criteria operator="AND">
236 <criterion test_ref="oval:ssg:tst:138"/>
237 <criterion test_ref="oval:ssg:tst:139"/>
238 </criteria>
239 </definition>
240 <definition class="compliance" id="oval:ssg:def:140" version="1">
241 <metadata>
242 <title>Ensure Yum gpgcheck Globally Activated</title>
243 <affected family="unix">
244 <platform>Fedora 19</platform>
245 </affected>
246 <description>The gpgcheck option should be used to ensure that checking
247 of an RPM package's signature always occurs prior to its
248 installation.</description>
249 <reference ref_id="yum_gpgcheck_global_activation" source="ssg"/></metadata>
250 <criteria>
251 <criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:ssg:tst:141"/>
252 </criteria>
253 </definition>
254 <definition class="compliance" id="oval:ssg:def:142" version="1">
255 <metadata>
256 <title>Specify a Remote NTP Server for Time Data</title>
257 <affected family="unix">
258 <platform>Fedora 19</platform>
259 </affected>
260 <description>
261 A remote NTP Server for time synchronization should be specified
262 </description>
263 <reference ref_id="ntp_remote_server" source="ssg"/></metadata>
264 <criteria comment="ntp.conf conditions are met">
265 <criterion test_ref="oval:ssg:tst:143"/>
266 </criteria>
267 </definition>
268 <definition class="compliance" id="oval:ssg:def:144" version="1">
269 <metadata>
270 <title>Restrict Serial Port Root Logins</title>
271 <affected family="unix">
272 <platform>Fedora 19</platform>
273 </affected>
274 <description>Preventing direct root login to serial port interfaces helps
275 ensure accountability for actions taken on the system using the root
276 account.</description>
277 <reference ref_id="restrict_serial_port_logins" source="ssg"/></metadata>
278 <criteria>
279 <criterion comment="serial ports /etc/securetty" test_ref="oval:ssg:tst:145" negate="true"/>
280 </criteria>
281 </definition>
282 <definition class="compliance" id="oval:ssg:def:146" version="1">
283 <metadata>
284 <title>Disable Empty Passwords</title>
285 <affected family="unix">
286 <platform>Fedora 19</platform>
287 </affected>
288 <description>
289 Remote connections from accounts with empty passwords should be
290 disabled (and dependencies are met)
291 </description>
292 <reference ref_id="sshd_disable_empty_passwords" source="ssg"/></metadata>
293 <!-- Test to succeed only if some of the following is met, fail otherwise -->
294 <criteria comment="sshd disabled or conditions are met" operator="OR">
295 <!-- * case: sshd service is disabled -->
296 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
297 <!-- * case: default sshd config (defaults to empty passwords SSH login disabled -->
298 <criterion comment="default sshd config" test_ref="oval:ssg:tst:147"/>
299 <!-- * case: 'PermitEmptyPasswords no' not preceded by 'PermitEmptyPasswords yes' -->
300 <criterion comment="SSH login via empty passwords forbidden in sshd config" test_ref="oval:ssg:tst:148"/>
301 </criteria>
302 </definition>
303 <definition class="compliance" id="oval:ssg:def:149" version="1">
304 <metadata>
305 <title>Ensure gpgcheck Enabled For All Yum Package Repositories</title>
306 <affected family="unix">
307 <platform>Fedora 19</platform>
308 </affected>
309 <description>Ensure all yum repositories utilize signature checking.</description>
310 <reference ref_id="ensure_gpgcheck_never_disabled" source="ssg"/></metadata>
311 <criteria comment="ensure all yum repositories utilize signiature checking" operator="AND">
312 <criterion comment="verify no gpgpcheck=0 present in /etc/yum.repos.d files" test_ref="oval:ssg:tst:150"/>
313 </criteria>
314 </definition>
315 <definition class="compliance" id="oval:ssg:def:151" version="1">
316 <metadata>
317 <title>Disable Prelinking</title>
318 <affected family="unix">
319 <platform>Fedora 19</platform>
320 </affected>
321 <description>The prelinking feature can interfere with the operation of
322 checksum integrity tools (e.g. AIDE), mitigates the protection provided
323 by ASLR, and requires additional CPU cycles by software upgrades.
324 </description>
325 <reference ref_id="disable_prelink" source="ssg"/></metadata>
326 <criteria>
327 <criterion comment="Ensure prelinking is disabled" test_ref="oval:ssg:tst:152"/>
328 </criteria>
329 </definition>
330 <definition class="compliance" id="oval:ssg:def:127" version="1">
331 <metadata>
332 <title>Package openssh-server Removed</title>
333 <affected family="unix">
334 <platform>Fedora 19</platform>
335 </affected>
336 <description>The RPM package openssh-server should be removed.</description>
337 <reference ref_id="package_openssh-server_removed" source="ssg"/></metadata>
338 <criteria>
339 <criterion comment="package openssh-server is removed" test_ref="oval:ssg:tst:153"/>
340 </criteria>
341 </definition>
342 <definition class="compliance" id="oval:ssg:def:154" version="1">
343 <metadata>
344 <title>Verify that System Executables Have Root Ownership</title>
345 <affected family="unix">
346 <platform>Fedora 19</platform>
347 <platform>Red Hat Enterprise Linux 6</platform>
348 <platform>Red Hat Enterprise Linux 7</platform>
349 </affected>
350 <description>
351 Checks that /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin,
352 /usr/local/sbin, and objects therein, are owned by root.
353 </description>
354 <reference ref_id="file_ownership_binary_dirs" source="ssg"/></metadata>
355 <criteria operator="AND">
356 <criterion test_ref="oval:ssg:tst:155"/>
357 <criterion test_ref="oval:ssg:tst:156"/>
358 </criteria>
359 </definition>
360 <definition class="compliance" id="oval:ssg:def:157" version="1">
361 <metadata>
362 <title>Verify No netrc Files Exist</title>
363 <affected family="unix">
364 <platform>Fedora 19</platform>
365 </affected>
366 <description>The .netrc files contain login information used to auto-login into FTP servers and reside in the user's home directory. Any .netrc files should be removed.</description>
367 <reference ref_id="no_netrc_files" source="ssg"/></metadata>
368 <criteria>
369 <criterion test_ref="oval:ssg:tst:158" negate="true"/>
370 </criteria>
371 </definition>
372 <definition class="compliance" id="oval:ssg:def:159" version="1">
373 <metadata>
374 <title>Set Password Expiration Parameters</title>
375 <affected family="unix">
376 <platform>Fedora 19</platform>
377 </affected>
378 <description>The minimum password age policy should be set appropriately.</description>
379 <reference ref_id="accounts_minimum_age_login_defs" source="ssg"/></metadata>
380 <criteria comment="the value PASS_MIN_DAYS should be set appropriately in /etc/login.defs">
381 <criterion test_ref="oval:ssg:tst:160"/>
382 </criteria>
383 </definition>
384 <definition class="compliance" id="oval:ssg:def:161" version="1">
385 <metadata>
386 <title>Verify that System Executables Have Restrictive Permissions</title>
387 <affected family="unix">
388 <platform>Fedora 19</platform>
389 <platform>Red Hat Enterprise Linux 6</platform>
390 <platform>Red Hat Enterprise Linux 7</platform>
391 </affected>
392 <description>
393 Checks that binary files under /bin, /sbin, /usr/bin, /usr/sbin,
394 /usr/local/bin, and /usr/local/sbin, are not group-writable or world-writable.
395 </description>
396 <reference ref_id="file_permissions_binary_dirs" source="ssg"/></metadata>
397 <criteria operator="AND">
398 <criterion test_ref="oval:ssg:tst:162"/>
399 </criteria>
400 </definition>
401 <definition class="compliance" id="oval:ssg:def:163" version="1">
402 <metadata>
403 <title>Set Password Expiration Parameters</title>
404 <affected family="unix">
405 <platform>Fedora 19</platform>
406 </affected>
407 <description>The password expiration warning age should be set appropriately.</description>
408 <reference ref_id="accounts_password_warn_age_login_defs" source="ssg"/></metadata>
409 <criteria>
410 <criterion test_ref="oval:ssg:tst:164"/>
411 </criteria>
412 </definition>
413 </definitions>
414 <tests>
415 <unix:password_test check="all" comment="password hashes are shadowed" id="oval:ssg:tst:108" version="1">
416 <unix:object object_ref="oval:ssg:obj:165"/>
417 <unix:state state_ref="oval:ssg:ste:166"/>
418 </unix:password_test>
419 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="virtual consoles /etc/securetty" id="oval:ssg:tst:110" version="1">
420 <ind:object object_ref="oval:ssg:obj:167"/>
421 </ind:textfilecontent54_test>
422 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="make sure nullok is not used in /etc/pam.d/system-auth" id="oval:ssg:tst:112" version="1">
423 <ind:object object_ref="oval:ssg:obj:168"/>
424 </ind:textfilecontent54_test>
425 <ind:textfilecontent54_test check="all" comment="the value PASS_MAX_DAYS should be set appropriately in /etc/login.defs" id="oval:ssg:tst:114" version="1">
426 <ind:object object_ref="oval:ssg:obj:169"/>
427 <ind:state state_ref="oval:ssg:ste:170"/>
428 </ind:textfilecontent54_test>
429 <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="SSH login for root user forbidden in sshd config" id="oval:ssg:tst:117" version="1">
430 <ind:object object_ref="oval:ssg:obj:171"/>
431 </ind:textfilecontent54_test>
432 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="tests for reg exp ^[^r][^o][^o][^t].*:0 in /etc/passwd file" id="oval:ssg:tst:119" version="1">
433 <ind:object object_ref="oval:ssg:obj:172"/>
434 </ind:textfilecontent54_test>
435 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="timeout is configured" id="oval:ssg:tst:121" version="1">
436 <ind:object object_ref="oval:ssg:obj:173"/>
437 <ind:state state_ref="oval:ssg:ste:174"/>
438 <ind:state state_ref="oval:ssg:ste:175"/>
439 </ind:textfilecontent54_test>
440 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="tests for the presence of login shells (not /sbin/nologin) for system accounts in /etc/passwd file" id="oval:ssg:tst:123" version="1">
441 <ind:object object_ref="oval:ssg:obj:176"/>
442 </ind:textfilecontent54_test>
443 <unix:file_test check="all" check_existence="none_exist" comment="library directories uid root" id="oval:ssg:tst:125" version="1">
444 <unix:object object_ref="oval:ssg:obj:177"/>
445 </unix:file_test>
446 <unix:file_test check="all" check_existence="none_exist" comment="library files uid root" id="oval:ssg:tst:126" version="1">
447 <unix:object object_ref="oval:ssg:obj:178"/>
448 </unix:file_test>
449 <ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="oval:ssg:tst:101" version="1">
450 <ind:object object_ref="oval:ssg:obj:103"/>
451 <ind:state state_ref="oval:ssg:ste:104"/>
452 </ind:family_test>
453 <linux:rpminfo_test check="all" check_existence="only_one_exists" comment="fedora-release is version 19" id="oval:ssg:tst:102" version="1">
454 <linux:object object_ref="oval:ssg:obj:105"/>
455 <linux:state state_ref="oval:ssg:ste:106"/>
456 </linux:rpminfo_test>
457 <unix:file_test check="all" check_existence="none_exist" comment="look for sshd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:tst:128" version="1">
458 <unix:object object_ref="oval:ssg:obj:179"/>
459 </unix:file_test>
460 <unix:file_test check="all" check_existence="at_least_one_exists" comment="look for ntpd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:tst:131" version="1">
461 <unix:object object_ref="oval:ssg:obj:180"/>
462 </unix:file_test>
463 <linux:rpminfo_test check="all" check_existence="all_exist" id="oval:ssg:tst:132" version="1" comment="package ntp is installed">
464 <linux:object object_ref="oval:ssg:obj:181"/>
465 </linux:rpminfo_test>
466 <ind:textfilecontent54_test check="all" comment="check PASS_MIN_LEN in /etc/login.defs" id="oval:ssg:tst:134" version="1">
467 <ind:object object_ref="oval:ssg:obj:182"/>
468 <ind:state state_ref="oval:ssg:ste:183"/>
469 </ind:textfilecontent54_test>
470 <ind: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:ssg:tst:136" version="1">
471 <ind:object object_ref="oval:ssg:obj:184"/>
472 <ind:state state_ref="oval:ssg:ste:185"/>
473 </ind:textfilecontent54_test>
474 <unix:file_test check="all" check_existence="none_exist" comment="library directories go-w" id="oval:ssg:tst:138" version="1">
475 <unix:object object_ref="oval:ssg:obj:186"/>
476 </unix:file_test>
477 <unix:file_test check="all" check_existence="none_exist" comment="library files go-w" id="oval:ssg:tst:139" version="1">
478 <unix:object object_ref="oval:ssg:obj:187"/>
479 </unix:file_test>
480 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="check value of gpgcheck in /etc/yum.conf" id="oval:ssg:tst:141" version="1">
481 <ind:object object_ref="oval:ssg:obj:188"/>
482 </ind:textfilecontent54_test>
483 <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Ensure at least one NTP server is set" id="oval:ssg:tst:143" version="1">
484 <ind:object object_ref="oval:ssg:obj:189"/>
485 </ind:textfilecontent54_test>
486 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="serial ports /etc/securetty" id="oval:ssg:tst:145" version="1">
487 <ind:object object_ref="oval:ssg:obj:190"/>
488 </ind:textfilecontent54_test>
489 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="check default sshd config" id="oval:ssg:tst:147" version="1">
490 <ind:object object_ref="oval:ssg:obj:191"/>
491 </ind:textfilecontent54_test>
492 <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="SSH login via empty passwords forbidden in sshd config" id="oval:ssg:tst:148" version="1">
493 <ind:object object_ref="oval:ssg:obj:192"/>
494 </ind:textfilecontent54_test>
495 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="check for existence of gpgcheck=0 in /etc/yum.repos.d/ files" id="oval:ssg:tst:150" version="1">
496 <ind:object object_ref="oval:ssg:obj:193"/>
497 </ind:textfilecontent54_test>
498 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests whether prelinking is disabled" id="oval:ssg:tst:152" version="1">
499 <ind:object object_ref="oval:ssg:obj:194"/>
500 </ind:textfilecontent54_test>
501 <linux:rpminfo_test check="all" check_existence="none_exist" id="oval:ssg:tst:153" version="1" comment="package openssh-server is removed">
502 <linux:object object_ref="oval:ssg:obj:195"/>
503 </linux:rpminfo_test>
504 <unix:file_test check="all" check_existence="none_exist" comment="binary directories uid root" id="oval:ssg:tst:155" version="1">
505 <unix:object object_ref="oval:ssg:obj:196"/>
506 </unix:file_test>
507 <unix:file_test check="all" check_existence="none_exist" comment="binary files uid root" id="oval:ssg:tst:156" version="1">
508 <unix:object object_ref="oval:ssg:obj:197"/>
509 </unix:file_test>
510 <unix:file_test check="all" check_existence="at_least_one_exists" comment="look for .netrc in /home" id="oval:ssg:tst:158" version="1">
511 <unix:object object_ref="oval:ssg:obj:198"/>
512 </unix:file_test>
513 <ind:textfilecontent54_test check="all" comment="Tests the value of PASS_MIN_DAYS in /etc/login.defs" id="oval:ssg:tst:160" version="1">
514 <ind:object object_ref="oval:ssg:obj:199"/>
515 <ind:state state_ref="oval:ssg:ste:200"/>
516 </ind:textfilecontent54_test>
517 <unix:file_test check="all" check_existence="none_exist" comment="binary files go-w" id="oval:ssg:tst:162" version="1">
518 <unix:object object_ref="oval:ssg:obj:201"/>
519 </unix:file_test>
520 <ind:textfilecontent54_test check="all" comment="Tests the value of PASS_WARN_AGE in /etc/login.defs" id="oval:ssg:tst:164" version="1">
521 <ind:object object_ref="oval:ssg:obj:202"/>
522 <ind:state state_ref="oval:ssg:ste:203"/>
523 </ind:textfilecontent54_test>
524 </tests>
525 <objects>
526 <unix:password_object id="oval:ssg:obj:165" version="1">
527 <unix:username operation="pattern match">.*</unix:username>
528 </unix:password_object>
529 <ind:textfilecontent54_object comment="virtual consoles /etc/securetty" id="oval:ssg:obj:167" version="1">
530 <ind:filepath>/etc/securetty</ind:filepath>
531 <ind:pattern operation="pattern match">^vc/[0-9]+$</ind:pattern>
532 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
533 </ind:textfilecontent54_object>
534 <ind:textfilecontent54_object id="oval:ssg:obj:168" version="1">
535 <ind:filepath>/etc/pam.d/system-auth</ind:filepath>
536 <ind:pattern operation="pattern match">\s*nullok\s*</ind:pattern>
537 <ind:instance datatype="int">1</ind:instance>
538 </ind:textfilecontent54_object>
539 <ind:textfilecontent54_object id="oval:ssg:obj:169" version="1">
540 <ind:filepath>/etc/login.defs</ind:filepath>
541 <ind:pattern operation="pattern match">^[\s]*PASS_MAX_DAYS[\s]+(\d+)\s*$</ind:pattern>
542 <ind:instance datatype="int">1</ind:instance>
543 </ind:textfilecontent54_object>
544 <ind:textfilecontent54_object id="oval:ssg:obj:171" version="1">
545 <!-- Read whole /etc/ssh/sshd_config at once (as single line) -->
546 <ind:behaviors singleline="true"/>
547 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
548 <!-- Case insensitively search /etc/ssh/sshd_config for uncommented
549 occurrence of at least one 'PermitRootLogin no' directive, which
550 is not preceded by (uncommented) occurence of 'PermitRootLogin yes' -->
551 <ind:pattern operation="pattern match">^(?i)(?:(?!\n\s*PermitRootLogin\s+yes).)*(\n\s*PermitRootLogin\s+no)(.*)$</ind:pattern>
552 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
553 </ind:textfilecontent54_object>
554 <ind:textfilecontent54_object id="oval:ssg:obj:172" version="1">
555 <ind:filepath>/etc/passwd</ind:filepath>
556 <ind:pattern operation="pattern match">^(?!root:)[^:]*:[^:]:0</ind:pattern>
557 <ind:instance datatype="int">1</ind:instance>
558 </ind:textfilecontent54_object>
559 <ind:textfilecontent54_object id="oval:ssg:obj:173" version="1">
560 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
561 <ind:pattern operation="pattern match">^[\s]*(?i)ClientAliveInterval[\s]+(\d+)[\s]*$</ind:pattern>
562 <ind:instance datatype="int">1</ind:instance>
563 </ind:textfilecontent54_object>
564 <ind:textfilecontent54_object id="oval:ssg:obj:176" version="1">
565 <ind:filepath>/etc/passwd</ind:filepath>
566 <ind:pattern operation="pattern match">^(?!root).*:x:[\d]*:0*([0-9]{1,2}|[1-4][0-9]{2}):[^:]*:[^:]*:(?!\/sbin\/nologin|\/bin\/sync|\/sbin\/shutdown|\/sbin\/halt).*$</ind:pattern>
567 <ind:instance datatype="int">1</ind:instance>
568 </ind:textfilecontent54_object>
569 <unix:file_object comment="library directories" id="oval:ssg:obj:177" version="1">
570 <!-- Check that /lib, /lib64, /usr/lib, and /usr/lib64 directories belong to user with uid 0 (root) -->
571 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
572 <unix:filename xsi:nil="true"/>
573 <filter action="include">oval:ssg:ste:204</filter>
574 </unix:file_object>
575 <unix:file_object comment="library files" id="oval:ssg:obj:178" version="1">
576 <!-- Check that files within /lib, /lib64, /usr/lib, and /usr/lib64 directories belong to user with uid 0 (root) -->
577 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
578 <unix:filename operation="pattern match">^.*$</unix:filename>
579 <filter action="include">oval:ssg:ste:204</filter>
580 </unix:file_object>
581 <ind:family_object id="oval:ssg:obj:103" version="1"/>
582 <linux:rpminfo_object id="oval:ssg:obj:105" version="1">
583 <linux:name>fedora-release</linux:name>
584 </linux:rpminfo_object>
585 <unix:file_object comment="look for sshd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:obj:179" version="1">
586 <unix:filepath>/etc/systemd/system/multi-user.target.wants/sshd.service</unix:filepath>
587 <filter action="include">oval:ssg:ste:205</filter>
588 </unix:file_object>
589 <unix:file_object comment="look for ntpd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:obj:180" version="1">
590 <unix:filepath>/etc/systemd/system/multi-user.target.wants/ntpd.service</unix:filepath>
591 <filter action="include">oval:ssg:ste:205</filter>
592 </unix:file_object>
593 <linux:rpminfo_object id="oval:ssg:obj:181" version="1">
594 <linux:name>ntp</linux:name>
595 </linux:rpminfo_object>
596 <ind:textfilecontent54_object id="oval:ssg:obj:182" version="1">
597 <ind:filepath>/etc/login.defs</ind:filepath>
598 <ind:pattern operation="pattern match">^PASS_MIN_LEN\s+(\d+)\s*$</ind:pattern>
599 <ind:instance datatype="int">1</ind:instance>
600 </ind:textfilecontent54_object>
601 <ind:textfilecontent54_object id="oval:ssg:obj:184" version="1">
602 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
603 <ind:pattern operation="pattern match">^[\s]*(?i)ClientAliveCountMax[\s]+([\d]+)[\s]*$</ind:pattern>
604 <ind:instance datatype="int">1</ind:instance>
605 </ind:textfilecontent54_object>
606 <unix:file_object comment="library directories" id="oval:ssg:obj:186" version="1">
607 <!-- Check that /lib, /lib64, /usr/lib, /usr/lib64 directories have safe permissions (go-w) -->
608 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
609 <unix:filename xsi:nil="true"/>
610 <filter action="include">oval:ssg:ste:206</filter>
611 <filter action="exclude">oval:ssg:ste:207</filter>
612 </unix:file_object>
613 <unix:file_object comment="library files" id="oval:ssg:obj:187" version="1">
614 <!-- Check the files within /lib, /lib64, /usr/lib, /usr/lib64 directories have safe permissions (go-w) -->
615 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
616 <unix:filename operation="pattern match">^.*$</unix:filename>
617 <filter action="include">oval:ssg:ste:206</filter>
618 <filter action="exclude">oval:ssg:ste:207</filter>
619 </unix:file_object>
620 <ind:textfilecontent54_object id="oval:ssg:obj:188" comment="gpgcheck set in /etc/yum.conf" version="1">
621 <ind:filepath>/etc/yum.conf</ind:filepath>
622 <ind:pattern operation="pattern match">^\s*gpgcheck\s*=\s*1\s*$</ind:pattern>
623 <ind:instance datatype="int" operation="equals">1</ind:instance>
624 </ind:textfilecontent54_object>
625 <ind:textfilecontent54_object comment="Ensure at least one NTP server is set" id="oval:ssg:obj:189" version="1">
626 <ind:filepath>/etc/ntp.conf</ind:filepath>
627 <ind:pattern operation="pattern match">^[\s]*server[\s]+.+$</ind:pattern>
628 <ind:instance datatype="int">1</ind:instance>
629 </ind:textfilecontent54_object>
630 <ind:textfilecontent54_object comment="serial ports /etc/securetty" id="oval:ssg:obj:190" version="1">
631 <ind:filepath>/etc/securetty</ind:filepath>
632 <ind:pattern operation="pattern match">^ttyS[0-9]+$</ind:pattern>
633 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
634 </ind:textfilecontent54_object>
635 <ind:textfilecontent54_object id="oval:ssg:obj:191" version="1">
636 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
637 <!-- Case-insensitively search sshd config in multiline mode for uncommented
638 occurrence of either 'PermitEmptyPasswords yes' or
639 'PermitEmptyPasswords no' -->
640 <ind:pattern operation="pattern match">^(?i)\s*PermitEmptyPasswords\s+(yes|no)\s*$</ind:pattern>
641 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
642 </ind:textfilecontent54_object>
643 <ind:textfilecontent54_object id="oval:ssg:obj:192" version="1">
644 <!-- Read whole /etc/ssh/sshd_config at one (as single line) -->
645 <ind:behaviors singleline="true"/>
646 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
647 <!-- Case-insensitively search sshd config in singleline mode for uncommented
648 occurrence of 'PermitEmptyPasswords no', which is not prefixed / preceded by
649 'PermitEmptyPasswords yes' [*] -->
650 <ind:pattern operation="pattern match">^(?i)(?:(?!\n\s*PermitEmptyPasswords\s+yes).)*(\n\s*PermitEmptyPasswords\s+no)(.*)$</ind:pattern>
651 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
652 </ind:textfilecontent54_object>
653 <ind:textfilecontent54_object id="oval:ssg:obj:193" version="1">
654 <ind:path>/etc/yum.repos.d</ind:path>
655 <ind:filename operation="pattern match">.*</ind:filename>
656 <ind:pattern operation="pattern match">^\s*gpgcheck\s*=\s*0\s*$</ind:pattern>
657 <ind:instance datatype="int">1</ind:instance>
658 </ind:textfilecontent54_object>
659 <ind:textfilecontent54_object id="oval:ssg:obj:194" version="1">
660 <ind:filepath>/etc/sysconfig/prelink</ind:filepath>
661 <ind:pattern operation="pattern match">^PRELINKING=no$</ind:pattern>
662 <ind:instance datatype="int">1</ind:instance>
663 </ind:textfilecontent54_object>
664 <linux:rpminfo_object id="oval:ssg:obj:195" version="1">
665 <linux:name>openssh-server</linux:name>
666 </linux:rpminfo_object>
667 <unix:file_object comment="binary directories" id="oval:ssg:obj:196" version="1">
668 <!-- Check that /bin, /sbin, /usr/sbin, /usr/sbin, /usr/local/bin, and
669 /usr/local/sbin directories belong to user with uid 0 (root) -->
670 <unix:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix:path>
671 <unix:filename xsi:nil="true"/>
672 <filter action="include">oval:ssg:ste:208</filter>
673 </unix:file_object>
674 <unix:file_object comment="binary files" id="oval:ssg:obj:197" version="1">
675 <!-- Check that files within /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, and
676 /usr/local/sbin directories belong to user with uid 0 (root) -->
677 <unix:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix:path>
678 <unix:filename operation="pattern match">^.*$</unix:filename>
679 <filter action="include">oval:ssg:ste:208</filter>
680 </unix:file_object>
681 <unix:file_object comment="look for .netrc in /home" id="oval:ssg:obj:198" version="1">
682 <unix:behaviors recurse="directories" recurse_direction="down" max_depth="1" recurse_file_system="all"/>
683 <unix:path operation="equals">/home</unix:path>
684 <unix:filename operation="pattern match">^\.netrc$</unix:filename>
685 </unix:file_object>
686 <ind:textfilecontent54_object id="oval:ssg:obj:199" version="1">
687 <ind:filepath>/etc/login.defs</ind:filepath>
688 <ind:pattern operation="pattern match">^[\s]*PASS_MIN_DAYS[\s]+(\d+)\s*$</ind:pattern>
689 <ind:instance datatype="int">1</ind:instance>
690 </ind:textfilecontent54_object>
691 <unix:file_object comment="binary files" id="oval:ssg:obj:201" version="1">
692 <!-- Check that binary files under /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin,
693 and /usr/local/sbin directories have safe permissions (go-w) -->
694 <unix:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix:path>
695 <unix:filename operation="pattern match">^.*$</unix:filename>
696 <filter action="include">oval:ssg:ste:209</filter>
697 <filter action="exclude">oval:ssg:ste:210</filter>
698 </unix:file_object>
699 <ind:textfilecontent54_object id="oval:ssg:obj:202" version="1">
700 <ind:filepath>/etc/login.defs</ind:filepath>
701 <ind:pattern operation="pattern match">^[\s]*PASS_WARN_AGE[\s]*(\d+)\s*$</ind:pattern>
702 <ind:instance datatype="int">1</ind:instance>
703 </ind:textfilecontent54_object>
704 </objects>
705 <states>
706 <unix:password_state id="oval:ssg:ste:166" version="1">
707 <unix:password>x</unix:password>
708 </unix:password_state>
709 <ind:textfilecontent54_state id="oval:ssg:ste:170" version="1">
710 <ind:subexpression operation="less than or equal" var_ref="oval:ssg:var:211" datatype="int"/>
711 </ind:textfilecontent54_state>
712 <ind:textfilecontent54_state comment="upper bound of ClientAliveInterval in seconds" id="oval:ssg:ste:174" version="1">
713 <ind:subexpression datatype="int" operation="less than or equal" var_check="all" var_ref="oval:ssg:var:212"/>
714 </ind:textfilecontent54_state>
715 <ind:textfilecontent54_state comment="lower bound of ClientAliveInterval in seconds" id="oval:ssg:ste:175" version="1">
716 <ind:subexpression datatype="int" operation="greater than">0</ind:subexpression>
717 </ind:textfilecontent54_state>
718 <unix:file_state id="oval:ssg:ste:204" version="1">
719 <unix:user_id datatype="int" operation="not equal">0</unix:user_id>
720 </unix:file_state>
721 <ind:family_state id="oval:ssg:ste:104" version="1">
722 <ind:family>unix</ind:family>
723 </ind:family_state>
724 <linux:rpminfo_state id="oval:ssg:ste:106" version="1">
725 <linux:version operation="pattern match">^19$</linux:version>
726 </linux:rpminfo_state>
727 <unix:file_state id="oval:ssg:ste:205" version="1">
728 <unix:type operation="equals">symbolic link</unix:type>
729 </unix:file_state>
730 <ind:textfilecontent54_state id="oval:ssg:ste:183" version="1">
731 <ind:subexpression operation="greater than or equal" var_ref="oval:ssg:var:213" datatype="int"/>
732 </ind:textfilecontent54_state>
733 <ind:textfilecontent54_state id="oval:ssg:ste:185" version="1">
734 <ind:subexpression datatype="int" operation="equals">0</ind:subexpression>
735 </ind:textfilecontent54_state>
736 <unix:file_state id="oval:ssg:ste:206" version="1" operator="OR">
737 <unix:gwrite datatype="boolean">true</unix:gwrite>
738 <unix:owrite datatype="boolean">true</unix:owrite>
739 </unix:file_state>
740 <unix:file_state id="oval:ssg:ste:207" version="1">
741 <unix:type operation="equals">symbolic link</unix:type>
742 </unix:file_state>
743 <unix:file_state id="oval:ssg:ste:208" version="1" operator="OR">
744 <unix:user_id datatype="int" operation="not equal">0</unix:user_id>
745 </unix:file_state>
746 <ind:textfilecontent54_state id="oval:ssg:ste:200" version="1">
747 <ind:subexpression operation="greater than or equal" var_ref="oval:ssg:var:214" datatype="int"/>
748 </ind:textfilecontent54_state>
749 <unix:file_state id="oval:ssg:ste:209" version="1" operator="OR">
750 <unix:gwrite datatype="boolean">true</unix:gwrite>
751 <unix:owrite datatype="boolean">true</unix:owrite>
752 </unix:file_state>
753 <unix:file_state id="oval:ssg:ste:210" version="1">
754 <unix:type operation="equals">symbolic link</unix:type>
755 </unix:file_state>
756 <ind:textfilecontent54_state id="oval:ssg:ste:203" version="1">
757 <ind:subexpression operation="greater than or equal" var_ref="oval:ssg:var:215" datatype="int"/>
758 </ind:textfilecontent54_state>
759 </states>
760 <variables>
761 <external_variable comment="maximum password age" datatype="int" id="oval:ssg:var:211" version="1"/>
762 <external_variable comment="timeout value" datatype="int" id="oval:ssg:var:212" version="1"/>
763 <external_variable comment="password minimum length" datatype="int" id="oval:ssg:var:213" version="1"/>
764 <external_variable comment="minimum password age in days" datatype="int" id="oval:ssg:var:214" version="1"/>
765 <external_variable comment="password expiration warning age in days" datatype="int" id="oval:ssg:var:215" version="1"/>
766 </variables>
767 </oval_definitions></ds:component><ds:component id="scap_org.open-scap_comp_ssg-fedora-xccdf-1.2.xml" timestamp="2014-07-01T11:31:05"><Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_org.ssgproject.content_benchmark_FEDORA" resolved="1" xml:lang="en-US">
768 <status date="2014-07-01">draft</status>
769 <title xml:lang="en-US">Guide to the Secure Configuration of Fedora</title>
770 <description xml:lang="en-US">This guide presents a catalog of security-relevant configuration
771 settings for Fedora operating system formatted in the eXtensible Configuration
772 Checklist Description Format (XCCDF).
773 <br xmlns="http://www.w3.org/1999/xhtml"/>
774 <br xmlns="http://www.w3.org/1999/xhtml"/>
775 Providing system administrators with such guidance informs them how to securely
776 configure systems under their control in a variety of network roles. Policy
777 makers and baseline creators can use this catalog of settings, with its
778 associated references to higher-level security control catalogs, in order to
779 assist them in security baseline creation. This guide is a <i xmlns="http://www.w3.org/1999/xhtml">catalog, not a
780 checklist,</i> and satisfaction of every item is not likely to be possible or
781 sensible in many operational scenarios. However, the XCCDF format enables
782 granular selection and adjustment of settings, and their association with OVAL
783 and OCIL content provides an automated checking capability. Transformations of
784 this document, and its associated automated checking content, are capable of
785 providing baselines that meet a diverse set of policy objectives. Some example
786 XCCDF <i xmlns="http://www.w3.org/1999/xhtml">Profiles</i>, which are selections of items that form checklists and
787 can be used as baselines, are available with this guide. They can be
788 processed, in an automated fashion, with tools that support the Security
789 Content Automation Protocol (SCAP).
790 </description>
791 <notice xml:lang="en-US" id="terms_of_use">Do not attempt to implement any of the settings in
792 this guide without first testing them in a non-operational environment. The
793 creators of this guidance assume no responsibility whatsoever for its use by
794 other parties, and makes no guarantees, expressed or implied, about its
795 quality, reliability, or any other characteristic.</notice>
796 <front-matter xml:lang="en-US">The SCAP Security Guide Project<br xmlns="http://www.w3.org/1999/xhtml"/>https://fedorahosted.org/scap-security-guide</front-matter>
797 <rear-matter xml:lang="en-US">Red Hat and Fedora are either registered
798 trademarks or trademarks of Red Hat, Inc. in the United States and other
799 countries. All other names are registered trademarks or trademarks of their
800 respective companies.</rear-matter>
801 <platform idref="cpe:/o:fedoraproject:fedora:21"/>
802 <platform idref="cpe:/o:fedoraproject:fedora:20"/>
803 <platform idref="cpe:/o:fedoraproject:fedora:19"/>
804 <version>0.0.4</version>
805 <model system="urn:xccdf:scoring:default"/>
806 <Profile id="xccdf_org.ssgproject.content_profile_common">
807 <title xml:lang="en-US">Common Profile for General-Purpose Fedora Systems</title>
808 <description xml:lang="en-US">This profile contains items common to general-purpose Fedora installations.</description>
809 <select idref="xccdf_org.ssgproject.content_rule_disable_prelink" selected="true"/>
810 <select idref="xccdf_org.ssgproject.content_rule_ensure_gpgcheck_globally_activated" selected="true"/>
811 <select idref="xccdf_org.ssgproject.content_rule_ensure_gpgcheck_never_disabled" selected="true"/>
812 <select idref="xccdf_org.ssgproject.content_rule_file_permissions_library_dirs" selected="true"/>
813 <select idref="xccdf_org.ssgproject.content_rule_file_ownership_library_dirs" selected="true"/>
814 <select idref="xccdf_org.ssgproject.content_rule_file_permissions_binary_dirs" selected="true"/>
815 <select idref="xccdf_org.ssgproject.content_rule_file_ownership_binary_dirs" selected="true"/>
816 <select idref="xccdf_org.ssgproject.content_rule_no_direct_root_logins" selected="true"/>
817 <select idref="xccdf_org.ssgproject.content_rule_securetty_root_login_console_only" selected="true"/>
818 <select idref="xccdf_org.ssgproject.content_rule_restrict_serial_port_logins" selected="true"/>
819 <select idref="xccdf_org.ssgproject.content_rule_no_uidzero_except_root" selected="true"/>
820 <select idref="xccdf_org.ssgproject.content_rule_no_empty_passwords" selected="true"/>
821 <select idref="xccdf_org.ssgproject.content_rule_no_hashes_outside_shadow" selected="true"/>
822 <select idref="xccdf_org.ssgproject.content_rule_no_netrc_files" selected="true"/>
823 <select idref="xccdf_org.ssgproject.content_rule_accounts_password_minlen_login_defs" selected="true"/>
824 <select idref="xccdf_org.ssgproject.content_rule_accounts_minimum_age_login_defs" selected="true"/>
825 <select idref="xccdf_org.ssgproject.content_rule_accounts_maximum_age_login_defs" selected="true"/>
826 <select idref="xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs" selected="true"/>
827 <select idref="xccdf_org.ssgproject.content_rule_service_ntpd_enabled" selected="true"/>
828 <select idref="xccdf_org.ssgproject.content_rule_ntpd_specify_remote_server" selected="true"/>
829 <select idref="xccdf_org.ssgproject.content_rule_sshd_disable_root_login" selected="true"/>
830 <select idref="xccdf_org.ssgproject.content_rule_sshd_disable_empty_passwords" selected="true"/>
831 <select idref="xccdf_org.ssgproject.content_rule_sshd_set_idle_timeout" selected="true"/>
832 <select idref="xccdf_org.ssgproject.content_rule_sshd_set_keepalive" selected="true"/>
833 <refine-value idref="xccdf_org.ssgproject.content_value_var_accounts_password_minlen_login_defs" selector="12"/>
834 <refine-value idref="xccdf_org.ssgproject.content_value_var_accounts_minimum_age_login_defs" selector="7"/>
835 <refine-value idref="xccdf_org.ssgproject.content_value_var_accounts_maximum_age_login_defs" selector="90"/>
836 <refine-value idref="xccdf_org.ssgproject.content_value_var_accounts_password_warn_age_login_defs" selector="7"/>
837 <refine-value idref="xccdf_org.ssgproject.content_value_sshd_idle_timeout_value" selector="5_minutes"/>
838 </Profile>
839 <Value id="xccdf_org.ssgproject.content_value_conditional_clause" operator="equals" type="string">
840 <title xml:lang="en-US">A conditional clause for check statements.</title>
841 <description xml:lang="en-US">A conditional clause for check statements.</description>
842 <value>This is a placeholder.</value>
843 </Value>
844 <Group id="xccdf_org.ssgproject.content_group_intro">
845 <title xml:lang="en-US">Introduction</title>
846 <description xml:lang="en-US"><!-- purpose and scope of guidance -->
847 The purpose of this guidance is to provide security configuration
848 recommendations and baselines for the Fedora operating system.
849 Recommended settings for the basic operating system are provided,
850 as well as for many network services that the system can provide
851 to other systems.
852 <!-- audience -->The guide is intended for system administrators. Readers are assumed to
853 possess basic system administration skills for Unix-like systems, as well
854 as some familiarity with Fedora's documentation and administration
855 conventions. Some instructions within this guide are complex.
856 All directions should be followed completely and with understanding of
857 their effects in order to avoid serious adverse effects on the system
858 and its security.
859 </description>
860 <Group id="xccdf_org.ssgproject.content_group_general-principles">
861 <title xml:lang="en-US">General Principles</title>
862 <description xml:lang="en-US">
863 The following general principles motivate much of the advice in this
864 guide and should also influence any configuration decisions that are
865 not explicitly covered.
866 </description>
867 <Group id="xccdf_org.ssgproject.content_group_principle-encrypt-transmitted-data">
868 <title xml:lang="en-US">Encrypt Transmitted Data Whenever Possible</title>
869 <description xml:lang="en-US">
870 Data transmitted over a network, whether wired or wireless, is susceptible
871 to passive monitoring. Whenever practical solutions for encrypting
872 such data exist, they should be applied. Even if data is expected to
873 be transmitted only over a local network, it should still be encrypted.
874 Encrypting authentication data, such as passwords, is particularly
875 important. Networks of Fedora machines can and should be configured
876 so that no unencrypted authentication data is ever transmitted between
877 machines.
878 </description>
879 </Group>
880 <Group id="xccdf_org.ssgproject.content_group_principle-minimize-software">
881 <title xml:lang="en-US">Minimize Software to Minimize Vulnerability</title>
882 <description xml:lang="en-US">
883 The simplest way to avoid vulnerabilities in software is to avoid
884 installing that software. On Fedora, the RPM Package Manager (originally
885 Red Hat Package Manager, abbreviated RPM) allows for careful management of
886 the set of software packages installed on a system. Installed software
887 contributes to system vulnerability in several ways. Packages that
888 include setuid programs may provide local attackers a potential path to
889 privilege escalation. Packages that include network services may give
890 this opportunity to network-based attackers. Packages that include
891 programs which are predictably executed by local users (e.g. after
892 graphical login) may provide opportunities for trojan horses or other
893 attack code to be run undetected. The number of software packages
894 installed on a system can almost always be significantly pruned to include
895 only the software for which there is an environmental or operational need.
896 </description>
897 </Group>
898 <Group id="xccdf_org.ssgproject.content_group_principle-separate-servers">
899 <title xml:lang="en-US">Run Different Network Services on Separate Systems</title>
900 <description xml:lang="en-US">
901 Whenever possible, a server should be dedicated to serving exactly one
902 network service. This limits the number of other services that can
903 be compromised in the event that an attacker is able to successfully
904 exploit a software flaw in one network service.
905 </description>
906 </Group>
907 <Group id="xccdf_org.ssgproject.content_group_principle-use-security-tools">
908 <title xml:lang="en-US">Configure Security Tools to Improve System Robustness</title>
909 <description xml:lang="en-US">
910 Several tools exist which can be effectively used to improve a system's
911 resistance to and detection of unknown attacks. These tools can improve
912 robustness against attack at the cost of relatively little configuration
913 effort. In particular, this guide recommends and discusses the use of
914 Iptables for host-based firewalling, SELinux for protection against
915 vulnerable services, and a logging and auditing infrastructure for
916 detection of problems.
917 </description>
918 </Group>
919 <Group id="xccdf_org.ssgproject.content_group_principle-least-privilege">
920 <title xml:lang="en-US">Least Privilege</title>
921 <description xml:lang="en-US">
922 Grant the least privilege necessary for user accounts and software to perform tasks.
923 For example, <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">sudo</xhtml:code> can be implemented to limit authorization to super user
924 accounts on the system only to designated personnel. Another example is to limit
925 logins on server systems to only those administrators who need to log into them in
926 order to perform administration tasks. Using SELinux also follows the principle of
927 least privilege: SELinux policy can confine software to perform only actions on the
928 system that are specifically allowed. This can be far more restrictive than the
929 actions permissible by the traditional Unix permissions model.
930 </description>
931 </Group>
932 </Group>
933 <Group id="xccdf_org.ssgproject.content_group_how-to-use">
934 <title xml:lang="en-US">How to Use This Guide</title>
935 <description xml:lang="en-US">
936 Readers should heed the following points when using the guide.
937 </description>
938 <Group id="xccdf_org.ssgproject.content_group_intro-read-sections-completely">
939 <title xml:lang="en-US">Read Sections Completely and in Order</title>
940 <description xml:lang="en-US">
941 Each section may build on information and recommendations discussed in
942 prior sections. Each section should be read and understood completely;
943 instructions should never be blindly applied. Relevant discussion may
944 occur after instructions for an action.
945 </description>
946 </Group>
947 <Group id="xccdf_org.ssgproject.content_group_intro-test-non-production">
948 <title xml:lang="en-US">Test in Non-Production Environment</title>
949 <description xml:lang="en-US">
950 This guidance should always be tested in a non-production environment
951 before deployment. This test environment should simulate the setup in
952 which the system will be deployed as closely as possible.
953 </description>
954 </Group>
955 <Group id="xccdf_org.ssgproject.content_group_intro-root-shell-assumed">
956 <title xml:lang="en-US">Root Shell Environment Assumed</title>
957 <description xml:lang="en-US">
958 Most of the actions listed in this document are written with the
959 assumption that they will be executed by the root user running the
960 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/bin/bash</xhtml:code> shell. Commands preceded with a hash mark (#)
961 assume that the administrator will execute the commands as root, i.e.
962 apply the command via <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">sudo</xhtml:code> whenever possible, or use
963 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">su</xhtml:code> to gain root privileges if <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">sudo</xhtml:code> cannot be
964 used. Commands which can be executed as a non-root user are are preceded
965 by a dollar sign ($) prompt.
966 </description>
967 </Group>
968 <Group id="xccdf_org.ssgproject.content_group_intro-formatting-conventions">
969 <title xml:lang="en-US">Formatting Conventions</title>
970 <description xml:lang="en-US">
971 Commands intended for shell execution, as well as configuration file text,
972 are featured in a <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">monospace font</xhtml:code>. <i xmlns="http://www.w3.org/1999/xhtml">Italics</i> are used
973 to indicate instances where the system administrator must substitute
974 the appropriate information into a command or configuration file.
975 </description>
976 </Group>
977 <Group id="xccdf_org.ssgproject.content_group_intro-reboot-required">
978 <title xml:lang="en-US">Reboot Required</title>
979 <description xml:lang="en-US">
980 A system reboot is implicitly required after some actions in order to
981 complete the reconfiguration of the system. In many cases, the changes
982 will not take effect until a reboot is performed. In order to ensure
983 that changes are applied properly and to test functionality, always
984 reboot the system after applying a set of recommendations from this guide.
985 </description>
986 </Group>
987 </Group>
988 </Group>
989 <Group id="xccdf_org.ssgproject.content_group_system">
990 <title xml:lang="en-US">System Settings</title>
991 <Group id="xccdf_org.ssgproject.content_group_settings">
992 <title xml:lang="en-US">General System Wide Configuration Settings</title>
993 <description xml:lang="en-US">The following sections contain information on
994 various security-relevant configuration settings that in
995 particular way modify the behaviour of the system as a whole.
996 </description>
997 <Rule id="xccdf_org.ssgproject.content_rule_disable_prelink" selected="false" severity="low">
998 <title xml:lang="en-US">Prelinking Disabled</title>
999 <description xml:lang="en-US">
1000 The prelinking feature changes binaries in an attempt to decrease their startup
1001 time. In order to disable it, change or add the following line inside the file
1002 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/sysconfig/prelink</xhtml:code>:
1003 <pre xmlns="http://www.w3.org/1999/xhtml">PRELINKING=no</pre>
1004 Next, run the following command to return binaries to a normal, non-prelinked
1005 state:
1006 <pre xmlns="http://www.w3.org/1999/xhtml"># /sbin/prelink -ua</pre>
1007 </description>
1008 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">CM-6(d)</reference>
1009 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">CM-6(3)</reference>
1010 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">SC-28</reference>
1011 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">SI-7</reference>
1012 <rationale xml:lang="en-US">
1013 The prelinking feature can interfere with the operation of checksum integrity
1014 tools (e.g. AIDE), because it modifies binaries to speed up their startup time.
1015 Also it makes the location of shared libraries very predictable, mitigating
1016 the efficiency of address space layout randomization (ASLR) protection mechanism.
1017 In addition, each upgrade of an application or a library requires prelink to be
1018 run again.
1019 </rationale>
1020 <fix system="urn:xccdf:fix:script:sh">#
1021 # Disable prelinking altogether
1022 #
1023 if grep -q ^PRELINKING /etc/sysconfig/prelink
1024 then
1025 sed -i 's/PRELINKING.*/PRELINKING=no/g' /etc/sysconfig/prelink
1026 else
1027 echo -e "\n# Set PRELINKING=no per security requirements" &gt;&gt; /etc/sysconfig/prelink
1028 echo "PRELINKING=no" &gt;&gt; /etc/sysconfig/prelink
1029 fi
1030
1031 #
1032 # Undo previous prelink changes to binaries
1033 #
1034 /usr/sbin/prelink -ua
1035 </fix>
1036 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1037 <check-content-ref name="oval:ssg:def:151" href="ssg-fedora-oval.xml"/>
1038 </check>
1039 </Rule>
1040 </Group>
1041 <Group id="xccdf_org.ssgproject.content_group_software">
1042 <title xml:lang="en-US">Installing and Maintaining Software</title>
1043 <description xml:lang="en-US">The following sections contain information on
1044 security-relevant choices during the initial operating system
1045 installation process and the setup of software
1046 updates.</description>
1047 <Group id="xccdf_org.ssgproject.content_group_updating">
1048 <title xml:lang="en-US">Updating Software</title>
1049 <description xml:lang="en-US">The <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">yum</xhtml:code> command line tool is used to install and
1050 update software packages. The system also provides a graphical
1051 software update tool in the <b xmlns="http://www.w3.org/1999/xhtml">System</b> menu, in the <b xmlns="http://www.w3.org/1999/xhtml">Administration</b> submenu,
1052 called <b xmlns="http://www.w3.org/1999/xhtml">Software Update</b>.
1053 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1054 Fedora systems contain an installed software catalog called
1055 the RPM database, which records metadata of installed packages. Tools such as
1056 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">yum</xhtml:code> or the graphical <b xmlns="http://www.w3.org/1999/xhtml">Software Update</b> ensure usage of RPM
1057 packages for software installation. This allows for insight into the current
1058 inventory of installed software on the system, and is highly recommended.
1059 </description>
1060 <Rule id="xccdf_org.ssgproject.content_rule_ensure_gpgcheck_globally_activated" selected="false" severity="high">
1061 <title xml:lang="en-US">gpgcheck Enabled In Main Yum Configuration</title>
1062 <description xml:lang="en-US">The <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">gpgcheck</xhtml:code> option should be used to ensure
1063 checking of an RPM package's signature always occurs prior to its
1064 installation. To configure yum to check package signatures before installing
1065 them, ensure the following line appears in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/yum.conf</xhtml:code> in
1066 the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">[main]</xhtml:code> section:
1067 <pre xmlns="http://www.w3.org/1999/xhtml">gpgcheck=1</pre>
1068 </description>
1069 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">SI-7</reference>
1070 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">MA-1(b)</reference>
1071 <reference href="http://iase.disa.mil/cci/index.html">352</reference>
1072 <reference href="http://iase.disa.mil/cci/index.html">663</reference>
1073 <rationale xml:lang="en-US">
1074 Ensuring the validity of packages' cryptographic signatures prior to
1075 installation ensures the provenance of the software and
1076 protects against malicious tampering.
1077 </rationale>
1078 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1079 <check-content-ref name="oval:ssg:def:140" href="ssg-fedora-oval.xml"/>
1080 </check>
1081 <check system="ocil-transitional">
1082 <check-export export-name="GPG checking is not enabled" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1083 <check-content>
1084 To determine whether <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">yum</xhtml:code> is configured to use <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">gpgcheck</xhtml:code>,
1085 inspect <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/yum.conf</xhtml:code> and ensure the following appears in the
1086 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">[main]</xhtml:code> section:
1087 <pre xmlns="http://www.w3.org/1999/xhtml">gpgcheck=1</pre>
1088 A value of <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">1</xhtml:code> indicates that <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">gpgcheck</xhtml:code> is enabled. Absence of a
1089 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">gpgcheck</xhtml:code> line or a setting of <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">0</xhtml:code> indicates that it is
1090 disabled.
1091 </check-content>
1092 </check>
1093 </Rule>
1094 <Rule id="xccdf_org.ssgproject.content_rule_ensure_gpgcheck_never_disabled" selected="false" severity="high">
1095 <title xml:lang="en-US">gpgcheck Enabled For All Yum Package Repositories</title>
1096 <description xml:lang="en-US">To ensure signature checking is not disabled for
1097 any repos, remove any lines from files in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/yum.repos.d</xhtml:code> of the form:
1098 <pre xmlns="http://www.w3.org/1999/xhtml">gpgcheck=0</pre>
1099 </description>
1100 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">SI-7</reference>
1101 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">MA-1(b)</reference>
1102 <reference href="http://iase.disa.mil/cci/index.html">352</reference>
1103 <reference href="http://iase.disa.mil/cci/index.html">663</reference>
1104 <rationale xml:lang="en-US">
1105 Ensuring all packages' cryptographic signatures are valid prior to
1106 installation ensures the provenance of the software and
1107 protects against malicious tampering.
1108 </rationale>
1109 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1110 <check-content-ref name="oval:ssg:def:149" href="ssg-fedora-oval.xml"/>
1111 </check>
1112 <check system="ocil-transitional">
1113 <check-export export-name="GPG checking is disabled" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1114 <check-content>
1115 To determine whether <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">yum</xhtml:code> has been configured to disable
1116 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">gpgcheck</xhtml:code> for any repos, inspect all files in
1117 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/yum.repos.d</xhtml:code> and ensure the following does not appear in any
1118 sections:
1119 <pre xmlns="http://www.w3.org/1999/xhtml">gpgcheck=0</pre>
1120 A value of <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">0</xhtml:code> indicates that <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">gpgcheck</xhtml:code> has been disabled for that repo.
1121 </check-content>
1122 </check>
1123 </Rule>
1124 </Group>
1125 </Group>
1126 <Group id="xccdf_org.ssgproject.content_group_permissions">
1127 <title xml:lang="en-US">File Permissions and Masks</title>
1128 <description xml:lang="en-US">Traditional Unix security relies heavily on file and
1129 directory permissions to prevent unauthorized users from reading or
1130 modifying files to which they should not have access.
1131 </description>
1132 <Group id="xccdf_org.ssgproject.content_group_permissions_within_important_dirs">
1133 <title xml:lang="en-US">Verify File Permissions Within Some Important Directories</title>
1134 <description xml:lang="en-US">Some directories contain files whose confidentiality or integrity
1135 is notably important and may also be susceptible to misconfiguration over time,
1136 particularly if unpackaged software is installed. As such, an argument exists
1137 to verify that files' permissions within these directories remain configured
1138 correctly and restrictively.
1139 </description>
1140 <Rule id="xccdf_org.ssgproject.content_rule_file_permissions_library_dirs" selected="false" severity="medium">
1141 <title xml:lang="en-US">Shared Library Files Have Restrictive Permissions</title>
1142 <description xml:lang="en-US">System-wide shared library files, which are linked to executables
1143 during process load time or run time, are stored in the following directories
1144 by default:
1145 <pre xmlns="http://www.w3.org/1999/xhtml">/lib
1146 /lib64
1147 /usr/lib
1148 /usr/lib64
1149 </pre>
1150 Kernel modules, which can be added to the kernel during runtime, are stored in
1151 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/lib/modules</xhtml:code>. All files in these directories should not be
1152 group-writable or world-writable. If any file in these directories is found to
1153 be group-writable or world-writable, correct its permission with the following
1154 command:
1155 <pre xmlns="http://www.w3.org/1999/xhtml"># chmod go-w <i>FILE</i></pre>
1156 </description>
1157 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6</reference>
1158 <reference href="http://iase.disa.mil/cci/index.html">1499</reference>
1159 <rationale xml:lang="en-US">Files from shared library directories are loaded into the address
1160 space of processes (including privileged ones) or of the kernel itself at
1161 runtime. Restrictive permissions are necessary to protect the integrity of the
1162 system.
1163 </rationale>
1164 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1165 <check-content-ref name="oval:ssg:def:137" href="ssg-fedora-oval.xml"/>
1166 </check>
1167 </Rule>
1168 <Rule id="xccdf_org.ssgproject.content_rule_file_ownership_library_dirs" selected="false" severity="medium">
1169 <title xml:lang="en-US">Shared Library Files Have Root Ownership</title>
1170 <description xml:lang="en-US">System-wide shared library files, which are linked to executables
1171 during process load time or run time, are stored in the following directories
1172 by default:
1173 <pre xmlns="http://www.w3.org/1999/xhtml">/lib
1174 /lib64
1175 /usr/lib
1176 /usr/lib64
1177 </pre>
1178 Kernel modules, which can be added to the kernel during runtime, are also
1179 stored in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/lib/modules</xhtml:code>. All files in these directories should be owned
1180 by the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">root</xhtml:code> user. If the directory, or any file in these directories,
1181 is found to be owned by a user other than root correct its ownership with the
1182 following command:
1183 <pre xmlns="http://www.w3.org/1999/xhtml"># chown root <i>FILE</i></pre>
1184 </description>
1185 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6</reference>
1186 <reference href="http://iase.disa.mil/cci/index.html">1499</reference>
1187 <rationale xml:lang="en-US">Files from shared library directories are loaded into the address
1188 space of processes (including privileged ones) or of the kernel itself at
1189 runtime. Proper ownership is necessary to protect the integrity of the system.
1190 </rationale>
1191 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1192 <check-content-ref name="oval:ssg:def:124" href="ssg-fedora-oval.xml"/>
1193 </check>
1194 </Rule>
1195 <Rule id="xccdf_org.ssgproject.content_rule_file_permissions_binary_dirs" selected="false" severity="medium">
1196 <title xml:lang="en-US">System Executables Have Restrictive Permissions</title>
1197 <description xml:lang="en-US">
1198 System executables are stored in the following directories by default:
1199 <pre xmlns="http://www.w3.org/1999/xhtml">/bin
1200 /usr/bin
1201 /usr/local/bin
1202 /sbin
1203 /usr/sbin
1204 /usr/local/sbin</pre>
1205 All files in these directories should not be group-writable or world-writable.
1206 If any file <i xmlns="http://www.w3.org/1999/xhtml">FILE</i> in these directories is found to be group-writable or
1207 world-writable, correct its permission with the following command:
1208 <pre xmlns="http://www.w3.org/1999/xhtml"># chmod go-w <i>FILE</i></pre>
1209 </description>
1210 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6</reference>
1211 <reference href="http://iase.disa.mil/cci/index.html">1499</reference>
1212 <rationale xml:lang="en-US">System binaries are executed by privileged users, as well as system
1213 services, and restrictive permissions are necessary to ensure execution of
1214 these programs cannot be co-opted.
1215 </rationale>
1216 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1217 <check-content-ref name="oval:ssg:def:161" href="ssg-fedora-oval.xml"/>
1218 </check>
1219 </Rule>
1220 <Rule id="xccdf_org.ssgproject.content_rule_file_ownership_binary_dirs" selected="false" severity="medium">
1221 <title xml:lang="en-US">System Executables Have Root Ownership</title>
1222 <description xml:lang="en-US">
1223 System executables are stored in the following directories by default:
1224 <pre xmlns="http://www.w3.org/1999/xhtml">/bin
1225 /usr/bin
1226 /usr/local/bin
1227 /sbin
1228 /usr/sbin
1229 /usr/local/sbin</pre>
1230 All files in these directories should be owned by the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">root</xhtml:code> user. If
1231 any file <i xmlns="http://www.w3.org/1999/xhtml">FILE</i> in these directories is found to be owned by a user other
1232 than root, correct its ownership with the following command:
1233 <pre xmlns="http://www.w3.org/1999/xhtml"># chown root <i>FILE</i></pre>
1234 </description>
1235 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6</reference>
1236 <reference href="http://iase.disa.mil/cci/index.html">1499</reference>
1237 <rationale xml:lang="en-US">System binaries are executed by privileged users as well as system
1238 services, and restrictive permissions are necessary to ensure that their
1239 execution of these programs cannot be co-opted.
1240 </rationale>
1241 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1242 <check-content-ref name="oval:ssg:def:154" href="ssg-fedora-oval.xml"/>
1243 </check>
1244 </Rule>
1245 </Group>
1246 </Group>
1247 <Group id="xccdf_org.ssgproject.content_group_accounts">
1248 <title xml:lang="en-US">Account and Access Control</title>
1249 <description xml:lang="en-US">In traditional Unix security, if an attacker gains
1250 shell access to a certain login account, they can perform any action
1251 or access any file to which that account has access. Therefore,
1252 making it more difficult for unauthorized people to gain shell
1253 access to accounts, particularly to privileged accounts, is a
1254 necessary part of securing a system. This section introduces
1255 mechanisms for restricting access to accounts under Fedora.
1256 </description>
1257 <Group id="xccdf_org.ssgproject.content_group_accounts-restrictions">
1258 <title xml:lang="en-US">Protect Accounts by Restricting Password-Based Login</title>
1259 <description xml:lang="en-US">Conventionally, Unix shell accounts are accessed by
1260 providing a username and password to a login program, which tests
1261 these values for correctness using the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code> and
1262 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/shadow</xhtml:code> files. Password-based login is vulnerable to
1263 guessing of weak passwords, and to sniffing and man-in-the-middle
1264 attacks against passwords entered over a network or at an insecure
1265 console. Therefore, mechanisms for accessing accounts by entering
1266 usernames and passwords should be restricted to those which are
1267 operationally necessary.</description>
1268 <Group id="xccdf_org.ssgproject.content_group_root_logins">
1269 <title xml:lang="en-US">Restrict Root Logins</title>
1270 <description xml:lang="en-US">
1271 Direct root logins should be allowed only for emergency use.
1272 In normal situations, the administrator should access the system
1273 via a unique unprivileged account, and then use <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">su</xhtml:code> or <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">sudo</xhtml:code> to execute
1274 privileged commands. Discouraging administrators from accessing the
1275 root account directly ensures an audit trail in organizations with
1276 multiple administrators. Locking down the channels through which
1277 root can connect directly also reduces opportunities for
1278 password-guessing against the root account. The <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">login</xhtml:code> program
1279 uses the file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/securetty</xhtml:code> to determine which interfaces
1280 should allow root logins.
1281
1282 The virtual devices <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/dev/console</xhtml:code>
1283 and <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/dev/tty*</xhtml:code> represent the system consoles (accessible via
1284 the Ctrl-Alt-F1 through Ctrl-Alt-F6 keyboard sequences on a default
1285 installation). The default securetty file also contains <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/dev/vc/*</xhtml:code>.
1286 These are likely to be deprecated in most environments, but may be retained
1287 for compatibility. Furthermore, <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/dev/hvc*</xhtml:code> represent virtio-serial
1288 consoles, <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/dev/hvsi*</xhtml:code> IBM pSeries serial consoles, and finally
1289 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/dev/xvc0</xhtml:code> Xen virtual console. Root should also be prohibited
1290 from connecting via network protocols. Other sections of this document
1291 include guidance describing how to prevent root from logging in via SSH.
1292 </description>
1293 <Rule id="xccdf_org.ssgproject.content_rule_no_direct_root_logins" selected="false" severity="medium">
1294 <title xml:lang="en-US">Direct root Logins Not Allowed</title>
1295 <description xml:lang="en-US">To further limit access to the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">root</xhtml:code> account, administrators
1296 can disable root logins at the console by editing the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/securetty</xhtml:code> file.
1297 This file lists all devices the root user is allowed to login to. If the file does
1298 not exist at all, the root user can login through any communication device on the
1299 system, whether via the console or via a raw network interface. This is dangerous
1300 as user can login to his machine as root via Telnet, which sends the password in
1301 plain text over the network. By default, Fedora's <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/securetty</xhtml:code> file
1302 only allows the root user to login at the console physically attached to the
1303 machine. To prevent root from logging in, remove the contents of this file.
1304 To prevent direct root logins, remove the contents of this file by typing the
1305 following command:
1306 <pre xmlns="http://www.w3.org/1999/xhtml">
1307 echo &gt; /etc/securetty
1308 </pre>
1309 </description>
1310 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-2(1)</reference>
1311 <rationale xml:lang="en-US">
1312 Disabling direct root logins ensures proper accountability and multifactor
1313 authentication to privileged accounts. Users will first login, then escalate
1314 to privileged (root) access via su / sudo. This scenario is nowadays required
1315 by security standards.
1316 </rationale>
1317 <check system="ocil-transitional">
1318 <check-export export-name="the /etc/securetty file is not empty" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1319 <check-content>
1320 To ensure root may not directly login to the system over physical consoles,
1321 run the following command:
1322 <pre xmlns="http://www.w3.org/1999/xhtml">cat /etc/securetty</pre>
1323 If any output is returned, this is a finding.
1324 </check-content>
1325 </check>
1326 </Rule>
1327 <Rule id="xccdf_org.ssgproject.content_rule_securetty_root_login_console_only" selected="false" severity="medium">
1328 <title xml:lang="en-US">Virtual Console Root Logins Restricted</title>
1329 <description xml:lang="en-US">
1330 To restrict root logins through the (deprecated) virtual console devices,
1331 ensure lines of this form do not appear in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/securetty</xhtml:code>:
1332 <pre xmlns="http://www.w3.org/1999/xhtml">vc/1
1333 vc/2
1334 vc/3
1335 vc/4</pre>
1336 </description>
1337 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6(2)</reference>
1338 <reference href="http://iase.disa.mil/cci/index.html">770</reference>
1339 <rationale xml:lang="en-US">
1340 Preventing direct root login to virtual console devices
1341 helps ensure accountability for actions taken on the system
1342 using the root account.
1343 </rationale>
1344 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1345 <check-content-ref name="oval:ssg:def:109" href="ssg-fedora-oval.xml"/>
1346 </check>
1347 <check system="ocil-transitional">
1348 <check-export export-name="root login over virtual console devices is permitted" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1349 <check-content>
1350 To check for virtual console entries which permit root login, run the
1351 following command:
1352 <pre xmlns="http://www.w3.org/1999/xhtml"># grep ^vc/[0-9] /etc/securetty</pre>
1353 If any output is returned, then root logins over virtual console devices is permitted.
1354 </check-content>
1355 </check>
1356 </Rule>
1357 <Rule id="xccdf_org.ssgproject.content_rule_restrict_serial_port_logins" selected="false" severity="low">
1358 <title xml:lang="en-US">Serial Port Root Logins Restricted</title>
1359 <description xml:lang="en-US">To restrict root logins on serial ports,
1360 ensure lines of this form do not appear in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/securetty</xhtml:code>:
1361 <pre xmlns="http://www.w3.org/1999/xhtml">ttyS0
1362 ttyS1</pre>
1363 <!-- TODO: discussion/description of serial port -->
1364 </description>
1365 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6(2)</reference>
1366 <reference href="http://iase.disa.mil/cci/index.html">770</reference>
1367 <rationale xml:lang="en-US">
1368 Preventing direct root login to serial port interfaces
1369 helps ensure accountability for actions taken on the systems
1370 using the root account.
1371 </rationale>
1372 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1373 <check-content-ref name="oval:ssg:def:144" href="ssg-fedora-oval.xml"/>
1374 </check>
1375 <check system="ocil-transitional">
1376 <check-export export-name="root login over serial ports is permitted" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1377 <check-content>
1378 To check for serial port entries which permit root login,
1379 run the following command:
1380 <pre xmlns="http://www.w3.org/1999/xhtml"># grep ^ttyS/[0-9] /etc/securetty</pre>
1381 If any output is returned, then root login over serial ports is permitted.
1382 </check-content>
1383 </check>
1384 </Rule>
1385 <Rule id="xccdf_org.ssgproject.content_rule_no_root_webbrowsing" selected="false" severity="low">
1386 <title xml:lang="en-US">Web Browser Use for Administrative Accounts Restricted</title>
1387 <description xml:lang="en-US">
1388 Enforce policy requiring administrative accounts use web browsers only for
1389 local service administration.
1390 </description>
1391 <rationale xml:lang="en-US">
1392 If a browser vulnerability is exploited while running with administrative privileges,
1393 the entire system could be compromised. Specific exceptions for local service
1394 administration should be documented in site-defined policy.
1395 </rationale>
1396 <check system="ocil-transitional">
1397 <check-export export-name="this is not the case" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1398 <check-content>
1399 Check the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">root</xhtml:code> home directory for a <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">.mozilla</xhtml:code> directory. If
1400 one exists, ensure browsing is limited to local service administration.
1401 </check-content>
1402 </check>
1403 </Rule>
1404 <Rule id="xccdf_org.ssgproject.content_rule_no_shelllogin_for_systemaccounts" selected="false" severity="medium">
1405 <title xml:lang="en-US">System Accounts Do Not Run a Shell Upon Login</title>
1406 <description xml:lang="en-US">
1407 Some accounts are not associated with a human
1408 user of the system, and exist to perform some administrative
1409 function. Should an attacker be able to log into these accounts,
1410 they should not be granted access to a shell.
1411 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1412 The login shell for each local account is stored in the last field of each line
1413 in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code>. System accounts are those user accounts with a user ID less than
1414 500. The user ID is stored in the third field.
1415 If any system account <i xmlns="http://www.w3.org/1999/xhtml">SYSACCT</i> (other than root) has a login shell,
1416 disable it with the command:
1417 <pre xmlns="http://www.w3.org/1999/xhtml"># usermod -s /sbin/nologin <i>SYSACCT</i></pre>
1418 </description>
1419 <warning xml:lang="en-US" override="false" category="functionality">
1420 Do not perform the steps in this
1421 section on the root account. Doing so might cause the system to
1422 become inaccessible.
1423 </warning>
1424 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf"/>
1425 <reference href="http://iase.disa.mil/cci/index.html">178</reference>
1426 <rationale xml:lang="en-US">
1427 Ensuring shells are not given to system accounts upon login
1428 makes it more difficult for attackers to make use of
1429 system accounts.
1430 </rationale>
1431 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1432 <check-content-ref name="oval:ssg:def:122" href="ssg-fedora-oval.xml"/>
1433 </check>
1434 <check system="ocil-transitional">
1435 <check-export export-name="any system account (other than root) has a login shell" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1436 <check-content>
1437 To obtain a listing of all users,
1438 their UIDs, and their shells, run the command:
1439 <pre xmlns="http://www.w3.org/1999/xhtml">$ awk -F: '{print $1 ":" $3 ":" $7}' /etc/passwd</pre>
1440 Identify the system accounts from this listing. These will
1441 primarily be the accounts with UID numbers less than 500, other
1442 than root.
1443 </check-content>
1444 </check>
1445 </Rule>
1446 <Rule id="xccdf_org.ssgproject.content_rule_no_uidzero_except_root" selected="false" severity="medium">
1447 <title xml:lang="en-US">Only Root Has UID 0</title>
1448 <description xml:lang="en-US">
1449 If any account other than root has a UID of 0,
1450 this misconfiguration should be investigated and the
1451 accounts other than root should be removed or have their UID changed.
1452 </description>
1453 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6</reference>
1454 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-2(1)</reference>
1455 <reference href="http://iase.disa.mil/cci/index.html">366</reference>
1456 <rationale xml:lang="en-US">
1457 An account has root authority if it has a UID of 0. Multiple accounts
1458 with a UID of 0 afford more opportunity for potential intruders to
1459 guess a password for a privileged account. Proper configuration of
1460 sudo is recommended to afford multiple system administrators
1461 access to root privileges in an accountable manner.
1462 </rationale>
1463 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1464 <check-content-ref name="oval:ssg:def:118" href="ssg-fedora-oval.xml"/>
1465 </check>
1466 <check system="ocil-transitional">
1467 <check-export export-name="any account other than root has a UID of 0" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1468 <check-content>
1469 To list all password file entries for accounts with UID 0, run the following command:
1470 <pre xmlns="http://www.w3.org/1999/xhtml"># awk -F: '($3 == "0") {print}' /etc/passwd</pre>
1471 This should print only one line, for the user root.
1472 </check-content>
1473 </check>
1474 </Rule>
1475 <Rule id="xccdf_org.ssgproject.content_rule_root_path_default" selected="false" severity="low">
1476 <title xml:lang="en-US">Root Path Is Vendor Default</title>
1477 <description xml:lang="en-US">
1478 Assuming root shell is bash, edit the following files:
1479 <pre xmlns="http://www.w3.org/1999/xhtml">~/.profile</pre>
1480 <pre xmlns="http://www.w3.org/1999/xhtml">~/.bashrc</pre>
1481 Change any <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH</xhtml:code> variables to the vendor default for root and remove any
1482 empty <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH</xhtml:code> entries or references to relative paths.
1483 </description>
1484 <rationale xml:lang="en-US">
1485 The root account's executable search path must be the vendor default, and must
1486 contain only absolute paths.
1487 </rationale>
1488 <check system="ocil-transitional">
1489 <check-export export-name="any of these conditions are not met" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1490 <check-content>
1491 To view the root user's <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH</xhtml:code>, run the following command:
1492 <pre xmlns="http://www.w3.org/1999/xhtml"># env | grep PATH</pre>
1493 If correctly configured, the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PATH</xhtml:code> must: use vendor default settings,
1494 have no empty entries, and have no entries beginning with a character
1495 other than a slash (/).
1496 </check-content>
1497 </check>
1498 </Rule>
1499 </Group>
1500 <Group id="xccdf_org.ssgproject.content_group_password_storage">
1501 <title xml:lang="en-US">Proper Storage and Existence of Password Hashes</title>
1502 <description xml:lang="en-US">
1503 By default, password hashes for local accounts are stored
1504 in the second field (colon-separated) in
1505 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/shadow</xhtml:code>. This file should be readable only by
1506 processes running with root credentials, preventing users from
1507 casually accessing others' password hashes and attempting
1508 to crack them.
1509 However, it remains possible to misconfigure the system
1510 and store password hashes
1511 in world-readable files such as <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code>, or
1512 to even store passwords themselves in plaintext on the system.
1513 Using system-provided tools for password change/creation
1514 should allow administrators to avoid such misconfiguration.
1515 </description>
1516 <Rule id="xccdf_org.ssgproject.content_rule_no_empty_passwords" selected="false" severity="high">
1517 <title xml:lang="en-US">Log In to Accounts With Empty Password Impossible</title>
1518 <description xml:lang="en-US">If an account is configured for password authentication
1519 but does not have an assigned password, it may be possible to log
1520 into the account without authentication. Remove any instances of the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">nullok</xhtml:code>
1521 option in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/pam.d/system-auth</xhtml:code> to
1522 prevent logins with empty passwords.
1523 </description>
1524 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(b)</reference>
1525 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(c)</reference>
1526 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(1)(a)</reference>
1527 <rationale xml:lang="en-US">
1528 If an account has an empty password, anyone could log in and
1529 run commands with the privileges of that account. Accounts with
1530 empty passwords should never be used in operational
1531 environments.
1532 </rationale>
1533 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1534 <check-content-ref name="oval:ssg:def:111" href="ssg-fedora-oval.xml"/>
1535 </check>
1536 <check system="ocil-transitional">
1537 <check-export export-name="NULL passwords can be used" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1538 <check-content>
1539 To verify that null passwords cannot be used, run the following command:
1540 <pre xmlns="http://www.w3.org/1999/xhtml"># grep nullok /etc/pam.d/system-auth</pre>
1541 If this produces any output, it may be possible to log into accounts
1542 with empty passwords.
1543 </check-content>
1544 </check>
1545 </Rule>
1546 <Rule id="xccdf_org.ssgproject.content_rule_no_hashes_outside_shadow" selected="false" severity="medium">
1547 <title xml:lang="en-US">Password Hashes For Each Account Shadowed</title>
1548 <description xml:lang="en-US">
1549 If any password hashes are stored in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code> (in the second field,
1550 instead of an <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">x</xhtml:code>), the cause of this misconfiguration should be
1551 investigated. The account should have its password reset and the hash should be
1552 properly stored, or the account should be deleted entirely.
1553 </description>
1554 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(h)</reference>
1555 <reference href="http://iase.disa.mil/cci/index.html">201</reference>
1556 <rationale xml:lang="en-US">
1557 The hashes for all user account passwords should be stored in
1558 the file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/shadow</xhtml:code> and never in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code>,
1559 which is readable by all users.
1560 </rationale>
1561 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1562 <check-content-ref name="oval:ssg:def:107" href="ssg-fedora-oval.xml"/>
1563 </check>
1564 <check system="ocil-transitional">
1565 <check-export export-name="any stored hashes are found in /etc/passwd" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1566 <check-content>
1567 To check that no password hashes are stored in
1568 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code>, run the following command:
1569 <pre xmlns="http://www.w3.org/1999/xhtml"># awk -F: '($2 != "x") {print}' /etc/passwd</pre>
1570 If it produces any output, then a password hash is
1571 stored in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code>.
1572 </check-content>
1573 </check>
1574 </Rule>
1575 <Rule id="xccdf_org.ssgproject.content_rule_gid_passwd_group_same" selected="false" severity="low">
1576 <title xml:lang="en-US">All GIDs referenced in /etc/passwd Defined in /etc/group</title>
1577 <description xml:lang="en-US">
1578 Add a group to the system for each GID referenced without a corresponding group.
1579 </description>
1580 <reference href="http://iase.disa.mil/cci/index.html">366</reference>
1581 <rationale xml:lang="en-US">
1582 Inconsistency in GIDs between <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code> and <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/group</xhtml:code> could lead to a user having unintended rights.
1583 </rationale>
1584 <check system="ocil-transitional">
1585 <check-export export-name="there is output" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1586 <check-content>
1587 To ensure all GIDs referenced in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/passwd</xhtml:code> are defined in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/group</xhtml:code>,
1588 run the following command:
1589 <pre xmlns="http://www.w3.org/1999/xhtml"># pwck -qr</pre>
1590 There should be no output.
1591 </check-content>
1592 </check>
1593 </Rule>
1594 <Rule id="xccdf_org.ssgproject.content_rule_no_netrc_files" selected="false" severity="medium">
1595 <title xml:lang="en-US">netrc Files Do Not Exist</title>
1596 <description xml:lang="en-US">The <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">.netrc</xhtml:code> files contain login information
1597 used to auto-login into FTP servers and reside in the user's home
1598 directory. These files may contain unencrypted passwords to
1599 remote FTP servers making them susceptible to access by unauthorized
1600 users and should not be used. Any <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">.netrc</xhtml:code> files should be removed.
1601 </description>
1602 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(h)</reference>
1603 <reference href="http://iase.disa.mil/cci/index.html">196</reference>
1604 <rationale xml:lang="en-US">
1605 Unencrypted passwords for remote FTP servers may be stored in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">.netrc</xhtml:code>
1606 files. DoD policy requires passwords be encrypted in storage and not used
1607 in access scripts.
1608 </rationale>
1609 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1610 <check-content-ref name="oval:ssg:def:157" href="ssg-fedora-oval.xml"/>
1611 </check>
1612 <check system="ocil-transitional">
1613 <check-export export-name="any .netrc files exist" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1614 <check-content>
1615 To check the system for the existence of any <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">.netrc</xhtml:code> files,
1616 run the following command:
1617 <pre xmlns="http://www.w3.org/1999/xhtml"># find /home -xdev -name .netrc</pre>
1618 <!-- needs fixup to limit search to home dirs -->
1619 </check-content>
1620 </check>
1621 </Rule>
1622 </Group>
1623 <Group id="xccdf_org.ssgproject.content_group_password_expiration">
1624 <title xml:lang="en-US">Set Password Expiration Parameters</title>
1625 <description xml:lang="en-US">The file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/login.defs</xhtml:code> controls several
1626 password-related settings. Programs such as <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">passwd</xhtml:code>,
1627 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">su</xhtml:code>, and <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">login</xhtml:code> consult <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/login.defs</xhtml:code> to determine
1628 behavior with regard to password aging, expiration warnings,
1629 and length. See the man page <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">login.defs(5)</xhtml:code> for more information.
1630 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1631 Users should be forced to change their passwords, in order to
1632 decrease the utility of compromised passwords. However, the need to
1633 change passwords often should be balanced against the risk that
1634 users will reuse or write down passwords if forced to change them
1635 too often. Forcing password changes every 90-360 days, depending on
1636 the environment, is recommended. Set the appropriate value as
1637 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PASS_MAX_DAYS</xhtml:code> and apply it to existing accounts with the
1638 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">-M</xhtml:code> flag.
1639 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1640 The <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PASS_MIN_DAYS</xhtml:code> (<xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">-m</xhtml:code>) setting prevents password
1641 changes for 7 days after the first change, to discourage password
1642 cycling. If you use this setting, train users to contact an administrator
1643 for an emergency password change in case a new password becomes
1644 compromised. The <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">PASS_WARN_AGE</xhtml:code> (<xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">-W</xhtml:code>) setting gives
1645 users 7 days of warnings at login time that their passwords are about to expire.
1646 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1647 For example, for each existing human user <i xmlns="http://www.w3.org/1999/xhtml">USER</i>, expiration parameters
1648 could be adjusted to a 180 day maximum password age, 7 day minimum password
1649 age, and 7 day warning period with the following command:
1650 <pre xmlns="http://www.w3.org/1999/xhtml"># chage -M 180 -m 7 -W 7 USER</pre>
1651 </description>
1652 <Value id="xccdf_org.ssgproject.content_value_var_accounts_password_minlen_login_defs" type="number">
1653 <title xml:lang="en-US">minimum password length</title>
1654 <description xml:lang="en-US">Minimum number of characters in password</description>
1655 <warning xml:lang="en-US" override="false" category="general">This will only check new passwords</warning>
1656 <value>12</value>
1657 <value selector="6">6</value>
1658 <value selector="8">8</value>
1659 <value selector="10">10</value>
1660 <value selector="12">12</value>
1661 <value selector="14">14</value>
1662 </Value>
1663 <Value id="xccdf_org.ssgproject.content_value_var_accounts_maximum_age_login_defs" type="number">
1664 <title xml:lang="en-US">maximum password age</title>
1665 <description xml:lang="en-US">Maximum age of password in days</description>
1666 <warning xml:lang="en-US" override="false" category="general">This will only apply to newly created accounts</warning>
1667 <value>60</value>
1668 <value selector="60">60</value>
1669 <value selector="90">90</value>
1670 <value selector="120">120</value>
1671 <value selector="180">180</value>
1672 </Value>
1673 <Value id="xccdf_org.ssgproject.content_value_var_accounts_minimum_age_login_defs" type="number">
1674 <title xml:lang="en-US">minimum password age</title>
1675 <description xml:lang="en-US">Minimum age of password in days</description>
1676 <warning xml:lang="en-US" override="false" category="general">This will only apply to newly created accounts</warning>
1677 <value>7</value>
1678 <value selector="7">7</value>
1679 <value selector="5">5</value>
1680 <value selector="1">1</value>
1681 <value selector="2">2</value>
1682 <value selector="0">0</value>
1683 </Value>
1684 <Value id="xccdf_org.ssgproject.content_value_var_accounts_password_warn_age_login_defs" type="number">
1685 <title xml:lang="en-US">warning days before password expires</title>
1686 <description xml:lang="en-US">The number of days' warning given before a password expires.</description>
1687 <warning xml:lang="en-US" override="false" category="general">This will only apply to newly created accounts</warning>
1688 <value>7</value>
1689 <value selector="0">0</value>
1690 <value selector="7">7</value>
1691 <value selector="14">14</value>
1692 </Value>
1693 <Rule id="xccdf_org.ssgproject.content_rule_accounts_password_minlen_login_defs" selected="false" severity="medium">
1694 <title xml:lang="en-US">Password Minimum Length</title>
1695 <description xml:lang="en-US">To specify password length requirements for new accounts,
1696 edit the file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/login.defs</xhtml:code> and add or correct the following
1697 lines:
1698 <pre xmlns="http://www.w3.org/1999/xhtml">PASS_MIN_LEN 12<!-- <sub idref="var_accounts_password_minlen_login_defs"> --></pre>
1699 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1700 Nowadays recommended values, considered as secure by various organizations
1701 focused on topic of computer security, range from <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">12 (FISMA)</xhtml:code> up to
1702 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">14 (DoD)</xhtml:code> characters for password length requirements.
1703 If a program consults <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/login.defs</xhtml:code> and also another PAM module
1704 (such as <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">pam_cracklib</xhtml:code>) during a password change operation,
1705 then the most restrictive must be satisfied. See PAM section
1706 for more information about enforcing password quality requirements.
1707 </description>
1708 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(f)</reference>
1709 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(1)(a)</reference>
1710 <reference href="http://iase.disa.mil/cci/index.html">205</reference>
1711 <rationale xml:lang="en-US">
1712 Requiring a minimum password length makes password
1713 cracking attacks more difficult by ensuring a larger
1714 search space. However, any security benefit from an onerous requirement
1715 must be carefully weighed against usability problems, support costs, or
1716 counterproductive behavior that may result.
1717 </rationale>
1718 <fix system="urn:xccdf:fix:script:sh">var_accounts_password_minlen_login_defs="<sub idref="xccdf_org.ssgproject.content_value_var_accounts_password_minlen_login_defs" use="legacy"/>"
1719 grep -q ^PASS_MIN_LEN /etc/login.defs &amp;&amp; \
1720 sed -i "s/PASS_MIN_LEN.*/PASS_MIN_LEN\t$var_accounts_password_minlen_login_defs/g" /etc/login.defs
1721 if ! [ $? -eq 0 ]
1722 then
1723 echo -e "PASS_MIN_LEN\t$var_accounts_password_minlen_login_defs" &gt;&gt; /etc/login.defs
1724 fi
1725 </fix>
1726 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1727 <check-export export-name="oval:ssg:var:213" value-id="xccdf_org.ssgproject.content_value_var_accounts_password_minlen_login_defs"/>
1728 <check-content-ref name="oval:ssg:def:133" href="ssg-fedora-oval.xml"/>
1729 </check>
1730 <check system="ocil-transitional">
1731 <check-export export-name="it is not set to the required value" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1732 <check-content>
1733 To check the minimum password length, run the command:
1734 <pre xmlns="http://www.w3.org/1999/xhtml">$ grep PASS_MIN_LEN /etc/login.defs</pre>
1735 Passwords of length <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">12</xhtml:code> characters and more are nowadays
1736 considered to be a standard requirement.
1737 </check-content>
1738 </check>
1739 </Rule>
1740 <Rule id="xccdf_org.ssgproject.content_rule_accounts_minimum_age_login_defs" selected="false" severity="medium">
1741 <title xml:lang="en-US">Password Minimum Age</title>
1742 <description xml:lang="en-US">To specify password minimum age for new accounts,
1743 edit the file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/login.defs</xhtml:code> and add or correct the
1744 following line, replacing the <i xmlns="http://www.w3.org/1999/xhtml">DAYS</i> item as appropriate:
1745 <pre xmlns="http://www.w3.org/1999/xhtml">PASS_MIN_DAYS <i>DAYS</i></pre>
1746 A value of 1 day is considered to be sufficient for many environments.
1747 </description>
1748 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(f)</reference>
1749 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(1)(d)</reference>
1750 <reference href="http://iase.disa.mil/cci/index.html">198</reference>
1751 <rationale xml:lang="en-US">
1752 Setting the minimum password age protects against users cycling
1753 back to a favorite password after satisfying the password reuse
1754 requirement.
1755 </rationale>
1756 <fix system="urn:xccdf:fix:script:sh">var_accounts_minimum_age_login_defs="<sub idref="xccdf_org.ssgproject.content_value_var_accounts_minimum_age_login_defs" use="legacy"/>"
1757 grep -q ^PASS_MIN_DAYS /etc/login.defs &amp;&amp; \
1758 sed -i "s/PASS_MIN_DAYS.*/PASS_MIN_DAYS\t$var_accounts_minimum_age_login_defs/g" /etc/login.defs
1759 if ! [ $? -eq 0 ]
1760 then
1761 echo -e "PASS_MIN_DAYS\t$var_accounts_minimum_age_login_defs" &gt;&gt; /etc/login.defs
1762 fi
1763 </fix>
1764 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1765 <check-export export-name="oval:ssg:var:214" value-id="xccdf_org.ssgproject.content_value_var_accounts_minimum_age_login_defs"/>
1766 <check-content-ref name="oval:ssg:def:159" href="ssg-fedora-oval.xml"/>
1767 </check>
1768 <check system="ocil-transitional">
1769 <check-export export-name="it is not set to the required value" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1770 <check-content>
1771 To check the minimum password age, run the command:
1772 <pre xmlns="http://www.w3.org/1999/xhtml">$ grep PASS_MIN_DAYS /etc/login.defs</pre>
1773 A value of 1 day is considered to be sufficient for many environments.
1774 </check-content>
1775 </check>
1776 </Rule>
1777 <Rule id="xccdf_org.ssgproject.content_rule_accounts_maximum_age_login_defs" selected="false" severity="medium">
1778 <title xml:lang="en-US">Password Maximum Age</title>
1779 <description xml:lang="en-US">To specify password maximum age for new accounts,
1780 edit the file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/login.defs</xhtml:code> and add or correct the
1781 following line, replacing the <i xmlns="http://www.w3.org/1999/xhtml">DAYS</i> item appropriately:
1782 <pre xmlns="http://www.w3.org/1999/xhtml">PASS_MAX_DAYS <i>DAYS</i></pre>
1783 A value of 180 days is sufficient for many environments.
1784 </description>
1785 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(f)</reference>
1786 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(g)</reference>
1787 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(1)(d)</reference>
1788 <reference href="http://iase.disa.mil/cci/index.html">180</reference>
1789 <reference href="http://iase.disa.mil/cci/index.html">199</reference>
1790 <rationale xml:lang="en-US">
1791 Setting the password maximum age ensures users are required to
1792 periodically change their passwords. This could possibly decrease
1793 the utility of a stolen password. Requiring shorter password lifetimes
1794 increases the risk of users writing down the password in a convenient
1795 location subject to physical compromise.</rationale>
1796 <fix system="urn:xccdf:fix:script:sh">var_accounts_maximum_age_login_defs="<sub idref="xccdf_org.ssgproject.content_value_var_accounts_maximum_age_login_defs" use="legacy"/>"
1797 grep -q ^PASS_MAX_DAYS /etc/login.defs &amp;&amp; \
1798 sed -i "s/PASS_MAX_DAYS.*/PASS_MAX_DAYS\t$var_accounts_maximum_age_login_defs/g" /etc/login.defs
1799 if ! [ $? -eq 0 ]
1800 then
1801 echo -e "PASS_MAX_DAYS\t$var_accounts_maximum_age_login_defs" &gt;&gt; /etc/login.defs
1802 fi
1803 </fix>
1804 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1805 <check-export export-name="oval:ssg:var:211" value-id="xccdf_org.ssgproject.content_value_var_accounts_maximum_age_login_defs"/>
1806 <check-content-ref name="oval:ssg:def:113" href="ssg-fedora-oval.xml"/>
1807 </check>
1808 <check system="ocil-transitional">
1809 <check-export export-name="it is not set to the required value" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1810 <check-content>
1811 To check the maximum password age, run the command:
1812 <pre xmlns="http://www.w3.org/1999/xhtml">$ grep PASS_MAX_DAYS /etc/login.defs</pre>
1813 A value of 180 days is sufficient for many environments.
1814 </check-content>
1815 </check>
1816 </Rule>
1817 <Rule id="xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs" selected="false" severity="low">
1818 <title xml:lang="en-US">Password Warning Age</title>
1819 <description xml:lang="en-US">To specify how many days prior to password
1820 expiration that a warning will be issued to users,
1821 edit the file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/login.defs</xhtml:code> and add or correct
1822 the following line, replacing the <i xmlns="http://www.w3.org/1999/xhtml">DAYS</i> item as appropriate:
1823 <pre xmlns="http://www.w3.org/1999/xhtml">PASS_WARN_AGE <i>DAYS</i></pre>
1824 A value of 7 days would be nowadays considered to be a standard.
1825 <!-- <sub idref="accounts_password_warn_age_login_defs_login_defs_value" /> -->
1826 </description>
1827 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-5(f)</reference>
1828 <rationale xml:lang="en-US">
1829 Setting the password warning age enables users to make the change
1830 at a practical time.
1831 </rationale>
1832 <fix system="urn:xccdf:fix:script:sh">var_accounts_password_warn_age_login_defs="<sub idref="xccdf_org.ssgproject.content_value_var_accounts_password_warn_age_login_defs" use="legacy"/>"
1833 grep -q ^PASS_WARN_AGE /etc/login.defs &amp;&amp; \
1834 sed -i "s/PASS_WARN_AGE.*/PASS_WARN_AGE\t$var_accounts_password_warn_age_login_defs/g" /etc/login.defs
1835 if ! [ $? -eq 0 ]
1836 then
1837 echo -e "PASS_WARN_AGE\t$var_accounts_password_warn_age_login_defs" &gt;&gt; /etc/login.defs
1838 fi
1839 </fix>
1840 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1841 <check-export export-name="oval:ssg:var:215" value-id="xccdf_org.ssgproject.content_value_var_accounts_password_warn_age_login_defs"/>
1842 <check-content-ref name="oval:ssg:def:163" href="ssg-fedora-oval.xml"/>
1843 </check>
1844 <check system="ocil-transitional">
1845 <check-export export-name="it is not set to the required value" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
1846 <check-content>
1847 To check the password warning age, run the command:
1848 <pre xmlns="http://www.w3.org/1999/xhtml">$ grep PASS_WARN_AGE /etc/login.defs</pre>
1849 A value of 7 days would be nowadays considered to be a standard.
1850 </check-content>
1851 </check>
1852 </Rule>
1853 </Group>
1854 </Group>
1855 </Group>
1856 </Group>
1857 <Group id="xccdf_org.ssgproject.content_group_services">
1858 <title xml:lang="en-US">Services</title>
1859 <description xml:lang="en-US">
1860 The best protection against vulnerable software is running less software. This
1861 section describes how to review the software which Fedora installs on a system
1862 and disable software which is not needed. It then enumerates the software
1863 packages installed on a default Fedora system and provides guidance about which
1864 ones can be safely disabled.
1865 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1866 Fedora provides a convenient minimal install option that essentially installs
1867 the bare necessities for a functional system. When building Fedora servers, it
1868 is highly recommended to select the minimal packages and then build up the
1869 system from there.
1870 </description>
1871 <Group id="xccdf_org.ssgproject.content_group_ntp">
1872 <title xml:lang="en-US">Network Time Protocol</title>
1873 <description xml:lang="en-US">The Network Time Protocol is used to manage the system clock over
1874 a network. Computer clocks are not very accurate, so time will drift
1875 unpredictably on unmanaged systems. Central time protocols can be used both to
1876 ensure that time is consistent among a network of machines, and that their time
1877 is consistent with the outside world.
1878 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1879 If every system on a network reliably reports the same time, then it is much
1880 easier to correlate log messages in case of an attack. In addition, a number of
1881 cryptographic protocols (such as Kerberos) use timestamps to prevent certain
1882 types of attacks. If your network does not have synchronized time, these
1883 protocols may be unreliable or even unusable.
1884 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1885 Depending on the specifics of the network, global time accuracy may be just as
1886 important as local synchronization, or not very important at all. If your
1887 network is connected to the Internet, using a public timeserver (or one
1888 provided by your enterprise) provides globally accurate timestamps which may be
1889 essential in investigating or responding to an attack which originated outside
1890 of your network.
1891 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1892 A typical network setup involves a small number of internal systems operating
1893 as NTP servers, and the remainder obtaining time information from those
1894 internal servers.
1895 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1896 More information on how to configure the NTP server software, including
1897 configuration of cryptographic authentication for time data, is available at
1898 http://www.ntp.org.
1899 </description>
1900 <Rule id="xccdf_org.ssgproject.content_rule_service_ntpd_enabled" selected="false" severity="medium">
1901 <title xml:lang="en-US">NTP Daemon Enabled</title>
1902 <description xml:lang="en-US">
1903
1904 The <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">ntpd</xhtml:code> service can be enabled with the following command:
1905 <xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml"># systemctl enable ntpd.service</xhtml:pre>
1906 </description>
1907 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AU-8(1)</reference>
1908 <reference href="http://iase.disa.mil/cci/index.html">160</reference>
1909 <rationale xml:lang="en-US">Enabling the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">ntpd</xhtml:code> service ensures that the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">ntpd</xhtml:code>
1910 service will be running and that the system will synchronize its time to any
1911 servers specified. This is important whether the system is configured to be a
1912 client (and synchronize only its own clock) or it is also acting as an NTP
1913 server to other systems. Synchronizing time is essential for authentication
1914 services such as Kerberos, but it is also important for maintaining accurate
1915 logs and auditing possible security breaches.
1916 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
1917 The NTP daemon offers all of the functionality of <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">ntpdate</xhtml:code>, which is
1918 now deprecated. Additional information on this is available at
1919 http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate</rationale>
1920 <fix system="urn:xccdf:fix:script:sh">#
1921 # Install ntp package if necessary
1922 #
1923
1924 yum -y install ntp
1925
1926 #
1927 # Enable ntpd service (for current systemd target)
1928 #
1929
1930 systemctl enable ntpd.service
1931
1932 #
1933 # Start ntpd if not currently running
1934 #
1935
1936 systemctl start ntpd.service
1937 </fix>
1938 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1939 <check-content-ref name="oval:ssg:def:129" href="ssg-fedora-oval.xml"/>
1940 </check>
1941 </Rule>
1942 <Rule id="xccdf_org.ssgproject.content_rule_ntpd_specify_remote_server" selected="false" severity="medium">
1943 <title xml:lang="en-US">Remote NTP Server Specified</title>
1944 <description xml:lang="en-US">To specify a remote NTP server for time synchronization, edit
1945 the file <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/ntp.conf</xhtml:code>. Add or correct the following lines,
1946 substituting the IP or hostname of a remote NTP server for <em xmlns="http://www.w3.org/1999/xhtml">ntpserver</em>:
1947 <pre xmlns="http://www.w3.org/1999/xhtml">server <i>ntpserver</i></pre>
1948 This instructs the NTP software to contact that remote server to obtain time
1949 data.
1950 </description>
1951 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AU-8(1)</reference>
1952 <reference href="http://iase.disa.mil/cci/index.html">160</reference>
1953 <rationale xml:lang="en-US">Synchronizing with an NTP server makes it possible to collate system
1954 logs from multiple sources or correlate computer events with real time events.
1955 </rationale>
1956 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
1957 <check-content-ref name="oval:ssg:def:142" href="ssg-fedora-oval.xml"/>
1958 </check>
1959 </Rule>
1960 </Group>
1961 <Group id="xccdf_org.ssgproject.content_group_ssh">
1962 <title xml:lang="en-US">SSH Server</title>
1963 <description xml:lang="en-US">The SSH protocol is recommended for remote login and remote file
1964 transfer. SSH provides confidentiality and integrity for data exchanged between
1965 two systems, as well as server authentication, through the use of public key
1966 cryptography. The implementation included with the system is called OpenSSH,
1967 and more detailed documentation is available from its website,
1968 http://www.openssh.org. Its server program is called <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">sshd</xhtml:code> and
1969 provided by the RPM package <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">openssh-server</xhtml:code>.</description>
1970 <Value id="xccdf_org.ssgproject.content_value_sshd_idle_timeout_value" operator="equals" type="number">
1971 <title xml:lang="en-US">SSH session Idle time</title>
1972 <description xml:lang="en-US">Specify duration of allowed idle time.</description>
1973 <value>300</value>
1974 <value selector="5_minutes">300</value>
1975 <value selector="10_minutes">600</value>
1976 <value selector="15_minutes">900</value>
1977 </Value>
1978 <Group id="xccdf_org.ssgproject.content_group_ssh_server">
1979 <title xml:lang="en-US">Configure OpenSSH Server if Necessary</title>
1980 <description xml:lang="en-US">If the system needs to act as an SSH server, then certain changes
1981 should be made to the OpenSSH daemon configuration file
1982 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/ssh/sshd_config</xhtml:code>. The following recommendations can be applied
1983 to this file. See the <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">sshd_config(5)</xhtml:code> man page for more detailed
1984 information.</description>
1985 <Rule id="xccdf_org.ssgproject.content_rule_sshd_disable_root_login" selected="false" severity="medium">
1986 <title xml:lang="en-US">SSH Root Login Disabled</title>
1987 <description xml:lang="en-US">The root user should never be allowed to login to a system
1988 directly over a network. To disable root login via SSH, add or correct the
1989 following line in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/ssh/sshd_config</xhtml:code>:
1990 <pre xmlns="http://www.w3.org/1999/xhtml">PermitRootLogin no</pre>
1991 </description>
1992 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">AC-6(2)</reference>
1993 <reference href="http://csrc.nist.gov/publications/nistpubs/800-53-Rev3/sp800-53-rev3-final.pdf">IA-2(1)</reference>
1994 <reference href="http://iase.disa.mil/cci/index.html">770</reference>
1995 <rationale xml:lang="en-US">
1996 Permitting direct root login reduces auditable information about who ran
1997 privileged commands on the system and also allows direct attack attempts on
1998 root's password.
1999 </rationale>
2000 <fix system="urn:xccdf:fix:script:sh">
2001 SSHD_CONFIG='/etc/ssh/sshd_config'
2002
2003 # Obtain line number of first uncommented case-insensitive occurrence of Match
2004 # block directive (possibly prefixed with whitespace) present in $SSHD_CONFIG
2005 FIRST_MATCH_BLOCK=$(sed -n '/^[[:space:]]*Match[^\n]*/I{=;q}' $SSHD_CONFIG)
2006
2007 # Obtain line number of first uncommented case-insensitive occurence of
2008 # PermitRootLogin directive (possibly prefixed with whitespace) present in
2009 # $SSHD_CONFIG
2010 FIRST_PERMIT_ROOT_LOGIN=$(sed -n '/^[[:space:]]*PermitRootLogin[^\n]*/I{=;q}' $SSHD_CONFIG)
2011
2012 # Case: Match block directive not present in $SSHD_CONFIG
2013 if [ -z "$FIRST_MATCH_BLOCK" ]
2014 then
2015
2016 # Case: PermitRootLogin directive not present in $SSHD_CONFIG yet
2017 if [ -z "$FIRST_PERMIT_ROOT_LOGIN" ]
2018 then
2019 # Append 'PermitRootLogin no' at the end of $SSHD_CONFIG
2020 echo -e "\nPermitRootLogin no" &gt;&gt; $SSHD_CONFIG
2021
2022 # Case: PermitRootLogin directive present in $SSHD_CONFIG already
2023 else
2024 # Replace first uncommented case-insensitive occurrence
2025 # of PermitRootLogin directive
2026 sed -i "$FIRST_PERMIT_ROOT_LOGIN s/^[[:space:]]*PermitRootLogin.*$/PermitRootLogin no/I" $SSHD_CONFIG
2027 fi
2028
2029 # Case: Match block directive present in $SSHD_CONFIG
2030 else
2031
2032 # Case: PermitRootLogin directive not present in $SSHD_CONFIG yet
2033 if [ -z "$FIRST_PERMIT_ROOT_LOGIN" ]
2034 then
2035 # Prepend 'PermitRootLogin no' before first uncommented
2036 # case-insensitive occurrence of Match block directive
2037 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/PermitRootLogin no\n\1/I" $SSHD_CONFIG
2038
2039 # Case: PermitRootLogin directive present in $SSHD_CONFIG and placed
2040 # before first Match block directive
2041 elif [ "$FIRST_PERMIT_ROOT_LOGIN" -lt "$FIRST_MATCH_BLOCK" ]
2042 then
2043 # Replace first uncommented case-insensitive occurrence
2044 # of PermitRootLogin directive
2045 sed -i "$FIRST_PERMIT_ROOT_LOGIN s/^[[:space:]]*PermitRootLogin.*$/PermitRootLogin no/I" $SSHD_CONFIG
2046
2047 # Case: PermitRootLogin directive present in $SSHD_CONFIG and placed
2048 # after first Match block directive
2049 else
2050 # Prepend 'PermitRootLogin no' before first uncommented
2051 # case-insensitive occurrence of Match block directive
2052 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/PermitRootLogin no\n\1/I" $SSHD_CONFIG
2053 fi
2054 fi
2055 </fix>
2056 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2057 <check-content-ref name="oval:ssg:def:115" href="ssg-fedora-oval.xml"/>
2058 </check>
2059 </Rule>
2060 <Rule id="xccdf_org.ssgproject.content_rule_sshd_disable_empty_passwords" selected="false" severity="high">
2061 <title xml:lang="en-US">SSH Access via Empty Passwords Disabled</title>
2062 <description xml:lang="en-US">To explicitly disallow remote login from accounts with empty
2063 passwords, add or correct the following line in <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/ssh/sshd_config</xhtml:code>:
2064 <pre xmlns="http://www.w3.org/1999/xhtml">PermitEmptyPasswords no</pre>
2065 Any accounts with empty passwords should be disabled immediately, and PAM
2066 configuration should prevent users from being able to assign themselves empty
2067 passwords.
2068 </description>
2069 <reference href="http://iase.disa.mil/cci/index.html">765</reference>
2070 <reference href="http://iase.disa.mil/cci/index.html">766</reference>
2071 <rationale xml:lang="en-US">
2072 Configuring this setting for the SSH daemon provides additional assurance that
2073 remote login via SSH will require a password, even in the event of
2074 misconfiguration elsewhere.
2075 </rationale>
2076 <fix system="urn:xccdf:fix:script:sh">
2077 SSHD_CONFIG='/etc/ssh/sshd_config'
2078
2079 # Obtain line number of first uncommented case-insensitive occurrence of Match
2080 # block directive (possibly prefixed with whitespace) present in $SSHD_CONFIG
2081 FIRST_MATCH_BLOCK=$(sed -n '/^[[:space:]]*Match[^\n]*/I{=;q}' $SSHD_CONFIG)
2082
2083 # Obtain line number of first uncommented case-insensitive occurence of
2084 # PermitEmptyPasswords directive (possibly prefixed with whitespace) present in
2085 # $SSHD_CONFIG
2086 FIRST_PERMIT_EMPTY_PASSWORDS=$(sed -n '/^[[:space:]]*PermitEmptyPasswords[^\n]*/I{=;q}' $SSHD_CONFIG)
2087
2088 # Case: Match block directive not present in $SSHD_CONFIG
2089 if [ -z "$FIRST_MATCH_BLOCK" ]
2090 then
2091
2092 # Case: PermitEmptyPasswords directive not present in $SSHD_CONFIG yet
2093 if [ -z "$FIRST_PERMIT_EMPTY_PASSWORDS" ]
2094 then
2095 # Append 'PermitEmptyPasswords no' at the end of $SSHD_CONFIG
2096 echo -e "\nPermitEmptyPasswords no" &gt;&gt; $SSHD_CONFIG
2097
2098 # Case: PermitEmptyPasswords directive present in $SSHD_CONFIG already
2099 else
2100 # Replace first uncommented case-insensitive occurrence
2101 # of PermitEmptyPasswords directive
2102 sed -i "$FIRST_PERMIT_EMPTY_PASSWORDS s/^[[:space:]]*PermitEmptyPasswords.*$/PermitEmptyPasswords no/I" $SSHD_CONFIG
2103 fi
2104
2105 # Case: Match block directive present in $SSHD_CONFIG
2106 else
2107
2108 # Case: PermitEmptyPasswords directive not present in $SSHD_CONFIG yet
2109 if [ -z "$FIRST_PERMIT_EMPTY_PASSWORDS" ]
2110 then
2111 # Prepend 'PermitEmptyPasswords no' before first uncommented
2112 # case-insensitive occurrence of Match block directive
2113 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/PermitEmptyPasswords no\n\1/I" $SSHD_CONFIG
2114
2115 # Case: PermitEmptyPasswords directive present in $SSHD_CONFIG and placed
2116 # before first Match block directive
2117 elif [ "$FIRST_PERMIT_EMPTY_PASSWORDS" -lt "$FIRST_MATCH_BLOCK" ]
2118 then
2119 # Replace first uncommented case-insensitive occurrence
2120 # of PermitEmptyPasswords directive
2121 sed -i "$FIRST_PERMIT_EMPTY_PASSWORDS s/^[[:space:]]*PermitEmptyPasswords.*$/PermitEmptyPasswords no/I" $SSHD_CONFIG
2122
2123 # Case: PermitEmptyPasswords directive present in $SSHD_CONFIG and placed
2124 # after first Match block directive
2125 else
2126 # Prepend 'PermitEmptyPasswords no' before first uncommented
2127 # case-insensitive occurrence of Match block directive
2128 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/PermitEmptyPasswords no\n\1/I" $SSHD_CONFIG
2129 fi
2130 fi
2131 </fix>
2132 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2133 <check-content-ref name="oval:ssg:def:146" href="ssg-fedora-oval.xml"/>
2134 </check>
2135 </Rule>
2136 <Rule id="xccdf_org.ssgproject.content_rule_sshd_set_idle_timeout" selected="false" severity="low">
2137 <title xml:lang="en-US">SSH Idle Timeout Interval Used</title>
2138 <description xml:lang="en-US">SSH allows administrators to set an idle timeout interval.
2139 After this interval has passed, the idle user will be automatically logged out.
2140 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
2141 To set an idle timeout interval, edit the following line in
2142 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/ssh/sshd_config</xhtml:code> as follows:
2143 <pre xmlns="http://www.w3.org/1999/xhtml">ClientAliveInterval <b>INTERVAL</b></pre>
2144 The timeout <b xmlns="http://www.w3.org/1999/xhtml">INTERVAL</b> is given in seconds. To have a timeout of 15
2145 minutes, set <b xmlns="http://www.w3.org/1999/xhtml">interval</b> to 900.
2146 <br xmlns="http://www.w3.org/1999/xhtml"/><br xmlns="http://www.w3.org/1999/xhtml"/>
2147 If a shorter timeout has already been set for the login shell, that value will
2148 preempt any SSH setting made here. Keep in mind that some processes may stop
2149 SSH from correctly detecting that the user is idle.
2150 </description>
2151 <reference href="http://iase.disa.mil/cci/index.html">879</reference>
2152 <reference href="http://iase.disa.mil/cci/index.html">1133</reference>
2153 <rationale xml:lang="en-US">
2154 Causing idle users to be automatically logged out guards against compromises
2155 one system leading trivially to compromises on another.
2156 </rationale>
2157 <fix system="urn:xccdf:fix:script:sh">sshd_idle_timeout_value="<sub idref="xccdf_org.ssgproject.content_value_sshd_idle_timeout_value" use="legacy"/>"
2158 SSHD_CONFIG='/etc/ssh/sshd_config'
2159
2160 # Obtain line number of first uncommented case-insensitive occurrence of Match
2161 # block directive (possibly prefixed with whitespace) present in $SSHD_CONFIG
2162 FIRST_MATCH_BLOCK=$(sed -n '/^[[:space:]]*Match[^\n]*/I{=;q}' $SSHD_CONFIG)
2163
2164 # Obtain line number of first uncommented case-insensitive occurence of
2165 # ClientAliveInterval directive (possibly prefixed with whitespace) present in
2166 # $SSHD_CONFIG
2167 FIRST_CLIENT_ALIVE_INTERVAL=$(sed -n '/^[[:space:]]*ClientAliveInterval[^\n]*/I{=;q}' $SSHD_CONFIG)
2168
2169 # Case: Match block directive not present in $SSHD_CONFIG
2170 if [ -z "$FIRST_MATCH_BLOCK" ]
2171 then
2172
2173 # Case: ClientAliveInterval directive not present in $SSHD_CONFIG yet
2174 if [ -z "$FIRST_CLIENT_ALIVE_INTERVAL" ]
2175 then
2176 # Append 'ClientAliveInterval $sshd_idle_timeout_value' at the end of $SSHD_CONFIG
2177 echo -e "\nClientAliveInterval $sshd_idle_timeout_value" &gt;&gt; $SSHD_CONFIG
2178
2179 # Case: ClientAliveInterval directive present in $SSHD_CONFIG already
2180 else
2181 # Replace first uncommented case-insensitive occurrence
2182 # of ClientAliveInterval directive
2183 sed -i "$FIRST_CLIENT_ALIVE_INTERVAL s/^[[:space:]]*ClientAliveInterval.*$/ClientAliveInterval $sshd_idle_timeout_value/I" $SSHD_CONFIG
2184 fi
2185
2186 # Case: Match block directive present in $SSHD_CONFIG
2187 else
2188
2189 # Case: ClientAliveInterval directive not present in $SSHD_CONFIG yet
2190 if [ -z "$FIRST_CLIENT_ALIVE_INTERVAL" ]
2191 then
2192 # Prepend 'ClientAliveInterval $sshd_idle_timeout_value' before first uncommented
2193 # case-insensitive occurrence of Match block directive
2194 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/ClientAliveInterval $sshd_idle_timeout_value\n\1/I" $SSHD_CONFIG
2195
2196 # Case: ClientAliveInterval directive present in $SSHD_CONFIG and placed
2197 # before first Match block directive
2198 elif [ "$FIRST_CLIENT_ALIVE_INTERVAL" -lt "$FIRST_MATCH_BLOCK" ]
2199 then
2200 # Replace first uncommented case-insensitive occurrence
2201 # of ClientAliveInterval directive
2202 sed -i "$FIRST_CLIENT_ALIVE_INTERVAL s/^[[:space:]]*ClientAliveInterval.*$/ClientAliveInterval $sshd_idle_timeout_value/I" $SSHD_CONFIG
2203
2204 # Case: ClientAliveInterval directive present in $SSHD_CONFIG and placed
2205 # after first Match block directive
2206 else
2207 # Prepend 'ClientAliveInterval $sshd_idle_timeout_value' before first uncommented
2208 # case-insensitive occurrence of Match block directive
2209 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/ClientAliveInterval $sshd_idle_timeout_value\n\1/I" $SSHD_CONFIG
2210 fi
2211 fi
2212 </fix>
2213 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2214 <check-export export-name="oval:ssg:var:212" value-id="xccdf_org.ssgproject.content_value_sshd_idle_timeout_value"/>
2215 <check-content-ref name="oval:ssg:def:120" href="ssg-fedora-oval.xml"/>
2216 </check>
2217 </Rule>
2218 <Rule id="xccdf_org.ssgproject.content_rule_sshd_set_keepalive" selected="false" severity="low">
2219 <title xml:lang="en-US">SSH Client Alive Count Used</title>
2220 <description xml:lang="en-US">To ensure the SSH idle timeout occurs precisely when the
2221 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">ClientAliveCountMax</xhtml:code> is set, edit <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">/etc/ssh/sshd_config</xhtml:code> as
2222 follows:
2223 <pre xmlns="http://www.w3.org/1999/xhtml">ClientAliveCountMax 0</pre>
2224 </description>
2225 <reference href="http://iase.disa.mil/cci/index.html">879</reference>
2226 <reference href="http://iase.disa.mil/cci/index.html">1133</reference>
2227 <rationale xml:lang="en-US">
2228 This ensures a user login will be terminated as soon as the
2229 <xhtml:code xmlns:xhtml="http://www.w3.org/1999/xhtml">ClientAliveCountMax</xhtml:code> is reached.
2230 </rationale>
2231 <fix system="urn:xccdf:fix:script:sh">
2232 SSHD_CONFIG='/etc/ssh/sshd_config'
2233
2234 # Obtain line number of first uncommented case-insensitive occurrence of Match
2235 # block directive (possibly prefixed with whitespace) present in $SSHD_CONFIG
2236 FIRST_MATCH_BLOCK=$(sed -n '/^[[:space:]]*Match[^\n]*/I{=;q}' $SSHD_CONFIG)
2237
2238 # Obtain line number of first uncommented case-insensitive occurence of
2239 # ClientAliveCountMax directive (possibly prefixed with whitespace) present in
2240 # $SSHD_CONFIG
2241 FIRST_CLIENT_ALIVE_COUNT_MAX=$(sed -n '/^[[:space:]]*ClientAliveCountMax[^\n]*/I{=;q}' $SSHD_CONFIG)
2242
2243 # Case: Match block directive not present in $SSHD_CONFIG
2244 if [ -z "$FIRST_MATCH_BLOCK" ]
2245 then
2246
2247 # Case: ClientAliveCountMax directive not present in $SSHD_CONFIG yet
2248 if [ -z "$FIRST_CLIENT_ALIVE_COUNT_MAX" ]
2249 then
2250 # Append 'ClientAliveCountMax 0' at the end of $SSHD_CONFIG
2251 echo -e "\nClientAliveCountMax 0" &gt;&gt; $SSHD_CONFIG
2252
2253 # Case: ClientAliveCountMax directive present in $SSHD_CONFIG already
2254 else
2255 # Replace first uncommented case-insensitive occurrence
2256 # of ClientAliveCountMax directive
2257 sed -i "$FIRST_CLIENT_ALIVE_COUNT_MAX s/^[[:space:]]*ClientAliveCountMax.*$/ClientAliveCountMax 0/I" $SSHD_CONFIG
2258 fi
2259
2260 # Case: Match block directive present in $SSHD_CONFIG
2261 else
2262
2263 # Case: ClientAliveCountMax directive not present in $SSHD_CONFIG yet
2264 if [ -z "$FIRST_CLIENT_ALIVE_COUNT_MAX" ]
2265 then
2266 # Prepend 'ClientAliveCountMax 0' before first uncommented
2267 # case-insensitive occurrence of Match block directive
2268 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/ClientAliveCountMax 0\n\1/I" $SSHD_CONFIG
2269
2270 # Case: ClientAliveCountMax directive present in $SSHD_CONFIG and placed
2271 # before first Match block directive
2272 elif [ "$FIRST_CLIENT_ALIVE_COUNT_MAX" -lt "$FIRST_MATCH_BLOCK" ]
2273 then
2274 # Replace first uncommented case-insensitive occurrence
2275 # of ClientAliveCountMax directive
2276 sed -i "$FIRST_CLIENT_ALIVE_COUNT_MAX s/^[[:space:]]*ClientAliveCountMax.*$/ClientAliveCountMax 0/I" $SSHD_CONFIG
2277
2278 # Case: ClientAliveCountMax directive present in $SSHD_CONFIG and placed
2279 # after first Match block directive
2280 else
2281 # Prepend 'ClientAliveCountMax 0' before first uncommented
2282 # case-insensitive occurrence of Match block directive
2283 sed -i "$FIRST_MATCH_BLOCK s/^\([[:space:]]*Match[^\n]*\)/ClientAliveCountMax 0\n\1/I" $SSHD_CONFIG
2284 fi
2285 fi
2286 </fix>
2287 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
2288 <check-content-ref name="oval:ssg:def:135" href="ssg-fedora-oval.xml"/>
2289 </check>
2290 </Rule>
2291 </Group>
2292 </Group>
2293 </Group>
2294 </Benchmark></ds:component><ds:component id="scap_org.open-scap_comp_output--ssg-fedora-cpe-oval.xml" timestamp="2014-07-01T11:31:05"><oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:linux="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
2295 <generator>
2296 <oval:product_name>python</oval:product_name>
2297 <oval:product_version>2.6.6</oval:product_version>
2298 <oval:schema_version>5.10</oval:schema_version>
2299 <oval:timestamp>2011-09-21T13:44:00</oval:timestamp>
2300 </generator>
2301 <definitions><definition class="inventory" id="oval:ssg:def:100" version="1">
2302 <metadata>
2303 <title>Fedora release 19 (Schrödinger's Cat)</title>
2304 <affected family="unix">
2305 <platform>Fedora 19</platform>
2306 </affected>
2307 <reference ref_id="cpe:/o:fedoraproject:fedora:19" source="CPE"/>
2308 <description>The operating system installed on the system is
2309 Fedora release 19 (Schrödinger's Cat)</description>
2310 </metadata>
2311 <criteria>
2312 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg:tst:101"/>
2313 <criterion comment="Fedora release 19 is installed" test_ref="oval:ssg:tst:102"/>
2314 </criteria>
2315 </definition>
2316 </definitions><tests><ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="oval:ssg:tst:101" version="1">
2317 <ind:object object_ref="oval:ssg:obj:103"/>
2318 <ind:state state_ref="oval:ssg:ste:104"/>
2319 </ind:family_test>
2320 <linux:rpminfo_test check="all" check_existence="only_one_exists" comment="fedora-release is version 19" id="oval:ssg:tst:102" version="1">
2321 <linux:object object_ref="oval:ssg:obj:105"/>
2322 <linux:state state_ref="oval:ssg:ste:106"/>
2323 </linux:rpminfo_test>
2324 </tests><objects><ind:family_object id="oval:ssg:obj:103" version="1"/>
2325 <linux:rpminfo_object id="oval:ssg:obj:105" version="1">
2326 <linux:name>fedora-release</linux:name>
2327 </linux:rpminfo_object>
2328 </objects><states><ind:family_state id="oval:ssg:ste:104" version="1">
2329 <ind:family>unix</ind:family>
2330 </ind:family_state>
2331 <linux:rpminfo_state id="oval:ssg:ste:106" version="1">
2332 <linux:version operation="pattern match">^19$</linux:version>
2333 </linux:rpminfo_state>
2334 </states></oval_definitions></ds:component><ds:component id="scap_org.open-scap_comp_output--ssg-fedora-cpe-dictionary.xml" timestamp="2014-07-01T11:31:05"><cpe-list xmlns="http://cpe.mitre.org/dictionary/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cpe.mitre.org/dictionary/2.0 http://cpe.mitre.org/files/cpe-dictionary_2.1.xsd">
2335 <cpe-item name="cpe:/o:fedoraproject:fedora:19">
2336 <title xml:lang="en-us">Fedora release 19 (Schrödinger's Cat)</title>
2337 <!-- the check references an OVAL file that contains an inventory definition -->
2338 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5" href="ssg-fedora-cpe-oval.xml">oval:ssg:def:100</check>
2339 </cpe-item>
2340 </cpe-list></ds:component><ds:component id="scap_org.open-scap_comp_output--ssg-fedora-oval.xml" timestamp="2014-07-01T11:31:05"><oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:linux="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
2341 <generator>
2342 <oval:product_name>python</oval:product_name>
2343 <oval:product_version>2.6.6</oval:product_version>
2344 <oval:schema_version>5.10</oval:schema_version>
2345 <oval:timestamp>2011-09-21T13:44:00</oval:timestamp>
2346 </generator>
2347 <definitions>
2348 <definition class="compliance" id="oval:ssg:def:107" version="1">
2349 <metadata>
2350 <title>All Password Hashes Shadowed</title>
2351 <affected family="unix">
2352 <platform>Fedora 19</platform>
2353 </affected>
2354 <description>All password hashes should be shadowed.</description>
2355 <reference ref_id="accounts_password_all_shadowed" source="ssg"/></metadata>
2356 <criteria>
2357 <criterion comment="password hashes are shadowed" test_ref="oval:ssg:tst:108"/>
2358 </criteria>
2359 </definition>
2360 <definition class="compliance" id="oval:ssg:def:109" version="1">
2361 <metadata>
2362 <title>Restrict Virtual Console Root Logins</title>
2363 <affected family="unix">
2364 <platform>Fedora 19</platform>
2365 </affected>
2366 <description>Preventing direct root login to virtual console devices
2367 helps ensure accountability for actions taken on the system using the
2368 root account.</description>
2369 <reference ref_id="securetty_root_login_console_only" source="ssg"/></metadata>
2370 <criteria>
2371 <criterion comment="virtual consoles /etc/securetty" test_ref="oval:ssg:tst:110"/>
2372 </criteria>
2373 </definition>
2374 <definition class="compliance" id="oval:ssg:def:111" version="1">
2375 <metadata>
2376 <title>No nullok Option in /etc/pam.d/system-auth</title>
2377 <affected family="unix">
2378 <platform>Fedora 19</platform>
2379 </affected>
2380 <description>The file /etc/pam.d/system-auth should not contain the nullok option</description>
2381 <reference ref_id="no_empty_passwords" source="ssg"/></metadata>
2382 <criteria>
2383 <criterion comment="make sure the nullok option is not used in /etc/pam.d/system-auth" test_ref="oval:ssg:tst:112"/>
2384 </criteria>
2385 </definition>
2386 <definition class="compliance" id="oval:ssg:def:113" version="1">
2387 <metadata>
2388 <title>Set Password Expiration Parameters</title>
2389 <affected family="unix">
2390 <platform>Fedora 19</platform>
2391 </affected>
2392 <description>The maximum password age policy should meet minimum requirements.</description>
2393 <reference ref_id="accounts_maximum_age_login_defs" source="ssg"/></metadata>
2394 <criteria comment="the value PASS_MAX_DAYS should be set appropriately in /etc/login.defs">
2395 <criterion test_ref="oval:ssg:tst:114"/>
2396 </criteria>
2397 </definition>
2398 <definition class="compliance" id="oval:ssg:def:115" version="1">
2399 <metadata>
2400 <title>Disable root Login via SSH</title>
2401 <affected family="unix">
2402 <platform>Fedora 19</platform>
2403 </affected>
2404 <description>
2405 Root login via SSH should be disabled (and dependencies are met)
2406 </description>
2407 <reference ref_id="sshd_disable_root_login" source="ssg"/></metadata>
2408 <!-- Test to succeed only if some of the following is met, fail otherwise -->
2409 <criteria comment="SSH is not being used or conditions are met" operator="OR">
2410 <!-- * case: sshd service is disabled -->
2411 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
2412 <!-- * case: At least one 'PermitRootLogin no' present in
2413 /etc/ssh/sshd_config not preceded by 'PermitRootLogin yes' -->
2414 <criterion comment="SSH login for root user forbidden in sshd config" test_ref="oval:ssg:tst:117"/>
2415 </criteria>
2416 </definition>
2417 <definition class="compliance" id="oval:ssg:def:118" version="1">
2418 <metadata>
2419 <title>UID 0 Belongs Only To Root</title>
2420 <affected family="unix">
2421 <platform>Fedora 19</platform>
2422 </affected>
2423 <description>Only the root account should be assigned a user id of 0.</description>
2424 <reference ref_id="accounts_no_uid_except_zero" source="ssg"/></metadata>
2425 <criteria>
2426 <criterion comment="tests for reg exp ^[^r][^o][^o][^t].*:0 in /etc/passwd file" test_ref="oval:ssg:tst:119"/>
2427 </criteria>
2428 </definition>
2429 <definition class="compliance" id="oval:ssg:def:120" version="1">
2430 <metadata>
2431 <title>Set OpenSSH Idle Timeout Interval</title>
2432 <affected family="unix">
2433 <platform>Red Hat Enterprise Linux 6</platform>
2434 <platform>Red Hat Enterprise Linux 7</platform>
2435 <platform>Fedora 20</platform>
2436 </affected>
2437 <description>The SSH idle timeout interval should be set to an
2438 appropriate value.</description>
2439 <reference source="MED" ref_id="20130813" ref_url="test_attestation"/>
2440 <!-- Fedora 20: <reference source="JL" ref_id="20140224" ref_url="test_attestation" /> -->
2441 <reference ref_id="sshd_set_idle_timeout" source="ssg"/></metadata>
2442 <criteria comment="SSH is not being used or conditions are met" operator="OR">
2443 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
2444 <criterion comment="Check ClientAliveInterval in /etc/ssh/sshd_config" test_ref="oval:ssg:tst:121"/>
2445 </criteria>
2446 </definition>
2447 <definition class="compliance" id="oval:ssg:def:122" version="1">
2448 <metadata>
2449 <title>System Accounts Do Not Run a Shell</title>
2450 <affected family="unix">
2451 <platform>Fedora 19</platform>
2452 </affected>
2453 <description>The root account is the only system account that should have a login shell.</description>
2454 <reference ref_id="no_shelllogin_for_systemaccounts" source="ssg"/></metadata>
2455 <criteria>
2456 <criterion comment="tests for the presence of login shells (not /sbin/nologin) for system accounts in /etc/passwd file" test_ref="oval:ssg:tst:123"/>
2457 </criteria>
2458 </definition>
2459 <definition class="compliance" id="oval:ssg:def:124" version="1">
2460 <metadata>
2461 <title>Verify that Shared Library Files Have Root Ownership</title>
2462 <affected family="unix">
2463 <platform>Fedora 19</platform>
2464 <platform>Red Hat Enterprise Linux 6</platform>
2465 <platform>Red Hat Enterprise Linux 7</platform>
2466 </affected>
2467 <description>
2468 Checks that /lib, /lib64, /usr/lib, /usr/lib64, /lib/modules, and
2469 objects therein, are owned by root.
2470 </description>
2471 <reference ref_id="file_ownership_library_dirs" source="ssg"/></metadata>
2472 <criteria operator="AND">
2473 <criterion test_ref="oval:ssg:tst:125"/>
2474 <criterion test_ref="oval:ssg:tst:126"/>
2475 </criteria>
2476 </definition>
2477 <definition class="inventory" id="oval:ssg:def:100" version="1">
2478 <metadata>
2479 <title>Fedora release 19 (Schrödinger's Cat)</title>
2480 <affected family="unix">
2481 <platform>Fedora 19</platform>
2482 </affected>
2483 <reference ref_id="cpe:/o:fedoraproject:fedora:19" source="CPE"/>
2484 <description>The operating system installed on the system is
2485 Fedora release 19 (Schrödinger's Cat)</description>
2486 <reference ref_id="installed_OS_is_fedora19" source="ssg"/></metadata>
2487 <criteria>
2488 <criterion comment="Installed operating system is part of the unix family" test_ref="oval:ssg:tst:101"/>
2489 <criterion comment="Fedora release 19 is installed" test_ref="oval:ssg:tst:102"/>
2490 </criteria>
2491 </definition>
2492 <definition class="compliance" id="oval:ssg:def:116" version="1">
2493 <metadata>
2494 <title>Service sshd Disabled</title>
2495 <affected family="unix">
2496 <platform>Fedora 19</platform>
2497 </affected>
2498 <description>
2499 The sshd service should be disabled.
2500 </description>
2501 <reference ref_id="service_sshd_disabled" source="ssg"/></metadata>
2502 <criteria comment="package openssh-server removed or service sshd is not configured to start" operator="OR">
2503 <extend_definition comment="openssh-server removed" definition_ref="oval:ssg:def:127"/>
2504 <criterion comment="sshd disabled in multi-user.target" test_ref="oval:ssg:tst:128"/>
2505 </criteria>
2506 </definition>
2507 <definition class="compliance" id="oval:ssg:def:129" version="1">
2508 <metadata>
2509 <title>Service ntpd Enabled</title>
2510 <affected family="unix">
2511 <platform>Fedora 19</platform>
2512 </affected>
2513 <description>
2514 The ntpd service should be enabled.
2515 </description>
2516 <reference ref_id="service_ntpd_enabled" source="ssg"/></metadata>
2517 <criteria comment="package ntp installed and service ntpd is configured to start" operator="AND">
2518 <extend_definition comment="ntp installed" definition_ref="oval:ssg:def:130"/>
2519 <criterion comment="ntpd multi-user.target" test_ref="oval:ssg:tst:131"/>
2520 </criteria>
2521 </definition>
2522 <definition class="compliance" id="oval:ssg:def:130" version="1">
2523 <metadata>
2524 <title>Package ntp Installed</title>
2525 <affected family="unix">
2526 <platform>Fedora 19</platform>
2527 </affected>
2528 <description>The RPM package ntp should be installed.</description>
2529 <reference ref_id="package_ntp_installed" source="ssg"/></metadata>
2530 <criteria>
2531 <criterion comment="package ntp is installed" test_ref="oval:ssg:tst:132"/>
2532 </criteria>
2533 </definition>
2534 <definition class="compliance" id="oval:ssg:def:133" version="1">
2535 <metadata>
2536 <title>Set Password Expiration Parameters</title>
2537 <affected family="unix">
2538 <platform>Fedora 19</platform>
2539 </affected>
2540 <description>The password minimum length should be set appropriately.</description>
2541 <reference ref_id="accounts_password_minlen_login_defs" source="ssg"/></metadata>
2542 <criteria operator="AND">
2543 <criterion test_ref="oval:ssg:tst:134"/>
2544 </criteria>
2545 </definition>
2546 <definition class="compliance" id="oval:ssg:def:135" version="1">
2547 <metadata>
2548 <title>Set ClientAliveCountMax for User Logins</title>
2549 <affected family="unix">
2550 <platform>Fedora 19</platform>
2551 </affected>
2552 <description>The SSH ClientAliveCountMax should be set to an appropriate
2553 value (and dependencies are met)</description>
2554 <reference ref_id="sshd_set_keepalive" source="ssg"/></metadata>
2555 <criteria comment="SSH is not being used or conditions are met" operator="OR">
2556 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
2557 <criterion comment="Check ClientAliveCountMax in /etc/ssh/sshd_config" test_ref="oval:ssg:tst:136"/>
2558 </criteria>
2559 </definition>
2560 <definition class="compliance" id="oval:ssg:def:137" version="1">
2561 <metadata>
2562 <title>Verify that Shared Library Files Have Restrictive Permissions</title>
2563 <affected family="unix">
2564 <platform>Fedora 19</platform>
2565 <platform>Red Hat Enterprise Linux 6</platform>
2566 <platform>Red Hat Enterprise Linux 7</platform>
2567 </affected>
2568 <description>
2569 Checks that /lib, /lib64, /usr/lib, /usr/lib64, /lib/modules, and
2570 objects therein, are not group-writable or world-writable.
2571 </description>
2572 <reference ref_id="file_permissions_library_dirs" source="ssg"/></metadata>
2573 <criteria operator="AND">
2574 <criterion test_ref="oval:ssg:tst:138"/>
2575 <criterion test_ref="oval:ssg:tst:139"/>
2576 </criteria>
2577 </definition>
2578 <definition class="compliance" id="oval:ssg:def:140" version="1">
2579 <metadata>
2580 <title>Ensure Yum gpgcheck Globally Activated</title>
2581 <affected family="unix">
2582 <platform>Fedora 19</platform>
2583 </affected>
2584 <description>The gpgcheck option should be used to ensure that checking
2585 of an RPM package's signature always occurs prior to its
2586 installation.</description>
2587 <reference ref_id="yum_gpgcheck_global_activation" source="ssg"/></metadata>
2588 <criteria>
2589 <criterion comment="check value of gpgcheck in /etc/yum.conf" test_ref="oval:ssg:tst:141"/>
2590 </criteria>
2591 </definition>
2592 <definition class="compliance" id="oval:ssg:def:142" version="1">
2593 <metadata>
2594 <title>Specify a Remote NTP Server for Time Data</title>
2595 <affected family="unix">
2596 <platform>Fedora 19</platform>
2597 </affected>
2598 <description>
2599 A remote NTP Server for time synchronization should be specified
2600 </description>
2601 <reference ref_id="ntp_remote_server" source="ssg"/></metadata>
2602 <criteria comment="ntp.conf conditions are met">
2603 <criterion test_ref="oval:ssg:tst:143"/>
2604 </criteria>
2605 </definition>
2606 <definition class="compliance" id="oval:ssg:def:144" version="1">
2607 <metadata>
2608 <title>Restrict Serial Port Root Logins</title>
2609 <affected family="unix">
2610 <platform>Fedora 19</platform>
2611 </affected>
2612 <description>Preventing direct root login to serial port interfaces helps
2613 ensure accountability for actions taken on the system using the root
2614 account.</description>
2615 <reference ref_id="restrict_serial_port_logins" source="ssg"/></metadata>
2616 <criteria>
2617 <criterion comment="serial ports /etc/securetty" test_ref="oval:ssg:tst:145" negate="true"/>
2618 </criteria>
2619 </definition>
2620 <definition class="compliance" id="oval:ssg:def:146" version="1">
2621 <metadata>
2622 <title>Disable Empty Passwords</title>
2623 <affected family="unix">
2624 <platform>Fedora 19</platform>
2625 </affected>
2626 <description>
2627 Remote connections from accounts with empty passwords should be
2628 disabled (and dependencies are met)
2629 </description>
2630 <reference ref_id="sshd_disable_empty_passwords" source="ssg"/></metadata>
2631 <!-- Test to succeed only if some of the following is met, fail otherwise -->
2632 <criteria comment="sshd disabled or conditions are met" operator="OR">
2633 <!-- * case: sshd service is disabled -->
2634 <extend_definition comment="sshd service is disabled" definition_ref="oval:ssg:def:116"/>
2635 <!-- * case: default sshd config (defaults to empty passwords SSH login disabled -->
2636 <criterion comment="default sshd config" test_ref="oval:ssg:tst:147"/>
2637 <!-- * case: 'PermitEmptyPasswords no' not preceded by 'PermitEmptyPasswords yes' -->
2638 <criterion comment="SSH login via empty passwords forbidden in sshd config" test_ref="oval:ssg:tst:148"/>
2639 </criteria>
2640 </definition>
2641 <definition class="compliance" id="oval:ssg:def:149" version="1">
2642 <metadata>
2643 <title>Ensure gpgcheck Enabled For All Yum Package Repositories</title>
2644 <affected family="unix">
2645 <platform>Fedora 19</platform>
2646 </affected>
2647 <description>Ensure all yum repositories utilize signature checking.</description>
2648 <reference ref_id="ensure_gpgcheck_never_disabled" source="ssg"/></metadata>
2649 <criteria comment="ensure all yum repositories utilize signiature checking" operator="AND">
2650 <criterion comment="verify no gpgpcheck=0 present in /etc/yum.repos.d files" test_ref="oval:ssg:tst:150"/>
2651 </criteria>
2652 </definition>
2653 <definition class="compliance" id="oval:ssg:def:151" version="1">
2654 <metadata>
2655 <title>Disable Prelinking</title>
2656 <affected family="unix">
2657 <platform>Fedora 19</platform>
2658 </affected>
2659 <description>The prelinking feature can interfere with the operation of
2660 checksum integrity tools (e.g. AIDE), mitigates the protection provided
2661 by ASLR, and requires additional CPU cycles by software upgrades.
2662 </description>
2663 <reference ref_id="disable_prelink" source="ssg"/></metadata>
2664 <criteria>
2665 <criterion comment="Ensure prelinking is disabled" test_ref="oval:ssg:tst:152"/>
2666 </criteria>
2667 </definition>
2668 <definition class="compliance" id="oval:ssg:def:127" version="1">
2669 <metadata>
2670 <title>Package openssh-server Removed</title>
2671 <affected family="unix">
2672 <platform>Fedora 19</platform>
2673 </affected>
2674 <description>The RPM package openssh-server should be removed.</description>
2675 <reference ref_id="package_openssh-server_removed" source="ssg"/></metadata>
2676 <criteria>
2677 <criterion comment="package openssh-server is removed" test_ref="oval:ssg:tst:153"/>
2678 </criteria>
2679 </definition>
2680 <definition class="compliance" id="oval:ssg:def:154" version="1">
2681 <metadata>
2682 <title>Verify that System Executables Have Root Ownership</title>
2683 <affected family="unix">
2684 <platform>Fedora 19</platform>
2685 <platform>Red Hat Enterprise Linux 6</platform>
2686 <platform>Red Hat Enterprise Linux 7</platform>
2687 </affected>
2688 <description>
2689 Checks that /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin,
2690 /usr/local/sbin, and objects therein, are owned by root.
2691 </description>
2692 <reference ref_id="file_ownership_binary_dirs" source="ssg"/></metadata>
2693 <criteria operator="AND">
2694 <criterion test_ref="oval:ssg:tst:155"/>
2695 <criterion test_ref="oval:ssg:tst:156"/>
2696 </criteria>
2697 </definition>
2698 <definition class="compliance" id="oval:ssg:def:157" version="1">
2699 <metadata>
2700 <title>Verify No netrc Files Exist</title>
2701 <affected family="unix">
2702 <platform>Fedora 19</platform>
2703 </affected>
2704 <description>The .netrc files contain login information used to auto-login into FTP servers and reside in the user's home directory. Any .netrc files should be removed.</description>
2705 <reference ref_id="no_netrc_files" source="ssg"/></metadata>
2706 <criteria>
2707 <criterion test_ref="oval:ssg:tst:158" negate="true"/>
2708 </criteria>
2709 </definition>
2710 <definition class="compliance" id="oval:ssg:def:159" version="1">
2711 <metadata>
2712 <title>Set Password Expiration Parameters</title>
2713 <affected family="unix">
2714 <platform>Fedora 19</platform>
2715 </affected>
2716 <description>The minimum password age policy should be set appropriately.</description>
2717 <reference ref_id="accounts_minimum_age_login_defs" source="ssg"/></metadata>
2718 <criteria comment="the value PASS_MIN_DAYS should be set appropriately in /etc/login.defs">
2719 <criterion test_ref="oval:ssg:tst:160"/>
2720 </criteria>
2721 </definition>
2722 <definition class="compliance" id="oval:ssg:def:161" version="1">
2723 <metadata>
2724 <title>Verify that System Executables Have Restrictive Permissions</title>
2725 <affected family="unix">
2726 <platform>Fedora 19</platform>
2727 <platform>Red Hat Enterprise Linux 6</platform>
2728 <platform>Red Hat Enterprise Linux 7</platform>
2729 </affected>
2730 <description>
2731 Checks that binary files under /bin, /sbin, /usr/bin, /usr/sbin,
2732 /usr/local/bin, and /usr/local/sbin, are not group-writable or world-writable.
2733 </description>
2734 <reference ref_id="file_permissions_binary_dirs" source="ssg"/></metadata>
2735 <criteria operator="AND">
2736 <criterion test_ref="oval:ssg:tst:162"/>
2737 </criteria>
2738 </definition>
2739 <definition class="compliance" id="oval:ssg:def:163" version="1">
2740 <metadata>
2741 <title>Set Password Expiration Parameters</title>
2742 <affected family="unix">
2743 <platform>Fedora 19</platform>
2744 </affected>
2745 <description>The password expiration warning age should be set appropriately.</description>
2746 <reference ref_id="accounts_password_warn_age_login_defs" source="ssg"/></metadata>
2747 <criteria>
2748 <criterion test_ref="oval:ssg:tst:164"/>
2749 </criteria>
2750 </definition>
2751 </definitions>
2752 <tests>
2753 <unix:password_test check="all" comment="password hashes are shadowed" id="oval:ssg:tst:108" version="1">
2754 <unix:object object_ref="oval:ssg:obj:165"/>
2755 <unix:state state_ref="oval:ssg:ste:166"/>
2756 </unix:password_test>
2757 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="virtual consoles /etc/securetty" id="oval:ssg:tst:110" version="1">
2758 <ind:object object_ref="oval:ssg:obj:167"/>
2759 </ind:textfilecontent54_test>
2760 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="make sure nullok is not used in /etc/pam.d/system-auth" id="oval:ssg:tst:112" version="1">
2761 <ind:object object_ref="oval:ssg:obj:168"/>
2762 </ind:textfilecontent54_test>
2763 <ind:textfilecontent54_test check="all" comment="the value PASS_MAX_DAYS should be set appropriately in /etc/login.defs" id="oval:ssg:tst:114" version="1">
2764 <ind:object object_ref="oval:ssg:obj:169"/>
2765 <ind:state state_ref="oval:ssg:ste:170"/>
2766 </ind:textfilecontent54_test>
2767 <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="SSH login for root user forbidden in sshd config" id="oval:ssg:tst:117" version="1">
2768 <ind:object object_ref="oval:ssg:obj:171"/>
2769 </ind:textfilecontent54_test>
2770 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="tests for reg exp ^[^r][^o][^o][^t].*:0 in /etc/passwd file" id="oval:ssg:tst:119" version="1">
2771 <ind:object object_ref="oval:ssg:obj:172"/>
2772 </ind:textfilecontent54_test>
2773 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="timeout is configured" id="oval:ssg:tst:121" version="1">
2774 <ind:object object_ref="oval:ssg:obj:173"/>
2775 <ind:state state_ref="oval:ssg:ste:174"/>
2776 <ind:state state_ref="oval:ssg:ste:175"/>
2777 </ind:textfilecontent54_test>
2778 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="tests for the presence of login shells (not /sbin/nologin) for system accounts in /etc/passwd file" id="oval:ssg:tst:123" version="1">
2779 <ind:object object_ref="oval:ssg:obj:176"/>
2780 </ind:textfilecontent54_test>
2781 <unix:file_test check="all" check_existence="none_exist" comment="library directories uid root" id="oval:ssg:tst:125" version="1">
2782 <unix:object object_ref="oval:ssg:obj:177"/>
2783 </unix:file_test>
2784 <unix:file_test check="all" check_existence="none_exist" comment="library files uid root" id="oval:ssg:tst:126" version="1">
2785 <unix:object object_ref="oval:ssg:obj:178"/>
2786 </unix:file_test>
2787 <ind:family_test check="all" check_existence="at_least_one_exists" comment="installed OS part of unix family" id="oval:ssg:tst:101" version="1">
2788 <ind:object object_ref="oval:ssg:obj:103"/>
2789 <ind:state state_ref="oval:ssg:ste:104"/>
2790 </ind:family_test>
2791 <linux:rpminfo_test check="all" check_existence="only_one_exists" comment="fedora-release is version 19" id="oval:ssg:tst:102" version="1">
2792 <linux:object object_ref="oval:ssg:obj:105"/>
2793 <linux:state state_ref="oval:ssg:ste:106"/>
2794 </linux:rpminfo_test>
2795 <unix:file_test check="all" check_existence="none_exist" comment="look for sshd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:tst:128" version="1">
2796 <unix:object object_ref="oval:ssg:obj:179"/>
2797 </unix:file_test>
2798 <unix:file_test check="all" check_existence="at_least_one_exists" comment="look for ntpd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:tst:131" version="1">
2799 <unix:object object_ref="oval:ssg:obj:180"/>
2800 </unix:file_test>
2801 <linux:rpminfo_test check="all" check_existence="all_exist" id="oval:ssg:tst:132" version="1" comment="package ntp is installed">
2802 <linux:object object_ref="oval:ssg:obj:181"/>
2803 </linux:rpminfo_test>
2804 <ind:textfilecontent54_test check="all" comment="check PASS_MIN_LEN in /etc/login.defs" id="oval:ssg:tst:134" version="1">
2805 <ind:object object_ref="oval:ssg:obj:182"/>
2806 <ind:state state_ref="oval:ssg:ste:183"/>
2807 </ind:textfilecontent54_test>
2808 <ind: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:ssg:tst:136" version="1">
2809 <ind:object object_ref="oval:ssg:obj:184"/>
2810 <ind:state state_ref="oval:ssg:ste:185"/>
2811 </ind:textfilecontent54_test>
2812 <unix:file_test check="all" check_existence="none_exist" comment="library directories go-w" id="oval:ssg:tst:138" version="1">
2813 <unix:object object_ref="oval:ssg:obj:186"/>
2814 </unix:file_test>
2815 <unix:file_test check="all" check_existence="none_exist" comment="library files go-w" id="oval:ssg:tst:139" version="1">
2816 <unix:object object_ref="oval:ssg:obj:187"/>
2817 </unix:file_test>
2818 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="check value of gpgcheck in /etc/yum.conf" id="oval:ssg:tst:141" version="1">
2819 <ind:object object_ref="oval:ssg:obj:188"/>
2820 </ind:textfilecontent54_test>
2821 <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="Ensure at least one NTP server is set" id="oval:ssg:tst:143" version="1">
2822 <ind:object object_ref="oval:ssg:obj:189"/>
2823 </ind:textfilecontent54_test>
2824 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="serial ports /etc/securetty" id="oval:ssg:tst:145" version="1">
2825 <ind:object object_ref="oval:ssg:obj:190"/>
2826 </ind:textfilecontent54_test>
2827 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="check default sshd config" id="oval:ssg:tst:147" version="1">
2828 <ind:object object_ref="oval:ssg:obj:191"/>
2829 </ind:textfilecontent54_test>
2830 <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists" comment="SSH login via empty passwords forbidden in sshd config" id="oval:ssg:tst:148" version="1">
2831 <ind:object object_ref="oval:ssg:obj:192"/>
2832 </ind:textfilecontent54_test>
2833 <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="check for existence of gpgcheck=0 in /etc/yum.repos.d/ files" id="oval:ssg:tst:150" version="1">
2834 <ind:object object_ref="oval:ssg:obj:193"/>
2835 </ind:textfilecontent54_test>
2836 <ind:textfilecontent54_test check="all" check_existence="all_exist" comment="Tests whether prelinking is disabled" id="oval:ssg:tst:152" version="1">
2837 <ind:object object_ref="oval:ssg:obj:194"/>
2838 </ind:textfilecontent54_test>
2839 <linux:rpminfo_test check="all" check_existence="none_exist" id="oval:ssg:tst:153" version="1" comment="package openssh-server is removed">
2840 <linux:object object_ref="oval:ssg:obj:195"/>
2841 </linux:rpminfo_test>
2842 <unix:file_test check="all" check_existence="none_exist" comment="binary directories uid root" id="oval:ssg:tst:155" version="1">
2843 <unix:object object_ref="oval:ssg:obj:196"/>
2844 </unix:file_test>
2845 <unix:file_test check="all" check_existence="none_exist" comment="binary files uid root" id="oval:ssg:tst:156" version="1">
2846 <unix:object object_ref="oval:ssg:obj:197"/>
2847 </unix:file_test>
2848 <unix:file_test check="all" check_existence="at_least_one_exists" comment="look for .netrc in /home" id="oval:ssg:tst:158" version="1">
2849 <unix:object object_ref="oval:ssg:obj:198"/>
2850 </unix:file_test>
2851 <ind:textfilecontent54_test check="all" comment="Tests the value of PASS_MIN_DAYS in /etc/login.defs" id="oval:ssg:tst:160" version="1">
2852 <ind:object object_ref="oval:ssg:obj:199"/>
2853 <ind:state state_ref="oval:ssg:ste:200"/>
2854 </ind:textfilecontent54_test>
2855 <unix:file_test check="all" check_existence="none_exist" comment="binary files go-w" id="oval:ssg:tst:162" version="1">
2856 <unix:object object_ref="oval:ssg:obj:201"/>
2857 </unix:file_test>
2858 <ind:textfilecontent54_test check="all" comment="Tests the value of PASS_WARN_AGE in /etc/login.defs" id="oval:ssg:tst:164" version="1">
2859 <ind:object object_ref="oval:ssg:obj:202"/>
2860 <ind:state state_ref="oval:ssg:ste:203"/>
2861 </ind:textfilecontent54_test>
2862 </tests>
2863 <objects>
2864 <unix:password_object id="oval:ssg:obj:165" version="1">
2865 <unix:username operation="pattern match">.*</unix:username>
2866 </unix:password_object>
2867 <ind:textfilecontent54_object comment="virtual consoles /etc/securetty" id="oval:ssg:obj:167" version="1">
2868 <ind:filepath>/etc/securetty</ind:filepath>
2869 <ind:pattern operation="pattern match">^vc/[0-9]+$</ind:pattern>
2870 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
2871 </ind:textfilecontent54_object>
2872 <ind:textfilecontent54_object id="oval:ssg:obj:168" version="1">
2873 <ind:filepath>/etc/pam.d/system-auth</ind:filepath>
2874 <ind:pattern operation="pattern match">\s*nullok\s*</ind:pattern>
2875 <ind:instance datatype="int">1</ind:instance>
2876 </ind:textfilecontent54_object>
2877 <ind:textfilecontent54_object id="oval:ssg:obj:169" version="1">
2878 <ind:filepath>/etc/login.defs</ind:filepath>
2879 <ind:pattern operation="pattern match">^[\s]*PASS_MAX_DAYS[\s]+(\d+)\s*$</ind:pattern>
2880 <ind:instance datatype="int">1</ind:instance>
2881 </ind:textfilecontent54_object>
2882 <ind:textfilecontent54_object id="oval:ssg:obj:171" version="1">
2883 <!-- Read whole /etc/ssh/sshd_config at once (as single line) -->
2884 <ind:behaviors singleline="true"/>
2885 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
2886 <!-- Case insensitively search /etc/ssh/sshd_config for uncommented
2887 occurrence of at least one 'PermitRootLogin no' directive, which
2888 is not preceded by (uncommented) occurence of 'PermitRootLogin yes' -->
2889 <ind:pattern operation="pattern match">^(?i)(?:(?!\n\s*PermitRootLogin\s+yes).)*(\n\s*PermitRootLogin\s+no)(.*)$</ind:pattern>
2890 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
2891 </ind:textfilecontent54_object>
2892 <ind:textfilecontent54_object id="oval:ssg:obj:172" version="1">
2893 <ind:filepath>/etc/passwd</ind:filepath>
2894 <ind:pattern operation="pattern match">^(?!root:)[^:]*:[^:]:0</ind:pattern>
2895 <ind:instance datatype="int">1</ind:instance>
2896 </ind:textfilecontent54_object>
2897 <ind:textfilecontent54_object id="oval:ssg:obj:173" version="1">
2898 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
2899 <ind:pattern operation="pattern match">^[\s]*(?i)ClientAliveInterval[\s]+(\d+)[\s]*$</ind:pattern>
2900 <ind:instance datatype="int">1</ind:instance>
2901 </ind:textfilecontent54_object>
2902 <ind:textfilecontent54_object id="oval:ssg:obj:176" version="1">
2903 <ind:filepath>/etc/passwd</ind:filepath>
2904 <ind:pattern operation="pattern match">^(?!root).*:x:[\d]*:0*([0-9]{1,2}|[1-4][0-9]{2}):[^:]*:[^:]*:(?!\/sbin\/nologin|\/bin\/sync|\/sbin\/shutdown|\/sbin\/halt).*$</ind:pattern>
2905 <ind:instance datatype="int">1</ind:instance>
2906 </ind:textfilecontent54_object>
2907 <unix:file_object comment="library directories" id="oval:ssg:obj:177" version="1">
2908 <!-- Check that /lib, /lib64, /usr/lib, and /usr/lib64 directories belong to user with uid 0 (root) -->
2909 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
2910 <unix:filename xsi:nil="true"/>
2911 <filter action="include">oval:ssg:ste:204</filter>
2912 </unix:file_object>
2913 <unix:file_object comment="library files" id="oval:ssg:obj:178" version="1">
2914 <!-- Check that files within /lib, /lib64, /usr/lib, and /usr/lib64 directories belong to user with uid 0 (root) -->
2915 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
2916 <unix:filename operation="pattern match">^.*$</unix:filename>
2917 <filter action="include">oval:ssg:ste:204</filter>
2918 </unix:file_object>
2919 <ind:family_object id="oval:ssg:obj:103" version="1"/>
2920 <linux:rpminfo_object id="oval:ssg:obj:105" version="1">
2921 <linux:name>fedora-release</linux:name>
2922 </linux:rpminfo_object>
2923 <unix:file_object comment="look for sshd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:obj:179" version="1">
2924 <unix:filepath>/etc/systemd/system/multi-user.target.wants/sshd.service</unix:filepath>
2925 <filter action="include">oval:ssg:ste:205</filter>
2926 </unix:file_object>
2927 <unix:file_object comment="look for ntpd.service in /etc/systemd/system/multi-user.target.wants" id="oval:ssg:obj:180" version="1">
2928 <unix:filepath>/etc/systemd/system/multi-user.target.wants/ntpd.service</unix:filepath>
2929 <filter action="include">oval:ssg:ste:205</filter>
2930 </unix:file_object>
2931 <linux:rpminfo_object id="oval:ssg:obj:181" version="1">
2932 <linux:name>ntp</linux:name>
2933 </linux:rpminfo_object>
2934 <ind:textfilecontent54_object id="oval:ssg:obj:182" version="1">
2935 <ind:filepath>/etc/login.defs</ind:filepath>
2936 <ind:pattern operation="pattern match">^PASS_MIN_LEN\s+(\d+)\s*$</ind:pattern>
2937 <ind:instance datatype="int">1</ind:instance>
2938 </ind:textfilecontent54_object>
2939 <ind:textfilecontent54_object id="oval:ssg:obj:184" version="1">
2940 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
2941 <ind:pattern operation="pattern match">^[\s]*(?i)ClientAliveCountMax[\s]+([\d]+)[\s]*$</ind:pattern>
2942 <ind:instance datatype="int">1</ind:instance>
2943 </ind:textfilecontent54_object>
2944 <unix:file_object comment="library directories" id="oval:ssg:obj:186" version="1">
2945 <!-- Check that /lib, /lib64, /usr/lib, /usr/lib64 directories have safe permissions (go-w) -->
2946 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
2947 <unix:filename xsi:nil="true"/>
2948 <filter action="include">oval:ssg:ste:206</filter>
2949 <filter action="exclude">oval:ssg:ste:207</filter>
2950 </unix:file_object>
2951 <unix:file_object comment="library files" id="oval:ssg:obj:187" version="1">
2952 <!-- Check the files within /lib, /lib64, /usr/lib, /usr/lib64 directories have safe permissions (go-w) -->
2953 <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
2954 <unix:filename operation="pattern match">^.*$</unix:filename>
2955 <filter action="include">oval:ssg:ste:206</filter>
2956 <filter action="exclude">oval:ssg:ste:207</filter>
2957 </unix:file_object>
2958 <ind:textfilecontent54_object id="oval:ssg:obj:188" comment="gpgcheck set in /etc/yum.conf" version="1">
2959 <ind:filepath>/etc/yum.conf</ind:filepath>
2960 <ind:pattern operation="pattern match">^\s*gpgcheck\s*=\s*1\s*$</ind:pattern>
2961 <ind:instance datatype="int" operation="equals">1</ind:instance>
2962 </ind:textfilecontent54_object>
2963 <ind:textfilecontent54_object comment="Ensure at least one NTP server is set" id="oval:ssg:obj:189" version="1">
2964 <ind:filepath>/etc/ntp.conf</ind:filepath>
2965 <ind:pattern operation="pattern match">^[\s]*server[\s]+.+$</ind:pattern>
2966 <ind:instance datatype="int">1</ind:instance>
2967 </ind:textfilecontent54_object>
2968 <ind:textfilecontent54_object comment="serial ports /etc/securetty" id="oval:ssg:obj:190" version="1">
2969 <ind:filepath>/etc/securetty</ind:filepath>
2970 <ind:pattern operation="pattern match">^ttyS[0-9]+$</ind:pattern>
2971 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
2972 </ind:textfilecontent54_object>
2973 <ind:textfilecontent54_object id="oval:ssg:obj:191" version="1">
2974 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
2975 <!-- Case-insensitively search sshd config in multiline mode for uncommented
2976 occurrence of either 'PermitEmptyPasswords yes' or
2977 'PermitEmptyPasswords no' -->
2978 <ind:pattern operation="pattern match">^(?i)\s*PermitEmptyPasswords\s+(yes|no)\s*$</ind:pattern>
2979 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
2980 </ind:textfilecontent54_object>
2981 <ind:textfilecontent54_object id="oval:ssg:obj:192" version="1">
2982 <!-- Read whole /etc/ssh/sshd_config at one (as single line) -->
2983 <ind:behaviors singleline="true"/>
2984 <ind:filepath>/etc/ssh/sshd_config</ind:filepath>
2985 <!-- Case-insensitively search sshd config in singleline mode for uncommented
2986 occurrence of 'PermitEmptyPasswords no', which is not prefixed / preceded by
2987 'PermitEmptyPasswords yes' [*] -->
2988 <ind:pattern operation="pattern match">^(?i)(?:(?!\n\s*PermitEmptyPasswords\s+yes).)*(\n\s*PermitEmptyPasswords\s+no)(.*)$</ind:pattern>
2989 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
2990 </ind:textfilecontent54_object>
2991 <ind:textfilecontent54_object id="oval:ssg:obj:193" version="1">
2992 <ind:path>/etc/yum.repos.d</ind:path>
2993 <ind:filename operation="pattern match">.*</ind:filename>
2994 <ind:pattern operation="pattern match">^\s*gpgcheck\s*=\s*0\s*$</ind:pattern>
2995 <ind:instance datatype="int">1</ind:instance>
2996 </ind:textfilecontent54_object>
2997 <ind:textfilecontent54_object id="oval:ssg:obj:194" version="1">
2998 <ind:filepath>/etc/sysconfig/prelink</ind:filepath>
2999 <ind:pattern operation="pattern match">^PRELINKING=no$</ind:pattern>
3000 <ind:instance datatype="int">1</ind:instance>
3001 </ind:textfilecontent54_object>
3002 <linux:rpminfo_object id="oval:ssg:obj:195" version="1">
3003 <linux:name>openssh-server</linux:name>
3004 </linux:rpminfo_object>
3005 <unix:file_object comment="binary directories" id="oval:ssg:obj:196" version="1">
3006 <!-- Check that /bin, /sbin, /usr/sbin, /usr/sbin, /usr/local/bin, and
3007 /usr/local/sbin directories belong to user with uid 0 (root) -->
3008 <unix:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix:path>
3009 <unix:filename xsi:nil="true"/>
3010 <filter action="include">oval:ssg:ste:208</filter>
3011 </unix:file_object>
3012 <unix:file_object comment="binary files" id="oval:ssg:obj:197" version="1">
3013 <!-- Check that files within /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, and
3014 /usr/local/sbin directories belong to user with uid 0 (root) -->
3015 <unix:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix:path>
3016 <unix:filename operation="pattern match">^.*$</unix:filename>
3017 <filter action="include">oval:ssg:ste:208</filter>
3018 </unix:file_object>
3019 <unix:file_object comment="look for .netrc in /home" id="oval:ssg:obj:198" version="1">
3020 <unix:behaviors recurse="directories" recurse_direction="down" max_depth="1" recurse_file_system="all"/>
3021 <unix:path operation="equals">/home</unix:path>
3022 <unix:filename operation="pattern match">^\.netrc$</unix:filename>
3023 </unix:file_object>
3024 <ind:textfilecontent54_object id="oval:ssg:obj:199" version="1">
3025 <ind:filepath>/etc/login.defs</ind:filepath>
3026 <ind:pattern operation="pattern match">^[\s]*PASS_MIN_DAYS[\s]+(\d+)\s*$</ind:pattern>
3027 <ind:instance datatype="int">1</ind:instance>
3028 </ind:textfilecontent54_object>
3029 <unix:file_object comment="binary files" id="oval:ssg:obj:201" version="1">
3030 <!-- Check that binary files under /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin,
3031 and /usr/local/sbin directories have safe permissions (go-w) -->
3032 <unix:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix:path>
3033 <unix:filename operation="pattern match">^.*$</unix:filename>
3034 <filter action="include">oval:ssg:ste:209</filter>
3035 <filter action="exclude">oval:ssg:ste:210</filter>
3036 </unix:file_object>
3037 <ind:textfilecontent54_object id="oval:ssg:obj:202" version="1">
3038 <ind:filepath>/etc/login.defs</ind:filepath>
3039 <ind:pattern operation="pattern match">^[\s]*PASS_WARN_AGE[\s]*(\d+)\s*$</ind:pattern>
3040 <ind:instance datatype="int">1</ind:instance>
3041 </ind:textfilecontent54_object>
3042 </objects>
3043 <states>
3044 <unix:password_state id="oval:ssg:ste:166" version="1">
3045 <unix:password>x</unix:password>
3046 </unix:password_state>
3047 <ind:textfilecontent54_state id="oval:ssg:ste:170" version="1">
3048 <ind:subexpression operation="less than or equal" var_ref="oval:ssg:var:211" datatype="int"/>
3049 </ind:textfilecontent54_state>
3050 <ind:textfilecontent54_state comment="upper bound of ClientAliveInterval in seconds" id="oval:ssg:ste:174" version="1">
3051 <ind:subexpression datatype="int" operation="less than or equal" var_check="all" var_ref="oval:ssg:var:212"/>
3052 </ind:textfilecontent54_state>
3053 <ind:textfilecontent54_state comment="lower bound of ClientAliveInterval in seconds" id="oval:ssg:ste:175" version="1">
3054 <ind:subexpression datatype="int" operation="greater than">0</ind:subexpression>
3055 </ind:textfilecontent54_state>
3056 <unix:file_state id="oval:ssg:ste:204" version="1">
3057 <unix:user_id datatype="int" operation="not equal">0</unix:user_id>
3058 </unix:file_state>
3059 <ind:family_state id="oval:ssg:ste:104" version="1">
3060 <ind:family>unix</ind:family>
3061 </ind:family_state>
3062 <linux:rpminfo_state id="oval:ssg:ste:106" version="1">
3063 <linux:version operation="pattern match">^19$</linux:version>
3064 </linux:rpminfo_state>
3065 <unix:file_state id="oval:ssg:ste:205" version="1">
3066 <unix:type operation="equals">symbolic link</unix:type>
3067 </unix:file_state>
3068 <ind:textfilecontent54_state id="oval:ssg:ste:183" version="1">
3069 <ind:subexpression operation="greater than or equal" var_ref="oval:ssg:var:213" datatype="int"/>
3070 </ind:textfilecontent54_state>
3071 <ind:textfilecontent54_state id="oval:ssg:ste:185" version="1">
3072 <ind:subexpression datatype="int" operation="equals">0</ind:subexpression>
3073 </ind:textfilecontent54_state>
3074 <unix:file_state id="oval:ssg:ste:206" version="1" operator="OR">
3075 <unix:gwrite datatype="boolean">true</unix:gwrite>
3076 <unix:owrite datatype="boolean">true</unix:owrite>
3077 </unix:file_state>
3078 <unix:file_state id="oval:ssg:ste:207" version="1">
3079 <unix:type operation="equals">symbolic link</unix:type>
3080 </unix:file_state>
3081 <unix:file_state id="oval:ssg:ste:208" version="1" operator="OR">
3082 <unix:user_id datatype="int" operation="not equal">0</unix:user_id>
3083 </unix:file_state>
3084 <ind:textfilecontent54_state id="oval:ssg:ste:200" version="1">
3085 <ind:subexpression operation="greater than or equal" var_ref="oval:ssg:var:214" datatype="int"/>
3086 </ind:textfilecontent54_state>
3087 <unix:file_state id="oval:ssg:ste:209" version="1" operator="OR">
3088 <unix:gwrite datatype="boolean">true</unix:gwrite>
3089 <unix:owrite datatype="boolean">true</unix:owrite>
3090 </unix:file_state>
3091 <unix:file_state id="oval:ssg:ste:210" version="1">
3092 <unix:type operation="equals">symbolic link</unix:type>
3093 </unix:file_state>
3094 <ind:textfilecontent54_state id="oval:ssg:ste:203" version="1">
3095 <ind:subexpression operation="greater than or equal" var_ref="oval:ssg:var:215" datatype="int"/>
3096 </ind:textfilecontent54_state>
3097 </states>
3098 <variables>
3099 <external_variable comment="maximum password age" datatype="int" id="oval:ssg:var:211" version="1"/>
3100 <external_variable comment="timeout value" datatype="int" id="oval:ssg:var:212" version="1"/>
3101 <external_variable comment="password minimum length" datatype="int" id="oval:ssg:var:213" version="1"/>
3102 <external_variable comment="minimum password age in days" datatype="int" id="oval:ssg:var:214" version="1"/>
3103 <external_variable comment="password expiration warning age in days" datatype="int" id="oval:ssg:var:215" version="1"/>
3104 </variables>
3105 </oval_definitions></ds:component></ds:data-stream-collection></arf:content>
3106 </arf:report-request>
3107 </arf:report-requests>
3108 <arf:assets>
3109 <arf:asset id="asset0">
3110 <ai:computing-device>
3111 <ai:connections>
3112 <ai:connection><ai:ip-address><ai:ip-v4>127.0.0.1</ai:ip-v4></ai:ip-address></ai:connection>
3113 <ai:connection><ai:ip-address><ai:ip-v6>0:0:0:0:0:0:0:1</ai:ip-v6></ai:ip-address></ai:connection>
3114 <ai:connection><ai:mac-address>00:00:00:00:00:00</ai:mac-address></ai:connection>
3115 </ai:connections>
3116 <ai:fqdn>localhost.localdomain</ai:fqdn>
3117 <ai:hostname>localhost</ai:hostname>
3118 </ai:computing-device>
3119 </arf:asset>
3120 </arf:assets>
3121 <arf:reports>
3122 <arf:report id="xccdf1">
3123 <arf:content><TestResult xmlns="http://checklists.nist.gov/xccdf/1.2" id="xccdf_org.open-scap_testresult_xccdf_org.ssgproject.content_profile_common" start-time="2014-10-17T09:07:43" end-time="2014-10-17T09:07:55">
3124 <benchmark href="/usr/share/xml/scap/ssg/fedora/ssg-fedora-ds.xml" id="xccdf_org.ssgproject.content_benchmark_FEDORA"/>
3125 <title>OSCAP Scan Result</title>
3126 <identity authenticated="false" privileged="false">root</identity>
3127 <profile idref="xccdf_org.ssgproject.content_profile_common"/>
3128 <target>localhost.localdomain</target>
3129 <target-address>127.0.0.1</target-address>
3130 <target-address>0:0:0:0:0:0:0:1</target-address>
3131 <target-facts>
3132 <fact name="urn:xccdf:fact:scanner:name" type="string">OpenSCAP</fact>
3133 <fact name="urn:xccdf:fact:scanner:version" type="string">1.0.9</fact>
3134 <fact name="urn:xccdf:fact:ethernet:MAC" type="string">00:00:00:00:00:00</fact>
3135 </target-facts><target-id-ref system="http://scap.nist.gov/schema/asset-identification/1.1" name="asset0" href=""/>
3136 <platform idref="cpe:/o:fedoraproject:fedora:20"/>
3137 <rule-result idref="xccdf_org.ssgproject.content_rule_disable_prelink" time="2014-10-17T09:07:43" severity="low" weight="1.000000">
3138 <result>fail</result>
3139 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3140 <check-content-ref name="oval:ssg:def:151" href="#xccdf1"/>
3141 </check>
3142 </rule-result>
3143 <rule-result idref="xccdf_org.ssgproject.content_rule_ensure_gpgcheck_globally_activated" time="2014-10-17T09:07:43" severity="high" weight="1.000000">
3144 <result>pass</result>
3145 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3146 <check-content-ref name="oval:ssg:def:140" href="#xccdf1"/>
3147 </check>
3148 </rule-result>
3149 <rule-result idref="xccdf_org.ssgproject.content_rule_ensure_gpgcheck_never_disabled" time="2014-10-17T09:07:43" severity="high" weight="1.000000">
3150 <result>pass</result>
3151 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3152 <check-content-ref name="oval:ssg:def:149" href="#xccdf1"/>
3153 </check>
3154 </rule-result>
3155 <rule-result idref="xccdf_org.ssgproject.content_rule_file_permissions_library_dirs" time="2014-10-17T09:07:51" severity="medium" weight="1.000000">
3156 <result>fail</result>
3157 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3158 <check-content-ref name="oval:ssg:def:137" href="#xccdf1"/>
3159 </check>
3160 </rule-result>
3161 <rule-result idref="xccdf_org.ssgproject.content_rule_file_ownership_library_dirs" time="2014-10-17T09:07:53" severity="medium" weight="1.000000">
3162 <result>pass</result>
3163 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3164 <check-content-ref name="oval:ssg:def:124" href="#xccdf1"/>
3165 </check>
3166 </rule-result>
3167 <rule-result idref="xccdf_org.ssgproject.content_rule_file_permissions_binary_dirs" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3168 <result>pass</result>
3169 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3170 <check-content-ref name="oval:ssg:def:161" href="#xccdf1"/>
3171 </check>
3172 </rule-result>
3173 <rule-result idref="xccdf_org.ssgproject.content_rule_file_ownership_binary_dirs" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3174 <result>pass</result>
3175 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3176 <check-content-ref name="oval:ssg:def:154" href="#xccdf1"/>
3177 </check>
3178 </rule-result>
3179 <rule-result idref="xccdf_org.ssgproject.content_rule_no_direct_root_logins" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3180 <result>notchecked</result>
3181 <message severity="info">No candidate or applicable check found.</message>
3182 <check system="ocil-transitional">
3183 <check-export export-name="the /etc/securetty file is not empty" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
3184 <check-content xmlns:xhtml="http://www.w3.org/1999/xhtml">
3185 To ensure root may not directly login to the system over physical consoles,
3186 run the following command:
3187 <pre xmlns="http://www.w3.org/1999/xhtml">cat /etc/securetty</pre>
3188 If any output is returned, this is a finding.
3189 </check-content>
3190 </check>
3191 </rule-result>
3192 <rule-result idref="xccdf_org.ssgproject.content_rule_securetty_root_login_console_only" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3193 <result>fail</result>
3194 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3195 <check-content-ref name="oval:ssg:def:109" href="#xccdf1"/>
3196 </check>
3197 </rule-result>
3198 <rule-result idref="xccdf_org.ssgproject.content_rule_restrict_serial_port_logins" time="2014-10-17T09:07:55" severity="low" weight="1.000000">
3199 <result>pass</result>
3200 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3201 <check-content-ref name="oval:ssg:def:144" href="#xccdf1"/>
3202 </check>
3203 </rule-result>
3204 <rule-result idref="xccdf_org.ssgproject.content_rule_no_root_webbrowsing" time="2014-10-17T09:07:55" severity="low" weight="1.000000">
3205 <result>notselected</result>
3206 <check system="ocil-transitional">
3207 <check-export export-name="this is not the case" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
3208 <check-content xmlns:xhtml="http://www.w3.org/1999/xhtml">
3209 Check the <xhtml:code>root</xhtml:code> home directory for a <xhtml:code>.mozilla</xhtml:code> directory. If
3210 one exists, ensure browsing is limited to local service administration.
3211 </check-content>
3212 </check>
3213 </rule-result>
3214 <rule-result idref="xccdf_org.ssgproject.content_rule_no_shelllogin_for_systemaccounts" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3215 <result>notselected</result>
3216 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3217 <check-content-ref name="oval:ssg:def:122" href="#xccdf1"/>
3218 </check>
3219 <check system="ocil-transitional">
3220 <check-export export-name="any system account (other than root) has a login shell" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
3221 <check-content xmlns:xhtml="http://www.w3.org/1999/xhtml">
3222 To obtain a listing of all users,
3223 their UIDs, and their shells, run the command:
3224 <pre xmlns="http://www.w3.org/1999/xhtml">$ awk -F: '{print $1 ":" $3 ":" $7}' /etc/passwd</pre>
3225 Identify the system accounts from this listing. These will
3226 primarily be the accounts with UID numbers less than 500, other
3227 than root.
3228 </check-content>
3229 </check>
3230 </rule-result>
3231 <rule-result idref="xccdf_org.ssgproject.content_rule_no_uidzero_except_root" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3232 <result>pass</result>
3233 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3234 <check-content-ref name="oval:ssg:def:118" href="#xccdf1"/>
3235 </check>
3236 </rule-result>
3237 <rule-result idref="xccdf_org.ssgproject.content_rule_root_path_default" time="2014-10-17T09:07:55" severity="low" weight="1.000000">
3238 <result>notselected</result>
3239 <check system="ocil-transitional">
3240 <check-export export-name="any of these conditions are not met" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
3241 <check-content xmlns:xhtml="http://www.w3.org/1999/xhtml">
3242 To view the root user's <xhtml:code>PATH</xhtml:code>, run the following command:
3243 <pre xmlns="http://www.w3.org/1999/xhtml"># env | grep PATH</pre>
3244 If correctly configured, the <xhtml:code>PATH</xhtml:code> must: use vendor default settings,
3245 have no empty entries, and have no entries beginning with a character
3246 other than a slash (/).
3247 </check-content>
3248 </check>
3249 </rule-result>
3250 <rule-result idref="xccdf_org.ssgproject.content_rule_no_empty_passwords" time="2014-10-17T09:07:55" severity="high" weight="1.000000">
3251 <result>fail</result>
3252 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3253 <check-content-ref name="oval:ssg:def:111" href="#xccdf1"/>
3254 </check>
3255 </rule-result>
3256 <rule-result idref="xccdf_org.ssgproject.content_rule_no_hashes_outside_shadow" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3257 <result>pass</result>
3258 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3259 <check-content-ref name="oval:ssg:def:107" href="#xccdf1"/>
3260 </check>
3261 </rule-result>
3262 <rule-result idref="xccdf_org.ssgproject.content_rule_gid_passwd_group_same" time="2014-10-17T09:07:55" severity="low" weight="1.000000">
3263 <result>notselected</result>
3264 <check system="ocil-transitional">
3265 <check-export export-name="there is output" value-id="xccdf_org.ssgproject.content_value_conditional_clause"/>
3266 <check-content xmlns:xhtml="http://www.w3.org/1999/xhtml">
3267 To ensure all GIDs referenced in <xhtml:code>/etc/passwd</xhtml:code> are defined in <xhtml:code>/etc/group</xhtml:code>,
3268 run the following command:
3269 <pre xmlns="http://www.w3.org/1999/xhtml"># pwck -qr</pre>
3270 There should be no output.
3271 </check-content>
3272 </check>
3273 </rule-result>
3274 <rule-result idref="xccdf_org.ssgproject.content_rule_no_netrc_files" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3275 <result>pass</result>
3276 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3277 <check-content-ref name="oval:ssg:def:157" href="#xccdf1"/>
3278 </check>
3279 </rule-result>
3280 <rule-result idref="xccdf_org.ssgproject.content_rule_accounts_password_minlen_login_defs" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3281 <result>fail</result>
3282 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3283 <check-export export-name="oval:ssg:var:213" value-id="xccdf_org.ssgproject.content_value_var_accounts_password_minlen_login_defs"/>
3284 <check-content-ref name="oval:ssg:def:133" href="#xccdf1"/>
3285 </check>
3286 </rule-result>
3287 <rule-result idref="xccdf_org.ssgproject.content_rule_accounts_minimum_age_login_defs" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3288 <result>fail</result>
3289 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3290 <check-export export-name="oval:ssg:var:214" value-id="xccdf_org.ssgproject.content_value_var_accounts_minimum_age_login_defs"/>
3291 <check-content-ref name="oval:ssg:def:159" href="#xccdf1"/>
3292 </check>
3293 </rule-result>
3294 <rule-result idref="xccdf_org.ssgproject.content_rule_accounts_maximum_age_login_defs" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3295 <result>fail</result>
3296 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3297 <check-export export-name="oval:ssg:var:211" value-id="xccdf_org.ssgproject.content_value_var_accounts_maximum_age_login_defs"/>
3298 <check-content-ref name="oval:ssg:def:113" href="#xccdf1"/>
3299 </check>
3300 </rule-result>
3301 <rule-result idref="xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs" time="2014-10-17T09:07:55" severity="low" weight="1.000000">
3302 <result>pass</result>
3303 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3304 <check-export export-name="oval:ssg:var:215" value-id="xccdf_org.ssgproject.content_value_var_accounts_password_warn_age_login_defs"/>
3305 <check-content-ref name="oval:ssg:def:163" href="#xccdf1"/>
3306 </check>
3307 </rule-result>
3308 <rule-result idref="xccdf_org.ssgproject.content_rule_service_ntpd_enabled" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3309 <result>fail</result>
3310 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3311 <check-content-ref name="oval:ssg:def:129" href="#xccdf1"/>
3312 </check>
3313 </rule-result>
3314 <rule-result idref="xccdf_org.ssgproject.content_rule_ntpd_specify_remote_server" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3315 <result>fail</result>
3316 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3317 <check-content-ref name="oval:ssg:def:142" href="#xccdf1"/>
3318 </check>
3319 </rule-result>
3320 <rule-result idref="xccdf_org.ssgproject.content_rule_sshd_disable_root_login" time="2014-10-17T09:07:55" severity="medium" weight="1.000000">
3321 <result>fail</result>
3322 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3323 <check-content-ref name="oval:ssg:def:115" href="#xccdf1"/>
3324 </check>
3325 </rule-result>
3326 <rule-result idref="xccdf_org.ssgproject.content_rule_sshd_disable_empty_passwords" time="2014-10-17T09:07:55" severity="high" weight="1.000000">
3327 <result>pass</result>
3328 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3329 <check-content-ref name="oval:ssg:def:146" href="#xccdf1"/>
3330 </check>
3331 </rule-result>
3332 <rule-result idref="xccdf_org.ssgproject.content_rule_sshd_set_idle_timeout" time="2014-10-17T09:07:55" severity="low" weight="1.000000">
3333 <result>fail</result>
3334 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3335 <check-export export-name="oval:ssg:var:212" value-id="xccdf_org.ssgproject.content_value_sshd_idle_timeout_value"/>
3336 <check-content-ref name="oval:ssg:def:120" href="#xccdf1"/>
3337 </check>
3338 </rule-result>
3339 <rule-result idref="xccdf_org.ssgproject.content_rule_sshd_set_keepalive" time="2014-10-17T09:07:55" severity="low" weight="1.000000">
3340 <result>fail</result>
3341 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
3342 <check-content-ref name="oval:ssg:def:135" href="#xccdf1"/>
3343 </check>
3344 </rule-result>
3345 <score system="urn:xccdf:scoring:default" maximum="100.000000">34.722221</score>
3346 </TestResult></arf:content></arf:report><arf:report id="oval2"><arf:content><oval_results xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-results-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-results-5 oval-results-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
3347 <generator>
3348 <oval:product_name>cpe:/a:open-scap:oscap</oval:product_name>
3349 <oval:schema_version>5.10</oval:schema_version>
3350 <oval:timestamp>2014-10-17T09:07:43</oval:timestamp>
3351 </generator>
3352 <directives>
3353 <definition_true reported="true" content="full"/>
3354 <definition_false reported="true" content="full"/>
3355 <definition_unknown reported="true" content="full"/>
3356 <definition_error reported="true" content="full"/>
3357 <definition_not_evaluated reported="true" content="full"/>
3358 <definition_not_applicable reported="true" content="full"/>
3359 </directives>
3360 <oval_definitions xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
3361 <generator>
3362 <oval:product_name>python</oval:product_name>
3363 <oval:product_version>2.6.6</oval:product_version>
3364 <oval:schema_version>5.10</oval:schema_version>
3365 <oval:timestamp>2011-09-21T13:44:00</oval:timestamp>
3366 </generator>
3367 <definitions>
3368 <definition id="oval:ssg:def:163" version="1" class="compliance">
3369 <metadata>
3370 <title>Set Password Expiration Parameters</title>
3371 <affected family="unix">
3372 <platform>Fedora 19</platform>
3373 </affected>
3374 <reference source="ssg" ref_id="accounts_password_warn_age_login_defs"/>
3375 <description>The password expiration warning age should be set appropriately.</description>
3376 </metadata>
3377 <criteria>
3378 <criterion test_ref="oval:ssg:tst:164"/>
3379 </criteria>
3380 </definition>
3381 <definition id="oval:ssg:def:161" version="1" class="compliance">
3382 <metadata>
3383 <title>Verify that System Executables Have Restrictive Permissions</title>
3384 <affected family="unix">
3385 <platform>Fedora 19</platform>
3386 <platform>Red Hat Enterprise Linux 6</platform>
3387 <platform>Red Hat Enterprise Linux 7</platform>
3388 </affected>
3389 <reference source="ssg" ref_id="file_permissions_binary_dirs"/>
3390 <description>
3391 Checks that binary files under /bin, /sbin, /usr/bin, /usr/sbin,
3392 /usr/local/bin, and /usr/local/sbin, are not group-writable or world-writable.
3393 </description>
3394 </metadata>
3395 <criteria>
3396 <criterion test_ref="oval:ssg:tst:162"/>
3397 </criteria>
3398 </definition>
3399 <definition id="oval:ssg:def:159" version="1" class="compliance">
3400 <metadata>
3401 <title>Set Password Expiration Parameters</title>
3402 <affected family="unix">
3403 <platform>Fedora 19</platform>
3404 </affected>
3405 <reference source="ssg" ref_id="accounts_minimum_age_login_defs"/>
3406 <description>The minimum password age policy should be set appropriately.</description>
3407 </metadata>
3408 <criteria comment="the value PASS_MIN_DAYS should be set appropriately in /etc/login.defs">
3409 <criterion test_ref="oval:ssg:tst:160"/>
3410 </criteria>
3411 </definition>
3412 <definition id="oval:ssg:def:157" version="1" class="compliance">
3413 <metadata>
3414 <title>Verify No netrc Files Exist</title>
3415 <affected family="unix">
3416 <platform>Fedora 19</platform>
3417 </affected>
3418 <reference source="ssg" ref_id="no_netrc_files"/>
3419 <description>The .netrc files contain login information used to auto-login into FTP servers and reside in the user's home directory. Any .netrc files should be removed.</description>
3420 </metadata>
3421 <criteria>
3422 <criterion test_ref="oval:ssg:tst:158" negate="true"/>
3423 </criteria>
3424 </definition>
3425 <definition id="oval:ssg:def:154" version="1" class="compliance">
3426 <metadata>
3427 <title>Verify that System Executables Have Root Ownership</title>
3428 <affected family="unix">
3429 <platform>Fedora 19</platform>
3430 <platform>Red Hat Enterprise Linux 6</platform>
3431 <platform>Red Hat Enterprise Linux 7</platform>
3432 </affected>
3433 <reference source="ssg" ref_id="file_ownership_binary_dirs"/>
3434 <description>
3435 Checks that /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin,
3436 /usr/local/sbin, and objects therein, are owned by root.
3437 </description>
3438 </metadata>
3439 <criteria>
3440 <criterion test_ref="oval:ssg:tst:155"/>
3441 <criterion test_ref="oval:ssg:tst:156"/>
3442 </criteria>
3443 </definition>
3444 <definition id="oval:ssg:def:151" version="1" class="compliance">
3445 <metadata>
3446 <title>Disable Prelinking</title>
3447 <affected family="unix">
3448 <platform>Fedora 19</platform>
3449 </affected>
3450 <reference source="ssg" ref_id="disable_prelink"/>
3451 <description>The prelinking feature can interfere with the operation of
3452 checksum integrity tools (e.g. AIDE), mitigates the protection provided
3453 by ASLR, and requires additional CPU cycles by software upgrades.
3454 </description>
3455 </metadata>
3456 <criteria>
3457 <criterion test_ref="oval:ssg:tst:152" comment="Ensure prelinking is disabled"/>
3458 </criteria>
3459 </definition>
3460 <definition id="oval:ssg:def:149" version="1" class="compliance">
3461 <metadata>
3462 <title>Ensure gpgcheck Enabled For All Yum Package Repositories</title>
3463 <affected family="unix">
3464 <platform>Fedora 19</platform>
3465 </affected>
3466 <reference source="ssg" ref_id="ensure_gpgcheck_never_disabled"/>
3467 <description>Ensure all yum repositories utilize signature checking.</description>
3468 </metadata>
3469 <criteria comment="ensure all yum repositories utilize signiature checking">
3470 <criterion test_ref="oval:ssg:tst:150" comment="verify no gpgpcheck=0 present in /etc/yum.repos.d files"/>
3471 </criteria>
3472 </definition>
3473 <definition id="oval:ssg:def:146" version="1" class="compliance">
3474 <metadata>
3475 <title>Disable Empty Passwords</title>
3476 <affected family="unix">
3477 <platform>Fedora 19</platform>
3478 </affected>
3479 <reference source="ssg" ref_id="sshd_disable_empty_passwords"/>
3480 <description>
3481 Remote connections from accounts with empty passwords should be
3482 disabled (and dependencies are met)
3483 </description>
3484 </metadata>
3485 <criteria operator="OR" comment="sshd disabled or conditions are met">
3486 <extend_definition definition_ref="oval:ssg:def:116" comment="sshd service is disabled"/>
3487 <criterion test_ref="oval:ssg:tst:147" comment="default sshd config"/>
3488 <criterion test_ref="oval:ssg:tst:148" comment="SSH login via empty passwords forbidden in sshd config"/>
3489 </criteria>
3490 </definition>
3491 <definition id="oval:ssg:def:144" version="1" class="compliance">
3492 <metadata>
3493 <title>Restrict Serial Port Root Logins</title>
3494 <affected family="unix">
3495 <platform>Fedora 19</platform>
3496 </affected>
3497 <reference source="ssg" ref_id="restrict_serial_port_logins"/>
3498 <description>Preventing direct root login to serial port interfaces helps
3499 ensure accountability for actions taken on the system using the root
3500 account.</description>
3501 </metadata>
3502 <criteria>
3503 <criterion test_ref="oval:ssg:tst:145" negate="true" comment="serial ports /etc/securetty"/>
3504 </criteria>
3505 </definition>
3506 <definition id="oval:ssg:def:142" version="1" class="compliance">
3507 <metadata>
3508 <title>Specify a Remote NTP Server for Time Data</title>
3509 <affected family="unix">
3510 <platform>Fedora 19</platform>
3511 </affected>
3512 <reference source="ssg" ref_id="ntp_remote_server"/>
3513 <description>
3514 A remote NTP Server for time synchronization should be specified
3515 </description>
3516 </metadata>
3517 <criteria comment="ntp.conf conditions are met">
3518 <criterion test_ref="oval:ssg:tst:143"/>
3519 </criteria>
3520 </definition>
3521 <definition id="oval:ssg:def:140" version="1" class="compliance">
3522 <metadata>
3523 <title>Ensure Yum gpgcheck Globally Activated</title>
3524 <affected family="unix">
3525 <platform>Fedora 19</platform>
3526 </affected>
3527 <reference source="ssg" ref_id="yum_gpgcheck_global_activation"/>
3528 <description>The gpgcheck option should be used to ensure that checking
3529 of an RPM package's signature always occurs prior to its
3530 installation.</description>
3531 </metadata>
3532 <criteria>
3533 <criterion test_ref="oval:ssg:tst:141" comment="check value of gpgcheck in /etc/yum.conf"/>
3534 </criteria>
3535 </definition>
3536 <definition id="oval:ssg:def:137" version="1" class="compliance">
3537 <metadata>
3538 <title>Verify that Shared Library Files Have Restrictive Permissions</title>
3539 <affected family="unix">
3540 <platform>Fedora 19</platform>
3541 <platform>Red Hat Enterprise Linux 6</platform>
3542 <platform>Red Hat Enterprise Linux 7</platform>
3543 </affected>
3544 <reference source="ssg" ref_id="file_permissions_library_dirs"/>
3545 <description>
3546 Checks that /lib, /lib64, /usr/lib, /usr/lib64, /lib/modules, and
3547 objects therein, are not group-writable or world-writable.
3548 </description>
3549 </metadata>
3550 <criteria>
3551 <criterion test_ref="oval:ssg:tst:138"/>
3552 <criterion test_ref="oval:ssg:tst:139"/>
3553 </criteria>
3554 </definition>
3555 <definition id="oval:ssg:def:135" version="1" class="compliance">
3556 <metadata>
3557 <title>Set ClientAliveCountMax for User Logins</title>
3558 <affected family="unix">
3559 <platform>Fedora 19</platform>
3560 </affected>
3561 <reference source="ssg" ref_id="sshd_set_keepalive"/>
3562 <description>The SSH ClientAliveCountMax should be set to an appropriate
3563 value (and dependencies are met)</description>
3564 </metadata>
3565 <criteria operator="OR" comment="SSH is not being used or conditions are met">
3566 <extend_definition definition_ref="oval:ssg:def:116" comment="sshd service is disabled"/>
3567 <criterion test_ref="oval:ssg:tst:136" comment="Check ClientAliveCountMax in /etc/ssh/sshd_config"/>
3568 </criteria>
3569 </definition>
3570 <definition id="oval:ssg:def:133" version="1" class="compliance">
3571 <metadata>
3572 <title>Set Password Expiration Parameters</title>
3573 <affected family="unix">
3574 <platform>Fedora 19</platform>
3575 </affected>
3576 <reference source="ssg" ref_id="accounts_password_minlen_login_defs"/>
3577 <description>The password minimum length should be set appropriately.</description>
3578 </metadata>
3579 <criteria>
3580 <criterion test_ref="oval:ssg:tst:134"/>
3581 </criteria>
3582 </definition>
3583 <definition id="oval:ssg:def:130" version="1" class="compliance">
3584 <metadata>
3585 <title>Package ntp Installed</title>
3586 <affected family="unix">
3587 <platform>Fedora 19</platform>
3588 </affected>
3589 <reference source="ssg" ref_id="package_ntp_installed"/>
3590 <description>The RPM package ntp should be installed.</description>
3591 </metadata>
3592 <criteria>
3593 <criterion test_ref="oval:ssg:tst:132" comment="package ntp is installed"/>
3594 </criteria>
3595 </definition>
3596 <definition id="oval:ssg:def:129" version="1" class="compliance">
3597 <metadata>
3598 <title>Service ntpd Enabled</title>
3599 <affected family="unix">
3600 <platform>Fedora 19</platform>
3601 </affected>
3602 <reference source="ssg" ref_id="service_ntpd_enabled"/>
3603 <description>
3604 The ntpd service should be enabled.
3605 </description>
3606 </metadata>
3607 <criteria comment="package ntp installed and service ntpd is configured to start">
3608 <extend_definition definition_ref="oval:ssg:def:130" comment="ntp installed"/>
3609 <criterion test_ref="oval:ssg:tst:131" comment="ntpd multi-user.target"/>
3610 </criteria>
3611 </definition>
3612 <definition id="oval:ssg:def:127" version="1" class="compliance">
3613 <metadata>
3614 <title>Package openssh-server Removed</title>
3615 <affected family="unix">
3616 <platform>Fedora 19</platform>
3617 </affected>
3618 <reference source="ssg" ref_id="package_openssh-server_removed"/>
3619 <description>The RPM package openssh-server should be removed.</description>
3620 </metadata>
3621 <criteria>
3622 <criterion test_ref="oval:ssg:tst:153" comment="package openssh-server is removed"/>
3623 </criteria>
3624 </definition>
3625 <definition id="oval:ssg:def:124" version="1" class="compliance">
3626 <metadata>
3627 <title>Verify that Shared Library Files Have Root Ownership</title>
3628 <affected family="unix">
3629 <platform>Fedora 19</platform>
3630 <platform>Red Hat Enterprise Linux 6</platform>
3631 <platform>Red Hat Enterprise Linux 7</platform>
3632 </affected>
3633 <reference source="ssg" ref_id="file_ownership_library_dirs"/>
3634 <description>
3635 Checks that /lib, /lib64, /usr/lib, /usr/lib64, /lib/modules, and
3636 objects therein, are owned by root.
3637 </description>
3638 </metadata>
3639 <criteria>
3640 <criterion test_ref="oval:ssg:tst:125"/>
3641 <criterion test_ref="oval:ssg:tst:126"/>
3642 </criteria>
3643 </definition>
3644 <definition id="oval:ssg:def:122" version="1" class="compliance">
3645 <metadata>
3646 <title>System Accounts Do Not Run a Shell</title>
3647 <affected family="unix">
3648 <platform>Fedora 19</platform>
3649 </affected>
3650 <reference source="ssg" ref_id="no_shelllogin_for_systemaccounts"/>
3651 <description>The root account is the only system account that should have a login shell.</description>
3652 </metadata>
3653 <criteria>
3654 <criterion test_ref="oval:ssg:tst:123" comment="tests for the presence of login shells (not /sbin/nologin) for system accounts in /etc/passwd file"/>
3655 </criteria>
3656 </definition>
3657 <definition id="oval:ssg:def:120" version="1" class="compliance">
3658 <metadata>
3659 <title>Set OpenSSH Idle Timeout Interval</title>
3660 <affected family="unix">
3661 <platform>Red Hat Enterprise Linux 6</platform>
3662 <platform>Red Hat Enterprise Linux 7</platform>
3663 <platform>Fedora 20</platform>
3664 </affected>
3665 <reference source="MED" ref_id="20130813" ref_url="test_attestation"/>
3666 <reference source="ssg" ref_id="sshd_set_idle_timeout"/>
3667 <description>The SSH idle timeout interval should be set to an
3668 appropriate value.</description>
3669 </metadata>
3670 <criteria operator="OR" comment="SSH is not being used or conditions are met">
3671 <extend_definition definition_ref="oval:ssg:def:116" comment="sshd service is disabled"/>
3672 <criterion test_ref="oval:ssg:tst:121" comment="Check ClientAliveInterval in /etc/ssh/sshd_config"/>
3673 </criteria>
3674 </definition>
3675 <definition id="oval:ssg:def:118" version="1" class="compliance">
3676 <metadata>
3677 <title>UID 0 Belongs Only To Root</title>
3678 <affected family="unix">
3679 <platform>Fedora 19</platform>
3680 </affected>
3681 <reference source="ssg" ref_id="accounts_no_uid_except_zero"/>
3682 <description>Only the root account should be assigned a user id of 0.</description>
3683 </metadata>
3684 <criteria>
3685 <criterion test_ref="oval:ssg:tst:119" comment="tests for reg exp ^[^r][^o][^o][^t].*:0 in /etc/passwd file"/>
3686 </criteria>
3687 </definition>
3688 <definition id="oval:ssg:def:116" version="1" class="compliance">
3689 <metadata>
3690 <title>Service sshd Disabled</title>
3691 <affected family="unix">
3692 <platform>Fedora 19</platform>
3693 </affected>
3694 <reference source="ssg" ref_id="service_sshd_disabled"/>
3695 <description>
3696 The sshd service should be disabled.
3697 </description>
3698 </metadata>
3699 <criteria operator="OR" comment="package openssh-server removed or service sshd is not configured to start">
3700 <extend_definition definition_ref="oval:ssg:def:127" comment="openssh-server removed"/>
3701 <criterion test_ref="oval:ssg:tst:128" comment="sshd disabled in multi-user.target"/>
3702 </criteria>
3703 </definition>
3704 <definition id="oval:ssg:def:115" version="1" class="compliance">
3705 <metadata>
3706 <title>Disable root Login via SSH</title>
3707 <affected family="unix">
3708 <platform>Fedora 19</platform>
3709 </affected>
3710 <reference source="ssg" ref_id="sshd_disable_root_login"/>
3711 <description>
3712 Root login via SSH should be disabled (and dependencies are met)
3713 </description>
3714 </metadata>
3715 <criteria operator="OR" comment="SSH is not being used or conditions are met">
3716 <extend_definition definition_ref="oval:ssg:def:116" comment="sshd service is disabled"/>
3717 <criterion test_ref="oval:ssg:tst:117" comment="SSH login for root user forbidden in sshd config"/>
3718 </criteria>
3719 </definition>
3720 <definition id="oval:ssg:def:113" version="1" class="compliance">
3721 <metadata>
3722 <title>Set Password Expiration Parameters</title>
3723 <affected family="unix">
3724 <platform>Fedora 19</platform>
3725 </affected>
3726 <reference source="ssg" ref_id="accounts_maximum_age_login_defs"/>
3727 <description>The maximum password age policy should meet minimum requirements.</description>
3728 </metadata>
3729 <criteria comment="the value PASS_MAX_DAYS should be set appropriately in /etc/login.defs">
3730 <criterion test_ref="oval:ssg:tst:114"/>
3731 </criteria>
3732 </definition>
3733 <definition id="oval:ssg:def:111" version="1" class="compliance">
3734 <metadata>
3735 <title>No nullok Option in /etc/pam.d/system-auth</title>
3736 <affected family="unix">
3737 <platform>Fedora 19</platform>
3738 </affected>
3739 <reference source="ssg" ref_id="no_empty_passwords"/>
3740 <description>The file /etc/pam.d/system-auth should not contain the nullok option</description>
3741 </metadata>
3742 <criteria>
3743 <criterion test_ref="oval:ssg:tst:112" comment="make sure the nullok option is not used in /etc/pam.d/system-auth"/>
3744 </criteria>
3745 </definition>
3746 <definition id="oval:ssg:def:109" version="1" class="compliance">
3747 <metadata>
3748 <title>Restrict Virtual Console Root Logins</title>
3749 <affected family="unix">
3750 <platform>Fedora 19</platform>
3751 </affected>
3752 <reference source="ssg" ref_id="securetty_root_login_console_only"/>
3753 <description>Preventing direct root login to virtual console devices
3754 helps ensure accountability for actions taken on the system using the
3755 root account.</description>
3756 </metadata>
3757 <criteria>
3758 <criterion test_ref="oval:ssg:tst:110" comment="virtual consoles /etc/securetty"/>
3759 </criteria>
3760 </definition>
3761 <definition id="oval:ssg:def:107" version="1" class="compliance">
3762 <metadata>
3763 <title>All Password Hashes Shadowed</title>
3764 <affected family="unix">
3765 <platform>Fedora 19</platform>
3766 </affected>
3767 <reference source="ssg" ref_id="accounts_password_all_shadowed"/>
3768 <description>All password hashes should be shadowed.</description>
3769 </metadata>
3770 <criteria>
3771 <criterion test_ref="oval:ssg:tst:108" comment="password hashes are shadowed"/>
3772 </criteria>
3773 </definition>
3774 <definition id="oval:ssg:def:100" version="1" class="inventory">
3775 <metadata>
3776 <title>Fedora release 19 (Schrödinger's Cat)</title>
3777 <affected family="unix">
3778 <platform>Fedora 19</platform>
3779 </affected>
3780 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:19"/>
3781 <reference source="ssg" ref_id="installed_OS_is_fedora19"/>
3782 <description>The operating system installed on the system is
3783 Fedora release 19 (Schrödinger's Cat)</description>
3784 </metadata>
3785 <criteria>
3786 <criterion test_ref="oval:ssg:tst:101" comment="Installed operating system is part of the unix family"/>
3787 <criterion test_ref="oval:ssg:tst:102" comment="Fedora release 19 is installed"/>
3788 </criteria>
3789 </definition>
3790 </definitions>
3791 <tests>
3792 <ind-def:textfilecontent54_test id="oval:ssg:tst:164" version="1" check="all" comment="Tests the value of PASS_WARN_AGE in /etc/login.defs">
3793 <ind-def:object object_ref="oval:ssg:obj:202"/>
3794 <ind-def:state state_ref="oval:ssg:ste:203"/>
3795 </ind-def:textfilecontent54_test>
3796 <unix-def:file_test id="oval:ssg:tst:162" version="1" check_existence="none_exist" check="all" comment="binary files go-w">
3797 <unix-def:object object_ref="oval:ssg:obj:201"/>
3798 </unix-def:file_test>
3799 <ind-def:textfilecontent54_test id="oval:ssg:tst:160" version="1" check="all" comment="Tests the value of PASS_MIN_DAYS in /etc/login.defs">
3800 <ind-def:object object_ref="oval:ssg:obj:199"/>
3801 <ind-def:state state_ref="oval:ssg:ste:200"/>
3802 </ind-def:textfilecontent54_test>
3803 <unix-def:file_test id="oval:ssg:tst:158" version="1" check="all" comment="look for .netrc in /home">
3804 <unix-def:object object_ref="oval:ssg:obj:198"/>
3805 </unix-def:file_test>
3806 <unix-def:file_test id="oval:ssg:tst:156" version="1" check_existence="none_exist" check="all" comment="binary files uid root">
3807 <unix-def:object object_ref="oval:ssg:obj:197"/>
3808 </unix-def:file_test>
3809 <unix-def:file_test id="oval:ssg:tst:155" version="1" check_existence="none_exist" check="all" comment="binary directories uid root">
3810 <unix-def:object object_ref="oval:ssg:obj:196"/>
3811 </unix-def:file_test>
3812 <lin-def:rpminfo_test id="oval:ssg:tst:153" version="1" check_existence="none_exist" check="all" comment="package openssh-server is removed">
3813 <lin-def:object object_ref="oval:ssg:obj:195"/>
3814 </lin-def:rpminfo_test>
3815 <ind-def:textfilecontent54_test id="oval:ssg:tst:152" version="1" check_existence="all_exist" check="all" comment="Tests whether prelinking is disabled">
3816 <ind-def:object object_ref="oval:ssg:obj:194"/>
3817 </ind-def:textfilecontent54_test>
3818 <ind-def:textfilecontent54_test id="oval:ssg:tst:150" version="1" check_existence="none_exist" check="all" comment="check for existence of gpgcheck=0 in /etc/yum.repos.d/ files">
3819 <ind-def:object object_ref="oval:ssg:obj:193"/>
3820 </ind-def:textfilecontent54_test>
3821 <ind-def:textfilecontent54_test id="oval:ssg:tst:148" version="1" check="all" comment="SSH login via empty passwords forbidden in sshd config">
3822 <ind-def:object object_ref="oval:ssg:obj:192"/>
3823 </ind-def:textfilecontent54_test>
3824 <ind-def:textfilecontent54_test id="oval:ssg:tst:147" version="1" check_existence="none_exist" check="all" comment="check default sshd config">
3825 <ind-def:object object_ref="oval:ssg:obj:191"/>
3826 </ind-def:textfilecontent54_test>
3827 <ind-def:textfilecontent54_test id="oval:ssg:tst:145" version="1" check_existence="all_exist" check="all" comment="serial ports /etc/securetty">
3828 <ind-def:object object_ref="oval:ssg:obj:190"/>
3829 </ind-def:textfilecontent54_test>
3830 <ind-def:textfilecontent54_test id="oval:ssg:tst:143" version="1" check="all" comment="Ensure at least one NTP server is set">
3831 <ind-def:object object_ref="oval:ssg:obj:189"/>
3832 </ind-def:textfilecontent54_test>
3833 <ind-def:textfilecontent54_test id="oval:ssg:tst:141" version="1" check_existence="all_exist" check="all" comment="check value of gpgcheck in /etc/yum.conf">
3834 <ind-def:object object_ref="oval:ssg:obj:188"/>
3835 </ind-def:textfilecontent54_test>
3836 <unix-def:file_test id="oval:ssg:tst:139" version="1" check_existence="none_exist" check="all" comment="library files go-w">
3837 <unix-def:object object_ref="oval:ssg:obj:187"/>
3838 </unix-def:file_test>
3839 <unix-def:file_test id="oval:ssg:tst:138" version="1" check_existence="none_exist" check="all" comment="library directories go-w">
3840 <unix-def:object object_ref="oval:ssg:obj:186"/>
3841 </unix-def:file_test>
3842 <ind-def:textfilecontent54_test id="oval:ssg:tst:136" version="1" check_existence="all_exist" check="all" comment="Tests the value of the ClientAliveCountMax setting in the /etc/ssh/sshd_config file">
3843 <ind-def:object object_ref="oval:ssg:obj:184"/>
3844 <ind-def:state state_ref="oval:ssg:ste:185"/>
3845 </ind-def:textfilecontent54_test>
3846 <ind-def:textfilecontent54_test id="oval:ssg:tst:134" version="1" check="all" comment="check PASS_MIN_LEN in /etc/login.defs">
3847 <ind-def:object object_ref="oval:ssg:obj:182"/>
3848 <ind-def:state state_ref="oval:ssg:ste:183"/>
3849 </ind-def:textfilecontent54_test>
3850 <lin-def:rpminfo_test id="oval:ssg:tst:132" version="1" check_existence="all_exist" check="all" comment="package ntp is installed">
3851 <lin-def:object object_ref="oval:ssg:obj:181"/>
3852 </lin-def:rpminfo_test>
3853 <unix-def:file_test id="oval:ssg:tst:131" version="1" check="all" comment="look for ntpd.service in /etc/systemd/system/multi-user.target.wants">
3854 <unix-def:object object_ref="oval:ssg:obj:180"/>
3855 </unix-def:file_test>
3856 <unix-def:file_test id="oval:ssg:tst:128" version="1" check_existence="none_exist" check="all" comment="look for sshd.service in /etc/systemd/system/multi-user.target.wants">
3857 <unix-def:object object_ref="oval:ssg:obj:179"/>
3858 </unix-def:file_test>
3859 <unix-def:file_test id="oval:ssg:tst:126" version="1" check_existence="none_exist" check="all" comment="library files uid root">
3860 <unix-def:object object_ref="oval:ssg:obj:178"/>
3861 </unix-def:file_test>
3862 <unix-def:file_test id="oval:ssg:tst:125" version="1" check_existence="none_exist" check="all" comment="library directories uid root">
3863 <unix-def:object object_ref="oval:ssg:obj:177"/>
3864 </unix-def:file_test>
3865 <ind-def:textfilecontent54_test id="oval:ssg:tst:123" version="1" check_existence="none_exist" check="all" comment="tests for the presence of login shells (not /sbin/nologin) for system accounts in /etc/passwd file">
3866 <ind-def:object object_ref="oval:ssg:obj:176"/>
3867 </ind-def:textfilecontent54_test>
3868 <ind-def:textfilecontent54_test id="oval:ssg:tst:121" version="1" check_existence="all_exist" check="all" comment="timeout is configured">
3869 <ind-def:object object_ref="oval:ssg:obj:173"/>
3870 <ind-def:state state_ref="oval:ssg:ste:174"/>
3871 <ind-def:state state_ref="oval:ssg:ste:175"/>
3872 </ind-def:textfilecontent54_test>
3873 <ind-def:textfilecontent54_test id="oval:ssg:tst:119" version="1" check_existence="none_exist" check="all" comment="tests for reg exp ^[^r][^o][^o][^t].*:0 in /etc/passwd file">
3874 <ind-def:object object_ref="oval:ssg:obj:172"/>
3875 </ind-def:textfilecontent54_test>
3876 <ind-def:textfilecontent54_test id="oval:ssg:tst:117" version="1" check="all" comment="SSH login for root user forbidden in sshd config">
3877 <ind-def:object object_ref="oval:ssg:obj:171"/>
3878 </ind-def:textfilecontent54_test>
3879 <ind-def:textfilecontent54_test id="oval:ssg:tst:114" version="1" check="all" comment="the value PASS_MAX_DAYS should be set appropriately in /etc/login.defs">
3880 <ind-def:object object_ref="oval:ssg:obj:169"/>
3881 <ind-def:state state_ref="oval:ssg:ste:170"/>
3882 </ind-def:textfilecontent54_test>
3883 <ind-def:textfilecontent54_test id="oval:ssg:tst:112" version="1" check_existence="none_exist" check="all" comment="make sure nullok is not used in /etc/pam.d/system-auth">
3884 <ind-def:object object_ref="oval:ssg:obj:168"/>
3885 </ind-def:textfilecontent54_test>
3886 <ind-def:textfilecontent54_test id="oval:ssg:tst:110" version="1" check_existence="none_exist" check="all" comment="virtual consoles /etc/securetty">
3887 <ind-def:object object_ref="oval:ssg:obj:167"/>
3888 </ind-def:textfilecontent54_test>
3889 <unix-def:password_test id="oval:ssg:tst:108" version="1" check="all" comment="password hashes are shadowed">
3890 <unix-def:object object_ref="oval:ssg:obj:165"/>
3891 <unix-def:state state_ref="oval:ssg:ste:166"/>
3892 </unix-def:password_test>
3893 <lin-def:rpminfo_test id="oval:ssg:tst:102" version="1" check_existence="only_one_exists" check="all" comment="fedora-release is version 19">
3894 <lin-def:object object_ref="oval:ssg:obj:105"/>
3895 <lin-def:state state_ref="oval:ssg:ste:106"/>
3896 </lin-def:rpminfo_test>
3897 <ind-def:family_test id="oval:ssg:tst:101" version="1" check="all" comment="installed OS part of unix family">
3898 <ind-def:object object_ref="oval:ssg:obj:103"/>
3899 <ind-def:state state_ref="oval:ssg:ste:104"/>
3900 </ind-def:family_test>
3901 </tests>
3902 <objects>
3903 <ind-def:textfilecontent54_object id="oval:ssg:obj:202" version="1">
3904 <ind-def:filepath>/etc/login.defs</ind-def:filepath>
3905 <ind-def:pattern operation="pattern match">^[\s]*PASS_WARN_AGE[\s]*(\d+)\s*$</ind-def:pattern>
3906 <ind-def:instance datatype="int">1</ind-def:instance>
3907 </ind-def:textfilecontent54_object>
3908 <unix-def:file_object id="oval:ssg:obj:201" version="1" comment="binary files">
3909 <unix-def:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix-def:path>
3910 <unix-def:filename operation="pattern match">^.*$</unix-def:filename>
3911 <filter action="include">oval:ssg:ste:209</filter>
3912 <filter>oval:ssg:ste:210</filter>
3913 </unix-def:file_object>
3914 <ind-def:textfilecontent54_object id="oval:ssg:obj:199" version="1">
3915 <ind-def:filepath>/etc/login.defs</ind-def:filepath>
3916 <ind-def:pattern operation="pattern match">^[\s]*PASS_MIN_DAYS[\s]+(\d+)\s*$</ind-def:pattern>
3917 <ind-def:instance datatype="int">1</ind-def:instance>
3918 </ind-def:textfilecontent54_object>
3919 <unix-def:file_object id="oval:ssg:obj:198" version="1" comment="look for .netrc in /home">
3920 <unix-def:behaviors recurse="directories" recurse_direction="down" max_depth="1" recurse_file_system="all"/>
3921 <unix-def:path>/home</unix-def:path>
3922 <unix-def:filename operation="pattern match">^\.netrc$</unix-def:filename>
3923 </unix-def:file_object>
3924 <unix-def:file_object id="oval:ssg:obj:197" version="1" comment="binary files">
3925 <unix-def:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix-def:path>
3926 <unix-def:filename operation="pattern match">^.*$</unix-def:filename>
3927 <filter action="include">oval:ssg:ste:208</filter>
3928 </unix-def:file_object>
3929 <unix-def:file_object id="oval:ssg:obj:196" version="1" comment="binary directories">
3930 <unix-def:path operation="pattern match">^\/(|s)bin|^\/usr\/(|local\/)(|s)bin</unix-def:path>
3931 <unix-def:filename xsi:nil="true"/>
3932 <filter action="include">oval:ssg:ste:208</filter>
3933 </unix-def:file_object>
3934 <lin-def:rpminfo_object id="oval:ssg:obj:195" version="1">
3935 <lin-def:name>openssh-server</lin-def:name>
3936 </lin-def:rpminfo_object>
3937 <ind-def:textfilecontent54_object id="oval:ssg:obj:194" version="1">
3938 <ind-def:filepath>/etc/sysconfig/prelink</ind-def:filepath>
3939 <ind-def:pattern operation="pattern match">^PRELINKING=no$</ind-def:pattern>
3940 <ind-def:instance datatype="int">1</ind-def:instance>
3941 </ind-def:textfilecontent54_object>
3942 <ind-def:textfilecontent54_object id="oval:ssg:obj:193" version="1">
3943 <ind-def:path>/etc/yum.repos.d</ind-def:path>
3944 <ind-def:filename operation="pattern match">.*</ind-def:filename>
3945 <ind-def:pattern operation="pattern match">^\s*gpgcheck\s*=\s*0\s*$</ind-def:pattern>
3946 <ind-def:instance datatype="int">1</ind-def:instance>
3947 </ind-def:textfilecontent54_object>
3948 <ind-def:textfilecontent54_object id="oval:ssg:obj:192" version="1">
3949 <ind-def:behaviors singleline="true"/>
3950 <ind-def:filepath>/etc/ssh/sshd_config</ind-def:filepath>
3951 <ind-def:pattern operation="pattern match">^(?i)(?:(?!\n\s*PermitEmptyPasswords\s+yes).)*(\n\s*PermitEmptyPasswords\s+no)(.*)$</ind-def:pattern>
3952 <ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
3953 </ind-def:textfilecontent54_object>
3954 <ind-def:textfilecontent54_object id="oval:ssg:obj:191" version="1">
3955 <ind-def:filepath>/etc/ssh/sshd_config</ind-def:filepath>
3956 <ind-def:pattern operation="pattern match">^(?i)\s*PermitEmptyPasswords\s+(yes|no)\s*$</ind-def:pattern>
3957 <ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
3958 </ind-def:textfilecontent54_object>
3959 <ind-def:textfilecontent54_object id="oval:ssg:obj:190" version="1" comment="serial ports /etc/securetty">
3960 <ind-def:filepath>/etc/securetty</ind-def:filepath>
3961 <ind-def:pattern operation="pattern match">^ttyS[0-9]+$</ind-def:pattern>
3962 <ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
3963 </ind-def:textfilecontent54_object>
3964 <ind-def:textfilecontent54_object id="oval:ssg:obj:189" version="1" comment="Ensure at least one NTP server is set">
3965 <ind-def:filepath>/etc/ntp.conf</ind-def:filepath>
3966 <ind-def:pattern operation="pattern match">^[\s]*server[\s]+.+$</ind-def:pattern>
3967 <ind-def:instance datatype="int">1</ind-def:instance>
3968 </ind-def:textfilecontent54_object>
3969 <ind-def:textfilecontent54_object id="oval:ssg:obj:188" version="1" comment="gpgcheck set in /etc/yum.conf">
3970 <ind-def:filepath>/etc/yum.conf</ind-def:filepath>
3971 <ind-def:pattern operation="pattern match">^\s*gpgcheck\s*=\s*1\s*$</ind-def:pattern>
3972 <ind-def:instance datatype="int">1</ind-def:instance>
3973 </ind-def:textfilecontent54_object>
3974 <unix-def:file_object id="oval:ssg:obj:187" version="1" comment="library files">
3975 <unix-def:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix-def:path>
3976 <unix-def:filename operation="pattern match">^.*$</unix-def:filename>
3977 <filter action="include">oval:ssg:ste:206</filter>
3978 <filter>oval:ssg:ste:207</filter>
3979 </unix-def:file_object>
3980 <unix-def:file_object id="oval:ssg:obj:186" version="1" comment="library directories">
3981 <unix-def:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix-def:path>
3982 <unix-def:filename xsi:nil="true"/>
3983 <filter action="include">oval:ssg:ste:206</filter>
3984 <filter>oval:ssg:ste:207</filter>
3985 </unix-def:file_object>
3986 <ind-def:textfilecontent54_object id="oval:ssg:obj:184" version="1">
3987 <ind-def:filepath>/etc/ssh/sshd_config</ind-def:filepath>
3988 <ind-def:pattern operation="pattern match">^[\s]*(?i)ClientAliveCountMax[\s]+([\d]+)[\s]*$</ind-def:pattern>
3989 <ind-def:instance datatype="int">1</ind-def:instance>
3990 </ind-def:textfilecontent54_object>
3991 <ind-def:textfilecontent54_object id="oval:ssg:obj:182" version="1">
3992 <ind-def:filepath>/etc/login.defs</ind-def:filepath>
3993 <ind-def:pattern operation="pattern match">^PASS_MIN_LEN\s+(\d+)\s*$</ind-def:pattern>
3994 <ind-def:instance datatype="int">1</ind-def:instance>
3995 </ind-def:textfilecontent54_object>
3996 <lin-def:rpminfo_object id="oval:ssg:obj:181" version="1">
3997 <lin-def:name>ntp</lin-def:name>
3998 </lin-def:rpminfo_object>
3999 <unix-def:file_object id="oval:ssg:obj:180" version="1" comment="look for ntpd.service in /etc/systemd/system/multi-user.target.wants">
4000 <unix-def:filepath>/etc/systemd/system/multi-user.target.wants/ntpd.service</unix-def:filepath>
4001 <filter action="include">oval:ssg:ste:205</filter>
4002 </unix-def:file_object>
4003 <unix-def:file_object id="oval:ssg:obj:179" version="1" comment="look for sshd.service in /etc/systemd/system/multi-user.target.wants">
4004 <unix-def:filepath>/etc/systemd/system/multi-user.target.wants/sshd.service</unix-def:filepath>
4005 <filter action="include">oval:ssg:ste:205</filter>
4006 </unix-def:file_object>
4007 <unix-def:file_object id="oval:ssg:obj:178" version="1" comment="library files">
4008 <unix-def:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix-def:path>
4009 <unix-def:filename operation="pattern match">^.*$</unix-def:filename>
4010 <filter action="include">oval:ssg:ste:204</filter>
4011 </unix-def:file_object>
4012 <unix-def:file_object id="oval:ssg:obj:177" version="1" comment="library directories">
4013 <unix-def:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix-def:path>
4014 <unix-def:filename xsi:nil="true"/>
4015 <filter action="include">oval:ssg:ste:204</filter>
4016 </unix-def:file_object>
4017 <ind-def:textfilecontent54_object id="oval:ssg:obj:176" version="1">
4018 <ind-def:filepath>/etc/passwd</ind-def:filepath>
4019 <ind-def:pattern operation="pattern match">^(?!root).*:x:[\d]*:0*([0-9]{1,2}|[1-4][0-9]{2}):[^:]*:[^:]*:(?!\/sbin\/nologin|\/bin\/sync|\/sbin\/shutdown|\/sbin\/halt).*$</ind-def:pattern>
4020 <ind-def:instance datatype="int">1</ind-def:instance>
4021 </ind-def:textfilecontent54_object>
4022 <ind-def:textfilecontent54_object id="oval:ssg:obj:173" version="1">
4023 <ind-def:filepath>/etc/ssh/sshd_config</ind-def:filepath>
4024 <ind-def:pattern operation="pattern match">^[\s]*(?i)ClientAliveInterval[\s]+(\d+)[\s]*$</ind-def:pattern>
4025 <ind-def:instance datatype="int">1</ind-def:instance>
4026 </ind-def:textfilecontent54_object>
4027 <ind-def:textfilecontent54_object id="oval:ssg:obj:172" version="1">
4028 <ind-def:filepath>/etc/passwd</ind-def:filepath>
4029 <ind-def:pattern operation="pattern match">^(?!root:)[^:]*:[^:]:0</ind-def:pattern>
4030 <ind-def:instance datatype="int">1</ind-def:instance>
4031 </ind-def:textfilecontent54_object>
4032 <ind-def:textfilecontent54_object id="oval:ssg:obj:171" version="1">
4033 <ind-def:behaviors singleline="true"/>
4034 <ind-def:filepath>/etc/ssh/sshd_config</ind-def:filepath>
4035 <ind-def:pattern operation="pattern match">^(?i)(?:(?!\n\s*PermitRootLogin\s+yes).)*(\n\s*PermitRootLogin\s+no)(.*)$</ind-def:pattern>
4036 <ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
4037 </ind-def:textfilecontent54_object>
4038 <ind-def:textfilecontent54_object id="oval:ssg:obj:169" version="1">
4039 <ind-def:filepath>/etc/login.defs</ind-def:filepath>
4040 <ind-def:pattern operation="pattern match">^[\s]*PASS_MAX_DAYS[\s]+(\d+)\s*$</ind-def:pattern>
4041 <ind-def:instance datatype="int">1</ind-def:instance>
4042 </ind-def:textfilecontent54_object>
4043 <ind-def:textfilecontent54_object id="oval:ssg:obj:168" version="1">
4044 <ind-def:filepath>/etc/pam.d/system-auth</ind-def:filepath>
4045 <ind-def:pattern operation="pattern match">\s*nullok\s*</ind-def:pattern>
4046 <ind-def:instance datatype="int">1</ind-def:instance>
4047 </ind-def:textfilecontent54_object>
4048 <ind-def:textfilecontent54_object id="oval:ssg:obj:167" version="1" comment="virtual consoles /etc/securetty">
4049 <ind-def:filepath>/etc/securetty</ind-def:filepath>
4050 <ind-def:pattern operation="pattern match">^vc/[0-9]+$</ind-def:pattern>
4051 <ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
4052 </ind-def:textfilecontent54_object>
4053 <unix-def:password_object id="oval:ssg:obj:165" version="1">
4054 <unix-def:username operation="pattern match">.*</unix-def:username>
4055 </unix-def:password_object>
4056 <lin-def:rpminfo_object id="oval:ssg:obj:105" version="1">
4057 <lin-def:name>fedora-release</lin-def:name>
4058 </lin-def:rpminfo_object>
4059 <ind-def:family_object id="oval:ssg:obj:103" version="1"/>
4060 </objects>
4061 <states>
4062 <unix-def:file_state id="oval:ssg:ste:210" version="1">
4063 <unix-def:type>symbolic link</unix-def:type>
4064 </unix-def:file_state>
4065 <unix-def:file_state id="oval:ssg:ste:209" version="1" operator="OR">
4066 <unix-def:gwrite datatype="boolean">true</unix-def:gwrite>
4067 <unix-def:owrite datatype="boolean">true</unix-def:owrite>
4068 </unix-def:file_state>
4069 <unix-def:file_state id="oval:ssg:ste:208" version="1" operator="OR">
4070 <unix-def:user_id operation="not equal" datatype="int">0</unix-def:user_id>
4071 </unix-def:file_state>
4072 <unix-def:file_state id="oval:ssg:ste:207" version="1">
4073 <unix-def:type>symbolic link</unix-def:type>
4074 </unix-def:file_state>
4075 <unix-def:file_state id="oval:ssg:ste:206" version="1" operator="OR">
4076 <unix-def:gwrite datatype="boolean">true</unix-def:gwrite>
4077 <unix-def:owrite datatype="boolean">true</unix-def:owrite>
4078 </unix-def:file_state>
4079 <unix-def:file_state id="oval:ssg:ste:205" version="1">
4080 <unix-def:type>symbolic link</unix-def:type>
4081 </unix-def:file_state>
4082 <unix-def:file_state id="oval:ssg:ste:204" version="1">
4083 <unix-def:user_id operation="not equal" datatype="int">0</unix-def:user_id>
4084 </unix-def:file_state>
4085 <ind-def:textfilecontent54_state id="oval:ssg:ste:203" version="1">
4086 <ind-def:subexpression operation="greater than or equal" datatype="int" var_ref="oval:ssg:var:215" var_check="all"/>
4087 </ind-def:textfilecontent54_state>
4088 <ind-def:textfilecontent54_state id="oval:ssg:ste:200" version="1">
4089 <ind-def:subexpression operation="greater than or equal" datatype="int" var_ref="oval:ssg:var:214" var_check="all"/>
4090 </ind-def:textfilecontent54_state>
4091 <ind-def:textfilecontent54_state id="oval:ssg:ste:185" version="1">
4092 <ind-def:subexpression datatype="int">0</ind-def:subexpression>
4093 </ind-def:textfilecontent54_state>
4094 <ind-def:textfilecontent54_state id="oval:ssg:ste:183" version="1">
4095 <ind-def:subexpression operation="greater than or equal" datatype="int" var_ref="oval:ssg:var:213" var_check="all"/>
4096 </ind-def:textfilecontent54_state>
4097 <ind-def:textfilecontent54_state id="oval:ssg:ste:175" version="1" comment="lower bound of ClientAliveInterval in seconds">
4098 <ind-def:subexpression operation="greater than" datatype="int">0</ind-def:subexpression>
4099 </ind-def:textfilecontent54_state>
4100 <ind-def:textfilecontent54_state id="oval:ssg:ste:174" version="1" comment="upper bound of ClientAliveInterval in seconds">
4101 <ind-def:subexpression operation="less than or equal" datatype="int" var_ref="oval:ssg:var:212" var_check="all"/>
4102 </ind-def:textfilecontent54_state>
4103 <ind-def:textfilecontent54_state id="oval:ssg:ste:170" version="1">
4104 <ind-def:subexpression operation="less than or equal" datatype="int" var_ref="oval:ssg:var:211" var_check="all"/>
4105 </ind-def:textfilecontent54_state>
4106 <unix-def:password_state id="oval:ssg:ste:166" version="1">
4107 <unix-def:password>x</unix-def:password>
4108 </unix-def:password_state>
4109 <lin-def:rpminfo_state id="oval:ssg:ste:106" version="1">
4110 <lin-def:version operation="pattern match">^19$</lin-def:version>
4111 </lin-def:rpminfo_state>
4112 <ind-def:family_state id="oval:ssg:ste:104" version="1">
4113 <ind-def:family>unix</ind-def:family>
4114 </ind-def:family_state>
4115 </states>
4116 <variables>
4117 <external_variable id="oval:ssg:var:215" version="1" datatype="int" comment="password expiration warning age in days"/>
4118 <external_variable id="oval:ssg:var:214" version="1" datatype="int" comment="minimum password age in days"/>
4119 <external_variable id="oval:ssg:var:213" version="1" datatype="int" comment="password minimum length"/>
4120 <external_variable id="oval:ssg:var:212" version="1" datatype="int" comment="timeout value"/>
4121 <external_variable id="oval:ssg:var:211" version="1" datatype="int" comment="maximum password age"/>
4122 </variables>
4123 </oval_definitions>
4124 <results>
4125 <system>
4126 <definitions>
4127 <definition definition_id="oval:ssg:def:163" result="true" version="1">
4128 <criteria operator="AND" result="true">
4129 <criterion test_ref="oval:ssg:tst:164" version="1" result="true"/>
4130 </criteria>
4131 </definition>
4132 <definition definition_id="oval:ssg:def:161" result="true" version="1">
4133 <criteria operator="AND" result="true">
4134 <criterion test_ref="oval:ssg:tst:162" version="1" result="true"/>
4135 </criteria>
4136 </definition>
4137 <definition definition_id="oval:ssg:def:159" result="false" version="1">
4138 <criteria operator="AND" result="false">
4139 <criterion test_ref="oval:ssg:tst:160" version="1" result="false"/>
4140 </criteria>
4141 </definition>
4142 <definition definition_id="oval:ssg:def:157" result="true" version="1">
4143 <criteria operator="AND" result="true">
4144 <criterion test_ref="oval:ssg:tst:158" version="1" result="true" negate="true"/>
4145 </criteria>
4146 </definition>
4147 <definition definition_id="oval:ssg:def:154" result="true" version="1">
4148 <criteria operator="AND" result="true">
4149 <criterion test_ref="oval:ssg:tst:155" version="1" result="true"/>
4150 <criterion test_ref="oval:ssg:tst:156" version="1" result="true"/>
4151 </criteria>
4152 </definition>
4153 <definition definition_id="oval:ssg:def:151" result="false" version="1">
4154 <criteria operator="AND" result="false">
4155 <criterion test_ref="oval:ssg:tst:152" version="1" result="false"/>
4156 </criteria>
4157 </definition>
4158 <definition definition_id="oval:ssg:def:149" result="true" version="1">
4159 <criteria operator="AND" result="true">
4160 <criterion test_ref="oval:ssg:tst:150" version="1" result="true"/>
4161 </criteria>
4162 </definition>
4163 <definition definition_id="oval:ssg:def:146" result="true" version="1">
4164 <criteria operator="OR" result="true">
4165 <extend_definition definition_ref="oval:ssg:def:116" version="1" result="false"/>
4166 <criterion test_ref="oval:ssg:tst:147" version="1" result="true"/>
4167 <criterion test_ref="oval:ssg:tst:148" version="1" result="false"/>
4168 </criteria>
4169 </definition>
4170 <definition definition_id="oval:ssg:def:144" result="true" version="1">
4171 <criteria operator="AND" result="true">
4172 <criterion test_ref="oval:ssg:tst:145" version="1" result="true" negate="true"/>
4173 </criteria>
4174 </definition>
4175 <definition definition_id="oval:ssg:def:142" result="false" version="1">
4176 <criteria operator="AND" result="false">
4177 <criterion test_ref="oval:ssg:tst:143" version="1" result="false"/>
4178 </criteria>
4179 </definition>
4180 <definition definition_id="oval:ssg:def:140" result="true" version="1">
4181 <criteria operator="AND" result="true">
4182 <criterion test_ref="oval:ssg:tst:141" version="1" result="true"/>
4183 </criteria>
4184 </definition>
4185 <definition definition_id="oval:ssg:def:137" result="false" version="1">
4186 <criteria operator="AND" result="false">
4187 <criterion test_ref="oval:ssg:tst:138" version="1" result="true"/>
4188 <criterion test_ref="oval:ssg:tst:139" version="1" result="false"/>
4189 </criteria>
4190 </definition>
4191 <definition definition_id="oval:ssg:def:135" result="false" version="1">
4192 <criteria operator="OR" result="false">
4193 <extend_definition definition_ref="oval:ssg:def:116" version="1" result="false"/>
4194 <criterion test_ref="oval:ssg:tst:136" version="1" result="false"/>
4195 </criteria>
4196 </definition>
4197 <definition definition_id="oval:ssg:def:133" result="false" version="1">
4198 <criteria operator="AND" result="false">
4199 <criterion test_ref="oval:ssg:tst:134" version="1" result="false"/>
4200 </criteria>
4201 </definition>
4202 <definition definition_id="oval:ssg:def:130" result="false" version="1">
4203 <criteria operator="AND" result="false">
4204 <criterion test_ref="oval:ssg:tst:132" version="1" result="false"/>
4205 </criteria>
4206 </definition>
4207 <definition definition_id="oval:ssg:def:129" result="false" version="1">
4208 <criteria operator="AND" result="false">
4209 <extend_definition definition_ref="oval:ssg:def:130" version="1" result="false"/>
4210 <criterion test_ref="oval:ssg:tst:131" version="1" result="false"/>
4211 </criteria>
4212 </definition>
4213 <definition definition_id="oval:ssg:def:127" result="false" version="1">
4214 <criteria operator="AND" result="false">
4215 <criterion test_ref="oval:ssg:tst:153" version="1" result="false"/>
4216 </criteria>
4217 </definition>
4218 <definition definition_id="oval:ssg:def:124" result="true" version="1">
4219 <criteria operator="AND" result="true">
4220 <criterion test_ref="oval:ssg:tst:125" version="1" result="true"/>
4221 <criterion test_ref="oval:ssg:tst:126" version="1" result="true"/>
4222 </criteria>
4223 </definition>
4224 <definition definition_id="oval:ssg:def:122" result="not evaluated" version="1">
4225 <criteria operator="AND" result="not evaluated">
4226 <criterion test_ref="oval:ssg:tst:123" version="1" result="not evaluated"/>
4227 </criteria>
4228 </definition>
4229 <definition definition_id="oval:ssg:def:120" result="false" version="1">
4230 <criteria operator="OR" result="false">
4231 <extend_definition definition_ref="oval:ssg:def:116" version="1" result="false"/>
4232 <criterion test_ref="oval:ssg:tst:121" version="1" result="false"/>
4233 </criteria>
4234 </definition>
4235 <definition definition_id="oval:ssg:def:118" result="true" version="1">
4236 <criteria operator="AND" result="true">
4237 <criterion test_ref="oval:ssg:tst:119" version="1" result="true"/>
4238 </criteria>
4239 </definition>
4240 <definition definition_id="oval:ssg:def:116" result="false" version="1">
4241 <criteria operator="OR" result="false">
4242 <extend_definition definition_ref="oval:ssg:def:127" version="1" result="false"/>
4243 <criterion test_ref="oval:ssg:tst:128" version="1" result="false"/>
4244 </criteria>
4245 </definition>
4246 <definition definition_id="oval:ssg:def:115" result="false" version="1">
4247 <criteria operator="OR" result="false">
4248 <extend_definition definition_ref="oval:ssg:def:116" version="1" result="false"/>
4249 <criterion test_ref="oval:ssg:tst:117" version="1" result="false"/>
4250 </criteria>
4251 </definition>
4252 <definition definition_id="oval:ssg:def:113" result="false" version="1">
4253 <criteria operator="AND" result="false">
4254 <criterion test_ref="oval:ssg:tst:114" version="1" result="false"/>
4255 </criteria>
4256 </definition>
4257 <definition definition_id="oval:ssg:def:111" result="false" version="1">
4258 <criteria operator="AND" result="false">
4259 <criterion test_ref="oval:ssg:tst:112" version="1" result="false"/>
4260 </criteria>
4261 </definition>
4262 <definition definition_id="oval:ssg:def:109" result="false" version="1">
4263 <criteria operator="AND" result="false">
4264 <criterion test_ref="oval:ssg:tst:110" version="1" result="false"/>
4265 </criteria>
4266 </definition>
4267 <definition definition_id="oval:ssg:def:107" result="true" version="1">
4268 <criteria operator="AND" result="true">
4269 <criterion test_ref="oval:ssg:tst:108" version="1" result="true"/>
4270 </criteria>
4271 </definition>
4272 <definition definition_id="oval:ssg:def:100" result="not evaluated" version="1">
4273 <criteria operator="AND" result="not evaluated">
4274 <criterion test_ref="oval:ssg:tst:101" version="1" result="not evaluated"/>
4275 <criterion test_ref="oval:ssg:tst:102" version="1" result="not evaluated"/>
4276 </criteria>
4277 </definition>
4278 </definitions>
4279 <tests>
4280 <test test_id="oval:ssg:tst:101" version="1" check="all" result="not evaluated"/>
4281 <test test_id="oval:ssg:tst:102" version="1" check_existence="only_one_exists" check="all" result="not evaluated"/>
4282 <test test_id="oval:ssg:tst:108" version="1" check="all" result="true">
4283 <tested_item item_id="1014293" result="true"/>
4284 <tested_item item_id="1014291" result="true"/>
4285 <tested_item item_id="1014292" result="true"/>
4286 <tested_item item_id="1014295" result="true"/>
4287 <tested_item item_id="1014294" result="true"/>
4288 <tested_item item_id="1014297" result="true"/>
4289 <tested_item item_id="1014296" result="true"/>
4290 <tested_item item_id="1014298" result="true"/>
4291 <tested_item item_id="1014299" result="true"/>
4292 <tested_item item_id="10142910" result="true"/>
4293 <tested_item item_id="10142911" result="true"/>
4294 <tested_item item_id="10142912" result="true"/>
4295 <tested_item item_id="10142913" result="true"/>
4296 <tested_item item_id="10142914" result="true"/>
4297 <tested_item item_id="10142916" result="true"/>
4298 <tested_item item_id="10142915" result="true"/>
4299 <tested_item item_id="10142917" result="true"/>
4300 <tested_item item_id="10142918" result="true"/>
4301 <tested_item item_id="10142919" result="true"/>
4302 <tested_item item_id="10142920" result="true"/>
4303 <tested_item item_id="10142921" result="true"/>
4304 <tested_item item_id="10142923" result="true"/>
4305 <tested_item item_id="10142922" result="true"/>
4306 </test>
4307 <test test_id="oval:ssg:tst:110" version="1" check_existence="none_exist" check="all" result="false">
4308 <tested_item item_id="1014072" result="not evaluated"/>
4309 <tested_item item_id="1014073" result="not evaluated"/>
4310 <tested_item item_id="1014074" result="not evaluated"/>
4311 <tested_item item_id="1014075" result="not evaluated"/>
4312 <tested_item item_id="1014076" result="not evaluated"/>
4313 <tested_item item_id="1014077" result="not evaluated"/>
4314 <tested_item item_id="1014078" result="not evaluated"/>
4315 <tested_item item_id="1014079" result="not evaluated"/>
4316 <tested_item item_id="10140710" result="not evaluated"/>
4317 <tested_item item_id="10140711" result="not evaluated"/>
4318 <tested_item item_id="10140712" result="not evaluated"/>
4319 </test>
4320 <test test_id="oval:ssg:tst:112" version="1" check_existence="none_exist" check="all" result="false">
4321 <tested_item item_id="10140713" result="not evaluated"/>
4322 </test>
4323 <test test_id="oval:ssg:tst:114" version="1" check="all" result="false">
4324 <tested_item item_id="10140716" result="false"/>
4325 <tested_variable variable_id="oval:ssg:var:211">90</tested_variable>
4326 </test>
4327 <test test_id="oval:ssg:tst:117" version="1" check="all" result="false"/>
4328 <test test_id="oval:ssg:tst:119" version="1" check_existence="none_exist" check="all" result="true"/>
4329 <test test_id="oval:ssg:tst:121" version="1" check_existence="all_exist" check="all" result="false">
4330 <tested_variable variable_id="oval:ssg:var:212">300</tested_variable>
4331 </test>
4332 <test test_id="oval:ssg:tst:123" version="1" check_existence="none_exist" check="all" result="not evaluated"/>
4333 <test test_id="oval:ssg:tst:125" version="1" check_existence="none_exist" check="all" result="true"/>
4334 <test test_id="oval:ssg:tst:126" version="1" check_existence="none_exist" check="all" result="true"/>
4335 <test test_id="oval:ssg:tst:128" version="1" check_existence="none_exist" check="all" result="false">
4336 <tested_item item_id="1014145" result="not evaluated"/>
4337 </test>
4338 <test test_id="oval:ssg:tst:131" version="1" check="all" result="false"/>
4339 <test test_id="oval:ssg:tst:132" version="1" check_existence="all_exist" check="all" result="false"/>
4340 <test test_id="oval:ssg:tst:134" version="1" check="all" result="false">
4341 <tested_item item_id="10140714" result="false"/>
4342 <tested_variable variable_id="oval:ssg:var:213">12</tested_variable>
4343 </test>
4344 <test test_id="oval:ssg:tst:136" version="1" check_existence="all_exist" check="all" result="false"/>
4345 <test test_id="oval:ssg:tst:138" version="1" check_existence="none_exist" check="all" result="true"/>
4346 <test test_id="oval:ssg:tst:139" version="1" check_existence="none_exist" check="all" result="false">
4347 <tested_item item_id="1014141" result="not evaluated"/>
4348 <tested_item item_id="1014144" result="not evaluated"/>
4349 <tested_item item_id="1014143" result="not evaluated"/>
4350 <tested_item item_id="1014142" result="not evaluated"/>
4351 </test>
4352 <test test_id="oval:ssg:tst:141" version="1" check_existence="all_exist" check="all" result="true">
4353 <tested_item item_id="1014071" result="not evaluated"/>
4354 </test>
4355 <test test_id="oval:ssg:tst:143" version="1" check="all" result="false"/>
4356 <test test_id="oval:ssg:tst:145" version="1" check_existence="all_exist" check="all" result="false"/>
4357 <test test_id="oval:ssg:tst:147" version="1" check_existence="none_exist" check="all" result="true"/>
4358 <test test_id="oval:ssg:tst:148" version="1" check="all" result="false"/>
4359 <test test_id="oval:ssg:tst:150" version="1" check_existence="none_exist" check="all" result="true"/>
4360 <test test_id="oval:ssg:tst:152" version="1" check_existence="all_exist" check="all" result="false"/>
4361 <test test_id="oval:ssg:tst:153" version="1" check_existence="none_exist" check="all" result="false">
4362 <tested_item item_id="1014391" result="not evaluated"/>
4363 </test>
4364 <test test_id="oval:ssg:tst:155" version="1" check_existence="none_exist" check="all" result="true"/>
4365 <test test_id="oval:ssg:tst:156" version="1" check_existence="none_exist" check="all" result="true"/>
4366 <test test_id="oval:ssg:tst:158" version="1" check="all" result="false"/>
4367 <test test_id="oval:ssg:tst:160" version="1" check="all" result="false">
4368 <tested_item item_id="10140715" result="false"/>
4369 <tested_variable variable_id="oval:ssg:var:214">7</tested_variable>
4370 </test>
4371 <test test_id="oval:ssg:tst:162" version="1" check_existence="none_exist" check="all" result="true"/>
4372 <test test_id="oval:ssg:tst:164" version="1" check="all" result="true">
4373 <tested_item item_id="10140717" result="true"/>
4374 <tested_variable variable_id="oval:ssg:var:215">7</tested_variable>
4375 </test>
4376 </tests>
4377 <oval_system_characteristics xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix" xmlns:ind-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent" xmlns:lin-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5 oval-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent independent-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix unix-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux linux-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
4378 <generator>
4379 <oval:product_name>cpe:/a:open-scap:oscap</oval:product_name>
4380 <oval:schema_version>5.10</oval:schema_version>
4381 <oval:timestamp>2014-10-17T09:07:43</oval:timestamp>
4382 </generator>
4383 <system_info>
4384 <os_name>Linux</os_name>
4385 <os_version>#1 SMP Mon Jul 7 14:24:41 UTC 2014</os_version>
4386 <architecture>x86_64</architecture>
4387 <primary_host_name>localhost.localdomain</primary_host_name>
4388 <interfaces>
4389 <interface>
4390 <interface_name>lo</interface_name>
4391 <ip_address>127.0.0.1</ip_address>
4392 <mac_address>00:00:00:00:00:00</mac_address>
4393 </interface>
4394 <interface>
4395 <interface_name>lo</interface_name>
4396 <ip_address>::1</ip_address>
4397 <mac_address>00:00:00:00:00:00</mac_address>
4398 </interface>
4399 </interfaces>
4400 </system_info>
4401 <collected_objects>
4402 <object id="oval:ssg:obj:165" version="1" flag="complete">
4403 <reference item_ref="1014293"/>
4404 <reference item_ref="1014291"/>
4405 <reference item_ref="1014292"/>
4406 <reference item_ref="1014295"/>
4407 <reference item_ref="1014294"/>
4408 <reference item_ref="1014297"/>
4409 <reference item_ref="1014296"/>
4410 <reference item_ref="1014298"/>
4411 <reference item_ref="1014299"/>
4412 <reference item_ref="10142910"/>
4413 <reference item_ref="10142911"/>
4414 <reference item_ref="10142912"/>
4415 <reference item_ref="10142913"/>
4416 <reference item_ref="10142914"/>
4417 <reference item_ref="10142916"/>
4418 <reference item_ref="10142915"/>
4419 <reference item_ref="10142917"/>
4420 <reference item_ref="10142918"/>
4421 <reference item_ref="10142919"/>
4422 <reference item_ref="10142920"/>
4423 <reference item_ref="10142921"/>
4424 <reference item_ref="10142923"/>
4425 <reference item_ref="10142922"/>
4426 </object>
4427 <object id="oval:ssg:obj:167" version="1" flag="complete">
4428 <reference item_ref="1014072"/>
4429 <reference item_ref="1014073"/>
4430 <reference item_ref="1014074"/>
4431 <reference item_ref="1014075"/>
4432 <reference item_ref="1014076"/>
4433 <reference item_ref="1014077"/>
4434 <reference item_ref="1014078"/>
4435 <reference item_ref="1014079"/>
4436 <reference item_ref="10140710"/>
4437 <reference item_ref="10140711"/>
4438 <reference item_ref="10140712"/>
4439 </object>
4440 <object id="oval:ssg:obj:168" version="1" flag="complete">
4441 <reference item_ref="10140713"/>
4442 </object>
4443 <object id="oval:ssg:obj:169" version="1" flag="complete">
4444 <reference item_ref="10140716"/>
4445 </object>
4446 <object id="oval:ssg:obj:171" version="1" flag="does not exist"/>
4447 <object id="oval:ssg:obj:172" version="1" flag="does not exist"/>
4448 <object id="oval:ssg:obj:173" version="1" flag="does not exist"/>
4449 <object id="oval:ssg:obj:177" version="1" flag="does not exist"/>
4450 <object id="oval:ssg:obj:178" version="1" flag="does not exist"/>
4451 <object id="oval:ssg:obj:179" version="1" flag="complete">
4452 <reference item_ref="1014145"/>
4453 </object>
4454 <object id="oval:ssg:obj:180" version="1" flag="does not exist"/>
4455 <object id="oval:ssg:obj:181" version="1" flag="does not exist"/>
4456 <object id="oval:ssg:obj:182" version="1" flag="complete">
4457 <reference item_ref="10140714"/>
4458 </object>
4459 <object id="oval:ssg:obj:184" version="1" flag="does not exist"/>
4460 <object id="oval:ssg:obj:186" version="1" flag="does not exist"/>
4461 <object id="oval:ssg:obj:187" version="1" flag="complete">
4462 <reference item_ref="1014141"/>
4463 <reference item_ref="1014144"/>
4464 <reference item_ref="1014143"/>
4465 <reference item_ref="1014142"/>
4466 </object>
4467 <object id="oval:ssg:obj:188" version="1" flag="complete">
4468 <reference item_ref="1014071"/>
4469 </object>
4470 <object id="oval:ssg:obj:189" version="1" flag="does not exist"/>
4471 <object id="oval:ssg:obj:190" version="1" flag="does not exist"/>
4472 <object id="oval:ssg:obj:191" version="1" flag="does not exist"/>
4473 <object id="oval:ssg:obj:192" version="1" flag="does not exist"/>
4474 <object id="oval:ssg:obj:193" version="1" flag="does not exist"/>
4475 <object id="oval:ssg:obj:194" version="1" flag="does not exist"/>
4476 <object id="oval:ssg:obj:195" version="1" flag="complete">
4477 <reference item_ref="1014391"/>
4478 </object>
4479 <object id="oval:ssg:obj:196" version="1" flag="does not exist"/>
4480 <object id="oval:ssg:obj:197" version="1" flag="does not exist"/>
4481 <object id="oval:ssg:obj:198" version="1" flag="does not exist"/>
4482 <object id="oval:ssg:obj:199" version="1" flag="complete">
4483 <reference item_ref="10140715"/>
4484 </object>
4485 <object id="oval:ssg:obj:201" version="1" flag="does not exist"/>
4486 <object id="oval:ssg:obj:202" version="1" flag="complete">
4487 <reference item_ref="10140717"/>
4488 </object>
4489 </collected_objects>
4490 <system_data>
4491 <lin-sys:rpminfo_item id="1014391" status="exists">
4492 <lin-sys:name>openssh-server</lin-sys:name>
4493 <lin-sys:arch>x86_64</lin-sys:arch>
4494 <lin-sys:epoch>(none)</lin-sys:epoch>
4495 <lin-sys:release>4.fc20</lin-sys:release>
4496 <lin-sys:version>6.4p1</lin-sys:version>
4497 <lin-sys:evr datatype="evr_string">0:6.4p1-4.fc20</lin-sys:evr>
4498 <lin-sys:signature_keyid>2eb161fa246110c1</lin-sys:signature_keyid>
4499 <lin-sys:extended_name>openssh-server-0:6.4p1-4.fc20.x86_64</lin-sys:extended_name>
4500 </lin-sys:rpminfo_item>
4501 <unix-sys:password_item id="1014299" status="exists">
4502 <unix-sys:username>mail</unix-sys:username>
4503 <unix-sys:password>x</unix-sys:password>
4504 <unix-sys:user_id datatype="int">8</unix-sys:user_id>
4505 <unix-sys:group_id datatype="int">12</unix-sys:group_id>
4506 <unix-sys:gcos>mail</unix-sys:gcos>
4507 <unix-sys:home_dir>/var/spool/mail</unix-sys:home_dir>
4508 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4509 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4510 </unix-sys:password_item>
4511 <unix-sys:password_item id="1014298" status="exists">
4512 <unix-sys:username>halt</unix-sys:username>
4513 <unix-sys:password>x</unix-sys:password>
4514 <unix-sys:user_id datatype="int">7</unix-sys:user_id>
4515 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4516 <unix-sys:gcos>halt</unix-sys:gcos>
4517 <unix-sys:home_dir>/sbin</unix-sys:home_dir>
4518 <unix-sys:login_shell>/sbin/halt</unix-sys:login_shell>
4519 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4520 </unix-sys:password_item>
4521 <unix-sys:password_item id="1014297" status="exists">
4522 <unix-sys:username>shutdown</unix-sys:username>
4523 <unix-sys:password>x</unix-sys:password>
4524 <unix-sys:user_id datatype="int">6</unix-sys:user_id>
4525 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4526 <unix-sys:gcos>shutdown</unix-sys:gcos>
4527 <unix-sys:home_dir>/sbin</unix-sys:home_dir>
4528 <unix-sys:login_shell>/sbin/shutdown</unix-sys:login_shell>
4529 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4530 </unix-sys:password_item>
4531 <unix-sys:password_item id="1014296" status="exists">
4532 <unix-sys:username>sync</unix-sys:username>
4533 <unix-sys:password>x</unix-sys:password>
4534 <unix-sys:user_id datatype="int">5</unix-sys:user_id>
4535 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4536 <unix-sys:gcos>sync</unix-sys:gcos>
4537 <unix-sys:home_dir>/sbin</unix-sys:home_dir>
4538 <unix-sys:login_shell>/bin/sync</unix-sys:login_shell>
4539 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4540 </unix-sys:password_item>
4541 <unix-sys:password_item id="1014295" status="exists">
4542 <unix-sys:username>lp</unix-sys:username>
4543 <unix-sys:password>x</unix-sys:password>
4544 <unix-sys:user_id datatype="int">4</unix-sys:user_id>
4545 <unix-sys:group_id datatype="int">7</unix-sys:group_id>
4546 <unix-sys:gcos>lp</unix-sys:gcos>
4547 <unix-sys:home_dir>/var/spool/lpd</unix-sys:home_dir>
4548 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4549 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4550 </unix-sys:password_item>
4551 <unix-sys:password_item id="1014294" status="exists">
4552 <unix-sys:username>adm</unix-sys:username>
4553 <unix-sys:password>x</unix-sys:password>
4554 <unix-sys:user_id datatype="int">3</unix-sys:user_id>
4555 <unix-sys:group_id datatype="int">4</unix-sys:group_id>
4556 <unix-sys:gcos>adm</unix-sys:gcos>
4557 <unix-sys:home_dir>/var/adm</unix-sys:home_dir>
4558 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4559 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4560 </unix-sys:password_item>
4561 <unix-sys:password_item id="1014293" status="exists">
4562 <unix-sys:username>daemon</unix-sys:username>
4563 <unix-sys:password>x</unix-sys:password>
4564 <unix-sys:user_id datatype="int">2</unix-sys:user_id>
4565 <unix-sys:group_id datatype="int">2</unix-sys:group_id>
4566 <unix-sys:gcos>daemon</unix-sys:gcos>
4567 <unix-sys:home_dir>/sbin</unix-sys:home_dir>
4568 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4569 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4570 </unix-sys:password_item>
4571 <unix-sys:password_item id="10142923" status="exists">
4572 <unix-sys:username>puppet</unix-sys:username>
4573 <unix-sys:password>x</unix-sys:password>
4574 <unix-sys:user_id datatype="int">52</unix-sys:user_id>
4575 <unix-sys:group_id datatype="int">52</unix-sys:group_id>
4576 <unix-sys:gcos>Puppet</unix-sys:gcos>
4577 <unix-sys:home_dir>/var/lib/puppet</unix-sys:home_dir>
4578 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4579 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4580 </unix-sys:password_item>
4581 <unix-sys:password_item id="10142922" status="exists">
4582 <unix-sys:username>mgrepl</unix-sys:username>
4583 <unix-sys:password>x</unix-sys:password>
4584 <unix-sys:user_id datatype="int">1001</unix-sys:user_id>
4585 <unix-sys:group_id datatype="int">1001</unix-sys:group_id>
4586 <unix-sys:gcos/>
4587 <unix-sys:home_dir>/home/mgrepl</unix-sys:home_dir>
4588 <unix-sys:login_shell>/bin/bash</unix-sys:login_shell>
4589 <unix-sys:last_login datatype="int">1395936192</unix-sys:last_login>
4590 </unix-sys:password_item>
4591 <unix-sys:password_item id="10142921" status="exists">
4592 <unix-sys:username>unbound</unix-sys:username>
4593 <unix-sys:password>x</unix-sys:password>
4594 <unix-sys:user_id datatype="int">997</unix-sys:user_id>
4595 <unix-sys:group_id datatype="int">997</unix-sys:group_id>
4596 <unix-sys:gcos>Unbound DNS resolver</unix-sys:gcos>
4597 <unix-sys:home_dir>/etc/unbound</unix-sys:home_dir>
4598 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4599 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4600 </unix-sys:password_item>
4601 <unix-sys:password_item id="10142920" status="exists">
4602 <unix-sys:username>saslauth</unix-sys:username>
4603 <unix-sys:password>x</unix-sys:password>
4604 <unix-sys:user_id datatype="int">998</unix-sys:user_id>
4605 <unix-sys:group_id datatype="int">76</unix-sys:group_id>
4606 <unix-sys:gcos>"Saslauthd user"</unix-sys:gcos>
4607 <unix-sys:home_dir>/run/saslauthd</unix-sys:home_dir>
4608 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4609 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4610 </unix-sys:password_item>
4611 <unix-sys:password_item id="1014292" status="exists">
4612 <unix-sys:username>bin</unix-sys:username>
4613 <unix-sys:password>x</unix-sys:password>
4614 <unix-sys:user_id datatype="int">1</unix-sys:user_id>
4615 <unix-sys:group_id datatype="int">1</unix-sys:group_id>
4616 <unix-sys:gcos>bin</unix-sys:gcos>
4617 <unix-sys:home_dir>/bin</unix-sys:home_dir>
4618 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4619 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4620 </unix-sys:password_item>
4621 <unix-sys:password_item id="10142919" status="exists">
4622 <unix-sys:username>tss</unix-sys:username>
4623 <unix-sys:password>x</unix-sys:password>
4624 <unix-sys:user_id datatype="int">59</unix-sys:user_id>
4625 <unix-sys:group_id datatype="int">59</unix-sys:group_id>
4626 <unix-sys:gcos>Account used by the trousers package to sandbox the tcsd daemon</unix-sys:gcos>
4627 <unix-sys:home_dir>/dev/null</unix-sys:home_dir>
4628 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4629 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4630 </unix-sys:password_item>
4631 <unix-sys:password_item id="10142918" status="exists">
4632 <unix-sys:username>slukasik</unix-sys:username>
4633 <unix-sys:password>x</unix-sys:password>
4634 <unix-sys:user_id datatype="int">1000</unix-sys:user_id>
4635 <unix-sys:group_id datatype="int">1000</unix-sys:group_id>
4636 <unix-sys:gcos>slukasik</unix-sys:gcos>
4637 <unix-sys:home_dir>/home/slukasik</unix-sys:home_dir>
4638 <unix-sys:login_shell>/bin/bash</unix-sys:login_shell>
4639 <unix-sys:last_login datatype="int">1413545481</unix-sys:last_login>
4640 </unix-sys:password_item>
4641 <unix-sys:password_item id="10142917" status="exists">
4642 <unix-sys:username>sshd</unix-sys:username>
4643 <unix-sys:password>x</unix-sys:password>
4644 <unix-sys:user_id datatype="int">74</unix-sys:user_id>
4645 <unix-sys:group_id datatype="int">74</unix-sys:group_id>
4646 <unix-sys:gcos>Privilege-separated SSH</unix-sys:gcos>
4647 <unix-sys:home_dir>/var/empty/sshd</unix-sys:home_dir>
4648 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4649 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4650 </unix-sys:password_item>
4651 <unix-sys:password_item id="10142916" status="exists">
4652 <unix-sys:username>avahi-autoipd</unix-sys:username>
4653 <unix-sys:password>x</unix-sys:password>
4654 <unix-sys:user_id datatype="int">170</unix-sys:user_id>
4655 <unix-sys:group_id datatype="int">170</unix-sys:group_id>
4656 <unix-sys:gcos>Avahi IPv4LL Stack</unix-sys:gcos>
4657 <unix-sys:home_dir>/var/lib/avahi-autoipd</unix-sys:home_dir>
4658 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4659 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4660 </unix-sys:password_item>
4661 <unix-sys:password_item id="10142915" status="exists">
4662 <unix-sys:username>polkitd</unix-sys:username>
4663 <unix-sys:password>x</unix-sys:password>
4664 <unix-sys:user_id datatype="int">999</unix-sys:user_id>
4665 <unix-sys:group_id datatype="int">998</unix-sys:group_id>
4666 <unix-sys:gcos>User for polkitd</unix-sys:gcos>
4667 <unix-sys:home_dir>/</unix-sys:home_dir>
4668 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4669 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4670 </unix-sys:password_item>
4671 <unix-sys:password_item id="10142914" status="exists">
4672 <unix-sys:username>dbus</unix-sys:username>
4673 <unix-sys:password>x</unix-sys:password>
4674 <unix-sys:user_id datatype="int">81</unix-sys:user_id>
4675 <unix-sys:group_id datatype="int">81</unix-sys:group_id>
4676 <unix-sys:gcos>System message bus</unix-sys:gcos>
4677 <unix-sys:home_dir>/</unix-sys:home_dir>
4678 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4679 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4680 </unix-sys:password_item>
4681 <unix-sys:password_item id="10142913" status="exists">
4682 <unix-sys:username>nobody</unix-sys:username>
4683 <unix-sys:password>x</unix-sys:password>
4684 <unix-sys:user_id datatype="int">99</unix-sys:user_id>
4685 <unix-sys:group_id datatype="int">99</unix-sys:group_id>
4686 <unix-sys:gcos>Nobody</unix-sys:gcos>
4687 <unix-sys:home_dir>/</unix-sys:home_dir>
4688 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4689 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4690 </unix-sys:password_item>
4691 <unix-sys:password_item id="10142912" status="exists">
4692 <unix-sys:username>ftp</unix-sys:username>
4693 <unix-sys:password>x</unix-sys:password>
4694 <unix-sys:user_id datatype="int">14</unix-sys:user_id>
4695 <unix-sys:group_id datatype="int">50</unix-sys:group_id>
4696 <unix-sys:gcos>FTP User</unix-sys:gcos>
4697 <unix-sys:home_dir>/var/ftp</unix-sys:home_dir>
4698 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4699 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4700 </unix-sys:password_item>
4701 <unix-sys:password_item id="10142911" status="exists">
4702 <unix-sys:username>games</unix-sys:username>
4703 <unix-sys:password>x</unix-sys:password>
4704 <unix-sys:user_id datatype="int">12</unix-sys:user_id>
4705 <unix-sys:group_id datatype="int">100</unix-sys:group_id>
4706 <unix-sys:gcos>games</unix-sys:gcos>
4707 <unix-sys:home_dir>/usr/games</unix-sys:home_dir>
4708 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4709 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4710 </unix-sys:password_item>
4711 <unix-sys:password_item id="10142910" status="exists">
4712 <unix-sys:username>operator</unix-sys:username>
4713 <unix-sys:password>x</unix-sys:password>
4714 <unix-sys:user_id datatype="int">11</unix-sys:user_id>
4715 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4716 <unix-sys:gcos>operator</unix-sys:gcos>
4717 <unix-sys:home_dir>/root</unix-sys:home_dir>
4718 <unix-sys:login_shell>/sbin/nologin</unix-sys:login_shell>
4719 <unix-sys:last_login datatype="int">0</unix-sys:last_login>
4720 </unix-sys:password_item>
4721 <unix-sys:password_item id="1014291" status="exists">
4722 <unix-sys:username>root</unix-sys:username>
4723 <unix-sys:password>x</unix-sys:password>
4724 <unix-sys:user_id datatype="int">0</unix-sys:user_id>
4725 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4726 <unix-sys:gcos>root</unix-sys:gcos>
4727 <unix-sys:home_dir>/root</unix-sys:home_dir>
4728 <unix-sys:login_shell>/bin/bash</unix-sys:login_shell>
4729 <unix-sys:last_login datatype="int">1413551246</unix-sys:last_login>
4730 </unix-sys:password_item>
4731 <unix-sys:file_item id="1014145" status="exists">
4732 <unix-sys:filepath>/etc/systemd/system/multi-user.target.wants/sshd.service</unix-sys:filepath>
4733 <unix-sys:path>/etc/systemd/system/multi-user.target.wants</unix-sys:path>
4734 <unix-sys:filename>sshd.service</unix-sys:filename>
4735 <unix-sys:type>symbolic link</unix-sys:type>
4736 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4737 <unix-sys:user_id datatype="int">0</unix-sys:user_id>
4738 <unix-sys:a_time datatype="int">1413551275</unix-sys:a_time>
4739 <unix-sys:c_time datatype="int">1395677966</unix-sys:c_time>
4740 <unix-sys:m_time datatype="int">1395677966</unix-sys:m_time>
4741 <unix-sys:size datatype="int">36</unix-sys:size>
4742 <unix-sys:suid datatype="boolean">false</unix-sys:suid>
4743 <unix-sys:sgid datatype="boolean">false</unix-sys:sgid>
4744 <unix-sys:sticky datatype="boolean">false</unix-sys:sticky>
4745 <unix-sys:uread datatype="boolean">true</unix-sys:uread>
4746 <unix-sys:uwrite datatype="boolean">true</unix-sys:uwrite>
4747 <unix-sys:uexec datatype="boolean">true</unix-sys:uexec>
4748 <unix-sys:gread datatype="boolean">true</unix-sys:gread>
4749 <unix-sys:gwrite datatype="boolean">true</unix-sys:gwrite>
4750 <unix-sys:gexec datatype="boolean">true</unix-sys:gexec>
4751 <unix-sys:oread datatype="boolean">true</unix-sys:oread>
4752 <unix-sys:owrite datatype="boolean">true</unix-sys:owrite>
4753 <unix-sys:oexec datatype="boolean">true</unix-sys:oexec>
4754 <unix-sys:has_extended_acl datatype="boolean">false</unix-sys:has_extended_acl>
4755 </unix-sys:file_item>
4756 <unix-sys:file_item id="1014144" status="exists">
4757 <unix-sys:filepath>/lib/rpm/redhat/config.guess</unix-sys:filepath>
4758 <unix-sys:path>/lib/rpm/redhat</unix-sys:path>
4759 <unix-sys:filename>config.guess</unix-sys:filename>
4760 <unix-sys:type>regular</unix-sys:type>
4761 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4762 <unix-sys:user_id datatype="int">0</unix-sys:user_id>
4763 <unix-sys:a_time datatype="int">1378324987</unix-sys:a_time>
4764 <unix-sys:c_time datatype="int">1405349994</unix-sys:c_time>
4765 <unix-sys:m_time datatype="int">1378324987</unix-sys:m_time>
4766 <unix-sys:size datatype="int">45297</unix-sys:size>
4767 <unix-sys:suid datatype="boolean">false</unix-sys:suid>
4768 <unix-sys:sgid datatype="boolean">false</unix-sys:sgid>
4769 <unix-sys:sticky datatype="boolean">false</unix-sys:sticky>
4770 <unix-sys:uread datatype="boolean">true</unix-sys:uread>
4771 <unix-sys:uwrite datatype="boolean">true</unix-sys:uwrite>
4772 <unix-sys:uexec datatype="boolean">true</unix-sys:uexec>
4773 <unix-sys:gread datatype="boolean">true</unix-sys:gread>
4774 <unix-sys:gwrite datatype="boolean">true</unix-sys:gwrite>
4775 <unix-sys:gexec datatype="boolean">true</unix-sys:gexec>
4776 <unix-sys:oread datatype="boolean">true</unix-sys:oread>
4777 <unix-sys:owrite datatype="boolean">false</unix-sys:owrite>
4778 <unix-sys:oexec datatype="boolean">true</unix-sys:oexec>
4779 <unix-sys:has_extended_acl datatype="boolean">false</unix-sys:has_extended_acl>
4780 </unix-sys:file_item>
4781 <unix-sys:file_item id="1014143" status="exists">
4782 <unix-sys:filepath>/lib/rpm/redhat/config.sub</unix-sys:filepath>
4783 <unix-sys:path>/lib/rpm/redhat</unix-sys:path>
4784 <unix-sys:filename>config.sub</unix-sys:filename>
4785 <unix-sys:type>regular</unix-sys:type>
4786 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4787 <unix-sys:user_id datatype="int">0</unix-sys:user_id>
4788 <unix-sys:a_time datatype="int">1378324987</unix-sys:a_time>
4789 <unix-sys:c_time datatype="int">1405349994</unix-sys:c_time>
4790 <unix-sys:m_time datatype="int">1378324987</unix-sys:m_time>
4791 <unix-sys:size datatype="int">35576</unix-sys:size>
4792 <unix-sys:suid datatype="boolean">false</unix-sys:suid>
4793 <unix-sys:sgid datatype="boolean">false</unix-sys:sgid>
4794 <unix-sys:sticky datatype="boolean">false</unix-sys:sticky>
4795 <unix-sys:uread datatype="boolean">true</unix-sys:uread>
4796 <unix-sys:uwrite datatype="boolean">true</unix-sys:uwrite>
4797 <unix-sys:uexec datatype="boolean">true</unix-sys:uexec>
4798 <unix-sys:gread datatype="boolean">true</unix-sys:gread>
4799 <unix-sys:gwrite datatype="boolean">true</unix-sys:gwrite>
4800 <unix-sys:gexec datatype="boolean">true</unix-sys:gexec>
4801 <unix-sys:oread datatype="boolean">true</unix-sys:oread>
4802 <unix-sys:owrite datatype="boolean">false</unix-sys:owrite>
4803 <unix-sys:oexec datatype="boolean">true</unix-sys:oexec>
4804 <unix-sys:has_extended_acl datatype="boolean">false</unix-sys:has_extended_acl>
4805 </unix-sys:file_item>
4806 <unix-sys:file_item id="1014142" status="exists">
4807 <unix-sys:filepath>/usr/lib/rpm/redhat/config.guess</unix-sys:filepath>
4808 <unix-sys:path>/usr/lib/rpm/redhat</unix-sys:path>
4809 <unix-sys:filename>config.guess</unix-sys:filename>
4810 <unix-sys:type>regular</unix-sys:type>
4811 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4812 <unix-sys:user_id datatype="int">0</unix-sys:user_id>
4813 <unix-sys:a_time datatype="int">1378324987</unix-sys:a_time>
4814 <unix-sys:c_time datatype="int">1405349994</unix-sys:c_time>
4815 <unix-sys:m_time datatype="int">1378324987</unix-sys:m_time>
4816 <unix-sys:size datatype="int">45297</unix-sys:size>
4817 <unix-sys:suid datatype="boolean">false</unix-sys:suid>
4818 <unix-sys:sgid datatype="boolean">false</unix-sys:sgid>
4819 <unix-sys:sticky datatype="boolean">false</unix-sys:sticky>
4820 <unix-sys:uread datatype="boolean">true</unix-sys:uread>
4821 <unix-sys:uwrite datatype="boolean">true</unix-sys:uwrite>
4822 <unix-sys:uexec datatype="boolean">true</unix-sys:uexec>
4823 <unix-sys:gread datatype="boolean">true</unix-sys:gread>
4824 <unix-sys:gwrite datatype="boolean">true</unix-sys:gwrite>
4825 <unix-sys:gexec datatype="boolean">true</unix-sys:gexec>
4826 <unix-sys:oread datatype="boolean">true</unix-sys:oread>
4827 <unix-sys:owrite datatype="boolean">false</unix-sys:owrite>
4828 <unix-sys:oexec datatype="boolean">true</unix-sys:oexec>
4829 <unix-sys:has_extended_acl datatype="boolean">false</unix-sys:has_extended_acl>
4830 </unix-sys:file_item>
4831 <unix-sys:file_item id="1014141" status="exists">
4832 <unix-sys:filepath>/usr/lib/rpm/redhat/config.sub</unix-sys:filepath>
4833 <unix-sys:path>/usr/lib/rpm/redhat</unix-sys:path>
4834 <unix-sys:filename>config.sub</unix-sys:filename>
4835 <unix-sys:type>regular</unix-sys:type>
4836 <unix-sys:group_id datatype="int">0</unix-sys:group_id>
4837 <unix-sys:user_id datatype="int">0</unix-sys:user_id>
4838 <unix-sys:a_time datatype="int">1378324987</unix-sys:a_time>
4839 <unix-sys:c_time datatype="int">1405349994</unix-sys:c_time>
4840 <unix-sys:m_time datatype="int">1378324987</unix-sys:m_time>
4841 <unix-sys:size datatype="int">35576</unix-sys:size>
4842 <unix-sys:suid datatype="boolean">false</unix-sys:suid>
4843 <unix-sys:sgid datatype="boolean">false</unix-sys:sgid>
4844 <unix-sys:sticky datatype="boolean">false</unix-sys:sticky>
4845 <unix-sys:uread datatype="boolean">true</unix-sys:uread>
4846 <unix-sys:uwrite datatype="boolean">true</unix-sys:uwrite>
4847 <unix-sys:uexec datatype="boolean">true</unix-sys:uexec>
4848 <unix-sys:gread datatype="boolean">true</unix-sys:gread>
4849 <unix-sys:gwrite datatype="boolean">true</unix-sys:gwrite>
4850 <unix-sys:gexec datatype="boolean">true</unix-sys:gexec>
4851 <unix-sys:oread datatype="boolean">true</unix-sys:oread>
4852 <unix-sys:owrite datatype="boolean">false</unix-sys:owrite>
4853 <unix-sys:oexec datatype="boolean">true</unix-sys:oexec>
4854 <unix-sys:has_extended_acl datatype="boolean">false</unix-sys:has_extended_acl>
4855 </unix-sys:file_item>
4856 <ind-sys:textfilecontent_item id="1014079" status="exists">
4857 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4858 <ind-sys:path>/etc</ind-sys:path>
4859 <ind-sys:filename>securetty</ind-sys:filename>
4860 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4861 <ind-sys:instance datatype="int">8</ind-sys:instance>
4862 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4863 <ind-sys:text>vc/8</ind-sys:text>
4864 </ind-sys:textfilecontent_item>
4865 <ind-sys:textfilecontent_item id="1014078" status="exists">
4866 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4867 <ind-sys:path>/etc</ind-sys:path>
4868 <ind-sys:filename>securetty</ind-sys:filename>
4869 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4870 <ind-sys:instance datatype="int">7</ind-sys:instance>
4871 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4872 <ind-sys:text>vc/7</ind-sys:text>
4873 </ind-sys:textfilecontent_item>
4874 <ind-sys:textfilecontent_item id="1014077" status="exists">
4875 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4876 <ind-sys:path>/etc</ind-sys:path>
4877 <ind-sys:filename>securetty</ind-sys:filename>
4878 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4879 <ind-sys:instance datatype="int">6</ind-sys:instance>
4880 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4881 <ind-sys:text>vc/6</ind-sys:text>
4882 </ind-sys:textfilecontent_item>
4883 <ind-sys:textfilecontent_item id="1014076" status="exists">
4884 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4885 <ind-sys:path>/etc</ind-sys:path>
4886 <ind-sys:filename>securetty</ind-sys:filename>
4887 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4888 <ind-sys:instance datatype="int">5</ind-sys:instance>
4889 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4890 <ind-sys:text>vc/5</ind-sys:text>
4891 </ind-sys:textfilecontent_item>
4892 <ind-sys:textfilecontent_item id="1014075" status="exists">
4893 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4894 <ind-sys:path>/etc</ind-sys:path>
4895 <ind-sys:filename>securetty</ind-sys:filename>
4896 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4897 <ind-sys:instance datatype="int">4</ind-sys:instance>
4898 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4899 <ind-sys:text>vc/4</ind-sys:text>
4900 </ind-sys:textfilecontent_item>
4901 <ind-sys:textfilecontent_item id="1014074" status="exists">
4902 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4903 <ind-sys:path>/etc</ind-sys:path>
4904 <ind-sys:filename>securetty</ind-sys:filename>
4905 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4906 <ind-sys:instance datatype="int">3</ind-sys:instance>
4907 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4908 <ind-sys:text>vc/3</ind-sys:text>
4909 </ind-sys:textfilecontent_item>
4910 <ind-sys:textfilecontent_item id="1014073" status="exists">
4911 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4912 <ind-sys:path>/etc</ind-sys:path>
4913 <ind-sys:filename>securetty</ind-sys:filename>
4914 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4915 <ind-sys:instance datatype="int">2</ind-sys:instance>
4916 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4917 <ind-sys:text>vc/2</ind-sys:text>
4918 </ind-sys:textfilecontent_item>
4919 <ind-sys:textfilecontent_item id="1014072" status="exists">
4920 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4921 <ind-sys:path>/etc</ind-sys:path>
4922 <ind-sys:filename>securetty</ind-sys:filename>
4923 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4924 <ind-sys:instance datatype="int">1</ind-sys:instance>
4925 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4926 <ind-sys:text>vc/1</ind-sys:text>
4927 </ind-sys:textfilecontent_item>
4928 <ind-sys:textfilecontent_item id="10140717" status="exists">
4929 <ind-sys:filepath>/etc/login.defs</ind-sys:filepath>
4930 <ind-sys:path>/etc</ind-sys:path>
4931 <ind-sys:filename>login.defs</ind-sys:filename>
4932 <ind-sys:pattern>^[\s]*PASS_WARN_AGE[\s]*(\d+)\s*$</ind-sys:pattern>
4933 <ind-sys:instance datatype="int">1</ind-sys:instance>
4934 <ind-sys:line>^[\s]*PASS_WARN_AGE[\s]*(\d+)\s*$</ind-sys:line>
4935 <ind-sys:text>PASS_WARN_AGE 7
4936 </ind-sys:text>
4937 <ind-sys:subexpression>7</ind-sys:subexpression>
4938 </ind-sys:textfilecontent_item>
4939 <ind-sys:textfilecontent_item id="10140716" status="exists">
4940 <ind-sys:filepath>/etc/login.defs</ind-sys:filepath>
4941 <ind-sys:path>/etc</ind-sys:path>
4942 <ind-sys:filename>login.defs</ind-sys:filename>
4943 <ind-sys:pattern>^[\s]*PASS_MAX_DAYS[\s]+(\d+)\s*$</ind-sys:pattern>
4944 <ind-sys:instance datatype="int">1</ind-sys:instance>
4945 <ind-sys:line>^[\s]*PASS_MAX_DAYS[\s]+(\d+)\s*$</ind-sys:line>
4946 <ind-sys:text>PASS_MAX_DAYS 99999</ind-sys:text>
4947 <ind-sys:subexpression>99999</ind-sys:subexpression>
4948 </ind-sys:textfilecontent_item>
4949 <ind-sys:textfilecontent_item id="10140715" status="exists">
4950 <ind-sys:filepath>/etc/login.defs</ind-sys:filepath>
4951 <ind-sys:path>/etc</ind-sys:path>
4952 <ind-sys:filename>login.defs</ind-sys:filename>
4953 <ind-sys:pattern>^[\s]*PASS_MIN_DAYS[\s]+(\d+)\s*$</ind-sys:pattern>
4954 <ind-sys:instance datatype="int">1</ind-sys:instance>
4955 <ind-sys:line>^[\s]*PASS_MIN_DAYS[\s]+(\d+)\s*$</ind-sys:line>
4956 <ind-sys:text>PASS_MIN_DAYS 0</ind-sys:text>
4957 <ind-sys:subexpression>0</ind-sys:subexpression>
4958 </ind-sys:textfilecontent_item>
4959 <ind-sys:textfilecontent_item id="10140714" status="exists">
4960 <ind-sys:filepath>/etc/login.defs</ind-sys:filepath>
4961 <ind-sys:path>/etc</ind-sys:path>
4962 <ind-sys:filename>login.defs</ind-sys:filename>
4963 <ind-sys:pattern>^PASS_MIN_LEN\s+(\d+)\s*$</ind-sys:pattern>
4964 <ind-sys:instance datatype="int">1</ind-sys:instance>
4965 <ind-sys:line>^PASS_MIN_LEN\s+(\d+)\s*$</ind-sys:line>
4966 <ind-sys:text>PASS_MIN_LEN 5</ind-sys:text>
4967 <ind-sys:subexpression>5</ind-sys:subexpression>
4968 </ind-sys:textfilecontent_item>
4969 <ind-sys:textfilecontent_item id="10140713" status="exists">
4970 <ind-sys:filepath>/etc/pam.d/system-auth</ind-sys:filepath>
4971 <ind-sys:path>/etc/pam.d</ind-sys:path>
4972 <ind-sys:filename>system-auth</ind-sys:filename>
4973 <ind-sys:pattern>\s*nullok\s*</ind-sys:pattern>
4974 <ind-sys:instance datatype="int">1</ind-sys:instance>
4975 <ind-sys:line>\s*nullok\s*</ind-sys:line>
4976 <ind-sys:text> nullok </ind-sys:text>
4977 </ind-sys:textfilecontent_item>
4978 <ind-sys:textfilecontent_item id="10140712" status="exists">
4979 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4980 <ind-sys:path>/etc</ind-sys:path>
4981 <ind-sys:filename>securetty</ind-sys:filename>
4982 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4983 <ind-sys:instance datatype="int">11</ind-sys:instance>
4984 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4985 <ind-sys:text>vc/11</ind-sys:text>
4986 </ind-sys:textfilecontent_item>
4987 <ind-sys:textfilecontent_item id="10140711" status="exists">
4988 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4989 <ind-sys:path>/etc</ind-sys:path>
4990 <ind-sys:filename>securetty</ind-sys:filename>
4991 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
4992 <ind-sys:instance datatype="int">10</ind-sys:instance>
4993 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
4994 <ind-sys:text>vc/10</ind-sys:text>
4995 </ind-sys:textfilecontent_item>
4996 <ind-sys:textfilecontent_item id="10140710" status="exists">
4997 <ind-sys:filepath>/etc/securetty</ind-sys:filepath>
4998 <ind-sys:path>/etc</ind-sys:path>
4999 <ind-sys:filename>securetty</ind-sys:filename>
5000 <ind-sys:pattern>^vc/[0-9]+$</ind-sys:pattern>
5001 <ind-sys:instance datatype="int">9</ind-sys:instance>
5002 <ind-sys:line>^vc/[0-9]+$</ind-sys:line>
5003 <ind-sys:text>vc/9</ind-sys:text>
5004 </ind-sys:textfilecontent_item>
5005 <ind-sys:textfilecontent_item id="1014071" status="exists">
5006 <ind-sys:filepath>/etc/yum.conf</ind-sys:filepath>
5007 <ind-sys:path>/etc</ind-sys:path>
5008 <ind-sys:filename>yum.conf</ind-sys:filename>
5009 <ind-sys:pattern>^\s*gpgcheck\s*=\s*1\s*$</ind-sys:pattern>
5010 <ind-sys:instance datatype="int">1</ind-sys:instance>
5011 <ind-sys:line>^\s*gpgcheck\s*=\s*1\s*$</ind-sys:line>
5012 <ind-sys:text>gpgcheck=1</ind-sys:text>
5013 </ind-sys:textfilecontent_item>
5014 </system_data>
5015 </oval_system_characteristics>
5016 </system>
5017 </results>
5018 </oval_results></arf:content></arf:report><arf:report id="oval3"><arf:content><oval_results xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-results-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-results-5 oval-results-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
5019 <generator>
5020 <oval:schema_version>5.10.1</oval:schema_version>
5021 <oval:timestamp>2014-10-17T09:07:43</oval:timestamp>
5022 </generator>
5023 <directives>
5024 <definition_true reported="true" content="full"/>
5025 <definition_false reported="true" content="full"/>
5026 <definition_unknown reported="true" content="full"/>
5027 <definition_error reported="true" content="full"/>
5028 <definition_not_evaluated reported="true" content="full"/>
5029 <definition_not_applicable reported="true" content="full"/>
5030 </directives>
5031 <oval_definitions xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
5032 <generator>
5033 <oval:product_name>vim</oval:product_name>
5034 <oval:schema_version>5.10.1</oval:schema_version>
5035 <oval:timestamp>2012-11-22T15:00:00+01:00</oval:timestamp>
5036 </generator>
5037 <definitions>
5038 <definition id="oval:org.open-scap.cpe.rhel:def:7" version="1" class="inventory">
5039 <metadata>
5040 <title>Red Hat Enterprise Linux 7</title>
5041 <affected family="unix">
5042 <platform>Red Hat Enterprise Linux 7</platform>
5043 </affected>
5044 <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux:7"/>
5045 <description>The operating system installed on the system is Red Hat Enterprise Linux 7</description>
5046 </metadata>
5047 <criteria>
5048 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5049 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:7" comment="Red Hat Enterprise Linux 7 is installed"/>
5050 </criteria>
5051 </definition>
5052 <definition id="oval:org.open-scap.cpe.rhel:def:6" version="1" class="inventory">
5053 <metadata>
5054 <title>Red Hat Enterprise Linux 6</title>
5055 <affected family="unix">
5056 <platform>Red Hat Enterprise Linux 6</platform>
5057 </affected>
5058 <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux:6"/>
5059 <description>The operating system installed on the system is Red Hat Enterprise Linux 6</description>
5060 </metadata>
5061 <criteria>
5062 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5063 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:6" comment="Red Hat Enterprise Linux 6 is installed"/>
5064 </criteria>
5065 </definition>
5066 <definition id="oval:org.open-scap.cpe.rhel:def:5" version="1" class="inventory">
5067 <metadata>
5068 <title>Red Hat Enterprise Linux 5</title>
5069 <affected family="unix">
5070 <platform>Red Hat Enterprise Linux 5</platform>
5071 </affected>
5072 <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux:5"/>
5073 <description>The operating system installed on the system is Red Hat Enterprise Linux 5</description>
5074 </metadata>
5075 <criteria>
5076 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5077 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:5" comment="Red Hat Enterprise Linux 5 is installed"/>
5078 </criteria>
5079 </definition>
5080 <definition id="oval:org.open-scap.cpe.rhel:def:1" version="1" class="inventory">
5081 <metadata>
5082 <title>Red Hat Enterprise Linux</title>
5083 <affected family="unix">
5084 <platform>Red Hat Enterprise Linux</platform>
5085 </affected>
5086 <reference source="CPE" ref_id="cpe:/o:redhat:enterprise_linux"/>
5087 <description>The operating system installed on the system is Red Hat Enterprise Linux</description>
5088 </metadata>
5089 <criteria>
5090 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5091 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:2" comment="Red Hat Enterprise Linux is installed"/>
5092 </criteria>
5093 </definition>
5094 <definition id="oval:org.open-scap.cpe.fedora:def:21" version="1" class="inventory">
5095 <metadata>
5096 <title>Fedora 21</title>
5097 <affected family="unix">
5098 <platform>Fedora 21</platform>
5099 </affected>
5100 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:21"/>
5101 <description>The operating system installed on the system is Fedora 21</description>
5102 </metadata>
5103 <criteria>
5104 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5105 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:21" comment="Fedora 21 is installed"/>
5106 </criteria>
5107 </definition>
5108 <definition id="oval:org.open-scap.cpe.fedora:def:20" version="1" class="inventory">
5109 <metadata>
5110 <title>Fedora 20</title>
5111 <affected family="unix">
5112 <platform>Fedora 20</platform>
5113 </affected>
5114 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:20"/>
5115 <description>The operating system installed on the system is Fedora 20</description>
5116 </metadata>
5117 <criteria>
5118 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5119 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:20" comment="Fedora 20 is installed"/>
5120 </criteria>
5121 </definition>
5122 <definition id="oval:org.open-scap.cpe.fedora:def:19" version="1" class="inventory">
5123 <metadata>
5124 <title>Fedora 19</title>
5125 <affected family="unix">
5126 <platform>Fedora 19</platform>
5127 </affected>
5128 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:19"/>
5129 <description>The operating system installed on the system is Fedora 19</description>
5130 </metadata>
5131 <criteria>
5132 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5133 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:19" comment="Fedora 19 is installed"/>
5134 </criteria>
5135 </definition>
5136 <definition id="oval:org.open-scap.cpe.fedora:def:18" version="1" class="inventory">
5137 <metadata>
5138 <title>Fedora 18</title>
5139 <affected family="unix">
5140 <platform>Fedora 18</platform>
5141 </affected>
5142 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:18"/>
5143 <description>The operating system installed on the system is Fedora 18</description>
5144 </metadata>
5145 <criteria>
5146 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5147 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:18" comment="Fedora 18 is installed"/>
5148 </criteria>
5149 </definition>
5150 <definition id="oval:org.open-scap.cpe.fedora:def:17" version="1" class="inventory">
5151 <metadata>
5152 <title>Fedora 17</title>
5153 <affected family="unix">
5154 <platform>Fedora 17</platform>
5155 </affected>
5156 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:17"/>
5157 <description>The operating system installed on the system is Fedora 17</description>
5158 </metadata>
5159 <criteria>
5160 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5161 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:17" comment="Fedora 17 is installed"/>
5162 </criteria>
5163 </definition>
5164 <definition id="oval:org.open-scap.cpe.fedora:def:16" version="1" class="inventory">
5165 <metadata>
5166 <title>Fedora 16</title>
5167 <affected family="unix">
5168 <platform>Fedora 16</platform>
5169 </affected>
5170 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:16"/>
5171 <description>The operating system installed on the system is Fedora 16</description>
5172 </metadata>
5173 <criteria>
5174 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" comment="Installed operating system is part of the unix family"/>
5175 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:16" comment="Fedora 16 is installed"/>
5176 </criteria>
5177 </definition>
5178 </definitions>
5179 <tests>
5180 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:7" version="1" check="at least one" comment="redhat-release is version 7">
5181 <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/>
5182 <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:7"/>
5183 </lin-def:rpminfo_test>
5184 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:6" version="1" check="at least one" comment="redhat-release is version 6">
5185 <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/>
5186 <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:6"/>
5187 </lin-def:rpminfo_test>
5188 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:5" version="1" check="at least one" comment="redhat-release is version 5">
5189 <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:1"/>
5190 <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:5"/>
5191 </lin-def:rpminfo_test>
5192 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.rhel:tst:2" version="1" check="at least one" comment="/etc/redhat-release is provided by redhat-release package">
5193 <lin-def:object object_ref="oval:org.open-scap.cpe.redhat-release:obj:3"/>
5194 <lin-def:state state_ref="oval:org.open-scap.cpe.rhel:ste:2"/>
5195 </lin-def:rpminfo_test>
5196 <ind-def:family_test id="oval:org.open-scap.cpe.rhel:tst:1" version="1" check="only one" comment="installed operating system is part of the Unix family">
5197 <ind-def:object object_ref="oval:org.open-scap.cpe.unix:obj:1"/>
5198 <ind-def:state state_ref="oval:org.open-scap.cpe.unix:ste:1"/>
5199 </ind-def:family_test>
5200 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:21" version="1" check="at least one" comment="fedora-release is version Fedora 21">
5201 <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/>
5202 <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:21"/>
5203 </lin-def:rpminfo_test>
5204 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:20" version="1" check="at least one" comment="fedora-release is version Fedora 20">
5205 <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/>
5206 <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:20"/>
5207 </lin-def:rpminfo_test>
5208 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:19" version="1" check="at least one" comment="fedora-release is version Fedora 19">
5209 <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/>
5210 <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:19"/>
5211 </lin-def:rpminfo_test>
5212 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:18" version="1" check="at least one" comment="fedora-release is version Fedora 18">
5213 <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/>
5214 <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:18"/>
5215 </lin-def:rpminfo_test>
5216 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:17" version="1" check="at least one" comment="fedora-release is version Fedora 17">
5217 <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/>
5218 <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:17"/>
5219 </lin-def:rpminfo_test>
5220 <lin-def:rpminfo_test id="oval:org.open-scap.cpe.fedora:tst:16" version="1" check="at least one" comment="fedora-release is version Fedora 16">
5221 <lin-def:object object_ref="oval:org.open-scap.cpe.fedora-release:obj:2"/>
5222 <lin-def:state state_ref="oval:org.open-scap.cpe.fedora:ste:16"/>
5223 </lin-def:rpminfo_test>
5224 </tests>
5225 <objects>
5226 <ind-def:family_object id="oval:org.open-scap.cpe.unix:obj:1" version="1"/>
5227 <lin-def:rpmverifyfile_object id="oval:org.open-scap.cpe.redhat-release:obj:3" version="1">
5228 <lin-def:behaviors nolinkto="true" nomd5="true" nosize="true" nouser="true" nogroup="true" nomtime="true" nomode="true" nordev="true" noconfigfiles="true" noghostfiles="true"/>
5229 <lin-def:name operation="pattern match"/>
5230 <lin-def:epoch operation="pattern match"/>
5231 <lin-def:version operation="pattern match"/>
5232 <lin-def:release operation="pattern match"/>
5233 <lin-def:arch operation="pattern match"/>
5234 <lin-def:filepath>/etc/redhat-release</lin-def:filepath>
5235 </lin-def:rpmverifyfile_object>
5236 <lin-def:rpminfo_object id="oval:org.open-scap.cpe.redhat-release:obj:1" version="1">
5237 <lin-def:name>redhat-release</lin-def:name>
5238 </lin-def:rpminfo_object>
5239 <lin-def:rpminfo_object id="oval:org.open-scap.cpe.fedora-release:obj:2" version="1">
5240 <lin-def:name>fedora-release</lin-def:name>
5241 </lin-def:rpminfo_object>
5242 </objects>
5243 <states>
5244 <ind-def:family_state id="oval:org.open-scap.cpe.unix:ste:1" version="1">
5245 <ind-def:family>unix</ind-def:family>
5246 </ind-def:family_state>
5247 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:7" version="1">
5248 <lin-def:name operation="pattern match">^redhat-release</lin-def:name>
5249 <lin-def:version operation="pattern match">^7[^\d]</lin-def:version>
5250 </lin-def:rpminfo_state>
5251 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:6" version="1">
5252 <lin-def:name operation="pattern match">^redhat-release</lin-def:name>
5253 <lin-def:version operation="pattern match">^6[^\d]</lin-def:version>
5254 </lin-def:rpminfo_state>
5255 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:5" version="1">
5256 <lin-def:version operation="pattern match">^5[^\d]</lin-def:version>
5257 </lin-def:rpminfo_state>
5258 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.rhel:ste:2" version="1">
5259 <lin-def:name operation="pattern match">^redhat-release</lin-def:name>
5260 </lin-def:rpminfo_state>
5261 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:21" version="1">
5262 <lin-def:version operation="pattern match">^21$</lin-def:version>
5263 </lin-def:rpminfo_state>
5264 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:20" version="1">
5265 <lin-def:version operation="pattern match">^20$</lin-def:version>
5266 </lin-def:rpminfo_state>
5267 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:19" version="1">
5268 <lin-def:version operation="pattern match">^19$</lin-def:version>
5269 </lin-def:rpminfo_state>
5270 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:18" version="1">
5271 <lin-def:version operation="pattern match">^18$</lin-def:version>
5272 </lin-def:rpminfo_state>
5273 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:17" version="1">
5274 <lin-def:version operation="pattern match">^17$</lin-def:version>
5275 </lin-def:rpminfo_state>
5276 <lin-def:rpminfo_state id="oval:org.open-scap.cpe.fedora:ste:16" version="1">
5277 <lin-def:version operation="pattern match">^16$</lin-def:version>
5278 </lin-def:rpminfo_state>
5279 </states>
5280 </oval_definitions>
5281 <results>
5282 <system>
5283 <definitions>
5284 <definition definition_id="oval:org.open-scap.cpe.rhel:def:7" result="not evaluated" version="1">
5285 <criteria operator="AND" result="not evaluated">
5286 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="not evaluated"/>
5287 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:7" version="1" result="not evaluated"/>
5288 </criteria>
5289 </definition>
5290 <definition definition_id="oval:org.open-scap.cpe.rhel:def:6" result="not evaluated" version="1">
5291 <criteria operator="AND" result="not evaluated">
5292 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="not evaluated"/>
5293 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:6" version="1" result="not evaluated"/>
5294 </criteria>
5295 </definition>
5296 <definition definition_id="oval:org.open-scap.cpe.rhel:def:5" result="not evaluated" version="1">
5297 <criteria operator="AND" result="not evaluated">
5298 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="not evaluated"/>
5299 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:5" version="1" result="not evaluated"/>
5300 </criteria>
5301 </definition>
5302 <definition definition_id="oval:org.open-scap.cpe.rhel:def:1" result="not evaluated" version="1">
5303 <criteria operator="AND" result="not evaluated">
5304 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="not evaluated"/>
5305 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:2" version="1" result="not evaluated"/>
5306 </criteria>
5307 </definition>
5308 <definition definition_id="oval:org.open-scap.cpe.fedora:def:21" result="false" version="1">
5309 <criteria operator="AND" result="false">
5310 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/>
5311 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:21" version="1" result="false"/>
5312 </criteria>
5313 </definition>
5314 <definition definition_id="oval:org.open-scap.cpe.fedora:def:20" result="true" version="1">
5315 <criteria operator="AND" result="true">
5316 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/>
5317 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:20" version="1" result="true"/>
5318 </criteria>
5319 </definition>
5320 <definition definition_id="oval:org.open-scap.cpe.fedora:def:19" result="false" version="1">
5321 <criteria operator="AND" result="false">
5322 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="true"/>
5323 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:19" version="1" result="false"/>
5324 </criteria>
5325 </definition>
5326 <definition definition_id="oval:org.open-scap.cpe.fedora:def:18" result="not evaluated" version="1">
5327 <criteria operator="AND" result="not evaluated">
5328 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="not evaluated"/>
5329 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:18" version="1" result="not evaluated"/>
5330 </criteria>
5331 </definition>
5332 <definition definition_id="oval:org.open-scap.cpe.fedora:def:17" result="not evaluated" version="1">
5333 <criteria operator="AND" result="not evaluated">
5334 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="not evaluated"/>
5335 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:17" version="1" result="not evaluated"/>
5336 </criteria>
5337 </definition>
5338 <definition definition_id="oval:org.open-scap.cpe.fedora:def:16" result="not evaluated" version="1">
5339 <criteria operator="AND" result="not evaluated">
5340 <criterion test_ref="oval:org.open-scap.cpe.rhel:tst:1" version="1" result="not evaluated"/>
5341 <criterion test_ref="oval:org.open-scap.cpe.fedora:tst:16" version="1" result="not evaluated"/>
5342 </criteria>
5343 </definition>
5344 </definitions>
5345 <tests>
5346 <test test_id="oval:org.open-scap.cpe.fedora:tst:16" version="1" check="at least one" result="not evaluated"/>
5347 <test test_id="oval:org.open-scap.cpe.fedora:tst:17" version="1" check="at least one" result="not evaluated"/>
5348 <test test_id="oval:org.open-scap.cpe.fedora:tst:18" version="1" check="at least one" result="not evaluated"/>
5349 <test test_id="oval:org.open-scap.cpe.fedora:tst:19" version="1" check="at least one" result="false">
5350 <tested_item item_id="1013871" result="false"/>
5351 </test>
5352 <test test_id="oval:org.open-scap.cpe.fedora:tst:20" version="1" check="at least one" result="true">
5353 <tested_item item_id="1013871" result="true"/>
5354 </test>
5355 <test test_id="oval:org.open-scap.cpe.fedora:tst:21" version="1" check="at least one" result="false">
5356 <tested_item item_id="1013871" result="false"/>
5357 </test>
5358 <test test_id="oval:org.open-scap.cpe.rhel:tst:1" version="1" check="only one" result="true">
5359 <tested_item item_id="1013821" result="true"/>
5360 </test>
5361 <test test_id="oval:org.open-scap.cpe.rhel:tst:2" version="1" check="at least one" result="not evaluated"/>
5362 <test test_id="oval:org.open-scap.cpe.rhel:tst:5" version="1" check="at least one" result="not evaluated"/>
5363 <test test_id="oval:org.open-scap.cpe.rhel:tst:6" version="1" check="at least one" result="not evaluated"/>
5364 <test test_id="oval:org.open-scap.cpe.rhel:tst:7" version="1" check="at least one" result="not evaluated"/>
5365 </tests>
5366 <oval_system_characteristics xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix" xmlns:ind-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent" xmlns:lin-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5 oval-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent independent-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix unix-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux linux-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
5367 <generator>
5368 <oval:schema_version>5.10.1</oval:schema_version>
5369 <oval:timestamp>2014-10-17T09:07:43</oval:timestamp>
5370 </generator>
5371 <system_info>
5372 <os_name>Linux</os_name>
5373 <os_version>#1 SMP Mon Jul 7 14:24:41 UTC 2014</os_version>
5374 <architecture>x86_64</architecture>
5375 <primary_host_name>localhost.localdomain</primary_host_name>
5376 <interfaces>
5377 <interface>
5378 <interface_name>lo</interface_name>
5379 <ip_address>127.0.0.1</ip_address>
5380 <mac_address>00:00:00:00:00:00</mac_address>
5381 </interface>
5382 <interface>
5383 <interface_name>lo</interface_name>
5384 <ip_address>::1</ip_address>
5385 <mac_address>00:00:00:00:00:00</mac_address>
5386 </interface>
5387 </interfaces>
5388 </system_info>
5389 <collected_objects>
5390 <object id="oval:org.open-scap.cpe.fedora-release:obj:2" version="1" flag="complete">
5391 <reference item_ref="1013871"/>
5392 </object>
5393 <object id="oval:org.open-scap.cpe.unix:obj:1" version="1" flag="complete">
5394 <reference item_ref="1013821"/>
5395 </object>
5396 </collected_objects>
5397 <system_data>
5398 <lin-sys:rpminfo_item id="1013871" status="exists">
5399 <lin-sys:name>fedora-release</lin-sys:name>
5400 <lin-sys:arch>noarch</lin-sys:arch>
5401 <lin-sys:epoch>(none)</lin-sys:epoch>
5402 <lin-sys:release>3</lin-sys:release>
5403 <lin-sys:version>20</lin-sys:version>
5404 <lin-sys:evr datatype="evr_string">0:20-3</lin-sys:evr>
5405 <lin-sys:signature_keyid>2eb161fa246110c1</lin-sys:signature_keyid>
5406 <lin-sys:extended_name>fedora-release-0:20-3.noarch</lin-sys:extended_name>
5407 </lin-sys:rpminfo_item>
5408 <ind-sys:family_item id="1013821" status="exists">
5409 <ind-sys:family>unix</ind-sys:family>
5410 </ind-sys:family_item>
5411 </system_data>
5412 </oval_system_characteristics>
5413 </system>
5414 </results>
5415 </oval_results></arf:content></arf:report><arf:report id="oval4"><arf:content><oval_results xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-results-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-results-5 oval-results-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
5416 <generator>
5417 <oval:schema_version>5.10</oval:schema_version>
5418 <oval:timestamp>2014-10-17T09:07:43</oval:timestamp>
5419 </generator>
5420 <directives>
5421 <definition_true reported="true" content="full"/>
5422 <definition_false reported="true" content="full"/>
5423 <definition_unknown reported="true" content="full"/>
5424 <definition_error reported="true" content="full"/>
5425 <definition_not_evaluated reported="true" content="full"/>
5426 <definition_not_applicable reported="true" content="full"/>
5427 </directives>
5428 <oval_definitions xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
5429 <generator>
5430 <oval:product_name>python</oval:product_name>
5431 <oval:product_version>2.6.6</oval:product_version>
5432 <oval:schema_version>5.10</oval:schema_version>
5433 <oval:timestamp>2011-09-21T13:44:00</oval:timestamp>
5434 </generator>
5435 <definitions>
5436 <definition id="oval:ssg:def:100" version="1" class="inventory">
5437 <metadata>
5438 <title>Fedora release 19 (Schrödinger's Cat)</title>
5439 <affected family="unix">
5440 <platform>Fedora 19</platform>
5441 </affected>
5442 <reference source="CPE" ref_id="cpe:/o:fedoraproject:fedora:19"/>
5443 <description>The operating system installed on the system is
5444 Fedora release 19 (Schrödinger's Cat)</description>
5445 </metadata>
5446 <criteria>
5447 <criterion test_ref="oval:ssg:tst:101" comment="Installed operating system is part of the unix family"/>
5448 <criterion test_ref="oval:ssg:tst:102" comment="Fedora release 19 is installed"/>
5449 </criteria>
5450 </definition>
5451 </definitions>
5452 <tests>
5453 <lin-def:rpminfo_test id="oval:ssg:tst:102" version="1" check_existence="only_one_exists" check="all" comment="fedora-release is version 19">
5454 <lin-def:object object_ref="oval:ssg:obj:105"/>
5455 <lin-def:state state_ref="oval:ssg:ste:106"/>
5456 </lin-def:rpminfo_test>
5457 <ind-def:family_test id="oval:ssg:tst:101" version="1" check="all" comment="installed OS part of unix family">
5458 <ind-def:object object_ref="oval:ssg:obj:103"/>
5459 <ind-def:state state_ref="oval:ssg:ste:104"/>
5460 </ind-def:family_test>
5461 </tests>
5462 <objects>
5463 <lin-def:rpminfo_object id="oval:ssg:obj:105" version="1">
5464 <lin-def:name>fedora-release</lin-def:name>
5465 </lin-def:rpminfo_object>
5466 <ind-def:family_object id="oval:ssg:obj:103" version="1"/>
5467 </objects>
5468 <states>
5469 <lin-def:rpminfo_state id="oval:ssg:ste:106" version="1">
5470 <lin-def:version operation="pattern match">^19$</lin-def:version>
5471 </lin-def:rpminfo_state>
5472 <ind-def:family_state id="oval:ssg:ste:104" version="1">
5473 <ind-def:family>unix</ind-def:family>
5474 </ind-def:family_state>
5475 </states>
5476 </oval_definitions>
5477 <results>
5478 <system>
5479 <definitions>
5480 <definition definition_id="oval:ssg:def:100" result="false" version="1">
5481 <criteria operator="AND" result="false">
5482 <criterion test_ref="oval:ssg:tst:101" version="1" result="true"/>
5483 <criterion test_ref="oval:ssg:tst:102" version="1" result="false"/>
5484 </criteria>
5485 </definition>
5486 </definitions>
5487 <tests>
5488 <test test_id="oval:ssg:tst:101" version="1" check="all" result="true">
5489 <tested_item item_id="1013971" result="true"/>
5490 </test>
5491 <test test_id="oval:ssg:tst:102" version="1" check_existence="only_one_exists" check="all" result="false">
5492 <tested_item item_id="1014021" result="false"/>
5493 </test>
5494 </tests>
5495 <oval_system_characteristics xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:unix-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix" xmlns:ind-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent" xmlns:lin-sys="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5 oval-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent independent-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix unix-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux linux-system-characteristics-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
5496 <generator>
5497 <oval:schema_version>5.10</oval:schema_version>
5498 <oval:timestamp>2014-10-17T09:07:43</oval:timestamp>
5499 </generator>
5500 <system_info>
5501 <os_name>Linux</os_name>
5502 <os_version>#1 SMP Mon Jul 7 14:24:41 UTC 2014</os_version>
5503 <architecture>x86_64</architecture>
5504 <primary_host_name>localhost.localdomain</primary_host_name>
5505 <interfaces>
5506 <interface>
5507 <interface_name>lo</interface_name>
5508 <ip_address>127.0.0.1</ip_address>
5509 <mac_address>00:00:00:00:00:00</mac_address>
5510 </interface>
5511 <interface>
5512 <interface_name>lo</interface_name>
5513 <ip_address>::1</ip_address>
5514 <mac_address>00:00:00:00:00:00</mac_address>
5515 </interface>
5516 </interfaces>
5517 </system_info>
5518 <collected_objects>
5519 <object id="oval:ssg:obj:103" version="1" flag="complete">
5520 <reference item_ref="1013971"/>
5521 </object>
5522 <object id="oval:ssg:obj:105" version="1" flag="complete">
5523 <reference item_ref="1014021"/>
5524 </object>
5525 </collected_objects>
5526 <system_data>
5527 <lin-sys:rpminfo_item id="1014021" status="exists">
5528 <lin-sys:name>fedora-release</lin-sys:name>
5529 <lin-sys:arch>noarch</lin-sys:arch>
5530 <lin-sys:epoch>(none)</lin-sys:epoch>
5531 <lin-sys:release>3</lin-sys:release>
5532 <lin-sys:version>20</lin-sys:version>
5533 <lin-sys:evr datatype="evr_string">0:20-3</lin-sys:evr>
5534 <lin-sys:signature_keyid>2eb161fa246110c1</lin-sys:signature_keyid>
5535 <lin-sys:extended_name>fedora-release-0:20-3.noarch</lin-sys:extended_name>
5536 </lin-sys:rpminfo_item>
5537 <ind-sys:family_item id="1013971" status="exists">
5538 <ind-sys:family>unix</ind-sys:family>
5539 </ind-sys:family_item>
5540 </system_data>
5541 </oval_system_characteristics>
5542 </system>
5543 </results>
5544 </oval_results></arf:content></arf:report></arf:reports></arf:asset-report-collection>